module.exports = "(function(t,e,r){var i=r(5894);e.getFieldValue=function(t,e){i.isArray(e)||(e=[e]);for(var r=t,n=0;n<e.length;n++){var a=e[n];if(!i.isObject(r)||!r.hasOwnProperty(a))return;r=r[a]}return r},e.setFieldValue=function(t,e,n){if(__INVARIANT__&&r(2048).isType(\"KeyPath\",e),!i.isArray(e)||i.isEmpty(e))throw new Error(\"Attempted to set an invalid key path: \"+e);for(var a=t,o=0;o<e.length-1;o++){var s=e[o];i.isObject(a[s])||(a[s]={}),a=a[s]}a[e[e.length-1]]=n}})";