Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModelBuilder/objectFolderContext",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.FolderContextProvider=function FolderContextProvider({children:e,value:t}){const[r,a]=(0,n.useReducer)(folderReducer,_objectSpread(_objectSpread({},i),t));return n.default.createElement(o.Provider,{value:[r,a]},e)},t.useFolderContext=function useFolderContext(){return(0,n.useContext)(o)},t.TYPES=void 0;var n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let e;t.TYPES=e,function(e){e.EDIT_OBJECT_DEFINITION="EDIT_OBJECT_DEFINITION"}(e||(t.TYPES=e={}));const o=(0,n.createContext)({}),i={objectDefinitions:{},rightSidebarType:"objectRelationshipDetails",selectedDefinitionNode:{active:!1,dbTableName:"P_Address_",defaultLanguageId:"en_US",hasUpdateObjectDefinitionPermission:!1,label:{en_US:"Postal Address"},modifiable:!0,name:"Address",objectFields:[{}],pluralLabel:{en_US:"Postal Addresses"},scope:"company",status:{label:"Approved"},system:!1},selectedObjectRelationship:{deletionType:"Prevent",label:{en_US:"External Reference Code"},name:"erc",objectDefinitionName2:"User",type:"manyToMany"}},folderReducer=(e,t)=>(t.type,e)}}));
//# sourceMappingURL=objectFolderContext.js.map