opus-toolkit-components 1.9.9 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/lib/components/BarLayout/index.js +125 -0
  2. package/lib/components/BarLayout/index.js.map +1 -0
  3. package/lib/components/Callout/index.js +1092 -0
  4. package/lib/components/Callout/index.js.map +1 -0
  5. package/lib/components/Cookie/index.js +4601 -0
  6. package/lib/components/Cookie/index.js.map +1 -0
  7. package/lib/components/Footer/index.js +705 -0
  8. package/lib/components/Footer/index.js.map +1 -0
  9. package/lib/components/FooterLogo/index.js +608 -0
  10. package/lib/components/FooterLogo/index.js.map +1 -0
  11. package/lib/components/Forms/Checkbox/index.js +347 -0
  12. package/lib/components/Forms/Checkbox/index.js.map +1 -0
  13. package/lib/components/Forms/FilterPopover/index.js +658 -0
  14. package/lib/components/Forms/FilterPopover/index.js.map +1 -0
  15. package/lib/components/Forms/ToggleSwitch/index.js +336 -0
  16. package/lib/components/Forms/ToggleSwitch/index.js.map +1 -0
  17. package/lib/components/Header/index.js +312 -0
  18. package/lib/components/Header/index.js.map +1 -0
  19. package/lib/components/Icon/Icon.d.ts +25 -0
  20. package/lib/components/Icon/index.d.ts +17 -14
  21. package/lib/components/Icon/index.js +359 -0
  22. package/lib/components/Icon/index.js.map +1 -0
  23. package/lib/components/IconButton/index.js +461 -0
  24. package/lib/components/IconButton/index.js.map +1 -0
  25. package/lib/components/Link/index.js +4 -4
  26. package/lib/components/Loader/index.js +297 -0
  27. package/lib/components/Loader/index.js.map +1 -0
  28. package/lib/components/Navbar/index.js +615 -0
  29. package/lib/components/Navbar/index.js.map +1 -0
  30. package/lib/components/PageTemplate/index.js +2153 -0
  31. package/lib/components/PageTemplate/index.js.map +1 -0
  32. package/lib/components/Profile/ProfileCard/index.js +339 -0
  33. package/lib/components/Profile/ProfileCard/index.js.map +1 -0
  34. package/lib/components/Sidebar/index.js +1743 -0
  35. package/lib/components/Sidebar/index.js.map +1 -0
  36. package/lib/components/Text/index.js +214 -0
  37. package/lib/components/Text/index.js.map +1 -0
  38. package/lib/index.d.ts +1 -1
  39. package/lib/main.js +1558 -39242
  40. package/lib/main.js.map +1 -1
  41. package/package.json +6 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/Footer/index.js","mappings":"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EAAe,0JAAO,IAAI,0JAAO,UAAU,0JAAO,mBAAmB,EAAC;;;;;;;;ACxBhE;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACnFa;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;ACjCa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;ACTa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA,iFAAiF;AACjF;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;AC5Da;;AAEb;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,mC;;;;;;;ACbA,gF;;;;;;;ACAA,iF;;;;;;;ACAA,8C;;;;;;;ACAA,kC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACA+C;AACG;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAFA;AAIA,MAAMG,MAAM,GAAGrB,IAAA;EAAA,IAAC;IAAEC,IAAI;IAAEC,MAAM;IAAEC,KAAK;IAAEC,SAAS,GAAG,EAAE;IAAE,GAAGa;EAAK,CAAC,GAAAjB,IAAA;EAAA,oBAC9DO,sDAAA;IAAKH,SAAS,EAAE,oBAAoBA,SAAS,EAAG;IAAA,GAAKa,IAAI;IAAAX,QAAA,eACvDC,sDAAA,CAACR,4DAAS;MAACE,IAAI,EAAEA,IAAK;MAACC,MAAM,EAAEA,MAAO;MAACC,KAAK,EAAEA,KAAK,iBAAII,sDAAA,CAACQ,8DAAU,IAAE;IAAE,CAAE;EAAC,CACtE,CAAC,CAAC;AAAA;AAAA,CACR;AAED,oDAAeM,MAAM,EAAC;AACtB,Y","sources":["webpack://opus-toolkit-components/./src/components/BarLayout/BarLayout.jsx","webpack://opus-toolkit-components/./src/components/FooterLogo/FooterLogo.jsx","webpack://opus-toolkit-components/./src/components/FooterLogo/footer-logo.scss","webpack://opus-toolkit-components/./node_modules/css-loader/dist/runtime/api.js","webpack://opus-toolkit-components/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://opus-toolkit-components/./src/components/FooterLogo/footer-logo.scss?98ba","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://opus-toolkit-components/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://opus-toolkit-components/external commonjs \"opus-toolkit-styles/assets/logos/opus-dark-logo.svg\"","webpack://opus-toolkit-components/external commonjs \"opus-toolkit-styles/assets/logos/opus-light-logo.svg\"","webpack://opus-toolkit-components/external commonjs2 \"react/jsx-runtime\"","webpack://opus-toolkit-components/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://opus-toolkit-components/webpack/bootstrap","webpack://opus-toolkit-components/webpack/runtime/compat get default export","webpack://opus-toolkit-components/webpack/runtime/define property getters","webpack://opus-toolkit-components/webpack/runtime/hasOwnProperty shorthand","webpack://opus-toolkit-components/webpack/runtime/make namespace object","webpack://opus-toolkit-components/webpack/runtime/nonce","webpack://opus-toolkit-components/./src/components/Footer/Footer.jsx"],"sourcesContent":["/**\r\n * @typedef {Object} BarLayoutProps\r\n * @property {React.ReactNode} [left] Left content area\r\n * @property {React.ReactNode} [center] Center content area\r\n * @property {React.ReactNode} [right] Right content area\r\n * @property {string} [className] Optional wrapper class\r\n */\r\n\r\n/**\r\n * @param {BarLayoutProps} props\r\n */\r\n\r\nconst BarLayout = ({ left, center, right, className = \"\" }) => {\r\n return (\r\n <div className={`flex w-full items-center justify-between ${className}`}>\r\n <div className=\"flex-1\">{left}</div>\r\n <div className=\"flex-auto text-center\">{center}</div>\r\n <div className=\"flex flex-1 justify-end\">{right}</div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default BarLayout;\r\n","import React from \"react\";\r\nimport lightLogo from \"opus-toolkit-styles/assets/logos/opus-light-logo.svg\";\r\nimport darkLogo from \"opus-toolkit-styles/assets/logos/opus-dark-logo.svg\";\r\nimport \"./footer-logo.scss\";\r\n\r\n/**\r\n * Props for the FooterLogo component.\r\n *\r\n * @typedef {Object} FooterLogoProps\r\n *\r\n * @property {string} [href]\r\n * Optional link target for the logo.\r\n *\r\n * @property {string} [className]\r\n * Optional wrapper class names.\r\n */\r\n\r\n/**\r\n * Theme-aware company logo for footer usage.\r\n *\r\n * @param {FooterLogoProps & React.HTMLAttributes<HTMLDivElement>} props\r\n */\r\nexport default function FooterLogo({ href = \"/\", className = \"\", ...rest }) {\r\n const content = (\r\n <>\r\n <img\r\n src={lightLogo}\r\n alt=\"Opus logo\"\r\n className=\"footer-logo-light h-10 w-auto\"\r\n />\r\n <img\r\n src={darkLogo}\r\n alt=\"Opus logo\"\r\n className=\"footer-logo-dark h-10 w-auto\"\r\n />\r\n </>\r\n );\r\n\r\n return (\r\n <div\r\n className={`footer-logo inline-flex items-center ${className}`}\r\n {...rest}\r\n >\r\n {href ? (\r\n <a\r\n href={href}\r\n className=\"inline-flex items-center\"\r\n aria-label=\"Opus home\"\r\n >\r\n {content}\r\n </a>\r\n ) : (\r\n content\r\n )}\r\n </div>\r\n );\r\n}\r\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.footer-logo-light{display:inline-block}.footer-logo-dark{display:none}:where(html,div)[data-theme=dark] .footer-logo-light{display:none}:where(html,div)[data-theme=dark] .footer-logo-dark{display:inline-block}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/FooterLogo/footer-logo.scss\"],\"names\":[],\"mappings\":\"AAAA,mBACE,oBAAA,CAGF,kBACE,YAAA,CAGF,qDACE,YAAA,CAGF,oDACE,oBAAA\",\"sourcesContent\":[\".footer-logo-light {\\r\\n display: inline-block;\\r\\n}\\r\\n\\r\\n.footer-logo-dark {\\r\\n display: none;\\r\\n}\\r\\n\\r\\n:where(html, div)[data-theme=\\\"dark\\\"] .footer-logo-light {\\r\\n display: none;\\r\\n}\\r\\n\\r\\n:where(html, div)[data-theme=\\\"dark\\\"] .footer-logo-dark {\\r\\n display: inline-block;\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./footer-logo.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./footer-logo.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","module.exports = require(\"opus-toolkit-styles/assets/logos/opus-dark-logo.svg\");","module.exports = require(\"opus-toolkit-styles/assets/logos/opus-light-logo.svg\");","module.exports = require(\"react/jsx-runtime\");","module.exports = require(\"react\");","// 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\tid: moduleId,\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","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\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};","__webpack_require__.nc = undefined;","import BarLayout from \"../BarLayout/BarLayout\";\r\nimport FooterLogo from \"../FooterLogo/FooterLogo\";\r\n\r\n/**\r\n * @typedef {Object} FooterProps\r\n * @property {React.ReactNode} [left] Left footer content\r\n * @property {React.ReactNode} [center] Center footer content\r\n * @property {React.ReactNode} [right] Right footer content\r\n * @property {string} [className] Optional wrapper class\r\n */\r\n\r\n/**\r\n * @param {FooterProps} props\r\n */\r\n\r\nconst Footer = ({ left, center, right, className = \"\", ...rest }) => (\r\n <div className={`w-full px-4 py-2 ${className}`} {...rest}>\r\n <BarLayout left={left} center={center} right={right ?? <FooterLogo />} />\r\n </div> //test\r\n);\r\n\r\nexport default Footer;\r\n// i am joel\r\n"],"names":["BarLayout","_ref","left","center","right","className","_jsxs","children","_jsx","React","lightLogo","darkLogo","jsx","Fragment","_Fragment","jsxs","FooterLogo","href","rest","content","src","alt","Footer"],"sourceRoot":""}
