dt-shared-front 2.2.33 → 2.2.35

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/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,mBAAqBD,IAE7BD,EAAK,mBAAqBC,GAC3B,CATD,CASGK,MAAM,I,qBCRTH,EAAOD,QAAU,CAAC,mBAAmB,mBAAmB,4BAA4B,4BAA4B,iBAAiB,iBAAiB,2BAA2B,2BAA2B,eAAe,eAAe,4BAA4B,4BAA4B,mCAAmC,mCAAmC,6BAA6B,6BAA6B,kCAAkC,kCAAkC,+BAA+B,+BAA+B,8BAA8B,8BAA8B,sBAAsB,sBAAsB,2BAA2B,2BAA2B,4BAA4B,4BAA4B,0BAA0B,0BAA0B,6BAA6B,6BAA6B,qBAAqB,qBAAqB,4BAA4B,4BAA4B,8BAA8B,8BAA8B,wBAAwB,wBAAwB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,qBAAqB,qBAAqB,yBAAyB,yBAAyB,uBAAuB,uBAAuB,sBAAsB,sBAAsB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,sBAAsB,sBAAsB,uBAAuB,uBAAuB,2BAA2B,2BAA2B,mBAAmB,mBAAmB,iBAAiB,iBAAiB,oBAAoB,oBAAoB,aAAa,aAAa,6BAA6B,6BAA6B,oCAAoC,oCAAoC,iBAAiB,iBAAiB,mBAAmB,mBAAmB,mBAAmB,mBAAmB,sBAAsB,sBAAsB,4BAA4B,4BAA4B,qBAAqB,qBAAqB,qBAAqB,qBAAqB,mCAAmC,mCAAmC,8BAA8B,8BAA8B,kBAAkB,kBAAkB,kBAAkB,kBAAkB,sBAAsB,sBAAsB,eAAe,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B,GAAU,SAACjlB,GACf,OAAQA,GACN,IAAK,UACH,OAAO,GAET,IAAK,QACH,OAAO,GAET,IAAK,UACH,OAAO,GAET,IAAK,OACH,OAAO,GAEb,EAEaklB,GAA6B,SAAC,G,IAAEllB,EAAI,OAAEoB,EAAK,QAAE+jB,EAAW,cACnE,OACE,yBAAKvtB,UAAW,IAAW,eAAkB,KAAO,qBAAcoI,MAChE,kBAAC,EAAI,CAACrI,QAAQ,UAAU8B,KAAMwrB,GAAQjlB,KACtC,6BACGoB,GACC,kBAAC5C,EAAI,CAAC/G,KAAK,QAAQiH,OAAO,YACvB0C,GAGL,kBAAC5C,EAAI,CAAC/G,KAAK,SAAS0tB,IAI5B,E,qBCrCaC,GAAe,SAAC,G,IAAEhkB,EAAK,QAAE+jB,EAAW,cAC/C,OACE,yBAAKvtB,UAAW,cACd,kBAAC,EAAI,CAACD,QAAQ,UAAU8B,KAAM,KAC9B,6BACG2H,GACC,kBAAC5C,EAAI,CAAC/G,KAAK,QAAQiH,OAAO,YACvB0C,GAGL,kBAAC5C,EAAI,CAAC/G,KAAK,SAAS0tB,IAI5B,C","sources":["webpack://dt-shared-front/webpack/universalModuleDefinition","webpack://dt-shared-front/./src/styles/main.scss?daab","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.module.scss?347c","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.module.scss?9288","webpack://dt-shared-front/./src/components/button/button.module.scss?cb5e","webpack://dt-shared-front/./src/components/checkbox/checkbox.module.scss?c589","webpack://dt-shared-front/./src/components/counter/counter.module.scss?eb10","webpack://dt-shared-front/./src/components/divider/divider.module.scss?cca0","webpack://dt-shared-front/./src/components/dropdown/dropdown.module.scss?bf5c","webpack://dt-shared-front/./src/components/form-control/form-control.module.scss?1d9b","webpack://dt-shared-front/./src/components/gallery/gallery.module.scss?11c9","webpack://dt-shared-front/./src/components/heading/heading.module.scss?c8fa","webpack://dt-shared-front/./src/components/icon/icon.module.scss?2ae3","webpack://dt-shared-front/./src/components/input/input.module.scss?2249","webpack://dt-shared-front/./src/components/link/link.module.scss?3df9","webpack://dt-shared-front/./src/components/loader-line/loader-line.module.scss?f044","webpack://dt-shared-front/./src/components/loader/loader.module.scss?3129","webpack://dt-shared-front/./src/components/message/message.module.scss?9673","webpack://dt-shared-front/./src/components/modal/modal.module.scss?8bb4","webpack://dt-shared-front/./src/components/radio/radio.module.scss?c71c","webpack://dt-shared-front/./src/components/rating/rating.module.scss?580b","webpack://dt-shared-front/./src/components/select/select.module.scss?ca24","webpack://dt-shared-front/./src/components/slider/slider.module.scss?8aed","webpack://dt-shared-front/./src/components/spoiler/spoiler.module.scss?78de","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.module.scss?96c5","webpack://dt-shared-front/./src/components/switch/switch.module.scss?711d","webpack://dt-shared-front/./src/components/tag-box/tag-box.module.scss?2943","webpack://dt-shared-front/./src/components/tag-button/tag-button.module.scss?fcb2","webpack://dt-shared-front/./src/components/text-area/text-area.module.scss?d1bd","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.module.scss?6fc7","webpack://dt-shared-front/./src/components/text/text.module.scss?540d","webpack://dt-shared-front/./src/components/tooltip/tooltip.module.scss?bcc3","webpack://dt-shared-front/./src/components/upload/upload.module.scss","webpack://dt-shared-front/./src/components/views-count/views-count.module.scss?d022","webpack://dt-shared-front/./src/components/warning-block/warning-block.module.scss?932c","webpack://dt-shared-front/webpack/bootstrap","webpack://dt-shared-front/webpack/runtime/compat get default export","webpack://dt-shared-front/webpack/runtime/define property getters","webpack://dt-shared-front/webpack/runtime/hasOwnProperty shorthand","webpack://dt-shared-front/webpack/runtime/make namespace object","webpack://dt-shared-front/external commonjs \"tslib\"","webpack://dt-shared-front/external commonjs \"react\"","webpack://dt-shared-front/external commonjs \"classnames\"","webpack://dt-shared-front/./src/components/icon/icon.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/auto-complete\"","webpack://dt-shared-front/./src/components/icon/icons/clear.svg","webpack://dt-shared-front/./src/components/icon/icons/select-arrow.svg","webpack://dt-shared-front/external commonjs \"lodash.debounce\"","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.tsx","webpack://dt-shared-front/external commonjs \"react-media\"","webpack://dt-shared-front/./src/components/media/media.tsx","webpack://dt-shared-front/./src/components/icon/icons/breadcrubms-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/back.svg","webpack://dt-shared-front/./src/components/text/text.tsx","webpack://dt-shared-front/./src/components/link/link.tsx","webpack://dt-shared-front/./src/providers/shared.provider.tsx","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.tsx","webpack://dt-shared-front/./src/components/icon/icons/button-loader.svg","webpack://dt-shared-front/./src/components/button/button.tsx","webpack://dt-shared-front/./src/components/icon/icons/counter-minus.svg","webpack://dt-shared-front/./src/components/checkbox/checkbox.tsx","webpack://dt-shared-front/./src/components/icon/icons/counter-plus.svg","webpack://dt-shared-front/./src/components/icon/icons/date-picker.svg","webpack://dt-shared-front/./src/components/counter/counter.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/generatePicker\"","webpack://dt-shared-front/external commonjs \"rc-picker/lib/generate/dateFns\"","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/locale/ru_RU\"","webpack://dt-shared-front/./src/components/icon/icons/input-search.svg","webpack://dt-shared-front/./src/components/icon/icons/input-loader.svg","webpack://dt-shared-front/external commonjs \"inputmask\"","webpack://dt-shared-front/./src/components/input/input.tsx","webpack://dt-shared-front/./src/components/date-picker/date-picker.tsx","webpack://dt-shared-front/./src/components/divider/divider.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/dropdown\"","webpack://dt-shared-front/./src/components/dropdown/dropdown.tsx","webpack://dt-shared-front/external commonjs \"formik\"","webpack://dt-shared-front/./src/components/form/form-focus-error.tsx","webpack://dt-shared-front/./src/components/form/form.tsx","webpack://dt-shared-front/./src/components/form-control/form-control.tsx","webpack://dt-shared-front/./src/components/heading/heading.tsx","webpack://dt-shared-front/./src/components/utils/apple-detect.ts","webpack://dt-shared-front/./src/components/utils/combine-ref.ts","webpack://dt-shared-front/./src/components/utils/date-format.ts","webpack://dt-shared-front/./src/components/utils/date.ts","webpack://dt-shared-front/./src/components/utils/pluralize.ts","webpack://dt-shared-front/./src/components/utils/views-format.ts","webpack://dt-shared-front/./src/components/utils/price-format.ts","webpack://dt-shared-front/./src/components/utils/text-sanitize.ts","webpack://dt-shared-front/./src/components/utils/time-left.ts","webpack://dt-shared-front/./src/components/utils/index.ts","webpack://dt-shared-front/./src/components/loader/loader.tsx","webpack://dt-shared-front/./src/components/loader-line/loader-line.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/menu\"","webpack://dt-shared-front/./src/components/menu/menu.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/modal\"","webpack://dt-shared-front/./src/components/icon/icons/modal-close.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow.svg","webpack://dt-shared-front/./src/components/modal/modal.tsx","webpack://dt-shared-front/./src/components/modal/modal.provider.tsx","webpack://dt-shared-front/external commonjs \"antd\"","webpack://dt-shared-front/./src/components/gallery/gallery.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/radio\"","webpack://dt-shared-front/./src/components/radio/radio.tsx","webpack://dt-shared-front/./src/components/range-picker/range-picker.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/select\"","webpack://dt-shared-front/./src/components/select/select.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/slider\"","webpack://dt-shared-front/./src/components/selector/selector.tsx","webpack://dt-shared-front/external commonjs \"react-loading-skeleton\"","webpack://dt-shared-front/./src/components/skeleton/skeleton.tsx","webpack://dt-shared-front/external commonjs \"swiper/react\"","webpack://dt-shared-front/./src/components/icon/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow-prev.svg","webpack://dt-shared-front/external commonjs \"swiper\"","webpack://dt-shared-front/./src/components/slider/slider.tsx","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow-active.svg","webpack://dt-shared-front/./src/components/spoiler/spoiler.tsx","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.tsx","webpack://dt-shared-front/./src/components/switch/switch.tsx","webpack://dt-shared-front/./src/components/tag-box/tag-box.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-button.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-buttton-group.tsx","webpack://dt-shared-front/./src/components/text-area/text-area.tsx","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.tsx","webpack://dt-shared-front/external commonjs \"react-dom\"","webpack://dt-shared-front/./src/components/tooltip/tooltip.utils.tsx","webpack://dt-shared-front/./src/components/tooltip/tooltip.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/upload\"","webpack://dt-shared-front/./src/components/icon/icons/rating.svg","webpack://dt-shared-front/./src/components/upload/upload.tsx","webpack://dt-shared-front/./src/components/icon/icons/rating-active.svg","webpack://dt-shared-front/./src/components/icon/icons/eye.svg","webpack://dt-shared-front/./src/components/rating/rating.tsx","webpack://dt-shared-front/./src/components/views-count/views-count.tsx","webpack://dt-shared-front/./src/components/icon/icons/success.svg","webpack://dt-shared-front/./src/components/icon/icons/error.svg","webpack://dt-shared-front/./src/components/icon/icons/warning.svg","webpack://dt-shared-front/./src/components/icon/icons/info.svg","webpack://dt-shared-front/./src/components/message/message.tsx","webpack://dt-shared-front/./src/components/warning-block/warning-block.tsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"dt-shared-front\"] = factory();\n\telse\n\t\troot[\"dt-shared-front\"] = factory();\n})(this, () => {\nreturn ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"swiper-container\":\"swiper-container\",\"swiper-container-vertical\":\"swiper-container-vertical\",\"swiper-wrapper\":\"swiper-wrapper\",\"swiper-container-android\":\"swiper-container-android\",\"swiper-slide\":\"swiper-slide\",\"swiper-container-multirow\":\"swiper-container-multirow\",\"swiper-container-multirow-column\":\"swiper-container-multirow-column\",\"swiper-container-free-mode\":\"swiper-container-free-mode\",\"swiper-container-pointer-events\":\"swiper-container-pointer-events\",\"swiper-slide-invisible-blank\":\"swiper-slide-invisible-blank\",\"swiper-container-autoheight\":\"swiper-container-autoheight\",\"swiper-container-3d\":\"swiper-container-3d\",\"swiper-slide-shadow-left\":\"swiper-slide-shadow-left\",\"swiper-slide-shadow-right\":\"swiper-slide-shadow-right\",\"swiper-slide-shadow-top\":\"swiper-slide-shadow-top\",\"swiper-slide-shadow-bottom\":\"swiper-slide-shadow-bottom\",\"swiper-cube-shadow\":\"swiper-cube-shadow\",\"swiper-container-css-mode\":\"swiper-container-css-mode\",\"swiper-container-horizontal\":\"swiper-container-horizontal\",\"swiper-container-fade\":\"swiper-container-fade\",\"swiper-slide-active\":\"swiper-slide-active\",\"swiper-button-prev\":\"swiper-button-prev\",\"swiper-button-next\":\"swiper-button-next\",\"swiper-button-disabled\":\"swiper-button-disabled\",\"swiper-container-rtl\":\"swiper-container-rtl\",\"swiper-button-white\":\"swiper-button-white\",\"swiper-button-black\":\"swiper-button-black\",\"swiper-button-lock\":\"swiper-button-lock\",\"ant-collapse-header\":\"ant-collapse-header\",\"ant-collapse-content\":\"ant-collapse-content\",\"ant-collapse-content-box\":\"ant-collapse-content-box\",\"modal-no-padding\":\"modal-no-padding\",\"ant-modal-body\":\"ant-modal-body\",\"ant-modal-content\":\"ant-modal-content\",\"ant-select\":\"ant-select\",\"ant-select-customize-input\":\"ant-select-customize-input\",\"ant-select-selection-search-input\":\"ant-select-selection-search-input\",\"select-stacked\":\"select-stacked\",\"ant-select-arrow\":\"ant-select-arrow\",\"ant-select-clear\":\"ant-select-clear\",\"ant-select-selector\":\"ant-select-selector\",\"ant-select-selection-item\":\"ant-select-selection-item\",\"ant-select-loading\":\"ant-select-loading\",\"custom-suffix-icon\":\"custom-suffix-icon\",\"ant-select-selection-placeholder\":\"ant-select-selection-placeholder\",\"ant-select-selection-search\":\"ant-select-selection-search\",\"input-no-border\":\"input-no-border\",\"ant-select-open\":\"ant-select-open\",\"ant-select-disabled\":\"ant-select-disabled\",\"select-error\":\"select-error\",\"ant-tag-box-customize-input\":\"ant-tag-box-customize-input\",\"ant-select-selection-item-remove\":\"ant-select-selection-item-remove\",\"ant-select-selection-overflow\":\"ant-select-selection-overflow\",\"ant-select-multiple\":\"ant-select-multiple\",\"ant-select-focused\":\"ant-select-focused\",\"ant-select-dropdown\":\"ant-select-dropdown\",\"rc-virtual-list-holder-inner\":\"rc-virtual-list-holder-inner\",\"ant-select-item\":\"ant-select-item\",\"ant-select-item-option\":\"ant-select-item-option\",\"ant-select-item-option-active\":\"ant-select-item-option-active\",\"ant-select-item-option-disabled\":\"ant-select-item-option-disabled\",\"ant-select-item-option-selected\":\"ant-select-item-option-selected\",\"ant-radio-group-customize\":\"ant-radio-group-customize\",\"horizontal\":\"horizontal\",\"vertical\":\"vertical\",\"ant-radio-customize\":\"ant-radio-customize\",\"ant-radio-wrapper\":\"ant-radio-wrapper\",\"ant-radio\":\"ant-radio\",\"ant-radio-disabled\":\"ant-radio-disabled\",\"ant-radio-inner\":\"ant-radio-inner\",\"ant-radio-input\":\"ant-radio-input\",\"ant-radio-checked\":\"ant-radio-checked\",\"ant-picker-dropdown\":\"ant-picker-dropdown\",\"ant-picker-dropdown-range\":\"ant-picker-dropdown-range\",\"ant-picker\":\"ant-picker\",\"ant-picker-borderless\":\"ant-picker-borderless\",\"ant-picker-range-wrapper\":\"ant-picker-range-wrapper\",\"date-picker-error\":\"date-picker-error\",\"ant-picker-disabled\":\"ant-picker-disabled\",\"ant-picker-suffix\":\"ant-picker-suffix\",\"ant-picker-active-bar\":\"ant-picker-active-bar\",\"ant-picker-input\":\"ant-picker-input\",\"ant-picker-focused\":\"ant-picker-focused\",\"ant-picker-clear\":\"ant-picker-clear\",\"ant-picker-panel-container\":\"ant-picker-panel-container\",\"ant-picker-panel\":\"ant-picker-panel\",\"ant-picker-cell\":\"ant-picker-cell\",\"ant-picker-cell-inner\":\"ant-picker-cell-inner\",\"ant-picker-content\":\"ant-picker-content\",\"ant-picker-header\":\"ant-picker-header\",\"ant-picker-footer\":\"ant-picker-footer\",\"ant-picker-header-super-next-btn\":\"ant-picker-header-super-next-btn\",\"ant-picker-header-super-prev-btn\":\"ant-picker-header-super-prev-btn\",\"ant-picker-prev-icon\":\"ant-picker-prev-icon\",\"ant-picker-next-icon\":\"ant-picker-next-icon\",\"ant-picker-date-panel\":\"ant-picker-date-panel\",\"ant-picker-header-view\":\"ant-picker-header-view\",\"ant-picker-month-btn\":\"ant-picker-month-btn\",\"ant-picker-year-btn\":\"ant-picker-year-btn\",\"ant-picker-header-prev-btn\":\"ant-picker-header-prev-btn\",\"ant-picker-header-next-btn\":\"ant-picker-header-next-btn\",\"ant-picker-range\":\"ant-picker-range\",\"ant-picker-cell-in-view\":\"ant-picker-cell-in-view\",\"ant-picker-cell-selected\":\"ant-picker-cell-selected\",\"ant-picker-cell-range-start\":\"ant-picker-cell-range-start\",\"ant-picker-cell-range-end\":\"ant-picker-cell-range-end\",\"ant-picker-cell-range-hover-start\":\"ant-picker-cell-range-hover-start\",\"ant-picker-cell-in-range\":\"ant-picker-cell-in-range\",\"ant-picker-cell-range-hover-end\":\"ant-picker-cell-range-hover-end\",\"ant-picker-cell-range-start-single\":\"ant-picker-cell-range-start-single\",\"ant-picker-cell-range-end-near-hover\":\"ant-picker-cell-range-end-near-hover\",\"ant-picker-cell-range-start-near-hover\":\"ant-picker-cell-range-start-near-hover\",\"ant-picker-cell-range-end-single\":\"ant-picker-cell-range-end-single\",\"ant-picker-cell-range-hover\":\"ant-picker-cell-range-hover\",\"ant-picker-cell-end\":\"ant-picker-cell-end\",\"ant-picker-cell-range-hover-edge-end\":\"ant-picker-cell-range-hover-edge-end\",\"ant-picker-cell-range-hover-edge-end-near-range\":\"ant-picker-cell-range-hover-edge-end-near-range\",\"ant-picker-cell-start\":\"ant-picker-cell-start\",\"ant-picker-cell-range-hover-edge-start\":\"ant-picker-cell-range-hover-edge-start\",\"ant-picker-cell-range-hover-edge-start-near-range\":\"ant-picker-cell-range-hover-edge-start-near-range\",\"ant-picker-panels\":\"ant-picker-panels\",\"ant-picker-footer-extra\":\"ant-picker-footer-extra\",\"ant-tooltip-customize\":\"ant-tooltip-customize\",\"ant-tooltip-inner\":\"ant-tooltip-inner\",\"ant-slider-tooltip\":\"ant-slider-tooltip\",\"ant-tooltip-arrow-content\":\"ant-tooltip-arrow-content\",\"ant-slider\":\"ant-slider\",\"ant-slider-track\":\"ant-slider-track\",\"ant-slider-rail\":\"ant-slider-rail\",\"ant-slider-handle\":\"ant-slider-handle\",\"ant-tooltip-open\":\"ant-tooltip-open\",\"ant-modal-gallery\":\"ant-modal-gallery\",\"ant-modal-close\":\"ant-modal-close\",\"ant-modal-full\":\"ant-modal-full\",\"ant-modal-gray\":\"ant-modal-gray\",\"ant-modal-header\":\"ant-modal-header\",\"ant-modal-sidebar\":\"ant-modal-sidebar\",\"ant-modal-hide-close\":\"ant-modal-hide-close\",\"ant-modal-footer-fixed\":\"ant-modal-footer-fixed\",\"ant-modal-footer\":\"ant-modal-footer\",\"ant-modal-title\":\"ant-modal-title\",\"ant-modal-close-x\":\"ant-modal-close-x\",\"am-modal-wrap\":\"am-modal-wrap\",\"am-modal\":\"am-modal\",\"am-modal-body\":\"am-modal-body\",\"am-modal-content\":\"am-modal-content\",\"am-modal-close\":\"am-modal-close\",\"ant-modal-wrap\":\"ant-modal-wrap\",\"am-modal-header\":\"am-modal-header\",\"am-modal-title\":\"am-modal-title\",\"ant-modal-tablet-popup\":\"ant-modal-tablet-popup\",\"ant-upload\":\"ant-upload\",\"ant-upload-drag\":\"ant-upload-drag\",\"ant-upload-disabled\":\"ant-upload-disabled\",\"ant-upload-drag-hover\":\"ant-upload-drag-hover\",\"ant-upload-list-item-name\":\"ant-upload-list-item-name\",\"ant-upload-animate-leave\":\"ant-upload-animate-leave\",\"react-loading-skeleton\":\"react-loading-skeleton\",\"ant-dropdown-menu\":\"ant-dropdown-menu\",\"ant-dropdown-menu-item\":\"ant-dropdown-menu-item\",\"ant-dropdown-menu-submenu-title\":\"ant-dropdown-menu-submenu-title\",\"ant-dropdown-menu-item-selected\":\"ant-dropdown-menu-item-selected\",\"ant-dropdown-menu-submenu-title-selected\":\"ant-dropdown-menu-submenu-title-selected\",\"horizontal-scroll\":\"horizontal-scroll\",\"slider\":\"slider\",\"swiper-pagination\":\"swiper-pagination\",\"overflow\":\"overflow\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"autoComplete\":\"shared__auto-complete-module__autoComplete--E+tq+_1738937347675\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1738937347675\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1738937347675\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1738937347675\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1738937347675\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1738937347675\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1738937347675\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1738937347675\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1738937347675\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1738937347675\",\"button__small\":\"shared__button-module__button__small--kA9VI_1738937347675\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1738937347675\",\"button__large\":\"shared__button-module__button__large--PG1dR_1738937347675\",\"button__default\":\"shared__button-module__button__default--mYOHn_1738937347675\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1738937347675\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1738937347675\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1738937347675\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1738937347675\",\"loading\":\"shared__button-module__loading--IZ3gt_1738937347675\",\"icon\":\"shared__button-module__icon--Gso9o_1738937347675\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1738937347675\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1738937347675\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1738937347675\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1738937347675\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1738937347675\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1738937347675\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1738937347675\",\"loader\":\"shared__button-module__loader--v14UE_1738937347675\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1738937347675\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1738937347675\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1738937347675\",\"error\":\"shared__checkbox-module__error--xRaxv_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1738937347675\",\"button\":\"shared__counter-module__button--sOvjE_1738937347675\",\"value\":\"shared__counter-module__value--JD2xM_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1738937347675\",\"error\":\"shared__form-control-module__error--FVB3Z_1738937347675\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1738937347675\",\"galleryPicsContainer\":\"shared__gallery-module__galleryPicsContainer--2ImKs_1738937347675\",\"galleryOnlyPicContainer\":\"shared__gallery-module__galleryOnlyPicContainer--pTyaw_1738937347675\",\"counter\":\"shared__gallery-module__counter--RXshZ_1738937347675\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1738937347675\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1738937347675\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1738937347675\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1738937347675\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1738937347675\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1738937347675\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1738937347675\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1738937347675\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1738937347675\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1738937347675\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1738937347675\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1738937347675\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1738937347675\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1738937347675\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1738937347675\",\"textError\":\"shared__heading-module__textError--Bm1mE_1738937347675\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1738937347675\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1738937347675\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1738937347675\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1738937347675\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1738937347675\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1738937347675\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1738937347675\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1738937347675\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1738937347675\",\"active\":\"shared__icon-module__active--HQWC5_1738937347675\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1738937347675\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1738937347675\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1738937347675\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1738937347675\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1738937347675\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1738937347675\",\"label\":\"shared__input-module__label--tNO2a_1738937347675\",\"input__large\":\"shared__input-module__input__large--p-mBr_1738937347675\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1738937347675\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1738937347675\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1738937347675\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1738937347675\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1738937347675\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1738937347675\",\"disabled\":\"shared__input-module__disabled--ABDAb_1738937347675\",\"invalid\":\"shared__input-module__invalid--e--FF_1738937347675\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1738937347675\",\"clear\":\"shared__input-module__clear--OvXQO_1738937347675\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1738937347675\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1738937347675\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1738937347675\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1738937347675\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1738937347675\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1738937347675\",\"icon\":\"shared__input-module__icon--zr4sW_1738937347675\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1738937347675\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1738937347675\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1738937347675\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1738937347675\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1738937347675\",\"loader\":\"shared__input-module__loader--QYYkV_1738937347675\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1738937347675\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1738937347675\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1738937347675\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1738937347675\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1738937347675\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1738937347675\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1738937347675\",\"link__link\":\"shared__link-module__link__link--gUwQW_1738937347675\",\"link__action\":\"shared__link-module__link__action--USwiE_1738937347675\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1738937347675\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1738937347675\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1738937347675\",\"link__default\":\"shared__link-module__link__default--SOoTy_1738937347675\",\"link__success\":\"shared__link-module__link__success--oWpqh_1738937347675\",\"link__error\":\"shared__link-module__link__error--SNmQa_1738937347675\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1738937347675\",\"link__small\":\"shared__link-module__link__small--alNG-_1738937347675\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1738937347675\",\"link__large\":\"shared__link-module__link__large--2gcWq_1738937347675\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1738937347675\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1738937347675\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1738937347675\",\"icon\":\"shared__link-module__icon--DUvf4_1738937347675\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1738937347675\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1738937347675\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1738937347675\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1738937347675\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1738937347675\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1738937347675\",\"active\":\"shared__loader-line-module__active--0J8lF_1738937347675\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1738937347675\",\"border\":\"shared__loader-line-module__border--OXwgu_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1738937347675\",\"absolute\":\"shared__loader-module__absolute--nggvH_1738937347675\",\"active\":\"shared__loader-module__active--+b4cN_1738937347675\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1738937347675\",\"container__success\":\"shared__message-module__container__success--w4A5v_1738937347675\",\"container__error\":\"shared__message-module__container__error--md-mJ_1738937347675\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1738937347675\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1738937347675\",\"header\":\"shared__modal-module__header--RWaWy_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1738937347675\",\"stars\":\"shared__rating-module__stars--dnMg4_1738937347675\",\"buttons\":\"shared__rating-module__buttons--oat0X_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1738937347675\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1738937347675\",\"disabled\":\"shared__select-module__disabled--gfQp-_1738937347675\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1738937347675\",\"optionText\":\"shared__select-module__optionText--7GphM_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1738937347675\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1738937347675\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1738937347675\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1738937347675\",\"ready\":\"shared__slider-module__ready--H+y-p_1738937347675\",\"slider\":\"shared__slider-module__slider--UBNwU_1738937347675\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1738937347675\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1738937347675\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1738937347675\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1738937347675\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1738937347675\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1738937347675\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1738937347675\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1738937347675\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1738937347675\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1738937347675\",\"title\":\"shared__spoiler-module__title--N0ID7_1738937347675\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1738937347675\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1738937347675\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1738937347675\",\"active\":\"shared__switch-module__active--Mghyc_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1738937347675\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1738937347675\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1738937347675\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1738937347675\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1738937347675\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1738937347675\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1738937347675\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1738937347675\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1738937347675\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1738937347675\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1738937347675\",\"loading\":\"shared__tag-button-module__loading--emtZM_1738937347675\",\"icon\":\"shared__tag-button-module__icon--LtczE_1738937347675\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1738937347675\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1738937347675\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1738937347675\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1738937347675\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1738937347675\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1738937347675\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1738937347675\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1738937347675\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1738937347675\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1738937347675\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1738937347675\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1738937347675\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1738937347675\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1738937347675\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1738937347675\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1738937347675\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1738937347675\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1738937347675\",\"clear\":\"shared__text-area-module__clear--cniAi_1738937347675\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1738937347675\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1738937347675\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1738937347675\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1738937347675\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1738937347675\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1738937347675\",\"icon\":\"shared__text-area-module__icon--HqPRa_1738937347675\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1738937347675\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1738937347675\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1738937347675\",\"loader\":\"shared__text-area-module__loader--zfGHC_1738937347675\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1738937347675\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1738937347675\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1738937347675\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1738937347675\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1738937347675\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1738937347675\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1738937347675\",\"text__large\":\"shared__text-module__text__large--oRnU3_1738937347675\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1738937347675\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1738937347675\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1738937347675\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1738937347675\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1738937347675\",\"textBold\":\"shared__text-module__textBold--56jgD_1738937347675\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1738937347675\",\"textError\":\"shared__text-module__textError--MvnkN_1738937347675\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1738937347675\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1738937347675\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1738937347675\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1738937347675\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1738937347675\",\"left\":\"shared__tooltip-module__left--2nmo1_1738937347675\",\"right\":\"shared__tooltip-module__right--JgZSX_1738937347675\",\"top\":\"shared__tooltip-module__top--VsESz_1738937347675\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1738937347675\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1738937347675\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1738937347675\"};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"tslib\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"classnames\");","import React from 'react';\n\nimport cn from 'classnames';\nimport { useMemo } from 'react';\nimport { PropsWithChildren } from 'react';\n\nimport styles from './icon.module.scss';\n\nexport enum EIconSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EIconVariant {\n default = 'default',\n black = 'black',\n attention = 'attention',\n revert = 'revert',\n warning = 'warning',\n initial = 'initial',\n light = 'light',\n inherit = 'inherit',\n green = 'green',\n}\n\ninterface IIconProps {\n size?: keyof typeof EIconSize;\n variant?: keyof typeof EIconVariant;\n active?: boolean;\n icon: any;\n className?: string;\n onClick?: (e: any) => void;\n 'data-tooltip-target'?: boolean;\n}\n\nexport const Icon = ({\n icon: IconSvg,\n active,\n size = EIconSize.medium,\n variant = EIconVariant.default,\n className,\n onClick,\n ...props\n}: PropsWithChildren<IIconProps>) => {\n const classNames = useMemo(\n () =>\n cn(className, styles.icon, styles[`icon__${size}`], styles[`icon__${variant}`], {\n [styles.active]: active,\n [styles.clickable]: !!onClick,\n }),\n [size, variant, active, className, onClick]\n );\n\n if (!IconSvg) {\n return null;\n }\n\n return <IconSvg {...props} onClick={onClick} className={classNames} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/auto-complete\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgClear(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.894 5.394a.857.857 0 011.212 0l5.394 5.393 5.394-5.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.713 12l5.393 5.394a.858.858 0 01.071 1.132l-.07.08a.857.857 0 01-1.213 0L12.5 13.213l-5.394 5.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L11.287 12 5.894 6.606a.857.857 0 01-.071-1.131l.07-.08z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgClear;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSelectArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.65 11.24a1 1 0 10-1.3 1.52l7 6a1 1 0 001.3 0l7-6a1 1 0 00-1.3-1.52L14 16.684 7.65 11.24z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgSelectArrow;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash.debounce\");","import React from 'react';\n\nimport { Icon } from '@shared/icon';\nimport AntdAutoComplete from 'antd/lib/auto-complete';\nimport { AutoCompleteProps } from 'antd/lib/auto-complete';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport classNames from 'classnames';\nimport debounce from 'lodash.debounce';\nimport styles from './auto-complete.module.scss';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: IAutoCompleteProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\ntype IAutoCompleteProps<T> = Omit<AutoCompleteProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n icon?: any;\n};\n\nexport function AutoComplete<T>({\n labels,\n labelKey,\n valueKey,\n onServerSearch,\n icon,\n debounceTimeout = 500,\n labelPlaceholder,\n onRenderOption,\n popupClassName,\n ...props\n}: IAutoCompleteProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [searchValue, setSearchValue] = useState<string>('');\n const fetchRef = useRef(0);\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>) => {\n if (onRenderOption) {\n return {\n label: onRenderOption(option.data),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n }\n\n return {\n label: (\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n ),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const onChangeSearch = useCallback((value: string) => {\n setSearchValue(value);\n }, []);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setSearchValue(value);\n props.onChange &&\n props.onChange(\n _option?.data,\n (serverOptions || options)?.map((i) => i.data)\n );\n },\n [props.onChange, _options, serverOptions, options]\n );\n\n useEffect(() => {\n const res = props.value && _options?.find((option) => option.key === props.value[valueKey]);\n res && setSearchValue(res.value);\n }, [props.value]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setServerOptions([]);\n setFetching(true);\n\n onServerSearch &&\n onServerSearch(value).then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n setFetching(false);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, debounceTimeout]);\n\n return (\n //@ts-ignore\n <AntdAutoComplete\n {...props}\n value={searchValue}\n options={_options}\n onSelect={onChange}\n popupClassName={popupClassName}\n notFoundContent={null}\n onChange={onChangeSearch}\n placeholder={props.placeholder || labelPlaceholder}\n onSearch={(val) => {\n setSearchValue(val);\n debounceFetcher(val);\n }}\n backfill\n suffixIcon={<Icon icon={icon || SelectArrowIcon} />}\n className={classNames('ant-select-customize-input', props.className, styles.autoComplete, {\n 'select-error': props.error,\n 'select-stacked': props.stacked,\n 'select-loading': fetching,\n })}\n clearIcon={<Icon icon={ClearIcon} />}\n ></AntdAutoComplete>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-media\");","import React, {\n ComponentProps,\n createContext,\n PropsWithChildren,\n useCallback,\n useContext,\n useEffect,\n useState,\n} from 'react';\nimport ReactMedia from 'react-media';\n\ntype IMediaRender = () => any;\n\nconst MEDIA_MATCHES = {\n mobile: '(max-width: 767px)',\n tablet: '(max-width: 1023px) and (min-width: 768px)',\n desktop: '(min-width: 1024px)',\n};\n\nexport interface IMediaMatches {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\ninterface IMediaProps {\n renderMobile?: IMediaRender;\n renderTablet?: IMediaRender;\n renderDesktop?: IMediaRender;\n defaultMatches?: IMediaMatches;\n render?: (matches: IMediaMatches) => React.ReactNode;\n}\n\nexport const Media = ({ renderDesktop, renderMobile, renderTablet, render, defaultMatches }: IMediaProps) => {\n const [mounted, setMounted] = useState(false);\n useEffect(() => {\n setMounted(true);\n }, []);\n\n const defaultRender = useCallback(\n (matches) => {\n if (matches.tablet && renderTablet) {\n return renderTablet && renderTablet();\n } else if (matches.mobile && renderMobile) {\n return renderMobile && renderMobile();\n } else if (matches.desktop && renderDesktop) {\n return renderDesktop && renderDesktop();\n }\n\n return null;\n },\n [renderTablet, renderMobile, renderMobile, render],\n );\n\n return <>{mounted && <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>{render || defaultRender}</ReactMedia>}</>;\n};\n\ninterface IMediaContext {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\nconst MediaContext = createContext<IMediaContext | null>(null);\n\nexport const MediaProvider = ({ children, defaultMatches }: PropsWithChildren<{ defaultMatches?: IMediaMatches }>) => {\n return (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {(matches: IMediaMatches) => <MediaContext.Provider value={matches}>{children}</MediaContext.Provider>}\n </ReactMedia>\n );\n};\n\nexport declare type IReactComponent<P = any> =\n | React.ClassicComponentClass<P>\n | React.ComponentClass<P>\n | React.FunctionComponent<P>\n | React.ForwardRefExoticComponent<P>;\nexport function withMedia<T extends IReactComponent>(Component: T): T;\nexport function withMedia<T extends React.FunctionComponent<any>>(Component: T) {\n return (props: ComponentProps<typeof Component>) => (\n <MediaProvider>\n <Component {...props} />\n </MediaProvider>\n );\n}\n\nexport const useMedia = () => {\n const data = useContext(MediaContext);\n if (!data) {\n throw new Error('Не подключен MediaProvider');\n }\n\n return data;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBreadcrubmsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 13 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M9.172.464l3.182 3.182a.5.5 0 010 .708L9.172 7.536a.5.5 0 11-.708-.708L10.793 4.5H0v-1h10.793L8.464 1.172a.5.5 0 11.708-.708z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgBreadcrubmsArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBack(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.662 12l4.673-5.296a1.002 1.002 0 000-1.293.741.741 0 00-1.14 0L7.95 11.354a1.003 1.003 0 000 1.293l5.244 5.943a.741.741 0 001.141 0 1.002 1.002 0 000-1.293L9.662 12z\",\n fill: \"#873EDF\"\n })));\n}\nexport default SvgBack;","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './text.module.scss';\n\nexport enum ETextSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n inherit = 'inherit',\n}\n\nexport enum ETextWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\ninterface ITextProps {\n size?: keyof typeof ETextSize;\n children?: any;\n bold?: boolean;\n weight?: keyof typeof ETextWeight;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n error?: boolean;\n className?: string;\n inverse?: boolean;\n style?: any;\n through?: boolean;\n tag?: string;\n onClick?: (e: any) => void;\n}\n\nexport const Text = ({\n children,\n size = ETextSize.medium,\n bold,\n weight = ETextWeight.normal,\n addition,\n success,\n error,\n inverse,\n attention,\n warning,\n className,\n style,\n through,\n tag = 'div',\n onClick\n}: ITextProps) => {\n const TextTag = useMemo(() => tag as keyof JSX.IntrinsicElements, [tag]);\n\n const classNames = useMemo(\n () =>\n classnames(styles.text, className, styles[`text__${size}`], styles[`text__${weight}`], {\n [styles.textAddition]: addition,\n [styles.textBold]: bold,\n [styles.textSuccess]: success,\n [styles.textAttention]: attention,\n [styles.textError]: error,\n [styles.textThrough]: through,\n [styles.textInverse]: inverse,\n [styles.textWarning]: warning\n }),\n [size, className, addition, bold, weight, success, attention, error, inverse, warning],\n );\n\n\n return <TextTag style={style} className={classNames} onClick={onClick}>{children}</TextTag>;\n};\n","import React from 'react';\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './link.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ELinkVariant {\n link = 'link',\n href = 'href',\n action = 'action',\n}\n\nexport enum ELinkType {\n attention = 'attention',\n default = 'default',\n addition = 'addition',\n success = 'success',\n error = 'error',\n inverse = 'inverse'\n}\n\nexport enum ELinkSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ELinkWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ELinkDecoration {\n none = 'none',\n underline = 'underline',\n dashed = 'dashed'\n}\n\ninterface ILinkProps {\n size?: keyof typeof ELinkSize;\n icon?: any;\n variant?: keyof typeof ELinkVariant;\n children: any;\n href?: string;\n bold?: boolean;\n weight?: keyof typeof ELinkWeight;\n type?: keyof typeof ELinkType;\n decoration?: keyof typeof ELinkDecoration;\n dashed?: boolean;\n className?: string;\n target?: '_blank';\n onClick?: (e: MouseEvent) => void;\n rel?: string;\n style?: any;\n tag?: string;\n}\n\nexport const Link = ({\n children,\n target,\n icon: Icon,\n variant = ELinkVariant.link,\n size = ELinkSize.medium,\n weight = ELinkWeight.normal,\n decoration = ELinkDecoration.none,\n href,\n bold,\n className,\n type,\n dashed,\n onClick,\n rel,\n style,\n tag = 'div',\n}: ILinkProps) => {\n const TextTag = useMemo(() => tag as any, [tag]);\n\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.link, className, styles[`link__${variant}`], styles[`link__${size}`], styles[`link__${weight}`], styles[`link__${type}`], styles[`link__${decoration}`], {\n [styles.linkBold]: bold,\n [styles.dashed]: dashed,\n }),\n [variant, className, dashed, type, weight, decoration]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n if (variant === ELinkVariant.href || (variant === ELinkVariant.link && !shared.LinkComponent)) {\n return (\n <a className={classNames} target={target} rel={rel} href={href} style={style}>\n {children}\n </a>\n );\n }\n\n if (variant === ELinkVariant.link) {\n return (\n <shared.LinkComponent href={href} className={classNames} target={target} rel={rel} style={style}>\n {children}\n </shared.LinkComponent>\n );\n }\n\n return (\n <TextTag className={classNames} onClick={onClick} style={style}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { createContext, PropsWithChildren, useContext } from \"react\";\n\ntype ISharedContextPrivate = {\n LinkComponent?: any;\n};\n\ninterface ISharedProviderProps {\n LinkComponent?: any;\n}\n\nconst sharedContext = createContext<ISharedContextPrivate>(null);\n\nexport const SharedProvider = ({ children, ...props }: PropsWithChildren<ISharedProviderProps>) => {\n return <sharedContext.Provider value={props}>\n {children}\n </sharedContext.Provider>;\n};\n\nexport const useShared = () => {\n const data = useContext(sharedContext);\n\n return data;\n};\n\n","import React from 'react';\n\nimport { Icon } from \"@shared/icon\";\nimport { useMedia, withMedia } from '@shared/media';\nimport { Fragment, useCallback } from 'react';\n\nimport BreadcrumbsArrowIcon from '../icon/icons/breadcrubms-arrow.svg';\nimport BackIcon from '../icon/icons/back.svg';\n\nimport styles from './breadcrumbs.module.scss';\nimport { Text } from '@shared/text';\nimport { Link } from '@shared/link';\n\nexport interface IBreadcrumbsPath {\n title: string;\n path: string;\n isBack?: boolean;\n isCurrent?: boolean;\n}\n\nexport enum EBreadcrumbsVariant {\n arrow = 'arrow',\n slash = 'slash'\n}\n\ninterface IBreadcrumbsProps {\n paths: IBreadcrumbsPath[];\n variant?: keyof typeof EBreadcrumbsVariant;\n onBack?: (path: string) => void;\n}\n\nexport const Breadcrumbs = withMedia(({ paths, onBack, variant = EBreadcrumbsVariant.arrow }: IBreadcrumbsProps) => {\n const media = useMedia();\n\n const _onBack = useCallback(() => {\n const backPath = paths.reverse().find((i) => i.path && i.isBack);\n if (backPath) {\n onBack && onBack(paths[paths.length - 1].path);\n } else {\n onBack && onBack('/');\n }\n }, [paths]);\n\n return media.mobile ? (\n <Link className={styles.back} variant=\"action\" onClick={_onBack}>\n <Icon variant=\"attention\" icon={BackIcon} />\n <Text size=\"large\" attention weight=\"semibold\">Назад</Text>\n </Link>\n ) : (\n <div className={styles.breadcrumbs}>\n {paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && (variant === EBreadcrumbsVariant.slash ? <Text size=\"large\" addition>/</Text> : <BreadcrumbsArrowIcon />)}\n <span key={index}>\n {item.path ? (\n <Link href={item.path}>\n <Text size=\"large\" addition={variant === EBreadcrumbsVariant.slash} className={styles.breadcrumbsLink}>{item.title}</Text>\n </Link>\n ) : (\n <Text className={styles.text} size=\"large\" attention={item.isCurrent} weight=\"semibold\">{item.title}</Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n});\n","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgButtonLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgButtonLoader;","import React, { PropsWithChildren, useMemo, MouseEvent, useCallback } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/button-loader.svg';\n\nimport styles from './button.module.scss';\n\nexport enum EButtonSize {\n smallS = 'smallS',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EButtonVariant {\n default = 'default',\n secondary = 'secondary',\n outline = 'outline'\n}\n\nexport enum EButtonIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport interface IButtonProps {\n variant?: keyof typeof EButtonVariant;\n size?: keyof typeof EButtonSize;\n icon?: any;\n width?: string;\n iconPosition?: keyof typeof EButtonIconPosition;\n loading?: boolean;\n disabled?: boolean;\n className?: string;\n type?: 'button' | 'submit' | 'reset';\n onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;\n}\n\nexport const Button = ({\n variant = EButtonVariant.default,\n size = EButtonSize.medium,\n iconPosition = EButtonIconPosition.right,\n width,\n icon: Icon,\n loading,\n disabled,\n children,\n className,\n onClick,\n type = 'button',\n}: PropsWithChildren<IButtonProps>) => {\n const classNames = useMemo(\n () =>\n classnames(\n styles.button,\n className,\n styles[`button__${variant}`],\n styles[`button__${size}`],\n styles[`button__icon_${iconPosition}`],\n {\n [styles.loading]: loading,\n [styles.withIcon]: Icon,\n }\n ),\n [variant, size, loading, Icon, disabled, className]\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n const _onClick = useCallback(\n (e?: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) return;\n\n onClick && onClick(e);\n },\n [onClick, disabled, loading]\n );\n\n return (\n <button type={type} className={classNames} disabled={disabled} onClick={_onClick} style={{ width }}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n {loading && <Loader className={loaderClassNames} />}\n </button>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterMinus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.286 8c0-.316.255-.571.571-.571h10.286a.571.571 0 010 1.142H2.857A.571.571 0 012.286 8z\",\n fill: \"#212121\"\n })));\n}\nexport default SvgCounterMinus;","import React, { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\nimport classnames from 'classnames';\nimport { ChangeEvent } from 'react';\nimport styles from './checkbox.module.scss';\n\nexport type ICheckboxProps = {\n disabled?: boolean;\n value?: boolean;\n error?: boolean;\n onChange?: (val: boolean) => void;\n className?: string;\n small?: boolean;\n name?: string;\n};\n\nlet UNIQ_COUNT = 1;\n\nexport const Checkbox = ({ disabled = false, value = false, onChange = () => {}, children, error, className }: PropsWithChildren<ICheckboxProps>) => {\n const [_value, _setValue] = useState(value);\n\n useEffect(() => {\n value !== _value && _setValue(value);\n }, [value]);\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n if (value === e.currentTarget.checked) {\n return;\n }\n _setValue(e.currentTarget.checked);\n onChange(e.currentTarget.checked);\n },\n [onChange, value],\n );\n\n const id = useMemo(() => `checkbox${UNIQ_COUNT++}`, []);\n\n return (\n <div className={classnames(styles.checkboxContainer, className)}>\n <input\n name=\"name\"\n className={classnames(styles.checkbox, { [styles.error]: error })}\n type=\"checkbox\"\n disabled={disabled}\n id={id}\n checked={_value}\n onChange={_onChange}\n />\n <label htmlFor={id}>{children}</label>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterPlus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 2.286c.316 0 .571.256.571.571V7.43h4.572a.571.571 0 010 1.142H8.57v4.572a.571.571 0 01-1.143 0V8.57h-4.57a.571.571 0 010-1.142h4.57V2.857c0-.315.256-.571.572-.571z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgCounterPlus;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDatePicker(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.286.857c.473 0 .857.384.857.857v.994c.72.115 1.186.3 1.654.55a4.673 4.673 0 011.944 1.944c.408.762.642 1.518.681 3.369h.006v6.265l-.004.523c-.035 1.902-.27 2.668-.683 3.439a4.673 4.673 0 01-1.944 1.944c-.838.448-1.669.687-3.961.687H9.164l-.523-.005c-1.902-.035-2.668-.27-3.439-.682a4.673 4.673 0 01-1.944-1.944c-.43-.805-.667-1.603-.686-3.694V8.57c.045-1.851.279-2.607.686-3.369a4.673 4.673 0 011.944-1.944c.469-.25.935-.435 1.655-.55v-.994a.857.857 0 011.714 0v.863c.186-.004.383-.006.593-.006h5.672c.21 0 .407.002.594.006l-.002-.863c0-.473.384-.857.858-.857zm3.427 9.429H4.286v4.792l.008.488c.033 1.292.17 1.85.476 2.423.288.54.701.953 1.24 1.241.64.342 1.264.472 2.912.483h6.156l.488-.007c1.292-.033 1.85-.17 2.423-.476.54-.288.952-.701 1.24-1.24.343-.64.473-1.264.484-2.912v-4.792zm-3.388 4.286c.371 0 .663.07.908.2.244.13.436.322.566.567.131.244.2.536.2.907v.08c0 .37-.069.662-.2.907-.13.244-.322.436-.566.567-.245.13-.537.2-.908.2h-.079c-.37 0-.663-.07-.907-.2a1.363 1.363 0 01-.567-.567c-.131-.245-.2-.537-.2-.908v-.079c0-.37.069-.663.2-.907.13-.245.322-.437.567-.567.244-.13.536-.2.907-.2h.079zM15.078 4.287H8.922l-.35.004v.852a.857.857 0 01-1.715 0V4.45c-.327.075-.585.18-.846.32A2.96 2.96 0 004.77 6.01c-.317.592-.452 1.17-.48 2.56h15.418l-.002-.137c-.034-1.292-.17-1.85-.476-2.423a2.959 2.959 0 00-1.241-1.24 3.287 3.287 0 00-.845-.32l-.001.692a.857.857 0 11-1.715 0l.002-.852c-.112-.002-.229-.004-.352-.004z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgDatePicker;","import React from 'react';\n\nimport { Button } from '@shared/button';\nimport { Text } from '@shared/text';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport CounterMinusIcon from '../icon/icons/counter-minus.svg';\nimport CounterPlusIcon from '../icon/icons/counter-plus.svg';\n\nimport styles from './counter.module.scss';\n\ninterface ICounterProps {\n value?: number;\n max?: number;\n min?: number;\n onChange?: (count: number) => void;\n}\n\nexport const Counter = (props: ICounterProps) => {\n const [value, setValue] = useState(props.value || 0);\n\n const onChange = useCallback((e) => {\n setValue((count) => {\n const newCount = count + e;\n props.onChange && props.onChange(newCount);\n return newCount;\n });\n }, [props.onChange]);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n return (\n <div className={styles.counter}>\n <Button\n className={styles.button}\n icon={CounterMinusIcon}\n disabled={props.min != undefined && value <= props.min}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Button\n className={styles.button}\n icon={CounterPlusIcon}\n disabled={props.max != undefined && value >= props.max}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/generatePicker\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"rc-picker/lib/generate/dateFns\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/locale/ru_RU\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputSearch(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M10.667 17.333a6.667 6.667 0 115.266-2.578l4.49 4.49-1.179 1.178-4.49-4.49a6.637 6.637 0 01-4.087 1.4zm5-6.666a5 5 0 11-10 0 5 5 0 0110 0z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgInputSearch;","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgInputLoader;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"inputmask\");","import React, {\n InputHTMLAttributes,\n useMemo,\n ChangeEvent,\n forwardRef,\n KeyboardEvent,\n useEffect,\n useCallback,\n useState,\n useRef,\n useImperativeHandle,\n ReactNode,\n} from 'react';\nimport classnames from 'classnames';\nimport debounce from 'lodash.debounce';\n\nimport ClearIcon from '../icon/icons/clear.svg';\nimport InputSearchIcon from '../icon/icons/input-search.svg';\nimport InputLoaderIcon from '../icon/icons/input-loader.svg';\nimport { Icon as SharedIcon } from '../icon';\nimport Inputmask from 'inputmask';\n\nimport styles from './input.module.scss';\n\n\nexport enum EInputVariant {\n filled = 'filled',\n outlined = 'outlined',\n pure = 'pure',\n}\n\nexport enum EInputSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EInputBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\nexport enum EInputIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport type IInputProps = {\n error?: boolean;\n icon?: any;\n value?: any;\n autofocus?: boolean;\n variant?: keyof typeof EInputVariant;\n size?: keyof typeof EInputSize;\n border?: keyof typeof EInputBorder;\n iconPositon?: keyof typeof EInputIconPosition;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n className?: string;\n beginSearch?: number;\n debounceTime?: number;\n labelPlaceholder?: string | ReactNode;\n mask?: string;\n onClear?: (val?: string) => void;\n onBeforeMask?: (val?: string) => void;\n onPointerUp?: (e: any) => void;\n onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const Input = forwardRef<HTMLInputElement, IInputProps>(\n (\n {\n onChange,\n onFocus = () => { },\n onBlur = () => { },\n onClear,\n onBeforeMask,\n onSearch,\n onPointerUp,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n type = 'text',\n placeholder,\n style,\n loading = false,\n showClear,\n error,\n labelPlaceholder,\n size = EInputSize.medium,\n variant = EInputVariant.outlined,\n border = EInputBorder.normal,\n iconPositon = EInputIconPosition.right,\n adaptive,\n width,\n className,\n debounceTime = 500,\n beginSearch = NaN,\n mask,\n autofocus,\n ...props\n }: IInputProps,\n ref\n ) => {\n const [_value, _setValue] = useState<string | undefined>(value);\n const [_loading, _setLoading] = useState(loading);\n const [_mask, _setMask] = useState(null);\n\n const innerRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(ref, () => innerRef.current);\n\n useEffect(() => {\n if (props.autoFocus) {\n setTimeout(() => {\n innerRef.current.focus();\n }, 1);\n }\n }, [props.autoFocus])\n\n useEffect(() => _setValue(value), [value]);\n useEffect(() => _setLoading(loading), [loading]);\n useEffect(() => {\n if (!mask && _mask) {\n _mask.remove();\n _setMask(null);\n }\n\n if (!mask || !innerRef.current) {\n return;\n }\n\n if (!innerRef.current) {\n return;\n }\n\n const inputMask = new Inputmask({ mask, greedy: false, onBeforeMask });\n\n setTimeout(() => {\n _setMask(inputMask.mask(innerRef.current));\n innerRef.current.dispatchEvent(new Event('change', { bubbles: true }))\n })\n }, [mask, innerRef.current])\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.input,\n className,\n styles[`input__${variant}`],\n styles[`input__${size}`],\n styles[`input__border_${border}`],\n {\n [styles[`input__${size}_adaptive`]]: adaptive,\n [styles[`input__action_${size}`]]: Icon || _loading || showClear || onSearch,\n [styles[`input__actions_${size}`]]: (Icon || _loading || onSearch) && showClear,\n [styles[`input__actions_${iconPositon}`]]: (Icon || _loading || onSearch) && showClear,\n [styles.disabled]: disabled,\n [styles.invalid]: error,\n }\n ),\n [variant, size, border, disabled, _loading, showClear, adaptive, className, error, iconPositon, onSearch]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames({\n [styles.invalid]: error,\n }),\n [error]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || _loading || onSearch,\n [styles[`clear__action_${iconPositon}`]]: Icon || _loading || onSearch,\n }),\n [variant, size, Icon, _loading, _value, onSearch]\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`], styles[`loader__${iconPositon}`]),\n [variant, size, iconPositon]\n );\n\n const iconClassNames = useMemo(() => classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], styles[`icon__${iconPositon}`]), [\n variant,\n size,\n iconPositon\n ]);\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n const _onSearchDebounce = useCallback(\n debounce((val, callback) => {\n _setValue((prev) => {\n if (prev !== val) {\n return;\n }\n\n (async () => {\n await callback(val);\n _setLoading(false);\n })();\n\n return val;\n });\n }, debounceTime),\n []\n );\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onSearch && _onSearch(e.currentTarget.value);\n _setValue(e.currentTarget.value);\n if (onChange) {\n onChange(e.currentTarget.value, e);\n }\n },\n [_onSearchDebounce, onSearch, onChange, beginSearch]\n );\n\n const _onSearch = useCallback(\n (val: string) => {\n _setLoading(true);\n\n _setValue(() => {\n if (!val) {\n onClear && onClear();\n _setLoading(false);\n } else if (val?.length >= beginSearch) {\n _onSearchDebounce(val, onSearch);\n } else {\n _setLoading(false);\n }\n\n return val;\n });\n },\n [_onSearchDebounce, onSearch, onClear, beginSearch]\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const _onKeyPress = useCallback(\n (e: KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n onSearch && onSearch(_value || '');\n }\n },\n [_value, onSearch]\n );\n\n return (\n <div\n className={classNames}\n style={{ width: width }}\n onPointerUp={onPointerUp}\n >\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <input\n {...props}\n className={inputClassNames}\n ref={innerRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder || (typeof labelPlaceholder === 'string' ? labelPlaceholder : '')}\n type={type}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onKeyPress={_onKeyPress}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {Boolean(showClear && _value) && <SharedIcon icon={ClearIcon} className={clearClassNames} onClick={_onClear} />}\n {onSearch && !_loading && (\n <InputSearchIcon className={iconClassNames} onClick={onSearch.bind(null, _value || '')} />\n )}\n {Icon && !_loading && (\n <Icon className={iconClassNames} />\n )}\n {_loading && <InputLoaderIcon className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import React, { ComponentProps, useCallback } from 'react';\nimport cn from 'classnames';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport { Icon } from '@shared/icon';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { EInputSize, Input } from '@shared/input';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IDatePickerProps = {\n error?: boolean;\n onClear?: (e: any) => void;\n onTouchStart?: (e: any) => void;\n format?: string;\n mask?: string;\n labelPlaceholder?: string;\n} & ComponentProps<typeof AntDatePicker>;\n\nexport const DatePicker = ({\n error,\n onClear,\n format = 'DD.MM.YYYY',\n mask,\n labelPlaceholder,\n onClick,\n ...props\n}: IDatePickerProps) => {\n const onRenderInput = useCallback(\n (props: React.InputHTMLAttributes<HTMLInputElement>) => {\n return (\n <Input\n variant=\"pure\"\n mask={mask}\n error={error}\n labelPlaceholder={labelPlaceholder}\n onPointerUp={onClick}\n {...props}\n size={EInputSize.medium}\n onChange={(_, e) => props.onChange(e)}\n />\n );\n },\n [onClick, error]\n );\n\n return (\n // @ts-ignore\n <AntDatePicker\n {...props}\n locale={locale}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n className={cn(props.className, { 'date-picker-error': error })}\n placeholder={props.placeholder || labelPlaceholder}\n format={format}\n onClick={onClick}\n // @ts-ignore\n showToday={false}\n inputRender={onRenderInput}\n />\n );\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './divider.module.scss';\n\nexport type IDividerProps = {\n width?: string;\n height?: string;\n bordered?: boolean;\n overflow?: number;\n children?: JSX.Element;\n className?: string;\n};\n\nexport const Divider = ({ width, height, bordered, className}: IDividerProps) => {\n return (\n <div\n className={classnames(styles.divider, className, { [styles.bordered]: bordered })}\n style={{\n width,\n height,\n }}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/dropdown\");","import React from 'react';\n\nimport AntDropdown from 'antd/lib/dropdown';\nimport { DropDownProps as AntDropdownProps } from 'antd/lib/dropdown';\nimport { ReactNode, useCallback } from 'react';\n\nimport styles from './dropdown.module.scss';\n\ninterface IDropdownProps extends AntDropdownProps {}\n\nexport const Dropdown = (props: IDropdownProps) => {\n const dropdownRender = useCallback(\n (originNode: ReactNode) => {\n return props.dropdownRender ? (\n <div className={styles.dropdown}>{props.dropdownRender(originNode)}</div>\n ) : (\n originNode\n );\n },\n [props.dropdownRender]\n );\n\n //@ts-ignore\n return <AntDropdown {...props} dropdownRender={dropdownRender} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"formik\");","import { useFormikContext } from \"formik\";\nimport { MutableRefObject, useEffect } from \"react\";\n\ninterface IFocusErrorProps {\n formRef: MutableRefObject<HTMLFormElement>;\n}\n\nexport const FocusError = (props: IFocusErrorProps) => {\n const { errors, isSubmitting, isValidating } = useFormikContext();\n\n useEffect(() => {\n if (isSubmitting && !isValidating) {\n let keys = Object.keys(errors);\n if (keys.length > 0) {\n const selector = `[name=${keys[0]}]`;\n const errorElement = props.formRef.current.querySelector(selector) as HTMLElement;\n if (errorElement) {\n errorElement.focus();\n errorElement.scrollIntoView({ block: 'center' });\n }\n }\n }\n }, [errors, isSubmitting, isValidating]);\n\n return null;\n};\n","import React from 'react';\n\nimport { FormikContextType, FormikProvider } from \"formik\"\nimport { PropsWithChildren, useCallback, useRef } from \"react\"\nimport { FocusError } from \"./form-focus-error\";\n\ninterface IFormProps {\n form: FormikContextType<any>;\n className?: string;\n onBlur?: (values: any) => void;\n onChange?: (values: any) => void;\n onChangeBlur?: (values: any) => void;\n}\n\nexport const Form = (props: PropsWithChildren<IFormProps>) => {\n const ref = useRef<HTMLFormElement>();\n\n const onChangeBlur = useCallback(async () => {\n if (props.form.dirty && props.form.isValid) {\n const isValid = await props.form.validateForm();\n if (!Object.keys(isValid).length) {\n props.onChangeBlur && props.onChangeBlur(props.form.values);\n }\n }\n }, [props.form]);\n\n const onBlur = useCallback(() => {\n setTimeout(() => {\n props.onBlur && props.onBlur(props.form.values);\n onChangeBlur();\n });\n }, [props.onBlur, props.form]);\n\n const onChange = useCallback(() => {\n props.onChange && setTimeout(() => {\n props.onChange(props.form.values);\n });\n }, [props.onChange, props.form]);\n\n return <FormikProvider value={props.form}>\n <form ref={ref} className={props.className} onSubmit={props.form.handleSubmit} onBlur={onBlur} onChange={onChange}>\n {props.children}\n <FocusError formRef={ref} />\n </form>\n </FormikProvider>\n};\n","import React from 'react';\n\nimport { ComponentProps, ElementType, PropsWithChildren, useMemo } from 'react';\nimport { getIn, useField, useFormikContext } from 'formik';\nimport { Text } from '@shared/text';\nimport classnames from 'classnames';\n\nimport styles from './form-control.module.scss';\n\ntype IFormControlProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n name: string;\n label?: string;\n component?: C;\n onChange?: any;\n};\n\nexport const isRequiredField = (validationSchema, name) => {\n if (!validationSchema) {\n return false;\n }\n const schemaDescription = validationSchema.describe();\n const accessor = name.split('.').join('.fields.');\n const field = getIn(schemaDescription.fields, accessor);\n if (!field) {\n return false;\n }\n const isRequired = field.tests.some((test) => test.name === 'required');\n return isRequired;\n};\n\nexport function FormControl<T extends ElementType>({\n name,\n label,\n component,\n onChange,\n ...props\n}: PropsWithChildren<IFormControlProps<T>>) {\n const [field, meta, helpers] = useField({ name, type: 'object' });\n const ctx = useFormikContext();\n const Component = component as any;\n\n const _onChange = (value: any, args: any) => {\n helpers.setValue(value);\n helpers.setError(undefined);\n\n onChange &&\n setTimeout(() => {\n if (onChange) {\n onChange(value, args);\n }\n }, 0);\n\n helpers.setTouched(true, false);\n };\n\n const labelPlaceholder = useMemo(() => {\n if (props.labelPlaceholder && isRequiredField(ctx.validationSchema, name)) {\n return `${props.labelPlaceholder} *`;\n }\n\n return props.labelPlaceholder;\n }, [props.labelPlaceholder, ctx.validationSchema]);\n\n const labelClassNames = useMemo(\n () => classnames(styles.label, { [styles.invalid]: meta.touched && meta.error }),\n [meta.touched, meta.error]\n );\n\n return (\n <div>\n {!!label && (\n <Text className={labelClassNames} size=\"large\" addition>\n {label}\n </Text>\n )}\n <Component\n {...field}\n {...props}\n label={label}\n labelPlaceholder={labelPlaceholder}\n error={meta.touched && meta.error}\n onChange={_onChange}\n />\n {meta.touched && meta.error && (\n <Text className={styles.error} size=\"small\" error>\n {meta.error}\n </Text>\n )}\n </div>\n );\n}\n","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './heading.module.scss';\n\nexport enum EHeadingLevel {\n h1 = 1,\n h2,\n h3,\n h4,\n h5,\n h6\n}\n\nexport enum EHeadingWeight {\n bold = 'bold',\n medium = 'medium',\n regular = 'regular'\n}\n\ninterface IHeadingProps {\n level?: EHeadingLevel;\n children?: any;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n inverse?: boolean;\n error?: boolean;\n className?: string;\n centerText?: boolean;\n weight?: keyof typeof EHeadingWeight\n}\n\nexport const Heading = ({\n children,\n level = EHeadingLevel.h1,\n addition,\n attention,\n warning,\n success,\n inverse,\n error,\n className,\n centerText,\n weight,\n}: IHeadingProps) => {\n const HeadingTag = useMemo(() => `h${level}` as keyof JSX.IntrinsicElements, [level]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.heading,\n styles[`heading__h${level}`],\n styles[`heading__weight_${weight}`],\n {\n [styles.textAddition]: addition,\n [styles.textAttention]: attention,\n [styles.textInverse]: inverse,\n [styles.textSuccess]: success,\n [styles.textError]: error,\n [styles.textWarning]: warning,\n [styles.center]: centerText,\n },\n className,\n ),\n [addition, inverse, error, className, weight, warning, success, attention, centerText, level],\n );\n\n return <HeadingTag className={classNames}>{children}</HeadingTag>;\n};\n","export const appleDetect = () => {\n try {\n return [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(navigator.platform)\n // iPad on iOS 13 detection\n || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document)\n } catch (e) {\n return false;\n }\n}\n","import { useEffect, useRef } from 'react';\n\nexport function useCombinedRefs(...refs) {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n ref.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n}\n","const locale = 'ru-RU';\nconst units: { [key: string]: Intl.DateTimeFormatOptions } = {\n YYYY: {\n year: 'numeric',\n },\n YY: {\n year: '2-digit',\n },\n M: {\n month: 'numeric',\n },\n MM: {\n month: '2-digit',\n },\n MMM: {\n month: 'short',\n },\n MMMM: {\n month: 'long',\n },\n MMMMM: {\n month: 'long',\n },\n D: {\n day: 'numeric',\n },\n DD: {\n day: '2-digit',\n },\n d: {\n weekday: 'short',\n },\n dd: {\n weekday: 'long',\n },\n hh: {\n hour: '2-digit',\n },\n mm: {\n minute: '2-digit',\n },\n ss: {\n second: '2-digit',\n },\n};\n\ninterface IDateFormatOptions {\n plural?: boolean;\n utc?: boolean;\n}\n\nexport const getDate = (value: string = '') => {\n if (/[_]/.test(value)) {\n return new Date('Invalid Date');\n }\n\n return new Date(value.replaceAll('_', 'Ё').split('.').reverse().join('/'));\n}\n\nexport const dateFormat = (value: any, format: string, { plural, utc }: IDateFormatOptions = { utc: true, plural: true }) => {\n let _value = new Date(value);\n\n if ((!value && value !== 0) || _value.getTime() !== _value.getTime()) {\n return null;\n }\n\n if (utc) {\n const userTimezoneOffset = _value.getTimezoneOffset() * 60000;\n _value = new Date(_value.getTime() + userTimezoneOffset);\n }\n\n const dateUnits = [];\n const dateItems = format.split(/\\, | \\- | |:|\\-|\\.|_/);\n const delimeters = format.split(/[DMYdhms]/).filter(Boolean);\n let stringDate = '';\n\n dateItems.forEach((item) => {\n let unit: string;\n\n if (/hh|mm|ss/.test(item)) {\n unit = _value.toLocaleTimeString(locale, units[item]);\n if (unit.length === 1) {\n unit = `0${unit}`;\n }\n } else if (plural && item === 'MMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1];\n } else if (item === 'MMM') {\n unit = _value.toLocaleDateString(locale, units[item]);\n unit = unit.slice(0, 3);\n } else if (item === 'MMMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1].toUpperCase();\n } else if (item === 'd') {\n unit = _value.toLocaleString(locale, units[item]);\n unit = unit.replace(/^./, (c) => c.toUpperCase());\n } else {\n unit = _value.toLocaleString(locale, units[item]);\n }\n\n // if (index === 0) {\n // unit = unit.toCapitalize();\n // }\n\n dateUnits.push(unit);\n });\n\n dateUnits.forEach((item, i) => {\n stringDate += item + (delimeters[i] ? delimeters[i] : '');\n });\n\n return stringDate;\n};\n","export const dateWithoutTimezone = (date: Date) => {\n return new Date(date.getTime() - date.getTimezoneOffset() * 60000)\n}\n\nexport const dateWithTimezone = (date: Date) => {\n return new Date(date.getTime() + date.getTimezoneOffset() * 60000)\n}\n","export const pluralize = (val: number, plurals: string[]): string => {\n if (val % 10 === 0 || (val % 10 > 4 && val % 10 < 10) || (val % 100 > 4 && val % 100 < 20)) {\n return plurals[2];\n }\n\n if (val % 10 > 1 && val % 10 < 5) {\n return plurals[1];\n }\n\n if (val % 10 === 1) {\n return plurals[0];\n }\n\n return '';\n};\n","/**\n * Format a number of views into a string with thousands separators.\n *\n * @example\n * formatViews(1000) // '1 000'\n * formatViews(123456) // '123 456'\n * @param {number} num - The number of views.\n * @returns {string} The formatted string.\n */\nexport const formatViews = (num: number) => {\n let numStr = num.toString();\n\n if (numStr.length <= 3) {\n return numStr;\n }\n return formatViews(parseInt(numStr.slice(0, -3))) + ' ' + numStr.slice(-3);\n};\n","export const priceFormat = (value: number | string) => {\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(Math.ceil((+value || 0) / 100));\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n return (\n price\n .map(({ type, value }) => {\n switch (type) {\n case 'currency':\n return null;\n default:\n return value;\n }\n })\n .filter(Boolean)\n .slice(0, -1)\n .reduce((val, part) => val + part, '') +\n ' ' +\n currencySign\n );\n};\n","const PREPOSITIONS = [\n 'в',\n 'во',\n 'без',\n 'до',\n 'из',\n 'к',\n 'ко',\n 'на',\n 'по',\n 'о',\n 'от',\n 'при',\n 'с',\n 'со',\n 'у',\n 'не',\n 'за',\n 'над',\n 'для',\n 'об',\n 'под',\n 'про',\n 'и',\n 'а',\n 'но',\n 'да',\n 'или',\n 'ли',\n 'бы',\n 'то',\n 'что',\n 'как',\n 'я',\n 'он',\n 'мы',\n 'они',\n 'ни',\n 'же',\n 'вы',\n 'им',\n '-',\n];\n\nconst ESCAPE = '&nbsp;';\nconst DASH = '&mdash;';\n\nconst replacement = (str) => str.slice(0, -1) + ESCAPE;\n\nconst decorate = (value: string) => {\n const regex = new RegExp(\n PREPOSITIONS.map((x) => {\n if (x === '-') {\n x = DASH;\n }\n return ' ' + x + ' ';\n }).join('|'),\n 'gi',\n );\n const formattedText = value.replace(regex, replacement);\n return formattedText;\n};\n\nexport const textSanitize = (value: string): string => {\n if (!value) {\n return value;\n }\n return decorate(value);\n};\n","import { useEffect, useState } from \"react\";\nimport { dateFormat } from \"./date-format\";\nimport { dateWithTimezone } from \"./date\";\n\nconst UNITS = [\n {\n label: 'ч',\n value: 60 * 60 * 1000,\n },\n {\n label: 'мин',\n value: 60 * 1000,\n },\n];\n\nexport const timeLeftMinutes = (time: number) => {\n return timeLeft(time * 1000 * 60);\n};\n\nexport const timeLeft = (time: number) => {\n let str = '';\n\n UNITS.forEach((unit) => {\n\n if (Math.floor(time / unit.value)) {\n str += `${Math.floor(time / unit.value)} ${unit.label} `;\n }\n\n time = time - Math.floor(time / unit.value) * unit.value;\n });\n\n return str;\n};\n\nconst wzero = (input: number) => (input > 9 ? String(input) : `0${input > -1 ? input : '0'}`);\nconst getTimeLeft = (date: Date) => {\n const timeLeft = date.getTime() - new Date().getTime();\n\n if (timeLeft >= 24 * 60 * 60 * 1000) {\n return `до ${dateFormat(date, 'D MMMM hh:mm')}`;\n }\n\n if (timeLeft < 0) {\n return null;\n }\n\n const dateLeft = dateWithTimezone(new Date(timeLeft));\n return `${wzero(dateLeft.getHours())}:${wzero(dateLeft.getMinutes())}:${wzero(dateLeft.getSeconds())}`;\n};\n\ninterface IUseTimeLeftProps {\n expireDate: Date;\n onExpired: () => void;\n}\n\nexport const useTimeLeft = ({ expireDate = new Date(0), onExpired }: IUseTimeLeftProps) => {\n const [timeLeft, setTimeLeft] = useState(getTimeLeft(expireDate));\n\n useEffect(() => {\n setTimeLeft(getTimeLeft(expireDate));\n\n const timeout = setTimeout(() => {\n setTimeLeft(getTimeLeft(expireDate));\n }, 1000);\n\n if (!timeLeft) {\n onExpired();\n }\n\n return () => clearTimeout(timeout);\n }, [timeLeft, expireDate]);\n\n return timeLeft;\n};\n","export { appleDetect } from './apple-detect';\nexport { useCombinedRefs } from './combine-ref';\nexport { dateFormat, getDate } from './date-format';\nexport { dateWithTimezone, dateWithoutTimezone } from './date';\nexport { pluralize } from './pluralize';\nexport { formatViews } from './views-format';\nexport { priceFormat } from './price-format';\nexport { textSanitize } from './text-sanitize';\nexport { timeLeft, timeLeftMinutes, useTimeLeft } from './time-left';\n\nfunction generateToken(n) {\n var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\n var token = '';\n for (var i = 0; i < n; i++) {\n token += chars[Math.floor(Math.random() * chars.length)];\n }\n return token;\n}\n\nexport const uuidv4 = () => {\n return generateToken(10);\n};\n","import React, { useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport styles from './loader.module.scss';\nimport { uuidv4 } from '@shared/utils';\n\ninterface ILoaderProps {\n absolute?: boolean;\n fixed?: boolean;\n active?: boolean;\n id?: string;\n}\n\ninterface ILoaderIconProps {\n className?: string;\n id?: string;\n}\n\nconst LoaderIcon = (props: ILoaderIconProps) => {\n const [id] = useState(props.id || uuidv4());\n\n return (\n <svg\n className={props.className}\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id})`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id}_1)`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <defs>\n <linearGradient id={`${id}`} x1=\"14.5\" y1=\"5.5\" x2=\"16.5\" y2=\"10\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n <linearGradient id={`${id}_1`} x1=\"10\" y1=\"16\" x2=\"17\" y2=\"9.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport const Loader = (props: ILoaderProps) => {\n if (props.absolute) {\n return (\n <div className={classNames(styles.absolute, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n if (props.fixed) {\n return (\n <div className={classNames(styles.fixed, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n return <LoaderIcon className={styles.loader} />;\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './loader-line.module.scss';\n\nexport type ILoaderLineProps = {\n active?: boolean;\n children?: JSX.Element;\n};\n\n\nexport const LoaderLine = ({ active }: ILoaderLineProps) => {\n return (\n <>\n <div className={classnames(styles.loaderLine, { [styles.active]: active })}>\n <div className={styles.border} />\n <div className={styles.bar} />\n </div>\n </>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/menu\");","import React, { PropsWithChildren } from 'react';\n\nimport AntMenu from 'antd/lib/menu';\nimport { MenuProps as AntMenuProps } from 'antd/lib/menu';\n\ninterface IMenuProps extends AntMenuProps {}\n\nexport const Menu = (props: PropsWithChildren<IMenuProps>) => {\n // @ts-ignore\n return <AntMenu {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/modal\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgModalClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.293 6.293a1 1 0 011.414 0L14 12.585l6.293-6.292a1 1 0 011.32-.083l.094.083a1 1 0 010 1.414L15.415 14l6.292 6.293a1 1 0 01.083 1.32l-.083.094a1 1 0 01-1.414 0L14 15.415l-6.293 6.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 010-1.414L12.585 14 6.293 7.707a1 1 0 01-.083-1.32l.083-.094z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgModalClose;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n width: \"1em\",\n height: \"1em\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M8.793 5.293a1 1 0 000 1.414L14.086 12l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\"\n })));\n}\nexport default SvgArrow;","import React from 'react';\n\nimport { Heading } from '@shared/heading';\nimport { Icon } from '@shared/icon';\nimport AntdModal from 'antd/lib/modal';\nimport {\n ComponentProps,\n ElementType,\n forwardRef,\n MutableRefObject,\n PropsWithChildren,\n ReactNode,\n useCallback,\n useEffect,\n useState,\n} from 'react';\nimport ModalCloseIcon from './../icon/icons/modal-close.svg';\nimport classNames from 'classnames';\n\nimport styles from './modal.module.scss';\n\nexport type PropsWithModal<P, D = any> = P & {\n data: D;\n modal: IModalRef<D>;\n};\n\nexport interface IModalRef<D = any> {\n open: (data: D) => void;\n close: () => void;\n setTitle: (title: string | ReactNode) => void;\n setFooter: (node: ReactNode) => void;\n setClosable: (show: boolean) => void;\n setWidth: (width: string | number) => void;\n setFooterFixed: (value: boolean) => void;\n setFull: (value: boolean) => void;\n setGallery: (value: boolean) => void;\n setSidebar: (value: boolean) => void;\n setTabletPopup: (value: boolean) => void;\n setShowCloseIcon: (value: boolean) => void;\n setMaskClosable: (value: boolean) => void;\n setGrayBackground: (value: boolean) => void;\n}\n\ntype IModalProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: any;\n title?: string;\n width?: number | string;\n footer?: ReactNode;\n sidebar?: boolean;\n showClose?: boolean;\n maskClosable?: boolean;\n footerFixed?: boolean;\n full?: boolean;\n gallery?: boolean;\n tabletPopup?: boolean;\n grayBackground?: string;\n};\n\nfunction _Modal<C extends ElementType>(\n {\n title,\n footer,\n width = 'max-content',\n closable = true,\n sidebar,\n showClose = true,\n maskClosable = true,\n component: Component,\n children,\n footerFixed,\n ...props\n }: PropsWithChildren<IModalProps<C>>,\n ref?: MutableRefObject<IModalRef>\n) {\n const [open, setOpen] = useState(false);\n const [data, setData] = useState<any>();\n const [_width, _setWidth] = useState<number | string>(width);\n const [_title, _setTitle] = useState<ReactNode>(title);\n const [_footer, _setFooter] = useState<ReactNode>(footer);\n const [_closable, _setClosable] = useState<boolean>(props.closable);\n const [_full, _setFull] = useState<boolean>(props.full);\n const [_gallery, _setGallery] = useState<boolean>(props.gallery);\n const [_tabletPopup, _setTabletPopup] = useState<boolean>(props.tabletPopup);\n const [_footerFixed, _setFooterFixed] = useState<boolean>(props.footerFixed);\n const [_sidebar, _setSidebar] = useState<boolean>(sidebar);\n const [_showClose, _setShowClose] = useState<boolean>(showClose);\n const [_maskClosable, _setMaskClosable] = useState<boolean>(maskClosable);\n const [_grayBackground, _setGrayBackground] = useState<boolean>(props.grayBackground);\n\n useEffect(() => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n const scrollTop = html.scrollTop;\n const isOpen = open;\n if (open) {\n document.body.style.overflowY = 'auto';\n html.style.overflowY = 'hidden';\n container.style.transform = `translateY(-${scrollTop}px)`;\n html.style.overscrollBehavior = 'none';\n }\n\n return () => {\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n\n if (isOpen) {\n let item = html.offsetHeight;\n console.log(item);\n html.scrollTop = scrollTop;\n }\n };\n }, [open]);\n\n useEffect(() => {\n return () => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n };\n }, []);\n\n const handleCancel = useCallback(() => {\n setOpen(false);\n }, []);\n\n const handleOpen = useCallback((data) => {\n setData(data);\n setTimeout(() => {\n setOpen(true);\n }, 1);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n setTitle: _setTitle,\n setFooter: _setFooter,\n setClosable: _setClosable,\n setWidth: _setWidth,\n setFooterFixed: _setFooterFixed,\n setFull: _setFull,\n setGallery: _setGallery,\n setSidebar: _setSidebar,\n setShowCloseIcon: _setShowClose,\n setMaskClosable: _setMaskClosable,\n setTabletPopup: _setTabletPopup,\n setGrayBackground: _setGrayBackground,\n };\n }, [ref?.current]);\n\n return (\n //@ts-ignore\n <AntdModal\n open={open}\n closable={_closable}\n maskClosable={_maskClosable}\n destroyOnClose={true}\n afterClose={() => {\n setData(null);\n setOpen(false);\n\n document.body.style.overflowY = '';\n }}\n width={_width}\n closeIcon={<Icon size=\"large\" icon={ModalCloseIcon} />}\n onCancel={handleCancel}\n title={\n typeof _title === 'string' ? (\n <Heading className={styles.header} level={4}>\n {_title}\n </Heading>\n ) : (\n _title\n )\n }\n footer={_footer ? <div className={styles.footer}>{_footer}</div> : null}\n maskTransitionName=\"\"\n transitionName=\"\"\n className={classNames({\n 'ant-modal-hide-close': !_showClose,\n 'ant-modal-sidebar': _sidebar,\n 'ant-modal-footer-fixed': _footerFixed && !!_footer,\n 'ant-modal-full': _full,\n 'ant-modal-gallery': _gallery,\n 'ant-modal-gray': _grayBackground,\n })}\n wrapClassName={classNames({\n 'ant-modal-tablet-popup': _tabletPopup,\n })}\n >\n {children}\n {!!Component && <Component {...props} data={data} modal={ref.current} />}\n </AntdModal>\n );\n}\n\nexport const Modal = forwardRef<IModalRef, IModalProps<any>>(_Modal);\n","import React from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IModalRef, Modal } from './modal';\nimport { uuidv4 } from '@shared/utils';\n\ntype IModalContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IModalRef<any>>;\n};\n\ntype IModalObj = {\n ref: RefObject<IModalRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst modalContext = createContext<IModalContextPrivate>(null);\n\nexport const ModalProvider = ({ children }: PropsWithChildren<any>) => {\n const [modals, setModals] = useState<IModalObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IModalRef>();\n const id = uuidv4();\n setModals((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <modalContext.Provider value={value}>\n {children}\n {modals.map((modal) => (\n <Modal key={modal.id} ref={modal.ref} component={modal.component} {...modal.initialProps} />\n ))}\n </modalContext.Provider>\n );\n};\n\nexport const useModal = (component: any, initialProps?: any) => {\n const data = useContext(modalContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен ModalProvider');\n }\n\n return res;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd\");","import React, { useCallback, useEffect, useState } from 'react';\nimport Arrow from '../icon/icons/arrow.svg';\nimport styles from './gallery.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport { Text } from '@shared/text';\nimport { Button } from 'antd';\n\ninterface IImageUrl {\n thumbWebp?: string;\n thumbJpeg?: string;\n jpeg: string;\n webp?: string;\n}\n\nexport interface IGalleryModalData {\n imageUrls: IImageUrl[];\n currentIndex: number;\n isImageCounter?: boolean;\n}\n\n/**\n * A gallery component for displaying a list of images in a modal.\n *\n * @param {Object} props.modal - The modal instance to use for displaying the gallery.\n * @param {function} props.modal.setGallery - Function to set the gallery state in the modal.\n * @param {IGalleryModalData} props.data - The data for the gallery.\n * @param {IImageUrl[]} props.data.imageUrls - An array of image URLs to display in the gallery\n * @param {number} props.data.currentIndex - The index of the currently displayed image.\n * @param {boolean} [props.data.isImageCounter=true] - Whether to display an image counter.\n * @returns {JSX.Element} A JSX element representing the gallery.\n */\n\nexport const Gallery = ({ modal, data }: PropsWithModal<{}, IGalleryModalData>) => {\n const { imageUrls, currentIndex = 0, isImageCounter = true } = data;\n\n const [current, setCurrent] = useState(currentIndex);\n\n useEffect(() => {\n modal.setGallery(true);\n }, []);\n\n const onNext = useCallback(() => {\n setCurrent((prev) => (prev + 1) % imageUrls.length);\n }, [imageUrls]);\n\n const onPrev = useCallback(() => {\n setCurrent((prev) => (prev - 1 + imageUrls.length) % imageUrls.length);\n }, [imageUrls]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowRight') {\n onNext();\n } else if (event.key === 'ArrowLeft') {\n onPrev();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => window.removeEventListener('keydown', handleKeyDown);\n }, [onNext, onPrev]);\n\n const getSliderPictures = () => {\n if (imageUrls[current]?.webp) {\n return (\n <figure className={styles.galleryPicsContainer}>\n <picture>\n <source type=\"image/webp\" srcSet={`${imageUrls[current].thumbWebp} 1x, ${imageUrls[current].webp} 2x`} />\n <source type=\"image/jpeg\" srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current]?.thumbJpeg} 1x`} />\n <img\n src={decodeURI(imageUrls[current].jpeg)}\n srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current].thumbJpeg} 1x`}\n alt=\"Gallery image\"\n loading=\"lazy\"\n className={styles.image}\n />\n </picture>\n </figure>\n );\n }\n return (\n <figure className={styles.galleryOnlyPicContainer}>\n <img src={decodeURI(imageUrls[current].jpeg)} alt=\"Gallery image\" loading=\"lazy\" className={styles.image} />\n </figure>\n );\n };\n\n return (\n <div className={styles.gallery}>\n <Button onClick={onNext} className={styles.buttonNext} icon={<Arrow />} aria-label=\"Next slide in gallery\" />\n <Button onClick={onPrev} className={styles.buttonPrev} icon={<Arrow />} aria-label=\"Prev slide in gallery\" />\n {getSliderPictures()}\n {isImageCounter && (\n <Text weight=\"semibold\" className={styles.counter}>\n {current + 1} из {imageUrls.length}\n </Text>\n )}\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/radio\");","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntRadio from 'antd/lib/radio';\nimport { RadioChangeEvent, RadioGroupProps } from 'antd/lib/radio';\nimport { CheckboxValueType } from 'antd/lib/checkbox/Group';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './radio.module.scss';\n\ninterface IRadioOption<T> {\n label: string;\n value: CheckboxValueType;\n data: T;\n}\n\ntype IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'value'> & {\n options: T[] | T;\n labels?: { [key: string]: string };\n valueKey?: string;\n labelKey?: string;\n value?: any;\n onChange?: (value: T, e?: MouseEvent) => void;\n position?: 'vertical' | 'horizontal';\n className?: string;\n error?: boolean;\n};\n\nfunction formatItemToOption<T = any>(item: any, valueKey: string, labelKey: string, labels: { [key: string]: string }) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as IRadioOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as IRadioOption<T>;\n}\n\nexport function Radio<T = any>({\n options,\n position = 'horizontal',\n valueKey,\n labelKey,\n labels,\n className,\n error,\n ...props\n}: IRadioProps<T>) {\n const [value, setValue] = useState<any>();\n\n const _options = useMemo(() => {\n let _options = null;\n if (Array.isArray(options)) {\n _options = options;\n }\n\n if (options) {\n _options = Object.values(options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [options, labels]);\n\n useEffect(() => {\n if (!options) {\n return;\n }\n\n const res = _options?.find(\n (option) => (props.value && option.value === props.value[valueKey]) || option.value === props.value\n );\n setValue(res?.value);\n }, [props.value, _options]);\n\n const _onChange = useCallback(\n (e: RadioChangeEvent) => {\n const value = _options.find((option) => option.value === e.target.value);\n setValue(value.value);\n props.onChange && props.onChange(value?.data, e.nativeEvent);\n },\n [props.onChange, _options]\n );\n\n const classNames = useMemo(\n () =>\n cn('ant-radio-customize', className, {\n [styles.invalid]: error,\n }),\n [className, error]\n );\n\n const labelClassNames = useMemo(() => cn({ [styles.invalid]: error }), [error]);\n\n return (\n //@ts-ignore\n <AntRadio.Group className={cn('ant-radio-group-customize', position)} {...props} onChange={_onChange} value={value}>\n {_options.map((option, index) => (\n //@ts-ignore\n <AntRadio className={classNames} key={index} value={option.value}>\n <Text size=\"large\" className={labelClassNames}>\n {option.label}\n </Text>\n </AntRadio>\n ))}\n </AntRadio.Group>\n );\n}\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\n\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { Icon } from '../icon';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IRangePickerProps = {\n isFromToday?: boolean;\n onClear?: (e: any) => void;\n} & ComponentProps<typeof AntDatePicker.RangePicker>;\n\nexport const RangePicker = forwardRef(({ onClear, ...props }: IRangePickerProps, ref) => {\n const disabledDate = useCallback(\n (current: Date) => {\n if (props.disabledDate && props.disabledDate(current)) {\n return true;\n }\n\n if (props.isFromToday) {\n const date = new Date();\n date.setHours(0);\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return current && current.getTime() < date.getTime();\n }\n\n return false;\n },\n [props.isFromToday, props.disabledDate]\n );\n\n // @ts-ignore\n return (\n // @ts-ignore\n <AntDatePicker.RangePicker\n locale={locale}\n pickerRef={ref as any}\n {...props}\n disabledDate={disabledDate}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n />\n );\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/select\");","import React from 'react';\n\nimport AntSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\n\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './select.module.scss';\nimport classNames from 'classnames';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\ninterface ISelectOptionGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\ninterface ISelectGroup<T> {\n label: string;\n options: T[];\n}\n\ntype ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n optionsGroup?: ISelectGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n suffixIcon?: any;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ISelectProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nexport function Select<T = any>({\n debounceTimeout = 500,\n onServerSearch,\n onServerSearchGroup,\n onRenderOption,\n valueKey = 'value',\n labelKey,\n labelPlaceholder,\n labels,\n popupClassName,\n suffixIcon,\n stacked,\n error,\n ...props\n}: ISelectProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionGroup<T>[]>(null);\n\n const [value, setValue] = useState<ISelectOption<T>>();\n const fetchRef = useRef(0);\n\n const isEqual = (option) =>\n option.key === props.value ||\n option.props.data === props.value ||\n (props.value && (option.key === props.value[valueKey] || option.props.value === props.value[valueKey]));\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n props.optionsGroup?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n }, [props.optionsGroup]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setServerOptions([]);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setOptionsGroup([]);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, onServerSearchGroup, debounceTimeout]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntSelect.Option>\n );\n }\n\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderGroup = useCallback((group: ISelectOptionGroup<T>) => {\n return <AntSelect.OptGroup label={group.label}>{group.options.map(_onRenderOptions)}</AntSelect.OptGroup>;\n }, []);\n\n const onDropdownVisibleChange = useCallback(\n (open: boolean) => {\n if (!open) {\n setServerOptions(null);\n return;\n }\n },\n [value]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup: any[] = useMemo(() => optionsGroup?.map(_onRenderGroup) || null, [optionsGroup]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.data,\n (serverOptions || options)?.map((i) => i.data)\n );\n },\n [props.onChange, _options, serverOptions, options]\n );\n\n useEffect(() => {\n let res = props.value && _options?.find(isEqual);\n\n if (_optionsGroup?.length) {\n for (const group of _optionsGroup) {\n res = group.props.children.find(isEqual);\n if (res) break;\n }\n }\n\n setValue(res?.props.value);\n }, [props.value, _options, _optionsGroup]);\n\n return (\n <AntSelect\n {...props}\n value={value}\n options={undefined}\n onSearch={onServerSearch || onServerSearchGroup ? debounceFetcher : undefined}\n popupClassName={popupClassName}\n onDropdownVisibleChange={onDropdownVisibleChange}\n notFoundContent={null}\n loading={fetching || props.loading}\n onChange={onChange}\n placeholder={props.placeholder || labelPlaceholder}\n clearIcon={<Icon icon={ClearIcon} />}\n className={cn('ant-select-customize-input', props.className, styles.select, {\n 'select-error': error,\n 'select-stacked': stacked,\n 'select-loading': fetching,\n })}\n suffixIcon={suffixIcon ? suffixIcon : <Icon icon={SelectArrowIcon} />}\n >\n {_optionsGroup?.length ? _optionsGroup : _options}\n </AntSelect>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/slider\");","import React from 'react';\n\nimport Slider from 'antd/lib/slider';\nimport { SliderRangeProps, SliderSingleProps } from 'antd/lib/slider';\nimport { useEffect, useState } from 'react';\n\ninterface ISelectorRangeProps extends SliderRangeProps {}\n\nexport const SelectorRange = (props: ISelectorRangeProps) => {\n const [value, setValue] = useState<[number, number]>(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n //@ts-ignore\n return <Slider {...props} value={value} onChange={setValue} />;\n};\n\ninterface ISelectorProps extends SliderSingleProps {}\n\nexport const Selector = (props: ISelectorProps) => {\n //@ts-ignore\n return <Slider {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-loading-skeleton\");","import React from 'react';\n\nimport RLSkeleton, { SkeletonProps } from 'react-loading-skeleton';\n\ntype ISkeletonProps = SkeletonProps;\n\nexport const Skeleton = (props: ISkeletonProps) => {\n return <RLSkeleton {...props} />\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper/react\");","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 49 48\",\n fill: \"none\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 49 48\",\n fill: \"none\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper\");","import React, { useEffect } from 'react';\nimport { Text } from '@shared/text';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport classnames from 'classnames';\nimport SwiperCore, { Navigation, Autoplay, Controller, EffectFade } from 'swiper';\nimport { useCallback, useMemo, useRef, useState } from 'react';\n\nimport styles from './slider.module.scss';\n\nSwiperCore.use([Navigation, Autoplay, Controller, EffectFade]);\n\ninterface ISliderProps {\n items: any[];\n slidesPerView: any;\n showNavigation?: boolean;\n navPosition?: 'inset' | '';\n renderItem: (item: any, index: number) => any;\n viewItem?: (item: any, index: number) => void;\n loop?: boolean;\n asyncReady?: boolean;\n spaceBetween?: number;\n autoplay?: boolean;\n delay?: number;\n freeMode?: boolean;\n showCounter?: boolean;\n centeredSlides?: boolean;\n className?: string;\n classNamePrev?: string;\n classNameNext?: string;\n touchStartPreventDefault?: boolean;\n overflow?: boolean;\n preloadImages?: boolean;\n shortSwipes?: boolean;\n longSwipes?: boolean;\n longSwipesRatio?: number;\n longSwipesMs?: number;\n preventClicks?: boolean;\n preventClicksPropagation?: boolean;\n speed?: number;\n effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip';\n}\n\nexport const Slider = ({\n items,\n slidesPerView,\n renderItem,\n viewItem = () => {},\n loop,\n asyncReady,\n showNavigation,\n navPosition = '',\n spaceBetween = 24,\n autoplay = false,\n delay = 10000,\n freeMode,\n showCounter,\n centeredSlides,\n className,\n classNamePrev,\n classNameNext,\n touchStartPreventDefault,\n overflow,\n preloadImages,\n shortSwipes = true,\n longSwipes = true,\n longSwipesMs = 300,\n longSwipesRatio = 0.5,\n preventClicks = true,\n preventClicksPropagation = true,\n effect,\n speed = 1000,\n}: ISliderProps) => {\n const navigationPrevRef = useRef(null);\n const navigationNextRef = useRef(null);\n const [index, setIndex] = useState(0);\n const [ready, setReady] = useState(asyncReady);\n\n const classNames = useMemo(\n () =>\n classnames(styles.slider, className, {\n [styles.sliderAutoLoop]: loop && slidesPerView === 'auto',\n [styles.ready]: ready,\n overflow,\n }),\n [loop, slidesPerView, ready, className, overflow]\n );\n\n const onSlideItem = useCallback(\n (indexItem) => {\n const findItem = items.find((_, index) => index === indexItem);\n viewItem(findItem, indexItem);\n },\n [viewItem]\n );\n\n const renderSliderCounter = useMemo(\n () => (\n <div className={styles.sliderCounterContainer}>\n <div className={styles.sliderCounter}>\n <Text size=\"medium\" attention weight=\"semibold\" className={styles.sliderCounter__text}>\n {index} из {items.length}\n </Text>\n </div>\n </div>\n ),\n [index, items.length, styles]\n );\n\n useEffect(() => {\n if (asyncReady) {\n setReady(true);\n }\n }, [asyncReady]);\n\n return (\n <>\n <div className={classnames(styles.sliderContainer, 'slider')}>\n <div\n ref={navigationPrevRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__prev_${navPosition}`],\n styles[`buttonSlider__prev`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNamePrev\n )}\n >\n <ArrowPrev />\n </div>\n <div\n ref={navigationNextRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__next_${navPosition}`],\n styles[`buttonSlider__next`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNameNext\n )}\n >\n <ArrowNext />\n </div>\n <Swiper\n preventClicks={preventClicks}\n preventClicksPropagation={preventClicksPropagation}\n shortSwipes={shortSwipes}\n longSwipes={longSwipes}\n longSwipesRatio={longSwipesRatio}\n longSwipesMs={longSwipesMs}\n loop={(loop && items?.length > slidesPerView) || (loop && slidesPerView === 'auto')}\n speed={speed}\n fadeEffect={effect === 'fade' ? { crossFade: true } : undefined}\n effect={effect}\n touchStartPreventDefault={touchStartPreventDefault}\n preloadImages={preloadImages}\n loopedSlides={loop && slidesPerView === 'auto' ? items.length : null}\n centeredSlides={centeredSlides}\n freeMode={freeMode}\n onSlideChange={(sw) => {\n setIndex(sw.realIndex + 1);\n onSlideItem(sw.realIndex);\n }}\n autoplay={\n autoplay\n ? {\n delay,\n disableOnInteraction: true,\n }\n : undefined\n }\n navigation={{\n nextEl: navigationNextRef.current,\n prevEl: navigationPrevRef.current,\n }}\n onImagesReady={(swiper) => {\n swiper.slideTo(0, 0);\n setReady(true);\n }}\n onBeforeInit={(swiper) => {\n if (typeof swiper.params.navigation === 'boolean') {\n return;\n }\n\n swiper.params.navigation.prevEl = navigationPrevRef.current;\n swiper.params.navigation.nextEl = navigationNextRef.current;\n }}\n lazy={{\n checkInView: true,\n loadPrevNext: true,\n }}\n slidesPerView={slidesPerView}\n spaceBetween={spaceBetween}\n className={classNames}\n >\n {items?.map((item, index) => {\n let key: any = index;\n if (typeof item === 'string') {\n key = item;\n }\n\n return (\n <SwiperSlide\n key={key}\n className={classnames(styles.swiperSlide, { [styles.swiperSlideAuto]: slidesPerView === 'auto' })}\n >\n {renderItem(item, index)}\n </SwiperSlide>\n );\n })}\n </Swiper>\n {showCounter && items.length > 1 && renderSliderCounter}\n </div>\n </>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.817 9.635A.857.857 0 105.7 10.937l6 5.142a.857.857 0 001.116 0l6-5.143A.857.857 0 1017.7 9.636L12.26 14.3 6.817 9.635z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrowActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.558 16.08a.857.857 0 11-1.116-1.302l6-5.143a.857.857 0 011.116 0l6 5.143a.857.857 0 11-1.116 1.301L12 11.415l-5.442 4.664z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrowActive;","import React from 'react';\n\nimport { PropsWithChildren, ReactNode, useCallback, useState } from 'react';\n\nimport { Icon } from '@shared/icon';\n\nimport SpoilerArrowIcon from '../icon/icons/spoiler-arrow.svg';\nimport SpoilerArrowActiveIcon from '../icon/icons/spoiler-arrow-active.svg';\n\nimport styles from './spoiler.module.scss';\nimport classNames from 'classnames';\n\ninterface ISpoilerProps {\n title: string | ReactNode;\n initialValue?: boolean;\n className?: string;\n}\n\nexport const Spoiler = (props: PropsWithChildren<ISpoilerProps>) => {\n const [opened, setOpened] = useState(props.initialValue);\n\n const onChange = useCallback(() => {\n setOpened(prev => !prev);\n }, []);\n\n return (\n <div className={classNames(styles.spoiler, props.className)}>\n <div className={styles.title} onClick={onChange.bind(null)}>\n {props.title}\n <Icon size=\"large\" variant=\"initial\" className={styles.arrow} icon={opened ? SpoilerArrowActiveIcon : SpoilerArrowIcon} />\n </div>\n {opened && props.children}\n </div>\n );\n};\n","import React, { useEffect } from 'react';\n\nimport { Input, IInputProps } from '@shared/input';\nimport { Select } from '@shared/select';\nimport cn from 'classnames';\nimport { ComponentProps, InputHTMLAttributes, ReactNode, useState } from 'react';\n\nimport styles from './stacked-input.module.scss';\n\nexport interface IStackedInputValue<T> {\n value: string;\n key: T;\n}\n\ntype IStackedInputProps<T> = {\n onChange: (val: string) => void;\n onSearch?: (val: string) => void;\n onSelect?: (key: T) => void;\n options: T[];\n option: T;\n className?: string;\n autoFocus?: boolean;\n showClear?: boolean;\n placeholder?: string;\n labelPlaceholder?: string;\n mask?: IInputProps['mask'];\n value?: string\n onRenderOption?: (item: T) => ReactNode;\n} & ComponentProps<typeof Input> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport function StackedInput<T>({ onSelect, onRenderOption, options, option, ...props }: IStackedInputProps<T>) {\n const [key, setKey] = useState<T>(option || options[0]);\n\n const _onSelect = (key: T) => {\n setKey(key);\n onSelect(key);\n }\n\n useEffect(() => {\n setKey(option);\n }, [option]);\n\n return (\n <div className={cn(styles.stacked_input, props.className)}>\n <Select\n className={styles.stacked_input__select}\n size=\"large\"\n options={options}\n onChange={_onSelect}\n value={key}\n suffixIcon={null}\n\n onRenderOption={onRenderOption}\n dropdownMatchSelectWidth={false}\n stacked\n />\n <Input\n {...props}\n className={styles.stacked_input__input}\n labelPlaceholder={props.labelPlaceholder}\n mask={props.mask}\n showClear={props.showClear}\n placeholder={props.placeholder}\n />\n </div>\n );\n}\n","import React from 'react';\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport styles from './switch.module.scss';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\n\ntype ISwitchProps = {\n value?: boolean;\n name?: string;\n title?: string;\n className?: string;\n onChange?: (value: boolean) => void;\n};\n\nexport const Switch = (props: ISwitchProps) => {\n const [value, setValue] = useState(props.value);\n\n useEffect(() => setValue(!!props.value), [props.value]);\n\n const onChange = useCallback(() => {\n setValue(!value);\n props.onChange && props.onChange(!value);\n }, [value, props.onChange]);\n\n return <div className={classNames(styles.switch, props.className, { [styles.active]: value })} onClick={onChange}>\n <div></div>\n <input name={props.name} type=\"checkbox\" checked={value} />\n {!!props.title && <Text size=\"large\">{props.title}</Text>}\n </div>\n}\n","import React from 'react';\n\nimport AntdSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport classNames from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './tag-box.module.scss';\n\nexport interface ITagBoxOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagBoxProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagBoxOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagBoxOption<T>;\n}\n\ntype ITagBoxProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onChange?: (option: T[], options?: T[]) => void;\n onRenderOption?: (item: T) => React.ReactNode;\n popupClassName?: string;\n};\n\nexport function TagBox<T>({\n labels,\n valueKey,\n labelKey,\n labelPlaceholder,\n onRenderOption,\n popupClassName,\n ...props\n}: ITagBoxProps<T>) {\n const [value, setValue] = useState<ITagBoxOption<T>[]>();\n\n const isEqual = (option) =>\n props.value.some(\n (v) =>\n v === option.key ||\n v === option.props?.data ||\n v === option.props.value ||\n v[valueKey] === option.key ||\n v[valueKey] === option.props.value\n );\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || [];\n }, [props.options, labels]);\n\n const _onRenderOptions = useCallback(\n (option: ITagBoxOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntdSelect.Option>\n );\n }\n\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntdSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _options: any[] = useMemo(() => (options || []).map(_onRenderOptions), [options]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.map((i) => i.data),\n options?.map((i) => i.data)\n );\n },\n [props.onChange, _options, options]\n );\n\n useEffect(() => {\n let res = props.value && _options?.filter(isEqual);\n setValue(res?.map((i) => i.props.value));\n }, [props.value, _options]);\n\n return (\n //@ts-ignore\n <AntdSelect\n {...props}\n mode=\"multiple\"\n value={value}\n options={undefined}\n popupClassName={popupClassName}\n notFoundContent={null}\n onChange={onChange}\n maxTagCount=\"responsive\"\n //@ts-ignore\n removeIcon={<Icon size=\"small\" icon={ClearIcon} />}\n menuItemSelectedIcon={null}\n placeholder={props.placeholder || labelPlaceholder}\n className={classNames('ant-tag-box-customize-input', props.className, styles.select, {\n 'select-error': props.error,\n })}\n >\n {_options}\n </AntdSelect>\n );\n}\n","import React, { PropsWithChildren, useMemo, useCallback } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './tag-button.module.scss';\n\nexport enum ETagButtonSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETagButtonVariant {\n default = 'default',\n secondary = 'secondary',\n tumbler = 'tumbler',\n green = 'green',\n tab = 'tab',\n text = 'text',\n icons = 'icons',\n custom = 'custom',\n}\n\ninterface IButtonProps {\n variant?: keyof typeof ETagButtonVariant;\n size?: keyof typeof ETagButtonSize;\n icon?: any;\n disabled?: boolean;\n selected?: boolean;\n notChangeSelected?: boolean;\n shadow?: boolean;\n onClick: (e?: boolean) => void;\n selectedClassName?: string;\n}\n\nexport const TagButton = ({\n variant = ETagButtonVariant.default,\n size = ETagButtonSize.medium,\n disabled,\n selected,\n children,\n onClick,\n selectedClassName,\n}: PropsWithChildren<IButtonProps>) => {\n const classNames = useMemo(\n () =>\n classnames(styles.button, styles[`button__${variant}`], styles[`button__${size}`], {\n [styles.selected]: selected,\n [selectedClassName]: selected,\n }),\n [variant, size, disabled, selected]\n );\n\n const _onClick = useCallback(() => {\n onClick();\n }, [onClick]);\n\n return (\n <div className={classNames} onClick={_onClick}>\n <span>{children}</span>\n </div>\n );\n};\n","import React from 'react';\n\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ETagButtonSize, ETagButtonVariant, TagButton } from './tag-button';\n\nimport styles from './tag-button.module.scss';\nimport classNames from 'classnames';\n\ninterface ITagButtonGroupProps<T> {\n variant?: keyof typeof ETagButtonVariant;\n className?: string;\n selectedClassName?: string;\n labels?: { [key: string]: string };\n size?: keyof typeof ETagButtonSize;\n options: T[];\n onChange?: (value: T) => void;\n onRenderLabel?: (value: T, active: boolean) => void;\n value?: T;\n valueKey?: string;\n labelKey?: string;\n}\n\ninterface ITagOption<T> {\n label: string;\n value: string;\n data: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagButtonGroupProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagOption<T>;\n}\n\nexport function TagButtonGroup<T>({\n labelKey = 'label',\n valueKey = 'value',\n labels,\n className,\n selectedClassName,\n ...props\n}: ITagButtonGroupProps<T>) {\n const [value, setValue] = useState<ITagOption<T>>();\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n const onChange = useCallback(\n (val: ITagOption<T>) => {\n const option = options?.find(\n (option) => option.value === val.value || option.data === val.value || option.value === val[valueKey]\n );\n setValue(option);\n props.onChange && props.onChange(option?.data);\n },\n [props.onChange]\n );\n\n useEffect(() => {\n const res =\n props.value &&\n options?.find(\n (option) =>\n option.value === props.value || option.data === props.value || option.value === props.value[valueKey]\n );\n\n setValue(res);\n }, [props.value, options]);\n\n return (\n <div className={classNames(styles.tagButtonGroup, className)}>\n {options.map((item) => (\n <TagButton\n key={item.value}\n variant={props.variant}\n size={props.size}\n selected={value === item}\n onClick={onChange.bind(null, item)}\n selectedClassName={selectedClassName}\n >\n {props.onRenderLabel ? props.onRenderLabel(item.data, value === item) : item.label}\n </TagButton>\n ))}\n </div>\n );\n}\n","import React, { useMemo, ChangeEvent, forwardRef, useRef, TextareaHTMLAttributes } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/input-loader.svg';\nimport Clear from '../icon/icons/clear.svg';\n\nimport styles from './text-area.module.scss';\nimport { useState } from 'react';\nimport { useCallback } from 'react';\nimport { useEffect } from 'react';\nimport { useCombinedRefs } from '@shared/utils/combine-ref';\n\nconst observe = function (element, event, handler) {\n element.addEventListener(event, handler, false);\n};\n\nconst deobserve = function (element, event, handler) {\n element.removeEventListener(event, handler);\n};\n\nfunction resizeFn(text: HTMLTextAreaElement) {\n const resize = () => {\n text.style.height = 'auto';\n text.style.height = `${2 + text.scrollHeight}px`;\n };\n\n /* 0-timeout to get the already changed text */\n function delayedResize() {\n window.setTimeout(resize, 0);\n }\n\n observe(text, 'change', resize);\n observe(text, 'cut', delayedResize);\n observe(text, 'paste', delayedResize);\n observe(text, 'drop', delayedResize);\n observe(text, 'keydown', delayedResize);\n observe(text, 'input', resize);\n\n // text.select();\n resize();\n\n return () => {\n deobserve(text, 'change', resize);\n deobserve(text, 'cut', delayedResize);\n deobserve(text, 'paste', delayedResize);\n deobserve(text, 'drop', delayedResize);\n deobserve(text, 'keydown', delayedResize);\n deobserve(text, 'input', resize);\n }\n}\n\nexport enum ETextAreaVariant {\n filled = 'filled',\n outlined = 'outlined',\n}\n\nexport enum ETextAreaSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETextAreaBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\ntype ITextAreaProps = {\n invalid?: boolean;\n icon?: any;\n variant?: keyof typeof ETextAreaVariant;\n size?: keyof typeof ETextAreaSize;\n border?: ETextAreaBorder;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n autoResize?: boolean;\n placeholder?: string;\n onClear?: () => void;\n onSearch?: (e: any) => void;\n onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;\n} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, ITextAreaProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onSearch,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n placeholder,\n style,\n loading,\n showClear,\n invalid,\n autoFocus,\n size = ETextAreaSize.medium,\n variant = ETextAreaVariant.outlined,\n border = ETextAreaBorder.normal,\n adaptive,\n autoResize,\n ...props\n }: ITextAreaProps,\n ref,\n ) => {\n const [_value, _setValue] = useState(value);\n\n const innerRef = useRef<HTMLTextAreaElement>();\n const combineRef: React.MutableRefObject<HTMLTextAreaElement> = useCombinedRefs(ref, innerRef);\n\n useEffect(() => _setValue(value), [value]);\n\n useEffect(() => {\n if (autoFocus && combineRef.current) {\n combineRef.current.focus();\n }\n }, [autoFocus, combineRef]);\n\n useEffect(() => {\n let unsubscribe;\n\n if (combineRef && combineRef.current) {\n combineRef.current.value = '';\n combineRef.current.value = `${value || ''}`;\n unsubscribe = resizeFn(combineRef.current);\n\n return () => {\n unsubscribe();\n }\n }\n\n return () => {\n unsubscribe && unsubscribe();\n }\n }, [autoResize, combineRef])\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.textarea,\n styles[`textarea__${variant}`],\n styles[`textarea__${size}`],\n styles[`textarea__border_${border}`],\n {\n [styles[`textarea__${size}_adaptive`]]: adaptive,\n [styles[`textarea__action_${size}`]]: Icon || loading || showClear,\n [styles[`textarea__actions_${size}`]]: (Icon || loading) && showClear,\n [styles.textarea__disabled]: disabled,\n },\n ),\n [variant, size, border, disabled, loading, showClear, adaptive],\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames(props.className, {\n [styles.invalid]: invalid,\n }),\n [invalid, props.className],\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || loading,\n }),\n [variant, size, Icon, loading],\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size],\n );\n\n const iconClassNames = useMemo(() => classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`]), [\n variant,\n size,\n ]);\n\n const _onChange = useCallback((e: ChangeEvent<HTMLTextAreaElement>) => {\n _setValue(e.target.value);\n if (onChange) {\n onChange(e.target.value, e);\n }\n }, []);\n\n const _onSearch = useCallback(\n () => {\n if (onSearch) {\n onSearch(_value);\n }\n },\n [onSearch],\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n return (\n <div className={classNames}>\n <textarea\n {...props}\n className={inputClassNames}\n ref={combineRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {showClear && _value && <Clear className={clearClassNames} onClick={_onClear} />}\n {Icon && !loading && <Icon className={iconClassNames} onClick={_onSearch} />}\n {loading && <Loader className={loaderClassNames} />}\n </div>\n );\n },\n);\n","import classnames from 'classnames';\nimport React, { PropsWithChildren, useMemo, useState } from 'react';\n\nimport styles from './text-spoiler.module.scss';\nimport { ELinkVariant, Link } from '@shared/link';\nimport { ELinkSize } from '@shared/link/link';\n\nexport const TextSpoiler = (props: PropsWithChildren<{}>) => {\n const [isOpen, setOpen] = useState(false);\n\n const classNames = useMemo(\n () =>\n classnames(styles.textSpoiler, {\n [styles.openText]: isOpen,\n }),\n [isOpen],\n );\n\n return (\n <div>\n <div className={classNames}>{props.children}</div>\n <Link bold size={ELinkSize.large} variant={ELinkVariant.action} onClick={() => setOpen(!isOpen)}>\n {isOpen ? 'Свернуть' : 'Читать далее'}\n </Link>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-dom\");","import { CSSProperties } from \"react\";\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element.scrollHeight > element.clientHeight) {\n return element;\n }\n\n if (element.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + (width / 2) };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + (width / 2) };\n case TooltipPosition.left:\n return { };\n case TooltipPosition.right:\n return { };\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: top + height + tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.left:\n return { top: top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n PropsWithChildren,\n TouchEvent as ReactTouchEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport styles from './tooltip.module.scss';\nimport { useMedia } from '@shared/media';\nimport { TooltipPosition, findTargetElement, getScrollTopParent, isCurrent, recalcArrowStyles, recalcStyles } from './tooltip.utils';\n\ntype ITootipProps = {\n title: any;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n};\n\nexport const Tooltip = ({ placement = 'top', ...props }: PropsWithChildren<ITootipProps>) => {\n const media = useMedia();\n\n const ref = useRef<HTMLDivElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !ref.current) return;\n\n const targetElement = findTargetElement(ref.current);\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n }, [props.title]);\n\n const onTouchStart = useCallback((e: ReactTouchEvent) => {\n e.stopPropagation();\n return;\n }, []);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, ref.current)) {\n return;\n }\n\n setOpened(false);\n setStylesTooltip(null);\n\n scrollElement.current && scrollElement.current.parentElement.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('touchstart', onClose);\n document.body.removeEventListener('click', onClose);\n }, []);\n\n const onOpen = useCallback(\n (e: ReactMouseEvent) => {\n e.stopPropagation();\n if (opened) {\n media.mobile && onClose();\n return;\n }\n\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n\n const element = getScrollTopParent(ref.current);\n if (element) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n document.body.addEventListener('click', onClose);\n document.body.addEventListener('touchstart', onClose);\n }\n }, 0);\n },\n [props.onOpenChange, opened]\n );\n\n const title = useMemo(\n () => (\n <div ref={refTooltip} style={stylesTooltip} className={classNames(styles.tooltip, styles[placement])}>\n {props.title}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n </div>\n ),\n [stylesTooltip, stylesArrow, props.title]\n );\n\n return (\n <div\n ref={ref}\n className={classNames(props.className)}\n onMouseOver={!media.mobile ? onOpen : null}\n onClick={media.mobile ? onOpen : null}\n onMouseLeave={!media.mobile ? onClose : null}\n onTouchStart={media.mobile ? onTouchStart : null}\n // onTouch={media.mobile ? onClose : null}\n >\n {props.children}\n {opened && props.title && createPortal(title, document.body)}\n </div>\n );\n\n // return <AntTooltip ref={ref} color=\"#212121\" {...props} overlayClassName=\"ant-tooltip-customize\" />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/upload\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRating(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#C8C8C8\"\n })));\n}\nexport default SvgRating;","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntdUpload from 'antd/lib/upload';\nimport { UploadFile, UploadProps } from 'antd/lib/upload';\nimport { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './upload.module.scss';\nimport { uuidv4 } from '@shared/utils';\nimport classNames from 'classnames';\n\ntype IUploadProps = UploadProps & {\n onUpload?: (file: File) => Promise<string>;\n onChange?: (link: string[]) => void;\n renderName?: (link: string) => string;\n path?: string;\n value?: string[];\n maxCount?: number;\n showRemove?: boolean;\n hiddenList?: boolean;\n};\n\nexport const Upload = ({\n onUpload,\n onChange,\n renderName,\n showRemove,\n hiddenList,\n maxCount,\n path = '',\n value,\n ...props\n}: PropsWithChildren<IUploadProps>) => {\n const [files, setFiles] = useState<UploadFile[]>([]);\n\n useEffect(() => {\n setFiles(\n value\n ? value?.map((val, index) => ({\n uid: `${index}`,\n name: renderName ? renderName(val) : '',\n status: 'done',\n url: val,\n thumbUrl: val,\n }))\n : []\n );\n }, [value]);\n\n const onRemove = useCallback((item) => {\n let items = [];\n setFiles((prev) => (items = prev.filter((i) => i !== item)));\n onChange(items.map((i) => i.url));\n }, []);\n\n const _onChange = () => {\n setFiles((file) => {\n onChange(file.map((i) => i.url));\n return file;\n });\n };\n\n const onUploadFile = useCallback(\n async (file: File) => {\n if (maxCount && files.length >= maxCount) {\n return '';\n }\n\n const uuid = uuidv4();\n let link = path ? `${path}${file.name}` : URL.createObjectURL(file);\n\n setFiles((prev) =>\n prev.concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'uploading',\n url: link,\n thumbUrl: link,\n })\n );\n\n try {\n if (onUpload) {\n link = await onUpload(file);\n }\n\n setFiles((prev) =>\n prev\n .filter((item) => item.uid !== uuid)\n .concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'success',\n url: link,\n thumbUrl: link,\n })\n );\n } catch (e) {\n setFiles((prev) => prev.filter((item) => item.uid !== uuid));\n }\n\n return link;\n },\n [files]\n );\n\n const className = useMemo(() => classNames(styles.upload, props.className), [props.className]);\n\n return (\n //@ts-ignore\n <AntdUpload.Dragger\n {...props}\n showUploadList={hiddenList ? false : { showRemoveIcon: showRemove }}\n maxCount={maxCount}\n className={className}\n action={onUploadFile}\n customRequest={() => {}}\n onChange={_onChange}\n fileList={files}\n listType=\"picture\"\n accept=\"image/png, image/jpeg\"\n onRemove={onRemove}\n >\n {props.children || <Text bold>Выберите файл или перетащите сюда</Text>}\n </AntdUpload.Dragger>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRatingActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgRatingActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgEye(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 10\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 .429C10.425.429 13.57 3.033 13.57 5c0 1.968-3.146 4.572-6.571 4.572S.428 6.968.428 5C.428 3.033 3.575.43 7 .43zm0 1.143C4.163 1.572 1.57 3.717 1.57 5 1.571 6.284 4.163 8.43 7 8.43S12.428 6.284 12.428 5c0-1.283-2.591-3.428-5.428-3.428zm0 1.142a2.286 2.286 0 110 4.572 2.286 2.286 0 010-4.572zm0 1.143a1.143 1.143 0 100 2.286 1.143 1.143 0 000-2.286z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgEye;","import React, { useCallback, useEffect, useState } from \"react\";\nimport RatingIcon from './../icon/icons/rating.svg';\nimport RatingActiveIcon from './../icon/icons/rating-active.svg';\nimport cn from 'classnames';\n\nimport styles from './rating.module.scss';\n\ninterface IRatingProps {\n value: number;\n onChange?: (val: number) => void;\n readonly?: boolean;\n className?: string;\n}\n\nexport const Rating = (props: IRatingProps) => {\n const [value, setValue] = useState(0);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value])\n\n const onChange = useCallback((index: number) => {\n setValue(index + 1);\n\n props.onChange && props.onChange(index + 1);\n }, [props.onChange]);\n\n return <div className={cn(styles.rating, props.className)}>\n <RatingIcon />\n {!!props.value && <RatingActiveIcon className={styles.stars} style={{\n WebkitMaskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`,\n maskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`\n }} />}\n {!props.readonly && <div className={styles.buttons}>\n {[0, 1, 2, 3, 4].map(item => <div onClick={onChange.bind(null, item)} key={item}></div>)}\n </div>}\n </div>\n}\n","import React from 'react';\nimport { Icon, EIconSize } from '../icon';\nimport { formatViews } from '@shared/utils/views-format';\nimport { Text } from '@shared/text';\nimport styles from './views-count.module.scss';\nimport Eye from '../icon/icons/eye.svg';\nimport classNames from 'classnames';\ninterface IViewsCountProps {\n viewsCount: number;\n className?: string;\n size?: keyof typeof EIconSize;\n}\n\nexport const ViewsCount = ({ viewsCount, className, size = 'extraSmall' }: IViewsCountProps) => {\n return (\n <Text className={classNames([styles.viewsCountContainer, `${className}`])} tag=\"span\">\n <Icon size={size} icon={Eye} variant=\"initial\" />\n <span className={styles.viewsCountText}>{formatViews(viewsCount)}</span>\n </Text>\n );\n};\n","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"success_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h24v24H0V0z\",\n fill: \"#D9D9D9\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#success_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm3.677 5.391a.863.863 0 011.217 0 .863.863 0 010 1.217l-6.002 5.998a.857.857 0 01-1.212 0l-3-3a.857.857 0 011.212-1.213l2.394 2.395 5.391-5.397z\",\n fill: \"#00B649\"\n }))));\n}\nexport default SvgSuccess;","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"error_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#D9D9D9\",\n d: \"M0 0h24v24H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#error_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n }))));\n}\nexport default SvgError;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.142A8.571 8.571 0 0012 3.43zm.063 6.857c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .203-.032.331-.091.443a.624.624 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.623.623 0 01-.26-.26c-.06-.112-.091-.24-.091-.443v-5.27c0-.203.032-.33.091-.443.06-.111.148-.199.26-.259.111-.06.24-.091.443-.091h.126zM12 6.514a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\",\n fill: \"#873EDF\"\n })));\n}\nexport default SvgInfo;","import React, { FC } from 'react';\nimport styles from './message.module.scss';\nimport SuccessIcon from '../icon/icons/success.svg';\nimport ErrorIcon from '../icon/icons/error.svg';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport InfoIcon from '../icon/icons/info.svg';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\nexport type IMessageType = 'success' | 'error' | 'warning' | 'info';\n\nexport interface IMessageProps {\n type: IMessageType;\n title?: string;\n description: string;\n}\n\nconst getIcon = (type: IMessageType) => {\n switch (type) {\n case 'success':\n return SuccessIcon;\n\n case 'error':\n return ErrorIcon;\n\n case 'warning':\n return WarningIcon;\n\n case 'info':\n return InfoIcon;\n }\n};\n\nexport const Message: FC<IMessageProps> = ({ type, title, description }) => {\n return (\n <div className={classNames(styles.container, styles[`container__${type}`])}>\n <Icon variant=\"initial\" icon={getIcon(type)} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","import React from 'react';\nimport styles from './warning-block.module.scss';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\ninterface IWarningBlockProps {\n title?: string;\n description: string;\n}\n\nexport const WarningBlock = ({ title, description }: IWarningBlockProps) => {\n return (\n <div className={styles.warning}>\n <Icon variant=\"initial\" icon={WarningIcon} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","require","EIconSize","EIconVariant","IconSvg","active","size","medium","variant","className","onClick","props","classNames","useMemo","_path","_extends","assign","bind","e","arguments","length","t","apply","width","height","viewBox","fill","xmlns","formatItemToOption","item","valueKey","labelKey","labels","includes","label","data","AutoComplete","onServerSearch","icon","debounceTimeout","labelPlaceholder","onRenderOption","popupClassName","useState","fetching","setFetching","serverOptions","setServerOptions","searchValue","setSearchValue","fetchRef","useRef","options","_options","Array","isArray","values","map","option","_onRenderOptions","useCallback","onChangeSearch","onChange","_option","i","useEffect","res","find","debounceFetcher","current","fetchId","then","newOptions","onSelect","notFoundContent","placeholder","onSearch","val","backfill","suffixIcon","error","stacked","clearIcon","MEDIA_MATCHES","mobile","tablet","desktop","Media","renderDesktop","renderMobile","renderTablet","render","defaultMatches","mounted","setMounted","defaultRender","matches","queries","MediaContext","createContext","MediaProvider","children","Provider","withMedia","Component","useMedia","useContext","Error","fillRule","clipRule","ETextSize","ETextWeight","ELinkVariant","ELinkType","ELinkSize","ELinkWeight","ELinkDecoration","Text","bold","weight","normal","addition","success","inverse","attention","warning","style","through","tag","TextTag","sharedContext","SharedProvider","useShared","EBreadcrumbsVariant","Link","target","Icon","link","decoration","none","href","type","dashed","rel","shared","iconClassNames","LinkComponent","_path2","_defs","Breadcrumbs","paths","onBack","arrow","media","_onBack","reverse","path","isBack","index","Fragment","slash","title","isCurrent","attributeType","attributeName","from","to","dur","repeatCount","id","x1","y1","x2","y2","gradientUnits","stopColor","offset","stopOpacity","EButtonSize","EButtonVariant","EButtonIconPosition","Button","iconPosition","right","loading","disabled","loaderClassNames","_onClick","UNIQ_COUNT","Checkbox","_value","_setValue","_onChange","currentTarget","checked","name","htmlFor","Counter","setValue","count","newCount","min","max","EInputVariant","EInputSize","EInputBorder","EInputIconPosition","Input","forwardRef","ref","onFocus","onBlur","onClear","onBeforeMask","onPointerUp","required","showClear","outlined","border","iconPositon","adaptive","debounceTime","beginSearch","NaN","mask","_loading","_setLoading","_mask","_setMask","innerRef","useImperativeHandle","autoFocus","setTimeout","focus","remove","inputMask","greedy","dispatchEvent","Event","bubbles","inputClassNames","clearClassNames","labelClassNames","_onSearchDebounce","callback","prev","_onSearch","_onClear","_onKeyPress","onKeyPress","Boolean","locale","AntDatePicker","DatePicker","format","onRenderInput","_","showToday","inputRender","Divider","bordered","Dropdown","dropdownRender","originNode","FocusError","useFormikContext","errors","isSubmitting","isValidating","keys","selector","errorElement","formRef","querySelector","scrollIntoView","block","Form","onChangeBlur","form","dirty","isValid","validateForm","FormikProvider","onSubmit","handleSubmit","isRequiredField","validationSchema","schemaDescription","describe","accessor","split","join","field","getIn","fields","tests","some","test","FormControl","component","useField","meta","helpers","ctx","touched","args","setError","setTouched","EHeadingLevel","EHeadingWeight","Heading","level","h1","centerText","HeadingTag","appleDetect","navigator","platform","userAgent","document","useCombinedRefs","targetRef","refs","forEach","units","YYYY","year","YY","M","month","MM","MMM","MMMM","MMMMM","D","day","DD","weekday","dd","hh","hour","mm","minute","ss","second","getDate","Date","replaceAll","dateFormat","utc","plural","getTime","userTimezoneOffset","getTimezoneOffset","dateUnits","dateItems","delimeters","filter","stringDate","unit","toLocaleTimeString","toLocaleDateString","slice","toUpperCase","toLocaleString","replace","c","push","dateWithoutTimezone","date","dateWithTimezone","pluralize","plurals","formatViews","num","numStr","toString","parseInt","priceFormat","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","Math","ceil","currencySign","cur","reduce","part","PREPOSITIONS","replacement","str","textSanitize","regex","RegExp","x","decorate","UNITS","timeLeftMinutes","time","timeLeft","floor","wzero","input","String","getTimeLeft","dateLeft","getHours","getMinutes","getSeconds","useTimeLeft","expireDate","onExpired","setTimeLeft","timeout","clearTimeout","uuidv4","token","chars","random","generateToken","LoaderIcon","Loader","absolute","fixed","LoaderLine","Menu","Modal","footer","sidebar","closable","showClose","maskClosable","open","setOpen","setData","_width","_setWidth","_title","_setTitle","_footer","_setFooter","_closable","_setClosable","full","_full","_setFull","gallery","_gallery","_setGallery","tabletPopup","_tabletPopup","_setTabletPopup","footerFixed","_footerFixed","_setFooterFixed","_sidebar","_setSidebar","_showClose","_setShowClose","_maskClosable","_setMaskClosable","grayBackground","_grayBackground","_setGrayBackground","html","firstElementChild","container","body","scrollTop","isOpen","overflowY","transform","overscrollBehavior","offsetHeight","console","log","handleCancel","handleOpen","close","setTitle","setFooter","setClosable","setWidth","setFooterFixed","setFull","setGallery","setSidebar","setShowCloseIcon","setMaskClosable","setTabletPopup","setGrayBackground","destroyOnClose","afterClose","closeIcon","onCancel","maskTransitionName","transitionName","wrapClassName","modal","modalContext","ModalProvider","modals","setModals","create","initialProps","createRef","concat","useModal","Gallery","imageUrls","currentIndex","isImageCounter","setCurrent","onNext","onPrev","handleKeyDown","event","window","addEventListener","removeEventListener","webp","srcSet","thumbWebp","jpeg","thumbJpeg","src","decodeURI","alt","getSliderPictures","Radio","position","nativeEvent","RangePicker","disabledDate","isFromToday","setHours","setMinutes","setSeconds","setMilliseconds","pickerRef","Select","onServerSearchGroup","optionsGroup","setOptionsGroup","isEqual","group","_onRenderGroup","onDropdownVisibleChange","_optionsGroup","SelectorRange","Selector","Skeleton","_circle","cx","cy","Navigation","Autoplay","Controller","EffectFade","Slider","items","slidesPerView","renderItem","viewItem","loop","asyncReady","showNavigation","navPosition","spaceBetween","autoplay","delay","freeMode","showCounter","centeredSlides","classNamePrev","classNameNext","touchStartPreventDefault","overflow","preloadImages","shortSwipes","longSwipes","longSwipesMs","longSwipesRatio","preventClicks","preventClicksPropagation","effect","speed","navigationPrevRef","navigationNextRef","setIndex","ready","setReady","onSlideItem","indexItem","findItem","renderSliderCounter","Swiper","fadeEffect","crossFade","loopedSlides","onSlideChange","sw","realIndex","disableOnInteraction","navigation","nextEl","prevEl","onImagesReady","swiper","slideTo","onBeforeInit","params","lazy","checkInView","loadPrevNext","SwiperSlide","Spoiler","initialValue","opened","setOpened","StackedInput","setKey","dropdownMatchSelectWidth","Switch","TagBox","v","mode","maxTagCount","removeIcon","menuItemSelectedIcon","ETagButtonSize","ETagButtonVariant","TagButton","selected","selectedClassName","TagButtonGroup","onRenderLabel","ETextAreaVariant","ETextAreaSize","ETextAreaBorder","observe","element","handler","deobserve","TextArea","invalid","autoResize","combineRef","unsubscribe","text","resize","scrollHeight","delayedResize","resizeFn","TextSpoiler","large","action","TooltipPosition","getScrollTopParent","clientHeight","parentElement","recalcArrowStyles","targetElement","tooltipProperties","getBoundingClientRect","left","top","bottom","recalcStyles","tooltipElement","tooltipWidth","tooltipHeight","leftPosition","offsetWidth","opacity","Tooltip","placement","refTooltip","refArrow","stylesTooltip","setStylesTooltip","stylesArrow","setStylesArrow","scrollElement","recalcPosition","elem","child","getAttribute","onTouchStart","stopPropagation","onClose","el","onOpen","onOpenChange","onMouseOver","onMouseLeave","createPortal","Upload","onUpload","renderName","showRemove","hiddenList","maxCount","files","setFiles","uid","status","url","thumbUrl","onRemove","onUploadFile","file","uuid","URL","createObjectURL","showUploadList","showRemoveIcon","customRequest","fileList","listType","accept","Rating","WebkitMaskImage","maskImage","readonly","_g","ViewsCount","viewsCount","maskType","maskUnits","y","getIcon","Message","description","WarningBlock"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,m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EAAK4Q,OAAO,CAAEhT,IAAG,EAAExC,GAAE,EAAEkI,UAAS,EAAEoN,aAAY,GAA9C,IAEf9S,CACT,EAPI,GASN,IAGF,OACE,kBAAC0hB,GAAeroB,SAAQ,CAAC/G,MAAOA,GAC7B8G,EACAwoB,EAASxrB,KAAI,SAACqrB,GAAY,OACzB,kBAACF,IAAO,eAAC/vB,IAAKiwB,EAAQjkB,GAAIwC,IAAKyhB,EAAQzhB,IAAK0F,UAAW+b,EAAQ/b,WAAe+b,EAAQ3O,cAD7D,IAKjC,EAEO,SAASgP,GAAkCpc,EAAcoN,GAC9D,IAAMre,GAAO,IAAAgF,YAAWioB,IAElBzqB,GAAM,IAAA7D,UAAQ,WAAM,OAAAqB,EAAKoe,OAAOnN,EAAWoN,GAAgB,CAAC,EAAxC,GAA4C,CAACpN,IAEvE,IAAKjR,EACH,MAAM,IAAIiF,MAAM,gCAGlB,OAAOzC,CACT,C","sources":["webpack://dt-shared-front/webpack/universalModuleDefinition","webpack://dt-shared-front/./src/styles/main.scss?daab","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.module.scss?347c","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.module.scss?9288","webpack://dt-shared-front/./src/components/button/button.module.scss?cb5e","webpack://dt-shared-front/./src/components/checkbox/checkbox.module.scss?c589","webpack://dt-shared-front/./src/components/counter/counter.module.scss?eb10","webpack://dt-shared-front/./src/components/divider/divider.module.scss?cca0","webpack://dt-shared-front/./src/components/dropdown/dropdown.module.scss?bf5c","webpack://dt-shared-front/./src/components/form-control/form-control.module.scss?1d9b","webpack://dt-shared-front/./src/components/gallery/gallery.module.scss?11c9","webpack://dt-shared-front/./src/components/heading/heading.module.scss?c8fa","webpack://dt-shared-front/./src/components/icon/icon.module.scss?2ae3","webpack://dt-shared-front/./src/components/input/input.module.scss?2249","webpack://dt-shared-front/./src/components/link/link.module.scss?3df9","webpack://dt-shared-front/./src/components/loader-line/loader-line.module.scss?f044","webpack://dt-shared-front/./src/components/loader/loader.module.scss?3129","webpack://dt-shared-front/./src/components/message/message.module.scss?9673","webpack://dt-shared-front/./src/components/modal/modal.module.scss?8bb4","webpack://dt-shared-front/./src/components/popover/popover-tooltip.module.scss?55e1","webpack://dt-shared-front/./src/components/radio/radio.module.scss?c71c","webpack://dt-shared-front/./src/components/rating/rating.module.scss?580b","webpack://dt-shared-front/./src/components/select/select.module.scss?ca24","webpack://dt-shared-front/./src/components/slider/slider.module.scss?8aed","webpack://dt-shared-front/./src/components/spoiler/spoiler.module.scss?78de","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.module.scss?96c5","webpack://dt-shared-front/./src/components/steps/steps.module.scss?bd87","webpack://dt-shared-front/./src/components/switch/switch.module.scss?711d","webpack://dt-shared-front/./src/components/tag-box/tag-box.module.scss?2943","webpack://dt-shared-front/./src/components/tag-button/tag-button.module.scss?fcb2","webpack://dt-shared-front/./src/components/text-area/text-area.module.scss?d1bd","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.module.scss?6fc7","webpack://dt-shared-front/./src/components/text/text.module.scss?540d","webpack://dt-shared-front/./src/components/tooltip/tooltip.module.scss?bcc3","webpack://dt-shared-front/./src/components/upload/upload.module.scss","webpack://dt-shared-front/./src/components/views-count/views-count.module.scss?d022","webpack://dt-shared-front/./src/components/warning-block/warning-block.module.scss?932c","webpack://dt-shared-front/webpack/bootstrap","webpack://dt-shared-front/webpack/runtime/compat get default export","webpack://dt-shared-front/webpack/runtime/define property getters","webpack://dt-shared-front/webpack/runtime/hasOwnProperty shorthand","webpack://dt-shared-front/webpack/runtime/make namespace object","webpack://dt-shared-front/external commonjs \"tslib\"","webpack://dt-shared-front/external commonjs \"react\"","webpack://dt-shared-front/external commonjs \"lodash.debounce\"","webpack://dt-shared-front/external commonjs \"classnames\"","webpack://dt-shared-front/external commonjs \"antd/lib/auto-complete\"","webpack://dt-shared-front/./src/components/icon/icon.tsx","webpack://dt-shared-front/./src/components/icon/icons/select-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/clear.svg","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.tsx","webpack://dt-shared-front/external commonjs \"react-media\"","webpack://dt-shared-front/./src/components/media/media.tsx","webpack://dt-shared-front/./src/components/icon/icons/breadcrubms-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/back.svg","webpack://dt-shared-front/./src/components/text/text.tsx","webpack://dt-shared-front/./src/components/link/link.tsx","webpack://dt-shared-front/./src/providers/shared.provider.tsx","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.tsx","webpack://dt-shared-front/./src/components/icon/icons/button-loader.svg","webpack://dt-shared-front/./src/components/button/button.tsx","webpack://dt-shared-front/./src/components/icon/icons/counter-minus.svg","webpack://dt-shared-front/./src/components/checkbox/checkbox.tsx","webpack://dt-shared-front/./src/components/icon/icons/counter-plus.svg","webpack://dt-shared-front/./src/components/icon/icons/date-picker.svg","webpack://dt-shared-front/./src/components/counter/counter.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/generatePicker\"","webpack://dt-shared-front/external commonjs \"rc-picker/lib/generate/dateFns\"","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/locale/ru_RU\"","webpack://dt-shared-front/./src/components/icon/icons/input-search.svg","webpack://dt-shared-front/./src/components/icon/icons/input-loader.svg","webpack://dt-shared-front/external commonjs \"inputmask\"","webpack://dt-shared-front/./src/components/input/input.tsx","webpack://dt-shared-front/./src/components/date-picker/date-picker.tsx","webpack://dt-shared-front/./src/components/divider/divider.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/dropdown\"","webpack://dt-shared-front/./src/components/dropdown/dropdown.tsx","webpack://dt-shared-front/external commonjs \"formik\"","webpack://dt-shared-front/./src/components/form/form-focus-error.tsx","webpack://dt-shared-front/./src/components/form/form.tsx","webpack://dt-shared-front/./src/components/form-control/form-control.tsx","webpack://dt-shared-front/./src/components/heading/heading.tsx","webpack://dt-shared-front/./src/components/utils/apple-detect.ts","webpack://dt-shared-front/./src/components/utils/combine-ref.ts","webpack://dt-shared-front/./src/components/utils/date-format.ts","webpack://dt-shared-front/./src/components/utils/date.ts","webpack://dt-shared-front/./src/components/utils/pluralize.ts","webpack://dt-shared-front/./src/components/utils/views-format.ts","webpack://dt-shared-front/./src/components/utils/price-format.ts","webpack://dt-shared-front/./src/components/utils/text-sanitize.ts","webpack://dt-shared-front/./src/components/utils/time-left.ts","webpack://dt-shared-front/./src/components/utils/index.ts","webpack://dt-shared-front/./src/components/loader/loader.tsx","webpack://dt-shared-front/./src/components/loader-line/loader-line.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/menu\"","webpack://dt-shared-front/./src/components/menu/menu.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/modal\"","webpack://dt-shared-front/./src/components/icon/icons/modal-close.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow.svg","webpack://dt-shared-front/./src/components/modal/modal.tsx","webpack://dt-shared-front/./src/components/modal/modal.provider.tsx","webpack://dt-shared-front/external commonjs \"antd\"","webpack://dt-shared-front/./src/components/gallery/gallery.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/radio\"","webpack://dt-shared-front/./src/components/radio/radio.tsx","webpack://dt-shared-front/./src/components/range-picker/range-picker.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/select\"","webpack://dt-shared-front/./src/components/select/select-modal.tsx","webpack://dt-shared-front/./src/components/select/select.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/slider\"","webpack://dt-shared-front/./src/components/selector/selector.tsx","webpack://dt-shared-front/external commonjs \"react-loading-skeleton\"","webpack://dt-shared-front/./src/components/skeleton/skeleton.tsx","webpack://dt-shared-front/external commonjs \"swiper/react\"","webpack://dt-shared-front/./src/components/icon/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow-prev.svg","webpack://dt-shared-front/external commonjs \"swiper\"","webpack://dt-shared-front/./src/components/slider/slider.tsx","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow-active.svg","webpack://dt-shared-front/./src/components/spoiler/spoiler.tsx","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.tsx","webpack://dt-shared-front/./src/components/switch/switch.tsx","webpack://dt-shared-front/./src/components/tag-box/tag-box.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-button.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-buttton-group.tsx","webpack://dt-shared-front/./src/components/text-area/text-area.tsx","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.tsx","webpack://dt-shared-front/external commonjs \"react-dom\"","webpack://dt-shared-front/./src/components/tooltip/tooltip.utils.tsx","webpack://dt-shared-front/./src/components/tooltip/tooltip.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/upload\"","webpack://dt-shared-front/./src/components/icon/icons/rating.svg","webpack://dt-shared-front/./src/components/upload/upload.tsx","webpack://dt-shared-front/./src/components/icon/icons/rating-active.svg","webpack://dt-shared-front/./src/components/icon/icons/eye.svg","webpack://dt-shared-front/./src/components/rating/rating.tsx","webpack://dt-shared-front/./src/components/views-count/views-count.tsx","webpack://dt-shared-front/./src/components/icon/icons/success.svg","webpack://dt-shared-front/./src/components/icon/icons/error.svg","webpack://dt-shared-front/./src/components/icon/icons/warning.svg","webpack://dt-shared-front/./src/components/icon/icons/info.svg","webpack://dt-shared-front/./src/components/message/message.tsx","webpack://dt-shared-front/./src/components/warning-block/warning-block.tsx","webpack://dt-shared-front/external commonjs \"dt-shared-front\"","webpack://dt-shared-front/./src/components/steps/steps-arrow.svg","webpack://dt-shared-front/./src/components/popover/popover-tooltip.utils.tsx","webpack://dt-shared-front/./src/components/steps/steps.tsx","webpack://dt-shared-front/./src/components/popover/icons/popover-close.svg","webpack://dt-shared-front/./src/components/popover/popover-tooltip.tsx","webpack://dt-shared-front/./src/components/popover/popover.tsx","webpack://dt-shared-front/./src/components/popover/popover.provider.tsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"dt-shared-front\"] = factory();\n\telse\n\t\troot[\"dt-shared-front\"] = factory();\n})(this, () => {\nreturn ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"swiper-container\":\"swiper-container\",\"swiper-container-vertical\":\"swiper-container-vertical\",\"swiper-wrapper\":\"swiper-wrapper\",\"swiper-container-android\":\"swiper-container-android\",\"swiper-slide\":\"swiper-slide\",\"swiper-container-multirow\":\"swiper-container-multirow\",\"swiper-container-multirow-column\":\"swiper-container-multirow-column\",\"swiper-container-free-mode\":\"swiper-container-free-mode\",\"swiper-container-pointer-events\":\"swiper-container-pointer-events\",\"swiper-slide-invisible-blank\":\"swiper-slide-invisible-blank\",\"swiper-container-autoheight\":\"swiper-container-autoheight\",\"swiper-container-3d\":\"swiper-container-3d\",\"swiper-slide-shadow-left\":\"swiper-slide-shadow-left\",\"swiper-slide-shadow-right\":\"swiper-slide-shadow-right\",\"swiper-slide-shadow-top\":\"swiper-slide-shadow-top\",\"swiper-slide-shadow-bottom\":\"swiper-slide-shadow-bottom\",\"swiper-cube-shadow\":\"swiper-cube-shadow\",\"swiper-container-css-mode\":\"swiper-container-css-mode\",\"swiper-container-horizontal\":\"swiper-container-horizontal\",\"swiper-container-fade\":\"swiper-container-fade\",\"swiper-slide-active\":\"swiper-slide-active\",\"swiper-button-prev\":\"swiper-button-prev\",\"swiper-button-next\":\"swiper-button-next\",\"swiper-button-disabled\":\"swiper-button-disabled\",\"swiper-container-rtl\":\"swiper-container-rtl\",\"swiper-button-white\":\"swiper-button-white\",\"swiper-button-black\":\"swiper-button-black\",\"swiper-button-lock\":\"swiper-button-lock\",\"ant-collapse-header\":\"ant-collapse-header\",\"ant-collapse-content\":\"ant-collapse-content\",\"ant-collapse-content-box\":\"ant-collapse-content-box\",\"modal-no-padding\":\"modal-no-padding\",\"ant-modal-body\":\"ant-modal-body\",\"ant-modal-content\":\"ant-modal-content\",\"ant-select\":\"ant-select\",\"ant-select-customize-input\":\"ant-select-customize-input\",\"ant-select-selection-search-input\":\"ant-select-selection-search-input\",\"ant-select-auto-complete\":\"ant-select-auto-complete\",\"ant-select-borderless\":\"ant-select-borderless\",\"ant-select-selector\":\"ant-select-selector\",\"select-stacked\":\"select-stacked\",\"ant-select-arrow\":\"ant-select-arrow\",\"ant-select-clear\":\"ant-select-clear\",\"ant-select-selection-item\":\"ant-select-selection-item\",\"ant-select-loading\":\"ant-select-loading\",\"custom-suffix-icon\":\"custom-suffix-icon\",\"ant-select-selection-placeholder\":\"ant-select-selection-placeholder\",\"ant-select-selection-search\":\"ant-select-selection-search\",\"input-no-border\":\"input-no-border\",\"ant-select-open\":\"ant-select-open\",\"ant-select-disabled\":\"ant-select-disabled\",\"select-error\":\"select-error\",\"ant-tag-box-customize-input\":\"ant-tag-box-customize-input\",\"ant-select-selection-item-remove\":\"ant-select-selection-item-remove\",\"ant-select-selection-overflow\":\"ant-select-selection-overflow\",\"ant-select-multiple\":\"ant-select-multiple\",\"ant-select-focused\":\"ant-select-focused\",\"ant-select-dropdown\":\"ant-select-dropdown\",\"rc-virtual-list-holder-inner\":\"rc-virtual-list-holder-inner\",\"ant-select-item\":\"ant-select-item\",\"ant-select-item-option\":\"ant-select-item-option\",\"ant-select-item-option-active\":\"ant-select-item-option-active\",\"ant-select-item-option-disabled\":\"ant-select-item-option-disabled\",\"ant-select-item-option-selected\":\"ant-select-item-option-selected\",\"isMobileModal\":\"isMobileModal\",\"ant-radio-group-customize\":\"ant-radio-group-customize\",\"horizontal\":\"horizontal\",\"vertical\":\"vertical\",\"ant-radio-customize\":\"ant-radio-customize\",\"ant-radio-wrapper\":\"ant-radio-wrapper\",\"ant-radio\":\"ant-radio\",\"ant-radio-disabled\":\"ant-radio-disabled\",\"ant-radio-inner\":\"ant-radio-inner\",\"ant-radio-input\":\"ant-radio-input\",\"ant-radio-checked\":\"ant-radio-checked\",\"ant-picker-dropdown\":\"ant-picker-dropdown\",\"ant-picker-dropdown-range\":\"ant-picker-dropdown-range\",\"ant-picker\":\"ant-picker\",\"ant-picker-borderless\":\"ant-picker-borderless\",\"ant-picker-range-wrapper\":\"ant-picker-range-wrapper\",\"date-picker-error\":\"date-picker-error\",\"ant-picker-disabled\":\"ant-picker-disabled\",\"ant-picker-suffix\":\"ant-picker-suffix\",\"ant-picker-active-bar\":\"ant-picker-active-bar\",\"ant-picker-input\":\"ant-picker-input\",\"ant-picker-focused\":\"ant-picker-focused\",\"ant-picker-clear\":\"ant-picker-clear\",\"ant-picker-panel-container\":\"ant-picker-panel-container\",\"ant-picker-panel\":\"ant-picker-panel\",\"ant-picker-cell\":\"ant-picker-cell\",\"ant-picker-cell-inner\":\"ant-picker-cell-inner\",\"ant-picker-content\":\"ant-picker-content\",\"ant-picker-header\":\"ant-picker-header\",\"ant-picker-footer\":\"ant-picker-footer\",\"ant-picker-header-super-next-btn\":\"ant-picker-header-super-next-btn\",\"ant-picker-header-super-prev-btn\":\"ant-picker-header-super-prev-btn\",\"ant-picker-prev-icon\":\"ant-picker-prev-icon\",\"ant-picker-next-icon\":\"ant-picker-next-icon\",\"ant-picker-date-panel\":\"ant-picker-date-panel\",\"ant-picker-header-view\":\"ant-picker-header-view\",\"ant-picker-month-btn\":\"ant-picker-month-btn\",\"ant-picker-year-btn\":\"ant-picker-year-btn\",\"ant-picker-header-prev-btn\":\"ant-picker-header-prev-btn\",\"ant-picker-header-next-btn\":\"ant-picker-header-next-btn\",\"ant-picker-range\":\"ant-picker-range\",\"ant-picker-cell-in-view\":\"ant-picker-cell-in-view\",\"ant-picker-cell-selected\":\"ant-picker-cell-selected\",\"ant-picker-cell-range-start\":\"ant-picker-cell-range-start\",\"ant-picker-cell-range-end\":\"ant-picker-cell-range-end\",\"ant-picker-cell-range-hover-start\":\"ant-picker-cell-range-hover-start\",\"ant-picker-cell-in-range\":\"ant-picker-cell-in-range\",\"ant-picker-cell-range-hover-end\":\"ant-picker-cell-range-hover-end\",\"ant-picker-cell-range-start-single\":\"ant-picker-cell-range-start-single\",\"ant-picker-cell-range-end-near-hover\":\"ant-picker-cell-range-end-near-hover\",\"ant-picker-cell-range-start-near-hover\":\"ant-picker-cell-range-start-near-hover\",\"ant-picker-cell-range-end-single\":\"ant-picker-cell-range-end-single\",\"ant-picker-cell-range-hover\":\"ant-picker-cell-range-hover\",\"ant-picker-cell-end\":\"ant-picker-cell-end\",\"ant-picker-cell-range-hover-edge-end\":\"ant-picker-cell-range-hover-edge-end\",\"ant-picker-cell-range-hover-edge-end-near-range\":\"ant-picker-cell-range-hover-edge-end-near-range\",\"ant-picker-cell-start\":\"ant-picker-cell-start\",\"ant-picker-cell-range-hover-edge-start\":\"ant-picker-cell-range-hover-edge-start\",\"ant-picker-cell-range-hover-edge-start-near-range\":\"ant-picker-cell-range-hover-edge-start-near-range\",\"ant-picker-panels\":\"ant-picker-panels\",\"ant-picker-footer-extra\":\"ant-picker-footer-extra\",\"ant-tooltip-customize\":\"ant-tooltip-customize\",\"ant-tooltip-inner\":\"ant-tooltip-inner\",\"ant-slider-tooltip\":\"ant-slider-tooltip\",\"ant-tooltip-arrow-content\":\"ant-tooltip-arrow-content\",\"ant-slider\":\"ant-slider\",\"ant-slider-track\":\"ant-slider-track\",\"ant-slider-rail\":\"ant-slider-rail\",\"ant-slider-handle\":\"ant-slider-handle\",\"ant-tooltip-open\":\"ant-tooltip-open\",\"ant-modal-gallery\":\"ant-modal-gallery\",\"ant-modal-close\":\"ant-modal-close\",\"ant-modal-full\":\"ant-modal-full\",\"ant-modal-gray\":\"ant-modal-gray\",\"ant-modal-header\":\"ant-modal-header\",\"ant-modal-sidebar\":\"ant-modal-sidebar\",\"ant-modal-hide-close\":\"ant-modal-hide-close\",\"ant-modal-footer-fixed\":\"ant-modal-footer-fixed\",\"ant-modal-footer\":\"ant-modal-footer\",\"ant-modal-title\":\"ant-modal-title\",\"ant-modal-close-x\":\"ant-modal-close-x\",\"am-modal-wrap\":\"am-modal-wrap\",\"am-modal\":\"am-modal\",\"am-modal-body\":\"am-modal-body\",\"am-modal-content\":\"am-modal-content\",\"am-modal-close\":\"am-modal-close\",\"ant-modal-wrap\":\"ant-modal-wrap\",\"am-modal-header\":\"am-modal-header\",\"am-modal-title\":\"am-modal-title\",\"ant-modal-tablet-popup\":\"ant-modal-tablet-popup\",\"ant-upload\":\"ant-upload\",\"ant-upload-drag\":\"ant-upload-drag\",\"ant-upload-disabled\":\"ant-upload-disabled\",\"ant-upload-drag-hover\":\"ant-upload-drag-hover\",\"ant-upload-list-item-name\":\"ant-upload-list-item-name\",\"ant-upload-animate-leave\":\"ant-upload-animate-leave\",\"react-loading-skeleton\":\"react-loading-skeleton\",\"ant-dropdown-menu\":\"ant-dropdown-menu\",\"ant-dropdown-menu-item\":\"ant-dropdown-menu-item\",\"ant-dropdown-menu-submenu-title\":\"ant-dropdown-menu-submenu-title\",\"ant-dropdown-menu-item-selected\":\"ant-dropdown-menu-item-selected\",\"ant-dropdown-menu-submenu-title-selected\":\"ant-dropdown-menu-submenu-title-selected\",\"horizontal-scroll\":\"horizontal-scroll\",\"slider\":\"slider\",\"swiper-pagination\":\"swiper-pagination\",\"overflow\":\"overflow\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"autoComplete\":\"shared__auto-complete-module__autoComplete--E+tq+_1739311773840\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1739311773840\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1739311773840\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1739311773840\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1739311773840\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1739311773840\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1739311773840\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1739311773840\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1739311773840\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1739311773840\",\"button__small\":\"shared__button-module__button__small--kA9VI_1739311773840\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1739311773840\",\"button__large\":\"shared__button-module__button__large--PG1dR_1739311773840\",\"button__default\":\"shared__button-module__button__default--mYOHn_1739311773840\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1739311773840\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1739311773840\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1739311773840\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1739311773840\",\"loading\":\"shared__button-module__loading--IZ3gt_1739311773840\",\"icon\":\"shared__button-module__icon--Gso9o_1739311773840\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1739311773840\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1739311773840\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1739311773840\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1739311773840\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1739311773840\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1739311773840\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1739311773840\",\"loader\":\"shared__button-module__loader--v14UE_1739311773840\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1739311773840\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1739311773840\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1739311773840\",\"error\":\"shared__checkbox-module__error--xRaxv_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1739311773840\",\"button\":\"shared__counter-module__button--sOvjE_1739311773840\",\"value\":\"shared__counter-module__value--JD2xM_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1739311773840\",\"error\":\"shared__form-control-module__error--FVB3Z_1739311773840\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1739311773840\",\"galleryPicsContainer\":\"shared__gallery-module__galleryPicsContainer--2ImKs_1739311773840\",\"galleryOnlyPicContainer\":\"shared__gallery-module__galleryOnlyPicContainer--pTyaw_1739311773840\",\"counter\":\"shared__gallery-module__counter--RXshZ_1739311773840\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1739311773840\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1739311773840\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1739311773840\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1739311773840\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1739311773840\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1739311773840\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1739311773840\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1739311773840\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1739311773840\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1739311773840\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1739311773840\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1739311773840\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1739311773840\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1739311773840\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1739311773840\",\"textError\":\"shared__heading-module__textError--Bm1mE_1739311773840\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1739311773840\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1739311773840\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1739311773840\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1739311773840\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1739311773840\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1739311773840\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1739311773840\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1739311773840\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1739311773840\",\"active\":\"shared__icon-module__active--HQWC5_1739311773840\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1739311773840\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1739311773840\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1739311773840\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1739311773840\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1739311773840\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1739311773840\",\"label\":\"shared__input-module__label--tNO2a_1739311773840\",\"input__small\":\"shared__input-module__input__small--PcnoR_1739311773840\",\"input__large\":\"shared__input-module__input__large--p-mBr_1739311773840\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1739311773840\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1739311773840\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1739311773840\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1739311773840\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1739311773840\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1739311773840\",\"disabled\":\"shared__input-module__disabled--ABDAb_1739311773840\",\"invalid\":\"shared__input-module__invalid--e--FF_1739311773840\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1739311773840\",\"input__filled\":\"shared__input-module__input__filled---tBbi_1739311773840\",\"clear\":\"shared__input-module__clear--OvXQO_1739311773840\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1739311773840\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1739311773840\",\"clear__small\":\"shared__input-module__clear__small--0oTAe_1739311773840\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1739311773840\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1739311773840\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1739311773840\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1739311773840\",\"icon\":\"shared__input-module__icon--zr4sW_1739311773840\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1739311773840\",\"icon__small\":\"shared__input-module__icon__small--jC+EB_1739311773840\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1739311773840\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1739311773840\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1739311773840\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1739311773840\",\"loader\":\"shared__input-module__loader--QYYkV_1739311773840\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1739311773840\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1739311773840\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1739311773840\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1739311773840\",\"loader__small\":\"shared__input-module__loader__small--wiaoQ_1739311773840\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1739311773840\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1739311773840\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1739311773840\",\"link__link\":\"shared__link-module__link__link--gUwQW_1739311773840\",\"link__action\":\"shared__link-module__link__action--USwiE_1739311773840\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1739311773840\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1739311773840\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1739311773840\",\"link__default\":\"shared__link-module__link__default--SOoTy_1739311773840\",\"link__success\":\"shared__link-module__link__success--oWpqh_1739311773840\",\"link__error\":\"shared__link-module__link__error--SNmQa_1739311773840\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1739311773840\",\"link__small\":\"shared__link-module__link__small--alNG-_1739311773840\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1739311773840\",\"link__large\":\"shared__link-module__link__large--2gcWq_1739311773840\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1739311773840\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1739311773840\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1739311773840\",\"icon\":\"shared__link-module__icon--DUvf4_1739311773840\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1739311773840\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1739311773840\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1739311773840\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1739311773840\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1739311773840\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1739311773840\",\"active\":\"shared__loader-line-module__active--0J8lF_1739311773840\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1739311773840\",\"border\":\"shared__loader-line-module__border--OXwgu_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1739311773840\",\"absolute\":\"shared__loader-module__absolute--nggvH_1739311773840\",\"active\":\"shared__loader-module__active--+b4cN_1739311773840\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1739311773840\",\"container__success\":\"shared__message-module__container__success--w4A5v_1739311773840\",\"container__error\":\"shared__message-module__container__error--md-mJ_1739311773840\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1739311773840\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1739311773840\",\"header\":\"shared__modal-module__header--RWaWy_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__popover-tooltip-module__tooltip--Vxc91_1739311773840\",\"arrow\":\"shared__popover-tooltip-module__arrow--6PTMq_1739311773840\",\"left\":\"shared__popover-tooltip-module__left--g7SZQ_1739311773840\",\"right\":\"shared__popover-tooltip-module__right--+rCAJ_1739311773840\",\"top\":\"shared__popover-tooltip-module__top--s5iLQ_1739311773840\",\"bottom\":\"shared__popover-tooltip-module__bottom--PxuD3_1739311773840\",\"close\":\"shared__popover-tooltip-module__close--VDmb9_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1739311773840\",\"stars\":\"shared__rating-module__stars--dnMg4_1739311773840\",\"buttons\":\"shared__rating-module__buttons--oat0X_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1739311773840\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1739311773840\",\"disabled\":\"shared__select-module__disabled--gfQp-_1739311773840\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1739311773840\",\"optionText\":\"shared__select-module__optionText--7GphM_1739311773840\",\"mobileModal\":\"shared__select-module__mobileModal--SSvHy_1739311773840\",\"option\":\"shared__select-module__option--Ev-7r_1739311773840\",\"option_selected\":\"shared__select-module__option_selected--djYI5_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1739311773840\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1739311773840\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1739311773840\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1739311773840\",\"ready\":\"shared__slider-module__ready--H+y-p_1739311773840\",\"slider\":\"shared__slider-module__slider--UBNwU_1739311773840\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1739311773840\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1739311773840\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1739311773840\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1739311773840\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1739311773840\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1739311773840\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1739311773840\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1739311773840\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1739311773840\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1739311773840\",\"title\":\"shared__spoiler-module__title--N0ID7_1739311773840\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1739311773840\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1739311773840\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"shared__steps-module__steps--EruNr_1739311773840\",\"step\":\"shared__steps-module__step--29DM6_1739311773840\",\"count\":\"shared__steps-module__count--mKmRV_1739311773840\",\"current\":\"shared__steps-module__current--cItLJ_1739311773840\",\"disabled\":\"shared__steps-module__disabled--NuvsU_1739311773840\",\"text\":\"shared__steps-module__text--pPhgx_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1739311773840\",\"active\":\"shared__switch-module__active--Mghyc_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1739311773840\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1739311773840\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1739311773840\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1739311773840\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1739311773840\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1739311773840\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1739311773840\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1739311773840\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1739311773840\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1739311773840\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1739311773840\",\"loading\":\"shared__tag-button-module__loading--emtZM_1739311773840\",\"icon\":\"shared__tag-button-module__icon--LtczE_1739311773840\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1739311773840\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1739311773840\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1739311773840\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1739311773840\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1739311773840\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1739311773840\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1739311773840\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1739311773840\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1739311773840\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1739311773840\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1739311773840\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1739311773840\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1739311773840\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1739311773840\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1739311773840\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1739311773840\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1739311773840\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1739311773840\",\"clear\":\"shared__text-area-module__clear--cniAi_1739311773840\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1739311773840\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1739311773840\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1739311773840\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1739311773840\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1739311773840\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1739311773840\",\"icon\":\"shared__text-area-module__icon--HqPRa_1739311773840\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1739311773840\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1739311773840\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1739311773840\",\"loader\":\"shared__text-area-module__loader--zfGHC_1739311773840\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1739311773840\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1739311773840\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1739311773840\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1739311773840\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1739311773840\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1739311773840\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1739311773840\",\"text__large\":\"shared__text-module__text__large--oRnU3_1739311773840\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1739311773840\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1739311773840\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1739311773840\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1739311773840\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1739311773840\",\"textBold\":\"shared__text-module__textBold--56jgD_1739311773840\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1739311773840\",\"textError\":\"shared__text-module__textError--MvnkN_1739311773840\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1739311773840\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1739311773840\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1739311773840\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1739311773840\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1739311773840\",\"left\":\"shared__tooltip-module__left--2nmo1_1739311773840\",\"right\":\"shared__tooltip-module__right--JgZSX_1739311773840\",\"top\":\"shared__tooltip-module__top--VsESz_1739311773840\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1739311773840\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1739311773840\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1739311773840\"};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"tslib\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash.debounce\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"classnames\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/auto-complete\");","import React from 'react';\n\nimport cn from 'classnames';\nimport { useMemo } from 'react';\nimport { PropsWithChildren } from 'react';\n\nimport styles from './icon.module.scss';\n\nexport enum EIconSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EIconVariant {\n default = 'default',\n black = 'black',\n attention = 'attention',\n revert = 'revert',\n warning = 'warning',\n initial = 'initial',\n light = 'light',\n inherit = 'inherit',\n green = 'green',\n}\n\ninterface IIconProps {\n size?: keyof typeof EIconSize;\n variant?: keyof typeof EIconVariant;\n active?: boolean;\n icon: any;\n className?: string;\n onClick?: (e: any) => void;\n 'data-tooltip-target'?: boolean;\n}\n\nexport const Icon = ({\n icon: IconSvg,\n active,\n size = EIconSize.medium,\n variant = EIconVariant.default,\n className,\n onClick,\n ...props\n}: PropsWithChildren<IIconProps>) => {\n const classNames = useMemo(\n () =>\n cn(className, styles.icon, styles[`icon__${size}`], styles[`icon__${variant}`], {\n [styles.active]: active,\n [styles.clickable]: !!onClick,\n }),\n [size, variant, active, className, onClick]\n );\n\n if (!IconSvg) {\n return null;\n }\n\n return <IconSvg {...props} onClick={onClick} className={classNames} />;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSelectArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.65 11.24a1 1 0 10-1.3 1.52l7 6a1 1 0 001.3 0l7-6a1 1 0 00-1.3-1.52L14 16.684 7.65 11.24z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgSelectArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgClear(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.894 5.394a.857.857 0 011.212 0l5.394 5.393 5.394-5.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.713 12l5.393 5.394a.858.858 0 01.071 1.132l-.07.08a.857.857 0 01-1.213 0L12.5 13.213l-5.394 5.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L11.287 12 5.894 6.606a.857.857 0 01-.071-1.131l.07-.08z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgClear;","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\nimport classNames from 'classnames';\nimport AntdAutoComplete from 'antd/lib/auto-complete';\nimport { AutoCompleteProps } from 'antd/lib/auto-complete';\nimport { Icon } from '@shared/icon';\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport styles from './auto-complete.module.scss';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nexport interface ISelectOptionsGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: IAutoCompleteProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nexport interface IAutoCompleteProps<T> extends Omit<AutoCompleteProps, 'options' | 'onChange'> {\n options?: T[] | T;\n optionsGroup?: ISelectOptionsGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectOptionsGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onRenderOptionGroup?: (item: ISelectOptionsGroup<T>) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n icon?: any;\n}\n\nexport function AutoComplete<T>({\n labels,\n labelKey,\n valueKey,\n onServerSearch,\n icon,\n debounceTimeout = 500,\n labelPlaceholder,\n onRenderOption,\n onRenderOptionGroup,\n onServerSearchGroup,\n popupClassName,\n optionsGroup: optionsGroupFromProps,\n ...props\n}: IAutoCompleteProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionsGroup<T>[]>(null);\n const [searchValue, setSearchValue] = useState<string>('');\n const fetchRef = useRef(0);\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n optionsGroupFromProps?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption<T>(option, valueKey, labelKey, labels)),\n }))\n );\n }, [optionsGroupFromProps]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>) => {\n if (onRenderOption) {\n return {\n label: onRenderOption(option.data),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n }\n\n return {\n label: (\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n ),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderOptionsGroup = useCallback(\n (option: ISelectOptionsGroup<T>) => ({\n label: onRenderOptionGroup?.(option) || option.label,\n options: option.options.map(_onRenderOptions),\n }),\n [onRenderOptionGroup, _onRenderOptions]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup = useMemo(() => (optionsGroup || []).map(_onRenderOptionsGroup), [optionsGroup]);\n\n const onChangeSearch = useCallback((value: string) => {\n setSearchValue(value);\n }, []);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setSearchValue(value);\n\n const localOptions = optionsGroup?.length ? optionsGroup : (serverOptions || options)?.map((i) => i.data);\n props.onChange && props.onChange(_option?.data, localOptions);\n },\n [props.onChange, _options, serverOptions, options, optionsGroup]\n );\n\n useEffect(() => {\n const res = props.value && _options?.find((option) => option.key === props.value[valueKey]);\n res && setSearchValue(res.value);\n }, [props.value]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setServerOptions([]);\n setOptionsGroup([]);\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n })\n .finally(() => {\n setFetching(false);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .finally(() => {\n setFetching(false);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, debounceTimeout]);\n\n return (\n //@ts-ignore\n <AntdAutoComplete\n {...props}\n value={searchValue}\n options={_optionsGroup.length ? _optionsGroup : _options}\n onSelect={onChange}\n popupClassName={popupClassName}\n notFoundContent={null}\n onChange={onChangeSearch}\n placeholder={props.placeholder || labelPlaceholder}\n onSearch={(val) => {\n setSearchValue(val);\n debounceFetcher(val);\n }}\n backfill\n suffixIcon={<Icon icon={icon || SelectArrowIcon} />}\n className={classNames('ant-select-customize-input', props.className, styles.autoComplete, {\n 'select-error': props.error,\n 'select-stacked': props.stacked,\n 'ant-select-loading': fetching,\n })}\n clearIcon={<Icon icon={ClearIcon} />}\n ></AntdAutoComplete>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-media\");","import React, {\n ComponentProps,\n createContext,\n PropsWithChildren,\n useCallback,\n useContext,\n useEffect,\n useState,\n} from 'react';\nimport ReactMedia from 'react-media';\n\ntype IMediaRender = () => any;\n\nconst MEDIA_MATCHES = {\n mobile: '(max-width: 767px)',\n tablet: '(max-width: 1023px) and (min-width: 768px)',\n desktop: '(min-width: 1024px)',\n};\n\nexport interface IMediaMatches {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\ninterface IMediaProps {\n renderMobile?: IMediaRender;\n renderTablet?: IMediaRender;\n renderDesktop?: IMediaRender;\n defaultMatches?: IMediaMatches;\n render?: (matches: IMediaMatches) => React.ReactNode;\n}\n\nexport const Media = ({ renderDesktop, renderMobile, renderTablet, render, defaultMatches }: IMediaProps) => {\n const [mounted, setMounted] = useState(false);\n useEffect(() => {\n setMounted(true);\n }, []);\n\n const defaultRender = useCallback(\n (matches) => {\n if (matches.tablet && renderTablet) {\n return renderTablet && renderTablet();\n } else if (matches.mobile && renderMobile) {\n return renderMobile && renderMobile();\n } else if (matches.desktop && renderDesktop) {\n return renderDesktop && renderDesktop();\n }\n\n return null;\n },\n [renderTablet, renderMobile, renderMobile, render],\n );\n\n return <>{mounted && <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>{render || defaultRender}</ReactMedia>}</>;\n};\n\ninterface IMediaContext {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\nconst MediaContext = createContext<IMediaContext | null>(null);\n\nexport const MediaProvider = ({ children, defaultMatches }: PropsWithChildren<{ defaultMatches?: IMediaMatches }>) => {\n return (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {(matches: IMediaMatches) => <MediaContext.Provider value={matches}>{children}</MediaContext.Provider>}\n </ReactMedia>\n );\n};\n\nexport declare type IReactComponent<P = any> =\n | React.ClassicComponentClass<P>\n | React.ComponentClass<P>\n | React.FunctionComponent<P>\n | React.ForwardRefExoticComponent<P>;\nexport function withMedia<T extends IReactComponent>(Component: T): T;\nexport function withMedia<T extends React.FunctionComponent<any>>(Component: T) {\n return (props: ComponentProps<typeof Component>) => (\n <MediaProvider>\n <Component {...props} />\n </MediaProvider>\n );\n}\n\nexport const useMedia = () => {\n const data = useContext(MediaContext);\n if (!data) {\n throw new Error('Не подключен MediaProvider');\n }\n\n return data;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBreadcrubmsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 13 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M9.172.464l3.182 3.182a.5.5 0 010 .708L9.172 7.536a.5.5 0 11-.708-.708L10.793 4.5H0v-1h10.793L8.464 1.172a.5.5 0 11.708-.708z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgBreadcrubmsArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBack(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.662 12l4.673-5.296a1.002 1.002 0 000-1.293.741.741 0 00-1.14 0L7.95 11.354a1.003 1.003 0 000 1.293l5.244 5.943a.741.741 0 001.141 0 1.002 1.002 0 000-1.293L9.662 12z\",\n fill: \"#873EDF\"\n })));\n}\nexport default SvgBack;","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './text.module.scss';\n\nexport enum ETextSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n inherit = 'inherit',\n}\n\nexport enum ETextWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\ninterface ITextProps {\n size?: keyof typeof ETextSize;\n children?: any;\n bold?: boolean;\n weight?: keyof typeof ETextWeight;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n error?: boolean;\n className?: string;\n inverse?: boolean;\n style?: any;\n through?: boolean;\n tag?: string;\n onClick?: (e: any) => void;\n}\n\nexport const Text = ({\n children,\n size = ETextSize.medium,\n bold,\n weight = ETextWeight.normal,\n addition,\n success,\n error,\n inverse,\n attention,\n warning,\n className,\n style,\n through,\n tag = 'div',\n onClick\n}: ITextProps) => {\n const TextTag = useMemo(() => tag as keyof JSX.IntrinsicElements, [tag]);\n\n const classNames = useMemo(\n () =>\n classnames(styles.text, className, styles[`text__${size}`], styles[`text__${weight}`], {\n [styles.textAddition]: addition,\n [styles.textBold]: bold,\n [styles.textSuccess]: success,\n [styles.textAttention]: attention,\n [styles.textError]: error,\n [styles.textThrough]: through,\n [styles.textInverse]: inverse,\n [styles.textWarning]: warning\n }),\n [size, className, addition, bold, weight, success, attention, error, inverse, warning],\n );\n\n\n return <TextTag style={style} className={classNames} onClick={onClick}>{children}</TextTag>;\n};\n","import React from 'react';\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './link.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ELinkVariant {\n link = 'link',\n href = 'href',\n action = 'action',\n}\n\nexport enum ELinkType {\n attention = 'attention',\n default = 'default',\n addition = 'addition',\n success = 'success',\n error = 'error',\n inverse = 'inverse'\n}\n\nexport enum ELinkSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ELinkWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ELinkDecoration {\n none = 'none',\n underline = 'underline',\n dashed = 'dashed'\n}\n\ninterface ILinkProps {\n size?: keyof typeof ELinkSize;\n icon?: any;\n variant?: keyof typeof ELinkVariant;\n children: any;\n href?: string;\n bold?: boolean;\n weight?: keyof typeof ELinkWeight;\n type?: keyof typeof ELinkType;\n decoration?: keyof typeof ELinkDecoration;\n dashed?: boolean;\n className?: string;\n target?: '_blank';\n onClick?: (e: MouseEvent) => void;\n rel?: string;\n style?: any;\n tag?: string;\n}\n\nexport const Link = ({\n children,\n target,\n icon: Icon,\n variant = ELinkVariant.link,\n size = ELinkSize.medium,\n weight = ELinkWeight.normal,\n decoration = ELinkDecoration.none,\n href,\n bold,\n className,\n type,\n dashed,\n onClick,\n rel,\n style,\n tag = 'div',\n}: ILinkProps) => {\n const TextTag = useMemo(() => tag as any, [tag]);\n\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.link, className, styles[`link__${variant}`], styles[`link__${size}`], styles[`link__${weight}`], styles[`link__${type}`], styles[`link__${decoration}`], {\n [styles.linkBold]: bold,\n [styles.dashed]: dashed,\n }),\n [variant, className, dashed, type, weight, decoration]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n if (variant === ELinkVariant.href || (variant === ELinkVariant.link && !shared.LinkComponent)) {\n return (\n <a className={classNames} target={target} rel={rel} href={href} style={style}>\n {children}\n </a>\n );\n }\n\n if (variant === ELinkVariant.link) {\n return (\n <shared.LinkComponent href={href} className={classNames} target={target} rel={rel} style={style}>\n {children}\n </shared.LinkComponent>\n );\n }\n\n return (\n <TextTag className={classNames} onClick={onClick} style={style}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { createContext, PropsWithChildren, useContext } from \"react\";\n\ntype ISharedContextPrivate = {\n LinkComponent?: any;\n};\n\ninterface ISharedProviderProps {\n LinkComponent?: any;\n}\n\nconst sharedContext = createContext<ISharedContextPrivate>(null);\n\nexport const SharedProvider = ({ children, ...props }: PropsWithChildren<ISharedProviderProps>) => {\n return <sharedContext.Provider value={props}>\n {children}\n </sharedContext.Provider>;\n};\n\nexport const useShared = () => {\n const data = useContext(sharedContext);\n\n return data;\n};\n\n","import React from 'react';\n\nimport { Icon } from \"@shared/icon\";\nimport { useMedia, withMedia } from '@shared/media';\nimport { Fragment, useCallback } from 'react';\n\nimport BreadcrumbsArrowIcon from '../icon/icons/breadcrubms-arrow.svg';\nimport BackIcon from '../icon/icons/back.svg';\n\nimport styles from './breadcrumbs.module.scss';\nimport { Text } from '@shared/text';\nimport { Link } from '@shared/link';\n\nexport interface IBreadcrumbsPath {\n title: string;\n path: string;\n isBack?: boolean;\n isCurrent?: boolean;\n}\n\nexport enum EBreadcrumbsVariant {\n arrow = 'arrow',\n slash = 'slash'\n}\n\ninterface IBreadcrumbsProps {\n paths: IBreadcrumbsPath[];\n variant?: keyof typeof EBreadcrumbsVariant;\n onBack?: (path: string) => void;\n}\n\nexport const Breadcrumbs = withMedia(({ paths, onBack, variant = EBreadcrumbsVariant.arrow }: IBreadcrumbsProps) => {\n const media = useMedia();\n\n const _onBack = useCallback(() => {\n const backPath = paths.reverse().find((i) => i.path && i.isBack);\n if (backPath) {\n onBack && onBack(paths[paths.length - 1].path);\n } else {\n onBack && onBack('/');\n }\n }, [paths]);\n\n return media.mobile ? (\n <Link className={styles.back} variant=\"action\" onClick={_onBack}>\n <Icon variant=\"attention\" icon={BackIcon} />\n <Text size=\"large\" attention weight=\"semibold\">Назад</Text>\n </Link>\n ) : (\n <div className={styles.breadcrumbs}>\n {paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && (variant === EBreadcrumbsVariant.slash ? <Text size=\"large\" addition>/</Text> : <BreadcrumbsArrowIcon />)}\n <span key={index}>\n {item.path ? (\n <Link href={item.path}>\n <Text size=\"large\" addition={variant === EBreadcrumbsVariant.slash} className={styles.breadcrumbsLink}>{item.title}</Text>\n </Link>\n ) : (\n <Text className={styles.text} size=\"large\" attention={item.isCurrent} weight=\"semibold\">{item.title}</Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n});\n","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgButtonLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgButtonLoader;","import React, { PropsWithChildren, useMemo, MouseEvent, useCallback } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/button-loader.svg';\n\nimport styles from './button.module.scss';\n\nexport enum EButtonSize {\n smallS = 'smallS',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EButtonVariant {\n default = 'default',\n secondary = 'secondary',\n outline = 'outline'\n}\n\nexport enum EButtonIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport interface IButtonProps {\n variant?: keyof typeof EButtonVariant;\n size?: keyof typeof EButtonSize;\n icon?: any;\n width?: string;\n iconPosition?: keyof typeof EButtonIconPosition;\n loading?: boolean;\n disabled?: boolean;\n className?: string;\n type?: 'button' | 'submit' | 'reset';\n onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;\n}\n\nexport const Button = ({\n variant = EButtonVariant.default,\n size = EButtonSize.medium,\n iconPosition = EButtonIconPosition.right,\n width,\n icon: Icon,\n loading,\n disabled,\n children,\n className,\n onClick,\n type = 'button',\n}: PropsWithChildren<IButtonProps>) => {\n const classNames = useMemo(\n () =>\n classnames(\n styles.button,\n className,\n styles[`button__${variant}`],\n styles[`button__${size}`],\n styles[`button__icon_${iconPosition}`],\n {\n [styles.loading]: loading,\n [styles.withIcon]: Icon,\n }\n ),\n [variant, size, loading, Icon, disabled, className]\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n const _onClick = useCallback(\n (e?: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) return;\n\n onClick && onClick(e);\n },\n [onClick, disabled, loading]\n );\n\n return (\n <button type={type} className={classNames} disabled={disabled} onClick={_onClick} style={{ width }}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n {loading && <Loader className={loaderClassNames} />}\n </button>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterMinus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.286 8c0-.316.255-.571.571-.571h10.286a.571.571 0 010 1.142H2.857A.571.571 0 012.286 8z\",\n fill: \"#212121\"\n })));\n}\nexport default SvgCounterMinus;","import React, { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\nimport classnames from 'classnames';\nimport { ChangeEvent } from 'react';\nimport styles from './checkbox.module.scss';\n\nexport type ICheckboxProps = {\n disabled?: boolean;\n value?: boolean;\n error?: boolean;\n onChange?: (val: boolean) => void;\n className?: string;\n small?: boolean;\n name?: string;\n};\n\nlet UNIQ_COUNT = 1;\n\nexport const Checkbox = ({ disabled = false, value = false, onChange = () => {}, children, error, className }: PropsWithChildren<ICheckboxProps>) => {\n const [_value, _setValue] = useState(value);\n\n useEffect(() => {\n value !== _value && _setValue(value);\n }, [value]);\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n if (value === e.currentTarget.checked) {\n return;\n }\n _setValue(e.currentTarget.checked);\n onChange(e.currentTarget.checked);\n },\n [onChange, value],\n );\n\n const id = useMemo(() => `checkbox${UNIQ_COUNT++}`, []);\n\n return (\n <div className={classnames(styles.checkboxContainer, className)}>\n <input\n name=\"name\"\n className={classnames(styles.checkbox, { [styles.error]: error })}\n type=\"checkbox\"\n disabled={disabled}\n id={id}\n checked={_value}\n onChange={_onChange}\n />\n <label htmlFor={id}>{children}</label>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterPlus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 2.286c.316 0 .571.256.571.571V7.43h4.572a.571.571 0 010 1.142H8.57v4.572a.571.571 0 01-1.143 0V8.57h-4.57a.571.571 0 010-1.142h4.57V2.857c0-.315.256-.571.572-.571z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgCounterPlus;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDatePicker(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.286.857c.473 0 .857.384.857.857v.994c.72.115 1.186.3 1.654.55a4.673 4.673 0 011.944 1.944c.408.762.642 1.518.681 3.369h.006v6.265l-.004.523c-.035 1.902-.27 2.668-.683 3.439a4.673 4.673 0 01-1.944 1.944c-.838.448-1.669.687-3.961.687H9.164l-.523-.005c-1.902-.035-2.668-.27-3.439-.682a4.673 4.673 0 01-1.944-1.944c-.43-.805-.667-1.603-.686-3.694V8.57c.045-1.851.279-2.607.686-3.369a4.673 4.673 0 011.944-1.944c.469-.25.935-.435 1.655-.55v-.994a.857.857 0 011.714 0v.863c.186-.004.383-.006.593-.006h5.672c.21 0 .407.002.594.006l-.002-.863c0-.473.384-.857.858-.857zm3.427 9.429H4.286v4.792l.008.488c.033 1.292.17 1.85.476 2.423.288.54.701.953 1.24 1.241.64.342 1.264.472 2.912.483h6.156l.488-.007c1.292-.033 1.85-.17 2.423-.476.54-.288.952-.701 1.24-1.24.343-.64.473-1.264.484-2.912v-4.792zm-3.388 4.286c.371 0 .663.07.908.2.244.13.436.322.566.567.131.244.2.536.2.907v.08c0 .37-.069.662-.2.907-.13.244-.322.436-.566.567-.245.13-.537.2-.908.2h-.079c-.37 0-.663-.07-.907-.2a1.363 1.363 0 01-.567-.567c-.131-.245-.2-.537-.2-.908v-.079c0-.37.069-.663.2-.907.13-.245.322-.437.567-.567.244-.13.536-.2.907-.2h.079zM15.078 4.287H8.922l-.35.004v.852a.857.857 0 01-1.715 0V4.45c-.327.075-.585.18-.846.32A2.96 2.96 0 004.77 6.01c-.317.592-.452 1.17-.48 2.56h15.418l-.002-.137c-.034-1.292-.17-1.85-.476-2.423a2.959 2.959 0 00-1.241-1.24 3.287 3.287 0 00-.845-.32l-.001.692a.857.857 0 11-1.715 0l.002-.852c-.112-.002-.229-.004-.352-.004z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgDatePicker;","import React from 'react';\n\nimport { Button } from '@shared/button';\nimport { Text } from '@shared/text';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport CounterMinusIcon from '../icon/icons/counter-minus.svg';\nimport CounterPlusIcon from '../icon/icons/counter-plus.svg';\n\nimport styles from './counter.module.scss';\n\ninterface ICounterProps {\n value?: number;\n max?: number;\n min?: number;\n onChange?: (count: number) => void;\n}\n\nexport const Counter = (props: ICounterProps) => {\n const [value, setValue] = useState(props.value || 0);\n\n const onChange = useCallback((e) => {\n setValue((count) => {\n const newCount = count + e;\n props.onChange && props.onChange(newCount);\n return newCount;\n });\n }, [props.onChange]);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n return (\n <div className={styles.counter}>\n <Button\n className={styles.button}\n icon={CounterMinusIcon}\n disabled={props.min != undefined && value <= props.min}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Button\n className={styles.button}\n icon={CounterPlusIcon}\n disabled={props.max != undefined && value >= props.max}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/generatePicker\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"rc-picker/lib/generate/dateFns\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/locale/ru_RU\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputSearch(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M10.667 17.333a6.667 6.667 0 115.266-2.578l4.49 4.49-1.179 1.178-4.49-4.49a6.637 6.637 0 01-4.087 1.4zm5-6.666a5 5 0 11-10 0 5 5 0 0110 0z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgInputSearch;","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgInputLoader;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"inputmask\");","import React, {\n InputHTMLAttributes,\n useMemo,\n ChangeEvent,\n forwardRef,\n KeyboardEvent,\n useEffect,\n useCallback,\n useState,\n useRef,\n useImperativeHandle,\n ReactNode,\n} from 'react';\nimport classnames from 'classnames';\nimport debounce from 'lodash.debounce';\n\nimport ClearIcon from '../icon/icons/clear.svg';\nimport InputSearchIcon from '../icon/icons/input-search.svg';\nimport InputLoaderIcon from '../icon/icons/input-loader.svg';\nimport { Icon as SharedIcon } from '../icon';\nimport Inputmask from 'inputmask';\n\nimport styles from './input.module.scss';\n\nexport enum EInputVariant {\n filled = 'filled',\n outlined = 'outlined',\n pure = 'pure',\n}\n\nexport enum EInputSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EInputBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\nexport enum EInputIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport type IInputProps = {\n error?: boolean;\n icon?: any;\n value?: any;\n autofocus?: boolean;\n variant?: keyof typeof EInputVariant;\n size?: keyof typeof EInputSize;\n border?: keyof typeof EInputBorder;\n iconPositon?: keyof typeof EInputIconPosition;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n className?: string;\n beginSearch?: number;\n debounceTime?: number;\n labelPlaceholder?: string | ReactNode;\n mask?: string;\n onClear?: (val?: string) => void;\n onBeforeMask?: (val?: string) => void;\n onPointerUp?: (e: any) => void;\n onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const Input = forwardRef<HTMLInputElement, IInputProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onBeforeMask,\n onSearch,\n onPointerUp,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n type = 'text',\n placeholder,\n style,\n loading = false,\n showClear,\n error,\n labelPlaceholder,\n size = EInputSize.medium,\n variant = EInputVariant.outlined,\n border = EInputBorder.normal,\n iconPositon = EInputIconPosition.right,\n adaptive,\n width,\n className,\n debounceTime = 500,\n beginSearch = NaN,\n mask,\n autofocus,\n ...props\n }: IInputProps,\n ref\n ) => {\n const [_value, _setValue] = useState<string | undefined>(value);\n const [_loading, _setLoading] = useState(loading);\n const [_mask, _setMask] = useState(null);\n\n const innerRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(ref, () => innerRef.current);\n\n useEffect(() => {\n if (props.autoFocus) {\n setTimeout(() => {\n innerRef.current.focus();\n }, 1);\n }\n }, [props.autoFocus]);\n\n useEffect(() => _setValue(value), [value]);\n useEffect(() => _setLoading(loading), [loading]);\n useEffect(() => {\n if (!mask && _mask) {\n _mask.remove();\n _setMask(null);\n }\n\n if (!mask || !innerRef.current) {\n return;\n }\n\n if (!innerRef.current) {\n return;\n }\n\n const inputMask = new Inputmask({ mask, greedy: false, onBeforeMask });\n\n setTimeout(() => {\n innerRef.current.value = value;\n _setMask(inputMask.mask(innerRef.current));\n innerRef.current.dispatchEvent(new Event('change', { bubbles: true }));\n });\n }, [mask, innerRef.current]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.input,\n className,\n styles[`input__${variant}`],\n styles[`input__${size}`],\n styles[`input__border_${border}`],\n {\n [styles[`input__${size}_adaptive`]]: adaptive,\n [styles[`input__action_${size}`]]: Icon || _loading || showClear || onSearch,\n [styles[`input__actions_${size}`]]: (Icon || _loading || onSearch) && showClear,\n [styles[`input__actions_${iconPositon}`]]: (Icon || _loading || onSearch) && showClear,\n [styles.disabled]: disabled,\n [styles.invalid]: error,\n }\n ),\n [variant, size, border, disabled, _loading, showClear, adaptive, className, error, iconPositon, onSearch]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames({\n [styles.invalid]: error,\n }),\n [error]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || _loading || onSearch,\n [styles[`clear__action_${iconPositon}`]]: Icon || _loading || onSearch,\n }),\n [variant, size, Icon, _loading, _value, onSearch]\n );\n\n const loaderClassNames = useMemo(\n () =>\n classnames(\n styles.loader,\n styles[`loader__${variant}`],\n styles[`loader__${size}`],\n styles[`loader__${iconPositon}`]\n ),\n [variant, size, iconPositon]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], styles[`icon__${iconPositon}`]),\n [variant, size, iconPositon]\n );\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n const _onSearchDebounce = useCallback(\n debounce((val, callback) => {\n _setValue((prev) => {\n if (prev !== val) {\n return;\n }\n\n (async () => {\n await callback(val);\n _setLoading(false);\n })();\n\n return val;\n });\n }, debounceTime),\n []\n );\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onSearch && _onSearch(e.currentTarget.value);\n _setValue(e.currentTarget.value);\n if (onChange) {\n onChange(e.currentTarget.value, e);\n }\n },\n [_onSearchDebounce, onSearch, onChange, beginSearch]\n );\n\n const _onSearch = useCallback(\n (val: string) => {\n _setLoading(true);\n\n _setValue(() => {\n if (!val) {\n onClear && onClear();\n _setLoading(false);\n } else if (val?.length >= beginSearch) {\n _onSearchDebounce(val, onSearch);\n } else {\n _setLoading(false);\n }\n\n return val;\n });\n },\n [_onSearchDebounce, onSearch, onClear, beginSearch]\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const _onKeyPress = useCallback(\n (e: KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n onSearch && onSearch(_value || '');\n }\n },\n [_value, onSearch]\n );\n\n return (\n <div className={classNames} style={{ width: width }} onPointerUp={onPointerUp}>\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <input\n {...props}\n className={inputClassNames}\n ref={innerRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder || (typeof labelPlaceholder === 'string' ? labelPlaceholder : '')}\n type={type}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onKeyPress={_onKeyPress}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {Boolean(showClear && _value) && <SharedIcon icon={ClearIcon} className={clearClassNames} onClick={_onClear} />}\n {onSearch && !_loading && (\n <InputSearchIcon className={iconClassNames} onClick={onSearch.bind(null, _value || '')} />\n )}\n {Icon && !_loading && <Icon className={iconClassNames} />}\n {_loading && <InputLoaderIcon className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import React, { ComponentProps, useCallback } from 'react';\nimport cn from 'classnames';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport { Icon } from '@shared/icon';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { EInputSize, Input } from '@shared/input';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IDatePickerProps = {\n error?: boolean;\n onClear?: (e: any) => void;\n onTouchStart?: (e: any) => void;\n format?: string;\n mask?: string;\n labelPlaceholder?: string;\n} & ComponentProps<typeof AntDatePicker>;\n\nexport const DatePicker = ({\n error,\n onClear,\n format = 'DD.MM.YYYY',\n mask,\n labelPlaceholder,\n onClick,\n ...props\n}: IDatePickerProps) => {\n const onRenderInput = useCallback(\n (props: React.InputHTMLAttributes<HTMLInputElement>) => {\n return (\n <Input\n variant=\"pure\"\n mask={mask}\n error={error}\n labelPlaceholder={labelPlaceholder}\n onPointerUp={onClick}\n {...props}\n size={EInputSize.medium}\n onChange={(_, e) => props.onChange(e)}\n />\n );\n },\n [onClick, error]\n );\n\n return (\n // @ts-ignore\n <AntDatePicker\n {...props}\n locale={locale}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n className={cn(props.className, { 'date-picker-error': error })}\n placeholder={props.placeholder || labelPlaceholder}\n format={format}\n onClick={onClick}\n // @ts-ignore\n showToday={false}\n inputRender={onRenderInput}\n />\n );\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './divider.module.scss';\n\nexport type IDividerProps = {\n width?: string;\n height?: string;\n bordered?: boolean;\n overflow?: number;\n children?: JSX.Element;\n className?: string;\n};\n\nexport const Divider = ({ width, height, bordered, className}: IDividerProps) => {\n return (\n <div\n className={classnames(styles.divider, className, { [styles.bordered]: bordered })}\n style={{\n width,\n height,\n }}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/dropdown\");","import React from 'react';\n\nimport AntDropdown from 'antd/lib/dropdown';\nimport { DropDownProps as AntDropdownProps } from 'antd/lib/dropdown';\nimport { ReactNode, useCallback } from 'react';\n\nimport styles from './dropdown.module.scss';\n\ninterface IDropdownProps extends AntDropdownProps {}\n\nexport const Dropdown = (props: IDropdownProps) => {\n const dropdownRender = useCallback(\n (originNode: ReactNode) => {\n return props.dropdownRender ? (\n <div className={styles.dropdown}>{props.dropdownRender(originNode)}</div>\n ) : (\n originNode\n );\n },\n [props.dropdownRender]\n );\n\n //@ts-ignore\n return <AntDropdown {...props} dropdownRender={dropdownRender} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"formik\");","import { useFormikContext } from \"formik\";\nimport { MutableRefObject, useEffect } from \"react\";\n\ninterface IFocusErrorProps {\n formRef: MutableRefObject<HTMLFormElement>;\n}\n\nexport const FocusError = (props: IFocusErrorProps) => {\n const { errors, isSubmitting, isValidating } = useFormikContext();\n\n useEffect(() => {\n if (isSubmitting && !isValidating) {\n let keys = Object.keys(errors);\n if (keys.length > 0) {\n const selector = `[name=${keys[0]}]`;\n const errorElement = props.formRef.current.querySelector(selector) as HTMLElement;\n if (errorElement) {\n errorElement.focus();\n errorElement.scrollIntoView({ block: 'center' });\n }\n }\n }\n }, [errors, isSubmitting, isValidating]);\n\n return null;\n};\n","import React from 'react';\n\nimport { FormikContextType, FormikProvider } from \"formik\"\nimport { PropsWithChildren, useCallback, useRef } from \"react\"\nimport { FocusError } from \"./form-focus-error\";\n\ninterface IFormProps {\n form: FormikContextType<any>;\n className?: string;\n onBlur?: (values: any) => void;\n onChange?: (values: any) => void;\n onChangeBlur?: (values: any) => void;\n}\n\nexport const Form = (props: PropsWithChildren<IFormProps>) => {\n const ref = useRef<HTMLFormElement>();\n\n const onChangeBlur = useCallback(async () => {\n if (props.form.dirty && props.form.isValid) {\n const isValid = await props.form.validateForm();\n if (!Object.keys(isValid).length) {\n props.onChangeBlur && props.onChangeBlur(props.form.values);\n }\n }\n }, [props.form]);\n\n const onBlur = useCallback(() => {\n setTimeout(() => {\n props.onBlur && props.onBlur(props.form.values);\n onChangeBlur();\n });\n }, [props.onBlur, props.form]);\n\n const onChange = useCallback(() => {\n props.onChange && setTimeout(() => {\n props.onChange(props.form.values);\n });\n }, [props.onChange, props.form]);\n\n return <FormikProvider value={props.form}>\n <form ref={ref} className={props.className} onSubmit={props.form.handleSubmit} onBlur={onBlur} onChange={onChange}>\n {props.children}\n <FocusError formRef={ref} />\n </form>\n </FormikProvider>\n};\n","import React from 'react';\n\nimport { ComponentProps, ElementType, PropsWithChildren, useMemo } from 'react';\nimport { getIn, useField, useFormikContext } from 'formik';\nimport { Text } from '@shared/text';\nimport classnames from 'classnames';\n\nimport styles from './form-control.module.scss';\n\ntype IFormControlProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n name: string;\n label?: string;\n component?: C;\n onChange?: any;\n};\n\nexport const isRequiredField = (validationSchema, name) => {\n if (!validationSchema) {\n return false;\n }\n const schemaDescription = validationSchema.describe();\n const accessor = name.split('.').join('.fields.');\n const field = getIn(schemaDescription.fields, accessor);\n if (!field) {\n return false;\n }\n const isRequired = field.tests.some((test) => test.name === 'required');\n return isRequired;\n};\n\nexport function FormControl<T extends ElementType>({\n name,\n label,\n component,\n onChange,\n ...props\n}: PropsWithChildren<IFormControlProps<T>>) {\n const [field, meta, helpers] = useField({ name, type: 'object' });\n const ctx = useFormikContext();\n const Component = component as any;\n\n const _onChange = (value: any, args: any) => {\n helpers.setValue(value);\n helpers.setError(undefined);\n\n onChange &&\n setTimeout(() => {\n if (onChange) {\n onChange(value, args);\n }\n }, 0);\n\n helpers.setTouched(true, false);\n };\n\n const labelPlaceholder = useMemo(() => {\n if (props.labelPlaceholder && isRequiredField(ctx.validationSchema, name)) {\n return `${props.labelPlaceholder} *`;\n }\n\n return props.labelPlaceholder;\n }, [props.labelPlaceholder, ctx.validationSchema]);\n\n const labelClassNames = useMemo(\n () => classnames(styles.label, { [styles.invalid]: meta.touched && meta.error }),\n [meta.touched, meta.error]\n );\n\n return (\n <div>\n {!!label && (\n <Text className={labelClassNames} size=\"large\" addition>\n {label}\n </Text>\n )}\n <Component\n {...field}\n {...props}\n label={label}\n labelPlaceholder={labelPlaceholder}\n error={meta.touched && meta.error}\n onChange={_onChange}\n />\n {meta.touched && meta.error && (\n <Text className={styles.error} size=\"small\" error>\n {meta.error}\n </Text>\n )}\n </div>\n );\n}\n","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './heading.module.scss';\n\nexport enum EHeadingLevel {\n h1 = 1,\n h2,\n h3,\n h4,\n h5,\n h6\n}\n\nexport enum EHeadingWeight {\n bold = 'bold',\n medium = 'medium',\n regular = 'regular'\n}\n\ninterface IHeadingProps {\n level?: EHeadingLevel;\n children?: any;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n inverse?: boolean;\n error?: boolean;\n className?: string;\n centerText?: boolean;\n weight?: keyof typeof EHeadingWeight\n}\n\nexport const Heading = ({\n children,\n level = EHeadingLevel.h1,\n addition,\n attention,\n warning,\n success,\n inverse,\n error,\n className,\n centerText,\n weight,\n}: IHeadingProps) => {\n const HeadingTag = useMemo(() => `h${level}` as keyof JSX.IntrinsicElements, [level]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.heading,\n styles[`heading__h${level}`],\n styles[`heading__weight_${weight}`],\n {\n [styles.textAddition]: addition,\n [styles.textAttention]: attention,\n [styles.textInverse]: inverse,\n [styles.textSuccess]: success,\n [styles.textError]: error,\n [styles.textWarning]: warning,\n [styles.center]: centerText,\n },\n className,\n ),\n [addition, inverse, error, className, weight, warning, success, attention, centerText, level],\n );\n\n return <HeadingTag className={classNames}>{children}</HeadingTag>;\n};\n","export const appleDetect = () => {\n try {\n return [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(navigator.platform)\n // iPad on iOS 13 detection\n || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document)\n } catch (e) {\n return false;\n }\n}\n","import { useEffect, useRef } from 'react';\n\nexport function useCombinedRefs(...refs) {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n ref.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n}\n","const locale = 'ru-RU';\nconst units: { [key: string]: Intl.DateTimeFormatOptions } = {\n YYYY: {\n year: 'numeric',\n },\n YY: {\n year: '2-digit',\n },\n M: {\n month: 'numeric',\n },\n MM: {\n month: '2-digit',\n },\n MMM: {\n month: 'short',\n },\n MMMM: {\n month: 'long',\n },\n MMMMM: {\n month: 'long',\n },\n D: {\n day: 'numeric',\n },\n DD: {\n day: '2-digit',\n },\n d: {\n weekday: 'short',\n },\n dd: {\n weekday: 'long',\n },\n hh: {\n hour: '2-digit',\n },\n mm: {\n minute: '2-digit',\n },\n ss: {\n second: '2-digit',\n },\n};\n\ninterface IDateFormatOptions {\n plural?: boolean;\n utc?: boolean;\n}\n\nexport const getDate = (value: string = '') => {\n if (/[_]/.test(value)) {\n return new Date('Invalid Date');\n }\n\n return new Date(value.replaceAll('_', 'Ё').split('.').reverse().join('/'));\n}\n\nexport const dateFormat = (value: any, format: string, { plural, utc }: IDateFormatOptions = { utc: true, plural: true }) => {\n let _value = new Date(value);\n\n if ((!value && value !== 0) || _value.getTime() !== _value.getTime()) {\n return null;\n }\n\n if (utc) {\n const userTimezoneOffset = _value.getTimezoneOffset() * 60000;\n _value = new Date(_value.getTime() + userTimezoneOffset);\n }\n\n const dateUnits = [];\n const dateItems = format.split(/\\, | \\- | |:|\\-|\\.|_/);\n const delimeters = format.split(/[DMYdhms]/).filter(Boolean);\n let stringDate = '';\n\n dateItems.forEach((item) => {\n let unit: string;\n\n if (/hh|mm|ss/.test(item)) {\n unit = _value.toLocaleTimeString(locale, units[item]);\n if (unit.length === 1) {\n unit = `0${unit}`;\n }\n } else if (plural && item === 'MMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1];\n } else if (item === 'MMM') {\n unit = _value.toLocaleDateString(locale, units[item]);\n unit = unit.slice(0, 3);\n } else if (item === 'MMMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1].toUpperCase();\n } else if (item === 'd') {\n unit = _value.toLocaleString(locale, units[item]);\n unit = unit.replace(/^./, (c) => c.toUpperCase());\n } else {\n unit = _value.toLocaleString(locale, units[item]);\n }\n\n // if (index === 0) {\n // unit = unit.toCapitalize();\n // }\n\n dateUnits.push(unit);\n });\n\n dateUnits.forEach((item, i) => {\n stringDate += item + (delimeters[i] ? delimeters[i] : '');\n });\n\n return stringDate;\n};\n","export const dateWithoutTimezone = (date: Date) => {\n return new Date(date.getTime() - date.getTimezoneOffset() * 60000)\n}\n\nexport const dateWithTimezone = (date: Date) => {\n return new Date(date.getTime() + date.getTimezoneOffset() * 60000)\n}\n","export const pluralize = (val: number, plurals: string[]): string => {\n if (val % 10 === 0 || (val % 10 > 4 && val % 10 < 10) || (val % 100 > 4 && val % 100 < 20)) {\n return plurals[2];\n }\n\n if (val % 10 > 1 && val % 10 < 5) {\n return plurals[1];\n }\n\n if (val % 10 === 1) {\n return plurals[0];\n }\n\n return '';\n};\n","/**\n * Format a number of views into a string with thousands separators.\n *\n * @example\n * formatViews(1000) // '1 000'\n * formatViews(123456) // '123 456'\n * @param {number} num - The number of views.\n * @returns {string} The formatted string.\n */\nexport const formatViews = (num: number) => {\n let numStr = num.toString();\n\n if (numStr.length <= 3) {\n return numStr;\n }\n return formatViews(parseInt(numStr.slice(0, -3))) + ' ' + numStr.slice(-3);\n};\n","export const priceFormat = (value: number | string) => {\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(Math.ceil((+value || 0) / 100));\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n return (\n price\n .map(({ type, value }) => {\n switch (type) {\n case 'currency':\n return null;\n default:\n return value;\n }\n })\n .filter(Boolean)\n .slice(0, -1)\n .reduce((val, part) => val + part, '') +\n ' ' +\n currencySign\n );\n};\n","const PREPOSITIONS = [\n 'в',\n 'во',\n 'без',\n 'до',\n 'из',\n 'к',\n 'ко',\n 'на',\n 'по',\n 'о',\n 'от',\n 'при',\n 'с',\n 'со',\n 'у',\n 'не',\n 'за',\n 'над',\n 'для',\n 'об',\n 'под',\n 'про',\n 'и',\n 'а',\n 'но',\n 'да',\n 'или',\n 'ли',\n 'бы',\n 'то',\n 'что',\n 'как',\n 'я',\n 'он',\n 'мы',\n 'они',\n 'ни',\n 'же',\n 'вы',\n 'им',\n '-',\n];\n\nconst ESCAPE = '&nbsp;';\nconst DASH = '&mdash;';\n\nconst replacement = (str) => str.slice(0, -1) + ESCAPE;\n\nconst decorate = (value: string) => {\n const regex = new RegExp(\n PREPOSITIONS.map((x) => {\n if (x === '-') {\n x = DASH;\n }\n return ' ' + x + ' ';\n }).join('|'),\n 'gi',\n );\n const formattedText = value.replace(regex, replacement);\n return formattedText;\n};\n\nexport const textSanitize = (value: string): string => {\n if (!value) {\n return value;\n }\n return decorate(value);\n};\n","import { useEffect, useState } from \"react\";\nimport { dateFormat } from \"./date-format\";\nimport { dateWithTimezone } from \"./date\";\n\nconst UNITS = [\n {\n label: 'ч',\n value: 60 * 60 * 1000,\n },\n {\n label: 'мин',\n value: 60 * 1000,\n },\n];\n\nexport const timeLeftMinutes = (time: number) => {\n return timeLeft(time * 1000 * 60);\n};\n\nexport const timeLeft = (time: number) => {\n let str = '';\n\n UNITS.forEach((unit) => {\n\n if (Math.floor(time / unit.value)) {\n str += `${Math.floor(time / unit.value)} ${unit.label} `;\n }\n\n time = time - Math.floor(time / unit.value) * unit.value;\n });\n\n return str;\n};\n\nconst wzero = (input: number) => (input > 9 ? String(input) : `0${input > -1 ? input : '0'}`);\nconst getTimeLeft = (date: Date) => {\n const timeLeft = date.getTime() - new Date().getTime();\n\n if (timeLeft >= 24 * 60 * 60 * 1000) {\n return `до ${dateFormat(date, 'D MMMM hh:mm')}`;\n }\n\n if (timeLeft < 0) {\n return null;\n }\n\n const dateLeft = dateWithTimezone(new Date(timeLeft));\n return `${wzero(dateLeft.getHours())}:${wzero(dateLeft.getMinutes())}:${wzero(dateLeft.getSeconds())}`;\n};\n\ninterface IUseTimeLeftProps {\n expireDate: Date;\n onExpired: () => void;\n}\n\nexport const useTimeLeft = ({ expireDate = new Date(0), onExpired }: IUseTimeLeftProps) => {\n const [timeLeft, setTimeLeft] = useState(getTimeLeft(expireDate));\n\n useEffect(() => {\n setTimeLeft(getTimeLeft(expireDate));\n\n const timeout = setTimeout(() => {\n setTimeLeft(getTimeLeft(expireDate));\n }, 1000);\n\n if (!timeLeft) {\n onExpired();\n }\n\n return () => clearTimeout(timeout);\n }, [timeLeft, expireDate]);\n\n return timeLeft;\n};\n","export { appleDetect } from './apple-detect';\nexport { useCombinedRefs } from './combine-ref';\nexport { dateFormat, getDate } from './date-format';\nexport { dateWithTimezone, dateWithoutTimezone } from './date';\nexport { pluralize } from './pluralize';\nexport { formatViews } from './views-format';\nexport { priceFormat } from './price-format';\nexport { textSanitize } from './text-sanitize';\nexport { timeLeft, timeLeftMinutes, useTimeLeft } from './time-left';\n\nfunction generateToken(n) {\n var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\n var token = '';\n for (var i = 0; i < n; i++) {\n token += chars[Math.floor(Math.random() * chars.length)];\n }\n return token;\n}\n\nexport const uuidv4 = () => {\n return generateToken(10);\n};\n","import React, { useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport styles from './loader.module.scss';\nimport { uuidv4 } from '@shared/utils';\n\ninterface ILoaderProps {\n absolute?: boolean;\n fixed?: boolean;\n active?: boolean;\n id?: string;\n}\n\ninterface ILoaderIconProps {\n className?: string;\n id?: string;\n}\n\nconst LoaderIcon = (props: ILoaderIconProps) => {\n const [id] = useState(props.id || uuidv4());\n\n return (\n <svg\n className={props.className}\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id})`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id}_1)`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <defs>\n <linearGradient id={`${id}`} x1=\"14.5\" y1=\"5.5\" x2=\"16.5\" y2=\"10\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n <linearGradient id={`${id}_1`} x1=\"10\" y1=\"16\" x2=\"17\" y2=\"9.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport const Loader = (props: ILoaderProps) => {\n if (props.absolute) {\n return (\n <div className={classNames(styles.absolute, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n if (props.fixed) {\n return (\n <div className={classNames(styles.fixed, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n return <LoaderIcon className={styles.loader} />;\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './loader-line.module.scss';\n\nexport type ILoaderLineProps = {\n active?: boolean;\n children?: JSX.Element;\n};\n\n\nexport const LoaderLine = ({ active }: ILoaderLineProps) => {\n return (\n <>\n <div className={classnames(styles.loaderLine, { [styles.active]: active })}>\n <div className={styles.border} />\n <div className={styles.bar} />\n </div>\n </>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/menu\");","import React, { PropsWithChildren } from 'react';\n\nimport AntMenu from 'antd/lib/menu';\nimport { MenuProps as AntMenuProps } from 'antd/lib/menu';\n\ninterface IMenuProps extends AntMenuProps {}\n\nexport const Menu = (props: PropsWithChildren<IMenuProps>) => {\n // @ts-ignore\n return <AntMenu {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/modal\");","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgModalClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"modal-close_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 20,\n height: 20\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"color(display-p3 .851 .851 .851)\",\n d: \"M0 0h20v20H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#modal-close_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.494 4.495a.714.714 0 011.01 0L10 8.989l4.495-4.494a.714.714 0 01.943-.06l.068.06a.714.714 0 010 1.01L11.01 10l4.495 4.495a.714.714 0 01.059.943l-.06.067a.714.714 0 01-1.01 0L10 11.011l-4.494 4.494a.714.714 0 01-.943.06l-.068-.06a.714.714 0 010-1.01L8.99 10 4.494 5.505a.714.714 0 01-.06-.943l.06-.067z\",\n fill: \"color(display-p3 .4784 .4863 .502)\"\n }))));\n}\nexport default SvgModalClose;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n width: \"1em\",\n height: \"1em\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M8.793 5.293a1 1 0 000 1.414L14.086 12l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\"\n })));\n}\nexport default SvgArrow;","import React from 'react';\n\nimport { Heading } from '@shared/heading';\nimport { Icon } from '@shared/icon';\nimport AntdModal from 'antd/lib/modal';\nimport {\n ComponentProps,\n ElementType,\n forwardRef,\n MutableRefObject,\n PropsWithChildren,\n ReactNode,\n useCallback,\n useEffect,\n useState,\n} from 'react';\nimport ModalCloseIcon from './../icon/icons/modal-close.svg';\nimport classNames from 'classnames';\n\nimport styles from './modal.module.scss';\n\nexport type PropsWithModal<P, D = any> = P & {\n data: D;\n modal: IModalRef<D>;\n};\n\nexport interface IModalRef<D = any> {\n open: (data: D) => void;\n close: () => void;\n setTitle: (title: string | ReactNode) => void;\n setFooter: (node: ReactNode) => void;\n setClosable: (show: boolean) => void;\n setWidth: (width: string | number) => void;\n setFooterFixed: (value: boolean) => void;\n setFull: (value: boolean) => void;\n setGallery: (value: boolean) => void;\n setSidebar: (value: boolean) => void;\n setTabletPopup: (value: boolean) => void;\n setShowCloseIcon: (value: boolean) => void;\n setMaskClosable: (value: boolean) => void;\n setGrayBackground: (value: boolean) => void;\n}\n\ntype IModalProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: any;\n title?: string;\n width?: number | string;\n footer?: ReactNode;\n sidebar?: boolean;\n showClose?: boolean;\n maskClosable?: boolean;\n footerFixed?: boolean;\n full?: boolean;\n gallery?: boolean;\n tabletPopup?: boolean;\n grayBackground?: string;\n};\n\nfunction _Modal<C extends ElementType>(\n {\n title,\n footer,\n width = 'max-content',\n closable = true,\n sidebar,\n showClose = true,\n maskClosable = true,\n component: Component,\n children,\n footerFixed,\n ...props\n }: PropsWithChildren<IModalProps<C>>,\n ref?: MutableRefObject<IModalRef>\n) {\n const [open, setOpen] = useState(false);\n const [data, setData] = useState<any>();\n const [_width, _setWidth] = useState<number | string>(width);\n const [_title, _setTitle] = useState<ReactNode>(title);\n const [_footer, _setFooter] = useState<ReactNode>(footer);\n const [_closable, _setClosable] = useState<boolean>(props.closable);\n const [_full, _setFull] = useState<boolean>(props.full);\n const [_gallery, _setGallery] = useState<boolean>(props.gallery);\n const [_tabletPopup, _setTabletPopup] = useState<boolean>(props.tabletPopup);\n const [_footerFixed, _setFooterFixed] = useState<boolean>(props.footerFixed);\n const [_sidebar, _setSidebar] = useState<boolean>(sidebar);\n const [_showClose, _setShowClose] = useState<boolean>(showClose);\n const [_maskClosable, _setMaskClosable] = useState<boolean>(maskClosable);\n const [_grayBackground, _setGrayBackground] = useState<boolean>(props.grayBackground);\n\n useEffect(() => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n const scrollTop = html.scrollTop;\n const isOpen = open;\n if (open) {\n document.body.style.overflowY = 'auto';\n html.style.overflowY = 'hidden';\n container.style.transform = `translateY(-${scrollTop}px)`;\n html.style.overscrollBehavior = 'none';\n }\n\n return () => {\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n\n if (isOpen) {\n let item = html.offsetHeight;\n console.log(item);\n html.scrollTop = scrollTop;\n }\n };\n }, [open]);\n\n useEffect(() => {\n return () => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n };\n }, []);\n\n const handleCancel = useCallback(() => {\n setOpen(false);\n }, []);\n\n const handleOpen = useCallback((data) => {\n setData(data);\n setTimeout(() => {\n setOpen(true);\n }, 1);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n setTitle: _setTitle,\n setFooter: _setFooter,\n setClosable: _setClosable,\n setWidth: _setWidth,\n setFooterFixed: _setFooterFixed,\n setFull: _setFull,\n setGallery: _setGallery,\n setSidebar: _setSidebar,\n setShowCloseIcon: _setShowClose,\n setMaskClosable: _setMaskClosable,\n setTabletPopup: _setTabletPopup,\n setGrayBackground: _setGrayBackground,\n };\n }, [ref?.current]);\n\n return (\n //@ts-ignore\n <AntdModal\n open={open}\n closable={_closable}\n maskClosable={_maskClosable}\n destroyOnClose={true}\n afterClose={() => {\n setData(null);\n setOpen(false);\n\n document.body.style.overflowY = '';\n }}\n width={_width}\n closeIcon={<Icon size=\"medium\" icon={ModalCloseIcon} />}\n onCancel={handleCancel}\n title={\n typeof _title === 'string' ? (\n <Heading className={styles.header} level={4}>\n {_title}\n </Heading>\n ) : (\n _title\n )\n }\n footer={_footer ? <div className={styles.footer}>{_footer}</div> : null}\n maskTransitionName=\"\"\n transitionName=\"\"\n className={classNames({\n 'ant-modal-hide-close': !_showClose,\n 'ant-modal-sidebar': _sidebar,\n 'ant-modal-footer-fixed': _footerFixed && !!_footer,\n 'ant-modal-full': _full,\n 'ant-modal-gallery': _gallery,\n 'ant-modal-gray': _grayBackground,\n })}\n wrapClassName={classNames({\n 'ant-modal-tablet-popup': _tabletPopup,\n })}\n >\n {children}\n {!!Component && <Component {...props} data={data} modal={ref.current} />}\n </AntdModal>\n );\n}\n\nexport const Modal = forwardRef<IModalRef, IModalProps<any>>(_Modal);\n","import React from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IModalRef, Modal } from './modal';\nimport { uuidv4 } from '@shared/utils';\n\ntype IModalContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IModalRef<any>>;\n};\n\ntype IModalObj = {\n ref: RefObject<IModalRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst modalContext = createContext<IModalContextPrivate>(null);\n\nexport const ModalProvider = ({ children }: PropsWithChildren<any>) => {\n const [modals, setModals] = useState<IModalObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IModalRef>();\n const id = uuidv4();\n setModals((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <modalContext.Provider value={value}>\n {children}\n {modals.map((modal) => (\n <Modal key={modal.id} ref={modal.ref} component={modal.component} {...modal.initialProps} />\n ))}\n </modalContext.Provider>\n );\n};\n\nexport const useModal = (component: any, initialProps?: any) => {\n const data = useContext(modalContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен ModalProvider');\n }\n\n return res;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd\");","import React, { useCallback, useEffect, useState } from 'react';\nimport Arrow from '../icon/icons/arrow.svg';\nimport styles from './gallery.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport { Text } from '@shared/text';\nimport { Button } from 'antd';\n\ninterface IImageUrl {\n thumbWebp?: string;\n thumbJpeg?: string;\n jpeg: string;\n webp?: string;\n}\n\nexport interface IGalleryModalData {\n imageUrls: IImageUrl[];\n currentIndex: number;\n isImageCounter?: boolean;\n}\n\n/**\n * A gallery component for displaying a list of images in a modal.\n *\n * @param {Object} props.modal - The modal instance to use for displaying the gallery.\n * @param {function} props.modal.setGallery - Function to set the gallery state in the modal.\n * @param {IGalleryModalData} props.data - The data for the gallery.\n * @param {IImageUrl[]} props.data.imageUrls - An array of image URLs to display in the gallery\n * @param {number} props.data.currentIndex - The index of the currently displayed image.\n * @param {boolean} [props.data.isImageCounter=true] - Whether to display an image counter.\n * @returns {JSX.Element} A JSX element representing the gallery.\n */\n\nexport const Gallery = ({ modal, data }: PropsWithModal<{}, IGalleryModalData>) => {\n const { imageUrls, currentIndex = 0, isImageCounter = true } = data;\n\n const [current, setCurrent] = useState(currentIndex);\n\n useEffect(() => {\n modal.setGallery(true);\n }, []);\n\n const onNext = useCallback(() => {\n setCurrent((prev) => (prev + 1) % imageUrls.length);\n }, [imageUrls]);\n\n const onPrev = useCallback(() => {\n setCurrent((prev) => (prev - 1 + imageUrls.length) % imageUrls.length);\n }, [imageUrls]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowRight') {\n onNext();\n } else if (event.key === 'ArrowLeft') {\n onPrev();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => window.removeEventListener('keydown', handleKeyDown);\n }, [onNext, onPrev]);\n\n const getSliderPictures = () => {\n if (imageUrls[current]?.webp) {\n return (\n <figure className={styles.galleryPicsContainer}>\n <picture>\n <source type=\"image/webp\" srcSet={`${imageUrls[current].thumbWebp} 1x, ${imageUrls[current].webp} 2x`} />\n <source type=\"image/jpeg\" srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current]?.thumbJpeg} 1x`} />\n <img\n src={decodeURI(imageUrls[current].jpeg)}\n srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current].thumbJpeg} 1x`}\n alt=\"Gallery image\"\n loading=\"lazy\"\n className={styles.image}\n />\n </picture>\n </figure>\n );\n }\n return (\n <figure className={styles.galleryOnlyPicContainer}>\n <img src={decodeURI(imageUrls[current].jpeg)} alt=\"Gallery image\" loading=\"lazy\" className={styles.image} />\n </figure>\n );\n };\n\n return (\n <div className={styles.gallery}>\n <Button onClick={onNext} className={styles.buttonNext} icon={<Arrow />} aria-label=\"Next slide in gallery\" />\n <Button onClick={onPrev} className={styles.buttonPrev} icon={<Arrow />} aria-label=\"Prev slide in gallery\" />\n {getSliderPictures()}\n {isImageCounter && (\n <Text weight=\"semibold\" className={styles.counter}>\n {current + 1} из {imageUrls.length}\n </Text>\n )}\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/radio\");","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntRadio from 'antd/lib/radio';\nimport { RadioChangeEvent, RadioGroupProps } from 'antd/lib/radio';\nimport { CheckboxValueType } from 'antd/lib/checkbox/Group';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './radio.module.scss';\n\ninterface IRadioOption<T> {\n label: string;\n value: CheckboxValueType;\n data: T;\n}\n\ntype IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'value'> & {\n options: T[] | T;\n labels?: { [key: string]: string };\n valueKey?: string;\n labelKey?: string;\n value?: any;\n onChange?: (value: T, e?: MouseEvent) => void;\n position?: 'vertical' | 'horizontal';\n className?: string;\n error?: boolean;\n};\n\nfunction formatItemToOption<T = any>(item: any, valueKey: string, labelKey: string, labels: { [key: string]: string }) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as IRadioOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as IRadioOption<T>;\n}\n\nexport function Radio<T = any>({\n options,\n position = 'horizontal',\n valueKey,\n labelKey,\n labels,\n className,\n error,\n ...props\n}: IRadioProps<T>) {\n const [value, setValue] = useState<any>();\n\n const _options = useMemo(() => {\n let _options = null;\n if (Array.isArray(options)) {\n _options = options;\n }\n\n if (options) {\n _options = Object.values(options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [options, labels]);\n\n useEffect(() => {\n if (!options) {\n return;\n }\n\n const res = _options?.find(\n (option) => (props.value && option.value === props.value[valueKey]) || option.value === props.value\n );\n setValue(res?.value);\n }, [props.value, _options]);\n\n const _onChange = useCallback(\n (e: RadioChangeEvent) => {\n const value = _options.find((option) => option.value === e.target.value);\n setValue(value.value);\n props.onChange && props.onChange(value?.data, e.nativeEvent);\n },\n [props.onChange, _options]\n );\n\n const classNames = useMemo(\n () =>\n cn('ant-radio-customize', className, {\n [styles.invalid]: error,\n }),\n [className, error]\n );\n\n const labelClassNames = useMemo(() => cn({ [styles.invalid]: error }), [error]);\n\n return (\n //@ts-ignore\n <AntRadio.Group className={cn('ant-radio-group-customize', position)} {...props} onChange={_onChange} value={value}>\n {_options.map((option, index) => (\n //@ts-ignore\n <AntRadio className={classNames} key={index} value={option.value}>\n <Text size=\"large\" className={labelClassNames}>\n {option.label}\n </Text>\n </AntRadio>\n ))}\n </AntRadio.Group>\n );\n}\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\n\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { Icon } from '../icon';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IRangePickerProps = {\n isFromToday?: boolean;\n onClear?: (e: any) => void;\n} & ComponentProps<typeof AntDatePicker.RangePicker>;\n\nexport const RangePicker = forwardRef(({ onClear, ...props }: IRangePickerProps, ref) => {\n const disabledDate = useCallback(\n (current: Date) => {\n if (props.disabledDate && props.disabledDate(current)) {\n return true;\n }\n\n if (props.isFromToday) {\n const date = new Date();\n date.setHours(0);\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return current && current.getTime() < date.getTime();\n }\n\n return false;\n },\n [props.isFromToday, props.disabledDate]\n );\n\n // @ts-ignore\n return (\n // @ts-ignore\n <AntDatePicker.RangePicker\n locale={locale}\n pickerRef={ref as any}\n {...props}\n disabledDate={disabledDate}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n />\n );\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/select\");","import React, { useCallback, useEffect, useState } from 'react';\nimport styles from './select.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport cn from 'classnames';\nimport classNames from 'classnames';\n\ninterface IContactsModalData {\n title?: string;\n filter: any;\n items: any[];\n onClick: (item: any, option) => void;\n}\n\nexport const SelectModal = ({ modal, data }: PropsWithModal<{}, IContactsModalData>) => {\n const [currentValue, setCurrentValue] = useState(data.items?.find(({ value }) => value === data.filter));\n useEffect(() => {\n modal.setTitle(data.title || 'Выберите вариант');\n }, []);\n\n const _onClick = useCallback((item) => {\n setCurrentValue(item);\n data.onClick(item.value, item);\n }, []);\n\n return (\n <div className={cn(styles.mobileModal)}>\n {data.items.map((item) => (\n <div\n onClick={() => _onClick(item)}\n className={classNames(styles.option, {\n [styles.option_selected]: currentValue?.label === item?.label,\n })}\n >\n {item.label}\n </div>\n ))}\n </div>\n );\n};\n","import React from 'react';\n\nimport AntSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\n\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './select.module.scss';\nimport classNames from 'classnames';\nimport { useMedia } from '@shared/media';\nimport { useModal } from '@shared/modal';\nimport { SelectModal } from './select-modal';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\ninterface ISelectOptionGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\ninterface ISelectGroup<T> {\n label: string;\n options: T[];\n}\n\ntype ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n optionsGroup?: ISelectGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n suffixIcon?: any;\n isMobileModal?: boolean;\n modalTitle?: string;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ISelectProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nexport function Select<T = any>({\n debounceTimeout = 500,\n onServerSearch,\n onServerSearchGroup,\n onRenderOption,\n valueKey = 'value',\n labelKey,\n labelPlaceholder,\n labels,\n popupClassName,\n suffixIcon,\n stacked,\n error,\n isMobileModal = false,\n modalTitle,\n ...props\n}: ISelectProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionGroup<T>[]>(null);\n const media = useMedia();\n const modal = useModal(SelectModal);\n\n const [value, setValue] = useState<ISelectOption<T>>();\n const fetchRef = useRef(0);\n\n const isEqual = (option) =>\n option.key === props.value ||\n option.props.data === props.value ||\n (props.value && (option.key === props.value[valueKey] || option.props.value === props.value[valueKey]));\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n props.optionsGroup?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n }, [props.optionsGroup]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setServerOptions([]);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setOptionsGroup([]);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, onServerSearchGroup, debounceTimeout]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntSelect.Option>\n );\n }\n\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderGroup = useCallback((group: ISelectOptionGroup<T>) => {\n return <AntSelect.OptGroup label={group.label}>{group.options.map(_onRenderOptions)}</AntSelect.OptGroup>;\n }, []);\n\n const onDropdownVisibleChange = useCallback(\n (open: boolean) => {\n if (!open) {\n setServerOptions(null);\n return;\n }\n },\n [value]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup: any[] = useMemo(() => optionsGroup?.map(_onRenderGroup) || null, [optionsGroup]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.data,\n (serverOptions || options)?.map((i) => i.data)\n );\n modal?.current.close();\n },\n [props.onChange, _options, serverOptions, options, modal?.current]\n );\n\n useEffect(() => {\n let res = props.value && _options?.find(isEqual);\n\n if (_optionsGroup?.length) {\n for (const group of _optionsGroup) {\n res = group.props.children.find(isEqual);\n if (res) break;\n }\n }\n\n setValue(res?.props.value);\n }, [props.value, _options, _optionsGroup]);\n\n const _onClick = useCallback(\n (e) => {\n if (isMobileModal && media?.mobile)\n modal?.current.open({\n title: modalTitle,\n filter: value,\n items: options,\n onClick: onChange,\n });\n props?.onClick(e);\n },\n [media?.mobile, modal?.current, value, options, onChange]\n );\n\n return (\n <AntSelect\n {...props}\n value={value}\n options={undefined}\n onSearch={onServerSearch || onServerSearchGroup ? debounceFetcher : undefined}\n popupClassName={classNames(popupClassName, {\n isMobileModal: isMobileModal,\n })}\n onDropdownVisibleChange={onDropdownVisibleChange}\n notFoundContent={null}\n loading={fetching || props.loading}\n onChange={onChange}\n placeholder={props.placeholder || labelPlaceholder}\n clearIcon={<Icon icon={ClearIcon} />}\n className={cn('ant-select-customize-input', props.className, styles.select, {\n 'select-error': error,\n 'select-stacked': stacked,\n 'select-loading': fetching,\n })}\n suffixIcon={suffixIcon ? suffixIcon : <Icon icon={SelectArrowIcon} />}\n onClick={_onClick}\n >\n {_optionsGroup?.length ? _optionsGroup : _options}\n </AntSelect>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/slider\");","import React from 'react';\n\nimport Slider from 'antd/lib/slider';\nimport { SliderRangeProps, SliderSingleProps } from 'antd/lib/slider';\nimport { useEffect, useState } from 'react';\n\ninterface ISelectorRangeProps extends SliderRangeProps {}\n\nexport const SelectorRange = (props: ISelectorRangeProps) => {\n const [value, setValue] = useState<[number, number]>(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n //@ts-ignore\n return <Slider {...props} value={value} onChange={setValue} />;\n};\n\ninterface ISelectorProps extends SliderSingleProps {}\n\nexport const Selector = (props: ISelectorProps) => {\n //@ts-ignore\n return <Slider {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-loading-skeleton\");","import React from 'react';\n\nimport RLSkeleton, { SkeletonProps } from 'react-loading-skeleton';\n\ntype ISkeletonProps = SkeletonProps;\n\nexport const Skeleton = (props: ISkeletonProps) => {\n return <RLSkeleton {...props} />\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper/react\");","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 49 48\",\n fill: \"none\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 49 48\",\n fill: \"none\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper\");","import React, { useEffect } from 'react';\nimport { Text } from '@shared/text';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport classnames from 'classnames';\nimport SwiperCore, { Navigation, Autoplay, Controller, EffectFade } from 'swiper';\nimport { useCallback, useMemo, useRef, useState } from 'react';\n\nimport styles from './slider.module.scss';\n\nSwiperCore.use([Navigation, Autoplay, Controller, EffectFade]);\n\ninterface ISliderProps {\n items: any[];\n slidesPerView: any;\n showNavigation?: boolean;\n navPosition?: 'inset' | '';\n renderItem: (item: any, index: number) => any;\n viewItem?: (item: any, index: number) => void;\n loop?: boolean;\n asyncReady?: boolean;\n spaceBetween?: number;\n autoplay?: boolean;\n delay?: number;\n freeMode?: boolean;\n showCounter?: boolean;\n centeredSlides?: boolean;\n className?: string;\n classNamePrev?: string;\n classNameNext?: string;\n touchStartPreventDefault?: boolean;\n overflow?: boolean;\n preloadImages?: boolean;\n shortSwipes?: boolean;\n longSwipes?: boolean;\n longSwipesRatio?: number;\n longSwipesMs?: number;\n preventClicks?: boolean;\n preventClicksPropagation?: boolean;\n speed?: number;\n effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip';\n}\n\nexport const Slider = ({\n items,\n slidesPerView,\n renderItem,\n viewItem = () => {},\n loop,\n asyncReady,\n showNavigation,\n navPosition = '',\n spaceBetween = 24,\n autoplay = false,\n delay = 10000,\n freeMode,\n showCounter,\n centeredSlides,\n className,\n classNamePrev,\n classNameNext,\n touchStartPreventDefault,\n overflow,\n preloadImages,\n shortSwipes = true,\n longSwipes = true,\n longSwipesMs = 300,\n longSwipesRatio = 0.5,\n preventClicks = true,\n preventClicksPropagation = true,\n effect,\n speed = 1000,\n}: ISliderProps) => {\n const navigationPrevRef = useRef(null);\n const navigationNextRef = useRef(null);\n const [index, setIndex] = useState(0);\n const [ready, setReady] = useState(asyncReady);\n\n const classNames = useMemo(\n () =>\n classnames(styles.slider, className, {\n [styles.sliderAutoLoop]: loop && slidesPerView === 'auto',\n [styles.ready]: ready,\n overflow,\n }),\n [loop, slidesPerView, ready, className, overflow]\n );\n\n const onSlideItem = useCallback(\n (indexItem) => {\n const findItem = items.find((_, index) => index === indexItem);\n viewItem(findItem, indexItem);\n },\n [viewItem]\n );\n\n const renderSliderCounter = useMemo(\n () => (\n <div className={styles.sliderCounterContainer}>\n <div className={styles.sliderCounter}>\n <Text size=\"medium\" attention weight=\"semibold\" className={styles.sliderCounter__text}>\n {index} из {items.length}\n </Text>\n </div>\n </div>\n ),\n [index, items.length, styles]\n );\n\n useEffect(() => {\n if (asyncReady) {\n setReady(true);\n }\n }, [asyncReady]);\n\n return (\n <>\n <div className={classnames(styles.sliderContainer, 'slider')}>\n <div\n ref={navigationPrevRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__prev_${navPosition}`],\n styles[`buttonSlider__prev`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNamePrev\n )}\n >\n <ArrowPrev />\n </div>\n <div\n ref={navigationNextRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__next_${navPosition}`],\n styles[`buttonSlider__next`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNameNext\n )}\n >\n <ArrowNext />\n </div>\n <Swiper\n preventClicks={preventClicks}\n preventClicksPropagation={preventClicksPropagation}\n shortSwipes={shortSwipes}\n longSwipes={longSwipes}\n longSwipesRatio={longSwipesRatio}\n longSwipesMs={longSwipesMs}\n loop={(loop && items?.length > slidesPerView) || (loop && slidesPerView === 'auto')}\n speed={speed}\n fadeEffect={effect === 'fade' ? { crossFade: true } : undefined}\n effect={effect}\n touchStartPreventDefault={touchStartPreventDefault}\n preloadImages={preloadImages}\n loopedSlides={loop && slidesPerView === 'auto' ? items.length : null}\n centeredSlides={centeredSlides}\n freeMode={freeMode}\n onSlideChange={(sw) => {\n setIndex(sw.realIndex + 1);\n onSlideItem(sw.realIndex);\n }}\n autoplay={\n autoplay\n ? {\n delay,\n disableOnInteraction: true,\n }\n : undefined\n }\n navigation={{\n nextEl: navigationNextRef.current,\n prevEl: navigationPrevRef.current,\n }}\n onImagesReady={(swiper) => {\n swiper.slideTo(0, 0);\n setReady(true);\n }}\n onBeforeInit={(swiper) => {\n if (typeof swiper.params.navigation === 'boolean') {\n return;\n }\n\n swiper.params.navigation.prevEl = navigationPrevRef.current;\n swiper.params.navigation.nextEl = navigationNextRef.current;\n }}\n lazy={{\n checkInView: true,\n loadPrevNext: true,\n }}\n slidesPerView={slidesPerView}\n spaceBetween={spaceBetween}\n className={classNames}\n >\n {items?.map((item, index) => {\n let key: any = index;\n if (typeof item === 'string') {\n key = item;\n }\n\n return (\n <SwiperSlide\n key={key}\n className={classnames(styles.swiperSlide, { [styles.swiperSlideAuto]: slidesPerView === 'auto' })}\n >\n {renderItem(item, index)}\n </SwiperSlide>\n );\n })}\n </Swiper>\n {showCounter && items.length > 1 && renderSliderCounter}\n </div>\n </>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.817 9.635A.857.857 0 105.7 10.937l6 5.142a.857.857 0 001.116 0l6-5.143A.857.857 0 1017.7 9.636L12.26 14.3 6.817 9.635z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrowActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.558 16.08a.857.857 0 11-1.116-1.302l6-5.143a.857.857 0 011.116 0l6 5.143a.857.857 0 11-1.116 1.301L12 11.415l-5.442 4.664z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrowActive;","import React from 'react';\n\nimport { PropsWithChildren, ReactNode, useCallback, useState } from 'react';\n\nimport { Icon } from '@shared/icon';\n\nimport SpoilerArrowIcon from '../icon/icons/spoiler-arrow.svg';\nimport SpoilerArrowActiveIcon from '../icon/icons/spoiler-arrow-active.svg';\n\nimport styles from './spoiler.module.scss';\nimport classNames from 'classnames';\n\ninterface ISpoilerProps {\n title: string | ReactNode;\n initialValue?: boolean;\n className?: string;\n}\n\nexport const Spoiler = (props: PropsWithChildren<ISpoilerProps>) => {\n const [opened, setOpened] = useState(props.initialValue);\n\n const onChange = useCallback(() => {\n setOpened(prev => !prev);\n }, []);\n\n return (\n <div className={classNames(styles.spoiler, props.className)}>\n <div className={styles.title} onClick={onChange.bind(null)}>\n {props.title}\n <Icon size=\"large\" variant=\"initial\" className={styles.arrow} icon={opened ? SpoilerArrowActiveIcon : SpoilerArrowIcon} />\n </div>\n {opened && props.children}\n </div>\n );\n};\n","import React, { useEffect } from 'react';\n\nimport { Input, IInputProps } from '@shared/input';\nimport { Select } from '@shared/select';\nimport cn from 'classnames';\nimport { ComponentProps, InputHTMLAttributes, ReactNode, useState } from 'react';\n\nimport styles from './stacked-input.module.scss';\n\nexport interface IStackedInputValue<T> {\n value: string;\n key: T;\n}\n\ntype IStackedInputProps<T> = {\n onChange: (val: string) => void;\n onSearch?: (val: string) => void;\n onSelect?: (key: T) => void;\n options: T[];\n option: T;\n className?: string;\n autoFocus?: boolean;\n showClear?: boolean;\n placeholder?: string;\n labelPlaceholder?: string;\n mask?: IInputProps['mask'];\n value?: string\n onRenderOption?: (item: T) => ReactNode;\n} & ComponentProps<typeof Input> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport function StackedInput<T>({ onSelect, onRenderOption, options, option, ...props }: IStackedInputProps<T>) {\n const [key, setKey] = useState<T>(option || options[0]);\n\n const _onSelect = (key: T) => {\n setKey(key);\n onSelect(key);\n }\n\n useEffect(() => {\n setKey(option);\n }, [option]);\n\n return (\n <div className={cn(styles.stacked_input, props.className)}>\n <Select\n className={styles.stacked_input__select}\n size=\"large\"\n options={options}\n onChange={_onSelect}\n value={key}\n suffixIcon={null}\n\n onRenderOption={onRenderOption}\n dropdownMatchSelectWidth={false}\n stacked\n />\n <Input\n {...props}\n className={styles.stacked_input__input}\n labelPlaceholder={props.labelPlaceholder}\n mask={props.mask}\n showClear={props.showClear}\n placeholder={props.placeholder}\n />\n </div>\n );\n}\n","import React from 'react';\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport styles from './switch.module.scss';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\n\ntype ISwitchProps = {\n value?: boolean;\n name?: string;\n title?: string;\n className?: string;\n onChange?: (value: boolean) => void;\n};\n\nexport const Switch = (props: ISwitchProps) => {\n const [value, setValue] = useState(props.value);\n\n useEffect(() => setValue(!!props.value), [props.value]);\n\n const onChange = useCallback(() => {\n setValue(!value);\n props.onChange && props.onChange(!value);\n }, [value, props.onChange]);\n\n return <div className={classNames(styles.switch, props.className, { [styles.active]: value })} onClick={onChange}>\n <div></div>\n <input name={props.name} type=\"checkbox\" checked={value} />\n {!!props.title && <Text size=\"large\">{props.title}</Text>}\n </div>\n}\n","import React from 'react';\n\nimport AntdSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport classNames from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './tag-box.module.scss';\n\nexport interface ITagBoxOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagBoxProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagBoxOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagBoxOption<T>;\n}\n\ntype ITagBoxProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onChange?: (option: T[], options?: T[]) => void;\n onRenderOption?: (item: T) => React.ReactNode;\n popupClassName?: string;\n};\n\nexport function TagBox<T>({\n labels,\n valueKey,\n labelKey,\n labelPlaceholder,\n onRenderOption,\n popupClassName,\n ...props\n}: ITagBoxProps<T>) {\n const [value, setValue] = useState<ITagBoxOption<T>[]>();\n\n const isEqual = (option) =>\n props.value.some(\n (v) =>\n v === option.key ||\n v === option.props?.data ||\n v === option.props.value ||\n v[valueKey] === option.key ||\n v[valueKey] === option.props.value\n );\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || [];\n }, [props.options, labels]);\n\n const _onRenderOptions = useCallback(\n (option: ITagBoxOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntdSelect.Option>\n );\n }\n\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntdSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _options: any[] = useMemo(() => (options || []).map(_onRenderOptions), [options]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.map((i) => i.data),\n options?.map((i) => i.data)\n );\n },\n [props.onChange, _options, options]\n );\n\n useEffect(() => {\n let res = props.value && _options?.filter(isEqual);\n setValue(res?.map((i) => i.props.value));\n }, [props.value, _options]);\n\n return (\n //@ts-ignore\n <AntdSelect\n {...props}\n mode=\"multiple\"\n value={value}\n options={undefined}\n popupClassName={popupClassName}\n notFoundContent={null}\n onChange={onChange}\n maxTagCount=\"responsive\"\n //@ts-ignore\n removeIcon={<Icon size=\"small\" icon={ClearIcon} />}\n menuItemSelectedIcon={null}\n placeholder={props.placeholder || labelPlaceholder}\n className={classNames('ant-tag-box-customize-input', props.className, styles.select, {\n 'select-error': props.error,\n })}\n >\n {_options}\n </AntdSelect>\n );\n}\n","import React, { PropsWithChildren, useMemo, useCallback } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './tag-button.module.scss';\n\nexport enum ETagButtonSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETagButtonVariant {\n default = 'default',\n secondary = 'secondary',\n tumbler = 'tumbler',\n green = 'green',\n tab = 'tab',\n text = 'text',\n icons = 'icons',\n custom = 'custom',\n}\n\ninterface IButtonProps {\n variant?: keyof typeof ETagButtonVariant;\n size?: keyof typeof ETagButtonSize;\n icon?: any;\n disabled?: boolean;\n selected?: boolean;\n notChangeSelected?: boolean;\n shadow?: boolean;\n onClick: (e?: boolean) => void;\n selectedClassName?: string;\n}\n\nexport const TagButton = ({\n variant = ETagButtonVariant.default,\n size = ETagButtonSize.medium,\n disabled,\n selected,\n children,\n onClick,\n selectedClassName,\n}: PropsWithChildren<IButtonProps>) => {\n const classNames = useMemo(\n () =>\n classnames(styles.button, styles[`button__${variant}`], styles[`button__${size}`], {\n [styles.selected]: selected,\n [selectedClassName]: selected,\n }),\n [variant, size, disabled, selected]\n );\n\n const _onClick = useCallback(() => {\n onClick();\n }, [onClick]);\n\n return (\n <div className={classNames} onClick={_onClick}>\n <span>{children}</span>\n </div>\n );\n};\n","import React from 'react';\n\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ETagButtonSize, ETagButtonVariant, TagButton } from './tag-button';\n\nimport styles from './tag-button.module.scss';\nimport classNames from 'classnames';\n\ninterface ITagButtonGroupProps<T> {\n variant?: keyof typeof ETagButtonVariant;\n className?: string;\n selectedClassName?: string;\n labels?: { [key: string]: string };\n size?: keyof typeof ETagButtonSize;\n options: T[];\n onChange?: (value: T) => void;\n onRenderLabel?: (value: T, active: boolean) => void;\n value?: T;\n valueKey?: string;\n labelKey?: string;\n}\n\ninterface ITagOption<T> {\n label: string;\n value: string;\n data: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagButtonGroupProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagOption<T>;\n}\n\nexport function TagButtonGroup<T>({\n labelKey = 'label',\n valueKey = 'value',\n labels,\n className,\n selectedClassName,\n ...props\n}: ITagButtonGroupProps<T>) {\n const [value, setValue] = useState<ITagOption<T>>();\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n const onChange = useCallback(\n (val: ITagOption<T>) => {\n const option = options?.find(\n (option) => option.value === val.value || option.data === val.value || option.value === val[valueKey]\n );\n setValue(option);\n props.onChange && props.onChange(option?.data);\n },\n [props.onChange]\n );\n\n useEffect(() => {\n const res =\n props.value &&\n options?.find(\n (option) =>\n option.value === props.value || option.data === props.value || option.value === props.value[valueKey]\n );\n\n setValue(res);\n }, [props.value, options]);\n\n return (\n <div className={classNames(styles.tagButtonGroup, className)}>\n {options.map((item) => (\n <TagButton\n key={item.value}\n variant={props.variant}\n size={props.size}\n selected={value === item}\n onClick={onChange.bind(null, item)}\n selectedClassName={selectedClassName}\n >\n {props.onRenderLabel ? props.onRenderLabel(item.data, value === item) : item.label}\n </TagButton>\n ))}\n </div>\n );\n}\n","import React, { useMemo, ChangeEvent, forwardRef, useRef, TextareaHTMLAttributes } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/input-loader.svg';\nimport Clear from '../icon/icons/clear.svg';\n\nimport styles from './text-area.module.scss';\nimport { useState } from 'react';\nimport { useCallback } from 'react';\nimport { useEffect } from 'react';\nimport { useCombinedRefs } from '@shared/utils/combine-ref';\n\nconst observe = function (element, event, handler) {\n element.addEventListener(event, handler, false);\n};\n\nconst deobserve = function (element, event, handler) {\n element.removeEventListener(event, handler);\n};\n\nfunction resizeFn(text: HTMLTextAreaElement) {\n const resize = () => {\n text.style.height = 'auto';\n text.style.height = `${2 + text.scrollHeight}px`;\n };\n\n /* 0-timeout to get the already changed text */\n function delayedResize() {\n window.setTimeout(resize, 0);\n }\n\n observe(text, 'change', resize);\n observe(text, 'cut', delayedResize);\n observe(text, 'paste', delayedResize);\n observe(text, 'drop', delayedResize);\n observe(text, 'keydown', delayedResize);\n observe(text, 'input', resize);\n\n // text.select();\n resize();\n\n return () => {\n deobserve(text, 'change', resize);\n deobserve(text, 'cut', delayedResize);\n deobserve(text, 'paste', delayedResize);\n deobserve(text, 'drop', delayedResize);\n deobserve(text, 'keydown', delayedResize);\n deobserve(text, 'input', resize);\n }\n}\n\nexport enum ETextAreaVariant {\n filled = 'filled',\n outlined = 'outlined',\n}\n\nexport enum ETextAreaSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETextAreaBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\ntype ITextAreaProps = {\n invalid?: boolean;\n icon?: any;\n variant?: keyof typeof ETextAreaVariant;\n size?: keyof typeof ETextAreaSize;\n border?: ETextAreaBorder;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n autoResize?: boolean;\n placeholder?: string;\n onClear?: () => void;\n onSearch?: (e: any) => void;\n onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;\n} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, ITextAreaProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onSearch,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n placeholder,\n style,\n loading,\n showClear,\n invalid,\n autoFocus,\n size = ETextAreaSize.medium,\n variant = ETextAreaVariant.outlined,\n border = ETextAreaBorder.normal,\n adaptive,\n autoResize,\n ...props\n }: ITextAreaProps,\n ref,\n ) => {\n const [_value, _setValue] = useState(value);\n\n const innerRef = useRef<HTMLTextAreaElement>();\n const combineRef: React.MutableRefObject<HTMLTextAreaElement> = useCombinedRefs(ref, innerRef);\n\n useEffect(() => _setValue(value), [value]);\n\n useEffect(() => {\n if (autoFocus && combineRef.current) {\n combineRef.current.focus();\n }\n }, [autoFocus, combineRef]);\n\n useEffect(() => {\n let unsubscribe;\n\n if (combineRef && combineRef.current) {\n combineRef.current.value = '';\n combineRef.current.value = `${value || ''}`;\n unsubscribe = resizeFn(combineRef.current);\n\n return () => {\n unsubscribe();\n }\n }\n\n return () => {\n unsubscribe && unsubscribe();\n }\n }, [autoResize, combineRef])\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.textarea,\n styles[`textarea__${variant}`],\n styles[`textarea__${size}`],\n styles[`textarea__border_${border}`],\n {\n [styles[`textarea__${size}_adaptive`]]: adaptive,\n [styles[`textarea__action_${size}`]]: Icon || loading || showClear,\n [styles[`textarea__actions_${size}`]]: (Icon || loading) && showClear,\n [styles.textarea__disabled]: disabled,\n },\n ),\n [variant, size, border, disabled, loading, showClear, adaptive],\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames(props.className, {\n [styles.invalid]: invalid,\n }),\n [invalid, props.className],\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || loading,\n }),\n [variant, size, Icon, loading],\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size],\n );\n\n const iconClassNames = useMemo(() => classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`]), [\n variant,\n size,\n ]);\n\n const _onChange = useCallback((e: ChangeEvent<HTMLTextAreaElement>) => {\n _setValue(e.target.value);\n if (onChange) {\n onChange(e.target.value, e);\n }\n }, []);\n\n const _onSearch = useCallback(\n () => {\n if (onSearch) {\n onSearch(_value);\n }\n },\n [onSearch],\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n return (\n <div className={classNames}>\n <textarea\n {...props}\n className={inputClassNames}\n ref={combineRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {showClear && _value && <Clear className={clearClassNames} onClick={_onClear} />}\n {Icon && !loading && <Icon className={iconClassNames} onClick={_onSearch} />}\n {loading && <Loader className={loaderClassNames} />}\n </div>\n );\n },\n);\n","import classnames from 'classnames';\nimport React, { PropsWithChildren, useMemo, useState } from 'react';\n\nimport styles from './text-spoiler.module.scss';\nimport { ELinkVariant, Link } from '@shared/link';\nimport { ELinkSize } from '@shared/link/link';\n\nexport const TextSpoiler = (props: PropsWithChildren<{}>) => {\n const [isOpen, setOpen] = useState(false);\n\n const classNames = useMemo(\n () =>\n classnames(styles.textSpoiler, {\n [styles.openText]: isOpen,\n }),\n [isOpen],\n );\n\n return (\n <div>\n <div className={classNames}>{props.children}</div>\n <Link bold size={ELinkSize.large} variant={ELinkVariant.action} onClick={() => setOpen(!isOpen)}>\n {isOpen ? 'Свернуть' : 'Читать далее'}\n </Link>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-dom\");","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element.scrollHeight > element.clientHeight) {\n return element;\n }\n\n if (element.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: top + height, left: leftPosition, opacity: 1 };\n case TooltipPosition.left:\n return { top: top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n PropsWithChildren,\n TouchEvent as ReactTouchEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport styles from './tooltip.module.scss';\nimport { useMedia } from '@shared/media';\nimport {\n TooltipPosition,\n findTargetElement,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './tooltip.utils';\n\ntype ITootipProps = {\n title: any;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n};\n\nexport const Tooltip = ({ placement = 'top', ...props }: PropsWithChildren<ITootipProps>) => {\n const media = useMedia();\n\n const ref = useRef<HTMLDivElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !ref.current) return;\n\n const targetElement = findTargetElement(ref.current);\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n }, [props.title]);\n\n const onTouchStart = useCallback((e: ReactTouchEvent) => {\n e.stopPropagation();\n return;\n }, []);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, ref.current)) {\n return;\n }\n\n setOpened(false);\n setStylesTooltip(null);\n\n scrollElement.current && scrollElement.current.parentElement.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('touchstart', onClose);\n document.body.removeEventListener('click', onClose);\n }, []);\n\n const onOpen = useCallback(\n (e: ReactMouseEvent) => {\n e.stopPropagation();\n if (opened) {\n media.mobile && onClose();\n return;\n }\n\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n\n const element = getScrollTopParent(ref.current);\n if (element) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n document.body.addEventListener('click', onClose);\n document.body.addEventListener('touchstart', onClose);\n }\n }, 0);\n },\n [props.onOpenChange, opened]\n );\n\n const title = useMemo(\n () => (\n <div ref={refTooltip} style={stylesTooltip} className={classNames(styles.tooltip, styles[placement])}>\n {props.title}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n </div>\n ),\n [stylesTooltip, stylesArrow, props.title]\n );\n\n return (\n <div\n ref={ref}\n className={classNames(props.className)}\n onMouseOver={!media.mobile ? onOpen : null}\n onClick={media.mobile ? onOpen : null}\n onMouseLeave={!media.mobile ? onClose : null}\n onTouchStart={media.mobile ? onTouchStart : null}\n // onTouch={media.mobile ? onClose : null}\n >\n {props.children}\n {opened && props.title && createPortal(title, document.body)}\n </div>\n );\n\n // return <AntTooltip ref={ref} color=\"#212121\" {...props} overlayClassName=\"ant-tooltip-customize\" />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/upload\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRating(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#C8C8C8\"\n })));\n}\nexport default SvgRating;","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntdUpload from 'antd/lib/upload';\nimport { UploadFile, UploadProps } from 'antd/lib/upload';\nimport { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './upload.module.scss';\nimport { uuidv4 } from '@shared/utils';\nimport classNames from 'classnames';\n\ntype IUploadProps = UploadProps & {\n onUpload?: (file: File) => Promise<string>;\n onChange?: (link: string[]) => void;\n renderName?: (link: string) => string;\n path?: string;\n value?: string[];\n maxCount?: number;\n showRemove?: boolean;\n hiddenList?: boolean;\n};\n\nexport const Upload = ({\n onUpload,\n onChange,\n renderName,\n showRemove,\n hiddenList,\n maxCount,\n path = '',\n value,\n ...props\n}: PropsWithChildren<IUploadProps>) => {\n const [files, setFiles] = useState<UploadFile[]>([]);\n\n useEffect(() => {\n setFiles(\n value\n ? value?.map((val, index) => ({\n uid: `${index}`,\n name: renderName ? renderName(val) : '',\n status: 'done',\n url: val,\n thumbUrl: val,\n }))\n : []\n );\n }, [value]);\n\n const onRemove = useCallback((item) => {\n let items = [];\n setFiles((prev) => (items = prev.filter((i) => i !== item)));\n onChange(items.map((i) => i.url));\n }, []);\n\n const _onChange = () => {\n setFiles((file) => {\n onChange(file.map((i) => i.url));\n return file;\n });\n };\n\n const onUploadFile = useCallback(\n async (file: File) => {\n if (maxCount && files.length >= maxCount) {\n return '';\n }\n\n const uuid = uuidv4();\n let link = path ? `${path}${file.name}` : URL.createObjectURL(file);\n\n setFiles((prev) =>\n prev.concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'uploading',\n url: link,\n thumbUrl: link,\n })\n );\n\n try {\n if (onUpload) {\n link = await onUpload(file);\n }\n\n setFiles((prev) =>\n prev\n .filter((item) => item.uid !== uuid)\n .concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'success',\n url: link,\n thumbUrl: link,\n })\n );\n } catch (e) {\n setFiles((prev) => prev.filter((item) => item.uid !== uuid));\n }\n\n return link;\n },\n [files]\n );\n\n const className = useMemo(() => classNames(styles.upload, props.className), [props.className]);\n\n return (\n //@ts-ignore\n <AntdUpload.Dragger\n {...props}\n showUploadList={hiddenList ? false : { showRemoveIcon: showRemove }}\n maxCount={maxCount}\n className={className}\n action={onUploadFile}\n customRequest={() => {}}\n onChange={_onChange}\n fileList={files}\n listType=\"picture\"\n accept=\"image/png, image/jpeg\"\n onRemove={onRemove}\n >\n {props.children || <Text bold>Выберите файл или перетащите сюда</Text>}\n </AntdUpload.Dragger>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRatingActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgRatingActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgEye(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 10\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 .429C10.425.429 13.57 3.033 13.57 5c0 1.968-3.146 4.572-6.571 4.572S.428 6.968.428 5C.428 3.033 3.575.43 7 .43zm0 1.143C4.163 1.572 1.57 3.717 1.57 5 1.571 6.284 4.163 8.43 7 8.43S12.428 6.284 12.428 5c0-1.283-2.591-3.428-5.428-3.428zm0 1.142a2.286 2.286 0 110 4.572 2.286 2.286 0 010-4.572zm0 1.143a1.143 1.143 0 100 2.286 1.143 1.143 0 000-2.286z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgEye;","import React, { useCallback, useEffect, useState } from \"react\";\nimport RatingIcon from './../icon/icons/rating.svg';\nimport RatingActiveIcon from './../icon/icons/rating-active.svg';\nimport cn from 'classnames';\n\nimport styles from './rating.module.scss';\n\ninterface IRatingProps {\n value: number;\n onChange?: (val: number) => void;\n readonly?: boolean;\n className?: string;\n}\n\nexport const Rating = (props: IRatingProps) => {\n const [value, setValue] = useState(0);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value])\n\n const onChange = useCallback((index: number) => {\n setValue(index + 1);\n\n props.onChange && props.onChange(index + 1);\n }, [props.onChange]);\n\n return <div className={cn(styles.rating, props.className)}>\n <RatingIcon />\n {!!props.value && <RatingActiveIcon className={styles.stars} style={{\n WebkitMaskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`,\n maskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`\n }} />}\n {!props.readonly && <div className={styles.buttons}>\n {[0, 1, 2, 3, 4].map(item => <div onClick={onChange.bind(null, item)} key={item}></div>)}\n </div>}\n </div>\n}\n","import React from 'react';\nimport { Icon, EIconSize } from '../icon';\nimport { formatViews } from '@shared/utils/views-format';\nimport { Text } from '@shared/text';\nimport styles from './views-count.module.scss';\nimport Eye from '../icon/icons/eye.svg';\nimport classNames from 'classnames';\ninterface IViewsCountProps {\n viewsCount: number;\n className?: string;\n size?: keyof typeof EIconSize;\n}\n\nexport const ViewsCount = ({ viewsCount, className, size = 'extraSmall' }: IViewsCountProps) => {\n return (\n <Text className={classNames([styles.viewsCountContainer, `${className}`])} tag=\"span\">\n <Icon size={size} icon={Eye} variant=\"initial\" />\n <span className={styles.viewsCountText}>{formatViews(viewsCount)}</span>\n </Text>\n );\n};\n","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"success_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h24v24H0V0z\",\n fill: \"#D9D9D9\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#success_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm3.677 5.391a.863.863 0 011.217 0 .863.863 0 010 1.217l-6.002 5.998a.857.857 0 01-1.212 0l-3-3a.857.857 0 011.212-1.213l2.394 2.395 5.391-5.397z\",\n fill: \"#00B649\"\n }))));\n}\nexport default SvgSuccess;","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"error_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#D9D9D9\",\n d: \"M0 0h24v24H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#error_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n }))));\n}\nexport default SvgError;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.142A8.571 8.571 0 0012 3.43zm.063 6.857c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .203-.032.331-.091.443a.624.624 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.623.623 0 01-.26-.26c-.06-.112-.091-.24-.091-.443v-5.27c0-.203.032-.33.091-.443.06-.111.148-.199.26-.259.111-.06.24-.091.443-.091h.126zM12 6.514a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\",\n fill: \"#873EDF\"\n })));\n}\nexport default SvgInfo;","import React, { FC } from 'react';\nimport styles from './message.module.scss';\nimport SuccessIcon from '../icon/icons/success.svg';\nimport ErrorIcon from '../icon/icons/error.svg';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport InfoIcon from '../icon/icons/info.svg';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\nexport type IMessageType = 'success' | 'error' | 'warning' | 'info';\n\nexport interface IMessageProps {\n type: IMessageType;\n title?: string;\n description: string;\n}\n\nconst getIcon = (type: IMessageType) => {\n switch (type) {\n case 'success':\n return SuccessIcon;\n\n case 'error':\n return ErrorIcon;\n\n case 'warning':\n return WarningIcon;\n\n case 'info':\n return InfoIcon;\n }\n};\n\nexport const Message: FC<IMessageProps> = ({ type, title, description }) => {\n return (\n <div className={classNames(styles.container, styles[`container__${type}`])}>\n <Icon variant=\"initial\" icon={getIcon(type)} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","import React from 'react';\nimport styles from './warning-block.module.scss';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\ninterface IWarningBlockProps {\n title?: string;\n description: string;\n}\n\nexport const WarningBlock = ({ title, description }: IWarningBlockProps) => {\n return (\n <div className={styles.warning}>\n <Icon variant=\"initial\" icon={WarningIcon} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"dt-shared-front\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgStepsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 19 26\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M13.94 8.759l4.837 5.617a.986.986 0 010 1.248l-4.836 5.617a.688.688 0 01-1.075 0 .986.986 0 010-1.248l3.54-4.11H.882a.883.883 0 010-1.766h15.522l-3.539-4.11a.986.986 0 010-1.248.688.688 0 011.075 0z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgStepsArrow;","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element.scrollHeight > element.clientHeight) {\n return element;\n }\n\n if (element.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: top + height, left: leftPosition, opacity: 1, transform: 'translateY(0)' };\n case TooltipPosition.left:\n return { top: top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import React from 'react';\n\nimport { Text } from 'dt-shared-front';\nimport { Fragment } from 'react';\n\nimport StepsArrowIcon from './steps-arrow.svg';\n\nimport styles from './steps.module.scss';\nimport classNames from 'classnames';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface IStepsPath {\n title: string;\n path?: string;\n onClick?: () => void;\n isBack?: boolean;\n isCurrent?: boolean;\n type?: 'current' | 'disabled';\n}\n\ninterface IStepsProps {\n paths: IStepsPath[];\n onBack?: (path: string) => void;\n}\n\nexport const Steps = (props: IStepsProps) => {\n const shared = useShared();\n\n return (\n <div className={styles.steps}>\n {props.paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && <StepsArrowIcon />}\n <span className={styles.step} key={index}>\n <span className={classNames(styles.count, styles[item.type])}>{index + 1}</span>\n {item.path ? (\n <shared.LinkComponent href={item.path}>\n <Text inverse size=\"large\" weight=\"semibold\" className={classNames(styles.text, styles[item.type])}>\n {item.title}\n </Text>\n </shared.LinkComponent>\n ) : (\n <Text inverse className={classNames(styles.text, styles[item.type])} size=\"large\" weight=\"semibold\">\n {item.title}\n </Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPopoverClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.293 6.293a1 1 0 011.414 0L14 12.585l6.293-6.292a1 1 0 011.32-.083l.094.083a1 1 0 010 1.414L15.415 14l6.292 6.293a1 1 0 01.083 1.32l-.083.094a1 1 0 01-1.414 0L14 15.415l-6.293 6.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 010-1.414L12.585 14 6.293 7.707a1 1 0 01-.083-1.32l.083-.094z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgPopoverClose;","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n forwardRef,\n ReactNode,\n PropsWithChildren,\n} from 'react';\n\nimport styles from './popover-tooltip.module.scss';\nimport {\n TooltipPosition,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './popover-tooltip.utils';\nimport { Icon } from 'dt-shared-front';\nimport PopoverClose from './icons/popover-close.svg';\n\nexport type IPopoverTootipRef = {\n open?: (target: HTMLElement) => void;\n close?: () => void;\n};\n\ntype IPopoverTootipProps = {\n content: ReactNode;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n showClose?: boolean;\n};\n\nexport const PopoverTooltip = forwardRef<IPopoverTootipRef, PropsWithChildren<IPopoverTootipProps>>(\n ({ placement = 'bottom', ...props }, ref) => {\n const refTarget = useRef<HTMLElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !refTarget) return;\n\n const targetElement = refTarget.current;\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n console.log(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n if (ref) {\n // @ts-ignore\n ref.current = {\n open: (target) => {\n refTarget.current = target;\n onOpen(target);\n },\n close: onClose,\n };\n }\n\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n }, [props.content]);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, refTarget.current)) {\n return;\n }\n\n if (refTooltip.current) {\n refTooltip.current.style.transform = '';\n refTooltip.current.style.opacity = '';\n }\n setTimeout(() => {\n setOpened(false);\n setStylesTooltip(null);\n }, 100);\n\n scrollElement.current && scrollElement.current.parentElement.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('click', onClose);\n window.removeEventListener('resize', recalcPosition);\n }, []);\n\n const onOpen = useCallback(\n (target: HTMLElement) => {\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n window.addEventListener('resize', recalcPosition);\n\n const element = getScrollTopParent(target);\n if (element) {\n if (props.closeOutsideScroll) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n }\n\n if (props.closeOutsideClick) {\n document.body.addEventListener('click', onClose);\n }\n }\n }, 0);\n },\n [props.onOpenChange, opened]\n );\n\n const content = useMemo(\n () => (\n <div\n ref={refTooltip}\n style={stylesTooltip}\n className={classNames(styles.tooltip, styles[placement])}\n onClick={(e) => e.stopPropagation()}\n >\n {props.content || props.children}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n {props.showClose && <Icon variant=\"inherit\" className={styles.close} icon={PopoverClose} onClick={onClose} />}\n </div>\n ),\n [stylesTooltip, stylesArrow, props.content, props.children]\n );\n\n return opened && (props.content || props.children) && createPortal(content, document.body.firstElementChild);\n }\n);\n","import React, { ElementType, MouseEvent, PropsWithChildren, PropsWithRef, useMemo, useRef } from 'react';\n\nimport { ComponentProps, forwardRef, MutableRefObject, useCallback, useEffect, useState } from 'react';\nimport { IPopoverTootipRef, PopoverTooltip } from './popover-tooltip';\n\nexport type PropsWithPopover<P, D = any> = P & {\n data: D;\n popover: IPopoverRef<D>;\n};\n\nexport interface IPopoverRef<D = any> {\n open: (e: MouseEvent, data?: D) => void;\n close: () => void;\n}\n\nexport type IPopoverProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: C;\n showClose?: boolean;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n};\n\nfunction _Popover<C extends ElementType>(\n props: PropsWithChildren<IPopoverProps<C>>,\n ref?: MutableRefObject<IPopoverRef>\n) {\n const tootipRef = useRef<IPopoverTootipRef>(null);\n\n const [data, setData] = useState<any>();\n\n const handleCancel = useCallback(() => {\n tootipRef.current.close();\n }, []);\n\n const handleOpen = useCallback((e: MouseEvent<HTMLElement>, data = {}) => {\n setData(data);\n tootipRef.current.open(e.currentTarget);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n };\n }, [ref?.current]);\n\n const content = useMemo(\n // @ts-ignore\n () => !!props.component && <props.component {...props} data={data} popover={ref.current} />,\n [props.component, props, data]\n );\n\n return (\n <PopoverTooltip\n ref={tootipRef}\n placement=\"bottom\"\n showClose={props.showClose}\n closeOutsideClick={props.closeOutsideClick}\n closeOutsideScroll={props.closeOutsideScroll}\n content={content}\n >\n {props.children}\n </PopoverTooltip>\n );\n}\n\nexport const Popover = forwardRef(_Popover) as <C extends ElementType>(\n props: PropsWithRef<IPopoverProps<C> & { ref?: MutableRefObject<IPopoverRef> }>\n) => React.JSX.Element;\n","import React, { ElementType } from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IPopoverProps, IPopoverRef, Popover } from './popover';\nimport { uuidv4 } from 'dt-shared-front';\n\ntype IPopoverContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IPopoverRef<any>>;\n};\n\ntype IPopoverObj = {\n ref: RefObject<IPopoverRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst popoverContext = createContext<IPopoverContextPrivate>(null);\n\nexport const PopoverProvider = ({ children }: PropsWithChildren<any>) => {\n const [popovers, setPopovers] = useState<IPopoverObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IPopoverRef>();\n const id = uuidv4();\n setPopovers((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <popoverContext.Provider value={value}>\n {children}\n {popovers.map((popover) => (\n <Popover key={popover.id} ref={popover.ref} component={popover.component} {...popover.initialProps} />\n ))}\n </popoverContext.Provider>\n );\n};\n\nexport function usePopover<C extends ElementType>(component: C, initialProps?: IPopoverProps<C>) {\n const data = useContext(popoverContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен PopoverProvider');\n }\n\n return res;\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","require","EIconSize","EIconVariant","_path","IconSvg","active","size","medium","variant","className","onClick","props","classNames","useMemo","_extends","assign","bind","e","arguments","length","t","apply","width","height","viewBox","fill","xmlns","formatItemToOption","item","valueKey","labelKey","labels","includes","label","data","AutoComplete","onServerSearch","icon","debounceTimeout","labelPlaceholder","onRenderOption","onRenderOptionGroup","onServerSearchGroup","popupClassName","optionsGroupFromProps","useState","fetching","setFetching","serverOptions","setServerOptions","optionsGroup","setOptionsGroup","searchValue","setSearchValue","fetchRef","useRef","options","_options","Array","isArray","values","map","option","useEffect","group","_onRenderOptions","useCallback","_onRenderOptionsGroup","_optionsGroup","onChangeSearch","onChange","_option","localOptions","i","res","find","debounceFetcher","current","fetchId","then","newOptions","onSelect","notFoundContent","placeholder","onSearch","val","backfill","suffixIcon","error","stacked","clearIcon","MEDIA_MATCHES","mobile","tablet","desktop","Media","renderDesktop","renderMobile","renderTablet","render","defaultMatches","mounted","setMounted","defaultRender","matches","queries","MediaContext","createContext","MediaProvider","children","Provider","withMedia","Component","useMedia","useContext","Error","fillRule","clipRule","ETextSize","ETextWeight","ELinkVariant","ELinkType","ELinkSize","ELinkWeight","ELinkDecoration","Text","bold","weight","normal","addition","success","inverse","attention","warning","style","through","tag","TextTag","sharedContext","SharedProvider","useShared","EBreadcrumbsVariant","Link","target","Icon","link","decoration","none","href","type","dashed","rel","shared","iconClassNames","LinkComponent","_path2","_defs","Breadcrumbs","paths","onBack","arrow","media","_onBack","reverse","path","isBack","index","Fragment","slash","title","isCurrent","attributeType","attributeName","from","to","dur","repeatCount","id","x1","y1","x2","y2","gradientUnits","stopColor","offset","stopOpacity","EButtonSize","EButtonVariant","EButtonIconPosition","Button","iconPosition","right","loading","disabled","loaderClassNames","_onClick","UNIQ_COUNT","Checkbox","_value","_setValue","_onChange","currentTarget","checked","name","htmlFor","Counter","setValue","count","newCount","min","max","EInputVariant","EInputSize","EInputBorder","EInputIconPosition","Input","forwardRef","ref","onFocus","onBlur","onClear","onBeforeMask","onPointerUp","required","showClear","outlined","border","iconPositon","adaptive","debounceTime","beginSearch","NaN","mask","_loading","_setLoading","_mask","_setMask","innerRef","useImperativeHandle","autoFocus","setTimeout","focus","remove","inputMask","greedy","dispatchEvent","Event","bubbles","inputClassNames","clearClassNames","labelClassNames","_onSearchDebounce","callback","prev","_onSearch","_onClear","_onKeyPress","onKeyPress","Boolean","locale","AntDatePicker","DatePicker","format","onRenderInput","_","showToday","inputRender","Divider","bordered","Dropdown","dropdownRender","originNode","FocusError","useFormikContext","errors","isSubmitting","isValidating","keys","selector","errorElement","formRef","querySelector","scrollIntoView","block","Form","onChangeBlur","form","dirty","isValid","validateForm","FormikProvider","onSubmit","handleSubmit","isRequiredField","validationSchema","schemaDescription","describe","accessor","split","join","field","getIn","fields","tests","some","test","FormControl","component","useField","meta","helpers","ctx","touched","args","setError","setTouched","EHeadingLevel","EHeadingWeight","Heading","level","h1","centerText","HeadingTag","appleDetect","navigator","platform","userAgent","document","useCombinedRefs","targetRef","refs","forEach","units","YYYY","year","YY","M","month","MM","MMM","MMMM","MMMMM","D","day","DD","weekday","dd","hh","hour","mm","minute","ss","second","getDate","Date","replaceAll","dateFormat","utc","plural","getTime","userTimezoneOffset","getTimezoneOffset","dateUnits","dateItems","delimeters","filter","stringDate","unit","toLocaleTimeString","toLocaleDateString","slice","toUpperCase","toLocaleString","replace","c","push","dateWithoutTimezone","date","dateWithTimezone","pluralize","plurals","formatViews","num","numStr","toString","parseInt","priceFormat","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","Math","ceil","currencySign","cur","reduce","part","PREPOSITIONS","replacement","str","textSanitize","regex","RegExp","x","decorate","UNITS","timeLeftMinutes","time","timeLeft","floor","wzero","input","String","getTimeLeft","dateLeft","getHours","getMinutes","getSeconds","useTimeLeft","expireDate","onExpired","setTimeLeft","timeout","clearTimeout","uuidv4","token","chars","random","generateToken","LoaderIcon","Loader","absolute","fixed","LoaderLine","Menu","_g","maskType","maskUnits","y","Modal","footer","sidebar","closable","showClose","maskClosable","open","setOpen","setData","_width","_setWidth","_title","_setTitle","_footer","_setFooter","_closable","_setClosable","full","_full","_setFull","gallery","_gallery","_setGallery","tabletPopup","_tabletPopup","_setTabletPopup","footerFixed","_footerFixed","_setFooterFixed","_sidebar","_setSidebar","_showClose","_setShowClose","_maskClosable","_setMaskClosable","grayBackground","_grayBackground","_setGrayBackground","html","firstElementChild","container","body","scrollTop","isOpen","overflowY","transform","overscrollBehavior","offsetHeight","console","log","handleCancel","handleOpen","close","setTitle","setFooter","setClosable","setWidth","setFooterFixed","setFull","setGallery","setSidebar","setShowCloseIcon","setMaskClosable","setTabletPopup","setGrayBackground","destroyOnClose","afterClose","closeIcon","onCancel","maskTransitionName","transitionName","wrapClassName","modal","modalContext","ModalProvider","modals","setModals","create","initialProps","createRef","concat","useModal","Gallery","imageUrls","currentIndex","isImageCounter","setCurrent","onNext","onPrev","handleKeyDown","event","window","addEventListener","removeEventListener","webp","srcSet","thumbWebp","jpeg","thumbJpeg","src","decodeURI","alt","getSliderPictures","Radio","position","nativeEvent","RangePicker","disabledDate","isFromToday","setHours","setMinutes","setSeconds","setMilliseconds","pickerRef","SelectModal","items","currentValue","setCurrentValue","Select","isMobileModal","modalTitle","isEqual","_onRenderGroup","onDropdownVisibleChange","SelectorRange","Selector","Skeleton","_circle","cx","cy","Navigation","Autoplay","Controller","EffectFade","Slider","slidesPerView","renderItem","viewItem","loop","asyncReady","showNavigation","navPosition","spaceBetween","autoplay","delay","freeMode","showCounter","centeredSlides","classNamePrev","classNameNext","touchStartPreventDefault","overflow","preloadImages","shortSwipes","longSwipes","longSwipesMs","longSwipesRatio","preventClicks","preventClicksPropagation","effect","speed","navigationPrevRef","navigationNextRef","setIndex","ready","setReady","onSlideItem","indexItem","findItem","renderSliderCounter","Swiper","fadeEffect","crossFade","loopedSlides","onSlideChange","sw","realIndex","disableOnInteraction","navigation","nextEl","prevEl","onImagesReady","swiper","slideTo","onBeforeInit","params","lazy","checkInView","loadPrevNext","SwiperSlide","Spoiler","initialValue","opened","setOpened","StackedInput","setKey","dropdownMatchSelectWidth","Switch","TagBox","v","mode","maxTagCount","removeIcon","menuItemSelectedIcon","ETagButtonSize","ETagButtonVariant","TagButton","selected","selectedClassName","TagButtonGroup","onRenderLabel","ETextAreaVariant","ETextAreaSize","ETextAreaBorder","observe","element","handler","deobserve","TextArea","invalid","autoResize","combineRef","unsubscribe","text","resize","scrollHeight","delayedResize","resizeFn","TextSpoiler","large","action","TooltipPosition","getScrollTopParent","clientHeight","parentElement","recalcArrowStyles","targetElement","tooltipProperties","getBoundingClientRect","left","top","bottom","recalcStyles","tooltipElement","tooltipWidth","tooltipHeight","leftPosition","offsetWidth","opacity","Tooltip","placement","refTooltip","refArrow","stylesTooltip","setStylesTooltip","stylesArrow","setStylesArrow","scrollElement","recalcPosition","elem","child","getAttribute","onTouchStart","stopPropagation","onClose","el","onOpen","onOpenChange","onMouseOver","onMouseLeave","createPortal","Upload","onUpload","renderName","showRemove","hiddenList","maxCount","files","setFiles","uid","status","url","thumbUrl","onRemove","onUploadFile","file","uuid","URL","createObjectURL","showUploadList","showRemoveIcon","customRequest","fileList","listType","accept","Rating","WebkitMaskImage","maskImage","readonly","ViewsCount","viewsCount","getIcon","Message","description","WarningBlock","Steps","PopoverTooltip","refTarget","content","closeOutsideScroll","closeOutsideClick","Popover","tootipRef","popover","popoverContext","PopoverProvider","popovers","setPopovers","usePopover"],"sourceRoot":""}