{"version":3,"sources":["webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Body.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Context.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Footer.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Header.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Hook.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Modal.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/Provider.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/types.js","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/useModal.js","webpack://frontend-taglib-clay/node_modules/warning/warning.js","webpack://frontend-taglib-clay/frontend-js-react-web/__liferay__/exports/classnames.js\"","webpack://frontend-taglib-clay/frontend-js-react-web/__liferay__/exports/react.js\"","webpack://frontend-taglib-clay/frontend-taglib-clay/__liferay__/exports/@clayui$button.js\"","webpack://frontend-taglib-clay/frontend-taglib-clay/__liferay__/exports/@clayui$icon.js\"","webpack://frontend-taglib-clay/frontend-taglib-clay/__liferay__/exports/@clayui$shared.js\"","webpack://frontend-taglib-clay/webpack/bootstrap","webpack://frontend-taglib-clay/node_modules/@clayui/modal/lib/index.js"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","exports","value","_classnames","__webpack_require__","__esModule","default","_react","nodeInterop","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","hasOwnProperty","call","desc","set","_interopRequireWildcard","_excluded","WeakMap","cacheBabelInterop","cacheNodeInterop","_extends","assign","target","i","arguments","length","source","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_default","_ref","children","className","_ref$iFrameProps","iFrameProps","scrollable","url","otherProps","elementRef","useRef","useEffect","onKeyDown","event","current","contains","document","activeElement","defaultPrevented","focus","addEventListener","removeEventListener","createElement","inline-scroller","modal-body-iframe","ref","tabIndex","undefined","src","title","context","createContext","displayName","_interopRequireDefault","first","last","middle","TitleSection","TitleIndicator","Title","SubtitleSection","Subtitle","ItemGroup","Item","_button","_icon","_Context","_excluded2","_excluded3","_excluded4","_excluded5","_excluded6","_excluded7","_excluded8","_excluded9","_ref2","shrink","modal-item-shrink","_ref3","_ref4","ariaLabelledby","useContext","id","_ref5","_ref6","_ref7","ICON_MAP","danger","info","success","warning","HighLevel","_ref8","onClose","spritemap","status","Fragment","symbol","aria-label","displayType","onClick","ClayModalHeader","_ref9","_ref10","_ref10$withTitle","withTitle","_React$useContext2","useUserInteractions","_shared","modalElementRef","modalBodyElementRef","mouseEventTargetRef","handleKeydown","Keys","Tab","focusableNodes","nodes","querySelectorAll","FOCUSABLE_ELEMENTS","map","getFocusableNodes","focusedItemIndex","shiftKey","preventDefault","handleKeyup","Esc","handleDocumentMouseDown","handleDocumentMouseUp","_Body","_Footer","_Header","_Hook","_types","_defineProperty","enumerable","configurable","writable","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","next","done","push","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","toString","slice","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","counter","_classNames","center","containerElementRef","_ref$containerProps","containerProps","_ref$disableAutoClose","disableAutoClose","observer","size","zIndex","dispatch","ObserverType","Close","Open","useMemo","concat","mutation","show","content","ClayPortal","containerRef","subPortalRef","aria-hidden","style","aria-labelledby","role","Provider","Body","Footer","Header","Context","Action","_Modal","_useModal2","ownKeys","object","enumerableOnly","symbols","filter","sym","_objectSpread","forEach","getOwnPropertyDescriptors","defineProperties","initialState","body","footer","visible","reducer","state","action","type","payload","_React$useReducer2","useReducer","_React$useReducer2$","otherState","_useModal","useModal","_otherState$footer","header","_footer","delay","fn","setTimeout","modalOpenClassName","_ref$defaultOpen","defaultOpen","_useState","useState","_useState2","open","setOpen","_useState3","_useState4","setVisible","timerIdRef","handleCloseModal","classList","remove","handleOpenModal","add","handleObserverDispatch","onOpenChange","useCallback","clearTimeout","printWarning","format","args","argIndex","message","replace","console","error","Error","x","condition","module","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_classnames_js_a73da2a0__","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_react_js_52accfa8__","__WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$button_js_62f93581__","__WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$icon_js_79ccb798__","__WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$shared_js_be5ffeeb__","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","_Provider"],"mappings":";;;qEAEA,SAAAA,EAAAC,GAAA,OAAAD,EAAA,mBAAAE,QAAA,iBAAAA,OAAAC,SAAA,SAAAF,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAC,QAAAD,EAAAG,cAAAF,QAAAD,IAAAC,OAAAG,UAAA,gBAAAJ,IAAAA,GAEAK,OAAAC,eAAAC,EAAA,aAAA,CACAC,OAAA,IAEAD,EAAA,aAAA,EAEA,IAUAP,EAVAS,GAUAT,EAVAU,mBAAA,gBAUAV,EAAAW,WAAAX,EAAA,CAAAY,QAAAZ,GARAa,EAMA,SAAAb,EAAAc,GAAA,IAAAA,GAAAd,GAAAA,EAAAW,WAAA,OAAAX,EAAA,GAAA,OAAAA,GAAA,WAAAD,EAAAC,IAAA,mBAAAA,EAAA,MAAA,CAAAY,QAAAZ,GAAA,IAAAe,EAAAC,EAAAF,GAAA,GAAAC,GAAAA,EAAAE,IAAAjB,GAAA,OAAAe,EAAAG,IAAAlB,GAAA,IAAAmB,EAAA,GAAAC,EAAAf,OAAAC,gBAAAD,OAAAgB,yBAAA,IAAA,IAAAC,KAAAtB,EAAA,GAAA,YAAAsB,GAAAjB,OAAAD,UA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B,GAAAjB,OAAAD,UAAAmB,eAAAC,KAAAxB,EAAAsB,GAAA,CAAA,IAAAG,EAAAL,EAAAf,OAAAgB,yBAAArB,EAAAsB,GAAA,KAAAG,IAAAA,EAAAP,KAAAO,EAAAC,KAAArB,OAAAC,eAAAa,EAAAG,EAAAG,GAAAN,EAAAG,GAAAtB,EAAAsB,GAAAH,EAAAP,QAAAZ,EAAAe,GAAAA,EAAAW,IAAA1B,EAAAmB,GAAA,OAAAA,EANAQ,CAAAjB,qCAAA,wDAEAqP,EAAArP,qCAAA,uDAEA,SAAAM,EAAAF,GAAA,GAAA,mBAAAe,QAAA,OAAA,KAAA,IAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAA,OAAAb,EAAA,SAAAF,GAAA,OAAAA,EAAAiB,EAAAD,IAAAhB,GAUA,IAAAoC,EAAAoL,EAAA1N,QACAL,EAAA,QAAA2C","sourcesContent":["\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _excluded = [\"children\", \"className\", \"iFrameProps\", \"scrollable\", \"url\"];\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar ClayModalBody = function ClayModalBody(_ref) {\n var children = _ref.children,\n className = _ref.className,\n _ref$iFrameProps = _ref.iFrameProps,\n iFrameProps = _ref$iFrameProps === void 0 ? {} : _ref$iFrameProps,\n scrollable = _ref.scrollable,\n url = _ref.url,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n var elementRef = (0, _react.useRef)(null);\n (0, _react.useEffect)(function () {\n var onKeyDown = function onKeyDown(event) {\n if (elementRef.current && (event.key === 'ArrowUp' || event.key === 'ArrowDown') && !elementRef.current.contains(document.activeElement)) {\n if (event.defaultPrevented) {\n return;\n }\n\n elementRef.current.focus();\n }\n };\n\n document.addEventListener('keydown', onKeyDown);\n return function () {\n document.removeEventListener('keydown', onKeyDown);\n };\n }, [elementRef]);\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-body', className, {\n 'inline-scroller': scrollable,\n 'modal-body-iframe': url\n }),\n ref: elementRef,\n tabIndex: scrollable ? -1 : undefined\n }, otherProps), url ? /*#__PURE__*/_react.default.createElement(\"iframe\", _extends({}, iFrameProps, {\n src: url,\n title: url\n })) : children);\n};\n\nvar _default = ClayModalBody;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar context = /*#__PURE__*/_react.default.createContext({});\n\ncontext.displayName = 'ClayModalContext';\nvar _default = context;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _excluded = [\"className\", \"first\", \"last\", \"middle\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar ClayModalFooter = function ClayModalFooter(_ref) {\n var className = _ref.className,\n first = _ref.first,\n last = _ref.last,\n middle = _ref.middle,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-footer', className)\n }, otherProps), /*#__PURE__*/_react.default.createElement(\"div\", {\n className: \"modal-item-first\"\n }, first), /*#__PURE__*/_react.default.createElement(\"div\", {\n className: \"modal-item\"\n }, middle), /*#__PURE__*/_react.default.createElement(\"div\", {\n className: \"modal-item-last\"\n }, last));\n};\n\nvar _default = ClayModalFooter;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.TitleSection = exports.TitleIndicator = exports.Title = exports.SubtitleSection = exports.Subtitle = exports.ItemGroup = exports.Item = void 0;\n\nvar _button = _interopRequireDefault(require(\"@clayui/button\"));\n\nvar _icon = _interopRequireDefault(require(\"@clayui/icon\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _Context = _interopRequireDefault(require(\"./Context\"));\n\nvar _excluded = [\"children\", \"className\"],\n _excluded2 = [\"children\", \"className\", \"shrink\"],\n _excluded3 = [\"children\", \"className\"],\n _excluded4 = [\"children\", \"className\"],\n _excluded5 = [\"children\", \"className\"],\n _excluded6 = [\"children\", \"className\"],\n _excluded7 = [\"children\", \"className\"],\n _excluded8 = [\"children\", \"className\"],\n _excluded9 = [\"children\", \"withTitle\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar ItemGroup = function ItemGroup(_ref) {\n var children = _ref.children,\n className = _ref.className,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-item-group', className)\n }, otherProps), children);\n};\n\nexports.ItemGroup = ItemGroup;\n\nvar Item = function Item(_ref2) {\n var children = _ref2.children,\n className = _ref2.className,\n shrink = _ref2.shrink,\n otherProps = _objectWithoutProperties(_ref2, _excluded2);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-item', className, {\n 'modal-item-shrink': shrink\n })\n }, otherProps), children);\n};\n\nexports.Item = Item;\n\nvar TitleSection = function TitleSection(_ref3) {\n var children = _ref3.children,\n className = _ref3.className,\n otherProps = _objectWithoutProperties(_ref3, _excluded3);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-title-section', className)\n }, otherProps), children);\n};\n\nexports.TitleSection = TitleSection;\n\nvar Title = function Title(_ref4) {\n var children = _ref4.children,\n className = _ref4.className,\n otherProps = _objectWithoutProperties(_ref4, _excluded4);\n\n var _React$useContext = _react.default.useContext(_Context.default),\n ariaLabelledby = _React$useContext.ariaLabelledby;\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-title', className)\n }, otherProps, {\n id: ariaLabelledby\n }), children);\n};\n\nexports.Title = Title;\n\nvar TitleIndicator = function TitleIndicator(_ref5) {\n var children = _ref5.children,\n className = _ref5.className,\n otherProps = _objectWithoutProperties(_ref5, _excluded5);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-title-indicator', className)\n }, otherProps), children);\n};\n\nexports.TitleIndicator = TitleIndicator;\n\nvar SubtitleSection = function SubtitleSection(_ref6) {\n var children = _ref6.children,\n className = _ref6.className,\n otherProps = _objectWithoutProperties(_ref6, _excluded6);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-subtitle-section', className)\n }, otherProps), children);\n};\n\nexports.SubtitleSection = SubtitleSection;\n\nvar Subtitle = function Subtitle(_ref7) {\n var children = _ref7.children,\n className = _ref7.className,\n otherProps = _objectWithoutProperties(_ref7, _excluded7);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-subtitle', className)\n }, otherProps), children);\n};\n\nexports.Subtitle = Subtitle;\nvar ICON_MAP = {\n danger: 'exclamation-full',\n info: 'info-circle',\n success: 'check-circle-full',\n warning: 'warning-full'\n};\n\nvar HighLevel = function HighLevel(_ref8) {\n var children = _ref8.children,\n onClose = _ref8.onClose,\n spritemap = _ref8.spritemap,\n status = _ref8.status;\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Title, null, status && /*#__PURE__*/_react.default.createElement(TitleIndicator, null, /*#__PURE__*/_react.default.createElement(_icon.default, {\n spritemap: spritemap,\n symbol: ICON_MAP[status]\n })), children), /*#__PURE__*/_react.default.createElement(_button.default, {\n \"aria-label\": \"close\",\n className: \"close\",\n displayType: \"unstyled\",\n onClick: onClose\n }, /*#__PURE__*/_react.default.createElement(_icon.default, {\n spritemap: spritemap,\n symbol: \"times\"\n })));\n};\n\nvar ClayModalHeader = function ClayModalHeader(_ref9) {\n var children = _ref9.children,\n className = _ref9.className,\n otherProps = _objectWithoutProperties(_ref9, _excluded8);\n\n return /*#__PURE__*/_react.default.createElement(\"div\", _extends({\n className: (0, _classnames.default)('modal-header', className)\n }, otherProps), children);\n};\n\nvar ClayModalHeaderHybrid = function ClayModalHeaderHybrid(_ref10) {\n var children = _ref10.children,\n _ref10$withTitle = _ref10.withTitle,\n withTitle = _ref10$withTitle === void 0 ? true : _ref10$withTitle,\n otherProps = _objectWithoutProperties(_ref10, _excluded9);\n\n var _React$useContext2 = _react.default.useContext(_Context.default),\n onClose = _React$useContext2.onClose,\n spritemap = _React$useContext2.spritemap,\n status = _React$useContext2.status;\n\n return /*#__PURE__*/_react.default.createElement(ClayModalHeader, otherProps, withTitle && /*#__PURE__*/_react.default.createElement(HighLevel, {\n onClose: onClose,\n spritemap: spritemap,\n status: status\n }, children), !withTitle && children);\n};\n\nvar _default = ClayModalHeaderHybrid;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useUserInteractions = void 0;\n\nvar _shared = require(\"@clayui/shared\");\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A hook that takes care of controlling click, keyup and keydown events\n * respectively close the modal after a click on the overlay, close the\n * modal by pressing the ESC key and control the focus within the Modal.\n */\nvar useUserInteractions = function useUserInteractions(modalElementRef, modalBodyElementRef, onClick) {\n var mouseEventTargetRef = _react.default.useRef(null);\n\n var getFocusableNodes = function getFocusableNodes() {\n if (modalBodyElementRef.current) {\n var nodes = modalBodyElementRef.current.querySelectorAll(_shared.FOCUSABLE_ELEMENTS);\n return Object.keys(nodes).map(function (key) {\n return nodes[key];\n });\n }\n\n return [];\n };\n\n var handleKeydown = function handleKeydown(event) {\n if (event.key === _shared.Keys.Tab) {\n if (modalElementRef.current && event.target !== null && !modalElementRef.current.contains(event.target)) {\n modalBodyElementRef.current.focus();\n } else {\n var focusableNodes = getFocusableNodes();\n var focusedItemIndex = focusableNodes.indexOf(document.activeElement);\n\n if (event.shiftKey && focusedItemIndex === 0) {\n focusableNodes[focusableNodes.length - 1].focus();\n event.preventDefault();\n }\n\n if (!event.shiftKey && focusedItemIndex === focusableNodes.length - 1) {\n focusableNodes[0].focus();\n event.preventDefault();\n }\n }\n }\n };\n\n var handleKeyup = function handleKeyup(event) {\n if (event.key === _shared.Keys.Esc) {\n onClick();\n }\n };\n\n var handleDocumentMouseDown = function handleDocumentMouseDown(event) {\n // We keep the `event.target` to check later in the click event if\n // the target is the same, otherwise, we are assuming that the element\n // has been removed from the DOM.\n mouseEventTargetRef.current = event.target;\n };\n\n var handleDocumentMouseUp = function handleDocumentMouseUp(event) {\n if (event.defaultPrevented) {\n mouseEventTargetRef.current = null;\n return;\n }\n\n if (event.target === modalElementRef.current && (mouseEventTargetRef.current === event.target || mouseEventTargetRef.current === null)) {\n onClick();\n }\n\n mouseEventTargetRef.current = null;\n };\n /**\n * Just listen for keyup, keydown, and click when\n * changeAttachEvent is true.\n */\n\n\n _react.default.useEffect(function () {\n document.addEventListener('keydown', handleKeydown);\n document.addEventListener('keyup', handleKeyup);\n document.addEventListener('mousedown', handleDocumentMouseDown);\n document.addEventListener('mouseup', handleDocumentMouseUp);\n return function () {\n document.removeEventListener('keydown', handleKeydown);\n document.removeEventListener('keyup', handleKeyup);\n document.removeEventListener('mousedown', handleDocumentMouseDown);\n document.removeEventListener('mouseup', handleDocumentMouseUp);\n };\n }, []);\n};\n\nexports.useUserInteractions = useUserInteractions;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _shared = require(\"@clayui/shared\");\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _warning = _interopRequireDefault(require(\"warning\"));\n\nvar _Body = _interopRequireDefault(require(\"./Body\"));\n\nvar _Context = _interopRequireDefault(require(\"./Context\"));\n\nvar _Footer = _interopRequireDefault(require(\"./Footer\"));\n\nvar _Header = _interopRequireWildcard(require(\"./Header\"));\n\nvar _Hook = require(\"./Hook\");\n\nvar _types = require(\"./types\");\n\nvar _excluded = [\"center\", \"children\", \"className\", \"containerElementRef\", \"containerProps\", \"disableAutoClose\", \"observer\", \"size\", \"spritemap\", \"status\", \"zIndex\"];\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar warningMessage = \"You need to pass the 'observer' prop to ClayModal for everything to work fine, use the 'useModal' hook that exposes the observer.\\n\\n> const {observer} = useModal({...});\\n>\\n> return (\\n> \\t\\n> \\t\\t...\\n> \\t\\n> ); \\n\";\nvar counter = 0;\n\nvar ClayModal = function ClayModal(_ref) {\n var _classNames;\n\n var center = _ref.center,\n children = _ref.children,\n className = _ref.className,\n containerElementRef = _ref.containerElementRef,\n _ref$containerProps = _ref.containerProps,\n containerProps = _ref$containerProps === void 0 ? {} : _ref$containerProps,\n _ref$disableAutoClose = _ref.disableAutoClose,\n disableAutoClose = _ref$disableAutoClose === void 0 ? false : _ref$disableAutoClose,\n observer = _ref.observer,\n size = _ref.size,\n spritemap = _ref.spritemap,\n status = _ref.status,\n zIndex = _ref.zIndex,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n var modalElementRef = (0, _react.useRef)(null);\n var modalBodyElementRef = (0, _react.useRef)(null);\n \"production\" !== \"production\" ? (0, _warning.default)(observer !== undefined, warningMessage) : void 0;\n (0, _Hook.useUserInteractions)(modalElementRef, modalBodyElementRef, function () {\n return !disableAutoClose && observer.dispatch(_types.ObserverType.Close);\n });\n (0, _react.useEffect)(function () {\n return observer.dispatch(_types.ObserverType.Open);\n }, []);\n (0, _react.useEffect)(function () {\n if (modalBodyElementRef.current) {\n modalBodyElementRef.current.focus();\n }\n }, [modalBodyElementRef]);\n var ariaLabelledby = (0, _react.useMemo)(function () {\n counter++;\n return \"clay-modal-label-\".concat(counter);\n }, []);\n\n var _ref2 = observer && observer.mutation ? observer.mutation : [false, false],\n _ref3 = _slicedToArray(_ref2, 2),\n show = _ref3[0],\n content = _ref3[1];\n\n return /*#__PURE__*/_react.default.createElement(_shared.ClayPortal, _extends({}, containerProps, {\n containerRef: containerElementRef,\n subPortalRef: modalElementRef\n }), /*#__PURE__*/_react.default.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: (0, _classnames.default)('modal-backdrop fade', {\n show: show\n }),\n style: {\n zIndex: zIndex\n }\n }), /*#__PURE__*/_react.default.createElement(\"div\", _extends({}, otherProps, {\n className: (0, _classnames.default)('fade modal d-block', className, {\n show: show\n }),\n ref: modalElementRef,\n style: {\n zIndex: zIndex && zIndex + 10\n }\n }), /*#__PURE__*/_react.default.createElement(\"div\", {\n \"aria-labelledby\": ariaLabelledby,\n className: (0, _classnames.default)('modal-dialog', (_classNames = {}, _defineProperty(_classNames, \"modal-\".concat(size), size), _defineProperty(_classNames, \"modal-\".concat(status), status), _defineProperty(_classNames, 'modal-dialog-centered', center), _classNames)),\n ref: modalBodyElementRef,\n role: \"dialog\",\n tabIndex: -1\n }, /*#__PURE__*/_react.default.createElement(\"div\", {\n className: \"modal-content\"\n }, /*#__PURE__*/_react.default.createElement(_Context.default.Provider, {\n value: {\n ariaLabelledby: ariaLabelledby,\n onClose: function onClose() {\n return observer.dispatch(_types.ObserverType.Close);\n },\n spritemap: spritemap,\n status: status\n }\n }, content && children)))));\n};\n\nvar _default = Object.assign(ClayModal, {\n Body: _Body.default,\n Footer: _Footer.default,\n Header: _Header.default,\n Item: _Header.Item,\n ItemGroup: _Header.ItemGroup,\n Subtitle: _Header.Subtitle,\n SubtitleSection: _Header.SubtitleSection,\n Title: _Header.Title,\n TitleIndicator: _Header.TitleIndicator,\n TitleSection: _Header.TitleSection\n});\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.Context = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _Modal = _interopRequireDefault(require(\"./Modal\"));\n\nvar _useModal2 = require(\"./useModal\");\n\nvar _excluded = [\"visible\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar Action;\n\n(function (Action) {\n Action[\"Close\"] = \"CLOSE\";\n Action[\"Open\"] = \"OPEN\";\n})(Action || (Action = {}));\n\nvar initialState = {\n body: /*#__PURE__*/_react.default.createElement(\"div\", null),\n footer: [],\n onClose: function onClose() {},\n visible: false\n};\n\nvar reducer = function reducer(state, action) {\n switch (action.type) {\n case 1:\n case Action.Open:\n return _objectSpread(_objectSpread({}, action.payload), {}, {\n visible: true\n });\n\n case 0:\n case Action.Close:\n return initialState;\n\n default:\n throw new TypeError();\n }\n};\n\nvar Context = /*#__PURE__*/_react.default.createContext([initialState, function () {}]);\n\nexports.Context = Context;\n\nvar ClayModalProvider = function ClayModalProvider(_ref) {\n var children = _ref.children,\n spritemap = _ref.spritemap;\n\n var _React$useReducer = _react.default.useReducer(reducer, initialState),\n _React$useReducer2 = _slicedToArray(_React$useReducer, 2),\n _React$useReducer2$ = _React$useReducer2[0],\n visible = _React$useReducer2$.visible,\n otherState = _objectWithoutProperties(_React$useReducer2$, _excluded),\n dispatch = _React$useReducer2[1];\n\n var _useModal = (0, _useModal2.useModal)({\n onClose: function onClose() {\n return dispatch({\n type: Action.Close\n });\n }\n }),\n observer = _useModal.observer,\n onClose = _useModal.onClose;\n\n var body = otherState.body,\n center = otherState.center,\n _otherState$footer = otherState.footer,\n footer = _otherState$footer === void 0 ? [] : _otherState$footer,\n header = otherState.header,\n size = otherState.size,\n status = otherState.status,\n url = otherState.url;\n\n var _footer = _slicedToArray(footer, 3),\n first = _footer[0],\n middle = _footer[1],\n last = _footer[2];\n\n var state = _objectSpread(_objectSpread({}, otherState), {}, {\n onClose: onClose\n });\n\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, visible && /*#__PURE__*/_react.default.createElement(_Modal.default, {\n center: center,\n observer: observer,\n size: size,\n spritemap: spritemap,\n status: status\n }, header && /*#__PURE__*/_react.default.createElement(_Modal.default.Header, null, header), /*#__PURE__*/_react.default.createElement(_Modal.default.Body, {\n url: url\n }, body), !!footer.length && /*#__PURE__*/_react.default.createElement(_Modal.default.Footer, {\n first: first,\n last: last,\n middle: middle\n })), /*#__PURE__*/_react.default.createElement(Context.Provider, {\n value: [state, dispatch]\n }, children));\n};\n\nvar _default = ClayModalProvider;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ObserverType = void 0;\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar ObserverType;\nexports.ObserverType = ObserverType;\n\n(function (ObserverType) {\n ObserverType[ObserverType[\"Close\"] = 0] = \"Close\";\n ObserverType[ObserverType[\"Open\"] = 1] = \"Open\";\n})(ObserverType || (exports.ObserverType = ObserverType = {}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useModal = void 0;\n\nvar _react = require(\"react\");\n\nvar _types = require(\"./types\");\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar delay = function delay(fn) {\n return setTimeout(function () {\n fn();\n }, 100);\n};\n\nvar modalOpenClassName = 'modal-open';\n\nvar useModal = function useModal() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$defaultOpen = _ref.defaultOpen,\n defaultOpen = _ref$defaultOpen === void 0 ? false : _ref$defaultOpen,\n onClose = _ref.onClose;\n\n var _useState = (0, _react.useState)(defaultOpen),\n _useState2 = _slicedToArray(_useState, 2),\n open = _useState2[0],\n setOpen = _useState2[1];\n\n var _useState3 = (0, _react.useState)([false, false]),\n _useState4 = _slicedToArray(_useState3, 2),\n visible = _useState4[0],\n setVisible = _useState4[1];\n\n var timerIdRef = (0, _react.useRef)(null);\n /**\n * Control the close of the modal to create the component's \"unmount\"\n * animation and call the onClose prop with delay.\n */\n\n var handleCloseModal = function handleCloseModal() {\n document.body.classList.remove(modalOpenClassName);\n setVisible([false, true]);\n timerIdRef.current = delay(function () {\n if (onClose) {\n onClose();\n }\n\n setOpen(false);\n setVisible([false, false]);\n });\n };\n\n var handleOpenModal = function handleOpenModal() {\n document.body.classList.add(modalOpenClassName);\n setOpen(true);\n timerIdRef.current = delay(function () {\n return setVisible([true, true]);\n });\n };\n\n var handleObserverDispatch = function handleObserverDispatch(type) {\n switch (type) {\n case _types.ObserverType.Close:\n handleCloseModal();\n break;\n\n case _types.ObserverType.Open:\n handleOpenModal();\n break;\n\n default:\n break;\n }\n };\n\n var onOpenChange = (0, _react.useCallback)(function (value) {\n if (value) {\n handleOpenModal();\n } else {\n handleCloseModal();\n }\n }, []);\n (0, _react.useEffect)(function () {\n return function () {\n document.body.classList.remove(modalOpenClassName);\n\n if (timerIdRef.current) {\n clearTimeout(timerIdRef.current);\n }\n };\n }, []);\n return {\n observer: {\n dispatch: handleObserverDispatch,\n mutation: visible\n },\n onClose: handleCloseModal,\n onOpenChange: onOpenChange,\n open: open\n };\n};\n\nexports.useModal = useModal;","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_classnames_js_a73da2a0__;","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_react_js_52accfa8__;","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$button_js_62f93581__;","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$icon_js_79ccb798__;","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_taglib_clay_liferay_exports_clayui$shared_js_be5ffeeb__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ClayModalProvider\", {\n enumerable: true,\n get: function get() {\n return _Provider.default;\n }\n});\nObject.defineProperty(exports, \"Context\", {\n enumerable: true,\n get: function get() {\n return _Provider.Context;\n }\n});\nexports.default = void 0;\nObject.defineProperty(exports, \"useModal\", {\n enumerable: true,\n get: function get() {\n return _useModal.useModal;\n }\n});\n\nvar _Modal = _interopRequireDefault(require(\"./Modal\"));\n\nvar _Provider = _interopRequireWildcard(require(\"./Provider\"));\n\nvar _useModal = require(\"./useModal\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar _default = _Modal.default;\nexports.default = _default;"]}