diff --git a/.firebase/hosting.YnVpbGQ.cache b/.firebase/hosting.YnVpbGQ.cache deleted file mode 100644 index 015ba83..0000000 --- a/.firebase/hosting.YnVpbGQ.cache +++ /dev/null @@ -1,9 +0,0 @@ -images/favicon64.ico,1662680797038,89e19b8359c52def4495280484ae2828952cbf6a4731377651cc248c1069c4a4 -images/polyzero-logo.png,1662680797039,08ab76011e8a51fb69e70a81512a05e6e9f3d6707d8b44ec5ff8be0d8875f83f -asset-manifest.json,1662692166166,10c11a697e22e9547f0e7c9d93d47a2dbafcd0d278329d7b2c5b15fe34804328 -index.html,1662692166166,e864bec4f913f5f296e81aed9a9891d1b2f8367e4ef0539669eeb64ff05253ec -static/js/main.d7a297d9.js.LICENSE.txt,1662692166166,e0d5e4474bb55128a4cc7d929d6be03b44c775898963e6820ffd8a667e91a0d6 -static/css/main.d9c6f8a3.css.map,1662692166166,2cbc966b5d79a13735c7ccc49f2f68da811f42810fb1aa8bf603755ef7a76ad4 -static/css/main.d9c6f8a3.css,1662692166166,5ecd0e53ff9cc665fbf57a80c6faa1114e84cb7b77535c492bf8a05b72b3214f -static/js/main.d7a297d9.js,1662692166166,922e1dce9b6b9d712d627a5d5bc9060f32a870c98cbd2098f68b29aa680becc8 -static/js/main.d7a297d9.js.map,1662692166166,636b4f91b543a8e441d5dd8447363daec212c025afbda17a024cc0fdfdce1319 diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml deleted file mode 100644 index 92b28bb..0000000 --- a/.github/workflows/firebase-hosting-merge.yml +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on merge -'on': - push: - branches: - - production -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm ci && npm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POLYZERO_37EFC }}' - channelId: live - projectId: polyzero-37efc diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml deleted file mode 100644 index 216541b..0000000 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on PR -'on': pull_request -jobs: - build_and_preview: - if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm ci && npm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POLYZERO_37EFC }}' - projectId: polyzero-37efc diff --git a/PolyZero_files/bundle.js b/PolyZero_files/bundle.js deleted file mode 100644 index 9f438ef..0000000 --- a/PolyZero_files/bundle.js +++ /dev/null @@ -1,123095 +0,0 @@ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./src/assets/socialMediaIcons/icons8-facebook.svg": -/*!*********************************************************!*\ - !*** ./src/assets/socialMediaIcons/icons8-facebook.svg ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ReactComponent": () => (/* binding */ ForwardRef), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var _path, _path2; - -function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } - - - -function SvgIcons8Facebook(_ref, svgRef) { - let { - title, - titleId, - ...props - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 48 48", - width: "64px", - height: "96px", - ref: svgRef, - "aria-labelledby": titleId - }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { - id: titleId - }, title) : null, _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#039be5", - d: "M24 5A19 19 0 1 0 24 43A19 19 0 1 0 24 5Z" - })), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#fff", - d: "M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z" - }))); -} - -const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIcons8Facebook); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/icons8-facebook.1c6c45826672f15b032e6c6b8b0848bc.svg"); - - -/***/ }), - -/***/ "./src/assets/socialMediaIcons/icons8-instagram.svg": -/*!**********************************************************!*\ - !*** ./src/assets/socialMediaIcons/icons8-instagram.svg ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ReactComponent": () => (/* binding */ ForwardRef), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _g, _g2; - -function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } - - - -function SvgIcons8Instagram(_ref, svgRef) { - let { - title, - titleId, - ...props - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 48 48", - width: "64px", - height: "96px", - ref: svgRef, - "aria-labelledby": titleId - }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { - id: titleId - }, title) : null, _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#304ffe", - d: "M41.67,13.48c-0.4,0.26-0.97,0.5-1.21,0.77c-0.09,0.09-0.14,0.19-0.12,0.29v1.03l-0.3,1.01l-0.3,1l-0.33,1.1 l-0.68,2.25l-0.66,2.22l-0.5,1.67c0,0.26-0.01,0.52-0.03,0.77c-0.07,0.96-0.27,1.88-0.59,2.74c-0.19,0.53-0.42,1.04-0.7,1.52 c-0.1,0.19-0.22,0.38-0.34,0.56c-0.4,0.63-0.88,1.21-1.41,1.72c-0.41,0.41-0.86,0.79-1.35,1.11c0,0,0,0-0.01,0 c-0.08,0.07-0.17,0.13-0.27,0.18c-0.31,0.21-0.64,0.39-0.98,0.55c-0.23,0.12-0.46,0.22-0.7,0.31c-0.05,0.03-0.11,0.05-0.16,0.07 c-0.57,0.27-1.23,0.45-1.89,0.54c-0.04,0.01-0.07,0.01-0.11,0.02c-0.4,0.07-0.79,0.13-1.19,0.16c-0.18,0.02-0.37,0.03-0.55,0.03 l-0.71-0.04l-3.42-0.18c0-0.01-0.01,0-0.01,0l-1.72-0.09c-0.13,0-0.27,0-0.4-0.01c-0.54-0.02-1.06-0.08-1.58-0.19 c-0.01,0-0.01,0-0.01,0c-0.95-0.18-1.86-0.5-2.71-0.93c-0.47-0.24-0.93-0.51-1.36-0.82c-0.18-0.13-0.35-0.27-0.52-0.42 c-0.48-0.4-0.91-0.83-1.31-1.27c-0.06-0.06-0.11-0.12-0.16-0.18c-0.06-0.06-0.12-0.13-0.17-0.19c-0.38-0.48-0.7-0.97-0.96-1.49 c-0.24-0.46-0.43-0.95-0.58-1.49c-0.06-0.19-0.11-0.37-0.15-0.57c-0.01-0.01-0.02-0.03-0.02-0.05c-0.1-0.41-0.19-0.84-0.24-1.27 c-0.06-0.33-0.09-0.66-0.09-1c-0.02-0.13-0.02-0.27-0.02-0.4l1.91-2.95l1.87-2.88l0.85-1.31l0.77-1.18l0.26-0.41v-1.03 c0.02-0.23,0.03-0.47,0.02-0.69c-0.01-0.7-0.15-1.38-0.38-2.03c-0.22-0.69-0.53-1.34-0.85-1.94c-0.38-0.69-0.78-1.31-1.11-1.87 C14,7.4,13.66,6.73,13.75,6.26C14.47,6.09,15.23,6,16,6h16c4.18,0,7.78,2.6,9.27,6.26C41.43,12.65,41.57,13.06,41.67,13.48z" - })), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#4928f4", - d: "M42,16v0.27l-1.38,0.8l-0.88,0.51l-0.97,0.56l-1.94,1.13l-1.9,1.1l-1.94,1.12l-0.77,0.45 c0,0.48-0.12,0.92-0.34,1.32c-0.31,0.58-0.83,1.06-1.49,1.47c-0.67,0.41-1.49,0.74-2.41,0.98c0,0,0-0.01-0.01,0 c-3.56,0.92-8.42,0.5-10.78-1.26c-0.66-0.49-1.12-1.09-1.32-1.78c-0.06-0.23-0.09-0.48-0.09-0.73v-7.19 c0.01-0.15-0.09-0.3-0.27-0.45c-0.54-0.43-1.81-0.84-3.23-1.25c-1.11-0.31-2.3-0.62-3.3-0.92c-0.79-0.24-1.46-0.48-1.86-0.71 c0.18-0.35,0.39-0.7,0.61-1.03c1.4-2.05,3.54-3.56,6.02-4.13C14.47,6.09,15.23,6,16,6h10.8c5.37,0.94,10.32,3.13,14.47,6.26 c0.16,0.39,0.3,0.8,0.4,1.22c0.18,0.66,0.29,1.34,0.32,2.05C42,15.68,42,15.84,42,16z" - })), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#6200ea", - d: "M42,16v4.41l-0.22,0.68l-0.75,2.33l-0.78,2.4l-0.41,1.28l-0.38,1.19l-0.37,1.13l-0.36,1.12l-0.19,0.59 l-0.25,0.78c0,0.76-0.02,1.43-0.07,2c-0.01,0.06-0.02,0.12-0.02,0.18c-0.06,0.53-0.14,0.98-0.27,1.36 c-0.01,0.06-0.03,0.12-0.05,0.17c-0.26,0.72-0.65,1.18-1.23,1.48c-0.14,0.08-0.3,0.14-0.47,0.2c-0.53,0.18-1.2,0.27-2.02,0.32 c-0.6,0.04-1.29,0.05-2.07,0.05H31.4l-1.19-0.05L30,37.61l-2.17-0.09l-2.2-0.09l-7.25-0.3l-1.88-0.08h-0.26 c-0.78-0.01-1.45-0.06-2.03-0.14c-0.84-0.13-1.49-0.35-1.98-0.68c-0.7-0.45-1.11-1.11-1.35-2.03c-0.06-0.22-0.11-0.45-0.14-0.7 c-0.1-0.58-0.15-1.25-0.18-2c0-0.15,0-0.3-0.01-0.46c-0.01-0.01,0-0.01,0-0.01v-0.58c-0.01-0.29-0.01-0.59-0.01-0.9l0.05-1.61 l0.03-1.15l0.04-1.34v-0.19l0.07-2.46l0.07-2.46l0.07-2.31l0.06-2.27l0.02-0.6c0-0.31-1.05-0.49-2.22-0.64 c-0.93-0.12-1.95-0.23-2.56-0.37c0.05-0.23,0.1-0.46,0.16-0.68c0.18-0.72,0.45-1.4,0.79-2.05c0.18-0.35,0.39-0.7,0.61-1.03 c2.16-0.95,4.41-1.69,6.76-2.17c2.06-0.43,4.21-0.66,6.43-0.66c7.36,0,14.16,2.49,19.54,6.69c0.52,0.4,1.03,0.83,1.53,1.28 C42,15.68,42,15.84,42,16z" - })), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#673ab7", - d: "M42,18.37v4.54l-0.55,1.06l-1.05,2.05l-0.56,1.08l-0.51,0.99l-0.22,0.43c0,0.31,0,0.61-0.02,0.9 c0,0.43-0.02,0.84-0.05,1.22c-0.04,0.45-0.1,0.86-0.16,1.24c-0.15,0.79-0.36,1.47-0.66,2.03c-0.04,0.07-0.08,0.14-0.12,0.2 c-0.11,0.18-0.24,0.35-0.38,0.51c-0.18,0.22-0.38,0.41-0.61,0.57c-0.34,0.26-0.74,0.47-1.2,0.63c-0.57,0.21-1.23,0.35-2.01,0.43 c-0.51,0.05-1.07,0.08-1.68,0.08l-0.42,0.02l-2.08,0.12h-0.01L27.5,36.6l-2.25,0.13l-3.1,0.18l-3.77,0.22l-0.55,0.03 c-0.51,0-0.99-0.03-1.45-0.09c-0.05-0.01-0.09-0.02-0.14-0.02c-0.68-0.11-1.3-0.29-1.86-0.54c-0.68-0.3-1.27-0.7-1.77-1.18 c-0.44-0.43-0.82-0.92-1.13-1.47c-0.07-0.13-0.14-0.25-0.2-0.39c-0.3-0.59-0.54-1.25-0.72-1.97c-0.03-0.12-0.06-0.25-0.08-0.38 c-0.06-0.23-0.11-0.47-0.14-0.72c-0.11-0.64-0.17-1.32-0.2-2.03v-0.01c-0.01-0.29-0.02-0.57-0.02-0.87l-0.49-1.17l-0.07-0.18 L9.5,25.99L8.75,24.2l-0.12-0.29l-0.72-1.73l-0.8-1.93c0,0,0,0-0.01,0L6.29,18.3L6,17.59V16c0-0.63,0.06-1.25,0.17-1.85 c0.05-0.23,0.1-0.46,0.16-0.68c0.85-0.49,1.74-0.94,2.65-1.34c2.08-0.93,4.31-1.62,6.62-2.04c1.72-0.31,3.51-0.48,5.32-0.48 c7.31,0,13.94,2.65,19.12,6.97c0.2,0.16,0.39,0.32,0.58,0.49C41.09,17.48,41.55,17.91,42,18.37z" - })), _path5 || (_path5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#8e24aa", - d: "M42,21.35v5.14l-0.57,1.19l-1.08,2.25l-0.01,0.03c0,0.43-0.02,0.82-0.05,1.17c-0.1,1.15-0.38,1.88-0.84,2.33 c-0.33,0.34-0.74,0.53-1.25,0.63c-0.03,0.01-0.07,0.01-0.1,0.02c-0.16,0.03-0.33,0.05-0.51,0.05c-0.62,0.06-1.35,0.02-2.19-0.04 c-0.09,0-0.19-0.01-0.29-0.02c-0.61-0.04-1.26-0.08-1.98-0.11c-0.39-0.01-0.8-0.02-1.22-0.02h-0.02l-1.01,0.08h-0.01l-2.27,0.16 l-2.59,0.2l-0.38,0.03l-3.03,0.22l-1.57,0.12l-1.55,0.11c-0.27,0-0.53,0-0.79-0.01c0,0-0.01-0.01-0.01,0 c-1.13-0.02-2.14-0.09-3.04-0.26c-0.83-0.14-1.56-0.36-2.18-0.69c-0.64-0.31-1.17-0.75-1.6-1.31c-0.41-0.55-0.71-1.24-0.9-2.07 c0-0.01,0-0.01,0-0.01c-0.14-0.67-0.22-1.45-0.22-2.33l-0.15-0.27L9.7,26.35l-0.13-0.22L9.5,25.99l-0.93-1.65l-0.46-0.83 l-0.58-1.03l-1-1.79L6,19.75v-3.68c0.88-0.58,1.79-1.09,2.73-1.55c1.14-0.58,2.32-1.07,3.55-1.47c1.34-0.44,2.74-0.79,4.17-1.02 c1.45-0.24,2.94-0.36,4.47-0.36c6.8,0,13.04,2.43,17.85,6.47c0.22,0.17,0.43,0.36,0.64,0.54c0.84,0.75,1.64,1.56,2.37,2.41 C41.86,21.18,41.94,21.26,42,21.35z" - })), _path6 || (_path6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#c2185b", - d: "M42,24.71v7.23c-0.24-0.14-0.57-0.31-0.98-0.49c-0.22-0.11-0.47-0.22-0.73-0.32 c-0.38-0.17-0.79-0.33-1.25-0.49c-0.1-0.04-0.2-0.07-0.31-0.1c-0.18-0.07-0.37-0.13-0.56-0.19c-0.59-0.18-1.24-0.35-1.92-0.5 c-0.26-0.05-0.53-0.1-0.8-0.14c-0.87-0.15-1.8-0.24-2.77-0.25c-0.08-0.01-0.17-0.01-0.25-0.01l-2.57,0.02l-3.5,0.02h-0.01 l-7.49,0.06c-2.38,0-3.84,0.57-4.72,0.8c0,0-0.01,0-0.01,0.01c-0.93,0.24-1.22,0.09-1.3-1.54c-0.02-0.45-0.03-1.03-0.03-1.74 l-0.56-0.43l-0.98-0.74l-0.6-0.46l-0.12-0.09L8.88,24.1l-0.25-0.19l-0.52-0.4l-0.96-0.72L6,21.91v-3.4 c0.1-0.08,0.19-0.15,0.29-0.21c1.45-1,3-1.85,4.64-2.54c1.46-0.62,3-1.11,4.58-1.46c0.43-0.09,0.87-0.18,1.32-0.24 c1.33-0.23,2.7-0.34,4.09-0.34c6.01,0,11.53,2.09,15.91,5.55c0.66,0.52,1.3,1.07,1.9,1.66c0.82,0.78,1.59,1.61,2.3,2.49 c0.14,0.18,0.28,0.36,0.42,0.55C41.64,24.21,41.82,24.46,42,24.71z" - })), _path7 || (_path7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#d81b60", - d: "M42,28.72V32c0,0.65-0.06,1.29-0.18,1.91c-0.18,0.92-0.49,1.8-0.91,2.62c-0.22,0.05-0.47,0.05-0.75,0.01 c-0.63-0.11-1.37-0.44-2.17-0.87c-0.04-0.01-0.08-0.03-0.11-0.05c-0.25-0.13-0.51-0.27-0.77-0.43c-0.53-0.29-1.09-0.61-1.65-0.91 c-0.12-0.06-0.24-0.12-0.35-0.18c-0.64-0.33-1.3-0.63-1.96-0.86c0,0,0,0-0.01,0c-0.14-0.05-0.29-0.1-0.44-0.14 c-0.57-0.16-1.15-0.26-1.71-0.26l-1.1-0.32l-4.87-1.41c0,0,0,0-0.01,0l-2.99-0.87h-0.01l-1.3-0.38c-3.76,0-6.07,1.6-7.19,0.99 c-0.44-0.23-0.7-0.81-0.79-1.95c-0.03-0.32-0.04-0.68-0.04-1.1l-1.17-0.57l-0.05-0.02h-0.01l-0.84-0.42L9.7,26.35l-0.07-0.03 l-0.17-0.09L7.5,25.28L6,24.55v-3.43c0.17-0.15,0.35-0.29,0.53-0.43c0.19-0.15,0.38-0.29,0.57-0.44c0.01,0,0.01,0,0.01,0 c1.18-0.85,2.43-1.6,3.76-2.22c1.55-0.74,3.2-1.31,4.91-1.68c0.25-0.06,0.51-0.12,0.77-0.16c1.42-0.27,2.88-0.41,4.37-0.41 c5.27,0,10.11,1.71,14.01,4.59c1.13,0.84,2.18,1.77,3.14,2.78c0.79,0.83,1.52,1.73,2.18,2.67c0.05,0.07,0.1,0.14,0.15,0.2 c0.37,0.54,0.71,1.09,1.03,1.66C41.64,28.02,41.82,28.37,42,28.72z" - })), _path8 || (_path8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#f50057", - d: "M41.82,33.91c-0.18,0.92-0.49,1.8-0.91,2.62c-0.19,0.37-0.4,0.72-0.63,1.06c-0.14,0.21-0.29,0.41-0.44,0.6 c-0.36-0.14-0.89-0.34-1.54-0.56c0,0,0,0,0-0.01c-0.49-0.17-1.05-0.35-1.65-0.52c-0.17-0.05-0.34-0.1-0.52-0.15 c-0.71-0.19-1.45-0.36-2.17-0.46c-0.6-0.1-1.19-0.16-1.74-0.16l-0.46-0.13h-0.01l-2.42-0.7l-1.49-0.43l-1.66-0.48h-0.01l-0.54-0.15 l-6.53-1.88l-1.88-0.54l-1.4-0.33l-2.28-0.54l-0.28-0.07c0,0,0,0-0.01,0l-2.29-0.53c0-0.01,0-0.01,0-0.01l-0.41-0.09l-0.21-0.05 l-1.67-0.39l-0.19-0.05l-1.42-1.17L6,27.9v-4.08c0.37-0.36,0.75-0.7,1.15-1.03c0.12-0.11,0.25-0.21,0.38-0.31 c0.12-0.1,0.25-0.2,0.38-0.3c0.91-0.69,1.87-1.31,2.89-1.84c1.3-0.7,2.68-1.26,4.13-1.66c0.28-0.09,0.56-0.17,0.85-0.23 c1.64-0.41,3.36-0.62,5.14-0.62c4.47,0,8.63,1.35,12.07,3.66c1.71,1.15,3.25,2.53,4.55,4.1c0.66,0.79,1.26,1.62,1.79,2.5 c0.05,0.07,0.09,0.13,0.13,0.2c0.32,0.53,0.62,1.08,0.89,1.64c0.25,0.5,0.47,1,0.67,1.52C41.34,32.25,41.6,33.07,41.82,33.91z" - })), _path9 || (_path9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ff1744", - d: "M40.28,37.59c-0.14,0.21-0.29,0.41-0.44,0.6c-0.44,0.55-0.92,1.05-1.46,1.49c-0.47,0.39-0.97,0.74-1.5,1.04 c-0.2-0.05-0.4-0.11-0.61-0.19c-0.66-0.23-1.35-0.61-1.99-1.01c-0.96-0.61-1.79-1.27-2.16-1.57c-0.14-0.12-0.21-0.18-0.21-0.18 l-1.7-0.15L30,37.6l-2.2-0.19l-2.28-0.2l-3.37-0.3l-5.34-0.47l-0.02-0.01l-1.88-0.91l-1.9-0.92l-1.53-0.74l-0.33-0.16l-0.41-0.2 l-1.42-0.69L7.43,31.9l-0.59-0.29L6,31.35v-4.47c0.47-0.56,0.97-1.09,1.5-1.6c0.34-0.32,0.7-0.64,1.07-0.94 c0.06-0.05,0.12-0.1,0.18-0.14c0.04-0.05,0.09-0.08,0.13-0.1c0.59-0.48,1.21-0.91,1.85-1.3c0.74-0.47,1.52-0.89,2.33-1.24 c0.87-0.39,1.78-0.72,2.72-0.97c1.63-0.46,3.36-0.7,5.14-0.7c4.08,0,7.85,1.24,10.96,3.37c1.99,1.36,3.71,3.08,5.07,5.07 c0.45,0.64,0.85,1.32,1.22,2.02c0.13,0.26,0.26,0.52,0.37,0.78c0.12,0.25,0.23,0.5,0.34,0.75c0.21,0.52,0.4,1.04,0.57,1.58 c0.32,1,0.56,2.02,0.71,3.08C40.21,36.89,40.25,37.24,40.28,37.59z" - })), _path10 || (_path10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ff5722", - d: "M38.39,39.42c0,0.08,0,0.17-0.01,0.26c-0.47,0.39-0.97,0.74-1.5,1.04c-0.22,0.12-0.44,0.24-0.67,0.34 c-0.23,0.11-0.46,0.21-0.7,0.3c-0.34-0.18-0.8-0.4-1.29-0.61c-0.69-0.31-1.44-0.59-2.02-0.68c-0.14-0.03-0.27-0.04-0.39-0.04 l-1.64-0.21h-0.02l-2.04-0.27l-2.06-0.27l-0.96-0.12l-7.56-0.98c-0.49,0-1.01-0.03-1.55-0.1c-0.66-0.06-1.35-0.16-2.04-0.3 c-0.68-0.12-1.37-0.28-2.03-0.45c-0.69-0.16-1.37-0.35-2-0.53c-0.73-0.22-1.41-0.43-1.98-0.62c-0.47-0.15-0.87-0.29-1.18-0.4 c-0.18-0.43-0.33-0.88-0.44-1.34C6.1,33.66,6,32.84,6,32v-1.67c0.32-0.53,0.67-1.05,1.06-1.54c0.71-0.94,1.52-1.8,2.4-2.56 c0.03-0.04,0.07-0.07,0.1-0.09l0.01-0.01c0.31-0.28,0.63-0.53,0.97-0.77c0.04-0.04,0.08-0.07,0.12-0.1 c0.16-0.12,0.33-0.24,0.51-0.35c1.43-0.97,3.01-1.73,4.7-2.24c1.6-0.48,3.29-0.73,5.05-0.73c3.49,0,6.75,1.03,9.47,2.79 c2.01,1.29,3.74,2.99,5.06,4.98c0.16,0.23,0.31,0.46,0.46,0.7c0.69,1.17,1.26,2.43,1.68,3.75c0.05,0.15,0.09,0.3,0.13,0.46 c0.08,0.27,0.15,0.55,0.21,0.83c0.02,0.07,0.04,0.14,0.06,0.22c0.14,0.63,0.24,1.29,0.31,1.95c0,0.01,0,0.01,0,0.01 C38.36,38.22,38.39,38.82,38.39,39.42z" - })), _path11 || (_path11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ff6f00", - d: "M36.33,39.42c0,0.35-0.02,0.73-0.06,1.11c-0.02,0.18-0.04,0.36-0.06,0.53c-0.23,0.11-0.46,0.21-0.7,0.3 c-0.45,0.17-0.91,0.31-1.38,0.41c-0.32,0.07-0.65,0.13-0.98,0.16h-0.01c-0.31-0.19-0.67-0.42-1.04-0.68 c-0.67-0.47-1.37-1-1.93-1.43c-0.01-0.01-0.01-0.01-0.02-0.02c-0.59-0.45-1.01-0.79-1.01-0.79l-1.06,0.04l-2.04,0.07l-0.95,0.04 l-3.82,0.14l-3.23,0.12c-0.21,0.01-0.46,0.01-0.77,0h-0.01c-0.42-0.01-0.92-0.04-1.47-0.09c-0.64-0.05-1.34-0.11-2.05-0.18 c-0.69-0.08-1.39-0.16-2.06-0.24c-0.74-0.08-1.44-0.17-2.04-0.25c-0.47-0.06-0.88-0.11-1.21-0.15c-0.28-0.32-0.53-0.65-0.77-1.01 c-0.36-0.54-0.67-1.11-0.91-1.72c-0.18-0.43-0.33-0.88-0.44-1.34c0.29-0.89,0.67-1.73,1.12-2.54c0.36-0.66,0.78-1.29,1.24-1.89 c0.45-0.59,0.94-1.14,1.47-1.64v-0.01c0.15-0.15,0.3-0.29,0.45-0.42c0.28-0.26,0.57-0.5,0.87-0.73h0.01 c0.01-0.02,0.02-0.02,0.03-0.03c0.24-0.19,0.49-0.36,0.74-0.53c1.48-1.01,3.15-1.76,4.95-2.2c1.19-0.29,2.44-0.45,3.73-0.45 c2.54,0,4.94,0.61,7.05,1.71h0.01c1.81,0.93,3.41,2.21,4.7,3.75c0.71,0.82,1.32,1.72,1.82,2.67c0.35,0.64,0.65,1.31,0.9,1.99 c0.02,0.06,0.04,0.11,0.06,0.16c0.17,0.5,0.32,1.02,0.45,1.54c0.09,0.37,0.16,0.75,0.22,1.13c0.02,0.12,0.04,0.23,0.05,0.35 C36.28,37.99,36.33,38.7,36.33,39.42z" - })), _path12 || (_path12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ff9800", - d: "M34.28,39.42v0.1c0,0.34-0.03,0.77-0.06,1.23c-0.03,0.34-0.06,0.69-0.09,1.02c-0.32,0.07-0.65,0.13-0.98,0.16 h-0.01C32.76,41.98,32.39,42,32,42h-1.75l-0.38-0.11l-1.97-0.6l-2-0.6l-4.63-1.39l-2-0.6c0,0-0.83,0.33-2,0.72h-0.01 c-0.45,0.15-0.94,0.31-1.46,0.47c-0.65,0.19-1.34,0.38-2.02,0.53c-0.7,0.16-1.39,0.28-2.01,0.33c-0.19,0.02-0.38,0.03-0.55,0.03 c-0.56-0.31-1.1-0.68-1.59-1.09c-0.43-0.36-0.83-0.75-1.2-1.18c-0.28-0.32-0.53-0.65-0.77-1.01c0.07-0.45,0.15-0.89,0.27-1.32 c0.3-1.19,0.77-2.33,1.39-3.37c0.34-0.59,0.72-1.16,1.16-1.69c0.01-0.03,0.04-0.06,0.07-0.08c-0.01-0.01,0-0.01,0-0.01 c0.13-0.17,0.27-0.33,0.41-0.48c0-0.01,0-0.01,0-0.01c0.41-0.44,0.83-0.86,1.29-1.25c0.16-0.13,0.31-0.26,0.48-0.39 c0.03-0.03,0.06-0.05,0.1-0.08c2.25-1.72,5.06-2.76,8.09-2.76c3.44,0,6.57,1.29,8.94,3.41c1.14,1.03,2.11,2.26,2.84,3.63 c0.06,0.1,0.12,0.21,0.17,0.32c0.09,0.18,0.18,0.37,0.26,0.57c0.33,0.72,0.59,1.48,0.77,2.26c0.02,0.08,0.04,0.16,0.06,0.24 c0.08,0.37,0.15,0.75,0.2,1.13C34.24,38.21,34.28,38.81,34.28,39.42z" - })), _path13 || (_path13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ffc107", - d: "M32.22,39.42c0,0.2-0.01,0.42-0.02,0.65c-0.02,0.37-0.05,0.77-0.1,1.18c-0.02,0.25-0.06,0.5-0.1,0.75h-5.48 l-1.06-0.17l-4.14-0.66l-0.59-0.09l-1.35-0.22c-0.59,0-1.87,0.26-3.22,0.51c-0.71,0.13-1.43,0.27-2.08,0.36 c-0.08,0.01-0.16,0.02-0.23,0.03h-0.01c-0.7-0.15-1.38-0.38-2.02-0.68c-0.2-0.09-0.4-0.19-0.6-0.3c-0.56-0.31-1.1-0.68-1.59-1.09 c-0.01-0.12-0.02-0.22-0.02-0.27c0-0.26,0.01-0.51,0.03-0.76c0.04-0.64,0.13-1.26,0.27-1.86c0.22-0.91,0.54-1.79,0.97-2.6 c0.08-0.17,0.17-0.34,0.27-0.5c0.04-0.08,0.09-0.15,0.13-0.23c0.18-0.29,0.38-0.57,0.58-0.85c0.42-0.55,0.89-1.07,1.39-1.54 c0.01,0,0.01,0,0.01,0c0.04-0.04,0.08-0.08,0.12-0.11c0.05-0.04,0.09-0.09,0.14-0.12c0.2-0.18,0.4-0.34,0.61-0.49 c0-0.01,0.01-0.01,0.01-0.01c1.89-1.41,4.23-2.24,6.78-2.24c1.98,0,3.82,0.5,5.43,1.38h0.01c1.38,0.76,2.58,1.79,3.53,3.03 c0.37,0.48,0.7,0.99,0.98,1.53h0.01c0.05,0.1,0.1,0.2,0.15,0.3c0.3,0.59,0.54,1.21,0.72,1.85h0.01c0.01,0.05,0.03,0.1,0.04,0.15 c0.12,0.43,0.22,0.87,0.29,1.32c0.01,0.09,0.02,0.19,0.03,0.28C32.19,38.43,32.22,38.92,32.22,39.42z" - })), _path14 || (_path14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ffd54f", - d: "M30.17,39.31c0,0.16,0,0.33-0.02,0.49v0.01c0,0.01,0,0.01,0,0.01c-0.02,0.72-0.12,1.43-0.28,2.07 c0,0.04-0.01,0.07-0.03,0.11h-4.67l-3.85-0.83l-0.51-0.11l-0.08,0.02l-4.27,0.88L16.27,42H16c-0.64,0-1.27-0.06-1.88-0.18 c-0.09-0.02-0.18-0.04-0.27-0.06h-0.01c-0.7-0.15-1.38-0.38-2.02-0.68c-0.02-0.11-0.04-0.22-0.05-0.33 c-0.07-0.43-0.1-0.88-0.1-1.33c0-0.17,0-0.34,0.01-0.51c0.03-0.54,0.11-1.07,0.23-1.58c0.08-0.38,0.19-0.75,0.32-1.1 c0.11-0.31,0.24-0.61,0.38-0.9c0.12-0.25,0.26-0.49,0.4-0.73c0.14-0.23,0.29-0.45,0.45-0.67c0.4-0.55,0.87-1.06,1.39-1.51 c0.3-0.26,0.63-0.51,0.97-0.73c1.46-0.96,3.21-1.52,5.1-1.52c0.37,0,0.73,0.02,1.08,0.07h0.02c1.07,0.12,2.07,0.42,2.99,0.87 c0.01,0,0.01,0,0.01,0c1.45,0.71,2.68,1.78,3.58,3.1c0.15,0.22,0.3,0.46,0.43,0.7c0.11,0.19,0.21,0.39,0.3,0.59 c0.14,0.31,0.27,0.64,0.38,0.97h0.01c0.11,0.37,0.21,0.74,0.28,1.13v0.01C30.11,38.16,30.17,38.73,30.17,39.31z" - })), _path15 || (_path15 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ffe082", - d: "M28.11,39.52v0.03c0,0.59-0.07,1.17-0.21,1.74c-0.05,0.24-0.12,0.48-0.21,0.71h-4.48l-2.29-0.63L18.63,42H16 c-0.64,0-1.27-0.06-1.88-0.18c-0.02-0.03-0.03-0.06-0.04-0.09c-0.14-0.43-0.25-0.86-0.3-1.31c-0.04-0.29-0.06-0.59-0.06-0.9 c0-0.12,0-0.25,0.02-0.37c0.01-0.47,0.08-0.93,0.2-1.37c0.06-0.3,0.15-0.59,0.27-0.87c0.04-0.14,0.1-0.27,0.17-0.4 c0.15-0.34,0.33-0.67,0.53-0.99c0.22-0.32,0.46-0.62,0.73-0.9c0.32-0.36,0.68-0.69,1.09-0.96c0.7-0.51,1.5-0.89,2.37-1.1 c0.58-0.16,1.19-0.24,1.82-0.24c2,0,3.79,0.8,5.09,2.09c0.05,0.05,0.11,0.11,0.16,0.18h0.01c0.14,0.15,0.27,0.3,0.4,0.47 c0.37,0.47,0.68,0.98,0.92,1.54c0.12,0.26,0.22,0.53,0.3,0.81c0.01,0.04,0.02,0.07,0.03,0.11c0.14,0.49,0.23,1,0.25,1.53 C28.1,39.2,28.11,39.36,28.11,39.52z" - })), _path16 || (_path16 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#ffecb3", - d: "M26.06,39.52c0,0.41-0.05,0.8-0.16,1.17c-0.1,0.4-0.25,0.78-0.44,1.14c-0.03,0.06-0.1,0.17-0.1,0.17h-8.88 c-0.01-0.01-0.02-0.03-0.02-0.04c-0.12-0.19-0.22-0.38-0.3-0.59c-0.2-0.46-0.32-0.96-0.36-1.48c-0.02-0.12-0.02-0.25-0.02-0.37 c0-0.06,0-0.13,0.01-0.19c0.01-0.44,0.07-0.86,0.19-1.25c0.1-0.36,0.23-0.69,0.4-1.01c0,0,0.01-0.01,0.01-0.02 c0.12-0.21,0.25-0.42,0.4-0.62c0.49-0.66,1.14-1.2,1.89-1.55c0.01,0,0.01,0,0.01,0c0.24-0.12,0.49-0.22,0.75-0.29c0,0,0,0,0.01,0 c0.46-0.14,0.96-0.21,1.47-0.21c0.59,0,1.16,0.09,1.68,0.28c0.19,0.05,0.37,0.13,0.55,0.22c0,0,0,0,0.01,0 c0.86,0.41,1.59,1.05,2.09,1.85c0.1,0.15,0.19,0.31,0.27,0.48c0.04,0.07,0.08,0.15,0.11,0.22c0.23,0.52,0.37,1.09,0.41,1.69 c0.01,0.05,0.01,0.1,0.01,0.16C26.06,39.36,26.06,39.44,26.06,39.52z" - })), _g || (_g = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "none", - stroke: "#fff", - strokeLinecap: "round", - strokeLinejoin: "round", - strokeMiterlimit: 10, - strokeWidth: 2, - d: "M30,11H18c-3.9,0-7,3.1-7,7v12c0,3.9,3.1,7,7,7h12c3.9,0,7-3.1,7-7V18C37,14.1,33.9,11,30,11z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { - cx: 31, - cy: 16, - r: 1, - fill: "#fff" - }))), _g2 || (_g2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { - cx: 24, - cy: 24, - r: 6, - fill: "none", - stroke: "#fff", - strokeLinecap: "round", - strokeLinejoin: "round", - strokeMiterlimit: 10, - strokeWidth: 2 - })))); -} - -const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIcons8Instagram); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/icons8-instagram.30f201bfa73e2d1f1d8409a82298032e.svg"); - - -/***/ }), - -/***/ "./src/assets/socialMediaIcons/icons8-line.svg": -/*!*****************************************************!*\ - !*** ./src/assets/socialMediaIcons/icons8-line.svg ***! - \*****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ReactComponent": () => (/* binding */ ForwardRef), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var _path, _path2; - -function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } - - - -function SvgIcons8Line(_ref, svgRef) { - let { - title, - titleId, - ...props - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 48 48", - width: "64px", - height: "96px", - ref: svgRef, - "aria-labelledby": titleId - }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { - id: titleId - }, title) : null, _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#00c300", - d: "M12.5,42h23c3.59,0,6.5-2.91,6.5-6.5v-23C42,8.91,39.09,6,35.5,6h-23C8.91,6,6,8.91,6,12.5v23C6,39.09,8.91,42,12.5,42z" - })), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#fff", - d: "M37.113,22.417c0-5.865-5.88-10.637-13.107-10.637s-13.108,4.772-13.108,10.637c0,5.258,4.663,9.662,10.962,10.495c0.427,0.092,1.008,0.282,1.155,0.646c0.132,0.331,0.086,0.85,0.042,1.185c0,0-0.153,0.925-0.187,1.122c-0.057,0.331-0.263,1.296,1.135,0.707c1.399-0.589,7.548-4.445,10.298-7.611h-0.001C36.203,26.879,37.113,24.764,37.113,22.417z M18.875,25.907h-2.604c-0.379,0-0.687-0.308-0.687-0.688V20.01c0-0.379,0.308-0.687,0.687-0.687c0.379,0,0.687,0.308,0.687,0.687v4.521h1.917c0.379,0,0.687,0.308,0.687,0.687C19.562,25.598,19.254,25.907,18.875,25.907z M21.568,25.219c0,0.379-0.308,0.688-0.687,0.688s-0.687-0.308-0.687-0.688V20.01c0-0.379,0.308-0.687,0.687-0.687s0.687,0.308,0.687,0.687V25.219z M27.838,25.219c0,0.297-0.188,0.559-0.47,0.652c-0.071,0.024-0.145,0.036-0.218,0.036c-0.215,0-0.42-0.103-0.549-0.275l-2.669-3.635v3.222c0,0.379-0.308,0.688-0.688,0.688c-0.379,0-0.688-0.308-0.688-0.688V20.01c0-0.296,0.189-0.558,0.47-0.652c0.071-0.024,0.144-0.035,0.218-0.035c0.214,0,0.42,0.103,0.549,0.275l2.67,3.635V20.01c0-0.379,0.309-0.687,0.688-0.687c0.379,0,0.687,0.308,0.687,0.687V25.219z M32.052,21.927c0.379,0,0.688,0.308,0.688,0.688c0,0.379-0.308,0.687-0.688,0.687h-1.917v1.23h1.917c0.379,0,0.688,0.308,0.688,0.687c0,0.379-0.309,0.688-0.688,0.688h-2.604c-0.378,0-0.687-0.308-0.687-0.688v-2.603c0-0.001,0-0.001,0-0.001c0,0,0-0.001,0-0.001v-2.601c0-0.001,0-0.001,0-0.002c0-0.379,0.308-0.687,0.687-0.687h2.604c0.379,0,0.688,0.308,0.688,0.687s-0.308,0.687-0.688,0.687h-1.917v1.23H32.052z" - }))); -} - -const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIcons8Line); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/icons8-line.3a34768d140958f26bc99abf820f16f0.svg"); - - -/***/ }), - -/***/ "./src/assets/socialMediaIcons/icons8-linkedin.svg": -/*!*********************************************************!*\ - !*** ./src/assets/socialMediaIcons/icons8-linkedin.svg ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ReactComponent": () => (/* binding */ ForwardRef), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var _path, _path2; - -function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } - - - -function SvgIcons8Linkedin(_ref, svgRef) { - let { - title, - titleId, - ...props - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 48 48", - width: "64px", - height: "96px", - ref: svgRef, - "aria-labelledby": titleId - }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { - id: titleId - }, title) : null, _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#0288D1", - d: "M42,37c0,2.762-2.238,5-5,5H11c-2.761,0-5-2.238-5-5V11c0-2.762,2.239-5,5-5h26c2.762,0,5,2.238,5,5V37z" - })), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#FFF", - d: "M12 19H17V36H12zM14.485 17h-.028C12.965 17 12 15.888 12 14.499 12 13.08 12.995 12 14.514 12c1.521 0 2.458 1.08 2.486 2.499C17 15.887 16.035 17 14.485 17zM36 36h-5v-9.099c0-2.198-1.225-3.698-3.192-3.698-1.501 0-2.313 1.012-2.707 1.99C24.957 25.543 25 26.511 25 27v9h-5V19h5v2.616C25.721 20.5 26.85 19 29.738 19c3.578 0 6.261 2.25 6.261 7.274L36 36 36 36z" - }))); -} - -const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIcons8Linkedin); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/icons8-linkedin.196fbfc183ebb1b2ffeefb01e2a38a93.svg"); - - -/***/ }), - -/***/ "./src/assets/socialMediaIcons/icons8-twitter.svg": -/*!********************************************************!*\ - !*** ./src/assets/socialMediaIcons/icons8-twitter.svg ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ReactComponent": () => (/* binding */ ForwardRef), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var _path; - -function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } - - - -function SvgIcons8Twitter(_ref, svgRef) { - let { - title, - titleId, - ...props - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 48 48", - width: "64px", - height: "96px", - ref: svgRef, - "aria-labelledby": titleId - }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { - id: titleId - }, title) : null, _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { - fill: "#03A9F4", - d: "M42,12.429c-1.323,0.586-2.746,0.977-4.247,1.162c1.526-0.906,2.7-2.351,3.251-4.058c-1.428,0.837-3.01,1.452-4.693,1.776C34.967,9.884,33.05,9,30.926,9c-4.08,0-7.387,3.278-7.387,7.32c0,0.572,0.067,1.129,0.193,1.67c-6.138-0.308-11.582-3.226-15.224-7.654c-0.64,1.082-1,2.349-1,3.686c0,2.541,1.301,4.778,3.285,6.096c-1.211-0.037-2.351-0.374-3.349-0.914c0,0.022,0,0.055,0,0.086c0,3.551,2.547,6.508,5.923,7.181c-0.617,0.169-1.269,0.263-1.941,0.263c-0.477,0-0.942-0.054-1.392-0.135c0.94,2.902,3.667,5.023,6.898,5.086c-2.528,1.96-5.712,3.134-9.174,3.134c-0.598,0-1.183-0.034-1.761-0.104C9.268,36.786,13.152,38,17.321,38c13.585,0,21.017-11.156,21.017-20.834c0-0.317-0.01-0.633-0.025-0.945C39.763,15.197,41.013,13.905,42,12.429" - }))); -} - -const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgIcons8Twitter); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/icons8-twitter.5ae6e9d6a5a1e36524202da16a7c38ee.svg"); - - -/***/ }), - -/***/ "./src/App.jsx": -/*!*********************!*\ - !*** ./src/App.jsx ***! - \*********************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/index.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _components_Login__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/Login */ "./src/components/Login.jsx"); -/* harmony import */ var _components_Landing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/Landing */ "./src/components/Landing.jsx"); -/* harmony import */ var _components_Tiers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/Tiers */ "./src/components/Tiers.jsx"); -/* harmony import */ var _components_NavBar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/NavBar */ "./src/components/NavBar.jsx"); -/* harmony import */ var _pages_Footprint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./pages/Footprint */ "./src/pages/Footprint.jsx"); -/* harmony import */ var _components_Registration__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/Registration */ "./src/components/Registration.jsx"); -/* harmony import */ var _components_PaymentsForm__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/PaymentsForm */ "./src/components/PaymentsForm.jsx"); -/* harmony import */ var _pages_OrderConfirmation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./pages/OrderConfirmation */ "./src/pages/OrderConfirmation.jsx"); -/* harmony import */ var _pages_Resources__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./pages/Resources */ "./src/pages/Resources.jsx"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/App.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - - - - - - - - -function App() { - _s(); - - const [tier, setTier] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)("div", { - className: "flex flex-col h-screen", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_11__.BrowserRouter, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_NavBar__WEBPACK_IMPORTED_MODULE_4__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 20, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Routes, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_Landing__WEBPACK_IMPORTED_MODULE_2__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 22, - columnNumber: 42 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 22, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/login", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_Login__WEBPACK_IMPORTED_MODULE_1__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 23, - columnNumber: 47 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 23, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/registration", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_Registration__WEBPACK_IMPORTED_MODULE_6__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 24, - columnNumber: 54 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 24, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/footprint", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_pages_Footprint__WEBPACK_IMPORTED_MODULE_5__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 25, - columnNumber: 51 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 25, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/tiers", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_Tiers__WEBPACK_IMPORTED_MODULE_3__["default"], { - setTier: setTier - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 26, - columnNumber: 47 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 26, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/payment", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_components_PaymentsForm__WEBPACK_IMPORTED_MODULE_7__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 27, - columnNumber: 49 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 27, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/resources", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_pages_Resources__WEBPACK_IMPORTED_MODULE_9__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 51 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Route, { - exact: true, - path: "/confirmation", - element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxDEV)(_pages_OrderConfirmation__WEBPACK_IMPORTED_MODULE_8__["default"], { - tier: tier - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 32, - columnNumber: 22 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 11 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 21, - columnNumber: 9 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 19, - columnNumber: 7 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 18, - columnNumber: 5 - }, this); -} - -_s(App, "VHaViVzo7lrPCguxRwxa8NgsJ2A="); - -_c = App; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (App); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "App"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/FootprintCard.jsx": -/*!******************************************!*\ - !*** ./src/components/FootprintCard.jsx ***! - \******************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/FootprintCard.jsx"; - - - -const FootprintCard = _ref => { - let { - title, - grocery, - takeOut, - petBottles, - disposables, - setResult, - change - } = _ref; - - function getResult() { - setResult(title); - change(true); - } - - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "transition ease-out duration-300 hover:-translate-y-1 hover:scale-105", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_0__.Card, { - horizontal: true, - imgAlt: "Meaningful alt text for an image that is not purely decorative", - imgSrc: "https://media.timeout.com/images/105656638/image.jpg", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { - className: "text-4xl font-bold tracking-tight text-center text-gray-900 dark:text-white", - children: title - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 24, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "flex flex-col gap-2 h-96", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h4", { - className: "font-medium", - children: "Grocery Store" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { - className: "font-normal text-gray-700 dark:text-gray-400", - children: grocery - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 30, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h4", { - className: "font-medium", - children: "Take-out" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 33, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { - className: "font-normal text-gray-700 dark:text-gray-400", - children: takeOut - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 34, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h4", { - className: "font-medium", - children: "PET bottles" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 37, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { - className: "font-normal text-gray-700 dark:text-gray-400", - children: petBottles - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 38, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h4", { - className: "font-medium", - children: "Disposables" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 41, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { - className: "font-normal text-gray-700 dark:text-gray-400", - children: disposables - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 42, - columnNumber: 11 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("button", { - className: "inline-flex items-center mt-4 py-2 px-3 text-sm font-medium justify-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800", - onClick: getResult, - children: "Select" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 47, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 19, - columnNumber: 7 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 18, - columnNumber: 5 - }, undefined); -}; - -_c = FootprintCard; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FootprintCard); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "FootprintCard"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/Landing.jsx": -/*!************************************!*\ - !*** ./src/components/Landing.jsx ***! - \************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _Landing_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Landing.css */ "./src/components/Landing.css"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var _assets_socialMediaIcons_icons8_linkedin_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-linkedin.svg */ "./src/assets/socialMediaIcons/icons8-linkedin.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_facebook_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-facebook.svg */ "./src/assets/socialMediaIcons/icons8-facebook.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_instagram_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-instagram.svg */ "./src/assets/socialMediaIcons/icons8-instagram.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_twitter_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-twitter.svg */ "./src/assets/socialMediaIcons/icons8-twitter.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_line_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-line.svg */ "./src/assets/socialMediaIcons/icons8-line.svg"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/Landing.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - - - -const Landing = () => { - _s(); - - const plasticConsumption = [" In Japan, 37 Kilograms Per capita annual single plastic consumption in Japan.", " In Japan 1 Kilogram of plastic equals to 5.6kg- 6kg CO2 over its lifetime.", " Japan is the 2nd biggest consumer of disposable plastic.", " In Japan, the average CO2 from plastic per capita is 207-222kg per annum.", " Single-use plastics, which account for half of the plastic we use each year, have an average useful life of 12 to 15 minutes and yet can take up to 500 years to break down."]; - const randomFact = plasticConsumption[Math.floor(Math.random() * plasticConsumption.length)]; - - const copyToClipboard = async () => { - await navigator.clipboard.writeText(randomFact); - }; - - const navigateTo = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_7__.useNavigate)(); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "mt-11", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex-col items-center mt-11 align-items ", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("img", { - className: "flex-col items-center mx-auto ", - alt: "Pictue of river running through jungle", - src: "https://siwi.org/wp-content/uploads/2021/07/why-water_topics-present-at-launch_rivers2.jpg", - width: "500", - height: "400" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 30, - columnNumber: 11 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h1", { - className: " mx-auto flex justify-center text-7xl gap-8 mt-11 ", - children: "PolyZero" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 38, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("p", { - className: " mx-auto flex justify-center text-1xl gap-8 mt-11", - children: "A better way to help the planet." - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 41, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("button", { - onClick: () => navigateTo("/footprint"), - className: " flex mx-auto mt-5 items-center py-2 px-3 text-sm font-medium justify-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 ", - type: "button", - children: ["Get started", " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 44, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex-col ", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - class: " flex flex-col justify-center items-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h1", { - className: "text-2xl mb-7 mt-7 underline font-light", - children: "Did you know" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 55, - columnNumber: 11 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 54, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex flex-col justify-center items-center text-center font-bold mt-2 ", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "max-w-xs", - children: randomFact - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 60, - columnNumber: 11 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 59, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 52, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("button", { - onClick: () => navigateTo("/resources"), - className: " flex mx-auto items-center mb-3 mt-9 py-2 px-3 text-sm font-medium justify-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800", - type: "button", - children: ["Learn more", " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 63, - columnNumber: 7 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 27, - columnNumber: 5 - }, undefined); -}; - -_s(Landing, "ymtrZ8G6aCOC+j9g/5vfaOOqM8M=", false, function () { - return [react_router_dom__WEBPACK_IMPORTED_MODULE_7__.useNavigate]; -}); - -_c = Landing; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Landing); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Landing"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/Login.jsx": -/*!**********************************!*\ - !*** ./src/components/Login.jsx ***! - \**********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/index.js"); -/* harmony import */ var _firebase_firebase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../firebase/firebase */ "./src/firebase/firebase.js"); -/* harmony import */ var react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-firebase-hooks/auth */ "./node_modules/react-firebase-hooks/auth/dist/index.esm.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/Login.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - - -function Login() { - _s(); - - const [email, setEmail] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""); - const [password, setPassword] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""); - const [user, loading, error] = (0,react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__.useAuthState)(_firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.auth); - const navigate = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate)(); - - const logIn = e => { - e.preventDefault(); - (0,_firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.logInWithEmailAndPassword)(email, password); - if (user) navigate("/"); - }; - - (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { - if (loading) { - // maybe trigger a loading screen - return; - } - - if (user) navigate("/"); - }, [user, loading]); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center p-6", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center bg-gray-100 rounded-lg shadow dark:border px-4", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "p-6 space-y-4 md:space-y-6 flex flex-col items-center justify-center", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("h1", { - className: "text-xl font-bold leading-tight tracking-tight text-gray-900", - children: "LogIn" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 36, - columnNumber: 13 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("form", { - className: "space-y-4 md:space-y-6", - action: "#", - onSubmit: logIn, - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("label", { - for: "email", - className: "block mb-2 text-sm font-medium text-gray-900 dark:text-white", - children: "E-MAIL" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 45, - columnNumber: 17 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.TextInput, { - id: "email1", - type: "email", - placeholder: "email@email.com", - value: email, - onChange: e => setEmail(e.target.value), - required: true, - name: "email", - className: "bg-gray-50 items-center border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 51, - columnNumber: 17 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 44, - columnNumber: 15 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("label", { - for: "password", - className: "block mb-2 text-sm font-medium text-gray-900 dark:text-white", - children: "PASSWORD" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 63, - columnNumber: 17 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.TextInput, { - id: "password1", - type: "password", - required: true, - value: password, - onChange: e => setPassword(e.target.value), - name: "password", - placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", - className: "bg-gray-50 items-center border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 69, - columnNumber: 17 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 62, - columnNumber: 15 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("button", { - type: "submit", - className: "bg-blue-600 items-center border text-white rounded-lg block w-full p-2.5", - children: "Log in" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 81, - columnNumber: 17 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 80, - columnNumber: 15 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 39, - columnNumber: 13 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("button", { - type: "button", - onClick: _firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.registerWithGoogle, - className: "bg-blue-600 items-center border text-white rounded-lg block w-full p-2.5", - children: "Google" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 90, - columnNumber: 15 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 89, - columnNumber: 13 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("p", { - className: "text-sm font-light text-gray-500 dark:text-gray-400", - children: ["Don't have an account yet?", " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_6__.Link, { - to: "/registration", - className: "font-medium text-blue hover:underline dark:text-primary-500", - children: "Register" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 101, - columnNumber: 17 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 99, - columnNumber: 15 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 98, - columnNumber: 13 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center justify-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("p", { - className: "text-sm font-light text-gray-500 dark:text-gray-400" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 110, - columnNumber: 15 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 109, - columnNumber: 13 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 35, - columnNumber: 11 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 34, - columnNumber: 9 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 33, - columnNumber: 7 - }, this) - }, void 0, false); -} - -_s(Login, "IceGxTbTgTGSQnLoZr+N6VBeGRg=", false, function () { - return [react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__.useAuthState, react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate]; -}); - -_c = Login; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Login); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Login"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/NavBar.jsx": -/*!***********************************!*\ - !*** ./src/components/NavBar.jsx ***! - \***********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var _firebase_firebase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../firebase/firebase */ "./src/firebase/firebase.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/index.js"); -/* harmony import */ var react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-firebase-hooks/auth */ "./node_modules/react-firebase-hooks/auth/dist/index.esm.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/NavBar.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - - -const NavBar = () => { - _s(); - - const [userInfo, setUserInfo] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null); - const [user, loading, error] = (0,react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__.useAuthState)(_firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.auth); - (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { - if (loading) return; - if (user && !userInfo) (0,_firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.getUserInfo)(user.uid).then(res => res.forEach(doc => setUserInfo(doc.data())));else if (!user) setUserInfo(null); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [user, loading]); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Navbar, { - rounded: true, - border: true, - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Navbar.Collapse, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Navbar.Link, { - href: "/", - active: true, - children: "Home" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 25, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Navbar.Link, { - href: "/navbars", - children: "About" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 24, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Navbar.Brand, { - href: "/", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("img", { - src: "https://raw.githubusercontent.com/poly-zero/polyzero/main/public/images/favicon64.ico", - className: "mr-3 h-14", - alt: "PolyZero Logo" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 33, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("span", { - className: "self-center whitespace-nowrap text-2xl font-semibold dark:text-white", - children: "PolyZero" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 38, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 32, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center gap-4", - children: user ? /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("p", { - className: "text-sm", - children: user.displayName - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 46, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Dropdown, { - arrowIcon: false, - inline: true, - label: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Avatar, { - img: "https://thispersondoesnotexist.com/image", - rounded: true, - alt: "Your profile pic" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 51, - columnNumber: 17 - }, undefined), - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Dropdown.Header, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("span", { - className: "block text-sm", - children: user.displayName - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 60, - columnNumber: 19 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("span", { - className: "block text-sm font-medium truncate", - children: user.email - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 61, - columnNumber: 19 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 59, - columnNumber: 17 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Dropdown.Item, { - children: "Dashboard" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 65, - columnNumber: 17 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Dropdown.Item, { - children: "Settings" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 66, - columnNumber: 17 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Dropdown.Item, { - onClick: () => (0,_firebase_firebase__WEBPACK_IMPORTED_MODULE_2__.logout)(), - children: "Log out" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 67, - columnNumber: 17 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 58, - columnNumber: 15 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 47, - columnNumber: 13 - }, undefined)] - }, void 0, true) : /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Button.Group, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Button, { - color: "gray", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Link, { - to: "/login", - children: "Log in" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 75, - columnNumber: 17 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 74, - columnNumber: 15 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Button, { - color: "gray", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Link, { - to: "/registration", - children: "Register" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 78, - columnNumber: 17 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 77, - columnNumber: 15 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 73, - columnNumber: 13 - }, undefined) - }, void 0, false) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 43, - columnNumber: 7 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 22, - columnNumber: 5 - }, undefined); -}; - -_s(NavBar, "saflh98UgOU2diTDTUylAJD64Z4=", false, function () { - return [react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_3__.useAuthState]; -}); - -_c = NavBar; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NavBar); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "NavBar"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/PaymentsForm.jsx": -/*!*****************************************!*\ - !*** ./src/components/PaymentsForm.jsx ***! - \*****************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _PaymentsForm_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PaymentsForm.css */ "./src/components/PaymentsForm.css"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/PaymentsForm.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - -const PaymentsForm = () => { - _s(); - - const [cvv, setCvv] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(""); - const [name, setName] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(""); - const [cardNumber, setcardNumber] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(""); - const [expiry, setExpiry] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(""); - - const handleSubmit = async e => { - e.preventDefault(); - const body = { - name, - cardNumber, - expiry, - cvv - }; - - try { - await fetch("/", { - method: "POST", - headers: { - "Content-Type": "application/json" - }, - body: JSON.stringify(body) - }); - window.location = "/"; - } catch (error) { - console.log(error); - } - }; - - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("h1", { - class: "mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl text-center mt-10", - children: ["Want to", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("span", { - class: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400", - children: [" ", "save the planet?"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 27, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - onSubmit: handleSubmit, - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "flex justify-center items-center ", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "h-auto w-80 bg-white p-3 rounded-lg", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { - className: "text-xl font-semibold", - children: "Payment Details" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 37, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "input_text mt-6 relative", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("span", { - className: "absolute left-0 text-sm -top-4", - children: "Cardholder Name" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 40, - columnNumber: 15 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("input", { - type: "text", - className: "h-12 pl-7 outline-none px-2 focus:border-blue-900 transition-all w-full border-b rounded-lg", - placeholder: "Name on card", - onChange: e => setName(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 43, - columnNumber: 15 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("i", { - className: "absolute left-2 top-4 text-gray-400 fa fa-user" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 49, - columnNumber: 15 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 38, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "input_text mt-8 relative", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("input", { - type: "text", - className: "h-12 pl-7 outline-none px-2 focus:border-blue-900 transition-all w-full border-b rounded-lg", - placeholder: "0000 0000 0000 0000", - "data-slots": "0", - "data-accept": "\\d", - size: "19", - onChange: e => setcardNumber(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 53, - columnNumber: 15 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("span", { - className: "absolute left-0 text-sm -top-4", - children: "Card Number" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 62, - columnNumber: 15 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("i", { - className: "absolute left-2 top-[14px] text-gray-400 text-sm fa fa-credit-card" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 65, - columnNumber: 15 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 51, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "mt-8 flex gap-5 ", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "input_text relative w-full", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("input", { - type: "text", - className: "h-12 pl-7 outline-none px-2 focus:border-blue-900 transition-all w-full border-b rounded-lg", - placeholder: "mm/yyyy", - "data-slots": "my", - onChange: e => setExpiry(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 70, - columnNumber: 17 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("span", { - className: "absolute left-0 text-sm -top-4", - children: "Expiry" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 77, - columnNumber: 17 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("i", { - className: "absolute left-2 top-4 text-gray-400 fa fa-calendar-o" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 78, - columnNumber: 17 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 68, - columnNumber: 15 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "input_text relative w-full", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("input", { - type: "text", - className: "h-12 pl-7 outline-none px-2 focus:border-blue-900 transition-all w-full border-b rounded-lg", - placeholder: "000", - "data-slots": "0", - "data-accept": "\\d", - size: "3", - onChange: e => setCvv(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 82, - columnNumber: 17 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("span", { - className: "absolute left-0 text-sm -top-4", - children: "CVV" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 91, - columnNumber: 17 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("i", { - className: "absolute left-2 top-4 text-gray-400 fa fa-lock" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 92, - columnNumber: 17 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 80, - columnNumber: 15 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 67, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { - className: "text-lg text-center mt-4 text-gray-600 font-semibold", - children: "Payment amount:\xA51298" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 95, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { - className: "flex justify-center mt-4", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("button", { - className: "outline-none pay h-12 bg-blue-500 text-white mb-3 mr-1 hover:bg-orange-700 rounded-lg w-1/2 cursor-pointer transition-all", - path: "/tiers", - onClick: () => window.location.href = "/tiers", - children: "Back" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 100, - columnNumber: 15 - }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("br", {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 107, - columnNumber: 15 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("button", { - className: "outline-none pay h-12 bg-blue-500 text-white mb-3 hover:bg-orange-700 rounded-lg w-1/2 cursor-pointer transition-all", - children: "Pay" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 108, - columnNumber: 15 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 98, - columnNumber: 13 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 36, - columnNumber: 11 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 35, - columnNumber: 9 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 34, - columnNumber: 7 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 26, - columnNumber: 5 - }, undefined); -}; - -_s(PaymentsForm, "FH7fAdn6FIm2Bqfwn2PdDUyAeKs="); - -_c = PaymentsForm; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PaymentsForm); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "PaymentsForm"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/Registration.jsx": -/*!*****************************************!*\ - !*** ./src/components/Registration.jsx ***! - \*****************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-firebase-hooks/auth */ "./node_modules/react-firebase-hooks/auth/dist/index.esm.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var _firebase_firebase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../firebase/firebase */ "./src/firebase/firebase.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/Registration.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - -function Registration() { - _s(); - - const [email, setEmail] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""); - const [password, setPassword] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""); - const [name, setName] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""); - const [user, loading, error] = (0,react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_2__.useAuthState)(_firebase_firebase__WEBPACK_IMPORTED_MODULE_3__.auth); - let navigate = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate)(); - - const register = e => { - e.preventDefault(); - if (!name) alert("Please enter name"); - (0,_firebase_firebase__WEBPACK_IMPORTED_MODULE_3__.registerWithEmailAndPassword)(name, email, password); - }; - - (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { - if (loading) return; - if (user) navigate("/"); - }, [user, loading]); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("form", { - className: "flex flex-col gap-4", - onSubmit: register, - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "mb-2 block", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Label, { - htmlFor: "user1", - value: "Your User Name" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 35, - columnNumber: 13 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 34, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.TextInput, { - id: "user1", - type: "text", - placeholder: "username", - required: true, - value: name, - onChange: e => setName(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 37, - columnNumber: 11 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 33, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "mb-2 block", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Label, { - htmlFor: "email1", - value: "Your email" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 48, - columnNumber: 13 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 47, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.TextInput, { - id: "email1", - type: "email", - placeholder: "name@flowbite.com", - required: true, - value: email, - onChange: e => setEmail(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 50, - columnNumber: 11 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 46, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "mb-2 block", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Label, { - htmlFor: "password1", - value: "Your password" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 61, - columnNumber: 13 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 60, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.TextInput, { - id: "password1", - type: "password", - required: true, - value: password, - onChange: e => setPassword(e.target.value) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 63, - columnNumber: 11 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 59, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex items-center gap-2", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Checkbox, { - id: "remember" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 72, - columnNumber: 11 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Label, { - htmlFor: "remember", - children: "Remember me" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 73, - columnNumber: 11 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 71, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Button, { - type: "submit", - children: "Submit" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 75, - columnNumber: 9 - }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_1__.Button, { - type: "submit", - onClick: _firebase_firebase__WEBPACK_IMPORTED_MODULE_3__.registerWithGoogle, - children: "Google" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 76, - columnNumber: 9 - }, this)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 32, - columnNumber: 7 - }, this) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 31, - columnNumber: 5 - }, this); -} - -_s(Registration, "s1jk6Pklvq1hiGfy1RYIR0NNHug=", false, function () { - return [react_firebase_hooks_auth__WEBPACK_IMPORTED_MODULE_2__.useAuthState, react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate]; -}); - -_c = Registration; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Registration); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Registration"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/Results.jsx": -/*!************************************!*\ - !*** ./src/components/Results.jsx ***! - \************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/Results.jsx"; - - -const Results = _ref => { - let { - result - } = _ref; - const results = { - "🐕 Small": "103.6kg", - "🐎 Medium": "207.2kg", - "🐘 High": "310.8kg" - }; - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("div", { - id: "results", - className: "flex justify-center items-center ", - children: results[result] ? /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("h1", { - className: "mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl text-center", - children: ["You consume approximately", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("span", { - className: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400", - children: ` ${results[result]} ` - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 13, - columnNumber: 11 - }, undefined), "of CO2e"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 11, - columnNumber: 9 - }, undefined) : "" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 9, - columnNumber: 5 - }, undefined); -}; - -_c = Results; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Results); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Results"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/TierCard.jsx": -/*!*************************************!*\ - !*** ./src/components/TierCard.jsx ***! - \*************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/TierCard.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - -const TierCard = _ref => { - _s(); - - let { - title, - description, - cost, - image, - setTier - } = _ref; - const navigateTo = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_2__.useNavigate)(); - - function assignTier() { - setTier({ - image: image, - title: title, - description: description, - cost: cost - }); - navigateTo("/confirmation"); - } - - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "transition ease-out duration-300 hover:-translate-y-1 hover:scale-105", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_0__.Card, { - imgSrc: image, - imgAlt: "", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { - className: "text-4xl font-bold tracking-tight text-gray-900 dark:text-white", - children: title - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 20, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { - className: "text-lg font-normal text-gray-700 dark:text-gray-400", - children: description - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 23, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h3", { - className: "text-2xl font-bold tracking-tight text-gray-900 dark:text-white", - children: cost - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 26, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("button", { - class: "inline-flex items-center py-2 px-3 text-sm font-medium justify-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800", - onClick: assignTier, - children: "Select" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 19, - columnNumber: 7 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 18, - columnNumber: 5 - }, undefined); -}; - -_s(TierCard, "ymtrZ8G6aCOC+j9g/5vfaOOqM8M=", false, function () { - return [react_router_dom__WEBPACK_IMPORTED_MODULE_2__.useNavigate]; -}); - -_c = TierCard; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TierCard); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "TierCard"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/components/Tiers.jsx": -/*!**********************************!*\ - !*** ./src/components/Tiers.jsx ***! - \**********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _TierCard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TierCard */ "./src/components/TierCard.jsx"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/components/Tiers.jsx"; - - - -const Tiers = _ref => { - let { - setTier - } = _ref; - const tierCards = [{ - title: "Supporter", - description: "Support for 1 year", - cost: "¥518", - image: "https://picsum.photos/800" - }, { - title: "Ally", - description: "Support for 5 years", - cost: "¥2,590", - image: "https://picsum.photos/800" - }, { - title: "Defender", - description: "Support for 10 years", - cost: "¥5180", - image: "https://picsum.photos/800" - }, { - title: "Hero", - description: "Support for a lifetime", - cost: "¥16,576", - image: "https://picsum.photos/800" - }]; - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "flex flex-col flex-grow mt-8 items-center gap-6 md:items-center md:justify-center md:mt-0 md:gap-10", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "w-1/2 flex justify-center items-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h1", { - class: "mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl text-center", - children: ["Want to", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("span", { - class: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400", - children: [" ", "save the planet?"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 36, - columnNumber: 11 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 34, - columnNumber: 9 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 33, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: "flex flex-col gap-8 w-3/4 justify-center items-center md:flex-row md:gap-14 md:w-11/12", - children: tierCards.map(tier => { - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)(_TierCard__WEBPACK_IMPORTED_MODULE_0__["default"], { - title: tier.title, - description: tier.description, - cost: tier.cost, - image: tier.image, - setTier: setTier - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 45, - columnNumber: 13 - }, undefined); - }) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 42, - columnNumber: 7 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 32, - columnNumber: 5 - }, undefined); -}; - -_c = Tiers; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tiers); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Tiers"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/firebase/firebase.js": -/*!**********************************!*\ - !*** ./src/firebase/firebase.js ***! - \**********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "auth": () => (/* binding */ auth), -/* harmony export */ "db": () => (/* binding */ db), -/* harmony export */ "getUserInfo": () => (/* binding */ getUserInfo), -/* harmony export */ "logInWithEmailAndPassword": () => (/* binding */ logInWithEmailAndPassword), -/* harmony export */ "logout": () => (/* binding */ logout), -/* harmony export */ "registerWithEmailAndPassword": () => (/* binding */ registerWithEmailAndPassword), -/* harmony export */ "registerWithGoogle": () => (/* binding */ registerWithGoogle), -/* harmony export */ "sendPasswordReset": () => (/* binding */ sendPasswordReset) -/* harmony export */ }); -/* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! firebase/app */ "./node_modules/firebase/app/dist/index.esm.js"); -/* harmony import */ var firebase_auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! firebase/auth */ "./node_modules/firebase/auth/dist/index.esm.js"); -/* harmony import */ var firebase_firestore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! firebase/firestore */ "./node_modules/firebase/firestore/dist/index.esm.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -// Import the functions you need from the SDKs you need - - - // TODO: Add SDKs for Firebase products that you want to use -// https://firebase.google.com/docs/web/setup#available-libraries -// Your web app's Firebase configuration - -const firebaseConfig = { - apiKey: "AIzaSyChf-PyMiVObm6krhwzetP4lUKee4vzvrQ", - authDomain: "polyzero-37efc.firebaseapp.com", - projectId: "polyzero-37efc", - storageBucket: "polyzero-37efc.appspot.com", - messagingSenderId: "63330640151", - appId: "1:63330640151:web:0677a82628cba788d91752" -}; // Initialize Firebase - -const app = (0,firebase_app__WEBPACK_IMPORTED_MODULE_0__.initializeApp)(firebaseConfig); -const auth = (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.getAuth)(app); -const db = (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.getFirestore)(app); -const googleProvider = new firebase_auth__WEBPACK_IMPORTED_MODULE_1__.GoogleAuthProvider(); - -const registerWithGoogle = async () => { - try { - const res = await (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.signInWithPopup)(auth, googleProvider); - const user = res.user; - const q = (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.query)((0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.collection)(db, "users"), (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.where)("uid", "==", user.uid)); - const docs = await (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.getDocs)(q); - - if (docs.docs.length === 0) { - await (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.addDoc)((0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.collection)(db, "users"), { - uid: user.uid, - name: user.displayName, - authProvider: "google", - email: user.email, - badge: [0], - footprint: 0 - }); - } - } catch (err) { - console.error(err); - alert(err.message); - } -}; - -const registerWithEmailAndPassword = async (name, email, password) => { - try { - const res = await (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.createUserWithEmailAndPassword)(auth, email, password); - const user = res.user; - await (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.addDoc)((0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.collection)(db, "users"), { - uid: user.uid, - name, - authProvider: "local", - email, - badge: [0], - footprint: 0 - }); - } catch (err) { - console.error(err); - alert(err.message); - } -}; - -const logInWithEmailAndPassword = async (email, password) => { - try { - await (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.signInWithEmailAndPassword)(auth, email, password); - } catch (err) { - console.error(err); - alert(err.message); - } -}; - -const getUserInfo = async userId => { - try { - const q = (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.query)((0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.collection)(db, "users"), (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.where)("uid", "==", userId)); - const docs = await (0,firebase_firestore__WEBPACK_IMPORTED_MODULE_2__.getDocs)(q); - return docs; - } catch (err) { - console.error(err); - alert(err.message); - } -}; - -const sendPasswordReset = async email => { - try { - await (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.sendPasswordResetEmail)(auth, email); - alert("Password reset link sent!"); - } catch (err) { - console.error(err); - alert(err.message); - } -}; - -const logout = () => { - (0,firebase_auth__WEBPACK_IMPORTED_MODULE_1__.signOut)(auth); -}; - - - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/index.jsx": -/*!***********************!*\ - !*** ./src/index.jsx ***! - \***********************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js"); -/* harmony import */ var _App__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./App */ "./src/App.jsx"); -/* harmony import */ var _index_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index.css */ "./src/index.css"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/index.jsx"; - - - - - -const root = react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot(document.getElementById("root")); -root.render( /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_0___default().StrictMode), { - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(_App__WEBPACK_IMPORTED_MODULE_2__["default"], {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 9, - columnNumber: 5 - }, undefined) -}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 8, - columnNumber: 3 -}, undefined)); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/pages/Footprint.jsx": -/*!*********************************!*\ - !*** ./src/pages/Footprint.jsx ***! - \*********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _components_FootprintCard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/FootprintCard */ "./src/components/FootprintCard.jsx"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _components_Results__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/Results */ "./src/components/Results.jsx"); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/pages/Footprint.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - - - - -const Footprint = () => { - _s(); - - const [result, setResult] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(""); - const [change, setChange] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false); - const navigateTo = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate)(); - const plasticFootprintEstimation = [{ - title: "🐕 Small", - grocery: "I grow most of my own vegetables, or primarily buy packaging-free fruits & vegetables", - takeOut: "I cook at home most meals, and rarely order take-out", - petBottles: "I very rarely use drink vending machines", - disposables: "I make an effort to avoid plastic packaging on the items I choose from the supermarket" - }, { - title: "🐎 Medium", - grocery: "I try to avoid single-serving sizes and buy bulk-size and minimally packaged products whenever possible.", - takeOut: "I order takeout or delivery 1-2 times per month or less. ", - petBottles: "I buy no more than 1-2 drinks in PET bottles per month.", - disposables: "I carry reusable bags, water bottle/cup, cutlery, straw, etc. to avoid disposables." - }, { - title: "🐘 High", - grocery: "I appreciate that my supermarket thoroughly packages foods in plastic for freshness and sanitation", - takeOut: "I order delivery (such as Uber Eats) 1-2 times per week or more", - petBottles: "I drink 1-2 (or more) PET bottle drinks per week from vending machines, convenience stores, etc.", - disposables: "I often receive a plastic bag and/or disposable utensils at the cash register" - }]; - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex flex-col flex-grow mt-8 items-center gap-6 md:items-center md:justify-center md:mt-0 md:gap-10", - children: [!result ? /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("h1", { - className: "mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl text-center", - children: ["What is your ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("span", { - children: " " - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 49, - columnNumber: 24 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("span", { - className: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400", - children: "plastic footprint" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 50, - columnNumber: 11 - }, undefined), "?"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 48, - columnNumber: 9 - }, undefined) : /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(_components_Results__WEBPACK_IMPORTED_MODULE_2__["default"], { - result: result - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 56, - columnNumber: 9 - }, undefined), !result ? /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { - className: "flex flex-col gap-8 w-3/4 justify-center items-center md:flex-row md:gap-14 md:w-full", - children: plasticFootprintEstimation.map(card => { - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(_components_FootprintCard__WEBPACK_IMPORTED_MODULE_0__["default"], { - title: card.title, - grocery: card.grocery, - takeOut: card.takeOut, - petBottles: card.petBottles, - disposables: card.disposables, - buttonText: "Select", - setResult: setResult, - change: setChange - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 64, - columnNumber: 15 - }, undefined); - }) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 61, - columnNumber: 9 - }, undefined) : /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_3__.Button, { - size: "xl", - onClick: () => navigateTo("/tiers"), - children: "Start offsetting" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 78, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 46, - columnNumber: 5 - }, undefined); -}; - -_s(Footprint, "a4iAuax1ZCXfIhycTFnX6ag5fyQ=", false, function () { - return [react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useNavigate]; -}); - -_c = Footprint; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Footprint); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "Footprint"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/pages/OrderConfirmation.jsx": -/*!*****************************************!*\ - !*** ./src/pages/OrderConfirmation.jsx ***! - \*****************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var flowbite_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! flowbite-react */ "./node_modules/flowbite-react/lib/esm/index.js"); -/* harmony import */ var _assets_socialMediaIcons_icons8_facebook_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-facebook.svg */ "./src/assets/socialMediaIcons/icons8-facebook.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_instagram_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-instagram.svg */ "./src/assets/socialMediaIcons/icons8-instagram.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_linkedin_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-linkedin.svg */ "./src/assets/socialMediaIcons/icons8-linkedin.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_twitter_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-twitter.svg */ "./src/assets/socialMediaIcons/icons8-twitter.svg"); -/* harmony import */ var _assets_socialMediaIcons_icons8_line_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../assets/socialMediaIcons/icons8-line.svg */ "./src/assets/socialMediaIcons/icons8-line.svg"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/pages/OrderConfirmation.jsx"; - - - - - - - - -const OrderConfirmation = _ref => { - let { - tier - } = _ref; - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex flex-col flex-grow items-center justify-center", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex flex-col items-center w-1/2", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h1", { - class: "text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl text-center", - children: ["Thank you for supporting,", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("span", { - class: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400", - children: [" ", "Zach"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 14, - columnNumber: 11 - }, undefined), "!"] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 12, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("p", { - className: "w-1/2 my-8 text-xl font-normal text-center text-gray-500 dark:text-gray-400", - children: "Here at PolyZero we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth." - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 20, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 11, - columnNumber: 7 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex rounded-lg bg-slate-200 items-center px-20 py-8 gap-24", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "max-w-xs", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(flowbite_react__WEBPACK_IMPORTED_MODULE_0__.Card, { - imgSrc: tier.image, - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h5", { - className: "text-2xl font-bold tracking-tight text-gray-900 dark:text-white", - children: tier.title - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 29, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("p", { - className: "font-normal text-gray-700 dark:text-gray-400", - children: tier.description - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 32, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h5", { - className: "text-2xl font-bold tracking-tight text-gray-900 dark:text-white", - children: tier.cost - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 35, - columnNumber: 13 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 28, - columnNumber: 11 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 27, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex flex-col items-center w-1/2", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h2", { - className: "mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 dark:text-white", - children: "Share what you did:" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 41, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex gap-4", - children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_assets_socialMediaIcons_icons8_facebook_svg__WEBPACK_IMPORTED_MODULE_1__.ReactComponent, {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 45, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_assets_socialMediaIcons_icons8_instagram_svg__WEBPACK_IMPORTED_MODULE_2__.ReactComponent, {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 46, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_assets_socialMediaIcons_icons8_twitter_svg__WEBPACK_IMPORTED_MODULE_4__.ReactComponent, {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 47, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_assets_socialMediaIcons_icons8_linkedin_svg__WEBPACK_IMPORTED_MODULE_3__.ReactComponent, {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 48, - columnNumber: 13 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_assets_socialMediaIcons_icons8_line_svg__WEBPACK_IMPORTED_MODULE_5__.ReactComponent, {}, void 0, false, { - fileName: _jsxFileName, - lineNumber: 49, - columnNumber: 13 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 44, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("h2", { - className: "mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 dark:text-white", - children: "Learn more" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 52, - columnNumber: 11 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)("div", { - className: "flex gap-4" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 55, - columnNumber: 11 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 40, - columnNumber: 9 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 26, - columnNumber: 7 - }, undefined)] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 10, - columnNumber: 5 - }, undefined); -}; - -_c = OrderConfirmation; -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OrderConfirmation); - -var _c; - -__webpack_require__.$Refresh$.register(_c, "OrderConfirmation"); - -const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; -const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( - $ReactRefreshModuleId$ -); - -function $ReactRefreshModuleRuntime$(exports) { - if (true) { - let errorOverlay; - if (true) { - errorOverlay = false; - } - let testMode; - if (typeof __react_refresh_test__ !== 'undefined') { - testMode = __react_refresh_test__; - } - return __react_refresh_utils__.executeRuntime( - exports, - $ReactRefreshModuleId$, - module.hot, - errorOverlay, - testMode - ); - } -} - -if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { - $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); -} else { - $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); -} - -/***/ }), - -/***/ "./src/pages/Resources.jsx": -/*!*********************************!*\ - !*** ./src/pages/Resources.jsx ***! - \*********************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/index.js"); -/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); -/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); -__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); - -var _jsxFileName = "/Users/josh/Desktop/polyzero/src/pages/Resources.jsx", - _s = __webpack_require__.$Refresh$.signature(); - - - - - -const Resources = () => { - _s(); - - const navigateTo = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_2__.useNavigate)(); - return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { - className: " flex justify-center items-center", - children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("ul", { - className: " flex flex-row space-x-4 mx ", - children: [" ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("li", { - children: ["1", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("a", { - href: "https://timeforchange.org/plastic-bags-and-plastic-bottles-co2-emissions-during-their-lifetime/", - className: "text-blue-600 hover:text-blue-800 text-center font-light", - children: "Click here for the full report" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 12, - columnNumber: 11 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 10, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("li", { - children: "2" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 19, - columnNumber: 9 - }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("li", { - children: "3" - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 20, - columnNumber: 9 - }, undefined), " "] - }, void 0, true, { - fileName: _jsxFileName, - lineNumber: 8, - columnNumber: 7 - }, undefined) - }, void 0, false, { - fileName: _jsxFileName, - lineNumber: 7, - columnNumber: 5 - }, undefined) //
Source:
- // - // Click here for the full report - // {" "} - //Source:
- // - // Click here for the full report - // - //`silent` to turn off logging.The documents returned by this method are ordered by remote version from the provided
- * offset. If there are no more remote documents after the provided offset, documents with
- * mutations in order of batch id from the offset are returned. Since all documents in a batch are
- * returned together, the total number of documents returned can exceed {@code count}.
- *
- * @param transaction
- * @param collectionGroup The collection group for the documents.
- * @param offset The offset to index into.
- * @param count The number of documents to return
- * @return A LocalWriteResult with the documents that follow the provided offset and the last processed batch id.
- */
-
-
- getNextDocuments(t, e, n, s) {
- return this.remoteDocumentCache.getAllFromCollectionGroup(t, e, n, s).next(i => {
- const r = s - i.size > 0 ? this.documentOverlayCache.getOverlaysForCollectionGroup(t, e, n.largestBatchId, s - i.size) : Vt.resolve(fs()); // The callsite will use the largest batch ID together with the latest read time to create
- // a new index offset. Since we only process batch IDs if all remote documents have been read,
- // no overlay will increase the overall read time. This is why we only need to special case
- // the batch id.
-
- let o = -1,
- u = i;
- return r.next(e => Vt.forEach(e, (e, n) => (o < n.largestBatchId && (o = n.largestBatchId), i.get(e) ? Vt.resolve() : this.getBaseDocument(t, e, n).next(t => {
- u = u.insert(e, t);
- }))).next(() => this.populateOverlays(t, e, i)).next(() => this.computeViews(t, u, e, gs())).next(t => ({
- batchId: o,
- changes: ls(t)
- })));
- });
- }
-
- getDocumentsMatchingDocumentQuery(t, e) {
- // Just do a simple document lookup.
- return this.getDocument(t, new dt(e)).next(t => {
- let e = hs();
- return t.isFoundDocument() && (e = e.insert(t.key, t)), e;
- });
- }
-
- getDocumentsMatchingCollectionGroupQuery(t, e, n) {
- const s = e.collectionGroup;
- let i = hs();
- return this.indexManager.getCollectionParents(t, s).next(r => Vt.forEach(r, r => {
- const o = function (t, e) {
- return new rn(e,
- /*collectionGroup=*/
- null, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, t.startAt, t.endAt);
- }(e, r.child(s));
-
- return this.getDocumentsMatchingCollectionQuery(t, o, n).next(t => {
- t.forEach((t, e) => {
- i = i.insert(t, e);
- });
- });
- }).next(() => i));
- }
-
- getDocumentsMatchingCollectionQuery(t, e, n) {
- // Query the remote documents and overlay mutations.
- let s;
- return this.remoteDocumentCache.getAllFromCollection(t, e.path, n).next(i => (s = i, this.documentOverlayCache.getOverlaysForCollection(t, e.path, n.largestBatchId))).next(t => {
- // As documents might match the query because of their overlay we need to
- // include documents for all overlays in the initial document set.
- t.forEach((t, e) => {
- const n = e.getKey();
- null === s.get(n) && (s = s.insert(n, ke.newInvalidDocument(n)));
- }); // Apply the overlays and match against the query.
-
- let n = hs();
- return s.forEach((s, i) => {
- const r = t.get(s);
- void 0 !== r && Qn(r.mutation, i, Jt.empty(), ut.now()), // Finally, insert the documents that still match the query
- yn(e, i) && (n = n.insert(s, i));
- }), n;
- });
- }
- /** Returns a base document that can be used to apply `overlay`. */
-
-
- getBaseDocument(t, e, n) {
- return null === n || 1
- /* Patch */
- === n.mutation.type ? this.remoteDocumentCache.getEntry(t, e) : Vt.resolve(ke.newInvalidDocument(e));
- }
-
-}
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-class io {
- constructor(t) {
- this.It = t, this.Zn = new Map(), this.ts = new Map();
- }
-
- getBundleMetadata(t, e) {
- return Vt.resolve(this.Zn.get(e));
- }
-
- saveBundleMetadata(t, e) {
- /** Decodes a BundleMetadata proto into a BundleMetadata object. */
- var n;
- return this.Zn.set(e.id, {
- id: (n = e).id,
- version: n.version,
- createTime: Ms(n.createTime)
- }), Vt.resolve();
- }
-
- getNamedQuery(t, e) {
- return Vt.resolve(this.ts.get(e));
- }
-
- saveNamedQuery(t, e) {
- return this.ts.set(e.name, function (t) {
- return {
- name: t.name,
- query: Xi(t.bundledQuery),
- readTime: Ms(t.readTime)
- };
- }(e)), Vt.resolve();
- }
-
-}
-/**
- * @license
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * An in-memory implementation of DocumentOverlayCache.
- */
-
-
-class ro {
- constructor() {
- // A map sorted by DocumentKey, whose value is a pair of the largest batch id
- // for the overlay and the overlay itself.
- this.overlays = new Gt(dt.comparator), this.es = new Map();
- }
-
- getOverlay(t, e) {
- return Vt.resolve(this.overlays.get(e));
- }
-
- getOverlays(t, e) {
- const n = fs();
- return Vt.forEach(e, e => this.getOverlay(t, e).next(t => {
- null !== t && n.set(e, t);
- })).next(() => n);
- }
-
- saveOverlays(t, e, n) {
- return n.forEach((n, s) => {
- this.ue(t, e, s);
- }), Vt.resolve();
- }
-
- removeOverlaysForBatchId(t, e, n) {
- const s = this.es.get(n);
- return void 0 !== s && (s.forEach(t => this.overlays = this.overlays.remove(t)), this.es.delete(n)), Vt.resolve();
- }
-
- getOverlaysForCollection(t, e, n) {
- const s = fs(),
- i = e.length + 1,
- r = new dt(e.child("")),
- o = this.overlays.getIteratorFrom(r);
-
- for (; o.hasNext();) {
- const t = o.getNext().value,
- r = t.getKey();
- if (!e.isPrefixOf(r.path)) break; // Documents from sub-collections
-
- r.path.length === i && t.largestBatchId > n && s.set(t.getKey(), t);
- }
-
- return Vt.resolve(s);
- }
-
- getOverlaysForCollectionGroup(t, e, n, s) {
- let i = new Gt((t, e) => t - e);
- const r = this.overlays.getIterator();
-
- for (; r.hasNext();) {
- const t = r.getNext().value;
-
- if (t.getKey().getCollectionGroup() === e && t.largestBatchId > n) {
- let e = i.get(t.largestBatchId);
- null === e && (e = fs(), i = i.insert(t.largestBatchId, e)), e.set(t.getKey(), t);
- }
- }
-
- const o = fs(),
- u = i.getIterator();
-
- for (; u.hasNext();) {
- if (u.getNext().value.forEach((t, e) => o.set(t, e)), o.size() >= s) break;
- }
-
- return Vt.resolve(o);
- }
-
- ue(t, e, n) {
- // Remove the association of the overlay to its batch id.
- const s = this.overlays.get(n.key);
-
- if (null !== s) {
- const t = this.es.get(s.largestBatchId).delete(n.key);
- this.es.set(s.largestBatchId, t);
- }
-
- this.overlays = this.overlays.insert(n.key, new Ui(e, n)); // Create the association of this overlay to the given largestBatchId.
-
- let i = this.es.get(e);
- void 0 === i && (i = gs(), this.es.set(e, i)), this.es.set(e, i.add(n.key));
- }
-
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * A collection of references to a document from some kind of numbered entity
- * (either a target ID or batch ID). As references are added to or removed from
- * the set corresponding events are emitted to a registered garbage collector.
- *
- * Each reference is represented by a DocumentReference object. Each of them
- * contains enough information to uniquely identify the reference. They are all
- * stored primarily in a set sorted by key. A document is considered garbage if
- * there's no references in that set (this can be efficiently checked thanks to
- * sorting by key).
- *
- * ReferenceSet also keeps a secondary set that contains references sorted by
- * IDs. This one is used to efficiently implement removal of all references by
- * some target ID.
- */
-
-
-class oo {
- constructor() {
- // A set of outstanding references to a document sorted by key.
- this.ns = new Wt(uo.ss), // A set of outstanding references to a document sorted by target id.
- this.rs = new Wt(uo.os);
- }
- /** Returns true if the reference set contains no references. */
-
-
- isEmpty() {
- return this.ns.isEmpty();
- }
- /** Adds a reference to the given document key for the given ID. */
-
-
- addReference(t, e) {
- const n = new uo(t, e);
- this.ns = this.ns.add(n), this.rs = this.rs.add(n);
- }
- /** Add references to the given document keys for the given ID. */
-
-
- us(t, e) {
- t.forEach(t => this.addReference(t, e));
- }
- /**
- * Removes a reference to the given document key for the given
- * ID.
- */
-
-
- removeReference(t, e) {
- this.cs(new uo(t, e));
- }
-
- hs(t, e) {
- t.forEach(t => this.removeReference(t, e));
- }
- /**
- * Clears all references with a given ID. Calls removeRef() for each key
- * removed.
- */
-
-
- ls(t) {
- const e = new dt(new ht([])),
- n = new uo(e, t),
- s = new uo(e, t + 1),
- i = [];
- return this.rs.forEachInRange([n, s], t => {
- this.cs(t), i.push(t.key);
- }), i;
- }
-
- fs() {
- this.ns.forEach(t => this.cs(t));
- }
-
- cs(t) {
- this.ns = this.ns.delete(t), this.rs = this.rs.delete(t);
- }
-
- ds(t) {
- const e = new dt(new ht([])),
- n = new uo(e, t),
- s = new uo(e, t + 1);
- let i = gs();
- return this.rs.forEachInRange([n, s], t => {
- i = i.add(t.key);
- }), i;
- }
-
- containsKey(t) {
- const e = new uo(t, 0),
- n = this.ns.firstAfterOrEqual(e);
- return null !== n && t.isEqual(n.key);
- }
-
-}
-
-class uo {
- constructor(t, e) {
- this.key = t, this._s = e;
- }
- /** Compare by key then by ID */
-
-
- static ss(t, e) {
- return dt.comparator(t.key, e.key) || it(t._s, e._s);
- }
- /** Compare by ID then by key */
-
-
- static os(t, e) {
- return it(t._s, e._s) || dt.comparator(t.key, e.key);
- }
-
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-class co {
- constructor(t, e) {
- this.indexManager = t, this.referenceDelegate = e,
- /**
- * The set of all mutations that have been sent but not yet been applied to
- * the backend.
- */
- this.mutationQueue = [],
- /** Next value to use when assigning sequential IDs to each mutation batch. */
- this.ws = 1,
- /** An ordered mapping between documents and the mutations batch IDs. */
- this.gs = new Wt(uo.ss);
- }
-
- checkEmpty(t) {
- return Vt.resolve(0 === this.mutationQueue.length);
- }
-
- addMutationBatch(t, e, n, s) {
- const i = this.ws;
- this.ws++, this.mutationQueue.length > 0 && this.mutationQueue[this.mutationQueue.length - 1];
- const r = new Bi(i, e, n, s);
- this.mutationQueue.push(r); // Track references by document key and index collection parents.
-
- for (const e of s) this.gs = this.gs.add(new uo(e.key, i)), this.indexManager.addToCollectionParentIndex(t, e.key.path.popLast());
-
- return Vt.resolve(r);
- }
-
- lookupMutationBatch(t, e) {
- return Vt.resolve(this.ys(e));
- }
-
- getNextMutationBatchAfterBatchId(t, e) {
- const n = e + 1,
- s = this.ps(n),
- i = s < 0 ? 0 : s; // The requested batchId may still be out of range so normalize it to the
- // start of the queue.
-
- return Vt.resolve(this.mutationQueue.length > i ? this.mutationQueue[i] : null);
- }
-
- getHighestUnacknowledgedBatchId() {
- return Vt.resolve(0 === this.mutationQueue.length ? -1 : this.ws - 1);
- }
-
- getAllMutationBatches(t) {
- return Vt.resolve(this.mutationQueue.slice());
- }
-
- getAllMutationBatchesAffectingDocumentKey(t, e) {
- const n = new uo(e, 0),
- s = new uo(e, Number.POSITIVE_INFINITY),
- i = [];
- return this.gs.forEachInRange([n, s], t => {
- const e = this.ys(t._s);
- i.push(e);
- }), Vt.resolve(i);
- }
-
- getAllMutationBatchesAffectingDocumentKeys(t, e) {
- let n = new Wt(it);
- return e.forEach(t => {
- const e = new uo(t, 0),
- s = new uo(t, Number.POSITIVE_INFINITY);
- this.gs.forEachInRange([e, s], t => {
- n = n.add(t._s);
- });
- }), Vt.resolve(this.Is(n));
- }
-
- getAllMutationBatchesAffectingQuery(t, e) {
- // Use the query path as a prefix for testing if a document matches the
- // query.
- const n = e.path,
- s = n.length + 1; // Construct a document reference for actually scanning the index. Unlike
- // the prefix the document key in this reference must have an even number of
- // segments. The empty segment can be used a suffix of the query path
- // because it precedes all other segments in an ordered traversal.
-
- let i = n;
- dt.isDocumentKey(i) || (i = i.child(""));
- const r = new uo(new dt(i), 0); // Find unique batchIDs referenced by all documents potentially matching the
- // query.
-
- let o = new Wt(it);
- return this.gs.forEachWhile(t => {
- const e = t.key.path;
- return !!n.isPrefixOf(e) && ( // Rows with document keys more than one segment longer than the query
- // path can't be matches. For example, a query on 'rooms' can't match
- // the document /rooms/abc/messages/xyx.
- // TODO(mcg): we'll need a different scanner when we implement
- // ancestor queries.
- e.length === s && (o = o.add(t._s)), !0);
- }, r), Vt.resolve(this.Is(o));
- }
-
- Is(t) {
- // Construct an array of matching batches, sorted by batchID to ensure that
- // multiple mutations affecting the same document key are applied in order.
- const e = [];
- return t.forEach(t => {
- const n = this.ys(t);
- null !== n && e.push(n);
- }), e;
- }
-
- removeMutationBatch(t, e) {
- U(0 === this.Ts(e.batchId, "removed")), this.mutationQueue.shift();
- let n = this.gs;
- return Vt.forEach(e.mutations, s => {
- const i = new uo(s.key, e.batchId);
- return n = n.delete(i), this.referenceDelegate.markPotentiallyOrphaned(t, s.key);
- }).next(() => {
- this.gs = n;
- });
- }
-
- An(t) {// No-op since the memory mutation queue does not maintain a separate cache.
- }
-
- containsKey(t, e) {
- const n = new uo(e, 0),
- s = this.gs.firstAfterOrEqual(n);
- return Vt.resolve(e.isEqual(s && s.key));
- }
-
- performConsistencyCheck(t) {
- return this.mutationQueue.length, Vt.resolve();
- }
- /**
- * Finds the index of the given batchId in the mutation queue and asserts that
- * the resulting index is within the bounds of the queue.
- *
- * @param batchId - The batchId to search for
- * @param action - A description of what the caller is doing, phrased in passive
- * form (e.g. "acknowledged" in a routine that acknowledges batches).
- */
-
-
- Ts(t, e) {
- return this.ps(t);
- }
- /**
- * Finds the index of the given batchId in the mutation queue. This operation
- * is O(1).
- *
- * @returns The computed index of the batch with the given batchId, based on
- * the state of the queue. Note this index can be negative if the requested
- * batchId has already been remvoed from the queue or past the end of the
- * queue if the batchId is larger than the last added batch.
- */
-
-
- ps(t) {
- if (0 === this.mutationQueue.length) // As an index this is past the end of the queue
- return 0; // Examine the front of the queue to figure out the difference between the
- // batchId and indexes in the array. Note that since the queue is ordered
- // by batchId, if the first batch has a larger batchId then the requested
- // batchId doesn't exist in the queue.
-
- return t - this.mutationQueue[0].batchId;
- }
- /**
- * A version of lookupMutationBatch that doesn't return a promise, this makes
- * other functions that uses this code easier to read and more efficent.
- */
-
-
- ys(t) {
- const e = this.ps(t);
- if (e < 0 || e >= this.mutationQueue.length) return null;
- return this.mutationQueue[e];
- }
-
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * The memory-only RemoteDocumentCache for IndexedDb. To construct, invoke
- * `newMemoryRemoteDocumentCache()`.
- */
-
-
-class ao {
- /**
- * @param sizer - Used to assess the size of a document. For eager GC, this is
- * expected to just return 0 to avoid unnecessarily doing the work of
- * calculating the size.
- */
- constructor(t) {
- this.Es = t,
- /** Underlying cache of documents and their read times. */
- this.docs = new Gt(dt.comparator),
- /** Size of all cached documents. */
- this.size = 0;
- }
-
- setIndexManager(t) {
- this.indexManager = t;
- }
- /**
- * Adds the supplied entry to the cache and updates the cache size as appropriate.
- *
- * All calls of `addEntry` are required to go through the RemoteDocumentChangeBuffer
- * returned by `newChangeBuffer()`.
- */
-
-
- addEntry(t, e) {
- const n = e.key,
- s = this.docs.get(n),
- i = s ? s.size : 0,
- r = this.Es(e);
- return this.docs = this.docs.insert(n, {
- document: e.mutableCopy(),
- size: r
- }), this.size += r - i, this.indexManager.addToCollectionParentIndex(t, n.path.popLast());
- }
- /**
- * Removes the specified entry from the cache and updates the cache size as appropriate.
- *
- * All calls of `removeEntry` are required to go through the RemoteDocumentChangeBuffer
- * returned by `newChangeBuffer()`.
- */
-
-
- removeEntry(t) {
- const e = this.docs.get(t);
- e && (this.docs = this.docs.remove(t), this.size -= e.size);
- }
-
- getEntry(t, e) {
- const n = this.docs.get(e);
- return Vt.resolve(n ? n.document.mutableCopy() : ke.newInvalidDocument(e));
- }
-
- getEntries(t, e) {
- let n = cs();
- return e.forEach(t => {
- const e = this.docs.get(t);
- n = n.insert(t, e ? e.document.mutableCopy() : ke.newInvalidDocument(t));
- }), Vt.resolve(n);
- }
-
- getAllFromCollection(t, e, n) {
- let s = cs(); // Documents are ordered by key, so we can use a prefix scan to narrow down
- // the documents we need to match the query against.
-
- const i = new dt(e.child("")),
- r = this.docs.getIteratorFrom(i);
-
- for (; r.hasNext();) {
- const {
- key: t,
- value: {
- document: i
- }
- } = r.getNext();
- if (!e.isPrefixOf(t.path)) break;
- t.path.length > e.length + 1 || Rt(Et(i), n) <= 0 || (s = s.insert(i.key, i.mutableCopy()));
- }
-
- return Vt.resolve(s);
- }
-
- getAllFromCollectionGroup(t, e, n, s) {
- // This method should only be called from the IndexBackfiller if persistence
- // is enabled.
- L();
- }
-
- As(t, e) {
- return Vt.forEach(this.docs, t => e(t));
- }
-
- newChangeBuffer(t) {
- // `trackRemovals` is ignores since the MemoryRemoteDocumentCache keeps
- // a separate changelog and does not need special handling for removals.
- return new ho(this);
- }
-
- getSize(t) {
- return Vt.resolve(this.size);
- }
-
-}
-/**
- * Creates a new memory-only RemoteDocumentCache.
- *
- * @param sizer - Used to assess the size of a document. For eager GC, this is
- * expected to just return 0 to avoid unnecessarily doing the work of
- * calculating the size.
- */
-
-/**
- * Handles the details of adding and updating documents in the MemoryRemoteDocumentCache.
- */
-
-
-class ho extends Wr {
- constructor(t) {
- super(), this.Yn = t;
- }
-
- applyChanges(t) {
- const e = [];
- return this.changes.forEach((n, s) => {
- s.isValidDocument() ? e.push(this.Yn.addEntry(t, s)) : this.Yn.removeEntry(n);
- }), Vt.waitFor(e);
- }
-
- getFromCache(t, e) {
- return this.Yn.getEntry(t, e);
- }
-
- getAllFromCache(t, e) {
- return this.Yn.getEntries(t, e);
- }
-
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-class lo {
- constructor(t) {
- this.persistence = t,
- /**
- * Maps a target to the data about that target
- */
- this.Rs = new os(t => Fe(t), Be),
- /** The last received snapshot version. */
- this.lastRemoteSnapshotVersion = ct.min(),
- /** The highest numbered target ID encountered. */
- this.highestTargetId = 0,
- /** The highest sequence number encountered. */
- this.bs = 0,
- /**
- * A ordered bidirectional mapping between documents and the remote target
- * IDs.
- */
- this.Ps = new oo(), this.targetCount = 0, this.vs = Or.Pn();
- }
-
- forEachTarget(t, e) {
- return this.Rs.forEach((t, n) => e(n)), Vt.resolve();
- }
-
- getLastRemoteSnapshotVersion(t) {
- return Vt.resolve(this.lastRemoteSnapshotVersion);
- }
-
- getHighestSequenceNumber(t) {
- return Vt.resolve(this.bs);
- }
-
- allocateTargetId(t) {
- return this.highestTargetId = this.vs.next(), Vt.resolve(this.highestTargetId);
- }
-
- setTargetsMetadata(t, e, n) {
- return n && (this.lastRemoteSnapshotVersion = n), e > this.bs && (this.bs = e), Vt.resolve();
- }
-
- Dn(t) {
- this.Rs.set(t.target, t);
- const e = t.targetId;
- e > this.highestTargetId && (this.vs = new Or(e), this.highestTargetId = e), t.sequenceNumber > this.bs && (this.bs = t.sequenceNumber);
- }
-
- addTargetData(t, e) {
- return this.Dn(e), this.targetCount += 1, Vt.resolve();
- }
-
- updateTargetData(t, e) {
- return this.Dn(e), Vt.resolve();
- }
-
- removeTargetData(t, e) {
- return this.Rs.delete(e.target), this.Ps.ls(e.targetId), this.targetCount -= 1, Vt.resolve();
- }
-
- removeTargets(t, e, n) {
- let s = 0;
- const i = [];
- return this.Rs.forEach((r, o) => {
- o.sequenceNumber <= e && null === n.get(o.targetId) && (this.Rs.delete(r), i.push(this.removeMatchingKeysForTargetId(t, o.targetId)), s++);
- }), Vt.waitFor(i).next(() => s);
- }
-
- getTargetCount(t) {
- return Vt.resolve(this.targetCount);
- }
-
- getTargetData(t, e) {
- const n = this.Rs.get(e) || null;
- return Vt.resolve(n);
- }
-
- addMatchingKeys(t, e, n) {
- return this.Ps.us(e, n), Vt.resolve();
- }
-
- removeMatchingKeys(t, e, n) {
- this.Ps.hs(e, n);
- const s = this.persistence.referenceDelegate,
- i = [];
- return s && e.forEach(e => {
- i.push(s.markPotentiallyOrphaned(t, e));
- }), Vt.waitFor(i);
- }
-
- removeMatchingKeysForTargetId(t, e) {
- return this.Ps.ls(e), Vt.resolve();
- }
-
- getMatchingKeysForTargetId(t, e) {
- const n = this.Ps.ds(e);
- return Vt.resolve(n);
- }
-
- containsKey(t, e) {
- return Vt.resolve(this.Ps.containsKey(e));
- }
-
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * A memory-backed instance of Persistence. Data is stored only in RAM and
- * not persisted across sessions.
- */
-
-
-class fo {
- /**
- * The constructor accepts a factory for creating a reference delegate. This
- * allows both the delegate and this instance to have strong references to
- * each other without having nullable fields that would then need to be
- * checked or asserted on every access.
- */
- constructor(t, e) {
- this.Vs = {}, this.overlays = {}, this.Ss = new Lt(0), this.Ds = !1, this.Ds = !0, this.referenceDelegate = t(this), this.Cs = new lo(this);
- this.indexManager = new yr(), this.remoteDocumentCache = function (t) {
- return new ao(t);
- }(t => this.referenceDelegate.xs(t)), this.It = new Ki(e), this.Ns = new io(this.It);
- }
-
- start() {
- return Promise.resolve();
- }
-
- shutdown() {
- // No durable state to ensure is closed on shutdown.
- return this.Ds = !1, Promise.resolve();
- }
-
- get started() {
- return this.Ds;
- }
-
- setDatabaseDeletedListener() {// No op.
- }
-
- setNetworkEnabled() {// No op.
- }
-
- getIndexManager(t) {
- // We do not currently support indices for memory persistence, so we can
- // return the same shared instance of the memory index manager.
- return this.indexManager;
- }
-
- getDocumentOverlayCache(t) {
- let e = this.overlays[t.toKey()];
- return e || (e = new ro(), this.overlays[t.toKey()] = e), e;
- }
-
- getMutationQueue(t, e) {
- let n = this.Vs[t.toKey()];
- return n || (n = new co(e, this.referenceDelegate), this.Vs[t.toKey()] = n), n;
- }
-
- getTargetCache() {
- return this.Cs;
- }
-
- getRemoteDocumentCache() {
- return this.remoteDocumentCache;
- }
-
- getBundleCache() {
- return this.Ns;
- }
-
- runTransaction(t, e, n) {
- O("MemoryPersistence", "Starting transaction:", t);
- const s = new _o(this.Ss.next());
- return this.referenceDelegate.ks(), n(s).next(t => this.referenceDelegate.Ms(s).next(() => t)).toPromise().then(t => (s.raiseOnCommittedEvent(), t));
- }
-
- Os(t, e) {
- return Vt.or(Object.values(this.Vs).map(n => () => n.containsKey(t, e)));
- }
-
-}
-/**
- * Memory persistence is not actually transactional, but future implementations
- * may have transaction-scoped state.
- */
-
-
-class _o extends Pt {
- constructor(t) {
- super(), this.currentSequenceNumber = t;
- }
-
-}
-
-class wo {
- constructor(t) {
- this.persistence = t,
- /** Tracks all documents that are active in Query views. */
- this.Fs = new oo(),
- /** The list of documents that are potentially GCed after each transaction. */
- this.$s = null;
- }
-
- static Bs(t) {
- return new wo(t);
- }
-
- get Ls() {
- if (this.$s) return this.$s;
- throw L();
- }
-
- addReference(t, e, n) {
- return this.Fs.addReference(n, e), this.Ls.delete(n.toString()), Vt.resolve();
- }
-
- removeReference(t, e, n) {
- return this.Fs.removeReference(n, e), this.Ls.add(n.toString()), Vt.resolve();
- }
-
- markPotentiallyOrphaned(t, e) {
- return this.Ls.add(e.toString()), Vt.resolve();
- }
-
- removeTarget(t, e) {
- this.Fs.ls(e.targetId).forEach(t => this.Ls.add(t.toString()));
- const n = this.persistence.getTargetCache();
- return n.getMatchingKeysForTargetId(t, e.targetId).next(t => {
- t.forEach(t => this.Ls.add(t.toString()));
- }).next(() => n.removeTargetData(t, e));
- }
-
- ks() {
- this.$s = new Set();
- }
-
- Ms(t) {
- // Remove newly orphaned documents.
- const e = this.persistence.getRemoteDocumentCache().newChangeBuffer();
- return Vt.forEach(this.Ls, n => {
- const s = dt.fromPath(n);
- return this.Us(t, s).next(t => {
- t || e.removeEntry(s, ct.min());
- });
- }).next(() => (this.$s = null, e.apply(t)));
- }
-
- updateLimboDocument(t, e) {
- return this.Us(t, e).next(t => {
- t ? this.Ls.delete(e.toString()) : this.Ls.add(e.toString());
- });
- }
-
- xs(t) {
- // For eager GC, we don't care about the document size, there are no size thresholds.
- return 0;
- }
-
- Us(t, e) {
- return Vt.or([() => Vt.resolve(this.Fs.containsKey(e)), () => this.persistence.getTargetCache().containsKey(t, e), () => this.persistence.Os(t, e)]);
- }
-
-}
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/** Performs database creation and schema upgrades. */
-
-
-class mo {
- constructor(t) {
- this.It = t;
- }
- /**
- * Performs database creation and schema upgrades.
- *
- * Note that in production, this method is only ever used to upgrade the schema
- * to SCHEMA_VERSION. Different values of toVersion are only used for testing
- * and local feature development.
- */
-
-
- $(t, e, n, s) {
- const i = new St("createOrUpgrade", e);
- n < 1 && s >= 1 && (function (t) {
- t.createObjectStore("owner");
- }(t), function (t) {
- t.createObjectStore("mutationQueues", {
- keyPath: "userId"
- });
- t.createObjectStore("mutations", {
- keyPath: "batchId",
- autoIncrement: !0
- }).createIndex("userMutationsIndex", _i, {
- unique: !0
- }), t.createObjectStore("documentMutations");
- }
- /**
- * Upgrade function to migrate the 'mutations' store from V1 to V3. Loads
- * and rewrites all data.
- */
- (t), go(t), function (t) {
- t.createObjectStore("remoteDocuments");
- }(t)); // Migration 2 to populate the targetGlobal object no longer needed since
- // migration 3 unconditionally clears it.
-
- let r = Vt.resolve();
- return n < 3 && s >= 3 && ( // Brand new clients don't need to drop and recreate--only clients that
- // potentially have corrupt data.
- 0 !== n && (!function (t) {
- t.deleteObjectStore("targetDocuments"), t.deleteObjectStore("targets"), t.deleteObjectStore("targetGlobal");
- }(t), go(t)), r = r.next(() =>
- /**
- * Creates the target global singleton row.
- *
- * @param txn - The version upgrade transaction for indexeddb
- */
- function (t) {
- const e = t.store("targetGlobal"),
- n = {
- highestTargetId: 0,
- highestListenSequenceNumber: 0,
- lastRemoteSnapshotVersion: ct.min().toTimestamp(),
- targetCount: 0
- };
- return e.put("targetGlobalKey", n);
- }(i))), n < 4 && s >= 4 && (0 !== n && ( // Schema version 3 uses auto-generated keys to generate globally unique
- // mutation batch IDs (this was previously ensured internally by the
- // client). To migrate to the new schema, we have to read all mutations
- // and write them back out. We preserve the existing batch IDs to guarantee
- // consistency with other object stores. Any further mutation batch IDs will
- // be auto-generated.
- r = r.next(() => function (t, e) {
- return e.store("mutations").W().next(n => {
- t.deleteObjectStore("mutations");
- t.createObjectStore("mutations", {
- keyPath: "batchId",
- autoIncrement: !0
- }).createIndex("userMutationsIndex", _i, {
- unique: !0
- });
- const s = e.store("mutations"),
- i = n.map(t => s.put(t));
- return Vt.waitFor(i);
- });
- }(t, i))), r = r.next(() => {
- !function (t) {
- t.createObjectStore("clientMetadata", {
- keyPath: "clientId"
- });
- }(t);
- })), n < 5 && s >= 5 && (r = r.next(() => this.qs(i))), n < 6 && s >= 6 && (r = r.next(() => (function (t) {
- t.createObjectStore("remoteDocumentGlobal");
- }(t), this.Ks(i)))), n < 7 && s >= 7 && (r = r.next(() => this.Gs(i))), n < 8 && s >= 8 && (r = r.next(() => this.Qs(t, i))), n < 9 && s >= 9 && (r = r.next(() => {
- // Multi-Tab used to manage its own changelog, but this has been moved
- // to the DbRemoteDocument object store itself. Since the previous change
- // log only contained transient data, we can drop its object store.
- !function (t) {
- t.objectStoreNames.contains("remoteDocumentChanges") && t.deleteObjectStore("remoteDocumentChanges");
- }(t); // Note: Schema version 9 used to create a read time index for the
- // RemoteDocumentCache. This is now done with schema version 13.
- })), n < 10 && s >= 10 && (r = r.next(() => this.js(i))), n < 11 && s >= 11 && (r = r.next(() => {
- !function (t) {
- t.createObjectStore("bundles", {
- keyPath: "bundleId"
- });
- }(t), function (t) {
- t.createObjectStore("namedQueries", {
- keyPath: "name"
- });
- }(t);
- })), n < 12 && s >= 12 && (r = r.next(() => {
- !function (t) {
- const e = t.createObjectStore("documentOverlays", {
- keyPath: Si
- });
- e.createIndex("collectionPathOverlayIndex", Di, {
- unique: !1
- }), e.createIndex("collectionGroupOverlayIndex", Ci, {
- unique: !1
- });
- }(t);
- })), n < 13 && s >= 13 && (r = r.next(() => function (t) {
- const e = t.createObjectStore("remoteDocumentsV14", {
- keyPath: yi
- });
- e.createIndex("documentKeyIndex", pi), e.createIndex("collectionGroupIndex", Ii);
- }(t)).next(() => this.Ws(t, i)).next(() => t.deleteObjectStore("remoteDocuments"))), n < 14 && s >= 14 && (r = r.next(() => this.zs(t, i))), n < 15 && s >= 15 && (r = r.next(() => function (t) {
- t.createObjectStore("indexConfiguration", {
- keyPath: "indexId",
- autoIncrement: !0
- }).createIndex("collectionGroupIndex", "collectionGroup", {
- unique: !1
- });
- t.createObjectStore("indexState", {
- keyPath: bi
- }).createIndex("sequenceNumberIndex", Pi, {
- unique: !1
- });
- t.createObjectStore("indexEntries", {
- keyPath: vi
- }).createIndex("documentKeyIndex", Vi, {
- unique: !1
- });
- }(t))), r;
- }
-
- Ks(t) {
- let e = 0;
- return t.store("remoteDocuments").Z((t, n) => {
- e += Dr(n);
- }).next(() => {
- const n = {
- byteSize: e
- };
- return t.store("remoteDocumentGlobal").put("remoteDocumentGlobalKey", n);
- });
- }
-
- qs(t) {
- const e = t.store("mutationQueues"),
- n = t.store("mutations");
- return e.W().next(e => Vt.forEach(e, e => {
- const s = IDBKeyRange.bound([e.userId, -1], [e.userId, e.lastAcknowledgedBatchId]);
- return n.W("userMutationsIndex", s).next(n => Vt.forEach(n, n => {
- U(n.userId === e.userId);
- const s = Hi(this.It, n);
- return Sr(t, e.userId, s).next(() => {});
- }));
- }));
- }
- /**
- * Ensures that every document in the remote document cache has a corresponding sentinel row
- * with a sequence number. Missing rows are given the most recently used sequence number.
- */
-
-
- Gs(t) {
- const e = t.store("targetDocuments"),
- n = t.store("remoteDocuments");
- return t.store("targetGlobal").get("targetGlobalKey").next(t => {
- const s = [];
- return n.Z((n, i) => {
- const r = new ht(n),
- o = function (t) {
- return [0, hi(t)];
- }(r);
-
- s.push(e.get(o).next(n => n ? Vt.resolve() : (n => e.put({
- targetId: 0,
- path: hi(n),
- sequenceNumber: t.highestListenSequenceNumber
- }))(r)));
- }).next(() => Vt.waitFor(s));
- });
- }
-
- Qs(t, e) {
- // Create the index.
- t.createObjectStore("collectionParents", {
- keyPath: Ri
- });
-
- const n = e.store("collectionParents"),
- s = new pr(),
- i = t => {
- if (s.add(t)) {
- const e = t.lastSegment(),
- s = t.popLast();
- return n.put({
- collectionId: e,
- parent: hi(s)
- });
- }
- }; // Helper to add an index entry iff we haven't already written it.
- // Index existing remote documents.
-
-
- return e.store("remoteDocuments").Z({
- X: !0
- }, (t, e) => {
- const n = new ht(t);
- return i(n.popLast());
- }).next(() => e.store("documentMutations").Z({
- X: !0
- }, (_ref8, s) => {
- let [t, e, n] = _ref8;
- const r = di(e);
- return i(r.popLast());
- }));
- }
-
- js(t) {
- const e = t.store("targets");
- return e.Z((t, n) => {
- const s = Ji(n),
- i = Yi(this.It, s);
- return e.put(i);
- });
- }
-
- Ws(t, e) {
- const n = e.store("remoteDocuments"),
- s = [];
- return n.Z((t, n) => {
- const i = e.store("remoteDocumentsV14"),
- r = (o = n, o.document ? new dt(ht.fromString(o.document.name).popFirst(5)) : o.noDocument ? dt.fromSegments(o.noDocument.path) : o.unknownDocument ? dt.fromSegments(o.unknownDocument.path) : L()).path.toArray();
- var o;
- /**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
- const u = {
- prefixPath: r.slice(0, r.length - 2),
- collectionGroup: r[r.length - 2],
- documentId: r[r.length - 1],
- readTime: n.readTime || [0, 0],
- unknownDocument: n.unknownDocument,
- noDocument: n.noDocument,
- document: n.document,
- hasCommittedMutations: !!n.hasCommittedMutations
- };
- s.push(i.put(u));
- }).next(() => Vt.waitFor(s));
- }
-
- zs(t, e) {
- const n = e.store("mutations"),
- s = Hr(this.It),
- i = new fo(wo.Bs, this.It.re);
- return n.W().next(t => {
- const n = new Map();
- return t.forEach(t => {
- var e;
- let s = null !== (e = n.get(t.userId)) && void 0 !== e ? e : gs();
- Hi(this.It, t).keys().forEach(t => s = s.add(t)), n.set(t.userId, s);
- }), Vt.forEach(n, (t, n) => {
- const r = new C(n),
- o = rr.oe(this.It, r),
- u = i.getIndexManager(r),
- c = Cr.oe(r, this.It, u, i.referenceDelegate);
- return new so(s, c, o, u).recalculateAndSaveOverlaysForDocumentKeys(new Fi(e, Lt.at), t).next();
- });
- });
- }
-
-}
-
-function go(t) {
- t.createObjectStore("targetDocuments", {
- keyPath: Ei
- }).createIndex("documentTargetsIndex", Ai, {
- unique: !0
- }); // NOTE: This is unique only because the TargetId is the suffix.
-
- t.createObjectStore("targets", {
- keyPath: "targetId"
- }).createIndex("queryTargetsIndex", Ti, {
- unique: !0
- }), t.createObjectStore("targetGlobal");
-}
-
-const yo = "Failed to obtain exclusive access to the persistence layer. To allow shared access, multi-tab synchronization has to be enabled in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.";
-/**
- * Oldest acceptable age in milliseconds for client metadata before the client
- * is considered inactive and its associated data is garbage collected.
- */
-
-/**
- * An IndexedDB-backed instance of Persistence. Data is stored persistently
- * across sessions.
- *
- * On Web only, the Firestore SDKs support shared access to its persistence
- * layer. This allows multiple browser tabs to read and write to IndexedDb and
- * to synchronize state even without network connectivity. Shared access is
- * currently optional and not enabled unless all clients invoke
- * `enablePersistence()` with `{synchronizeTabs:true}`.
- *
- * In multi-tab mode, if multiple clients are active at the same time, the SDK
- * will designate one client as the “primary client”. An effort is made to pick
- * a visible, network-connected and active client, and this client is
- * responsible for letting other clients know about its presence. The primary
- * client writes a unique client-generated identifier (the client ID) to
- * IndexedDb’s “owner” store every 4 seconds. If the primary client fails to
- * update this entry, another client can acquire the lease and take over as
- * primary.
- *
- * Some persistence operations in the SDK are designated as primary-client only
- * operations. This includes the acknowledgment of mutations and all updates of
- * remote documents. The effects of these operations are written to persistence
- * and then broadcast to other tabs via LocalStorage (see
- * `WebStorageSharedClientState`), which then refresh their state from
- * persistence.
- *
- * Similarly, the primary client listens to notifications sent by secondary
- * clients to discover persistence changes written by secondary clients, such as
- * the addition of new mutations and query targets.
- *
- * If multi-tab is not enabled and another tab already obtained the primary
- * lease, IndexedDbPersistence enters a failed state and all subsequent
- * operations will automatically fail.
- *
- * Additionally, there is an optimization so that when a tab is closed, the
- * primary lease is released immediately (this is especially important to make
- * sure that a refreshed tab is able to immediately re-acquire the primary
- * lease). Unfortunately, IndexedDB cannot be reliably used in window.unload
- * since it is an asynchronous API. So in addition to attempting to give up the
- * lease, the leaseholder writes its client ID to a "zombiedClient" entry in
- * LocalStorage which acts as an indicator that another tab should go ahead and
- * take the primary lease immediately regardless of the current lease timestamp.
- *
- * TODO(b/114226234): Remove `synchronizeTabs` section when multi-tab is no
- * longer optional.
- */
-
-class po {
- constructor(
- /**
- * Whether to synchronize the in-memory state of multiple tabs and share
- * access to local persistence.
- */
- t, e, n, s, i, r, o, u, c,
- /**
- * If set to true, forcefully obtains database access. Existing tabs will
- * no longer be able to access IndexedDB.
- */
- a) {
- let h = arguments.length > 10 && arguments[10] !== undefined ? arguments[10] : 15;
- if (this.allowTabSynchronization = t, this.persistenceKey = e, this.clientId = n, this.Hs = i, this.window = r, this.document = o, this.Js = c, this.Ys = a, this.Xs = h, this.Ss = null, this.Ds = !1, this.isPrimary = !1, this.networkEnabled = !0,
- /** Our window.unload handler, if registered. */
- this.Zs = null, this.inForeground = !1,
- /** Our 'visibilitychange' listener if registered. */
- this.ti = null,
- /** The client metadata refresh task. */
- this.ei = null,
- /** The last time we garbage collected the client metadata object store. */
- this.ni = Number.NEGATIVE_INFINITY,
- /** A listener to notify on primary state changes. */
- this.si = t => Promise.resolve(), !po.C()) throw new Q(G.UNIMPLEMENTED, "This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");
- this.referenceDelegate = new Qr(this, s), this.ii = e + "main", this.It = new Ki(u), this.ri = new Dt(this.ii, this.Xs, new mo(this.It)), this.Cs = new Fr(this.referenceDelegate, this.It), this.remoteDocumentCache = Hr(this.It), this.Ns = new nr(), this.window && this.window.localStorage ? this.oi = this.window.localStorage : (this.oi = null, !1 === a && F("IndexedDbPersistence", "LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."));
- }
- /**
- * Attempt to start IndexedDb persistence.
- *
- * @returns Whether persistence was enabled.
- */
-
-
- start() {
- // NOTE: This is expected to fail sometimes (in the case of another tab
- // already having the persistence lock), so it's the first thing we should
- // do.
- return this.ui().then(() => {
- if (!this.isPrimary && !this.allowTabSynchronization) // Fail `start()` if `synchronizeTabs` is disabled and we cannot
- // obtain the primary lease.
- throw new Q(G.FAILED_PRECONDITION, yo);
- return this.ci(), this.ai(), this.hi(), this.runTransaction("getHighestListenSequenceNumber", "readonly", t => this.Cs.getHighestSequenceNumber(t));
- }).then(t => {
- this.Ss = new Lt(t, this.Js);
- }).then(() => {
- this.Ds = !0;
- }).catch(t => (this.ri && this.ri.close(), Promise.reject(t)));
- }
- /**
- * Registers a listener that gets called when the primary state of the
- * instance changes. Upon registering, this listener is invoked immediately
- * with the current primary state.
- *
- * PORTING NOTE: This is only used for Web multi-tab.
- */
-
-
- li(t) {
- return this.si = async e => {
- if (this.started) return t(e);
- }, t(this.isPrimary);
- }
- /**
- * Registers a listener that gets called when the database receives a
- * version change event indicating that it has deleted.
- *
- * PORTING NOTE: This is only used for Web multi-tab.
- */
-
-
- setDatabaseDeletedListener(t) {
- this.ri.L(async e => {
- // Check if an attempt is made to delete IndexedDB.
- null === e.newVersion && (await t());
- });
- }
- /**
- * Adjusts the current network state in the client's metadata, potentially
- * affecting the primary lease.
- *
- * PORTING NOTE: This is only used for Web multi-tab.
- */
-
-
- setNetworkEnabled(t) {
- this.networkEnabled !== t && (this.networkEnabled = t, // Schedule a primary lease refresh for immediate execution. The eventual
- // lease update will be propagated via `primaryStateListener`.
- this.Hs.enqueueAndForget(async () => {
- this.started && (await this.ui());
- }));
- }
- /**
- * Updates the client metadata in IndexedDb and attempts to either obtain or
- * extend the primary lease for the local client. Asynchronously notifies the
- * primary state listener if the client either newly obtained or released its
- * primary lease.
- */
-
-
- ui() {
- return this.runTransaction("updateClientMetadataAndTryBecomePrimary", "readwrite", t => To(t).put({
- clientId: this.clientId,
- updateTimeMs: Date.now(),
- networkEnabled: this.networkEnabled,
- inForeground: this.inForeground
- }).next(() => {
- if (this.isPrimary) return this.fi(t).next(t => {
- t || (this.isPrimary = !1, this.Hs.enqueueRetryable(() => this.si(!1)));
- });
- }).next(() => this.di(t)).next(e => this.isPrimary && !e ? this._i(t).next(() => !1) : !!e && this.wi(t).next(() => !0))).catch(t => {
- if (Nt(t)) // Proceed with the existing state. Any subsequent access to
- // IndexedDB will verify the lease.
- return O("IndexedDbPersistence", "Failed to extend owner lease: ", t), this.isPrimary;
- if (!this.allowTabSynchronization) throw t;
- return O("IndexedDbPersistence", "Releasing owner lease after error during lease refresh", t),
- /* isPrimary= */
- !1;
- }).then(t => {
- this.isPrimary !== t && this.Hs.enqueueRetryable(() => this.si(t)), this.isPrimary = t;
- });
- }
-
- fi(t) {
- return Io(t).get("owner").next(t => Vt.resolve(this.mi(t)));
- }
-
- gi(t) {
- return To(t).delete(this.clientId);
- }
- /**
- * If the garbage collection threshold has passed, prunes the
- * RemoteDocumentChanges and the ClientMetadata store based on the last update
- * time of all clients.
- */
-
-
- async yi() {
- if (this.isPrimary && !this.pi(this.ni, 18e5)) {
- this.ni = Date.now();
- const t = await this.runTransaction("maybeGarbageCollectMultiClientState", "readwrite-primary", t => {
- const e = $i(t, "clientMetadata");
- return e.W().next(t => {
- const n = this.Ii(t, 18e5),
- s = t.filter(t => -1 === n.indexOf(t)); // Delete metadata for clients that are no longer considered active.
-
- return Vt.forEach(s, t => e.delete(t.clientId)).next(() => s);
- });
- }).catch(() => []); // Delete potential leftover entries that may continue to mark the
- // inactive clients as zombied in LocalStorage.
- // Ideally we'd delete the IndexedDb and LocalStorage zombie entries for
- // the client atomically, but we can't. So we opt to delete the IndexedDb
- // entries first to avoid potentially reviving a zombied client.
-
- if (this.oi) for (const e of t) this.oi.removeItem(this.Ti(e.clientId));
- }
- }
- /**
- * Schedules a recurring timer to update the client metadata and to either
- * extend or acquire the primary lease if the client is eligible.
- */
-
-
- hi() {
- this.ei = this.Hs.enqueueAfterDelay("client_metadata_refresh"
- /* ClientMetadataRefresh */
- , 4e3, () => this.ui().then(() => this.yi()).then(() => this.hi()));
- }
- /** Checks whether `client` is the local client. */
-
-
- mi(t) {
- return !!t && t.ownerId === this.clientId;
- }
- /**
- * Evaluate the state of all active clients and determine whether the local
- * client is or can act as the holder of the primary lease. Returns whether
- * the client is eligible for the lease, but does not actually acquire it.
- * May return 'false' even if there is no active leaseholder and another
- * (foreground) client should become leaseholder instead.
- */
-
-
- di(t) {
- if (this.Ys) return Vt.resolve(!0);
- return Io(t).get("owner").next(e => {
- // A client is eligible for the primary lease if:
- // - its network is enabled and the client's tab is in the foreground.
- // - its network is enabled and no other client's tab is in the
- // foreground.
- // - every clients network is disabled and the client's tab is in the
- // foreground.
- // - every clients network is disabled and no other client's tab is in
- // the foreground.
- // - the `forceOwningTab` setting was passed in.
- if (null !== e && this.pi(e.leaseTimestampMs, 5e3) && !this.Ei(e.ownerId)) {
- if (this.mi(e) && this.networkEnabled) return !0;
-
- if (!this.mi(e)) {
- if (!e.allowTabSynchronization) // Fail the `canActAsPrimary` check if the current leaseholder has
- // not opted into multi-tab synchronization. If this happens at
- // client startup, we reject the Promise returned by
- // `enablePersistence()` and the user can continue to use Firestore
- // with in-memory persistence.
- // If this fails during a lease refresh, we will instead block the
- // AsyncQueue from executing further operations. Note that this is
- // acceptable since mixing & matching different `synchronizeTabs`
- // settings is not supported.
- // TODO(b/114226234): Remove this check when `synchronizeTabs` can
- // no longer be turned off.
- throw new Q(G.FAILED_PRECONDITION, yo);
- return !1;
- }
- }
-
- return !(!this.networkEnabled || !this.inForeground) || To(t).W().next(t => void 0 === this.Ii(t, 5e3).find(t => {
- if (this.clientId !== t.clientId) {
- const e = !this.networkEnabled && t.networkEnabled,
- n = !this.inForeground && t.inForeground,
- s = this.networkEnabled === t.networkEnabled;
- if (e || n && s) return !0;
- }
-
- return !1;
- }));
- }).next(t => (this.isPrimary !== t && O("IndexedDbPersistence", `Client ${t ? "is" : "is not"} eligible for a primary lease.`), t));
- }
-
- async shutdown() {
- // The shutdown() operations are idempotent and can be called even when
- // start() aborted (e.g. because it couldn't acquire the persistence lease).
- this.Ds = !1, this.Ai(), this.ei && (this.ei.cancel(), this.ei = null), this.Ri(), this.bi(), // Use `SimpleDb.runTransaction` directly to avoid failing if another tab
- // has obtained the primary lease.
- await this.ri.runTransaction("shutdown", "readwrite", ["owner", "clientMetadata"], t => {
- const e = new Fi(t, Lt.at);
- return this._i(e).next(() => this.gi(e));
- }), this.ri.close(), // Remove the entry marking the client as zombied from LocalStorage since
- // we successfully deleted its metadata from IndexedDb.
- this.Pi();
- }
- /**
- * Returns clients that are not zombied and have an updateTime within the
- * provided threshold.
- */
-
-
- Ii(t, e) {
- return t.filter(t => this.pi(t.updateTimeMs, e) && !this.Ei(t.clientId));
- }
- /**
- * Returns the IDs of the clients that are currently active. If multi-tab
- * is not supported, returns an array that only contains the local client's
- * ID.
- *
- * PORTING NOTE: This is only used for Web multi-tab.
- */
-
-
- vi() {
- return this.runTransaction("getActiveClients", "readonly", t => To(t).W().next(t => this.Ii(t, 18e5).map(t => t.clientId)));
- }
-
- get started() {
- return this.Ds;
- }
-
- getMutationQueue(t, e) {
- return Cr.oe(t, this.It, e, this.referenceDelegate);
- }
-
- getTargetCache() {
- return this.Cs;
- }
-
- getRemoteDocumentCache() {
- return this.remoteDocumentCache;
- }
-
- getIndexManager(t) {
- return new Tr(t, this.It.re.databaseId);
- }
-
- getDocumentOverlayCache(t) {
- return rr.oe(this.It, t);
- }
-
- getBundleCache() {
- return this.Ns;
- }
-
- runTransaction(t, e, n) {
- O("IndexedDbPersistence", "Starting transaction:", t);
- const s = "readonly" === e ? "readonly" : "readwrite",
- i = 15 === (r = this.Xs) ? Oi : 14 === r ? Mi : 13 === r ? ki : 12 === r ? Ni : 11 === r ? xi : void L();
- /** Returns the object stores for the provided schema. */
-
- var r;
- let o; // Do all transactions as readwrite against all object stores, since we
- // are the only reader/writer.
-
- return this.ri.runTransaction(t, s, i, s => (o = new Fi(s, this.Ss ? this.Ss.next() : Lt.at), "readwrite-primary" === e ? this.fi(o).next(t => !!t || this.di(o)).next(e => {
- if (!e) throw F(`Failed to obtain primary lease for action '${t}'.`), this.isPrimary = !1, this.Hs.enqueueRetryable(() => this.si(!1)), new Q(G.FAILED_PRECONDITION, bt);
- return n(o);
- }).next(t => this.wi(o).next(() => t)) : this.Vi(o).next(() => n(o)))).then(t => (o.raiseOnCommittedEvent(), t));
- }
- /**
- * Verifies that the current tab is the primary leaseholder or alternatively
- * that the leaseholder has opted into multi-tab synchronization.
- */
- // TODO(b/114226234): Remove this check when `synchronizeTabs` can no longer
- // be turned off.
-
-
- Vi(t) {
- return Io(t).get("owner").next(t => {
- if (null !== t && this.pi(t.leaseTimestampMs, 5e3) && !this.Ei(t.ownerId) && !this.mi(t) && !(this.Ys || this.allowTabSynchronization && t.allowTabSynchronization)) throw new Q(G.FAILED_PRECONDITION, yo);
- });
- }
- /**
- * Obtains or extends the new primary lease for the local client. This
- * method does not verify that the client is eligible for this lease.
- */
-
-
- wi(t) {
- const e = {
- ownerId: this.clientId,
- allowTabSynchronization: this.allowTabSynchronization,
- leaseTimestampMs: Date.now()
- };
- return Io(t).put("owner", e);
- }
-
- static C() {
- return Dt.C();
- }
- /** Checks the primary lease and removes it if we are the current primary. */
-
-
- _i(t) {
- const e = Io(t);
- return e.get("owner").next(t => this.mi(t) ? (O("IndexedDbPersistence", "Releasing primary lease."), e.delete("owner")) : Vt.resolve());
- }
- /** Verifies that `updateTimeMs` is within `maxAgeMs`. */
-
-
- pi(t, e) {
- const n = Date.now();
- return !(t < n - e) && (!(t > n) || (F(`Detected an update time that is in the future: ${t} > ${n}`), !1));
- }
-
- ci() {
- null !== this.document && "function" == typeof this.document.addEventListener && (this.ti = () => {
- this.Hs.enqueueAndForget(() => (this.inForeground = "visible" === this.document.visibilityState, this.ui()));
- }, this.document.addEventListener("visibilitychange", this.ti), this.inForeground = "visible" === this.document.visibilityState);
- }
-
- Ri() {
- this.ti && (this.document.removeEventListener("visibilitychange", this.ti), this.ti = null);
- }
- /**
- * Attaches a window.unload handler that will synchronously write our
- * clientId to a "zombie client id" location in LocalStorage. This can be used
- * by tabs trying to acquire the primary lease to determine that the lease
- * is no longer valid even if the timestamp is recent. This is particularly
- * important for the refresh case (so the tab correctly re-acquires the
- * primary lease). LocalStorage is used for this rather than IndexedDb because
- * it is a synchronous API and so can be used reliably from an unload
- * handler.
- */
-
-
- ai() {
- var t;
- "function" == typeof (null === (t = this.window) || void 0 === t ? void 0 : t.addEventListener) && (this.Zs = () => {
- // Note: In theory, this should be scheduled on the AsyncQueue since it
- // accesses internal state. We execute this code directly during shutdown
- // to make sure it gets a chance to run.
- this.Ai(), (0,_firebase_util__WEBPACK_IMPORTED_MODULE_3__.isSafari)() && navigator.appVersion.match(/Version\/1[45]/) && // On Safari 14 and 15, we do not run any cleanup actions as it might
- // trigger a bug that prevents Safari from re-opening IndexedDB during
- // the next page load.
- // See https://bugs.webkit.org/show_bug.cgi?id=226547
- this.Hs.enterRestrictedMode(
- /* purgeExistingTasks= */
- !0), this.Hs.enqueueAndForget(() => this.shutdown());
- }, this.window.addEventListener("pagehide", this.Zs));
- }
-
- bi() {
- this.Zs && (this.window.removeEventListener("pagehide", this.Zs), this.Zs = null);
- }
- /**
- * Returns whether a client is "zombied" based on its LocalStorage entry.
- * Clients become zombied when their tab closes without running all of the
- * cleanup logic in `shutdown()`.
- */
-
-
- Ei(t) {
- var e;
-
- try {
- const n = null !== (null === (e = this.oi) || void 0 === e ? void 0 : e.getItem(this.Ti(t)));
- return O("IndexedDbPersistence", `Client '${t}' ${n ? "is" : "is not"} zombied in LocalStorage`), n;
- } catch (t) {
- // Gracefully handle if LocalStorage isn't working.
- return F("IndexedDbPersistence", "Failed to get zombied client id.", t), !1;
- }
- }
- /**
- * Record client as zombied (a client that had its tab closed). Zombied
- * clients are ignored during primary tab selection.
- */
-
-
- Ai() {
- if (this.oi) try {
- this.oi.setItem(this.Ti(this.clientId), String(Date.now()));
- } catch (t) {
- // Gracefully handle if LocalStorage isn't available / working.
- F("Failed to set zombie client id.", t);
- }
- }
- /** Removes the zombied client entry if it exists. */
-
-
- Pi() {
- if (this.oi) try {
- this.oi.removeItem(this.Ti(this.clientId));
- } catch (t) {// Ignore
- }
- }
-
- Ti(t) {
- return `firestore_zombie_${this.persistenceKey}_${t}`;
- }
-
-}
-/**
- * Helper to get a typed SimpleDbStore for the primary client object store.
- */
-
-
-function Io(t) {
- return $i(t, "owner");
-}
-/**
- * Helper to get a typed SimpleDbStore for the client metadata object store.
- */
-
-
-function To(t) {
- return $i(t, "clientMetadata");
-}
-/**
- * Generates a string used as a prefix when storing data in IndexedDB and
- * LocalStorage.
- */
-
-
-function Eo(t, e) {
- // Use two different prefix formats:
- // * firestore / persistenceKey / projectID . databaseID / ...
- // * firestore / persistenceKey / projectID / ...
- // projectIDs are DNS-compatible names and cannot contain dots
- // so there's no danger of collisions.
- let n = t.projectId;
- return t.isDefaultDatabase || (n += "." + t.database), "firestore/" + e + "/" + n + "/";
-}
-/**
- * @license
- * Copyright 2017 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * A set of changes to what documents are currently in view and out of view for
- * a given query. These changes are sent to the LocalStore by the View (via
- * the SyncEngine) and are used to pin / unpin documents as appropriate.
- */
-
-
-class Ao {
- constructor(t, e, n, s) {
- this.targetId = t, this.fromCache = e, this.Si = n, this.Di = s;
- }
-
- static Ci(t, e) {
- let n = gs(),
- s = gs();
-
- for (const t of e.docChanges) switch (t.type) {
- case 0
- /* Added */
- :
- n = n.add(t.doc.key);
- break;
-
- case 1
- /* Removed */
- :
- s = s.add(t.doc.key);
- // do nothing
- }
-
- return new Ao(t, e.fromCache, n, s);
- }
-
-}
-/**
- * @license
- * Copyright 2019 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * The Firestore query engine.
- *
- * Firestore queries can be executed in three modes. The Query Engine determines
- * what mode to use based on what data is persisted. The mode only determines
- * the runtime complexity of the query - the result set is equivalent across all
- * implementations.
- *
- * The Query engine will use indexed-based execution if a user has configured
- * any index that can be used to execute query (via `setIndexConfiguration()`).
- * Otherwise, the engine will try to optimize the query by re-using a previously
- * persisted query result. If that is not possible, the query will be executed
- * via a full collection scan.
- *
- * Index-based execution is the default when available. The query engine
- * supports partial indexed execution and merges the result from the index
- * lookup with documents that have not yet been indexed. The index evaluation
- * matches the backend's format and as such, the SDK can use indexing for all
- * queries that the backend supports.
- *
- * If no index exists, the query engine tries to take advantage of the target
- * document mapping in the TargetCache. These mappings exists for all queries
- * that have been synced with the backend at least once and allow the query
- * engine to only read documents that previously matched a query plus any
- * documents that were edited after the query was last listened to.
- *
- * There are some cases when this optimization is not guaranteed to produce
- * the same results as full collection scans. In these cases, query
- * processing falls back to full scans. These cases are:
- *
- * - Limit queries where a document that matched the query previously no longer
- * matches the query.
- *
- * - Limit queries where a document edit may cause the document to sort below
- * another document that is in the local cache.
- *
- * - Queries that have never been CURRENT or free of limbo documents.
- */
-
-
-class Ro {
- constructor() {
- this.xi = !1;
- }
- /** Sets the document view to query against. */
-
-
- initialize(t, e) {
- this.Ni = t, this.indexManager = e, this.xi = !0;
- }
- /** Returns all local documents matching the specified query. */
-
-
- getDocumentsMatchingQuery(t, e, n, s) {
- return this.ki(t, e).next(i => i || this.Mi(t, e, s, n)).next(n => n || this.Oi(t, e));
- }
- /**
- * Performs an indexed query that evaluates the query based on a collection's
- * persisted index values. Returns `null` if an index is not available.
- */
-
-
- ki(t, e) {
- if (cn(e)) // Queries that match all documents don't benefit from using
- // key-based lookups. It is more efficient to scan all documents in a
- // collection, rather than to perform individual lookups.
- return Vt.resolve(null);
- let n = dn(e);
- return this.indexManager.getIndexType(t, n).next(s => 0
- /* NONE */
- === s ? null : (null !== e.limit && 1
- /* PARTIAL */
- === s && ( // We cannot apply a limit for targets that are served using a partial
- // index. If a partial index will be used to serve the target, the
- // query may return a superset of documents that match the target
- // (e.g. if the index doesn't include all the target's filters), or
- // may return the correct set of documents in the wrong order (e.g. if
- // the index doesn't include a segment for one of the orderBys).
- // Therefore, a limit should not be applied in such cases.
- e = _n(e, null, "F"
- /* First */
- ), n = dn(e)), this.indexManager.getDocumentsMatchingTarget(t, n).next(s => {
- const i = gs(...s);
- return this.Ni.getDocuments(t, i).next(s => this.indexManager.getMinOffset(t, n).next(n => {
- const r = this.Fi(e, s);
- return this.$i(e, r, i, n.readTime) ? this.ki(t, _n(e, null, "F"
- /* First */
- )) : this.Bi(t, r, e, n);
- }));
- })));
- }
- /**
- * Performs a query based on the target's persisted query mapping. Returns
- * `null` if the mapping is not available or cannot be used.
- */
-
-
- Mi(t, e, n, s) {
- return cn(e) || s.isEqual(ct.min()) ? this.Oi(t, e) : this.Ni.getDocuments(t, n).next(i => {
- const r = this.Fi(e, i);
- return this.$i(e, r, n, s) ? this.Oi(t, e) : (k() <= _firebase_logger__WEBPACK_IMPORTED_MODULE_2__.LogLevel.DEBUG && O("QueryEngine", "Re-using previous result from %s to execute query: %s", s.toString(), gn(e)), this.Bi(t, r, e, Tt(s, -1)));
- }); // Queries that have never seen a snapshot without limbo free documents
- // should also be run as a full collection scan.
- }
- /** Applies the query filter and sorting to the provided documents. */
-
-
- Fi(t, e) {
- // Sort the documents and re-apply the query filter since previously
- // matching documents do not necessarily still match the query.
- let n = new Wt(In(t));
- return e.forEach((e, s) => {
- yn(t, s) && (n = n.add(s));
- }), n;
- }
- /**
- * Determines if a limit query needs to be refilled from cache, making it
- * ineligible for index-free execution.
- *
- * @param query - The query.
- * @param sortedPreviousResults - The documents that matched the query when it
- * was last synchronized, sorted by the query's comparator.
- * @param remoteKeys - The document keys that matched the query at the last
- * snapshot.
- * @param limboFreeSnapshotVersion - The version of the snapshot when the
- * query was last synchronized.
- */
-
-
- $i(t, e, n, s) {
- if (null === t.limit) // Queries without limits do not need to be refilled.
- return !1;
- if (n.size !== e.size) // The query needs to be refilled if a previously matching document no
- // longer matches.
- return !0; // Limit queries are not eligible for index-free query execution if there is
- // a potential that an older document from cache now sorts before a document
- // that was previously part of the limit. This, however, can only happen if
- // the document at the edge of the limit goes out of limit.
- // If a document that is not the limit boundary sorts differently,
- // the boundary of the limit itself did not change and documents from cache
- // will continue to be "rejected" by this boundary. Therefore, we can ignore
- // any modifications that don't affect the last document.
-
- const i = "F"
- /* First */
- === t.limitType ? e.last() : e.first();
- return !!i && (i.hasPendingWrites || i.version.compareTo(s) > 0);
- }
-
- Oi(t, e) {
- return k() <= _firebase_logger__WEBPACK_IMPORTED_MODULE_2__.LogLevel.DEBUG && O("QueryEngine", "Using full collection scan to execute query:", gn(e)), this.Ni.getDocumentsMatchingQuery(t, e, At.min());
- }
- /**
- * Combines the results from an indexed execution with the remaining documents
- * that have not yet been indexed.
- */
-
-
- Bi(t, e, n, s) {
- // Retrieve all results for documents that were updated since the offset.
- return this.Ni.getDocumentsMatchingQuery(t, n, s).next(t => ( // Merge with existing results
- e.forEach(e => {
- t = t.insert(e.key, e);
- }), t));
- }
-
-}
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Implements `LocalStore` interface.
- *
- * Note: some field defined in this class might have public access level, but
- * the class is not exported so they are only accessible from this module.
- * This is useful to implement optional features (like bundles) in free
- * functions, such that they are tree-shakeable.
- */
-
-
-class bo {
- constructor(
- /** Manages our in-memory or durable persistence. */
- t, e, n, s) {
- this.persistence = t, this.Li = e, this.It = s,
- /**
- * Maps a targetID to data about its target.
- *
- * PORTING NOTE: We are using an immutable data structure on Web to make re-runs
- * of `applyRemoteEvent()` idempotent.
- */
- this.Ui = new Gt(it),
- /** Maps a target to its targetID. */
- // TODO(wuandy): Evaluate if TargetId can be part of Target.
- this.qi = new os(t => Fe(t), Be),
- /**
- * A per collection group index of the last read time processed by
- * `getNewDocumentChanges()`.
- *
- * PORTING NOTE: This is only used for multi-tab synchronization.
- */
- this.Ki = new Map(), this.Gi = t.getRemoteDocumentCache(), this.Cs = t.getTargetCache(), this.Ns = t.getBundleCache(), this.Qi(n);
- }
-
- Qi(t) {
- // TODO(indexing): Add spec tests that test these components change after a
- // user change
- this.documentOverlayCache = this.persistence.getDocumentOverlayCache(t), this.indexManager = this.persistence.getIndexManager(t), this.mutationQueue = this.persistence.getMutationQueue(t, this.indexManager), this.localDocuments = new so(this.Gi, this.mutationQueue, this.documentOverlayCache, this.indexManager), this.Gi.setIndexManager(this.indexManager), this.Li.initialize(this.localDocuments, this.indexManager);
- }
-
- collectGarbage(t) {
- return this.persistence.runTransaction("Collect garbage", "readwrite-primary", e => t.collect(e, this.Ui));
- }
-
-}
-
-function Po(
-/** Manages our in-memory or durable persistence. */
-t, e, n, s) {
- return new bo(t, e, n, s);
-}
-/**
- * Tells the LocalStore that the currently authenticated user has changed.
- *
- * In response the local store switches the mutation queue to the new user and
- * returns any resulting document changes.
- */
-// PORTING NOTE: Android and iOS only return the documents affected by the
-// change.
-
-
-async function vo(t, e) {
- const n = K(t);
- return await n.persistence.runTransaction("Handle user change", "readonly", t => {
- // Swap out the mutation queue, grabbing the pending mutation batches
- // before and after.
- let s;
- return n.mutationQueue.getAllMutationBatches(t).next(i => (s = i, n.Qi(e), n.mutationQueue.getAllMutationBatches(t))).next(e => {
- const i = [],
- r = []; // Union the old/new changed keys.
-
- let o = gs();
-
- for (const t of s) {
- i.push(t.batchId);
-
- for (const e of t.mutations) o = o.add(e.key);
- }
-
- for (const t of e) {
- r.push(t.batchId);
-
- for (const e of t.mutations) o = o.add(e.key);
- } // Return the set of all (potentially) changed documents and the list
- // of mutation batch IDs that were affected by change.
-
-
- return n.localDocuments.getDocuments(t, o).next(t => ({
- ji: t,
- removedBatchIds: i,
- addedBatchIds: r
- }));
- });
- });
-}
-/* Accepts locally generated Mutations and commit them to storage. */
-
-/**
- * Acknowledges the given batch.
- *
- * On the happy path when a batch is acknowledged, the local store will
- *
- * + remove the batch from the mutation queue;
- * + apply the changes to the remote document cache;
- * + recalculate the latency compensated view implied by those changes (there
- * may be mutations in the queue that affect the documents but haven't been
- * acknowledged yet); and
- * + give the changed documents back the sync engine
- *
- * @returns The resulting (modified) documents.
- */
-
-
-function Vo(t, e) {
- const n = K(t);
- return n.persistence.runTransaction("Acknowledge batch", "readwrite-primary", t => {
- const s = e.batch.keys(),
- i = n.Gi.newChangeBuffer({
- trackRemovals: !0
- });
- return function (t, e, n, s) {
- const i = n.batch,
- r = i.keys();
- let o = Vt.resolve();
- return r.forEach(t => {
- o = o.next(() => s.getEntry(e, t)).next(e => {
- const r = n.docVersions.get(t);
- U(null !== r), e.version.compareTo(r) < 0 && (i.applyToRemoteDocument(e, n), e.isValidDocument() && ( // We use the commitVersion as the readTime rather than the
- // document's updateTime since the updateTime is not advanced
- // for updates that do not modify the underlying document.
- e.setReadTime(n.commitVersion), s.addEntry(e)));
- });
- }), o.next(() => t.mutationQueue.removeMutationBatch(e, i));
- }
- /** Returns the local view of the documents affected by a mutation batch. */
- // PORTING NOTE: Multi-Tab only.
- (n, t, e, i).next(() => i.apply(t)).next(() => n.mutationQueue.performConsistencyCheck(t)).next(() => n.documentOverlayCache.removeOverlaysForBatchId(t, s, e.batch.batchId)).next(() => n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(t, function (t) {
- let e = gs();
-
- for (let n = 0; n < t.mutationResults.length; ++n) {
- t.mutationResults[n].transformResults.length > 0 && (e = e.add(t.batch.mutations[n].key));
- }
-
- return e;
- }
- /**
- * Removes mutations from the MutationQueue for the specified batch;
- * LocalDocuments will be recalculated.
- *
- * @returns The resulting modified documents.
- */
- (e))).next(() => n.localDocuments.getDocuments(t, s));
- });
-}
-/**
- * Returns the last consistent snapshot processed (used by the RemoteStore to
- * determine whether to buffer incoming snapshots from the backend).
- */
-
-
-function So(t) {
- const e = K(t);
- return e.persistence.runTransaction("Get last remote snapshot version", "readonly", t => e.Cs.getLastRemoteSnapshotVersion(t));
-}
-/**
- * Updates the "ground-state" (remote) documents. We assume that the remote
- * event reflects any write batches that have been acknowledged or rejected
- * (i.e. we do not re-apply local mutations to updates from this event).
- *
- * LocalDocuments are re-calculated if there are remaining mutations in the
- * queue.
- */
-
-
-function Do(t, e) {
- const n = K(t),
- s = e.snapshotVersion;
- let i = n.Ui;
- return n.persistence.runTransaction("Apply remote event", "readwrite-primary", t => {
- const r = n.Gi.newChangeBuffer({
- trackRemovals: !0
- }); // Reset newTargetDataByTargetMap in case this transaction gets re-run.
-
- i = n.Ui;
- const o = [];
- e.targetChanges.forEach((r, u) => {
- const c = i.get(u);
- if (!c) return; // Only update the remote keys if the target is still active. This
- // ensures that we can persist the updated target data along with
- // the updated assignment.
-
- o.push(n.Cs.removeMatchingKeys(t, r.removedDocuments, u).next(() => n.Cs.addMatchingKeys(t, r.addedDocuments, u)));
- let a = c.withSequenceNumber(t.currentSequenceNumber);
- e.targetMismatches.has(u) ? a = a.withResumeToken(Xt.EMPTY_BYTE_STRING, ct.min()).withLastLimboFreeSnapshotVersion(ct.min()) : r.resumeToken.approximateByteSize() > 0 && (a = a.withResumeToken(r.resumeToken, s)), i = i.insert(u, a), // Update the target data if there are target changes (or if
- // sufficient time has passed since the last update).
-
- /**
- * Returns true if the newTargetData should be persisted during an update of
- * an active target. TargetData should always be persisted when a target is
- * being released and should not call this function.
- *
- * While the target is active, TargetData updates can be omitted when nothing
- * about the target has changed except metadata like the resume token or
- * snapshot version. Occasionally it's worth the extra write to prevent these
- * values from getting too stale after a crash, but this doesn't have to be
- * too frequent.
- */
- function (t, e, n) {
- // Always persist target data if we don't already have a resume token.
- if (0 === t.resumeToken.approximateByteSize()) return !0; // Don't allow resume token changes to be buffered indefinitely. This
- // allows us to be reasonably up-to-date after a crash and avoids needing
- // to loop over all active queries on shutdown. Especially in the browser
- // we may not get time to do anything interesting while the current tab is
- // closing.
-
- if (e.snapshotVersion.toMicroseconds() - t.snapshotVersion.toMicroseconds() >= 3e8) return !0; // Otherwise if the only thing that has changed about a target is its resume
- // token it's not worth persisting. Note that the RemoteStore keeps an
- // in-memory view of the currently active targets which includes the current
- // resume token, so stream failure or user changes will still use an
- // up-to-date resume token regardless of what we do here.
-
- return n.addedDocuments.size + n.modifiedDocuments.size + n.removedDocuments.size > 0;
- }
- /**
- * Notifies local store of the changed views to locally pin documents.
- */
- (c, a, r) && o.push(n.Cs.updateTargetData(t, a));
- });
- let u = cs(),
- c = gs(); // HACK: The only reason we allow a null snapshot version is so that we
- // can synthesize remote events when we get permission denied errors while
- // trying to resolve the state of a locally cached document that is in
- // limbo.
-
- if (e.documentUpdates.forEach(s => {
- e.resolvedLimboDocuments.has(s) && o.push(n.persistence.referenceDelegate.updateLimboDocument(t, s));
- }), // Each loop iteration only affects its "own" doc, so it's safe to get all
- // the remote documents in advance in a single call.
- o.push(Co(t, r, e.documentUpdates).next(t => {
- u = t.Wi, c = t.zi;
- })), !s.isEqual(ct.min())) {
- const e = n.Cs.getLastRemoteSnapshotVersion(t).next(e => n.Cs.setTargetsMetadata(t, t.currentSequenceNumber, s));
- o.push(e);
- }
-
- return Vt.waitFor(o).next(() => r.apply(t)).next(() => n.localDocuments.getLocalViewOfDocuments(t, u, c)).next(() => u);
- }).then(t => (n.Ui = i, t));
-}
-/**
- * Populates document change buffer with documents from backend or a bundle.
- * Returns the document changes resulting from applying those documents, and
- * also a set of documents whose existence state are changed as a result.
- *
- * @param txn - Transaction to use to read existing documents from storage.
- * @param documentBuffer - Document buffer to collect the resulted changes to be
- * applied to storage.
- * @param documents - Documents to be applied.
- */
-
-
-function Co(t, e, n) {
- let s = gs(),
- i = gs();
- return n.forEach(t => s = s.add(t)), e.getEntries(t, s).next(t => {
- let s = cs();
- return n.forEach((n, r) => {
- const o = t.get(n); // Check if see if there is a existence state change for this document.
-
- r.isFoundDocument() !== o.isFoundDocument() && (i = i.add(n)), // Note: The order of the steps below is important, since we want
- // to ensure that rejected limbo resolutions (which fabricate
- // NoDocuments with SnapshotVersion.min()) never add documents to
- // cache.
- r.isNoDocument() && r.version.isEqual(ct.min()) ? ( // NoDocuments with SnapshotVersion.min() are used in manufactured
- // events. We remove these documents from cache since we lost
- // access.
- e.removeEntry(n, r.readTime), s = s.insert(n, r)) : !o.isValidDocument() || r.version.compareTo(o.version) > 0 || 0 === r.version.compareTo(o.version) && o.hasPendingWrites ? (e.addEntry(r), s = s.insert(n, r)) : O("LocalStore", "Ignoring outdated watch update for ", n, ". Current version:", o.version, " Watch version:", r.version);
- }), {
- Wi: s,
- zi: i
- };
- });
-}
-/**
- * Gets the mutation batch after the passed in batchId in the mutation queue
- * or null if empty.
- * @param afterBatchId - If provided, the batch to search after.
- * @returns The next mutation or null if there wasn't one.
- */
-
-
-function xo(t, e) {
- const n = K(t);
- return n.persistence.runTransaction("Get next mutation batch", "readonly", t => (void 0 === e && (e = -1), n.mutationQueue.getNextMutationBatchAfterBatchId(t, e)));
-}
-/**
- * Reads the current value of a Document with a given key or null if not
- * found - used for testing.
- */
-
-/**
- * Assigns the given target an internal ID so that its results can be pinned so
- * they don't get GC'd. A target must be allocated in the local store before
- * the store can be used to manage its view.
- *
- * Allocating an already allocated `Target` will return the existing `TargetData`
- * for that `Target`.
- */
-
-
-function No(t, e) {
- const n = K(t);
- return n.persistence.runTransaction("Allocate target", "readwrite", t => {
- let s;
- return n.Cs.getTargetData(t, e).next(i => i ? ( // This target has been listened to previously, so reuse the
- // previous targetID.
- // TODO(mcg): freshen last accessed date?
- s = i, Vt.resolve(s)) : n.Cs.allocateTargetId(t).next(i => (s = new qi(e, i, 0
- /* Listen */
- , t.currentSequenceNumber), n.Cs.addTargetData(t, s).next(() => s))));
- }).then(t => {
- // If Multi-Tab is enabled, the existing target data may be newer than
- // the in-memory data
- const s = n.Ui.get(t.targetId);
- return (null === s || t.snapshotVersion.compareTo(s.snapshotVersion) > 0) && (n.Ui = n.Ui.insert(t.targetId, t), n.qi.set(e, t.targetId)), t;
- });
-}
-/**
- * Returns the TargetData as seen by the LocalStore, including updates that may
- * have not yet been persisted to the TargetCache.
- */
-// Visible for testing.
-
-/**
- * Unpins all the documents associated with the given target. If
- * `keepPersistedTargetData` is set to false and Eager GC enabled, the method
- * directly removes the associated target data from the target cache.
- *
- * Releasing a non-existing `Target` is a no-op.
- */
-// PORTING NOTE: `keepPersistedTargetData` is multi-tab only.
-
-
-async function ko(t, e, n) {
- const s = K(t),
- i = s.Ui.get(e),
- r = n ? "readwrite" : "readwrite-primary";
-
- try {
- n || (await s.persistence.runTransaction("Release target", r, t => s.persistence.referenceDelegate.removeTarget(t, i)));
- } catch (t) {
- if (!Nt(t)) throw t; // All `releaseTarget` does is record the final metadata state for the
- // target, but we've been recording this periodically during target
- // activity. If we lose this write this could cause a very slight
- // difference in the order of target deletion during GC, but we
- // don't define exact LRU semantics so this is acceptable.
-
- O("LocalStore", `Failed to update sequence numbers for target ${e}: ${t}`);
- }
-
- s.Ui = s.Ui.remove(e), s.qi.delete(i.target);
-}
-/**
- * Runs the specified query against the local store and returns the results,
- * potentially taking advantage of query data from previous executions (such
- * as the set of remote keys).
- *
- * @param usePreviousResults - Whether results from previous executions can
- * be used to optimize this query execution.
- */
-
-
-function Mo(t, e, n) {
- const s = K(t);
- let i = ct.min(),
- r = gs();
- return s.persistence.runTransaction("Execute query", "readonly", t => function (t, e, n) {
- const s = K(t),
- i = s.qi.get(n);
- return void 0 !== i ? Vt.resolve(s.Ui.get(i)) : s.Cs.getTargetData(e, n);
- }(s, t, dn(e)).next(e => {
- if (e) return i = e.lastLimboFreeSnapshotVersion, s.Cs.getMatchingKeysForTargetId(t, e.targetId).next(t => {
- r = t;
- });
- }).next(() => s.Li.getDocumentsMatchingQuery(t, e, n ? i : ct.min(), n ? r : gs())).next(t => ($o(s, pn(e), t), {
- documents: t,
- Hi: r
- })));
-} // PORTING NOTE: Multi-Tab only.
-
-
-function Oo(t, e) {
- const n = K(t),
- s = K(n.Cs),
- i = n.Ui.get(e);
- return i ? Promise.resolve(i.target) : n.persistence.runTransaction("Get target data", "readonly", t => s.se(t, e).next(t => t ? t.target : null));
-}
-/**
- * Returns the set of documents that have been updated since the last call.
- * If this is the first call, returns the set of changes since client
- * initialization. Further invocations will return document that have changed
- * since the prior call.
- */
-// PORTING NOTE: Multi-Tab only.
-
-
-function Fo(t, e) {
- const n = K(t),
- s = n.Ki.get(e) || ct.min(); // Get the current maximum read time for the collection. This should always
- // exist, but to reduce the chance for regressions we default to
- // SnapshotVersion.Min()
- // TODO(indexing): Consider removing the default value.
-
- return n.persistence.runTransaction("Get new document changes", "readonly", t => n.Gi.getAllFromCollectionGroup(t, e, Tt(s, -1),
- /* limit= */
- Number.MAX_SAFE_INTEGER)).then(t => ($o(n, e, t), t));
-}
-/** Sets the collection group's maximum read time from the given documents. */
-// PORTING NOTE: Multi-Tab only.
-
-
-function $o(t, e, n) {
- let s = ct.min();
- n.forEach((t, e) => {
- e.readTime.compareTo(s) > 0 && (s = e.readTime);
- }), t.Ki.set(e, s);
-}
-/**
- * Creates a new target using the given bundle name, which will be used to
- * hold the keys of all documents from the bundle in query-document mappings.
- * This ensures that the loaded documents do not get garbage collected
- * right away.
- */
-
-/**
- * Applies the documents from a bundle to the "ground-state" (remote)
- * documents.
- *
- * LocalDocuments are re-calculated if there are remaining mutations in the
- * queue.
- */
-
-
-async function Bo(t, e, n, s) {
- const i = K(t);
- let r = gs(),
- o = cs();
-
- for (const t of n) {
- const n = e.Ji(t.metadata.name);
- t.document && (r = r.add(n));
- const s = e.Yi(t);
- s.setReadTime(e.Xi(t.metadata.readTime)), o = o.insert(n, s);
- }
-
- const u = i.Gi.newChangeBuffer({
- trackRemovals: !0
- }),
- c = await No(i, function (t) {
- // It is OK that the path used for the query is not valid, because this will
- // not be read and queried.
- return dn(un(ht.fromString(`__bundle__/docs/${t}`)));
- }(s)); // Allocates a target to hold all document keys from the bundle, such that
- // they will not get garbage collected right away.
-
- return i.persistence.runTransaction("Apply bundle documents", "readwrite", t => Co(t, u, o).next(e => (u.apply(t), e)).next(e => i.Cs.removeMatchingKeysForTargetId(t, c.targetId).next(() => i.Cs.addMatchingKeys(t, r, c.targetId)).next(() => i.localDocuments.getLocalViewOfDocuments(t, e.Wi, e.zi)).next(() => e.Wi)));
-}
-/**
- * Returns a promise of a boolean to indicate if the given bundle has already
- * been loaded and the create time is newer than the current loading bundle.
- */
-
-/**
- * Saves the given `NamedQuery` to local persistence.
- */
-
-
-async function Lo(t, e) {
- let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : gs();
- // Allocate a target for the named query such that it can be resumed
- // from associated read time if users use it to listen.
- // NOTE: this also means if no corresponding target exists, the new target
- // will remain active and will not get collected, unless users happen to
- // unlisten the query somehow.
- const s = await No(t, dn(Xi(e.bundledQuery))),
- i = K(t);
- return i.persistence.runTransaction("Save named query", "readwrite", t => {
- const r = Ms(e.readTime); // Simply save the query itself if it is older than what the SDK already
- // has.
-
- if (s.snapshotVersion.compareTo(r) >= 0) return i.Ns.saveNamedQuery(t, e); // Update existing target data because the query from the bundle is newer.
-
- const o = s.withResumeToken(Xt.EMPTY_BYTE_STRING, r);
- return i.Ui = i.Ui.insert(o.targetId, o), i.Cs.updateTargetData(t, o).next(() => i.Cs.removeMatchingKeysForTargetId(t, s.targetId)).next(() => i.Cs.addMatchingKeys(t, n, s.targetId)).next(() => i.Ns.saveNamedQuery(t, e));
- });
-}
-/** Assembles the key for a client state in WebStorage */
-
-
-function Uo(t, e) {
- return `firestore_clients_${t}_${e}`;
-} // The format of the WebStorage key that stores the mutation state is:
-// firestore_mutations_ Visible for testing
- */
-
-const MAX_VALUE_MILLIS = 4 * 60 * 60 * 1000; // Four hours, like iOS and Android.
-
-/**
- * The percentage of backoff time to randomize by.
- * See
- * http://go/safe-client-behavior#step-1-determine-the-appropriate-retry-interval-to-handle-spike-traffic
- * for context.
- *
- * Visible for testing
- */
-
-const RANDOM_FACTOR = 0.5;
-/**
- * Based on the backoff method from
- * https://github.com/google/closure-library/blob/master/closure/goog/math/exponentialbackoff.js.
- * Extracted here so we don't need to pass metadata and a stateful ExponentialBackoff object around.
- */
-
-function calculateBackoffMillis(backoffCount) {
- let intervalMillis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_INTERVAL_MILLIS;
- let backoffFactor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_BACKOFF_FACTOR;
- // Calculates an exponentially increasing value.
- // Deviation: calculates value from count and a constant interval, so we only need to save value
- // and count to restore state.
- const currBaseValue = intervalMillis * Math.pow(backoffFactor, backoffCount); // A random "fuzz" to avoid waves of retries.
- // Deviation: randomFactor is required.
-
- const randomWait = Math.round( // A fraction of the backoff value to add/subtract.
- // Deviation: changes multiplication order to improve readability.
- RANDOM_FACTOR * currBaseValue * ( // A random float (rounded to int by Math.round above) in the range [-1, 1]. Determines
- // if we add or subtract.
- Math.random() - 0.5) * 2); // Limits backoff to max to avoid effectively permanent backoff.
-
- return Math.min(MAX_VALUE_MILLIS, currBaseValue + randomWait);
-}
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Provide English ordinal letters after a number
- */
-
-
-function ordinal(i) {
- if (!Number.isFinite(i)) {
- return `${i}`;
- }
-
- return i + indicator(i);
-}
-
-function indicator(i) {
- i = Math.abs(i);
- const cent = i % 100;
-
- if (cent >= 10 && cent <= 20) {
- return 'th';
- }
-
- const dec = i % 10;
-
- if (dec === 1) {
- return 'st';
- }
-
- if (dec === 2) {
- return 'nd';
- }
-
- if (dec === 3) {
- return 'rd';
- }
-
- return 'th';
-}
-/**
- * @license
- * Copyright 2021 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-function getModularInstance(service) {
- if (service && service._delegate) {
- return service._delegate;
- } else {
- return service;
- }
-}
-
-
-
-/***/ }),
-
-/***/ "./node_modules/@firebase/webchannel-wrapper/dist/index.esm2017.js":
-/*!*************************************************************************!*\
- !*** ./node_modules/@firebase/webchannel-wrapper/dist/index.esm2017.js ***!
- \*************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ErrorCode": () => (/* binding */ ErrorCode),
-/* harmony export */ "Event": () => (/* binding */ Event),
-/* harmony export */ "EventType": () => (/* binding */ EventType),
-/* harmony export */ "FetchXmlHttpFactory": () => (/* binding */ FetchXmlHttpFactory),
-/* harmony export */ "Stat": () => (/* binding */ Stat),
-/* harmony export */ "WebChannel": () => (/* binding */ WebChannel),
-/* harmony export */ "XhrIo": () => (/* binding */ XhrIo),
-/* harmony export */ "createWebChannelTransport": () => (/* binding */ createWebChannelTransport),
-/* harmony export */ "default": () => (/* binding */ esm),
-/* harmony export */ "getStatEventTarget": () => (/* binding */ getStatEventTarget)
-/* harmony export */ });
-var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof self !== 'undefined' ? self : {};
-var esm = {};
-/*
-
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
-*/
-
-var k,
- goog = goog || {},
- l = commonjsGlobal || self;
-
-function aa() {}
-
-function ba(a) {
- var b = typeof a;
- b = "object" != b ? b : a ? Array.isArray(a) ? "array" : b : "null";
- return "array" == b || "object" == b && "number" == typeof a.length;
-}
-
-function p(a) {
- var b = typeof a;
- return "object" == b && null != a || "function" == b;
-}
-
-function da(a) {
- return Object.prototype.hasOwnProperty.call(a, ea) && a[ea] || (a[ea] = ++fa);
-}
-
-var ea = "closure_uid_" + (1E9 * Math.random() >>> 0),
- fa = 0;
-
-function ha(a, b, c) {
- return a.call.apply(a.bind, arguments);
-}
-
-function ia(a, b, c) {
- if (!a) throw Error();
-
- if (2 < arguments.length) {
- var d = Array.prototype.slice.call(arguments, 2);
- return function () {
- var e = Array.prototype.slice.call(arguments);
- Array.prototype.unshift.apply(e, d);
- return a.apply(b, e);
- };
- }
-
- return function () {
- return a.apply(b, arguments);
- };
-}
-
-function q(a, b, c) {
- Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? q = ha : q = ia;
- return q.apply(null, arguments);
-}
-
-function ja(a, b) {
- var c = Array.prototype.slice.call(arguments, 1);
- return function () {
- var d = c.slice();
- d.push.apply(d, arguments);
- return a.apply(this, d);
- };
-}
-
-function t(a, b) {
- function c() {}
-
- c.prototype = b.prototype;
- a.Z = b.prototype;
- a.prototype = new c();
- a.prototype.constructor = a;
-
- a.Vb = function (d, e, f) {
- for (var h = Array(arguments.length - 2), n = 2; n < arguments.length; n++) h[n - 2] = arguments[n];
-
- return b.prototype[e].apply(d, h);
- };
-}
-
-function v() {
- this.s = this.s;
- this.o = this.o;
-}
-
-var ka = 0,
- la = {};
-v.prototype.s = !1;
-
-v.prototype.na = function () {
- if (!this.s && (this.s = !0, this.M(), 0 != ka)) {
- var a = da(this);
- delete la[a];
- }
-};
-
-v.prototype.M = function () {
- if (this.o) for (; this.o.length;) this.o.shift()();
-};
-
-const ma = Array.prototype.indexOf ? function (a, b) {
- return Array.prototype.indexOf.call(a, b, void 0);
-} : function (a, b) {
- if ("string" === typeof a) return "string" !== typeof b || 1 != b.length ? -1 : a.indexOf(b, 0);
-
- for (let c = 0; c < a.length; c++) if (c in a && a[c] === b) return c;
-
- return -1;
-},
- na = Array.prototype.forEach ? function (a, b, c) {
- Array.prototype.forEach.call(a, b, c);
-} : function (a, b, c) {
- const d = a.length,
- e = "string" === typeof a ? a.split("") : a;
-
- for (let f = 0; f < d; f++) f in e && b.call(c, e[f], f, a);
-};
-
-function oa(a) {
- a: {
- var b = pa;
- const c = a.length,
- d = "string" === typeof a ? a.split("") : a;
-
- for (let e = 0; e < c; e++) if (e in d && b.call(void 0, d[e], e, a)) {
- b = e;
- break a;
- }
-
- b = -1;
- }
-
- return 0 > b ? null : "string" === typeof a ? a.charAt(b) : a[b];
-}
-
-function qa(a) {
- return Array.prototype.concat.apply([], arguments);
-}
-
-function ra(a) {
- const b = a.length;
-
- if (0 < b) {
- const c = Array(b);
-
- for (let d = 0; d < b; d++) c[d] = a[d];
-
- return c;
- }
-
- return [];
-}
-
-function sa(a) {
- return /^[\s\xa0]*$/.test(a);
-}
-
-var ta = String.prototype.trim ? function (a) {
- return a.trim();
-} : function (a) {
- return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1];
-};
-
-function w(a, b) {
- return -1 != a.indexOf(b);
-}
-
-function ua(a, b) {
- return a < b ? -1 : a > b ? 1 : 0;
-}
-
-var x;
-
-a: {
- var va = l.navigator;
-
- if (va) {
- var wa = va.userAgent;
-
- if (wa) {
- x = wa;
- break a;
- }
- }
-
- x = "";
-}
-
-function xa(a, b, c) {
- for (const d in a) b.call(c, a[d], d, a);
-}
-
-function ya(a) {
- const b = {};
-
- for (const c in a) b[c] = a[c];
-
- return b;
-}
-
-var za = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
-
-function Aa(a, b) {
- let c, d;
-
- for (let e = 1; e < arguments.length; e++) {
- d = arguments[e];
-
- for (c in d) a[c] = d[c];
-
- for (let f = 0; f < za.length; f++) c = za[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
- }
-}
-
-function Ca(a) {
- Ca[" "](a);
- return a;
-}
-
-Ca[" "] = aa;
-
-function Fa(a) {
- var b = Ga;
- return Object.prototype.hasOwnProperty.call(b, 9) ? b[9] : b[9] = a(9);
-}
-
-var Ha = w(x, "Opera"),
- y = w(x, "Trident") || w(x, "MSIE"),
- Ia = w(x, "Edge"),
- Ja = Ia || y,
- Ka = w(x, "Gecko") && !(w(x.toLowerCase(), "webkit") && !w(x, "Edge")) && !(w(x, "Trident") || w(x, "MSIE")) && !w(x, "Edge"),
- La = w(x.toLowerCase(), "webkit") && !w(x, "Edge");
-
-function Ma() {
- var a = l.document;
- return a ? a.documentMode : void 0;
-}
-
-var Na;
-
-a: {
- var Oa = "",
- Pa = function () {
- var a = x;
- if (Ka) return /rv:([^\);]+)(\)|;)/.exec(a);
- if (Ia) return /Edge\/([\d\.]+)/.exec(a);
- if (y) return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);
- if (La) return /WebKit\/(\S+)/.exec(a);
- if (Ha) return /(?:Version)[ \/]?(\S+)/.exec(a);
- }();
-
- Pa && (Oa = Pa ? Pa[1] : "");
-
- if (y) {
- var Qa = Ma();
-
- if (null != Qa && Qa > parseFloat(Oa)) {
- Na = String(Qa);
- break a;
- }
- }
-
- Na = Oa;
-}
-
-var Ga = {};
-
-function Ra() {
- return Fa(function () {
- let a = 0;
- const b = ta(String(Na)).split("."),
- c = ta("9").split("."),
- d = Math.max(b.length, c.length);
-
- for (let h = 0; 0 == a && h < d; h++) {
- var e = b[h] || "",
- f = c[h] || "";
-
- do {
- e = /(\d*)(\D*)(.*)/.exec(e) || ["", "", "", ""];
- f = /(\d*)(\D*)(.*)/.exec(f) || ["", "", "", ""];
- if (0 == e[0].length && 0 == f[0].length) break;
- a = ua(0 == e[1].length ? 0 : parseInt(e[1], 10), 0 == f[1].length ? 0 : parseInt(f[1], 10)) || ua(0 == e[2].length, 0 == f[2].length) || ua(e[2], f[2]);
- e = e[3];
- f = f[3];
- } while (0 == a);
- }
-
- return 0 <= a;
- });
-}
-
-var Sa;
-
-if (l.document && y) {
- var Ta = Ma();
- Sa = Ta ? Ta : parseInt(Na, 10) || void 0;
-} else Sa = void 0;
-
-var Ua = Sa;
-
-var Va = function () {
- if (!l.addEventListener || !Object.defineProperty) return !1;
- var a = !1,
- b = Object.defineProperty({}, "passive", {
- get: function () {
- a = !0;
- }
- });
-
- try {
- l.addEventListener("test", aa, b), l.removeEventListener("test", aa, b);
- } catch (c) {}
-
- return a;
-}();
-
-function z(a, b) {
- this.type = a;
- this.g = this.target = b;
- this.defaultPrevented = !1;
-}
-
-z.prototype.h = function () {
- this.defaultPrevented = !0;
-};
-
-function A(a, b) {
- z.call(this, a ? a.type : "");
- this.relatedTarget = this.g = this.target = null;
- this.button = this.screenY = this.screenX = this.clientY = this.clientX = 0;
- this.key = "";
- this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = !1;
- this.state = null;
- this.pointerId = 0;
- this.pointerType = "";
- this.i = null;
-
- if (a) {
- var c = this.type = a.type,
- d = a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : null;
- this.target = a.target || a.srcElement;
- this.g = b;
-
- if (b = a.relatedTarget) {
- if (Ka) {
- a: {
- try {
- Ca(b.nodeName);
- var e = !0;
- break a;
- } catch (f) {}
-
- e = !1;
- }
-
- e || (b = null);
- }
- } else "mouseover" == c ? b = a.fromElement : "mouseout" == c && (b = a.toElement);
-
- this.relatedTarget = b;
- d ? (this.clientX = void 0 !== d.clientX ? d.clientX : d.pageX, this.clientY = void 0 !== d.clientY ? d.clientY : d.pageY, this.screenX = d.screenX || 0, this.screenY = d.screenY || 0) : (this.clientX = void 0 !== a.clientX ? a.clientX : a.pageX, this.clientY = void 0 !== a.clientY ? a.clientY : a.pageY, this.screenX = a.screenX || 0, this.screenY = a.screenY || 0);
- this.button = a.button;
- this.key = a.key || "";
- this.ctrlKey = a.ctrlKey;
- this.altKey = a.altKey;
- this.shiftKey = a.shiftKey;
- this.metaKey = a.metaKey;
- this.pointerId = a.pointerId || 0;
- this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Wa[a.pointerType] || "";
- this.state = a.state;
- this.i = a;
- a.defaultPrevented && A.Z.h.call(this);
- }
-}
-
-t(A, z);
-var Wa = {
- 2: "touch",
- 3: "pen",
- 4: "mouse"
-};
-
-A.prototype.h = function () {
- A.Z.h.call(this);
- var a = this.i;
- a.preventDefault ? a.preventDefault() : a.returnValue = !1;
-};
-
-var B = "closure_listenable_" + (1E6 * Math.random() | 0);
-var Xa = 0;
-
-function Ya(a, b, c, d, e) {
- this.listener = a;
- this.proxy = null;
- this.src = b;
- this.type = c;
- this.capture = !!d;
- this.ia = e;
- this.key = ++Xa;
- this.ca = this.fa = !1;
-}
-
-function Za(a) {
- a.ca = !0;
- a.listener = null;
- a.proxy = null;
- a.src = null;
- a.ia = null;
-}
-
-function $a(a) {
- this.src = a;
- this.g = {};
- this.h = 0;
-}
-
-$a.prototype.add = function (a, b, c, d, e) {
- var f = a.toString();
- a = this.g[f];
- a || (a = this.g[f] = [], this.h++);
- var h = ab(a, b, d, e);
- -1 < h ? (b = a[h], c || (b.fa = !1)) : (b = new Ya(b, this.src, f, !!d, e), b.fa = c, a.push(b));
- return b;
-};
-
-function bb(a, b) {
- var c = b.type;
-
- if (c in a.g) {
- var d = a.g[c],
- e = ma(d, b),
- f;
- (f = 0 <= e) && Array.prototype.splice.call(d, e, 1);
- f && (Za(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
- }
-}
-
-function ab(a, b, c, d) {
- for (var e = 0; e < a.length; ++e) {
- var f = a[e];
- if (!f.ca && f.listener == b && f.capture == !!c && f.ia == d) return e;
- }
-
- return -1;
-}
-
-var cb = "closure_lm_" + (1E6 * Math.random() | 0),
- db = {};
-
-function fb(a, b, c, d, e) {
- if (d && d.once) return gb(a, b, c, d, e);
-
- if (Array.isArray(b)) {
- for (var f = 0; f < b.length; f++) fb(a, b[f], c, d, e);
-
- return null;
- }
-
- c = hb(c);
- return a && a[B] ? a.N(b, c, p(d) ? !!d.capture : !!d, e) : ib(a, b, c, !1, d, e);
-}
-
-function ib(a, b, c, d, e, f) {
- if (!b) throw Error("Invalid event type");
- var h = p(e) ? !!e.capture : !!e,
- n = jb(a);
- n || (a[cb] = n = new $a(a));
- c = n.add(b, c, d, h, f);
- if (c.proxy) return c;
- d = kb();
- c.proxy = d;
- d.src = a;
- d.listener = c;
- if (a.addEventListener) Va || (e = h), void 0 === e && (e = !1), a.addEventListener(b.toString(), d, e);else if (a.attachEvent) a.attachEvent(lb(b.toString()), d);else if (a.addListener && a.removeListener) a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");
- return c;
-}
-
-function kb() {
- function a(c) {
- return b.call(a.src, a.listener, c);
- }
-
- var b = mb;
- return a;
-}
-
-function gb(a, b, c, d, e) {
- if (Array.isArray(b)) {
- for (var f = 0; f < b.length; f++) gb(a, b[f], c, d, e);
-
- return null;
- }
-
- c = hb(c);
- return a && a[B] ? a.O(b, c, p(d) ? !!d.capture : !!d, e) : ib(a, b, c, !0, d, e);
-}
-
-function nb(a, b, c, d, e) {
- if (Array.isArray(b)) for (var f = 0; f < b.length; f++) nb(a, b[f], c, d, e);else (d = p(d) ? !!d.capture : !!d, c = hb(c), a && a[B]) ? (a = a.i, b = String(b).toString(), b in a.g && (f = a.g[b], c = ab(f, c, d, e), -1 < c && (Za(f[c]), Array.prototype.splice.call(f, c, 1), 0 == f.length && (delete a.g[b], a.h--)))) : a && (a = jb(a)) && (b = a.g[b.toString()], a = -1, b && (a = ab(b, c, d, e)), (c = -1 < a ? b[a] : null) && ob(c));
-}
-
-function ob(a) {
- if ("number" !== typeof a && a && !a.ca) {
- var b = a.src;
- if (b && b[B]) bb(b.i, a);else {
- var c = a.type,
- d = a.proxy;
- b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(lb(c), d) : b.addListener && b.removeListener && b.removeListener(d);
- (c = jb(b)) ? (bb(c, a), 0 == c.h && (c.src = null, b[cb] = null)) : Za(a);
- }
- }
-}
-
-function lb(a) {
- return a in db ? db[a] : db[a] = "on" + a;
-}
-
-function mb(a, b) {
- if (a.ca) a = !0;else {
- b = new A(b, this);
- var c = a.listener,
- d = a.ia || a.src;
- a.fa && ob(a);
- a = c.call(d, b);
- }
- return a;
-}
-
-function jb(a) {
- a = a[cb];
- return a instanceof $a ? a : null;
-}
-
-var pb = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
-
-function hb(a) {
- if ("function" === typeof a) return a;
- a[pb] || (a[pb] = function (b) {
- return a.handleEvent(b);
- });
- return a[pb];
-}
-
-function C() {
- v.call(this);
- this.i = new $a(this);
- this.P = this;
- this.I = null;
-}
-
-t(C, v);
-C.prototype[B] = !0;
-
-C.prototype.removeEventListener = function (a, b, c, d) {
- nb(this, a, b, c, d);
-};
-
-function D(a, b) {
- var c,
- d = a.I;
- if (d) for (c = []; d; d = d.I) c.push(d);
- a = a.P;
- d = b.type || b;
- if ("string" === typeof b) b = new z(b, a);else if (b instanceof z) b.target = b.target || a;else {
- var e = b;
- b = new z(d, a);
- Aa(b, e);
- }
- e = !0;
- if (c) for (var f = c.length - 1; 0 <= f; f--) {
- var h = b.g = c[f];
- e = qb(h, d, !0, b) && e;
- }
- h = b.g = a;
- e = qb(h, d, !0, b) && e;
- e = qb(h, d, !1, b) && e;
- if (c) for (f = 0; f < c.length; f++) h = b.g = c[f], e = qb(h, d, !1, b) && e;
-}
-
-C.prototype.M = function () {
- C.Z.M.call(this);
-
- if (this.i) {
- var a = this.i,
- c;
-
- for (c in a.g) {
- for (var d = a.g[c], e = 0; e < d.length; e++) Za(d[e]);
-
- delete a.g[c];
- a.h--;
- }
- }
-
- this.I = null;
-};
-
-C.prototype.N = function (a, b, c, d) {
- return this.i.add(String(a), b, !1, c, d);
-};
-
-C.prototype.O = function (a, b, c, d) {
- return this.i.add(String(a), b, !0, c, d);
-};
-
-function qb(a, b, c, d) {
- b = a.i.g[String(b)];
- if (!b) return !0;
- b = b.concat();
-
- for (var e = !0, f = 0; f < b.length; ++f) {
- var h = b[f];
-
- if (h && !h.ca && h.capture == c) {
- var n = h.listener,
- u = h.ia || h.src;
- h.fa && bb(a.i, h);
- e = !1 !== n.call(u, d) && e;
- }
- }
-
- return e && !d.defaultPrevented;
-}
-
-var rb = l.JSON.stringify;
-
-function sb() {
- var a = tb;
- let b = null;
- a.g && (b = a.g, a.g = a.g.next, a.g || (a.h = null), b.next = null);
- return b;
-}
-
-class ub {
- constructor() {
- this.h = this.g = null;
- }
-
- add(a, b) {
- const c = vb.get();
- c.set(a, b);
- this.h ? this.h.next = c : this.g = c;
- this.h = c;
- }
-
-}
-
-var vb = new class {
- constructor(a, b) {
- this.i = a;
- this.j = b;
- this.h = 0;
- this.g = null;
- }
-
- get() {
- let a;
- 0 < this.h ? (this.h--, a = this.g, this.g = a.next, a.next = null) : a = this.i();
- return a;
- }
-
-}(() => new wb(), a => a.reset());
-
-class wb {
- constructor() {
- this.next = this.g = this.h = null;
- }
-
- set(a, b) {
- this.h = a;
- this.g = b;
- this.next = null;
- }
-
- reset() {
- this.next = this.g = this.h = null;
- }
-
-}
-
-function yb(a) {
- l.setTimeout(() => {
- throw a;
- }, 0);
-}
-
-function zb(a, b) {
- Ab || Bb();
- Cb || (Ab(), Cb = !0);
- tb.add(a, b);
-}
-
-var Ab;
-
-function Bb() {
- var a = l.Promise.resolve(void 0);
-
- Ab = function () {
- a.then(Db);
- };
-}
-
-var Cb = !1,
- tb = new ub();
-
-function Db() {
- for (var a; a = sb();) {
- try {
- a.h.call(a.g);
- } catch (c) {
- yb(c);
- }
-
- var b = vb;
- b.j(a);
- 100 > b.h && (b.h++, a.next = b.g, b.g = a);
- }
-
- Cb = !1;
-}
-
-function Eb(a, b) {
- C.call(this);
- this.h = a || 1;
- this.g = b || l;
- this.j = q(this.kb, this);
- this.l = Date.now();
-}
-
-t(Eb, C);
-k = Eb.prototype;
-k.da = !1;
-k.S = null;
-
-k.kb = function () {
- if (this.da) {
- var a = Date.now() - this.l;
- 0 < a && a < .8 * this.h ? this.S = this.g.setTimeout(this.j, this.h - a) : (this.S && (this.g.clearTimeout(this.S), this.S = null), D(this, "tick"), this.da && (Fb(this), this.start()));
- }
-};
-
-k.start = function () {
- this.da = !0;
- this.S || (this.S = this.g.setTimeout(this.j, this.h), this.l = Date.now());
-};
-
-function Fb(a) {
- a.da = !1;
- a.S && (a.g.clearTimeout(a.S), a.S = null);
-}
-
-k.M = function () {
- Eb.Z.M.call(this);
- Fb(this);
- delete this.g;
-};
-
-function Gb(a, b, c) {
- if ("function" === typeof a) c && (a = q(a, c));else if (a && "function" == typeof a.handleEvent) a = q(a.handleEvent, a);else throw Error("Invalid listener argument");
- return 2147483647 < Number(b) ? -1 : l.setTimeout(a, b || 0);
-}
-
-function Hb(a) {
- a.g = Gb(() => {
- a.g = null;
- a.i && (a.i = !1, Hb(a));
- }, a.j);
- const b = a.h;
- a.h = null;
- a.m.apply(null, b);
-}
-
-class Ib extends v {
- constructor(a, b) {
- super();
- this.m = a;
- this.j = b;
- this.h = null;
- this.i = !1;
- this.g = null;
- }
-
- l(a) {
- this.h = arguments;
- this.g ? this.i = !0 : Hb(this);
- }
-
- M() {
- super.M();
- this.g && (l.clearTimeout(this.g), this.g = null, this.i = !1, this.h = null);
- }
-
-}
-
-function E(a) {
- v.call(this);
- this.h = a;
- this.g = {};
-}
-
-t(E, v);
-var Jb = [];
-
-function Kb(a, b, c, d) {
- Array.isArray(c) || (c && (Jb[0] = c.toString()), c = Jb);
-
- for (var e = 0; e < c.length; e++) {
- var f = fb(b, c[e], d || a.handleEvent, !1, a.h || a);
- if (!f) break;
- a.g[f.key] = f;
- }
-}
-
-function Lb(a) {
- xa(a.g, function (b, c) {
- this.g.hasOwnProperty(c) && ob(b);
- }, a);
- a.g = {};
-}
-
-E.prototype.M = function () {
- E.Z.M.call(this);
- Lb(this);
-};
-
-E.prototype.handleEvent = function () {
- throw Error("EventHandler.handleEvent not implemented");
-};
-
-function Mb() {
- this.g = !0;
-}
-
-Mb.prototype.Aa = function () {
- this.g = !1;
-};
-
-function Nb(a, b, c, d, e, f) {
- a.info(function () {
- if (a.g) {
- if (f) {
- var h = "";
-
- for (var n = f.split("&"), u = 0; u < n.length; u++) {
- var m = n[u].split("=");
-
- if (1 < m.length) {
- var r = m[0];
- m = m[1];
- var G = r.split("_");
- h = 2 <= G.length && "type" == G[1] ? h + (r + "=" + m + "&") : h + (r + "=redacted&");
- }
- }
- } else h = null;
- } else h = f;
- return "XMLHTTP REQ (" + d + ") [attempt " + e + "]: " + b + "\n" + c + "\n" + h;
- });
-}
-
-function Ob(a, b, c, d, e, f, h) {
- a.info(function () {
- return "XMLHTTP RESP (" + d + ") [ attempt " + e + "]: " + b + "\n" + c + "\n" + f + " " + h;
- });
-}
-
-function F(a, b, c, d) {
- a.info(function () {
- return "XMLHTTP TEXT (" + b + "): " + Pb(a, c) + (d ? " " + d : "");
- });
-}
-
-function Qb(a, b) {
- a.info(function () {
- return "TIMEOUT: " + b;
- });
-}
-
-Mb.prototype.info = function () {};
-
-function Pb(a, b) {
- if (!a.g) return b;
- if (!b) return null;
-
- try {
- var c = JSON.parse(b);
- if (c) for (a = 0; a < c.length; a++) if (Array.isArray(c[a])) {
- var d = c[a];
-
- if (!(2 > d.length)) {
- var e = d[1];
-
- if (Array.isArray(e) && !(1 > e.length)) {
- var f = e[0];
- if ("noop" != f && "stop" != f && "close" != f) for (var h = 1; h < e.length; h++) e[h] = "";
- }
- }
- }
- return rb(c);
- } catch (n) {
- return b;
- }
-}
-
-var H = {},
- Rb = null;
-
-function Sb() {
- return Rb = Rb || new C();
-}
-
-H.Ma = "serverreachability";
-
-function Tb(a) {
- z.call(this, H.Ma, a);
-}
-
-t(Tb, z);
-
-function I(a) {
- const b = Sb();
- D(b, new Tb(b, a));
-}
-
-H.STAT_EVENT = "statevent";
-
-function Ub(a, b) {
- z.call(this, H.STAT_EVENT, a);
- this.stat = b;
-}
-
-t(Ub, z);
-
-function J(a) {
- const b = Sb();
- D(b, new Ub(b, a));
-}
-
-H.Na = "timingevent";
-
-function Vb(a, b) {
- z.call(this, H.Na, a);
- this.size = b;
-}
-
-t(Vb, z);
-
-function K(a, b) {
- if ("function" !== typeof a) throw Error("Fn must not be null and must be a function");
- return l.setTimeout(function () {
- a();
- }, b);
-}
-
-var Wb = {
- NO_ERROR: 0,
- lb: 1,
- yb: 2,
- xb: 3,
- sb: 4,
- wb: 5,
- zb: 6,
- Ja: 7,
- TIMEOUT: 8,
- Cb: 9
-};
-var Xb = {
- qb: "complete",
- Mb: "success",
- Ka: "error",
- Ja: "abort",
- Eb: "ready",
- Fb: "readystatechange",
- TIMEOUT: "timeout",
- Ab: "incrementaldata",
- Db: "progress",
- tb: "downloadprogress",
- Ub: "uploadprogress"
-};
-
-function Yb() {}
-
-Yb.prototype.h = null;
-
-function Zb(a) {
- return a.h || (a.h = a.i());
-}
-
-function $b() {}
-
-var L = {
- OPEN: "a",
- pb: "b",
- Ka: "c",
- Bb: "d"
-};
-
-function ac() {
- z.call(this, "d");
-}
-
-t(ac, z);
-
-function bc() {
- z.call(this, "c");
-}
-
-t(bc, z);
-var cc;
-
-function dc() {}
-
-t(dc, Yb);
-
-dc.prototype.g = function () {
- return new XMLHttpRequest();
-};
-
-dc.prototype.i = function () {
- return {};
-};
-
-cc = new dc();
-
-function M(a, b, c, d) {
- this.l = a;
- this.j = b;
- this.m = c;
- this.X = d || 1;
- this.V = new E(this);
- this.P = ec;
- a = Ja ? 125 : void 0;
- this.W = new Eb(a);
- this.H = null;
- this.i = !1;
- this.s = this.A = this.v = this.K = this.F = this.Y = this.B = null;
- this.D = [];
- this.g = null;
- this.C = 0;
- this.o = this.u = null;
- this.N = -1;
- this.I = !1;
- this.O = 0;
- this.L = null;
- this.aa = this.J = this.$ = this.U = !1;
- this.h = new fc();
-}
-
-function fc() {
- this.i = null;
- this.g = "";
- this.h = !1;
-}
-
-var ec = 45E3,
- gc = {},
- hc = {};
-k = M.prototype;
-
-k.setTimeout = function (a) {
- this.P = a;
-};
-
-function ic(a, b, c) {
- a.K = 1;
- a.v = jc(N(b));
- a.s = c;
- a.U = !0;
- kc(a, null);
-}
-
-function kc(a, b) {
- a.F = Date.now();
- lc(a);
- a.A = N(a.v);
- var c = a.A,
- d = a.X;
- Array.isArray(d) || (d = [String(d)]);
- mc(c.h, "t", d);
- a.C = 0;
- c = a.l.H;
- a.h = new fc();
- a.g = nc(a.l, c ? b : null, !a.s);
- 0 < a.O && (a.L = new Ib(q(a.Ia, a, a.g), a.O));
- Kb(a.V, a.g, "readystatechange", a.gb);
- b = a.H ? ya(a.H) : {};
- a.s ? (a.u || (a.u = "POST"), b["Content-Type"] = "application/x-www-form-urlencoded", a.g.ea(a.A, a.u, a.s, b)) : (a.u = "GET", a.g.ea(a.A, a.u, null, b));
- I(1);
- Nb(a.j, a.u, a.A, a.m, a.X, a.s);
-}
-
-k.gb = function (a) {
- a = a.target;
- const b = this.L;
- b && 3 == O(a) ? b.l() : this.Ia(a);
-};
-
-k.Ia = function (a) {
- try {
- if (a == this.g) a: {
- const r = O(this.g);
- var b = this.g.Da();
- const G = this.g.ba();
-
- if (!(3 > r) && (3 != r || Ja || this.g && (this.h.h || this.g.ga() || oc(this.g)))) {
- this.I || 4 != r || 7 == b || (8 == b || 0 >= G ? I(3) : I(2));
- pc(this);
- var c = this.g.ba();
- this.N = c;
-
- b: if (qc(this)) {
- var d = oc(this.g);
- a = "";
- var e = d.length,
- f = 4 == O(this.g);
-
- if (!this.h.i) {
- if ("undefined" === typeof TextDecoder) {
- P(this);
- rc(this);
- var h = "";
- break b;
- }
-
- this.h.i = new l.TextDecoder();
- }
-
- for (b = 0; b < e; b++) this.h.h = !0, a += this.h.i.decode(d[b], {
- stream: f && b == e - 1
- });
-
- d.splice(0, e);
- this.h.g += a;
- this.C = 0;
- h = this.h.g;
- } else h = this.g.ga();
-
- this.i = 200 == c;
- Ob(this.j, this.u, this.A, this.m, this.X, r, c);
-
- if (this.i) {
- if (this.$ && !this.J) {
- b: {
- if (this.g) {
- var n,
- u = this.g;
-
- if ((n = u.g ? u.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !sa(n)) {
- var m = n;
- break b;
- }
- }
-
- m = null;
- }
-
- if (c = m) F(this.j, this.m, c, "Initial handshake response via X-HTTP-Initial-Response"), this.J = !0, sc(this, c);else {
- this.i = !1;
- this.o = 3;
- J(12);
- P(this);
- rc(this);
- break a;
- }
- }
-
- this.U ? (tc(this, r, h), Ja && this.i && 3 == r && (Kb(this.V, this.W, "tick", this.fb), this.W.start())) : (F(this.j, this.m, h, null), sc(this, h));
- 4 == r && P(this);
- this.i && !this.I && (4 == r ? uc(this.l, this) : (this.i = !1, lc(this)));
- } else 400 == c && 0 < h.indexOf("Unknown SID") ? (this.o = 3, J(12)) : (this.o = 0, J(13)), P(this), rc(this);
- }
- }
- } catch (r) {} finally {}
-};
-
-function qc(a) {
- return a.g ? "GET" == a.u && 2 != a.K && a.l.Ba : !1;
-}
-
-function tc(a, b, c) {
- let d = !0,
- e;
-
- for (; !a.I && a.C < c.length;) if (e = vc(a, c), e == hc) {
- 4 == b && (a.o = 4, J(14), d = !1);
- F(a.j, a.m, null, "[Incomplete Response]");
- break;
- } else if (e == gc) {
- a.o = 4;
- J(15);
- F(a.j, a.m, c, "[Invalid Chunk]");
- d = !1;
- break;
- } else F(a.j, a.m, e, null), sc(a, e);
-
- qc(a) && e != hc && e != gc && (a.h.g = "", a.C = 0);
- 4 != b || 0 != c.length || a.h.h || (a.o = 1, J(16), d = !1);
- a.i = a.i && d;
- d ? 0 < c.length && !a.aa && (a.aa = !0, b = a.l, b.g == a && b.$ && !b.L && (b.h.info("Great, no buffering proxy detected. Bytes received: " + c.length), wc(b), b.L = !0, J(11))) : (F(a.j, a.m, c, "[Invalid Chunked Response]"), P(a), rc(a));
-}
-
-k.fb = function () {
- if (this.g) {
- var a = O(this.g),
- b = this.g.ga();
- this.C < b.length && (pc(this), tc(this, a, b), this.i && 4 != a && lc(this));
- }
-};
-
-function vc(a, b) {
- var c = a.C,
- d = b.indexOf("\n", c);
- if (-1 == d) return hc;
- c = Number(b.substring(c, d));
- if (isNaN(c)) return gc;
- d += 1;
- if (d + c > b.length) return hc;
- b = b.substr(d, c);
- a.C = d + c;
- return b;
-}
-
-k.cancel = function () {
- this.I = !0;
- P(this);
-};
-
-function lc(a) {
- a.Y = Date.now() + a.P;
- xc(a, a.P);
-}
-
-function xc(a, b) {
- if (null != a.B) throw Error("WatchDog timer not null");
- a.B = K(q(a.eb, a), b);
-}
-
-function pc(a) {
- a.B && (l.clearTimeout(a.B), a.B = null);
-}
-
-k.eb = function () {
- this.B = null;
- const a = Date.now();
- 0 <= a - this.Y ? (Qb(this.j, this.A), 2 != this.K && (I(3), J(17)), P(this), this.o = 2, rc(this)) : xc(this, this.Y - a);
-};
-
-function rc(a) {
- 0 == a.l.G || a.I || uc(a.l, a);
-}
-
-function P(a) {
- pc(a);
- var b = a.L;
- b && "function" == typeof b.na && b.na();
- a.L = null;
- Fb(a.W);
- Lb(a.V);
- a.g && (b = a.g, a.g = null, b.abort(), b.na());
-}
-
-function sc(a, b) {
- try {
- var c = a.l;
- if (0 != c.G && (c.g == a || yc(c.i, a))) if (c.I = a.N, !a.J && yc(c.i, a) && 3 == c.G) {
- try {
- var d = c.Ca.g.parse(b);
- } catch (m) {
- d = null;
- }
-
- if (Array.isArray(d) && 3 == d.length) {
- var e = d;
- if (0 == e[0]) a: {
- if (!c.u) {
- if (c.g) if (c.g.F + 3E3 < a.F) zc(c), Ac(c);else break a;
- Bc(c);
- J(18);
- }
- } else c.ta = e[1], 0 < c.ta - c.U && 37500 > e[2] && c.N && 0 == c.A && !c.v && (c.v = K(q(c.ab, c), 6E3));
-
- if (1 >= Cc(c.i) && c.ka) {
- try {
- c.ka();
- } catch (m) {}
-
- c.ka = void 0;
- }
- } else Q(c, 11);
- } else if ((a.J || c.g == a) && zc(c), !sa(b)) for (e = c.Ca.g.parse(b), b = 0; b < e.length; b++) {
- let m = e[b];
- c.U = m[0];
- m = m[1];
- if (2 == c.G) {
- if ("c" == m[0]) {
- c.J = m[1];
- c.la = m[2];
- const r = m[3];
- null != r && (c.ma = r, c.h.info("VER=" + c.ma));
- const G = m[4];
- null != G && (c.za = G, c.h.info("SVER=" + c.za));
- const Da = m[5];
- null != Da && "number" === typeof Da && 0 < Da && (d = 1.5 * Da, c.K = d, c.h.info("backChannelRequestTimeoutMs_=" + d));
- d = c;
- const ca = a.g;
-
- if (ca) {
- const Ea = ca.g ? ca.g.getResponseHeader("X-Client-Wire-Protocol") : null;
-
- if (Ea) {
- var f = d.i;
- !f.g && (w(Ea, "spdy") || w(Ea, "quic") || w(Ea, "h2")) && (f.j = f.l, f.g = new Set(), f.h && (Dc(f, f.h), f.h = null));
- }
-
- if (d.D) {
- const xb = ca.g ? ca.g.getResponseHeader("X-HTTP-Session-Id") : null;
- xb && (d.sa = xb, R(d.F, d.D, xb));
- }
- }
-
- c.G = 3;
- c.j && c.j.xa();
- c.$ && (c.O = Date.now() - a.F, c.h.info("Handshake RTT: " + c.O + "ms"));
- d = c;
- var h = a;
- d.oa = Ec(d, d.H ? d.la : null, d.W);
-
- if (h.J) {
- Fc(d.i, h);
- var n = h,
- u = d.K;
- u && n.setTimeout(u);
- n.B && (pc(n), lc(n));
- d.g = h;
- } else Gc(d);
-
- 0 < c.l.length && Hc(c);
- } else "stop" != m[0] && "close" != m[0] || Q(c, 7);
- } else 3 == c.G && ("stop" == m[0] || "close" == m[0] ? "stop" == m[0] ? Q(c, 7) : Ic(c) : "noop" != m[0] && c.j && c.j.wa(m), c.A = 0);
- }
- I(4);
- } catch (m) {}
-}
-
-function Jc(a) {
- if (a.R && "function" == typeof a.R) return a.R();
- if ("string" === typeof a) return a.split("");
-
- if (ba(a)) {
- for (var b = [], c = a.length, d = 0; d < c; d++) b.push(a[d]);
-
- return b;
- }
-
- b = [];
- c = 0;
-
- for (d in a) b[c++] = a[d];
-
- return b;
-}
-
-function Kc(a, b) {
- if (a.forEach && "function" == typeof a.forEach) a.forEach(b, void 0);else if (ba(a) || "string" === typeof a) na(a, b, void 0);else {
- if (a.T && "function" == typeof a.T) var c = a.T();else if (a.R && "function" == typeof a.R) c = void 0;else if (ba(a) || "string" === typeof a) {
- c = [];
-
- for (var d = a.length, e = 0; e < d; e++) c.push(e);
- } else for (e in c = [], d = 0, a) c[d++] = e;
- d = Jc(a);
- e = d.length;
-
- for (var f = 0; f < e; f++) b.call(void 0, d[f], c && c[f], a);
- }
-}
-
-function S(a, b) {
- this.h = {};
- this.g = [];
- this.i = 0;
- var c = arguments.length;
-
- if (1 < c) {
- if (c % 2) throw Error("Uneven number of arguments");
-
- for (var d = 0; d < c; d += 2) this.set(arguments[d], arguments[d + 1]);
- } else if (a) if (a instanceof S) for (c = a.T(), d = 0; d < c.length; d++) this.set(c[d], a.get(c[d]));else for (d in a) this.set(d, a[d]);
-}
-
-k = S.prototype;
-
-k.R = function () {
- Lc(this);
-
- for (var a = [], b = 0; b < this.g.length; b++) a.push(this.h[this.g[b]]);
-
- return a;
-};
-
-k.T = function () {
- Lc(this);
- return this.g.concat();
-};
-
-function Lc(a) {
- if (a.i != a.g.length) {
- for (var b = 0, c = 0; b < a.g.length;) {
- var d = a.g[b];
- T(a.h, d) && (a.g[c++] = d);
- b++;
- }
-
- a.g.length = c;
- }
-
- if (a.i != a.g.length) {
- var e = {};
-
- for (c = b = 0; b < a.g.length;) d = a.g[b], T(e, d) || (a.g[c++] = d, e[d] = 1), b++;
-
- a.g.length = c;
- }
-}
-
-k.get = function (a, b) {
- return T(this.h, a) ? this.h[a] : b;
-};
-
-k.set = function (a, b) {
- T(this.h, a) || (this.i++, this.g.push(a));
- this.h[a] = b;
-};
-
-k.forEach = function (a, b) {
- for (var c = this.T(), d = 0; d < c.length; d++) {
- var e = c[d],
- f = this.get(e);
- a.call(b, f, e, this);
- }
-};
-
-function T(a, b) {
- return Object.prototype.hasOwnProperty.call(a, b);
-}
-
-var Mc = /^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;
-
-function Nc(a, b) {
- if (a) {
- a = a.split("&");
-
- for (var c = 0; c < a.length; c++) {
- var d = a[c].indexOf("="),
- e = null;
-
- if (0 <= d) {
- var f = a[c].substring(0, d);
- e = a[c].substring(d + 1);
- } else f = a[c];
-
- b(f, e ? decodeURIComponent(e.replace(/\+/g, " ")) : "");
- }
- }
-}
-
-function U(a, b) {
- this.i = this.s = this.j = "";
- this.m = null;
- this.o = this.l = "";
- this.g = !1;
-
- if (a instanceof U) {
- this.g = void 0 !== b ? b : a.g;
- Oc(this, a.j);
- this.s = a.s;
- Pc(this, a.i);
- Qc(this, a.m);
- this.l = a.l;
- b = a.h;
- var c = new Rc();
- c.i = b.i;
- b.g && (c.g = new S(b.g), c.h = b.h);
- Sc(this, c);
- this.o = a.o;
- } else a && (c = String(a).match(Mc)) ? (this.g = !!b, Oc(this, c[1] || "", !0), this.s = Tc(c[2] || ""), Pc(this, c[3] || "", !0), Qc(this, c[4]), this.l = Tc(c[5] || "", !0), Sc(this, c[6] || "", !0), this.o = Tc(c[7] || "")) : (this.g = !!b, this.h = new Rc(null, this.g));
-}
-
-U.prototype.toString = function () {
- var a = [],
- b = this.j;
- b && a.push(Uc(b, Vc, !0), ":");
- var c = this.i;
- if (c || "file" == b) a.push("//"), (b = this.s) && a.push(Uc(b, Vc, !0), "@"), a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g, "%$1")), c = this.m, null != c && a.push(":", String(c));
- if (c = this.l) this.i && "/" != c.charAt(0) && a.push("/"), a.push(Uc(c, "/" == c.charAt(0) ? Wc : Xc, !0));
- (c = this.h.toString()) && a.push("?", c);
- (c = this.o) && a.push("#", Uc(c, Yc));
- return a.join("");
-};
-
-function N(a) {
- return new U(a);
-}
-
-function Oc(a, b, c) {
- a.j = c ? Tc(b, !0) : b;
- a.j && (a.j = a.j.replace(/:$/, ""));
-}
-
-function Pc(a, b, c) {
- a.i = c ? Tc(b, !0) : b;
-}
-
-function Qc(a, b) {
- if (b) {
- b = Number(b);
- if (isNaN(b) || 0 > b) throw Error("Bad port number " + b);
- a.m = b;
- } else a.m = null;
-}
-
-function Sc(a, b, c) {
- b instanceof Rc ? (a.h = b, Zc(a.h, a.g)) : (c || (b = Uc(b, $c)), a.h = new Rc(b, a.g));
-}
-
-function R(a, b, c) {
- a.h.set(b, c);
-}
-
-function jc(a) {
- R(a, "zx", Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ Date.now()).toString(36));
- return a;
-}
-
-function ad(a) {
- return a instanceof U ? N(a) : new U(a, void 0);
-}
-
-function bd(a, b, c, d) {
- var e = new U(null, void 0);
- a && Oc(e, a);
- b && Pc(e, b);
- c && Qc(e, c);
- d && (e.l = d);
- return e;
-}
-
-function Tc(a, b) {
- return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : "";
-}
-
-function Uc(a, b, c) {
- return "string" === typeof a ? (a = encodeURI(a).replace(b, cd), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), a) : null;
-}
-
-function cd(a) {
- a = a.charCodeAt(0);
- return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16);
-}
-
-var Vc = /[#\/\?@]/g,
- Xc = /[#\?:]/g,
- Wc = /[#\?]/g,
- $c = /[#\?@]/g,
- Yc = /#/g;
-
-function Rc(a, b) {
- this.h = this.g = null;
- this.i = a || null;
- this.j = !!b;
-}
-
-function V(a) {
- a.g || (a.g = new S(), a.h = 0, a.i && Nc(a.i, function (b, c) {
- a.add(decodeURIComponent(b.replace(/\+/g, " ")), c);
- }));
-}
-
-k = Rc.prototype;
-
-k.add = function (a, b) {
- V(this);
- this.i = null;
- a = W(this, a);
- var c = this.g.get(a);
- c || this.g.set(a, c = []);
- c.push(b);
- this.h += 1;
- return this;
-};
-
-function dd(a, b) {
- V(a);
- b = W(a, b);
- T(a.g.h, b) && (a.i = null, a.h -= a.g.get(b).length, a = a.g, T(a.h, b) && (delete a.h[b], a.i--, a.g.length > 2 * a.i && Lc(a)));
-}
-
-function ed(a, b) {
- V(a);
- b = W(a, b);
- return T(a.g.h, b);
-}
-
-k.forEach = function (a, b) {
- V(this);
- this.g.forEach(function (c, d) {
- na(c, function (e) {
- a.call(b, e, d, this);
- }, this);
- }, this);
-};
-
-k.T = function () {
- V(this);
-
- for (var a = this.g.R(), b = this.g.T(), c = [], d = 0; d < b.length; d++) for (var e = a[d], f = 0; f < e.length; f++) c.push(b[d]);
-
- return c;
-};
-
-k.R = function (a) {
- V(this);
- var b = [];
- if ("string" === typeof a) ed(this, a) && (b = qa(b, this.g.get(W(this, a))));else {
- a = this.g.R();
-
- for (var c = 0; c < a.length; c++) b = qa(b, a[c]);
- }
- return b;
-};
-
-k.set = function (a, b) {
- V(this);
- this.i = null;
- a = W(this, a);
- ed(this, a) && (this.h -= this.g.get(a).length);
- this.g.set(a, [b]);
- this.h += 1;
- return this;
-};
-
-k.get = function (a, b) {
- if (!a) return b;
- a = this.R(a);
- return 0 < a.length ? String(a[0]) : b;
-};
-
-function mc(a, b, c) {
- dd(a, b);
- 0 < c.length && (a.i = null, a.g.set(W(a, b), ra(c)), a.h += c.length);
-}
-
-k.toString = function () {
- if (this.i) return this.i;
- if (!this.g) return "";
-
- for (var a = [], b = this.g.T(), c = 0; c < b.length; c++) {
- var d = b[c],
- e = encodeURIComponent(String(d));
- d = this.R(d);
-
- for (var f = 0; f < d.length; f++) {
- var h = e;
- "" !== d[f] && (h += "=" + encodeURIComponent(String(d[f])));
- a.push(h);
- }
- }
-
- return this.i = a.join("&");
-};
-
-function W(a, b) {
- b = String(b);
- a.j && (b = b.toLowerCase());
- return b;
-}
-
-function Zc(a, b) {
- b && !a.j && (V(a), a.i = null, a.g.forEach(function (c, d) {
- var e = d.toLowerCase();
- d != e && (dd(this, d), mc(this, e, c));
- }, a));
- a.j = b;
-}
-
-var fd = class {
- constructor(a, b) {
- this.h = a;
- this.g = b;
- }
-
-};
-
-function gd(a) {
- this.l = a || hd;
- l.PerformanceNavigationTiming ? (a = l.performance.getEntriesByType("navigation"), a = 0 < a.length && ("hq" == a[0].nextHopProtocol || "h2" == a[0].nextHopProtocol)) : a = !!(l.g && l.g.Ea && l.g.Ea() && l.g.Ea().Zb);
- this.j = a ? this.l : 1;
- this.g = null;
- 1 < this.j && (this.g = new Set());
- this.h = null;
- this.i = [];
-}
-
-var hd = 10;
-
-function id(a) {
- return a.h ? !0 : a.g ? a.g.size >= a.j : !1;
-}
-
-function Cc(a) {
- return a.h ? 1 : a.g ? a.g.size : 0;
-}
-
-function yc(a, b) {
- return a.h ? a.h == b : a.g ? a.g.has(b) : !1;
-}
-
-function Dc(a, b) {
- a.g ? a.g.add(b) : a.h = b;
-}
-
-function Fc(a, b) {
- a.h && a.h == b ? a.h = null : a.g && a.g.has(b) && a.g.delete(b);
-}
-
-gd.prototype.cancel = function () {
- this.i = jd(this);
- if (this.h) this.h.cancel(), this.h = null;else if (this.g && 0 !== this.g.size) {
- for (const a of this.g.values()) a.cancel();
-
- this.g.clear();
- }
-};
-
-function jd(a) {
- if (null != a.h) return a.i.concat(a.h.D);
-
- if (null != a.g && 0 !== a.g.size) {
- let b = a.i;
-
- for (const c of a.g.values()) b = b.concat(c.D);
-
- return b;
- }
-
- return ra(a.i);
-}
-
-function kd() {}
-
-kd.prototype.stringify = function (a) {
- return l.JSON.stringify(a, void 0);
-};
-
-kd.prototype.parse = function (a) {
- return l.JSON.parse(a, void 0);
-};
-
-function ld() {
- this.g = new kd();
-}
-
-function md(a, b, c) {
- const d = c || "";
-
- try {
- Kc(a, function (e, f) {
- let h = e;
- p(e) && (h = rb(e));
- b.push(d + f + "=" + encodeURIComponent(h));
- });
- } catch (e) {
- throw b.push(d + "type=" + encodeURIComponent("_badmap")), e;
- }
-}
-
-function nd(a, b) {
- const c = new Mb();
-
- if (l.Image) {
- const d = new Image();
- d.onload = ja(od, c, d, "TestLoadImage: loaded", !0, b);
- d.onerror = ja(od, c, d, "TestLoadImage: error", !1, b);
- d.onabort = ja(od, c, d, "TestLoadImage: abort", !1, b);
- d.ontimeout = ja(od, c, d, "TestLoadImage: timeout", !1, b);
- l.setTimeout(function () {
- if (d.ontimeout) d.ontimeout();
- }, 1E4);
- d.src = a;
- } else b(!1);
-}
-
-function od(a, b, c, d, e) {
- try {
- b.onload = null, b.onerror = null, b.onabort = null, b.ontimeout = null, e(d);
- } catch (f) {}
-}
-
-function pd(a) {
- this.l = a.$b || null;
- this.j = a.ib || !1;
-}
-
-t(pd, Yb);
-
-pd.prototype.g = function () {
- return new qd(this.l, this.j);
-};
-
-pd.prototype.i = function (a) {
- return function () {
- return a;
- };
-}({});
-
-function qd(a, b) {
- C.call(this);
- this.D = a;
- this.u = b;
- this.m = void 0;
- this.readyState = rd;
- this.status = 0;
- this.responseType = this.responseText = this.response = this.statusText = "";
- this.onreadystatechange = null;
- this.v = new Headers();
- this.h = null;
- this.C = "GET";
- this.B = "";
- this.g = !1;
- this.A = this.j = this.l = null;
-}
-
-t(qd, C);
-var rd = 0;
-k = qd.prototype;
-
-k.open = function (a, b) {
- if (this.readyState != rd) throw this.abort(), Error("Error reopening a connection");
- this.C = a;
- this.B = b;
- this.readyState = 1;
- sd(this);
-};
-
-k.send = function (a) {
- if (1 != this.readyState) throw this.abort(), Error("need to call open() first. ");
- this.g = !0;
- const b = {
- headers: this.v,
- method: this.C,
- credentials: this.m,
- cache: void 0
- };
- a && (b.body = a);
- (this.D || l).fetch(new Request(this.B, b)).then(this.Va.bind(this), this.ha.bind(this));
-};
-
-k.abort = function () {
- this.response = this.responseText = "";
- this.v = new Headers();
- this.status = 0;
- this.j && this.j.cancel("Request was aborted.");
- 1 <= this.readyState && this.g && 4 != this.readyState && (this.g = !1, td(this));
- this.readyState = rd;
-};
-
-k.Va = function (a) {
- if (this.g && (this.l = a, this.h || (this.status = this.l.status, this.statusText = this.l.statusText, this.h = a.headers, this.readyState = 2, sd(this)), this.g && (this.readyState = 3, sd(this), this.g))) if ("arraybuffer" === this.responseType) a.arrayBuffer().then(this.Ta.bind(this), this.ha.bind(this));else if ("undefined" !== typeof l.ReadableStream && "body" in a) {
- this.j = a.body.getReader();
-
- if (this.u) {
- if (this.responseType) throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');
- this.response = [];
- } else this.response = this.responseText = "", this.A = new TextDecoder();
-
- ud(this);
- } else a.text().then(this.Ua.bind(this), this.ha.bind(this));
-};
-
-function ud(a) {
- a.j.read().then(a.Sa.bind(a)).catch(a.ha.bind(a));
-}
-
-k.Sa = function (a) {
- if (this.g) {
- if (this.u && a.value) this.response.push(a.value);else if (!this.u) {
- var b = a.value ? a.value : new Uint8Array(0);
- if (b = this.A.decode(b, {
- stream: !a.done
- })) this.response = this.responseText += b;
- }
- a.done ? td(this) : sd(this);
- 3 == this.readyState && ud(this);
- }
-};
-
-k.Ua = function (a) {
- this.g && (this.response = this.responseText = a, td(this));
-};
-
-k.Ta = function (a) {
- this.g && (this.response = a, td(this));
-};
-
-k.ha = function () {
- this.g && td(this);
-};
-
-function td(a) {
- a.readyState = 4;
- a.l = null;
- a.j = null;
- a.A = null;
- sd(a);
-}
-
-k.setRequestHeader = function (a, b) {
- this.v.append(a, b);
-};
-
-k.getResponseHeader = function (a) {
- return this.h ? this.h.get(a.toLowerCase()) || "" : "";
-};
-
-k.getAllResponseHeaders = function () {
- if (!this.h) return "";
- const a = [],
- b = this.h.entries();
-
- for (var c = b.next(); !c.done;) c = c.value, a.push(c[0] + ": " + c[1]), c = b.next();
-
- return a.join("\r\n");
-};
-
-function sd(a) {
- a.onreadystatechange && a.onreadystatechange.call(a);
-}
-
-Object.defineProperty(qd.prototype, "withCredentials", {
- get: function () {
- return "include" === this.m;
- },
- set: function (a) {
- this.m = a ? "include" : "same-origin";
- }
-});
-var vd = l.JSON.parse;
-
-function X(a) {
- C.call(this);
- this.headers = new S();
- this.u = a || null;
- this.h = !1;
- this.C = this.g = null;
- this.H = "";
- this.m = 0;
- this.j = "";
- this.l = this.F = this.v = this.D = !1;
- this.B = 0;
- this.A = null;
- this.J = wd;
- this.K = this.L = !1;
-}
-
-t(X, C);
-var wd = "",
- xd = /^https?$/i,
- yd = ["POST", "PUT"];
-k = X.prototype;
-
-k.ea = function (a, b, c, d) {
- if (this.g) throw Error("[goog.net.XhrIo] Object is active with another request=" + this.H + "; newUri=" + a);
- b = b ? b.toUpperCase() : "GET";
- this.H = a;
- this.j = "";
- this.m = 0;
- this.D = !1;
- this.h = !0;
- this.g = this.u ? this.u.g() : cc.g();
- this.C = this.u ? Zb(this.u) : Zb(cc);
- this.g.onreadystatechange = q(this.Fa, this);
-
- try {
- this.F = !0, this.g.open(b, String(a), !0), this.F = !1;
- } catch (f) {
- zd(this, f);
- return;
- }
-
- a = c || "";
- const e = new S(this.headers);
- d && Kc(d, function (f, h) {
- e.set(h, f);
- });
- d = oa(e.T());
- c = l.FormData && a instanceof l.FormData;
- !(0 <= ma(yd, b)) || d || c || e.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
- e.forEach(function (f, h) {
- this.g.setRequestHeader(h, f);
- }, this);
- this.J && (this.g.responseType = this.J);
- "withCredentials" in this.g && this.g.withCredentials !== this.L && (this.g.withCredentials = this.L);
-
- try {
- Ad(this), 0 < this.B && ((this.K = Bd(this.g)) ? (this.g.timeout = this.B, this.g.ontimeout = q(this.pa, this)) : this.A = Gb(this.pa, this.B, this)), this.v = !0, this.g.send(a), this.v = !1;
- } catch (f) {
- zd(this, f);
- }
-};
-
-function Bd(a) {
- return y && Ra() && "number" === typeof a.timeout && void 0 !== a.ontimeout;
-}
-
-function pa(a) {
- return "content-type" == a.toLowerCase();
-}
-
-k.pa = function () {
- "undefined" != typeof goog && this.g && (this.j = "Timed out after " + this.B + "ms, aborting", this.m = 8, D(this, "timeout"), this.abort(8));
-};
-
-function zd(a, b) {
- a.h = !1;
- a.g && (a.l = !0, a.g.abort(), a.l = !1);
- a.j = b;
- a.m = 5;
- Cd(a);
- Dd(a);
-}
-
-function Cd(a) {
- a.D || (a.D = !0, D(a, "complete"), D(a, "error"));
-}
-
-k.abort = function (a) {
- this.g && this.h && (this.h = !1, this.l = !0, this.g.abort(), this.l = !1, this.m = a || 7, D(this, "complete"), D(this, "abort"), Dd(this));
-};
-
-k.M = function () {
- this.g && (this.h && (this.h = !1, this.l = !0, this.g.abort(), this.l = !1), Dd(this, !0));
- X.Z.M.call(this);
-};
-
-k.Fa = function () {
- this.s || (this.F || this.v || this.l ? Ed(this) : this.cb());
-};
-
-k.cb = function () {
- Ed(this);
-};
-
-function Ed(a) {
- if (a.h && "undefined" != typeof goog && (!a.C[1] || 4 != O(a) || 2 != a.ba())) if (a.v && 4 == O(a)) Gb(a.Fa, 0, a);else if (D(a, "readystatechange"), 4 == O(a)) {
- a.h = !1;
-
- try {
- const n = a.ba();
-
- a: switch (n) {
- case 200:
- case 201:
- case 202:
- case 204:
- case 206:
- case 304:
- case 1223:
- var b = !0;
- break a;
-
- default:
- b = !1;
- }
-
- var c;
-
- if (!(c = b)) {
- var d;
-
- if (d = 0 === n) {
- var e = String(a.H).match(Mc)[1] || null;
-
- if (!e && l.self && l.self.location) {
- var f = l.self.location.protocol;
- e = f.substr(0, f.length - 1);
- }
-
- d = !xd.test(e ? e.toLowerCase() : "");
- }
-
- c = d;
- }
-
- if (c) D(a, "complete"), D(a, "success");else {
- a.m = 6;
-
- try {
- var h = 2 < O(a) ? a.g.statusText : "";
- } catch (u) {
- h = "";
- }
-
- a.j = h + " [" + a.ba() + "]";
- Cd(a);
- }
- } finally {
- Dd(a);
- }
- }
-}
-
-function Dd(a, b) {
- if (a.g) {
- Ad(a);
- const c = a.g,
- d = a.C[0] ? aa : null;
- a.g = null;
- a.C = null;
- b || D(a, "ready");
-
- try {
- c.onreadystatechange = d;
- } catch (e) {}
- }
-}
-
-function Ad(a) {
- a.g && a.K && (a.g.ontimeout = null);
- a.A && (l.clearTimeout(a.A), a.A = null);
-}
-
-function O(a) {
- return a.g ? a.g.readyState : 0;
-}
-
-k.ba = function () {
- try {
- return 2 < O(this) ? this.g.status : -1;
- } catch (a) {
- return -1;
- }
-};
-
-k.ga = function () {
- try {
- return this.g ? this.g.responseText : "";
- } catch (a) {
- return "";
- }
-};
-
-k.Qa = function (a) {
- if (this.g) {
- var b = this.g.responseText;
- a && 0 == b.indexOf(a) && (b = b.substring(a.length));
- return vd(b);
- }
-};
-
-function oc(a) {
- try {
- if (!a.g) return null;
- if ("response" in a.g) return a.g.response;
-
- switch (a.J) {
- case wd:
- case "text":
- return a.g.responseText;
-
- case "arraybuffer":
- if ("mozResponseArrayBuffer" in a.g) return a.g.mozResponseArrayBuffer;
- }
-
- return null;
- } catch (b) {
- return null;
- }
-}
-
-k.Da = function () {
- return this.m;
-};
-
-k.La = function () {
- return "string" === typeof this.j ? this.j : String(this.j);
-};
-
-function Fd(a) {
- let b = "";
- xa(a, function (c, d) {
- b += d;
- b += ":";
- b += c;
- b += "\r\n";
- });
- return b;
-}
-
-function Gd(a, b, c) {
- a: {
- for (d in c) {
- var d = !1;
- break a;
- }
-
- d = !0;
- }
-
- d || (c = Fd(c), "string" === typeof a ? null != c && encodeURIComponent(String(c)) : R(a, b, c));
-}
-
-function Hd(a, b, c) {
- return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b;
-}
-
-function Id(a) {
- this.za = 0;
- this.l = [];
- this.h = new Mb();
- this.la = this.oa = this.F = this.W = this.g = this.sa = this.D = this.aa = this.o = this.P = this.s = null;
- this.Za = this.V = 0;
- this.Xa = Hd("failFast", !1, a);
- this.N = this.v = this.u = this.m = this.j = null;
- this.X = !0;
- this.I = this.ta = this.U = -1;
- this.Y = this.A = this.C = 0;
- this.Pa = Hd("baseRetryDelayMs", 5E3, a);
- this.$a = Hd("retryDelaySeedMs", 1E4, a);
- this.Ya = Hd("forwardChannelMaxRetries", 2, a);
- this.ra = Hd("forwardChannelRequestTimeoutMs", 2E4, a);
- this.qa = a && a.xmlHttpFactory || void 0;
- this.Ba = a && a.Yb || !1;
- this.K = void 0;
- this.H = a && a.supportsCrossDomainXhr || !1;
- this.J = "";
- this.i = new gd(a && a.concurrentRequestLimit);
- this.Ca = new ld();
- this.ja = a && a.fastHandshake || !1;
- this.Ra = a && a.Wb || !1;
- a && a.Aa && this.h.Aa();
- a && a.forceLongPolling && (this.X = !1);
- this.$ = !this.ja && this.X && a && a.detectBufferingProxy || !1;
- this.ka = void 0;
- this.O = 0;
- this.L = !1;
- this.B = null;
- this.Wa = !a || !1 !== a.Xb;
-}
-
-k = Id.prototype;
-k.ma = 8;
-k.G = 1;
-
-function Ic(a) {
- Jd(a);
-
- if (3 == a.G) {
- var b = a.V++,
- c = N(a.F);
- R(c, "SID", a.J);
- R(c, "RID", b);
- R(c, "TYPE", "terminate");
- Kd(a, c);
- b = new M(a, a.h, b, void 0);
- b.K = 2;
- b.v = jc(N(c));
- c = !1;
- l.navigator && l.navigator.sendBeacon && (c = l.navigator.sendBeacon(b.v.toString(), ""));
- !c && l.Image && (new Image().src = b.v, c = !0);
- c || (b.g = nc(b.l, null), b.g.ea(b.v));
- b.F = Date.now();
- lc(b);
- }
-
- Ld(a);
-}
-
-k.hb = function (a) {
- try {
- this.h.info("Origin Trials invoked: " + a);
- } catch (b) {}
-};
-
-function Ac(a) {
- a.g && (wc(a), a.g.cancel(), a.g = null);
-}
-
-function Jd(a) {
- Ac(a);
- a.u && (l.clearTimeout(a.u), a.u = null);
- zc(a);
- a.i.cancel();
- a.m && ("number" === typeof a.m && l.clearTimeout(a.m), a.m = null);
-}
-
-function Md(a, b) {
- a.l.push(new fd(a.Za++, b));
- 3 == a.G && Hc(a);
-}
-
-function Hc(a) {
- id(a.i) || a.m || (a.m = !0, zb(a.Ha, a), a.C = 0);
-}
-
-function Nd(a, b) {
- if (Cc(a.i) >= a.i.j - (a.m ? 1 : 0)) return !1;
- if (a.m) return a.l = b.D.concat(a.l), !0;
- if (1 == a.G || 2 == a.G || a.C >= (a.Xa ? 0 : a.Ya)) return !1;
- a.m = K(q(a.Ha, a, b), Od(a, a.C));
- a.C++;
- return !0;
-}
-
-k.Ha = function (a) {
- if (this.m) if (this.m = null, 1 == this.G) {
- if (!a) {
- this.V = Math.floor(1E5 * Math.random());
- a = this.V++;
- const e = new M(this, this.h, a, void 0);
- let f = this.s;
- this.P && (f ? (f = ya(f), Aa(f, this.P)) : f = this.P);
- null === this.o && (e.H = f);
- if (this.ja) a: {
- var b = 0;
-
- for (var c = 0; c < this.l.length; c++) {
- b: {
- var d = this.l[c];
-
- if ("__data__" in d.g && (d = d.g.__data__, "string" === typeof d)) {
- d = d.length;
- break b;
- }
-
- d = void 0;
- }
-
- if (void 0 === d) break;
- b += d;
-
- if (4096 < b) {
- b = c;
- break a;
- }
-
- if (4096 === b || c === this.l.length - 1) {
- b = c + 1;
- break a;
- }
- }
-
- b = 1E3;
- } else b = 1E3;
- b = Pd(this, e, b);
- c = N(this.F);
- R(c, "RID", a);
- R(c, "CVER", 22);
- this.D && R(c, "X-HTTP-Session-Id", this.D);
- Kd(this, c);
- this.o && f && Gd(c, this.o, f);
- Dc(this.i, e);
- this.Ra && R(c, "TYPE", "init");
- this.ja ? (R(c, "$req", b), R(c, "SID", "null"), e.$ = !0, ic(e, c, null)) : ic(e, c, b);
- this.G = 2;
- }
- } else 3 == this.G && (a ? Qd(this, a) : 0 == this.l.length || id(this.i) || Qd(this));
-};
-
-function Qd(a, b) {
- var c;
- b ? c = b.m : c = a.V++;
- const d = N(a.F);
- R(d, "SID", a.J);
- R(d, "RID", c);
- R(d, "AID", a.U);
- Kd(a, d);
- a.o && a.s && Gd(d, a.o, a.s);
- c = new M(a, a.h, c, a.C + 1);
- null === a.o && (c.H = a.s);
- b && (a.l = b.D.concat(a.l));
- b = Pd(a, c, 1E3);
- c.setTimeout(Math.round(.5 * a.ra) + Math.round(.5 * a.ra * Math.random()));
- Dc(a.i, c);
- ic(c, d, b);
-}
-
-function Kd(a, b) {
- a.j && Kc({}, function (c, d) {
- R(b, d, c);
- });
-}
-
-function Pd(a, b, c) {
- c = Math.min(a.l.length, c);
- var d = a.j ? q(a.j.Oa, a.j, a) : null;
-
- a: {
- var e = a.l;
- let f = -1;
-
- for (;;) {
- const h = ["count=" + c];
- -1 == f ? 0 < c ? (f = e[0].h, h.push("ofs=" + f)) : f = 0 : h.push("ofs=" + f);
- let n = !0;
-
- for (let u = 0; u < c; u++) {
- let m = e[u].h;
- const r = e[u].g;
- m -= f;
- if (0 > m) f = Math.max(0, e[u].h - 100), n = !1;else try {
- md(r, h, "req" + m + "_");
- } catch (G) {
- d && d(r);
- }
- }
-
- if (n) {
- d = h.join("&");
- break a;
- }
- }
- }
-
- a = a.l.splice(0, c);
- b.D = a;
- return d;
-}
-
-function Gc(a) {
- a.g || a.u || (a.Y = 1, zb(a.Ga, a), a.A = 0);
-}
-
-function Bc(a) {
- if (a.g || a.u || 3 <= a.A) return !1;
- a.Y++;
- a.u = K(q(a.Ga, a), Od(a, a.A));
- a.A++;
- return !0;
-}
-
-k.Ga = function () {
- this.u = null;
- Rd(this);
-
- if (this.$ && !(this.L || null == this.g || 0 >= this.O)) {
- var a = 2 * this.O;
- this.h.info("BP detection timer enabled: " + a);
- this.B = K(q(this.bb, this), a);
- }
-};
-
-k.bb = function () {
- this.B && (this.B = null, this.h.info("BP detection timeout reached."), this.h.info("Buffering proxy detected and switch to long-polling!"), this.N = !1, this.L = !0, J(10), Ac(this), Rd(this));
-};
-
-function wc(a) {
- null != a.B && (l.clearTimeout(a.B), a.B = null);
-}
-
-function Rd(a) {
- a.g = new M(a, a.h, "rpc", a.Y);
- null === a.o && (a.g.H = a.s);
- a.g.O = 0;
- var b = N(a.oa);
- R(b, "RID", "rpc");
- R(b, "SID", a.J);
- R(b, "CI", a.N ? "0" : "1");
- R(b, "AID", a.U);
- Kd(a, b);
- R(b, "TYPE", "xmlhttp");
- a.o && a.s && Gd(b, a.o, a.s);
- a.K && a.g.setTimeout(a.K);
- var c = a.g;
- a = a.la;
- c.K = 1;
- c.v = jc(N(b));
- c.s = null;
- c.U = !0;
- kc(c, a);
-}
-
-k.ab = function () {
- null != this.v && (this.v = null, Ac(this), Bc(this), J(19));
-};
-
-function zc(a) {
- null != a.v && (l.clearTimeout(a.v), a.v = null);
-}
-
-function uc(a, b) {
- var c = null;
-
- if (a.g == b) {
- zc(a);
- wc(a);
- a.g = null;
- var d = 2;
- } else if (yc(a.i, b)) c = b.D, Fc(a.i, b), d = 1;else return;
-
- a.I = b.N;
- if (0 != a.G) if (b.i) {
- if (1 == d) {
- c = b.s ? b.s.length : 0;
- b = Date.now() - b.F;
- var e = a.C;
- d = Sb();
- D(d, new Vb(d, c, b, e));
- Hc(a);
- } else Gc(a);
- } else if (e = b.o, 3 == e || 0 == e && 0 < a.I || !(1 == d && Nd(a, b) || 2 == d && Bc(a))) switch (c && 0 < c.length && (b = a.i, b.i = b.i.concat(c)), e) {
- case 1:
- Q(a, 5);
- break;
-
- case 4:
- Q(a, 10);
- break;
-
- case 3:
- Q(a, 6);
- break;
-
- default:
- Q(a, 2);
- }
-}
-
-function Od(a, b) {
- let c = a.Pa + Math.floor(Math.random() * a.$a);
- a.j || (c *= 2);
- return c * b;
-}
-
-function Q(a, b) {
- a.h.info("Error code " + b);
-
- if (2 == b) {
- var c = null;
- a.j && (c = null);
- var d = q(a.jb, a);
- c || (c = new U("//www.google.com/images/cleardot.gif"), l.location && "http" == l.location.protocol || Oc(c, "https"), jc(c));
- nd(c.toString(), d);
- } else J(2);
-
- a.G = 0;
- a.j && a.j.va(b);
- Ld(a);
- Jd(a);
-}
-
-k.jb = function (a) {
- a ? (this.h.info("Successfully pinged google.com"), J(2)) : (this.h.info("Failed to ping google.com"), J(1));
-};
-
-function Ld(a) {
- a.G = 0;
- a.I = -1;
-
- if (a.j) {
- if (0 != jd(a.i).length || 0 != a.l.length) a.i.i.length = 0, ra(a.l), a.l.length = 0;
- a.j.ua();
- }
-}
-
-function Ec(a, b, c) {
- let d = ad(c);
- if ("" != d.i) b && Pc(d, b + "." + d.i), Qc(d, d.m);else {
- const e = l.location;
- d = bd(e.protocol, b ? b + "." + e.hostname : e.hostname, +e.port, c);
- }
- a.aa && xa(a.aa, function (e, f) {
- R(d, f, e);
- });
- b = a.D;
- c = a.sa;
- b && c && R(d, b, c);
- R(d, "VER", a.ma);
- Kd(a, d);
- return d;
-}
-
-function nc(a, b, c) {
- if (b && !a.H) throw Error("Can't create secondary domain capable XhrIo object.");
- b = c && a.Ba && !a.qa ? new X(new pd({
- ib: !0
- })) : new X(a.qa);
- b.L = a.H;
- return b;
-}
-
-function Sd() {}
-
-k = Sd.prototype;
-
-k.xa = function () {};
-
-k.wa = function () {};
-
-k.va = function () {};
-
-k.ua = function () {};
-
-k.Oa = function () {};
-
-function Td() {
- if (y && !(10 <= Number(Ua))) throw Error("Environmental error: no available transport.");
-}
-
-Td.prototype.g = function (a, b) {
- return new Y(a, b);
-};
-
-function Y(a, b) {
- C.call(this);
- this.g = new Id(b);
- this.l = a;
- this.h = b && b.messageUrlParams || null;
- a = b && b.messageHeaders || null;
- b && b.clientProtocolHeaderRequired && (a ? a["X-Client-Protocol"] = "webchannel" : a = {
- "X-Client-Protocol": "webchannel"
- });
- this.g.s = a;
- a = b && b.initMessageHeaders || null;
- b && b.messageContentType && (a ? a["X-WebChannel-Content-Type"] = b.messageContentType : a = {
- "X-WebChannel-Content-Type": b.messageContentType
- });
- b && b.ya && (a ? a["X-WebChannel-Client-Profile"] = b.ya : a = {
- "X-WebChannel-Client-Profile": b.ya
- });
- this.g.P = a;
- (a = b && b.httpHeadersOverwriteParam) && !sa(a) && (this.g.o = a);
- this.A = b && b.supportsCrossDomainXhr || !1;
- this.v = b && b.sendRawJson || !1;
- (b = b && b.httpSessionIdParam) && !sa(b) && (this.g.D = b, a = this.h, null !== a && b in a && (a = this.h, b in a && delete a[b]));
- this.j = new Z(this);
-}
-
-t(Y, C);
-
-Y.prototype.m = function () {
- this.g.j = this.j;
- this.A && (this.g.H = !0);
- var a = this.g,
- b = this.l,
- c = this.h || void 0;
- a.Wa && (a.h.info("Origin Trials enabled."), zb(q(a.hb, a, b)));
- J(0);
- a.W = b;
- a.aa = c || {};
- a.N = a.X;
- a.F = Ec(a, null, a.W);
- Hc(a);
-};
-
-Y.prototype.close = function () {
- Ic(this.g);
-};
-
-Y.prototype.u = function (a) {
- if ("string" === typeof a) {
- var b = {};
- b.__data__ = a;
- Md(this.g, b);
- } else this.v ? (b = {}, b.__data__ = rb(a), Md(this.g, b)) : Md(this.g, a);
-};
-
-Y.prototype.M = function () {
- this.g.j = null;
- delete this.j;
- Ic(this.g);
- delete this.g;
- Y.Z.M.call(this);
-};
-
-function Ud(a) {
- ac.call(this);
- var b = a.__sm__;
-
- if (b) {
- a: {
- for (const c in b) {
- a = c;
- break a;
- }
-
- a = void 0;
- }
-
- if (this.i = a) a = this.i, b = null !== b && a in b ? b[a] : void 0;
- this.data = b;
- } else this.data = a;
-}
-
-t(Ud, ac);
-
-function Vd() {
- bc.call(this);
- this.status = 1;
-}
-
-t(Vd, bc);
-
-function Z(a) {
- this.g = a;
-}
-
-t(Z, Sd);
-
-Z.prototype.xa = function () {
- D(this.g, "a");
-};
-
-Z.prototype.wa = function (a) {
- D(this.g, new Ud(a));
-};
-
-Z.prototype.va = function (a) {
- D(this.g, new Vd(a));
-};
-
-Z.prototype.ua = function () {
- D(this.g, "b");
-};
-/*
-Copyright 2017 Google LLC
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-
-Td.prototype.createWebChannel = Td.prototype.g;
-Y.prototype.send = Y.prototype.u;
-Y.prototype.open = Y.prototype.m;
-Y.prototype.close = Y.prototype.close;
-Wb.NO_ERROR = 0;
-Wb.TIMEOUT = 8;
-Wb.HTTP_ERROR = 6;
-Xb.COMPLETE = "complete";
-$b.EventType = L;
-L.OPEN = "a";
-L.CLOSE = "b";
-L.ERROR = "c";
-L.MESSAGE = "d";
-C.prototype.listen = C.prototype.N;
-X.prototype.listenOnce = X.prototype.O;
-X.prototype.getLastError = X.prototype.La;
-X.prototype.getLastErrorCode = X.prototype.Da;
-X.prototype.getStatus = X.prototype.ba;
-X.prototype.getResponseJson = X.prototype.Qa;
-X.prototype.getResponseText = X.prototype.ga;
-X.prototype.send = X.prototype.ea;
-
-var createWebChannelTransport = esm.createWebChannelTransport = function () {
- return new Td();
-};
-
-var getStatEventTarget = esm.getStatEventTarget = function () {
- return Sb();
-};
-
-var ErrorCode = esm.ErrorCode = Wb;
-var EventType = esm.EventType = Xb;
-var Event = esm.Event = H;
-var Stat = esm.Stat = {
- rb: 0,
- ub: 1,
- vb: 2,
- Ob: 3,
- Tb: 4,
- Qb: 5,
- Rb: 6,
- Pb: 7,
- Nb: 8,
- Sb: 9,
- PROXY: 10,
- NOPROXY: 11,
- Lb: 12,
- Hb: 13,
- Ib: 14,
- Gb: 15,
- Jb: 16,
- Kb: 17,
- nb: 18,
- mb: 19,
- ob: 20
-};
-var FetchXmlHttpFactory = esm.FetchXmlHttpFactory = pd;
-var WebChannel = esm.WebChannel = $b;
-var XhrIo = esm.XhrIo = X;
-
-
-/***/ }),
-
-/***/ "./node_modules/@floating-ui/react-dom-interactions/dist/floating-ui.react-dom-interactions.esm.js":
-/*!*********************************************************************************************************!*\
- !*** ./node_modules/@floating-ui/react-dom-interactions/dist/floating-ui.react-dom-interactions.esm.js ***!
- \*********************************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FloatingDelayGroup": () => (/* binding */ FloatingDelayGroup),
-/* harmony export */ "FloatingFocusManager": () => (/* binding */ FloatingFocusManager),
-/* harmony export */ "FloatingNode": () => (/* binding */ FloatingNode),
-/* harmony export */ "FloatingOverlay": () => (/* binding */ FloatingOverlay),
-/* harmony export */ "FloatingPortal": () => (/* binding */ FloatingPortal),
-/* harmony export */ "FloatingTree": () => (/* binding */ FloatingTree),
-/* harmony export */ "arrow": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.arrow),
-/* harmony export */ "autoPlacement": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.autoPlacement),
-/* harmony export */ "autoUpdate": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.autoUpdate),
-/* harmony export */ "computePosition": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.computePosition),
-/* harmony export */ "detectOverflow": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.detectOverflow),
-/* harmony export */ "flip": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.flip),
-/* harmony export */ "getOverflowAncestors": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.getOverflowAncestors),
-/* harmony export */ "hide": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.hide),
-/* harmony export */ "inline": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.inline),
-/* harmony export */ "inner": () => (/* binding */ inner),
-/* harmony export */ "limitShift": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.limitShift),
-/* harmony export */ "offset": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.offset),
-/* harmony export */ "safePolygon": () => (/* binding */ safePolygon),
-/* harmony export */ "shift": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.shift),
-/* harmony export */ "size": () => (/* reexport safe */ _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.size),
-/* harmony export */ "useClick": () => (/* binding */ useClick),
-/* harmony export */ "useDelayGroup": () => (/* binding */ useDelayGroup),
-/* harmony export */ "useDelayGroupContext": () => (/* binding */ useDelayGroupContext),
-/* harmony export */ "useDismiss": () => (/* binding */ useDismiss),
-/* harmony export */ "useFloating": () => (/* binding */ useFloating),
-/* harmony export */ "useFloatingNodeId": () => (/* binding */ useFloatingNodeId),
-/* harmony export */ "useFloatingParentNodeId": () => (/* binding */ useFloatingParentNodeId),
-/* harmony export */ "useFloatingPortalNode": () => (/* binding */ useFloatingPortalNode),
-/* harmony export */ "useFloatingTree": () => (/* binding */ useFloatingTree),
-/* harmony export */ "useFocus": () => (/* binding */ useFocus),
-/* harmony export */ "useHover": () => (/* binding */ useHover),
-/* harmony export */ "useId": () => (/* binding */ useId),
-/* harmony export */ "useInnerOffset": () => (/* binding */ useInnerOffset),
-/* harmony export */ "useInteractions": () => (/* binding */ useInteractions),
-/* harmony export */ "useListNavigation": () => (/* binding */ useListNavigation),
-/* harmony export */ "useRole": () => (/* binding */ useRole),
-/* harmony export */ "useTypeahead": () => (/* binding */ useTypeahead)
-/* harmony export */ });
-/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js");
-/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/@floating-ui/core/dist/floating-ui.core.browser.mjs");
-/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.mjs");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
-/* harmony import */ var aria_hidden__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! aria-hidden */ "./node_modules/aria-hidden/dist/es2015/index.js");
-
-
-
-
-
-
-var index = typeof document !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_1__.useEffect;
-
-function createPubSub() {
- const map = new Map();
- return {
- emit(event, data) {
- var _map$get;
-
- (_map$get = map.get(event)) == null ? void 0 : _map$get.forEach(handler => handler(data));
- },
-
- on(event, listener) {
- map.set(event, [...(map.get(event) || []), listener]);
- },
-
- off(event, listener) {
- map.set(event, (map.get(event) || []).filter(l => l !== listener));
- }
-
- };
-}
-
-let serverHandoffComplete = false;
-let count = 0;
-
-const genId = () => "floating-ui-" + count++;
-
-function useFloatingId() {
- const [id, setId] = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => serverHandoffComplete ? genId() : undefined);
- index(() => {
- if (id == null) {
- setId(genId());
- } // eslint-disable-next-line react-hooks/exhaustive-deps
-
- }, []);
- react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
- if (!serverHandoffComplete) {
- serverHandoffComplete = true;
- }
- }, []);
- return id;
-} // `toString()` prevents bundlers from trying to `import { useId } from 'react'`
-
-
-const useReactId = react__WEBPACK_IMPORTED_MODULE_1__[/*#__PURE__*/'useId'.toString()];
-/**
- * Uses React 18's built-in `useId()` when available, or falls back to a
- * slightly less performant (requiring a double render) implementation for
- * earlier React versions.
- * @see https://floating-ui.com/docs/useId
- */
-
-const useId = useReactId != null ? useReactId : useFloatingId;
-const FloatingNodeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext(null);
-const FloatingTreeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext(null);
-
-const useFloatingParentNodeId = () => {
- var _React$useContext$id, _React$useContext;
-
- return (_React$useContext$id = (_React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) != null ? _React$useContext$id : null;
-};
-
-const useFloatingTree = () => react__WEBPACK_IMPORTED_MODULE_1__.useContext(FloatingTreeContext);
-/**
- * Registers a node into the floating tree, returning its id.
- */
-
-
-const useFloatingNodeId = () => {
- const id = useId();
- const tree = useFloatingTree();
- const parentId = useFloatingParentNodeId();
- index(() => {
- const node = {
- id,
- parentId
- };
- tree == null ? void 0 : tree.addNode(node);
- return () => {
- tree == null ? void 0 : tree.removeNode(node);
- };
- }, [tree, id, parentId]);
- return id;
-};
-/**
- * Provides parent node context for nested floating elements.
- * @see https://floating-ui.com/docs/FloatingTree
- */
-
-
-const FloatingNode = _ref => {
- let {
- children,
- id
- } = _ref;
- const parentId = useFloatingParentNodeId();
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(FloatingNodeContext.Provider, {
- value: react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
- id,
- parentId
- }), [id, parentId])
- }, children);
-};
-/**
- * Provides context for nested floating elements when they are not children of
- * each other on the DOM (i.e. portalled to a common node, rather than their
- * respective parent).
- * @see https://floating-ui.com/docs/FloatingTree
- */
-
-
-const FloatingTree = _ref2 => {
- let {
- children
- } = _ref2;
- const nodesRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef([]);
- const addNode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(node => {
- nodesRef.current = [...nodesRef.current, node];
- }, []);
- const removeNode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(node => {
- nodesRef.current = nodesRef.current.filter(n => n !== node);
- }, []);
- const events = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => createPubSub())[0];
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(FloatingTreeContext.Provider, {
- value: react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
- nodesRef,
- addNode,
- removeNode,
- events
- }), [nodesRef, addNode, removeNode, events])
- }, children);
-};
-
-function getDocument(floating) {
- var _floating$ownerDocume;
-
- return (_floating$ownerDocume = floating == null ? void 0 : floating.ownerDocument) != null ? _floating$ownerDocume : document;
-}
-
-function getWindow(value) {
- var _getDocument$defaultV;
-
- return (_getDocument$defaultV = getDocument(value).defaultView) != null ? _getDocument$defaultV : window;
-}
-
-function isElement(value) {
- return value ? value instanceof getWindow(value).Element : false;
-}
-
-function isHTMLElement(value) {
- return value ? value instanceof getWindow(value).HTMLElement : false;
-} // `toString()` prevents bundlers from trying to `import { useInsertionEffect } from 'react'`
-
-
-const useInsertionEffect = react__WEBPACK_IMPORTED_MODULE_1__[/*#__PURE__*/'useInsertionEffect'.toString()];
-
-function useEvent(callback) {
- const ref = react__WEBPACK_IMPORTED_MODULE_1__.useRef(() => {
- if (true) {
- throw new Error('Cannot call an event handler while rendering.');
- }
- });
-
- if (useInsertionEffect) {
- // eslint-disable-next-line react-hooks/rules-of-hooks
- useInsertionEffect(() => {
- ref.current = callback;
- });
- } else {
- ref.current = callback;
- }
-
- return react__WEBPACK_IMPORTED_MODULE_1__.useCallback(function () {
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return ref.current == null ? void 0 : ref.current(...args);
- }, []);
-}
-
-function useFloating(_temp) {
- let {
- open = false,
- onOpenChange: unstable_onOpenChange,
- whileElementsMounted,
- placement,
- middleware,
- strategy,
- nodeId
- } = _temp === void 0 ? {} : _temp;
- const [domReference, setDomReference] = react__WEBPACK_IMPORTED_MODULE_1__.useState(null);
- const tree = useFloatingTree();
- const domReferenceRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
- const dataRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef({});
- const events = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => createPubSub())[0];
- const position = (0,_floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_0__.useFloating)({
- placement,
- middleware,
- strategy,
- whileElementsMounted
- });
- const onOpenChange = useEvent(unstable_onOpenChange);
- const refs = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({ ...position.refs,
- domReference: domReferenceRef
- }), [position.refs]);
- const context = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({ ...position,
- refs,
- dataRef,
- nodeId,
- events,
- open,
- onOpenChange,
- _: {
- domReference
- }
- }), [position, nodeId, events, open, onOpenChange, refs, domReference]);
- index(() => {
- const node = tree == null ? void 0 : tree.nodesRef.current.find(node => node.id === nodeId);
-
- if (node) {
- node.context = context;
- }
- });
- const {
- reference
- } = position;
- const setReference = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(node => {
- if (isElement(node) || node === null) {
- context.refs.domReference.current = node;
- setDomReference(node);
- }
-
- reference(node);
- }, [reference, context.refs]);
- return react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({ ...position,
- context,
- refs,
- reference: setReference
- }), [position, refs, context, setReference]);
-}
-
-function mergeProps(userProps, propsList, elementKey) {
- const map = new Map();
- return { ...(elementKey === 'floating' && {
- tabIndex: -1
- }),
- ...userProps,
- ...propsList.map(value => value ? value[elementKey] : null).concat(userProps).reduce((acc, props) => {
- if (!props) {
- return acc;
- }
-
- Object.entries(props).forEach(_ref => {
- let [key, value] = _ref;
-
- if (key.indexOf('on') === 0) {
- if (!map.has(key)) {
- map.set(key, []);
- }
-
- if (typeof value === 'function') {
- var _map$get;
-
- (_map$get = map.get(key)) == null ? void 0 : _map$get.push(value);
-
- acc[key] = function () {
- var _map$get2;
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.forEach(fn => fn(...args));
- };
- }
- } else {
- acc[key] = value;
- }
- });
- return acc;
- }, {})
- };
-}
-
-const useInteractions = function (propsList) {
- if (propsList === void 0) {
- propsList = [];
- }
-
- return {
- getReferenceProps: userProps => mergeProps(userProps, propsList, 'reference'),
- getFloatingProps: userProps => mergeProps(userProps, propsList, 'floating'),
- getItemProps: userProps => mergeProps(userProps, propsList, 'item')
- };
-};
-
-function getChildren(nodes, id) {
- var _nodes$filter;
-
- let allChildren = (_nodes$filter = nodes.filter(node => {
- var _node$context;
-
- return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);
- })) != null ? _nodes$filter : [];
- let currentChildren = allChildren;
-
- while (currentChildren.length) {
- var _nodes$filter2;
-
- currentChildren = (_nodes$filter2 = nodes.filter(node => {
- var _currentChildren;
-
- return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some(n => {
- var _node$context2;
-
- return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);
- });
- })) != null ? _nodes$filter2 : [];
- allChildren = allChildren.concat(currentChildren);
- }
-
- return allChildren;
-}
-
-function isPointInPolygon(point, polygon) {
- const [x, y] = point;
- let isInside = false;
- const length = polygon.length;
-
- for (let i = 0, j = length - 1; i < length; j = i++) {
- const [xi, yi] = polygon[i] || [0, 0];
- const [xj, yj] = polygon[j] || [0, 0];
- const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;
-
- if (intersect) {
- isInside = !isInside;
- }
- }
-
- return isInside;
-}
-
-function safePolygon(_temp) {
- let {
- restMs = 0,
- buffer = 0.5,
- blockPointerEvents = true,
- debug = null
- } = _temp === void 0 ? {} : _temp;
- let timeoutId;
- let polygonIsDestroyed = false;
-
- const fn = _ref => {
- let {
- x,
- y,
- placement,
- refs,
- onClose,
- nodeId,
- tree,
- leave = false
- } = _ref;
- return function onPointerMove(event) {
- var _refs$domReference$cu, _refs$floating$curren;
-
- clearTimeout(timeoutId);
-
- function close() {
- clearTimeout(timeoutId);
- onClose();
- }
-
- if (event.pointerType && event.pointerType !== 'mouse') {
- return;
- }
-
- const {
- clientX,
- clientY
- } = event;
- const target = 'composedPath' in event ? event.composedPath()[0] : event.target;
- const targetNode = target; // If the pointer is over the reference or floating element already, there
- // is no need to run the logic.
-
- if (event.type === 'pointermove' && (_refs$domReference$cu = refs.domReference.current) != null && _refs$domReference$cu.contains(targetNode)) {
- return;
- } // If any nested child is open, abort.
-
-
- if (tree && getChildren(tree.nodesRef.current, nodeId).some(_ref2 => {
- let {
- context
- } = _ref2;
- return context == null ? void 0 : context.open;
- })) {
- return;
- } // The cursor landed, so we destroy the polygon logic
-
-
- if ((_refs$floating$curren = refs.floating.current) != null && _refs$floating$curren.contains(targetNode) && !leave) {
- polygonIsDestroyed = true;
- return;
- }
-
- if (!refs.domReference.current || !refs.floating.current || placement == null || x == null || y == null) {
- return;
- }
-
- const refRect = refs.domReference.current.getBoundingClientRect();
- const rect = refs.floating.current.getBoundingClientRect();
- const side = placement.split('-')[0];
- const cursorLeaveFromRight = x > rect.right - rect.width / 2;
- const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2; // If the pointer is leaving from the opposite side, the "buffer" logic
- // creates a point where the floating element remains open, but should be
- // ignored.
- // A constant of 1 handles floating point rounding errors.
-
- if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {
- return close();
- } // Ignore when the cursor is within the rectangular trough between the
- // two elements. Since the triangle is created from the cursor point,
- // which can start beyond the ref element's edge, traversing back and
- // forth from the ref to the floating element can cause it to close. This
- // ensures it always remains open in that case.
-
-
- switch (side) {
- case 'top':
- if (clientX >= rect.left && clientX <= rect.right && clientY >= rect.top && clientY <= refRect.top + 1) {
- return;
- }
-
- break;
-
- case 'bottom':
- if (clientX >= rect.left && clientX <= rect.right && clientY >= refRect.bottom - 1 && clientY <= rect.bottom) {
- return;
- }
-
- break;
-
- case 'left':
- if (clientX >= rect.left && clientX <= refRect.left + 1 && clientY >= rect.top && clientY <= rect.bottom) {
- return;
- }
-
- break;
-
- case 'right':
- if (clientX >= refRect.right - 1 && clientX <= rect.right && clientY >= rect.top && clientY <= rect.bottom) {
- return;
- }
-
- break;
- }
-
- if (polygonIsDestroyed) {
- return close();
- }
-
- function getPolygon(_ref3) {
- let [x, y] = _ref3;
- const isFloatingWider = rect.width > refRect.width;
- const isFloatingTaller = rect.height > refRect.height;
-
- switch (side) {
- case 'top':
- {
- const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
- const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
- const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];
- return [cursorPointOne, cursorPointTwo, ...commonPoints];
- }
-
- case 'bottom':
- {
- const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
- const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
- const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];
- return [cursorPointOne, cursorPointTwo, ...commonPoints];
- }
-
- case 'left':
- {
- const cursorPointOne = [x + buffer + 1, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
- const cursorPointTwo = [x + buffer + 1, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
- const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];
- return [...commonPoints, cursorPointOne, cursorPointTwo];
- }
-
- case 'right':
- {
- const cursorPointOne = [x - buffer, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
- const cursorPointTwo = [x - buffer, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
- const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];
- return [cursorPointOne, cursorPointTwo, ...commonPoints];
- }
- }
- }
-
- const poly = getPolygon([x, y]);
-
- if (true) {
- debug == null ? void 0 : debug(poly.slice(0, 4).join(', '));
- }
-
- if (!isPointInPolygon([clientX, clientY], poly)) {
- close();
- } else if (restMs) {
- timeoutId = setTimeout(onClose, restMs);
- }
- };
- };
-
- fn.__options = {
- blockPointerEvents
- };
- return fn;
-}
-
-const DEFAULT_ID = 'floating-ui-root';
-
-const useFloatingPortalNode = function (_temp) {
- let {
- id = DEFAULT_ID,
- enabled = true
- } = _temp === void 0 ? {} : _temp;
- const [portalEl, setPortalEl] = react__WEBPACK_IMPORTED_MODULE_1__.useState(null);
- index(() => {
- if (!enabled) {
- return;
- }
-
- const rootNode = document.getElementById(id);
-
- if (rootNode) {
- setPortalEl(rootNode);
- } else {
- const newPortalEl = document.createElement('div');
- newPortalEl.id = id;
- setPortalEl(newPortalEl);
-
- if (!document.body.contains(newPortalEl)) {
- document.body.appendChild(newPortalEl);
- }
- }
- }, [id, enabled]);
- return portalEl;
-};
-/**
- * Portals your floating element outside of the main app node.
- * @see https://floating-ui.com/docs/FloatingPortal
- */
-
-
-const FloatingPortal = _ref => {
- let {
- children,
- id = DEFAULT_ID,
- root = null
- } = _ref;
- const portalNode = useFloatingPortalNode({
- id,
- enabled: !root
- });
-
- if (root) {
- return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(children, root);
- }
-
- if (portalNode) {
- return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(children, portalNode);
- }
-
- return null;
-};
-
-function _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);
-} // Avoid Chrome DevTools blue warning
-
-
-function getPlatform() {
- const uaData = navigator.userAgentData;
-
- if (uaData != null && uaData.platform) {
- return uaData.platform;
- }
-
- return navigator.platform;
-}
-
-function getUserAgent() {
- const uaData = navigator.userAgentData;
-
- if (uaData != null && uaData.brands) {
- return uaData.brands.map(_ref => {
- let {
- brand,
- version
- } = _ref;
- return brand + "/" + version;
- }).join(' ');
- }
-
- return navigator.userAgent;
-}
-
-const identifier = 'data-floating-ui-scroll-lock';
-/**
- * Provides base styling for a fixed overlay element to dim content or block
- * pointer events behind a floating element.
- * It's a regular `' // delete
-
-};
-var _closeTags = {
- '23': '',
- // reset italic
- '24': '',
- // reset underscore
- '29': '' // reset delete
-
-};
-[0, 21, 22, 27, 28, 39, 49].forEach(function (n) {
- _closeTags[n] = '';
-});
-/**
- * Converts text with ANSI color codes to HTML markup.
- * @param {String} text
- * @returns {*}
- */
-
-function ansiHTML(text) {
- // Returns the text if the string has no ANSI escape code.
- if (!_regANSI.test(text)) {
- return text;
- } // Cache opened sequence.
-
-
- var ansiCodes = []; // Replace with markup.
-
- var ret = text.replace(/\033\[(\d+)m/g, function (match, seq) {
- var ot = _openTags[seq];
-
- if (ot) {
- // If current sequence has been opened, close it.
- if (!!~ansiCodes.indexOf(seq)) {
- // eslint-disable-line no-extra-boolean-cast
- ansiCodes.pop();
- return '';
- } // Open tag.
-
-
- ansiCodes.push(seq);
- return ot[0] === '<' ? ot : '';
- }
-
- var ct = _closeTags[seq];
-
- if (ct) {
- // Pop sequence
- ansiCodes.pop();
- return ct;
- }
-
- return '';
- }); // Make sure tags are closed.
-
- var l = ansiCodes.length;
- l > 0 && (ret += Array(l + 1).join(''));
- return ret;
-}
-/**
- * Customize colors.
- * @param {Object} colors reference to _defColors
- */
-
-
-ansiHTML.setColors = function (colors) {
- if (typeof colors !== 'object') {
- throw new Error('`colors` parameter must be an Object.');
- }
-
- var _finalColors = {};
-
- for (var key in _defColors) {
- var hex = colors.hasOwnProperty(key) ? colors[key] : null;
-
- if (!hex) {
- _finalColors[key] = _defColors[key];
- continue;
- }
-
- if ('reset' === key) {
- if (typeof hex === 'string') {
- hex = [hex];
- }
-
- if (!Array.isArray(hex) || hex.length === 0 || hex.some(function (h) {
- return typeof h !== 'string';
- })) {
- throw new Error('The value of `' + key + '` property must be an Array and each item could only be a hex string, e.g.: FF0000');
- }
-
- var defHexColor = _defColors[key];
-
- if (!hex[0]) {
- hex[0] = defHexColor[0];
- }
-
- if (hex.length === 1 || !hex[1]) {
- hex = [hex[0]];
- hex.push(defHexColor[1]);
- }
-
- hex = hex.slice(0, 2);
- } else if (typeof hex !== 'string') {
- throw new Error('The value of `' + key + '` property must be a hex string, e.g.: FF0000');
- }
-
- _finalColors[key] = hex;
- }
-
- _setTags(_finalColors);
-};
-/**
- * Reset colors.
- */
-
-
-ansiHTML.reset = function () {
- _setTags(_defColors);
-};
-/**
- * Expose tags, including open and close.
- * @type {Object}
- */
-
-
-ansiHTML.tags = {};
-
-if (Object.defineProperty) {
- Object.defineProperty(ansiHTML.tags, 'open', {
- get: function () {
- return _openTags;
- }
- });
- Object.defineProperty(ansiHTML.tags, 'close', {
- get: function () {
- return _closeTags;
- }
- });
-} else {
- ansiHTML.tags.open = _openTags;
- ansiHTML.tags.close = _closeTags;
-}
-
-function _setTags(colors) {
- // reset all
- _openTags['0'] = 'font-weight:normal;opacity:1;color:#' + colors.reset[0] + ';background:#' + colors.reset[1]; // inverse
-
- _openTags['7'] = 'color:#' + colors.reset[1] + ';background:#' + colors.reset[0]; // dark grey
-
- _openTags['90'] = 'color:#' + colors.darkgrey;
-
- for (var code in _styles) {
- var color = _styles[code];
- var oriColor = colors[color] || '000';
- _openTags[code] = 'color:#' + oriColor;
- code = parseInt(code);
- _openTags[(code + 10).toString()] = 'background:#' + oriColor;
- }
-}
-
-ansiHTML.reset();
-
-/***/ }),
-
-/***/ "./node_modules/aria-hidden/dist/es2015/index.js":
-/*!*******************************************************!*\
- !*** ./node_modules/aria-hidden/dist/es2015/index.js ***!
- \*******************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "hideOthers": () => (/* binding */ hideOthers),
-/* harmony export */ "inertOthers": () => (/* binding */ inertOthers),
-/* harmony export */ "supportsInert": () => (/* binding */ supportsInert),
-/* harmony export */ "suppressOthers": () => (/* binding */ suppressOthers)
-/* harmony export */ });
-var getDefaultParent = function (originalTarget) {
- if (typeof document === 'undefined') {
- return null;
- }
-
- var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;
- return sampleTarget.ownerDocument.body;
-};
-
-var counterMap = new WeakMap();
-var uncontrolledNodes = new WeakMap();
-var markerMap = {};
-var lockCount = 0;
-/**
- * Marks everything except given node(or nodes) as aria-hidden
- * @param {Element | Element[]} originalTarget - elements to keep on the page
- * @param [parentNode] - top element, defaults to document.body
- * @param {String} [markerName] - a special attribute to mark every node
- * @param {String} [controlAttribute] - html Attribute to control
- * @return {Undo} undo command
- */
-
-var applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {
- var targets = Array.isArray(originalTarget) ? originalTarget : [originalTarget];
-
- if (!markerMap[markerName]) {
- markerMap[markerName] = new WeakMap();
- }
-
- var markerCounter = markerMap[markerName];
- var hiddenNodes = [];
- var elementsToKeep = new Set();
- var elementsToStop = new Set(targets);
-
- var keep = function (el) {
- if (!el || elementsToKeep.has(el)) {
- return;
- }
-
- elementsToKeep.add(el);
- keep(el.parentNode);
- };
-
- targets.forEach(keep);
-
- var deep = function (parent) {
- if (!parent || elementsToStop.has(parent)) {
- return;
- }
-
- Array.prototype.forEach.call(parent.children, function (node) {
- if (elementsToKeep.has(node)) {
- deep(node);
- } else {
- var attr = node.getAttribute(controlAttribute);
- var alreadyHidden = attr !== null && attr !== 'false';
- var counterValue = (counterMap.get(node) || 0) + 1;
- var markerValue = (markerCounter.get(node) || 0) + 1;
- counterMap.set(node, counterValue);
- markerCounter.set(node, markerValue);
- hiddenNodes.push(node);
-
- if (counterValue === 1 && alreadyHidden) {
- uncontrolledNodes.set(node, true);
- }
-
- if (markerValue === 1) {
- node.setAttribute(markerName, 'true');
- }
-
- if (!alreadyHidden) {
- node.setAttribute(controlAttribute, 'true');
- }
- }
- });
- };
-
- deep(parentNode);
- elementsToKeep.clear();
- lockCount++;
- return function () {
- hiddenNodes.forEach(function (node) {
- var counterValue = counterMap.get(node) - 1;
- var markerValue = markerCounter.get(node) - 1;
- counterMap.set(node, counterValue);
- markerCounter.set(node, markerValue);
-
- if (!counterValue) {
- if (!uncontrolledNodes.has(node)) {
- node.removeAttribute(controlAttribute);
- }
-
- uncontrolledNodes.delete(node);
- }
-
- if (!markerValue) {
- node.removeAttribute(markerName);
- }
- });
- lockCount--;
-
- if (!lockCount) {
- // clear
- counterMap = new WeakMap();
- counterMap = new WeakMap();
- uncontrolledNodes = new WeakMap();
- markerMap = {};
- }
- };
-};
-/**
- * Marks everything except given node(or nodes) as aria-hidden
- * @param {Element | Element[]} originalTarget - elements to keep on the page
- * @param [parentNode] - top element, defaults to document.body
- * @param {String} [markerName] - a special attribute to mark every node
- * @return {Undo} undo command
- */
-
-
-var hideOthers = function (originalTarget, parentNode, markerName) {
- if (markerName === void 0) {
- markerName = 'data-aria-hidden';
- }
-
- var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
- var activeParentNode = parentNode || getDefaultParent(originalTarget);
-
- if (!activeParentNode) {
- return function () {
- return null;
- };
- } // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10
-
-
- targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));
- return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');
-};
-/**
- * Marks everything except given node(or nodes) as inert
- * @param {Element | Element[]} originalTarget - elements to keep on the page
- * @param [parentNode] - top element, defaults to document.body
- * @param {String} [markerName] - a special attribute to mark every node
- * @return {Undo} undo command
- */
-
-var inertOthers = function (originalTarget, parentNode, markerName) {
- if (markerName === void 0) {
- markerName = 'data-inert-ed';
- }
-
- var activeParentNode = parentNode || getDefaultParent(originalTarget);
-
- if (!activeParentNode) {
- return function () {
- return null;
- };
- }
-
- return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');
-};
-/**
- * @returns if current browser supports inert
- */
-
-var supportsInert = function () {
- return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');
-};
-/**
- * Automatic function to "suppress" DOM elements - _hide_ or _inert_ in the best possible way
- * @param {Element | Element[]} originalTarget - elements to keep on the page
- * @param [parentNode] - top element, defaults to document.body
- * @param {String} [markerName] - a special attribute to mark every node
- * @return {Undo} undo command
- */
-
-var suppressOthers = function (originalTarget, parentNode, markerName) {
- if (markerName === void 0) {
- markerName = 'data-suppressed';
- }
-
- return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);
-};
-
-/***/ }),
-
-/***/ "./node_modules/classnames/index.js":
-/*!******************************************!*\
- !*** ./node_modules/classnames/index.js ***!
- \******************************************/
-/***/ ((module, exports) => {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/
-
-/* global define */
-(function () {
- 'use strict';
-
- var hasOwn = {}.hasOwnProperty;
-
- function classNames() {
- var classes = [];
-
- for (var i = 0; i < arguments.length; i++) {
- var arg = arguments[i];
- if (!arg) continue;
- var argType = typeof arg;
-
- if (argType === 'string' || argType === 'number') {
- classes.push(arg);
- } else if (Array.isArray(arg)) {
- if (arg.length) {
- var inner = classNames.apply(null, arg);
-
- if (inner) {
- classes.push(inner);
- }
- }
- } else if (argType === 'object') {
- if (arg.toString === Object.prototype.toString) {
- for (var key in arg) {
- if (hasOwn.call(arg, key) && arg[key]) {
- classes.push(key);
- }
- }
- } else {
- classes.push(arg.toString());
- }
- }
- }
-
- return classes.join(' ');
- }
-
- if ( true && module.exports) {
- classNames.default = classNames;
- module.exports = classNames;
- } else if (true) {
- // register as 'classnames', consistent with npm package name
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
- return classNames;
- }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- } else {}
-})();
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/actual/global-this.js":
-/*!*********************************************************!*\
- !*** ./node_modules/core-js-pure/actual/global-this.js ***!
- \*********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var parent = __webpack_require__(/*! ../stable/global-this */ "./node_modules/core-js-pure/stable/global-this.js");
-
-module.exports = parent;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/es/global-this.js":
-/*!*****************************************************!*\
- !*** ./node_modules/core-js-pure/es/global-this.js ***!
- \*****************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(/*! ../modules/es.global-this */ "./node_modules/core-js-pure/modules/es.global-this.js");
-
-module.exports = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/features/global-this.js":
-/*!***********************************************************!*\
- !*** ./node_modules/core-js-pure/features/global-this.js ***!
- \***********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-module.exports = __webpack_require__(/*! ../full/global-this */ "./node_modules/core-js-pure/full/global-this.js");
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/full/global-this.js":
-/*!*******************************************************!*\
- !*** ./node_modules/core-js-pure/full/global-this.js ***!
- \*******************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-// TODO: remove from `core-js@4`
-__webpack_require__(/*! ../modules/esnext.global-this */ "./node_modules/core-js-pure/modules/esnext.global-this.js");
-
-var parent = __webpack_require__(/*! ../actual/global-this */ "./node_modules/core-js-pure/actual/global-this.js");
-
-module.exports = parent;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/a-callable.js":
-/*!***********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/a-callable.js ***!
- \***********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js-pure/internals/try-to-string.js");
-
-var $TypeError = TypeError; // `Assert: IsCallable(argument) is true`
-
-module.exports = function (argument) {
- if (isCallable(argument)) return argument;
- throw $TypeError(tryToString(argument) + ' is not a function');
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/an-object.js":
-/*!**********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/an-object.js ***!
- \**********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js");
-
-var $String = String;
-var $TypeError = TypeError; // `Assert: Type(argument) is Object`
-
-module.exports = function (argument) {
- if (isObject(argument)) return argument;
- throw $TypeError($String(argument) + ' is not an object');
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/classof-raw.js":
-/*!************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/classof-raw.js ***!
- \************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var toString = uncurryThis({}.toString);
-var stringSlice = uncurryThis(''.slice);
-
-module.exports = function (it) {
- return stringSlice(toString(it), 8, -1);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/create-non-enumerable-property.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/create-non-enumerable-property.js ***!
- \*******************************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js");
-
-var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js-pure/internals/object-define-property.js");
-
-var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js-pure/internals/create-property-descriptor.js");
-
-module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/create-property-descriptor.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/create-property-descriptor.js ***!
- \***************************************************************************/
-/***/ ((module) => {
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/define-global-property.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/define-global-property.js ***!
- \***********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js"); // eslint-disable-next-line es-x/no-object-defineproperty -- safe
-
-
-var defineProperty = Object.defineProperty;
-
-module.exports = function (key, value) {
- try {
- defineProperty(global, key, {
- value: value,
- configurable: true,
- writable: true
- });
- } catch (error) {
- global[key] = value;
- }
-
- return value;
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/descriptors.js":
-/*!************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/descriptors.js ***!
- \************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); // Detect IE8's incomplete defineProperty implementation
-
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
- return Object.defineProperty({}, 1, {
- get: function () {
- return 7;
- }
- })[1] != 7;
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/document-create-element.js":
-/*!************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/document-create-element.js ***!
- \************************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js");
-
-var document = global.document; // typeof document.createElement is 'object' in old IE
-
-var EXISTS = isObject(document) && isObject(document.createElement);
-
-module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/engine-user-agent.js":
-/*!******************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/engine-user-agent.js ***!
- \******************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js-pure/internals/get-built-in.js");
-
-module.exports = getBuiltIn('navigator', 'userAgent') || '';
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/engine-v8-version.js":
-/*!******************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/engine-v8-version.js ***!
- \******************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js-pure/internals/engine-user-agent.js");
-
-var process = global.process;
-var Deno = global.Deno;
-var versions = process && process.versions || Deno && Deno.version;
-var v8 = versions && versions.v8;
-var match, version;
-
-if (v8) {
- match = v8.split('.'); // in old Chrome, versions of V8 isn't V8 = Chrome / 10
- // but their correct versions are not interesting for us
-
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-} // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-// so check `userAgent` even if `.v8` exists, but 0
-
-
-if (!version && userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
-
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = +match[1];
- }
-}
-
-module.exports = version;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/export.js":
-/*!*******************************************************!*\
- !*** ./node_modules/core-js-pure/internals/export.js ***!
- \*******************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-"use strict";
-
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js-pure/internals/function-apply.js");
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js").f);
-
-var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js-pure/internals/is-forced.js");
-
-var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js-pure/internals/path.js");
-
-var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js-pure/internals/function-bind-context.js");
-
-var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js-pure/internals/create-non-enumerable-property.js");
-
-var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js");
-
-var wrapConstructor = function (NativeConstructor) {
- var Wrapper = function (a, b, c) {
- if (this instanceof Wrapper) {
- switch (arguments.length) {
- case 0:
- return new NativeConstructor();
-
- case 1:
- return new NativeConstructor(a);
-
- case 2:
- return new NativeConstructor(a, b);
- }
-
- return new NativeConstructor(a, b, c);
- }
-
- return apply(NativeConstructor, this, arguments);
- };
-
- Wrapper.prototype = NativeConstructor.prototype;
- return Wrapper;
-};
-/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
-*/
-
-
-module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var PROTO = options.proto;
- var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;
- var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
- var targetPrototype = target.prototype;
- var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
- var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
-
- for (key in source) {
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contains in native
-
- USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);
- targetProperty = target[key];
- if (USE_NATIVE) if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(nativeSource, key);
- nativeProperty = descriptor && descriptor.value;
- } else nativeProperty = nativeSource[key]; // export native or implementation
-
- sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
- if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue; // bind timers to global for call from export context
-
- if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global); // wrap global constructors for prevent changs in this version
- else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty); // make static versions for prototype methods
- else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty); // default case
- else resultProperty = sourceProperty; // add a flag to not completely full polyfills
-
- if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
- createNonEnumerableProperty(resultProperty, 'sham', true);
- }
-
- createNonEnumerableProperty(target, key, resultProperty);
-
- if (PROTO) {
- VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
-
- if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {
- createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
- } // export virtual prototype methods
-
-
- createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty); // export real prototype methods
-
- if (options.real && targetPrototype && !targetPrototype[key]) {
- createNonEnumerableProperty(targetPrototype, key, sourceProperty);
- }
- }
- }
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/fails.js":
-/*!******************************************************!*\
- !*** ./node_modules/core-js-pure/internals/fails.js ***!
- \******************************************************/
-/***/ ((module) => {
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/function-apply.js":
-/*!***************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/function-apply.js ***!
- \***************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js");
-
-var FunctionPrototype = Function.prototype;
-var apply = FunctionPrototype.apply;
-var call = FunctionPrototype.call; // eslint-disable-next-line es-x/no-reflect -- safe
-
-module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/function-bind-context.js":
-/*!**********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/function-bind-context.js ***!
- \**********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js-pure/internals/a-callable.js");
-
-var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js");
-
-var bind = uncurryThis(uncurryThis.bind); // optional / simple context binding
-
-module.exports = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function
- /* ...args */
- () {
- return fn.apply(that, arguments);
- };
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/function-bind-native.js":
-/*!*********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/function-bind-native.js ***!
- \*********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js");
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
- var test = function () {
- /* empty */
- }.bind(); // eslint-disable-next-line no-prototype-builtins -- safe
-
-
- return typeof test != 'function' || test.hasOwnProperty('prototype');
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/function-call.js":
-/*!**************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/function-call.js ***!
- \**************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js");
-
-var call = Function.prototype.call;
-module.exports = NATIVE_BIND ? call.bind(call) : function () {
- return call.apply(call, arguments);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/function-uncurry-this.js":
-/*!**********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/function-uncurry-this.js ***!
- \**********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js");
-
-var FunctionPrototype = Function.prototype;
-var bind = FunctionPrototype.bind;
-var call = FunctionPrototype.call;
-var uncurryThis = NATIVE_BIND && bind.bind(call, call);
-module.exports = NATIVE_BIND ? function (fn) {
- return fn && uncurryThis(fn);
-} : function (fn) {
- return fn && function () {
- return call.apply(fn, arguments);
- };
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/get-built-in.js":
-/*!*************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/get-built-in.js ***!
- \*************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js-pure/internals/path.js");
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var aFunction = function (variable) {
- return isCallable(variable) ? variable : undefined;
-};
-
-module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/get-method.js":
-/*!***********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/get-method.js ***!
- \***********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js-pure/internals/a-callable.js");
-
-var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js-pure/internals/is-null-or-undefined.js"); // `GetMethod` abstract operation
-// https://tc39.es/ecma262/#sec-getmethod
-
-
-module.exports = function (V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? undefined : aCallable(func);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/global.js":
-/*!*******************************************************!*\
- !*** ./node_modules/core-js-pure/internals/global.js ***!
- \*******************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var check = function (it) {
- return it && it.Math == Math && it;
-}; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-
-
-module.exports = // eslint-disable-next-line es-x/no-global-this -- safe
-check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe
-check(typeof self == 'object' && self) || check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || // eslint-disable-next-line no-new-func -- fallback
-function () {
- return this;
-}() || Function('return this')();
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/has-own-property.js":
-/*!*****************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/has-own-property.js ***!
- \*****************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js-pure/internals/to-object.js");
-
-var hasOwnProperty = uncurryThis({}.hasOwnProperty); // `HasOwnProperty` abstract operation
-// https://tc39.es/ecma262/#sec-hasownproperty
-// eslint-disable-next-line es-x/no-object-hasown -- safe
-
-module.exports = Object.hasOwn || function hasOwn(it, key) {
- return hasOwnProperty(toObject(it), key);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/ie8-dom-define.js":
-/*!***************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/ie8-dom-define.js ***!
- \***************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js");
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js");
-
-var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js-pure/internals/document-create-element.js"); // Thanks to IE8 for its funny defineProperty
-
-
-module.exports = !DESCRIPTORS && !fails(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () {
- return 7;
- }
- }).a != 7;
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/indexed-object.js":
-/*!***************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/indexed-object.js ***!
- \***************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js");
-
-var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js-pure/internals/classof-raw.js");
-
-var $Object = Object;
-var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings
-
-module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins -- safe
- return !$Object('z').propertyIsEnumerable(0);
-}) ? function (it) {
- return classof(it) == 'String' ? split(it, '') : $Object(it);
-} : $Object;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-callable.js":
-/*!************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-callable.js ***!
- \************************************************************/
-/***/ ((module) => {
-
-// `IsCallable` abstract operation
-// https://tc39.es/ecma262/#sec-iscallable
-module.exports = function (argument) {
- return typeof argument == 'function';
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-forced.js":
-/*!**********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-forced.js ***!
- \**********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js");
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var replacement = /#|\.prototype\./;
-
-var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;
-};
-
-var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
-};
-
-var data = isForced.data = {};
-var NATIVE = isForced.NATIVE = 'N';
-var POLYFILL = isForced.POLYFILL = 'P';
-module.exports = isForced;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-null-or-undefined.js":
-/*!*********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-null-or-undefined.js ***!
- \*********************************************************************/
-/***/ ((module) => {
-
-// we can't use just `it == null` since of `document.all` special case
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
-module.exports = function (it) {
- return it === null || it === undefined;
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-object.js":
-/*!**********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-object.js ***!
- \**********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var documentAll = typeof document == 'object' && document.all; // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
-
-var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
-module.exports = SPECIAL_DOCUMENT_ALL ? function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
-} : function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-pure.js":
-/*!********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-pure.js ***!
- \********************************************************/
-/***/ ((module) => {
-
-module.exports = true;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/is-symbol.js":
-/*!**********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/is-symbol.js ***!
- \**********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js-pure/internals/get-built-in.js");
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js-pure/internals/object-is-prototype-of.js");
-
-var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js");
-
-var $Object = Object;
-module.exports = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- var $Symbol = getBuiltIn('Symbol');
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/object-define-property.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/object-define-property.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-
-var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js");
-
-var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js-pure/internals/ie8-dom-define.js");
-
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js-pure/internals/v8-prototype-define-bug.js");
-
-var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js-pure/internals/an-object.js");
-
-var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js-pure/internals/to-property-key.js");
-
-var $TypeError = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe
-
-var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
-
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var ENUMERABLE = 'enumerable';
-var CONFIGURABLE = 'configurable';
-var WRITABLE = 'writable'; // `Object.defineProperty` method
-// https://tc39.es/ecma262/#sec-object.defineproperty
-
-exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
-
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
- var current = $getOwnPropertyDescriptor(O, P);
-
- if (current && current[WRITABLE]) {
- O[P] = Attributes.value;
- Attributes = {
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
- writable: false
- };
- }
- }
-
- return $defineProperty(O, P, Attributes);
-} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) {
- /* empty */
- }
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js":
-/*!***********************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js ***!
- \***********************************************************************************/
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-
-var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js");
-
-var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js");
-
-var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js-pure/internals/object-property-is-enumerable.js");
-
-var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js-pure/internals/create-property-descriptor.js");
-
-var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js-pure/internals/to-indexed-object.js");
-
-var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js-pure/internals/to-property-key.js");
-
-var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js");
-
-var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js-pure/internals/ie8-dom-define.js"); // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
-
-
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method
-// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-
-exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPropertyKey(P);
- if (IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) {
- /* empty */
- }
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/object-is-prototype-of.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/object-is-prototype-of.js ***!
- \***********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-module.exports = uncurryThis({}.isPrototypeOf);
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/object-property-is-enumerable.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/object-property-is-enumerable.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, exports) => {
-
-"use strict";
-
-
-var $propertyIsEnumerable = {}.propertyIsEnumerable; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
-
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug
-
-var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({
- 1: 2
-}, 1); // `Object.prototype.propertyIsEnumerable` method implementation
-// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-
-exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
-} : $propertyIsEnumerable;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/ordinary-to-primitive.js":
-/*!**********************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/ordinary-to-primitive.js ***!
- \**********************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js");
-
-var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js");
-
-var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js");
-
-var $TypeError = TypeError; // `OrdinaryToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-
-module.exports = function (input, pref) {
- var fn, val;
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw $TypeError("Can't convert object to primitive value");
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/path.js":
-/*!*****************************************************!*\
- !*** ./node_modules/core-js-pure/internals/path.js ***!
- \*****************************************************/
-/***/ ((module) => {
-
-module.exports = {};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/require-object-coercible.js":
-/*!*************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/require-object-coercible.js ***!
- \*************************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js-pure/internals/is-null-or-undefined.js");
-
-var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation
-// https://tc39.es/ecma262/#sec-requireobjectcoercible
-
-module.exports = function (it) {
- if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
- return it;
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/shared-store.js":
-/*!*************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/shared-store.js ***!
- \*************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js-pure/internals/define-global-property.js");
-
-var SHARED = '__core-js_shared__';
-var store = global[SHARED] || defineGlobalProperty(SHARED, {});
-module.exports = store;
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/shared.js":
-/*!*******************************************************!*\
- !*** ./node_modules/core-js-pure/internals/shared.js ***!
- \*******************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js-pure/internals/is-pure.js");
-
-var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js-pure/internals/shared-store.js");
-
-(module.exports = function (key, value) {
- return store[key] || (store[key] = value !== undefined ? value : {});
-})('versions', []).push({
- version: '3.25.0',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE',
- source: 'https://github.com/zloirock/core-js'
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/symbol-constructor-detection.js ***!
- \*****************************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-/* eslint-disable es-x/no-symbol -- required for testing */
-var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js-pure/internals/engine-v8-version.js");
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
-
-
-module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
-
- return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/to-indexed-object.js":
-/*!******************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/to-indexed-object.js ***!
- \******************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-// toObject with fallback for non-array-like ES3 strings
-var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js-pure/internals/indexed-object.js");
-
-var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js-pure/internals/require-object-coercible.js");
-
-module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/to-object.js":
-/*!**********************************************************!*\
- !*** ./node_modules/core-js-pure/internals/to-object.js ***!
- \**********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js-pure/internals/require-object-coercible.js");
-
-var $Object = Object; // `ToObject` abstract operation
-// https://tc39.es/ecma262/#sec-toobject
-
-module.exports = function (argument) {
- return $Object(requireObjectCoercible(argument));
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/to-primitive.js":
-/*!*************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/to-primitive.js ***!
- \*************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js");
-
-var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js");
-
-var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js-pure/internals/is-symbol.js");
-
-var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js-pure/internals/get-method.js");
-
-var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/core-js-pure/internals/ordinary-to-primitive.js");
-
-var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js-pure/internals/well-known-symbol.js");
-
-var $TypeError = TypeError;
-var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-toprimitive
-
-module.exports = function (input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
- var result;
-
- if (exoticToPrim) {
- if (pref === undefined) pref = 'default';
- result = call(exoticToPrim, input, pref);
- if (!isObject(result) || isSymbol(result)) return result;
- throw $TypeError("Can't convert object to primitive value");
- }
-
- if (pref === undefined) pref = 'number';
- return ordinaryToPrimitive(input, pref);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/to-property-key.js":
-/*!****************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/to-property-key.js ***!
- \****************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js-pure/internals/to-primitive.js");
-
-var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js-pure/internals/is-symbol.js"); // `ToPropertyKey` abstract operation
-// https://tc39.es/ecma262/#sec-topropertykey
-
-
-module.exports = function (argument) {
- var key = toPrimitive(argument, 'string');
- return isSymbol(key) ? key : key + '';
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/try-to-string.js":
-/*!**************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/try-to-string.js ***!
- \**************************************************************/
-/***/ ((module) => {
-
-var $String = String;
-
-module.exports = function (argument) {
- try {
- return $String(argument);
- } catch (error) {
- return 'Object';
- }
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/uid.js":
-/*!****************************************************!*\
- !*** ./node_modules/core-js-pure/internals/uid.js ***!
- \****************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js");
-
-var id = 0;
-var postfix = Math.random();
-var toString = uncurryThis(1.0.toString);
-
-module.exports = function (key) {
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js":
-/*!******************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/use-symbol-as-uid.js ***!
- \******************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-/* eslint-disable es-x/no-symbol -- required for testing */
-var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js");
-
-module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == 'symbol';
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/v8-prototype-define-bug.js":
-/*!************************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/v8-prototype-define-bug.js ***!
- \************************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js");
-
-var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); // V8 ~ Chrome 36-
-// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-
-
-module.exports = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
- return Object.defineProperty(function () {
- /* empty */
- }, 'prototype', {
- value: 42,
- writable: false
- }).prototype != 42;
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/internals/well-known-symbol.js":
-/*!******************************************************************!*\
- !*** ./node_modules/core-js-pure/internals/well-known-symbol.js ***!
- \******************************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js");
-
-var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js-pure/internals/shared.js");
-
-var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js");
-
-var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js-pure/internals/uid.js");
-
-var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js");
-
-var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js");
-
-var WellKnownSymbolsStore = shared('wks');
-var Symbol = global.Symbol;
-var symbolFor = Symbol && Symbol['for'];
-var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
-
-module.exports = function (name) {
- if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
- var description = 'Symbol.' + name;
-
- if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
- WellKnownSymbolsStore[name] = Symbol[name];
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
- WellKnownSymbolsStore[name] = symbolFor(description);
- } else {
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
- }
- }
-
- return WellKnownSymbolsStore[name];
-};
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/modules/es.global-this.js":
-/*!*************************************************************!*\
- !*** ./node_modules/core-js-pure/modules/es.global-this.js ***!
- \*************************************************************/
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js-pure/internals/export.js");
-
-var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js-pure/internals/global.js"); // `globalThis` object
-// https://tc39.es/ecma262/#sec-globalthis
-
-
-$({
- global: true
-}, {
- globalThis: global
-});
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/modules/esnext.global-this.js":
-/*!*****************************************************************!*\
- !*** ./node_modules/core-js-pure/modules/esnext.global-this.js ***!
- \*****************************************************************/
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-// TODO: Remove from `core-js@4`
-__webpack_require__(/*! ../modules/es.global-this */ "./node_modules/core-js-pure/modules/es.global-this.js");
-
-/***/ }),
-
-/***/ "./node_modules/core-js-pure/stable/global-this.js":
-/*!*********************************************************!*\
- !*** ./node_modules/core-js-pure/stable/global-this.js ***!
- \*********************************************************/
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var parent = __webpack_require__(/*! ../es/global-this */ "./node_modules/core-js-pure/es/global-this.js");
-
-module.exports = parent;
-
-/***/ }),
-
-/***/ "./node_modules/css-loader/dist/runtime/api.js":
-/*!*****************************************************!*\
- !*** ./node_modules/css-loader/dist/runtime/api.js ***!
- \*****************************************************/
-/***/ ((module) => {
-
-"use strict";
-
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-
-module.exports = function (cssWithMappingToString) {
- var list = []; // return the list of modules as css string
-
- list.toString = function toString() {
- return this.map(function (item) {
- var content = "";
- var needLayer = typeof item[5] !== "undefined";
-
- if (item[4]) {
- content += "@supports (".concat(item[4], ") {");
- }
-
- if (item[2]) {
- content += "@media ".concat(item[2], " {");
- }
-
- if (needLayer) {
- content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
- }
-
- content += cssWithMappingToString(item);
-
- if (needLayer) {
- content += "}";
- }
-
- if (item[2]) {
- content += "}";
- }
-
- if (item[4]) {
- content += "}";
- }
-
- return content;
- }).join("");
- }; // import a list of modules into the list
-
-
- list.i = function i(modules, media, dedupe, supports, layer) {
- if (typeof modules === "string") {
- modules = [[null, modules, undefined]];
- }
-
- var alreadyImportedModules = {};
-
- if (dedupe) {
- for (var k = 0; k < this.length; k++) {
- var id = this[k][0];
-
- if (id != null) {
- alreadyImportedModules[id] = true;
- }
- }
- }
-
- for (var _k = 0; _k < modules.length; _k++) {
- var item = [].concat(modules[_k]);
-
- if (dedupe && alreadyImportedModules[item[0]]) {
- continue;
- }
-
- if (typeof layer !== "undefined") {
- if (typeof item[5] === "undefined") {
- item[5] = layer;
- } else {
- item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
- item[5] = layer;
- }
- }
-
- if (media) {
- if (!item[2]) {
- item[2] = media;
- } else {
- item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
- item[2] = media;
- }
- }
-
- if (supports) {
- if (!item[4]) {
- item[4] = "".concat(supports);
- } else {
- item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
- item[4] = supports;
- }
- }
-
- list.push(item);
- }
- };
-
- return list;
-};
-
-/***/ }),
-
-/***/ "./node_modules/css-loader/dist/runtime/getUrl.js":
-/*!********************************************************!*\
- !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***!
- \********************************************************/
-/***/ ((module) => {
-
-"use strict";
-
-
-module.exports = function (url, options) {
- if (!options) {
- options = {};
- }
-
- if (!url) {
- return url;
- }
-
- url = String(url.__esModule ? url.default : url); // If url is already wrapped in quotes, remove them
-
- if (/^['"].*['"]$/.test(url)) {
- url = url.slice(1, -1);
- }
-
- if (options.hash) {
- url += options.hash;
- } // Should url be wrapped?
- // See https://drafts.csswg.org/css-values-3/#urls
-
-
- if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) {
- return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
- }
-
- return url;
-};
-
-/***/ }),
-
-/***/ "./node_modules/css-loader/dist/runtime/sourceMaps.js":
-/*!************************************************************!*\
- !*** ./node_modules/css-loader/dist/runtime/sourceMaps.js ***!
- \************************************************************/
-/***/ ((module) => {
-
-"use strict";
-
-
-module.exports = function (item) {
- var content = item[1];
- var cssMapping = item[3];
-
- if (!cssMapping) {
- return content;
- }
-
- if (typeof btoa === "function") {
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
- var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
- var sourceMapping = "/*# ".concat(data, " */");
- var sourceURLs = cssMapping.sources.map(function (source) {
- return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
- });
- return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
- }
-
- return [content].join("\n");
-};
-
-/***/ }),
-
-/***/ "./node_modules/events/events.js":
-/*!***************************************!*\
- !*** ./node_modules/events/events.js ***!
- \***************************************/
-/***/ ((module) => {
-
-"use strict";
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a
-// copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to permit
-// persons to whom the Software is furnished to do so, subject to the
-// following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
-// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
-// USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-var R = typeof Reflect === 'object' ? Reflect : null;
-var ReflectApply = R && typeof R.apply === 'function' ? R.apply : function ReflectApply(target, receiver, args) {
- return Function.prototype.apply.call(target, receiver, args);
-};
-var ReflectOwnKeys;
-
-if (R && typeof R.ownKeys === 'function') {
- ReflectOwnKeys = R.ownKeys;
-} else if (Object.getOwnPropertySymbols) {
- ReflectOwnKeys = function ReflectOwnKeys(target) {
- return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
- };
-} else {
- ReflectOwnKeys = function ReflectOwnKeys(target) {
- return Object.getOwnPropertyNames(target);
- };
-}
-
-function ProcessEmitWarning(warning) {
- if (console && console.warn) console.warn(warning);
-}
-
-var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
- return value !== value;
-};
-
-function EventEmitter() {
- EventEmitter.init.call(this);
-}
-
-module.exports = EventEmitter;
-module.exports.once = once; // Backwards-compat with node 0.10.x
-
-EventEmitter.EventEmitter = EventEmitter;
-EventEmitter.prototype._events = undefined;
-EventEmitter.prototype._eventsCount = 0;
-EventEmitter.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are
-// added to it. This is a useful default which helps finding memory leaks.
-
-var defaultMaxListeners = 10;
-
-function checkListener(listener) {
- if (typeof listener !== 'function') {
- throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
- }
-}
-
-Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
- enumerable: true,
- get: function () {
- return defaultMaxListeners;
- },
- set: function (arg) {
- if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
- throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
- }
-
- defaultMaxListeners = arg;
- }
-});
-
-EventEmitter.init = function () {
- if (this._events === undefined || this._events === Object.getPrototypeOf(this)._events) {
- this._events = Object.create(null);
- this._eventsCount = 0;
- }
-
- this._maxListeners = this._maxListeners || undefined;
-}; // Obviously not all Emitters should be limited to 10. This function allows
-// that to be increased. Set to zero for unlimited.
-
-
-EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
- if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
- throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
- }
-
- this._maxListeners = n;
- return this;
-};
-
-function _getMaxListeners(that) {
- if (that._maxListeners === undefined) return EventEmitter.defaultMaxListeners;
- return that._maxListeners;
-}
-
-EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
- return _getMaxListeners(this);
-};
-
-EventEmitter.prototype.emit = function emit(type) {
- var args = [];
-
- for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
-
- var doError = type === 'error';
- var events = this._events;
- if (events !== undefined) doError = doError && events.error === undefined;else if (!doError) return false; // If there is no 'error' event listener then throw.
-
- if (doError) {
- var er;
- if (args.length > 0) er = args[0];
-
- if (er instanceof Error) {
- // Note: The comments on the `throw` lines are intentional, they show
- // up in Node's output if this results in an unhandled exception.
- throw er; // Unhandled 'error' event
- } // At least give some kind of context to the user
-
-
- var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
- err.context = er;
- throw err; // Unhandled 'error' event
- }
-
- var handler = events[type];
- if (handler === undefined) return false;
-
- if (typeof handler === 'function') {
- ReflectApply(handler, this, args);
- } else {
- var len = handler.length;
- var listeners = arrayClone(handler, len);
-
- for (var i = 0; i < len; ++i) ReflectApply(listeners[i], this, args);
- }
-
- return true;
-};
-
-function _addListener(target, type, listener, prepend) {
- var m;
- var events;
- var existing;
- checkListener(listener);
- events = target._events;
-
- if (events === undefined) {
- events = target._events = Object.create(null);
- target._eventsCount = 0;
- } else {
- // To avoid recursion in the case that type === "newListener"! Before
- // adding it to the listeners, first emit "newListener".
- if (events.newListener !== undefined) {
- target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the
- // this._events to be assigned to a new object
-
- events = target._events;
- }
-
- existing = events[type];
- }
-
- if (existing === undefined) {
- // Optimize the case of one listener. Don't need the extra array object.
- existing = events[type] = listener;
- ++target._eventsCount;
- } else {
- if (typeof existing === 'function') {
- // Adding the second element, need to change to array.
- existing = events[type] = prepend ? [listener, existing] : [existing, listener]; // If we've already got an array, just append.
- } else if (prepend) {
- existing.unshift(listener);
- } else {
- existing.push(listener);
- } // Check for listener leak
-
-
- m = _getMaxListeners(target);
-
- if (m > 0 && existing.length > m && !existing.warned) {
- existing.warned = true; // No error code for this since it is a Warning
- // eslint-disable-next-line no-restricted-syntax
-
- var w = new Error('Possible EventEmitter memory leak detected. ' + existing.length + ' ' + String(type) + ' listeners ' + 'added. Use emitter.setMaxListeners() to ' + 'increase limit');
- w.name = 'MaxListenersExceededWarning';
- w.emitter = target;
- w.type = type;
- w.count = existing.length;
- ProcessEmitWarning(w);
- }
- }
-
- return target;
-}
-
-EventEmitter.prototype.addListener = function addListener(type, listener) {
- return _addListener(this, type, listener, false);
-};
-
-EventEmitter.prototype.on = EventEmitter.prototype.addListener;
-
-EventEmitter.prototype.prependListener = function prependListener(type, listener) {
- return _addListener(this, type, listener, true);
-};
-
-function onceWrapper() {
- if (!this.fired) {
- this.target.removeListener(this.type, this.wrapFn);
- this.fired = true;
- if (arguments.length === 0) return this.listener.call(this.target);
- return this.listener.apply(this.target, arguments);
- }
-}
-
-function _onceWrap(target, type, listener) {
- var state = {
- fired: false,
- wrapFn: undefined,
- target: target,
- type: type,
- listener: listener
- };
- var wrapped = onceWrapper.bind(state);
- wrapped.listener = listener;
- state.wrapFn = wrapped;
- return wrapped;
-}
-
-EventEmitter.prototype.once = function once(type, listener) {
- checkListener(listener);
- this.on(type, _onceWrap(this, type, listener));
- return this;
-};
-
-EventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) {
- checkListener(listener);
- this.prependListener(type, _onceWrap(this, type, listener));
- return this;
-}; // Emits a 'removeListener' event if and only if the listener was removed.
-
-
-EventEmitter.prototype.removeListener = function removeListener(type, listener) {
- var list, events, position, i, originalListener;
- checkListener(listener);
- events = this._events;
- if (events === undefined) return this;
- list = events[type];
- if (list === undefined) return this;
-
- if (list === listener || list.listener === listener) {
- if (--this._eventsCount === 0) this._events = Object.create(null);else {
- delete events[type];
- if (events.removeListener) this.emit('removeListener', type, list.listener || listener);
- }
- } else if (typeof list !== 'function') {
- position = -1;
-
- for (i = list.length - 1; i >= 0; i--) {
- if (list[i] === listener || list[i].listener === listener) {
- originalListener = list[i].listener;
- position = i;
- break;
- }
- }
-
- if (position < 0) return this;
- if (position === 0) list.shift();else {
- spliceOne(list, position);
- }
- if (list.length === 1) events[type] = list[0];
- if (events.removeListener !== undefined) this.emit('removeListener', type, originalListener || listener);
- }
-
- return this;
-};
-
-EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
-
-EventEmitter.prototype.removeAllListeners = function removeAllListeners(type) {
- var listeners, events, i;
- events = this._events;
- if (events === undefined) return this; // not listening for removeListener, no need to emit
-
- if (events.removeListener === undefined) {
- if (arguments.length === 0) {
- this._events = Object.create(null);
- this._eventsCount = 0;
- } else if (events[type] !== undefined) {
- if (--this._eventsCount === 0) this._events = Object.create(null);else delete events[type];
- }
-
- return this;
- } // emit removeListener for all listeners on all events
-
-
- if (arguments.length === 0) {
- var keys = Object.keys(events);
- var key;
-
- for (i = 0; i < keys.length; ++i) {
- key = keys[i];
- if (key === 'removeListener') continue;
- this.removeAllListeners(key);
- }
-
- this.removeAllListeners('removeListener');
- this._events = Object.create(null);
- this._eventsCount = 0;
- return this;
- }
-
- listeners = events[type];
-
- if (typeof listeners === 'function') {
- this.removeListener(type, listeners);
- } else if (listeners !== undefined) {
- // LIFO order
- for (i = listeners.length - 1; i >= 0; i--) {
- this.removeListener(type, listeners[i]);
- }
- }
-
- return this;
-};
-
-function _listeners(target, type, unwrap) {
- var events = target._events;
- if (events === undefined) return [];
- var evlistener = events[type];
- if (evlistener === undefined) return [];
- if (typeof evlistener === 'function') return unwrap ? [evlistener.listener || evlistener] : [evlistener];
- return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
-}
-
-EventEmitter.prototype.listeners = function listeners(type) {
- return _listeners(this, type, true);
-};
-
-EventEmitter.prototype.rawListeners = function rawListeners(type) {
- return _listeners(this, type, false);
-};
-
-EventEmitter.listenerCount = function (emitter, type) {
- if (typeof emitter.listenerCount === 'function') {
- return emitter.listenerCount(type);
- } else {
- return listenerCount.call(emitter, type);
- }
-};
-
-EventEmitter.prototype.listenerCount = listenerCount;
-
-function listenerCount(type) {
- var events = this._events;
-
- if (events !== undefined) {
- var evlistener = events[type];
-
- if (typeof evlistener === 'function') {
- return 1;
- } else if (evlistener !== undefined) {
- return evlistener.length;
- }
- }
-
- return 0;
-}
-
-EventEmitter.prototype.eventNames = function eventNames() {
- return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
-};
-
-function arrayClone(arr, n) {
- var copy = new Array(n);
-
- for (var i = 0; i < n; ++i) copy[i] = arr[i];
-
- return copy;
-}
-
-function spliceOne(list, index) {
- for (; index + 1 < list.length; index++) list[index] = list[index + 1];
-
- list.pop();
-}
-
-function unwrapListeners(arr) {
- var ret = new Array(arr.length);
-
- for (var i = 0; i < ret.length; ++i) {
- ret[i] = arr[i].listener || arr[i];
- }
-
- return ret;
-}
-
-function once(emitter, name) {
- return new Promise(function (resolve, reject) {
- function errorListener(err) {
- emitter.removeListener(name, resolver);
- reject(err);
- }
-
- function resolver() {
- if (typeof emitter.removeListener === 'function') {
- emitter.removeListener('error', errorListener);
- }
-
- resolve([].slice.call(arguments));
- }
-
- ;
- eventTargetAgnosticAddListener(emitter, name, resolver, {
- once: true
- });
-
- if (name !== 'error') {
- addErrorHandlerIfEventEmitter(emitter, errorListener, {
- once: true
- });
- }
- });
-}
-
-function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
- if (typeof emitter.on === 'function') {
- eventTargetAgnosticAddListener(emitter, 'error', handler, flags);
- }
-}
-
-function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
- if (typeof emitter.on === 'function') {
- if (flags.once) {
- emitter.once(name, listener);
- } else {
- emitter.on(name, listener);
- }
- } else if (typeof emitter.addEventListener === 'function') {
- // EventTarget does not have `error` event semantics like Node
- // EventEmitters, we do not listen for `error` events here.
- emitter.addEventListener(name, function wrapListener(arg) {
- // IE does not have builtin `{ once: true }` support so we
- // have to do it manually.
- if (flags.once) {
- emitter.removeEventListener(name, wrapListener);
- }
-
- listener(arg);
- });
- } else {
- throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
- }
-}
-
-/***/ }),
-
-/***/ "./node_modules/firebase/app/dist/index.esm.js":
-/*!*****************************************************!*\
- !*** ./node_modules/firebase/app/dist/index.esm.js ***!
- \*****************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FirebaseError": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.FirebaseError),
-/* harmony export */ "SDK_VERSION": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.SDK_VERSION),
-/* harmony export */ "_DEFAULT_ENTRY_NAME": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._DEFAULT_ENTRY_NAME),
-/* harmony export */ "_addComponent": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._addComponent),
-/* harmony export */ "_addOrOverwriteComponent": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._addOrOverwriteComponent),
-/* harmony export */ "_apps": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._apps),
-/* harmony export */ "_clearComponents": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._clearComponents),
-/* harmony export */ "_components": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._components),
-/* harmony export */ "_getProvider": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._getProvider),
-/* harmony export */ "_registerComponent": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._registerComponent),
-/* harmony export */ "_removeServiceInstance": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__._removeServiceInstance),
-/* harmony export */ "deleteApp": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.deleteApp),
-/* harmony export */ "getApp": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.getApp),
-/* harmony export */ "getApps": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.getApps),
-/* harmony export */ "initializeApp": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.initializeApp),
-/* harmony export */ "onLog": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.onLog),
-/* harmony export */ "registerVersion": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.registerVersion),
-/* harmony export */ "setLogLevel": () => (/* reexport safe */ _firebase_app__WEBPACK_IMPORTED_MODULE_0__.setLogLevel)
-/* harmony export */ });
-/* harmony import */ var _firebase_app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @firebase/app */ "./node_modules/@firebase/app/dist/esm/index.esm2017.js");
-
-
-var name = "firebase";
-var version = "9.9.4";
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-(0,_firebase_app__WEBPACK_IMPORTED_MODULE_0__.registerVersion)(name, version, 'app');
-
-/***/ }),
-
-/***/ "./node_modules/firebase/auth/dist/index.esm.js":
-/*!******************************************************!*\
- !*** ./node_modules/firebase/auth/dist/index.esm.js ***!
- \******************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ActionCodeOperation": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.ActionCodeOperation),
-/* harmony export */ "ActionCodeURL": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.ActionCodeURL),
-/* harmony export */ "AuthCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.AuthCredential),
-/* harmony export */ "AuthErrorCodes": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.AuthErrorCodes),
-/* harmony export */ "EmailAuthCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.EmailAuthCredential),
-/* harmony export */ "EmailAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.EmailAuthProvider),
-/* harmony export */ "FacebookAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.FacebookAuthProvider),
-/* harmony export */ "FactorId": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.FactorId),
-/* harmony export */ "GithubAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.GithubAuthProvider),
-/* harmony export */ "GoogleAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.GoogleAuthProvider),
-/* harmony export */ "OAuthCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.OAuthCredential),
-/* harmony export */ "OAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.OAuthProvider),
-/* harmony export */ "OperationType": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.OperationType),
-/* harmony export */ "PhoneAuthCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.PhoneAuthCredential),
-/* harmony export */ "PhoneAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.PhoneAuthProvider),
-/* harmony export */ "PhoneMultiFactorGenerator": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.PhoneMultiFactorGenerator),
-/* harmony export */ "ProviderId": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.ProviderId),
-/* harmony export */ "RecaptchaVerifier": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.RecaptchaVerifier),
-/* harmony export */ "SAMLAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.SAMLAuthProvider),
-/* harmony export */ "SignInMethod": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.SignInMethod),
-/* harmony export */ "TwitterAuthProvider": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.TwitterAuthProvider),
-/* harmony export */ "applyActionCode": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.applyActionCode),
-/* harmony export */ "beforeAuthStateChanged": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.beforeAuthStateChanged),
-/* harmony export */ "browserLocalPersistence": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.browserLocalPersistence),
-/* harmony export */ "browserPopupRedirectResolver": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.browserPopupRedirectResolver),
-/* harmony export */ "browserSessionPersistence": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.browserSessionPersistence),
-/* harmony export */ "checkActionCode": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.checkActionCode),
-/* harmony export */ "confirmPasswordReset": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.confirmPasswordReset),
-/* harmony export */ "connectAuthEmulator": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.connectAuthEmulator),
-/* harmony export */ "createUserWithEmailAndPassword": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.createUserWithEmailAndPassword),
-/* harmony export */ "debugErrorMap": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.debugErrorMap),
-/* harmony export */ "deleteUser": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.deleteUser),
-/* harmony export */ "fetchSignInMethodsForEmail": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.fetchSignInMethodsForEmail),
-/* harmony export */ "getAdditionalUserInfo": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getAdditionalUserInfo),
-/* harmony export */ "getAuth": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getAuth),
-/* harmony export */ "getIdToken": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getIdToken),
-/* harmony export */ "getIdTokenResult": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getIdTokenResult),
-/* harmony export */ "getMultiFactorResolver": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getMultiFactorResolver),
-/* harmony export */ "getRedirectResult": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.getRedirectResult),
-/* harmony export */ "inMemoryPersistence": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.inMemoryPersistence),
-/* harmony export */ "indexedDBLocalPersistence": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.indexedDBLocalPersistence),
-/* harmony export */ "initializeAuth": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.initializeAuth),
-/* harmony export */ "isSignInWithEmailLink": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.isSignInWithEmailLink),
-/* harmony export */ "linkWithCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.linkWithCredential),
-/* harmony export */ "linkWithPhoneNumber": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.linkWithPhoneNumber),
-/* harmony export */ "linkWithPopup": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.linkWithPopup),
-/* harmony export */ "linkWithRedirect": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.linkWithRedirect),
-/* harmony export */ "multiFactor": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.multiFactor),
-/* harmony export */ "onAuthStateChanged": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.onAuthStateChanged),
-/* harmony export */ "onIdTokenChanged": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.onIdTokenChanged),
-/* harmony export */ "parseActionCodeURL": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.parseActionCodeURL),
-/* harmony export */ "prodErrorMap": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.prodErrorMap),
-/* harmony export */ "reauthenticateWithCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.reauthenticateWithCredential),
-/* harmony export */ "reauthenticateWithPhoneNumber": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.reauthenticateWithPhoneNumber),
-/* harmony export */ "reauthenticateWithPopup": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.reauthenticateWithPopup),
-/* harmony export */ "reauthenticateWithRedirect": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.reauthenticateWithRedirect),
-/* harmony export */ "reload": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.reload),
-/* harmony export */ "sendEmailVerification": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.sendEmailVerification),
-/* harmony export */ "sendPasswordResetEmail": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.sendPasswordResetEmail),
-/* harmony export */ "sendSignInLinkToEmail": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.sendSignInLinkToEmail),
-/* harmony export */ "setPersistence": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.setPersistence),
-/* harmony export */ "signInAnonymously": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInAnonymously),
-/* harmony export */ "signInWithCredential": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithCredential),
-/* harmony export */ "signInWithCustomToken": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithCustomToken),
-/* harmony export */ "signInWithEmailAndPassword": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithEmailAndPassword),
-/* harmony export */ "signInWithEmailLink": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithEmailLink),
-/* harmony export */ "signInWithPhoneNumber": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithPhoneNumber),
-/* harmony export */ "signInWithPopup": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithPopup),
-/* harmony export */ "signInWithRedirect": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signInWithRedirect),
-/* harmony export */ "signOut": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.signOut),
-/* harmony export */ "unlink": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.unlink),
-/* harmony export */ "updateCurrentUser": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.updateCurrentUser),
-/* harmony export */ "updateEmail": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.updateEmail),
-/* harmony export */ "updatePassword": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.updatePassword),
-/* harmony export */ "updatePhoneNumber": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.updatePhoneNumber),
-/* harmony export */ "updateProfile": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.updateProfile),
-/* harmony export */ "useDeviceLanguage": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.useDeviceLanguage),
-/* harmony export */ "verifyBeforeUpdateEmail": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.verifyBeforeUpdateEmail),
-/* harmony export */ "verifyPasswordResetCode": () => (/* reexport safe */ _firebase_auth__WEBPACK_IMPORTED_MODULE_0__.verifyPasswordResetCode)
-/* harmony export */ });
-/* harmony import */ var _firebase_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @firebase/auth */ "./node_modules/@firebase/auth/dist/esm2017/index.js");
-
-
-/***/ }),
-
-/***/ "./node_modules/firebase/firestore/dist/index.esm.js":
-/*!***********************************************************!*\
- !*** ./node_modules/firebase/firestore/dist/index.esm.js ***!
- \***********************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "AbstractUserDataWriter": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.AbstractUserDataWriter),
-/* harmony export */ "Bytes": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.Bytes),
-/* harmony export */ "CACHE_SIZE_UNLIMITED": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.CACHE_SIZE_UNLIMITED),
-/* harmony export */ "CollectionReference": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.CollectionReference),
-/* harmony export */ "DocumentReference": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.DocumentReference),
-/* harmony export */ "DocumentSnapshot": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.DocumentSnapshot),
-/* harmony export */ "FieldPath": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.FieldPath),
-/* harmony export */ "FieldValue": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.FieldValue),
-/* harmony export */ "Firestore": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.Firestore),
-/* harmony export */ "FirestoreError": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.FirestoreError),
-/* harmony export */ "GeoPoint": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.GeoPoint),
-/* harmony export */ "LoadBundleTask": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.LoadBundleTask),
-/* harmony export */ "Query": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.Query),
-/* harmony export */ "QueryConstraint": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.QueryConstraint),
-/* harmony export */ "QueryDocumentSnapshot": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.QueryDocumentSnapshot),
-/* harmony export */ "QuerySnapshot": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.QuerySnapshot),
-/* harmony export */ "SnapshotMetadata": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.SnapshotMetadata),
-/* harmony export */ "Timestamp": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.Timestamp),
-/* harmony export */ "Transaction": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.Transaction),
-/* harmony export */ "WriteBatch": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.WriteBatch),
-/* harmony export */ "_DatabaseId": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._DatabaseId),
-/* harmony export */ "_DocumentKey": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._DocumentKey),
-/* harmony export */ "_EmptyAppCheckTokenProvider": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._EmptyAppCheckTokenProvider),
-/* harmony export */ "_EmptyAuthCredentialsProvider": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._EmptyAuthCredentialsProvider),
-/* harmony export */ "_FieldPath": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._FieldPath),
-/* harmony export */ "_cast": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._cast),
-/* harmony export */ "_debugAssert": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._debugAssert),
-/* harmony export */ "_isBase64Available": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._isBase64Available),
-/* harmony export */ "_logWarn": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._logWarn),
-/* harmony export */ "_validateIsNotUsedTogether": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__._validateIsNotUsedTogether),
-/* harmony export */ "addDoc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.addDoc),
-/* harmony export */ "arrayRemove": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.arrayRemove),
-/* harmony export */ "arrayUnion": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.arrayUnion),
-/* harmony export */ "clearIndexedDbPersistence": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.clearIndexedDbPersistence),
-/* harmony export */ "collection": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.collection),
-/* harmony export */ "collectionGroup": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.collectionGroup),
-/* harmony export */ "connectFirestoreEmulator": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.connectFirestoreEmulator),
-/* harmony export */ "deleteDoc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.deleteDoc),
-/* harmony export */ "deleteField": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.deleteField),
-/* harmony export */ "disableNetwork": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.disableNetwork),
-/* harmony export */ "doc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.doc),
-/* harmony export */ "documentId": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.documentId),
-/* harmony export */ "enableIndexedDbPersistence": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.enableIndexedDbPersistence),
-/* harmony export */ "enableMultiTabIndexedDbPersistence": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.enableMultiTabIndexedDbPersistence),
-/* harmony export */ "enableNetwork": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.enableNetwork),
-/* harmony export */ "endAt": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.endAt),
-/* harmony export */ "endBefore": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.endBefore),
-/* harmony export */ "ensureFirestoreConfigured": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.ensureFirestoreConfigured),
-/* harmony export */ "executeWrite": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.executeWrite),
-/* harmony export */ "getDoc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDoc),
-/* harmony export */ "getDocFromCache": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDocFromCache),
-/* harmony export */ "getDocFromServer": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDocFromServer),
-/* harmony export */ "getDocs": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDocs),
-/* harmony export */ "getDocsFromCache": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDocsFromCache),
-/* harmony export */ "getDocsFromServer": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getDocsFromServer),
-/* harmony export */ "getFirestore": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.getFirestore),
-/* harmony export */ "increment": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.increment),
-/* harmony export */ "initializeFirestore": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.initializeFirestore),
-/* harmony export */ "limit": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.limit),
-/* harmony export */ "limitToLast": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.limitToLast),
-/* harmony export */ "loadBundle": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.loadBundle),
-/* harmony export */ "namedQuery": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.namedQuery),
-/* harmony export */ "onSnapshot": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.onSnapshot),
-/* harmony export */ "onSnapshotsInSync": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.onSnapshotsInSync),
-/* harmony export */ "orderBy": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.orderBy),
-/* harmony export */ "query": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.query),
-/* harmony export */ "queryEqual": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.queryEqual),
-/* harmony export */ "refEqual": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.refEqual),
-/* harmony export */ "runTransaction": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.runTransaction),
-/* harmony export */ "serverTimestamp": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.serverTimestamp),
-/* harmony export */ "setDoc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.setDoc),
-/* harmony export */ "setIndexConfiguration": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.setIndexConfiguration),
-/* harmony export */ "setLogLevel": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.setLogLevel),
-/* harmony export */ "snapshotEqual": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.snapshotEqual),
-/* harmony export */ "startAfter": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.startAfter),
-/* harmony export */ "startAt": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.startAt),
-/* harmony export */ "terminate": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.terminate),
-/* harmony export */ "updateDoc": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.updateDoc),
-/* harmony export */ "waitForPendingWrites": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.waitForPendingWrites),
-/* harmony export */ "where": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.where),
-/* harmony export */ "writeBatch": () => (/* reexport safe */ _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__.writeBatch)
-/* harmony export */ });
-/* harmony import */ var _firebase_firestore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @firebase/firestore */ "./node_modules/@firebase/firestore/dist/index.esm2017.js");
-
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionContent.js":
-/*!**************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionContent.js ***!
- \**************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "AccordionContent": () => (/* binding */ AccordionContent)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _AccordionPanelContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AccordionPanelContext */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanelContext.js");
-
-
-
-
-const AccordionContent = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- const {
- isOpen
- } = (0,_AccordionPanelContext__WEBPACK_IMPORTED_MODULE_3__.useAccordionContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.accordion.content;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.base,
- "data-testid": "flowbite-accordion-content",
- hidden: !isOpen,
- ...theirProps,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanel.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanel.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "AccordionPanel": () => (/* binding */ AccordionPanel)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _AccordionPanelContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AccordionPanelContext */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanelContext.js");
-
-
-
-const AccordionPanel = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const {
- alwaysOpen
- } = props;
- const [isOpen, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(props.isOpen);
- const provider = alwaysOpen ? { ...props,
- isOpen,
- setOpen: () => setOpen(!isOpen)
- } : props;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AccordionPanelContext__WEBPACK_IMPORTED_MODULE_2__.AccordionPanelContext.Provider, {
- value: provider,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanelContext.js":
-/*!*******************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanelContext.js ***!
- \*******************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "AccordionPanelContext": () => (/* binding */ AccordionPanelContext),
-/* harmony export */ "useAccordionContext": () => (/* binding */ useAccordionContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const AccordionPanelContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useAccordionContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(AccordionPanelContext);
-
- if (!context) {
- throw new Error('useAccordionContext should be used within the AccordionPanelContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionTitle.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionTitle.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "AccordionTitle": () => (/* binding */ AccordionTitle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _AccordionPanelContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AccordionPanelContext */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanelContext.js");
-
-
-
-
-
-const AccordionTitle = _ref => {
- let {
- as: Heading = 'h2',
- children,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const {
- arrowIcon: ArrowIcon,
- flush,
- isOpen,
- setOpen
- } = (0,_AccordionPanelContext__WEBPACK_IMPORTED_MODULE_4__.useAccordionContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.accordion.title;
-
- const onClick = () => typeof setOpen !== 'undefined' && setOpen();
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.flush[flush ? 'on' : 'off'], theme.open[isOpen ? 'on' : 'off']),
- onClick: onClick,
- type: "button",
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Heading, {
- className: theme.heading,
- "data-testid": "flowbite-accordion-heading",
- children: children
- }), ArrowIcon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ArrowIcon, {
- "aria-hidden": true,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.arrow.base, theme.arrow.open[isOpen ? 'on' : 'off']),
- "data-testid": "flowbite-accordion-arrow"
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Accordion/index.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Accordion/index.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Accordion": () => (/* binding */ Accordion)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _AccordionContent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AccordionContent */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionContent.js");
-/* harmony import */ var _AccordionPanel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./AccordionPanel */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionPanel.js");
-/* harmony import */ var _AccordionTitle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AccordionTitle */ "./node_modules/flowbite-react/lib/esm/components/Accordion/AccordionTitle.js");
-
-
-
-
-
-
-
-
-
-
-const AccordionComponent = _ref => {
- let {
- alwaysOpen = false,
- arrowIcon = react_icons_hi__WEBPACK_IMPORTED_MODULE_8__.HiChevronDown,
- children,
- flush = false,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- const [isOpen, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(0);
- const panels = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => react__WEBPACK_IMPORTED_MODULE_2__.Children.map(children, (child, i) => (0,react__WEBPACK_IMPORTED_MODULE_2__.cloneElement)(child, {
- alwaysOpen,
- arrowIcon,
- flush,
- isOpen: isOpen === i,
- setOpen: () => setOpen(i)
- })), [alwaysOpen, arrowIcon, children, flush, isOpen]);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.accordion;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.flush[flush ? 'on' : 'off']),
- "data-testid": "flowbite-accordion",
- ...theirProps,
- children: panels
- });
-};
-
-AccordionComponent.displayName = 'Accordion';
-_AccordionPanel__WEBPACK_IMPORTED_MODULE_6__.AccordionPanel.displayName = 'Accordion.Panel';
-_AccordionTitle__WEBPACK_IMPORTED_MODULE_7__.AccordionTitle.displayName = 'Accordion.Title';
-_AccordionContent__WEBPACK_IMPORTED_MODULE_5__.AccordionContent.displayName = 'Accordion.Content';
-const Accordion = Object.assign(AccordionComponent, {
- Panel: _AccordionPanel__WEBPACK_IMPORTED_MODULE_6__.AccordionPanel,
- Title: _AccordionTitle__WEBPACK_IMPORTED_MODULE_7__.AccordionTitle,
- Content: _AccordionContent__WEBPACK_IMPORTED_MODULE_5__.AccordionContent
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Alert/index.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Alert/index.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Alert": () => (/* binding */ Alert)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Alert = _ref => {
- let {
- additionalContent,
- children,
- color = 'info',
- icon: Icon,
- onDismiss,
- rounded = true,
- withBorderAccent
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.alert;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.color[color], rounded && theme.rounded, withBorderAccent && theme.borderAccent),
- role: "alert",
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: "flex items-center",
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.icon
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: children
- }), typeof onDismiss === 'function' && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- "aria-label": "Dismiss",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.closeButton.base, theme.closeButton.color[color]),
- onClick: onDismiss,
- type: "button",
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_3__.HiX, {
- "aria-hidden": true,
- className: "h-5 w-5"
- })
- })]
- }), additionalContent && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: additionalContent
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroup.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroup.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-
-
-const AvatarGroup = _ref => {
- let {
- children
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "data-testid": "avatar-group-element",
- className: "mb-5 flex -space-x-4",
- children: children
- });
-};
-
-AvatarGroup.displayName = 'Avatar.Group';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AvatarGroup);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroupCounter.js":
-/*!*************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroupCounter.js ***!
- \*************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-
-
-const AvatarGroupCounter = _ref => {
- let {
- total,
- href
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a", {
- className: "relative flex h-10 w-10 items-center justify-center rounded-full bg-gray-700 text-xs font-medium text-white ring-2 ring-gray-300 hover:bg-gray-600 dark:ring-gray-500 ",
- href: href,
- children: ["+", total]
- });
-};
-
-AvatarGroupCounter.displayName = 'Avatar.GroupCounter';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AvatarGroupCounter);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Avatar/index.js":
-/*!************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Avatar/index.js ***!
- \************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Avatar": () => (/* binding */ Avatar)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _AvatarGroup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AvatarGroup */ "./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroup.js");
-/* harmony import */ var _AvatarGroupCounter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AvatarGroupCounter */ "./node_modules/flowbite-react/lib/esm/components/Avatar/AvatarGroupCounter.js");
-
-
-
-
-
-
-
-const AvatarComponent = _ref => {
- let {
- alt = '',
- bordered = false,
- children,
- img,
- rounded = false,
- size = 'md',
- stacked = false,
- status,
- statusPosition = 'top-left',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.avatar;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- "data-testid": "flowbite-avatar",
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: "relative",
- children: [img ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", {
- alt: alt,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(bordered && theme.bordered, rounded && theme.rounded, stacked && theme.stacked, theme.img.on, theme.size[size]),
- "data-testid": "flowbite-avatar-img",
- src: img
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(bordered && theme.bordered, rounded && theme.rounded, stacked && theme.stacked, theme.img.off, theme.size[size]),
- "data-testid": "flowbite-avatar-img",
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", {
- className: "absolute -bottom-1 h-auto w-auto text-gray-400",
- fill: "currentColor",
- viewBox: "0 0 20 20",
- xmlns: "http://www.w3.org/2000/svg",
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", {
- fillRule: "evenodd",
- d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
- clipRule: "evenodd"
- })
- })
- }), status && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.status.base, theme.status[status], theme.statusPosition[statusPosition])
- })]
- }), children && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: children
- })]
- });
-};
-
-AvatarComponent.displayName = 'Avatar';
-const Avatar = Object.assign(AvatarComponent, {
- Group: _AvatarGroup__WEBPACK_IMPORTED_MODULE_4__["default"],
- Counter: _AvatarGroupCounter__WEBPACK_IMPORTED_MODULE_5__["default"]
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Badge/index.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Badge/index.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Badge": () => (/* binding */ Badge)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Badge = _ref => {
- let {
- children,
- color = 'info',
- href,
- icon: Icon,
- size = 'xs',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.badge;
-
- const Content = () => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.color[color], theme.icon[Icon ? 'on' : 'off'], theme.size[size]),
- "data-testid": "flowbite-badge",
- ...theirProps,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: theme.icon.size[size],
- "data-testid": "flowbite-badge-icon"
- }), children && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- children: children
- })]
- });
-
- return href ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- className: theme.href,
- href: href,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Content, {})
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Content, {});
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Breadcrumb/BreadcrumbItem.js":
-/*!*************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Breadcrumb/BreadcrumbItem.js ***!
- \*************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const BreadcrumbItem = _ref => {
- let {
- children,
- href,
- icon: Icon,
- ...props
- } = _ref;
- const isLink = typeof href !== 'undefined';
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.breadcrumb.item;
- const Component = isLink ? 'a' : 'span';
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("li", {
- className: theme.base,
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_3__.HiOutlineChevronRight, {
- "aria-hidden": true,
- className: theme.chevron,
- "data-testid": "flowbite-breadcrumb-separator"
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(Component, {
- className: theme.href[isLink ? 'on' : 'off'],
- "data-testid": "flowbite-breadcrumb-item",
- href: href,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: theme.icon
- }), children]
- })]
- });
-};
-
-BreadcrumbItem.displayName = 'Breadcrumb.Item';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BreadcrumbItem);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Breadcrumb/index.js":
-/*!****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Breadcrumb/index.js ***!
- \****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Breadcrumb": () => (/* binding */ Breadcrumb)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _BreadcrumbItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BreadcrumbItem */ "./node_modules/flowbite-react/lib/esm/components/Breadcrumb/BreadcrumbItem.js");
-
-
-
-
-const BreadcrumbComponent = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.breadcrumb;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("nav", {
- "aria-label": "Breadcrumb",
- ...props,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ol", {
- className: theme.list,
- children: children
- })
- });
-};
-
-BreadcrumbComponent.displayName = 'Breadcrumb';
-const Breadcrumb = Object.assign(BreadcrumbComponent, {
- Item: _BreadcrumbItem__WEBPACK_IMPORTED_MODULE_2__["default"]
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Button/ButtonGroup.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Button/ButtonGroup.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const ButtonGroup = _ref => {
- let {
- children,
- outline,
- pill,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const items = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => react__WEBPACK_IMPORTED_MODULE_1__.Children.map(children, (child, index) => (0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(child, {
- outline,
- pill,
- positionInGroup: index === 0 ? 'start' : index === children.length - 1 ? 'end' : 'middle'
- })), [children, outline, pill]);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.buttonGroup;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.base,
- role: "group",
- ...theirProps,
- children: items
- });
-};
-
-ButtonGroup.displayName = 'Button.Group';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ButtonGroup);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Button/index.js":
-/*!************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Button/index.js ***!
- \************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Button": () => (/* binding */ Button)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ButtonGroup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ButtonGroup */ "./node_modules/flowbite-react/lib/esm/components/Button/ButtonGroup.js");
-
-
-
-
-
-
-const ButtonComponent = _ref => {
- let {
- children,
- color = 'info',
- disabled = false,
- gradientDuoTone,
- gradientMonochrome,
- href,
- label,
- outline = false,
- pill = false,
- positionInGroup = 'none',
- size = 'md',
- ...props
- } = _ref;
- const isLink = typeof href !== 'undefined';
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const {
- buttonGroup: groupTheme,
- button: theme
- } = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme;
- const Component = isLink ? 'a' : 'button';
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Component, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(disabled && theme.disabled, !gradientDuoTone && !gradientMonochrome && theme.color[color], gradientDuoTone && !gradientMonochrome && theme.gradientDuoTone[gradientDuoTone], !gradientDuoTone && gradientMonochrome && theme.gradient[gradientMonochrome], groupTheme.position[positionInGroup], outline && theme.outline.color[color], theme.base, theme.pill[pill ? 'on' : 'off']),
- disabled: disabled,
- href: href,
- type: isLink ? undefined : 'button',
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.inner.base, theme.inner.position[positionInGroup], theme.outline[outline ? 'on' : 'off'], theme.outline.pill[outline && pill ? 'on' : 'off'], theme.size[size]),
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [typeof children !== 'undefined' && children, typeof label !== 'undefined' && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.label,
- "data-testid": "flowbite-button-label",
- children: label
- })]
- })
- })
- });
-};
-
-ButtonComponent.displayName = 'Button';
-const Button = Object.assign(ButtonComponent, {
- Group: _ButtonGroup__WEBPACK_IMPORTED_MODULE_4__["default"]
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Card/index.js":
-/*!**********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Card/index.js ***!
- \**********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Card": () => (/* binding */ Card)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Card = _ref => {
- let {
- children,
- horizontal,
- href,
- imgAlt,
- imgSrc,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.card;
- const Component = typeof href === 'undefined' ? 'div' : 'a';
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(Component, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.horizontal[horizontal ? 'on' : 'off'], href && theme.href),
- "data-testid": "flowbite-card",
- href: href,
- ...theirProps,
- children: [imgSrc && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", {
- alt: imgAlt ?? '',
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.img.base, theme.img.horizontal[horizontal ? 'on' : 'off']),
- src: imgSrc
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.children,
- children: children
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Carousel/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Carousel/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Carousel": () => (/* binding */ Carousel)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var react_indiana_drag_scroll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-indiana-drag-scroll */ "./node_modules/react-indiana-drag-scroll/dist/index.es.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _helpers_window_exists__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../helpers/window-exists */ "./node_modules/flowbite-react/lib/esm/helpers/window-exists.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-
-
-
-const Carousel = _ref => {
- let {
- children,
- indicators = true,
- leftControl,
- rightControl,
- slide = true,
- slideInterval,
- ...props
- } = _ref;
- const isDeviceMobile = (0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_5__["default"])() && navigator.userAgent.indexOf('IEMobile') !== -1;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_4__.excludeClassName)(props);
- const carouselContainer = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
- const [activeItem, setActiveItem] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(0);
- const [isDragging, setIsDragging] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__.useTheme)().theme.carousel;
- const items = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => react__WEBPACK_IMPORTED_MODULE_2__.Children.map(children, child => (0,react__WEBPACK_IMPORTED_MODULE_2__.cloneElement)(child, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.item.base, child.props.className)
- })), [children, theme.item.base]);
- const navigateTo = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(item => () => {
- item = (item + items.length) % items.length;
-
- if (carouselContainer.current) {
- carouselContainer.current.scrollLeft = carouselContainer.current.clientWidth * item;
- }
-
- setActiveItem(item);
- }, [items.length]);
- (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
- if (carouselContainer.current && !isDragging) {
- setActiveItem(Math.round(carouselContainer.current.scrollLeft / carouselContainer.current.clientWidth));
- }
- }, [isDragging]);
- (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
- if (slide) {
- const intervalId = setInterval(() => !isDragging && navigateTo(activeItem + 1)(), slideInterval ?? 3000);
- return () => clearInterval(intervalId);
- }
- }, [activeItem, isDragging, navigateTo, slide, slideInterval]);
-
- const handleDragging = dragging => () => setIsDragging(dragging);
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- "data-testid": "carousel",
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_indiana_drag_scroll__WEBPACK_IMPORTED_MODULE_3__["default"], {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.scrollContainer.base, (isDeviceMobile || !isDragging) && theme.scrollContainer.snap),
- draggingClassName: "cursor-grab",
- innerRef: carouselContainer,
- onEndScroll: handleDragging(false),
- onStartScroll: handleDragging(true),
- vertical: false,
- children: items?.map((item, index) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.item.wrapper,
- "data-active": activeItem === index,
- "data-testid": "carousel-item",
- children: item
- }, index))
- }), indicators && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.indicators.wrapper,
- children: items.map((_, index) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.indicators.base, theme.indicators.active[index === activeItem ? 'on' : 'off']),
- onClick: navigateTo(index),
- "data-testid": "carousel-indicator"
- }, index))
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.leftControl,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: "group",
- "data-testid": "carousel-left-control",
- onClick: navigateTo(activeItem - 1),
- type: "button",
- children: leftControl ? leftControl : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(DefaultLeftControl, {})
- })
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.rightControl,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: "group",
- "data-testid": "carousel-right-control",
- onClick: navigateTo(activeItem + 1),
- type: "button",
- children: rightControl ? rightControl : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(DefaultRightControl, {})
- })
- })]
- });
-};
-
-const DefaultLeftControl = () => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__.useTheme)().theme.carousel;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.control.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_7__.HiOutlineChevronLeft, {
- className: theme.control.icon
- })
- });
-};
-
-const DefaultRightControl = () => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__.useTheme)().theme.carousel;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.control.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_7__.HiOutlineChevronRight, {
- className: theme.control.icon
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/DarkThemeToggle/index.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/DarkThemeToggle/index.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "DarkThemeToggle": () => (/* binding */ DarkThemeToggle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const DarkThemeToggle = props => {
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.darkThemeToggle;
- const {
- mode,
- toggleMode
- } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.ThemeContext);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: theme.base,
- "data-testid": "dark-theme-toggle",
- onClick: toggleMode,
- type: "button",
- "aria-label": "Toggle dark mode",
- ...theirProps,
- children: mode === 'dark' ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_4__.HiSun, {
- "aria-label": "Currently dark mode",
- className: theme.icon
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_4__.HiMoon, {
- "aria-label": "Currently light mode",
- className: theme.icon
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownDivider.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownDivider.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "DropdownDivider": () => (/* binding */ DropdownDivider)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const DropdownDivider = () => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.dropdown.floating.divider;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownHeader.js":
-/*!***********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownHeader.js ***!
- \***********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "DropdownHeader": () => (/* binding */ DropdownHeader)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _DropdownDivider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./DropdownDivider */ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownDivider.js");
-
-
-
-
-const DropdownHeader = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.dropdown.floating.header;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme,
- ...theirProps,
- children: children
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_DropdownDivider__WEBPACK_IMPORTED_MODULE_3__.DropdownDivider, {})]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownItem.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownItem.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "DropdownItem": () => (/* binding */ DropdownItem)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const DropdownItem = _ref => {
- let {
- children,
- onClick,
- icon: Icon
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.dropdown.floating.item;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("li", {
- className: theme.base,
- onClick: onClick,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.icon
- }), children]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Dropdown/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Dropdown/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Dropdown": () => (/* binding */ Dropdown)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Button */ "./node_modules/flowbite-react/lib/esm/components/Button/index.js");
-/* harmony import */ var _Floating__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Floating */ "./node_modules/flowbite-react/lib/esm/components/Floating/index.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _DropdownDivider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./DropdownDivider */ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownDivider.js");
-/* harmony import */ var _DropdownHeader__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./DropdownHeader */ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownHeader.js");
-/* harmony import */ var _DropdownItem__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DropdownItem */ "./node_modules/flowbite-react/lib/esm/components/Dropdown/DropdownItem.js");
-
-
-
-
-
-
-
-
-
-
-const icons = {
- top: react_icons_hi__WEBPACK_IMPORTED_MODULE_9__.HiOutlineChevronUp,
- right: react_icons_hi__WEBPACK_IMPORTED_MODULE_9__.HiOutlineChevronRight,
- bottom: react_icons_hi__WEBPACK_IMPORTED_MODULE_9__.HiOutlineChevronDown,
- left: react_icons_hi__WEBPACK_IMPORTED_MODULE_9__.HiOutlineChevronLeft
-};
-
-const DropdownComponent = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_5__.useTheme)().theme.dropdown;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const {
- placement = props.inline ? 'bottom-start' : 'bottom',
- trigger = 'click',
- label,
- inline,
- floatingArrow = false,
- arrowIcon = true,
- ...buttonProps
- } = theirProps;
- const Icon = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {
- const [p] = placement.split('-');
- return icons[p] ?? react_icons_hi__WEBPACK_IMPORTED_MODULE_9__.HiOutlineChevronDown;
- }, [placement]);
- const content = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- className: theme.content,
- children: children
- }), [children, theme]);
-
- const TriggerWrapper = _ref2 => {
- let {
- children
- } = _ref2;
- return inline ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: theme.inlineWrapper,
- children: children
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_3__.Button, { ...buttonProps,
- children: children
- });
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Floating__WEBPACK_IMPORTED_MODULE_4__.Floating, {
- content: content,
- style: "auto",
- animation: "duration-100",
- placement: placement,
- arrow: floatingArrow,
- trigger: trigger,
- theme: theme.floating,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(TriggerWrapper, {
- children: [label, arrowIcon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.arrowIcon
- })]
- })
- });
-};
-
-DropdownComponent.displayName = 'Dropdown';
-_DropdownItem__WEBPACK_IMPORTED_MODULE_8__.DropdownItem.displayName = 'Dropdown.Item';
-_DropdownHeader__WEBPACK_IMPORTED_MODULE_7__.DropdownHeader.displayName = 'Dropdown.Header';
-_DropdownDivider__WEBPACK_IMPORTED_MODULE_6__.DropdownDivider.displayName = 'Dropdown.Divider';
-const Dropdown = Object.assign(DropdownComponent, {
- Item: _DropdownItem__WEBPACK_IMPORTED_MODULE_8__.DropdownItem,
- Header: _DropdownHeader__WEBPACK_IMPORTED_MODULE_7__.DropdownHeader,
- Divider: _DropdownDivider__WEBPACK_IMPORTED_MODULE_6__.DropdownDivider
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Floating/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Floating/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Floating": () => (/* binding */ Floating)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @floating-ui/react-dom-interactions */ "./node_modules/@floating-ui/react-dom-interactions/dist/floating-ui.react-dom-interactions.esm.js");
-/* harmony import */ var _floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @floating-ui/react-dom-interactions */ "./node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.mjs");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _helpers_floating__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers/floating */ "./node_modules/flowbite-react/lib/esm/helpers/floating.js");
-
-
-
-
-
-
-/**
- * @see https://floating-ui.com/docs/react-dom-interactions
- */
-
-const Floating = _ref => {
- let {
- children,
- content,
- theme,
- animation = 'duration-300',
- arrow = true,
- placement = 'top',
- style = 'dark',
- trigger = 'hover',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- const arrowRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
- const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
- const floatingTooltip = (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useFloating)({
- middleware: (0,_helpers_floating__WEBPACK_IMPORTED_MODULE_4__.getMiddleware)({
- arrowRef,
- placement
- }),
- onOpenChange: setOpen,
- open,
- placement: (0,_helpers_floating__WEBPACK_IMPORTED_MODULE_4__.getPlacement)({
- placement
- })
- });
- const {
- context,
- floating,
- middlewareData: {
- arrow: {
- x: arrowX,
- y: arrowY
- } = {}
- },
- reference,
- refs,
- strategy,
- update,
- x,
- y
- } = floatingTooltip;
- const {
- getFloatingProps,
- getReferenceProps
- } = (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useInteractions)([(0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useClick)(context, {
- enabled: trigger === 'click'
- }), (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useFocus)(context), (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useHover)(context, {
- enabled: trigger === 'hover'
- }), (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_5__.useRole)(context, {
- role: 'tooltip'
- })]);
- (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
- if (refs.reference.current && refs.floating.current && open) {
- return (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_6__.autoUpdate)(refs.reference.current, refs.floating.current, update);
- }
- }, [open, refs.floating, refs.reference, update]);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.target,
- ...getReferenceProps({
- ref: reference
- }),
- "data-testid": "flowbite-tooltip-target",
- children: children
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- "data-testid": "flowbite-tooltip",
- ...getFloatingProps({
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, animation && `${theme.animation} ${animation}`, !open && theme.hidden, theme.style[style]),
- ref: floating,
- style: {
- position: strategy,
- top: y ?? ' ',
- left: x ?? ' '
- },
- ...theirProps
- }),
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.content,
- children: content
- }), arrow && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.arrow.base, {
- [theme.arrow.style.dark]: style === 'dark',
- [theme.arrow.style.light]: style === 'light',
- [theme.arrow.style.auto]: style === 'auto'
- }),
- "data-testid": "flowbite-tooltip-arrow",
- ref: arrowRef,
- style: {
- top: arrowY ?? ' ',
- left: arrowX ?? ' ',
- right: ' ',
- bottom: ' ',
- [(0,_helpers_floating__WEBPACK_IMPORTED_MODULE_4__.getArrowPlacement)({
- placement: floatingTooltip.placement
- })]: theme.arrow.placement
- },
- children: "\u00A0"
- })]
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ThemeContext": () => (/* binding */ ThemeContext),
-/* harmony export */ "ThemeProvider": () => (/* binding */ ThemeProvider),
-/* harmony export */ "useTheme": () => (/* binding */ useTheme),
-/* harmony export */ "useThemeMode": () => (/* binding */ useThemeMode)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_window_exists__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/window-exists */ "./node_modules/flowbite-react/lib/esm/helpers/window-exists.js");
-/* harmony import */ var _theme_default__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/default */ "./node_modules/flowbite-react/lib/esm/theme/default.js");
-
-
-
-
-const ThemeContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({
- theme: _theme_default__WEBPACK_IMPORTED_MODULE_3__["default"]
-});
-const ThemeProvider = _ref => {
- let {
- children,
- value
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ThemeContext.Provider, {
- value: value,
- children: children
- });
-};
-function useTheme() {
- return (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);
-}
-const useThemeMode = usePreferences => {
- if (!usePreferences) return [undefined, undefined, undefined];
- const [mode, setMode] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(undefined);
-
- const savePreference = m => localStorage.setItem('theme', m);
-
- const toggleMode = () => {
- if (!mode) {
- return;
- }
-
- if ((0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_2__["default"])()) {
- document.documentElement.classList.toggle('dark');
- }
-
- savePreference(mode);
- setMode(mode == 'dark' ? 'light' : 'dark');
- };
-
- if (usePreferences) {
- (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
- const userPreference = (0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_2__["default"])() && !!window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
- const userMode = localStorage.getItem('theme') || (userPreference ? 'dark' : 'light');
-
- if (userMode) {
- setMode(userMode);
- }
- }, []);
- (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
- if (!mode) {
- return;
- }
-
- savePreference(mode);
-
- if (!(0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_2__["default"])()) {
- return;
- }
-
- if (mode != 'dark') {
- document.documentElement.classList.remove('dark');
- } else {
- document.documentElement.classList.add('dark');
- }
- }, [mode]);
- }
-
- return [mode, setMode, toggleMode];
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Flowbite/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Flowbite/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Flowbite": () => (/* binding */ Flowbite)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_mergeDeep__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/mergeDeep */ "./node_modules/flowbite-react/lib/esm/helpers/mergeDeep.js");
-/* harmony import */ var _helpers_window_exists__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/window-exists */ "./node_modules/flowbite-react/lib/esm/helpers/window-exists.js");
-/* harmony import */ var _theme_default__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/default */ "./node_modules/flowbite-react/lib/esm/theme/default.js");
-/* harmony import */ var _ThemeContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-
-const Flowbite = _ref => {
- let {
- children,
- theme = {}
- } = _ref;
- const {
- theme: customTheme = {},
- dark,
- usePreferences = true
- } = theme;
- const [mode, setMode, toggleMode] = (0,_ThemeContext__WEBPACK_IMPORTED_MODULE_5__.useThemeMode)(usePreferences);
- const mergedTheme = (0,_helpers_mergeDeep__WEBPACK_IMPORTED_MODULE_2__.mergeDeep)(_theme_default__WEBPACK_IMPORTED_MODULE_4__["default"], customTheme);
- (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
- if (dark) {
- if (setMode != null) {
- setMode('dark');
- }
-
- if ((0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_3__["default"])()) {
- document.documentElement.classList.add('dark');
- }
- }
- }, [dark, setMode]);
- const themeContextValue = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({
- theme: mergedTheme,
- mode,
- toggleMode
- }), [mode, toggleMode, mergedTheme]);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ThemeContext__WEBPACK_IMPORTED_MODULE_5__.ThemeContext.Provider, {
- value: themeContextValue,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterBrand.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterBrand.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterBrand": () => (/* binding */ FooterBrand)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterBrand = _ref => {
- let {
- alt,
- children,
- href,
- name,
- src
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.brand;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: href ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a", {
- "data-testid": "flowbite-footer-brand",
- href: href,
- className: theme.base,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", {
- alt: alt,
- src: src,
- className: theme.img
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- "data-testid": "flowbite-footer-brand-span",
- className: theme.span,
- children: name
- }), children]
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", {
- alt: alt,
- "data-testid": "flowbite-footer-brand",
- src: src,
- className: theme.img
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterCopyright.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterCopyright.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterCopyright": () => (/* binding */ FooterCopyright)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterCopyright = _ref => {
- let {
- href,
- by,
- year
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.copyright;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
- className: theme.base,
- "data-testid": "flowbite-footer-copyright",
- children: ["\u00A9 ", year, href ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- href: href,
- className: theme.href,
- children: by
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- "data-testid": "flowbite-footer-copyright-span",
- className: theme.span,
- children: by
- })]
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterDivider.js":
-/*!********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterDivider.js ***!
- \********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterDivider": () => (/* binding */ FooterDivider)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterDivider = () => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.divider;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("hr", {
- "data-testid": "footer-divider",
- className: theme.base
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterIcon.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterIcon.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterIcon": () => (/* binding */ FooterIcon)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterIcon = _ref => {
- let {
- href,
- ariaLabel,
- icon: Icon
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.icon;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: href ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- "aria-label": ariaLabel,
- "data-testid": "flowbite-footer-icon",
- href: href,
- className: theme.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.size
- })
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "data-testid": "flowbite-footer-icon",
- className: theme.size
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterLink.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterLink.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterLink": () => (/* binding */ FooterLink)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterLink = _ref => {
- let {
- children,
- href
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.groupLink.link;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- className: theme.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- href: href,
- className: theme.href,
- children: children
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterLinkGroup.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterLinkGroup.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterLinkGroup": () => (/* binding */ FooterLinkGroup)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-const FooterLinkGroup = _ref => {
- let {
- children,
- col = false
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.footer.groupLink;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- "data-testid": "footer-groupLink",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, col && theme.col),
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterTitle.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/FooterTitle.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FooterTitle": () => (/* binding */ FooterTitle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-const FooterTitle = _ref => {
- let {
- title
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.footer.title;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h2", {
- "data-testid": "flowbite-footer-title",
- className: theme.base,
- children: title
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Footer/index.js":
-/*!************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Footer/index.js ***!
- \************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Footer": () => (/* binding */ Footer),
-/* harmony export */ "FooterComponent": () => (/* binding */ FooterComponent)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _FooterBrand__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FooterBrand */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterBrand.js");
-/* harmony import */ var _FooterCopyright__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FooterCopyright */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterCopyright.js");
-/* harmony import */ var _FooterDivider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./FooterDivider */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterDivider.js");
-/* harmony import */ var _FooterIcon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./FooterIcon */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterIcon.js");
-/* harmony import */ var _FooterLink__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FooterLink */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterLink.js");
-/* harmony import */ var _FooterLinkGroup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FooterLinkGroup */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterLinkGroup.js");
-/* harmony import */ var _FooterTitle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FooterTitle */ "./node_modules/flowbite-react/lib/esm/components/Footer/FooterTitle.js");
-
-
-
-
-
-
-
-
-
-
-const FooterComponent = _ref => {
- let {
- children,
- bgDark = false,
- container = false
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.footer;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("footer", {
- "data-testid": "flowbite-footer",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, bgDark && theme.bgDark, container && theme.container),
- children: children
- });
-};
-FooterComponent.displayName = 'Footer';
-_FooterCopyright__WEBPACK_IMPORTED_MODULE_4__.FooterCopyright.displayName = 'Footer.Copyright';
-_FooterLink__WEBPACK_IMPORTED_MODULE_7__.FooterLink.displayName = 'Footer.Link';
-_FooterBrand__WEBPACK_IMPORTED_MODULE_3__.FooterBrand.displayName = 'Footer.Brand';
-_FooterLinkGroup__WEBPACK_IMPORTED_MODULE_8__.FooterLinkGroup.displayName = 'Footer.LinkGroup';
-_FooterIcon__WEBPACK_IMPORTED_MODULE_6__.FooterIcon.displayName = 'Footer.Icon';
-_FooterTitle__WEBPACK_IMPORTED_MODULE_9__.FooterTitle.displayName = 'Footer.Title';
-_FooterDivider__WEBPACK_IMPORTED_MODULE_5__.FooterDivider.displayName = 'Footer.Divider';
-const Footer = Object.assign(FooterComponent, {
- Copyright: _FooterCopyright__WEBPACK_IMPORTED_MODULE_4__.FooterCopyright,
- Link: _FooterLink__WEBPACK_IMPORTED_MODULE_7__.FooterLink,
- LinkGroup: _FooterLinkGroup__WEBPACK_IMPORTED_MODULE_8__.FooterLinkGroup,
- Brand: _FooterBrand__WEBPACK_IMPORTED_MODULE_3__.FooterBrand,
- Icon: _FooterIcon__WEBPACK_IMPORTED_MODULE_6__.FooterIcon,
- Title: _FooterTitle__WEBPACK_IMPORTED_MODULE_9__.FooterTitle,
- Divider: _FooterDivider__WEBPACK_IMPORTED_MODULE_5__.FooterDivider
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/Checkbox.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/Checkbox.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Checkbox": () => (/* binding */ Checkbox)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Checkbox = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)((props, ref) => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.formControls.checkbox;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input", {
- ref: ref,
- className: theme.base,
- type: "checkbox",
- ...theirProps
- });
-});
-Checkbox.displayName = 'Checkbox';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/FileInput.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/FileInput.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "FileInput": () => (/* binding */ FileInput)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _HelperText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HelperText */ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js");
-
-
-
-
-
-
-const FileInput = (0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
- let {
- sizing = 'md',
- helperText,
- color = 'gray',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.formControls.fileInput;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.field.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.field.input.base, theme.field.input.colors[color], theme.field.input.sizes[sizing]),
- ...theirProps,
- type: "file",
- ref: ref
- })
- })
- }), helperText && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HelperText__WEBPACK_IMPORTED_MODULE_5__["default"], {
- color: color,
- children: helperText
- })]
- });
-});
-FileInput.displayName = 'FileInput';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js":
-/*!***********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js ***!
- \***********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const HelperText = _ref => {
- let {
- value,
- children,
- color = 'default',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.formControls.helperText;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.colors[color]),
- ...theirProps,
- children: value ?? children ?? ''
- });
-};
-
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HelperText);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/Label.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/Label.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Label": () => (/* binding */ Label)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Label = _ref => {
- let {
- children,
- color = 'default',
- disabled = false,
- value,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.formControls.label;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("label", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.colors[color], disabled ?? theme.disabled),
- ...theirProps,
- children: value ?? children ?? ''
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/Radio.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/Radio.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Radio": () => (/* binding */ Radio)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Radio = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)((props, ref) => {
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.formControls.radio;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input", {
- ref: ref,
- className: theme.base,
- type: "radio",
- ...theirProps
- });
-});
-Radio.displayName = 'Radio';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/Select.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/Select.js ***!
- \*******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Select": () => (/* binding */ Select)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _HelperText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HelperText */ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js");
-
-
-
-
-
-
-const Select = (0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
- let {
- children,
- sizing = 'md',
- shadow,
- helperText,
- addon,
- icon: Icon,
- color = 'gray',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.formControls.select;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- children: [addon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.addon,
- children: addon
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.field.base,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.field.icon.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.field.icon.svg
- })
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("select", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.field.select.base, theme.field.select.colors[color], theme.field.select.withIcon[Icon ? 'on' : 'off'], theme.field.select.withAddon[addon ? 'on' : 'off'], theme.field.select.withShadow[shadow ? 'on' : 'off'], theme.field.select.sizes[sizing]),
- ...theirProps,
- ref: ref,
- children: children
- }), helperText && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HelperText__WEBPACK_IMPORTED_MODULE_5__["default"], {
- color: color,
- children: helperText
- })]
- })]
- });
-});
-Select.displayName = 'Select';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/TextInput.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/TextInput.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TextInput": () => (/* binding */ TextInput)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _HelperText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HelperText */ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js");
-
-
-
-
-
-
-const TextInput = (0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
- let {
- sizing = 'md',
- shadow,
- helperText,
- addon,
- icon: Icon,
- color = 'gray',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.formControls.textInput;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- children: [addon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.addon,
- children: addon
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.field.base,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.field.icon.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: theme.field.icon.svg
- })
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.field.input.base, theme.field.input.colors[color], theme.field.input.withIcon[Icon ? 'on' : 'off'], theme.field.input.withAddon[addon ? 'on' : 'off'], theme.field.input.withShadow[shadow ? 'on' : 'off'], theme.field.input.sizes[sizing]),
- ...theirProps,
- ref: ref
- })]
- })]
- }), helperText && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HelperText__WEBPACK_IMPORTED_MODULE_5__["default"], {
- color: color,
- children: helperText
- })]
- });
-});
-TextInput.displayName = 'TextInput';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/Textarea.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/Textarea.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Textarea": () => (/* binding */ Textarea)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _HelperText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HelperText */ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js");
-
-
-
-
-
-
-const Textarea = (0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
- let {
- shadow,
- helperText,
- color = 'gray',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.formControls.textarea;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("textarea", {
- ref: ref,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.colors[color], theme.withShadow[shadow ? 'on' : 'off']),
- ...theirProps
- }), helperText && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HelperText__WEBPACK_IMPORTED_MODULE_5__["default"], {
- color: color,
- children: helperText
- })]
- });
-});
-Textarea.displayName = 'Textarea';
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/ToggleSwitch.js":
-/*!*************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/ToggleSwitch.js ***!
- \*************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ToggleSwitch": () => (/* binding */ ToggleSwitch)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const ToggleSwitch = _ref => {
- let {
- checked,
- disabled,
- label,
- name,
- onChange,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.formControls.toggleSwitch;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- const id = (0,react__WEBPACK_IMPORTED_MODULE_2__.useId)();
-
- const toggle = () => onChange(!checked);
-
- const handleClick = event => {
- event.preventDefault();
- toggle();
- };
-
- const handleKeyPress = event => {
- event.preventDefault();
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [name && checked && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input", {
- checked: checked,
- hidden: true,
- name: name,
- readOnly: true,
- type: "checkbox",
- className: "sr-only"
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- "aria-checked": checked,
- "aria-labelledby": `${id}-flowbite-toggleswitch-label`,
- disabled: disabled,
- id: `${id}-flowbite-toggleswitch`,
- onClick: handleClick,
- onKeyPress: handleKeyPress,
- role: "switch",
- tabIndex: 0,
- type: "button",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.active[disabled ? 'off' : 'on']),
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.toggle.base, theme.toggle.checked[checked ? 'on' : 'off'])
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- "data-testid": "flowbite-toggleswitch-label",
- id: `${id}-flowbite-toggleswitch-label`,
- className: theme.label,
- children: label
- })]
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/FormControls/index.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/FormControls/index.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Checkbox": () => (/* reexport safe */ _Checkbox__WEBPACK_IMPORTED_MODULE_0__.Checkbox),
-/* harmony export */ "FileInput": () => (/* reexport safe */ _FileInput__WEBPACK_IMPORTED_MODULE_1__.FileInput),
-/* harmony export */ "Label": () => (/* reexport safe */ _Label__WEBPACK_IMPORTED_MODULE_3__.Label),
-/* harmony export */ "Radio": () => (/* reexport safe */ _Radio__WEBPACK_IMPORTED_MODULE_4__.Radio),
-/* harmony export */ "Select": () => (/* reexport safe */ _Select__WEBPACK_IMPORTED_MODULE_5__.Select),
-/* harmony export */ "TextInput": () => (/* reexport safe */ _TextInput__WEBPACK_IMPORTED_MODULE_7__.TextInput),
-/* harmony export */ "Textarea": () => (/* reexport safe */ _Textarea__WEBPACK_IMPORTED_MODULE_6__.Textarea),
-/* harmony export */ "ToggleSwitch": () => (/* reexport safe */ _ToggleSwitch__WEBPACK_IMPORTED_MODULE_8__.ToggleSwitch)
-/* harmony export */ });
-/* harmony import */ var _Checkbox__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Checkbox */ "./node_modules/flowbite-react/lib/esm/components/FormControls/Checkbox.js");
-/* harmony import */ var _FileInput__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FileInput */ "./node_modules/flowbite-react/lib/esm/components/FormControls/FileInput.js");
-/* harmony import */ var _HelperText__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HelperText */ "./node_modules/flowbite-react/lib/esm/components/FormControls/HelperText.js");
-/* harmony import */ var _Label__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Label */ "./node_modules/flowbite-react/lib/esm/components/FormControls/Label.js");
-/* harmony import */ var _Radio__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Radio */ "./node_modules/flowbite-react/lib/esm/components/FormControls/Radio.js");
-/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Select */ "./node_modules/flowbite-react/lib/esm/components/FormControls/Select.js");
-/* harmony import */ var _Textarea__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Textarea */ "./node_modules/flowbite-react/lib/esm/components/FormControls/Textarea.js");
-/* harmony import */ var _TextInput__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TextInput */ "./node_modules/flowbite-react/lib/esm/components/FormControls/TextInput.js");
-/* harmony import */ var _ToggleSwitch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ToggleSwitch */ "./node_modules/flowbite-react/lib/esm/components/FormControls/ToggleSwitch.js");
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/ListGroup/ListGroupItem.js":
-/*!***********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/ListGroup/ListGroupItem.js ***!
- \***********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ListGroupItem": () => (/* binding */ ListGroupItem)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const ListGroupItem = _ref => {
- let {
- active: isActive,
- children,
- href,
- icon: Icon,
- onClick,
- ...props
- } = _ref;
- const isLink = typeof href !== 'undefined';
- const Component = isLink ? 'a' : 'button';
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.listGroup.item;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(Component, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.active[isActive ? 'on' : 'off'], theme.base, theme.href[isLink ? 'on' : 'off']),
- href: href,
- onClick: onClick,
- type: isLink ? undefined : 'button',
- ...theirProps,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: theme.icon,
- "data-testid": "flowbite-list-group-item-icon"
- }), children]
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/ListGroup/index.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/ListGroup/index.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ListGroup": () => (/* binding */ ListGroup)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ListGroupItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListGroupItem */ "./node_modules/flowbite-react/lib/esm/components/ListGroup/ListGroupItem.js");
-
-
-
-
-
-const ListGroupComponent = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.listGroup.base;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- className: theme,
- ...theirProps,
- children: children
- });
-};
-
-ListGroupComponent.displayName = 'ListGroup';
-_ListGroupItem__WEBPACK_IMPORTED_MODULE_3__.ListGroupItem.displayName = 'ListGroup.Item';
-const ListGroup = Object.assign(ListGroupComponent, {
- Item: _ListGroupItem__WEBPACK_IMPORTED_MODULE_3__.ListGroupItem
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalBody.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Modal/ModalBody.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ModalBody": () => (/* binding */ ModalBody)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ModalContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ModalContext */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js");
-
-
-
-
-
-const ModalBody = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const {
- popup
- } = (0,_ModalContext__WEBPACK_IMPORTED_MODULE_4__.useModalContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.modal.body;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, {
- [theme.popup]: popup
- }),
- ...theirProps,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ModalContext": () => (/* binding */ ModalContext),
-/* harmony export */ "useModalContext": () => (/* binding */ useModalContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const ModalContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useModalContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ModalContext);
-
- if (!context) {
- throw new Error('useModalContext should be used within the ModalContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalFooter.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Modal/ModalFooter.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ModalFooter": () => (/* binding */ ModalFooter)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ModalContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ModalContext */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js");
-
-
-
-
-
-const ModalFooter = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const {
- popup
- } = (0,_ModalContext__WEBPACK_IMPORTED_MODULE_4__.useModalContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.modal.footer;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, {
- [theme.popup]: !popup
- }),
- ...theirProps,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalHeader.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Modal/ModalHeader.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ModalHeader": () => (/* binding */ ModalHeader)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ModalContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ModalContext */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js");
-
-
-
-
-
-
-const ModalHeader = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const {
- popup,
- onClose
- } = (0,_ModalContext__WEBPACK_IMPORTED_MODULE_4__.useModalContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.modal.header;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, {
- [theme.popup]: popup
- }),
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {
- className: theme.title,
- children: children
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- "aria-label": "Close",
- className: theme.close.base,
- type: "button",
- onClick: onClose,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_5__.HiOutlineX, {
- "aria-hidden": true,
- className: theme.close.icon
- })
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Modal/index.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Modal/index.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Modal": () => (/* binding */ Modal)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _helpers_window_exists__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../helpers/window-exists */ "./node_modules/flowbite-react/lib/esm/helpers/window-exists.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ModalBody__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ModalBody */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalBody.js");
-/* harmony import */ var _ModalContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ModalContext */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalContext.js");
-/* harmony import */ var _ModalFooter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ModalFooter */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalFooter.js");
-/* harmony import */ var _ModalHeader__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ModalHeader */ "./node_modules/flowbite-react/lib/esm/components/Modal/ModalHeader.js");
-
-
-
-
-
-
-
-
-
-
-
-
-const ModalComponent = _ref => {
- let {
- children,
- root = (0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_5__["default"])() ? document.body : undefined,
- show,
- popup,
- size = '2xl',
- position = 'center',
- onClose,
- ...props
- } = _ref;
- const [container] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)((0,_helpers_window_exists__WEBPACK_IMPORTED_MODULE_5__["default"])() ? document.createElement('div') : undefined);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_6__.useTheme)().theme.modal;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_4__.excludeClassName)(props);
- (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
- if (!container || !root || !show) {
- return;
- }
-
- root.appendChild(container);
- return () => {
- root.removeChild(container);
- };
- }, [container, root, show]);
- return container ? (0,react_dom__WEBPACK_IMPORTED_MODULE_3__.createPortal)((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ModalContext__WEBPACK_IMPORTED_MODULE_8__.ModalContext.Provider, {
- value: {
- popup,
- onClose
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "aria-hidden": !show,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.positions[position], show ? theme.show.on : theme.show.off),
- "data-testid": "modal",
- role: "dialog",
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.content.base, theme.sizes[size]),
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.content.inner,
- children: children
- })
- })
- })
- }), container) : null;
-};
-
-ModalComponent.displayName = 'Modal';
-_ModalHeader__WEBPACK_IMPORTED_MODULE_10__.ModalHeader.displayName = 'Modal.Header';
-_ModalBody__WEBPACK_IMPORTED_MODULE_7__.ModalBody.displayName = 'Modal.Body';
-_ModalFooter__WEBPACK_IMPORTED_MODULE_9__.ModalFooter.displayName = 'Modal.Footer';
-const Modal = Object.assign(ModalComponent, {
- Header: _ModalHeader__WEBPACK_IMPORTED_MODULE_10__.ModalHeader,
- Body: _ModalBody__WEBPACK_IMPORTED_MODULE_7__.ModalBody,
- Footer: _ModalFooter__WEBPACK_IMPORTED_MODULE_9__.ModalFooter
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarBrand.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarBrand.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "NavbarBrand": () => (/* binding */ NavbarBrand)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-const NavbarBrand = _ref => {
- let {
- children,
- href,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.navbar;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- href: href,
- className: theme.brand,
- ...theirProps,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarCollapse.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarCollapse.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "NavbarCollapse": () => (/* binding */ NavbarCollapse)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _NavbarContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./NavbarContext */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarContext.js");
-
-
-
-
-
-const NavbarCollapse = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const {
- isOpen
- } = (0,_NavbarContext__WEBPACK_IMPORTED_MODULE_4__.useNavbarContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.navbar.collapse;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.hidden[!isOpen ? 'on' : 'off']),
- "data-testid": "flowbite-navbar-collapse",
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- className: theme.list,
- children: children
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarContext.js":
-/*!********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarContext.js ***!
- \********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "NavbarContext": () => (/* binding */ NavbarContext),
-/* harmony export */ "useNavbarContext": () => (/* binding */ useNavbarContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const NavbarContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useNavbarContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(NavbarContext);
-
- if (!context) {
- throw new Error('useNavBarContext should be used within the NavbarContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarLink.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarLink.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "NavbarLink": () => (/* binding */ NavbarLink)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const NavbarLink = _ref => {
- let {
- active,
- disabled,
- href,
- children,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.navbar.link;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", {
- href: href,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, {
- [theme.active.on]: active,
- [theme.active.off]: !active && !disabled
- }, theme.disabled[disabled ? 'on' : 'off']),
- ...theirProps,
- children: children
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarToggle.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarToggle.js ***!
- \*******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "NavbarToggle": () => (/* binding */ NavbarToggle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react_icons_go__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-icons/go */ "./node_modules/react-icons/go/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _NavbarContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NavbarContext */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarContext.js");
-
-
-
-
-
-const NavbarToggle = _ref => {
- let {
- barIcon: BarIcon = react_icons_go__WEBPACK_IMPORTED_MODULE_4__.GoThreeBars,
- ...props
- } = _ref;
- const {
- isOpen,
- setIsOpen
- } = (0,_NavbarContext__WEBPACK_IMPORTED_MODULE_3__.useNavbarContext)();
-
- const handleClick = () => {
- setIsOpen(!isOpen);
- };
-
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.navbar.toggle;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- className: theme.base,
- "data-testid": "flowbite-navbar-toggle",
- onClick: handleClick,
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: "sr-only",
- children: "Open main menu"
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(BarIcon, {
- className: theme.icon
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Navbar/index.js":
-/*!************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Navbar/index.js ***!
- \************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Navbar": () => (/* binding */ Navbar)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _NavbarBrand__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./NavbarBrand */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarBrand.js");
-/* harmony import */ var _NavbarCollapse__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NavbarCollapse */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarCollapse.js");
-/* harmony import */ var _NavbarContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./NavbarContext */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarContext.js");
-/* harmony import */ var _NavbarLink__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./NavbarLink */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarLink.js");
-/* harmony import */ var _NavbarToggle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./NavbarToggle */ "./node_modules/flowbite-react/lib/esm/components/Navbar/NavbarToggle.js");
-
-
-
-
-
-
-
-
-
-
-
-const NavbarComponent = _ref => {
- let {
- children,
- menuOpen,
- fluid = false,
- rounded,
- border,
- ...props
- } = _ref;
- const [isOpen, setIsOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(menuOpen);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.navbar;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_NavbarContext__WEBPACK_IMPORTED_MODULE_7__.NavbarContext.Provider, {
- value: {
- isOpen,
- setIsOpen
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("nav", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.bordered[border ? 'on' : 'off'], theme.rounded[rounded ? 'on' : 'off']),
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.inner.base, theme.inner.fluid[fluid ? 'on' : 'off']),
- children: children
- })
- })
- });
-};
-
-NavbarComponent.displayName = 'Navbar';
-_NavbarBrand__WEBPACK_IMPORTED_MODULE_5__.NavbarBrand.displayName = 'Navbar.Brand';
-_NavbarCollapse__WEBPACK_IMPORTED_MODULE_6__.NavbarCollapse.displayName = 'Navbar.Collapse';
-_NavbarLink__WEBPACK_IMPORTED_MODULE_8__.NavbarLink.displayName = 'Navbar.Link';
-_NavbarToggle__WEBPACK_IMPORTED_MODULE_9__.NavbarToggle.displayName = 'Navbar.Toggle';
-const Navbar = Object.assign(NavbarComponent, {
- Brand: _NavbarBrand__WEBPACK_IMPORTED_MODULE_5__.NavbarBrand,
- Collapse: _NavbarCollapse__WEBPACK_IMPORTED_MODULE_6__.NavbarCollapse,
- Link: _NavbarLink__WEBPACK_IMPORTED_MODULE_8__.NavbarLink,
- Toggle: _NavbarToggle__WEBPACK_IMPORTED_MODULE_9__.NavbarToggle
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Pagination/index.js":
-/*!****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Pagination/index.js ***!
- \****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Pagination": () => (/* binding */ Pagination)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _helpers_range__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/range */ "./node_modules/flowbite-react/lib/esm/helpers/range.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-
-const Pagination = _ref => {
- let {
- currentPage,
- layout = 'pagination',
- onPageChange,
- showIcons: showIcon = false,
- totalPages,
- ...props
- } = _ref;
- const firstPage = Math.max(1, currentPage - 3);
- const lastPage = Math.min(currentPage + 3, totalPages);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.pagination;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
-
- const goToNextPage = () => {
- onPageChange(Math.min(currentPage + 1, totalPages));
- };
-
- const goToPreviousPage = () => {
- onPageChange(Math.max(currentPage - 1, 1));
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("nav", {
- className: theme.base,
- ...theirProps,
- children: [layout === 'table' && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.layout.table.base,
- children: ["Showing ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.layout.table.span,
- children: firstPage
- }), " to\u00A0", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.layout.table.span,
- children: lastPage
- }), " of\u00A0", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.layout.table.span,
- children: totalPages
- }), " Entries"]
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("ul", {
- className: theme.pages.base,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.pages.previous.base, showIcon && theme.pages.showIcon),
- onClick: () => goToPreviousPage(),
- children: [showIcon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_5__.HiChevronLeft, {
- "aria-hidden": true,
- className: theme.pages.previous.icon
- }), "Previous"]
- })
- }), layout === 'pagination' && (0,_helpers_range__WEBPACK_IMPORTED_MODULE_3__["default"])(firstPage, lastPage).map(page => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- "aria-current": page === currentPage ? 'page' : undefined,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.pages.selector.base, {
- [theme.pages.selector.active]: currentPage === page
- }),
- onClick: () => onPageChange(page),
- children: page
- })
- }, page)), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.pages.next.base, showIcon && theme.pages.showIcon),
- onClick: () => goToNextPage(),
- children: ["Next", showIcon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_5__.HiChevronRight, {
- "aria-hidden": true,
- className: theme.pages.showIcon
- })]
- })
- })]
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Progress/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Progress/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Progress": () => (/* binding */ Progress)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-
-const Progress = _ref => {
- let {
- color = 'blue',
- label = 'progressbar',
- labelPosition = 'none',
- labelProgress = false,
- progress,
- size = 'md',
- ...props
- } = _ref;
- const id = (0,react__WEBPACK_IMPORTED_MODULE_2__.useId)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.progress;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- id: id,
- "aria-label": label,
- "aria-valuenow": progress,
- role: "progressbar",
- ...theirProps,
- children: [label && labelPosition === 'outside' && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.label,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- children: label
- }), labelProgress && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
- children: [progress, "%"]
- })]
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.size[size]),
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.bar, theme.color[color], theme.size[size]),
- style: {
- width: `${progress}%`
- },
- children: label && labelPosition === 'inside' && label
- })
- })]
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingAdvanced.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Rating/RatingAdvanced.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "RatingAdvanced": () => (/* binding */ RatingAdvanced)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-const RatingAdvanced = _ref => {
- let {
- percentFilled = 0,
- children,
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.rating.advanced;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.label,
- children: children
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.progress.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.progress.fill,
- "data-testid": "flowbite-rating-fill",
- style: {
- width: `${percentFilled}%`
- }
- })
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.progress.label,
- children: `${percentFilled}%`
- })]
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingContext.js":
-/*!********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Rating/RatingContext.js ***!
- \********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "RatingContext": () => (/* binding */ RatingContext),
-/* harmony export */ "useRatingContext": () => (/* binding */ useRatingContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const RatingContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useRatingContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(RatingContext);
-
- if (!context) {
- throw new Error('useRatingContext should be used within the RatingContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingStar.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Rating/RatingStar.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "RatingStar": () => (/* binding */ RatingStar)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _RatingContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RatingContext */ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingContext.js");
-
-
-
-
-
-const RatingStar = _ref => {
- let {
- filled = true,
- starIcon: Icon = react_icons_hi__WEBPACK_IMPORTED_MODULE_4__.HiStar
- } = _ref;
- const {
- size = 'sm'
- } = (0,_RatingContext__WEBPACK_IMPORTED_MODULE_3__.useRatingContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.rating.star;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.sizes[size], theme[filled ? 'filled' : 'empty']),
- "data-testid": "flowbite-rating-star"
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Rating/index.js":
-/*!************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Rating/index.js ***!
- \************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Rating": () => (/* binding */ Rating)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _RatingAdvanced__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RatingAdvanced */ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingAdvanced.js");
-/* harmony import */ var _RatingContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RatingContext */ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingContext.js");
-/* harmony import */ var _RatingStar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RatingStar */ "./node_modules/flowbite-react/lib/esm/components/Rating/RatingStar.js");
-
-
-
-
-
-
-
-const RatingComponent = _ref => {
- let {
- children,
- size = 'sm',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.rating;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_RatingContext__WEBPACK_IMPORTED_MODULE_4__.RatingContext.Provider, {
- value: {
- size
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.base,
- ...theirProps,
- children: children
- })
- });
-};
-
-RatingComponent.displayName = 'Rating';
-_RatingStar__WEBPACK_IMPORTED_MODULE_5__.RatingStar.displayName = 'Rating.Star';
-_RatingAdvanced__WEBPACK_IMPORTED_MODULE_3__.RatingAdvanced.displayName = 'Rating.Advanced';
-const Rating = Object.assign(RatingComponent, {
- Star: _RatingStar__WEBPACK_IMPORTED_MODULE_5__.RatingStar,
- Advanced: _RatingAdvanced__WEBPACK_IMPORTED_MODULE_3__.RatingAdvanced
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCTA.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCTA.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _SidebarContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SidebarContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js");
-
-
-
-
-
-
-const SidebarCTA = _ref => {
- let {
- children,
- color = 'info',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const {
- isCollapsed
- } = (0,_SidebarContext__WEBPACK_IMPORTED_MODULE_4__.useSidebarContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.sidebar.cta;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.color[color]),
- "data-testid": "sidebar-cta",
- hidden: isCollapsed,
- ...theirProps,
- children: children
- });
-};
-
-SidebarCTA.displayName = 'Sidebar.CTA';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarCTA);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCollapse.js":
-/*!***********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCollapse.js ***!
- \***********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _Tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Tooltip */ "./node_modules/flowbite-react/lib/esm/components/Tooltip/index.js");
-/* harmony import */ var _SidebarContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SidebarContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js");
-/* harmony import */ var _SidebarItemContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SidebarItemContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemContext.js");
-
-
-
-
-
-
-
-
-
-
-const SidebarCollapse = _ref => {
- let {
- children,
- icon: Icon,
- label,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- const id = (0,react__WEBPACK_IMPORTED_MODULE_2__.useId)();
- const {
- isCollapsed
- } = (0,_SidebarContext__WEBPACK_IMPORTED_MODULE_6__.useSidebarContext)();
- const [isOpen, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.sidebar.collapse;
-
- const Wrapper = _ref2 => {
- let {
- children
- } = _ref2;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: isCollapsed ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Tooltip__WEBPACK_IMPORTED_MODULE_5__.Tooltip, {
- content: label,
- placement: "right",
- children: children
- }) : children
- });
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(Wrapper, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- className: theme.button,
- id: `flowbite-sidebar-collapse-${id}`,
- onClick: () => setOpen(!isOpen),
- type: "button",
- ...theirProps,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.icon.base, theme.icon.open[isOpen ? 'on' : 'off']),
- "data-testid": "flowbite-sidebar-collapse-icon"
- }), isCollapsed ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: "sr-only",
- children: label
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.label.base,
- "data-testid": "flowbite-sidebar-collapse-label",
- children: label
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_hi__WEBPACK_IMPORTED_MODULE_8__.HiChevronDown, {
- "aria-hidden": true,
- className: theme.label.icon
- })]
- })]
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- "aria-labelledby": `flowbite-sidebar-collapse-${id}`,
- className: theme.list,
- hidden: !isOpen,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_SidebarItemContext__WEBPACK_IMPORTED_MODULE_7__.SidebarItemContext.Provider, {
- value: {
- isInsideCollapse: true
- },
- children: children
- })
- })]
- });
-};
-
-SidebarCollapse.displayName = 'Sidebar.Collapse';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarCollapse);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "SidebarContext": () => (/* binding */ SidebarContext),
-/* harmony export */ "useSidebarContext": () => (/* binding */ useSidebarContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const SidebarContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useSidebarContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(SidebarContext);
-
- if (!context) {
- throw new Error('useSidebarContext should be used within the SidebarContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItem.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItem.js ***!
- \*******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Badge */ "./node_modules/flowbite-react/lib/esm/components/Badge/index.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Tooltip */ "./node_modules/flowbite-react/lib/esm/components/Tooltip/index.js");
-/* harmony import */ var _SidebarContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SidebarContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js");
-/* harmony import */ var _SidebarItemContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SidebarItemContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemContext.js");
-
-
-
-
-
-
-
-
-
-
-const SidebarItem = _ref => {
- let {
- as: Component = 'a',
- children,
- icon: Icon,
- active: isActive,
- label,
- labelColor = 'info',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- const id = (0,react__WEBPACK_IMPORTED_MODULE_2__.useId)();
- const {
- isCollapsed
- } = (0,_SidebarContext__WEBPACK_IMPORTED_MODULE_7__.useSidebarContext)();
- const {
- isInsideCollapse
- } = (0,_SidebarItemContext__WEBPACK_IMPORTED_MODULE_8__.useSidebarItemContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_5__.useTheme)().theme.sidebar.item;
-
- const ListItem = _ref2 => {
- let {
- children: wrapperChildren
- } = _ref2;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- children: isCollapsed ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Tooltip__WEBPACK_IMPORTED_MODULE_6__.Tooltip, {
- content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(TooltipContent, {
- children: children
- }),
- placement: "right",
- children: wrapperChildren
- }) : wrapperChildren
- });
- };
-
- const TooltipContent = _ref3 => {
- let {
- children
- } = _ref3;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Children, {
- children: children
- });
- };
-
- const Children = _ref4 => {
- let {
- children
- } = _ref4;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.content.base),
- "data-testid": "flowbite-sidebar-item-content",
- id: `flowbite-sidebar-item-${id}`,
- children: children
- });
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ListItem, {
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(Component, {
- "aria-labelledby": `flowbite-sidebar-item-${id}`,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, isActive && theme.active, !isCollapsed && isInsideCollapse && theme.collapsed.insideCollapse),
- ...theirProps,
- children: [Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.icon.base, isActive && theme.icon.active),
- "data-testid": "flowbite-sidebar-item-icon"
- }), isCollapsed && !Icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.collapsed.noIcon,
- children: children.charAt(0).toLocaleUpperCase() ?? '?'
- }), !isCollapsed && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Children, {
- children: children
- }), !isCollapsed && label && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Badge__WEBPACK_IMPORTED_MODULE_4__.Badge, {
- color: labelColor,
- "data-testid": "flowbite-sidebar-label",
- hidden: isCollapsed,
- children: label
- })]
- })
- });
-};
-
-SidebarItem.displayName = 'Sidebar.Item';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarItem);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemContext.js":
-/*!**************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemContext.js ***!
- \**************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "SidebarItemContext": () => (/* binding */ SidebarItemContext),
-/* harmony export */ "useSidebarItemContext": () => (/* binding */ useSidebarItemContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const SidebarItemContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useSidebarItemContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(SidebarItemContext);
-
- if (!context) {
- throw new Error('useSidebarItemContext should be used within the SidebarItemContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemGroup.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemGroup.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _SidebarItemContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SidebarItemContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemContext.js");
-
-
-
-
-
-const SidebarItemGroup = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.sidebar.itemGroup;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ul", {
- className: theme,
- "data-testid": "flowbite-sidebar-item-group",
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_SidebarItemContext__WEBPACK_IMPORTED_MODULE_3__.SidebarItemContext.Provider, {
- value: {
- isInsideCollapse: false
- },
- children: children
- })
- });
-};
-
-SidebarItemGroup.displayName = 'Sidebar.ItemGroup';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarItemGroup);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItems.js":
-/*!********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItems.js ***!
- \********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const SidebarItems = _ref => {
- let {
- children,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_2__.useTheme)().theme.sidebar.items;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme,
- "data-testid": "flowbite-sidebar-items",
- ...theirProps,
- children: children
- });
-};
-
-SidebarItems.displayName = 'Sidebar.Items';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarItems);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarLogo.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarLogo.js ***!
- \*******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _SidebarContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SidebarContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js");
-
-
-
-
-
-
-const SidebarLogo = _ref => {
- let {
- children,
- href,
- img,
- imgAlt = '',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const id = (0,react__WEBPACK_IMPORTED_MODULE_1__.useId)();
- const {
- isCollapsed
- } = (0,_SidebarContext__WEBPACK_IMPORTED_MODULE_4__.useSidebarContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.sidebar.logo;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a", {
- "aria-labelledby": `flowbite-sidebar-logo-${id}`,
- className: theme.base,
- href: href,
- ...theirProps,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", {
- alt: imgAlt,
- className: theme.img,
- src: img
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: theme.collapsed[isCollapsed ? 'on' : 'off'],
- id: `flowbite-sidebar-logo-${id}`,
- children: children
- })]
- });
-};
-
-SidebarLogo.displayName = 'Sidebar.Logo';
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarLogo);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Sidebar/index.js":
-/*!*************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Sidebar/index.js ***!
- \*************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Sidebar": () => (/* binding */ Sidebar)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _SidebarCollapse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SidebarCollapse */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCollapse.js");
-/* harmony import */ var _SidebarContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SidebarContext */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarContext.js");
-/* harmony import */ var _SidebarCTA__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SidebarCTA */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarCTA.js");
-/* harmony import */ var _SidebarItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SidebarItem */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItem.js");
-/* harmony import */ var _SidebarItemGroup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SidebarItemGroup */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItemGroup.js");
-/* harmony import */ var _SidebarItems__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SidebarItems */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarItems.js");
-/* harmony import */ var _SidebarLogo__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./SidebarLogo */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/SidebarLogo.js");
-
-
-
-
-
-
-
-
-
-
-
-
-const SidebarComponent = _ref => {
- let {
- children,
- collapseBehavior = 'collapse',
- collapsed: isCollapsed = false,
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.sidebar;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_SidebarContext__WEBPACK_IMPORTED_MODULE_5__.SidebarContext.Provider, {
- value: {
- isCollapsed
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("aside", {
- "aria-label": "Sidebar",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.collapsed[isCollapsed ? 'on' : 'off']),
- hidden: isCollapsed && collapseBehavior === 'hide',
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: theme.inner,
- children: children
- })
- })
- });
-};
-
-SidebarComponent.displayName = 'Sidebar';
-const Sidebar = Object.assign(SidebarComponent, {
- Collapse: _SidebarCollapse__WEBPACK_IMPORTED_MODULE_4__["default"],
- CTA: _SidebarCTA__WEBPACK_IMPORTED_MODULE_6__["default"],
- Item: _SidebarItem__WEBPACK_IMPORTED_MODULE_7__["default"],
- Items: _SidebarItems__WEBPACK_IMPORTED_MODULE_9__["default"],
- ItemGroup: _SidebarItemGroup__WEBPACK_IMPORTED_MODULE_8__["default"],
- Logo: _SidebarLogo__WEBPACK_IMPORTED_MODULE_10__["default"]
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Spinner/index.js":
-/*!*************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Spinner/index.js ***!
- \*************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Spinner": () => (/* binding */ Spinner)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-const Spinner = _ref => {
- let {
- color = 'info',
- light,
- size = 'md',
- ...props
- } = _ref;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_2__.excludeClassName)(props);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.spinner;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- role: "status",
- ...theirProps,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("svg", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, theme.color[color], theme.light[light ? 'on' : 'off'].base, theme.light[light ? 'on' : 'off'].color[color], theme.size[size]),
- fill: "none",
- viewBox: "0 0 100 101",
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", {
- d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
- fill: "currentColor"
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", {
- d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
- fill: "currentFill"
- })]
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Tab/TabItem.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Tab/TabItem.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TabItem": () => (/* binding */ TabItem)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-
-const TabItem = _ref => {
- let {
- children
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Tab/index.js":
-/*!*********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Tab/index.js ***!
- \*********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Tabs": () => (/* binding */ Tabs),
-/* harmony export */ "TabsComponent": () => (/* binding */ TabsComponent)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _TabItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TabItem */ "./node_modules/flowbite-react/lib/esm/components/Tab/TabItem.js");
-
-
-
-
-
-
-const TabsComponent = _ref => {
- let {
- children,
- style = 'default',
- ...rest
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.tab;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(rest);
- const id = (0,react__WEBPACK_IMPORTED_MODULE_2__.useId)();
- const tabs = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => react__WEBPACK_IMPORTED_MODULE_2__.Children.map(children, _ref2 => {
- let {
- props
- } = _ref2;
- return props;
- }), [children]);
- const tabRefs = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)([]);
- const [activeTab, setActiveTab] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(Math.max(0, tabs.findIndex(tab => tab.active)));
- const [focusedTab, setFocusedTab] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(Math.max(0, tabs.findIndex(tab => tab.active)));
-
- const handleClick = _ref3 => {
- let {
- target
- } = _ref3;
- setActiveTab(target);
- setFocusedTab(target);
- };
-
- const handleKeyboard = _ref4 => {
- let {
- event,
- target
- } = _ref4;
-
- if (event.key === 'ArrowLeft') {
- setFocusedTab(Math.max(0, focusedTab - 1));
- }
-
- if (event.key === 'ArrowRight') {
- setFocusedTab(Math.min(tabs.length - 1, focusedTab + 1));
- }
-
- if (event.key === 'Enter') {
- setActiveTab(target);
- setFocusedTab(target);
- }
- };
-
- (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
- tabRefs.current[focusedTab]?.focus();
- }, [focusedTab]);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- className: theme.base,
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "aria-label": "Tabs",
- role: "tablist",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.tablist.base, theme.tablist.styles[style]),
- ...theirProps,
- children: tabs.map((tab, index) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", {
- type: "button",
- "aria-controls": `${id}-tabpanel-${index}`,
- "aria-selected": index === activeTab,
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.tablist.tabitem.base, theme.tablist.tabitem.styles[style], {
- [theme.tablist.tabitem.styles[style].active.on]: index === activeTab,
- [theme.tablist.tabitem.styles[style].active.off]: index !== activeTab && !tab.disabled
- }),
- disabled: tab.disabled,
- id: `${id}-tab-${index}`,
- onClick: () => handleClick({
- target: index
- }),
- onKeyDown: event => handleKeyboard({
- event,
- target: index
- }),
- ref: element => tabRefs.current[index] = element,
- role: "tab",
- tabIndex: index === focusedTab ? 0 : -1,
- children: [tab.icon && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(tab.icon, {
- className: theme.tablist.tabitem.icon
- }), tab.title]
- }, index))
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- children: tabs.map((tab, index) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "aria-labelledby": `${id}-tab-${index}`,
- className: theme.tabpanel,
- hidden: index !== activeTab,
- id: `${id}-tabpanel-${index}`,
- role: "tabpanel",
- tabIndex: 0,
- children: tab.children
- }, index))
- })]
- });
-};
-TabsComponent.displayName = 'Tabs.Group';
-_TabItem__WEBPACK_IMPORTED_MODULE_5__.TabItem.displayName = 'Tabs.Item';
-const Tabs = {
- Group: TabsComponent,
- Item: _TabItem__WEBPACK_IMPORTED_MODULE_5__.TabItem
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableBody.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableBody.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableBody": () => (/* binding */ TableBody)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-
-const TableBody = _ref => {
- let {
- children,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("tbody", { ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableCell.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableCell.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableCell": () => (/* binding */ TableCell)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TableCell = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("td", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('px-6 py-4', className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableContext.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableContext.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableContext": () => (/* binding */ TableContext),
-/* harmony export */ "useTableContext": () => (/* binding */ useTableContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const TableContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useTableContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(TableContext);
-
- if (!context) {
- throw new Error('useTableContext should be used within the TableContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableHead.js":
-/*!***************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableHead.js ***!
- \***************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableHead": () => (/* binding */ TableHead)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TableHead = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("thead", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('bg-gray-50 text-xs uppercase text-gray-700 dark:bg-gray-700 dark:text-gray-400', className),
- ...props,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("tr", {
- children: children
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableHeadCell.js":
-/*!*******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableHeadCell.js ***!
- \*******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableHeadCell": () => (/* binding */ TableHeadCell)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TableHeadCell = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("th", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('px-6 py-3', className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/TableRow.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/TableRow.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TableRow": () => (/* binding */ TableRow)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TableContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TableContext */ "./node_modules/flowbite-react/lib/esm/components/Table/TableContext.js");
-
-
-
-const TableRow = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- const {
- striped,
- hoverable
- } = (0,_TableContext__WEBPACK_IMPORTED_MODULE_2__.useTableContext)();
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("tr", {
- "data-testid": "table-row-element",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({
- 'odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700': striped,
- 'hover:bg-gray-50 dark:hover:bg-gray-600': hoverable
- }, className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Table/index.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Table/index.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Table": () => (/* binding */ Table)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TableBody__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TableBody */ "./node_modules/flowbite-react/lib/esm/components/Table/TableBody.js");
-/* harmony import */ var _TableCell__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TableCell */ "./node_modules/flowbite-react/lib/esm/components/Table/TableCell.js");
-/* harmony import */ var _TableContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TableContext */ "./node_modules/flowbite-react/lib/esm/components/Table/TableContext.js");
-/* harmony import */ var _TableHead__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TableHead */ "./node_modules/flowbite-react/lib/esm/components/Table/TableHead.js");
-/* harmony import */ var _TableHeadCell__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TableHeadCell */ "./node_modules/flowbite-react/lib/esm/components/Table/TableHeadCell.js");
-/* harmony import */ var _TableRow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TableRow */ "./node_modules/flowbite-react/lib/esm/components/Table/TableRow.js");
-
-
-
-
-
-
-
-
-
-const TableComponent = _ref => {
- let {
- children,
- striped,
- hoverable,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "data-testid": "table-element",
- className: "relative overflow-x-auto shadow-md sm:rounded-lg",
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_TableContext__WEBPACK_IMPORTED_MODULE_4__.TableContext.Provider, {
- value: {
- striped,
- hoverable
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("table", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('w-full text-left text-sm text-gray-500 dark:text-gray-400', className),
- ...props,
- children: children
- })
- })
- });
-};
-
-TableComponent.displayName = 'Table';
-_TableHead__WEBPACK_IMPORTED_MODULE_5__.TableHead.displayName = 'Table.Head';
-_TableBody__WEBPACK_IMPORTED_MODULE_2__.TableBody.displayName = 'Table.Body';
-_TableRow__WEBPACK_IMPORTED_MODULE_7__.TableRow.displayName = 'Table.Row';
-_TableCell__WEBPACK_IMPORTED_MODULE_3__.TableCell.displayName = 'Table.Cell';
-_TableHeadCell__WEBPACK_IMPORTED_MODULE_6__.TableHeadCell.displayName = 'Table.HeadCell';
-const Table = Object.assign(TableComponent, {
- Head: _TableHead__WEBPACK_IMPORTED_MODULE_5__.TableHead,
- Body: _TableBody__WEBPACK_IMPORTED_MODULE_2__.TableBody,
- Row: _TableRow__WEBPACK_IMPORTED_MODULE_7__.TableRow,
- Cell: _TableCell__WEBPACK_IMPORTED_MODULE_3__.TableCell,
- HeadCell: _TableHeadCell__WEBPACK_IMPORTED_MODULE_6__.TableHeadCell
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineBody.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineBody.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineBody": () => (/* binding */ TimelineBody)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TimelineBody = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('mb-4 text-base font-normal text-gray-500 dark:text-gray-400', className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContent.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContent.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineContent": () => (/* binding */ TimelineContent)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TimelineContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TimelineContext */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js");
-
-
-
-const TimelineContent = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- const {
- horizontal
- } = (0,_TimelineContext__WEBPACK_IMPORTED_MODULE_2__.useTimelineContext)();
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "data-testid": "timeline-content",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({
- 'mt-3 sm:pr-8': horizontal
- }, className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js":
-/*!************************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js ***!
- \************************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineContext": () => (/* binding */ TimelineContext),
-/* harmony export */ "useTimelineContext": () => (/* binding */ useTimelineContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const TimelineContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useTimelineContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(TimelineContext);
-
- if (!context) {
- throw new Error('useTimelineContext should be used within the TimelineContext providor!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineItem.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineItem.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineItem": () => (/* binding */ TimelineItem)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TimelineContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TimelineContext */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js");
-
-
-
-const TimelineItem = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- const {
- horizontal
- } = (0,_TimelineContext__WEBPACK_IMPORTED_MODULE_2__.useTimelineContext)();
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", {
- "data-testid": "timeline-item",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({
- 'mb-10 ml-6': !horizontal,
- 'relative mb-6 sm:mb-0': horizontal
- }, className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelinePoint.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelinePoint.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelinePoint": () => (/* binding */ TimelinePoint)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TimelineContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TimelineContext */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js");
-
-
-
-const TimelinePoint = _ref => {
- let {
- children,
- className,
- icon: Icon,
- ...props
- } = _ref;
- const {
- horizontal
- } = (0,_TimelineContext__WEBPACK_IMPORTED_MODULE_2__.useTimelineContext)();
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
- "data-testid": "timeline-point",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({
- 'flex items-center': horizontal
- }, className),
- ...props,
- children: [children, Icon ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
- className: "absolute -left-3 flex h-6 w-6 items-center justify-center rounded-full bg-blue-200 ring-8 ring-white dark:bg-blue-900 dark:ring-gray-900",
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Icon, {
- "aria-hidden": true,
- className: "h-3 w-3 text-blue-600 dark:text-blue-300"
- })
- }) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: "absolute -left-1.5 mt-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700"
- }), horizontal ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- className: "hidden h-0.5 w-full bg-gray-200 dark:bg-gray-700 sm:flex"
- }) : '']
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTime.js":
-/*!*********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTime.js ***!
- \*********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineTime": () => (/* binding */ TimelineTime)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TimelineTime = _ref => {
- let {
- children,
- className,
- ...props
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("time", {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500', className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTitle.js":
-/*!**********************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTitle.js ***!
- \**********************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "TimelineTitle": () => (/* binding */ TimelineTitle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-
-
-const TimelineTitle = _ref => {
- let {
- children,
- className,
- as = 'h3',
- ...props
- } = _ref;
- const Tag = as;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Tag, {
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('text-lg font-semibold text-gray-900 dark:text-white', className),
- ...props,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Timeline/index.js":
-/*!**************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Timeline/index.js ***!
- \**************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Timeline": () => (/* binding */ Timeline)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _TimelineBody__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TimelineBody */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineBody.js");
-/* harmony import */ var _TimelineContent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TimelineContent */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContent.js");
-/* harmony import */ var _TimelineContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TimelineContext */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineContext.js");
-/* harmony import */ var _TimelineItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TimelineItem */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineItem.js");
-/* harmony import */ var _TimelinePoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TimelinePoint */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelinePoint.js");
-/* harmony import */ var _TimelineTime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TimelineTime */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTime.js");
-/* harmony import */ var _TimelineTitle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TimelineTitle */ "./node_modules/flowbite-react/lib/esm/components/Timeline/TimelineTitle.js");
-
-
-
-
-
-
-
-
-
-
-const TimelineComponent = _ref => {
- let {
- children,
- horizontal
- } = _ref;
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_TimelineContext__WEBPACK_IMPORTED_MODULE_4__.TimelineContext.Provider, {
- value: {
- horizontal
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ol", {
- "data-testid": "timeline-component",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({
- 'relative border-l border-gray-200 dark:border-gray-700': !horizontal,
- 'items-center sm:flex': horizontal
- }),
- children: children
- })
- });
-};
-
-TimelineComponent.displayName = 'Timeline';
-_TimelineItem__WEBPACK_IMPORTED_MODULE_5__.TimelineItem.displayName = 'Timeline.Item';
-_TimelinePoint__WEBPACK_IMPORTED_MODULE_6__.TimelinePoint.displayName = 'Timeline.Point';
-_TimelineContent__WEBPACK_IMPORTED_MODULE_3__.TimelineContent.displayName = 'Timeline.Content';
-_TimelineTime__WEBPACK_IMPORTED_MODULE_7__.TimelineTime.displayName = 'Timeline.Time';
-_TimelineTitle__WEBPACK_IMPORTED_MODULE_8__.TimelineTitle.displayName = 'Timeline.Title';
-_TimelineBody__WEBPACK_IMPORTED_MODULE_2__.TimelineBody.displayName = 'Timeline.Body';
-const Timeline = Object.assign(TimelineComponent, {
- Item: _TimelineItem__WEBPACK_IMPORTED_MODULE_5__.TimelineItem,
- Point: _TimelinePoint__WEBPACK_IMPORTED_MODULE_6__.TimelinePoint,
- Content: _TimelineContent__WEBPACK_IMPORTED_MODULE_3__.TimelineContent,
- Time: _TimelineTime__WEBPACK_IMPORTED_MODULE_7__.TimelineTime,
- Title: _TimelineTitle__WEBPACK_IMPORTED_MODULE_8__.TimelineTitle,
- Body: _TimelineBody__WEBPACK_IMPORTED_MODULE_2__.TimelineBody
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Toast/ToastContext.js":
-/*!******************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Toast/ToastContext.js ***!
- \******************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ToastContext": () => (/* binding */ ToastContext),
-/* harmony export */ "useToastContext": () => (/* binding */ useToastContext)
-/* harmony export */ });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-
-const ToastContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
-function useToastContext() {
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ToastContext);
-
- if (!context) {
- throw new Error('useToastContext should be used within the ToastContext provider!');
- }
-
- return context;
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Toast/ToastToggle.js":
-/*!*****************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Toast/ToastToggle.js ***!
- \*****************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "ToastToggle": () => (/* binding */ ToastToggle)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var react_icons_hi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-icons/hi */ "./node_modules/react-icons/hi/index.esm.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ToastContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ToastContext */ "./node_modules/flowbite-react/lib/esm/components/Toast/ToastContext.js");
-
-
-
-
-const ToastToggle = _ref => {
- let {
- xIcon: XIcon = react_icons_hi__WEBPACK_IMPORTED_MODULE_3__.HiX
- } = _ref;
- const {
- duration,
- isClosed,
- isRemoved,
- setIsClosed,
- setIsRemoved
- } = (0,_ToastContext__WEBPACK_IMPORTED_MODULE_2__.useToastContext)();
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_1__.useTheme)().theme.toast.toggle;
-
- const handleClick = () => {
- setIsClosed(!isClosed);
- setTimeout(() => setIsRemoved(!isRemoved), duration);
- };
-
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
- "aria-label": "Close",
- onClick: handleClick,
- type: "button",
- className: theme.base,
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(XIcon, {
- className: theme.icon
- })
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Toast/index.js":
-/*!***********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Toast/index.js ***!
- \***********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Toast": () => (/* binding */ Toast)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-/* harmony import */ var _ToastContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ToastContext */ "./node_modules/flowbite-react/lib/esm/components/Toast/ToastContext.js");
-/* harmony import */ var _ToastToggle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ToastToggle */ "./node_modules/flowbite-react/lib/esm/components/Toast/ToastToggle.js");
-
-
-
-
-
-
-
-const durationClasses = {
- 75: 'duration-75',
- 100: 'duration-100',
- 150: 'duration-150',
- 200: 'duration-200',
- 300: 'duration-300',
- 500: 'duration-500',
- 700: 'duration-700',
- 1000: 'duration-1000'
-};
-
-const ToastComponent = _ref => {
- let {
- children,
- duration = 300,
- ...props
- } = _ref;
- const [isClosed, setIsClosed] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
- const [isRemoved, setIsRemoved] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_4__.useTheme)().theme.toast;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_3__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ToastContext__WEBPACK_IMPORTED_MODULE_5__.ToastContext.Provider, {
- value: {
- duration,
- isClosed,
- isRemoved,
- setIsClosed,
- setIsRemoved
- },
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
- "data-testid": "flowbite-toast",
- className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(theme.base, durationClasses[duration], {
- [theme.closed]: isClosed
- }, {
- [theme.removed]: isRemoved
- }),
- ...theirProps,
- children: children
- })
- });
-};
-
-ToastComponent.displayName = 'Toast';
-_ToastToggle__WEBPACK_IMPORTED_MODULE_6__.ToastToggle.displayName = 'Toast.Toggle';
-const Toast = Object.assign(ToastComponent, {
- Toggle: _ToastToggle__WEBPACK_IMPORTED_MODULE_6__.ToastToggle
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/Tooltip/index.js":
-/*!*************************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/Tooltip/index.js ***!
- \*************************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Tooltip": () => (/* binding */ Tooltip)
-/* harmony export */ });
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
-/* harmony import */ var _helpers_exclude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers/exclude */ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js");
-/* harmony import */ var _Floating__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Floating */ "./node_modules/flowbite-react/lib/esm/components/Floating/index.js");
-/* harmony import */ var _Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Flowbite/ThemeContext */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/ThemeContext.js");
-
-
-
-
-/**
- * @see https://floating-ui.com/docs/react-dom-interactions
- */
-
-const Tooltip = _ref => {
- let {
- animation = 'duration-300',
- arrow = true,
- children,
- content,
- placement = 'top',
- style = 'dark',
- trigger = 'hover',
- ...props
- } = _ref;
- const theme = (0,_Flowbite_ThemeContext__WEBPACK_IMPORTED_MODULE_3__.useTheme)().theme.tooltip;
- const theirProps = (0,_helpers_exclude__WEBPACK_IMPORTED_MODULE_1__.excludeClassName)(props);
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Floating__WEBPACK_IMPORTED_MODULE_2__.Floating, {
- content: content,
- style: style,
- animation: animation,
- placement: placement,
- arrow: arrow,
- trigger: trigger,
- theme: theme,
- ...theirProps,
- children: children
- });
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/components/index.js":
-/*!*****************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/components/index.js ***!
- \*****************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Accordion": () => (/* reexport safe */ _Accordion__WEBPACK_IMPORTED_MODULE_0__.Accordion),
-/* harmony export */ "Alert": () => (/* reexport safe */ _Alert__WEBPACK_IMPORTED_MODULE_1__.Alert),
-/* harmony export */ "Avatar": () => (/* reexport safe */ _Avatar__WEBPACK_IMPORTED_MODULE_2__.Avatar),
-/* harmony export */ "Badge": () => (/* reexport safe */ _Badge__WEBPACK_IMPORTED_MODULE_3__.Badge),
-/* harmony export */ "Breadcrumb": () => (/* reexport safe */ _Breadcrumb__WEBPACK_IMPORTED_MODULE_4__.Breadcrumb),
-/* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_5__.Button),
-/* harmony export */ "Card": () => (/* reexport safe */ _Card__WEBPACK_IMPORTED_MODULE_6__.Card),
-/* harmony export */ "Carousel": () => (/* reexport safe */ _Carousel__WEBPACK_IMPORTED_MODULE_7__.Carousel),
-/* harmony export */ "Checkbox": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.Checkbox),
-/* harmony export */ "DarkThemeToggle": () => (/* reexport safe */ _DarkThemeToggle__WEBPACK_IMPORTED_MODULE_8__.DarkThemeToggle),
-/* harmony export */ "Dropdown": () => (/* reexport safe */ _Dropdown__WEBPACK_IMPORTED_MODULE_9__.Dropdown),
-/* harmony export */ "FileInput": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.FileInput),
-/* harmony export */ "Flowbite": () => (/* reexport safe */ _Flowbite__WEBPACK_IMPORTED_MODULE_10__.Flowbite),
-/* harmony export */ "Footer": () => (/* reexport safe */ _Footer__WEBPACK_IMPORTED_MODULE_11__.Footer),
-/* harmony export */ "FooterComponent": () => (/* reexport safe */ _Footer__WEBPACK_IMPORTED_MODULE_11__.FooterComponent),
-/* harmony export */ "Label": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.Label),
-/* harmony export */ "ListGroup": () => (/* reexport safe */ _ListGroup__WEBPACK_IMPORTED_MODULE_13__.ListGroup),
-/* harmony export */ "Modal": () => (/* reexport safe */ _Modal__WEBPACK_IMPORTED_MODULE_14__.Modal),
-/* harmony export */ "Navbar": () => (/* reexport safe */ _Navbar__WEBPACK_IMPORTED_MODULE_15__.Navbar),
-/* harmony export */ "Pagination": () => (/* reexport safe */ _Pagination__WEBPACK_IMPORTED_MODULE_16__.Pagination),
-/* harmony export */ "Progress": () => (/* reexport safe */ _Progress__WEBPACK_IMPORTED_MODULE_17__.Progress),
-/* harmony export */ "Radio": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.Radio),
-/* harmony export */ "Rating": () => (/* reexport safe */ _Rating__WEBPACK_IMPORTED_MODULE_18__.Rating),
-/* harmony export */ "Select": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.Select),
-/* harmony export */ "Sidebar": () => (/* reexport safe */ _Sidebar__WEBPACK_IMPORTED_MODULE_19__.Sidebar),
-/* harmony export */ "Spinner": () => (/* reexport safe */ _Spinner__WEBPACK_IMPORTED_MODULE_20__.Spinner),
-/* harmony export */ "Table": () => (/* reexport safe */ _Table__WEBPACK_IMPORTED_MODULE_22__.Table),
-/* harmony export */ "Tabs": () => (/* reexport safe */ _Tab__WEBPACK_IMPORTED_MODULE_21__.Tabs),
-/* harmony export */ "TabsComponent": () => (/* reexport safe */ _Tab__WEBPACK_IMPORTED_MODULE_21__.TabsComponent),
-/* harmony export */ "TextInput": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.TextInput),
-/* harmony export */ "Textarea": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.Textarea),
-/* harmony export */ "Timeline": () => (/* reexport safe */ _Timeline__WEBPACK_IMPORTED_MODULE_23__.Timeline),
-/* harmony export */ "Toast": () => (/* reexport safe */ _Toast__WEBPACK_IMPORTED_MODULE_24__.Toast),
-/* harmony export */ "ToggleSwitch": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_12__.ToggleSwitch),
-/* harmony export */ "Tooltip": () => (/* reexport safe */ _Tooltip__WEBPACK_IMPORTED_MODULE_25__.Tooltip)
-/* harmony export */ });
-/* harmony import */ var _Accordion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Accordion */ "./node_modules/flowbite-react/lib/esm/components/Accordion/index.js");
-/* harmony import */ var _Alert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Alert */ "./node_modules/flowbite-react/lib/esm/components/Alert/index.js");
-/* harmony import */ var _Avatar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Avatar */ "./node_modules/flowbite-react/lib/esm/components/Avatar/index.js");
-/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Badge */ "./node_modules/flowbite-react/lib/esm/components/Badge/index.js");
-/* harmony import */ var _Breadcrumb__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Breadcrumb */ "./node_modules/flowbite-react/lib/esm/components/Breadcrumb/index.js");
-/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Button */ "./node_modules/flowbite-react/lib/esm/components/Button/index.js");
-/* harmony import */ var _Card__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Card */ "./node_modules/flowbite-react/lib/esm/components/Card/index.js");
-/* harmony import */ var _Carousel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Carousel */ "./node_modules/flowbite-react/lib/esm/components/Carousel/index.js");
-/* harmony import */ var _DarkThemeToggle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DarkThemeToggle */ "./node_modules/flowbite-react/lib/esm/components/DarkThemeToggle/index.js");
-/* harmony import */ var _Dropdown__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Dropdown */ "./node_modules/flowbite-react/lib/esm/components/Dropdown/index.js");
-/* harmony import */ var _Flowbite__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Flowbite */ "./node_modules/flowbite-react/lib/esm/components/Flowbite/index.js");
-/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Footer */ "./node_modules/flowbite-react/lib/esm/components/Footer/index.js");
-/* harmony import */ var _FormControls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./FormControls */ "./node_modules/flowbite-react/lib/esm/components/FormControls/index.js");
-/* harmony import */ var _ListGroup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ListGroup */ "./node_modules/flowbite-react/lib/esm/components/ListGroup/index.js");
-/* harmony import */ var _Modal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Modal */ "./node_modules/flowbite-react/lib/esm/components/Modal/index.js");
-/* harmony import */ var _Navbar__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Navbar */ "./node_modules/flowbite-react/lib/esm/components/Navbar/index.js");
-/* harmony import */ var _Pagination__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Pagination */ "./node_modules/flowbite-react/lib/esm/components/Pagination/index.js");
-/* harmony import */ var _Progress__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Progress */ "./node_modules/flowbite-react/lib/esm/components/Progress/index.js");
-/* harmony import */ var _Rating__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Rating */ "./node_modules/flowbite-react/lib/esm/components/Rating/index.js");
-/* harmony import */ var _Sidebar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Sidebar */ "./node_modules/flowbite-react/lib/esm/components/Sidebar/index.js");
-/* harmony import */ var _Spinner__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Spinner */ "./node_modules/flowbite-react/lib/esm/components/Spinner/index.js");
-/* harmony import */ var _Tab__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Tab */ "./node_modules/flowbite-react/lib/esm/components/Tab/index.js");
-/* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Table */ "./node_modules/flowbite-react/lib/esm/components/Table/index.js");
-/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Timeline */ "./node_modules/flowbite-react/lib/esm/components/Timeline/index.js");
-/* harmony import */ var _Toast__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Toast */ "./node_modules/flowbite-react/lib/esm/components/Toast/index.js");
-/* harmony import */ var _Tooltip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./Tooltip */ "./node_modules/flowbite-react/lib/esm/components/Tooltip/index.js");
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/helpers/exclude.js":
-/*!****************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/helpers/exclude.js ***!
- \****************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
-/* harmony export */ "excludeClassName": () => (/* binding */ excludeClassName)
-/* harmony export */ });
-const excludeClassName = props => {
- return exclude({
- key: 'className',
- source: props
- });
-};
-
-const exclude = _ref => {
- let {
- key,
- source
- } = _ref;
- delete source[key];
- return source;
-};
-
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (exclude);
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/helpers/floating.js":
-/*!*****************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/helpers/floating.js ***!
- \*****************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "getArrowPlacement": () => (/* binding */ getArrowPlacement),
-/* harmony export */ "getMiddleware": () => (/* binding */ getMiddleware),
-/* harmony export */ "getPlacement": () => (/* binding */ getPlacement)
-/* harmony export */ });
-/* harmony import */ var _floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react-dom-interactions */ "./node_modules/@floating-ui/core/dist/floating-ui.core.browser.mjs");
-
-
-/**
- * @see https://floating-ui.com/docs/middleware
- */
-
-const getMiddleware = _ref => {
- let {
- arrowRef,
- placement
- } = _ref;
- const middleware = [];
- middleware.push((0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__.offset)(8));
- middleware.push(placement === 'auto' ? (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__.autoPlacement)() : (0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__.flip)());
- middleware.push((0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__.shift)({
- padding: 8
- }));
-
- if (arrowRef.current) {
- middleware.push((0,_floating_ui_react_dom_interactions__WEBPACK_IMPORTED_MODULE_0__.arrow)({
- element: arrowRef.current
- }));
- }
-
- return middleware;
-};
-const getPlacement = _ref2 => {
- let {
- placement
- } = _ref2;
- return placement === 'auto' ? undefined : placement;
-};
-const getArrowPlacement = _ref3 => {
- let {
- placement
- } = _ref3;
- return {
- top: 'bottom',
- right: 'left',
- bottom: 'top',
- left: 'right'
- }[placement.split('-')[0]];
-};
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/helpers/mergeDeep.js":
-/*!******************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/helpers/mergeDeep.js ***!
- \******************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "isObject": () => (/* binding */ isObject),
-/* harmony export */ "mergeDeep": () => (/* binding */ mergeDeep)
-/* harmony export */ });
-// source: https://stackoverflow.com/questions/27936772/how-to-deep-merge-instead-of-shallow-merge
-
-/**
- * Simple object check.
- * @param item
- * @returns {boolean}
- */
-function isObject(item) {
- return item && typeof item === 'object' && !Array.isArray(item);
-}
-/**
- * Deep merge two objects.
- * @param target
- * @param ...sources
- */
-
-function mergeDeep(target) {
- for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- sources[_key - 1] = arguments[_key];
- }
-
- if (!sources.length) return target;
- const source = sources.shift();
-
- if (isObject(target) && isObject(source)) {
- for (const key in source) {
- if (isObject(source[key])) {
- if (!target[key]) Object.assign(target, {
- [key]: {}
- });
- mergeDeep(target[key], source[key]);
- } else {
- Object.assign(target, {
- [key]: source[key]
- });
- }
- }
- }
-
- return mergeDeep(target, ...sources);
-}
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/helpers/range.js":
-/*!**************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/helpers/range.js ***!
- \**************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((start, end) => {
- if (start >= end) {
- return [];
- }
-
- return [...Array(end - start + 1).keys()].map(key => key + start);
-});
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/helpers/window-exists.js":
-/*!**********************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/helpers/window-exists.js ***!
- \**********************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => typeof window !== 'undefined');
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/index.js":
-/*!******************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/index.js ***!
- \******************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Accordion": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Accordion),
-/* harmony export */ "Alert": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Alert),
-/* harmony export */ "Avatar": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Avatar),
-/* harmony export */ "Badge": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Badge),
-/* harmony export */ "Breadcrumb": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Breadcrumb),
-/* harmony export */ "Button": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Button),
-/* harmony export */ "Card": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Card),
-/* harmony export */ "Carousel": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Carousel),
-/* harmony export */ "Checkbox": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Checkbox),
-/* harmony export */ "DarkThemeToggle": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.DarkThemeToggle),
-/* harmony export */ "Dropdown": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Dropdown),
-/* harmony export */ "FileInput": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.FileInput),
-/* harmony export */ "Flowbite": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Flowbite),
-/* harmony export */ "Footer": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Footer),
-/* harmony export */ "FooterComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.FooterComponent),
-/* harmony export */ "Label": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Label),
-/* harmony export */ "ListGroup": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.ListGroup),
-/* harmony export */ "Modal": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Modal),
-/* harmony export */ "Navbar": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Navbar),
-/* harmony export */ "Pagination": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Pagination),
-/* harmony export */ "Progress": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Progress),
-/* harmony export */ "Radio": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Radio),
-/* harmony export */ "Rating": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Rating),
-/* harmony export */ "Select": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Select),
-/* harmony export */ "Sidebar": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Sidebar),
-/* harmony export */ "Spinner": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Spinner),
-/* harmony export */ "Table": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Table),
-/* harmony export */ "Tabs": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Tabs),
-/* harmony export */ "TabsComponent": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.TabsComponent),
-/* harmony export */ "TextInput": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.TextInput),
-/* harmony export */ "Textarea": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Textarea),
-/* harmony export */ "Timeline": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Timeline),
-/* harmony export */ "Toast": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Toast),
-/* harmony export */ "ToggleSwitch": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.ToggleSwitch),
-/* harmony export */ "Tooltip": () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Tooltip)
-/* harmony export */ });
-/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components */ "./node_modules/flowbite-react/lib/esm/components/index.js");
-/* harmony import */ var _theme_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./theme/default */ "./node_modules/flowbite-react/lib/esm/theme/default.js");
-
-
-
-/***/ }),
-
-/***/ "./node_modules/flowbite-react/lib/esm/theme/default.js":
-/*!**************************************************************!*\
- !*** ./node_modules/flowbite-react/lib/esm/theme/default.js ***!
- \**************************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
-/* harmony export */ });
-const theme = {
- accordion: {
- base: 'divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700',
- content: {
- base: 'py-5 px-5 last:rounded-b-lg dark:bg-gray-900 first:rounded-t-lg'
- },
- flush: {
- off: 'rounded-lg border',
- on: 'border-b'
- },
- title: {
- arrow: {
- base: 'h-6 w-6 shrink-0',
- open: {
- off: '',
- on: 'rotate-180'
- }
- },
- base: 'flex w-full items-center justify-between first:rounded-t-lg last:rounded-b-lg py-5 px-5 text-left font-medium text-gray-500 dark:text-gray-400',
- flush: {
- off: 'hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-800 dark:focus:ring-gray-800',
- on: '!bg-transparent dark:!bg-transparent'
- },
- heading: '',
- open: {
- off: '',
- on: 'text-gray-900 bg-gray-100 dark:bg-gray-800 dark:text-white'
- }
- }
- },
- alert: {
- base: 'flex flex-col gap-2 p-4 text-sm',
- borderAccent: 'border-t-4',
- closeButton: {
- base: '-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2',
- color: {
- info: 'bg-blue-100 text-blue-500 hover:bg-blue-200 focus:ring-blue-400 dark:bg-blue-200 dark:text-blue-600 dark:hover:bg-blue-300',
- gray: 'bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-white',
- failure: 'bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300',
- success: 'bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300',
- warning: 'bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300'
- }
- },
- color: {
- info: 'text-blue-700 bg-blue-100 border-blue-500 dark:bg-blue-200 dark:text-blue-800',
- gray: 'text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-700 dark:text-gray-300',
- failure: 'text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800',
- success: 'text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800',
- warning: 'text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800'
- },
- icon: 'mr-3 inline h-5 w-5 flex-shrink-0',
- rounded: 'rounded-lg'
- },
- avatar: {
- base: 'flex items-center space-x-4',
- bordered: 'p-1 ring-2 ring-gray-300 dark:ring-gray-500',
- img: {
- off: 'rounded relative overflow-hidden bg-gray-100 dark:bg-gray-600',
- on: 'rounded'
- },
- rounded: '!rounded-full',
- size: {
- xs: 'w-6 h-6',
- sm: 'w-8 h-8',
- md: 'w-10 h-10',
- lg: 'w-20 h-20',
- xl: 'w-36 h-36'
- },
- stacked: 'ring-2 ring-gray-300 dark:ring-gray-500',
- status: {
- away: 'bg-yellow-400',
- base: 'absolute h-3.5 w-3.5 rounded-full border-2 border-white dark:border-gray-800',
- busy: 'bg-red-400',
- offline: 'bg-gray-400',
- online: 'bg-green-400'
- },
- statusPosition: {
- 'bottom-left': '-bottom-1 -left-1',
- 'bottom-center': '-botton-1 center',
- 'bottom-right': '-bottom-1 -right-1',
- 'top-left': '-top-1 -left-1',
- 'top-center': '-top-1 center',
- 'top-right': '-top-1 -right-1',
- 'center-right': 'center -right-1',
- center: 'center center',
- 'center-left': 'center -left-1'
- }
- },
- badge: {
- base: 'flex h-fit items-center gap-1 font-semibold',
- color: {
- info: 'bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800 group-hover:bg-blue-200 dark:group-hover:bg-blue-300',
- gray: 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600',
- failure: 'bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300',
- success: 'bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300',
- warning: 'bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300',
- indigo: 'bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300',
- purple: 'bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300',
- pink: 'bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300'
- },
- href: 'group',
- icon: {
- off: 'rounded px-2 py-0.5',
- on: 'rounded-full p-1.5',
- size: {
- xs: 'w-3 h-3',
- sm: 'w-3.5 h-3.5'
- }
- },
- size: {
- xs: 'p-1 text-xs',
- sm: 'p-1.5 text-sm'
- }
- },
- breadcrumb: {
- item: {
- base: 'group flex items-center',
- chevron: 'mx-1 h-6 w-6 text-gray-400 group-first:hidden md:mx-2',
- href: {
- off: 'flex items-center text-sm font-medium text-gray-500 dark:text-gray-400',
- on: 'flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white'
- },
- icon: 'mr-2 h-4 w-4'
- },
- list: 'flex items-center'
- },
- button: {
- base: 'group flex h-min w-fit items-center justify-center p-0.5 text-center font-medium focus:z-10',
- color: {
- dark: 'text-white bg-gray-800 border border-transparent hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 disabled:hover:bg-gray-800 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700 dark:disabled:hover:bg-gray-800',
- failure: 'text-white bg-red-700 border border-transparent hover:bg-red-800 focus:ring-4 focus:ring-red-300 disabled:hover:bg-red-800 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900 dark:disabled:hover:bg-red-600',
- gray: 'text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 disabled:hover:bg-white focus:ring-blue-700 focus:text-blue-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-2 dark:disabled:hover:bg-gray-800',
- info: 'text-white bg-blue-700 border border-transparent hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-blue-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 dark:disabled:hover:bg-blue-600',
- light: 'text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-white dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-700 dark:focus:ring-gray-700',
- purple: 'text-white bg-purple-700 border border-transparent hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 disabled:hover:bg-purple-700 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900 dark:disabled:hover:bg-purple-600',
- success: 'text-white bg-green-700 border border-transparent hover:bg-green-800 focus:ring-4 focus:ring-green-300 disabled:hover:bg-green-700 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800 dark:disabled:hover:bg-green-600',
- warning: 'text-white bg-yellow-400 border border-transparent hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 disabled:hover:bg-yellow-400 dark:focus:ring-yellow-900 dark:disabled:hover:bg-yellow-400'
- },
- disabled: 'cursor-not-allowed opacity-50',
- gradient: {
- cyan: 'text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800',
- failure: 'text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-red-300 dark:focus:ring-red-800',
- info: 'text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800 ',
- lime: 'text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:ring-lime-300 dark:focus:ring-lime-800',
- pink: 'text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-800',
- purple: 'text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-800',
- success: 'text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-green-300 dark:focus:ring-green-800',
- teal: 'text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-teal-300 dark:focus:ring-teal-800'
- },
- gradientDuoTone: {
- cyanToBlue: 'text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800',
- greenToBlue: 'text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:ring-green-200 dark:focus:ring-green-800',
- pinkToOrange: 'text-white bg-gradient-to-br from-pink-500 to-orange-400 hover:bg-gradient-to-bl focus:ring-4 focus:ring-pink-200 dark:focus:ring-pink-800',
- purpleToBlue: 'text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800',
- purpleToPink: 'text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:ring-purple-200 dark:focus:ring-purple-800',
- redToYellow: 'text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 hover:bg-gradient-to-bl focus:ring-4 focus:ring-red-100 dark:focus:ring-red-400',
- tealToLime: 'text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 hover:bg-gradient-to-l hover:from-teal-200 hover:to-lime-200 hover:!text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700'
- },
- inner: {
- base: 'flex items-center',
- position: {
- none: '',
- start: 'rounded-r-none',
- middle: '!rounded-none',
- end: 'rounded-l-none'
- }
- },
- label: 'ml-2 inline-flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs font-semibold text-blue-800',
- outline: {
- color: {
- gray: 'border border-gray-900 dark:border-white'
- },
- off: '',
- on: 'bg-white text-gray-900 transition-all duration-75 ease-in group-hover:bg-opacity-0 group-hover:text-inherit dark:bg-gray-900 dark:text-white',
- pill: {
- off: 'rounded-md',
- on: 'rounded-full'
- }
- },
- pill: {
- off: 'rounded-lg',
- on: 'rounded-full'
- },
- size: {
- xs: 'text-xs px-2 py-1',
- sm: 'text-sm px-3 py-1.5',
- md: 'text-sm px-4 py-2',
- lg: 'text-base px-5 py-2.5',
- xl: 'text-base px-6 py-3'
- }
- },
- buttonGroup: {
- base: 'inline-flex',
- position: {
- none: 'focus:!ring-2',
- start: 'rounded-r-none',
- middle: '!rounded-none border-l-0 pl-0',
- end: 'rounded-l-none border-l-0 pl-0'
- }
- },
- card: {
- base: 'flex rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800',
- children: 'flex h-full flex-col justify-center gap-4 p-6',
- horizontal: {
- off: 'flex-col',
- on: 'flex-col md:max-w-xl md:flex-row'
- },
- href: 'hover:bg-gray-100 dark:hover:bg-gray-700',
- img: {
- base: '',
- horizontal: {
- off: 'rounded-t-lg',
- on: 'h-96 w-full rounded-t-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg'
- }
- }
- },
- carousel: {
- base: 'relative h-full w-full',
- indicators: {
- active: {
- off: 'bg-white/50 hover:bg-white dark:bg-gray-800/50 dark:hover:bg-gray-800',
- on: 'bg-white dark:bg-gray-800'
- },
- base: 'h-3 w-3 rounded-full',
- wrapper: 'absolute bottom-5 left-1/2 flex -translate-x-1/2 space-x-3'
- },
- item: {
- base: 'absolute top-1/2 left-1/2 block w-full -translate-x-1/2 -translate-y-1/2',
- wrapper: 'w-full flex-shrink-0 transform cursor-grab snap-center'
- },
- control: {
- base: 'inline-flex h-8 w-8 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70 sm:h-10 sm:w-10',
- icon: 'h-5 w-5 text-white dark:text-gray-800 sm:h-6 sm:w-6'
- },
- leftControl: 'absolute top-0 left-0 flex h-full items-center justify-center px-4 focus:outline-none',
- rightControl: 'absolute top-0 right-0 flex h-full items-center justify-center px-4 focus:outline-none',
- scrollContainer: {
- base: 'flex h-full snap-mandatory overflow-y-hidden overflow-x-scroll scroll-smooth rounded-lg',
- snap: 'snap-x'
- }
- },
- darkThemeToggle: {
- base: 'rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700',
- icon: 'h-5 w-5'
- },
- dropdown: {
- floating: {
- target: 'w-fit',
- base: 'z-10 w-fit rounded divide-y divide-gray-100 shadow',
- animation: 'transition-opacity',
- hidden: 'invisible opacity-0',
- style: {
- dark: 'bg-gray-900 text-white dark:bg-gray-700',
- light: 'border border-gray-200 bg-white text-gray-900',
- auto: 'border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white'
- },
- header: 'block py-2 px-4 text-sm text-gray-700 dark:text-gray-200',
- content: 'py-1 text-sm text-gray-700 dark:text-gray-200',
- arrow: {
- base: 'absolute z-10 h-2 w-2 rotate-45',
- style: {
- dark: 'bg-gray-900 dark:bg-gray-700',
- light: 'bg-white',
- auto: 'bg-white dark:bg-gray-700'
- },
- placement: '-4px'
- },
- item: {
- base: 'flex items-center justify-start py-2 px-4 text-sm text-gray-700 cursor-pointer hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white',
- icon: 'mr-2 h-4 w-4'
- },
- divider: 'my-1 h-px bg-gray-100 dark:bg-gray-600'
- },
- arrowIcon: 'ml-2 h-4 w-4',
- inlineWrapper: 'flex items-center',
- content: 'py-1'
- },
- footer: {
- base: 'w-full rounded-lg bg-white shadow dark:bg-gray-800 md:flex md:items-center md:justify-between',
- container: 'w-full p-6',
- bgDark: 'bg-gray-800',
- groupLink: {
- base: 'flex flex-wrap text-sm text-gray-500 dark:text-white',
- link: {
- base: 'last:mr-0 md:mr-6',
- href: 'hover:underline'
- },
- col: 'flex-col space-y-4'
- },
- icon: {
- base: 'text-gray-500 dark:hover:text-white',
- size: 'h-5 w-5'
- },
- title: {
- base: 'mb-6 text-sm font-semibold uppercase text-gray-500 dark:text-white'
- },
- divider: {
- base: 'w-full my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8'
- },
- copyright: {
- base: 'text-sm text-gray-500 dark:text-gray-400 sm:text-center',
- href: 'ml-1 hover:underline',
- span: 'ml-1'
- },
- brand: {
- base: 'mb-4 flex items-center sm:mb-0',
- img: 'mr-3 h-8',
- span: 'self-center whitespace-nowrap text-2xl font-semibold text-gray-800 dark:text-white'
- }
- },
- formControls: {
- helperText: {
- base: 'mt-2 text-sm',
- colors: {
- gray: 'text-gray-500 dark:text-gray-400',
- info: 'text-blue-700 dark:text-blue-800',
- success: 'text-green-600 dark:text-green-500',
- failure: 'text-red-600 dark:text-red-500',
- warning: 'text-yellow-500 dark:text-yellow-600'
- }
- },
- label: {
- base: 'text-sm font-medium',
- colors: {
- default: 'text-gray-900 dark:text-gray-300',
- info: 'text-blue-500 dark:text-blue-600',
- failure: 'text-red-700 dark:text-red-500',
- warning: 'text-yellow-500 dark:text-yellow-600',
- success: 'text-green-700 dark:text-green-500'
- },
- disabled: 'opacity-50'
- },
- radio: {
- base: 'h-4 w-4 border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:focus:bg-blue-600 dark:focus:ring-blue-600'
- },
- checkbox: {
- base: 'h-4 w-4 rounded border border-gray-300 bg-gray-100 focus:ring-2 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:ring-offset-gray-800 dark:focus:ring-blue-600'
- },
- textInput: {
- base: 'flex',
- addon: 'inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400',
- field: {
- base: 'relative w-full',
- icon: {
- base: 'pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3',
- svg: 'h-5 w-5 text-gray-500 dark:text-gray-400'
- },
- input: {
- base: 'block w-full border disabled:cursor-not-allowed disabled:opacity-50',
- sizes: {
- sm: 'p-2 sm:text-xs',
- md: 'p-2.5 text-sm',
- lg: 'sm:text-md p-4'
- },
- colors: {
- gray: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- info: 'border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- failure: 'border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500',
- warning: 'border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500',
- success: 'border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500'
- },
- withIcon: {
- on: 'pl-10',
- off: ''
- },
- withAddon: {
- on: 'rounded-r-lg',
- off: 'rounded-lg'
- },
- withShadow: {
- on: 'shadow-sm dark:shadow-sm-light',
- off: ''
- }
- }
- }
- },
- fileInput: {
- base: 'flex',
- field: {
- base: 'relative w-full',
- input: {
- base: 'rounded-lg block w-full border disabled:cursor-not-allowed disabled:opacity-50',
- sizes: {
- sm: 'sm:text-xs',
- md: 'text-sm',
- lg: 'sm:text-md'
- },
- colors: {
- gray: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- info: 'border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- failure: 'border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500',
- warning: 'border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500',
- success: 'border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500'
- }
- }
- }
- },
- toggleSwitch: {
- base: 'group relative flex items-center rounded-lg focus:outline-none',
- active: {
- on: 'cursor-pointer',
- off: 'cursor-not-allowed opacity-50'
- },
- toggle: {
- base: 'toggle-bg h-6 w-11 rounded-full border group-focus:ring-4 group-focus:ring-blue-500/25',
- checked: {
- on: 'border-blue-700 bg-blue-700 after:translate-x-full after:border-white',
- off: 'border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700'
- }
- },
- label: 'ml-3 text-sm font-medium text-gray-900 dark:text-gray-300'
- },
- textarea: {
- base: 'block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50',
- colors: {
- gray: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- info: 'border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- failure: 'border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500',
- warning: 'border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500',
- success: 'border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500'
- },
- withShadow: {
- on: 'shadow-sm dark:shadow-sm-light',
- off: ''
- }
- },
- select: {
- base: 'flex',
- addon: 'inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400',
- field: {
- base: 'relative w-full',
- icon: {
- base: 'pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3',
- svg: 'h-5 w-5 text-gray-500 dark:text-gray-400'
- },
- select: {
- base: 'block w-full border disabled:cursor-not-allowed disabled:opacity-50',
- withIcon: {
- on: 'pl-10',
- off: ''
- },
- withAddon: {
- on: 'rounded-r-lg',
- off: 'rounded-lg'
- },
- withShadow: {
- on: 'shadow-sm dark:shadow-sm-light',
- off: ''
- },
- sizes: {
- sm: 'p-2 sm:text-xs',
- md: 'p-2.5 text-sm',
- lg: 'sm:text-md p-4'
- },
- colors: {
- gray: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- info: 'border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500',
- failure: 'border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500',
- warning: 'border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500',
- success: 'border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500'
- }
- }
- }
- }
- },
- listGroup: {
- base: 'list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white',
- item: {
- active: {
- off: 'hover:bg-gray-100 hover:text-blue-700 focus:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500',
- on: 'bg-blue-700 text-white dark:bg-gray-800'
- },
- base: 'flex w-full cursor-pointer border-b border-gray-200 py-2 px-4 first:rounded-t-lg last:rounded-b-lg last:border-b-0 dark:border-gray-600',
- href: {
- off: '',
- on: ''
- },
- icon: 'mr-2 h-4 w-4 fill-current'
- }
- },
- modal: {
- base: 'fixed top-0 right-0 left-0 z-50 h-modal overflow-y-auto overflow-x-hidden md:inset-0 md:h-full',
- show: {
- on: 'flex bg-gray-900 bg-opacity-50 dark:bg-opacity-80',
- off: 'hidden'
- },
- content: {
- base: 'relative h-full w-full p-4 md:h-auto',
- inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700'
- },
- body: {
- base: 'p-6',
- popup: 'pt-0'
- },
- header: {
- base: 'flex items-start justify-between rounded-t dark:border-gray-600 border-b p-5',
- popup: '!p-2 !border-b-0',
- title: 'text-xl font-medium text-gray-900 dark:text-white',
- close: {
- base: 'ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white',
- icon: 'h-5 w-5'
- }
- },
- footer: {
- base: 'flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600',
- popup: 'border-t'
- },
- sizes: {
- sm: 'max-w-sm',
- md: 'max-w-md',
- lg: 'max-w-lg',
- xl: 'max-w-xl',
- '2xl': 'max-w-2xl',
- '3xl': 'max-w-3xl',
- '4xl': 'max-w-4xl',
- '5xl': 'max-w-5xl',
- '6xl': 'max-w-6xl',
- '7xl': 'max-w-7xl'
- },
- positions: {
- 'top-left': 'items-start justify-start',
- 'top-center': 'items-start justify-center',
- 'top-right': 'items-start justify-end',
- 'center-left': 'items-center justify-start',
- center: 'items-center justify-center',
- 'center-right': 'items-center justify-end',
- 'bottom-right': 'items-end justify-end',
- 'bottom-center': 'items-end justify-center',
- 'bottom-left': 'items-end justify-start'
- }
- },
- navbar: {
- base: 'border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4',
- rounded: {
- on: 'rounded',
- off: ''
- },
- bordered: {
- on: 'border',
- off: ''
- },
- inner: {
- base: 'mx-auto flex flex-wrap items-center justify-between',
- fluid: {
- on: '',
- off: 'container'
- }
- },
- brand: 'flex items-center',
- collapse: {
- base: 'w-full md:block md:w-auto',
- list: 'mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium',
- hidden: {
- on: 'hidden',
- off: ''
- }
- },
- link: {
- base: 'block py-2 pr-4 pl-3 md:p-0',
- active: {
- on: 'bg-blue-700 text-white dark:text-white md:bg-transparent md:text-blue-700',
- off: 'border-b border-gray-100 text-gray-700 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white md:border-0 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:bg-transparent md:dark:hover:text-white'
- },
- disabled: {
- on: 'text-gray-400 hover:cursor-not-allowed dark:text-gray-600',
- off: ''
- }
- },
- toggle: {
- base: 'inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600 md:hidden',
- icon: 'h-6 w-6 shrink-0'
- }
- },
- rating: {
- base: 'flex items-center',
- star: {
- sizes: {
- sm: 'w-5 h-5',
- md: 'w-7 h-7',
- lg: 'w-10 h-10'
- },
- filled: 'text-yellow-400',
- empty: 'text-gray-300 dark:text-gray-500'
- },
- advanced: {
- base: 'flex items-center',
- label: 'text-sm font-medium text-blue-600 dark:text-blue-500',
- progress: {
- base: 'mx-4 h-5 w-2/4 rounded bg-gray-200 dark:bg-gray-700',
- fill: 'h-5 rounded bg-yellow-400',
- label: 'text-sm font-medium text-blue-600 dark:text-blue-500'
- }
- }
- },
- pagination: {
- base: '',
- layout: {
- table: {
- base: 'text-sm text-gray-700 dark:text-gray-400',
- span: 'font-semibold text-gray-900 dark:text-white'
- }
- },
- pages: {
- base: 'xs:mt-0 mt-2 inline-flex items-center -space-x-px',
- showIcon: 'inline-flex',
- previous: {
- base: 'ml-0 rounded-l-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white',
- icon: 'h-5 w-5'
- },
- next: {
- base: 'rounded-r-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white',
- icon: 'h-5 w-5'
- },
- selector: {
- base: 'w-12 border border-gray-300 bg-white py-2 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white',
- active: 'bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white'
- }
- }
- },
- sidebar: {
- base: 'h-full',
- inner: 'h-full overflow-y-auto overflow-x-hidden rounded bg-white py-4 px-3 dark:bg-gray-800',
- collapsed: {
- on: 'w-16',
- off: 'w-64'
- },
- collapse: {
- button: 'group flex w-full items-center rounded-lg p-2 text-base font-normal text-gray-900 transition duration-75 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700',
- icon: {
- base: 'h-6 w-6 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white',
- open: {
- off: '',
- on: 'text-gray-900'
- }
- },
- label: {
- base: 'ml-3 flex-1 whitespace-nowrap text-left',
- icon: 'h-6 w-6'
- },
- list: 'space-y-2 py-2'
- },
- cta: {
- base: 'mt-6 rounded-lg p-4',
- color: {
- blue: 'bg-blue-50 dark:bg-blue-900',
- dark: 'bg-dark-50 dark:bg-dark-900',
- failure: 'bg-red-50 dark:bg-red-900',
- gray: 'bg-alternative-50 dark:bg-alternative-900',
- green: 'bg-green-50 dark:bg-green-900',
- light: 'bg-light-50 dark:bg-light-900',
- red: 'bg-red-50 dark:bg-red-900',
- purple: 'bg-purple-50 dark:bg-purple-900',
- success: 'bg-green-50 dark:bg-green-900',
- yellow: 'bg-yellow-50 dark:bg-yellow-900',
- warning: 'bg-yellow-50 dark:bg-yellow-900'
- }
- },
- item: {
- base: 'flex items-center justify-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700',
- active: 'bg-gray-100 dark:bg-gray-700',
- collapsed: {
- insideCollapse: 'group w-full pl-8 transition duration-75',
- noIcon: 'font-bold'
- },
- content: {
- base: 'px-3 flex-1 whitespace-nowrap'
- },
- icon: {
- base: 'h-6 w-6 flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white',
- active: 'text-gray-700 dark:text-gray-100'
- }
- },
- items: '',
- itemGroup: 'mt-4 space-y-2 border-t border-gray-200 pt-4 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700',
- logo: {
- base: 'mb-5 flex items-center pl-2.5',
- collapsed: {
- on: 'hidden',
- off: 'self-center whitespace-nowrap text-xl font-semibold dark:text-white'
- },
- img: 'mr-3 h-6 sm:h-7'
- }
- },
- progress: {
- base: 'w-full overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700',
- label: 'mb-1 flex justify-between font-medium dark:text-white',
- bar: 'flex items-center justify-center rounded-full text-center font-medium leading-none text-blue-100',
- color: {
- dark: 'bg-gray-600 dark:bg-gray-300',
- blue: 'bg-blue-600',
- red: 'bg-red-600 dark:bg-red-500',
- green: 'bg-green-600 dark:bg-green-500',
- yellow: 'bg-yellow-400',
- indigo: 'bg-indigo-600 dark:bg-indigo-500',
- purple: 'bg-purple-600 dark:bg-purple-500'
- },
- size: {
- sm: 'h-1.5',
- md: 'h-2.5',
- lg: 'h-4',
- xl: 'h-6'
- }
- },
- spinner: {
- base: 'inline animate-spin text-gray-200',
- color: {
- failure: 'fill-red-600',
- gray: 'fill-gray-600',
- info: 'fill-blue-600',
- pink: 'fill-pink-600',
- purple: 'fill-purple-600',
- success: 'fill-green-500',
- warning: 'fill-yellow-400'
- },
- light: {
- off: {
- base: 'dark:text-gray-600',
- color: {
- failure: '',
- gray: 'dark:fill-gray-300',
- info: '',
- pink: '',
- purple: '',
- success: '',
- warning: ''
- }
- },
- on: {
- base: '',
- color: {
- failure: '',
- gray: '',
- info: '',
- pink: '',
- purple: '',
- success: '',
- warning: ''
- }
- }
- },
- size: {
- xs: 'w-3 h-3',
- sm: 'w-4 h-4',
- md: 'w-6 h-6',
- lg: 'w-8 h-8',
- xl: 'w-10 h-10'
- }
- },
- tab: {
- base: 'flex flex-col gap-2',
- tablist: {
- base: 'flex text-center',
- styles: {
- default: 'flex-wrap border-b border-gray-200 dark:border-gray-700',
- underline: 'flex-wrap -mb-px border-b border-gray-200 dark:border-gray-700',
- pills: 'flex-wrap font-medium text-sm text-gray-500 dark:text-gray-400',
- fullWidth: 'hidden text-sm font-medium rounded-lg divide-x divide-gray-200 shadow sm:flex dark:divide-gray-700 dark:text-gray-400'
- },
- tabitem: {
- base: 'flex items-center justify-center p-4 text-sm font-medium first:ml-0 disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500',
- styles: {
- default: {
- base: 'rounded-t-lg',
- active: {
- on: 'bg-gray-100 text-blue-600 dark:bg-gray-800 dark:text-blue-500',
- off: 'text-gray-500 hover:bg-gray-50 hover:text-gray-600 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300'
- }
- },
- underline: {
- base: 'rounded-t-lg',
- active: {
- on: 'text-blue-600 rounded-t-lg border-b-2 border-blue-600 active dark:text-blue-500 dark:border-blue-500',
- off: 'border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300'
- }
- },
- pills: {
- base: '',
- active: {
- on: 'rounded-lg bg-blue-600 text-white',
- off: 'rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white'
- }
- },
- fullWidth: {
- base: 'ml-2 first:ml-0 w-full first:rounded-l-lg last:rounded-r-lg',
- active: {
- on: 'inline-block p-4 w-full text-gray-900 bg-gray-100 focus:ring-4 focus:ring-blue-300 active focus:outline-none dark:bg-gray-700 dark:text-white',
- off: 'bg-white hover:text-gray-700 hover:bg-gray-50 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700'
- }
- }
- },
- icon: 'mr-2 h-5 w-5'
- }
- },
- tabpanel: 'p-4'
- },
- toast: {
- base: 'flex w-full max-w-xs items-center rounded-lg bg-white p-4 text-gray-500 shadow dark:bg-gray-800 dark:text-gray-400',
- closed: 'opacity-0 ease-out',
- removed: 'hidden',
- toggle: {
- base: '-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white',
- icon: 'h-5 w-5 shrink-0'
- }
- },
- tooltip: {
- target: 'w-fit',
- base: 'absolute inline-block rounded-lg py-2 px-3 text-sm font-medium shadow-sm',
- animation: 'transition-opacity',
- hidden: 'invisible opacity-0',
- style: {
- dark: 'bg-gray-900 text-white dark:bg-gray-700',
- light: 'border border-gray-200 bg-white text-gray-900',
- auto: 'border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white'
- },
- content: 'relative z-20',
- arrow: {
- base: 'absolute z-10 h-2 w-2 rotate-45',
- style: {
- dark: 'bg-gray-900 dark:bg-gray-700',
- light: 'bg-white',
- auto: 'bg-white dark:bg-gray-700'
- },
- placement: '-4px'
- }
- }
-};
-/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (theme);
-
-/***/ }),
-
-/***/ "./node_modules/history/index.js":
-/*!***************************************!*\
- !*** ./node_modules/history/index.js ***!
- \***************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "Action": () => (/* binding */ Action),
-/* harmony export */ "createBrowserHistory": () => (/* binding */ createBrowserHistory),
-/* harmony export */ "createHashHistory": () => (/* binding */ createHashHistory),
-/* harmony export */ "createMemoryHistory": () => (/* binding */ createMemoryHistory),
-/* harmony export */ "createPath": () => (/* binding */ createPath),
-/* harmony export */ "parsePath": () => (/* binding */ parsePath)
-/* harmony export */ });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
-
-/**
- * Actions represent the type of change to a location value.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action
- */
-
-var Action;
-
-(function (Action) {
- /**
- * A POP indicates a change to an arbitrary index in the history stack, such
- * as a back or forward navigation. It does not describe the direction of the
- * navigation, only that the current index changed.
- *
- * Note: This is the default action for newly created history objects.
- */
- Action["Pop"] = "POP";
- /**
- * A PUSH indicates a new entry being added to the history stack, such as when
- * a link is clicked and a new page loads. When this happens, all subsequent
- * entries in the stack are lost.
- */
-
- Action["Push"] = "PUSH";
- /**
- * A REPLACE indicates the entry at the current index in the history stack
- * being replaced by a new one.
- */
-
- Action["Replace"] = "REPLACE";
-})(Action || (Action = {}));
-
-var readOnly = true ? function (obj) {
- return Object.freeze(obj);
-} : 0;
-
-function warning(cond, message) {
- if (!cond) {
- // eslint-disable-next-line no-console
- if (typeof console !== 'undefined') console.warn(message);
-
- try {
- // Welcome to debugging history!
- //
- // This error is thrown as a convenience so you can more easily
- // find the source for a warning that appears in the console by
- // enabling "pause on exceptions" in your JavaScript debugger.
- throw new Error(message); // eslint-disable-next-line no-empty
- } catch (e) {}
- }
-}
-
-var BeforeUnloadEventType = 'beforeunload';
-var HashChangeEventType = 'hashchange';
-var PopStateEventType = 'popstate';
-/**
- * Browser history stores the location in regular URLs. This is the standard for
- * most web apps, but it requires some configuration on the server to ensure you
- * serve the same app at multiple URLs.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory
- */
-
-function createBrowserHistory(options) {
- if (options === void 0) {
- options = {};
- }
-
- var _options = options,
- _options$window = _options.window,
- window = _options$window === void 0 ? document.defaultView : _options$window;
- var globalHistory = window.history;
-
- function getIndexAndLocation() {
- var _window$location = window.location,
- pathname = _window$location.pathname,
- search = _window$location.search,
- hash = _window$location.hash;
- var state = globalHistory.state || {};
- return [state.idx, readOnly({
- pathname: pathname,
- search: search,
- hash: hash,
- state: state.usr || null,
- key: state.key || 'default'
- })];
- }
-
- var blockedPopTx = null;
-
- function handlePop() {
- if (blockedPopTx) {
- blockers.call(blockedPopTx);
- blockedPopTx = null;
- } else {
- var nextAction = Action.Pop;
-
- var _getIndexAndLocation = getIndexAndLocation(),
- nextIndex = _getIndexAndLocation[0],
- nextLocation = _getIndexAndLocation[1];
-
- if (blockers.length) {
- if (nextIndex != null) {
- var delta = index - nextIndex;
-
- if (delta) {
- // Revert the POP
- blockedPopTx = {
- action: nextAction,
- location: nextLocation,
- retry: function retry() {
- go(delta * -1);
- }
- };
- go(delta);
- }
- } else {
- // Trying to POP to a location with no index. We did not create
- // this location, so we can't effectively block the navigation.
- true ? warning(false, // TODO: Write up a doc that explains our blocking strategy in
- // detail and link to it here so people can understand better what
- // is going on and how to avoid it.
- "You are trying to block a POP navigation to a location that was not " + "created by the history library. The block will fail silently in " + "production, but in general you should do all navigation with the " + "history library (instead of using window.history.pushState directly) " + "to avoid this situation.") : 0;
- }
- } else {
- applyTx(nextAction);
- }
- }
- }
-
- window.addEventListener(PopStateEventType, handlePop);
- var action = Action.Pop;
-
- var _getIndexAndLocation2 = getIndexAndLocation(),
- index = _getIndexAndLocation2[0],
- location = _getIndexAndLocation2[1];
-
- var listeners = createEvents();
- var blockers = createEvents();
-
- if (index == null) {
- index = 0;
- globalHistory.replaceState((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, globalHistory.state, {
- idx: index
- }), '');
- }
-
- function createHref(to) {
- return typeof to === 'string' ? to : createPath(to);
- } // state defaults to `null` because `window.history.state` does
-
-
- function getNextLocation(to, state) {
- if (state === void 0) {
- state = null;
- }
-
- return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
- pathname: location.pathname,
- hash: '',
- search: ''
- }, typeof to === 'string' ? parsePath(to) : to, {
- state: state,
- key: createKey()
- }));
- }
-
- function getHistoryStateAndUrl(nextLocation, index) {
- return [{
- usr: nextLocation.state,
- key: nextLocation.key,
- idx: index
- }, createHref(nextLocation)];
- }
-
- function allowTx(action, location, retry) {
- return !blockers.length || (blockers.call({
- action: action,
- location: location,
- retry: retry
- }), false);
- }
-
- function applyTx(nextAction) {
- action = nextAction;
-
- var _getIndexAndLocation3 = getIndexAndLocation();
-
- index = _getIndexAndLocation3[0];
- location = _getIndexAndLocation3[1];
- listeners.call({
- action: action,
- location: location
- });
- }
-
- function push(to, state) {
- var nextAction = Action.Push;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- push(to, state);
- }
-
- if (allowTx(nextAction, nextLocation, retry)) {
- var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index + 1),
- historyState = _getHistoryStateAndUr[0],
- url = _getHistoryStateAndUr[1]; // TODO: Support forced reloading
- // try...catch because iOS limits us to 100 pushState calls :/
-
-
- try {
- globalHistory.pushState(historyState, '', url);
- } catch (error) {
- // They are going to lose state here, but there is no real
- // way to warn them about it since the page will refresh...
- window.location.assign(url);
- }
-
- applyTx(nextAction);
- }
- }
-
- function replace(to, state) {
- var nextAction = Action.Replace;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- replace(to, state);
- }
-
- if (allowTx(nextAction, nextLocation, retry)) {
- var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index),
- historyState = _getHistoryStateAndUr2[0],
- url = _getHistoryStateAndUr2[1]; // TODO: Support forced reloading
-
-
- globalHistory.replaceState(historyState, '', url);
- applyTx(nextAction);
- }
- }
-
- function go(delta) {
- globalHistory.go(delta);
- }
-
- var history = {
- get action() {
- return action;
- },
-
- get location() {
- return location;
- },
-
- createHref: createHref,
- push: push,
- replace: replace,
- go: go,
- back: function back() {
- go(-1);
- },
- forward: function forward() {
- go(1);
- },
- listen: function listen(listener) {
- return listeners.push(listener);
- },
- block: function block(blocker) {
- var unblock = blockers.push(blocker);
-
- if (blockers.length === 1) {
- window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
- }
-
- return function () {
- unblock(); // Remove the beforeunload listener so the document may
- // still be salvageable in the pagehide event.
- // See https://html.spec.whatwg.org/#unloading-documents
-
- if (!blockers.length) {
- window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
- }
- };
- }
- };
- return history;
-}
-/**
- * Hash history stores the location in window.location.hash. This makes it ideal
- * for situations where you don't want to send the location to the server for
- * some reason, either because you do cannot configure it or the URL space is
- * reserved for something else.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory
- */
-
-
-function createHashHistory(options) {
- if (options === void 0) {
- options = {};
- }
-
- var _options2 = options,
- _options2$window = _options2.window,
- window = _options2$window === void 0 ? document.defaultView : _options2$window;
- var globalHistory = window.history;
-
- function getIndexAndLocation() {
- var _parsePath = parsePath(window.location.hash.substr(1)),
- _parsePath$pathname = _parsePath.pathname,
- pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,
- _parsePath$search = _parsePath.search,
- search = _parsePath$search === void 0 ? '' : _parsePath$search,
- _parsePath$hash = _parsePath.hash,
- hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;
-
- var state = globalHistory.state || {};
- return [state.idx, readOnly({
- pathname: pathname,
- search: search,
- hash: hash,
- state: state.usr || null,
- key: state.key || 'default'
- })];
- }
-
- var blockedPopTx = null;
-
- function handlePop() {
- if (blockedPopTx) {
- blockers.call(blockedPopTx);
- blockedPopTx = null;
- } else {
- var nextAction = Action.Pop;
-
- var _getIndexAndLocation4 = getIndexAndLocation(),
- nextIndex = _getIndexAndLocation4[0],
- nextLocation = _getIndexAndLocation4[1];
-
- if (blockers.length) {
- if (nextIndex != null) {
- var delta = index - nextIndex;
-
- if (delta) {
- // Revert the POP
- blockedPopTx = {
- action: nextAction,
- location: nextLocation,
- retry: function retry() {
- go(delta * -1);
- }
- };
- go(delta);
- }
- } else {
- // Trying to POP to a location with no index. We did not create
- // this location, so we can't effectively block the navigation.
- true ? warning(false, // TODO: Write up a doc that explains our blocking strategy in
- // detail and link to it here so people can understand better
- // what is going on and how to avoid it.
- "You are trying to block a POP navigation to a location that was not " + "created by the history library. The block will fail silently in " + "production, but in general you should do all navigation with the " + "history library (instead of using window.history.pushState directly) " + "to avoid this situation.") : 0;
- }
- } else {
- applyTx(nextAction);
- }
- }
- }
-
- window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge
- // https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event
-
- window.addEventListener(HashChangeEventType, function () {
- var _getIndexAndLocation5 = getIndexAndLocation(),
- nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.
-
-
- if (createPath(nextLocation) !== createPath(location)) {
- handlePop();
- }
- });
- var action = Action.Pop;
-
- var _getIndexAndLocation6 = getIndexAndLocation(),
- index = _getIndexAndLocation6[0],
- location = _getIndexAndLocation6[1];
-
- var listeners = createEvents();
- var blockers = createEvents();
-
- if (index == null) {
- index = 0;
- globalHistory.replaceState((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, globalHistory.state, {
- idx: index
- }), '');
- }
-
- function getBaseHref() {
- var base = document.querySelector('base');
- var href = '';
-
- if (base && base.getAttribute('href')) {
- var url = window.location.href;
- var hashIndex = url.indexOf('#');
- href = hashIndex === -1 ? url : url.slice(0, hashIndex);
- }
-
- return href;
- }
-
- function createHref(to) {
- return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));
- }
-
- function getNextLocation(to, state) {
- if (state === void 0) {
- state = null;
- }
-
- return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
- pathname: location.pathname,
- hash: '',
- search: ''
- }, typeof to === 'string' ? parsePath(to) : to, {
- state: state,
- key: createKey()
- }));
- }
-
- function getHistoryStateAndUrl(nextLocation, index) {
- return [{
- usr: nextLocation.state,
- key: nextLocation.key,
- idx: index
- }, createHref(nextLocation)];
- }
-
- function allowTx(action, location, retry) {
- return !blockers.length || (blockers.call({
- action: action,
- location: location,
- retry: retry
- }), false);
- }
-
- function applyTx(nextAction) {
- action = nextAction;
-
- var _getIndexAndLocation7 = getIndexAndLocation();
-
- index = _getIndexAndLocation7[0];
- location = _getIndexAndLocation7[1];
- listeners.call({
- action: action,
- location: location
- });
- }
-
- function push(to, state) {
- var nextAction = Action.Push;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- push(to, state);
- }
-
- true ? warning(nextLocation.pathname.charAt(0) === '/', "Relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")") : 0;
-
- if (allowTx(nextAction, nextLocation, retry)) {
- var _getHistoryStateAndUr3 = getHistoryStateAndUrl(nextLocation, index + 1),
- historyState = _getHistoryStateAndUr3[0],
- url = _getHistoryStateAndUr3[1]; // TODO: Support forced reloading
- // try...catch because iOS limits us to 100 pushState calls :/
-
-
- try {
- globalHistory.pushState(historyState, '', url);
- } catch (error) {
- // They are going to lose state here, but there is no real
- // way to warn them about it since the page will refresh...
- window.location.assign(url);
- }
-
- applyTx(nextAction);
- }
- }
-
- function replace(to, state) {
- var nextAction = Action.Replace;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- replace(to, state);
- }
-
- true ? warning(nextLocation.pathname.charAt(0) === '/', "Relative pathnames are not supported in hash history.replace(" + JSON.stringify(to) + ")") : 0;
-
- if (allowTx(nextAction, nextLocation, retry)) {
- var _getHistoryStateAndUr4 = getHistoryStateAndUrl(nextLocation, index),
- historyState = _getHistoryStateAndUr4[0],
- url = _getHistoryStateAndUr4[1]; // TODO: Support forced reloading
-
-
- globalHistory.replaceState(historyState, '', url);
- applyTx(nextAction);
- }
- }
-
- function go(delta) {
- globalHistory.go(delta);
- }
-
- var history = {
- get action() {
- return action;
- },
-
- get location() {
- return location;
- },
-
- createHref: createHref,
- push: push,
- replace: replace,
- go: go,
- back: function back() {
- go(-1);
- },
- forward: function forward() {
- go(1);
- },
- listen: function listen(listener) {
- return listeners.push(listener);
- },
- block: function block(blocker) {
- var unblock = blockers.push(blocker);
-
- if (blockers.length === 1) {
- window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
- }
-
- return function () {
- unblock(); // Remove the beforeunload listener so the document may
- // still be salvageable in the pagehide event.
- // See https://html.spec.whatwg.org/#unloading-documents
-
- if (!blockers.length) {
- window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
- }
- };
- }
- };
- return history;
-}
-/**
- * Memory history stores the current location in memory. It is designed for use
- * in stateful non-browser environments like tests and React Native.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#creatememoryhistory
- */
-
-
-function createMemoryHistory(options) {
- if (options === void 0) {
- options = {};
- }
-
- var _options3 = options,
- _options3$initialEntr = _options3.initialEntries,
- initialEntries = _options3$initialEntr === void 0 ? ['/'] : _options3$initialEntr,
- initialIndex = _options3.initialIndex;
- var entries = initialEntries.map(function (entry) {
- var location = readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
- pathname: '/',
- search: '',
- hash: '',
- state: null,
- key: createKey()
- }, typeof entry === 'string' ? parsePath(entry) : entry));
- true ? warning(location.pathname.charAt(0) === '/', "Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: " + JSON.stringify(entry) + ")") : 0;
- return location;
- });
- var index = clamp(initialIndex == null ? entries.length - 1 : initialIndex, 0, entries.length - 1);
- var action = Action.Pop;
- var location = entries[index];
- var listeners = createEvents();
- var blockers = createEvents();
-
- function createHref(to) {
- return typeof to === 'string' ? to : createPath(to);
- }
-
- function getNextLocation(to, state) {
- if (state === void 0) {
- state = null;
- }
-
- return readOnly((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
- pathname: location.pathname,
- search: '',
- hash: ''
- }, typeof to === 'string' ? parsePath(to) : to, {
- state: state,
- key: createKey()
- }));
- }
-
- function allowTx(action, location, retry) {
- return !blockers.length || (blockers.call({
- action: action,
- location: location,
- retry: retry
- }), false);
- }
-
- function applyTx(nextAction, nextLocation) {
- action = nextAction;
- location = nextLocation;
- listeners.call({
- action: action,
- location: location
- });
- }
-
- function push(to, state) {
- var nextAction = Action.Push;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- push(to, state);
- }
-
- true ? warning(location.pathname.charAt(0) === '/', "Relative pathnames are not supported in memory history.push(" + JSON.stringify(to) + ")") : 0;
-
- if (allowTx(nextAction, nextLocation, retry)) {
- index += 1;
- entries.splice(index, entries.length, nextLocation);
- applyTx(nextAction, nextLocation);
- }
- }
-
- function replace(to, state) {
- var nextAction = Action.Replace;
- var nextLocation = getNextLocation(to, state);
-
- function retry() {
- replace(to, state);
- }
-
- true ? warning(location.pathname.charAt(0) === '/', "Relative pathnames are not supported in memory history.replace(" + JSON.stringify(to) + ")") : 0;
-
- if (allowTx(nextAction, nextLocation, retry)) {
- entries[index] = nextLocation;
- applyTx(nextAction, nextLocation);
- }
- }
-
- function go(delta) {
- var nextIndex = clamp(index + delta, 0, entries.length - 1);
- var nextAction = Action.Pop;
- var nextLocation = entries[nextIndex];
-
- function retry() {
- go(delta);
- }
-
- if (allowTx(nextAction, nextLocation, retry)) {
- index = nextIndex;
- applyTx(nextAction, nextLocation);
- }
- }
-
- var history = {
- get index() {
- return index;
- },
-
- get action() {
- return action;
- },
-
- get location() {
- return location;
- },
-
- createHref: createHref,
- push: push,
- replace: replace,
- go: go,
- back: function back() {
- go(-1);
- },
- forward: function forward() {
- go(1);
- },
- listen: function listen(listener) {
- return listeners.push(listener);
- },
- block: function block(blocker) {
- return blockers.push(blocker);
- }
- };
- return history;
-} ////////////////////////////////////////////////////////////////////////////////
-// UTILS
-////////////////////////////////////////////////////////////////////////////////
-
-
-function clamp(n, lowerBound, upperBound) {
- return Math.min(Math.max(n, lowerBound), upperBound);
-}
-
-function promptBeforeUnload(event) {
- // Cancel the event.
- event.preventDefault(); // Chrome (and legacy IE) requires returnValue to be set.
-
- event.returnValue = '';
-}
-
-function createEvents() {
- var handlers = [];
- return {
- get length() {
- return handlers.length;
- },
-
- push: function push(fn) {
- handlers.push(fn);
- return function () {
- handlers = handlers.filter(function (handler) {
- return handler !== fn;
- });
- };
- },
- call: function call(arg) {
- handlers.forEach(function (fn) {
- return fn && fn(arg);
- });
- }
- };
-}
-
-function createKey() {
- return Math.random().toString(36).substr(2, 8);
-}
-/**
- * Creates a string URL path from the given pathname, search, and hash components.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath
- */
-
-
-function createPath(_ref) {
- var _ref$pathname = _ref.pathname,
- pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,
- _ref$search = _ref.search,
- search = _ref$search === void 0 ? '' : _ref$search,
- _ref$hash = _ref.hash,
- hash = _ref$hash === void 0 ? '' : _ref$hash;
- if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;
- if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;
- return pathname;
-}
-/**
- * Parses a string URL path into its separate pathname, search, and hash components.
- *
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath
- */
-
-
-function parsePath(path) {
- var parsedPath = {};
-
- if (path) {
- var hashIndex = path.indexOf('#');
-
- if (hashIndex >= 0) {
- parsedPath.hash = path.substr(hashIndex);
- path = path.substr(0, hashIndex);
- }
-
- var searchIndex = path.indexOf('?');
-
- if (searchIndex >= 0) {
- parsedPath.search = path.substr(searchIndex);
- path = path.substr(0, searchIndex);
- }
-
- if (path) {
- parsedPath.pathname = path;
- }
- }
-
- return parsedPath;
-}
-
-
-
-/***/ }),
-
-/***/ "./node_modules/html-entities/lib/index.js":
-/*!*************************************************!*\
- !*** ./node_modules/html-entities/lib/index.js ***!
- \*************************************************/
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var __assign = this && this.__assign || function () {
- __assign = Object.assign || function (t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
- s = arguments[i];
-
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
- }
-
- return t;
- };
-
- return __assign.apply(this, arguments);
-};
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-
-var named_references_1 = __webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js");
-
-var numeric_unicode_map_1 = __webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js");
-
-var surrogate_pairs_1 = __webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js");
-
-var allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), {
- all: named_references_1.namedReferences.html5
-});
-
-var encodeRegExps = {
- specialChars: /[<>'"&]/g,
- nonAscii: /(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,
- nonAsciiPrintable: /(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,
- extensive: /(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g
-};
-var defaultEncodeOptions = {
- mode: 'specialChars',
- level: 'all',
- numeric: 'decimal'
-};
-/** Encodes all the necessary (specified by `level`) characters in the text */
-
-function encode(text, _a) {
- var _b = _a === void 0 ? defaultEncodeOptions : _a,
- _c = _b.mode,
- mode = _c === void 0 ? 'specialChars' : _c,
- _d = _b.numeric,
- numeric = _d === void 0 ? 'decimal' : _d,
- _e = _b.level,
- level = _e === void 0 ? 'all' : _e;
-
- if (!text) {
- return '';
- }
-
- var encodeRegExp = encodeRegExps[mode];
- var references = allNamedReferences[level].characters;
- var isHex = numeric === 'hexadecimal';
- encodeRegExp.lastIndex = 0;
-
- var _b = encodeRegExp.exec(text);
-
- var _c;
-
- if (_b) {
- _c = '';
- var _d = 0;
-
- do {
- if (_d !== _b.index) {
- _c += text.substring(_d, _b.index);
- }
-
- var _e = _b[0];
- var result_1 = references[_e];
-
- if (!result_1) {
- var code_1 = _e.length > 1 ? surrogate_pairs_1.getCodePoint(_e, 0) : _e.charCodeAt(0);
- result_1 = (isHex ? '' + code_1.toString(16) : '' + code_1) + ';';
- }
-
- _c += result_1;
- _d = _b.index + _e.length;
- } while (_b = encodeRegExp.exec(text));
-
- if (_d !== text.length) {
- _c += text.substring(_d);
- }
- } else {
- _c = text;
- }
-
- return _c;
-}
-
-exports.encode = encode;
-var defaultDecodeOptions = {
- scope: 'body',
- level: 'all'
-};
-var strict = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g;
-var attribute = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g;
-var baseDecodeRegExps = {
- xml: {
- strict: strict,
- attribute: attribute,
- body: named_references_1.bodyRegExps.xml
- },
- html4: {
- strict: strict,
- attribute: attribute,
- body: named_references_1.bodyRegExps.html4
- },
- html5: {
- strict: strict,
- attribute: attribute,
- body: named_references_1.bodyRegExps.html5
- }
-};
-
-var decodeRegExps = __assign(__assign({}, baseDecodeRegExps), {
- all: baseDecodeRegExps.html5
-});
-
-var fromCharCode = String.fromCharCode;
-var outOfBoundsChar = fromCharCode(65533);
-var defaultDecodeEntityOptions = {
- level: 'all'
-};
-/** Decodes a single entity */
-
-function decodeEntity(entity, _a) {
- var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level,
- level = _b === void 0 ? 'all' : _b;
-
- if (!entity) {
- return '';
- }
-
- var _b = entity;
- var decodeEntityLastChar_1 = entity[entity.length - 1];
-
- if (false) {} else if (false) {} else {
- var decodeResultByReference_1 = allNamedReferences[level].entities[entity];
-
- if (decodeResultByReference_1) {
- _b = decodeResultByReference_1;
- } else if (entity[0] === '&' && entity[1] === '#') {
- var decodeSecondChar_1 = entity[2];
- var decodeCode_1 = decodeSecondChar_1 == 'x' || decodeSecondChar_1 == 'X' ? parseInt(entity.substr(3), 16) : parseInt(entity.substr(2));
- _b = decodeCode_1 >= 0x10ffff ? outOfBoundsChar : decodeCode_1 > 65535 ? surrogate_pairs_1.fromCodePoint(decodeCode_1) : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_1] || decodeCode_1);
- }
- }
-
- return _b;
-}
-
-exports.decodeEntity = decodeEntity;
-/** Decodes all entities in the text */
-
-function decode(text, _a) {
- var decodeSecondChar_1 = _a === void 0 ? defaultDecodeOptions : _a,
- decodeCode_1 = decodeSecondChar_1.level,
- level = decodeCode_1 === void 0 ? 'all' : decodeCode_1,
- _b = decodeSecondChar_1.scope,
- scope = _b === void 0 ? level === 'xml' ? 'strict' : 'body' : _b;
-
- if (!text) {
- return '';
- }
-
- var decodeRegExp = decodeRegExps[level][scope];
- var references = allNamedReferences[level].entities;
- var isAttribute = scope === 'attribute';
- var isStrict = scope === 'strict';
- decodeRegExp.lastIndex = 0;
- var replaceMatch_1 = decodeRegExp.exec(text);
- var replaceResult_1;
-
- if (replaceMatch_1) {
- replaceResult_1 = '';
- var replaceLastIndex_1 = 0;
-
- do {
- if (replaceLastIndex_1 !== replaceMatch_1.index) {
- replaceResult_1 += text.substring(replaceLastIndex_1, replaceMatch_1.index);
- }
-
- var replaceInput_1 = replaceMatch_1[0];
- var decodeResult_1 = replaceInput_1;
- var decodeEntityLastChar_2 = replaceInput_1[replaceInput_1.length - 1];
-
- if (isAttribute && decodeEntityLastChar_2 === '=') {
- decodeResult_1 = replaceInput_1;
- } else if (isStrict && decodeEntityLastChar_2 !== ';') {
- decodeResult_1 = replaceInput_1;
- } else {
- var decodeResultByReference_2 = references[replaceInput_1];
-
- if (decodeResultByReference_2) {
- decodeResult_1 = decodeResultByReference_2;
- } else if (replaceInput_1[0] === '&' && replaceInput_1[1] === '#') {
- var decodeSecondChar_2 = replaceInput_1[2];
- var decodeCode_2 = decodeSecondChar_2 == 'x' || decodeSecondChar_2 == 'X' ? parseInt(replaceInput_1.substr(3), 16) : parseInt(replaceInput_1.substr(2));
- decodeResult_1 = decodeCode_2 >= 0x10ffff ? outOfBoundsChar : decodeCode_2 > 65535 ? surrogate_pairs_1.fromCodePoint(decodeCode_2) : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_2] || decodeCode_2);
- }
- }
-
- replaceResult_1 += decodeResult_1;
- replaceLastIndex_1 = replaceMatch_1.index + replaceInput_1.length;
- } while (replaceMatch_1 = decodeRegExp.exec(text));
-
- if (replaceLastIndex_1 !== text.length) {
- replaceResult_1 += text.substring(replaceLastIndex_1);
- }
- } else {
- replaceResult_1 = text;
- }
-
- return replaceResult_1;
-}
-
-exports.decode = decode;
-
-/***/ }),
-
-/***/ "./node_modules/html-entities/lib/named-references.js":
-/*!************************************************************!*\
- !*** ./node_modules/html-entities/lib/named-references.js ***!
- \************************************************************/
-/***/ ((__unused_webpack_module, exports) => {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-exports.bodyRegExps = {
- xml: /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,
- html4: /&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,
- html5: /&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g
-};
-exports.namedReferences = {
- xml: {
- entities: {
- "<": "<",
- ">": ">",
- """: '"',
- "'": "'",
- "&": "&"
- },
- characters: {
- "<": "<",
- ">": ">",
- '"': """,
- "'": "'",
- "&": "&"
- }
- },
- html4: {
- entities: {
- "'": "'",
- " ": " ",
- " ": " ",
- "¡": "¡",
- "¡": "¡",
- "¢": "¢",
- "¢": "¢",
- "£": "£",
- "£": "£",
- "¤": "¤",
- "¤": "¤",
- "¥": "¥",
- "¥": "¥",
- "¦": "¦",
- "¦": "¦",
- "§": "§",
- "§": "§",
- "¨": "¨",
- "¨": "¨",
- "©": "©",
- "©": "©",
- "ª": "ª",
- "ª": "ª",
- "«": "«",
- "«": "«",
- "¬": "¬",
- "¬": "¬",
- "­": "",
- "": "",
- "®": "®",
- "®": "®",
- "¯": "¯",
- "¯": "¯",
- "°": "°",
- "°": "°",
- "±": "±",
- "±": "±",
- "²": "²",
- "²": "²",
- "³": "³",
- "³": "³",
- "´": "´",
- "´": "´",
- "µ": "µ",
- "µ": "µ",
- "¶": "¶",
- "¶": "¶",
- "·": "·",
- "·": "·",
- "¸": "¸",
- "¸": "¸",
- "¹": "¹",
- "¹": "¹",
- "º": "º",
- "º": "º",
- "»": "»",
- "»": "»",
- "¼": "¼",
- "¼": "¼",
- "½": "½",
- "½": "½",
- "¾": "¾",
- "¾": "¾",
- "¿": "¿",
- "¿": "¿",
- "À": "À",
- "À": "À",
- "Á": "Á",
- "Á": "Á",
- "Â": "Â",
- "Â": "Â",
- "Ã": "Ã",
- "Ã": "Ã",
- "Ä": "Ä",
- "Ä": "Ä",
- "Å": "Å",
- "Å": "Å",
- "Æ": "Æ",
- "Æ": "Æ",
- "Ç": "Ç",
- "Ç": "Ç",
- "È": "È",
- "È": "È",
- "É": "É",
- "É": "É",
- "Ê": "Ê",
- "Ê": "Ê",
- "Ë": "Ë",
- "Ë": "Ë",
- "Ì": "Ì",
- "Ì": "Ì",
- "Í": "Í",
- "Í": "Í",
- "Î": "Î",
- "Î": "Î",
- "Ï": "Ï",
- "Ï": "Ï",
- "Ð": "Ð",
- "Ð": "Ð",
- "Ñ": "Ñ",
- "Ñ": "Ñ",
- "Ò": "Ò",
- "Ò": "Ò",
- "Ó": "Ó",
- "Ó": "Ó",
- "Ô": "Ô",
- "Ô": "Ô",
- "Õ": "Õ",
- "Õ": "Õ",
- "Ö": "Ö",
- "Ö": "Ö",
- "×": "×",
- "×": "×",
- "Ø": "Ø",
- "Ø": "Ø",
- "Ù": "Ù",
- "Ù": "Ù",
- "Ú": "Ú",
- "Ú": "Ú",
- "Û": "Û",
- "Û": "Û",
- "Ü": "Ü",
- "Ü": "Ü",
- "Ý": "Ý",
- "Ý": "Ý",
- "Þ": "Þ",
- "Þ": "Þ",
- "ß": "ß",
- "ß": "ß",
- "à": "à",
- "à": "à",
- "á": "á",
- "á": "á",
- "â": "â",
- "â": "â",
- "ã": "ã",
- "ã": "ã",
- "ä": "ä",
- "ä": "ä",
- "å": "å",
- "å": "å",
- "æ": "æ",
- "æ": "æ",
- "ç": "ç",
- "ç": "ç",
- "è": "è",
- "è": "è",
- "é": "é",
- "é": "é",
- "ê": "ê",
- "ê": "ê",
- "ë": "ë",
- "ë": "ë",
- "ì": "ì",
- "ì": "ì",
- "í": "í",
- "í": "í",
- "î": "î",
- "î": "î",
- "ï": "ï",
- "ï": "ï",
- "ð": "ð",
- "ð": "ð",
- "ñ": "ñ",
- "ñ": "ñ",
- "ò": "ò",
- "ò": "ò",
- "ó": "ó",
- "ó": "ó",
- "ô": "ô",
- "ô": "ô",
- "õ": "õ",
- "õ": "õ",
- "ö": "ö",
- "ö": "ö",
- "÷": "÷",
- "÷": "÷",
- "ø": "ø",
- "ø": "ø",
- "ù": "ù",
- "ù": "ù",
- "ú": "ú",
- "ú": "ú",
- "û": "û",
- "û": "û",
- "ü": "ü",
- "ü": "ü",
- "ý": "ý",
- "ý": "ý",
- "þ": "þ",
- "þ": "þ",
- "ÿ": "ÿ",
- "ÿ": "ÿ",
- """: '"',
- """: '"',
- "&": "&",
- "&": "&",
- "<": "<",
- "<": "<",
- ">": ">",
- ">": ">",
- "Œ": "Œ",
- "œ": "œ",
- "Š": "Š",
- "š": "š",
- "Ÿ": "Ÿ",
- "ˆ": "ˆ",
- "˜": "˜",
- " ": " ",
- " ": " ",
- " ": " ",
- "": "",
- "": "",
- "": "",
- "": "",
- "–": "–",
- "—": "—",
- "‘": "‘",
- "’": "’",
- "‚": "‚",
- "“": "“",
- "”": "”",
- "„": "„",
- "†": "†",
- "‡": "‡",
- "‰": "‰",
- "‹": "‹",
- "›": "›",
- "€": "€",
- "ƒ": "ƒ",
- "Α": "Α",
- "Β": "Β",
- "Γ": "Γ",
- "Δ": "Δ",
- "Ε": "Ε",
- "Ζ": "Ζ",
- "Η": "Η",
- "Θ": "Θ",
- "Ι": "Ι",
- "Κ": "Κ",
- "Λ": "Λ",
- "Μ": "Μ",
- "Ν": "Ν",
- "Ξ": "Ξ",
- "Ο": "Ο",
- "Π": "Π",
- "Ρ": "Ρ",
- "Σ": "Σ",
- "Τ": "Τ",
- "Υ": "Υ",
- "Φ": "Φ",
- "Χ": "Χ",
- "Ψ": "Ψ",
- "Ω": "Ω",
- "α": "α",
- "β": "β",
- "γ": "γ",
- "δ": "δ",
- "ε": "ε",
- "ζ": "ζ",
- "η": "η",
- "θ": "θ",
- "ι": "ι",
- "κ": "κ",
- "λ": "λ",
- "μ": "μ",
- "ν": "ν",
- "ξ": "ξ",
- "ο": "ο",
- "π": "π",
- "ρ": "ρ",
- "ς": "ς",
- "σ": "σ",
- "τ": "τ",
- "υ": "υ",
- "φ": "φ",
- "χ": "χ",
- "ψ": "ψ",
- "ω": "ω",
- "ϑ": "ϑ",
- "ϒ": "ϒ",
- "ϖ": "ϖ",
- "•": "•",
- "…": "…",
- "′": "′",
- "″": "″",
- "‾": "‾",
- "⁄": "⁄",
- "℘": "℘",
- "ℑ": "ℑ",
- "ℜ": "ℜ",
- "™": "™",
- "ℵ": "ℵ",
- "←": "←",
- "↑": "↑",
- "→": "→",
- "↓": "↓",
- "↔": "↔",
- "↵": "↵",
- "⇐": "⇐",
- "⇑": "⇑",
- "⇒": "⇒",
- "⇓": "⇓",
- "⇔": "⇔",
- "∀": "∀",
- "∂": "∂",
- "∃": "∃",
- "∅": "∅",
- "∇": "∇",
- "∈": "∈",
- "∉": "∉",
- "∋": "∋",
- "∏": "∏",
- "∑": "∑",
- "−": "−",
- "∗": "∗",
- "√": "√",
- "∝": "∝",
- "∞": "∞",
- "∠": "∠",
- "∧": "∧",
- "∨": "∨",
- "∩": "∩",
- "∪": "∪",
- "∫": "∫",
- "∴": "∴",
- "∼": "∼",
- "≅": "≅",
- "≈": "≈",
- "≠": "≠",
- "≡": "≡",
- "≤": "≤",
- "≥": "≥",
- "⊂": "⊂",
- "⊃": "⊃",
- "⊄": "⊄",
- "⊆": "⊆",
- "⊇": "⊇",
- "⊕": "⊕",
- "⊗": "⊗",
- "⊥": "⊥",
- "⋅": "⋅",
- "⌈": "⌈",
- "⌉": "⌉",
- "⌊": "⌊",
- "⌋": "⌋",
- "〈": "〈",
- "〉": "〉",
- "◊": "◊",
- "♠": "♠",
- "♣": "♣",
- "♥": "♥",
- "♦": "♦"
- },
- characters: {
- "'": "'",
- " ": " ",
- "¡": "¡",
- "¢": "¢",
- "£": "£",
- "¤": "¤",
- "¥": "¥",
- "¦": "¦",
- "§": "§",
- "¨": "¨",
- "©": "©",
- "ª": "ª",
- "«": "«",
- "¬": "¬",
- "": "",
- "®": "®",
- "¯": "¯",
- "°": "°",
- "±": "±",
- "²": "²",
- "³": "³",
- "´": "´",
- "µ": "µ",
- "¶": "¶",
- "·": "·",
- "¸": "¸",
- "¹": "¹",
- "º": "º",
- "»": "»",
- "¼": "¼",
- "½": "½",
- "¾": "¾",
- "¿": "¿",
- "À": "À",
- "Á": "Á",
- "Â": "Â",
- "Ã": "Ã",
- "Ä": "Ä",
- "Å": "Å",
- "Æ": "Æ",
- "Ç": "Ç",
- "È": "È",
- "É": "É",
- "Ê": "Ê",
- "Ë": "Ë",
- "Ì": "Ì",
- "Í": "Í",
- "Î": "Î",
- "Ï": "Ï",
- "Ð": "Ð",
- "Ñ": "Ñ",
- "Ò": "Ò",
- "Ó": "Ó",
- "Ô": "Ô",
- "Õ": "Õ",
- "Ö": "Ö",
- "×": "×",
- "Ø": "Ø",
- "Ù": "Ù",
- "Ú": "Ú",
- "Û": "Û",
- "Ü": "Ü",
- "Ý": "Ý",
- "Þ": "Þ",
- "ß": "ß",
- "à": "à",
- "á": "á",
- "â": "â",
- "ã": "ã",
- "ä": "ä",
- "å": "å",
- "æ": "æ",
- "ç": "ç",
- "è": "è",
- "é": "é",
- "ê": "ê",
- "ë": "ë",
- "ì": "ì",
- "í": "í",
- "î": "î",
- "ï": "ï",
- "ð": "ð",
- "ñ": "ñ",
- "ò": "ò",
- "ó": "ó",
- "ô": "ô",
- "õ": "õ",
- "ö": "ö",
- "÷": "÷",
- "ø": "ø",
- "ù": "ù",
- "ú": "ú",
- "û": "û",
- "ü": "ü",
- "ý": "ý",
- "þ": "þ",
- "ÿ": "ÿ",
- '"': """,
- "&": "&",
- "<": "<",
- ">": ">",
- "Œ": "Œ",
- "œ": "œ",
- "Š": "Š",
- "š": "š",
- "Ÿ": "Ÿ",
- "ˆ": "ˆ",
- "˜": "˜",
- " ": " ",
- " ": " ",
- " ": " ",
- "": "",
- "": "",
- "": "",
- "": "",
- "–": "–",
- "—": "—",
- "‘": "‘",
- "’": "’",
- "‚": "‚",
- "“": "“",
- "”": "”",
- "„": "„",
- "†": "†",
- "‡": "‡",
- "‰": "‰",
- "‹": "‹",
- "›": "›",
- "€": "€",
- "ƒ": "ƒ",
- "Α": "Α",
- "Β": "Β",
- "Γ": "Γ",
- "Δ": "Δ",
- "Ε": "Ε",
- "Ζ": "Ζ",
- "Η": "Η",
- "Θ": "Θ",
- "Ι": "Ι",
- "Κ": "Κ",
- "Λ": "Λ",
- "Μ": "Μ",
- "Ν": "Ν",
- "Ξ": "Ξ",
- "Ο": "Ο",
- "Π": "Π",
- "Ρ": "Ρ",
- "Σ": "Σ",
- "Τ": "Τ",
- "Υ": "Υ",
- "Φ": "Φ",
- "Χ": "Χ",
- "Ψ": "Ψ",
- "Ω": "Ω",
- "α": "α",
- "β": "β",
- "γ": "γ",
- "δ": "δ",
- "ε": "ε",
- "ζ": "ζ",
- "η": "η",
- "θ": "θ",
- "ι": "ι",
- "κ": "κ",
- "λ": "λ",
- "μ": "μ",
- "ν": "ν",
- "ξ": "ξ",
- "ο": "ο",
- "π": "π",
- "ρ": "ρ",
- "ς": "ς",
- "σ": "σ",
- "τ": "τ",
- "υ": "υ",
- "φ": "φ",
- "χ": "χ",
- "ψ": "ψ",
- "ω": "ω",
- "ϑ": "ϑ",
- "ϒ": "ϒ",
- "ϖ": "ϖ",
- "•": "•",
- "…": "…",
- "′": "′",
- "″": "″",
- "‾": "‾",
- "⁄": "⁄",
- "℘": "℘",
- "ℑ": "ℑ",
- "ℜ": "ℜ",
- "™": "™",
- "ℵ": "ℵ",
- "←": "←",
- "↑": "↑",
- "→": "→",
- "↓": "↓",
- "↔": "↔",
- "↵": "↵",
- "⇐": "⇐",
- "⇑": "⇑",
- "⇒": "⇒",
- "⇓": "⇓",
- "⇔": "⇔",
- "∀": "∀",
- "∂": "∂",
- "∃": "∃",
- "∅": "∅",
- "∇": "∇",
- "∈": "∈",
- "∉": "∉",
- "∋": "∋",
- "∏": "∏",
- "∑": "∑",
- "−": "−",
- "∗": "∗",
- "√": "√",
- "∝": "∝",
- "∞": "∞",
- "∠": "∠",
- "∧": "∧",
- "∨": "∨",
- "∩": "∩",
- "∪": "∪",
- "∫": "∫",
- "∴": "∴",
- "∼": "∼",
- "≅": "≅",
- "≈": "≈",
- "≠": "≠",
- "≡": "≡",
- "≤": "≤",
- "≥": "≥",
- "⊂": "⊂",
- "⊃": "⊃",
- "⊄": "⊄",
- "⊆": "⊆",
- "⊇": "⊇",
- "⊕": "⊕",
- "⊗": "⊗",
- "⊥": "⊥",
- "⋅": "⋅",
- "⌈": "⌈",
- "⌉": "⌉",
- "⌊": "⌊",
- "⌋": "⌋",
- "〈": "〈",
- "〉": "〉",
- "◊": "◊",
- "♠": "♠",
- "♣": "♣",
- "♥": "♥",
- "♦": "♦"
- }
- },
- html5: {
- entities: {
- "Æ": "Æ",
- "Æ": "Æ",
- "&": "&",
- "&": "&",
- "Á": "Á",
- "Á": "Á",
- "Ă": "Ă",
- "Â": "Â",
- "Â": "Â",
- "А": "А",
- "𝔄": "𝔄",
- "À": "À",
- "À": "À",
- "Α": "Α",
- "Ā": "Ā",
- "⩓": "⩓",
- "Ą": "Ą",
- "𝔸": "𝔸",
- "⁡": "",
- "Å": "Å",
- "Å": "Å",
- "𝒜": "𝒜",
- "≔": "≔",
- "Ã": "Ã",
- "Ã": "Ã",
- "Ä": "Ä",
- "Ä": "Ä",
- "∖": "∖",
- "⫧": "⫧",
- "⌆": "⌆",
- "Б": "Б",
- "∵": "∵",
- "ℬ": "ℬ",
- "Β": "Β",
- "𝔅": "𝔅",
- "𝔹": "𝔹",
- "˘": "˘",
- "ℬ": "ℬ",
- "≎": "≎",
- "Ч": "Ч",
- "©": "©",
- "©": "©",
- "Ć": "Ć",
- "⋒": "⋒",
- "ⅅ": "ⅅ",
- "ℭ": "ℭ",
- "Č": "Č",
- "Ç": "Ç",
- "Ç": "Ç",
- "Ĉ": "Ĉ",
- "∰": "∰",
- "Ċ": "Ċ",
- "¸": "¸",
- "·": "·",
- "ℭ": "ℭ",
- "Χ": "Χ",
- "⊙": "⊙",
- "⊖": "⊖",
- "⊕": "⊕",
- "⊗": "⊗",
- "∲": "∲",
- "”": "”",
- "’": "’",
- "∷": "∷",
- "⩴": "⩴",
- "≡": "≡",
- "∯": "∯",
- "∮": "∮",
- "ℂ": "ℂ",
- "∐": "∐",
- "∳": "∳",
- "⨯": "⨯",
- "𝒞": "𝒞",
- "⋓": "⋓",
- "≍": "≍",
- "ⅅ": "ⅅ",
- "⤑": "⤑",
- "Ђ": "Ђ",
- "Ѕ": "Ѕ",
- "Џ": "Џ",
- "‡": "‡",
- "↡": "↡",
- "⫤": "⫤",
- "Ď": "Ď",
- "Д": "Д",
- "∇": "∇",
- "Δ": "Δ",
- "𝔇": "𝔇",
- "´": "´",
- "˙": "˙",
- "˝": "˝",
- "`": "`",
- "˜": "˜",
- "⋄": "⋄",
- "ⅆ": "ⅆ",
- "𝔻": "𝔻",
- "¨": "¨",
- "⃜": "⃜",
- "≐": "≐",
- "∯": "∯",
- "¨": "¨",
- "⇓": "⇓",
- "⇐": "⇐",
- "⇔": "⇔",
- "⫤": "⫤",
- "⟸": "⟸",
- "⟺": "⟺",
- "⟹": "⟹",
- "⇒": "⇒",
- "⊨": "⊨",
- "⇑": "⇑",
- "⇕": "⇕",
- "∥": "∥",
- "↓": "↓",
- "⤓": "⤓",
- "⇵": "⇵",
- "̑": "̑",
- "⥐": "⥐",
- "⥞": "⥞",
- "↽": "↽",
- "⥖": "⥖",
- "⥟": "⥟",
- "⇁": "⇁",
- "⥗": "⥗",
- "⊤": "⊤",
- "↧": "↧",
- "⇓": "⇓",
- "𝒟": "𝒟",
- "Đ": "Đ",
- "Ŋ": "Ŋ",
- "Ð": "Ð",
- "Ð": "Ð",
- "É": "É",
- "É": "É",
- "Ě": "Ě",
- "Ê": "Ê",
- "Ê": "Ê",
- "Э": "Э",
- "Ė": "Ė",
- "𝔈": "𝔈",
- "È": "È",
- "È": "È",
- "∈": "∈",
- "Ē": "Ē",
- "◻": "◻",
- "▫": "▫",
- "Ę": "Ę",
- "𝔼": "𝔼",
- "Ε": "Ε",
- "⩵": "⩵",
- "≂": "≂",
- "⇌": "⇌",
- "ℰ": "ℰ",
- "⩳": "⩳",
- "Η": "Η",
- "Ë": "Ë",
- "Ë": "Ë",
- "∃": "∃",
- "ⅇ": "ⅇ",
- "Ф": "Ф",
- "𝔉": "𝔉",
- "◼": "◼",
- "▪": "▪",
- "𝔽": "𝔽",
- "∀": "∀",
- "ℱ": "ℱ",
- "ℱ": "ℱ",
- "Ѓ": "Ѓ",
- ">": ">",
- ">": ">",
- "Γ": "Γ",
- "Ϝ": "Ϝ",
- "Ğ": "Ğ",
- "Ģ": "Ģ",
- "Ĝ": "Ĝ",
- "Г": "Г",
- "Ġ": "Ġ",
- "𝔊": "𝔊",
- "⋙": "⋙",
- "𝔾": "𝔾",
- "≥": "≥",
- "⋛": "⋛",
- "≧": "≧",
- "⪢": "⪢",
- "≷": "≷",
- "⩾": "⩾",
- "≳": "≳",
- "𝒢": "𝒢",
- "≫": "≫",
- "Ъ": "Ъ",
- "ˇ": "ˇ",
- "^": "^",
- "Ĥ": "Ĥ",
- "ℌ": "ℌ",
- "ℋ": "ℋ",
- "ℍ": "ℍ",
- "─": "─",
- "ℋ": "ℋ",
- "Ħ": "Ħ",
- "≎": "≎",
- "≏": "≏",
- "Е": "Е",
- "IJ": "IJ",
- "Ё": "Ё",
- "Í": "Í",
- "Í": "Í",
- "Î": "Î",
- "Î": "Î",
- "И": "И",
- "İ": "İ",
- "ℑ": "ℑ",
- "Ì": "Ì",
- "Ì": "Ì",
- "ℑ": "ℑ",
- "Ī": "Ī",
- "ⅈ": "ⅈ",
- "⇒": "⇒",
- "∬": "∬",
- "∫": "∫",
- "⋂": "⋂",
- "⁣": "",
- "⁢": "",
- "Į": "Į",
- "𝕀": "𝕀",
- "Ι": "Ι",
- "ℐ": "ℐ",
- "Ĩ": "Ĩ",
- "І": "І",
- "Ï": "Ï",
- "Ï": "Ï",
- "Ĵ": "Ĵ",
- "Й": "Й",
- "𝔍": "𝔍",
- "𝕁": "𝕁",
- "𝒥": "𝒥",
- "Ј": "Ј",
- "Є": "Є",
- "Х": "Х",
- "Ќ": "Ќ",
- "Κ": "Κ",
- "Ķ": "Ķ",
- "К": "К",
- "𝔎": "𝔎",
- "𝕂": "𝕂",
- "𝒦": "𝒦",
- "Љ": "Љ",
- "<": "<",
- "<": "<",
- "Ĺ": "Ĺ",
- "Λ": "Λ",
- "⟪": "⟪",
- "ℒ": "ℒ",
- "↞": "↞",
- "Ľ": "Ľ",
- "Ļ": "Ļ",
- "Л": "Л",
- "⟨": "⟨",
- "←": "←",
- "⇤": "⇤",
- "⇆": "⇆",
- "⌈": "⌈",
- "⟦": "⟦",
- "⥡": "⥡",
- "⇃": "⇃",
- "⥙": "⥙",
- "⌊": "⌊",
- "↔": "↔",
- "⥎": "⥎",
- "⊣": "⊣",
- "↤": "↤",
- "⥚": "⥚",
- "⊲": "⊲",
- "⧏": "⧏",
- "⊴": "⊴",
- "⥑": "⥑",
- "⥠": "⥠",
- "↿": "↿",
- "⥘": "⥘",
- "↼": "↼",
- "⥒": "⥒",
- "⇐": "⇐",
- "⇔": "⇔",
- "⋚": "⋚",
- "≦": "≦",
- "≶": "≶",
- "⪡": "⪡",
- "⩽": "⩽",
- "≲": "≲",
- "𝔏": "𝔏",
- "⋘": "⋘",
- "⇚": "⇚",
- "Ŀ": "Ŀ",
- "⟵": "⟵",
- "⟷": "⟷",
- "⟶": "⟶",
- "⟸": "⟸",
- "⟺": "⟺",
- "⟹": "⟹",
- "𝕃": "𝕃",
- "↙": "↙",
- "↘": "↘",
- "ℒ": "ℒ",
- "↰": "↰",
- "Ł": "Ł",
- "≪": "≪",
- "⤅": "⤅",
- "М": "М",
- " ": " ",
- "ℳ": "ℳ",
- "𝔐": "𝔐",
- "∓": "∓",
- "𝕄": "𝕄",
- "ℳ": "ℳ",
- "Μ": "Μ",
- "Њ": "Њ",
- "Ń": "Ń",
- "Ň": "Ň",
- "Ņ": "Ņ",
- "Н": "Н",
- "​": "",
- "​": "",
- "​": "",
- "​": "",
- "≫": "≫",
- "≪": "≪",
- "
": "\n",
- "𝔑": "𝔑",
- "⁠": "",
- " ": " ",
- "ℕ": "ℕ",
- "⫬": "⫬",
- "≢": "≢",
- "≭": "≭",
- "∦": "∦",
- "∉": "∉",
- "≠": "≠",
- "≂̸": "≂̸",
- "∄": "∄",
- "≯": "≯",
- "≱": "≱",
- "≧̸": "≧̸",
- "≫̸": "≫̸",
- "≹": "≹",
- "⩾̸": "⩾̸",
- "≵": "≵",
- "≎̸": "≎̸",
- "≏̸": "≏̸",
- "⋪": "⋪",
- "⧏̸": "⧏̸",
- "⋬": "⋬",
- "≮": "≮",
- "≰": "≰",
- "≸": "≸",
- "≪̸": "≪̸",
- "⩽̸": "⩽̸",
- "≴": "≴",
- "⪢̸": "⪢̸",
- "⪡̸": "⪡̸",
- "⊀": "⊀",
- "⪯̸": "⪯̸",
- "⋠": "⋠",
- "∌": "∌",
- "⋫": "⋫",
- "⧐̸": "⧐̸",
- "⋭": "⋭",
- "⊏̸": "⊏̸",
- "⋢": "⋢",
- "⊐̸": "⊐̸",
- "⋣": "⋣",
- "⊂⃒": "⊂⃒",
- "⊈": "⊈",
- "⊁": "⊁",
- "⪰̸": "⪰̸",
- "⋡": "⋡",
- "≿̸": "≿̸",
- "⊃⃒": "⊃⃒",
- "⊉": "⊉",
- "≁": "≁",
- "≄": "≄",
- "≇": "≇",
- "≉": "≉",
- "∤": "∤",
- "𝒩": "𝒩",
- "Ñ": "Ñ",
- "Ñ": "Ñ",
- "Ν": "Ν",
- "Œ": "Œ",
- "Ó": "Ó",
- "Ó": "Ó",
- "Ô": "Ô",
- "Ô": "Ô",
- "О": "О",
- "Ő": "Ő",
- "𝔒": "𝔒",
- "Ò": "Ò",
- "Ò": "Ò",
- "Ō": "Ō",
- "Ω": "Ω",
- "Ο": "Ο",
- "𝕆": "𝕆",
- "“": "“",
- "‘": "‘",
- "⩔": "⩔",
- "𝒪": "𝒪",
- "Ø": "Ø",
- "Ø": "Ø",
- "Õ": "Õ",
- "Õ": "Õ",
- "⨷": "⨷",
- "Ö": "Ö",
- "Ö": "Ö",
- "‾": "‾",
- "⏞": "⏞",
- "⎴": "⎴",
- "⏜": "⏜",
- "∂": "∂",
- "П": "П",
- "𝔓": "𝔓",
- "Φ": "Φ",
- "Π": "Π",
- "±": "±",
- "ℌ": "ℌ",
- "ℙ": "ℙ",
- "⪻": "⪻",
- "≺": "≺",
- "⪯": "⪯",
- "≼": "≼",
- "≾": "≾",
- "″": "″",
- "∏": "∏",
- "∷": "∷",
- "∝": "∝",
- "𝒫": "𝒫",
- "Ψ": "Ψ",
- """: '"',
- """: '"',
- "𝔔": "𝔔",
- "ℚ": "ℚ",
- "𝒬": "𝒬",
- "⤐": "⤐",
- "®": "®",
- "®": "®",
- "Ŕ": "Ŕ",
- "⟫": "⟫",
- "↠": "↠",
- "⤖": "⤖",
- "Ř": "Ř",
- "Ŗ": "Ŗ",
- "Р": "Р",
- "ℜ": "ℜ",
- "∋": "∋",
- "⇋": "⇋",
- "⥯": "⥯",
- "ℜ": "ℜ",
- "Ρ": "Ρ",
- "⟩": "⟩",
- "→": "→",
- "⇥": "⇥",
- "⇄": "⇄",
- "⌉": "⌉",
- "⟧": "⟧",
- "⥝": "⥝",
- "⇂": "⇂",
- "⥕": "⥕",
- "⌋": "⌋",
- "⊢": "⊢",
- "↦": "↦",
- "⥛": "⥛",
- "⊳": "⊳",
- "⧐": "⧐",
- "⊵": "⊵",
- "⥏": "⥏",
- "⥜": "⥜",
- "↾": "↾",
- "⥔": "⥔",
- "⇀": "⇀",
- "⥓": "⥓",
- "⇒": "⇒",
- "ℝ": "ℝ",
- "⥰": "⥰",
- "⇛": "⇛",
- "ℛ": "ℛ",
- "↱": "↱",
- "⧴": "⧴",
- "Щ": "Щ",
- "Ш": "Ш",
- "Ь": "Ь",
- "Ś": "Ś",
- "⪼": "⪼",
- "Š": "Š",
- "Ş": "Ş",
- "Ŝ": "Ŝ",
- "С": "С",
- "𝔖": "𝔖",
- "↓": "↓",
- "←": "←",
- "→": "→",
- "↑": "↑",
- "Σ": "Σ",
- "∘": "∘",
- "𝕊": "𝕊",
- "√": "√",
- "□": "□",
- "⊓": "⊓",
- "⊏": "⊏",
- "⊑": "⊑",
- "⊐": "⊐",
- "⊒": "⊒",
- "⊔": "⊔",
- "𝒮": "𝒮",
- "⋆": "⋆",
- "⋐": "⋐",
- "⋐": "⋐",
- "⊆": "⊆",
- "≻": "≻",
- "⪰": "⪰",
- "≽": "≽",
- "≿": "≿",
- "∋": "∋",
- "∑": "∑",
- "⋑": "⋑",
- "⊃": "⊃",
- "⊇": "⊇",
- "⋑": "⋑",
- "Þ": "Þ",
- "Þ": "Þ",
- "™": "™",
- "Ћ": "Ћ",
- "Ц": "Ц",
- "	": "\t",
- "Τ": "Τ",
- "Ť": "Ť",
- "Ţ": "Ţ",
- "Т": "Т",
- "𝔗": "𝔗",
- "∴": "∴",
- "Θ": "Θ",
- "  ": " ",
- " ": " ",
- "∼": "∼",
- "≃": "≃",
- "≅": "≅",
- "≈": "≈",
- "𝕋": "𝕋",
- "⃛": "⃛",
- "𝒯": "𝒯",
- "Ŧ": "Ŧ",
- "Ú": "Ú",
- "Ú": "Ú",
- "↟": "↟",
- "⥉": "⥉",
- "Ў": "Ў",
- "Ŭ": "Ŭ",
- "Û": "Û",
- "Û": "Û",
- "У": "У",
- "Ű": "Ű",
- "𝔘": "𝔘",
- "Ù": "Ù",
- "Ù": "Ù",
- "Ū": "Ū",
- "_": "_",
- "⏟": "⏟",
- "⎵": "⎵",
- "⏝": "⏝",
- "⋃": "⋃",
- "⊎": "⊎",
- "Ų": "Ų",
- "𝕌": "𝕌",
- "↑": "↑",
- "⤒": "⤒",
- "⇅": "⇅",
- "↕": "↕",
- "⥮": "⥮",
- "⊥": "⊥",
- "↥": "↥",
- "⇑": "⇑",
- "⇕": "⇕",
- "↖": "↖",
- "↗": "↗",
- "ϒ": "ϒ",
- "Υ": "Υ",
- "Ů": "Ů",
- "𝒰": "𝒰",
- "Ũ": "Ũ",
- "Ü": "Ü",
- "Ü": "Ü",
- "⊫": "⊫",
- "⫫": "⫫",
- "В": "В",
- "⊩": "⊩",
- "⫦": "⫦",
- "⋁": "⋁",
- "‖": "‖",
- "‖": "‖",
- "∣": "∣",
- "|": "|",
- "❘": "❘",
- "≀": "≀",
- " ": " ",
- "𝔙": "𝔙",
- "𝕍": "𝕍",
- "𝒱": "𝒱",
- "⊪": "⊪",
- "Ŵ": "Ŵ",
- "⋀": "⋀",
- "𝔚": "𝔚",
- "𝕎": "𝕎",
- "𝒲": "𝒲",
- "𝔛": "𝔛",
- "Ξ": "Ξ",
- "𝕏": "𝕏",
- "𝒳": "𝒳",
- "Я": "Я",
- "Ї": "Ї",
- "Ю": "Ю",
- "Ý": "Ý",
- "Ý": "Ý",
- "Ŷ": "Ŷ",
- "Ы": "Ы",
- "𝔜": "𝔜",
- "𝕐": "𝕐",
- "𝒴": "𝒴",
- "Ÿ": "Ÿ",
- "Ж": "Ж",
- "Ź": "Ź",
- "Ž": "Ž",
- "З": "З",
- "Ż": "Ż",
- "​": "",
- "Ζ": "Ζ",
- "ℨ": "ℨ",
- "ℤ": "ℤ",
- "𝒵": "𝒵",
- "á": "á",
- "á": "á",
- "ă": "ă",
- "∾": "∾",
- "∾̳": "∾̳",
- "∿": "∿",
- "â": "â",
- "â": "â",
- "´": "´",
- "´": "´",
- "а": "а",
- "æ": "æ",
- "æ": "æ",
- "⁡": "",
- "𝔞": "𝔞",
- "à": "à",
- "à": "à",
- "ℵ": "ℵ",
- "ℵ": "ℵ",
- "α": "α",
- "ā": "ā",
- "⨿": "⨿",
- "&": "&",
- "&": "&",
- "∧": "∧",
- "⩕": "⩕",
- "⩜": "⩜",
- "⩘": "⩘",
- "⩚": "⩚",
- "∠": "∠",
- "⦤": "⦤",
- "∠": "∠",
- "∡": "∡",
- "⦨": "⦨",
- "⦩": "⦩",
- "⦪": "⦪",
- "⦫": "⦫",
- "⦬": "⦬",
- "⦭": "⦭",
- "⦮": "⦮",
- "⦯": "⦯",
- "∟": "∟",
- "⊾": "⊾",
- "⦝": "⦝",
- "∢": "∢",
- "Å": "Å",
- "⍼": "⍼",
- "ą": "ą",
- "𝕒": "𝕒",
- "≈": "≈",
- "⩰": "⩰",
- "⩯": "⩯",
- "≊": "≊",
- "≋": "≋",
- "'": "'",
- "≈": "≈",
- "≊": "≊",
- "å": "å",
- "å": "å",
- "𝒶": "𝒶",
- "*": "*",
- "≈": "≈",
- "≍": "≍",
- "ã": "ã",
- "ã": "ã",
- "ä": "ä",
- "ä": "ä",
- "∳": "∳",
- "⨑": "⨑",
- "⫭": "⫭",
- "≌": "≌",
- "϶": "϶",
- "‵": "‵",
- "∽": "∽",
- "⋍": "⋍",
- "⊽": "⊽",
- "⌅": "⌅",
- "⌅": "⌅",
- "⎵": "⎵",
- "⎶": "⎶",
- "≌": "≌",
- "б": "б",
- "„": "„",
- "∵": "∵",
- "∵": "∵",
- "⦰": "⦰",
- "϶": "϶",
- "ℬ": "ℬ",
- "β": "β",
- "ℶ": "ℶ",
- "≬": "≬",
- "𝔟": "𝔟",
- "⋂": "⋂",
- "◯": "◯",
- "⋃": "⋃",
- "⨀": "⨀",
- "⨁": "⨁",
- "⨂": "⨂",
- "⨆": "⨆",
- "★": "★",
- "▽": "▽",
- "△": "△",
- "⨄": "⨄",
- "⋁": "⋁",
- "⋀": "⋀",
- "⤍": "⤍",
- "⧫": "⧫",
- "▪": "▪",
- "▴": "▴",
- "▾": "▾",
- "◂": "◂",
- "▸": "▸",
- "␣": "␣",
- "▒": "▒",
- "░": "░",
- "▓": "▓",
- "█": "█",
- "=⃥": "=⃥",
- "≡⃥": "≡⃥",
- "⌐": "⌐",
- "𝕓": "𝕓",
- "⊥": "⊥",
- "⊥": "⊥",
- "⋈": "⋈",
- "╗": "╗",
- "╔": "╔",
- "╖": "╖",
- "╓": "╓",
- "═": "═",
- "╦": "╦",
- "╩": "╩",
- "╤": "╤",
- "╧": "╧",
- "╝": "╝",
- "╚": "╚",
- "╜": "╜",
- "╙": "╙",
- "║": "║",
- "╬": "╬",
- "╣": "╣",
- "╠": "╠",
- "╫": "╫",
- "╢": "╢",
- "╟": "╟",
- "⧉": "⧉",
- "╕": "╕",
- "╒": "╒",
- "┐": "┐",
- "┌": "┌",
- "─": "─",
- "╥": "╥",
- "╨": "╨",
- "┬": "┬",
- "┴": "┴",
- "⊟": "⊟",
- "⊞": "⊞",
- "⊠": "⊠",
- "╛": "╛",
- "╘": "╘",
- "┘": "┘",
- "└": "└",
- "│": "│",
- "╪": "╪",
- "╡": "╡",
- "╞": "╞",
- "┼": "┼",
- "┤": "┤",
- "├": "├",
- "‵": "‵",
- "˘": "˘",
- "¦": "¦",
- "¦": "¦",
- "𝒷": "𝒷",
- "⁏": "⁏",
- "∽": "∽",
- "⋍": "⋍",
- "\": "\\",
- "⧅": "⧅",
- "⟈": "⟈",
- "•": "•",
- "•": "•",
- "≎": "≎",
- "⪮": "⪮",
- "≏": "≏",
- "≏": "≏",
- "ć": "ć",
- "∩": "∩",
- "⩄": "⩄",
- "⩉": "⩉",
- "⩋": "⩋",
- "⩇": "⩇",
- "⩀": "⩀",
- "∩︀": "∩︀",
- "⁁": "⁁",
- "ˇ": "ˇ",
- "⩍": "⩍",
- "č": "č",
- "ç": "ç",
- "ç": "ç",
- "ĉ": "ĉ",
- "⩌": "⩌",
- "⩐": "⩐",
- "ċ": "ċ",
- "¸": "¸",
- "¸": "¸",
- "⦲": "⦲",
- "¢": "¢",
- "¢": "¢",
- "·": "·",
- "𝔠": "𝔠",
- "ч": "ч",
- "✓": "✓",
- "✓": "✓",
- "χ": "χ",
- "○": "○",
- "⧃": "⧃",
- "ˆ": "ˆ",
- "≗": "≗",
- "↺": "↺",
- "↻": "↻",
- "®": "®",
- "Ⓢ": "Ⓢ",
- "⊛": "⊛",
- "⊚": "⊚",
- "⊝": "⊝",
- "≗": "≗",
- "⨐": "⨐",
- "⫯": "⫯",
- "⧂": "⧂",
- "♣": "♣",
- "♣": "♣",
- ":": ":",
- "≔": "≔",
- "≔": "≔",
- ",": ",",
- "@": "@",
- "∁": "∁",
- "∘": "∘",
- "∁": "∁",
- "ℂ": "ℂ",
- "≅": "≅",
- "⩭": "⩭",
- "∮": "∮",
- "𝕔": "𝕔",
- "∐": "∐",
- "©": "©",
- "©": "©",
- "℗": "℗",
- "↵": "↵",
- "✗": "✗",
- "𝒸": "𝒸",
- "⫏": "⫏",
- "⫑": "⫑",
- "⫐": "⫐",
- "⫒": "⫒",
- "⋯": "⋯",
- "⤸": "⤸",
- "⤵": "⤵",
- "⋞": "⋞",
- "⋟": "⋟",
- "↶": "↶",
- "⤽": "⤽",
- "∪": "∪",
- "⩈": "⩈",
- "⩆": "⩆",
- "⩊": "⩊",
- "⊍": "⊍",
- "⩅": "⩅",
- "∪︀": "∪︀",
- "↷": "↷",
- "⤼": "⤼",
- "⋞": "⋞",
- "⋟": "⋟",
- "⋎": "⋎",
- "⋏": "⋏",
- "¤": "¤",
- "¤": "¤",
- "↶": "↶",
- "↷": "↷",
- "⋎": "⋎",
- "⋏": "⋏",
- "∲": "∲",
- "∱": "∱",
- "⌭": "⌭",
- "⇓": "⇓",
- "⥥": "⥥",
- "†": "†",
- "ℸ": "ℸ",
- "↓": "↓",
- "‐": "‐",
- "⊣": "⊣",
- "⤏": "⤏",
- "˝": "˝",
- "ď": "ď",
- "д": "д",
- "ⅆ": "ⅆ",
- "‡": "‡",
- "⇊": "⇊",
- "⩷": "⩷",
- "°": "°",
- "°": "°",
- "δ": "δ",
- "⦱": "⦱",
- "⥿": "⥿",
- "𝔡": "𝔡",
- "⇃": "⇃",
- "⇂": "⇂",
- "⋄": "⋄",
- "⋄": "⋄",
- "♦": "♦",
- "♦": "♦",
- "¨": "¨",
- "ϝ": "ϝ",
- "⋲": "⋲",
- "÷": "÷",
- "÷": "÷",
- "÷": "÷",
- "⋇": "⋇",
- "⋇": "⋇",
- "ђ": "ђ",
- "⌞": "⌞",
- "⌍": "⌍",
- "$": "$",
- "𝕕": "𝕕",
- "˙": "˙",
- "≐": "≐",
- "≑": "≑",
- "∸": "∸",
- "∔": "∔",
- "⊡": "⊡",
- "⌆": "⌆",
- "↓": "↓",
- "⇊": "⇊",
- "⇃": "⇃",
- "⇂": "⇂",
- "⤐": "⤐",
- "⌟": "⌟",
- "⌌": "⌌",
- "𝒹": "𝒹",
- "ѕ": "ѕ",
- "⧶": "⧶",
- "đ": "đ",
- "⋱": "⋱",
- "▿": "▿",
- "▾": "▾",
- "⇵": "⇵",
- "⥯": "⥯",
- "⦦": "⦦",
- "џ": "џ",
- "⟿": "⟿",
- "⩷": "⩷",
- "≑": "≑",
- "é": "é",
- "é": "é",
- "⩮": "⩮",
- "ě": "ě",
- "≖": "≖",
- "ê": "ê",
- "ê": "ê",
- "≕": "≕",
- "э": "э",
- "ė": "ė",
- "ⅇ": "ⅇ",
- "≒": "≒",
- "𝔢": "𝔢",
- "⪚": "⪚",
- "è": "è",
- "è": "è",
- "⪖": "⪖",
- "⪘": "⪘",
- "⪙": "⪙",
- "⏧": "⏧",
- "ℓ": "ℓ",
- "⪕": "⪕",
- "⪗": "⪗",
- "ē": "ē",
- "∅": "∅",
- "∅": "∅",
- "∅": "∅",
- " ": " ",
- " ": " ",
- " ": " ",
- "ŋ": "ŋ",
- " ": " ",
- "ę": "ę",
- "𝕖": "𝕖",
- "⋕": "⋕",
- "⧣": "⧣",
- "⩱": "⩱",
- "ε": "ε",
- "ε": "ε",
- "ϵ": "ϵ",
- "≖": "≖",
- "≕": "≕",
- "≂": "≂",
- "⪖": "⪖",
- "⪕": "⪕",
- "=": "=",
- "≟": "≟",
- "≡": "≡",
- "⩸": "⩸",
- "⧥": "⧥",
- "≓": "≓",
- "⥱": "⥱",
- "ℯ": "ℯ",
- "≐": "≐",
- "≂": "≂",
- "η": "η",
- "ð": "ð",
- "ð": "ð",
- "ë": "ë",
- "ë": "ë",
- "€": "€",
- "!": "!",
- "∃": "∃",
- "ℰ": "ℰ",
- "ⅇ": "ⅇ",
- "≒": "≒",
- "ф": "ф",
- "♀": "♀",
- "ffi": "ffi",
- "ff": "ff",
- "ffl": "ffl",
- "𝔣": "𝔣",
- "fi": "fi",
- "fj": "fj",
- "♭": "♭",
- "fl": "fl",
- "▱": "▱",
- "ƒ": "ƒ",
- "𝕗": "𝕗",
- "∀": "∀",
- "⋔": "⋔",
- "⫙": "⫙",
- "⨍": "⨍",
- "½": "½",
- "½": "½",
- "⅓": "⅓",
- "¼": "¼",
- "¼": "¼",
- "⅕": "⅕",
- "⅙": "⅙",
- "⅛": "⅛",
- "⅔": "⅔",
- "⅖": "⅖",
- "¾": "¾",
- "¾": "¾",
- "⅗": "⅗",
- "⅜": "⅜",
- "⅘": "⅘",
- "⅚": "⅚",
- "⅝": "⅝",
- "⅞": "⅞",
- "⁄": "⁄",
- "⌢": "⌢",
- "𝒻": "𝒻",
- "≧": "≧",
- "⪌": "⪌",
- "ǵ": "ǵ",
- "γ": "γ",
- "ϝ": "ϝ",
- "⪆": "⪆",
- "ğ": "ğ",
- "ĝ": "ĝ",
- "г": "г",
- "ġ": "ġ",
- "≥": "≥",
- "⋛": "⋛",
- "≥": "≥",
- "≧": "≧",
- "⩾": "⩾",
- "⩾": "⩾",
- "⪩": "⪩",
- "⪀": "⪀",
- "⪂": "⪂",
- "⪄": "⪄",
- "⋛︀": "⋛︀",
- "⪔": "⪔",
- "𝔤": "𝔤",
- "≫": "≫",
- "⋙": "⋙",
- "ℷ": "ℷ",
- "ѓ": "ѓ",
- "≷": "≷",
- "⪒": "⪒",
- "⪥": "⪥",
- "⪤": "⪤",
- "≩": "≩",
- "⪊": "⪊",
- "⪊": "⪊",
- "⪈": "⪈",
- "⪈": "⪈",
- "≩": "≩",
- "⋧": "⋧",
- "𝕘": "𝕘",
- "`": "`",
- "ℊ": "ℊ",
- "≳": "≳",
- "⪎": "⪎",
- "⪐": "⪐",
- ">": ">",
- ">": ">",
- "⪧": "⪧",
- "⩺": "⩺",
- "⋗": "⋗",
- "⦕": "⦕",
- "⩼": "⩼",
- "⪆": "⪆",
- "⥸": "⥸",
- "⋗": "⋗",
- "⋛": "⋛",
- "⪌": "⪌",
- "≷": "≷",
- "≳": "≳",
- "≩︀": "≩︀",
- "≩︀": "≩︀",
- "⇔": "⇔",
- " ": " ",
- "½": "½",
- "ℋ": "ℋ",
- "ъ": "ъ",
- "↔": "↔",
- "⥈": "⥈",
- "↭": "↭",
- "ℏ": "ℏ",
- "ĥ": "ĥ",
- "♥": "♥",
- "♥": "♥",
- "…": "…",
- "⊹": "⊹",
- "𝔥": "𝔥",
- "⤥": "⤥",
- "⤦": "⤦",
- "⇿": "⇿",
- "∻": "∻",
- "↩": "↩",
- "↪": "↪",
- "𝕙": "𝕙",
- "―": "―",
- "𝒽": "𝒽",
- "ℏ": "ℏ",
- "ħ": "ħ",
- "⁃": "⁃",
- "‐": "‐",
- "í": "í",
- "í": "í",
- "⁣": "",
- "î": "î",
- "î": "î",
- "и": "и",
- "е": "е",
- "¡": "¡",
- "¡": "¡",
- "⇔": "⇔",
- "𝔦": "𝔦",
- "ì": "ì",
- "ì": "ì",
- "ⅈ": "ⅈ",
- "⨌": "⨌",
- "∭": "∭",
- "⧜": "⧜",
- "℩": "℩",
- "ij": "ij",
- "ī": "ī",
- "ℑ": "ℑ",
- "ℐ": "ℐ",
- "ℑ": "ℑ",
- "ı": "ı",
- "⊷": "⊷",
- "Ƶ": "Ƶ",
- "∈": "∈",
- "℅": "℅",
- "∞": "∞",
- "⧝": "⧝",
- "ı": "ı",
- "∫": "∫",
- "⊺": "⊺",
- "ℤ": "ℤ",
- "⊺": "⊺",
- "⨗": "⨗",
- "⨼": "⨼",
- "ё": "ё",
- "į": "į",
- "𝕚": "𝕚",
- "ι": "ι",
- "⨼": "⨼",
- "¿": "¿",
- "¿": "¿",
- "𝒾": "𝒾",
- "∈": "∈",
- "⋹": "⋹",
- "⋵": "⋵",
- "⋴": "⋴",
- "⋳": "⋳",
- "∈": "∈",
- "⁢": "",
- "ĩ": "ĩ",
- "і": "і",
- "ï": "ï",
- "ï": "ï",
- "ĵ": "ĵ",
- "й": "й",
- "𝔧": "𝔧",
- "ȷ": "ȷ",
- "𝕛": "𝕛",
- "𝒿": "𝒿",
- "ј": "ј",
- "є": "є",
- "κ": "κ",
- "ϰ": "ϰ",
- "ķ": "ķ",
- "к": "к",
- "𝔨": "𝔨",
- "ĸ": "ĸ",
- "х": "х",
- "ќ": "ќ",
- "𝕜": "𝕜",
- "𝓀": "𝓀",
- "⇚": "⇚",
- "⇐": "⇐",
- "⤛": "⤛",
- "⤎": "⤎",
- "≦": "≦",
- "⪋": "⪋",
- "⥢": "⥢",
- "ĺ": "ĺ",
- "⦴": "⦴",
- "ℒ": "ℒ",
- "λ": "λ",
- "〈": "⟨",
- "⦑": "⦑",
- "⟨": "⟨",
- "⪅": "⪅",
- "«": "«",
- "«": "«",
- "←": "←",
- "⇤": "⇤",
- "⤟": "⤟",
- "⤝": "⤝",
- "↩": "↩",
- "↫": "↫",
- "⤹": "⤹",
- "⥳": "⥳",
- "↢": "↢",
- "⪫": "⪫",
- "⤙": "⤙",
- "⪭": "⪭",
- "⪭︀": "⪭︀",
- "⤌": "⤌",
- "❲": "❲",
- "{": "{",
- "[": "[",
- "⦋": "⦋",
- "⦏": "⦏",
- "⦍": "⦍",
- "ľ": "ľ",
- "ļ": "ļ",
- "⌈": "⌈",
- "{": "{",
- "л": "л",
- "⤶": "⤶",
- "“": "“",
- "„": "„",
- "⥧": "⥧",
- "⥋": "⥋",
- "↲": "↲",
- "≤": "≤",
- "←": "←",
- "↢": "↢",
- "↽": "↽",
- "↼": "↼",
- "⇇": "⇇",
- "↔": "↔",
- "⇆": "⇆",
- "⇋": "⇋",
- "↭": "↭",
- "⋋": "⋋",
- "⋚": "⋚",
- "≤": "≤",
- "≦": "≦",
- "⩽": "⩽",
- "⩽": "⩽",
- "⪨": "⪨",
- "⩿": "⩿",
- "⪁": "⪁",
- "⪃": "⪃",
- "⋚︀": "⋚︀",
- "⪓": "⪓",
- "⪅": "⪅",
- "⋖": "⋖",
- "⋚": "⋚",
- "⪋": "⪋",
- "≶": "≶",
- "≲": "≲",
- "⥼": "⥼",
- "⌊": "⌊",
- "𝔩": "𝔩",
- "≶": "≶",
- "⪑": "⪑",
- "↽": "↽",
- "↼": "↼",
- "⥪": "⥪",
- "▄": "▄",
- "љ": "љ",
- "≪": "≪",
- "⇇": "⇇",
- "⌞": "⌞",
- "⥫": "⥫",
- "◺": "◺",
- "ŀ": "ŀ",
- "⎰": "⎰",
- "⎰": "⎰",
- "≨": "≨",
- "⪉": "⪉",
- "⪉": "⪉",
- "⪇": "⪇",
- "⪇": "⪇",
- "≨": "≨",
- "⋦": "⋦",
- "⟬": "⟬",
- "⇽": "⇽",
- "⟦": "⟦",
- "⟵": "⟵",
- "⟷": "⟷",
- "⟼": "⟼",
- "⟶": "⟶",
- "↫": "↫",
- "↬": "↬",
- "⦅": "⦅",
- "𝕝": "𝕝",
- "⨭": "⨭",
- "⨴": "⨴",
- "∗": "∗",
- "_": "_",
- "◊": "◊",
- "◊": "◊",
- "⧫": "⧫",
- "(": "(",
- "⦓": "⦓",
- "⇆": "⇆",
- "⌟": "⌟",
- "⇋": "⇋",
- "⥭": "⥭",
- "": "",
- "⊿": "⊿",
- "‹": "‹",
- "𝓁": "𝓁",
- "↰": "↰",
- "≲": "≲",
- "⪍": "⪍",
- "⪏": "⪏",
- "[": "[",
- "‘": "‘",
- "‚": "‚",
- "ł": "ł",
- "<": "<",
- "<": "<",
- "⪦": "⪦",
- "⩹": "⩹",
- "⋖": "⋖",
- "⋋": "⋋",
- "⋉": "⋉",
- "⥶": "⥶",
- "⩻": "⩻",
- "⦖": "⦖",
- "◃": "◃",
- "⊴": "⊴",
- "◂": "◂",
- "⥊": "⥊",
- "⥦": "⥦",
- "≨︀": "≨︀",
- "≨︀": "≨︀",
- "∺": "∺",
- "¯": "¯",
- "¯": "¯",
- "♂": "♂",
- "✠": "✠",
- "✠": "✠",
- "↦": "↦",
- "↦": "↦",
- "↧": "↧",
- "↤": "↤",
- "↥": "↥",
- "▮": "▮",
- "⨩": "⨩",
- "м": "м",
- "—": "—",
- "∡": "∡",
- "𝔪": "𝔪",
- "℧": "℧",
- "µ": "µ",
- "µ": "µ",
- "∣": "∣",
- "*": "*",
- "⫰": "⫰",
- "·": "·",
- "·": "·",
- "−": "−",
- "⊟": "⊟",
- "∸": "∸",
- "⨪": "⨪",
- "⫛": "⫛",
- "…": "…",
- "∓": "∓",
- "⊧": "⊧",
- "𝕞": "𝕞",
- "∓": "∓",
- "𝓂": "𝓂",
- "∾": "∾",
- "μ": "μ",
- "⊸": "⊸",
- "⊸": "⊸",
- "⋙̸": "⋙̸",
- "≫⃒": "≫⃒",
- "≫̸": "≫̸",
- "⇍": "⇍",
- "⇎": "⇎",
- "⋘̸": "⋘̸",
- "≪⃒": "≪⃒",
- "≪̸": "≪̸",
- "⇏": "⇏",
- "⊯": "⊯",
- "⊮": "⊮",
- "∇": "∇",
- "ń": "ń",
- "∠⃒": "∠⃒",
- "≉": "≉",
- "⩰̸": "⩰̸",
- "≋̸": "≋̸",
- "ʼn": "ʼn",
- "≉": "≉",
- "♮": "♮",
- "♮": "♮",
- "ℕ": "ℕ",
- " ": " ",
- " ": " ",
- "≎̸": "≎̸",
- "≏̸": "≏̸",
- "⩃": "⩃",
- "ň": "ň",
- "ņ": "ņ",
- "≇": "≇",
- "⩭̸": "⩭̸",
- "⩂": "⩂",
- "н": "н",
- "–": "–",
- "≠": "≠",
- "⇗": "⇗",
- "⤤": "⤤",
- "↗": "↗",
- "↗": "↗",
- "≐̸": "≐̸",
- "≢": "≢",
- "⤨": "⤨",
- "≂̸": "≂̸",
- "∄": "∄",
- "∄": "∄",
- "𝔫": "𝔫",
- "≧̸": "≧̸",
- "≱": "≱",
- "≱": "≱",
- "≧̸": "≧̸",
- "⩾̸": "⩾̸",
- "⩾̸": "⩾̸",
- "≵": "≵",
- "≯": "≯",
- "≯": "≯",
- "⇎": "⇎",
- "↮": "↮",
- "⫲": "⫲",
- "∋": "∋",
- "⋼": "⋼",
- "⋺": "⋺",
- "∋": "∋",
- "њ": "њ",
- "⇍": "⇍",
- "≦̸": "≦̸",
- "↚": "↚",
- "‥": "‥",
- "≰": "≰",
- "↚": "↚",
- "↮": "↮",
- "≰": "≰",
- "≦̸": "≦̸",
- "⩽̸": "⩽̸",
- "⩽̸": "⩽̸",
- "≮": "≮",
- "≴": "≴",
- "≮": "≮",
- "⋪": "⋪",
- "⋬": "⋬",
- "∤": "∤",
- "𝕟": "𝕟",
- "¬": "¬",
- "¬": "¬",
- "∉": "∉",
- "⋹̸": "⋹̸",
- "⋵̸": "⋵̸",
- "∉": "∉",
- "⋷": "⋷",
- "⋶": "⋶",
- "∌": "∌",
- "∌": "∌",
- "⋾": "⋾",
- "⋽": "⋽",
- "∦": "∦",
- "∦": "∦",
- "⫽⃥": "⫽⃥",
- "∂̸": "∂̸",
- "⨔": "⨔",
- "⊀": "⊀",
- "⋠": "⋠",
- "⪯̸": "⪯̸",
- "⊀": "⊀",
- "⪯̸": "⪯̸",
- "⇏": "⇏",
- "↛": "↛",
- "⤳̸": "⤳̸",
- "↝̸": "↝̸",
- "↛": "↛",
- "⋫": "⋫",
- "⋭": "⋭",
- "⊁": "⊁",
- "⋡": "⋡",
- "⪰̸": "⪰̸",
- "𝓃": "𝓃",
- "∤": "∤",
- "∦": "∦",
- "≁": "≁",
- "≄": "≄",
- "≄": "≄",
- "∤": "∤",
- "∦": "∦",
- "⋢": "⋢",
- "⋣": "⋣",
- "⊄": "⊄",
- "⫅̸": "⫅̸",
- "⊈": "⊈",
- "⊂⃒": "⊂⃒",
- "⊈": "⊈",
- "⫅̸": "⫅̸",
- "⊁": "⊁",
- "⪰̸": "⪰̸",
- "⊅": "⊅",
- "⫆̸": "⫆̸",
- "⊉": "⊉",
- "⊃⃒": "⊃⃒",
- "⊉": "⊉",
- "⫆̸": "⫆̸",
- "≹": "≹",
- "ñ": "ñ",
- "ñ": "ñ",
- "≸": "≸",
- "⋪": "⋪",
- "⋬": "⋬",
- "⋫": "⋫",
- "⋭": "⋭",
- "ν": "ν",
- "#": "#",
- "№": "№",
- " ": " ",
- "⊭": "⊭",
- "⤄": "⤄",
- "≍⃒": "≍⃒",
- "⊬": "⊬",
- "≥⃒": "≥⃒",
- ">⃒": ">⃒",
- "⧞": "⧞",
- "⤂": "⤂",
- "≤⃒": "≤⃒",
- "<⃒": "<⃒",
- "⊴⃒": "⊴⃒",
- "⤃": "⤃",
- "⊵⃒": "⊵⃒",
- "∼⃒": "∼⃒",
- "⇖": "⇖",
- "⤣": "⤣",
- "↖": "↖",
- "↖": "↖",
- "⤧": "⤧",
- "Ⓢ": "Ⓢ",
- "ó": "ó",
- "ó": "ó",
- "⊛": "⊛",
- "⊚": "⊚",
- "ô": "ô",
- "ô": "ô",
- "о": "о",
- "⊝": "⊝",
- "ő": "ő",
- "⨸": "⨸",
- "⊙": "⊙",
- "⦼": "⦼",
- "œ": "œ",
- "⦿": "⦿",
- "𝔬": "𝔬",
- "˛": "˛",
- "ò": "ò",
- "ò": "ò",
- "⧁": "⧁",
- "⦵": "⦵",
- "Ω": "Ω",
- "∮": "∮",
- "↺": "↺",
- "⦾": "⦾",
- "⦻": "⦻",
- "‾": "‾",
- "⧀": "⧀",
- "ō": "ō",
- "ω": "ω",
- "ο": "ο",
- "⦶": "⦶",
- "⊖": "⊖",
- "𝕠": "𝕠",
- "⦷": "⦷",
- "⦹": "⦹",
- "⊕": "⊕",
- "∨": "∨",
- "↻": "↻",
- "⩝": "⩝",
- "ℴ": "ℴ",
- "ℴ": "ℴ",
- "ª": "ª",
- "ª": "ª",
- "º": "º",
- "º": "º",
- "⊶": "⊶",
- "⩖": "⩖",
- "⩗": "⩗",
- "⩛": "⩛",
- "ℴ": "ℴ",
- "ø": "ø",
- "ø": "ø",
- "⊘": "⊘",
- "õ": "õ",
- "õ": "õ",
- "⊗": "⊗",
- "⨶": "⨶",
- "ö": "ö",
- "ö": "ö",
- "⌽": "⌽",
- "∥": "∥",
- "¶": "¶",
- "¶": "¶",
- "∥": "∥",
- "⫳": "⫳",
- "⫽": "⫽",
- "∂": "∂",
- "п": "п",
- "%": "%",
- ".": ".",
- "‰": "‰",
- "⊥": "⊥",
- "‱": "‱",
- "𝔭": "𝔭",
- "φ": "φ",
- "ϕ": "ϕ",
- "ℳ": "ℳ",
- "☎": "☎",
- "π": "π",
- "⋔": "⋔",
- "ϖ": "ϖ",
- "ℏ": "ℏ",
- "ℎ": "ℎ",
- "ℏ": "ℏ",
- "+": "+",
- "⨣": "⨣",
- "⊞": "⊞",
- "⨢": "⨢",
- "∔": "∔",
- "⨥": "⨥",
- "⩲": "⩲",
- "±": "±",
- "±": "±",
- "⨦": "⨦",
- "⨧": "⨧",
- "±": "±",
- "⨕": "⨕",
- "𝕡": "𝕡",
- "£": "£",
- "£": "£",
- "≺": "≺",
- "⪳": "⪳",
- "⪷": "⪷",
- "≼": "≼",
- "⪯": "⪯",
- "≺": "≺",
- "⪷": "⪷",
- "≼": "≼",
- "⪯": "⪯",
- "⪹": "⪹",
- "⪵": "⪵",
- "⋨": "⋨",
- "≾": "≾",
- "′": "′",
- "ℙ": "ℙ",
- "⪵": "⪵",
- "⪹": "⪹",
- "⋨": "⋨",
- "∏": "∏",
- "⌮": "⌮",
- "⌒": "⌒",
- "⌓": "⌓",
- "∝": "∝",
- "∝": "∝",
- "≾": "≾",
- "⊰": "⊰",
- "𝓅": "𝓅",
- "ψ": "ψ",
- " ": " ",
- "𝔮": "𝔮",
- "⨌": "⨌",
- "𝕢": "𝕢",
- "⁗": "⁗",
- "𝓆": "𝓆",
- "ℍ": "ℍ",
- "⨖": "⨖",
- "?": "?",
- "≟": "≟",
- """: '"',
- """: '"',
- "⇛": "⇛",
- "⇒": "⇒",
- "⤜": "⤜",
- "⤏": "⤏",
- "⥤": "⥤",
- "∽̱": "∽̱",
- "ŕ": "ŕ",
- "√": "√",
- "⦳": "⦳",
- "〉": "⟩",
- "⦒": "⦒",
- "⦥": "⦥",
- "⟩": "⟩",
- "»": "»",
- "»": "»",
- "→": "→",
- "⥵": "⥵",
- "⇥": "⇥",
- "⤠": "⤠",
- "⤳": "⤳",
- "⤞": "⤞",
- "↪": "↪",
- "↬": "↬",
- "⥅": "⥅",
- "⥴": "⥴",
- "↣": "↣",
- "↝": "↝",
- "⤚": "⤚",
- "∶": "∶",
- "ℚ": "ℚ",
- "⤍": "⤍",
- "❳": "❳",
- "}": "}",
- "]": "]",
- "⦌": "⦌",
- "⦎": "⦎",
- "⦐": "⦐",
- "ř": "ř",
- "ŗ": "ŗ",
- "⌉": "⌉",
- "}": "}",
- "р": "р",
- "⤷": "⤷",
- "⥩": "⥩",
- "”": "”",
- "”": "”",
- "↳": "↳",
- "ℜ": "ℜ",
- "ℛ": "ℛ",
- "ℜ": "ℜ",
- "ℝ": "ℝ",
- "▭": "▭",
- "®": "®",
- "®": "®",
- "⥽": "⥽",
- "⌋": "⌋",
- "𝔯": "𝔯",
- "⇁": "⇁",
- "⇀": "⇀",
- "⥬": "⥬",
- "ρ": "ρ",
- "ϱ": "ϱ",
- "→": "→",
- "↣": "↣",
- "⇁": "⇁",
- "⇀": "⇀",
- "⇄": "⇄",
- "⇌": "⇌",
- "⇉": "⇉",
- "↝": "↝",
- "⋌": "⋌",
- "˚": "˚",
- "≓": "≓",
- "⇄": "⇄",
- "⇌": "⇌",
- "": "",
- "⎱": "⎱",
- "⎱": "⎱",
- "⫮": "⫮",
- "⟭": "⟭",
- "⇾": "⇾",
- "⟧": "⟧",
- "⦆": "⦆",
- "𝕣": "𝕣",
- "⨮": "⨮",
- "⨵": "⨵",
- ")": ")",
- "⦔": "⦔",
- "⨒": "⨒",
- "⇉": "⇉",
- "›": "›",
- "𝓇": "𝓇",
- "↱": "↱",
- "]": "]",
- "’": "’",
- "’": "’",
- "⋌": "⋌",
- "⋊": "⋊",
- "▹": "▹",
- "⊵": "⊵",
- "▸": "▸",
- "⧎": "⧎",
- "⥨": "⥨",
- "℞": "℞",
- "ś": "ś",
- "‚": "‚",
- "≻": "≻",
- "⪴": "⪴",
- "⪸": "⪸",
- "š": "š",
- "≽": "≽",
- "⪰": "⪰",
- "ş": "ş",
- "ŝ": "ŝ",
- "⪶": "⪶",
- "⪺": "⪺",
- "⋩": "⋩",
- "⨓": "⨓",
- "≿": "≿",
- "с": "с",
- "⋅": "⋅",
- "⊡": "⊡",
- "⩦": "⩦",
- "⇘": "⇘",
- "⤥": "⤥",
- "↘": "↘",
- "↘": "↘",
- "§": "§",
- "§": "§",
- ";": ";",
- "⤩": "⤩",
- "∖": "∖",
- "∖": "∖",
- "✶": "✶",
- "𝔰": "𝔰",
- "⌢": "⌢",
- "♯": "♯",
- "щ": "щ",
- "ш": "ш",
- "∣": "∣",
- "∥": "∥",
- "­": "",
- "": "",
- "σ": "σ",
- "ς": "ς",
- "ς": "ς",
- "∼": "∼",
- "⩪": "⩪",
- "≃": "≃",
- "≃": "≃",
- "⪞": "⪞",
- "⪠": "⪠",
- "⪝": "⪝",
- "⪟": "⪟",
- "≆": "≆",
- "⨤": "⨤",
- "⥲": "⥲",
- "←": "←",
- "∖": "∖",
- "⨳": "⨳",
- "⧤": "⧤",
- "∣": "∣",
- "⌣": "⌣",
- "⪪": "⪪",
- "⪬": "⪬",
- "⪬︀": "⪬︀",
- "ь": "ь",
- "/": "/",
- "⧄": "⧄",
- "⌿": "⌿",
- "𝕤": "𝕤",
- "♠": "♠",
- "♠": "♠",
- "∥": "∥",
- "⊓": "⊓",
- "⊓︀": "⊓︀",
- "⊔": "⊔",
- "⊔︀": "⊔︀",
- "⊏": "⊏",
- "⊑": "⊑",
- "⊏": "⊏",
- "⊑": "⊑",
- "⊐": "⊐",
- "⊒": "⊒",
- "⊐": "⊐",
- "⊒": "⊒",
- "□": "□",
- "□": "□",
- "▪": "▪",
- "▪": "▪",
- "→": "→",
- "𝓈": "𝓈",
- "∖": "∖",
- "⌣": "⌣",
- "⋆": "⋆",
- "☆": "☆",
- "★": "★",
- "ϵ": "ϵ",
- "ϕ": "ϕ",
- "¯": "¯",
- "⊂": "⊂",
- "⫅": "⫅",
- "⪽": "⪽",
- "⊆": "⊆",
- "⫃": "⫃",
- "⫁": "⫁",
- "⫋": "⫋",
- "⊊": "⊊",
- "⪿": "⪿",
- "⥹": "⥹",
- "⊂": "⊂",
- "⊆": "⊆",
- "⫅": "⫅",
- "⊊": "⊊",
- "⫋": "⫋",
- "⫇": "⫇",
- "⫕": "⫕",
- "⫓": "⫓",
- "≻": "≻",
- "⪸": "⪸",
- "≽": "≽",
- "⪰": "⪰",
- "⪺": "⪺",
- "⪶": "⪶",
- "⋩": "⋩",
- "≿": "≿",
- "∑": "∑",
- "♪": "♪",
- "¹": "¹",
- "¹": "¹",
- "²": "²",
- "²": "²",
- "³": "³",
- "³": "³",
- "⊃": "⊃",
- "⫆": "⫆",
- "⪾": "⪾",
- "⫘": "⫘",
- "⊇": "⊇",
- "⫄": "⫄",
- "⟉": "⟉",
- "⫗": "⫗",
- "⥻": "⥻",
- "⫂": "⫂",
- "⫌": "⫌",
- "⊋": "⊋",
- "⫀": "⫀",
- "⊃": "⊃",
- "⊇": "⊇",
- "⫆": "⫆",
- "⊋": "⊋",
- "⫌": "⫌",
- "⫈": "⫈",
- "⫔": "⫔",
- "⫖": "⫖",
- "⇙": "⇙",
- "⤦": "⤦",
- "↙": "↙",
- "↙": "↙",
- "⤪": "⤪",
- "ß": "ß",
- "ß": "ß",
- "⌖": "⌖",
- "τ": "τ",
- "⎴": "⎴",
- "ť": "ť",
- "ţ": "ţ",
- "т": "т",
- "⃛": "⃛",
- "⌕": "⌕",
- "𝔱": "𝔱",
- "∴": "∴",
- "∴": "∴",
- "θ": "θ",
- "ϑ": "ϑ",
- "ϑ": "ϑ",
- "≈": "≈",
- "∼": "∼",
- " ": " ",
- "≈": "≈",
- "∼": "∼",
- "þ": "þ",
- "þ": "þ",
- "˜": "˜",
- "×": "×",
- "×": "×",
- "⊠": "⊠",
- "⨱": "⨱",
- "⨰": "⨰",
- "∭": "∭",
- "⤨": "⤨",
- "⊤": "⊤",
- "⌶": "⌶",
- "⫱": "⫱",
- "𝕥": "𝕥",
- "⫚": "⫚",
- "⤩": "⤩",
- "‴": "‴",
- "™": "™",
- "▵": "▵",
- "▿": "▿",
- "◃": "◃",
- "⊴": "⊴",
- "≜": "≜",
- "▹": "▹",
- "⊵": "⊵",
- "◬": "◬",
- "≜": "≜",
- "⨺": "⨺",
- "⨹": "⨹",
- "⧍": "⧍",
- "⨻": "⨻",
- "⏢": "⏢",
- "𝓉": "𝓉",
- "ц": "ц",
- "ћ": "ћ",
- "ŧ": "ŧ",
- "≬": "≬",
- "↞": "↞",
- "↠": "↠",
- "⇑": "⇑",
- "⥣": "⥣",
- "ú": "ú",
- "ú": "ú",
- "↑": "↑",
- "ў": "ў",
- "ŭ": "ŭ",
- "û": "û",
- "û": "û",
- "у": "у",
- "⇅": "⇅",
- "ű": "ű",
- "⥮": "⥮",
- "⥾": "⥾",
- "𝔲": "𝔲",
- "ù": "ù",
- "ù": "ù",
- "↿": "↿",
- "↾": "↾",
- "▀": "▀",
- "⌜": "⌜",
- "⌜": "⌜",
- "⌏": "⌏",
- "◸": "◸",
- "ū": "ū",
- "¨": "¨",
- "¨": "¨",
- "ų": "ų",
- "𝕦": "𝕦",
- "↑": "↑",
- "↕": "↕",
- "↿": "↿",
- "↾": "↾",
- "⊎": "⊎",
- "υ": "υ",
- "ϒ": "ϒ",
- "υ": "υ",
- "⇈": "⇈",
- "⌝": "⌝",
- "⌝": "⌝",
- "⌎": "⌎",
- "ů": "ů",
- "◹": "◹",
- "𝓊": "𝓊",
- "⋰": "⋰",
- "ũ": "ũ",
- "▵": "▵",
- "▴": "▴",
- "⇈": "⇈",
- "ü": "ü",
- "ü": "ü",
- "⦧": "⦧",
- "⇕": "⇕",
- "⫨": "⫨",
- "⫩": "⫩",
- "⊨": "⊨",
- "⦜": "⦜",
- "ϵ": "ϵ",
- "ϰ": "ϰ",
- "∅": "∅",
- "ϕ": "ϕ",
- "ϖ": "ϖ",
- "∝": "∝",
- "↕": "↕",
- "ϱ": "ϱ",
- "ς": "ς",
- "⊊︀": "⊊︀",
- "⫋︀": "⫋︀",
- "⊋︀": "⊋︀",
- "⫌︀": "⫌︀",
- "ϑ": "ϑ",
- "⊲": "⊲",
- "⊳": "⊳",
- "в": "в",
- "⊢": "⊢",
- "∨": "∨",
- "⊻": "⊻",
- "≚": "≚",
- "⋮": "⋮",
- "|": "|",
- "|": "|",
- "𝔳": "𝔳",
- "⊲": "⊲",
- "⊂⃒": "⊂⃒",
- "⊃⃒": "⊃⃒",
- "𝕧": "𝕧",
- "∝": "∝",
- "⊳": "⊳",
- "𝓋": "𝓋",
- "⫋︀": "⫋︀",
- "⊊︀": "⊊︀",
- "⫌︀": "⫌︀",
- "⊋︀": "⊋︀",
- "⦚": "⦚",
- "ŵ": "ŵ",
- "⩟": "⩟",
- "∧": "∧",
- "≙": "≙",
- "℘": "℘",
- "𝔴": "𝔴",
- "𝕨": "𝕨",
- "℘": "℘",
- "≀": "≀",
- "≀": "≀",
- "𝓌": "𝓌",
- "⋂": "⋂",
- "◯": "◯",
- "⋃": "⋃",
- "▽": "▽",
- "𝔵": "𝔵",
- "⟺": "⟺",
- "⟷": "⟷",
- "ξ": "ξ",
- "⟸": "⟸",
- "⟵": "⟵",
- "⟼": "⟼",
- "⋻": "⋻",
- "⨀": "⨀",
- "𝕩": "𝕩",
- "⨁": "⨁",
- "⨂": "⨂",
- "⟹": "⟹",
- "⟶": "⟶",
- "𝓍": "𝓍",
- "⨆": "⨆",
- "⨄": "⨄",
- "△": "△",
- "⋁": "⋁",
- "⋀": "⋀",
- "ý": "ý",
- "ý": "ý",
- "я": "я",
- "ŷ": "ŷ",
- "ы": "ы",
- "¥": "¥",
- "¥": "¥",
- "𝔶": "𝔶",
- "ї": "ї",
- "𝕪": "𝕪",
- "𝓎": "𝓎",
- "ю": "ю",
- "ÿ": "ÿ",
- "ÿ": "ÿ",
- "ź": "ź",
- "ž": "ž",
- "з": "з",
- "ż": "ż",
- "ℨ": "ℨ",
- "ζ": "ζ",
- "𝔷": "𝔷",
- "ж": "ж",
- "⇝": "⇝",
- "𝕫": "𝕫",
- "𝓏": "𝓏",
- "": "",
- "": ""
- },
- characters: {
- "Æ": "Æ",
- "&": "&",
- "Á": "Á",
- "Ă": "Ă",
- "Â": "Â",
- "А": "А",
- "𝔄": "𝔄",
- "À": "À",
- "Α": "Α",
- "Ā": "Ā",
- "⩓": "⩓",
- "Ą": "Ą",
- "𝔸": "𝔸",
- "": "⁡",
- "Å": "Å",
- "𝒜": "𝒜",
- "≔": "≔",
- "Ã": "Ã",
- "Ä": "Ä",
- "∖": "∖",
- "⫧": "⫧",
- "⌆": "⌆",
- "Б": "Б",
- "∵": "∵",
- "ℬ": "ℬ",
- "Β": "Β",
- "𝔅": "𝔅",
- "𝔹": "𝔹",
- "˘": "˘",
- "≎": "≎",
- "Ч": "Ч",
- "©": "©",
- "Ć": "Ć",
- "⋒": "⋒",
- "ⅅ": "ⅅ",
- "ℭ": "ℭ",
- "Č": "Č",
- "Ç": "Ç",
- "Ĉ": "Ĉ",
- "∰": "∰",
- "Ċ": "Ċ",
- "¸": "¸",
- "·": "·",
- "Χ": "Χ",
- "⊙": "⊙",
- "⊖": "⊖",
- "⊕": "⊕",
- "⊗": "⊗",
- "∲": "∲",
- "”": "”",
- "’": "’",
- "∷": "∷",
- "⩴": "⩴",
- "≡": "≡",
- "∯": "∯",
- "∮": "∮",
- "ℂ": "ℂ",
- "∐": "∐",
- "∳": "∳",
- "⨯": "⨯",
- "𝒞": "𝒞",
- "⋓": "⋓",
- "≍": "≍",
- "⤑": "⤑",
- "Ђ": "Ђ",
- "Ѕ": "Ѕ",
- "Џ": "Џ",
- "‡": "‡",
- "↡": "↡",
- "⫤": "⫤",
- "Ď": "Ď",
- "Д": "Д",
- "∇": "∇",
- "Δ": "Δ",
- "𝔇": "𝔇",
- "´": "´",
- "˙": "˙",
- "˝": "˝",
- "`": "`",
- "˜": "˜",
- "⋄": "⋄",
- "ⅆ": "ⅆ",
- "𝔻": "𝔻",
- "¨": "¨",
- "⃜": "⃜",
- "≐": "≐",
- "⇓": "⇓",
- "⇐": "⇐",
- "⇔": "⇔",
- "⟸": "⟸",
- "⟺": "⟺",
- "⟹": "⟹",
- "⇒": "⇒",
- "⊨": "⊨",
- "⇑": "⇑",
- "⇕": "⇕",
- "∥": "∥",
- "↓": "↓",
- "⤓": "⤓",
- "⇵": "⇵",
- "̑": "̑",
- "⥐": "⥐",
- "⥞": "⥞",
- "↽": "↽",
- "⥖": "⥖",
- "⥟": "⥟",
- "⇁": "⇁",
- "⥗": "⥗",
- "⊤": "⊤",
- "↧": "↧",
- "𝒟": "𝒟",
- "Đ": "Đ",
- "Ŋ": "Ŋ",
- "Ð": "Ð",
- "É": "É",
- "Ě": "Ě",
- "Ê": "Ê",
- "Э": "Э",
- "Ė": "Ė",
- "𝔈": "𝔈",
- "È": "È",
- "∈": "∈",
- "Ē": "Ē",
- "◻": "◻",
- "▫": "▫",
- "Ę": "Ę",
- "𝔼": "𝔼",
- "Ε": "Ε",
- "⩵": "⩵",
- "≂": "≂",
- "⇌": "⇌",
- "ℰ": "ℰ",
- "⩳": "⩳",
- "Η": "Η",
- "Ë": "Ë",
- "∃": "∃",
- "ⅇ": "ⅇ",
- "Ф": "Ф",
- "𝔉": "𝔉",
- "◼": "◼",
- "▪": "▪",
- "𝔽": "𝔽",
- "∀": "∀",
- "ℱ": "ℱ",
- "Ѓ": "Ѓ",
- ">": ">",
- "Γ": "Γ",
- "Ϝ": "Ϝ",
- "Ğ": "Ğ",
- "Ģ": "Ģ",
- "Ĝ": "Ĝ",
- "Г": "Г",
- "Ġ": "Ġ",
- "𝔊": "𝔊",
- "⋙": "⋙",
- "𝔾": "𝔾",
- "≥": "≥",
- "⋛": "⋛",
- "≧": "≧",
- "⪢": "⪢",
- "≷": "≷",
- "⩾": "⩾",
- "≳": "≳",
- "𝒢": "𝒢",
- "≫": "≫",
- "Ъ": "Ъ",
- "ˇ": "ˇ",
- "^": "^",
- "Ĥ": "Ĥ",
- "ℌ": "ℌ",
- "ℋ": "ℋ",
- "ℍ": "ℍ",
- "─": "─",
- "Ħ": "Ħ",
- "≏": "≏",
- "Е": "Е",
- "IJ": "IJ",
- "Ё": "Ё",
- "Í": "Í",
- "Î": "Î",
- "И": "И",
- "İ": "İ",
- "ℑ": "ℑ",
- "Ì": "Ì",
- "Ī": "Ī",
- "ⅈ": "ⅈ",
- "∬": "∬",
- "∫": "∫",
- "⋂": "⋂",
- "": "⁣",
- "": "⁢",
- "Į": "Į",
- "𝕀": "𝕀",
- "Ι": "Ι",
- "ℐ": "ℐ",
- "Ĩ": "Ĩ",
- "І": "І",
- "Ï": "Ï",
- "Ĵ": "Ĵ",
- "Й": "Й",
- "𝔍": "𝔍",
- "𝕁": "𝕁",
- "𝒥": "𝒥",
- "Ј": "Ј",
- "Є": "Є",
- "Х": "Х",
- "Ќ": "Ќ",
- "Κ": "Κ",
- "Ķ": "Ķ",
- "К": "К",
- "𝔎": "𝔎",
- "𝕂": "𝕂",
- "𝒦": "𝒦",
- "Љ": "Љ",
- "<": "<",
- "Ĺ": "Ĺ",
- "Λ": "Λ",
- "⟪": "⟪",
- "ℒ": "ℒ",
- "↞": "↞",
- "Ľ": "Ľ",
- "Ļ": "Ļ",
- "Л": "Л",
- "⟨": "⟨",
- "←": "←",
- "⇤": "⇤",
- "⇆": "⇆",
- "⌈": "⌈",
- "⟦": "⟦",
- "⥡": "⥡",
- "⇃": "⇃",
- "⥙": "⥙",
- "⌊": "⌊",
- "↔": "↔",
- "⥎": "⥎",
- "⊣": "⊣",
- "↤": "↤",
- "⥚": "⥚",
- "⊲": "⊲",
- "⧏": "⧏",
- "⊴": "⊴",
- "⥑": "⥑",
- "⥠": "⥠",
- "↿": "↿",
- "⥘": "⥘",
- "↼": "↼",
- "⥒": "⥒",
- "⋚": "⋚",
- "≦": "≦",
- "≶": "≶",
- "⪡": "⪡",
- "⩽": "⩽",
- "≲": "≲",
- "𝔏": "𝔏",
- "⋘": "⋘",
- "⇚": "⇚",
- "Ŀ": "Ŀ",
- "⟵": "⟵",
- "⟷": "⟷",
- "⟶": "⟶",
- "𝕃": "𝕃",
- "↙": "↙",
- "↘": "↘",
- "↰": "↰",
- "Ł": "Ł",
- "≪": "≪",
- "⤅": "⤅",
- "М": "М",
- " ": " ",
- "ℳ": "ℳ",
- "𝔐": "𝔐",
- "∓": "∓",
- "𝕄": "𝕄",
- "Μ": "Μ",
- "Њ": "Њ",
- "Ń": "Ń",
- "Ň": "Ň",
- "Ņ": "Ņ",
- "Н": "Н",
- "": "​",
- "\n": "
",
- "𝔑": "𝔑",
- "": "⁠",
- " ": " ",
- "ℕ": "ℕ",
- "⫬": "⫬",
- "≢": "≢",
- "≭": "≭",
- "∦": "∦",
- "∉": "∉",
- "≠": "≠",
- "≂̸": "≂̸",
- "∄": "∄",
- "≯": "≯",
- "≱": "≱",
- "≧̸": "≧̸",
- "≫̸": "≫̸",
- "≹": "≹",
- "⩾̸": "⩾̸",
- "≵": "≵",
- "≎̸": "≎̸",
- "≏̸": "≏̸",
- "⋪": "⋪",
- "⧏̸": "⧏̸",
- "⋬": "⋬",
- "≮": "≮",
- "≰": "≰",
- "≸": "≸",
- "≪̸": "≪̸",
- "⩽̸": "⩽̸",
- "≴": "≴",
- "⪢̸": "⪢̸",
- "⪡̸": "⪡̸",
- "⊀": "⊀",
- "⪯̸": "⪯̸",
- "⋠": "⋠",
- "∌": "∌",
- "⋫": "⋫",
- "⧐̸": "⧐̸",
- "⋭": "⋭",
- "⊏̸": "⊏̸",
- "⋢": "⋢",
- "⊐̸": "⊐̸",
- "⋣": "⋣",
- "⊂⃒": "⊂⃒",
- "⊈": "⊈",
- "⊁": "⊁",
- "⪰̸": "⪰̸",
- "⋡": "⋡",
- "≿̸": "≿̸",
- "⊃⃒": "⊃⃒",
- "⊉": "⊉",
- "≁": "≁",
- "≄": "≄",
- "≇": "≇",
- "≉": "≉",
- "∤": "∤",
- "𝒩": "𝒩",
- "Ñ": "Ñ",
- "Ν": "Ν",
- "Œ": "Œ",
- "Ó": "Ó",
- "Ô": "Ô",
- "О": "О",
- "Ő": "Ő",
- "𝔒": "𝔒",
- "Ò": "Ò",
- "Ō": "Ō",
- "Ω": "Ω",
- "Ο": "Ο",
- "𝕆": "𝕆",
- "“": "“",
- "‘": "‘",
- "⩔": "⩔",
- "𝒪": "𝒪",
- "Ø": "Ø",
- "Õ": "Õ",
- "⨷": "⨷",
- "Ö": "Ö",
- "‾": "‾",
- "⏞": "⏞",
- "⎴": "⎴",
- "⏜": "⏜",
- "∂": "∂",
- "П": "П",
- "𝔓": "𝔓",
- "Φ": "Φ",
- "Π": "Π",
- "±": "±",
- "ℙ": "ℙ",
- "⪻": "⪻",
- "≺": "≺",
- "⪯": "⪯",
- "≼": "≼",
- "≾": "≾",
- "″": "″",
- "∏": "∏",
- "∝": "∝",
- "𝒫": "𝒫",
- "Ψ": "Ψ",
- '"': """,
- "𝔔": "𝔔",
- "ℚ": "ℚ",
- "𝒬": "𝒬",
- "⤐": "⤐",
- "®": "®",
- "Ŕ": "Ŕ",
- "⟫": "⟫",
- "↠": "↠",
- "⤖": "⤖",
- "Ř": "Ř",
- "Ŗ": "Ŗ",
- "Р": "Р",
- "ℜ": "ℜ",
- "∋": "∋",
- "⇋": "⇋",
- "⥯": "⥯",
- "Ρ": "Ρ",
- "⟩": "⟩",
- "→": "→",
- "⇥": "⇥",
- "⇄": "⇄",
- "⌉": "⌉",
- "⟧": "⟧",
- "⥝": "⥝",
- "⇂": "⇂",
- "⥕": "⥕",
- "⌋": "⌋",
- "⊢": "⊢",
- "↦": "↦",
- "⥛": "⥛",
- "⊳": "⊳",
- "⧐": "⧐",
- "⊵": "⊵",
- "⥏": "⥏",
- "⥜": "⥜",
- "↾": "↾",
- "⥔": "⥔",
- "⇀": "⇀",
- "⥓": "⥓",
- "ℝ": "ℝ",
- "⥰": "⥰",
- "⇛": "⇛",
- "ℛ": "ℛ",
- "↱": "↱",
- "⧴": "⧴",
- "Щ": "Щ",
- "Ш": "Ш",
- "Ь": "Ь",
- "Ś": "Ś",
- "⪼": "⪼",
- "Š": "Š",
- "Ş": "Ş",
- "Ŝ": "Ŝ",
- "С": "С",
- "𝔖": "𝔖",
- "↑": "↑",
- "Σ": "Σ",
- "∘": "∘",
- "𝕊": "𝕊",
- "√": "√",
- "□": "□",
- "⊓": "⊓",
- "⊏": "⊏",
- "⊑": "⊑",
- "⊐": "⊐",
- "⊒": "⊒",
- "⊔": "⊔",
- "𝒮": "𝒮",
- "⋆": "⋆",
- "⋐": "⋐",
- "⊆": "⊆",
- "≻": "≻",
- "⪰": "⪰",
- "≽": "≽",
- "≿": "≿",
- "∑": "∑",
- "⋑": "⋑",
- "⊃": "⊃",
- "⊇": "⊇",
- "Þ": "Þ",
- "™": "™",
- "Ћ": "Ћ",
- "Ц": "Ц",
- "\t": "	",
- "Τ": "Τ",
- "Ť": "Ť",
- "Ţ": "Ţ",
- "Т": "Т",
- "𝔗": "𝔗",
- "∴": "∴",
- "Θ": "Θ",
- " ": "  ",
- " ": " ",
- "∼": "∼",
- "≃": "≃",
- "≅": "≅",
- "≈": "≈",
- "𝕋": "𝕋",
- "⃛": "⃛",
- "𝒯": "𝒯",
- "Ŧ": "Ŧ",
- "Ú": "Ú",
- "↟": "↟",
- "⥉": "⥉",
- "Ў": "Ў",
- "Ŭ": "Ŭ",
- "Û": "Û",
- "У": "У",
- "Ű": "Ű",
- "𝔘": "𝔘",
- "Ù": "Ù",
- "Ū": "Ū",
- _: "_",
- "⏟": "⏟",
- "⎵": "⎵",
- "⏝": "⏝",
- "⋃": "⋃",
- "⊎": "⊎",
- "Ų": "Ų",
- "𝕌": "𝕌",
- "⤒": "⤒",
- "⇅": "⇅",
- "↕": "↕",
- "⥮": "⥮",
- "⊥": "⊥",
- "↥": "↥",
- "↖": "↖",
- "↗": "↗",
- "ϒ": "ϒ",
- "Υ": "Υ",
- "Ů": "Ů",
- "𝒰": "𝒰",
- "Ũ": "Ũ",
- "Ü": "Ü",
- "⊫": "⊫",
- "⫫": "⫫",
- "В": "В",
- "⊩": "⊩",
- "⫦": "⫦",
- "⋁": "⋁",
- "‖": "‖",
- "∣": "∣",
- "|": "|",
- "❘": "❘",
- "≀": "≀",
- " ": " ",
- "𝔙": "𝔙",
- "𝕍": "𝕍",
- "𝒱": "𝒱",
- "⊪": "⊪",
- "Ŵ": "Ŵ",
- "⋀": "⋀",
- "𝔚": "𝔚",
- "𝕎": "𝕎",
- "𝒲": "𝒲",
- "𝔛": "𝔛",
- "Ξ": "Ξ",
- "𝕏": "𝕏",
- "𝒳": "𝒳",
- "Я": "Я",
- "Ї": "Ї",
- "Ю": "Ю",
- "Ý": "Ý",
- "Ŷ": "Ŷ",
- "Ы": "Ы",
- "𝔜": "𝔜",
- "𝕐": "𝕐",
- "𝒴": "𝒴",
- "Ÿ": "Ÿ",
- "Ж": "Ж",
- "Ź": "Ź",
- "Ž": "Ž",
- "З": "З",
- "Ż": "Ż",
- "Ζ": "Ζ",
- "ℨ": "ℨ",
- "ℤ": "ℤ",
- "𝒵": "𝒵",
- "á": "á",
- "ă": "ă",
- "∾": "∾",
- "∾̳": "∾̳",
- "∿": "∿",
- "â": "â",
- "а": "а",
- "æ": "æ",
- "𝔞": "𝔞",
- "à": "à",
- "ℵ": "ℵ",
- "α": "α",
- "ā": "ā",
- "⨿": "⨿",
- "∧": "∧",
- "⩕": "⩕",
- "⩜": "⩜",
- "⩘": "⩘",
- "⩚": "⩚",
- "∠": "∠",
- "⦤": "⦤",
- "∡": "∡",
- "⦨": "⦨",
- "⦩": "⦩",
- "⦪": "⦪",
- "⦫": "⦫",
- "⦬": "⦬",
- "⦭": "⦭",
- "⦮": "⦮",
- "⦯": "⦯",
- "∟": "∟",
- "⊾": "⊾",
- "⦝": "⦝",
- "∢": "∢",
- "⍼": "⍼",
- "ą": "ą",
- "𝕒": "𝕒",
- "⩰": "⩰",
- "⩯": "⩯",
- "≊": "≊",
- "≋": "≋",
- "'": "'",
- "å": "å",
- "𝒶": "𝒶",
- "*": "*",
- "ã": "ã",
- "ä": "ä",
- "⨑": "⨑",
- "⫭": "⫭",
- "≌": "≌",
- "϶": "϶",
- "‵": "‵",
- "∽": "∽",
- "⋍": "⋍",
- "⊽": "⊽",
- "⌅": "⌅",
- "⎶": "⎶",
- "б": "б",
- "„": "„",
- "⦰": "⦰",
- "β": "β",
- "ℶ": "ℶ",
- "≬": "≬",
- "𝔟": "𝔟",
- "◯": "◯",
- "⨀": "⨀",
- "⨁": "⨁",
- "⨂": "⨂",
- "⨆": "⨆",
- "★": "★",
- "▽": "▽",
- "△": "△",
- "⨄": "⨄",
- "⤍": "⤍",
- "⧫": "⧫",
- "▴": "▴",
- "▾": "▾",
- "◂": "◂",
- "▸": "▸",
- "␣": "␣",
- "▒": "▒",
- "░": "░",
- "▓": "▓",
- "█": "█",
- "=⃥": "=⃥",
- "≡⃥": "≡⃥",
- "⌐": "⌐",
- "𝕓": "𝕓",
- "⋈": "⋈",
- "╗": "╗",
- "╔": "╔",
- "╖": "╖",
- "╓": "╓",
- "═": "═",
- "╦": "╦",
- "╩": "╩",
- "╤": "╤",
- "╧": "╧",
- "╝": "╝",
- "╚": "╚",
- "╜": "╜",
- "╙": "╙",
- "║": "║",
- "╬": "╬",
- "╣": "╣",
- "╠": "╠",
- "╫": "╫",
- "╢": "╢",
- "╟": "╟",
- "⧉": "⧉",
- "╕": "╕",
- "╒": "╒",
- "┐": "┐",
- "┌": "┌",
- "╥": "╥",
- "╨": "╨",
- "┬": "┬",
- "┴": "┴",
- "⊟": "⊟",
- "⊞": "⊞",
- "⊠": "⊠",
- "╛": "╛",
- "╘": "╘",
- "┘": "┘",
- "└": "└",
- "│": "│",
- "╪": "╪",
- "╡": "╡",
- "╞": "╞",
- "┼": "┼",
- "┤": "┤",
- "├": "├",
- "¦": "¦",
- "𝒷": "𝒷",
- "⁏": "⁏",
- "\\": "\",
- "⧅": "⧅",
- "⟈": "⟈",
- "•": "•",
- "⪮": "⪮",
- "ć": "ć",
- "∩": "∩",
- "⩄": "⩄",
- "⩉": "⩉",
- "⩋": "⩋",
- "⩇": "⩇",
- "⩀": "⩀",
- "∩︀": "∩︀",
- "⁁": "⁁",
- "⩍": "⩍",
- "č": "č",
- "ç": "ç",
- "ĉ": "ĉ",
- "⩌": "⩌",
- "⩐": "⩐",
- "ċ": "ċ",
- "⦲": "⦲",
- "¢": "¢",
- "𝔠": "𝔠",
- "ч": "ч",
- "✓": "✓",
- "χ": "χ",
- "○": "○",
- "⧃": "⧃",
- "ˆ": "ˆ",
- "≗": "≗",
- "↺": "↺",
- "↻": "↻",
- "Ⓢ": "Ⓢ",
- "⊛": "⊛",
- "⊚": "⊚",
- "⊝": "⊝",
- "⨐": "⨐",
- "⫯": "⫯",
- "⧂": "⧂",
- "♣": "♣",
- ":": ":",
- ",": ",",
- "@": "@",
- "∁": "∁",
- "⩭": "⩭",
- "𝕔": "𝕔",
- "℗": "℗",
- "↵": "↵",
- "✗": "✗",
- "𝒸": "𝒸",
- "⫏": "⫏",
- "⫑": "⫑",
- "⫐": "⫐",
- "⫒": "⫒",
- "⋯": "⋯",
- "⤸": "⤸",
- "⤵": "⤵",
- "⋞": "⋞",
- "⋟": "⋟",
- "↶": "↶",
- "⤽": "⤽",
- "∪": "∪",
- "⩈": "⩈",
- "⩆": "⩆",
- "⩊": "⩊",
- "⊍": "⊍",
- "⩅": "⩅",
- "∪︀": "∪︀",
- "↷": "↷",
- "⤼": "⤼",
- "⋎": "⋎",
- "⋏": "⋏",
- "¤": "¤",
- "∱": "∱",
- "⌭": "⌭",
- "⥥": "⥥",
- "†": "†",
- "ℸ": "ℸ",
- "‐": "‐",
- "⤏": "⤏",
- "ď": "ď",
- "д": "д",
- "⇊": "⇊",
- "⩷": "⩷",
- "°": "°",
- "δ": "δ",
- "⦱": "⦱",
- "⥿": "⥿",
- "𝔡": "𝔡",
- "♦": "♦",
- "ϝ": "ϝ",
- "⋲": "⋲",
- "÷": "÷",
- "⋇": "⋇",
- "ђ": "ђ",
- "⌞": "⌞",
- "⌍": "⌍",
- $: "$",
- "𝕕": "𝕕",
- "≑": "≑",
- "∸": "∸",
- "∔": "∔",
- "⊡": "⊡",
- "⌟": "⌟",
- "⌌": "⌌",
- "𝒹": "𝒹",
- "ѕ": "ѕ",
- "⧶": "⧶",
- "đ": "đ",
- "⋱": "⋱",
- "▿": "▿",
- "⦦": "⦦",
- "џ": "џ",
- "⟿": "⟿",
- "é": "é",
- "⩮": "⩮",
- "ě": "ě",
- "≖": "≖",
- "ê": "ê",
- "≕": "≕",
- "э": "э",
- "ė": "ė",
- "≒": "≒",
- "𝔢": "𝔢",
- "⪚": "⪚",
- "è": "è",
- "⪖": "⪖",
- "⪘": "⪘",
- "⪙": "⪙",
- "⏧": "⏧",
- "ℓ": "ℓ",
- "⪕": "⪕",
- "⪗": "⪗",
- "ē": "ē",
- "∅": "∅",
- " ": " ",
- " ": " ",
- " ": " ",
- "ŋ": "ŋ",
- " ": " ",
- "ę": "ę",
- "𝕖": "𝕖",
- "⋕": "⋕",
- "⧣": "⧣",
- "⩱": "⩱",
- "ε": "ε",
- "ϵ": "ϵ",
- "=": "=",
- "≟": "≟",
- "⩸": "⩸",
- "⧥": "⧥",
- "≓": "≓",
- "⥱": "⥱",
- "ℯ": "ℯ",
- "η": "η",
- "ð": "ð",
- "ë": "ë",
- "€": "€",
- "!": "!",
- "ф": "ф",
- "♀": "♀",
- "ffi": "ffi",
- "ff": "ff",
- "ffl": "ffl",
- "𝔣": "𝔣",
- "fi": "fi",
- fj: "fj",
- "♭": "♭",
- "fl": "fl",
- "▱": "▱",
- "ƒ": "ƒ",
- "𝕗": "𝕗",
- "⋔": "⋔",
- "⫙": "⫙",
- "⨍": "⨍",
- "½": "½",
- "⅓": "⅓",
- "¼": "¼",
- "⅕": "⅕",
- "⅙": "⅙",
- "⅛": "⅛",
- "⅔": "⅔",
- "⅖": "⅖",
- "¾": "¾",
- "⅗": "⅗",
- "⅜": "⅜",
- "⅘": "⅘",
- "⅚": "⅚",
- "⅝": "⅝",
- "⅞": "⅞",
- "⁄": "⁄",
- "⌢": "⌢",
- "𝒻": "𝒻",
- "⪌": "⪌",
- "ǵ": "ǵ",
- "γ": "γ",
- "⪆": "⪆",
- "ğ": "ğ",
- "ĝ": "ĝ",
- "г": "г",
- "ġ": "ġ",
- "⪩": "⪩",
- "⪀": "⪀",
- "⪂": "⪂",
- "⪄": "⪄",
- "⋛︀": "⋛︀",
- "⪔": "⪔",
- "𝔤": "𝔤",
- "ℷ": "ℷ",
- "ѓ": "ѓ",
- "⪒": "⪒",
- "⪥": "⪥",
- "⪤": "⪤",
- "≩": "≩",
- "⪊": "⪊",
- "⪈": "⪈",
- "⋧": "⋧",
- "𝕘": "𝕘",
- "ℊ": "ℊ",
- "⪎": "⪎",
- "⪐": "⪐",
- "⪧": "⪧",
- "⩺": "⩺",
- "⋗": "⋗",
- "⦕": "⦕",
- "⩼": "⩼",
- "⥸": "⥸",
- "≩︀": "≩︀",
- "ъ": "ъ",
- "⥈": "⥈",
- "↭": "↭",
- "ℏ": "ℏ",
- "ĥ": "ĥ",
- "♥": "♥",
- "…": "…",
- "⊹": "⊹",
- "𝔥": "𝔥",
- "⤥": "⤥",
- "⤦": "⤦",
- "⇿": "⇿",
- "∻": "∻",
- "↩": "↩",
- "↪": "↪",
- "𝕙": "𝕙",
- "―": "―",
- "𝒽": "𝒽",
- "ħ": "ħ",
- "⁃": "⁃",
- "í": "í",
- "î": "î",
- "и": "и",
- "е": "е",
- "¡": "¡",
- "𝔦": "𝔦",
- "ì": "ì",
- "⨌": "⨌",
- "∭": "∭",
- "⧜": "⧜",
- "℩": "℩",
- "ij": "ij",
- "ī": "ī",
- "ı": "ı",
- "⊷": "⊷",
- "Ƶ": "Ƶ",
- "℅": "℅",
- "∞": "∞",
- "⧝": "⧝",
- "⊺": "⊺",
- "⨗": "⨗",
- "⨼": "⨼",
- "ё": "ё",
- "į": "į",
- "𝕚": "𝕚",
- "ι": "ι",
- "¿": "¿",
- "𝒾": "𝒾",
- "⋹": "⋹",
- "⋵": "⋵",
- "⋴": "⋴",
- "⋳": "⋳",
- "ĩ": "ĩ",
- "і": "і",
- "ï": "ï",
- "ĵ": "ĵ",
- "й": "й",
- "𝔧": "𝔧",
- "ȷ": "ȷ",
- "𝕛": "𝕛",
- "𝒿": "𝒿",
- "ј": "ј",
- "є": "є",
- "κ": "κ",
- "ϰ": "ϰ",
- "ķ": "ķ",
- "к": "к",
- "𝔨": "𝔨",
- "ĸ": "ĸ",
- "х": "х",
- "ќ": "ќ",
- "𝕜": "𝕜",
- "𝓀": "𝓀",
- "⤛": "⤛",
- "⤎": "⤎",
- "⪋": "⪋",
- "⥢": "⥢",
- "ĺ": "ĺ",
- "⦴": "⦴",
- "λ": "λ",
- "⦑": "⦑",
- "⪅": "⪅",
- "«": "«",
- "⤟": "⤟",
- "⤝": "⤝",
- "↫": "↫",
- "⤹": "⤹",
- "⥳": "⥳",
- "↢": "↢",
- "⪫": "⪫",
- "⤙": "⤙",
- "⪭": "⪭",
- "⪭︀": "⪭︀",
- "⤌": "⤌",
- "❲": "❲",
- "{": "{",
- "[": "[",
- "⦋": "⦋",
- "⦏": "⦏",
- "⦍": "⦍",
- "ľ": "ľ",
- "ļ": "ļ",
- "л": "л",
- "⤶": "⤶",
- "⥧": "⥧",
- "⥋": "⥋",
- "↲": "↲",
- "≤": "≤",
- "⇇": "⇇",
- "⋋": "⋋",
- "⪨": "⪨",
- "⩿": "⩿",
- "⪁": "⪁",
- "⪃": "⪃",
- "⋚︀": "⋚︀",
- "⪓": "⪓",
- "⋖": "⋖",
- "⥼": "⥼",
- "𝔩": "𝔩",
- "⪑": "⪑",
- "⥪": "⥪",
- "▄": "▄",
- "љ": "љ",
- "⥫": "⥫",
- "◺": "◺",
- "ŀ": "ŀ",
- "⎰": "⎰",
- "≨": "≨",
- "⪉": "⪉",
- "⪇": "⪇",
- "⋦": "⋦",
- "⟬": "⟬",
- "⇽": "⇽",
- "⟼": "⟼",
- "↬": "↬",
- "⦅": "⦅",
- "𝕝": "𝕝",
- "⨭": "⨭",
- "⨴": "⨴",
- "∗": "∗",
- "◊": "◊",
- "(": "(",
- "⦓": "⦓",
- "⥭": "⥭",
- "": "",
- "⊿": "⊿",
- "‹": "‹",
- "𝓁": "𝓁",
- "⪍": "⪍",
- "⪏": "⪏",
- "‚": "‚",
- "ł": "ł",
- "⪦": "⪦",
- "⩹": "⩹",
- "⋉": "⋉",
- "⥶": "⥶",
- "⩻": "⩻",
- "⦖": "⦖",
- "◃": "◃",
- "⥊": "⥊",
- "⥦": "⥦",
- "≨︀": "≨︀",
- "∺": "∺",
- "¯": "¯",
- "♂": "♂",
- "✠": "✠",
- "▮": "▮",
- "⨩": "⨩",
- "м": "м",
- "—": "—",
- "𝔪": "𝔪",
- "℧": "℧",
- "µ": "µ",
- "⫰": "⫰",
- "−": "−",
- "⨪": "⨪",
- "⫛": "⫛",
- "⊧": "⊧",
- "𝕞": "𝕞",
- "𝓂": "𝓂",
- "μ": "μ",
- "⊸": "⊸",
- "⋙̸": "⋙̸",
- "≫⃒": "≫⃒",
- "⇍": "⇍",
- "⇎": "⇎",
- "⋘̸": "⋘̸",
- "≪⃒": "≪⃒",
- "⇏": "⇏",
- "⊯": "⊯",
- "⊮": "⊮",
- "ń": "ń",
- "∠⃒": "∠⃒",
- "⩰̸": "⩰̸",
- "≋̸": "≋̸",
- "ʼn": "ʼn",
- "♮": "♮",
- "⩃": "⩃",
- "ň": "ň",
- "ņ": "ņ",
- "⩭̸": "⩭̸",
- "⩂": "⩂",
- "н": "н",
- "–": "–",
- "⇗": "⇗",
- "⤤": "⤤",
- "≐̸": "≐̸",
- "⤨": "⤨",
- "𝔫": "𝔫",
- "↮": "↮",
- "⫲": "⫲",
- "⋼": "⋼",
- "⋺": "⋺",
- "њ": "њ",
- "≦̸": "≦̸",
- "↚": "↚",
- "‥": "‥",
- "𝕟": "𝕟",
- "¬": "¬",
- "⋹̸": "⋹̸",
- "⋵̸": "⋵̸",
- "⋷": "⋷",
- "⋶": "⋶",
- "⋾": "⋾",
- "⋽": "⋽",
- "⫽⃥": "⫽⃥",
- "∂̸": "∂̸",
- "⨔": "⨔",
- "↛": "↛",
- "⤳̸": "⤳̸",
- "↝̸": "↝̸",
- "𝓃": "𝓃",
- "⊄": "⊄",
- "⫅̸": "⫅̸",
- "⊅": "⊅",
- "⫆̸": "⫆̸",
- "ñ": "ñ",
- "ν": "ν",
- "#": "#",
- "№": "№",
- " ": " ",
- "⊭": "⊭",
- "⤄": "⤄",
- "≍⃒": "≍⃒",
- "⊬": "⊬",
- "≥⃒": "≥⃒",
- ">⃒": ">⃒",
- "⧞": "⧞",
- "⤂": "⤂",
- "≤⃒": "≤⃒",
- "<⃒": "<⃒",
- "⊴⃒": "⊴⃒",
- "⤃": "⤃",
- "⊵⃒": "⊵⃒",
- "∼⃒": "∼⃒",
- "⇖": "⇖",
- "⤣": "⤣",
- "⤧": "⤧",
- "ó": "ó",
- "ô": "ô",
- "о": "о",
- "ő": "ő",
- "⨸": "⨸",
- "⦼": "⦼",
- "œ": "œ",
- "⦿": "⦿",
- "𝔬": "𝔬",
- "˛": "˛",
- "ò": "ò",
- "⧁": "⧁",
- "⦵": "⦵",
- "⦾": "⦾",
- "⦻": "⦻",
- "⧀": "⧀",
- "ō": "ō",
- "ω": "ω",
- "ο": "ο",
- "⦶": "⦶",
- "𝕠": "𝕠",
- "⦷": "⦷",
- "⦹": "⦹",
- "∨": "∨",
- "⩝": "⩝",
- "ℴ": "ℴ",
- "ª": "ª",
- "º": "º",
- "⊶": "⊶",
- "⩖": "⩖",
- "⩗": "⩗",
- "⩛": "⩛",
- "ø": "ø",
- "⊘": "⊘",
- "õ": "õ",
- "⨶": "⨶",
- "ö": "ö",
- "⌽": "⌽",
- "¶": "¶",
- "⫳": "⫳",
- "⫽": "⫽",
- "п": "п",
- "%": "%",
- ".": ".",
- "‰": "‰",
- "‱": "‱",
- "𝔭": "𝔭",
- "φ": "φ",
- "ϕ": "ϕ",
- "☎": "☎",
- "π": "π",
- "ϖ": "ϖ",
- "ℎ": "ℎ",
- "+": "+",
- "⨣": "⨣",
- "⨢": "⨢",
- "⨥": "⨥",
- "⩲": "⩲",
- "⨦": "⨦",
- "⨧": "⨧",
- "⨕": "⨕",
- "𝕡": "𝕡",
- "£": "£",
- "⪳": "⪳",
- "⪷": "⪷",
- "⪹": "⪹",
- "⪵": "⪵",
- "⋨": "⋨",
- "′": "′",
- "⌮": "⌮",
- "⌒": "⌒",
- "⌓": "⌓",
- "⊰": "⊰",
- "𝓅": "𝓅",
- "ψ": "ψ",
- " ": " ",
- "𝔮": "𝔮",
- "𝕢": "𝕢",
- "⁗": "⁗",
- "𝓆": "𝓆",
- "⨖": "⨖",
- "?": "?",
- "⤜": "⤜",
- "⥤": "⥤",
- "∽̱": "∽̱",
- "ŕ": "ŕ",
- "⦳": "⦳",
- "⦒": "⦒",
- "⦥": "⦥",
- "»": "»",
- "⥵": "⥵",
- "⤠": "⤠",
- "⤳": "⤳",
- "⤞": "⤞",
- "⥅": "⥅",
- "⥴": "⥴",
- "↣": "↣",
- "↝": "↝",
- "⤚": "⤚",
- "∶": "∶",
- "❳": "❳",
- "}": "}",
- "]": "]",
- "⦌": "⦌",
- "⦎": "⦎",
- "⦐": "⦐",
- "ř": "ř",
- "ŗ": "ŗ",
- "р": "р",
- "⤷": "⤷",
- "⥩": "⥩",
- "↳": "↳",
- "▭": "▭",
- "⥽": "⥽",
- "𝔯": "𝔯",
- "⥬": "⥬",
- "ρ": "ρ",
- "ϱ": "ϱ",
- "⇉": "⇉",
- "⋌": "⋌",
- "˚": "˚",
- "": "",
- "⎱": "⎱",
- "⫮": "⫮",
- "⟭": "⟭",
- "⇾": "⇾",
- "⦆": "⦆",
- "𝕣": "𝕣",
- "⨮": "⨮",
- "⨵": "⨵",
- ")": ")",
- "⦔": "⦔",
- "⨒": "⨒",
- "›": "›",
- "𝓇": "𝓇",
- "⋊": "⋊",
- "▹": "▹",
- "⧎": "⧎",
- "⥨": "⥨",
- "℞": "℞",
- "ś": "ś",
- "⪴": "⪴",
- "⪸": "⪸",
- "š": "š",
- "ş": "ş",
- "ŝ": "ŝ",
- "⪶": "⪶",
- "⪺": "⪺",
- "⋩": "⋩",
- "⨓": "⨓",
- "с": "с",
- "⋅": "⋅",
- "⩦": "⩦",
- "⇘": "⇘",
- "§": "§",
- ";": ";",
- "⤩": "⤩",
- "✶": "✶",
- "𝔰": "𝔰",
- "♯": "♯",
- "щ": "щ",
- "ш": "ш",
- "": "",
- "σ": "σ",
- "ς": "ς",
- "⩪": "⩪",
- "⪞": "⪞",
- "⪠": "⪠",
- "⪝": "⪝",
- "⪟": "⪟",
- "≆": "≆",
- "⨤": "⨤",
- "⥲": "⥲",
- "⨳": "⨳",
- "⧤": "⧤",
- "⌣": "⌣",
- "⪪": "⪪",
- "⪬": "⪬",
- "⪬︀": "⪬︀",
- "ь": "ь",
- "/": "/",
- "⧄": "⧄",
- "⌿": "⌿",
- "𝕤": "𝕤",
- "♠": "♠",
- "⊓︀": "⊓︀",
- "⊔︀": "⊔︀",
- "𝓈": "𝓈",
- "☆": "☆",
- "⊂": "⊂",
- "⫅": "⫅",
- "⪽": "⪽",
- "⫃": "⫃",
- "⫁": "⫁",
- "⫋": "⫋",
- "⊊": "⊊",
- "⪿": "⪿",
- "⥹": "⥹",
- "⫇": "⫇",
- "⫕": "⫕",
- "⫓": "⫓",
- "♪": "♪",
- "¹": "¹",
- "²": "²",
- "³": "³",
- "⫆": "⫆",
- "⪾": "⪾",
- "⫘": "⫘",
- "⫄": "⫄",
- "⟉": "⟉",
- "⫗": "⫗",
- "⥻": "⥻",
- "⫂": "⫂",
- "⫌": "⫌",
- "⊋": "⊋",
- "⫀": "⫀",
- "⫈": "⫈",
- "⫔": "⫔",
- "⫖": "⫖",
- "⇙": "⇙",
- "⤪": "⤪",
- "ß": "ß",
- "⌖": "⌖",
- "τ": "τ",
- "ť": "ť",
- "ţ": "ţ",
- "т": "т",
- "⌕": "⌕",
- "𝔱": "𝔱",
- "θ": "θ",
- "ϑ": "ϑ",
- "þ": "þ",
- "×": "×",
- "⨱": "⨱",
- "⨰": "⨰",
- "⌶": "⌶",
- "⫱": "⫱",
- "𝕥": "𝕥",
- "⫚": "⫚",
- "‴": "‴",
- "▵": "▵",
- "≜": "≜",
- "◬": "◬",
- "⨺": "⨺",
- "⨹": "⨹",
- "⧍": "⧍",
- "⨻": "⨻",
- "⏢": "⏢",
- "𝓉": "𝓉",
- "ц": "ц",
- "ћ": "ћ",
- "ŧ": "ŧ",
- "⥣": "⥣",
- "ú": "ú",
- "ў": "ў",
- "ŭ": "ŭ",
- "û": "û",
- "у": "у",
- "ű": "ű",
- "⥾": "⥾",
- "𝔲": "𝔲",
- "ù": "ù",
- "▀": "▀",
- "⌜": "⌜",
- "⌏": "⌏",
- "◸": "◸",
- "ū": "ū",
- "ų": "ų",
- "𝕦": "𝕦",
- "υ": "υ",
- "⇈": "⇈",
- "⌝": "⌝",
- "⌎": "⌎",
- "ů": "ů",
- "◹": "◹",
- "𝓊": "𝓊",
- "⋰": "⋰",
- "ũ": "ũ",
- "ü": "ü",
- "⦧": "⦧",
- "⫨": "⫨",
- "⫩": "⫩",
- "⦜": "⦜",
- "⊊︀": "⊊︀",
- "⫋︀": "⫋︀",
- "⊋︀": "⊋︀",
- "⫌︀": "⫌︀",
- "в": "в",
- "⊻": "⊻",
- "≚": "≚",
- "⋮": "⋮",
- "𝔳": "𝔳",
- "𝕧": "𝕧",
- "𝓋": "𝓋",
- "⦚": "⦚",
- "ŵ": "ŵ",
- "⩟": "⩟",
- "≙": "≙",
- "℘": "℘",
- "𝔴": "𝔴",
- "𝕨": "𝕨",
- "𝓌": "𝓌",
- "𝔵": "𝔵",
- "ξ": "ξ",
- "⋻": "⋻",
- "𝕩": "𝕩",
- "𝓍": "𝓍",
- "ý": "ý",
- "я": "я",
- "ŷ": "ŷ",
- "ы": "ы",
- "¥": "¥",
- "𝔶": "𝔶",
- "ї": "ї",
- "𝕪": "𝕪",
- "𝓎": "𝓎",
- "ю": "ю",
- "ÿ": "ÿ",
- "ź": "ź",
- "ž": "ž",
- "з": "з",
- "ż": "ż",
- "ζ": "ζ",
- "𝔷": "𝔷",
- "ж": "ж",
- "⇝": "⇝",
- "𝕫": "𝕫",
- "𝓏": "𝓏",
- "": "",
- "": ""
- }
- }
-};
-
-/***/ }),
-
-/***/ "./node_modules/html-entities/lib/numeric-unicode-map.js":
-/*!***************************************************************!*\
- !*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***!
- \***************************************************************/
-/***/ ((__unused_webpack_module, exports) => {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-exports.numericUnicodeMap = {
- 0: 65533,
- 128: 8364,
- 130: 8218,
- 131: 402,
- 132: 8222,
- 133: 8230,
- 134: 8224,
- 135: 8225,
- 136: 710,
- 137: 8240,
- 138: 352,
- 139: 8249,
- 140: 338,
- 142: 381,
- 145: 8216,
- 146: 8217,
- 147: 8220,
- 148: 8221,
- 149: 8226,
- 150: 8211,
- 151: 8212,
- 152: 732,
- 153: 8482,
- 154: 353,
- 155: 8250,
- 156: 339,
- 158: 382,
- 159: 376
-};
-
-/***/ }),
-
-/***/ "./node_modules/html-entities/lib/surrogate-pairs.js":
-/*!***********************************************************!*\
- !*** ./node_modules/html-entities/lib/surrogate-pairs.js ***!
- \***********************************************************/
-/***/ ((__unused_webpack_module, exports) => {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-
-exports.fromCodePoint = String.fromCodePoint || function (astralCodePoint) {
- return String.fromCharCode(Math.floor((astralCodePoint - 65536) / 1024) + 55296, (astralCodePoint - 65536) % 1024 + 56320);
-};
-
-exports.getCodePoint = String.prototype.codePointAt ? function (input, position) {
- return input.codePointAt(position);
-} : function (input, position) {
- return (input.charCodeAt(position) - 55296) * 1024 + input.charCodeAt(position + 1) - 56320 + 65536;
-};
-exports.highSurrogateFrom = 55296;
-exports.highSurrogateTo = 56319;
-
-/***/ }),
-
-/***/ "./node_modules/react-dom/cjs/react-dom.development.js":
-/*!*************************************************************!*\
- !*** ./node_modules/react-dom/cjs/react-dom.development.js ***!
- \*************************************************************/
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-
-"use strict";
-/**
- * @license React
- * react-dom.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-
-if (true) {
- (function () {
- 'use strict';
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
-
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === 'function') {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
- }
-
- var React = __webpack_require__(/*! react */ "./node_modules/react/index.js");
-
- var Scheduler = __webpack_require__(/*! scheduler */ "./node_modules/scheduler/index.js");
-
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
- var suppressWarning = false;
-
- function setSuppressWarning(newSuppressWarning) {
- {
- suppressWarning = newSuppressWarning;
- }
- } // In DEV, calls to console.warn and console.error get replaced
- // by calls to these methods by a Babel plugin.
- //
- // In PROD (or in packages without access to React internals),
- // they are left as they are instead.
-
-
- function warn(format) {
- {
- if (!suppressWarning) {
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- printWarning('warn', format, args);
- }
- }
- }
-
- function error(format) {
- {
- if (!suppressWarning) {
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- args[_key2 - 1] = arguments[_key2];
- }
-
- printWarning('error', format, args);
- }
- }
- }
-
- function printWarning(level, format, args) {
- // When changing this logic, you might want to also
- // update consoleWithStackDev.www.js as well.
- {
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
- var stack = ReactDebugCurrentFrame.getStackAddendum();
-
- if (stack !== '') {
- format += '%s';
- args = args.concat([stack]);
- } // eslint-disable-next-line react-internal/safe-string-coercion
-
-
- var argsWithFormat = args.map(function (item) {
- return String(item);
- }); // Careful: RN currently depends on this prefix
-
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
- // breaks IE9: https://github.com/facebook/react/issues/13610
- // eslint-disable-next-line react-internal/no-production-logging
-
- Function.prototype.apply.call(console[level], console, argsWithFormat);
- }
- }
-
- var FunctionComponent = 0;
- var ClassComponent = 1;
- var IndeterminateComponent = 2; // Before we know whether it is function or class
-
- var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
-
- var HostPortal = 4; // A subtree. Could be an entry point to a different renderer.
-
- var HostComponent = 5;
- var HostText = 6;
- var Fragment = 7;
- var Mode = 8;
- var ContextConsumer = 9;
- var ContextProvider = 10;
- var ForwardRef = 11;
- var Profiler = 12;
- var SuspenseComponent = 13;
- var MemoComponent = 14;
- var SimpleMemoComponent = 15;
- var LazyComponent = 16;
- var IncompleteClassComponent = 17;
- var DehydratedFragment = 18;
- var SuspenseListComponent = 19;
- var ScopeComponent = 21;
- var OffscreenComponent = 22;
- var LegacyHiddenComponent = 23;
- var CacheComponent = 24;
- var TracingMarkerComponent = 25; // -----------------------------------------------------------------------------
-
- var enableClientRenderFallbackOnTextMismatch = true; // TODO: Need to review this code one more time before landing
- // the react-reconciler package.
-
- var enableNewReconciler = false; // Support legacy Primer support on internal FB www
-
- var enableLazyContextPropagation = false; // FB-only usage. The new API has different semantics.
-
- var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
-
- var enableSuspenseAvoidThisFallback = false; // Enables unstable_avoidThisFallback feature in Fizz
- // React DOM Chopping Block
- //
- // Similar to main Chopping Block but only flags related to React DOM. These are
- // grouped because we will likely batch all of them into a single major release.
- // -----------------------------------------------------------------------------
- // Disable support for comment nodes as React DOM containers. Already disabled
- // in open source, but www codebase still relies on it. Need to remove.
-
- var disableCommentsAsDOMContainers = true; // Disable javascript: URL strings in href for XSS protection.
- // and client rendering, mostly to allow JSX attributes to apply to the custom
- // element's object properties instead of only HTML attributes.
- // https://github.com/facebook/react/issues/11347
-
- var enableCustomElementPropertySupport = false; // Disables children for