{"version":3,"sources":["webpack://frontend-taglib-clay/node_modules/warning/warning.js","webpack://frontend-taglib-clay/frontend-js-react-web/__liferay__/exports/classnames.js\"","webpack://frontend-taglib-clay/frontend-js-react-web/__liferay__/exports/react.js\"","webpack://frontend-taglib-clay/webpack/bootstrap","webpack://frontend-taglib-clay/node_modules/@clayui/icon/lib/index.js"],"names":["warning","printWarning","format","args","len","arguments","length","Array","key","argIndex","message","replace","console","error","Error","x","condition","undefined","apply","concat","module","exports","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_classnames_js_a73da2a0__","__WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_react_js_52accfa8__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","Object","defineProperty","value","ClayIconSpriteContext","_classnames","_interopRequireDefault","_react","_excluded","obj","__esModule","default","_extends","assign","target","i","source","prototype","hasOwnProperty","call","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","createContext","ClayIcon","forwardRef","_ref","ref","className","spritemap","symbol","otherProps","spriteMapVal","useContext","createElement","role","xlinkHref","displayName","_default"],"mappings":";;;wDAgBA,IAEAA,EAAA,aAGAC,EAAA,SAAAC,EAAAC,GACA,IAAAC,EAAAC,UAAAC,OACAH,EAAA,IAAAI,MAAAH,EAAA,EAAAA,EAAA,EAAA,GACA,IAAA,IAAAI,EAAA,EAAAA,EAAAJ,EAAAI,IACAL,EAAAK,EAAA,GAAAH,UAAAG,GAEA,IAAAC,EAAA,EACAC,EAAA,YACAR,EAAAS,QAAA,OAAA,WACA,OAAAR,EAAAM,QAEA,oBAAAG,SACAA,QAAAC,MAAAH,GAEA,IAIA,MAAA,IAAAI,MAAAJ,GACA,MAAAK,MAGAf,EAAA,SAAAgB,EAAAd,EAAAC,GACA,IAAAC,EAAAC,UAAAC,OACAH,EAAA,IAAAI,MAAAH,EAAA,EAAAA,E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EAAA,GAAAS,EAAAtB,OAAAuB,KAAAR,GAAA,IAAAD,EAAA,EAAAA,EAAAQ,EAAA7C,OAAAqC,IAAAnC,EAAA2C,EAAAR,GAAAO,EAAAG,QAAA7C,IAAA,IAAAkC,EAAAlC,GAAAoC,EAAApC,IAAA,OAAAkC,EAFAY,CAAAV,EAAAM,GAAA,GAAArB,OAAA0B,sBAAA,CAAA,IAAAC,EAAA3B,OAAA0B,sBAAAX,GAAA,IAAAD,EAAA,EAAAA,EAAAa,EAAAlD,OAAAqC,IAAAnC,EAAAgD,EAAAb,GAAAO,EAAAG,QAAA7C,IAAA,GAAAqB,OAAAgB,UAAAY,qBAAAV,KAAAH,EAAApC,KAAAkC,EAAAlC,GAAAoC,EAAApC,IAAA,OAAAkC,EAIA,IAAAV,EAAAG,EAAAI,QAAAmB,cAAA,IAEArC,EAAAW,sBAAAA,EAEA,IAAA2B,EAAAxB,EAAAI,QAAAqB,YAAA,SAAAC,EAAAC,GACA,IAAAC,EAAAF,EAAAE,UACAC,EAAAH,EAAAG,UACAC,EAAAJ,EAAAI,OACAC,EAAAjB,EAAAY,EAAAzB,GAEA+B,EAAAhC,EAAAI,QAAA6B,WAAApC,GAOA,OALAgC,IACAG,EAAAH,GAIA7B,EAAAI,QAAA8B,cAAA,MAAA7B,EAAA,GAAA0B,EAAA,CACAH,WAAA,EAAA9B,EAAAM,SAAA,6BAAApB,OAAA8C,GAAAF,GACAvD,IAAAyD,EACAH,IAAAA,EACAQ,KAAA,iBACAnC,EAAAI,QAAA8B,cAAA,MAAA,CACAE,UAAA,GAAApD,OAAAgD,EAAA,KAAAhD,OAAA8C,SAIAN,EAAAa,YAAA,WACA,IAAAC,EAAAd,EACAtC,EAAA,QAAAoD","sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_classnames_js_a73da2a0__;","var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }\nvar y = x => () => x\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__frontend_js_react_web_liferay_exports_react_js_52accfa8__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.ClayIconSpriteContext = void 0;\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _warning = _interopRequireDefault(require(\"warning\"));\n\nvar _excluded = [\"className\", \"spritemap\", \"symbol\"];\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 ClayIconSpriteContext = /*#__PURE__*/_react.default.createContext('');\n\nexports.ClayIconSpriteContext = ClayIconSpriteContext;\n\nvar ClayIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {\n var className = _ref.className,\n spritemap = _ref.spritemap,\n symbol = _ref.symbol,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n var spriteMapVal = _react.default.useContext(ClayIconSpriteContext);\n\n if (spritemap) {\n spriteMapVal = spritemap;\n }\n\n \"production\" !== \"production\" ? (0, _warning.default)(spriteMapVal, 'ClayIcon requires a `spritemap` via prop or ClayIconSpriteContext') : void 0;\n return /*#__PURE__*/_react.default.createElement(\"svg\", _extends({}, otherProps, {\n className: (0, _classnames.default)(\"lexicon-icon lexicon-icon-\".concat(symbol), className),\n key: symbol,\n ref: ref,\n role: \"presentation\"\n }), /*#__PURE__*/_react.default.createElement(\"use\", {\n xlinkHref: \"\".concat(spriteMapVal, \"#\").concat(symbol)\n }));\n});\n\nClayIcon.displayName = 'ClayIcon';\nvar _default = ClayIcon;\nexports.default = _default;"]}