@@ -0,0 +1,608 @@
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ 4945
6
+ (module, __webpack_exports__, __webpack_require__) {
7
+
8
+ __webpack_require__.r(__webpack_exports__);
9
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11
+ /* harmony export */ });
12
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1354);
13
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
14
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
15
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
16
+ // Imports
17
+
18
+
19
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
20
+ // Module
21
+ ___CSS_LOADER_EXPORT___.push([module.id, `.footer-logo-light{display:inline-block}.footer-logo-dark{display:none}:where(html,div)[data-theme=dark] .footer-logo-light{display:none}:where(html,div)[data-theme=dark] .footer-logo-dark{display:inline-block}`, "",{"version":3,"sources":["webpack://./src/components/FooterLogo/footer-logo.scss"],"names":[],"mappings":"AAAA,mBACE,oBAAA,CAGF,kBACE,YAAA,CAGF,qDACE,YAAA,CAGF,oDACE,oBAAA","sourcesContent":[".footer-logo-light {\r\n display: inline-block;\r\n}\r\n\r\n.footer-logo-dark {\r\n display: none;\r\n}\r\n\r\n:where(html, div)[data-theme=\"dark\"] .footer-logo-light {\r\n display: none;\r\n}\r\n\r\n:where(html, div)[data-theme=\"dark\"] .footer-logo-dark {\r\n display: inline-block;\r\n}\r\n"],"sourceRoot":""}]);
22
+ // Exports
23
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
24
+
25
+
26
+ /***/ },
27
+
28
+ /***/ 6314
29
+ (module) {
30
+
31
+
32
+
33
+ /*
34
+ MIT License http://www.opensource.org/licenses/mit-license.php
35
+ Author Tobias Koppers @sokra
36
+ */
37
+ module.exports = function (cssWithMappingToString) {
38
+ var list = [];
39
+
40
+ // return the list of modules as css string
41
+ list.toString = function toString() {
42
+ return this.map(function (item) {
43
+ var content = "";
44
+ var needLayer = typeof item[5] !== "undefined";
45
+ if (item[4]) {
46
+ content += "@supports (".concat(item[4], ") {");
47
+ }
48
+ if (item[2]) {
49
+ content += "@media ".concat(item[2], " {");
50
+ }
51
+ if (needLayer) {
52
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
53
+ }
54
+ content += cssWithMappingToString(item);
55
+ if (needLayer) {
56
+ content += "}";
57
+ }
58
+ if (item[2]) {
59
+ content += "}";
60
+ }
61
+ if (item[4]) {
62
+ content += "}";
63
+ }
64
+ return content;
65
+ }).join("");
66
+ };
67
+
68
+ // import a list of modules into the list
69
+ list.i = function i(modules, media, dedupe, supports, layer) {
70
+ if (typeof modules === "string") {
71
+ modules = [[null, modules, undefined]];
72
+ }
73
+ var alreadyImportedModules = {};
74
+ if (dedupe) {
75
+ for (var k = 0; k < this.length; k++) {
76
+ var id = this[k][0];
77
+ if (id != null) {
78
+ alreadyImportedModules[id] = true;
79
+ }
80
+ }
81
+ }
82
+ for (var _k = 0; _k < modules.length; _k++) {
83
+ var item = [].concat(modules[_k]);
84
+ if (dedupe && alreadyImportedModules[item[0]]) {
85
+ continue;
86
+ }
87
+ if (typeof layer !== "undefined") {
88
+ if (typeof item[5] === "undefined") {
89
+ item[5] = layer;
90
+ } else {
91
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
92
+ item[5] = layer;
93
+ }
94
+ }
95
+ if (media) {
96
+ if (!item[2]) {
97
+ item[2] = media;
98
+ } else {
99
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
100
+ item[2] = media;
101
+ }
102
+ }
103
+ if (supports) {
104
+ if (!item[4]) {
105
+ item[4] = "".concat(supports);
106
+ } else {
107
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
108
+ item[4] = supports;
109
+ }
110
+ }
111
+ list.push(item);
112
+ }
113
+ };
114
+ return list;
115
+ };
116
+
117
+ /***/ },
118
+
119
+ /***/ 1354
120
+ (module) {
121
+
122
+
123
+
124
+ module.exports = function (item) {
125
+ var content = item[1];
126
+ var cssMapping = item[3];
127
+ if (!cssMapping) {
128
+ return content;
129
+ }
130
+ if (typeof btoa === "function") {
131
+ var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
132
+ var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
133
+ var sourceMapping = "/*# ".concat(data, " */");
134
+ return [content].concat([sourceMapping]).join("\n");
135
+ }
136
+ return [content].join("\n");
137
+ };
138
+
139
+ /***/ },
140
+
141
+ /***/ 1518
142
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
143
+
144
+ __webpack_require__.r(__webpack_exports__);
145
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
146
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
147
+ /* harmony export */ });
148
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
149
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
150
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7825);
151
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
152
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
153
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
154
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
155
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
156
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
157
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
158
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1113);
159
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
160
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_footer_logo_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4945);
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ var options = {};
173
+
174
+ options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
175
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
176
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
177
+ options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
178
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
179
+
180
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_footer_logo_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);
181
+
182
+
183
+
184
+
185
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_footer_logo_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_footer_logo_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_footer_logo_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
186
+
187
+
188
+ /***/ },
189
+
190
+ /***/ 5072
191
+ (module) {
192
+
193
+
194
+
195
+ var stylesInDOM = [];
196
+ function getIndexByIdentifier(identifier) {
197
+ var result = -1;
198
+ for (var i = 0; i < stylesInDOM.length; i++) {
199
+ if (stylesInDOM[i].identifier === identifier) {
200
+ result = i;
201
+ break;
202
+ }
203
+ }
204
+ return result;
205
+ }
206
+ function modulesToDom(list, options) {
207
+ var idCountMap = {};
208
+ var identifiers = [];
209
+ for (var i = 0; i < list.length; i++) {
210
+ var item = list[i];
211
+ var id = options.base ? item[0] + options.base : item[0];
212
+ var count = idCountMap[id] || 0;
213
+ var identifier = "".concat(id, " ").concat(count);
214
+ idCountMap[id] = count + 1;
215
+ var indexByIdentifier = getIndexByIdentifier(identifier);
216
+ var obj = {
217
+ css: item[1],
218
+ media: item[2],
219
+ sourceMap: item[3],
220
+ supports: item[4],
221
+ layer: item[5]
222
+ };
223
+ if (indexByIdentifier !== -1) {
224
+ stylesInDOM[indexByIdentifier].references++;
225
+ stylesInDOM[indexByIdentifier].updater(obj);
226
+ } else {
227
+ var updater = addElementStyle(obj, options);
228
+ options.byIndex = i;
229
+ stylesInDOM.splice(i, 0, {
230
+ identifier: identifier,
231
+ updater: updater,
232
+ references: 1
233
+ });
234
+ }
235
+ identifiers.push(identifier);
236
+ }
237
+ return identifiers;
238
+ }
239
+ function addElementStyle(obj, options) {
240
+ var api = options.domAPI(options);
241
+ api.update(obj);
242
+ var updater = function updater(newObj) {
243
+ if (newObj) {
244
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
245
+ return;
246
+ }
247
+ api.update(obj = newObj);
248
+ } else {
249
+ api.remove();
250
+ }
251
+ };
252
+ return updater;
253
+ }
254
+ module.exports = function (list, options) {
255
+ options = options || {};
256
+ list = list || [];
257
+ var lastIdentifiers = modulesToDom(list, options);
258
+ return function update(newList) {
259
+ newList = newList || [];
260
+ for (var i = 0; i < lastIdentifiers.length; i++) {
261
+ var identifier = lastIdentifiers[i];
262
+ var index = getIndexByIdentifier(identifier);
263
+ stylesInDOM[index].references--;
264
+ }
265
+ var newLastIdentifiers = modulesToDom(newList, options);
266
+ for (var _i = 0; _i < lastIdentifiers.length; _i++) {
267
+ var _identifier = lastIdentifiers[_i];
268
+ var _index = getIndexByIdentifier(_identifier);
269
+ if (stylesInDOM[_index].references === 0) {
270
+ stylesInDOM[_index].updater();
271
+ stylesInDOM.splice(_index, 1);
272
+ }
273
+ }
274
+ lastIdentifiers = newLastIdentifiers;
275
+ };
276
+ };
277
+
278
+ /***/ },
279
+
280
+ /***/ 7659
281
+ (module) {
282
+
283
+
284
+
285
+ var memo = {};
286
+
287
+ /* istanbul ignore next */
288
+ function getTarget(target) {
289
+ if (typeof memo[target] === "undefined") {
290
+ var styleTarget = document.querySelector(target);
291
+
292
+ // Special case to return head of iframe instead of iframe itself
293
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
294
+ try {
295
+ // This will throw an exception if access to iframe is blocked
296
+ // due to cross-origin restrictions
297
+ styleTarget = styleTarget.contentDocument.head;
298
+ } catch (e) {
299
+ // istanbul ignore next
300
+ styleTarget = null;
301
+ }
302
+ }
303
+ memo[target] = styleTarget;
304
+ }
305
+ return memo[target];
306
+ }
307
+
308
+ /* istanbul ignore next */
309
+ function insertBySelector(insert, style) {
310
+ var target = getTarget(insert);
311
+ if (!target) {
312
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
313
+ }
314
+ target.appendChild(style);
315
+ }
316
+ module.exports = insertBySelector;
317
+
318
+ /***/ },
319
+
320
+ /***/ 540
321
+ (module) {
322
+
323
+
324
+
325
+ /* istanbul ignore next */
326
+ function insertStyleElement(options) {
327
+ var element = document.createElement("style");
328
+ options.setAttributes(element, options.attributes);
329
+ options.insert(element, options.options);
330
+ return element;
331
+ }
332
+ module.exports = insertStyleElement;
333
+
334
+ /***/ },
335
+
336
+ /***/ 5056
337
+ (module, __unused_webpack_exports, __webpack_require__) {
338
+
339
+
340
+
341
+ /* istanbul ignore next */
342
+ function setAttributesWithoutAttributes(styleElement) {
343
+ var nonce = true ? __webpack_require__.nc : 0;
344
+ if (nonce) {
345
+ styleElement.setAttribute("nonce", nonce);
346
+ }
347
+ }
348
+ module.exports = setAttributesWithoutAttributes;
349
+
350
+ /***/ },
351
+
352
+ /***/ 7825
353
+ (module) {
354
+
355
+
356
+
357
+ /* istanbul ignore next */
358
+ function apply(styleElement, options, obj) {
359
+ var css = "";
360
+ if (obj.supports) {
361
+ css += "@supports (".concat(obj.supports, ") {");
362
+ }
363
+ if (obj.media) {
364
+ css += "@media ".concat(obj.media, " {");
365
+ }
366
+ var needLayer = typeof obj.layer !== "undefined";
367
+ if (needLayer) {
368
+ css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
369
+ }
370
+ css += obj.css;
371
+ if (needLayer) {
372
+ css += "}";
373
+ }
374
+ if (obj.media) {
375
+ css += "}";
376
+ }
377
+ if (obj.supports) {
378
+ css += "}";
379
+ }
380
+ var sourceMap = obj.sourceMap;
381
+ if (sourceMap && typeof btoa !== "undefined") {
382
+ css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
383
+ }
384
+
385
+ // For old IE
386
+ /* istanbul ignore if */
387
+ options.styleTagTransform(css, styleElement, options.options);
388
+ }
389
+ function removeStyleElement(styleElement) {
390
+ // istanbul ignore if
391
+ if (styleElement.parentNode === null) {
392
+ return false;
393
+ }
394
+ styleElement.parentNode.removeChild(styleElement);
395
+ }
396
+
397
+ /* istanbul ignore next */
398
+ function domAPI(options) {
399
+ if (typeof document === "undefined") {
400
+ return {
401
+ update: function update() {},
402
+ remove: function remove() {}
403
+ };
404
+ }
405
+ var styleElement = options.insertStyleElement(options);
406
+ return {
407
+ update: function update(obj) {
408
+ apply(styleElement, options, obj);
409
+ },
410
+ remove: function remove() {
411
+ removeStyleElement(styleElement);
412
+ }
413
+ };
414
+ }
415
+ module.exports = domAPI;
416
+
417
+ /***/ },
418
+
419
+ /***/ 1113
420
+ (module) {
421
+
422
+
423
+
424
+ /* istanbul ignore next */
425
+ function styleTagTransform(css, styleElement) {
426
+ if (styleElement.styleSheet) {
427
+ styleElement.styleSheet.cssText = css;
428
+ } else {
429
+ while (styleElement.firstChild) {
430
+ styleElement.removeChild(styleElement.firstChild);
431
+ }
432
+ styleElement.appendChild(document.createTextNode(css));
433
+ }
434
+ }
435
+ module.exports = styleTagTransform;
436
+
437
+ /***/ },
438
+
439
+ /***/ 463
440
+ (module) {
441
+
442
+ module.exports = require("opus-toolkit-styles/assets/logos/opus-dark-logo.svg");
443
+
444
+ /***/ },
445
+
446
+ /***/ 2757
447
+ (module) {
448
+
449
+ module.exports = require("opus-toolkit-styles/assets/logos/opus-light-logo.svg");
450
+
451
+ /***/ },
452
+
453
+ /***/ 4178
454
+ (module) {
455
+
456
+ module.exports = require("react/jsx-runtime");
457
+
458
+ /***/ },
459
+
460
+ /***/ 9206
461
+ (module) {
462
+
463
+ module.exports = require("react");
464
+
465
+ /***/ }
466
+
467
+ /******/ });
468
+ /************************************************************************/
469
+ /******/ // The module cache
470
+ /******/ var __webpack_module_cache__ = {};
471
+ /******/
472
+ /******/ // The require function
473
+ /******/ function __webpack_require__(moduleId) {
474
+ /******/ // Check if module is in cache
475
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
476
+ /******/ if (cachedModule !== undefined) {
477
+ /******/ return cachedModule.exports;
478
+ /******/ }
479
+ /******/ // Create a new module (and put it into the cache)
480
+ /******/ var module = __webpack_module_cache__[moduleId] = {
481
+ /******/ id: moduleId,
482
+ /******/ // no module.loaded needed
483
+ /******/ exports: {}
484
+ /******/ };
485
+ /******/
486
+ /******/ // Execute the module function
487
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
488
+ /******/
489
+ /******/ // Return the exports of the module
490
+ /******/ return module.exports;
491
+ /******/ }
492
+ /******/
493
+ /************************************************************************/
494
+ /******/ /* webpack/runtime/compat get default export */
495
+ /******/ (() => {
496
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
497
+ /******/ __webpack_require__.n = (module) => {
498
+ /******/ var getter = module && module.__esModule ?
499
+ /******/ () => (module['default']) :
500
+ /******/ () => (module);
501
+ /******/ __webpack_require__.d(getter, { a: getter });
502
+ /******/ return getter;
503
+ /******/ };
504
+ /******/ })();
505
+ /******/
506
+ /******/ /* webpack/runtime/define property getters */
507
+ /******/ (() => {
508
+ /******/ // define getter functions for harmony exports
509
+ /******/ __webpack_require__.d = (exports, definition) => {
510
+ /******/ for(var key in definition) {
511
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
512
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
513
+ /******/ }
514
+ /******/ }
515
+ /******/ };
516
+ /******/ })();
517
+ /******/
518
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
519
+ /******/ (() => {
520
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
521
+ /******/ })();
522
+ /******/
523
+ /******/ /* webpack/runtime/make namespace object */
524
+ /******/ (() => {
525
+ /******/ // define __esModule on exports
526
+ /******/ __webpack_require__.r = (exports) => {
527
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
528
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
529
+ /******/ }
530
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
531
+ /******/ };
532
+ /******/ })();
533
+ /******/
534
+ /******/ /* webpack/runtime/nonce */
535
+ /******/ (() => {
536
+ /******/ __webpack_require__.nc = undefined;
537
+ /******/ })();
538
+ /******/
539
+ /************************************************************************/
540
+ var __webpack_exports__ = {};
541
+ __webpack_require__.r(__webpack_exports__);
542
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
543
+ /* harmony export */ "default": () => (/* binding */ FooterLogo)
544
+ /* harmony export */ });
545
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9206);
546
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
547
+ /* harmony import */ var opus_toolkit_styles_assets_logos_opus_light_logo_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2757);
548
+ /* harmony import */ var opus_toolkit_styles_assets_logos_opus_light_logo_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(opus_toolkit_styles_assets_logos_opus_light_logo_svg__WEBPACK_IMPORTED_MODULE_1__);
549
+ /* harmony import */ var opus_toolkit_styles_assets_logos_opus_dark_logo_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(463);
550
+ /* harmony import */ var opus_toolkit_styles_assets_logos_opus_dark_logo_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(opus_toolkit_styles_assets_logos_opus_dark_logo_svg__WEBPACK_IMPORTED_MODULE_2__);
551
+ /* harmony import */ var _footer_logo_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1518);
552
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4178);
553
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
554
+
555
+
556
+
557
+
558
+
559
+ /**
560
+ * Props for the FooterLogo component.
561
+ *
562
+ * @typedef {Object} FooterLogoProps
563
+ *
564
+ * @property {string} [href]
565
+ * Optional link target for the logo.
566
+ *
567
+ * @property {string} [className]
568
+ * Optional wrapper class names.
569
+ */
570
+
571
+ /**
572
+ * Theme-aware company logo for footer usage.
573
+ *
574
+ * @param {FooterLogoProps & React.HTMLAttributes<HTMLDivElement>} props
575
+ */
576
+
577
+ function FooterLogo(_ref) {
578
+ let {
579
+ href = "/",
580
+ className = "",
581
+ ...rest
582
+ } = _ref;
583
+ const content = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
584
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", {
585
+ src: (opus_toolkit_styles_assets_logos_opus_light_logo_svg__WEBPACK_IMPORTED_MODULE_1___default()),
586
+ alt: "Opus logo",
587
+ className: "footer-logo-light h-10 w-auto"
588
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", {
589
+ src: (opus_toolkit_styles_assets_logos_opus_dark_logo_svg__WEBPACK_IMPORTED_MODULE_2___default()),
590
+ alt: "Opus logo",
591
+ className: "footer-logo-dark h-10 w-auto"
592
+ })]
593
+ });
594
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
595
+ className: `footer-logo inline-flex items-center ${className}`,
596
+ ...rest,
597
+ children: href ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a", {
598
+ href: href,
599
+ className: "inline-flex items-center",
600
+ "aria-label": "Opus home",
601
+ children: content
602
+ }) : content
603
+ });
604
+ }
605
+ module.exports = __webpack_exports__;
606
+ /******/ })()
607
+ ;
608
+ //# sourceMappingURL=index.js.map