@seamly/web-ui 22.3.0-beta.1 → 22.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/lib/components.js +342 -314
- package/build/dist/lib/components.js.map +1 -1
- package/build/dist/lib/components.min.js +1 -1
- package/build/dist/lib/components.min.js.map +1 -1
- package/build/dist/lib/hooks.js +312 -297
- package/build/dist/lib/hooks.js.map +1 -1
- package/build/dist/lib/hooks.min.js +1 -1
- package/build/dist/lib/hooks.min.js.map +1 -1
- package/build/dist/lib/index.debug.js +192 -120
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.LICENSE.txt +4 -4
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +433 -250
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/standalone.js +849 -262
- package/build/dist/lib/standalone.js.map +1 -1
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.map +1 -1
- package/build/dist/lib/storage.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +293 -248
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/build/dist/lib/styles-default-implementation.css +1 -1
- package/build/dist/lib/styles.css +1 -1
- package/build/dist/lib/utils.js +381 -341
- package/build/dist/lib/utils.js.map +1 -1
- package/build/dist/lib/utils.min.js +1 -1
- package/build/dist/lib/utils.min.js.map +1 -1
- package/package.json +1 -1
- package/src/javascripts/api/conversation-connector.ts +6 -9
- package/src/javascripts/domains/translations/components/options-dialog/translation-option.tsx +1 -1
- package/src/javascripts/style-guide/states.js +8 -0
- package/src/javascripts/ui/components/chat-status/chat-status-action.tsx +2 -2
- package/src/javascripts/ui/components/conversation/event/carousel-component/components/controls.js +2 -2
- package/src/javascripts/ui/components/conversation/event/choice-prompt.js +1 -1
- package/src/javascripts/ui/components/conversation/event/image-lightbox.js +1 -1
- package/src/javascripts/ui/components/conversation/event-divider.js +6 -1
- package/src/javascripts/ui/components/core/seamly-event-subscriber.ts +20 -15
- package/src/javascripts/ui/components/form-controls/error.js +1 -1
- package/src/javascripts/ui/components/form-controls/file-input.js +1 -1
- package/src/javascripts/ui/components/layout/agent-info.js +1 -1
- package/src/javascripts/ui/components/layout/{icon.js → icon.tsx} +74 -37
- package/src/javascripts/ui/components/options/options-button.js +1 -1
- package/src/javascripts/ui/components/suggestions/suggestions-item.js +1 -1
- package/src/javascripts/ui/components/view/window-view/window-open-button.js +1 -1
- package/src/javascripts/ui/components/widgets/lightbox.js +1 -1
- package/src/stylesheets/5-components/_message-card.scss +4 -3
package/build/dist/lib/hooks.js
CHANGED
|
@@ -6693,7 +6693,7 @@ function randomId() {
|
|
|
6693
6693
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
6694
6694
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
6695
6695
|
/* harmony import */ var ui_components_conversation_message_container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2480);
|
|
6696
|
-
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
6696
|
+
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2398);
|
|
6697
6697
|
/* harmony import */ var ui_hooks_seamly_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9470);
|
|
6698
6698
|
/* harmony import */ var ui_utils_seamly_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1149);
|
|
6699
6699
|
/* harmony import */ var domains_i18n_hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5962);
|
|
@@ -6816,7 +6816,8 @@ const ChoicePrompt = ({
|
|
|
6816
6816
|
"aria-describedby": descriptorId,
|
|
6817
6817
|
children: [showOptions ? t('message.choicePrompts.cancelChooseAgain') : t('message.choicePrompts.chooseAgain'), _jsx(Icon, {
|
|
6818
6818
|
name: "chevronDown",
|
|
6819
|
-
size: "8"
|
|
6819
|
+
size: "8",
|
|
6820
|
+
alt: ""
|
|
6820
6821
|
})]
|
|
6821
6822
|
}), showOptions && _jsx(MessageContainer, {
|
|
6822
6823
|
type: "choice-prompt",
|
|
@@ -7022,140 +7023,6 @@ const SeamlyLiveRegionContext = (0,preact__WEBPACK_IMPORTED_MODULE_0__.createCon
|
|
|
7022
7023
|
|
|
7023
7024
|
/***/ }),
|
|
7024
7025
|
|
|
7025
|
-
/***/ 9016:
|
|
7026
|
-
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
// UNUSED EXPORTS: default
|
|
7030
|
-
|
|
7031
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
7032
|
-
/* harmony default export */ const avatar_bot_32 = ("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 32 32\" enable-background=\"new 0 0 32 32\" xml:space=\"preserve\">\n<path fill=\"#4A48C1\" d=\"M10,14.8c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S11.1,14.8,10,14.8z M15.9,14.8c1.1,0,2-0.9,2-2s-0.9-2-2-2\n\ts-2,0.9-2,2S14.8,14.8,15.9,14.8z M21.8,10.8c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S22.9,10.8,21.8,10.8z M21.3,18.1H10.7\n\tC11.7,23.9,20.2,23.9,21.3,18.1z\"/>\n</svg>\n");
|
|
7033
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
7034
|
-
/* harmony default export */ const icon_arrow_left_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M13.6,8c0,0.6-0.4,1-1,1h-7l2.2,2.5c0.4,0.4,0.3,1-0.1,1.4c-0.2,0.2-0.4,0.2-0.7,0.2c-0.3,0-0.6-0.1-0.8-0.3\n\tL2.6,8.6c0,0-0.1-0.1-0.1-0.2c0,0-0.1-0.1-0.1-0.1c0-0.1-0.1-0.2-0.1-0.3c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.3,0.1-0.4\n\tc0,0,0.1-0.1,0.1-0.1c0-0.1,0.1-0.1,0.1-0.2l3.7-4.1c0.4-0.4,1-0.4,1.4-0.1c0.4,0.4,0.4,1,0.1,1.4L5.6,7h7C13.2,7,13.6,7.4,13.6,8z\"\n\t/>\n</svg>\n");
|
|
7035
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
7036
|
-
/* harmony default export */ const icon_arrow_right_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M2.4,8.1c0-0.6,0.4-1,1-1h7L8.1,4.5c-0.4-0.4-0.3-1,0.1-1.4c0.2-0.2,0.4-0.2,0.7-0.2c0.3,0,0.6,0.1,0.8,0.3\n\tl3.7,4.2c0,0,0.1,0.1,0.1,0.2c0,0,0.1,0.1,0.1,0.1c0,0.1,0.1,0.2,0.1,0.3c0,0,0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4\n\tc0,0-0.1,0.1-0.1,0.1c0,0.1-0.1,0.1-0.1,0.2l-3.7,4.1c-0.4,0.4-1,0.4-1.4,0.1c-0.4-0.4-0.4-1-0.1-1.4l2.2-2.4h-7\n\tC2.8,9.1,2.4,8.6,2.4,8.1z\"/>\n</svg>\n");
|
|
7037
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
7038
|
-
/* harmony default export */ const icon_balloon_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,10.824v10.375c0,1.104-0.896,2-2,2h-4.694l-4.931,3.625v-3.625H10c-1.104,0-2-0.896-2-2V10.824\tc0-1.104,0.896-2,2-2h12C23.104,8.824,24,9.719,24,10.824z\"/></svg>");
|
|
7039
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
7040
|
-
/* harmony default export */ const icon_check_16 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16px\"\n height=\"16px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n>\n <path\n fill=\"currentColor\"\n d=\"M11.6,4.3l-5,5L4.9,7.5C4.4,7,3.7,7,3.2,7.5l0,0C2.8,8,2.8,8.7,3.2,9.2l1.7,1.7l0,0l0.8,0.8\n\tc0.5,0.5,1.2,0.5,1.7,0l0.8-0.8l5-5c0.5-0.5,0.5-1.2,0-1.7l0,0C12.8,3.8,12.1,3.8,11.6,4.3z\"\n />\n</svg>\n");
|
|
7041
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
7042
|
-
/* harmony default export */ const icon_check_32 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 32 32\"\n>\n <path\n fill=\"currentColor\"\n d=\"M22.9,9.3l-9.3,9.3l-3.2-3.2c-0.9-0.9-2.3-0.9-3.2,0l0,0c-0.9,0.9-0.9,2.3,0,3.2l3.2,3.2l0,0l1.6,1.6\n\tc0.9,0.9,2.3,0.9,3.2,0l1.6-1.6l9.3-9.3c0.9-0.9,0.9-2.3,0-3.2l0,0C25.2,8.4,23.7,8.4,22.9,9.3z\"\n />\n</svg>\n");
|
|
7043
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
7044
|
-
/* harmony default export */ const icon_chevron_down_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M-0.001,2.876c0-0.247,0.091-0.494,0.273-0.688c0.38-0.401,1.013-0.418,1.414-0.039l1.938,1.834\tc0.199,0.188,0.547,0.188,0.746,0L6.31,2.15c0.401-0.379,1.034-0.362,1.414,0.04c0.379,0.401,0.361,1.034-0.04,1.414L5.745,5.437\tC4.782,6.35,3.213,6.35,2.249,5.436L0.311,3.603C0.103,3.406-0.001,3.142-0.001,2.876z\"/></svg>");
|
|
7045
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
7046
|
-
/* harmony default export */ const icon_chevron_down_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M16,20.425c-0.782,0-1.563-0.291-2.159-0.874l-6.541-6.408c-0.395-0.387-0.401-1.02-0.015-1.414\tc0.387-0.394,1.021-0.4,1.414-0.015l6.541,6.408c0.42,0.409,1.102,0.409,1.52-0.001l6.541-6.407c0.396-0.386,1.028-0.38,1.414,0.015\tc0.387,0.395,0.381,1.027-0.014,1.414l-6.541,6.407C17.563,20.133,16.782,20.425,16,20.425z\"/></svg>");
|
|
7047
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
7048
|
-
/* harmony default export */ const icon_chevron_right_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M2.875,7.998c-0.247,0-0.494-0.091-0.688-0.273c-0.401-0.38-0.418-1.013-0.039-1.414l1.834-1.938\tc0.188-0.199,0.188-0.547,0-0.746l-1.835-1.94c-0.379-0.401-0.362-1.034,0.04-1.414s1.034-0.361,1.414,0.04l1.834,1.939\tc0.913,0.963,0.913,2.532-0.001,3.496L3.601,7.686C3.405,7.894,3.14,7.998,2.875,7.998z\"/></svg>");
|
|
7049
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
7050
|
-
/* harmony default export */ const icon_chevron_right_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M6.5,13c-0.247,0-0.494-0.091-0.687-0.273c-0.401-0.38-0.419-1.013-0.04-1.414L8.22,8.727\tc0.373-0.394,0.373-1.06,0-1.454L5.773,4.687c-0.379-0.401-0.362-1.034,0.04-1.414c0.4-0.378,1.034-0.362,1.414,0.04l2.446,2.586\tc1.096,1.159,1.096,3.043,0,4.203l-2.446,2.586C7.03,12.896,6.765,13,6.5,13z\"/></svg>");
|
|
7051
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
7052
|
-
/* harmony default export */ const icon_close_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M7.705,7.729C7.511,7.923,7.255,8.02,7,8.02c-0.257,0-0.514-0.099-0.709-0.295L4,5.423L1.709,7.725\tC1.513,7.921,1.257,8.02,1,8.02c-0.255,0-0.51-0.097-0.706-0.291c-0.391-0.39-0.393-1.022-0.003-1.414l2.298-2.309l-2.27-2.28\tC-0.07,1.334-0.068,0.701,0.323,0.311c0.392-0.389,1.024-0.387,1.415,0.003L4,2.587l2.263-2.274C6.653-0.077,7.287-0.079,7.677,0.31\tC8.068,0.7,8.07,1.333,7.681,1.725l-2.27,2.281l2.298,2.309C8.099,6.705,8.097,7.339,7.705,7.729z\"/></svg>");
|
|
7053
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
7054
|
-
/* harmony default export */ const icon_close_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M12.709,11.295L9.411,7.982l3.262-3.276c0.39-0.392,0.388-1.024-0.004-1.414\tc-0.39-0.39-1.023-0.388-1.414,0.003L8,6.564L4.746,3.295C4.357,2.904,3.724,2.903,3.332,3.292C2.94,3.682,2.939,4.315,3.329,4.707\tl3.261,3.275l-3.298,3.313c-0.39,0.391-0.388,1.024,0.003,1.414C3.49,12.903,3.745,13,4,13c0.257,0,0.513-0.099,0.708-0.295L8,9.399\tl3.291,3.306C11.486,12.901,11.743,13,12,13c0.255,0,0.511-0.097,0.705-0.291C13.097,12.319,13.099,11.686,12.709,11.295z\"/></svg>");
|
|
7055
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
7056
|
-
/* harmony default export */ const icon_download_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#FFF\" d=\"M3.175,7.726c-0.413-0.367-0.45-0.999-0.083-1.412c0.367-0.413,0.999-0.45,1.412-0.083L7,8.45V1.5\tc0-0.552,0.448-1,1-1c0.553,0,1,0.448,1,1v6.95l2.496-2.219c0.412-0.367,1.044-0.331,1.411,0.083\tc0.367,0.413,0.33,1.045-0.083,1.412l-4.16,3.698c-0.047,0.041-0.103,0.062-0.154,0.094c-0.047,0.028-0.089,0.064-0.141,0.085\tC8.25,11.649,8.125,11.677,8,11.677c-0.126,0-0.25-0.027-0.369-0.074c-0.05-0.021-0.09-0.055-0.136-0.083\tc-0.053-0.031-0.111-0.053-0.159-0.096L3.175,7.726z M12.018,13.5H3.983c-0.552,0-1,0.447-1,1s0.448,1,1,1h8.035\tc0.553,0,1-0.447,1-1S12.57,13.5,12.018,13.5z\"/></svg>");
|
|
7057
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
7058
|
-
/* harmony default export */ const icon_enlarge_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,9v6.5c0,0.552-0.447,1-1,1s-1-0.448-1-1v-4.086L11.414,22H15.5c0.552,0,1,0.447,1,1s-0.448,1-1,1H9\tc-0.13,0-0.26-0.026-0.382-0.077c-0.245-0.102-0.439-0.296-0.541-0.541C8.026,23.26,8,23.13,8,23v-6.5c0-0.552,0.448-1,1-1\ts1,0.448,1,1v4.085L20.586,10H16.5c-0.552,0-1-0.448-1-1s0.448-1,1-1H23c0.13,0,0.26,0.026,0.382,0.077\tc0.245,0.102,0.439,0.296,0.541,0.541C23.974,8.74,24,8.87,24,9z\"/></svg>");
|
|
7059
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
7060
|
-
/* harmony default export */ const icon_error_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#ad001f\" d=\"M15.744,13.104L9.097,1.47c-0.604-1.055-1.59-1.055-2.193,0L0.256,13.104\tc-0.604,1.056-0.102,1.919,1.113,1.919H14.63C15.847,15.022,16.348,14.159,15.744,13.104z M7,5.045c0-0.552,0.448-1,1-1s1,0.448,1,1\tv3.656c0,0.552-0.448,1-1,1s-1-0.448-1-1V5.045z M8,13.212c-0.748,0-1.354-0.607-1.354-1.354c0-0.748,0.606-1.354,1.354-1.354\ts1.354,0.606,1.354,1.354C9.354,12.604,8.748,13.212,8,13.212z\"/></svg>");
|
|
7061
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
7062
|
-
/* harmony default export */ const icon_file_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" x=\"0px\" y=\"0px\" version=\"1.1\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,28.5c-3.6,0-6.5-3-6.5-6.6V9.6c0-0.6,0.4-1,1-1s1,0.4,1,1v12.3c0,2.5,2,4.6,4.5,4.6\tc2.5,0,4.5-2.1,4.5-4.6V8.3c0-1.5-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.3-2.7,2.8v13.5c0,0.6,0.5,1.1,1,1.1c0.6,0,1-0.5,1-1.1v-10\tc0-0.6,0.4-1,1-1s1,0.4,1,1v10c0,1.7-1.4,3.1-3,3.1s-3-1.4-3-3.1V8.3c0-2.6,2.1-4.8,4.7-4.8c2.6,0,4.7,2.2,4.7,4.8v13.6\tC22.5,25.5,19.6,28.5,16,28.5z\"/></svg>");
|
|
7063
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
7064
|
-
/* harmony default export */ const icon_newtopic_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,8.593l2.407,4.573l5.093,0.876l-3.604,3.702l0.74,5.115L16,20.574l-4.634,2.285l0.739-5.115L8.5,14.042\tl5.094-0.876L16,8.593z\"/></svg>");
|
|
7065
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
7066
|
-
/* harmony default export */ const icon_newtranslation_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><path fill=\"#4A48C1\" d=\"M8,0C3.6,0,0,3.6,0,8s3.6,8,8,8s8-3.6,8-8S12.4,0,8,0z M14.1,7.1h-1.4c-0.1-1.5-0.4-2.9-1-4\tC13,4,13.9,5.4,14.1,7.1z M7.1,2.1v5H5C5.2,4.7,6.1,2.9,7.1,2.1z M7.1,8.9v5c-1-0.7-1.9-2.5-2.1-5H7.1z M8.9,13.9v-5H11\tC10.8,11.3,9.9,13.2,8.9,13.9z M8.9,7.1v-5c1,0.7,1.9,2.5,2.1,5H8.9z M4.2,3.1c-0.5,1.1-0.9,2.5-1,4H1.9C2.1,5.4,3,4,4.2,3.1z M1.9,8.9h1.4c0.1,1.5,0.4,2.9,1,4C3,12,2.1,10.5,1.9,8.9z M11.8,12.9c0.5-1.1,0.9-2.5,1-4h1.4C13.9,10.5,13,12,11.8,12.9z\"/></svg>");
|
|
7067
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
7068
|
-
/* harmony default export */ const icon_newtranslation_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,7c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4.1,9-9S20.9,7,16,7z M22.9,15h-1.6c-0.1-1.7-0.5-3.3-1.1-4.5\tC21.6,11.5,22.6,13.1,22.9,15z M15,9.4V15h-2.3C12.9,12.3,13.9,10.2,15,9.4z M15,17v5.6c-1.1-0.8-2.1-2.9-2.3-5.6H15z M17,22.6V17\th2.3C19.1,19.8,18.1,21.8,17,22.6z M17,15V9.4c1.1,0.8,2.1,2.9,2.3,5.6H17z M11.8,10.4c-0.6,1.3-1,2.8-1.1,4.5H9.1\tC9.4,13.1,10.4,11.5,11.8,10.4z M9.1,17h1.6c0.1,1.7,0.5,3.3,1.1,4.5C10.4,20.5,9.4,18.9,9.1,17z M20.2,21.5c0.6-1.3,1-2.8,1.1-4.5\th1.6C22.6,18.8,21.6,20.5,20.2,21.5z\"/></svg>");
|
|
7069
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
7070
|
-
/* harmony default export */ const icon_options_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M26.1,21.383c0.334-0.625,0.602-1.279,0.812-1.949L32,18.609V13.51l-5.058-0.846\tc-0.208-0.67-0.468-1.325-0.795-1.956l3.009-4.145l-3.604-3.634L21.38,5.903c-0.626-0.333-1.276-0.602-1.948-0.81L18.609,0\tl-5.098,0.001l-0.847,5.061c-0.669,0.203-1.326,0.465-1.957,0.794L6.562,2.847L2.929,6.449l2.973,4.171\tC5.569,11.247,5.3,11.9,5.091,12.569L0,13.373v5.099l5.06,0.866c0.204,0.669,0.467,1.324,0.796,1.955l-3.009,4.146l3.601,3.635\tl4.171-2.975c0.627,0.335,1.282,0.603,1.951,0.811L13.372,32h5.118l0.849-5.057c0.668-0.207,1.323-0.469,1.953-0.795l4.144,3.01\tl3.639-3.604L26.1,21.383z M19.01,19.035c-1.675,1.663-4.381,1.652-6.041-0.025c-1.662-1.675-1.649-4.381,0.024-6.042\tc1.676-1.661,4.382-1.648,6.043,0.025C20.699,14.67,20.686,17.377,19.01,19.035z\"/></svg>");
|
|
7071
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
7072
|
-
/* harmony default export */ const icon_send_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M6.714,14.985l17.837-7.906c0.681-0.302,1.414,0.301,1.25,1.027L22.273,23.59\tc-0.13,0.566-0.751,0.865-1.275,0.613l-3.623-1.752l-2.334,2.287c-0.572,0.562-1.538,0.156-1.538-0.645V21.01\tc0-0.217,0.078-0.43,0.222-0.594l7.676-8.841l-10.414,7.472l-4.351-2.445C5.987,16.236,6.033,15.287,6.714,14.985L6.714,14.985z\"/></svg>");
|
|
7073
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
7074
|
-
/* harmony default export */ const icon_upload_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M9.488,13.481c-0.391-0.391-0.391-1.023,0-1.414l5.805-5.805c0.026-0.026,0.06-0.036,0.088-0.058\tc0.073-0.06,0.146-0.119,0.235-0.156c0.246-0.103,0.522-0.103,0.769,0c0.093,0.039,0.171,0.101,0.249,0.165\tc0.023,0.02,0.053,0.027,0.074,0.049l5.805,5.805c0.391,0.391,0.391,1.023,0,1.414c-0.195,0.195-0.451,0.293-0.707,0.293\ts-0.512-0.098-0.707-0.293L17,9.383V20.33c0,0.553-0.447,1-1,1c-0.552,0-1-0.447-1-1V9.383l-4.098,4.098\tC10.512,13.872,9.879,13.872,9.488,13.481z M22.819,24.031H9.181c-0.552,0-1,0.447-1,1s0.448,1,1,1h13.639c0.553,0,1-0.447,1-1\tS23.372,24.031,22.819,24.031z\"/></svg>");
|
|
7075
|
-
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
7076
|
-
var css = __webpack_require__(2);
|
|
7077
|
-
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
7078
|
-
var jsx_runtime_ = __webpack_require__(7844);
|
|
7079
|
-
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.js
|
|
7080
|
-
/* eslint-disable import/no-webpack-loader-syntax */
|
|
7081
|
-
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
7082
|
-
// this can again be changed when we can import pre-built packages in implementations
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
/* eslint-enable import/no-webpack-loader-syntax */
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
const ICONS = {
|
|
7112
|
-
send32: icon_send_32,
|
|
7113
|
-
balloon32: icon_balloon_32,
|
|
7114
|
-
newTopic32: icon_newtopic_32,
|
|
7115
|
-
newTranslation16: icon_newtranslation_16,
|
|
7116
|
-
newTranslation32: icon_newtranslation_32,
|
|
7117
|
-
avatar32: avatar_bot_32,
|
|
7118
|
-
chevronDown8: icon_chevron_down_8,
|
|
7119
|
-
chevronDown32: icon_chevron_down_32,
|
|
7120
|
-
chevronRight8: icon_chevron_right_8,
|
|
7121
|
-
chevronRight16: icon_chevron_right_16,
|
|
7122
|
-
close8: icon_close_8,
|
|
7123
|
-
close16: icon_close_16,
|
|
7124
|
-
enlarge32: icon_enlarge_32,
|
|
7125
|
-
options32: icon_options_32,
|
|
7126
|
-
file32: icon_file_32,
|
|
7127
|
-
upload32: icon_upload_32,
|
|
7128
|
-
download16: icon_download_16,
|
|
7129
|
-
error16: icon_error_16,
|
|
7130
|
-
arrowLeft16: icon_arrow_left_16,
|
|
7131
|
-
arrowRight16: icon_arrow_right_16,
|
|
7132
|
-
check32: icon_check_32,
|
|
7133
|
-
check16: icon_check_16
|
|
7134
|
-
};
|
|
7135
|
-
const Icon = ({
|
|
7136
|
-
name,
|
|
7137
|
-
size = '32',
|
|
7138
|
-
className = undefined,
|
|
7139
|
-
alt
|
|
7140
|
-
}) => {
|
|
7141
|
-
const iconName = `${name}${size}`;
|
|
7142
|
-
return _jsxs(_Fragment, {
|
|
7143
|
-
children: [_jsx("div", {
|
|
7144
|
-
"aria-hidden": "true",
|
|
7145
|
-
className: className || classNameFn('icon'),
|
|
7146
|
-
dangerouslySetInnerHTML: {
|
|
7147
|
-
__html: ICONS[iconName]
|
|
7148
|
-
}
|
|
7149
|
-
}), alt && _jsx("span", {
|
|
7150
|
-
className: classNameFn('visually-hidden'),
|
|
7151
|
-
children: alt
|
|
7152
|
-
})]
|
|
7153
|
-
});
|
|
7154
|
-
};
|
|
7155
|
-
/* harmony default export */ const icon = ((/* unused pure expression or super */ null && (Icon)));
|
|
7156
|
-
|
|
7157
|
-
/***/ }),
|
|
7158
|
-
|
|
7159
7026
|
/***/ 7054:
|
|
7160
7027
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7161
7028
|
|
|
@@ -8292,32 +8159,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8292
8159
|
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
8293
8160
|
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
8294
8161
|
/* harmony export */ PureComponent: () => (/* binding */ w),
|
|
8295
|
-
/* harmony export */ StrictMode: () => (/* binding */
|
|
8296
|
-
/* harmony export */ Suspense: () => (/* binding */
|
|
8162
|
+
/* harmony export */ StrictMode: () => (/* binding */ yn),
|
|
8163
|
+
/* harmony export */ Suspense: () => (/* binding */ U),
|
|
8297
8164
|
/* harmony export */ SuspenseList: () => (/* binding */ V),
|
|
8298
8165
|
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ ln),
|
|
8299
|
-
/* harmony export */ cloneElement: () => (/* binding */
|
|
8166
|
+
/* harmony export */ cloneElement: () => (/* binding */ hn),
|
|
8300
8167
|
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
8301
8168
|
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
8302
8169
|
/* harmony export */ createFactory: () => (/* binding */ fn),
|
|
8303
8170
|
/* harmony export */ createPortal: () => (/* binding */ z),
|
|
8304
8171
|
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
8305
|
-
/* harmony export */ "default": () => (/* binding */
|
|
8306
|
-
/* harmony export */ findDOMNode: () => (/* binding */
|
|
8307
|
-
/* harmony export */ flushSync: () => (/* binding */
|
|
8172
|
+
/* harmony export */ "default": () => (/* binding */ wn),
|
|
8173
|
+
/* harmony export */ findDOMNode: () => (/* binding */ dn),
|
|
8174
|
+
/* harmony export */ flushSync: () => (/* binding */ mn),
|
|
8308
8175
|
/* harmony export */ forwardRef: () => (/* binding */ k),
|
|
8309
8176
|
/* harmony export */ hydrate: () => (/* binding */ J),
|
|
8177
|
+
/* harmony export */ isElement: () => (/* binding */ Cn),
|
|
8178
|
+
/* harmony export */ isFragment: () => (/* binding */ sn),
|
|
8310
8179
|
/* harmony export */ isValidElement: () => (/* binding */ an),
|
|
8311
8180
|
/* harmony export */ lazy: () => (/* binding */ M),
|
|
8312
8181
|
/* harmony export */ memo: () => (/* binding */ x),
|
|
8313
8182
|
/* harmony export */ render: () => (/* binding */ G),
|
|
8314
|
-
/* harmony export */ startTransition: () => (/* binding */
|
|
8315
|
-
/* harmony export */ unmountComponentAtNode: () => (/* binding */
|
|
8316
|
-
/* harmony export */ unstable_batchedUpdates: () => (/* binding */
|
|
8317
|
-
/* harmony export */ useDeferredValue: () => (/* binding */
|
|
8318
|
-
/* harmony export */ useInsertionEffect: () => (/* binding */
|
|
8319
|
-
/* harmony export */ useSyncExternalStore: () => (/* binding */
|
|
8320
|
-
/* harmony export */ useTransition: () => (/* binding */
|
|
8183
|
+
/* harmony export */ startTransition: () => (/* binding */ _n),
|
|
8184
|
+
/* harmony export */ unmountComponentAtNode: () => (/* binding */ vn),
|
|
8185
|
+
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ pn),
|
|
8186
|
+
/* harmony export */ useDeferredValue: () => (/* binding */ bn),
|
|
8187
|
+
/* harmony export */ useInsertionEffect: () => (/* binding */ gn),
|
|
8188
|
+
/* harmony export */ useSyncExternalStore: () => (/* binding */ En),
|
|
8189
|
+
/* harmony export */ useTransition: () => (/* binding */ Sn),
|
|
8321
8190
|
/* harmony export */ version: () => (/* binding */ cn)
|
|
8322
8191
|
/* harmony export */ });
|
|
8323
8192
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7210);
|
|
@@ -8325,9 +8194,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8325
8194
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
8326
8195
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
8327
8196
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8328
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
|
|
8197
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isElement","isFragment","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
|
|
8329
8198
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8330
|
-
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function hn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function gn(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var Cn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:gn,startTransition:yn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:hn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:sn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,findDOMNode:vn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
|
|
8199
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var F=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function I(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return I(n,t,e)})),n}function L(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function U(){this.__u=0,this.t=null,this.__b=null}function D(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),F&&F(n)},(U.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=D(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=L(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},U.prototype.componentWillUnmount=function(){this.t=[]},U.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=I(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=D(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function hn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function vn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function _n(n){n()}function bn(n){return n}function Sn(){return[!1,_n]}var gn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,Cn=an;function En(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var wn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:En,startTransition:_n,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:vn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:hn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,isElement:Cn,isFragment:sn,findDOMNode:dn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:U,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
|
|
8331
8200
|
//# sourceMappingURL=compat.module.js.map
|
|
8332
8201
|
|
|
8333
8202
|
|
|
@@ -8391,42 +8260,41 @@ var compat_module = __webpack_require__(8661);
|
|
|
8391
8260
|
var batch = __webpack_require__(9256);
|
|
8392
8261
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/Context.js
|
|
8393
8262
|
|
|
8394
|
-
const ContextKey = Symbol.for(`react-redux-context
|
|
8395
|
-
const gT = globalThis
|
|
8263
|
+
const ContextKey = Symbol.for(`react-redux-context`);
|
|
8264
|
+
const gT = typeof globalThis !== "undefined" ? globalThis :
|
|
8265
|
+
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
8266
|
+
{};
|
|
8396
8267
|
|
|
8397
8268
|
function getContext() {
|
|
8398
|
-
|
|
8269
|
+
var _gT$ContextKey;
|
|
8270
|
+
|
|
8271
|
+
if (!compat_module.createContext) return {};
|
|
8272
|
+
const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
|
|
8273
|
+
let realContext = contextMap.get(compat_module.createContext);
|
|
8399
8274
|
|
|
8400
8275
|
if (!realContext) {
|
|
8401
|
-
realContext =
|
|
8276
|
+
realContext = compat_module.createContext(null);
|
|
8402
8277
|
|
|
8403
8278
|
if (false) {}
|
|
8404
8279
|
|
|
8405
|
-
|
|
8280
|
+
contextMap.set(compat_module.createContext, realContext);
|
|
8406
8281
|
}
|
|
8407
8282
|
|
|
8408
8283
|
return realContext;
|
|
8409
8284
|
}
|
|
8410
8285
|
|
|
8411
|
-
const Context_ReactReduxContext = /*#__PURE__*/
|
|
8412
|
-
get(_, handler) {
|
|
8413
|
-
const target = getContext(); // @ts-ignore
|
|
8414
|
-
|
|
8415
|
-
return (_target, ...args) => Reflect[handler](target, ...args);
|
|
8416
|
-
}
|
|
8417
|
-
|
|
8418
|
-
}));
|
|
8286
|
+
const Context_ReactReduxContext = /*#__PURE__*/getContext();
|
|
8419
8287
|
/* harmony default export */ const Context = ((/* unused pure expression or super */ null && (Context_ReactReduxContext)));
|
|
8420
8288
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useReduxContext.js
|
|
8421
8289
|
|
|
8422
8290
|
|
|
8423
8291
|
|
|
8424
|
-
/**
|
|
8425
|
-
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8426
|
-
* hook that you should usually not need to call directly.
|
|
8427
|
-
*
|
|
8428
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8429
|
-
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8292
|
+
/**
|
|
8293
|
+
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8294
|
+
* hook that you should usually not need to call directly.
|
|
8295
|
+
*
|
|
8296
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8297
|
+
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8430
8298
|
*/
|
|
8431
8299
|
function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
8432
8300
|
return function useReduxContext() {
|
|
@@ -8437,21 +8305,21 @@ function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
|
8437
8305
|
return contextValue;
|
|
8438
8306
|
};
|
|
8439
8307
|
}
|
|
8440
|
-
/**
|
|
8441
|
-
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8442
|
-
* hook that you should usually not need to call directly.
|
|
8443
|
-
*
|
|
8444
|
-
* @returns {any} the value of the `ReactReduxContext`
|
|
8445
|
-
*
|
|
8446
|
-
* @example
|
|
8447
|
-
*
|
|
8448
|
-
* import React from 'react'
|
|
8449
|
-
* import { useReduxContext } from 'react-redux'
|
|
8450
|
-
*
|
|
8451
|
-
* export const CounterComponent = () => {
|
|
8452
|
-
* const { store } = useReduxContext()
|
|
8453
|
-
* return <div>{store.getState()}</div>
|
|
8454
|
-
* }
|
|
8308
|
+
/**
|
|
8309
|
+
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8310
|
+
* hook that you should usually not need to call directly.
|
|
8311
|
+
*
|
|
8312
|
+
* @returns {any} the value of the `ReactReduxContext`
|
|
8313
|
+
*
|
|
8314
|
+
* @example
|
|
8315
|
+
*
|
|
8316
|
+
* import React from 'react'
|
|
8317
|
+
* import { useReduxContext } from 'react-redux'
|
|
8318
|
+
*
|
|
8319
|
+
* export const CounterComponent = () => {
|
|
8320
|
+
* const { store } = useReduxContext()
|
|
8321
|
+
* return <div>{store.getState()}</div>
|
|
8322
|
+
* }
|
|
8455
8323
|
*/
|
|
8456
8324
|
|
|
8457
8325
|
const useReduxContext_useReduxContext = /*#__PURE__*/createReduxContextHook();
|
|
@@ -8470,11 +8338,11 @@ const initializeUseSelector = fn => {
|
|
|
8470
8338
|
};
|
|
8471
8339
|
|
|
8472
8340
|
const refEquality = (a, b) => a === b;
|
|
8473
|
-
/**
|
|
8474
|
-
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8475
|
-
*
|
|
8476
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8477
|
-
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8341
|
+
/**
|
|
8342
|
+
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8343
|
+
*
|
|
8344
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8345
|
+
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8478
8346
|
*/
|
|
8479
8347
|
|
|
8480
8348
|
|
|
@@ -8514,28 +8382,28 @@ function createSelectorHook(context = Context_ReactReduxContext) {
|
|
|
8514
8382
|
return selectedState;
|
|
8515
8383
|
};
|
|
8516
8384
|
}
|
|
8517
|
-
/**
|
|
8518
|
-
* A hook to access the redux store's state. This hook takes a selector function
|
|
8519
|
-
* as an argument. The selector is called with the store state.
|
|
8520
|
-
*
|
|
8521
|
-
* This hook takes an optional equality comparison function as the second parameter
|
|
8522
|
-
* that allows you to customize the way the selected state is compared to determine
|
|
8523
|
-
* whether the component needs to be re-rendered.
|
|
8524
|
-
*
|
|
8525
|
-
* @param {Function} selector the selector function
|
|
8526
|
-
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8527
|
-
*
|
|
8528
|
-
* @returns {any} the selected state
|
|
8529
|
-
*
|
|
8530
|
-
* @example
|
|
8531
|
-
*
|
|
8532
|
-
* import React from 'react'
|
|
8533
|
-
* import { useSelector } from 'react-redux'
|
|
8534
|
-
*
|
|
8535
|
-
* export const CounterComponent = () => {
|
|
8536
|
-
* const counter = useSelector(state => state.counter)
|
|
8537
|
-
* return <div>{counter}</div>
|
|
8538
|
-
* }
|
|
8385
|
+
/**
|
|
8386
|
+
* A hook to access the redux store's state. This hook takes a selector function
|
|
8387
|
+
* as an argument. The selector is called with the store state.
|
|
8388
|
+
*
|
|
8389
|
+
* This hook takes an optional equality comparison function as the second parameter
|
|
8390
|
+
* that allows you to customize the way the selected state is compared to determine
|
|
8391
|
+
* whether the component needs to be re-rendered.
|
|
8392
|
+
*
|
|
8393
|
+
* @param {Function} selector the selector function
|
|
8394
|
+
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8395
|
+
*
|
|
8396
|
+
* @returns {any} the selected state
|
|
8397
|
+
*
|
|
8398
|
+
* @example
|
|
8399
|
+
*
|
|
8400
|
+
* import React from 'react'
|
|
8401
|
+
* import { useSelector } from 'react-redux'
|
|
8402
|
+
*
|
|
8403
|
+
* export const CounterComponent = () => {
|
|
8404
|
+
* const counter = useSelector(state => state.counter)
|
|
8405
|
+
* return <div>{counter}</div>
|
|
8406
|
+
* }
|
|
8539
8407
|
*/
|
|
8540
8408
|
|
|
8541
8409
|
const useSelector = /*#__PURE__*/createSelectorHook();
|
|
@@ -8683,7 +8551,7 @@ function Subscription_createSubscription(store, parentSub) {
|
|
|
8683
8551
|
// Matches logic in React's `shared/ExecutionEnvironment` file
|
|
8684
8552
|
|
|
8685
8553
|
const canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
|
|
8686
|
-
const useIsomorphicLayoutEffect_useIsomorphicLayoutEffect =
|
|
8554
|
+
const useIsomorphicLayoutEffect_useIsomorphicLayoutEffect = canUseDOM ? compat_module.useLayoutEffect : compat_module.useEffect;
|
|
8687
8555
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/connect.js
|
|
8688
8556
|
|
|
8689
8557
|
|
|
@@ -8825,31 +8693,31 @@ const initStateUpdates = () => EMPTY_ARRAY;
|
|
|
8825
8693
|
function strictEqual(a, b) {
|
|
8826
8694
|
return a === b;
|
|
8827
8695
|
}
|
|
8828
|
-
/**
|
|
8829
|
-
* Infers the type of props that a connector will inject into a component.
|
|
8696
|
+
/**
|
|
8697
|
+
* Infers the type of props that a connector will inject into a component.
|
|
8830
8698
|
*/
|
|
8831
8699
|
|
|
8832
8700
|
|
|
8833
8701
|
let hasWarnedAboutDeprecatedPureOption = false;
|
|
8834
|
-
/**
|
|
8835
|
-
* Connects a React component to a Redux store.
|
|
8836
|
-
*
|
|
8837
|
-
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
8838
|
-
*
|
|
8839
|
-
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
8840
|
-
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
8841
|
-
* not a state or dispatch prop
|
|
8842
|
-
*
|
|
8843
|
-
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
8844
|
-
* should be valid component props, because it depends on mergeProps implementation.
|
|
8845
|
-
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
8846
|
-
* dispatch props or both when applicable
|
|
8847
|
-
*
|
|
8848
|
-
* @param mapStateToProps A function that extracts values from state
|
|
8849
|
-
* @param mapDispatchToProps Setup for dispatching actions
|
|
8850
|
-
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
8851
|
-
* @param options Options for configuring the connection
|
|
8852
|
-
*
|
|
8702
|
+
/**
|
|
8703
|
+
* Connects a React component to a Redux store.
|
|
8704
|
+
*
|
|
8705
|
+
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
8706
|
+
*
|
|
8707
|
+
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
8708
|
+
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
8709
|
+
* not a state or dispatch prop
|
|
8710
|
+
*
|
|
8711
|
+
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
8712
|
+
* should be valid component props, because it depends on mergeProps implementation.
|
|
8713
|
+
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
8714
|
+
* dispatch props or both when applicable
|
|
8715
|
+
*
|
|
8716
|
+
* @param mapStateToProps A function that extracts values from state
|
|
8717
|
+
* @param mapDispatchToProps Setup for dispatching actions
|
|
8718
|
+
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
8719
|
+
* @param options Options for configuring the connection
|
|
8720
|
+
*
|
|
8853
8721
|
*/
|
|
8854
8722
|
|
|
8855
8723
|
function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
@@ -8895,7 +8763,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8895
8763
|
};
|
|
8896
8764
|
|
|
8897
8765
|
function ConnectFunction(props) {
|
|
8898
|
-
const [propsContext, reactReduxForwardedRef, wrapperProps] = useMemo(() => {
|
|
8766
|
+
const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => {
|
|
8899
8767
|
// Distinguish between actual "data" props that were passed to the wrapper component,
|
|
8900
8768
|
// and values needed to control behavior (forwarded refs, alternate context instances).
|
|
8901
8769
|
// To maintain the wrapperProps object reference, memoize this destructuring.
|
|
@@ -8906,14 +8774,14 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8906
8774
|
|
|
8907
8775
|
return [props.context, reactReduxForwardedRef, wrapperProps];
|
|
8908
8776
|
}, [props]);
|
|
8909
|
-
const ContextToUse = useMemo(() => {
|
|
8777
|
+
const ContextToUse = React.useMemo(() => {
|
|
8910
8778
|
// Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
|
|
8911
8779
|
// Memoize the check that determines which context instance we should use.
|
|
8912
8780
|
return propsContext && propsContext.Consumer && // @ts-ignore
|
|
8913
8781
|
isContextConsumer( /*#__PURE__*/React.createElement(propsContext.Consumer, null)) ? propsContext : Context;
|
|
8914
8782
|
}, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
|
|
8915
8783
|
|
|
8916
|
-
const contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
8784
|
+
const contextValue = React.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
8917
8785
|
// We'll check to see if it _looks_ like a Redux store first.
|
|
8918
8786
|
// This allows us to pass through a `store` prop that is just a plain value.
|
|
8919
8787
|
|
|
@@ -8925,12 +8793,12 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8925
8793
|
|
|
8926
8794
|
const store = didStoreComeFromProps ? props.store : contextValue.store;
|
|
8927
8795
|
const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;
|
|
8928
|
-
const childPropsSelector = useMemo(() => {
|
|
8796
|
+
const childPropsSelector = React.useMemo(() => {
|
|
8929
8797
|
// The child props selector needs the store reference as an input.
|
|
8930
8798
|
// Re-create this selector whenever the store changes.
|
|
8931
8799
|
return defaultSelectorFactory(store.dispatch, selectorFactoryOptions);
|
|
8932
8800
|
}, [store]);
|
|
8933
|
-
const [subscription, notifyNestedSubs] = useMemo(() => {
|
|
8801
|
+
const [subscription, notifyNestedSubs] = React.useMemo(() => {
|
|
8934
8802
|
if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component
|
|
8935
8803
|
// connected to the store via props shouldn't use subscription from context, or vice versa.
|
|
8936
8804
|
|
|
@@ -8944,7 +8812,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8944
8812
|
}, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,
|
|
8945
8813
|
// and memoize that value to avoid unnecessary context updates.
|
|
8946
8814
|
|
|
8947
|
-
const overriddenContextValue = useMemo(() => {
|
|
8815
|
+
const overriddenContextValue = React.useMemo(() => {
|
|
8948
8816
|
if (didStoreComeFromProps) {
|
|
8949
8817
|
// This component is directly subscribed to a store from props.
|
|
8950
8818
|
// We don't want descendants reading from this store - pass down whatever
|
|
@@ -8959,20 +8827,20 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8959
8827
|
});
|
|
8960
8828
|
}, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic
|
|
8961
8829
|
|
|
8962
|
-
const lastChildProps = useRef();
|
|
8963
|
-
const lastWrapperProps = useRef(wrapperProps);
|
|
8964
|
-
const childPropsFromStoreUpdate = useRef();
|
|
8965
|
-
const renderIsScheduled = useRef(false);
|
|
8966
|
-
const isProcessingDispatch = useRef(false);
|
|
8967
|
-
const isMounted = useRef(false);
|
|
8968
|
-
const latestSubscriptionCallbackError = useRef();
|
|
8830
|
+
const lastChildProps = React.useRef();
|
|
8831
|
+
const lastWrapperProps = React.useRef(wrapperProps);
|
|
8832
|
+
const childPropsFromStoreUpdate = React.useRef();
|
|
8833
|
+
const renderIsScheduled = React.useRef(false);
|
|
8834
|
+
const isProcessingDispatch = React.useRef(false);
|
|
8835
|
+
const isMounted = React.useRef(false);
|
|
8836
|
+
const latestSubscriptionCallbackError = React.useRef();
|
|
8969
8837
|
useIsomorphicLayoutEffect(() => {
|
|
8970
8838
|
isMounted.current = true;
|
|
8971
8839
|
return () => {
|
|
8972
8840
|
isMounted.current = false;
|
|
8973
8841
|
};
|
|
8974
8842
|
}, []);
|
|
8975
|
-
const actualChildPropsSelector = useMemo(() => {
|
|
8843
|
+
const actualChildPropsSelector = React.useMemo(() => {
|
|
8976
8844
|
const selector = () => {
|
|
8977
8845
|
// Tricky logic here:
|
|
8978
8846
|
// - This render may have been triggered by a Redux store update that produced new child props
|
|
@@ -8996,7 +8864,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
8996
8864
|
// about useLayoutEffect in SSR, so we try to detect environment and fall back to
|
|
8997
8865
|
// just useEffect instead to avoid the warning, since neither will run anyway.
|
|
8998
8866
|
|
|
8999
|
-
const subscribeForReact = useMemo(() => {
|
|
8867
|
+
const subscribeForReact = React.useMemo(() => {
|
|
9000
8868
|
const subscribe = reactListener => {
|
|
9001
8869
|
if (!subscription) {
|
|
9002
8870
|
return () => {};
|
|
@@ -9032,7 +8900,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9032
8900
|
}); // Now that all that's done, we can finally try to actually render the child component.
|
|
9033
8901
|
// We memoize the elements for the rendered child component as an optimization.
|
|
9034
8902
|
|
|
9035
|
-
const renderedWrappedComponent = useMemo(() => {
|
|
8903
|
+
const renderedWrappedComponent = React.useMemo(() => {
|
|
9036
8904
|
return (
|
|
9037
8905
|
/*#__PURE__*/
|
|
9038
8906
|
// @ts-ignore
|
|
@@ -9043,7 +8911,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9043
8911
|
}, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering
|
|
9044
8912
|
// that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.
|
|
9045
8913
|
|
|
9046
|
-
const renderedChild = useMemo(() => {
|
|
8914
|
+
const renderedChild = React.useMemo(() => {
|
|
9047
8915
|
if (shouldHandleStateChanges) {
|
|
9048
8916
|
// If this component is subscribed to store updates, we need to pass its own
|
|
9049
8917
|
// subscription instance down to our descendants. That means rendering the same
|
|
@@ -9100,7 +8968,7 @@ function Provider({
|
|
|
9100
8968
|
stabilityCheck = 'once',
|
|
9101
8969
|
noopCheck = 'once'
|
|
9102
8970
|
}) {
|
|
9103
|
-
const contextValue = useMemo(() => {
|
|
8971
|
+
const contextValue = React.useMemo(() => {
|
|
9104
8972
|
const subscription = createSubscription(store);
|
|
9105
8973
|
return {
|
|
9106
8974
|
store,
|
|
@@ -9110,7 +8978,7 @@ function Provider({
|
|
|
9110
8978
|
noopCheck
|
|
9111
8979
|
};
|
|
9112
8980
|
}, [store, serverState, stabilityCheck, noopCheck]);
|
|
9113
|
-
const previousState = useMemo(() => store.getState(), [store]);
|
|
8981
|
+
const previousState = React.useMemo(() => store.getState(), [store]);
|
|
9114
8982
|
useIsomorphicLayoutEffect(() => {
|
|
9115
8983
|
const {
|
|
9116
8984
|
subscription
|
|
@@ -9138,11 +9006,11 @@ function Provider({
|
|
|
9138
9006
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useStore.js
|
|
9139
9007
|
|
|
9140
9008
|
|
|
9141
|
-
/**
|
|
9142
|
-
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9143
|
-
*
|
|
9144
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9145
|
-
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9009
|
+
/**
|
|
9010
|
+
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9011
|
+
*
|
|
9012
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9013
|
+
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9146
9014
|
*/
|
|
9147
9015
|
|
|
9148
9016
|
function createStoreHook(context = Context_ReactReduxContext) {
|
|
@@ -9157,31 +9025,31 @@ function createStoreHook(context = Context_ReactReduxContext) {
|
|
|
9157
9025
|
return store;
|
|
9158
9026
|
};
|
|
9159
9027
|
}
|
|
9160
|
-
/**
|
|
9161
|
-
* A hook to access the redux store.
|
|
9162
|
-
*
|
|
9163
|
-
* @returns {any} the redux store
|
|
9164
|
-
*
|
|
9165
|
-
* @example
|
|
9166
|
-
*
|
|
9167
|
-
* import React from 'react'
|
|
9168
|
-
* import { useStore } from 'react-redux'
|
|
9169
|
-
*
|
|
9170
|
-
* export const ExampleComponent = () => {
|
|
9171
|
-
* const store = useStore()
|
|
9172
|
-
* return <div>{store.getState()}</div>
|
|
9173
|
-
* }
|
|
9028
|
+
/**
|
|
9029
|
+
* A hook to access the redux store.
|
|
9030
|
+
*
|
|
9031
|
+
* @returns {any} the redux store
|
|
9032
|
+
*
|
|
9033
|
+
* @example
|
|
9034
|
+
*
|
|
9035
|
+
* import React from 'react'
|
|
9036
|
+
* import { useStore } from 'react-redux'
|
|
9037
|
+
*
|
|
9038
|
+
* export const ExampleComponent = () => {
|
|
9039
|
+
* const store = useStore()
|
|
9040
|
+
* return <div>{store.getState()}</div>
|
|
9041
|
+
* }
|
|
9174
9042
|
*/
|
|
9175
9043
|
|
|
9176
9044
|
const useStore_useStore = /*#__PURE__*/createStoreHook();
|
|
9177
9045
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useDispatch.js
|
|
9178
9046
|
|
|
9179
9047
|
|
|
9180
|
-
/**
|
|
9181
|
-
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9182
|
-
*
|
|
9183
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9184
|
-
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9048
|
+
/**
|
|
9049
|
+
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9050
|
+
*
|
|
9051
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9052
|
+
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9185
9053
|
*/
|
|
9186
9054
|
|
|
9187
9055
|
function createDispatchHook(context = Context_ReactReduxContext) {
|
|
@@ -9193,26 +9061,26 @@ function createDispatchHook(context = Context_ReactReduxContext) {
|
|
|
9193
9061
|
return store.dispatch;
|
|
9194
9062
|
};
|
|
9195
9063
|
}
|
|
9196
|
-
/**
|
|
9197
|
-
* A hook to access the redux `dispatch` function.
|
|
9198
|
-
*
|
|
9199
|
-
* @returns {any|function} redux store's `dispatch` function
|
|
9200
|
-
*
|
|
9201
|
-
* @example
|
|
9202
|
-
*
|
|
9203
|
-
* import React, { useCallback } from 'react'
|
|
9204
|
-
* import { useDispatch } from 'react-redux'
|
|
9205
|
-
*
|
|
9206
|
-
* export const CounterComponent = ({ value }) => {
|
|
9207
|
-
* const dispatch = useDispatch()
|
|
9208
|
-
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9209
|
-
* return (
|
|
9210
|
-
* <div>
|
|
9211
|
-
* <span>{value}</span>
|
|
9212
|
-
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9213
|
-
* </div>
|
|
9214
|
-
* )
|
|
9215
|
-
* }
|
|
9064
|
+
/**
|
|
9065
|
+
* A hook to access the redux `dispatch` function.
|
|
9066
|
+
*
|
|
9067
|
+
* @returns {any|function} redux store's `dispatch` function
|
|
9068
|
+
*
|
|
9069
|
+
* @example
|
|
9070
|
+
*
|
|
9071
|
+
* import React, { useCallback } from 'react'
|
|
9072
|
+
* import { useDispatch } from 'react-redux'
|
|
9073
|
+
*
|
|
9074
|
+
* export const CounterComponent = ({ value }) => {
|
|
9075
|
+
* const dispatch = useDispatch()
|
|
9076
|
+
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9077
|
+
* return (
|
|
9078
|
+
* <div>
|
|
9079
|
+
* <span>{value}</span>
|
|
9080
|
+
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9081
|
+
* </div>
|
|
9082
|
+
* )
|
|
9083
|
+
* }
|
|
9216
9084
|
*/
|
|
9217
9085
|
|
|
9218
9086
|
const useDispatch = /*#__PURE__*/createDispatchHook();
|
|
@@ -9591,6 +9459,153 @@ var createStructuredSelector = function createStructuredSelector(selectors, sele
|
|
|
9591
9459
|
return resultSelector;
|
|
9592
9460
|
};
|
|
9593
9461
|
|
|
9462
|
+
/***/ }),
|
|
9463
|
+
|
|
9464
|
+
/***/ 2398:
|
|
9465
|
+
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
9466
|
+
|
|
9467
|
+
|
|
9468
|
+
// UNUSED EXPORTS: ICONS, default
|
|
9469
|
+
|
|
9470
|
+
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
9471
|
+
var jsx_runtime_ = __webpack_require__(7844);
|
|
9472
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
9473
|
+
/* harmony default export */ const avatar_bot_32 = ("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 32 32\" enable-background=\"new 0 0 32 32\" xml:space=\"preserve\">\n<path fill=\"#4A48C1\" d=\"M10,14.8c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S11.1,14.8,10,14.8z M15.9,14.8c1.1,0,2-0.9,2-2s-0.9-2-2-2\n\ts-2,0.9-2,2S14.8,14.8,15.9,14.8z M21.8,10.8c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S22.9,10.8,21.8,10.8z M21.3,18.1H10.7\n\tC11.7,23.9,20.2,23.9,21.3,18.1z\"/>\n</svg>\n");
|
|
9474
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
9475
|
+
/* harmony default export */ const icon_arrow_left_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M13.6,8c0,0.6-0.4,1-1,1h-7l2.2,2.5c0.4,0.4,0.3,1-0.1,1.4c-0.2,0.2-0.4,0.2-0.7,0.2c-0.3,0-0.6-0.1-0.8-0.3\n\tL2.6,8.6c0,0-0.1-0.1-0.1-0.2c0,0-0.1-0.1-0.1-0.1c0-0.1-0.1-0.2-0.1-0.3c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.3,0.1-0.4\n\tc0,0,0.1-0.1,0.1-0.1c0-0.1,0.1-0.1,0.1-0.2l3.7-4.1c0.4-0.4,1-0.4,1.4-0.1c0.4,0.4,0.4,1,0.1,1.4L5.6,7h7C13.2,7,13.6,7.4,13.6,8z\"\n\t/>\n</svg>\n");
|
|
9476
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
9477
|
+
/* harmony default export */ const icon_arrow_right_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M2.4,8.1c0-0.6,0.4-1,1-1h7L8.1,4.5c-0.4-0.4-0.3-1,0.1-1.4c0.2-0.2,0.4-0.2,0.7-0.2c0.3,0,0.6,0.1,0.8,0.3\n\tl3.7,4.2c0,0,0.1,0.1,0.1,0.2c0,0,0.1,0.1,0.1,0.1c0,0.1,0.1,0.2,0.1,0.3c0,0,0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4\n\tc0,0-0.1,0.1-0.1,0.1c0,0.1-0.1,0.1-0.1,0.2l-3.7,4.1c-0.4,0.4-1,0.4-1.4,0.1c-0.4-0.4-0.4-1-0.1-1.4l2.2-2.4h-7\n\tC2.8,9.1,2.4,8.6,2.4,8.1z\"/>\n</svg>\n");
|
|
9478
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
9479
|
+
/* harmony default export */ const icon_balloon_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,10.824v10.375c0,1.104-0.896,2-2,2h-4.694l-4.931,3.625v-3.625H10c-1.104,0-2-0.896-2-2V10.824\tc0-1.104,0.896-2,2-2h12C23.104,8.824,24,9.719,24,10.824z\"/></svg>");
|
|
9480
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
9481
|
+
/* harmony default export */ const icon_check_16 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16px\"\n height=\"16px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n>\n <path\n fill=\"currentColor\"\n d=\"M11.6,4.3l-5,5L4.9,7.5C4.4,7,3.7,7,3.2,7.5l0,0C2.8,8,2.8,8.7,3.2,9.2l1.7,1.7l0,0l0.8,0.8\n\tc0.5,0.5,1.2,0.5,1.7,0l0.8-0.8l5-5c0.5-0.5,0.5-1.2,0-1.7l0,0C12.8,3.8,12.1,3.8,11.6,4.3z\"\n />\n</svg>\n");
|
|
9482
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
9483
|
+
/* harmony default export */ const icon_check_32 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 32 32\"\n>\n <path\n fill=\"currentColor\"\n d=\"M22.9,9.3l-9.3,9.3l-3.2-3.2c-0.9-0.9-2.3-0.9-3.2,0l0,0c-0.9,0.9-0.9,2.3,0,3.2l3.2,3.2l0,0l1.6,1.6\n\tc0.9,0.9,2.3,0.9,3.2,0l1.6-1.6l9.3-9.3c0.9-0.9,0.9-2.3,0-3.2l0,0C25.2,8.4,23.7,8.4,22.9,9.3z\"\n />\n</svg>\n");
|
|
9484
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
9485
|
+
/* harmony default export */ const icon_chevron_down_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M-0.001,2.876c0-0.247,0.091-0.494,0.273-0.688c0.38-0.401,1.013-0.418,1.414-0.039l1.938,1.834\tc0.199,0.188,0.547,0.188,0.746,0L6.31,2.15c0.401-0.379,1.034-0.362,1.414,0.04c0.379,0.401,0.361,1.034-0.04,1.414L5.745,5.437\tC4.782,6.35,3.213,6.35,2.249,5.436L0.311,3.603C0.103,3.406-0.001,3.142-0.001,2.876z\"/></svg>");
|
|
9486
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
9487
|
+
/* harmony default export */ const icon_chevron_down_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M16,20.425c-0.782,0-1.563-0.291-2.159-0.874l-6.541-6.408c-0.395-0.387-0.401-1.02-0.015-1.414\tc0.387-0.394,1.021-0.4,1.414-0.015l6.541,6.408c0.42,0.409,1.102,0.409,1.52-0.001l6.541-6.407c0.396-0.386,1.028-0.38,1.414,0.015\tc0.387,0.395,0.381,1.027-0.014,1.414l-6.541,6.407C17.563,20.133,16.782,20.425,16,20.425z\"/></svg>");
|
|
9488
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
9489
|
+
/* harmony default export */ const icon_chevron_right_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M2.875,7.998c-0.247,0-0.494-0.091-0.688-0.273c-0.401-0.38-0.418-1.013-0.039-1.414l1.834-1.938\tc0.188-0.199,0.188-0.547,0-0.746l-1.835-1.94c-0.379-0.401-0.362-1.034,0.04-1.414s1.034-0.361,1.414,0.04l1.834,1.939\tc0.913,0.963,0.913,2.532-0.001,3.496L3.601,7.686C3.405,7.894,3.14,7.998,2.875,7.998z\"/></svg>");
|
|
9490
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
9491
|
+
/* harmony default export */ const icon_chevron_right_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M6.5,13c-0.247,0-0.494-0.091-0.687-0.273c-0.401-0.38-0.419-1.013-0.04-1.414L8.22,8.727\tc0.373-0.394,0.373-1.06,0-1.454L5.773,4.687c-0.379-0.401-0.362-1.034,0.04-1.414c0.4-0.378,1.034-0.362,1.414,0.04l2.446,2.586\tc1.096,1.159,1.096,3.043,0,4.203l-2.446,2.586C7.03,12.896,6.765,13,6.5,13z\"/></svg>");
|
|
9492
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
9493
|
+
/* harmony default export */ const icon_close_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M7.705,7.729C7.511,7.923,7.255,8.02,7,8.02c-0.257,0-0.514-0.099-0.709-0.295L4,5.423L1.709,7.725\tC1.513,7.921,1.257,8.02,1,8.02c-0.255,0-0.51-0.097-0.706-0.291c-0.391-0.39-0.393-1.022-0.003-1.414l2.298-2.309l-2.27-2.28\tC-0.07,1.334-0.068,0.701,0.323,0.311c0.392-0.389,1.024-0.387,1.415,0.003L4,2.587l2.263-2.274C6.653-0.077,7.287-0.079,7.677,0.31\tC8.068,0.7,8.07,1.333,7.681,1.725l-2.27,2.281l2.298,2.309C8.099,6.705,8.097,7.339,7.705,7.729z\"/></svg>");
|
|
9494
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
9495
|
+
/* harmony default export */ const icon_close_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M12.709,11.295L9.411,7.982l3.262-3.276c0.39-0.392,0.388-1.024-0.004-1.414\tc-0.39-0.39-1.023-0.388-1.414,0.003L8,6.564L4.746,3.295C4.357,2.904,3.724,2.903,3.332,3.292C2.94,3.682,2.939,4.315,3.329,4.707\tl3.261,3.275l-3.298,3.313c-0.39,0.391-0.388,1.024,0.003,1.414C3.49,12.903,3.745,13,4,13c0.257,0,0.513-0.099,0.708-0.295L8,9.399\tl3.291,3.306C11.486,12.901,11.743,13,12,13c0.255,0,0.511-0.097,0.705-0.291C13.097,12.319,13.099,11.686,12.709,11.295z\"/></svg>");
|
|
9496
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
9497
|
+
/* harmony default export */ const icon_download_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#FFF\" d=\"M3.175,7.726c-0.413-0.367-0.45-0.999-0.083-1.412c0.367-0.413,0.999-0.45,1.412-0.083L7,8.45V1.5\tc0-0.552,0.448-1,1-1c0.553,0,1,0.448,1,1v6.95l2.496-2.219c0.412-0.367,1.044-0.331,1.411,0.083\tc0.367,0.413,0.33,1.045-0.083,1.412l-4.16,3.698c-0.047,0.041-0.103,0.062-0.154,0.094c-0.047,0.028-0.089,0.064-0.141,0.085\tC8.25,11.649,8.125,11.677,8,11.677c-0.126,0-0.25-0.027-0.369-0.074c-0.05-0.021-0.09-0.055-0.136-0.083\tc-0.053-0.031-0.111-0.053-0.159-0.096L3.175,7.726z M12.018,13.5H3.983c-0.552,0-1,0.447-1,1s0.448,1,1,1h8.035\tc0.553,0,1-0.447,1-1S12.57,13.5,12.018,13.5z\"/></svg>");
|
|
9498
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
9499
|
+
/* harmony default export */ const icon_enlarge_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,9v6.5c0,0.552-0.447,1-1,1s-1-0.448-1-1v-4.086L11.414,22H15.5c0.552,0,1,0.447,1,1s-0.448,1-1,1H9\tc-0.13,0-0.26-0.026-0.382-0.077c-0.245-0.102-0.439-0.296-0.541-0.541C8.026,23.26,8,23.13,8,23v-6.5c0-0.552,0.448-1,1-1\ts1,0.448,1,1v4.085L20.586,10H16.5c-0.552,0-1-0.448-1-1s0.448-1,1-1H23c0.13,0,0.26,0.026,0.382,0.077\tc0.245,0.102,0.439,0.296,0.541,0.541C23.974,8.74,24,8.87,24,9z\"/></svg>");
|
|
9500
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
9501
|
+
/* harmony default export */ const icon_error_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#ad001f\" d=\"M15.744,13.104L9.097,1.47c-0.604-1.055-1.59-1.055-2.193,0L0.256,13.104\tc-0.604,1.056-0.102,1.919,1.113,1.919H14.63C15.847,15.022,16.348,14.159,15.744,13.104z M7,5.045c0-0.552,0.448-1,1-1s1,0.448,1,1\tv3.656c0,0.552-0.448,1-1,1s-1-0.448-1-1V5.045z M8,13.212c-0.748,0-1.354-0.607-1.354-1.354c0-0.748,0.606-1.354,1.354-1.354\ts1.354,0.606,1.354,1.354C9.354,12.604,8.748,13.212,8,13.212z\"/></svg>");
|
|
9502
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
9503
|
+
/* harmony default export */ const icon_file_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" x=\"0px\" y=\"0px\" version=\"1.1\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,28.5c-3.6,0-6.5-3-6.5-6.6V9.6c0-0.6,0.4-1,1-1s1,0.4,1,1v12.3c0,2.5,2,4.6,4.5,4.6\tc2.5,0,4.5-2.1,4.5-4.6V8.3c0-1.5-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.3-2.7,2.8v13.5c0,0.6,0.5,1.1,1,1.1c0.6,0,1-0.5,1-1.1v-10\tc0-0.6,0.4-1,1-1s1,0.4,1,1v10c0,1.7-1.4,3.1-3,3.1s-3-1.4-3-3.1V8.3c0-2.6,2.1-4.8,4.7-4.8c2.6,0,4.7,2.2,4.7,4.8v13.6\tC22.5,25.5,19.6,28.5,16,28.5z\"/></svg>");
|
|
9504
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
9505
|
+
/* harmony default export */ const icon_newtopic_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,8.593l2.407,4.573l5.093,0.876l-3.604,3.702l0.74,5.115L16,20.574l-4.634,2.285l0.739-5.115L8.5,14.042\tl5.094-0.876L16,8.593z\"/></svg>");
|
|
9506
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
9507
|
+
/* harmony default export */ const icon_newtranslation_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><path fill=\"#4A48C1\" d=\"M8,0C3.6,0,0,3.6,0,8s3.6,8,8,8s8-3.6,8-8S12.4,0,8,0z M14.1,7.1h-1.4c-0.1-1.5-0.4-2.9-1-4\tC13,4,13.9,5.4,14.1,7.1z M7.1,2.1v5H5C5.2,4.7,6.1,2.9,7.1,2.1z M7.1,8.9v5c-1-0.7-1.9-2.5-2.1-5H7.1z M8.9,13.9v-5H11\tC10.8,11.3,9.9,13.2,8.9,13.9z M8.9,7.1v-5c1,0.7,1.9,2.5,2.1,5H8.9z M4.2,3.1c-0.5,1.1-0.9,2.5-1,4H1.9C2.1,5.4,3,4,4.2,3.1z M1.9,8.9h1.4c0.1,1.5,0.4,2.9,1,4C3,12,2.1,10.5,1.9,8.9z M11.8,12.9c0.5-1.1,0.9-2.5,1-4h1.4C13.9,10.5,13,12,11.8,12.9z\"/></svg>");
|
|
9508
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
9509
|
+
/* harmony default export */ const icon_newtranslation_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,7c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4.1,9-9S20.9,7,16,7z M22.9,15h-1.6c-0.1-1.7-0.5-3.3-1.1-4.5\tC21.6,11.5,22.6,13.1,22.9,15z M15,9.4V15h-2.3C12.9,12.3,13.9,10.2,15,9.4z M15,17v5.6c-1.1-0.8-2.1-2.9-2.3-5.6H15z M17,22.6V17\th2.3C19.1,19.8,18.1,21.8,17,22.6z M17,15V9.4c1.1,0.8,2.1,2.9,2.3,5.6H17z M11.8,10.4c-0.6,1.3-1,2.8-1.1,4.5H9.1\tC9.4,13.1,10.4,11.5,11.8,10.4z M9.1,17h1.6c0.1,1.7,0.5,3.3,1.1,4.5C10.4,20.5,9.4,18.9,9.1,17z M20.2,21.5c0.6-1.3,1-2.8,1.1-4.5\th1.6C22.6,18.8,21.6,20.5,20.2,21.5z\"/></svg>");
|
|
9510
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
9511
|
+
/* harmony default export */ const icon_options_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M26.1,21.383c0.334-0.625,0.602-1.279,0.812-1.949L32,18.609V13.51l-5.058-0.846\tc-0.208-0.67-0.468-1.325-0.795-1.956l3.009-4.145l-3.604-3.634L21.38,5.903c-0.626-0.333-1.276-0.602-1.948-0.81L18.609,0\tl-5.098,0.001l-0.847,5.061c-0.669,0.203-1.326,0.465-1.957,0.794L6.562,2.847L2.929,6.449l2.973,4.171\tC5.569,11.247,5.3,11.9,5.091,12.569L0,13.373v5.099l5.06,0.866c0.204,0.669,0.467,1.324,0.796,1.955l-3.009,4.146l3.601,3.635\tl4.171-2.975c0.627,0.335,1.282,0.603,1.951,0.811L13.372,32h5.118l0.849-5.057c0.668-0.207,1.323-0.469,1.953-0.795l4.144,3.01\tl3.639-3.604L26.1,21.383z M19.01,19.035c-1.675,1.663-4.381,1.652-6.041-0.025c-1.662-1.675-1.649-4.381,0.024-6.042\tc1.676-1.661,4.382-1.648,6.043,0.025C20.699,14.67,20.686,17.377,19.01,19.035z\"/></svg>");
|
|
9512
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
9513
|
+
/* harmony default export */ const icon_send_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M6.714,14.985l17.837-7.906c0.681-0.302,1.414,0.301,1.25,1.027L22.273,23.59\tc-0.13,0.566-0.751,0.865-1.275,0.613l-3.623-1.752l-2.334,2.287c-0.572,0.562-1.538,0.156-1.538-0.645V21.01\tc0-0.217,0.078-0.43,0.222-0.594l7.676-8.841l-10.414,7.472l-4.351-2.445C5.987,16.236,6.033,15.287,6.714,14.985L6.714,14.985z\"/></svg>");
|
|
9514
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
9515
|
+
/* harmony default export */ const icon_upload_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M9.488,13.481c-0.391-0.391-0.391-1.023,0-1.414l5.805-5.805c0.026-0.026,0.06-0.036,0.088-0.058\tc0.073-0.06,0.146-0.119,0.235-0.156c0.246-0.103,0.522-0.103,0.769,0c0.093,0.039,0.171,0.101,0.249,0.165\tc0.023,0.02,0.053,0.027,0.074,0.049l5.805,5.805c0.391,0.391,0.391,1.023,0,1.414c-0.195,0.195-0.451,0.293-0.707,0.293\ts-0.512-0.098-0.707-0.293L17,9.383V20.33c0,0.553-0.447,1-1,1c-0.552,0-1-0.447-1-1V9.383l-4.098,4.098\tC10.512,13.872,9.879,13.872,9.488,13.481z M22.819,24.031H9.181c-0.552,0-1,0.447-1,1s0.448,1,1,1h13.639c0.553,0,1-0.447,1-1\tS23.372,24.031,22.819,24.031z\"/></svg>");
|
|
9516
|
+
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
9517
|
+
var css = __webpack_require__(2);
|
|
9518
|
+
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.tsx
|
|
9519
|
+
|
|
9520
|
+
/* eslint-disable import/no-webpack-loader-syntax */
|
|
9521
|
+
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
9522
|
+
// this can again be changed when we can import pre-built packages in implementations
|
|
9523
|
+
|
|
9524
|
+
|
|
9525
|
+
|
|
9526
|
+
|
|
9527
|
+
|
|
9528
|
+
|
|
9529
|
+
|
|
9530
|
+
|
|
9531
|
+
|
|
9532
|
+
|
|
9533
|
+
|
|
9534
|
+
|
|
9535
|
+
|
|
9536
|
+
|
|
9537
|
+
|
|
9538
|
+
|
|
9539
|
+
|
|
9540
|
+
|
|
9541
|
+
|
|
9542
|
+
|
|
9543
|
+
|
|
9544
|
+
|
|
9545
|
+
|
|
9546
|
+
/* eslint-enable import/no-webpack-loader-syntax */
|
|
9547
|
+
const ICONS = {
|
|
9548
|
+
send: {
|
|
9549
|
+
32: icon_send_32,
|
|
9550
|
+
},
|
|
9551
|
+
balloon: {
|
|
9552
|
+
32: icon_balloon_32,
|
|
9553
|
+
},
|
|
9554
|
+
newTopic: {
|
|
9555
|
+
32: icon_newtopic_32,
|
|
9556
|
+
},
|
|
9557
|
+
newTranslation: {
|
|
9558
|
+
16: icon_newtranslation_16,
|
|
9559
|
+
32: icon_newtranslation_32,
|
|
9560
|
+
},
|
|
9561
|
+
avatar: {
|
|
9562
|
+
32: avatar_bot_32,
|
|
9563
|
+
},
|
|
9564
|
+
chevronDown: {
|
|
9565
|
+
8: icon_chevron_down_8,
|
|
9566
|
+
32: icon_chevron_down_32,
|
|
9567
|
+
},
|
|
9568
|
+
chevronRight: {
|
|
9569
|
+
8: icon_chevron_right_8,
|
|
9570
|
+
16: icon_chevron_right_16,
|
|
9571
|
+
},
|
|
9572
|
+
close: {
|
|
9573
|
+
8: icon_close_8,
|
|
9574
|
+
16: icon_close_16,
|
|
9575
|
+
},
|
|
9576
|
+
enlarge: {
|
|
9577
|
+
32: icon_enlarge_32,
|
|
9578
|
+
},
|
|
9579
|
+
options: {
|
|
9580
|
+
32: icon_options_32,
|
|
9581
|
+
},
|
|
9582
|
+
file: {
|
|
9583
|
+
32: icon_file_32,
|
|
9584
|
+
},
|
|
9585
|
+
upload: {
|
|
9586
|
+
32: icon_upload_32,
|
|
9587
|
+
},
|
|
9588
|
+
download: {
|
|
9589
|
+
16: icon_download_16,
|
|
9590
|
+
},
|
|
9591
|
+
error: {
|
|
9592
|
+
16: icon_error_16,
|
|
9593
|
+
},
|
|
9594
|
+
arrowLeft: {
|
|
9595
|
+
16: icon_arrow_left_16,
|
|
9596
|
+
},
|
|
9597
|
+
arrowRight: {
|
|
9598
|
+
16: icon_arrow_right_16,
|
|
9599
|
+
},
|
|
9600
|
+
check: {
|
|
9601
|
+
16: icon_check_16,
|
|
9602
|
+
32: icon_check_32,
|
|
9603
|
+
},
|
|
9604
|
+
};
|
|
9605
|
+
const Icon = ({ name, size = '32', className, alt }) => (_jsxs(_Fragment, { children: [_jsx("div", { "aria-hidden": "true", className: className || classNameFn('icon'), dangerouslySetInnerHTML: { __html: ICONS[name][size] } }), alt && _jsx("span", { className: classNameFn('visually-hidden'), children: alt })] }));
|
|
9606
|
+
/* harmony default export */ const icon = ((/* unused pure expression or super */ null && (Icon)));
|
|
9607
|
+
|
|
9608
|
+
|
|
9594
9609
|
/***/ }),
|
|
9595
9610
|
|
|
9596
9611
|
/***/ 3250:
|