{"version":3,"sources":["webpack://frontend-taglib-clay/node_modules/@clayui/provider/lib/Provider.js","webpack://frontend-taglib-clay/node_modules/@clayui/provider/lib/index.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/FocusScope.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/Keys.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/LinkOrButton.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/MouseSafeArea.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/Portal.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/delegate.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/doAlign.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/getEllipsisItems.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/observeRect.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/setElementFullHeight.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/sub.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/useDebounce.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/useFocusManagement.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/useInternalState.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/useMousePosition.js","webpack://frontend-taglib-clay/node_modules/@clayui/shared/node_modules/dom-align/dist-web/index.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-dom.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$link.js\"","webpack://frontend-taglib-clay/webpack/bootstrap","webpack://frontend-taglib-clay/webpack/runtime/define property getters","webpack://frontend-taglib-clay/webpack/runtime/hasOwnProperty shorthand","webpack://frontend-taglib-clay/webpack/runtime/make namespace object","webpack://frontend-taglib-clay/node_modules/@clayui/shared/lib/index.js"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","exports","value","useProvider","Provider","_icon","__webpack_require__","_react","nodeInterop","__esModule","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","hasOwnProperty","call","desc","set","_interopRequireWildcard","_excluded","WeakMap","cacheBabelInterop","cacheNodeInterop","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","configurable","writable","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","Context","createContext","displayName","_ref","children","spritemap","theme","otherProps","createElement","ClayIconSpriteContext","className","useContext","_Provider","FocusScope","_Keys","_useFocusManagement","FocusConflictContext","_ref$arrowKeysLeftRig","arrowKeysLeftRight","_ref$arrowKeysUpDown","arrowKeysUpDown","elRef","useRef","focusManager","useFocusManagement","hasParentFocus","cloneElement","onKeyDown","event","stopPropagation","props","shiftKey","Keys","Down","Right","Tab","focusNext","preventDefault","Up","Left","focusPrevious","_onKeyDown","ref","r","current","Backspace","Del","End","Enter","Esc","F2","Home","R","Spacebar","LinkOrButton","_button","_interopRequireDefault","_link","_extends","assign","this","forwardRef","buttonDisplayType","buttonType","href","linkDisplayType","onClick","displayType","type","MouseSafeArea","_Portal","_useMousePosition3","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","next","done","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","toString","slice","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","getLeft","mouseX","x","undefined","concat","Math","max","getRight","_ref2","ownerW","w","getWidth","_ref3","getClipPath","_ref4","h","mouseY","y","_ref5","_parentRef$current","_parentRef$current2","parentRef","_useMousePosition2","useMousePosition","_ref6","getBoundingClientRect","_ref6$height","height","_ref6$top","top","_ref6$width","width","_ref6$x","_ref6$y","_ref7$offsetWidth","ownerDocument","body","offsetWidth","positions","ClayPortal","style","clipPath","left","position","right","zIndex","_provider","_classnames","_reactDom","ClayPortalContext","containerRef","id","subPortalRef","parentPortalRef","portalRef","document","element","setAttribute","createDivElement","useEffect","closestParent","elToMountTo","appendChild","remove","removeChild","content","createPortal","delegate","eventName","selector","callback","eventHandler","node","defaultPrevented","disabled","closest","delegateTarget","addEventListener","dispose","removeEventListener","_default","doAlign","sourceElement","targetElement","config","_domAlign","useCssRight","window","getComputedStyle","direction","getEllipsisItems","_toConsumableArray","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","getBufferList","start","end","EllipsisComponent","ellipsisProps","items","removedItems","ellipsisBuffer","activeIndex","lastIndex","leftBufferEnd","rightBufferStart","leftBuffer","rightBuffer","newArray","min","observeRect","rafId","rectAttrs","run","state","newRect","a","b","some","prop","rectChanged","rect","requestAnimationFrame","hasRectChanged","cancelAnimationFrame","setElementFullHeight","clientHeight","sub","SPLIT_REGEX","langKey","args","keyArray","split","val","arg","indexKey","argIndex","splice","join","useDebounce","delay","_React$useState2","useState","debouncedValue","setDebouncedValue","handler","setTimeout","clearTimeout","values","FOCUSABLE_ELEMENTS","isFocusable","scope","nextFocusInDocRef","prevFocusInDocRef","moveFocusInScope","backwards","fiberFocusElements","getFocusableElementsInScope","activeElement","docFocusElements","collectDocumentFocusableElements","docPosition","reactFiberPosition","nextFocusInDoc","prevFocusInDoc","nextFocusInFiber","prevFocusInFiber","nextActive","focus","getFiber","_tagName","contentEditable","offsetParent","rel","tabIndex","tagName","toLowerCase","querySelectorAll","collectFocusableElements","focusableElements","fiber","tag","memoizedProps","stateNode","isFiberHostComponentFocusable","child","sibling","internalKey","find","fiberNode","useInternalState","defaultName","defaultValue","onChange","handleName","_useState2","internalValue","setInternalValue","isUncontrolled","mousePosition","setMousePosition","limit","waiting","handleMousePosition","clientX","clientY","_objectSpread2","vendorPrefix","jsCssMap","Webkit","Moz","ms","O","getVendorPrefix","getTransitionName","getTransformName","setTransitionProperty","transitionProperty","setTransform","transform","getComputedStyleX","matrix2d","matrix3d","forceRelayout","elem","originalStyle","display","offsetHeight","css","el","v","getScroll","ret","method","d","documentElement","getScrollLeft","getScrollTop","getOffset","pos","box","doc","docElem","clientLeft","clientTop","getClientPosition","defaultView","parentWindow","isWindow","getDocument","nodeType","_RE_NUM_NO_PX","RegExp","RE_POS","getOffsetDirection","dir","option","useCssBottom","oppositeOffsetDirection","setLeftTop","offset","presetH","presetV","horizontalProperty","verticalProperty","oppositeHorizontalProperty","oppositeVerticalProperty","originalTransition","originalOffset","old","preset","off","_key","_dir","_off","setTransform$1","originalXY","getPropertyValue","matrix","replace","parseFloat","getTransformXY","resultXY","xy","match2d","match","map","item","setTransformXY","each","fn","isBorderBoxFn","cs","computedStyle","rsLeft","pixelLeft","BOX_MODELS","swap","options","getPBMWidth","which","j","cssProp","domUtils","getParent","parent","host","parentNode","getWH","ex","extra","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","isBorderBox","cssBoxValue","Number","borderBoxValueOrIsBorderBox","refWin","win","documentElementProp","compatMode","cssShow","visibility","getWHIgnoreDisplay","_len","_key2","mix","to","first","charAt","toUpperCase","includeMargin","utils","getWindow","ignoreShake","oriOffset","oLeft","toFixed","oTop","tLeft","tTop","useCssTransform","setOffset","clone","overflow","getWindowScrollLeft","getWindowScrollTop","merge","getOffsetParent","positionStyle","nodeName","getParent$1","getVisibleRectForElement","alwaysByViewport","visibleRect","Infinity","bottom","navigator","userAgent","clientWidth","originalPosition","scrollX","scrollY","documentWidth","scrollWidth","documentHeight","scrollHeight","bodyStyle","overflowX","innerWidth","overflowY","innerHeight","isAncestorFixed","maxVisibleWidth","maxVisibleHeight","getRegion","outerWidth","outerHeight","getAlignOffset","region","align","V","H","getElFuturePos","elRegion","refNodeRegion","points","targetOffset","p1","p2","diff","round","isFailX","elFuturePos","isFailY","flip","reg","p","m","flipOffset","index","convertOffset","str","offsetLen","parseInt","substring","normalizeOffset","tgtRegion","isTgtRegionVisible","newOverflowCfg","fail","newElRegion","adjustX","adjustY","newPoints","l","newOffset","newTargetOffset","isCompleteFailX","_newPoints","t","_newOffset","_newTargetOffset","isCompleteFailY","isStillFailX","isStillFailY","_newPoints2","size","resizeWidth","resizeHeight","adjustForViewport","alignElement","refNode","targetRegion","isOutOfVisibleRect","alignPoint","tgtPoint","pageX","pageY","pointInView","__getOffsetParent","__getVisibleRectForElement","__WEBPACK_DEFAULT_EXPORT__","warning","printWarning","format","message","console","error","Error","condition","module","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_classnames_js_a73da2a0__","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_react_dom_js_aed66e0b__","__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$link_js_eb2c18d6__","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","definition","toStringTag","_FocusScope","_LinkOrButton","_MouseSafeArea","_delegate","_doAlign","_getEllipsisItems","noop","_observeRect","_setElementFullHeight","_sub","_useDebounce","_useInternalState","_useMousePosition"],"mappings":";;;4EAEA,SAAAA,EAAAC,GAAA,OAAAD,EAAA,mBAAAE,QAAA,iBAAAA,OAAAC,SAAA,SAAAF,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAC,QAAAD,EAAAG,cAAAF,QAAAD,IAA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EAAA9mB,uCAAA,0DAEAmnB,EAAAnnB,6CAAA,gEAEAkE,EAAAlE,iCAAA,oDAEA+mB,EAAA/mB,yCAAA,4DAEAunB,EAAAvnB,gCAAA,mDAEAqnB,EAAArnB,wCAAA,2DAEAwnB,EAAAxnB,wCAAA,2DAEAmE,EAAAnE,+CAAA,kEAEAsnB,EAAAtnB,iDAAA,oEAEAynB,EAAAznB,6CAAA,gEAEA0nB,EAAA1nB,6CAAA,gEAEAgnB,EAAAhnB,0CAAA,6DAQAL,EAAAynB,KAFA","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.useProvider = exports.Provider = void 0;\n\nvar _icon = require(\"@clayui/icon\");\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _excluded = [\"children\", \"spritemap\", \"theme\"];\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 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\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 Context = /*#__PURE__*/_react.default.createContext({});\n\nContext.displayName = 'ClayProviderContext';\n\nvar Provider = function Provider(_ref) {\n var children = _ref.children,\n spritemap = _ref.spritemap,\n theme = _ref.theme,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/_react.default.createElement(Context.Provider, {\n value: _objectSpread({\n theme: theme\n }, otherProps)\n }, /*#__PURE__*/_react.default.createElement(_icon.ClayIconSpriteContext.Provider, {\n value: spritemap\n }, theme ? /*#__PURE__*/_react.default.createElement(\"div\", {\n className: theme\n }, children) : children));\n};\n\nexports.Provider = Provider;\n\nvar useProvider = function useProvider() {\n return (0, _react.useContext)(Context);\n};\n\nexports.useProvider = useProvider;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Provider = require(\"./Provider\");\n\nObject.keys(_Provider).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Provider[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _Provider[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FocusScope = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _Keys = require(\"./Keys\");\n\nvar _useFocusManagement = require(\"./useFocusManagement\");\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 _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\n/**\n * The context helps to identify if the FocusScope is being declared nested, to\n * avoid focus being controlled by more than one focus manager, we stop event\n * propagation to prevent the parent focus generator from doing anything.\n */\nvar FocusConflictContext = /*#__PURE__*/_react.default.createContext(false);\n/**\n * FocusScope is a component only for controlling focus and listening\n * for children's key down events, since the component handles the `onKeyDown`\n * event.\n */\n\n\nvar FocusScope = function FocusScope(_ref) {\n var _ref$arrowKeysLeftRig = _ref.arrowKeysLeftRight,\n arrowKeysLeftRight = _ref$arrowKeysLeftRig === void 0 ? false : _ref$arrowKeysLeftRig,\n _ref$arrowKeysUpDown = _ref.arrowKeysUpDown,\n arrowKeysUpDown = _ref$arrowKeysUpDown === void 0 ? true : _ref$arrowKeysUpDown,\n children = _ref.children;\n\n var elRef = _react.default.useRef(null);\n\n var focusManager = (0, _useFocusManagement.useFocusManagement)(elRef);\n var hasParentFocus = (0, _react.useContext)(FocusConflictContext);\n\n var _onKeyDown = function onKeyDown(event) {\n var key = event.key,\n shiftKey = event.shiftKey;\n\n if (arrowKeysUpDown && key === _Keys.Keys.Down || arrowKeysLeftRight && key === _Keys.Keys.Right || key === _Keys.Keys.Tab && !shiftKey) {\n if (focusManager.focusNext()) {\n event.preventDefault();\n }\n } else if (arrowKeysUpDown && key === _Keys.Keys.Up || arrowKeysLeftRight && key === _Keys.Keys.Left || key === _Keys.Keys.Tab && shiftKey) {\n if (focusManager.focusPrevious()) {\n event.preventDefault();\n }\n }\n };\n\n return /*#__PURE__*/_react.default.createElement(FocusConflictContext.Provider, {\n value: true\n }, /*#__PURE__*/_react.default.cloneElement(children, {\n onKeyDown: function onKeyDown(event) {\n if (hasParentFocus) {\n event.stopPropagation();\n } // If the element already exists a `onKeyDown` event should\n // invoke it as well.\n\n\n if (children.props.onKeyDown) {\n children.props.onKeyDown(event);\n }\n\n _onKeyDown(event);\n },\n ref: function ref(r) {\n if (r) {\n elRef.current = r;\n var ref = children.ref;\n\n if (ref) {\n if (_typeof(ref) === 'object') {\n ref.current = r;\n }\n }\n }\n }\n }));\n};\n\nexports.FocusScope = FocusScope;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Keys = void 0;\n\n/**\n * SPDX-FileCopyrightText: © 2020 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Key names for comparison with `Event.prototype.key`.\n *\n * Note that because React normalizes key names in its synthetic\n * event system, we don't have to worry about browser-specific\n * edge cases (such as \"Spacebar\" instead of \" \" in IE):\n *\n * See:\n *\n * - https://github.com/facebook/react/blob/b87aabdfe1/packages/react-dom/src/events/getEventKey.js#L12-L29\n * - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values\n */\nvar Keys = {\n Backspace: 'Backspace',\n Del: 'Delete',\n Down: 'ArrowDown',\n End: 'End',\n Enter: 'Enter',\n Esc: 'Escape',\n F2: 'F2',\n Home: 'Home',\n Left: 'ArrowLeft',\n R: 'R',\n Right: 'ArrowRight',\n Spacebar: ' ',\n Tab: 'Tab',\n Up: 'ArrowUp'\n};\nexports.Keys = Keys;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LinkOrButton = void 0;\n\nvar _button = _interopRequireDefault(require(\"@clayui/button\"));\n\nvar _link = _interopRequireDefault(require(\"@clayui/link\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _excluded = [\"buttonDisplayType\", \"buttonType\", \"href\", \"linkDisplayType\", \"onClick\"];\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 LinkOrButton = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {\n var buttonDisplayType = _ref.buttonDisplayType,\n buttonType = _ref.buttonType,\n href = _ref.href,\n linkDisplayType = _ref.linkDisplayType,\n onClick = _ref.onClick,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n if (href) {\n return /*#__PURE__*/_react.default.createElement(_link.default, _extends({}, otherProps, {\n displayType: linkDisplayType,\n href: href,\n onClick: onClick,\n ref: ref\n }));\n }\n\n return /*#__PURE__*/_react.default.createElement(_button.default, _extends({}, otherProps, {\n displayType: buttonDisplayType,\n onClick: onClick,\n ref: ref,\n type: buttonType\n }));\n});\n\nexports.LinkOrButton = LinkOrButton;\nLinkOrButton.displayName = 'ClayLinkOrButton';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MouseSafeArea = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _Portal = require(\"./Portal\");\n\nvar _useMousePosition3 = require(\"./useMousePosition\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: 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\nvar getLeft = function getLeft(_ref) {\n var mouseX = _ref.mouseX,\n x = _ref.x;\n return mouseX > x ? undefined : \"\".concat(x - Math.max(x - mouseX, 10), \"px\");\n};\n\nvar getRight = function getRight(_ref2) {\n var mouseX = _ref2.mouseX,\n ownerW = _ref2.ownerW,\n w = _ref2.w,\n x = _ref2.x;\n return mouseX > x ? \"\".concat(ownerW - (x + w) - Math.max(mouseX - (x + w), 10), \"px\") : undefined;\n};\n\nvar getWidth = function getWidth(_ref3) {\n var mouseX = _ref3.mouseX,\n w = _ref3.w,\n x = _ref3.x;\n return \"\".concat(Math.max(mouseX > x ? mouseX - (x + w) : x - mouseX, 10), \"px\");\n};\n\nvar getClipPath = function getClipPath(_ref4) {\n var h = _ref4.h,\n mouseX = _ref4.mouseX,\n mouseY = _ref4.mouseY,\n x = _ref4.x,\n y = _ref4.y;\n return mouseX > x ? \"polygon(0% 0%, 0% 100%, 100% \".concat(100 * (mouseY - y) / h, \"%)\") : \"polygon(100% 0%, 0% \".concat(100 * (mouseY - y) / h, \"%, 100% 100%)\");\n};\n\nvar MouseSafeArea = function MouseSafeArea(_ref5) {\n var _parentRef$current, _parentRef$current2;\n\n var parentRef = _ref5.parentRef;\n\n var _useMousePosition = (0, _useMousePosition3.useMousePosition)(),\n _useMousePosition2 = _slicedToArray(_useMousePosition, 2),\n mouseX = _useMousePosition2[0],\n mouseY = _useMousePosition2[1];\n\n var _ref6 = ((_parentRef$current = parentRef.current) === null || _parentRef$current === void 0 ? void 0 : _parentRef$current.getBoundingClientRect()) || {},\n _ref6$height = _ref6.height,\n h = _ref6$height === void 0 ? 0 : _ref6$height,\n _ref6$top = _ref6.top,\n top = _ref6$top === void 0 ? 0 : _ref6$top,\n _ref6$width = _ref6.width,\n w = _ref6$width === void 0 ? 0 : _ref6$width,\n _ref6$x = _ref6.x,\n x = _ref6$x === void 0 ? 0 : _ref6$x,\n _ref6$y = _ref6.y,\n y = _ref6$y === void 0 ? 0 : _ref6$y;\n\n var _ref7 = ((_parentRef$current2 = parentRef.current) === null || _parentRef$current2 === void 0 ? void 0 : _parentRef$current2.ownerDocument.body) || {},\n _ref7$offsetWidth = _ref7.offsetWidth,\n ownerW = _ref7$offsetWidth === void 0 ? 0 : _ref7$offsetWidth;\n\n var positions = {\n h: h,\n mouseX: mouseX,\n mouseY: mouseY,\n ownerW: ownerW,\n w: w,\n x: x,\n y: y\n };\n return /*#__PURE__*/_react.default.createElement(_Portal.ClayPortal, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n style: {\n clipPath: getClipPath(positions),\n height: h,\n left: getLeft(positions),\n position: 'absolute',\n right: getRight(positions),\n top: top,\n width: getWidth(positions),\n zIndex: 1010\n }\n }));\n};\n\nexports.MouseSafeArea = MouseSafeArea;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ClayPortal = void 0;\n\nvar _provider = require(\"@clayui/provider\");\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _reactDom = require(\"react-dom\");\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 ClayPortalContext = /*#__PURE__*/_react.default.createContext(null);\n\nClayPortalContext.displayName = 'ClayPortalContext';\n\nvar createDivElement = function createDivElement(className, id) {\n var element = document.createElement('div');\n\n if (className) {\n element.setAttribute('class', className);\n }\n\n if (id) {\n element.setAttribute('id', id);\n }\n\n return element;\n};\n\nvar ClayPortal = function ClayPortal(_ref) {\n var children = _ref.children,\n className = _ref.className,\n containerRef = _ref.containerRef,\n id = _ref.id,\n subPortalRef = _ref.subPortalRef;\n\n var _useProvider = (0, _provider.useProvider)(),\n theme = _useProvider.theme;\n\n var parentPortalRef = _react.default.useContext(ClayPortalContext);\n\n var portalRef = _react.default.useRef(typeof document !== 'undefined' ? createDivElement((0, _classnames.default)(theme, className), id) : null);\n\n _react.default.useEffect(function () {\n var closestParent = parentPortalRef && parentPortalRef.current ? parentPortalRef.current : document.body;\n var elToMountTo = containerRef && containerRef.current ? containerRef.current : closestParent;\n\n if (elToMountTo && portalRef.current) {\n elToMountTo.appendChild(portalRef.current);\n }\n\n return function () {\n if (portalRef.current) {\n if (typeof portalRef.current.remove === 'function') {\n portalRef.current.remove();\n } else if (elToMountTo) {\n elToMountTo.removeChild(portalRef.current);\n }\n }\n };\n }, [containerRef, parentPortalRef]);\n\n var content = /*#__PURE__*/_react.default.createElement(ClayPortalContext.Provider, {\n value: subPortalRef ? subPortalRef : portalRef\n }, children);\n\n return portalRef.current ? /*#__PURE__*/(0, _reactDom.createPortal)(content, portalRef.current) : content;\n};\n\nexports.ClayPortal = ClayPortal;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.delegate = delegate;\n\n/**\n * SPDX-FileCopyrightText: © 2021 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nfunction isDisabled(node) {\n return !!(node.disabled || node.closest('[disabled]'));\n}\n\nfunction delegate(element, eventName, selector, callback) {\n var eventHandler = function eventHandler(event) {\n var defaultPrevented = event.defaultPrevented,\n target = event.target;\n\n if (target) {\n if (defaultPrevented || eventName === 'click' && isDisabled(target)) {\n return;\n }\n\n var delegateTarget = target.closest(selector);\n\n if (delegateTarget) {\n event.delegateTarget = delegateTarget;\n callback(event);\n }\n }\n };\n\n element.addEventListener(eventName, eventHandler);\n return {\n dispose: function dispose() {\n element.removeEventListener(eventName, eventHandler);\n }\n };\n}\n\nvar _default = delegate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.doAlign = doAlign;\n\nvar _domAlign = _interopRequireDefault(require(\"dom-align\"));\n\nvar _excluded = [\"sourceElement\", \"targetElement\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\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\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 isRtl(element) {\n return window.getComputedStyle(element).direction === 'rtl';\n}\n\nfunction doAlign(_ref) {\n var sourceElement = _ref.sourceElement,\n targetElement = _ref.targetElement,\n config = _objectWithoutProperties(_ref, _excluded);\n\n return (0, _domAlign.default)(sourceElement, targetElement, _objectSpread(_objectSpread({}, config), {}, {\n useCssRight: isRtl(sourceElement)\n }));\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getEllipsisItems = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread 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 _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\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 _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\nvar getBufferList = function getBufferList(start, end, config) {\n var EllipsisComponent = config.EllipsisComponent,\n ellipsisProps = config.ellipsisProps,\n items = config.items,\n spritemap = config.spritemap;\n var removedItems = items.slice(start, Math.max(end, start));\n\n if (removedItems.length > 1) {\n return [/*#__PURE__*/_react.default.createElement(EllipsisComponent, _extends({\n items: removedItems,\n key: \"ellipsisComponent\",\n spritemap: spritemap\n }, ellipsisProps))];\n }\n\n return removedItems;\n};\n\nvar getEllipsisItems = function getEllipsisItems(config, ellipsisBuffer) {\n var activeIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var items = config.items;\n var lastIndex = items.length - 1;\n var leftBufferEnd = activeIndex - ellipsisBuffer;\n var rightBufferStart = activeIndex + ellipsisBuffer + 1;\n var leftBuffer = getBufferList(1, leftBufferEnd, config);\n var rightBuffer = getBufferList(rightBufferStart, lastIndex, config);\n var newArray = [items[0]].concat(_toConsumableArray(leftBuffer), _toConsumableArray(items.slice(Math.max(activeIndex - ellipsisBuffer, 1), // Add 1 to account for active index\n Math.min(activeIndex + ellipsisBuffer + 1, lastIndex))), _toConsumableArray(rightBuffer));\n\n if (items.length > 1) {\n newArray.push(items[lastIndex]);\n }\n\n return newArray;\n};\n\nexports.getEllipsisItems = getEllipsisItems;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.observeRect = void 0;\n\n/**\n * SPDX-FileCopyrightText: © 2021 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar rectAttrs = ['bottom', 'height', 'left', 'right', 'top', 'width'];\n\nvar rectChanged = function rectChanged() {\n var a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return rectAttrs.some(function (prop) {\n return a[prop] !== b[prop];\n });\n};\n\nvar rafId;\n\nvar run = function run(node, state) {\n var newRect = node.getBoundingClientRect();\n\n if (rectChanged(newRect, state.rect)) {\n state.rect = newRect;\n state.callback(state.rect);\n }\n\n rafId = window.requestAnimationFrame(function () {\n return run(node, state);\n });\n};\n\nvar observeRect = function observeRect(node, callback) {\n run(node, {\n callback: callback,\n hasRectChanged: false,\n rect: undefined\n });\n return function () {\n cancelAnimationFrame(rafId);\n };\n};\n\nexports.observeRect = observeRect;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setElementFullHeight = setElementFullHeight;\n\n/**\n * SPDX-FileCopyrightText: © 2021 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Adds a height style that triggers a transition when collapsed\n */\nfunction setElementFullHeight(element) {\n if (element) {\n var height = 0;\n\n for (var i = 0; i < element.children.length; i++) {\n height += element.children[i].clientHeight;\n }\n\n element.setAttribute('style', \"height: \".concat(height, \"px\"));\n }\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sub = void 0;\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar SPLIT_REGEX = /({\\d+})/g;\n/**\n * Utility function for substituting variables into language keys.\n */\n\nvar sub = function sub(langKey, args) {\n var keyArray = langKey.split(SPLIT_REGEX).filter(function (val) {\n return val.length !== 0;\n });\n\n for (var i = 0; i < args.length; i++) {\n var arg = args[i];\n var indexKey = \"{\".concat(i, \"}\");\n var argIndex = keyArray.indexOf(indexKey);\n\n while (argIndex >= 0) {\n keyArray.splice(argIndex, 1, arg.toString());\n argIndex = keyArray.indexOf(indexKey);\n }\n }\n\n return keyArray.join('');\n};\n\nexports.sub = sub;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useDebounce = useDebounce;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\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\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\n// Credits to Gabe Ragland\n// (https://dev.to/gabe_ragland/debouncing-with-react-hooks-jci)\nfunction useDebounce(value, delay) {\n var _React$useState = _react.default.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n debouncedValue = _React$useState2[0],\n setDebouncedValue = _React$useState2[1];\n\n _react.default.useEffect(function () {\n var handler = setTimeout(function () {\n setDebouncedValue(value);\n }, delay);\n return function () {\n clearTimeout(handler);\n };\n }, // This is required when the `object` has lost the\n // reference plus the values are the same, `React.useEffect`\n // uses `Object.is` or equivalent under the covers.\n // For some reason the reference is being lost.\n _typeof(value) === 'object' && value !== null ? [].concat(_toConsumableArray(Object.keys(value)), _toConsumableArray(Object.values(value))) : [value]);\n\n return debouncedValue;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FOCUSABLE_ELEMENTS = void 0;\nexports.isFocusable = isFocusable;\nexports.useFocusManagement = useFocusManagement;\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// https://github.com/facebook/react/blob/master/packages/shared/ReactWorkTags.js#L39\nvar HostComponent = 5;\n\nfunction isFocusable(_ref) {\n var _tagName;\n\n var contentEditable = _ref.contentEditable,\n disabled = _ref.disabled,\n href = _ref.href,\n offsetParent = _ref.offsetParent,\n rel = _ref.rel,\n tabIndex = _ref.tabIndex,\n tagName = _ref.tagName,\n type = _ref.type;\n // Normalize casing\n tagName = (_tagName = tagName) === null || _tagName === void 0 ? void 0 : _tagName.toLowerCase(); // Hack to check if element is visible\n\n if (!offsetParent) {\n return false;\n }\n\n if (disabled) {\n return false;\n }\n\n var minTabIndex = 0;\n\n if (tabIndex != null && tabIndex < minTabIndex) {\n return false;\n }\n\n if (tabIndex != null && tabIndex >= minTabIndex || contentEditable === true || contentEditable === 'true') {\n return true;\n }\n\n if (tagName === 'a' || tagName === 'area') {\n return !!href && rel !== 'ignore';\n }\n\n if (tagName === 'input') {\n return type !== 'file' && type !== 'hidden';\n }\n\n return tagName === 'button' || tagName === 'embed' || tagName === 'iframe' || tagName === 'object' || tagName === 'select' || tagName === 'textarea';\n}\n\nvar FOCUSABLE_ELEMENTS = ['a[href]', '[contenteditable]', '[tabindex]:not([tabindex^=\"-\"])', 'area[href]', 'button:not([disabled]):not([aria-hidden])', 'embed', 'iframe', 'input:not([disabled]):not([type=\"hidden\"]):not([aria-hidden])', 'object', 'select:not([disabled]):not([aria-hidden])', 'textarea:not([disabled]):not([aria-hidden])'];\nexports.FOCUSABLE_ELEMENTS = FOCUSABLE_ELEMENTS;\n\nfunction collectDocumentFocusableElements() {\n return Array.from(document.querySelectorAll(FOCUSABLE_ELEMENTS.join(','))).filter(function (element) {\n return isFocusable(element);\n });\n} // https://github.com/facebook/react/pull/15849#diff-39a673d38713257d5fe7d90aac2acb5aR107\n\n\nvar isFiberHostComponentFocusable = function isFiberHostComponentFocusable(fiber) {\n if (fiber.tag !== HostComponent) {\n return false;\n }\n\n var memoizedProps = fiber.memoizedProps,\n stateNode = fiber.stateNode,\n type = fiber.type;\n return isFocusable({\n contentEditable: memoizedProps.contentEditable,\n disabled: memoizedProps.disabled,\n href: memoizedProps.href,\n offsetParent: stateNode.offsetParent,\n rel: memoizedProps.rel,\n tabIndex: memoizedProps.tabIndex,\n tagName: type,\n type: memoizedProps.type\n });\n};\n\nvar collectFocusableElements = function collectFocusableElements(node, focusableElements) {\n if (isFiberHostComponentFocusable(node)) {\n focusableElements.push(node.stateNode);\n }\n\n var child = node.child;\n\n if (child !== null) {\n collectFocusableElements(child, focusableElements);\n }\n\n var sibling = node.sibling;\n\n if (sibling) {\n collectFocusableElements(sibling, focusableElements);\n }\n};\n\nvar getFiber = function getFiber(scope) {\n if (!scope.current) {\n return null;\n }\n\n var internalKey = Object.keys(scope.current).find(function (key) {\n return key.indexOf('__reactInternalInstance') === 0 || key.indexOf('__reactFiber') === 0;\n });\n\n if (internalKey) {\n return scope.current[internalKey];\n }\n\n return null;\n};\n\nvar getFocusableElementsInScope = function getFocusableElementsInScope(fiberNode) {\n var focusableElements = [];\n var child = fiberNode.child;\n\n if (child !== null) {\n collectFocusableElements(child, focusableElements);\n }\n\n return focusableElements;\n};\n\nfunction useFocusManagement(scope) {\n var nextFocusInDocRef = _react.default.useRef(null);\n\n var prevFocusInDocRef = _react.default.useRef(null);\n\n var moveFocusInScope = function moveFocusInScope(scope) {\n var backwards = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var fiberFocusElements = getFocusableElementsInScope(scope);\n\n if (fiberFocusElements.length === 0) {\n return null;\n }\n\n var activeElement = document.activeElement;\n\n if (!activeElement) {\n return;\n }\n\n var docFocusElements = collectDocumentFocusableElements();\n var docPosition = docFocusElements.indexOf(activeElement);\n var reactFiberPosition = fiberFocusElements.indexOf(activeElement); // Ignore when the active element is not in the scope.\n\n if (reactFiberPosition < 0) {\n return null;\n }\n\n var nextFocusInDoc = docFocusElements[docPosition + 1];\n var prevFocusInDoc = docFocusElements[docPosition - 1];\n var nextFocusInFiber = fiberFocusElements[reactFiberPosition + 1];\n var prevFocusInFiber = fiberFocusElements[reactFiberPosition - 1]; // If these two nodes are not equal, that means React is likely using\n // a portal to render the node in a different part of the DOM. When\n // this happens, we want to track where the next node is in case we\n // reach the end of the list of focusable nodes.\n\n if (nextFocusInFiber !== nextFocusInDoc) {\n nextFocusInDocRef.current = nextFocusInDoc;\n } // Same as above, except we track the previous node for tabbing backwards.\n\n\n if (prevFocusInFiber !== prevFocusInDoc) {\n prevFocusInDocRef.current = prevFocusInDoc;\n }\n\n var nextActive = backwards ? prevFocusInFiber : nextFocusInFiber; // We track the previous and next elements in the document flow due to React portals.\n //\n // Consider the following structure of dom elements and where a React Tree is:\n //\n // \n // \n // \n //\n // When our focus gets to the end of the React Tree, we want to focus HtmlFocusElement2\n // When we are at the beginning of the React Tree and want to go backwards with\n // SHIFT + TAB, we want to focus HtmlFocusElement1. This allows the React Tree to\n // render nodes whereever it would like in the document.\n //\n // If there is no `nextActive`, that means we are either at the beginning or end of the\n // list of focusable elements in the React Tree. So we go back to the flow of the\n // document instead of the flow of the React Tree.\n\n if (!nextActive) {\n nextActive = backwards ? prevFocusInDocRef.current : nextFocusInDocRef.current;\n }\n\n if (nextActive) {\n nextActive.focus();\n\n if (nextActive === prevFocusInDocRef.current || nextActive === nextFocusInDocRef.current) {\n nextFocusInDocRef.current = null;\n prevFocusInDocRef.current = null;\n }\n\n return nextActive;\n }\n\n return null;\n };\n\n return {\n focusNext: function focusNext() {\n return moveFocusInScope(getFiber(scope));\n },\n focusPrevious: function focusPrevious() {\n return moveFocusInScope(getFiber(scope), true);\n }\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useInternalState = useInternalState;\n\nvar _react = require(\"react\");\n\nvar _warning = _interopRequireDefault(require(\"warning\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: 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 useInternalState(_ref) {\n var defaultName = _ref.defaultName,\n defaultValue = _ref.defaultValue,\n handleName = _ref.handleName,\n name = _ref.name,\n onChange = _ref.onChange,\n value = _ref.value;\n\n var _useState = (0, _react.useState)(defaultValue !== null && defaultValue !== void 0 ? defaultValue : value),\n _useState2 = _slicedToArray(_useState, 2),\n internalValue = _useState2[0],\n setInternalValue = _useState2[1];\n\n \"production\" !== \"production\" ? (0, _warning.default)(!(typeof value === 'undefined' && typeof onChange !== 'undefined'), \"A component is changing a controlled \".concat(name, \" to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled '\").concat(name, \"' prop for the lifetime of the component.\")) : void 0;\n \"production\" !== \"production\" ? (0, _warning.default)(!(typeof onChange === 'undefined' && typeof value !== 'undefined'), \"You provided a '\".concat(name, \"' prop for a component without a handler '\").concat(handleName, \"'. This will render the component with an internal state, if the component is to be uncontrolled, use '\").concat(defaultName, \"'. Otherwise, set the '\").concat(handleName, \"' handler.\")) : void 0;\n var isUncontrolled = typeof value === 'undefined' || typeof onChange === 'undefined';\n\n if (isUncontrolled) {\n value = internalValue;\n onChange = setInternalValue;\n }\n\n return [value, onChange, isUncontrolled];\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useMousePosition = void 0;\n\nvar _react = require(\"react\");\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 throttle(callback, limit) {\n var waiting = false;\n return function () {\n if (!waiting) {\n callback.apply(void 0, arguments);\n waiting = true;\n setTimeout(function () {\n waiting = false;\n }, limit);\n }\n };\n}\n/**\n * Hook to get the current mouse position\n */\n\n\nvar useMousePosition = function useMousePosition() {\n var _useState = (0, _react.useState)([0, 0]),\n _useState2 = _slicedToArray(_useState, 2),\n mousePosition = _useState2[0],\n setMousePosition = _useState2[1];\n\n (0, _react.useEffect)(function () {\n var handleMousePosition = throttle(function (event) {\n return setMousePosition([event.clientX, event.clientY]);\n }, 200);\n window.addEventListener('mousemove', handleMousePosition);\n return function () {\n return window.removeEventListener('mousemove', handleMousePosition);\n };\n }, []);\n return mousePosition;\n};\n\nexports.useMousePosition = useMousePosition;","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nvar vendorPrefix;\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\n\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n\n return vendorPrefix;\n}\n\nfunction getTransitionName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"TransitionProperty\") : 'transitionProperty';\n}\n\nfunction getTransformName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"Transform\") : 'transform';\n}\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n\n if (name) {\n node.style[name] = value;\n\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\n\nfunction setTransform(node, value) {\n var name = getTransformName();\n\n if (name) {\n node.style[name] = value;\n\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\n\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return {\n x: parseFloat(matrix[12] || matrix[4], 0),\n y: parseFloat(matrix[13] || matrix[5], 0)\n };\n }\n\n return {\n x: 0,\n y: 0\n };\n}\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n\n if (transform && transform !== 'none') {\n var arr;\n var match2d = transform.match(matrix2d);\n\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, \"matrix(\".concat(arr.join(','), \")\"));\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, \"matrix3d(\".concat(arr.join(','), \")\"));\n }\n } else {\n setTransform(node, \"translateX(\".concat(xy.x, \"px) translateY(\").concat(xy.y, \"px) translateZ(0)\"));\n }\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\nvar getComputedStyleX; // https://stackoverflow.com/a/3485654/3040605\n\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n\n elem.style.display = originalStyle;\n}\n\nfunction css(el, name, v) {\n var value = v;\n\n if (_typeof(name) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n\n return undefined;\n }\n\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = \"\".concat(value, \"px\");\n }\n\n el.style[name] = value;\n return undefined;\n }\n\n return getComputedStyleX(el, name);\n}\n\nfunction getClientPosition(elem) {\n var box;\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement; // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n\n box = elem.getBoundingClientRect(); // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = box.left;\n y = box.top; // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\n\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n\n if (typeof ret !== 'number') {\n var d = w.document; // ie6,7,8 standard mode\n\n ret = d.documentElement[method];\n\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n\n return ret;\n}\n\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\n\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\n\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\n\n\nfunction isWindow(obj) {\n // must use == for ie8\n\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\n\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n\n if (node.nodeType === 9) {\n return node;\n }\n\n return node.ownerDocument;\n}\n\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null); // https://github.com/kissyteam/kissy/issues/61\n\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n\n return val;\n}\n\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\n\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\n\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name]; // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT]; // prevent flashing of content\n\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT]; // Put in the new values to get a computed value out\n\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX; // Revert the changed values\n\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n\n return ret === '' ? 'auto' : ret;\n}\n\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\n\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n\n return option.useCssBottom ? 'bottom' : dir;\n}\n\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n} // 设置 elem 相对 elem.ownerDocument 的坐标\n\n\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n\n if ('left' in offset || 'top' in offset) {\n originalTransition = getTransitionProperty(elem) || '';\n setTransitionProperty(elem, 'none');\n }\n\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = \"\".concat(presetH, \"px\");\n }\n\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = \"\".concat(presetV, \"px\");\n } // force relayout\n\n\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n\n css(elem, originalStyle); // force relayout\n\n forceRelayout(elem);\n\n if ('left' in offset || 'top' in offset) {\n setTransitionProperty(elem, originalTransition);\n }\n\n var ret = {};\n\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n\n var _off = offset[_key] - originalOffset[_key];\n\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n\n css(elem, ret);\n}\n\nfunction setTransform$1(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = getTransformXY(elem);\n var resultXY = {\n x: originalXY.x,\n y: originalXY.y\n };\n\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n\n setTransformXY(elem, resultXY);\n}\n\nfunction setOffset(elem, offset, option) {\n if (option.ignoreShake) {\n var oriOffset = getOffset(elem);\n var oLeft = oriOffset.left.toFixed(0);\n var oTop = oriOffset.top.toFixed(0);\n var tLeft = offset.left.toFixed(0);\n var tTop = offset.top.toFixed(0);\n\n if (oLeft === tLeft && oTop === tTop) {\n return;\n }\n }\n\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && getTransformName() in document.body.style) {\n setTransform$1(elem, offset);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\n\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\n\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\n\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\n\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name; // Remember the old values, and insert the new ones\n\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n\n callback.call(elem); // Revert the old values\n\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\n\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop;\n var j;\n var i;\n\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n\n if (prop === 'border') {\n cssProp = \"\".concat(prop).concat(which[i], \"Width\");\n } else {\n cssProp = prop + which[i];\n }\n\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n\n return value;\n}\n\nvar domUtils = {\n getParent: function getParent(element) {\n var parent = element;\n\n do {\n if (parent.nodeType === 11 && parent.host) {\n parent = parent.host;\n } else {\n parent = parent.parentNode;\n }\n } while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);\n\n return parent;\n }\n};\neach(['Width', 'Height'], function (name) {\n domUtils[\"doc\".concat(name)] = function (refWin) {\n var d = refWin.document;\n return Math.max( // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement[\"scroll\".concat(name)], // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n };\n\n domUtils[\"viewport\".concat(name)] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = \"client\".concat(name);\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop]; // 标准模式取 documentElement\n // backcompat 取 body\n\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\n\nfunction getWH(elem, name, ex) {\n var extra = ex;\n\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? elem.getBoundingClientRect().width : elem.getBoundingClientRect().height;\n var isBorderBox = isBorderBoxFn(elem);\n var cssBoxValue = 0;\n\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined; // Fall back to computed then un computed css if necessary\n\n cssBoxValue = getComputedStyleX(elem, name);\n\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n } // Normalize '', auto, and prepare for extra\n\n\n cssBoxValue = parseFloat(cssBoxValue) || 0;\n }\n\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which);\n }\n\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which));\n }\n\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\n\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n}; // fix #119 : https://github.com/kissyteam/kissy/issues/119\n\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var val;\n var elem = args[0]; // in case elem is window\n // elem.offsetWidth === undefined\n\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n\n return val;\n}\n\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n\n domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n\n domUtils[name] = function (elem, v) {\n var val = v;\n\n if (val !== undefined) {\n if (elem) {\n var isBorderBox = isBorderBoxFn(elem);\n\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which);\n }\n\n return css(elem, name, val);\n }\n\n return undefined;\n }\n\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\n\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n\n return to;\n}\n\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i;\n var ret = {};\n\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n\n var overflow = obj.overflow;\n\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n\n return ret;\n },\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, i < 0 || arguments.length <= i ? undefined : arguments[i]);\n }\n\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\n\nvar getParent = utils.getParent;\n\nfunction getOffsetParent(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return null;\n } // ie 这个也不是完全可行\n\n /*\n
\n
\n 元素 6 高 100px 宽 50px
\n
\n
\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n\n\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent;\n var positionStyle = utils.css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : getParent(element);\n }\n\n for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {\n positionStyle = utils.css(parent, 'position');\n\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n\n return null;\n}\n\nvar getParent$1 = utils.getParent;\nfunction isAncestorFixed(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return false;\n }\n\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent = null;\n\n for (parent = getParent$1(element); // 修复元素位于 document.documentElement 下导致崩溃问题\n parent && parent !== body && parent !== doc; parent = getParent$1(parent)) {\n var positionStyle = utils.css(parent, 'position');\n\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * 获得元素的显示部分的区域\n */\n\nfunction getVisibleRectForElement(element, alwaysByViewport) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = getOffsetParent(element);\n var doc = utils.getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement; // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) && // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && utils.css(el, 'overflow') !== 'visible') {\n var pos = utils.offset(el); // add border\n\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right, // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n\n el = getOffsetParent(el);\n } // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n\n\n var originalPosition = null;\n\n if (!utils.isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = utils.css(element, 'position');\n\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight; // scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.\n // We should cut this ourself.\n\n var bodyStyle = window.getComputedStyle(body);\n\n if (bodyStyle.overflowX === 'hidden') {\n documentWidth = win.innerWidth;\n }\n\n if (bodyStyle.overflowY === 'hidden') {\n documentHeight = win.innerHeight;\n } // Reset element position after calculate the visible area\n\n\n if (element.style) {\n element.style.position = originalPosition;\n }\n\n if (alwaysByViewport || isAncestorFixed(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = utils.clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n } // Left edge inside and right edge outside viewport, try to resize it.\n\n\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n } // Right edge outside viewport, try to move it.\n\n\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n } // Top edge outside viewport, try to move it.\n\n\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n } // Top edge inside and bottom edge outside viewport, try to resize it.\n\n\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n } // Bottom edge outside viewport, try to move it.\n\n\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n\n return utils.mix(pos, size);\n}\n\nfunction getRegion(node) {\n var offset;\n var w;\n var h;\n\n if (!utils.isWindow(node) && node.nodeType !== 9) {\n offset = utils.offset(node);\n w = utils.outerWidth(node);\n h = utils.outerHeight(node);\n } else {\n var win = utils.getWindow(node);\n offset = {\n left: utils.getWindowScrollLeft(win),\n top: utils.getWindowScrollTop(win)\n };\n w = utils.viewportWidth(win);\n h = utils.viewportHeight(win);\n }\n\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = region.left;\n var y = region.top;\n\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n\n return {\n left: x,\n top: y\n };\n}\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = getAlignOffset(refNodeRegion, points[1]);\n var p2 = getAlignOffset(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n return {\n left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),\n top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])\n };\n}\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\n\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\n\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\n\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\n\nfunction flip(points, reg, map) {\n var ret = [];\n utils.each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\n\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\n\nfunction convertOffset(str, offsetLen) {\n var n;\n\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n\n return n || 0;\n}\n\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n/**\n * @param el\n * @param tgtRegion 参照节点所占的区域: { left, top, width, height }\n * @param align\n */\n\n\nfunction doAlign(el, tgtRegion, align, isTgtRegionVisible) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n var alwaysByViewport = !!(overflow && overflow.alwaysByViewport); // 当前节点可以被放置的显示区域\n\n var visibleRect = getVisibleRectForElement(source, alwaysByViewport); // 当前节点所占的区域, left/top/width/height\n\n var elRegion = getRegion(source); // 将 offset 转换成数值,支持百分比\n\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, tgtRegion); // 当前节点将要被放置的位置\n\n var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset); // 当前节点将要所处的区域\n\n var newElRegion = utils.merge(elRegion, elFuturePos); // 如果可视区域不能完全放置当前节点时允许调整\n\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n }); // 偏移量也反下\n\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset);\n\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n }); // 偏移量也反下\n\n\n var _newOffset = flipOffset(offset, 1);\n\n var _newTargetOffset = flipOffset(targetOffset, 1);\n\n var _newElFuturePos = getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset);\n\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n } // 如果失败,重新计算当前节点将要被放置的位置\n\n\n if (fail) {\n elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n utils.mix(newElRegion, elFuturePos);\n }\n\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect); // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n\n if (isStillFailX || isStillFailY) {\n var _newPoints2 = points; // 重置对应部分的翻转逻辑\n\n if (isStillFailX) {\n _newPoints2 = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n }\n\n if (isStillFailY) {\n _newPoints2 = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n }\n\n points = _newPoints2;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n } // 2. 只有指定了可以调整当前方向才调整\n\n\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY; // 确实要调整,甚至可能会调整高度宽度\n\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n } // need judge to in case set fixed with in css on height auto element\n\n\n if (newElRegion.width !== elRegion.width) {\n utils.css(source, 'width', utils.width(source) + newElRegion.width - elRegion.width);\n }\n\n if (newElRegion.height !== elRegion.height) {\n utils.css(source, 'height', utils.height(source) + newElRegion.height - elRegion.height);\n } // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如
\n\n\n utils.offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform,\n ignoreShake: align.ignoreShake\n });\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nfunction isOutOfVisibleRect(target, alwaysByViewport) {\n var visibleRect = getVisibleRectForElement(target, alwaysByViewport);\n var targetRegion = getRegion(target);\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\n\nfunction alignElement(el, refNode, align) {\n var target = align.target || refNode;\n var refNodeRegion = getRegion(target);\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport);\n return doAlign(el, refNodeRegion, align, isTargetNotOutOfVisible);\n}\n\nalignElement.__getOffsetParent = getOffsetParent;\nalignElement.__getVisibleRectForElement = getVisibleRectForElement;\n\n/**\n * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.\n * If client position provided, will internal convert to page position.\n */\n\nfunction alignPoint(el, tgtPoint, align) {\n var pageX;\n var pageY;\n var doc = utils.getDocument(el);\n var win = doc.defaultView || doc.parentWindow;\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n\n if ('pageX' in tgtPoint) {\n pageX = tgtPoint.pageX;\n } else {\n pageX = scrollX + tgtPoint.clientX;\n }\n\n if ('pageY' in tgtPoint) {\n pageY = tgtPoint.pageY;\n } else {\n pageY = scrollY + tgtPoint.clientY;\n }\n\n var tgtRegion = {\n left: pageX,\n top: pageY,\n width: 0,\n height: 0\n };\n var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight; // Provide default target point\n\n var points = [align.points[0], 'cc'];\n return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, {\n points: points\n }), pointInView);\n}\n\nexport default alignElement;\nexport { alignElement, alignPoint };\n//# sourceMappingURL=index.js.map\n","/**\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_dom_js_aed66e0b__;","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$link_js_eb2c18d6__;","// 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","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ClayPortal\", {\n enumerable: true,\n get: function get() {\n return _Portal.ClayPortal;\n }\n});\nObject.defineProperty(exports, \"FOCUSABLE_ELEMENTS\", {\n enumerable: true,\n get: function get() {\n return _useFocusManagement.FOCUSABLE_ELEMENTS;\n }\n});\nObject.defineProperty(exports, \"FocusScope\", {\n enumerable: true,\n get: function get() {\n return _FocusScope.FocusScope;\n }\n});\nObject.defineProperty(exports, \"Keys\", {\n enumerable: true,\n get: function get() {\n return _Keys.Keys;\n }\n});\nObject.defineProperty(exports, \"LinkOrButton\", {\n enumerable: true,\n get: function get() {\n return _LinkOrButton.LinkOrButton;\n }\n});\nObject.defineProperty(exports, \"MouseSafeArea\", {\n enumerable: true,\n get: function get() {\n return _MouseSafeArea.MouseSafeArea;\n }\n});\nObject.defineProperty(exports, \"delegate\", {\n enumerable: true,\n get: function get() {\n return _delegate.delegate;\n }\n});\nObject.defineProperty(exports, \"doAlign\", {\n enumerable: true,\n get: function get() {\n return _doAlign.doAlign;\n }\n});\nObject.defineProperty(exports, \"getEllipsisItems\", {\n enumerable: true,\n get: function get() {\n return _getEllipsisItems.getEllipsisItems;\n }\n});\nexports.noop = void 0;\nObject.defineProperty(exports, \"observeRect\", {\n enumerable: true,\n get: function get() {\n return _observeRect.observeRect;\n }\n});\nObject.defineProperty(exports, \"setElementFullHeight\", {\n enumerable: true,\n get: function get() {\n return _setElementFullHeight.setElementFullHeight;\n }\n});\nObject.defineProperty(exports, \"sub\", {\n enumerable: true,\n get: function get() {\n return _sub.sub;\n }\n});\nObject.defineProperty(exports, \"useDebounce\", {\n enumerable: true,\n get: function get() {\n return _useDebounce.useDebounce;\n }\n});\nObject.defineProperty(exports, \"useFocusManagement\", {\n enumerable: true,\n get: function get() {\n return _useFocusManagement.useFocusManagement;\n }\n});\nObject.defineProperty(exports, \"useInternalState\", {\n enumerable: true,\n get: function get() {\n return _useInternalState.useInternalState;\n }\n});\nObject.defineProperty(exports, \"useMousePosition\", {\n enumerable: true,\n get: function get() {\n return _useMousePosition.useMousePosition;\n }\n});\n\nvar _Portal = require(\"./Portal\");\n\nvar _delegate = require(\"./delegate\");\n\nvar _doAlign = require(\"./doAlign\");\n\nvar _FocusScope = require(\"./FocusScope\");\n\nvar _getEllipsisItems = require(\"./getEllipsisItems\");\n\nvar _Keys = require(\"./Keys\");\n\nvar _LinkOrButton = require(\"./LinkOrButton\");\n\nvar _sub = require(\"./sub\");\n\nvar _observeRect = require(\"./observeRect\");\n\nvar _useDebounce = require(\"./useDebounce\");\n\nvar _useFocusManagement = require(\"./useFocusManagement\");\n\nvar _setElementFullHeight = require(\"./setElementFullHeight\");\n\nvar _useInternalState = require(\"./useInternalState\");\n\nvar _useMousePosition = require(\"./useMousePosition\");\n\nvar _MouseSafeArea = require(\"./MouseSafeArea\");\n\n/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. \n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar noop = function noop() {};\n\nexports.noop = noop;"]}