@orangesk/orange-design-system 2.0.0-alpha.0 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/404.html +1 -1
- package/build/_next/static/BGy4QLZfZPwswIZT7YGE2/_buildManifest.js +1 -0
- package/build/_next/static/chunks/1206-59e86c9be0c6edc8.js +1 -0
- package/build/_next/static/chunks/1684-f3cca2440b2d04c9.js +1 -0
- package/build/_next/static/chunks/1790-42537fde486481dc.js +1 -0
- package/build/_next/static/chunks/1856-87fba6dedcfa51f4.js +1 -0
- package/build/_next/static/chunks/2355.4c3c65d46ce6edf1.js +1 -0
- package/build/_next/static/chunks/2366-ccdf9c167d62c230.js +1 -0
- package/build/_next/static/chunks/2511.d334cb67ac6af21d.js +1 -0
- package/build/_next/static/chunks/2735.7a75728bb235d0d4.js +1 -0
- package/build/_next/static/chunks/3557.53c406667aa62240.js +1 -0
- package/build/_next/static/chunks/4bd1b696-63246a30a5dafad8.js +1 -0
- package/build/_next/static/chunks/5426-60b8df37a33e8cf3.js +1 -0
- package/build/_next/static/chunks/579-22f1eb9ccb4fc983.js +1 -0
- package/build/_next/static/chunks/6729-c9c23d280815e7ae.js +1 -0
- package/build/_next/static/chunks/7916.f1f5aa6f1d094885.js +1 -0
- package/build/_next/static/chunks/7998-4f9ee8dd2d772e13.js +1 -0
- package/build/_next/static/chunks/9186-7ca86a881bc0fae7.js +4 -0
- package/build/_next/static/chunks/app/_not-found/page-a9506bc9a3364319.js +1 -0
- package/build/_next/static/chunks/app/components/accordion/page-aa200fabd855563b.js +1 -0
- package/build/_next/static/chunks/app/components/alert/page-7c67ea9c86227082.js +1 -0
- package/build/_next/static/chunks/app/components/bar/page-c30f8fd11c4651d6.js +1 -0
- package/build/_next/static/chunks/app/components/block-action/page-7274174a43629f9f.js +1 -0
- package/build/_next/static/chunks/app/components/body-banner/page-15ff1f59b2aa843d.js +1 -0
- package/build/_next/static/chunks/app/components/button/page-0e30b9dfcecf1399.js +1 -0
- package/build/_next/static/chunks/app/components/buttons/page-fffd250aa886c49b.js +1 -0
- package/build/_next/static/chunks/app/components/card/page-cd4cf793507e5671.js +1 -0
- package/build/_next/static/chunks/app/components/carousel/page-b365266404937787.js +1 -0
- package/build/_next/static/chunks/app/components/carousel-promotions/page-a44240a70a405853.js +1 -0
- package/build/_next/static/chunks/app/components/cart-table/page-c33464d94e85aacb.js +1 -0
- package/build/_next/static/chunks/app/components/controls/page-ab8a0113b4b2e54b.js +1 -0
- package/build/_next/static/chunks/app/components/cover/page-c5a39a466cf72302.js +1 -0
- package/build/_next/static/chunks/app/components/divider/page-048e0ea7f0f61c9f.js +1 -0
- package/build/_next/static/chunks/app/components/dropdown/page-86dc20ead95d1104.js +1 -0
- package/build/_next/static/chunks/app/components/expander/page-37e9fdf98c038541.js +1 -0
- package/build/_next/static/chunks/app/components/feature-accordion/page-994e106b83948b2a.js +1 -0
- package/build/_next/static/chunks/app/components/footer/page-39f76624a4c5435a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/addons/page-b819ad9999952653.js +1 -0
- package/build/_next/static/chunks/app/components/forms/autocomplete/page-0cfae5a356eefe59.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/hint/page-36a64250bd583aca.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/label/page-84cb1a7b98fb64c8.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/message/page-c22889abedb1d070.js +1 -0
- package/build/_next/static/chunks/app/components/forms/checkbox/page-8428d9a5becd0678.js +1 -0
- package/build/_next/static/chunks/app/components/forms/field/page-3c75a0c1a8f4867a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/fieldset/page-5e7316fdf0310e1e.js +1 -0
- package/build/_next/static/chunks/app/components/forms/file/page-a83e9d5be583038b.js +1 -0
- package/build/_next/static/chunks/app/components/forms/inputstepper/page-2a61408ee3dd66a3.js +1 -0
- package/build/_next/static/chunks/app/components/forms/radio/page-d25e81a49e31fd5f.js +1 -0
- package/build/_next/static/chunks/app/components/forms/rangeslider/page-2b516b597dabcdde.js +1 -0
- package/build/_next/static/chunks/app/components/forms/select/page-28d631ad9ea28a9c.js +1 -0
- package/build/_next/static/chunks/app/components/forms/text-area/page-167de9c3a457c62a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/text-input/page-5798b254c725bec1.js +1 -0
- package/build/_next/static/chunks/app/components/gauge/page-8299bca301ad707b.js +1 -0
- package/build/_next/static/chunks/app/components/icon/page-3d2696eb1415bbb8.js +1 -0
- package/build/_next/static/chunks/app/components/link/page-5691bc96657b379e.js +1 -0
- package/build/_next/static/chunks/app/components/list/page-93428135db5e0f50.js +1 -0
- package/build/_next/static/chunks/app/components/loader/page-60a3331abd258bde.js +1 -0
- package/build/_next/static/chunks/app/components/modal/page-193e4d93ab10dc9a.js +1 -0
- package/build/_next/static/chunks/app/components/pagination/page-dd52f805ef5196de.js +1 -0
- package/build/_next/static/chunks/app/components/progress/page-4ac45801c7ec5663.js +1 -0
- package/build/_next/static/chunks/app/components/skeleton/page-71307720865ef677.js +1 -0
- package/build/_next/static/chunks/app/components/sticker/page-c79c492044c10f40.js +1 -0
- package/build/_next/static/chunks/app/components/table/page-9dc77bc63b3b5895.js +1 -0
- package/build/_next/static/chunks/app/components/tabs/page-dcc36f18992b00f9.js +1 -0
- package/build/_next/static/chunks/app/components/tag/page-ba00a3d16f7f6d11.js +1 -0
- package/build/_next/static/chunks/app/components/testimonial/page-a3615b0a32c32fe1.js +1 -0
- package/build/_next/static/chunks/app/components/tile/page-b354dd7941df8670.js +1 -0
- package/build/_next/static/chunks/app/components/tooltip/page-9861cd4f82830d82.js +1 -0
- package/build/_next/static/chunks/app/javascript/toggle/page-8b83ddce80f9d755.js +1 -0
- package/build/_next/static/chunks/app/layout-41aa6f28da614a69.js +1 -0
- package/build/_next/static/chunks/app/page-e1799527aabeb98a.js +1 -0
- package/build/_next/static/chunks/app/utilities/horizontal-scroll/page-c6ee529373c337f9.js +1 -0
- package/build/_next/static/chunks/framework-fda66049c8bbcca5.js +1 -0
- package/build/_next/static/chunks/main-3e6405259d828a22.js +1 -0
- package/build/_next/static/chunks/main-app-a265e200b32683f1.js +1 -0
- package/build/_next/static/chunks/pages/{_app-da15c11dea942c36.js → _app-eb694f3fd49020c8.js} +1 -1
- package/build/_next/static/chunks/pages/_error-2b3482c094a540b4.js +1 -0
- package/build/_next/static/chunks/webpack-1a128887cf981885.js +1 -0
- package/build/_next/static/css/05453e813192b05b.css +1 -0
- package/build/_next/static/css/05c85c9ea7e2ea58.css +1 -0
- package/build/_next/static/css/0e5de495ff48931f.css +1 -0
- package/build/_next/static/css/1139a47c85362386.css +1 -0
- package/build/_next/static/css/1b3f28cfd13039ad.css +1 -0
- package/build/_next/static/css/1fdf8ee56483471a.css +1 -0
- package/build/_next/static/css/286405eb07784ddd.css +1 -0
- package/build/_next/static/css/2cb6b1436172662a.css +1 -0
- package/build/_next/static/css/33a9af3bd42f0314.css +1 -0
- package/build/_next/static/css/3632d2fdde580dcb.css +1 -0
- package/build/_next/static/css/37365c3a0857a3c5.css +1 -0
- package/build/_next/static/css/412dd278760dc9fc.css +1 -0
- package/build/_next/static/css/417edeeaaadbac4d.css +1 -0
- package/build/_next/static/css/43c66157c59241c2.css +1 -0
- package/build/_next/static/css/57b0c84bbf7d7098.css +1 -0
- package/build/_next/static/css/5b55b50737ef7662.css +1 -0
- package/build/_next/static/css/5ec7df8d7719c810.css +1 -0
- package/build/_next/static/css/62680b6eacd53665.css +1 -0
- package/build/_next/static/css/645dada84db193d4.css +1 -0
- package/build/_next/static/css/7058542e728d5b05.css +1 -0
- package/build/_next/static/css/7108a96a607fe7c5.css +1 -0
- package/build/_next/static/css/7202aa220abab0eb.css +1 -0
- package/build/_next/static/css/75e15d3944ffd4f3.css +1 -0
- package/build/_next/static/css/77590e66868bf291.css +1 -0
- package/build/_next/static/css/7c62e057927bfe3a.css +1 -0
- package/build/_next/static/css/7d4c59347b15c45f.css +1 -0
- package/build/_next/static/css/7f570791ca140154.css +1 -0
- package/build/_next/static/css/8ed102a331809889.css +1 -0
- package/build/_next/static/css/a88042aa83a2c354.css +1 -0
- package/build/_next/static/css/a9a58f4c38bee2fd.css +1 -0
- package/build/_next/static/css/ac1d2e9b77b16926.css +1 -0
- package/build/_next/static/css/ae4b3848536f0c88.css +1 -0
- package/build/_next/static/css/b0ab7f81488aec78.css +1 -0
- package/build/_next/static/css/b853a4f8d045643a.css +1 -0
- package/build/_next/static/css/bcaa5e7fd24949ed.css +1 -0
- package/build/_next/static/css/d38343a4cf5388d8.css +1 -0
- package/build/_next/static/css/d829c1a3f2fcd594.css +1 -0
- package/build/_next/static/css/dbfffa33262d63c5.css +1 -0
- package/build/_next/static/css/dfae3c27eaeb27f7.css +1 -0
- package/build/_next/static/css/e0b468ba3d618325.css +1 -0
- package/build/_next/static/css/e5e018b7f5cf6e41.css +1 -0
- package/build/_next/static/css/e6a4dfa3d63d18c0.css +1 -0
- package/build/_next/static/css/ee49dfd49ae395ac.css +1 -0
- package/build/_next/static/css/ef46db3751d8e999.css +0 -0
- package/build/_next/static/css/f2867b2bd265a443.css +1 -0
- package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
- package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
- package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
- package/build/_next/static/media/phones.a832cbb3.png +0 -0
- package/build/components/Accordion/index.js +16 -0
- package/build/components/Accordion/index.js.map +1 -0
- package/build/components/Accordion/style.css +2 -0
- package/build/components/Accordion/style.css.map +1 -0
- package/build/components/Alert/index.js +16 -0
- package/build/components/Alert/index.js.map +1 -0
- package/build/components/Alert/style.css +2 -0
- package/build/components/Alert/style.css.map +1 -0
- package/build/components/Bar/index.js +16 -0
- package/build/components/Bar/index.js.map +1 -0
- package/build/components/Bar/style.css +2 -0
- package/build/components/Bar/style.css.map +1 -0
- package/build/components/BlockAction/index.js +16 -0
- package/build/components/BlockAction/index.js.map +1 -0
- package/build/components/BlockAction/style.css +2 -0
- package/build/components/BlockAction/style.css.map +1 -0
- package/build/components/BodyBanner/index.js +16 -0
- package/build/components/BodyBanner/index.js.map +1 -0
- package/build/components/BodyBanner/style.css +2 -0
- package/build/components/BodyBanner/style.css.map +1 -0
- package/build/components/Breadcrumbs/index.js +16 -0
- package/build/components/Breadcrumbs/index.js.map +1 -0
- package/build/components/Breadcrumbs/style.css +2 -0
- package/build/components/Breadcrumbs/style.css.map +1 -0
- package/build/components/Button/index.js +16 -0
- package/build/components/Button/index.js.map +1 -0
- package/build/components/Button/style.css +2 -0
- package/build/components/Button/style.css.map +1 -0
- package/build/components/Buttons/index.js +16 -0
- package/build/components/Buttons/index.js.map +1 -0
- package/build/components/Buttons/style.css +2 -0
- package/build/components/Buttons/style.css.map +1 -0
- package/build/components/Card/index.js +16 -0
- package/build/components/Card/index.js.map +1 -0
- package/build/components/Card/style.css +2 -0
- package/build/components/Card/style.css.map +1 -0
- package/build/components/Carousel/index.js +31 -0
- package/build/components/Carousel/index.js.map +1 -0
- package/build/components/Carousel/style.css +2 -0
- package/build/components/Carousel/style.css.map +1 -0
- package/build/components/CarouselPromotions/index.js +16 -0
- package/build/components/CarouselPromotions/index.js.map +1 -0
- package/build/components/CarouselPromotions/style.css +2 -0
- package/build/components/CarouselPromotions/style.css.map +1 -0
- package/build/components/CartTable/index.js +16 -0
- package/build/components/CartTable/index.js.map +1 -0
- package/build/components/CartTable/style.css +2 -0
- package/build/components/CartTable/style.css.map +1 -0
- package/build/components/Container/index.js +16 -0
- package/build/components/Container/index.js.map +1 -0
- package/build/components/Container/style.css +2 -0
- package/build/components/Container/style.css.map +1 -0
- package/build/components/Controls/index.js +16 -0
- package/build/components/Controls/index.js.map +1 -0
- package/build/components/Controls/style.css +2 -0
- package/build/components/Controls/style.css.map +1 -0
- package/build/components/Cover/index.js +16 -0
- package/build/components/Cover/index.js.map +1 -0
- package/build/components/Cover/style.css +2 -0
- package/build/components/Cover/style.css.map +1 -0
- package/build/components/Divider/index.js +16 -0
- package/build/components/Divider/index.js.map +1 -0
- package/build/components/Divider/style.css +2 -0
- package/build/components/Divider/style.css.map +1 -0
- package/build/components/Dropdown/index.js +16 -0
- package/build/components/Dropdown/index.js.map +1 -0
- package/build/components/Dropdown/style.css +2 -0
- package/build/components/Dropdown/style.css.map +1 -0
- package/build/components/Expander/index.js +16 -0
- package/build/components/Expander/index.js.map +1 -0
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/index.js +16 -0
- package/build/components/FeatureAccordion/index.js.map +1 -0
- package/build/components/FeatureAccordion/style.css +2 -0
- package/build/components/FeatureAccordion/style.css.map +1 -0
- package/build/components/Footer/index.js +16 -0
- package/build/components/Footer/index.js.map +1 -0
- package/build/components/Footer/style.css +2 -0
- package/build/components/Footer/style.css.map +1 -0
- package/build/components/Forms/index.js +18 -0
- package/build/components/Forms/index.js.map +1 -0
- package/build/components/Forms/style.css +2 -0
- package/build/components/Forms/style.css.map +1 -0
- package/build/components/Gauge/index.js +16 -0
- package/build/components/Gauge/index.js.map +1 -0
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/index.js +16 -0
- package/build/components/Grid/index.js.map +1 -0
- package/build/components/Grid/style.css +2 -0
- package/build/components/Grid/style.css.map +1 -0
- package/build/components/Icon/index.js +11 -0
- package/build/components/Icon/index.js.map +1 -0
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/Image/index.js +16 -0
- package/build/components/Image/index.js.map +1 -0
- package/build/components/Image/style.css +2 -0
- package/build/components/Image/style.css.map +1 -0
- package/build/components/Link/index.js +7 -0
- package/build/components/Link/index.js.map +1 -0
- package/build/components/Link/style.css +2 -0
- package/build/components/Link/style.css.map +1 -0
- package/build/components/List/index.js +16 -0
- package/build/components/List/index.js.map +1 -0
- package/build/components/List/style.css +2 -0
- package/build/components/List/style.css.map +1 -0
- package/build/components/Loader/index.js +16 -0
- package/build/components/Loader/index.js.map +1 -0
- package/build/components/Loader/style.css +2 -0
- package/build/components/Loader/style.css.map +1 -0
- package/build/components/Modal/index.js +20 -0
- package/build/components/Modal/index.js.map +1 -0
- package/build/components/Modal/style.css +2 -0
- package/build/components/Modal/style.css.map +1 -0
- package/build/components/Pagination/index.js +16 -0
- package/build/components/Pagination/index.js.map +1 -0
- package/build/components/Pagination/style.css +2 -0
- package/build/components/Pagination/style.css.map +1 -0
- package/build/components/Progress/index.js +16 -0
- package/build/components/Progress/index.js.map +1 -0
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/Section/index.js +16 -0
- package/build/components/Section/index.js.map +1 -0
- package/build/components/Section/style.css +2 -0
- package/build/components/Section/style.css.map +1 -0
- package/build/components/Skeleton/index.js +16 -0
- package/build/components/Skeleton/index.js.map +1 -0
- package/build/components/Skeleton/style.css +2 -0
- package/build/components/Skeleton/style.css.map +1 -0
- package/build/components/Sticker/index.js +16 -0
- package/build/components/Sticker/index.js.map +1 -0
- package/build/components/Sticker/style.css +2 -0
- package/build/components/Sticker/style.css.map +1 -0
- package/build/components/Table/index.js +16 -0
- package/build/components/Table/index.js.map +1 -0
- package/build/components/Table/style.css +2 -0
- package/build/components/Table/style.css.map +1 -0
- package/build/components/Tabs/index.js +16 -0
- package/build/components/Tabs/index.js.map +1 -0
- package/build/components/Tabs/style.css +2 -0
- package/build/components/Tabs/style.css.map +1 -0
- package/build/components/Tag/index.js +16 -0
- package/build/components/Tag/index.js.map +1 -0
- package/build/components/Tag/style.css +2 -0
- package/build/components/Tag/style.css.map +1 -0
- package/build/components/Testimonial/index.js +16 -0
- package/build/components/Testimonial/index.js.map +1 -0
- package/build/components/Testimonial/style.css +2 -0
- package/build/components/Testimonial/style.css.map +1 -0
- package/build/components/Tile/index.js +16 -0
- package/build/components/Tile/index.js.map +1 -0
- package/build/components/Tile/style.css +2 -0
- package/build/components/Tile/style.css.map +1 -0
- package/build/components/Tooltip/index.js +16 -0
- package/build/components/Tooltip/index.js.map +1 -0
- package/build/components/Tooltip/style.css +2 -0
- package/build/components/Tooltip/style.css.map +1 -0
- package/build/components/accordion.html +18 -0
- package/build/components/accordion.txt +28 -0
- package/build/components/alert.html +4 -0
- package/build/components/alert.txt +32 -0
- package/build/components/bar.html +10 -0
- package/build/components/bar.txt +27 -0
- package/build/components/block-action.html +4 -0
- package/build/components/block-action.txt +26 -0
- package/build/components/body-banner.html +1 -0
- package/build/components/body-banner.txt +28 -0
- package/build/components/button.html +2 -0
- package/build/components/button.txt +29 -0
- package/build/components/buttons.html +1 -0
- package/build/components/buttons.txt +29 -0
- package/build/components/card.html +20 -0
- package/build/components/card.txt +35 -0
- package/build/components/carousel-promotions.html +20 -0
- package/build/components/carousel-promotions.txt +31 -0
- package/build/components/carousel.html +5 -0
- package/build/components/carousel.txt +32 -0
- package/build/components/cart-table.html +39 -0
- package/build/components/cart-table.txt +35 -0
- package/build/components/controls.html +2 -0
- package/build/components/controls.txt +29 -0
- package/build/components/cover.html +1 -0
- package/build/components/cover.txt +26 -0
- package/build/components/divider.html +6 -0
- package/build/components/divider.txt +29 -0
- package/build/components/dropdown.html +18 -0
- package/build/components/dropdown.txt +36 -0
- package/build/components/expander.html +1 -0
- package/build/components/expander.txt +27 -0
- package/build/components/feature-accordion.html +1 -0
- package/build/components/feature-accordion.txt +31 -0
- package/build/components/footer.html +2 -0
- package/build/components/footer.txt +31 -0
- package/build/components/forms/addons.html +2 -0
- package/build/components/forms/addons.txt +26 -0
- package/build/components/forms/autocomplete.html +2 -0
- package/build/components/forms/autocomplete.txt +27 -0
- package/build/components/forms/captions/hint.html +4 -0
- package/build/components/forms/captions/hint.txt +26 -0
- package/build/components/forms/captions/label.html +4 -0
- package/build/components/forms/captions/label.txt +24 -0
- package/build/components/forms/captions/message.html +1 -0
- package/build/components/forms/captions/message.txt +24 -0
- package/build/components/forms/checkbox.html +2 -0
- package/build/components/forms/checkbox.txt +27 -0
- package/build/components/forms/field.html +3 -0
- package/build/components/forms/field.txt +24 -0
- package/build/components/forms/fieldset.html +2 -0
- package/build/components/forms/fieldset.txt +26 -0
- package/build/components/forms/file.html +1 -0
- package/build/components/forms/file.txt +24 -0
- package/build/components/forms/inputstepper.html +2 -0
- package/build/components/forms/inputstepper.txt +26 -0
- package/build/components/forms/radio.html +1 -0
- package/build/components/forms/radio.txt +37 -0
- package/build/components/forms/rangeslider.html +2 -0
- package/build/components/forms/rangeslider.txt +26 -0
- package/build/components/forms/select.html +1 -0
- package/build/components/forms/select.txt +24 -0
- package/build/components/forms/text-area.html +1 -0
- package/build/components/forms/text-area.txt +24 -0
- package/build/components/forms/text-input.html +1 -0
- package/build/components/forms/text-input.txt +24 -0
- package/build/components/gauge.html +15 -0
- package/build/components/gauge.txt +28 -0
- package/build/components/icon.html +1 -0
- package/build/components/icon.txt +24 -0
- package/build/components/index.css +2 -1
- package/build/components/index.css.map +1 -1
- package/build/components/index.js +24 -603
- package/build/components/index.js.map +1 -1
- package/build/components/link.html +6 -0
- package/build/components/link.txt +29 -0
- package/build/components/list.html +1 -0
- package/build/components/list.txt +30 -0
- package/build/components/loader.html +18 -0
- package/build/components/loader.txt +32 -0
- package/build/components/modal.html +2 -0
- package/build/components/modal.txt +33 -0
- package/build/components/pagination.html +1 -0
- package/build/components/pagination.txt +27 -0
- package/build/components/progress.html +1 -0
- package/build/components/progress.txt +33 -0
- package/build/components/skeleton.html +13 -0
- package/build/components/skeleton.txt +30 -0
- package/build/components/static.css +2 -0
- package/build/components/static.css.map +1 -0
- package/build/components/static.js +7 -1199
- package/build/components/static.js.map +1 -1
- package/build/components/sticker.html +1 -0
- package/build/components/sticker.txt +27 -0
- package/build/components/table.html +2 -0
- package/build/components/table.txt +30 -0
- package/build/components/tabs.html +2 -0
- package/build/components/tabs.txt +29 -0
- package/build/components/tag.html +7 -0
- package/build/components/tag.txt +30 -0
- package/build/components/testimonial.html +1 -0
- package/build/components/testimonial.txt +28 -0
- package/build/components/tile.html +19 -0
- package/build/components/tile.txt +37 -0
- package/build/components/tooltip.html +4 -0
- package/build/components/tooltip.txt +26 -0
- package/build/components/types/components/Accordion/Accordion.d.ts +17 -0
- package/build/components/types/components/Accordion/Accordion.static.d.ts +17 -0
- package/build/components/types/components/Accordion/AccordionHeader.d.ts +15 -0
- package/build/components/types/components/Accordion/AccordionItem.d.ts +19 -0
- package/build/components/types/components/Accordion/HeadingContext.d.ts +2 -0
- package/build/components/types/components/Accordion/index.d.ts +3 -0
- package/build/components/types/components/Alert/Alert.d.ts +25 -0
- package/build/components/types/components/Alert/data.d.ts +7 -0
- package/build/components/types/components/Alert/index.d.ts +2 -0
- package/build/components/types/components/Bar/Bar.d.ts +22 -0
- package/build/components/types/components/Bar/BarBreak.d.ts +12 -0
- package/build/components/types/components/Bar/BarItem.d.ts +16 -0
- package/build/components/types/components/Bar/index.d.ts +4 -0
- package/build/components/types/components/BlockAction/BlockAction.d.ts +9 -0
- package/build/components/types/components/BlockAction/BlockActionControl.d.ts +9 -0
- package/build/components/types/components/BlockAction/BlockActionIndicator.d.ts +9 -0
- package/build/components/types/components/BlockAction/CloneElementWithClassName.d.ts +8 -0
- package/build/components/types/components/BlockAction/Context.d.ts +13 -0
- package/build/components/types/components/BlockAction/index.d.ts +16 -0
- package/build/components/types/components/BodyBanner/BodyBanner.d.ts +20 -0
- package/build/components/types/components/BodyBanner/index.d.ts +2 -0
- package/build/components/types/components/Breadcrumbs/BreadcrumbItem.d.ts +15 -0
- package/build/components/types/components/Breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/build/components/types/components/Breadcrumbs/index.d.ts +2 -0
- package/build/components/types/components/Button/Button.d.ts +25 -0
- package/build/components/types/components/Button/IconButton.d.ts +18 -0
- package/build/components/types/components/Button/index.d.ts +17 -0
- package/build/components/types/components/Buttons/Buttons.d.ts +8 -0
- package/build/components/types/components/Buttons/index.d.ts +2 -0
- package/build/components/types/components/Card/Card.d.ts +13 -0
- package/build/components/types/components/Card/CardProductHeader.d.ts +9 -0
- package/build/components/types/components/Card/CardSection.d.ts +14 -0
- package/build/components/types/components/Card/index.d.ts +4 -0
- package/build/components/types/components/Carousel/Carousel.d.ts +12 -0
- package/build/components/types/components/Carousel/Carousel.static.d.ts +58 -0
- package/build/components/types/components/Carousel/CarouselItem.d.ts +7 -0
- package/build/components/types/components/Carousel/constants.d.ts +16 -0
- package/build/components/types/components/Carousel/index.d.ts +3 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotions.d.ts +10 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotions.static.d.ts +47 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotionsItem.d.ts +12 -0
- package/build/components/types/components/CarouselPromotions/constants.d.ts +18 -0
- package/build/components/types/components/CarouselPromotions/index.d.ts +3 -0
- package/build/components/types/components/CartTable/CartTable.d.ts +13 -0
- package/build/components/types/components/CartTable/FooterNameColumn.d.ts +7 -0
- package/build/components/types/components/CartTable/FooterPriceColumn.d.ts +9 -0
- package/build/components/types/components/CartTable/Price.d.ts +10 -0
- package/build/components/types/components/CartTable/generateFooter.d.ts +22 -0
- package/build/components/types/components/CartTable/generateRow.d.ts +21 -0
- package/build/components/types/components/CartTable/generateTotal.d.ts +45 -0
- package/build/components/types/components/CartTable/index.d.ts +2 -0
- package/build/components/types/components/Container/Container.d.ts +3 -0
- package/build/components/types/components/Container/index.d.ts +2 -0
- package/build/components/types/components/Controls/Controls.d.ts +16 -0
- package/build/components/types/components/Controls/index.d.ts +2 -0
- package/build/components/types/components/Cover/Cover.d.ts +42 -0
- package/build/components/types/components/Cover/index.d.ts +3 -0
- package/build/components/types/components/Divider/Divider.d.ts +13 -0
- package/build/components/types/components/Divider/index.d.ts +2 -0
- package/build/components/types/components/Dropdown/Dropdown.d.ts +20 -0
- package/build/components/types/components/Dropdown/Dropdown.static.d.ts +28 -0
- package/build/components/types/components/Dropdown/DropdownDivider.d.ts +3 -0
- package/build/components/types/components/Dropdown/DropdownItem.d.ts +9 -0
- package/build/components/types/components/Dropdown/DropdownToggleButton.d.ts +7 -0
- package/build/components/types/components/Dropdown/index.d.ts +5 -0
- package/build/components/types/components/Expander/Expander.d.ts +22 -0
- package/build/components/types/components/Expander/Expander.static.d.ts +13 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordion.d.ts +11 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordion.static.d.ts +23 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordionItem.d.ts +11 -0
- package/build/components/types/components/FeatureAccordion/index.d.ts +2 -0
- package/build/components/types/components/Footer/Footer.d.ts +12 -0
- package/build/components/types/components/Footer/data.d.ts +15 -0
- package/build/components/types/components/Footer/index.d.ts +1 -0
- package/build/components/types/components/Forms/Autocomplete/Autocomplete.d.ts +17 -0
- package/build/components/types/components/Forms/Autocomplete/Autocomplete.static.d.ts +21 -0
- package/build/components/types/components/Forms/Autocomplete/index.d.ts +2 -0
- package/build/components/types/components/Forms/Checkbox/Checkbox.d.ts +21 -0
- package/build/components/types/components/Forms/Checkbox/index.d.ts +2 -0
- package/build/components/types/components/Forms/Field/Control.d.ts +6 -0
- package/build/components/types/components/Forms/Field/Description.d.ts +7 -0
- package/build/components/types/components/Forms/Field/Field.d.ts +17 -0
- package/build/components/types/components/Forms/Field/FieldContext.d.ts +18 -0
- package/build/components/types/components/Forms/Field/Label.d.ts +11 -0
- package/build/components/types/components/Forms/Field/Messages.d.ts +12 -0
- package/build/components/types/components/Forms/Field/Tooltip.d.ts +11 -0
- package/build/components/types/components/Forms/Field/index.d.ts +2 -0
- package/build/components/types/components/Forms/Field/utils.d.ts +16 -0
- package/build/components/types/components/Forms/Fieldset/Fieldset.d.ts +16 -0
- package/build/components/types/components/Forms/Fieldset/FieldsetContext.d.ts +7 -0
- package/build/components/types/components/Forms/Fieldset/index.d.ts +2 -0
- package/build/components/types/components/Forms/File/File.d.ts +17 -0
- package/build/components/types/components/Forms/File/File.static.d.ts +27 -0
- package/build/components/types/components/Forms/File/index.d.ts +2 -0
- package/build/components/types/components/Forms/Group/Group.d.ts +14 -0
- package/build/components/types/components/Forms/Group/Item.d.ts +8 -0
- package/build/components/types/components/Forms/Group/index.d.ts +2 -0
- package/build/components/types/components/Forms/Hint/Hint.d.ts +7 -0
- package/build/components/types/components/Forms/Hint/index.d.ts +2 -0
- package/build/components/types/components/Forms/InputStepper/InputStepper.d.ts +20 -0
- package/build/components/types/components/Forms/InputStepper/InputStepper.static.d.ts +24 -0
- package/build/components/types/components/Forms/InputStepper/index.d.ts +2 -0
- package/build/components/types/components/Forms/Label/Label.d.ts +8 -0
- package/build/components/types/components/Forms/Label/index.d.ts +2 -0
- package/build/components/types/components/Forms/Message/Message.d.ts +12 -0
- package/build/components/types/components/Forms/Message/index.d.ts +2 -0
- package/build/components/types/components/Forms/Radio/Radio.d.ts +21 -0
- package/build/components/types/components/Forms/Radio/index.d.ts +2 -0
- package/build/components/types/components/Forms/RangeSlider/RangeSlider.d.ts +38 -0
- package/build/components/types/components/Forms/RangeSlider/RangeSlider.static.d.ts +24 -0
- package/build/components/types/components/Forms/RangeSlider/data.d.ts +49 -0
- package/build/components/types/components/Forms/RangeSlider/index.d.ts +2 -0
- package/build/components/types/components/Forms/Select/Select.d.ts +33 -0
- package/build/components/types/components/Forms/Select/index.d.ts +4 -0
- package/build/components/types/components/Forms/TextArea/TextArea.d.ts +29 -0
- package/build/components/types/components/Forms/TextArea/index.d.ts +2 -0
- package/build/components/types/components/Forms/TextInput/TextInput.d.ts +32 -0
- package/build/components/types/components/Forms/TextInput/index.d.ts +2 -0
- package/build/components/types/components/Forms/index.d.ts +15 -0
- package/build/components/types/components/Gauge/Gauge.d.ts +11 -0
- package/build/components/types/components/Gauge/index.d.ts +2 -0
- package/build/components/types/components/Grid/Grid.d.ts +14 -0
- package/build/components/types/components/Grid/GridCol.d.ts +12 -0
- package/build/components/types/components/Grid/index.d.ts +3 -0
- package/build/components/types/components/Icon/Icon.d.ts +18 -0
- package/build/components/types/components/Icon/SpritePathContext.d.ts +8 -0
- package/build/components/types/components/Icon/index.d.ts +3 -0
- package/build/components/types/components/Image/Image.d.ts +20 -0
- package/build/components/types/components/Image/index.d.ts +2 -0
- package/build/components/types/components/Link/Link.d.ts +18 -0
- package/build/components/types/components/Link/index.d.ts +2 -0
- package/build/components/types/components/List/ClickableControl.d.ts +9 -0
- package/build/components/types/components/List/List.d.ts +13 -0
- package/build/components/types/components/List/ListItem.d.ts +16 -0
- package/build/components/types/components/List/index.d.ts +3 -0
- package/build/components/types/components/Loader/Loader.d.ts +14 -0
- package/build/components/types/components/Loader/Loader.static.d.ts +19 -0
- package/build/components/types/components/Loader/index.d.ts +2 -0
- package/build/components/types/components/Modal/Modal.d.ts +35 -0
- package/build/components/types/components/Modal/Modal.static.d.ts +33 -0
- package/build/components/types/components/Modal/ModalBody.d.ts +10 -0
- package/build/components/types/components/Modal/ModalCloseButton.d.ts +8 -0
- package/build/components/types/components/Modal/ModalTitle.d.ts +9 -0
- package/build/components/types/components/Modal/index.d.ts +5 -0
- package/build/components/types/components/Pagination/Pagination.d.ts +28 -0
- package/build/components/types/components/Pagination/PaginationItem.d.ts +21 -0
- package/build/components/types/components/Pagination/Separator.d.ts +6 -0
- package/build/components/types/components/Pagination/helpers.d.ts +23 -0
- package/build/components/types/components/Pagination/index.d.ts +4 -0
- package/build/components/types/components/Progress/Progress.d.ts +15 -0
- package/build/components/types/components/Progress/index.d.ts +2 -0
- package/build/components/types/components/Section/Section.d.ts +23 -0
- package/build/components/types/components/Section/index.d.ts +2 -0
- package/build/components/types/components/Skeleton/Skeleton.d.ts +3 -0
- package/build/components/types/components/Skeleton/index.d.ts +2 -0
- package/build/components/types/components/Sticker/Sticker.d.ts +10 -0
- package/build/components/types/components/Sticker/index.d.ts +3 -0
- package/build/components/types/components/Table/Cell.d.ts +11 -0
- package/build/components/types/components/Table/Footer.d.ts +3 -0
- package/build/components/types/components/Table/Header.d.ts +3 -0
- package/build/components/types/components/Table/Row.d.ts +10 -0
- package/build/components/types/components/Table/Rows.d.ts +3 -0
- package/build/components/types/components/Table/Table.d.ts +24 -0
- package/build/components/types/components/Table/Table.static.d.ts +23 -0
- package/build/components/types/components/Table/TableContext.d.ts +4 -0
- package/build/components/types/components/Table/index.d.ts +3 -0
- package/build/components/types/components/Table/types.d.ts +34 -0
- package/build/components/types/components/Tabs/Tab.d.ts +13 -0
- package/build/components/types/components/Tabs/TabPanel.d.ts +14 -0
- package/build/components/types/components/Tabs/Tabs.d.ts +31 -0
- package/build/components/types/components/Tabs/Tabs.static.d.ts +28 -0
- package/build/components/types/components/Tabs/index.d.ts +4 -0
- package/build/components/types/components/Tag/Tag.d.ts +24 -0
- package/build/components/types/components/Tag/TagButton.d.ts +12 -0
- package/build/components/types/components/Tag/index.d.ts +4 -0
- package/build/components/types/components/Testimonial/Testimonial.d.ts +10 -0
- package/build/components/types/components/Testimonial/index.d.ts +2 -0
- package/build/components/types/components/Tile/Tile.d.ts +23 -0
- package/build/components/types/components/Tile/index.d.ts +2 -0
- package/build/components/types/components/Tooltip/InfoTooltip.d.ts +8 -0
- package/build/components/types/components/Tooltip/Tooltip.d.ts +25 -0
- package/build/components/types/components/Tooltip/Tooltip.static.d.ts +26 -0
- package/build/components/types/components/Tooltip/index.d.ts +3 -0
- package/build/components/types/components/index.d.ts +43 -0
- package/build/components/types/docs/utils/ToggleButton.d.ts +9 -0
- package/build/components/types/scripts/modules/Toggle.d.ts +39 -0
- package/build/components/types/scripts/modules/toggleUtil.d.ts +13 -0
- package/build/components/types/styles/export/breakpoint.d.ts +9 -0
- package/build/components/types/utils/ConditionalWrapper.d.ts +10 -0
- package/build/components/types/utils/classes.d.ts +5 -0
- package/build/components/types/utils/color.d.ts +20 -0
- package/build/components/types/utils/constants.d.ts +18 -0
- package/build/components/types/utils/generateId.d.ts +6 -0
- package/build/components/types/utils/helpers.d.ts +11 -0
- package/build/components/types/utils/hooks.d.ts +30 -0
- package/build/components/types/utils/index.d.ts +5 -0
- package/build/components/types/utils/keyboard.d.ts +14 -0
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/images/product-1.svg +10 -0
- package/build/images/product-2.svg +14 -0
- package/build/images/product-3.svg +9 -0
- package/build/index.html +65 -46
- package/build/index.txt +23 -17
- package/build/javascript/toggle.html +1 -0
- package/build/javascript/toggle.txt +29 -0
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/before-components.css +2 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/fonts.css +1 -1
- package/build/lib/fonts.css.map +1 -1
- package/build/lib/scripts.css +2 -0
- package/build/lib/scripts.css.map +1 -0
- package/build/lib/scripts.js +7 -1201
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +2 -1
- package/build/lib/style.css.map +1 -1
- package/build/logo.svg +1 -0
- package/build/sprite.svg +1 -0
- package/build/utilities/horizontal-scroll.html +4 -0
- package/build/utilities/horizontal-scroll.txt +26 -0
- package/package.json +17 -3
- package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/src/assets/icons/4g.svg +1 -0
- package/src/assets/icons/5g.svg +1 -0
- package/src/assets/icons/accessibility-mobility.svg +1 -0
- package/src/assets/icons/accessibility-motor.svg +1 -0
- package/src/assets/icons/accessibility-vision.svg +1 -0
- package/src/assets/icons/accessibility.svg +1 -0
- package/src/assets/icons/add.svg +1 -0
- package/src/assets/icons/advertising.svg +1 -0
- package/src/assets/icons/aeroplane.svg +1 -0
- package/src/assets/icons/age-rating-3.svg +1 -0
- package/src/assets/icons/airbox-auto.svg +1 -0
- package/src/assets/icons/alias-numbers.svg +1 -0
- package/src/assets/icons/android-manage.svg +1 -0
- package/src/assets/icons/antenna.svg +1 -0
- package/src/assets/icons/apartment-building.svg +1 -0
- package/src/assets/icons/apps.svg +1 -0
- package/src/assets/icons/assistance.svg +1 -0
- package/src/assets/icons/assistent.svg +1 -0
- package/src/assets/icons/at.svg +1 -0
- package/src/assets/icons/avatar.svg +1 -0
- package/src/assets/icons/backup-internet.svg +1 -0
- package/src/assets/icons/bank.svg +1 -0
- package/src/assets/icons/battery-charging.svg +1 -0
- package/src/assets/icons/battery-full.svg +1 -0
- package/src/assets/icons/battery-status-1-3.svg +1 -0
- package/src/assets/icons/battery-status-charging.svg +1 -0
- package/src/assets/icons/battery-status-full.svg +1 -0
- package/src/assets/icons/bed.svg +1 -0
- package/src/assets/icons/birth.svg +1 -0
- package/src/assets/icons/birthday.svg +1 -0
- package/src/assets/icons/bluetooth.svg +1 -0
- package/src/assets/icons/boarding-pass.svg +1 -0
- package/src/assets/icons/book-award.svg +1 -0
- package/src/assets/icons/book.svg +1 -0
- package/src/assets/icons/boxes.svg +1 -0
- package/src/assets/icons/briefcase.svg +1 -0
- package/src/assets/icons/browser-plug-in.svg +1 -0
- package/src/assets/icons/business-advisor.svg +1 -0
- package/src/assets/icons/business-consultant.svg +1 -0
- package/src/assets/icons/business-lounge.svg +1 -0
- package/src/assets/icons/buy.svg +1 -0
- package/src/assets/icons/calendar-30.svg +1 -0
- package/src/assets/icons/calendar-alarm.svg +1 -0
- package/src/assets/icons/calendar-day.svg +1 -0
- package/src/assets/icons/calendar-month.svg +1 -0
- package/src/assets/icons/call-in.svg +1 -0
- package/src/assets/icons/call-out.svg +1 -0
- package/src/assets/icons/call.svg +1 -0
- package/src/assets/icons/camera.svg +1 -0
- package/src/assets/icons/car-park.svg +1 -0
- package/src/assets/icons/car.svg +1 -0
- package/src/assets/icons/card-reader.svg +1 -0
- package/src/assets/icons/casting.svg +1 -0
- package/src/assets/icons/cest-ici.svg +1 -0
- package/src/assets/icons/charger.svg +1 -0
- package/src/assets/icons/chatbot.svg +1 -0
- package/src/assets/icons/check-your-balance.svg +1 -0
- package/src/assets/icons/checked.svg +1 -0
- package/src/assets/icons/chevron-down.svg +1 -0
- package/src/assets/icons/chevron-end.svg +1 -0
- package/src/assets/icons/chevron-left.svg +1 -0
- package/src/assets/icons/chevron-right.svg +1 -0
- package/src/assets/icons/chevron-start.svg +1 -0
- package/src/assets/icons/chevron-up.svg +1 -0
- package/src/assets/icons/child.svg +1 -0
- package/src/assets/icons/children-channel.svg +1 -0
- package/src/assets/icons/childrens-content.svg +1 -0
- package/src/assets/icons/christmas-tree.svg +1 -0
- package/src/assets/icons/cinema-ticket-2-for-1.svg +1 -0
- package/src/assets/icons/cle-pc.svg +1 -0
- package/src/assets/icons/clock.svg +1 -0
- package/src/assets/icons/close.svg +5 -0
- package/src/assets/icons/closed-captions.svg +1 -0
- package/src/assets/icons/cloud-backup.svg +1 -0
- package/src/assets/icons/cloud-security.svg +1 -0
- package/src/assets/icons/collective-class-training.svg +1 -0
- package/src/assets/icons/community-sms.svg +1 -0
- package/src/assets/icons/company-structure.svg +1 -0
- package/src/assets/icons/connections.svg +1 -0
- package/src/assets/icons/control-centre.svg +1 -0
- package/src/assets/icons/control-my-data.svg +3 -0
- package/src/assets/icons/cpu.svg +1 -0
- package/src/assets/icons/currency-euro.svg +1 -0
- package/src/assets/icons/cyber-shield.svg +1 -0
- package/src/assets/icons/dashboard-display.svg +1 -0
- package/src/assets/icons/data-analytics.svg +1 -0
- package/src/assets/icons/data-centre.svg +1 -0
- package/src/assets/icons/data-services.svg +1 -0
- package/src/assets/icons/data-traffic.svg +1 -0
- package/src/assets/icons/data.svg +1 -0
- package/src/assets/icons/delete.svg +1 -0
- package/src/assets/icons/desk-phone.svg +1 -0
- package/src/assets/icons/desktop-pc.svg +1 -0
- package/src/assets/icons/device-fixed-line-phone.svg +1 -0
- package/src/assets/icons/device-laptop-computer-connected.svg +1 -0
- package/src/assets/icons/device-laptop-computer.svg +1 -0
- package/src/assets/icons/device-smart-phone.svg +1 -0
- package/src/assets/icons/device-tablet.svg +1 -0
- package/src/assets/icons/device-tv.svg +1 -0
- package/src/assets/icons/diagnostic.svg +1 -0
- package/src/assets/icons/digital-frame.svg +1 -0
- package/src/assets/icons/discussion-more.svg +1 -0
- package/src/assets/icons/doctor.svg +1 -0
- package/src/assets/icons/documentary.svg +1 -0
- package/src/assets/icons/donation.svg +1 -0
- package/src/assets/icons/download-file.svg +1 -0
- package/src/assets/icons/download.svg +1 -0
- package/src/assets/icons/e-reader.svg +1 -0
- package/src/assets/icons/e-shop.svg +1 -0
- package/src/assets/icons/easy-internet.svg +1 -0
- package/src/assets/icons/eco-mode.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/electrcar.svg +1 -0
- package/src/assets/icons/email.svg +1 -0
- package/src/assets/icons/employees.svg +1 -0
- package/src/assets/icons/empty-trash.svg +1 -0
- package/src/assets/icons/entertainment.svg +1 -0
- package/src/assets/icons/epg.svg +1 -0
- package/src/assets/icons/error-severe.svg +1 -0
- package/src/assets/icons/ethernet.svg +1 -0
- package/src/assets/icons/euro.svg +1 -0
- package/src/assets/icons/exit.svg +1 -0
- package/src/assets/icons/facebook-2.svg +1 -0
- package/src/assets/icons/facebook.svg +1 -0
- package/src/assets/icons/factory.svg +1 -0
- package/src/assets/icons/family-place.svg +1 -0
- package/src/assets/icons/fashion.svg +1 -0
- package/src/assets/icons/fast-delivery.svg +1 -0
- package/src/assets/icons/file-compressed.svg +1 -0
- package/src/assets/icons/file-copy.svg +1 -0
- package/src/assets/icons/file-document-compose.svg +1 -0
- package/src/assets/icons/file-download.svg +1 -0
- package/src/assets/icons/file-draft-edit.svg +1 -0
- package/src/assets/icons/file-pdf.svg +1 -0
- package/src/assets/icons/file-terms-and-conditions.svg +1 -0
- package/src/assets/icons/files.svg +1 -0
- package/src/assets/icons/film.svg +1 -0
- package/src/assets/icons/filter.svg +1 -0
- package/src/assets/icons/finance.svg +1 -0
- package/src/assets/icons/firewall.svg +1 -0
- package/src/assets/icons/flag.svg +1 -0
- package/src/assets/icons/flashlight.svg +1 -0
- package/src/assets/icons/flexible-storage.svg +1 -0
- package/src/assets/icons/folder.svg +1 -0
- package/src/assets/icons/football-match.svg +1 -0
- package/src/assets/icons/football-quiz.svg +1 -0
- package/src/assets/icons/football.svg +1 -0
- package/src/assets/icons/form-tick.svg +1 -0
- package/src/assets/icons/front-end-dashboard.svg +1 -0
- package/src/assets/icons/funny.svg +1 -0
- package/src/assets/icons/futher-education.svg +1 -0
- package/src/assets/icons/games.svg +1 -0
- package/src/assets/icons/garage-closed.svg +1 -0
- package/src/assets/icons/gauge-rate.svg +1 -0
- package/src/assets/icons/gears.svg +1 -0
- package/src/assets/icons/geolocation.svg +1 -0
- package/src/assets/icons/guide-info.svg +1 -0
- package/src/assets/icons/hammer.svg +1 -0
- package/src/assets/icons/hand-shake.svg +1 -0
- package/src/assets/icons/hard-drive.svg +1 -0
- package/src/assets/icons/hdmi-key.svg +1 -0
- package/src/assets/icons/headphones.svg +1 -0
- package/src/assets/icons/health-app.svg +1 -0
- package/src/assets/icons/health-monitor.svg +1 -0
- package/src/assets/icons/health-patient.svg +1 -0
- package/src/assets/icons/heart.svg +1 -0
- package/src/assets/icons/home-appliance.svg +1 -0
- package/src/assets/icons/home.svg +1 -0
- package/src/assets/icons/homelive.svg +1 -0
- package/src/assets/icons/hourglass.svg +1 -0
- package/src/assets/icons/house.svg +1 -0
- package/src/assets/icons/id-card.svg +1 -0
- package/src/assets/icons/image.svg +1 -0
- package/src/assets/icons/important.svg +1 -0
- package/src/assets/icons/improvement.svg +1 -0
- package/src/assets/icons/inbox.svg +1 -0
- package/src/assets/icons/info.svg +1 -0
- package/src/assets/icons/information-data.svg +1 -0
- package/src/assets/icons/instagram.svg +1 -0
- package/src/assets/icons/international-globe.svg +1 -0
- package/src/assets/icons/internet-browser.svg +1 -0
- package/src/assets/icons/internet-security-desktop.svg +1 -0
- package/src/assets/icons/internet-security-mobile.svg +1 -0
- package/src/assets/icons/internet-security-password.svg +1 -0
- package/src/assets/icons/internet-usage.svg +1 -0
- package/src/assets/icons/internet.svg +1 -0
- package/src/assets/icons/invoice-euro.svg +1 -0
- package/src/assets/icons/invoices-euro.svg +1 -0
- package/src/assets/icons/iso.svg +1 -0
- package/src/assets/icons/it-infrastructure.svg +1 -0
- package/src/assets/icons/keyboard.svg +1 -0
- package/src/assets/icons/la-cle-tv.svg +1 -0
- package/src/assets/icons/laptop-connected.svg +1 -0
- package/src/assets/icons/laptop.svg +1 -0
- package/src/assets/icons/le-vote.svg +1 -0
- package/src/assets/icons/link.svg +1 -0
- package/src/assets/icons/linkedin-2.svg +1 -0
- package/src/assets/icons/linkedin.svg +1 -0
- package/src/assets/icons/location-on-map.svg +1 -0
- package/src/assets/icons/location-pin.svg +1 -0
- package/src/assets/icons/lock-open.svg +1 -0
- package/src/assets/icons/lock.svg +1 -0
- package/src/assets/icons/logistics.svg +1 -0
- package/src/assets/icons/love-logo.svg +1 -0
- package/src/assets/icons/mahali.svg +1 -0
- package/src/assets/icons/maintenance-man.svg +1 -0
- package/src/assets/icons/map-pin.svg +1 -0
- package/src/assets/icons/map.svg +1 -0
- package/src/assets/icons/medal.svg +1 -0
- package/src/assets/icons/medical-app.svg +1 -0
- package/src/assets/icons/medical-chart.svg +1 -0
- package/src/assets/icons/medicine.svg +1 -0
- package/src/assets/icons/menu-arrow.svg +1 -0
- package/src/assets/icons/menu-grid.svg +1 -0
- package/src/assets/icons/menu.svg +1 -0
- package/src/assets/icons/message-alert.svg +1 -0
- package/src/assets/icons/messages.svg +1 -0
- package/src/assets/icons/micro-sd-card.svg +1 -0
- package/src/assets/icons/microphone-mute.svg +1 -0
- package/src/assets/icons/microphone.svg +1 -0
- package/src/assets/icons/mini-games.svg +1 -0
- package/src/assets/icons/mobile-applications.svg +1 -0
- package/src/assets/icons/mobile-data-toggle.svg +1 -0
- package/src/assets/icons/mobile-insurance.svg +1 -0
- package/src/assets/icons/mobile-network-coverage.svg +1 -0
- package/src/assets/icons/mobile-payment.svg +1 -0
- package/src/assets/icons/mobile-security.svg +1 -0
- package/src/assets/icons/mobile-setup.svg +1 -0
- package/src/assets/icons/modem.svg +1 -0
- package/src/assets/icons/modifier-delete.svg +1 -0
- package/src/assets/icons/modifier-done.svg +1 -0
- package/src/assets/icons/modifier-download.svg +1 -0
- package/src/assets/icons/modifier-upload.svg +1 -0
- package/src/assets/icons/money-box.svg +1 -0
- package/src/assets/icons/more-dots.svg +1 -0
- package/src/assets/icons/multi-sim.svg +1 -0
- package/src/assets/icons/music.svg +1 -0
- package/src/assets/icons/my-account.svg +1 -0
- package/src/assets/icons/my-orange.svg +1 -0
- package/src/assets/icons/my-skills.svg +1 -0
- package/src/assets/icons/my-vacation.svg +1 -0
- package/src/assets/icons/network-dslam.svg +1 -0
- package/src/assets/icons/network-gatekeeper.svg +1 -0
- package/src/assets/icons/network-gateway.svg +1 -0
- package/src/assets/icons/network-optical-amplifier.svg +1 -0
- package/src/assets/icons/network-optical-transport.svg +1 -0
- package/src/assets/icons/network-wan-optimisation-engine.svg +1 -0
- package/src/assets/icons/networks.svg +1 -0
- package/src/assets/icons/newspaper.svg +1 -0
- package/src/assets/icons/not-checked.svg +1 -0
- package/src/assets/icons/notification-alert.svg +1 -0
- package/src/assets/icons/office.svg +1 -0
- package/src/assets/icons/online-help.svg +1 -0
- package/src/assets/icons/orange-assistant.svg +1 -0
- package/src/assets/icons/orange-cash.svg +1 -0
- package/src/assets/icons/orange-detente.svg +1 -0
- package/src/assets/icons/orange-dialler.svg +1 -0
- package/src/assets/icons/orange-events.svg +1 -0
- package/src/assets/icons/orange-experts-expert.svg +1 -0
- package/src/assets/icons/orange-experts-insurance.svg +1 -0
- package/src/assets/icons/orange-experts-orange-business-consultant.svg +1 -0
- package/src/assets/icons/orange-experts-recycle.svg +1 -0
- package/src/assets/icons/orange-experts-repair.svg +1 -0
- package/src/assets/icons/orange-football-club.svg +1 -0
- package/src/assets/icons/orange-games.svg +1 -0
- package/src/assets/icons/orange-messenger.svg +1 -0
- package/src/assets/icons/orange-money-nfc.svg +1 -0
- package/src/assets/icons/orange-reflect.svg +1 -0
- package/src/assets/icons/orange-rewards.svg +1 -0
- package/src/assets/icons/orange-tv.svg +1 -0
- package/src/assets/icons/orange-vr-experience.svg +1 -0
- package/src/assets/icons/outbox.svg +1 -0
- package/src/assets/icons/package-content.svg +1 -0
- package/src/assets/icons/package-services.svg +1 -0
- package/src/assets/icons/package.svg +1 -0
- package/src/assets/icons/packaging-icon-hd.svg +1 -0
- package/src/assets/icons/parabole-tv.svg +1 -0
- package/src/assets/icons/parental-control.svg +1 -0
- package/src/assets/icons/pause.svg +1 -0
- package/src/assets/icons/payment-card.svg +1 -0
- package/src/assets/icons/payment-euro.svg +1 -0
- package/src/assets/icons/pda.svg +1 -0
- package/src/assets/icons/pdf-file.svg +1 -0
- package/src/assets/icons/pencil.svg +1 -0
- package/src/assets/icons/personal-hotspot.svg +1 -0
- package/src/assets/icons/personal-smartphone-trainer.svg +1 -0
- package/src/assets/icons/phone-advisor.svg +1 -0
- package/src/assets/icons/play-and-win.svg +1 -0
- package/src/assets/icons/play.svg +1 -0
- package/src/assets/icons/plug-socket.svg +1 -0
- package/src/assets/icons/power.svg +1 -0
- package/src/assets/icons/powerstation.svg +1 -0
- package/src/assets/icons/presentation.svg +1 -0
- package/src/assets/icons/print.svg +1 -0
- package/src/assets/icons/printer.svg +1 -0
- package/src/assets/icons/real-time.svg +1 -0
- package/src/assets/icons/recycle-device.svg +1 -0
- package/src/assets/icons/recycle.svg +1 -0
- package/src/assets/icons/reduction.svg +1 -0
- package/src/assets/icons/reload.svg +1 -0
- package/src/assets/icons/reminders.svg +1 -0
- package/src/assets/icons/remote-desktop-protocol.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/repair.svg +1 -0
- package/src/assets/icons/reseau.svg +1 -0
- package/src/assets/icons/restaurant.svg +1 -0
- package/src/assets/icons/rewards.svg +1 -0
- package/src/assets/icons/running.svg +1 -0
- package/src/assets/icons/safety.svg +1 -0
- package/src/assets/icons/satallite.svg +1 -0
- package/src/assets/icons/save.svg +1 -0
- package/src/assets/icons/school.svg +1 -0
- package/src/assets/icons/science.svg +1 -0
- package/src/assets/icons/sd-card.svg +1 -0
- package/src/assets/icons/search.svg +1 -0
- package/src/assets/icons/security-status-good.svg +1 -0
- package/src/assets/icons/send.svg +1 -0
- package/src/assets/icons/senior-person.svg +1 -0
- package/src/assets/icons/server-storage-array.svg +1 -0
- package/src/assets/icons/server-tower.svg +1 -0
- package/src/assets/icons/session-enter.svg +1 -0
- package/src/assets/icons/session-leave.svg +1 -0
- package/src/assets/icons/settings.svg +1 -0
- package/src/assets/icons/share.svg +1 -0
- package/src/assets/icons/shop-pin.svg +1 -0
- package/src/assets/icons/shop.svg +1 -0
- package/src/assets/icons/showroom-mobile-pro.svg +1 -0
- package/src/assets/icons/signal-5-5.svg +1 -0
- package/src/assets/icons/silence.svg +1 -0
- package/src/assets/icons/sim-e.svg +1 -0
- package/src/assets/icons/sim.svg +1 -0
- package/src/assets/icons/simple-mode.svg +1 -0
- package/src/assets/icons/simplicity.svg +1 -0
- package/src/assets/icons/siren.svg +1 -0
- package/src/assets/icons/skiing.svg +1 -0
- package/src/assets/icons/skip-to-end.svg +1 -0
- package/src/assets/icons/skip-to-start.svg +1 -0
- package/src/assets/icons/sleep.svg +1 -0
- package/src/assets/icons/smart-care.svg +1 -0
- package/src/assets/icons/smart-home.svg +1 -0
- package/src/assets/icons/smart-tap.svg +1 -0
- package/src/assets/icons/smart-watch.svg +1 -0
- package/src/assets/icons/sms-alert.svg +1 -0
- package/src/assets/icons/sms-message-compose.svg +1 -0
- package/src/assets/icons/sms-message.svg +1 -0
- package/src/assets/icons/social-network.svg +1 -0
- package/src/assets/icons/sofa.svg +1 -0
- package/src/assets/icons/sort.svg +1 -0
- package/src/assets/icons/stadium.svg +1 -0
- package/src/assets/icons/star-empty.svg +1 -0
- package/src/assets/icons/star-favourite-half.svg +1 -0
- package/src/assets/icons/star-favourite.svg +1 -0
- package/src/assets/icons/startover.svg +1 -0
- package/src/assets/icons/statistics.svg +1 -0
- package/src/assets/icons/stop-secret.svg +1 -0
- package/src/assets/icons/storage-cloud.svg +1 -0
- package/src/assets/icons/store-locator.svg +1 -0
- package/src/assets/icons/street.svg +1 -0
- package/src/assets/icons/subscription-package.svg +1 -0
- package/src/assets/icons/suitcase.svg +1 -0
- package/src/assets/icons/support.svg +1 -0
- package/src/assets/icons/surveillance-camera.svg +1 -0
- package/src/assets/icons/syncronise.svg +1 -0
- package/src/assets/icons/tag-advertising.svg +1 -0
- package/src/assets/icons/tag.svg +1 -0
- package/src/assets/icons/target-location.svg +1 -0
- package/src/assets/icons/tarif.svg +1 -0
- package/src/assets/icons/task-list.svg +1 -0
- package/src/assets/icons/team-connect.svg +1 -0
- package/src/assets/icons/thumb-up.svg +1 -0
- package/src/assets/icons/tick.svg +1 -0
- package/src/assets/icons/ticket.svg +1 -0
- package/src/assets/icons/top-up-card-euro.svg +1 -0
- package/src/assets/icons/top-up-euro.svg +1 -0
- package/src/assets/icons/top-up-time.svg +1 -0
- package/src/assets/icons/town.svg +1 -0
- package/src/assets/icons/townhall.svg +1 -0
- package/src/assets/icons/train.svg +1 -0
- package/src/assets/icons/training-session.svg +1 -0
- package/src/assets/icons/tranquility.svg +1 -0
- package/src/assets/icons/transfer-data.svg +1 -0
- package/src/assets/icons/transfers.svg +1 -0
- package/src/assets/icons/trash.svg +1 -0
- package/src/assets/icons/tv-channel-list.svg +1 -0
- package/src/assets/icons/tv-commande.svg +1 -0
- package/src/assets/icons/unlimited-calls.svg +1 -0
- package/src/assets/icons/upload.svg +1 -0
- package/src/assets/icons/usb-hard-drive.svg +1 -0
- package/src/assets/icons/usb-key.svg +1 -0
- package/src/assets/icons/user-manual.svg +1 -0
- package/src/assets/icons/user.svg +1 -0
- package/src/assets/icons/video-call.svg +1 -0
- package/src/assets/icons/video-live.svg +1 -0
- package/src/assets/icons/video-phone.svg +1 -0
- package/src/assets/icons/video-record.svg +1 -0
- package/src/assets/icons/video.svg +1 -0
- package/src/assets/icons/vip-contact.svg +1 -0
- package/src/assets/icons/virtual-gamepad.svg +1 -0
- package/src/assets/icons/vod-portrait.svg +1 -0
- package/src/assets/icons/volte.svg +1 -0
- package/src/assets/icons/volume-status-4-4.svg +1 -0
- package/src/assets/icons/vowifi.svg +1 -0
- package/src/assets/icons/wallet.svg +1 -0
- package/src/assets/icons/warning-important.svg +1 -0
- package/src/assets/icons/washroom.svg +1 -0
- package/src/assets/icons/watch.svg +1 -0
- package/src/assets/icons/water.svg +1 -0
- package/src/assets/icons/weather.svg +1 -0
- package/src/assets/icons/web-browser.svg +1 -0
- package/src/assets/icons/web-camera.svg +1 -0
- package/src/assets/icons/weighing-scales.svg +1 -0
- package/src/assets/icons/widget.svg +1 -0
- package/src/assets/icons/wifi-home.svg +1 -0
- package/src/assets/icons/wifi.svg +1 -0
- package/src/assets/icons/x.svg +1 -0
- package/src/assets/icons/your-balance.svg +1 -0
- package/src/assets/icons/youtube.svg +1 -0
- package/src/assets/icons/zoom-in.svg +1 -0
- package/src/assets/icons/zoom-out.svg +1 -0
- package/src/assets/images/developers/hands-with-phones.svg +90 -0
- package/src/assets/images/developers/iphone-size-2x.png +0 -0
- package/src/assets/images/developers/iphone-xr-white-select.png +0 -0
- package/src/assets/images/developers/phones.png +0 -0
- package/src/assets/images/developers/router.png +0 -0
- package/src/assets/images/developers/rule-component-block.png +0 -0
- package/src/assets/images/developers/rule-component-inline.png +0 -0
- package/src/assets/images/developers/rule-container.png +0 -0
- package/src/assets/images/developers/rule-content.png +0 -0
- package/src/assets/images/developers/two-phones.png +0 -0
- package/src/assets/logo/logo.svg +1 -0
- package/src/components/Accordion/Accordion.mdx +222 -0
- package/src/components/Accordion/Accordion.static.ts +104 -0
- package/src/components/Accordion/Accordion.tsx +62 -0
- package/src/components/Accordion/AccordionHeader.tsx +59 -0
- package/src/components/Accordion/AccordionItem.tsx +66 -0
- package/src/components/Accordion/HeadingContext.tsx +5 -0
- package/src/components/Accordion/index.ts +4 -0
- package/src/components/Accordion/styles/config.scss +8 -0
- package/src/components/Accordion/styles/mixins.scss +91 -0
- package/src/components/Accordion/styles/style.scss +49 -0
- package/src/components/Accordion/tests/Accordion.static.test.js +207 -0
- package/src/components/Accordion/tests/Accordion.unit.test.js +822 -0
- package/src/components/Accordion/tests/data.js +18 -0
- package/src/components/Alert/Alert.mdx +141 -0
- package/src/components/Alert/Alert.tsx +120 -0
- package/src/components/Alert/CHANGELOG.md +66 -0
- package/src/components/Alert/data.ts +8 -0
- package/src/components/Alert/index.ts +3 -0
- package/src/components/Alert/styles/config.scss +19 -0
- package/src/components/Alert/styles/mixins.scss +66 -0
- package/src/components/Alert/styles/style.scss +36 -0
- package/src/components/Alert/tests/Alert.conformance.test.js +30 -0
- package/src/components/Alert/tests/Alert.test.js +113 -0
- package/src/components/Bar/Bar.mdx +203 -0
- package/src/components/Bar/Bar.tsx +58 -0
- package/src/components/Bar/BarBreak.tsx +29 -0
- package/src/components/Bar/BarItem.tsx +50 -0
- package/src/components/Bar/index.ts +5 -0
- package/src/components/Bar/styles/config.scss +10 -0
- package/src/components/Bar/styles/mixins.scss +84 -0
- package/src/components/Bar/styles/style.scss +62 -0
- package/src/components/Bar/tests/Bar.conformance.test.js +29 -0
- package/src/components/Bar/tests/Bar.unit.test.js +58 -0
- package/src/components/Bar/tests/BarBreak.unit.test.js +32 -0
- package/src/components/Bar/tests/BarItem.unit.test.js +51 -0
- package/src/components/BlockAction/BlockAction.mdx +244 -0
- package/src/components/BlockAction/BlockAction.static.ts +104 -0
- package/src/components/BlockAction/BlockAction.tsx +27 -0
- package/src/components/BlockAction/BlockActionControl.tsx +32 -0
- package/src/components/BlockAction/BlockActionIndicator.tsx +32 -0
- package/src/components/BlockAction/CloneElementWithClassName.tsx +23 -0
- package/src/components/BlockAction/Context.tsx +39 -0
- package/src/components/BlockAction/index.tsx +29 -0
- package/src/components/BlockAction/styles/config.scss +10 -0
- package/src/components/BlockAction/styles/mixins.scss +33 -0
- package/src/components/BlockAction/styles/style.scss +35 -0
- package/src/components/BlockAction/tests/BlockAction.conformance.test.js +117 -0
- package/src/components/BlockAction/tests/BlockAction.unit.test.js +44 -0
- package/src/components/BlockAction/tests/BlockActionControl.unit.test.js +146 -0
- package/src/components/BlockAction/tests/BlockActionIndicator.unit.test.js +68 -0
- package/src/components/BlockAction/tests/CloneElementWithClassName.unit.test.js +33 -0
- package/src/components/BodyBanner/BodyBanner.mdx +268 -0
- package/src/components/BodyBanner/BodyBanner.tsx +102 -0
- package/src/components/BodyBanner/index.tsx +3 -0
- package/src/components/BodyBanner/styles/mixins.scss +106 -0
- package/src/components/BodyBanner/styles/style.scss +41 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +54 -0
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +84 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +61 -0
- package/src/components/Breadcrumbs/index.ts +3 -0
- package/src/components/Breadcrumbs/styles/config.scss +2 -0
- package/src/components/Breadcrumbs/styles/mixins.scss +105 -0
- package/src/components/Breadcrumbs/styles/style.scss +39 -0
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +294 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +52 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +309 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +279 -0
- package/src/components/Button/Button.mdx +273 -0
- package/src/components/Button/Button.tsx +106 -0
- package/src/components/Button/IconButton.tsx +67 -0
- package/src/components/Button/index.tsx +23 -0
- package/src/components/Button/styles/config.scss +136 -0
- package/src/components/Button/styles/mixins.scss +155 -0
- package/src/components/Button/styles/style.scss +46 -0
- package/src/components/Button/tests/Button.conformance.test.js +37 -0
- package/src/components/Button/tests/Button.test.js +119 -0
- package/src/components/Button/tests/IconButton.unit.test.js +107 -0
- package/src/components/Buttons/Buttons.mdx +39 -0
- package/src/components/Buttons/Buttons.tsx +34 -0
- package/src/components/Buttons/index.ts +3 -0
- package/src/components/Buttons/styles/config.scss +3 -0
- package/src/components/Buttons/styles/mixins.scss +39 -0
- package/src/components/Buttons/styles/style.scss +12 -0
- package/src/components/Buttons/tests/Buttons.conformance.test.js +22 -0
- package/src/components/Buttons/tests/Buttons.unit.test.js +26 -0
- package/src/components/Card/CHANGELOG.md +19 -0
- package/src/components/Card/Card.mdx +334 -0
- package/src/components/Card/Card.tsx +35 -0
- package/src/components/Card/CardProductHeader.tsx +34 -0
- package/src/components/Card/CardSection.tsx +44 -0
- package/src/components/Card/index.ts +5 -0
- package/src/components/Card/styles/config.scss +16 -0
- package/src/components/Card/styles/mixins.scss +68 -0
- package/src/components/Card/styles/style.scss +37 -0
- package/src/components/Card/tests/Card.conformance.test.js +31 -0
- package/src/components/Card/tests/Card.unit.test.js +47 -0
- package/src/components/Card/tests/CardProductHeader.unit.test.js +51 -0
- package/src/components/Card/tests/CardSection.unit.test.js +61 -0
- package/src/components/Card/tests/data.ts +44 -0
- package/src/components/Carousel/Carousel.mdx +163 -0
- package/src/components/Carousel/Carousel.static.ts +227 -0
- package/src/components/Carousel/Carousel.tsx +93 -0
- package/src/components/Carousel/CarouselItem.tsx +29 -0
- package/src/components/Carousel/constants.ts +18 -0
- package/src/components/Carousel/index.ts +4 -0
- package/src/components/Carousel/styles/config.scss +44 -0
- package/src/components/Carousel/styles/mixins.scss +231 -0
- package/src/components/Carousel/styles/style.scss +64 -0
- package/src/components/Carousel/tests/Carousel.conformance.test.js +26 -0
- package/src/components/Carousel/tests/Carousel.unit.test.js +150 -0
- package/src/components/Carousel/tests/CarouselItem.unit.test.js +27 -0
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +246 -0
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +254 -0
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +63 -0
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +53 -0
- package/src/components/CarouselPromotions/constants.ts +21 -0
- package/src/components/CarouselPromotions/index.ts +4 -0
- package/src/components/CarouselPromotions/styles/config.scss +65 -0
- package/src/components/CarouselPromotions/styles/mixins.scss +286 -0
- package/src/components/CarouselPromotions/styles/style.scss +51 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.conformance.test.js +30 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +94 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotionsItem.unit.test.js +33 -0
- package/src/components/CartTable/CartTable.mdx +129 -0
- package/src/components/CartTable/CartTable.tsx +111 -0
- package/src/components/CartTable/FooterNameColumn.tsx +32 -0
- package/src/components/CartTable/FooterPriceColumn.tsx +50 -0
- package/src/components/CartTable/Price.tsx +48 -0
- package/src/components/CartTable/data.ts +147 -0
- package/src/components/CartTable/generateFooter.tsx +97 -0
- package/src/components/CartTable/generateRow.tsx +196 -0
- package/src/components/CartTable/generateTotal.ts +157 -0
- package/src/components/CartTable/index.ts +3 -0
- package/src/components/CartTable/styles/config.scss +19 -0
- package/src/components/CartTable/styles/mixins.scss +141 -0
- package/src/components/CartTable/styles/style.scss +37 -0
- package/src/components/CartTable/tests/CartTable.conformance.test.js +16 -0
- package/src/components/Container/Container.mdx +73 -0
- package/src/components/Container/Container.tsx +17 -0
- package/src/components/Container/index.ts +3 -0
- package/src/components/Container/styles/config.scss +11 -0
- package/src/components/Container/styles/mixins.scss +22 -0
- package/src/components/Container/styles/style.scss +7 -0
- package/src/components/Container/tests/Container.conformance.test.js +215 -0
- package/src/components/Container/tests/Container.unit.test.js +320 -0
- package/src/components/Controls/Controls.mdx +469 -0
- package/src/components/Controls/Controls.tsx +50 -0
- package/src/components/Controls/index.ts +3 -0
- package/src/components/Controls/styles/config.scss +61 -0
- package/src/components/Controls/styles/mixins.scss +70 -0
- package/src/components/Controls/styles/style.scss +16 -0
- package/src/components/Controls/tests/Controls.test.js +479 -0
- package/src/components/Cover/Cover.mdx +87 -0
- package/src/components/Cover/Cover.tsx +81 -0
- package/src/components/Cover/index.ts +5 -0
- package/src/components/Cover/styles/config.scss +55 -0
- package/src/components/Cover/styles/mixins.scss +43 -0
- package/src/components/Cover/styles/style.scss +32 -0
- package/src/components/Cover/tests/Cover.conformance.test.js +28 -0
- package/src/components/Cover/tests/Cover.unit.test.js +116 -0
- package/src/components/Divider/Divider.mdx +65 -0
- package/src/components/Divider/Divider.tsx +57 -0
- package/src/components/Divider/index.ts +3 -0
- package/src/components/Divider/styles/config.scss +27 -0
- package/src/components/Divider/styles/mixins.scss +45 -0
- package/src/components/Divider/styles/style.scss +33 -0
- package/src/components/Divider/tests/Divider.conformance.test.js +23 -0
- package/src/components/Divider/tests/Divider.unit.test.js +80 -0
- package/src/components/Dropdown/Dropdown.mdx +260 -0
- package/src/components/Dropdown/Dropdown.static.ts +198 -0
- package/src/components/Dropdown/Dropdown.tsx +107 -0
- package/src/components/Dropdown/DropdownDivider.tsx +17 -0
- package/src/components/Dropdown/DropdownItem.tsx +43 -0
- package/src/components/Dropdown/DropdownToggleButton.tsx +37 -0
- package/src/components/Dropdown/index.ts +6 -0
- package/src/components/Dropdown/styles/config.scss +43 -0
- package/src/components/Dropdown/styles/mixins.scss +79 -0
- package/src/components/Dropdown/styles/style.scss +33 -0
- package/src/components/Dropdown/tests/Dropdown.conformance.test.js +48 -0
- package/src/components/Dropdown/tests/Dropdown.unit.test.js +69 -0
- package/src/components/Expander/Expander.mdx +153 -0
- package/src/components/Expander/Expander.static.ts +59 -0
- package/src/components/Expander/Expander.tsx +99 -0
- package/src/components/Expander/index.ts +3 -0
- package/src/components/Expander/styles/style.scss +63 -0
- package/src/components/Expander/tests/Expander.conformance.test.js +59 -0
- package/src/components/Expander/tests/Expander.unit.test.js +124 -0
- package/src/components/FeatureAccordion/FeatureAccordion.mdx +33 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +121 -0
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +116 -0
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +31 -0
- package/src/components/FeatureAccordion/index.ts +2 -0
- package/src/components/FeatureAccordion/styles/mixins.scss +74 -0
- package/src/components/FeatureAccordion/styles/style.scss +21 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +92 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +80 -0
- package/src/components/Footer/Footer.tsx +93 -0
- package/src/components/Footer/data.ts +71 -0
- package/src/components/Footer/index.ts +1 -0
- package/src/components/Footer/tests/Footer.conformance.test.js +13 -0
- package/src/components/Footer/tests/Footer.unit.test.js +66 -0
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +198 -0
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +90 -0
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +66 -0
- package/src/components/Forms/Autocomplete/index.ts +3 -0
- package/src/components/Forms/Autocomplete/styles/config.scss +7 -0
- package/src/components/Forms/Autocomplete/styles/mixins.scss +77 -0
- package/src/components/Forms/Autocomplete/styles/style.scss +66 -0
- package/src/components/Forms/Checkbox/Checkbox.mdx +139 -0
- package/src/components/Forms/Checkbox/Checkbox.tsx +75 -0
- package/src/components/Forms/Checkbox/index.ts +3 -0
- package/src/components/Forms/Checkbox/styles/config.scss +25 -0
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -0
- package/src/components/Forms/Checkbox/styles/style.scss +89 -0
- package/src/components/Forms/Checkbox/tests/Checkbox.unit.test.js +95 -0
- package/src/components/Forms/Field/Control.tsx +129 -0
- package/src/components/Forms/Field/Description.tsx +40 -0
- package/src/components/Forms/Field/Field.mdx +383 -0
- package/src/components/Forms/Field/Field.tsx +102 -0
- package/src/components/Forms/Field/FieldContext.tsx +24 -0
- package/src/components/Forms/Field/Label.tsx +71 -0
- package/src/components/Forms/Field/Messages.tsx +36 -0
- package/src/components/Forms/Field/Tooltip.tsx +35 -0
- package/src/components/Forms/Field/index.ts +3 -0
- package/src/components/Forms/Field/styles/config.scss +25 -0
- package/src/components/Forms/Field/styles/mixins.scss +43 -0
- package/src/components/Forms/Field/styles/style.scss +37 -0
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +52 -0
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Field.unit.test.js +11 -0
- package/src/components/Forms/Field/tests/File.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Label.unit.test.js +163 -0
- package/src/components/Forms/Field/tests/Messages.unit.test.js +102 -0
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +60 -0
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +45 -0
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Tooltip.unit.test.js +38 -0
- package/src/components/Forms/Field/utils.ts +36 -0
- package/src/components/Forms/Fieldset/Fieldset.mdx +178 -0
- package/src/components/Forms/Fieldset/Fieldset.tsx +62 -0
- package/src/components/Forms/Fieldset/FieldsetContext.ts +13 -0
- package/src/components/Forms/Fieldset/docsData.ts +75 -0
- package/src/components/Forms/Fieldset/index.ts +3 -0
- package/src/components/Forms/Fieldset/styles/mixins.scss +6 -0
- package/src/components/Forms/Fieldset/styles/style.scss +10 -0
- package/src/components/Forms/Fieldset/tests/Fieldset.unit.test.js +63 -0
- package/src/components/Forms/File/File.mdx +88 -0
- package/src/components/Forms/File/File.static.ts +164 -0
- package/src/components/Forms/File/File.tsx +77 -0
- package/src/components/Forms/File/index.ts +3 -0
- package/src/components/Forms/File/styles/config.scss +12 -0
- package/src/components/Forms/File/styles/mixins.scss +87 -0
- package/src/components/Forms/File/styles/style.scss +51 -0
- package/src/components/Forms/FormTooltip.mdx +51 -0
- package/src/components/Forms/Forms.mdx +48 -0
- package/src/components/Forms/Group/CHANGELOG.md +5 -0
- package/src/components/Forms/Group/Group.mdx +146 -0
- package/src/components/Forms/Group/Group.tsx +74 -0
- package/src/components/Forms/Group/Item.tsx +35 -0
- package/src/components/Forms/Group/index.ts +3 -0
- package/src/components/Forms/Group/styles/config.scss +9 -0
- package/src/components/Forms/Group/styles/mixins.scss +54 -0
- package/src/components/Forms/Group/styles/style.scss +19 -0
- package/src/components/Forms/Group/tests/Group.unit.test.js +171 -0
- package/src/components/Forms/Group/tests/Item.unit.test.js +31 -0
- package/src/components/Forms/Hint/Hint.mdx +40 -0
- package/src/components/Forms/Hint/Hint.tsx +21 -0
- package/src/components/Forms/Hint/index.ts +3 -0
- package/src/components/Forms/Hint/styles/config.scss +5 -0
- package/src/components/Forms/Hint/styles/mixins.scss +6 -0
- package/src/components/Forms/Hint/styles/style.scss +7 -0
- package/src/components/Forms/Hint/tests/Hint.unit.test.js +35 -0
- package/src/components/Forms/InputStepper/InputStepper.mdx +147 -0
- package/src/components/Forms/InputStepper/InputStepper.static.ts +187 -0
- package/src/components/Forms/InputStepper/InputStepper.tsx +86 -0
- package/src/components/Forms/InputStepper/index.ts +3 -0
- package/src/components/Forms/InputStepper/styles/style.scss +210 -0
- package/src/components/Forms/InputStepper/tests/InputStepper.unit.test.js +54 -0
- package/src/components/Forms/Label/Label.mdx +95 -0
- package/src/components/Forms/Label/Label.tsx +26 -0
- package/src/components/Forms/Label/index.ts +3 -0
- package/src/components/Forms/Label/styles/config.scss +4 -0
- package/src/components/Forms/Label/styles/mixins.scss +6 -0
- package/src/components/Forms/Label/styles/style.scss +11 -0
- package/src/components/Forms/Label/tests/Label.unit.test.js +42 -0
- package/src/components/Forms/Message/Message.mdx +40 -0
- package/src/components/Forms/Message/Message.tsx +64 -0
- package/src/components/Forms/Message/index.ts +3 -0
- package/src/components/Forms/Message/styles/config.scss +21 -0
- package/src/components/Forms/Message/styles/mixins.scss +20 -0
- package/src/components/Forms/Message/styles/style.scss +12 -0
- package/src/components/Forms/Message/tests/Message.unit.test.js +83 -0
- package/src/components/Forms/Radio/Radio.mdx +98 -0
- package/src/components/Forms/Radio/Radio.tsx +70 -0
- package/src/components/Forms/Radio/index.ts +3 -0
- package/src/components/Forms/Radio/styles/config.scss +25 -0
- package/src/components/Forms/Radio/styles/mixins.scss +6 -0
- package/src/components/Forms/Radio/styles/style.scss +25 -0
- package/src/components/Forms/Radio/tests/Radio.unit.test.js +105 -0
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +304 -0
- package/src/components/Forms/RangeSlider/RangeSlider.static.ts +121 -0
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +98 -0
- package/src/components/Forms/RangeSlider/data.ts +50 -0
- package/src/components/Forms/RangeSlider/index.ts +3 -0
- package/src/components/Forms/RangeSlider/styles/config.scss +32 -0
- package/src/components/Forms/RangeSlider/styles/mixins.scss +139 -0
- package/src/components/Forms/RangeSlider/styles/style.scss +97 -0
- package/src/components/Forms/Select/Select.mdx +106 -0
- package/src/components/Forms/Select/Select.tsx +97 -0
- package/src/components/Forms/Select/index.tsx +9 -0
- package/src/components/Forms/Select/styles/config.scss +53 -0
- package/src/components/Forms/Select/styles/mixins.scss +34 -0
- package/src/components/Forms/Select/styles/style.scss +22 -0
- package/src/components/Forms/Select/tests/Select.unit.test.js +98 -0
- package/src/components/Forms/TextArea/TextArea.mdx +109 -0
- package/src/components/Forms/TextArea/TextArea.tsx +84 -0
- package/src/components/Forms/TextArea/index.ts +3 -0
- package/src/components/Forms/TextArea/styles/config.scss +35 -0
- package/src/components/Forms/TextArea/styles/mixins.scss +48 -0
- package/src/components/Forms/TextArea/styles/style.scss +22 -0
- package/src/components/Forms/TextArea/tests/TextArea.unit.test.js +127 -0
- package/src/components/Forms/TextInput/TextInput.mdx +153 -0
- package/src/components/Forms/TextInput/TextInput.tsx +101 -0
- package/src/components/Forms/TextInput/index.ts +3 -0
- package/src/components/Forms/TextInput/styles/config.scss +60 -0
- package/src/components/Forms/TextInput/styles/mixins.scss +80 -0
- package/src/components/Forms/TextInput/styles/style.scss +30 -0
- package/src/components/Forms/TextInput/tests/TextInput.unit.test.js +108 -0
- package/src/components/Forms/index.ts +16 -0
- package/src/components/Forms/styles/config.scss +41 -0
- package/src/components/Forms/styles/mixins.scss +44 -0
- package/src/components/Gauge/Gauge.mdx +35 -0
- package/src/components/Gauge/Gauge.tsx +72 -0
- package/src/components/Gauge/GaugeMaker.tsx +90 -0
- package/src/components/Gauge/index.ts +3 -0
- package/src/components/Gauge/styles/style.scss +34 -0
- package/src/components/Gauge/tests/Gauge.conformance.test.js +25 -0
- package/src/components/Gauge/tests/Gauge.unit.test.js +35 -0
- package/src/components/Grid/Grid.mdx +320 -0
- package/src/components/Grid/Grid.tsx +56 -0
- package/src/components/Grid/GridCol.tsx +33 -0
- package/src/components/Grid/index.ts +4 -0
- package/src/components/Grid/styles/config.scss +10 -0
- package/src/components/Grid/styles/mixins.scss +126 -0
- package/src/components/Grid/styles/style.scss +43 -0
- package/src/components/Grid/tests/Grid.unit.test.tsx +533 -0
- package/src/components/Grid/tests/GridCol.unit.test.tsx +199 -0
- package/src/components/Icon/Icon.mdx +172 -0
- package/src/components/Icon/Icon.tsx +73 -0
- package/src/components/Icon/IconSearch.jsx +247 -0
- package/src/components/Icon/SpritePathContext.tsx +22 -0
- package/src/components/Icon/iconSearchTags.ts +437 -0
- package/src/components/Icon/index.ts +5 -0
- package/src/components/Icon/styles/config.scss +27 -0
- package/src/components/Icon/styles/export/color.scss +8 -0
- package/src/components/Icon/styles/export/size.scss +13 -0
- package/src/components/Icon/styles/mixins.scss +31 -0
- package/src/components/Icon/styles/style.scss +15 -0
- package/src/components/Icon/tests/Icon.conformance.test.js +22 -0
- package/src/components/Icon/tests/Icon.unit.test.js +112 -0
- package/src/components/Image/Image.mdx +175 -0
- package/src/components/Image/Image.tsx +64 -0
- package/src/components/Image/index.ts +3 -0
- package/src/components/Image/styles/mixins.scss +12 -0
- package/src/components/Image/styles/style.scss +12 -0
- package/src/components/Image/tests/Image.conformance.test.js +264 -0
- package/src/components/Image/tests/Image.unit.test.js +316 -0
- package/src/components/Link/CHANGELOG.md +25 -0
- package/src/components/Link/Link.mdx +224 -0
- package/src/components/Link/Link.tsx +57 -0
- package/src/components/Link/index.ts +3 -0
- package/src/components/Link/styles/mixins.scss +33 -0
- package/src/components/Link/styles/style.scss +42 -0
- package/src/components/Link/tests/Link.conformance.test.js +284 -0
- package/src/components/Link/tests/Link.unit.test.js +295 -0
- package/src/components/List/ClickableControl.tsx +33 -0
- package/src/components/List/List.mdx +216 -0
- package/src/components/List/List.tsx +40 -0
- package/src/components/List/ListItem.tsx +44 -0
- package/src/components/List/index.ts +5 -0
- package/src/components/List/styles/config.scss +38 -0
- package/src/components/List/styles/mixins.scss +99 -0
- package/src/components/List/styles/style.scss +48 -0
- package/src/components/List/tests/ClickableControl.unit.test.js +100 -0
- package/src/components/List/tests/List.conformance.test.js +69 -0
- package/src/components/List/tests/List.unit.test.js +47 -0
- package/src/components/List/tests/ListItem.unit.test.js +104 -0
- package/src/components/Loader/Loader.mdx +148 -0
- package/src/components/Loader/Loader.static.ts +85 -0
- package/src/components/Loader/Loader.tsx +75 -0
- package/src/components/Loader/index.ts +3 -0
- package/src/components/Loader/styles/config.scss +16 -0
- package/src/components/Loader/styles/mixins.scss +66 -0
- package/src/components/Loader/styles/style.scss +38 -0
- package/src/components/Loader/tests/Loader.conformance.test.js +22 -0
- package/src/components/Loader/tests/Loader.unit.test.js +59 -0
- package/src/components/Loader/tests/test.scss +5 -0
- package/src/components/Modal/Modal.mdx +449 -0
- package/src/components/Modal/Modal.static.ts +223 -0
- package/src/components/Modal/Modal.tsx +150 -0
- package/src/components/Modal/ModalBody.tsx +46 -0
- package/src/components/Modal/ModalCloseButton.tsx +26 -0
- package/src/components/Modal/ModalTitle.tsx +32 -0
- package/src/components/Modal/TODO.md +2 -0
- package/src/components/Modal/index.ts +6 -0
- package/src/components/Modal/styles/config.scss +41 -0
- package/src/components/Modal/styles/mixins.scss +200 -0
- package/src/components/Modal/styles/style.scss +99 -0
- package/src/components/Modal/tests/Modal.conformance.test.js +41 -0
- package/src/components/Modal/tests/Modal.unit.test.js +78 -0
- package/src/components/Modal/tests/ModalBody.unit.test.js +39 -0
- package/src/components/Modal/tests/ModalCloseButton.unit.test.js +84 -0
- package/src/components/Modal/tests/ModalTitle.unit.test.js +25 -0
- package/src/components/Pagination/Pagination.mdx +45 -0
- package/src/components/Pagination/Pagination.tsx +86 -0
- package/src/components/Pagination/PaginationItem.tsx +61 -0
- package/src/components/Pagination/Separator.tsx +19 -0
- package/src/components/Pagination/helpers.ts +71 -0
- package/src/components/Pagination/index.ts +5 -0
- package/src/components/Pagination/styles/mixins.scss +43 -0
- package/src/components/Pagination/styles/style.scss +28 -0
- package/src/components/Pagination/tests/Item.unit.test.js +96 -0
- package/src/components/Pagination/tests/Pagination.conformance.test.js +41 -0
- package/src/components/Pagination/tests/Pagination.unit.test.js +108 -0
- package/src/components/Pagination/tests/Separator.unit.test.js +25 -0
- package/src/components/Pagination/tests/utils.js +12 -0
- package/src/components/Progress/Progress.mdx +119 -0
- package/src/components/Progress/Progress.tsx +60 -0
- package/src/components/Progress/index.ts +3 -0
- package/src/components/Progress/styles/config.scss +19 -0
- package/src/components/Progress/styles/mixins.scss +40 -0
- package/src/components/Progress/styles/style.scss +31 -0
- package/src/components/Progress/tests/Progress.conformance.test.js +27 -0
- package/src/components/Progress/tests/Progress.unit.test.js +108 -0
- package/src/components/Section/Section.mdx +397 -0
- package/src/components/Section/Section.tsx +54 -0
- package/src/components/Section/index.ts +3 -0
- package/src/components/Section/styles/config.scss +38 -0
- package/src/components/Section/styles/mixins.scss +30 -0
- package/src/components/Section/styles/style.scss +37 -0
- package/src/components/Section/tests/Section.conformance.test.js +502 -0
- package/src/components/Section/tests/Section.unit.test.js +642 -0
- package/src/components/Skeleton/Skeleton.mdx +90 -0
- package/src/components/Skeleton/Skeleton.tsx +21 -0
- package/src/components/Skeleton/index.ts +3 -0
- package/src/components/Skeleton/styles/config.scss +31 -0
- package/src/components/Skeleton/styles/mixins.scss +22 -0
- package/src/components/Skeleton/styles/style.scss +7 -0
- package/src/components/Skeleton/tests/Skeleton.conformance.test.js +16 -0
- package/src/components/Skeleton/tests/Skeleton.unit.test.js +22 -0
- package/src/components/Sticker/Sticker.mdx +50 -0
- package/src/components/Sticker/Sticker.tsx +31 -0
- package/src/components/Sticker/index.ts +4 -0
- package/src/components/Sticker/styles/config.scss +31 -0
- package/src/components/Sticker/styles/mixins.scss +25 -0
- package/src/components/Sticker/styles/style.scss +22 -0
- package/src/components/{Badge/tests/Badge.conformance.test.js → Sticker/tests/Sticker.conformance.test.js} +2 -11
- package/src/components/Sticker/tests/Sticker.unit.test.js +42 -0
- package/src/components/Table/Cell.tsx +22 -0
- package/src/components/Table/Footer.tsx +25 -0
- package/src/components/Table/Header.tsx +73 -0
- package/src/components/Table/Row.tsx +70 -0
- package/src/components/Table/Rows.tsx +36 -0
- package/src/components/Table/Table.mdx +199 -0
- package/src/components/Table/Table.static.ts +146 -0
- package/src/components/Table/Table.tsx +130 -0
- package/src/components/Table/TableContext.ts +9 -0
- package/src/components/Table/docsData.ts +210 -0
- package/src/components/Table/index.ts +4 -0
- package/src/components/Table/styles/config.scss +4 -0
- package/src/components/Table/styles/mixins.scss +115 -0
- package/src/components/Table/styles/style.scss +103 -0
- package/src/components/Table/tests/Cell.unit.test.js +59 -0
- package/src/components/Table/tests/Footer.unit.test.js +70 -0
- package/src/components/Table/tests/Header.unit.test.js +120 -0
- package/src/components/Table/tests/Row.unit.test.js +206 -0
- package/src/components/Table/tests/Rows.unit.test.js +92 -0
- package/src/components/Table/tests/Table.conformance.test.js +74 -0
- package/src/components/Table/tests/Table.unit.test.js +296 -0
- package/src/components/Table/types.ts +40 -0
- package/src/components/Tabs/TODO.md +2 -0
- package/src/components/Tabs/Tab.tsx +55 -0
- package/src/components/Tabs/TabPanel.tsx +42 -0
- package/src/components/Tabs/Tabs.mdx +373 -0
- package/src/components/Tabs/Tabs.static.ts +185 -0
- package/src/components/Tabs/Tabs.tsx +129 -0
- package/src/components/Tabs/index.ts +5 -0
- package/src/components/Tabs/styles/config.scss +59 -0
- package/src/components/Tabs/styles/mixins.scss +98 -0
- package/src/components/Tabs/styles/style.scss +56 -0
- package/src/components/Tabs/tests/Tab.unit.test.js +85 -0
- package/src/components/Tabs/tests/TabPanel.unit.test.js +53 -0
- package/src/components/Tabs/tests/Tabs.unit.test.js +268 -0
- package/src/components/Tag/CHANGELOG.md +93 -0
- package/src/components/Tag/Tag.mdx +52 -0
- package/src/components/Tag/Tag.tsx +118 -0
- package/src/components/Tag/TagButton.tsx +67 -0
- package/src/components/Tag/index.ts +5 -0
- package/src/components/Tag/styles/config.scss +132 -0
- package/src/components/Tag/styles/mixins.scss +54 -0
- package/src/components/Tag/styles/style.scss +69 -0
- package/src/components/Tag/tests/Tag.conformance.test.js +44 -0
- package/src/components/Tag/tests/Tag.unit.test.js +93 -0
- package/src/components/Tag/tests/TagButton.conformance.test.js +24 -0
- package/src/components/Tag/tests/TagButton.unit.test.js +96 -0
- package/src/components/Testimonial/Testimonial.mdx +41 -0
- package/src/components/Testimonial/Testimonial.tsx +38 -0
- package/src/components/Testimonial/index.ts +3 -0
- package/src/components/Testimonial/styles/config.scss +39 -0
- package/src/components/Testimonial/styles/mixins.scss +40 -0
- package/src/components/Testimonial/styles/style.scss +16 -0
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +17 -0
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +44 -0
- package/src/components/Tile/CHANGELOG.md +14 -0
- package/src/components/Tile/Tile.mdx +163 -0
- package/src/components/Tile/Tile.tsx +86 -0
- package/src/components/Tile/index.ts +3 -0
- package/src/components/Tile/styles/config.scss +17 -0
- package/src/components/Tile/styles/mixins.scss +78 -0
- package/src/components/Tile/styles/style.scss +55 -0
- package/src/components/Tile/tests/Tile.conformance.test.js +16 -0
- package/src/components/Tile/tests/Tile.unit.test.js +126 -0
- package/src/components/Tooltip/InfoTooltip.tsx +40 -0
- package/src/components/Tooltip/TODO.md +1 -0
- package/src/components/Tooltip/Tooltip.mdx +227 -0
- package/src/components/Tooltip/Tooltip.static.ts +213 -0
- package/src/components/Tooltip/Tooltip.tsx +107 -0
- package/src/components/Tooltip/index.ts +4 -0
- package/src/components/Tooltip/styles/config.scss +58 -0
- package/src/components/Tooltip/styles/mixins.scss +94 -0
- package/src/components/Tooltip/styles/style.scss +30 -0
- package/src/components/Tooltip/tests/BaseWrapper.tsx +10 -0
- package/src/components/Tooltip/tests/InfoTooltip.unit.test.js +98 -0
- package/src/components/Tooltip/tests/Tooltip.conformance.test.js +44 -0
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +326 -0
- package/src/components/index.ts +154 -2
- package/src/components/static.ts +1 -1
- package/src/styles/base/globals-forms.scss +15 -13
- package/src/styles/base/globals.scss +134 -100
- package/src/styles/base/styleguide.scss +1 -1
- package/src/styles/before-components.scss +8 -4
- package/src/styles/export/base.scss +1 -1
- package/src/styles/export/breakpoint.ts +12 -0
- package/src/styles/export/color.scss +23 -23
- package/src/styles/shame.scss +10 -8
- package/src/styles/tokens/base.scss +9 -7
- package/src/styles/tokens/color.scss +127 -25
- package/src/styles/tools/convert.scss +1 -1
- package/src/styles/typography/config.scss +187 -0
- package/src/{components/Typography/styles → styles/typography}/mixins.scss +32 -25
- package/src/styles/typography/style.scss +57 -0
- package/src/styles/utilities/border.scss +16 -15
- package/src/styles/utilities/color.scss +115 -95
- package/src/styles/utilities/horizontal-scroll.scss +40 -36
- package/src/styles/utilities/layout.scss +159 -157
- package/src/styles/utilities/text.scss +98 -84
- package/src/styles/utilities/visibility.scss +66 -62
- package/build/.htaccess +0 -7
- package/build/_next/static/chunks/4bd1b696-67ee12fb04071d3b.js +0 -1
- package/build/_next/static/chunks/684-2d117c50cbadadca.js +0 -1
- package/build/_next/static/chunks/app/_not-found/page-f08302ee705a96b1.js +0 -1
- package/build/_next/static/chunks/app/components/badge/page-bbcffd5558aeab06.js +0 -1
- package/build/_next/static/chunks/app/layout-69efc42b1696abf9.js +0 -1
- package/build/_next/static/chunks/app/page-687dfdffc8d1b6e5.js +0 -1
- package/build/_next/static/chunks/framework-f593a28cde54158e.js +0 -1
- package/build/_next/static/chunks/main-43608b6b4bb05f8f.js +0 -1
- package/build/_next/static/chunks/main-app-ce2a2222e012907f.js +0 -1
- package/build/_next/static/chunks/pages/_error-cc3f077a18ea1793.js +0 -1
- package/build/_next/static/chunks/webpack-778f3ec87f8d2826.js +0 -1
- package/build/_next/static/css/08a2fcd6f5aac3e0.css +0 -1
- package/build/_next/static/css/d2fc2f581fe4b371.css +0 -1
- package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_buildManifest.js +0 -1
- package/build/_redirects +0 -1
- package/build/components/Badge/index.js +0 -616
- package/build/components/Badge/index.js.map +0 -1
- package/build/components/Badge/style.css +0 -2
- package/build/components/Badge/style.css.map +0 -1
- package/build/components/badge.html +0 -1
- package/build/components/badge.txt +0 -19
- package/build/components/types/Badge/Badge.d.ts +0 -12
- package/build/components/types/Badge/index.d.ts +0 -2
- package/build/components/types/index.d.ts +0 -4
- package/build/fonts/HelvNeue55_W1G.eot +0 -0
- package/build/fonts/HelvNeue55_W1G.svg +0 -653
- package/build/fonts/HelvNeue55_W1G.ttf +0 -0
- package/build/fonts/HelvNeue55_W1G.woff +0 -0
- package/build/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/build/fonts/HelvNeue75_W1G.eot +0 -0
- package/build/fonts/HelvNeue75_W1G.svg +0 -653
- package/build/fonts/HelvNeue75_W1G.ttf +0 -0
- package/build/fonts/HelvNeue75_W1G.woff +0 -0
- package/build/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/build/manifest.json +0 -15
- package/build/sprite-sg.svg +0 -1
- package/public/fonts/HelvNeue55_W1G.eot +0 -0
- package/public/fonts/HelvNeue55_W1G.svg +0 -653
- package/public/fonts/HelvNeue55_W1G.ttf +0 -0
- package/public/fonts/HelvNeue55_W1G.woff +0 -0
- package/public/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/public/fonts/HelvNeue75_W1G.eot +0 -0
- package/public/fonts/HelvNeue75_W1G.svg +0 -653
- package/public/fonts/HelvNeue75_W1G.ttf +0 -0
- package/public/fonts/HelvNeue75_W1G.woff +0 -0
- package/public/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/src/components/Badge/Badge.mdx +0 -52
- package/src/components/Badge/Badge.test.js +0 -45
- package/src/components/Badge/Badge.tsx +0 -45
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Badge/styles/config.scss +0 -52
- package/src/components/Badge/styles/mixins.scss +0 -20
- package/src/components/Badge/styles/style.scss +0 -17
- package/src/components/Badge/tests/Badge.unit.test.js +0 -50
- package/src/components/Typography/styles/config.scss +0 -181
- package/src/components/Typography/styles/style.scss +0 -49
- /package/build/_next/static/{rsiMOOYAxBtOjvpzBN4vJ → BGy4QLZfZPwswIZT7YGE2}/_ssgManifest.js +0 -0
|
@@ -1,221 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
function _defineProperty(e, r, t) {
|
|
4
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
5
|
-
value: t,
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true
|
|
9
|
-
}) : e[r] = t, e;
|
|
10
|
-
}
|
|
11
|
-
function ownKeys(e, r) {
|
|
12
|
-
var t = Object.keys(e);
|
|
13
|
-
if (Object.getOwnPropertySymbols) {
|
|
14
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
15
|
-
r && (o = o.filter(function (r) {
|
|
16
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
17
|
-
})), t.push.apply(t, o);
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
}
|
|
21
|
-
function _objectSpread2(e) {
|
|
22
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
23
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
24
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
25
|
-
_defineProperty(e, r, t[r]);
|
|
26
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
27
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
return e;
|
|
31
|
-
}
|
|
32
|
-
function _toPrimitive(t, r) {
|
|
33
|
-
if ("object" != typeof t || !t) return t;
|
|
34
|
-
var e = t[Symbol.toPrimitive];
|
|
35
|
-
if (void 0 !== e) {
|
|
36
|
-
var i = e.call(t, r);
|
|
37
|
-
if ("object" != typeof i) return i;
|
|
38
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
39
|
-
}
|
|
40
|
-
return ("string" === r ? String : Number)(t);
|
|
41
|
-
}
|
|
42
|
-
function _toPropertyKey(t) {
|
|
43
|
-
var i = _toPrimitive(t, "string");
|
|
44
|
-
return "symbol" == typeof i ? i : i + "";
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/******************************************************************************
|
|
48
|
-
Copyright (c) Microsoft Corporation.
|
|
49
|
-
|
|
50
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
51
|
-
purpose with or without fee is hereby granted.
|
|
52
|
-
|
|
53
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
54
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
55
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
56
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
57
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
58
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
59
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
60
|
-
***************************************************************************** */
|
|
61
|
-
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
function __rest(s, e) {
|
|
65
|
-
var t = {};
|
|
66
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
67
|
-
t[p] = s[p];
|
|
68
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
69
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
70
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
71
|
-
t[p[i]] = s[p[i]];
|
|
72
|
-
}
|
|
73
|
-
return t;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
77
|
-
var e = new Error(message);
|
|
78
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
function getDefaultExportFromCjs (x) {
|
|
82
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
var classnames = {exports: {}};
|
|
86
|
-
|
|
1
|
+
import e,{createContext as t,useRef as n,useEffect as i,useCallback as r,useState as o,useContext as a,cloneElement as s,forwardRef as l,createElement as c,useId as u,useMemo as d}from"react";function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,w(i.key),i)}}function m(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function _(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function S(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function k(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var j,E={exports:{}};
|
|
87
2
|
/*!
|
|
88
3
|
Copyright (c) 2018 Jed Watson.
|
|
89
4
|
Licensed under the MIT License (MIT), see
|
|
90
5
|
http://jedwatson.github.io/classnames
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
var hasRequiredClassnames;
|
|
94
|
-
|
|
95
|
-
function requireClassnames () {
|
|
96
|
-
if (hasRequiredClassnames) return classnames.exports;
|
|
97
|
-
hasRequiredClassnames = 1;
|
|
98
|
-
(function (module) {
|
|
99
|
-
/* global define */
|
|
100
|
-
|
|
101
|
-
(function () {
|
|
102
|
-
|
|
103
|
-
var hasOwn = {}.hasOwnProperty;
|
|
104
|
-
|
|
105
|
-
function classNames () {
|
|
106
|
-
var classes = '';
|
|
107
|
-
|
|
108
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
109
|
-
var arg = arguments[i];
|
|
110
|
-
if (arg) {
|
|
111
|
-
classes = appendClass(classes, parseValue(arg));
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return classes;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function parseValue (arg) {
|
|
119
|
-
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
120
|
-
return arg;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (typeof arg !== 'object') {
|
|
124
|
-
return '';
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (Array.isArray(arg)) {
|
|
128
|
-
return classNames.apply(null, arg);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
132
|
-
return arg.toString();
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
var classes = '';
|
|
136
|
-
|
|
137
|
-
for (var key in arg) {
|
|
138
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
139
|
-
classes = appendClass(classes, key);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
return classes;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
function appendClass (value, newClass) {
|
|
147
|
-
if (!newClass) {
|
|
148
|
-
return value;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
if (value) {
|
|
152
|
-
return value + ' ' + newClass;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
return value + newClass;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
if (module.exports) {
|
|
159
|
-
classNames.default = classNames;
|
|
160
|
-
module.exports = classNames;
|
|
161
|
-
} else {
|
|
162
|
-
window.classNames = classNames;
|
|
163
|
-
}
|
|
164
|
-
}());
|
|
165
|
-
} (classnames));
|
|
166
|
-
return classnames.exports;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
var classnamesExports = requireClassnames();
|
|
170
|
-
var cx = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
171
|
-
|
|
172
|
-
var jsxRuntime = {exports: {}};
|
|
173
|
-
|
|
174
|
-
var reactJsxRuntime_production = {};
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @license React
|
|
178
|
-
* react-jsx-runtime.production.js
|
|
179
|
-
*
|
|
180
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
181
|
-
*
|
|
182
|
-
* This source code is licensed under the MIT license found in the
|
|
183
|
-
* LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/
|
|
185
|
-
|
|
186
|
-
var hasRequiredReactJsxRuntime_production;
|
|
187
|
-
|
|
188
|
-
function requireReactJsxRuntime_production () {
|
|
189
|
-
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
190
|
-
hasRequiredReactJsxRuntime_production = 1;
|
|
191
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
192
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
193
|
-
function jsxProd(type, config, maybeKey) {
|
|
194
|
-
var key = null;
|
|
195
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
196
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
197
|
-
if ("key" in config) {
|
|
198
|
-
maybeKey = {};
|
|
199
|
-
for (var propName in config)
|
|
200
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
201
|
-
} else maybeKey = config;
|
|
202
|
-
config = maybeKey.ref;
|
|
203
|
-
return {
|
|
204
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
205
|
-
type: type,
|
|
206
|
-
key: key,
|
|
207
|
-
ref: void 0 !== config ? config : null,
|
|
208
|
-
props: maybeKey
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
212
|
-
reactJsxRuntime_production.jsx = jsxProd;
|
|
213
|
-
reactJsxRuntime_production.jsxs = jsxProd;
|
|
214
|
-
return reactJsxRuntime_production;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
var reactJsxRuntime_development = {};
|
|
218
|
-
|
|
6
|
+
*/var O,A=k((j||(j=1,O=E,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,n(r)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var r="";for(var o in n)e.call(n,o)&&n[o]&&(r=i(r,o));return r}function i(e,t){return t?e?e+" "+t:e+t:e}O.exports?(t.default=t,O.exports=t):window.classNames=t}()),E.exports)),C={TAB:["Tab"],ESC:["Esc","Escape"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},T=function(){return m(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};p(this,e),this.elems=t,this.config=n,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(C.ARROWUP.includes(e.key)||C.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(C.ARROWLEFT.includes(e.key)||C.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((C.ARROWDOWN.includes(e.key)||C.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(C.ARROWUP.includes(e.key)||C.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),C.TAB.includes(e.key)&&this.destroy())}}])}(),D={activeClass:"is-active",settingsAttr:"data-toggle"},L=function(){function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},D),n),this.settings=[],this.targets=[],this.handleClick=this.handleClick.bind(this),this.element.ODS_Toggle=this,this.init(),this}return m(e,[{key:"doToggle",value:function(e){var t=e.dispatchEvent,n=void 0===t||t,i=e.element,r=e.attribute,o=e.value,a=e.action,s=Object.assign({},e),l={trigger:this.element,element:i},c=r,u=i,d=o;"icon"===c&&(c="xlink:href",u=i.querySelector("use")),"text"===c&&(u=i.querySelector("[data-toggle-text-target]")||i),void 0===d&&(d=!1);var h=I({element:u,attribute:c,action:a,value:d,dispatchEvent:n,eventDetail:l});return null!==h&&(s.value=h),s}},{key:"init",value:function(){return this.settings=this.parseSettings(),this.targets=this.setupTargets(),this.element.addEventListener("click",this.handleClick),this.targets}},{key:"handleClick",value:function(){var e=this;this.targets=this.targets.map(function(t){return e.doToggle(t)}),this.element.dispatchEvent(new CustomEvent("toggleTrigger",{bubbles:!0}))}},{key:"destroy",value:function(){this.element.removeEventListener("click",this.handleClick),this.settings=[],this.targets=[]}},{key:"update",value:function(){this.removeNonExistentTargets(),this.addNewTargets()}},{key:"parseSettings",value:function(){var e=this.element.getAttribute(this.config.settingsAttr),t=this.element.getAttribute("aria-controls"),n=[];try{e&&(n=JSON.parse(e))}catch(e){console.warn("Invalid JSON in data-toggle attribute",e)}if(t){var i=this.element.getAttribute("aria-expanded");n=[].concat(x(i?[{target:"self",attribute:"aria-expanded"}]:[]),[{target:t.split(" ").map(function(e){return"#".concat(e)}).join(","),attribute:"hidden"}],x(Array.isArray(n)?n:[]))}return n}},{key:"setupTargets",value:function(){var t=this.element;return this.settings.reduce(function(n,i){return i&&i.target?[].concat(x(n),x(i.target.split(",").reduce(function(n,r){return[].concat(x(n),x(e.getTargetElementsFromString({target:r,trigger:t}).map(function(e){return Object.assign(Object.assign({},i),{element:e})})))},[]))):n},[])}},{key:"removeNonExistentTargets",value:function(){this.targets=this.targets.filter(function(e){return document.contains(e.element)})}},{key:"addNewTargets",value:function(){var e=this,t=this.setupTargets().filter(function(t){return!e.targets.find(function(e){return e.element===t.element&&e.action===t.action})});this.targets=[].concat(x(this.targets),x(t))}}],[{key:"getTargetElementsFromString",value:function(e){var t=e.target,n=e.trigger,i=t.trim();return"self"===i?[n]:"parent"===i?[n.parentNode]:"previous"===i?[n.previousElementSibling]:"next"===i?[n.nextElementSibling]:"string"==typeof i?Array.from(document.querySelectorAll(i)):[]}},{key:"getInstance",value:function(e){return e&&e.ODS_Toggle?e.ODS_Toggle:null}}])}();function I(e){var t=e.element,n=e.attribute,i=e.action,r=e.value,o=e.dispatchEvent,a=void 0===o||o,s=e.eventDetail,l=null;if(!(t&&t instanceof Element))return l;if("focus"===i&&setTimeout(function(){return t.focus()},20),"click"===i&&t.click(),"class"===n&&"string"==typeof r&&(t.classList.toggle(r),l=r),"text"===n){var c=t.textContent;t.textContent=(null==r?void 0:r.toString())||"",l=c}return"class"!==n&&"text"!==n&&void 0===i&&(l=t.getAttribute(n),"hidden"===n?t.hasAttribute(n)?t.removeAttribute(n):t.setAttribute(n,""):r?t.setAttribute(n,String(r)):t.setAttribute(n,String(!("true"===l)))),a&&t.dispatchEvent(new CustomEvent("toggle",{detail:s,bubbles:!0})),l}var P={buttonSelector:"[data-accordion-toggle]"},R=function(){return m(function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},P),n),this.onFocus=this.onFocus.bind(this),this.onClick=this.onClick.bind(this),this.element.ODS_Accordion=this,this.init(),this},[{key:"onFocus",value:function(e){this.rovingTabindex.isActive||this.rovingTabindex.init();var t=e.currentTarget;window.location.hash.substring(1)===t.getAttribute("id")&&"false"===t.getAttribute("aria-expanded")&&t.click()}},{key:"init",value:function(){var e=this;this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.rovingTabindex?this.rovingTabindex.update(this.buttons):this.rovingTabindex=new T(this.buttons,{direction:"vertical"}),this.buttons.forEach(function(t){t.addEventListener("focus",e.onFocus),t.getAttribute("data-toggle")||t.addEventListener("click",e.onClick)})}},{key:"onClick",value:function(e){var t=e.currentTarget,n=this.element.querySelector("#".concat(t.getAttribute("aria-controls")));I({element:t,attribute:"aria-expanded"}),I({element:n,attribute:"hidden"})}},{key:"destroy",value:function(){var e=this;this.rovingTabindex.destroy(),this.buttons.forEach(function(t){t.removeEventListener("focus",e.onFocus),t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Accordion?e.ODS_Accordion:null}}])}(),M=t(null),z=0;function F(e){return"id".concat("","-").concat(z+=1)}var B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n(null),a=n(t);i(function(){a.current=null!=t?t:{}},[t]);var s=r(function(t){var n,i,r=a.current;t&&(null===o.current?o.current=new e(t,r):null===(i=(n=o.current).update)||void 0===i||i.call(n,r))},[e]);return i(function(){return function(){var e,t;o.current&&(null===(t=(e=o.current).destroy)||void 0===t||t.call(e),o.current=null)}},[]),[s,o]},U={current:0};var V,H={exports:{}},W={};var q,$,G={};
|
|
219
7
|
/**
|
|
220
8
|
* @license React
|
|
221
9
|
* react-jsx-runtime.development.js
|
|
@@ -224,393 +12,26 @@ var reactJsxRuntime_development = {};
|
|
|
224
12
|
*
|
|
225
13
|
* This source code is licensed under the MIT license found in the
|
|
226
14
|
* LICENSE file in the root directory of this source tree.
|
|
227
|
-
*/
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
if ("string" === typeof type) return type;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
case REACT_PROFILER_TYPE:
|
|
247
|
-
|
|
248
|
-
case REACT_STRICT_MODE_TYPE:
|
|
249
|
-
return "StrictMode";
|
|
250
|
-
case REACT_SUSPENSE_TYPE:
|
|
251
|
-
return "Suspense";
|
|
252
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
253
|
-
return "SuspenseList";
|
|
254
|
-
case REACT_ACTIVITY_TYPE:
|
|
255
|
-
return "Activity";
|
|
256
|
-
}
|
|
257
|
-
if ("object" === typeof type)
|
|
258
|
-
switch (
|
|
259
|
-
("number" === typeof type.tag &&
|
|
260
|
-
console.error(
|
|
261
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
262
|
-
),
|
|
263
|
-
type.$$typeof)
|
|
264
|
-
) {
|
|
265
|
-
case REACT_PORTAL_TYPE:
|
|
266
|
-
return "Portal";
|
|
267
|
-
case REACT_CONTEXT_TYPE:
|
|
268
|
-
return (type.displayName || "Context") + ".Provider";
|
|
269
|
-
case REACT_CONSUMER_TYPE:
|
|
270
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
271
|
-
case REACT_FORWARD_REF_TYPE:
|
|
272
|
-
var innerType = type.render;
|
|
273
|
-
type = type.displayName;
|
|
274
|
-
type ||
|
|
275
|
-
((type = innerType.displayName || innerType.name || ""),
|
|
276
|
-
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
277
|
-
return type;
|
|
278
|
-
case REACT_MEMO_TYPE:
|
|
279
|
-
return (
|
|
280
|
-
(innerType = type.displayName || null),
|
|
281
|
-
null !== innerType
|
|
282
|
-
? innerType
|
|
283
|
-
: getComponentNameFromType(type.type) || "Memo"
|
|
284
|
-
);
|
|
285
|
-
case REACT_LAZY_TYPE:
|
|
286
|
-
innerType = type._payload;
|
|
287
|
-
type = type._init;
|
|
288
|
-
try {
|
|
289
|
-
return getComponentNameFromType(type(innerType));
|
|
290
|
-
} catch (x) {}
|
|
291
|
-
}
|
|
292
|
-
return null;
|
|
293
|
-
}
|
|
294
|
-
function testStringCoercion(value) {
|
|
295
|
-
return "" + value;
|
|
296
|
-
}
|
|
297
|
-
function checkKeyStringCoercion(value) {
|
|
298
|
-
try {
|
|
299
|
-
testStringCoercion(value);
|
|
300
|
-
var JSCompiler_inline_result = !1;
|
|
301
|
-
} catch (e) {
|
|
302
|
-
JSCompiler_inline_result = true;
|
|
303
|
-
}
|
|
304
|
-
if (JSCompiler_inline_result) {
|
|
305
|
-
JSCompiler_inline_result = console;
|
|
306
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
307
|
-
var JSCompiler_inline_result$jscomp$0 =
|
|
308
|
-
("function" === typeof Symbol &&
|
|
309
|
-
Symbol.toStringTag &&
|
|
310
|
-
value[Symbol.toStringTag]) ||
|
|
311
|
-
value.constructor.name ||
|
|
312
|
-
"Object";
|
|
313
|
-
JSCompiler_temp_const.call(
|
|
314
|
-
JSCompiler_inline_result,
|
|
315
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
316
|
-
JSCompiler_inline_result$jscomp$0
|
|
317
|
-
);
|
|
318
|
-
return testStringCoercion(value);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
function getTaskName(type) {
|
|
322
|
-
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
323
|
-
if (
|
|
324
|
-
"object" === typeof type &&
|
|
325
|
-
null !== type &&
|
|
326
|
-
type.$$typeof === REACT_LAZY_TYPE
|
|
327
|
-
)
|
|
328
|
-
return "<...>";
|
|
329
|
-
try {
|
|
330
|
-
var name = getComponentNameFromType(type);
|
|
331
|
-
return name ? "<" + name + ">" : "<...>";
|
|
332
|
-
} catch (x) {
|
|
333
|
-
return "<...>";
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
function getOwner() {
|
|
337
|
-
var dispatcher = ReactSharedInternals.A;
|
|
338
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
339
|
-
}
|
|
340
|
-
function UnknownOwner() {
|
|
341
|
-
return Error("react-stack-top-frame");
|
|
342
|
-
}
|
|
343
|
-
function hasValidKey(config) {
|
|
344
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
345
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
346
|
-
if (getter && getter.isReactWarning) return false;
|
|
347
|
-
}
|
|
348
|
-
return void 0 !== config.key;
|
|
349
|
-
}
|
|
350
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
351
|
-
function warnAboutAccessingKey() {
|
|
352
|
-
specialPropKeyWarningShown ||
|
|
353
|
-
((specialPropKeyWarningShown = true),
|
|
354
|
-
console.error(
|
|
355
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
356
|
-
displayName
|
|
357
|
-
));
|
|
358
|
-
}
|
|
359
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
360
|
-
Object.defineProperty(props, "key", {
|
|
361
|
-
get: warnAboutAccessingKey,
|
|
362
|
-
configurable: true
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
366
|
-
var componentName = getComponentNameFromType(this.type);
|
|
367
|
-
didWarnAboutElementRef[componentName] ||
|
|
368
|
-
((didWarnAboutElementRef[componentName] = true),
|
|
369
|
-
console.error(
|
|
370
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
371
|
-
));
|
|
372
|
-
componentName = this.props.ref;
|
|
373
|
-
return void 0 !== componentName ? componentName : null;
|
|
374
|
-
}
|
|
375
|
-
function ReactElement(
|
|
376
|
-
type,
|
|
377
|
-
key,
|
|
378
|
-
self,
|
|
379
|
-
source,
|
|
380
|
-
owner,
|
|
381
|
-
props,
|
|
382
|
-
debugStack,
|
|
383
|
-
debugTask
|
|
384
|
-
) {
|
|
385
|
-
self = props.ref;
|
|
386
|
-
type = {
|
|
387
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
388
|
-
type: type,
|
|
389
|
-
key: key,
|
|
390
|
-
props: props,
|
|
391
|
-
_owner: owner
|
|
392
|
-
};
|
|
393
|
-
null !== (void 0 !== self ? self : null)
|
|
394
|
-
? Object.defineProperty(type, "ref", {
|
|
395
|
-
enumerable: false,
|
|
396
|
-
get: elementRefGetterWithDeprecationWarning
|
|
397
|
-
})
|
|
398
|
-
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
399
|
-
type._store = {};
|
|
400
|
-
Object.defineProperty(type._store, "validated", {
|
|
401
|
-
configurable: false,
|
|
402
|
-
enumerable: false,
|
|
403
|
-
writable: true,
|
|
404
|
-
value: 0
|
|
405
|
-
});
|
|
406
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
407
|
-
configurable: false,
|
|
408
|
-
enumerable: false,
|
|
409
|
-
writable: true,
|
|
410
|
-
value: null
|
|
411
|
-
});
|
|
412
|
-
Object.defineProperty(type, "_debugStack", {
|
|
413
|
-
configurable: false,
|
|
414
|
-
enumerable: false,
|
|
415
|
-
writable: true,
|
|
416
|
-
value: debugStack
|
|
417
|
-
});
|
|
418
|
-
Object.defineProperty(type, "_debugTask", {
|
|
419
|
-
configurable: false,
|
|
420
|
-
enumerable: false,
|
|
421
|
-
writable: true,
|
|
422
|
-
value: debugTask
|
|
423
|
-
});
|
|
424
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
425
|
-
return type;
|
|
426
|
-
}
|
|
427
|
-
function jsxDEVImpl(
|
|
428
|
-
type,
|
|
429
|
-
config,
|
|
430
|
-
maybeKey,
|
|
431
|
-
isStaticChildren,
|
|
432
|
-
source,
|
|
433
|
-
self,
|
|
434
|
-
debugStack,
|
|
435
|
-
debugTask
|
|
436
|
-
) {
|
|
437
|
-
var children = config.children;
|
|
438
|
-
if (void 0 !== children)
|
|
439
|
-
if (isStaticChildren)
|
|
440
|
-
if (isArrayImpl(children)) {
|
|
441
|
-
for (
|
|
442
|
-
isStaticChildren = 0;
|
|
443
|
-
isStaticChildren < children.length;
|
|
444
|
-
isStaticChildren++
|
|
445
|
-
)
|
|
446
|
-
validateChildKeys(children[isStaticChildren]);
|
|
447
|
-
Object.freeze && Object.freeze(children);
|
|
448
|
-
} else
|
|
449
|
-
console.error(
|
|
450
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
451
|
-
);
|
|
452
|
-
else validateChildKeys(children);
|
|
453
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
454
|
-
children = getComponentNameFromType(type);
|
|
455
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
456
|
-
return "key" !== k;
|
|
457
|
-
});
|
|
458
|
-
isStaticChildren =
|
|
459
|
-
0 < keys.length
|
|
460
|
-
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
461
|
-
: "{key: someKey}";
|
|
462
|
-
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
463
|
-
((keys =
|
|
464
|
-
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
465
|
-
console.error(
|
|
466
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
467
|
-
isStaticChildren,
|
|
468
|
-
children,
|
|
469
|
-
keys,
|
|
470
|
-
children
|
|
471
|
-
),
|
|
472
|
-
(didWarnAboutKeySpread[children + isStaticChildren] = true));
|
|
473
|
-
}
|
|
474
|
-
children = null;
|
|
475
|
-
void 0 !== maybeKey &&
|
|
476
|
-
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
477
|
-
hasValidKey(config) &&
|
|
478
|
-
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
479
|
-
if ("key" in config) {
|
|
480
|
-
maybeKey = {};
|
|
481
|
-
for (var propName in config)
|
|
482
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
483
|
-
} else maybeKey = config;
|
|
484
|
-
children &&
|
|
485
|
-
defineKeyPropWarningGetter(
|
|
486
|
-
maybeKey,
|
|
487
|
-
"function" === typeof type
|
|
488
|
-
? type.displayName || type.name || "Unknown"
|
|
489
|
-
: type
|
|
490
|
-
);
|
|
491
|
-
return ReactElement(
|
|
492
|
-
type,
|
|
493
|
-
children,
|
|
494
|
-
self,
|
|
495
|
-
source,
|
|
496
|
-
getOwner(),
|
|
497
|
-
maybeKey,
|
|
498
|
-
debugStack,
|
|
499
|
-
debugTask
|
|
500
|
-
);
|
|
501
|
-
}
|
|
502
|
-
function validateChildKeys(node) {
|
|
503
|
-
"object" === typeof node &&
|
|
504
|
-
null !== node &&
|
|
505
|
-
node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
506
|
-
node._store &&
|
|
507
|
-
(node._store.validated = 1);
|
|
508
|
-
}
|
|
509
|
-
var React = require$$0,
|
|
510
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
511
|
-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
512
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
513
|
-
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
514
|
-
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
515
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
516
|
-
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
517
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
518
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
519
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
520
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
521
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
522
|
-
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
523
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
524
|
-
ReactSharedInternals =
|
|
525
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
526
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
527
|
-
isArrayImpl = Array.isArray,
|
|
528
|
-
createTask = console.createTask
|
|
529
|
-
? console.createTask
|
|
530
|
-
: function () {
|
|
531
|
-
return null;
|
|
532
|
-
};
|
|
533
|
-
React = {
|
|
534
|
-
"react-stack-bottom-frame": function (callStackForError) {
|
|
535
|
-
return callStackForError();
|
|
536
|
-
}
|
|
537
|
-
};
|
|
538
|
-
var specialPropKeyWarningShown;
|
|
539
|
-
var didWarnAboutElementRef = {};
|
|
540
|
-
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
|
541
|
-
React,
|
|
542
|
-
UnknownOwner
|
|
543
|
-
)();
|
|
544
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
545
|
-
var didWarnAboutKeySpread = {};
|
|
546
|
-
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
547
|
-
reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
|
|
548
|
-
var trackActualOwner =
|
|
549
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
550
|
-
return jsxDEVImpl(
|
|
551
|
-
type,
|
|
552
|
-
config,
|
|
553
|
-
maybeKey,
|
|
554
|
-
false,
|
|
555
|
-
source,
|
|
556
|
-
self,
|
|
557
|
-
trackActualOwner
|
|
558
|
-
? Error("react-stack-top-frame")
|
|
559
|
-
: unknownOwnerDebugStack,
|
|
560
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
561
|
-
);
|
|
562
|
-
};
|
|
563
|
-
reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
|
|
564
|
-
var trackActualOwner =
|
|
565
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
566
|
-
return jsxDEVImpl(
|
|
567
|
-
type,
|
|
568
|
-
config,
|
|
569
|
-
maybeKey,
|
|
570
|
-
true,
|
|
571
|
-
source,
|
|
572
|
-
self,
|
|
573
|
-
trackActualOwner
|
|
574
|
-
? Error("react-stack-top-frame")
|
|
575
|
-
: unknownOwnerDebugStack,
|
|
576
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
577
|
-
);
|
|
578
|
-
};
|
|
579
|
-
})();
|
|
580
|
-
return reactJsxRuntime_development;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
var hasRequiredJsxRuntime;
|
|
584
|
-
|
|
585
|
-
function requireJsxRuntime () {
|
|
586
|
-
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
587
|
-
hasRequiredJsxRuntime = 1;
|
|
588
|
-
|
|
589
|
-
if (process.env.NODE_ENV === 'production') {
|
|
590
|
-
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
591
|
-
} else {
|
|
592
|
-
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
593
|
-
}
|
|
594
|
-
return jsxRuntime.exports;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
var jsxRuntimeExports = requireJsxRuntime();
|
|
598
|
-
|
|
599
|
-
var CLASS_ROOT = "badge";
|
|
600
|
-
var Badge = function Badge(_a) {
|
|
601
|
-
var color = _a.color,
|
|
602
|
-
isRound = _a.isRound,
|
|
603
|
-
className = _a.className,
|
|
604
|
-
children = _a.children,
|
|
605
|
-
other = __rest(_a, ["color", "isRound", "className", "children"]);
|
|
606
|
-
var classes = cx(CLASS_ROOT, className, _defineProperty(_defineProperty({}, "badge--".concat(color), color), "badge--round", isRound));
|
|
607
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx("span", _objectSpread2(_objectSpread2({
|
|
608
|
-
className: classes
|
|
609
|
-
}, other), {}, {
|
|
610
|
-
children: children
|
|
611
|
-
}));
|
|
612
|
-
};
|
|
613
|
-
Badge.displayName = "Badge";
|
|
614
|
-
|
|
615
|
-
export { Badge };
|
|
15
|
+
*/function K(){return q||(q=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case m:return"Profiler";case f:return"StrictMode";case y:return"Suspense";case x:return"SuspenseList";case _:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case h:return"Portal";case g:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case b:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case N:n=e._payload,e=e._init;try{return t(e(n))}catch(e){}}return null}function n(e){return""+e}function i(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var i=(t=console).error,r="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",r),n(e)}}function r(e){if(e===p)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===N)return"<...>";try{var n=t(e);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function o(){return Error("react-stack-top-frame")}function a(){var e=t(this.type);return A[e]||(A[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,n,r,o,s,u,h,p){var f,m=n.children;if(void 0!==m)if(o)if(E(m)){for(o=0;o<m.length;o++)l(m[o]);Object.freeze&&Object.freeze(m)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(m);if(j.call(n,"key")){m=t(e);var v=Object.keys(n).filter(function(e){return"key"!==e});o=0<v.length?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}",D[m+o]||(v=0<v.length?"{"+v.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',o,m,v,m),D[m+o]=!0)}if(m=null,void 0!==r&&(i(r),m=""+r),function(e){if(j.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(i(n.key),m=""+n.key),"key"in n)for(var g in r={},n)"key"!==g&&(r[g]=n[g]);else r=n;return m&&function(e,t){function n(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(r,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,n,i,r,o,s,l){return n=o.ref,e={$$typeof:d,type:e,key:t,props:o,_owner:r},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,m,u,0,null===(f=k.A)?null:f.getOwner(),r,h,p)}function l(e){"object"==typeof e&&null!==e&&e.$$typeof===d&&e._store&&(e._store.validated=1)}var c,u=e,d=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),k=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,E=Array.isArray,O=console.createTask?console.createTask:function(){return null},A={},C=(u={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(u,o)(),T=O(r(o)),D={};G.Fragment=p,G.jsx=function(e,t,n,i,o){var a=1e4>k.recentlyCreatedOwnerStacks++;return s(e,t,n,!1,0,o,a?Error("react-stack-top-frame"):C,a?O(r(e)):T)},G.jsxs=function(e,t,n,i,o){var a=1e4>k.recentlyCreatedOwnerStacks++;return s(e,t,n,!0,0,o,a?Error("react-stack-top-frame"):C,a?O(r(e)):T)}}()),G}function Y(){return $||($=1,"production"===process.env.NODE_ENV?H.exports=function(){if(V)return W;V=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,i){var r=null;if(void 0!==i&&(r=""+i),void 0!==n.key&&(r=""+n.key),"key"in n)for(var o in i={},n)"key"!==o&&(i[o]=n[o]);else i=n;return n=i.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:i}}return W.Fragment=t,W.jsx=n,W.jsxs=n,W}():H.exports=K()),H.exports}var X=Y(),J="accordion",Q=function(e){var t=e.className,n=e.children,i=e.headingLevel,r=void 0===i?3:i,o=e.size,a=e.isEnclosed,s=S(e,["className","children","headingLevel","size","isEnclosed"]),l=y(B(R),1)[0],c=A(J,v(v({},"".concat(J,"--").concat(o),o),"".concat(J,"--enclosed"),a),t);return X.jsx(M.Provider,{value:r,children:X.jsx("ul",b(b({className:c,ref:l,"data-accordion":"true"},s),{},{children:n}))})};Q.displayName="Accordion";var Z=e.createContext("/sprite.svg"),ee="icon",te=function(e){var t=e.className,n=e.alt,i=e.color,r=e.name,o=e.size,s=e.spritePath,l=void 0===s?"/sprite.svg":s,c=S(e,["className","alt","color","name","size","spritePath"]),u=a(Z),d=A(ee,v(v({},"".concat(ee,"--").concat(o),o),"".concat(ee,"--").concat(i),i),t);return X.jsxs("svg",b(b({className:d,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},c),{},{children:[void 0!==n&&n.length>0&&X.jsx("title",{children:n}),X.jsx("use",{xlinkHref:"/sprite.svg"!==l||void 0===u?"".concat(l,"#").concat(r):"".concat(u,"#").concat(r)})]}))};te.displayName="Icon";var ne="accordion",ie=function(t){var n=t.className,i=t.title,r=t.id,o=t.isActive,a=S(t,["className","title","id","isActive"]),s=e.useContext(M),l="h".concat(s||3);return X.jsx(l,{className:A("".concat(ne,"__header"),n),children:X.jsxs("button",b(b({type:"button","aria-expanded":o,className:"".concat(ne,"__button"),"aria-controls":"".concat(r,"-section"),id:r,"data-accordion-toggle":!0},a),{},{children:[X.jsx("span",{className:"accordion__title",children:i}),X.jsx(te,{className:"".concat(ne,"__icon"),name:"chevron-down",size:"medium"})]}))})};ie.displayName="AccordionHeader";var re=function(e){var t=e.id,n=e.isActive,i=e.title,r=e.renderHeader,o=e.children,a=e.className,s=S(e,["id","isActive","title","renderHeader","children","className"]),l=A("accordion__item",a),c=t||F();return X.jsxs("li",{className:l,children:[r?r(i,c,n||!1):X.jsx(ie,b({id:c,isActive:n,title:i},s)),X.jsx("div",b(b({id:"".concat(c,"-section"),"aria-labelledby":c,className:A("accordion__body",{"is-active":n})},n?{}:{hidden:!0}),{},{children:o}))]})};re.displayName="AccordionItem";var oe="buttons",ae=function(e){var t=e.isStackedOnXs,n=e.children,i=e.className,r=S(e,["isStackedOnXs","children","className"]);return X.jsx("div",b(b({className:A(oe,v({},"".concat(oe,"--stack-on-xs"),t),i)},r),{},{children:n}))};ae.displayName="Buttons";var se=function(e){var t=e.condition,n=e.wrapper,i=e.children;return t?s(n,void 0,i):i};se.displayName="ConditionalWrapper";var le={warning:"warning-important",info:"info",danger:"error-severe",success:"checked"},ce="alert",ue=function(t){var n=t.className,i=t.type,r=void 0===i?"info":i,o=t.title,a=t.renderTitle,s=t.description,l=t.headingLevel,c=void 0===l?3:l,u=t.actionButtons,d=t.isFullWidth,h=t.colorScheme,p=t.onClose,f=S(t,["className","type","title","renderTitle","description","headingLevel","actionButtons","isFullWidth","colorScheme","onClose"]),m="h".concat(c),g=A(ce,v(v(v(v({},"".concat(ce,"--").concat(r),r),"".concat(ce,"--full-width"),d),"is-dark","dark"===h),"is-light","light"===h),n),y=a&&a(Object.assign({className:n,type:r,title:o,renderTitle:a,description:s,headingLevel:c,actionButtons:u,isFullWidth:d,colorScheme:h,onClose:p},f))||o&&e.createElement(m,{className:"".concat(ce,"__title")},o);return X.jsxs("div",b(b({className:g},f),{},{children:[X.jsx("div",{className:"".concat(ce,"__icon"),children:X.jsx(te,{name:le[r],color:r,size:"medium"})}),X.jsxs("div",{className:"".concat(ce,"__content"),children:[y,s&&X.jsx(se,{condition:"string"==typeof s,wrapper:X.jsx("p",{}),children:s}),u&&X.jsx(se,{condition:e.Children.count(u)>1,wrapper:X.jsx(ae,{}),children:e.Children.map(u,function(e){return e})})]}),p&&X.jsx("div",{className:"".concat(ce,"__close"),children:X.jsx("button",{onClick:p,children:X.jsx(te,{name:"close",size:"medium"})})})]}))};ue.displayName="Alert";var de="tag",he=e.forwardRef(function(t,n){var i=t.color,r=t.size,o=t.isInverse,a=t.isDisabled,s=t.className,l=t.children,c=t.actionButton,u=S(t,["color","size","isInverse","isDisabled","className","children","actionButton"]),d=A(de,s,v(v({"tag--inverse":o},"tag--".concat(i),i),"tag--".concat(r),r));if("onClick"in t&&t.onClick){var h=u,p=h.onClick,f=S(h,["onClick"]);return X.jsx("button",b(b({type:"button",className:d,onClick:p,disabled:!!a||void 0,"aria-disabled":a?"true":void 0,ref:n},f),{},{children:l}))}if("actionButton"in t&&c){var m=u;return X.jsxs("div",{ref:n,className:"".concat(de,"__wrapper"),children:[X.jsx("span",b(b({className:d,"aria-disabled":a?"true":void 0},m),{},{children:l})),e.isValidElement(c)?e.cloneElement(c,{size:r,isDisabled:a}):c]})}var g=u;return X.jsxs("span",b(b({className:d,ref:n},g),{},{children:[l," ",c]}))});he.displayName="Tag";var pe="".concat(de,"__action"),fe=e.forwardRef(function(e,t){var n=e.className,i=e.onClick,r=e.isDisabled,o=e.iconName,a=e.ariaLabel,s=e.size,l=S(e,["className","onClick","isDisabled","iconName","ariaLabel","size"]),c=A(pe,v({},"".concat(pe,"--").concat(s),s),n);return X.jsx("button",b(b({type:"button",className:c,onClick:i,disabled:!!r||void 0,"aria-disabled":r?"true":void 0,"aria-label":a,ref:t},l),{},{children:X.jsx(te,{size:"large"===s?"medium":"small",name:o})}))});fe.displayName="TagButton";var me="bar",ve=e.forwardRef(function(e,t){var n=e.align,i=e.canWrap,r=void 0===i||i,o=e.isVertical,a=e.space,s=e.tag,l=void 0===s?"div":s,c=e.className,u=e.children,d=S(e,["align","canWrap","isVertical","space","tag","className","children"]),h=A(me,v(v(v(v({},"align-items-".concat(n),n),"".concat(me,"--vertical"),o),"".concat(me,"--nowrap"),!r),"".concat(me,"--space-").concat(a),a),c);return X.jsx(l,b(b({className:h,ref:t},d),{},{children:u}))});ve.displayName="Bar";var ge="bar__item",be=e.forwardRef(function(e,t){var n=e.className,i=e.tag,r=void 0===i?"div":i,o=e.isFilling,a=e.canShrink,s=e.children,l=S(e,["className","tag","isFilling","canShrink","children"]),c=r,u=A(ge,v(v({},"".concat(ge,"--fill"),o),"".concat(ge,"--shrinkable"),a),n);return X.jsx(c,b(b({className:u,ref:t},l),{},{children:s}))});be.displayName="BarItem";var ye=e.forwardRef(function(e,t){var n=e.className,i=e.tag,r=void 0===i?"div":i,o=e.children,a=S(e,["className","tag","children"]),s=A("bar__break",n);return X.jsx(r,b(b({className:s,ref:t},a),{},{children:o}))});ye.displayName="BarBreak";var xe=function(t){var n=t.className,i=t.children,r=S(t,["className","children"]);return e.cloneElement(i,Object.assign(Object.assign(Object.assign({},"object"===N(i.props)&&null!==i.props?i.props:{}),r),{className:A(i.props&&i.props.className,n)}))},we=e.createContext({isIndicating:!1,isActive:!1,setIsActive:function(){},setIsIndicating:function(){}}),Ne=function(e){var t=y(o(!1),2),n=t[0],i=t[1],r=y(o(!1),2),a=r[0],s=r[1];return X.jsx(we.Provider,{value:{isIndicating:n,setIsIndicating:i,isActive:a,setIsActive:s},children:e.children})},_e=function(e){return X.jsx(Ne,{children:X.jsx(xe,b(b({},e),{},{className:"block-action","data-block-action":!0}))})};_e.displayName="BlockAction";var Se=function(e){var t=a(we),n=t.isActive,i=t.setIsActive,r=t.setIsIndicating;return X.jsx(xe,b(b({},e),{},{className:"block-action__control",onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)},onFocus:function(){return r(!0)},onBlur:function(){return r(!1)},onClick:function(){return i(!n)}}))};Se.displayName="BlockActionControl";var ke=function(e){var t=a(we),n=t.isActive,i=t.isIndicating;return X.jsx(xe,b(b({},e),{},{className:A("block-action__indicator",e.className,{"is-indicating":i,"is-active":n})}))};ke.displayName="BlockActionIndicator";var je=function(e){return X.jsx(xe,b(b({},e),{},{className:"block-action__override"}))};function Ee(e){return e?"".concat("".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-").concat(e)):""}function Oe(e,t,n){return Object.keys(t).map(function(i){switch(N(t[i])){case"boolean":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat(Ee(n));case"string":case"number":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat(Ee(t[i])).concat(Ee(n));default:return null}}).join(" ")}function Ae(e,t,n){return["boolean"==typeof t?"".concat(e).concat(Ee(n,"--")):null,null!==t&&"object"===N(t)?Oe(e,t,n):null,v({},"".concat(e,"--").concat(t).concat(Ee(n)),"string"==typeof t||"number"==typeof t)]}je.displayName="BlockActionOverride";var Ce,Te={exports:{}};var De=k((Ce||(Ce=1,Te.exports=function(){var e=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function t(e){return e.split("").reverse().join("")}function n(e,t){return e.substring(0,t.length)===t}function i(e,t){return e.slice(-1*t.length)===t}function r(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function o(e){return"number"==typeof e&&isFinite(e)}function a(e,t){return e=e.toString().split("e"),(+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(t)}function s(e,n,i,r,s,l,c,u,d,h,p,f){var m,v,g,b=f,y="",x="";return l&&(f=l(f)),!!o(f)&&(!1!==e&&0===parseFloat(f.toFixed(e))&&(f=0),f<0&&(m=!0,f=Math.abs(f)),!1!==e&&(f=a(f,e)),-1!==(f=f.toString()).indexOf(".")?(g=(v=f.split("."))[0],i&&(y=i+v[1])):g=f,n&&(g=t(g).match(/.{1,3}/g),g=t(g.join(t(n)))),m&&u&&(x+=u),r&&(x+=r),m&&d&&(x+=d),x+=g,x+=y,s&&(x+=s),h&&(x=h(x,b)),x)}function l(e,t,r,a,s,l,c,u,d,h,p,f){var m,v="";return p&&(f=p(f)),!(!f||"string"!=typeof f)&&(u&&n(f,u)&&(f=f.replace(u,""),m=!0),a&&n(f,a)&&(f=f.replace(a,"")),d&&n(f,d)&&(f=f.replace(d,""),m=!0),s&&i(f,s)&&(f=f.slice(0,-1*s.length)),t&&(f=f.split(t).join("")),r&&(f=f.replace(r,".")),m&&(v+="-"),""!==(v=(v+=f).replace(/[^0-9\.\-.]/g,""))&&(v=Number(v),c&&(v=c(v)),!!o(v)&&v))}function c(t){var n,i,o,a={};for(void 0===t.suffix&&(t.suffix=t.postfix),n=0;n<e.length;n+=1)if(void 0===(o=t[i=e[n]]))"negative"!==i||a.negativeBefore?"mark"===i&&"."!==a.thousand?a[i]=".":a[i]=!1:a[i]="-";else if("decimals"===i){if(!(o>=0&&o<8))throw new Error(i);a[i]=o}else if("encoder"===i||"decoder"===i||"edit"===i||"undo"===i){if("function"!=typeof o)throw new Error(i);a[i]=o}else{if("string"!=typeof o)throw new Error(i);a[i]=o}return r(a,"mark","thousand"),r(a,"prefix","negative"),r(a,"prefix","negativeBefore"),a}function u(t,n,i){var r,o=[];for(r=0;r<e.length;r+=1)o.push(t[e[r]]);return o.push(i),n.apply("",o)}function d(e){if(!(this instanceof d))return new d(e);"object"==typeof e&&(e=c(e),this.to=function(t){return u(e,s,t)},this.from=function(t){return u(e,l,t)})}return d}()),Te.exports));function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ie={decimals:2,mark:",",thousand:" ",suffix:" €"};function Pe(e,t){return De(b(b(b({},Ie),t),e%1==0?{decimals:0}:{})).to(e)}var Re="grid",Me=e.forwardRef(function(e,t){var n=e.className,i=e.hAlign,r=e.vAlign,o=e.tag,a=void 0===o?"div":o,s=e.justifyHeight,l=e.rowGapSize,c=e.columnGapSize,u=S(e,["className","hAlign","vAlign","tag","justifyHeight","rowGapSize","columnGapSize"]),d=A.apply(void 0,[Re,v(v(v(v({},"align-items-".concat(r),r),"justify-content-".concat(i),i),"".concat(Re,"--justify-height"),s),"".concat(Re,"--column-gap-").concat(c),c)].concat(x(Ae("".concat(Re,"-row-gap"),l)),[n])),h=a;return X.jsx(h,b({className:d,ref:t},u))});Me.displayName="Grid";var ze="grid__col",Fe=function(e){var t=e.className,n=e.align,i=e.tag,r=void 0===i?"div":i,o=e.size,a=S(e,["className","align","tag","size"]),s=Ae(ze,o),l=A.apply(void 0,[ze].concat(x(s.filter(Boolean)),[v({},"align-self-".concat(n),n),t])),c=r;return X.jsx(c,b({className:l},a))};Fe.displayName="GridCol";var Be="btn",Ue=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.htmlType,o=void 0===r?"button":r,a=e.href,s=e.isActive,l=e.isDefault,c=e.isDisabled,u=e.colorScheme,d=e.size,h=e.isSquare,p=e.type,f=e.elemRef,m=S(e,["className","children","htmlType","href","isActive","isDefault","isDisabled","colorScheme","size","isSquare","type","elemRef"]),g=A(Be,v(v(v(v(v(v(v({},"".concat(Be,"--square"),h),"".concat(Be,"--").concat(d),d),"".concat(Be,"--").concat(p),p),"".concat(Be,"--default"),l),"is-dark","dark"===u),"is-light","light"===u),"is-active",s),n);if(a){var y=m;return X.jsx("a",b(b({href:a,className:g,"aria-disabled":c?"true":void 0,ref:f||t},y),{},{children:i}))}var x=m;return X.jsx("button",b(b({type:o,className:g,disabled:!!c||void 0,"aria-disabled":c?"true":void 0,ref:f||t},x),{},{children:i}))});Ue.displayName="Button";var Ve=Object.assign(Object.assign({},{xs:"0px",sm:"480px",md:"768px",lg:"992px",xl:"1240px",xxl:"1380px"}),{xxxl:"1920px"}),He=function(e){var t=e.className,n=e.src,i=e.alt,r=S(e,["className","src","alt"]),o=A("img",t);if("object"===N(n)){var a=Object.keys(n).sort(function(e,t){return parseInt(Ve[t])-parseInt(Ve[e])});return X.jsxs("picture",{className:o,children:[a.map(function(e){return"default"!==e&&X.jsx("source",{srcSet:n[e],media:"(min-width: ".concat(Ve[e],")")},e)}),X.jsx("img",b({src:n.default,alt:i},r))]})}return X.jsx("img",b({className:o,src:n,alt:i},r))};He.displayName="Image";var We=l(function(e,t){var n=e.className,i=S(e,["className"]),r=A("container",n);return X.jsx("div",b({className:r,ref:t},i))});We.displayName="Container";var qe="body-banner",$e=function(e){var t=e.className,n=e.colorScheme,i=e.size,r=e.color,o=e.imageUrl,a=e.title,s=e.description,l=e.buttonText,c=A(qe,{"is-dark":"dark"===n,"is-light":"light"===n,"is-small":"small"===i,"is-large":"large"===i,"is-gray":"gray"===r,"is-orange":"orange"===r},t);return X.jsx(We,{children:X.jsxs(Me,{className:c,children:[X.jsxs(Fe,{size:{xs:12,md:"small"===i?12:6},className:"".concat(qe,"__content"),children:["small"===i&&o&&X.jsx("div",{className:"".concat(qe,"__image"),children:X.jsx(He,{src:o||"",alt:"Body Banner"})}),X.jsxs("div",{className:"".concat(qe,"__content-inner ").concat("large"===i?"is-large":""),children:[X.jsxs("div",{children:[X.jsx("h3",{className:"mb-small",children:a}),X.jsx("p",{className:"h6 mb-none fullwidth",children:s})]}),X.jsx("div",{className:"".concat(qe,"__button ").concat("large"===i?"is-large":""),children:X.jsx(Ue,{size:"large",type:"fill",colorScheme:"light"===n?"light":"gray"!==r&&"orange"!==r?"dark":"light",className:"mb-none",children:l})})]})]}),"large"===i&&o&&X.jsx(Fe,{size:{xs:12,md:6},className:"".concat(qe,"__image"),children:X.jsx(He,{src:o||"",alt:"Body Banner",className:"is-large"})})]})})},Ge=function(e){var t=e.className,n=e.isCurrent,i=e.text,r=e.url,o=S(e,["className","isCurrent","text","url"]),a=A("osk-breadcrumbs__item",t);return r?X.jsx("li",{className:a,children:X.jsx("a",b(b(b({href:r,className:"osk-breadcrumbs__link"},n?{"aria-current":"page"}:{}),o),{},{children:i}))}):X.jsx("li",b(b({className:a},o),{},{children:i}))};Ge.displayName="BreadcrumbItem";var Ke="osk-breadcrumbs",Ye=function(e){var t=e.className,n=e.label,i=e.items,r=e.darkMode,o=S(e,["className","label","items","darkMode"]),a=A(Ke,t,{"osk-breadcrumbs--dark":r}),s=x(i).reverse().findIndex(function(e){return!!e.url}),l=-1===s?-1:i.length-1-s;return X.jsx("nav",b(b({"aria-label":n,className:a},o),{},{children:X.jsx("ol",{className:"".concat(Ke,"__container"),children:i.map(function(e,t){return c(Ge,b(b({},e),{},{key:e.text,isCurrent:!!e.url&&t===l}))})})}))};Ye.displayName="Breadcrumbs";var Xe=e.forwardRef(function(e,t){var n=e.iconName,i=e.iconPosition,r=void 0===i?"left":i,o=e.iconClassName,a=e.children,s=e.size,l=e.isSquare,c=S(e,["iconName","iconPosition","iconClassName","children","size","isSquare"]),u=function(e){var t=e.className,i=S(e,["className"]);return X.jsx(te,b({name:n,size:null!=s?s:"medium",className:A(o,t)},i))};return l?X.jsxs(Ue,b(b({size:s,isSquare:!0},c),{},{ref:t,children:[X.jsx(u,{}),X.jsx("span",{className:"visually-hidden",children:a})]})):X.jsxs(Ue,b(b({ref:t,size:s},c),{},{children:["left"===r&&X.jsx(u,{className:"btn__icon-left"}),a,"right"===r&&X.jsx(u,{className:"btn__icon-right"})]}))});Xe.displayName="IconButton";var Je=function(e){return X.jsx(Ue,b({type:"primary"},e))};Je.displayName="ButtonPrimary";var Qe=function(e){return X.jsx(Ue,b({type:"fill"},e))};Qe.displayName="ButtonFill";var Ze=function(e){return X.jsx(Ue,b({type:"ghost"},e))};Ze.displayName="ButtonGhost";var et="carousel",tt="".concat(et,"__viewport-wrapper"),nt="".concat(et,"__viewport"),it="".concat(et,"__blinds"),rt="".concat(et,"__track"),ot="".concat(et,"__slide"),at="".concat(et,"__prev"),st="".concat(et,"__next"),lt="".concat(et,"__pagination"),ct=".".concat(nt),ut=".".concat(rt),dt=".".concat(at),ht=".".concat(st),pt=".".concat(lt),ft=ot,mt=function(e){var t=e.className,n=e.children,i=S(e,["className","children"]),r=A(ft,t);return X.jsx("div",b(b({className:r},i),{},{children:n}))};mt.displayName="CarouselItem";var vt,gt={exports:{}};
|
|
16
|
+
/* @preserve
|
|
17
|
+
_____ __ _ __ _
|
|
18
|
+
/ ___// /(_)___/ /___ ____ (_)___
|
|
19
|
+
/ (_ // // // _ // -_)/ __/_ / /(_-<
|
|
20
|
+
\___//_//_/ \_,_/ \__//_/ (_)__/ //___/
|
|
21
|
+
|___/
|
|
22
|
+
|
|
23
|
+
Version: 1.7.4
|
|
24
|
+
Author: Nick Piscitelli (pickykneee)
|
|
25
|
+
Website: https://nickpiscitelli.com
|
|
26
|
+
Documentation: http://nickpiscitelli.github.io/Glider.js
|
|
27
|
+
License: MIT License
|
|
28
|
+
Release Date: October 25th, 2018
|
|
29
|
+
|
|
30
|
+
*/var bt=(vt||(vt=1,gt.exports=function(){var e="undefined"!=typeof window?window:this,t=e.Glider=function(t,n){var i=this;if(t._glider)return t._glider;if(i.ele=t,i.ele._glider=i,i.opt=Object.assign({},{slidesToScroll:1,slidesToShow:1,resizeLock:!0,duration:.5,easing:function(e,t,n,i,r){return i*(t/=r)*t+n},classes:{glider:"glider",track:"glider-track",slide:"glider-slide",drag:"drag",draggable:"draggable",disabled:"disabled",active:"active",visible:"visible",dot:"glider-dot",dots:"glider-dots"}},n),i.animate_id=i.page=i.slide=0,i.arrows={},i._opt=i.opt,i.opt.skipTrack)i.track=i.ele.children[0];else for(i.track=document.createElement("div"),i.ele.appendChild(i.track);1!==i.ele.children.length;)i.track.appendChild(i.ele.children[0]);i.ele.classList.add(i.opt.classes.glider),i.track.classList.add(i.opt.classes.track),i.init(),i.resize=i.init.bind(i,!0),i.event(i.ele,"add",{scroll:i.updateControls.bind(i)}),i.event(e,"add",{resize:i.resize})},n=t.prototype;return n.init=function(e,t){var n=this,i=0,r=0;n.slides=n.track.children,[].forEach.call(n.slides,function(e,t){e.classList.add("glider-slide"),e.setAttribute("data-gslide",t)}),n.containerWidth=n.ele.clientWidth;var o=n.settingsBreakpoint();if(t||(t=o),"auto"===n.opt.slidesToShow||void 0!==n.opt._autoSlide){var a=n.containerWidth/n.opt.itemWidth;n.opt._autoSlide=n.opt.slidesToShow=n.opt.exactWidth?a:Math.max(1,Math.floor(a))}"auto"===n.opt.slidesToScroll&&(n.opt.slidesToScroll=Math.floor(n.opt.slidesToShow)),n.itemWidth=n.opt.exactWidth?n.opt.itemWidth:n.containerWidth/n.opt.slidesToShow,[].forEach.call(n.slides,function(e){e.style.height="auto",e.style.width=n.itemWidth+"px",i+=n.itemWidth,r=Math.max(e.offsetHeight,r)}),n.track.style.width=i+"px",n.trackWidth=i,n.isDrag=!1,n.preventClick=!1,n.opt.resizeLock&&n.scrollTo(n.slide*n.itemWidth,0),(o||t)&&(n.bindArrows(),n.buildDots(),n.bindDrag()),n.updateControls(),n.emit(e?"refresh":"loaded")},n.bindDrag=function(){var e=this;e.mouse=e.mouse||e.handleMouse.bind(e);var t=function(){e.mouseDown=void 0,e.ele.classList.remove(e.opt.classes.drag),e.isDrag&&(e.preventClick=!0),e.isDrag=!1},n={mouseup:t,mouseleave:t,mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.mouseDown=t.clientX,e.ele.classList.add(e.opt.classes.drag)},mousemove:e.mouse,click:function(t){e.preventClick&&(t.preventDefault(),t.stopPropagation()),e.preventClick=!1}};e.ele.classList.toggle(e.opt.classes.draggable,!0===e.opt.draggable),e.event(e.ele,"remove",n),e.opt.draggable&&e.event(e.ele,"add",n)},n.buildDots=function(){var e=this;if(e.opt.dots){if("string"==typeof e.opt.dots?e.dots=document.querySelector(e.opt.dots):e.dots=e.opt.dots,e.dots){e.dots.innerHTML="",e.dots.classList.add(e.opt.classes.dots);for(var t=0;t<Math.ceil(e.slides.length/Math.floor(e.opt.slidesToShow));++t){var n=document.createElement("button");n.dataset.index=t,n.setAttribute("aria-label","Page "+(t+1)),n.setAttribute("role","tab"),n.className=e.opt.classes.dot+" "+(t?"":e.opt.classes.active),e.event(n,"add",{click:e.scrollItem.bind(e,t,!0)}),e.dots.appendChild(n)}}}else e.dots&&(e.dots.innerHTML="")},n.bindArrows=function(){var e=this;e.opt.arrows?["prev","next"].forEach(function(t){var n=e.opt.arrows[t];n&&("string"==typeof n&&(n=document.querySelector(n)),n&&(n._func=n._func||e.scrollItem.bind(e,t),e.event(n,"remove",{click:n._func}),e.event(n,"add",{click:n._func}),e.arrows[t]=n))}):Object.keys(e.arrows).forEach(function(t){var n=e.arrows[t];e.event(n,"remove",{click:n._func})})},n.updateControls=function(e){var t=this;e&&!t.opt.scrollPropagate&&e.stopPropagation();var n=t.containerWidth>=t.trackWidth;t.opt.rewind||(t.arrows.prev&&(t.arrows.prev.classList.toggle(t.opt.classes.disabled,t.ele.scrollLeft<=0||n),t.arrows.prev.classList.contains("disabled")?t.arrows.prev.setAttribute("aria-disabled",!0):t.arrows.prev.setAttribute("aria-disabled",!1)),t.arrows.next&&(t.arrows.next.classList.toggle(t.opt.classes.disabled,Math.ceil(t.ele.scrollLeft+t.containerWidth)>=Math.floor(t.trackWidth)||n),t.arrows.next.classList.contains("disabled")?t.arrows.next.setAttribute("aria-disabled",!0):t.arrows.next.setAttribute("aria-disabled",!1))),t.slide=Math.round(t.ele.scrollLeft/t.itemWidth),t.page=Math.round(t.ele.scrollLeft/(t.itemWidth*Math.floor(t.opt.slidesToShow)));var i=t.slide+Math.floor(Math.floor(t.opt.slidesToShow)/2),r=Math.floor(t.opt.slidesToShow)%2?0:i+1;1===Math.floor(t.opt.slidesToShow)&&(r=0),t.ele.scrollLeft+t.containerWidth>=Math.floor(t.trackWidth)&&(t.page=t.dots?t.dots.children.length-1:0),[].forEach.call(t.slides,function(e,n){var o=e.classList,a=o.contains(t.opt.classes.visible),s=t.ele.scrollLeft,l=t.ele.scrollLeft+t.containerWidth,c=t.itemWidth*n,u=c+t.itemWidth;[].forEach.call(o,function(e){/^left|right/.test(e)&&o.remove(e)}),o.toggle("active",t.slide===n),i===n||r&&r===n?o.add("center"):(o.remove("center"),o.add([n<i?"left":"right",Math.abs(n-(n<i?i:r||i))].join("-")));var d=Math.ceil(c)>=Math.floor(s)&&Math.floor(u)<=Math.ceil(l);o.toggle("visible",d),d!==a&&t.emit("slide-"+(d?"visible":"hidden"),{slide:n})}),t.dots&&[].forEach.call(t.dots.children,function(e,n){e.classList.toggle(t.opt.classes.active,t.page===n)}),e&&t.opt.scrollLock&&(clearTimeout(t.scrollLock),t.scrollLock=setTimeout(function(){clearTimeout(t.scrollLock),Math.abs(t.ele.scrollLeft/t.itemWidth-t.slide)>.02&&(t.mouseDown||t.trackWidth>t.containerWidth+t.ele.scrollLeft&&t.scrollItem(t.getCurrentSlide()))},t.opt.scrollLockDelay||250))},n.getCurrentSlide=function(){var e=this;return e.round(e.ele.scrollLeft/e.itemWidth)},n.scrollItem=function(e,t,n){n&&n.preventDefault();var i=this,r=e;if(++i.animate_id,!0===t)e*=Math.floor(i.opt.slidesToShow),e*=i.itemWidth;else{if("string"==typeof e){var o="prev"===e;if(e=i.opt.slidesToScroll%1||i.opt.slidesToShow%1?i.getCurrentSlide():i.slide,o?e-=i.opt.slidesToScroll:e+=i.opt.slidesToScroll,i.opt.rewind){var a=i.ele.scrollLeft;e=o&&!a?i.slides.length:!o&&a+i.containerWidth>=Math.floor(i.trackWidth)?0:e}}e=Math.max(Math.min(e,i.slides.length),0),i.slide=e,e=i.itemWidth*e}return i.scrollTo(e,i.opt.duration*Math.abs(i.ele.scrollLeft-e),function(){i.updateControls(),i.emit("animated",{value:r,type:"string"==typeof r?"arrow":t?"dot":"slide"})}),!1},n.settingsBreakpoint=function(){var t=this,n=t._opt.responsive;if(n){n.sort(function(e,t){return t.breakpoint-e.breakpoint});for(var i=0;i<n.length;++i){var r=n[i];if(e.innerWidth>=r.breakpoint)return t.breakpoint!==r.breakpoint&&(t.opt=Object.assign({},t._opt,r.settings),t.breakpoint=r.breakpoint,!0)}}var o=0!==t.breakpoint;return t.opt=Object.assign({},t._opt),t.breakpoint=0,o},n.scrollTo=function(t,n,i){var r=this,o=(new Date).getTime(),a=r.animate_id,s=function(){var l=(new Date).getTime()-o;r.ele.scrollLeft=r.ele.scrollLeft+(t-r.ele.scrollLeft)*r.opt.easing(0,l,0,1,n),l<n&&a===r.animate_id?e.requestAnimationFrame(s):(r.ele.scrollLeft=t,i&&i.call(r))};e.requestAnimationFrame(s)},n.removeItem=function(e){var t=this;t.slides.length&&(t.track.removeChild(t.slides[e]),t.refresh(!0),t.emit("remove"))},n.addItem=function(e){var t=this;t.track.appendChild(e),t.refresh(!0),t.emit("add")},n.handleMouse=function(e){var t=this;t.mouseDown&&(t.isDrag=!0,t.ele.scrollLeft+=(t.mouseDown-e.clientX)*(t.opt.dragVelocity||3.3),t.mouseDown=e.clientX)},n.round=function(e){var t=1/(this.opt.slidesToScroll%1||1);return Math.round(e*t)/t},n.refresh=function(e){this.init(!0,e)},n.setOption=function(e,t){var n=this;n.breakpoint&&!t?n._opt.responsive.forEach(function(t){t.breakpoint===n.breakpoint&&(t.settings=Object.assign({},t.settings,e))}):n._opt=Object.assign({},n._opt,e),n.breakpoint=0,n.settingsBreakpoint()},n.destroy=function(){var t=this,n=t.ele.cloneNode(!0),i=function(e){e.removeAttribute("style"),[].forEach.call(e.classList,function(t){/^glider/.test(t)&&e.classList.remove(t)})};n.children[0].outerHTML=n.children[0].innerHTML,i(n),[].forEach.call(n.getElementsByTagName("*"),i),t.ele.parentNode.replaceChild(n,t.ele),t.event(e,"remove",{resize:t.resize}),t.emit("destroy")},n.emit=function(t,n){var i=this,r=new e.CustomEvent("glider-"+t,{bubbles:!i.opt.eventPropagate,detail:n});i.ele.dispatchEvent(r)},n.event=function(e,t,n){var i=e[t+"EventListener"].bind(e);Object.keys(n).forEach(function(e){i(e,n[e])})},t}()),gt.exports),yt=k(bt),xt="top",wt="bottom",Nt="right",_t="left",St="auto",kt=[xt,wt,Nt,_t],jt="start",Et="end",Ot="viewport",At="popper",Ct=kt.reduce(function(e,t){return e.concat([t+"-"+jt,t+"-"+Et])},[]),Tt=[].concat(kt,[St]).reduce(function(e,t){return e.concat([t,t+"-"+jt,t+"-"+Et])},[]),Dt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Lt(e){return e?(e.nodeName||"").toLowerCase():null}function It(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pt(e){return e instanceof It(e).Element||e instanceof Element}function Rt(e){return e instanceof It(e).HTMLElement||e instanceof HTMLElement}function Mt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof It(e).ShadowRoot||e instanceof ShadowRoot)}var zt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];Rt(r)&&Lt(r)&&(Object.assign(r.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Rt(i)&&Lt(i)&&(Object.assign(i.style,o),Object.keys(r).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function Ft(e){return e.split("-")[0]}var Bt=Math.max,Ut=Math.min,Vt=Math.round;function Ht(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Wt(){return!/^((?!chrome|android).)*safari/i.test(Ht())}function qt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,o=1;t&&Rt(e)&&(r=e.offsetWidth>0&&Vt(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Vt(i.height)/e.offsetHeight||1);var a=(Pt(e)?It(e):window).visualViewport,s=!Wt()&&n,l=(i.left+(s&&a?a.offsetLeft:0))/r,c=(i.top+(s&&a?a.offsetTop:0))/o,u=i.width/r,d=i.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function $t(e){var t=qt(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Gt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mt(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Kt(e){return It(e).getComputedStyle(e)}function Yt(e){return["table","td","th"].indexOf(Lt(e))>=0}function Xt(e){return((Pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Jt(e){return"html"===Lt(e)?e:e.assignedSlot||e.parentNode||(Mt(e)?e.host:null)||Xt(e)}function Qt(e){return Rt(e)&&"fixed"!==Kt(e).position?e.offsetParent:null}function Zt(e){for(var t=It(e),n=Qt(e);n&&Yt(n)&&"static"===Kt(n).position;)n=Qt(n);return n&&("html"===Lt(n)||"body"===Lt(n)&&"static"===Kt(n).position)?t:n||function(e){var t=/firefox/i.test(Ht());if(/Trident/i.test(Ht())&&Rt(e)&&"fixed"===Kt(e).position)return null;var n=Jt(e);for(Mt(n)&&(n=n.host);Rt(n)&&["html","body"].indexOf(Lt(n))<0;){var i=Kt(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function en(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function tn(e,t,n){return Bt(e,Ut(t,n))}function nn(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function rn(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var on={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Ft(n.placement),l=en(s),c=[_t,Nt].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return nn("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:rn(e,kt))}(r.padding,n),d=$t(o),h="y"===l?xt:_t,p="y"===l?wt:Nt,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],v=Zt(o),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=f/2-m/2,y=u[h],x=g-d[c]-u[p],w=g/2-d[c]/2+b,N=tn(y,w,x),_=l;n.modifiersData[i]=((t={})[_]=N,t.centerOffset=N-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Gt(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function an(e){return e.split("-")[1]}var sn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ln(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=a.x,p=void 0===h?0:h,f=a.y,m=void 0===f?0:f,v="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=_t,x=xt,w=window;if(c){var N=Zt(n),_="clientHeight",S="clientWidth";if(N===It(n)&&"static"!==Kt(N=Xt(n)).position&&"absolute"===s&&(_="scrollHeight",S="scrollWidth"),r===xt||(r===_t||r===Nt)&&o===Et)x=wt,m-=(d&&N===w&&w.visualViewport?w.visualViewport.height:N[_])-i.height,m*=l?1:-1;if(r===_t||(r===xt||r===wt)&&o===Et)y=Nt,p-=(d&&N===w&&w.visualViewport?w.visualViewport.width:N[S])-i.width,p*=l?1:-1}var k,j=Object.assign({position:s},c&&sn),E=!0===u?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:Vt(n*r)/r||0,y:Vt(i*r)/r||0}}({x:p,y:m},It(n)):{x:p,y:m};return p=E.x,m=E.y,l?Object.assign({},j,((k={})[x]=b?"0":"",k[y]=g?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",k)):Object.assign({},j,((t={})[x]=b?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}var cn={passive:!0};var un={left:"right",right:"left",bottom:"top",top:"bottom"};function dn(e){return e.replace(/left|right|bottom|top/g,function(e){return un[e]})}var hn={start:"end",end:"start"};function pn(e){return e.replace(/start|end/g,function(e){return hn[e]})}function fn(e){var t=It(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mn(e){return qt(Xt(e)).left+fn(e).scrollLeft}function vn(e){var t=Kt(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function gn(e){return["html","body","#document"].indexOf(Lt(e))>=0?e.ownerDocument.body:Rt(e)&&vn(e)?e:gn(Jt(e))}function bn(e,t){var n;void 0===t&&(t=[]);var i=gn(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=It(i),a=r?[o].concat(o.visualViewport||[],vn(i)?i:[]):i,s=t.concat(a);return r?s:s.concat(bn(Jt(a)))}function yn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xn(e,t,n){return t===Ot?yn(function(e,t){var n=It(e),i=Xt(e),r=n.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var c=Wt();(c||!c&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+mn(e),y:l}}(e,n)):Pt(t)?function(e,t){var n=qt(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):yn(function(e){var t,n=Xt(e),i=fn(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=Bt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Bt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+mn(e),l=-i.scrollTop;return"rtl"===Kt(r||n).direction&&(s+=Bt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(Xt(e)))}function wn(e,t,n,i){var r="clippingParents"===t?function(e){var t=bn(Jt(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0&&Rt(e)?Zt(e):e;return Pt(n)?t.filter(function(e){return Pt(e)&&Gt(e,n)&&"body"!==Lt(e)}):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce(function(t,n){var r=xn(e,n,i);return t.top=Bt(r.top,t.top),t.right=Ut(r.right,t.right),t.bottom=Ut(r.bottom,t.bottom),t.left=Bt(r.left,t.left),t},xn(e,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Nn(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?Ft(r):null,a=r?an(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case xt:t={x:s,y:n.y-i.height};break;case wt:t={x:s,y:n.y+n.height};break;case Nt:t={x:n.x+n.width,y:l};break;case _t:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?en(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case jt:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Et:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function _n(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Ot:c,d=n.elementContext,h=void 0===d?At:d,p=n.altBoundary,f=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=nn("number"!=typeof v?v:rn(v,kt)),b=h===At?"reference":At,y=e.rects.popper,x=e.elements[f?b:h],w=wn(Pt(x)?x:x.contextElement||Xt(e.elements.popper),l,u,a),N=qt(e.elements.reference),_=Nn({reference:N,element:y,placement:r}),S=yn(Object.assign({},y,_)),k=h===At?S:N,j={top:w.top-k.top+g.top,bottom:k.bottom-w.bottom+g.bottom,left:w.left-k.left+g.left,right:k.right-w.right+g.right},E=e.modifiersData.offset;if(h===At&&E){var O=E[r];Object.keys(j).forEach(function(e){var t=[Nt,wt].indexOf(e)>=0?1:-1,n=[xt,wt].indexOf(e)>=0?"y":"x";j[e]+=O[n]*t})}return j}var Sn={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=Ft(v),b=l||(g===v||!f?[dn(v)]:function(e){if(Ft(e)===St)return[];var t=dn(e);return[pn(e),t,pn(t)]}(v)),y=[v].concat(b).reduce(function(e,n){return e.concat(Ft(n)===St?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Tt:l,u=an(i),d=u?s?Ct:Ct.filter(function(e){return an(e)===u}):kt,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var p=h.reduce(function(t,n){return t[n]=_n(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[Ft(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,w=t.rects.popper,N=new Map,_=!0,S=y[0],k=0;k<y.length;k++){var j=y[k],E=Ft(j),O=an(j)===jt,A=[xt,wt].indexOf(E)>=0,C=A?"width":"height",T=_n(t,{placement:j,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),D=A?O?Nt:_t:O?wt:xt;x[C]>w[C]&&(D=dn(D));var L=dn(D),I=[];if(o&&I.push(T[E]<=0),s&&I.push(T[D]<=0,T[L]<=0),I.every(function(e){return e})){S=j,_=!1;break}N.set(j,I)}if(_)for(var P=function(e){var t=y.find(function(t){var n=N.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},R=f?3:1;R>0;R--){if("break"===P(R))break}t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function kn(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jn(e){return[xt,Nt,wt,_t].some(function(t){return e[t]>=0})}var En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,a=Tt.reduce(function(e,n){return e[n]=function(e,t,n){var i=Ft(e),r=[_t,xt].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[_t,Nt].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=a}};var On={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=void 0===h||h,f=n.tetherOffset,m=void 0===f?0:f,v=_n(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=Ft(t.placement),b=an(t.placement),y=!b,x=en(g),w="x"===x?"y":"x",N=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(N){if(o){var A,C="y"===x?xt:_t,T="y"===x?wt:Nt,D="y"===x?"height":"width",L=N[x],I=L+v[C],P=L-v[T],R=p?-S[D]/2:0,M=b===jt?_[D]:S[D],z=b===jt?-S[D]:-_[D],F=t.elements.arrow,B=p&&F?$t(F):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=U[C],H=U[T],W=tn(0,_[D],B[D]),q=y?_[D]/2-R-W-V-j.mainAxis:M-W-V-j.mainAxis,$=y?-_[D]/2+R+W+H+j.mainAxis:z+W+H+j.mainAxis,G=t.elements.arrow&&Zt(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,Y=null!=(A=null==E?void 0:E[x])?A:0,X=L+$-Y,J=tn(p?Ut(I,L+q-Y-K):I,L,p?Bt(P,X):P);N[x]=J,O[x]=J-L}if(s){var Q,Z="x"===x?xt:_t,ee="x"===x?wt:Nt,te=N[w],ne="y"===w?"height":"width",ie=te+v[Z],re=te-v[ee],oe=-1!==[xt,_t].indexOf(g),ae=null!=(Q=null==E?void 0:E[w])?Q:0,se=oe?ie:te-_[ne]-S[ne]-ae+j.altAxis,le=oe?te+_[ne]+S[ne]-ae-j.altAxis:re,ce=p&&oe?function(e,t,n){var i=tn(e,t,n);return i>n?n:i}(se,te,le):tn(p?se:ie,te,p?le:re);N[w]=ce,O[w]=ce-te}t.modifiersData[i]=O}},requiresIfExists:["offset"]};function An(e,t,n){void 0===n&&(n=!1);var i,r,o=Rt(t),a=Rt(t)&&function(e){var t=e.getBoundingClientRect(),n=Vt(t.width)/e.offsetWidth||1,i=Vt(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=Xt(t),l=qt(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Lt(t)||vn(s))&&(c=(i=t)!==It(i)&&Rt(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:fn(i)),Rt(t)?((u=qt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=mn(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Cn(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}var Tn={placement:"bottom",modifiers:[],strategy:"absolute"};function Dn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Ln(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Tn:r;return function(e,t,n){void 0===n&&(n=o);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tn,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,r),s.scrollParents={reference:Pt(e)?bn(e):e.contextElement?bn(e.contextElement):[],popper:bn(t)};var a,c,h=function(e){var t=Cn(e);return Dt.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(i,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=h.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:u,options:i}),a=function(){};l.push(o||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Dn(t,n)){s.rects={reference:An(t,Zt(n),"fixed"===s.options.strategy),popper:$t(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var r=s.orderedModifiers[i],o=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,i=-1}}},update:(r=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(r())})})),a}),destroy:function(){d(),c=!0}};if(!Dn(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var In=Ln({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=It(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,cn)}),s&&l.addEventListener("resize",n.update,cn),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,cn)}),s&&l.removeEventListener("resize",n.update,cn)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Nn({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:Ft(t.placement),variation:an(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ln(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ln(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},zt,En,Sn,On,on,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=_n(t,{elementContext:"reference"}),s=_n(t,{altBoundary:!0}),l=kn(a,i),c=kn(s,r,o),u=jn(l),d=jn(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Pn({element:e,visibleClass:t,waitMode:n="transitionend",timeoutDuration:i,hideMode:r="hidden",displayValue:o="block"}){if("timeout"===n&&"number"!=typeof i)return void console.error("\n When calling transitionHiddenElement with waitMode set to timeout,\n you must pass in a number for timeoutDuration.\n ");window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(n="immediate");const a=t=>{t.target===e&&(s(),e.removeEventListener("transitionend",a))},s=()=>{"display"===r?e.style.display="none":e.setAttribute("hidden",!0)};return{show(){e.removeEventListener("transitionend",a),this.timeout&&clearTimeout(this.timeout),"display"===r?e.style.display=o:e.removeAttribute("hidden"),e.offsetHeight,e.classList.add(t)},hide(){"transitionend"===n?e.addEventListener("transitionend",a):"timeout"===n?this.timeout=setTimeout(()=>{s()},i):s(),e.classList.remove(t)},toggle(){this.isHidden()?this.show():this.hide()},isHidden(){const n=null!==e.getAttribute("hidden"),i="none"===e.style.display,r=[...e.classList].includes(t);return n||i||!r},timeout:null}}var Rn={rootContainerSelector:"#root-tooltips",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom",strategy:"absolute",modifiers:[{name:"arrow",options:{element:".tooltip__arrow",padding:10}},{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["right","top","auto"]}},{name:"offset",options:{offset:function(e){var t=e.placement;return t.includes("start")?[-10,0]:t.includes("end")?[10,0]:[0,0]}}}]}},Mn=function(){return m(function e(t,n){var i;return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},Rn),n),this.config.popperOptions=Object.assign(Object.assign({},Rn.popperOptions),(null==n?void 0:n.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(x(Rn.popperOptions.modifiers),x((null===(i=null==n?void 0:n.popperOptions)||void 0===i?void 0:i.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.onKeydown=this.onKeydown.bind(this),this.element.ODS_Tooltip=this,this.init(),this},[{key:"wrapLastWordAndButton",value:function(){var e,t;if(this.element.hasAttribute("data-tooltip-keep-with-text")){var n=this.trigger.previousSibling;if(n&&n.nodeType===Node.TEXT_NODE){var i=((null===(e=n.textContent)||void 0===e?void 0:e.trim())||"").split(" "),r=i.pop(),o=i.join(" ");n.textContent=o+" ";var a=document.createElement("span");a.className="text-nowrap",a.innerHTML="".concat(r," ").concat(this.trigger.outerHTML),null===(t=this.trigger.parentNode)||void 0===t||t.replaceChild(a,this.trigger),this.trigger=a.querySelector("[data-tooltip-trigger]")}else console.warn("Previous sibling is not a text node.")}}},{key:"init",value:function(){this.trigger=document.querySelector("[data-tooltip-trigger][aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.trigger||console.warn("tooltip trigger element is not defined and the tooltip cannot be attached. Please provide an element with [aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.element.hasAttribute("data-tooltip-keep-with-text")&&this.wrapLastWordAndButton(),this.rootContainer=document.querySelector(this.config.rootContainerSelector),this.rootContainer?this.rootContainer.appendChild(this.element):console.warn("rootContainer element is not defined. Tooltips will be placed inside content which can affect positioning. Please provide rootContainer element (should be placed outside of main content, usually in end of <body /> tag)");var e=this.element.getAttribute("data-tooltip-placement");e&&(this.config.popperOptions.placement=e),this.instance=In(this.trigger,this.element,this.config.popperOptions),this.transitioner=Pn({element:this.element,visibleClass:"is-visible"}),this.trigger.addEventListener("mouseenter",this.handleVisibility),this.trigger.addEventListener("mouseleave",this.handleVisibility),this.trigger.addEventListener("focus",this.handleVisibility),this.trigger.addEventListener("blur",this.handleVisibility)}},{key:"handleVisibility",value:function(e){("mouseenter"!==e.type&&"focus"!==e.type||this.show(),"blur"===e.type&&this.hide(),"mouseleave"===e.type)&&(this.shouldClose(e)&&this.hide())}},{key:"shouldClose",value:function(e){var t=this,n=e.relatedreference||e.toElement||e.relatedTarget,i=function(e){var n=e.relatedreference||e.toElement||e.relatedTarget;t.element.removeEventListener("mouseleave",i),t.trigger.contains(n)||t.hide()};return!this.element.contains(n)||(this.element.addEventListener("mouseleave",i),!1)}},{key:"onKeydown",value:function(e){C.ESC.includes(e.key)&&this.hide()}},{key:"show",value:function(){this.transitioner.show(),this.trigger.classList.add("is-active"),this.instance.forceUpdate(),document.addEventListener("keydown",this.onKeydown)}},{key:"hide",value:function(){this.transitioner.hide(),this.trigger.classList.remove("is-active"),document.removeEventListener("keydown",this.onKeydown)}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("mouseenter",this.handleVisibility),this.trigger.removeEventListener("mouseleave",this.handleVisibility),this.trigger.removeEventListener("focus",this.handleVisibility),this.trigger.removeEventListener("blur",this.handleVisibility),this.instance.destroy(),this.element.ODS_Tooltip=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tooltip?e.ODS_Tooltip:null}}])}(),zn={arrows:{prev:dt,next:ht},slidesToShow:1.2,dots:pt,skipTrack:!0,classes:{glider:"carousel__viewport",track:"carousel__track",slide:"carousel__slide",drag:"is-dragging",draggable:"is-draggable",disabled:"is-disabled",active:"is-active",visible:"is-visible",dots:"carousel__pagination",dot:"carousel__pagination-item"}},Fn=function(){return m(function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},zn),n),this.fixPaginationButtonType=this.fixPaginationButtonType.bind(this),this.handleScroll=this.handleScroll.bind(this),this.updateTooltipPosition=this.updateTooltipPosition.bind(this),this.element.ODS_Carousel=this,this.init(),this},[{key:"init",value:function(){this.getElements(),this.element.hasAttribute("data-glider-options")&&this.getCustomOptions(),this.element.addEventListener("glider-loaded",this.fixPaginationButtonType),this.element.addEventListener("glider-loaded",this.handleScroll),this.element.addEventListener("glider-refresh",this.fixPaginationButtonType),this.viewport.addEventListener("scroll",this.handleScroll),this.instance=new yt(this.viewport,this.config)}},{key:"getElements",value:function(){this.viewport=this.element.querySelector(ct),this.track=this.viewport.querySelector(ut);var e={arrows:{prev:this.element.querySelector(dt),next:this.element.querySelector(ht)},dots:this.element.querySelector(pt)};this.config=Object.assign(Object.assign({},this.config),e)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-glider-options");if(e){var t=JSON.parse(e);this.config=Object.assign(Object.assign({},this.config),t)}}},{key:"fixPaginationButtonType",value:function(){Array.from(this.element.querySelectorAll("".concat(pt," > *"))).forEach(function(e){return e.setAttribute("type","button")})}},{key:"handleScroll",value:function(){var e=this.track.querySelector(".active"),t=this.track.querySelectorAll(".glider-slide:not(.active)");e&&this.updateTooltipPosition(e),t.length>0&&this.hideAllTooltips(t)}},{key:"updateTooltipPosition",value:function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=Mn.getInstance(n);i&&i.update()}}})}},{key:"hideAllTooltips",value:function(e){e.forEach(function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=Mn.getInstance(n);i&&(i.hide(),e.blur())}}})})}},{key:"destroy",value:function(){this.instance.destroy()}},{key:"update",value:function(){this.instance.refresh()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Carousel?e.ODS_Carousel:null}}])}(),Bn=function(e){var t=e.className,n=e.gliderOptions,i=e.items,r=e.colorScheme,o=S(e,["className","gliderOptions","items","colorScheme"]),a=y(B(Fn),1)[0],s=i.map(function(e,t){return X.jsx(mt,{children:e},t.toString())}),l=A(et,t,{"is-dark":"dark"===r,"is-light":"light"===r}),c={prev:A(at),next:A(st),dots:A(lt,"show-md")};return X.jsxs("div",b(b(b({className:l,ref:a,"data-carousel":!0},n?{"data-glider-options":JSON.stringify(n)}:{}),o),{},{children:[X.jsxs("div",{className:tt,children:[X.jsx("div",{className:nt,children:X.jsx("div",{className:rt,children:s})}),X.jsx("div",{className:it}),X.jsx("button",{type:"button","aria-label":"Naspäť",className:c.prev,children:X.jsx(te,{size:"medium",name:"chevron-left"})}),X.jsx("button",{type:"button","aria-label":"Ďalej",className:c.next,children:X.jsx(te,{size:"medium",name:"chevron-right"})})]}),X.jsx("div",{role:"tablist",className:c.dots})]}))};Bn.displayName="Carousel";var Un="carousel-promotions",Vn="".concat(Un,"__viewport-wrapper"),Hn="".concat(Un,"__viewport"),Wn="".concat(Un,"__track"),qn="".concat(Un,"__next"),$n="".concat(Un,"__pagination"),Gn="".concat(Un,"__pagination-svg"),Kn="".concat(Un,"__pagination-circle"),Yn="".concat(Un,"--slide-inverted"),Xn="is-autoplay",Jn=".".concat(Hn),Qn=".".concat($n),Zn={slidesToShow:1,dots:Qn,skipTrack:!0,rewind:!0,interval:0,scrollLock:!0,classes:{glider:"carousel-promotions__viewport",track:"carousel-promotions__track",slide:"carousel-promotions__slide",drag:"is-dragging",draggable:"is-draggable",disabled:"is-disabled",active:"is-active",visible:"is-visible",dots:"carousel-promotions__pagination",dot:"carousel-promotions__pagination-item"}},ei=function(){function e(t,n){p(this,e),this.interval=0,this.element=t;var i=Object.assign(Object.assign({},Zn),n),r=i.interval,o=S(i,["interval"]);return this.config=o,this.interval=parseInt(String(r)),this.element.ODS_CarouselPromotions=this,this.gliderLoadedHandler=this.gliderLoadedHandler.bind(this),this.gliderRefreshHandler=this.gliderRefreshHandler.bind(this),this.scrollToNextSlide=this.scrollToNextSlide.bind(this),this.autoplayAnimationEnd=this.autoplayAnimationEnd.bind(this),this.element.ODS_CarouselPromotions=this,this.init(),this}return m(e,[{key:"init",value:function(){var e=this;this.getElements(),this.element.hasAttribute("data-glider-options")&&this.getCustomOptions(),this.element.hasAttribute("data-interval")&&(this.interval=parseInt(this.element.getAttribute("data-interval")));var t=this.isIntervalValid();t?this.element.classList.add(Xn):this.interval=0,this.element.addEventListener("glider-loaded",this.gliderLoadedHandler),this.element.addEventListener("glider-refresh",this.gliderRefreshHandler),this.element.addEventListener("glider-slide-visible",function(t){(e.element.classList.remove(Yn),t.detail&&void 0!==t.detail.slide)&&(t.detail.slide%2==1&&e.element.classList.add(Yn))}),this.instance=new yt(this.viewport,this.config),this.instance&&this.instance.dots&&t&&(this.instance.dots.addEventListener("animationend",this.autoplayAnimationEnd),this.instance.dots.addEventListener("click",function(){e.stopAutoplay()}))}},{key:"stopAutoplay",value:function(){this.interval=0,this.element.classList.remove(Xn)}},{key:"autoplayAnimationEnd",value:function(e){e instanceof AnimationEvent&&"countdown"===e.animationName&&this.scrollToNextSlide()}},{key:"isAutoplayEnabled",get:function(){return this.interval>0}},{key:"isIntervalValid",value:function(){var e=parseInt(String(this.interval));return!isNaN(e)&&e>=1e3}},{key:"scrollToNextSlide",value:function(){var e=this.instance.slides.length;if(!(e<0)){var t=this.instance.getCurrentSlide();this.instance.scrollItem((t+1)%e)}}},{key:"gliderLoadedHandler",value:function(){this.fixPaginationButtonType(),this.isAutoplayEnabled&&this.renderSvgDotsForAnimation()}},{key:"gliderRefreshHandler",value:function(){this.fixPaginationButtonType(),this.isAutoplayEnabled&&this.renderSvgDotsForAnimation()}},{key:"getElements",value:function(){this.viewport=this.element.querySelector(Jn);var e={dots:this.element.querySelector(Qn)};this.config=Object.assign(Object.assign({},this.config),e)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-glider-options");if(e){var t=JSON.parse(e);this.config=Object.assign(Object.assign({},this.config),t)}}},{key:"fixPaginationButtonType",value:function(){Array.from(this.element.querySelectorAll("".concat(Qn," > *"))).forEach(function(e){return e.setAttribute("type","button")})}},{key:"renderSvgDotsForAnimation",value:function(){var t=Array.from(this.element.querySelectorAll("".concat(Qn," > *"))),n=e.createSvgDot();n.querySelector("circle").style.animationDuration="".concat(this.interval,"ms"),t.forEach(function(e){e.innerHTML="",e.appendChild(n.cloneNode(!0))})}},{key:"destroy",value:function(){this.instance.destroy()}},{key:"update",value:function(){this.instance.refresh()}}],[{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",Gn),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12"),t.setAttribute("fill","none"),t.setAttribute("xmlns",e);var n=document.createElementNS(e,"circle");return n.setAttribute("class",Kn),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"getInstance",value:function(e){return e&&e.ODS_CarouselPromotions?e.ODS_CarouselPromotions:null}}])}(),ti=function(e){var t=e.className,n=e.gliderOptions,i=e.isInverse,r=e.children,o=S(e,["className","gliderOptions","isInverse","children"]),a=y(B(ei),1)[0],s=A(Un,t,{"bg-black":i}),l={next:A(qn,"hide-lg"),dots:A($n)};return X.jsxs("div",b(b(b({className:s,ref:a,"data-carousel-promotions":!0},n?{"data-glider-options":JSON.stringify(n)}:{}),o),{},{children:[X.jsx("div",{className:Vn,children:X.jsx("div",{className:Hn,children:X.jsx("div",{className:Wn,children:r})})}),X.jsx("div",{role:"tablist",className:l.dots})]}))};ti.displayName="CarouselPromotions";var ni=e.createContext({headers:[],rows:[]}),ii=function(e){var t=e.tag,n=void 0===t?"td":t,i=S(e,["tag"]),r=n;return X.jsx(r,b({},i))};ii.displayName="TableCell";var ri=function(){var t,n=e.useContext(ni),i=n.headers,r=n.expandableRows,o={none:"zoradiť vzostupne podľa",ascending:"zoradiť zostupne podľa",descending:"vypnúť zoradenie poďľa"};return X.jsx("thead",{children:X.jsxs("tr",{children:[i.map(function(e,t){var n=e.isSortable,i=e.sort,r=void 0===i?"none":i,a=e.label,s=e.cellProps,l=e.headCellProps;return X.jsxs(ii,b(b(b(b({tag:"th"},s),l),n&&{"aria-sort":r}),{},{scope:"col",children:[a,n&&X.jsxs(X.Fragment,{children:[" ",X.jsx("button",{type:"button",className:"table__sort-button",children:X.jsxs("span",{className:"sr-only",children:[o[r]," ",a]})})]})]}),t.toString())}),(null==r?void 0:r.hasExpandableRows)&&X.jsx(ii,{tag:"th",scope:"col",className:"table__cell--shrink",children:X.jsx("span",{className:"sr-only",children:null===(t=null==r?void 0:r.expandableRowsCaptions)||void 0===t?void 0:t.header})})]})})};ri.displayName="TableHeader";var oi=function(t){var n=t.row,i=e.useContext(ni),r=i.headers,o=i.expandableRows;return r.map(function(t,i,r){var a,s,l,c=t.key,u=t.cellProps,d=n[c],h="object"===N(d)&&null!==d,p=h&&"value"in d?d.value:d,f=h&&"value"in d?Object.entries(d).filter(function(e){return"value"!==y(e,1)[0]}).reduce(function(e,t){var n=y(t,2),i=n[0],r=n[1];return Object.assign(Object.assign({},e),v({},i,r))},{}):{},m=(null===(a=null==n?void 0:n.expand)||void 0===a?void 0:a.length)||0;return X.jsxs(e.Fragment,{children:[X.jsx(ii,b(b(b({},u),f),{},{children:p||""})),i===r.length-1&&(null==o?void 0:o.hasExpandableRows)&&((null==n?void 0:n.expand)?X.jsx(ii,{className:"align-right table__cell--shrink table__cell--expand",children:X.jsxs(Ue,{type:"ghost",htmlType:"button",size:"small",isSquare:!0,className:"mb-none","data-subrow-toggle":!0,"aria-expanded":n.isExpanded?"true":"false","aria-controls":null===(s=n.expand)||void 0===s?void 0:s.map(function(e){return e.id}).join(" "),children:[X.jsx("span",{className:"visually-hidden",children:"Zobraziť ".concat(m," súvisiac").concat(m>4?"ich":m>1?"e":"i"," riad").concat(m>4?"kov":m>1?"ky":"ok")}),X.jsx(te,{name:"chevron-down",size:"large"})]})}):X.jsx(ii,{className:"align-right table__cell--shrink",children:X.jsx("span",{className:"sr-only",children:null===(l=null==o?void 0:o.expandableRowsCaptions)||void 0===l?void 0:l.emptyRow})}))]},c)})};oi.displayName="TableRow";var ai=function(){var t=e.useContext(ni).rows;return X.jsx("tbody",{children:t.map(function(t,n){var i;return X.jsxs(e.Fragment,{children:[X.jsx("tr",{children:X.jsx(oi,{row:t})}),null===(i=null==t?void 0:t.expand)||void 0===i?void 0:i.map(function(e,n){var i=e.id,r=S(e,["id"]);return X.jsx("tr",{id:i,className:"table__subrow",hidden:!t.isExpanded||void 0,children:X.jsx(oi,{row:r})},n.toString())})]},n.toString())})})};ai.displayName="TableRows";var si=function(){var t=e.useContext(ni).footers;return t?X.jsx("tfoot",{children:t.map(function(e,t){return X.jsx("tr",{children:X.jsx(oi,{row:e})},t.toString())})}):null};si.displayName="TableFooter";var li={expandButtonSelector:"[data-subrow-toggle]",scrollableContainerSelector:".table-scrollable",responsiveTableSelector:'[data-table="responsive"]'},ci=function(){return m(function e(t,n){var i=this;return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},li),n),this.addRole=this.addRole.bind(this),this.addARIA=this.addARIA.bind(this),this.onExpandClick=this.onExpandClick.bind(this),this.expandButtons=[],this.scrollableContainer=null,this.element.ODS_Table=this,this.resizeObserver=new ResizeObserver(function(e){if(i.scrollableContainer){var t=i.scrollableContainer.getBoundingClientRect();e.forEach(function(e){var n,r;e.contentRect.width>t.width?null===(n=i.scrollableContainer)||void 0===n||n.setAttribute("tabindex","0"):null===(r=i.scrollableContainer)||void 0===r||r.removeAttribute("tabindex")})}}),this.init(),this},[{key:"addRole",value:function(e,t){Array.from(this.element.querySelectorAll(e)).forEach(function(e){e.setAttribute("role",t)})}},{key:"addARIA",value:function(){try{this.element.setAttribute("role","table"),this.addRole("thead, tbody, tfoot","rowgroup"),this.addRole("tr","row"),this.addRole("td","cell"),this.addRole("th","columnheader"),this.addRole("th[scope=row]","rowheader")}catch(e){console.log("Table.addARIA(): "+e)}}},{key:"onExpandClick",value:function(e){var t,n=e.currentTarget,i=null!==(t=n.getAttribute("aria-controls"))&&void 0!==t?t:"",r=this.element.querySelectorAll(i.split(" ").map(function(e){return"#".concat(e)}).join(","));I({element:n,attribute:"aria-expanded"}),r.forEach(function(e){I({element:e,attribute:"hidden"})})}},{key:"init",value:function(){var e=this;this.expandButtons=Array.from(this.element.querySelectorAll(this.config.expandButtonSelector)),this.expandButtons.forEach(function(t){t.addEventListener("click",e.onExpandClick)}),this.element.matches(this.config.responsiveTableSelector)&&this.addARIA(),this.maybeInitScrollable()}},{key:"maybeInitScrollable",value:function(){if(this.scrollableContainer=this.element.closest(this.config.scrollableContainerSelector),this.scrollableContainer)return this.resizeObserver.observe(this.element),!0}},{key:"destroy",value:function(){var e=this;this.expandButtons.forEach(function(t){t.removeEventListener("click",e.onExpandClick)}),this.resizeObserver.disconnect(),this.expandButtons=[]}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Table?e.ODS_Table:null}}])}(),ui="table",di=function(e){var t=e.className,n=e.caption,i=e.headers,r=e.rows,o=e.footers,a=e.isCompact,s=e.isStriped,l=e.isScrollable,c=e.colorScheme,d=e.expandableRowsCaptions,h=void 0===d?{header:"Rozšíriteľný",emptyRow:"Nerozšíriteľný riadok"}:d,p=S(e,["className","caption","headers","rows","footers","isCompact","isStriped","isScrollable","colorScheme","expandableRowsCaptions"]),f=y(B(ci),1)[0],m=u(),g=A(ui,v(v(v(v({},"".concat(ui,"--striped"),s),"".concat(ui,"--compact"),a),"is-dark","dark"===c),"is-light","light"===c),t),x="".concat(m,"-caption"),w={hasExpandableRows:r.some(function(e){return e&&e.expand&&e.expand.length>0}),expandableRowsCaptions:h},N={headers:i,footers:o,rows:r.map(function(e,t){return e&&e.expand?Object.assign(Object.assign({},e),{expand:e.expand.map(function(e,n){return Object.assign(Object.assign({},e),{id:"".concat(m,"-row-").concat(t,"-").concat(n)})})}):e}),expandableRows:w};return X.jsx(ni.Provider,{value:N,children:X.jsx(se,{condition:l||!1,wrapper:X.jsx("div",b({className:"".concat(ui,"-scrollable"),role:"group"},n&&{"aria-labelledby":x})),children:X.jsxs("table",b(b({ref:f,className:g},p),{},{children:[n&&X.jsx("caption",b(b({},l&&{id:x}),{},{children:n})),X.jsx(ri,{}),X.jsx(ai,{}),X.jsx(si,{})]}))})})};di.displayName="Table";var hi=function(e){var t,r,a,s,l,c=e.dialog,u=e.id,d=e.placement,h=e.tag,p=void 0===h?"span":h,f=e.className,m=e.renderTrigger,v=e.children,g=e.colorScheme,x=S(e,["dialog","id","placement","tag","className","renderTrigger","children","colorScheme"]),w=(r=y(o(t=u),2),a=r[0],s=r[1],l=n(t),i(function(){if(!t){U.current+=1;var e="id-".concat(U.current);l.current=e,s(e)}},[t]),a||l.current||t||"id-0"),N=A("tooltip",{"is-dark":"dark"===g,"is-light":"light"===g},f),_=p,k=y(B(Mn,{removeDialogOnDestroy:!0}),1)[0],j={"data-tooltip-trigger":!0,"aria-describedby":w,"aria-owns":w,children:v};return X.jsxs(X.Fragment,{children:[m?m(j):X.jsx("button",b(b({type:"button"},j),{},{children:v})),X.jsxs(_,b(b({id:w,className:N,role:"tooltip",hidden:!0,ref:k,"data-tooltip":!0,"data-tooltip-placement":d},x),{},{children:[X.jsx(_,{className:"tooltip__arrow"}),X.jsx(_,{className:"tooltip__dialog",children:c})]}))]})};hi.displayName="Tooltip";var pi="info-tooltip",fi=function(e){var t=e.children,n=e.className,i=S(e,["children","className"]);return X.jsxs(hi,b(b({dialog:t,renderTrigger:function(e){return X.jsx("button",b({type:"button",className:pi},e))}},i),{},{children:[X.jsx(te,{name:"assistance",color:"info",className:A("".concat(pi,"__icon"),n)}),X.jsx("span",{className:"sr-only",children:"Info"})]}))};fi.displayName="InfoTooltip";var mi=function(e){var t=e.price,n=e.discount,i=e.freeLabel,r=e.label,o=e.discountMonthsCount,a=!t&&!!n;return void 0!==t||void 0!==n?X.jsxs(X.Fragment,{children:[n&&t&&X.jsxs(X.Fragment,{children:[X.jsx("del",{className:"color-gray",children:Pe(t)}),X.jsx("br",{})]}),X.jsxs(ve,{className:"bold justify-content-end mb-none",children:[X.jsx(be,{className:"hide-sm",children:o&&a?"1. – ".concat(o,". mesiac"):r}),X.jsx(be,{children:a?Pe(-n):t-(null!=n?n:0)===0?i:Pe(t-(null!=n?n:0))})]})]}):null},vi=function(e){var t=e.name,n=e.tooltip;return void 0===t?null:X.jsxs(X.Fragment,{children:[X.jsx("span",{className:"bold",children:t}),n&&X.jsxs(X.Fragment,{children:[" ",X.jsx(fi,{className:"icon--small",children:n})]})]})};vi.displayName="FooterNameColumn";var gi=function(e){var t=e.price,n=e.discount,i=void 0===n?0:n,r=e.label,o=e.size;return void 0===t?null:X.jsxs(X.Fragment,{children:[i>0&&X.jsx("del",{className:"color-gray",children:Pe(t)}),X.jsxs("div",{children:[X.jsx("div",{className:A("color-orange mb-none",{h4:"large"!==o,h2:"large"===o}),children:Pe(t-i)}),X.jsx("span",{className:A("color-orange mb-none",{h6:"large"!==o,h3:"large"===o}),children:r})]})]})};function bi(e,t,n){return e.reduce(function(e,i){var r,o,a,s,l,c,u,d=null!==(r=null==i?void 0:i.monthsFree)&&void 0!==r?r:0,h=(null!==(a=null===(o=null==i?void 0:i.discount)||void 0===o?void 0:o.monthsCount)&&void 0!==a?a:0)+d||n;return d&&t<=d?e+=null!==(l=null===(s=null==i?void 0:i.price)||void 0===s?void 0:s.monthly)&&void 0!==l?l:0:h>0&&t<=h&&(e+=null!==(u=null===(c=null==i?void 0:i.discount)||void 0===c?void 0:c.monthly)&&void 0!==u?u:0),e},0)}function yi(e,t){return e.reduce(function(e,n){var i,r,o,a;return e+=null!==(r=null===(i=null==n?void 0:n.price)||void 0===i?void 0:i[t])&&void 0!==r?r:0,e-=null!==(a=null===(o=null==n?void 0:n.discount)||void 0===o?void 0:o[t])&&void 0!==a?a:0},0)}gi.displayName="FooterPriceColumn";var xi=function(e,t,n,i,r){if(e.find(function(e){var t;return(null==e?void 0:e.monthsFree)||(null===(t=null==e?void 0:e.discount)||void 0===t?void 0:t.monthsCount)})){var o=function(e,t){for(var n,i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=[],a=function(e){return e.reduce(function(e,t){var n,i;return e+(null!==(i=null===(n=null==t?void 0:t.price)||void 0===n?void 0:n.monthly)&&void 0!==i?i:0)},0)}(e),s=function(e){return e.reduce(function(e,t){var n,i,r,o;return(e+=null!==(i=null===(n=null==t?void 0:t.price)||void 0===n?void 0:n.upfront)&&void 0!==i?i:0)-(null!==(o=null===(r=null==t?void 0:t.discount)||void 0===r?void 0:r.upfront)&&void 0!==o?o:0)},0)}(e),l=1;l<r;l++){var c={upfront:s>0&&1===l?s:void 0,monthly:a},u={monthly:bi(e,l,r)},d=o.length-1;0!==o.length&&(null===(n=o[d].price)||void 0===n?void 0:n.upfront)===(null==c?void 0:c.upfront)&&(null===(i=o[d].discount)||void 0===i?void 0:i.monthly)===(null==u?void 0:u.monthly)||(o[d]&&(o[d].end=l-1),o=[].concat(x(o),[{start:l,end:r,price:c,discount:u}]))}return t&&(o.shift(),o[0]&&(o[0].start=1)),function(e){return e.map(function(t){var n=t.start,i=t.end,r=t.price,o=t.discount,a="";return e.length>1&&(a=n!==i?"".concat(n,". – ").concat(i,". mesiac"):"".concat(n,". mesiac")),{name:a,price:r,discount:o}})}(o)}(e,null==n?void 0:n.hideFirst);return o.map(function(e){var o=e.name,a=e.price,s=e.discount;return{col1:X.jsx(vi,{name:o,tooltip:null==n?void 0:n.tooltip}),col2:a&&void 0!==a.upfront&&a.upfront>0&&"upfront"!==t&&X.jsx(gi,{price:a.upfront,discount:s&&s.upfront,label:i.upfront,size:r}),col3:X.jsx(gi,{price:a.monthly,discount:s&&s.monthly,label:i.monthly,size:r})}})}return[{col1:(null==n?void 0:n.name)&&X.jsx(vi,{name:n.name,tooltip:n.tooltip}),col2:"upfront"!==t&&X.jsx(gi,{price:yi(e,"upfront"),label:i.upfront,size:r}),col3:X.jsx(gi,{price:yi(e,"monthly"),label:i.monthly,size:r})}]},wi="cart-table",Ni={monthly:"mesačne",upfront:"vopred",product:"produkt",remove:"odstrániť",add:"Pridať",free:"zadarmo"},_i=function(e){var t=e.items,n=void 0===t?[]:t,i=e.hideEmpty,r=void 0===i||i,o=e.isEditable,a=void 0!==o&&o,s=e.footer,l=e.labels,c=void 0===l?Ni:l,u=e.size,d=r?[" hide"," hide"]:["",""];return r&&n.forEach(function(e){var t=e.price,n=void 0===t?{}:t,i=e.discount,r=void 0===i?{}:i;void 0===n.upfront&&void 0===r.upfront||(d[0]=""),void 0===n.monthly&&void 0===r.monthly||(d[1]="")}),X.jsx(di,{className:A(wi,v({},"".concat(wi,"--large"),u)),headers:[{key:"col1",cellProps:{className:"cart-table__product"},label:Le(c.product)},{cellProps:{className:"align-right ".concat(wi,"__price").concat(d[0])},key:"col2",label:Le(c.upfront)},{cellProps:{className:"align-right ".concat(wi,"__price").concat(d[1])},key:"col3",label:Le(c.monthly)}].concat(x(a?[{cellProps:{className:"align-right"},key:"col4",label:""}]:[])),rows:n.map(function(e){return Object.assign({},function(e,t,n){var i=e.isSubitem,r=e.image,o=e.badge,a=e.name,s=e.tooltip,l=e.price,c=e.discount,u=e.description,d=e.icon,h=e.isMandatory,p=e.isOptional;return Object.assign(Object.assign({col1:X.jsxs(X.Fragment,{children:[X.jsxs(ve,{canWrap:!1,className:A("mb-none ",{"cart-table__subitem":i}),children:[i&&X.jsx(be,{children:X.jsx(te,{name:"add",size:"medium"})}),d&&X.jsx(be,{children:X.jsx(te,{name:d,size:"medium"})}),r&&X.jsx(be,{children:X.jsx(He,{src:r,alt:"",width:"24"})}),X.jsxs(be,{isFilling:!0,children:[o&&X.jsx(he,{color:"warning",children:o}),X.jsx(ve,{space:"small",children:X.jsxs(be,{canShrink:!0,className:A("bold",{"text-nowrap":s}),children:[X.jsx(se,{condition:!!s,wrapper:X.jsx("span",{className:"text-wrap",children:a}),children:a}),s&&" ",s&&X.jsx(fi,{className:"icon--small",placement:"right",children:s})]})}),u&&X.jsx("div",{children:"string"==typeof u?u:u.map(function(e){return X.jsx("p",{className:"mb-0",children:e},e)})})]}),!t||h||p?null:X.jsx(be,{className:"hide-sm",children:X.jsx(Xe,{iconName:"trash",isSquare:!0,size:"small","aria-label":n.remove})}),p&&X.jsx(be,{className:"hide-sm",children:X.jsx(Xe,{iconName:"add",isSquare:!0,size:"small","aria-label":n.add})})]}),!(null==l?void 0:l.monthly)&&(null==c?void 0:c.monthsCount)&&X.jsx("div",{children:X.jsx("p",{className:A("mb-none show-sm cart-table__discount--margin-top",{"cart-table__subitem":i,"cart-table__discount--padding-left":r||d||i}),children:"1. – ".concat(c.monthsCount,". mesiac")})})]}),col2:X.jsx(mi,{discount:null==c?void 0:c.upfront,freeLabel:n.free,label:n.upfront,price:null==l?void 0:l.upfront}),col3:X.jsx(mi,{discount:null==c?void 0:c.monthly,discountMonthsCount:null==c?void 0:c.monthsCount,freeLabel:n.free,label:n.monthly,price:null==l?void 0:l.monthly})},t&&!h&&!p&&{col4:X.jsx(Xe,{iconName:"trash",size:"small",className:"cart-table__button mb-none",children:X.jsx("span",{className:"show-md",children:n.remove})})}),p&&{col4:X.jsx(Xe,{iconName:"add",size:"small",className:"cart-table__button mb-none",children:X.jsx("span",{className:"show-md",children:n.add})})})}(e,a,c))}),footers:xi(n,"true",null!=s?s:{},c,"large"===u?"large":void 0)})};_i.displayName="CartTable";var Si=e.forwardRef(function(e,t){var n=e.elemRef,i=e.className,r=e.icon,o=e.colorScheme,a=e.isDisabled,s=S(e,["elemRef","className","icon","colorScheme","isDisabled"]),l=A("controls",{"is-dark":"dark"===o,"is-light":"light"===o},i),c=s;return X.jsx("button",b(b({type:"button",className:l,disabled:!!a||void 0,"aria-disabled":a?"true":void 0,ref:n||t},c),{},{children:X.jsx(te,{name:r})}))});Si.displayName="Controls";var ki="divider",ji=function(e){var t=e.className,n=e.color,i=e.icon,r=e.content,o=e.thinLine,a=S(e,["className","color","icon","content","thinLine"]),s=A(ki,v({},"".concat(ki,"--").concat(n),n),t),l=A("".concat(ki,"__line"),v({},"".concat(ki,"__line--thin"),o)),c="".concat(ki,"__content");return X.jsxs("div",b(b({className:s},a),{},{children:[X.jsx("div",{className:l}),(r||i)&&X.jsxs(X.Fragment,{children:[X.jsx("div",{className:c,children:null!=r?r:i&&X.jsx(te,{name:i,size:"medium"})}),X.jsx("div",{className:l})]})]}))};ji.displayName="Divider";var Ei={dataInteractive:"data-dropdown-interactive",focusTrap:"data-dropdown-focus-trap",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom-start",strategy:"absolute",modifiers:[{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["bottom-end","bottom-start","bottom"]}},{name:"offset",options:{offset:[0,-1]}}]}},Oi=function(){return m(function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p(this,e),t.ODS_Dropdown?t.ODS_Dropdown:(this.element=t,this.config=Object.assign(Object.assign({},Ei),i),this.config.popperOptions=Object.assign(Object.assign({},Ei.popperOptions),(null==i?void 0:i.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(x(Ei.popperOptions.modifiers||[]),x((null===(n=null==i?void 0:i.popperOptions)||void 0===n?void 0:n.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.handleClick=this.handleClick.bind(this),this.element.ODS_Dropdown=this,this.focusableElements=this.element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]),\n textarea:not([disabled]), input[type="text"]:not([disabled]),\n input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]),\n select:not([disabled])'),this.init(),this)},[{key:"init",value:function(){this.trigger=document.getElementById(this.element.id.replace("dropdown","btn"));var e=this.element.getAttribute("data-dropdown-placement");e&&(this.config.popperOptions.placement=e),this.instance=In(this.trigger,this.element,this.config.popperOptions),this.transitioner=Pn({element:this.element,visibleClass:"dropdown--visible"}),this.trigger.addEventListener("click",this.handleVisibility,!0)}},{key:"handleVisibility",value:function(){this.element.classList.contains("dropdown--visible")?this.hide():this.show()}},{key:"handleClick",value:function(e){this.trigger===e.target||this.trigger.contains(e.target)||this.element.hasAttribute(this.config.dataInteractive)&&!e.target.id.includes(this.element.id.replace("dropdown","btn"))&&this.element.contains(e.target)||this.handleVisibility()}},{key:"handleKeyPress",value:function(e){if(C.ESC.includes(e.key)&&(this.handleVisibility(),this.element.contains(document.activeElement)&&this.trigger.focus(),this.hide()),this.element.hasAttribute(this.config.focusTrap)){var t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];document.activeElement!==this.button||"Tab"!==e.key&&9!==e.keyCode?"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault())):e.shiftKey&&(this.focusableElements[this.focusableElements.length-1].focus(),e.preventDefault())}}},{key:"show",value:function(){var e=this;this.transitioner.show(),this.instance.forceUpdate(),document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("click",this.handleClick),window.onresize=function(){return e.update()}}},{key:"hide",value:function(){this.transitioner.hide(),document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("click",this.handleClick),window.onresize=null}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("click",this.handleVisibility),this.instance.destroy(),this.element.ODS_Dropdown=null,window.onresize=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Dropdown?e.ODS_Dropdown:null}}])}(),Ai=function(e){var t=e.children,r=S(e,["children"]),o=n(null),a="string"==typeof r.iconName;return i(function(){if(o.current){var e=new L(o.current);return function(){e.destroy()}}},[]),a?X.jsx(Xe,b(b({ref:o},r),{},{children:t})):X.jsx(Ue,b(b({ref:o},r),{},{children:t}))},Ci=function(e){var t=e.className,n=e.id,i=S(e,["className","id"]);return X.jsx(Ai,b(b({"aria-expanded":!1,id:"btn-".concat(n),"data-toggle":JSON.stringify([{target:"self",attribute:"aria-expanded"}])},i),{},{className:A("".concat(Ti,"__button mb-none"),t)}))};Ci.displayName="DropdownToggleButton";var Ti="dropdown",Di={left:"bottom-start",center:"bottom",right:"bottom-end"},Li=function(e){var t=e.button,n=e.className,i=e.hasFocusTrap,r=void 0!==i&&i,o=e.hasSpacing,a=void 0===o||o,s=e.children,l=e.id,c=e.isInteractive,u=void 0!==c&&c,d=e.placement,h=void 0===d?"left":d,p=S(e,["button","className","hasFocusTrap","hasSpacing","children","id","isInteractive","placement"]),f=y(B(Oi),1)[0],m=A("dropdown",v({},"".concat(Ti,"-spacing"),a),n);return X.jsxs(X.Fragment,{children:[t&&X.jsx(Ci,b(b({},t),{},{id:l,className:t.className||""})),X.jsxs("div",b(b({ref:f,id:"dropdown-".concat(l),className:m,"data-dropdown":"","data-dropdown-placement":Di[h],"data-dropdown-interactive":u,"data-dropdown-focus-trap":r},p),{},{children:[r&&X.jsx(ve,{className:"mb-small justify-content-end",children:X.jsx(be,{children:X.jsx(Xe,{iconName:"delete",isSquare:!0,size:"small",className:"".concat(Ti,"__close"),"aria-label":"Zatvoriť",id:"close-btn-".concat(l),"data-toggle":JSON.stringify([{target:"#btn-".concat(l),action:"click"}])})})}),s]}))]})};Li.displayName="Dropdown";var Ii=function(e){var t=e.className,n=e.children,i=e.disabled,r=e.href,o=S(e,["className","children","disabled","href"]),a=A("dropdown__item",{disabled:i},t);return X.jsx("a",b(b({tabIndex:i?-1:0,href:r,className:a,"aria-disabled":i},o),{},{children:n}))};Ii.displayName="DropdownItem";var Pi=function(e){var t=e.className,n=S(e,["className"]),i=A("dropdown__divider",t);return X.jsx("div",b({className:i},n))};Pi.displayName="DropdownDivider";var Ri=function(){return m(function e(t){p(this,e),this.element=t,this.toggle=this.toggle.bind(this),this.element.ODS_Expander=this,this.init()},[{key:"toggle",value:function(){console.log("Toggle event triggered");var e=this.element.querySelector("summary");if(e){var t=e.getAttribute("data-summary"),n=e.getAttribute("data-summary-opened");if(e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),n){var i="true"===e.getAttribute("aria-expanded")?n:t;i&&e.setAttribute("aria-label",i)}}}},{key:"init",value:function(){this.element.addEventListener("toggle",this.toggle)}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){this.element.removeEventListener("toggle",this.toggle)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Expander?e.ODS_Expander:null}}])}(),Mi="expander",zi=function(e){var t=e.className,n=e.children,i=e.summary,r=e.summaryOpened,o=e.renderSummary,a=e.renderSummaryOpened,s=e.colorScheme,l=void 0===s?"light":s,c=S(e,["className","children","summary","summaryOpened","renderSummary","renderSummaryOpened","colorScheme"]),u=y(B(Ri),1)[0],h=A(Mi,{"is-dark":"dark"===l,"is-light":"light"===l},t),p=d(function(){return o?o(e):i&&X.jsxs(X.Fragment,{children:[i," ",X.jsx(te,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[o,e,i]),f=d(function(){return a?a(e):r&&X.jsxs(X.Fragment,{children:[r," ",X.jsx(te,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[a,e,r]);return X.jsxs("details",b(b({className:h,"data-expander":!0,ref:u},c),{},{children:[X.jsxs("summary",{"aria-expanded":"false","aria-label":i,"data-summary":i,"data-summary-opened":r,children:[X.jsx("div",{className:"".concat(Mi,"__summary"),children:p}),f&&X.jsx("div",{className:"".concat(Mi,"__summary--opened"),children:f})]}),X.jsx("div",{children:n})]}))};zi.displayName="Expander";var Fi={itemSelector:"[data-feature-accordion-item]",bodiesSelector:".accordion__body",buttonSelector:"[data-accordion-toggle]",imageSelector:"[data-feature-accordion-image]"},Bi=function(){return m(function e(t,n){var i=this;return p(this,e),this.items=[],this.bodies=[],this.buttons=[],this.images=[],this.activeId=null,this.onClick=function(e){var t=e.currentTarget.closest(i.config.itemSelector),n=(null==t?void 0:t.getAttribute("id"))||null;i.setActive(n)},this.element=t,this.config=Object.assign(Object.assign({},Fi),n),this.element.ODS_FeatureAccordion=this,this.init(),this},[{key:"init",value:function(){var e=this;this.items=Array.from(this.element.querySelectorAll(this.config.itemSelector)),this.bodies=Array.from(this.element.querySelectorAll(this.config.bodiesSelector)),this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.images=Array.from(this.element.querySelectorAll(this.config.imageSelector));var t=this.items[0]||null,n=(null==t?void 0:t.getAttribute("id"))||null;this.setActive(n),this.buttons.forEach(function(t){t.addEventListener("click",e.onClick)})}},{key:"setActive",value:function(e){if(e){this.activeId=e;var t=this.buttons.find(function(t){return t.getAttribute("id")===e}),n=null==t?void 0:t.getAttribute("aria-controls");this.bodies.forEach(function(e){e.id===n?e.removeAttribute("hidden"):e.setAttribute("hidden","")}),this.buttons.forEach(function(t){var n=t.getAttribute("id")===e,i=t.closest(".feature-accordion__item");null==i||i.classList.toggle("is-active",n),I({element:t,attribute:"aria-expanded",value:n?"true":"false"})}),this.images.forEach(function(t){var n=t.getAttribute("data-feature-accordion-image-for");t.classList.toggle("hide",n!==e)})}}},{key:"destroy",value:function(){var e=this;this.buttons.forEach(function(t){t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_FeatureAccordion?e.ODS_FeatureAccordion:null}}])}(),Ui="feature-accordion",Vi=function(t){var n=t.className,i=t.children,r=t.colorScheme,o=S(t,["className","children","colorScheme"]),a=y(B(Bi),1)[0],s=A(Ui,{"is-dark":"dark"===r,"is-light":"light"===r,"is-white":"white"===r},n),l=d(function(){return e.Children.toArray(i)},[i]);return X.jsxs(Me,b(b({className:s,"data-feature-accordion":!0,ref:a},o),{},{children:[X.jsx(Fe,{size:{xs:12,md:6},className:"".concat(Ui,"__accordion"),children:X.jsx(Q,{children:l.map(function(t){var n=t.props.id,i=t.props["data-image-url"]||t.props.imageUrl,r=t.props["data-image-alt"]||t.props.imageAlt;return i?e.cloneElement(t,{children:X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"".concat(Ui,"__content"),children:t.props.children}),X.jsx("div",{className:A("".concat(Ui,"__preview"),"hide-md"),children:X.jsx(He,{"data-feature-accordion-image":!0,"data-feature-accordion-image-for":n,src:i,alt:r,className:"".concat(Ui,"__image--mobile")},n)})]})}):null})})}),X.jsx(Fe,{size:{xs:12,md:6},className:A("".concat(Ui,"__preview"),"hide","show-md"),children:l.map(function(e){var t=e.props.id,n=e.props["data-image-url"]||e.props.imageUrl,i=e.props["data-image-alt"]||e.props.imageAlt;return n?X.jsx(He,{"data-feature-accordion-image":!0,"data-feature-accordion-image-for":t,src:n,alt:i,className:"hide"},t):null})})]}))},Hi=function(e){var t=e.imageUrl,n=e.imageAlt,i=e.className,r=e.defaultOpen,o=S(e,["imageUrl","imageAlt","className","defaultOpen"]);return X.jsx(re,b({className:A("feature-accordion__item",i),"data-feature-accordion-item":!0,"data-image-url":t,"data-image-alt":n,isActive:r},o))};Hi.displayName="FeatureAccordionItem";var Wi="section",qi=function(e){var t=e.className,n=e.color,i=void 0===n?"white":n,r=e.spacing,o=e.tag,a=void 0===o?"div":o,s=e.children,l=S(e,["className","color","spacing","tag","children"]),c=A(Wi,v(v({},"".concat(Wi,"--").concat(r),r),"bg-".concat(i),"white"!==i),t);return X.jsx(a,b(b({className:c},l),{},{children:X.jsx(We,{children:s})}))};qi.displayName="Section";var $i=function(t){var n=t.className,i=t.children,r=t.colorScheme,o=t.isUnderline,a=t.isNormal,s=t.tag,l=void 0===s?"a":s,c=t.href,u=S(t,["className","children","colorScheme","isUnderline","isNormal","tag","href"]),d=A("link",{"is-dark":"dark"===r,"is-light":"light"===r,underline:o,normal:a},n);return"a"!==l||c||console.warn("Anchor element requires a valid address. Provide a valid, navigable address as the href value. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href"),e.createElement(l,Object.assign({href:c,className:d},u),i)};$i.displayName="Link";var Gi=(new Date).getFullYear(),Ki={columns:[{title:"Eshop",links:[{label:"Telefóny",url:"/eshop/telefony"},{label:"Prenos císla",url:"/eshop/prenos-cisla"},{label:"Akciové ponuky v e-shope",url:"/eshop/akciove-ponuky"},{label:"Sledovanie objednávky",url:"/eshop/sledovanie-objednavky"},{label:"Ponuka Love",url:"/eshop/ponuka-love"},{label:"Pevny internet",url:"/eshop/pevny-internet"},{label:"Orange TV",url:"/eshop/orange-tv"},{label:"Predajná brozúra",url:"/eshop/predajna-brozura"}]},{title:"Služby",links:[{label:"Porovnanie paušálov",url:"/sluzby/porovnanie-pausalov"},{label:"Mobilný internet",url:"/sluzby/mobilny-internet"},{label:"Pevný internet",url:"/sluzby/pevny-internet"},{label:"Televízia",url:"/sluzby/televizia"},{label:"Prima Voľba",url:"/sluzby/prima-volba"},{label:"Roaming",url:"/sluzby/roaming"},{label:"Ostatné doplnkové služby",url:"/sluzby/doplnkove-sluzby"},{label:"Môj Orange",url:"/sluzby/moj-orange"}]},{title:"Pomoc a podpora",links:[{label:"Cenník",url:"/podpora/cennik"},{label:"Expertlinka",url:"/podpora/expertlinka"},{label:"Dobitie kreditu",url:"/podpora/dobitie-kreditu"},{label:"Reklamácie a riešenie sporov",url:"/podpora/reklamacie"},{label:"Elektronický záručný list",url:"/podpora/zarucny-list"},{label:"Nariadenie GDPR",url:"/podpora/gdpr"},{label:"Telemarketing",url:"/podpora/telemarketing"},{label:"Mapa pokrytia",url:"/podpora/mapa-pokrytia"}]},{title:"O nás",links:[{label:"Kariéra",url:"/sluzby/kariera"},{label:"Tlačové správy",url:"/sluzby/tlacove-spravy"},{label:"Predajne",url:"/sluzby/predajne"},{label:"Spoločenská zodpovednosť",url:"/sluzby/zodpovednost"},{label:"Bez nástrah online",url:"/sluzby/bez-nastrah-online"},{label:"Nadácia Orange",url:"/sluzby/nadacia-orange"},{label:"Orange pre developerov",url:"/sluzby/pre-developerov"},{label:"Informácie pre stavebníkov",url:"/sluzby/pre-stavebnikov"}]}],bottomLinks:[{label:"Kontakt",url:"/kontakt"},{label:"Nastavenia cookies",url:"/nastavenia-cookies"},{label:"Správa osobných údajov",url:"/sprava-osobnych-udajov"},{label:"Všeobecné podmienky",url:"/vseobecne-podmienky"},{label:"Informácie pre koncových užívateľov",url:"/informacie-pre-uzivatelov"}],copyright:"© 1997 - ".concat(Gi," Orange")},Yi="footer",Xi=function(e){var t,n=e.className,i=e.isInverse,r=e.data,o=void 0===r?Ki:r,a=S(e,["className","isInverse","data"]),s=A(Yi,v({},"".concat(Yi,"--inverse"),i),n);return X.jsxs(qi,b(b({tag:"footer",className:s},a),{},{children:[X.jsx(He,{src:"/logo.svg",alt:"logo",className:"mb-xlarge"}),X.jsx(Me,{rowGapSize:"medium",children:o.columns.map(function(e,t){return X.jsxs(Fe,{size:{lg:3,md:4,sm:6,xs:12},children:[X.jsx("h5",{className:"mb-large",children:e.title}),X.jsx("ul",{className:"list-unstyled",children:e.links.map(function(e,n){return X.jsx("li",{className:"mb-small",children:X.jsx($i,{className:"".concat(Yi,"__link"),href:e.url,children:e.label})},"footer-link-".concat(t,"-").concat(n))})})]},"footer-column-".concat(t))})}),X.jsx("hr",{}),X.jsx("p",{className:"small",children:"Sledujte nás"}),X.jsx("hr",{}),X.jsxs(Me,{className:"align-items-end",rowGapSize:"xlarge",children:[X.jsx(Fe,{size:{xs:12,md:9},children:X.jsx(ve,{className:"mb-none",space:"small",children:null===(t=o.bottomLinks)||void 0===t?void 0:t.map(function(e,t){return X.jsx(be,{children:X.jsx($i,{href:e.url,isNormal:!0,children:e.label})},"footer-bottom-link-".concat(t))})})}),X.jsx(Fe,{size:{xs:12,md:3},children:o.copyright})]})]}))};Xi.displayName="Footer";var Ji="card",Qi=e.forwardRef(function(e,t){var n=e.className,i=e.color,r=void 0===i?"white":i,o=e.hasBorder,a=e.hasShadow,s=S(e,["className","color","hasBorder","hasShadow"]),l=A(Ji,v(v(v({},"bg-".concat(r),"white"!==r),"".concat(Ji,"--bordered"),o),"".concat(Ji,"--shadow"),a),n);return X.jsx("div",b({className:l,ref:t},s))});Qi.displayName="Card";var Zi="card__section",er=e.forwardRef(function(e,t){var n=e.className,i=e.color,r=e.isFilling,o=e.space,a=S(e,["className","color","isFilling","space"]),s=A(Zi,v(v(v({},"bg-".concat(i),i),"".concat(Zi,"--fill"),r),"".concat(Zi,"--space-small"),"small"===o),n);return X.jsx("div",b({className:s,ref:t},a))});er.displayName="CardSection";var tr="card__product-header",nr=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.image,o=e.space,a=S(e,["className","children","image","space"]),s=A(tr,v({},"".concat(tr,"--space-small"),"small"===o),n);return X.jsxs("div",b(b({className:s,ref:t},a),{},{children:[X.jsx("div",{children:i}),r]}))});nr.displayName="CardProductHeader";var ir=function(e,t){var n=e;return"".concat(e/2*(t/100),", ").concat(n)},rr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.min(Math.max(e,t),n)},or="gauge",ar=e.forwardRef(function(e,t){var n=e.children,i=e.className,r=e.percentage,o=void 0===r?0:r,a=S(e,["children","className","percentage"]),s=function(e){return Math.PI*(e+.22*e)*2}(100),l={r:100,cx:110,cy:110,strokeWidth:15,fill:"none",transform:"rotate(160, 110, 110)"};return X.jsxs("figure",b(b({ref:t,className:A("".concat(or),i)},a),{},{children:[X.jsxs("svg",{width:"220",height:"150",viewBox:"0 0 220 150",className:"".concat(or,"__dial"),children:[X.jsx("circle",b({className:"".concat(or,"__display"),strokeDasharray:ir(s,100)},l)),X.jsx("circle",b({className:"".concat(or,"__indicator"),strokeDasharray:ir(s,rr(o))},l))]}),X.jsx("figcaption",{className:"".concat(or,"__text"),children:n})]}))});ar.displayName="Gauge";var sr={cycleDuration:4e3,delay:5e3},lr=function(){return m(function e(t,n){p(this,e),this.element=t,this.config=Object.assign(Object.assign({},sr),n),this.interval=null,this.delay=null,this.currentMessageIndex=0,this.messages=[],this.cycleMessages=this.cycleMessages.bind(this),this.element.ODS_Loader=this,this.init()},[{key:"initBody",value:function(){var e,t=this.element.getAttribute("data-loader-messages");this.messages=t?JSON.parse(t):[],this.messages.length&&(this.interval=window.setInterval(this.cycleMessages,null!==(e=this.config.cycleDuration)&&void 0!==e?e:sr.cycleDuration))}},{key:"init",value:function(){var e,t=this;this.element.hasAttribute("data-loader-delayed")?this.delay=window.setTimeout(function(){t.element.parentNode&&t.element.parentNode instanceof HTMLElement&&t.element.parentNode.classList.remove("hide"),t.initBody()},null!==(e=this.config.delay)&&void 0!==e?e:sr.delay):this.initBody()}},{key:"destroy",value:function(){this.interval&&window.clearInterval(this.interval),this.delay&&window.clearTimeout(this.delay)}},{key:"cycleMessages",value:function(){this.currentMessageIndex<this.messages.length?(this.element.innerText=this.messages[this.currentMessageIndex],this.currentMessageIndex+=1):this.destroy()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Loader?e.ODS_Loader:null}}])}(),cr="loader",ur=function(e){var t=e.messages,n=e.size,i=void 0===n?"default":n,r=e.className,o=e.colour,a=void 0===o?"default":o,s=e.isDelayed,l=e.children,c=S(e,["messages","size","className","colour","isDelayed","children"]),u=y(B(lr,{messages:t,isDelayed:s}),1)[0],d=A(cr,v(v(v({},"".concat(cr,"--").concat(i),"default"!==i),"".concat(cr,"--").concat(a),"default"!==a),"hide",s),r);return X.jsxs("div",b(b({className:d},c),{},{children:[X.jsx("div",{className:A("".concat(cr,"__body"),v({},"".concat(cr,"__body--inverse"),"default"!==a)),children:X.jsx("div",{className:A("".concat(cr,"__line"),v({},"".concat(cr,"__line--inverse"),"default"!==a))})}),t&&X.jsx("div",{"data-loader":!0,"data-loader-delayed":s,"data-loader-messages":JSON.stringify(t),className:"".concat(cr,"__messages"),ref:u,children:l})]}))};ur.displayName="Loader";const dr=":not([inert]):not([inert] *)",hr=':not([tabindex^="-"])',pr=":not(:disabled)";var fr=[`a[href]${dr}${hr}`,`area[href]${dr}${hr}`,`input:not([type="hidden"]):not([type="radio"])${dr}${hr}${pr}`,`input[type="radio"]${dr}${hr}${pr}`,`select${dr}${hr}${pr}`,`textarea${dr}${hr}${pr}`,`button${dr}${hr}${pr}`,`details${dr} > summary:first-of-type${hr}`,`iframe${dr}${hr}`,`audio[controls]${dr}${hr}`,`video[controls]${dr}${hr}`,`[contenteditable]${dr}${hr}`,`[tabindex]${dr}${hr}`];function mr(e){(e.querySelector("[autofocus]")||e).focus()}function vr(e,t){if(t&&yr(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let n=gr(e.shadowRoot,t);for(;n;){const e=vr(n,t);if(e)return e;n=br(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=vr(e,t);if(n)return n}}else{let n=gr(e,t);for(;n;){const e=vr(n,t);if(e)return e;n=br(n,t)}}return!t&&yr(e)?e:null}function gr(e,t){return t?e.firstElementChild:e.lastElementChild}function br(e,t){return t?e.nextElementSibling:e.previousElementSibling}const yr=e=>!e.shadowRoot?.delegatesFocus&&(e.matches(fr.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e));function xr(e=document){const t=e.activeElement;return t?t.shadowRoot?xr(t.shadowRoot)||document.activeElement:t:null}function wr(e,t){const[n,i]=function(e){const t=vr(e,!0);return[t,t?vr(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const r=xr();t.shiftKey&&r===n?(i.focus(),t.preventDefault()):t.shiftKey||r!==i||(n.focus(),t.preventDefault())}function Nr(e,t){return function t(n){if(!n||n===document||n===window)return null;const i=_r(n);return i&&(n=i),n.closest(e)||t(n.getRootNode().host)}(t)}function _r(e){return e.assignedSlot||(e.parentNode?_r(e.parentNode):null)}const Sr="data-a11y-dialog";class kr{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(Sr)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){if(this.shown)return this;return this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=xr(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():mr(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){if(!this.shown)return this;return this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0],n=Nr(`[${Sr}-show="${this.id}"]`,t),i=Nr(`[${Sr}-hide="${this.id}"]`,t),r=Nr(`[${Sr}-hide]`,t)&&Nr('[aria-modal="true"]',t)===this.$el;n&&this.show(e),(i||r)&&this.hide(e)}bindKeypress(e){if(Nr('[aria-modal="true"]',xr())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&wr(this.$el,e)}maintainFocus(){const e=xr();Nr(`[aria-modal="true"], [${Sr}-ignore-focus-trap]`,e)||mr(this.$el)}}function jr(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new kr(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",jr):jr());
|
|
31
|
+
/*!
|
|
32
|
+
* tabbable 6.2.0
|
|
33
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
34
|
+
*/var Er=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Or="undefined"==typeof Element,Ar=Or?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Cr=!Or&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Tr=function e(t,n){var i;void 0===n&&(n=!0);var r=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Dr=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex},Lr=function(e){return"INPUT"===e.tagName},Ir=function(e){return function(e){return Lr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Cr(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Pr=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},Rr=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Ar.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Ar.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Pr(e)}else{if("function"==typeof i){for(var o=e;e;){var a=e.parentElement,s=Cr(e);if(a&&!a.shadowRoot&&!0===i(a))return Pr(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=o}if(function(e){var t,n,i,r,o=e&&Cr(e),a=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=o=Cr(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Mr=function(e,t){return!(t.disabled||Tr(t)||function(e){return Lr(e)&&"hidden"===e.type}(t)||Rr(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!Ar.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},zr=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Ar.call(e,Er)&&function(e,t){return!(Ir(t)||Dr(t)<0||!Mr(e,t))}(t,e)},Fr=function(){function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},{classModalIsOpen:"is-active",classModalIsOpenBody:"has-modal",root:"#root",modalsRoot:"#root-modals"}),n),this.handleShow=this.handleShow.bind(this),this.handleHide=this.handleHide.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.headerFirstItemSpacing=this.headerFirstItemSpacing.bind(this),e.moveToModalRoot=e.moveToModalRoot.bind(this),e.lockBody=e.lockBody.bind(this),e.unlockBody=e.unlockBody.bind(this),this.element.ODS_Modal=this,this.init(),this}return m(e,[{key:"handleShow",value:function(t){e.lockBody(),t&&t.classList.add(this.config.classModalIsOpen);var n=t.querySelector("[data-a11y-dialog-initial-focus]");n&&(zr(n)||n.setAttribute("tabindex","-1"),n.focus())}},{key:"handleHide",value:function(t){e.unlockBody(),t&&t.classList.remove(this.config.classModalIsOpen)}},{key:"show",value:function(){this.instance.show()}},{key:"hide",value:function(){this.instance.hide()}},{key:"headerFirstItemSpacing",value:function(){var e=this.element.querySelector(".modal__header");if(e){var t=Array.from(e.children).find(function(e){return!e.classList.contains("btn")});t&&(t.style.marginRight="40px")}}},{key:"init",value:function(){var t=this;this.config.modalsRoot&&e.moveToModalRoot(this.element,document.querySelector(this.config.modalsRoot)),this.instance=new kr(this.element),this.instance.on("show",function(e){var n=e.currentTarget;t.handleShow(n)}),this.instance.on("hide",function(e){var n=e.currentTarget;t.handleHide(n)}),this.headerFirstItemSpacing()}},{key:"destroy",value:function(){this.instance.destroy(),this.element.ODS_Modal=this}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Modal||null}},{key:"moveToModalRoot",value:function(e,t){var n;t?t.appendChild(e):console.warn("`modalsRoot: ".concat(null===(n=this.config)||void 0===n?void 0:n.modalsRoot,"` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide `modalsRoot` selector (should be placed outside of main contant, usualy in end of <body /> tag)"))}},{key:"lockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),o=t||(null===(i=this.config)||void 0===i?void 0:i.root),a=document.querySelector(o),s=document.documentElement.scrollTop||document.body.scrollTop;document.body.setAttribute("data-lock-scrolltop",s.toString()),document.body.style.height="100%",document.body.style.width="100%",document.body.style.overflow="hidden",document.body.style.position="fixed",a&&(a.style.height="100%",a.style.width="100%",a.style.overflow="hidden",a.style.position="fixed",a.scrollTop=s),document.body.classList.add(r),window.requestAnimationFrame(function(){window.scrollTo(0,s)})}},{key:"unlockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),o=t||(null===(i=this.config)||void 0===i?void 0:i.root),a=document.querySelector(o),s=document.body.getAttribute("data-lock-scrolltop")||"0";document.body.style.height="",document.body.style.width="",document.body.style.overflow="",document.body.style.position="",document.body.classList.remove(r),a&&(a.style.height="",a.style.width="",a.style.overflow="",a.style.position=""),window.requestAnimationFrame(function(){window.scrollTo({left:0,top:parseInt(s,10),behavior:"instant"})})}}])}(),Br=function(e){return X.jsx(Xe,b({iconName:"delete",type:"ghost",isSquare:!0,size:"small",className:"modal__close","data-a11y-dialog-hide":!0,"aria-label":"Zatvoriť"},e))};Br.displayName="ModalCloseButton";var Ur=function(e){var t=e.size,n=e.className,i=e.children,r=S(e,["size","className","children"]);return X.jsx("h2",b(b({className:A(n,{"display-3":"large"===t,h2:"small"===t})},r),{},{children:i}))};Ur.displayName="ModalTitle";var Vr="modal__body",Hr=function(e){var t=e.color,n=e.className,i=e.children,r=S(e,["color","className","children"]);return X.jsx("div",b(b({className:A(Vr,n,v(v({},"bg-".concat(t),t),"".concat(Vr,"--colorful"),t))},r),{},{children:i}))};Hr.displayName="ModalBody";var Wr="modal",qr={actions:[X.jsx(Ue,{"data-a11y-dialog-hide":!0,children:"Zatvoriť"},"1")],noInit:!1},$r=function(e){var t=e.actions,n=void 0===t?qr.actions:t,r=e.className,o=e.children,a=e.hasStickyFooter,s=e.id,l=e.noInit,c=void 0===l?qr.noInit:l,u=e.isActive,d=e.size,h=e.title,p=e.renderBody,f=e.renderTitle,m=e.renderFooter,g=e.fullHeight,x=e.colorScheme,w=S(e,["actions","className","children","hasStickyFooter","id","noInit","isActive","size","title","renderBody","renderTitle","renderFooter","fullHeight","colorScheme"]),N=y(B(Fr),2),_=N[0],k=N[1];i(function(){u&&k&&k.current&&k.current.show()},[k,u]);var j=A("".concat(Wr,"__dialog"),v(v(v(v({},"".concat(Wr,"__dialog--").concat(d),d),"".concat(Wr,"__dialog--full-height"),g),"is-dark","dark"===x),"is-light","light"===x),r),E="".concat(s,"-title"),O=f?f(s):X.jsx(Ur,{id:E,size:d,"data-a11y-dialog-initial-focus":!0,children:h});return X.jsxs("div",{id:s,"data-modal":!c,className:Wr,ref:_,role:"dialog","aria-hidden":"true","aria-modal":"true","aria-labelledby":E,children:[X.jsx("div",{className:"modal__overlay",tabIndex:-1,"data-a11y-dialog-hide":!0}),X.jsxs("div",b(b({className:j,role:"document"},w),{},{children:[X.jsxs("div",{className:"".concat(Wr,"__header"),children:[X.jsx(Br,{}),O]}),p?p():X.jsx(Hr,{children:o}),X.jsx("div",{className:A("".concat(Wr,"__footer"),v({},"".concat(Wr,"__footer--sticky"),a)),children:m?m():X.jsx(se,{condition:n.length>1,wrapper:X.jsx(ae,{}),children:n.map(function(e){return e})})})]}))]})};$r.displayName="Modal";var Gr="sticker",Kr=function(e){var t=e.color,n=e.size,i=e.children,r=e.className,o=S(e,["color","size","children","className"]),a=A(Gr,v(v({},"".concat(Gr,"--").concat(t),t),"".concat(Gr,"--").concat(n),n),r);return X.jsx("div",b(b({className:a},o),{},{children:i}))};Kr.displayName="Sticker";var Yr="list",Xr=function(e){var t=e.color,n=e.isEnclosed,i=e.size,r=e.className,o=e.children,a=S(e,["color","isEnclosed","size","className","children"]),s=A(Yr,v(v(v({},"".concat(Yr,"--").concat(i),i),"".concat(Yr,"--").concat(t),t),"".concat(Yr,"--enclosed"),n),r);return X.jsx("ul",b(b({className:s},a),{},{children:o}))},Jr=function(e){var t=e.href,n=e.className,i=e.children,r=S(e,["href","className","children"]),o=t?"a":"button",a="button"===o?"button":void 0,s=A("list__control",n);return X.jsxs(o,b(b({className:s,type:a,href:t},r),{},{children:[i,X.jsx(te,{name:"chevron-right",size:"medium",className:"list__indicator"})]}))};Jr.displayName="ListItemClickableControl";var Qr=function(e){var t=e.controlProps,n=e.className,i=e.children,r=S(e,["controlProps","className","children"]),o=A("list__item",n);return X.jsx("li",b(b({className:o},r),{},{children:X.jsx(se,{condition:void 0!==t,wrapper:X.jsx(Jr,b({},t)),children:i})}))};Qr.displayName="ListItem";var Zr="orange",eo="progress",to=function(e){var t=e.color,n=void 0===t?Zr:t,i=e.label,r=e.value,o=e.width,a=e.className,s=e.colorMode,l=S(e,["color","label","value","width","className","colorMode"]);return X.jsxs("div",b(b({className:A(eo,{"is-dark":"dark"===s,"is-light":"light"===s},a)},l),{},{children:[X.jsx("div",{className:"".concat(eo,"__label"),children:i}),X.jsx("div",{className:"".concat(eo,"__bar"),children:X.jsx("div",{className:A("".concat(eo,"__indicator"),v({},"".concat(eo,"__indicator--").concat(n),n!==Zr)),style:{width:"".concat(o?100*o:0,"%")}})}),X.jsx("div",{className:"".concat(eo,"__value"),children:r})]}))};to.displayName="Progress";var no="pagination__link",io=function(e){var t=e.ariaLabel,n=e.className,i=e.hasIcon,r=e.href,o=e.isActive,a=e.isFirst,s=e.isLast,l=e.label,c=S(e,["ariaLabel","className","hasIcon","href","isActive","isFirst","isLast","label"]),u=A("pagination__item",n),d=A(no,"btn btn--square",v({},"".concat(no,"--active"),o));return X.jsx("li",b(b({className:u},c),{},{children:X.jsxs("a",{href:r,className:d,"aria-current":o?"page":void 0,"aria-label":t,children:[i&&a&&X.jsx(te,{name:"chevron-start"}),!i&&l,i&&s&&X.jsx(te,{name:"chevron-end"})]})}))};io.displayName="PaginationItem";var ro=function(e){var t=e.className,n=S(e,["className"]),i=A("pagination__separator",t);return X.jsx("li",b(b({className:i},n),{},{children:"…"}))};ro.displayName="PaginationSeparator";var oo=function(t){var n=t.className,i=t.label,r=t.isCompact,o=t.colorScheme,a=void 0===o?"light":o,s=t.items,l=S(t,["className","label","isCompact","colorScheme","items"]),c=A("pagination",{"is-dark":"dark"===a,"is-light":"light"===a},n),u=d(function(){return s.findIndex(function(e){return e.isActive})},[s]);return X.jsx("nav",{"aria-label":i,children:X.jsx("ul",b(b({className:c},l),{},{children:s.map(function(t,n){var i=function(e){var t=e.activeIndex,n=e.items,i=e.isCompact,r=e.index,o=0===r,a=1===r,s=r===t,l=r===n.length-2,c=r===n.length-1,u=t===r-1||t===r+1,d=r<t+Math.floor(2.5)&&r>t||r>t-Math.floor(2.5)&&r<t,h=r<4&&t<3,p=r>n.length-5&&t>n.length-4,f=!(d||h||p||o||s||c),m=a&&f||l&&f;return{isFirst:o,isHidden:f,isLast:c,isSecond:a,isSecondFromEnd:l,hasIcon:i&&!s&&(o||c)&&!u&&!(n.length<=5),showSeparator:m}}({activeIndex:u,items:s,isCompact:r||!1,index:n}),o=i.isFirst,a=i.isHidden,l=i.isLast,c=i.isSecond,d=i.isSecondFromEnd,h=i.hasIcon,p=i.showSeparator;return X.jsxs(e.Fragment,{children:[!r&&p&&c&&X.jsx(ro,{}),X.jsx(io,b(b({},t),{},{ariaLabel:t.ariaLabel||t.label,isActive:t.isActive||!1,isFirst:o,isLast:l,className:A({hide:a}),hasIcon:h})),!r&&p&&d&&X.jsx(ro,{})]},n.toString())})}))})};oo.displayName="Pagination";var ao,so={exports:{}};var lo=k(ao?so.exports:(ao=1,window,so.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=37)}([function(e,t,n){var i=n(1),r=n(6),o=n(7),a=n(16),s=n(18),l="prototype",c=function(e,t,n){var u,d,h,p,f=e&c.F,m=e&c.G,v=e&c.S,g=e&c.P,b=e&c.B,y=m?i:v?i[t]||(i[t]={}):(i[t]||{})[l],x=m?r:r[t]||(r[t]={}),w=x[l]||(x[l]={});for(u in m&&(n=t),n)h=((d=!f&&y&&void 0!==y[u])?y:n)[u],p=b&&d?s(h,i):g&&"function"==typeof h?s(Function.call,h):h,y&&a(y,u,h,e&c.U),x[u]!=h&&o(x,u,p),g&&w[u]!=h&&(w[u]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n.r(t),n.d(t,"h",function(){return s}),n.d(t,"createElement",function(){return s}),n.d(t,"cloneElement",function(){return u}),n.d(t,"Component",function(){return I}),n.d(t,"render",function(){return P}),n.d(t,"rerender",function(){return f}),n.d(t,"options",function(){return r});var i=function(){},r={},o=[],a=[];function s(e,t){var n,s,l,c,u=a;for(c=arguments.length;2<c--;)o.push(arguments[c]);for(t&&null!=t.children&&(o.length||o.push(t.children),delete t.children);o.length;)if((s=o.pop())&&void 0!==s.pop)for(c=s.length;c--;)o.push(s[c]);else"boolean"==typeof s&&(s=null),(l="function"!=typeof e)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(l=!1)),l&&n?u[u.length-1]+=s:u===a?u=[s]:u.push(s),n=l;var d=new i;return d.nodeName=e,d.children=u,d.attributes=null==t?void 0:t,d.key=null==t?void 0:t.key,void 0!==r.vnode&&r.vnode(d),d}function l(e,t){for(var n in t)e[n]=t[n];return e}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function u(e,t){return s(e.nodeName,l(l({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var d=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,h=[];function p(e){!e._dirty&&(e._dirty=!0)&&1==h.push(e)&&(r.debounceRendering||c)(f)}function f(){var e,t=h;for(h=[];e=t.pop();)e._dirty&&D(e)}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var i in n)void 0===t[i]&&(t[i]=n[i]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n,i,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),i&&i(e);else if("class"!==t||r)if("style"===t){if(i&&"string"!=typeof i&&"string"!=typeof n||(e.style.cssText=i||""),i&&"object"==typeof i){if("string"!=typeof n)for(var o in n)o in i||(e.style[o]="");for(var o in i)e.style[o]="number"==typeof i[o]&&!1===d.test(o)?i[o]+"px":i[o]}}else if("dangerouslySetInnerHTML"===t)i&&(e.innerHTML=i.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),i?n||e.addEventListener(t,y,a):e.removeEventListener(t,y,a),(e._listeners||(e._listeners={}))[t]=i}else if("list"!==t&&"type"!==t&&!r&&t in e){try{e[t]=null==i?"":i}catch(e){}null!=i&&!1!==i||"spellcheck"==t||e.removeAttribute(t)}else{var s=r&&t!==(t=t.replace(/^xlink:?/,""));null==i||!1===i?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof i&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):e.setAttribute(t,i))}else e.className=i||""}function y(e){return this._listeners[e.type](r.event&&r.event(e)||e)}var x=[],w=0,N=!1,_=!1;function S(){for(var e;e=x.pop();)r.afterMount&&r.afterMount(e),e.componentDidMount&&e.componentDidMount()}function k(e,t,n,i,r){var o=e,a=N;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),j(e,!0))),o.__preactattr_=!0,o;var s=t.nodeName;if("function"==typeof s)return function(e,t,n,i){for(var r=e&&e._component,o=r,a=e,s=r&&e._componentConstructor===t.nodeName,l=s,c=v(t);r&&!l&&(r=r._parentComponent);)l=r.constructor===t.nodeName;return r&&l&&(!i||r._component)?(T(r,c,3,n,i),e=r.base):(o&&!s&&(L(o),e=a=null),r=A(t.nodeName,c,n),e&&!r.nextBase&&(r.nextBase=e,a=null),T(r,c,1,n,i),e=r.base,a&&e!==a&&(a._component=null,j(a,!1))),e}(e,t,n,i);if(N="svg"===s||"foreignObject"!==s&&N,s=String(s),(!e||!m(e,s))&&(o=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(s,N),e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),j(e,!0)}var l=o.firstChild,c=o.__preactattr_,u=t.children;if(null==c){c=o.__preactattr_={};for(var d=o.attributes,h=d.length;h--;)c[d[h].name]=d[h].value}return!_&&u&&1===u.length&&"string"==typeof u[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=u[0]&&(l.nodeValue=u[0]):(u&&u.length||null!=l)&&function(e,t,n,i,r){var o,a,s,l,c,u,d,h,p=e.childNodes,f=[],v={},b=0,y=0,x=p.length,w=0,N=t?t.length:0;if(0!==x)for(var _=0;_<x;_++){var S=p[_],E=S.__preactattr_;null!=(O=N&&E?S._component?S._component.__key:E.key:null)?(b++,v[O]=S):(E||(void 0!==S.splitText?!r||S.nodeValue.trim():r))&&(f[w++]=S)}if(0!==N)for(_=0;_<N;_++){var O;if(c=null,null!=(O=(l=t[_]).key))b&&void 0!==v[O]&&(c=v[O],v[O]=void 0,b--);else if(y<w)for(o=y;o<w;o++)if(void 0!==f[o]&&(u=a=f[o],h=r,"string"==typeof(d=l)||"number"==typeof d?void 0!==u.splitText:"string"==typeof d.nodeName?!u._componentConstructor&&m(u,d.nodeName):h||u._componentConstructor===d.nodeName)){c=a,f[o]=void 0,o===w-1&&w--,o===y&&y++;break}c=k(c,l,n,i),s=p[_],c&&c!==e&&c!==s&&(null==s?e.appendChild(c):c===s.nextSibling?g(s):e.insertBefore(c,s))}if(b)for(var _ in v)void 0!==v[_]&&j(v[_],!1);for(;y<=w;)void 0!==(c=f[w--])&&j(c,!1)}(o,u,n,i,_||null!=c.dangerouslySetInnerHTML),function(e,t,n){var i;for(i in n)t&&null!=t[i]||null==n[i]||b(e,i,n[i],n[i]=void 0,N);for(i in t)"children"===i||"innerHTML"===i||i in n&&t[i]===("value"===i||"checked"===i?e[i]:n[i])||b(e,i,n[i],n[i]=t[i],N)}(o,t.attributes,c),N=a,o}function j(e,t){var n=e._component;n?L(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||g(e),E(e))}function E(e){for(e=e.lastChild;e;){var t=e.previousSibling;j(e,!0),e=t}}var O=[];function A(e,t,n){var i,r=O.length;for(e.prototype&&e.prototype.render?(i=new e(t,n),I.call(i,t,n)):((i=new I(t,n)).constructor=e,i.render=C);r--;)if(O[r].constructor===e)return i.nextBase=O[r].nextBase,O.splice(r,1),i;return i}function C(e,t,n){return this.constructor(e,n)}function T(e,t,n,i,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,i)),i&&i!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=i),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===r.syncComponentUpdates&&e.base?p(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var o,a,s,c=e.props,u=e.state,d=e.context,h=e.prevProps||c,p=e.prevState||u,f=e.prevContext||d,m=e.base,g=e.nextBase,b=m||g,y=e._component,E=!1,O=f;if(e.constructor.getDerivedStateFromProps&&(u=l(l({},u),e.constructor.getDerivedStateFromProps(c,u)),e.state=u),m&&(e.props=h,e.state=p,e.context=f,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,u,d)?E=!0:e.componentWillUpdate&&e.componentWillUpdate(c,u,d),e.props=c,e.state=u,e.context=d),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!E){o=e.render(c,u,d),e.getChildContext&&(d=l(l({},d),e.getChildContext())),m&&e.getSnapshotBeforeUpdate&&(O=e.getSnapshotBeforeUpdate(h,p));var C,I,P=o&&o.nodeName;if("function"==typeof P){var R=v(o);(a=y)&&a.constructor===P&&R.key==a.__key?T(a,R,1,d,!1):(C=a,e._component=a=A(P,R,d),a.nextBase=a.nextBase||g,a._parentComponent=e,T(a,R,0,d,!1),D(a,1,n,!0)),I=a.base}else s=b,(C=y)&&(s=e._component=null),(b||1===t)&&(s&&(s._component=null),I=function(e,t,n,i,r,o){w++||(N=null!=r&&void 0!==r.ownerSVGElement,_=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,i,o);return r&&a.parentNode!==r&&r.appendChild(a),--w||(_=!1),a}(s,o,d,n||!m,b&&b.parentNode,!0));if(b&&I!==b&&a!==y){var M=b.parentNode;M&&I!==M&&(M.replaceChild(I,b),C||(b._component=null,j(b,!1)))}if(C&&L(C),(e.base=I)&&!i){for(var z=e,F=e;F=F._parentComponent;)(z=F).base=I;I._component=z,I._componentConstructor=z.constructor}}for(!m||n?x.unshift(e):E||(e.componentDidUpdate&&e.componentDidUpdate(h,p,O),r.afterUpdate&&r.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);w||i||S()}}function L(e){r.beforeUnmount&&r.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?L(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),g(e.nextBase=t),O.push(e),E(t)),e.__ref&&e.__ref(null)}function I(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function P(e,t,n){return function(e,t,n,i,r,o){w++||(N=null!=r&&void 0!==r.ownerSVGElement,_=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,i,o);return r&&a.parentNode!==r&&r.appendChild(a),--w||(_=!1,S()),a}(n,e,{},!1,t,!1)}l(I.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),p(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),D(this,2)},render:function(){}});var R={h:s,createElement:s,cloneElement:u,Component:I,render:P,rerender:f,options:r};t.default=R},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(8),r=n(40);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(9),r=n(38),o=n(39),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(2);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(4);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(41)})},function(e,t,n){var i=n(2),r=n(1).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(1),r=n(7),o=n(17),a=n(10)("src"),s="toString",l=Function[s],c=(""+l).split(s);n(6).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||r(n,a,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||l.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(19);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(42),r=n(28);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(11),r=n(12);e.exports=function(e){return i(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(21),r=n(24),o=n(43);e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){for(;u<c;)if((s=l[u++])!=s)return!0}else for(;u<c;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(25),r=Math.min;e.exports=function(e){return 0<e?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}},function(e,t,n){var i=n(27)("keys"),r=n(10);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(6),r=n(1),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(12);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(8).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){var i=n(0),r=n(32)(1);i(i.P+i.F*!n(13)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(18),r=n(11),o=n(29),a=n(24),s=n(47);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,p=t||s;return function(t,s,f){for(var m,v,g=o(t),b=r(g),y=i(s,f,3),x=a(b.length),w=0,N=n?p(t,x):l?p(t,0):void 0;w<x;w++)if((h||w in b)&&(v=y(m=b[w],w,g),e))if(n)N[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:N.push(m)}else if(u)return!1;return d?-1:c||u?u:N}}},function(e,t,n){var i=n(22);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(27)("wks"),r=n(10),o=n(1).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),r=n(23)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(13)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(52)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var i=n(5),r=function(e){return e&&e.__esModule?e:{default:e}}(n(51));function o(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");Array.isArray(e.source)&&(e.source=a(e.source)),(0,i.render)((0,i.createElement)(r.default,e),e.element)}var a=function(e){return function(t,n){n(e.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}};o.enhanceSelectElement=function(e){if(!e.selectElement)throw new Error("selectElement is not defined");if(!e.source){var t=[].filter.call(e.selectElement.options,function(t){return t.value||e.preserveNullOptions});e.source=t.map(function(e){return e.textContent||e.innerText})}if(e.onConfirm=e.onConfirm||function(t){var n=[].filter.call(e.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];n&&(n.selected=!0)},e.selectElement.value||void 0===e.defaultValue){var n=e.selectElement.options[e.selectElement.options.selectedIndex];e.defaultValue=n.textContent||n.innerText}void 0===e.name&&(e.name=""),void 0===e.id&&(void 0===e.selectElement.id?e.id="":e.id=e.selectElement.id),void 0===e.autoselect&&(e.autoselect=!0);var i=document.createElement("div");e.selectElement.parentNode.insertBefore(i,e.selectElement),o(Object.assign({},e,{element:i})),e.selectElement.style.display="none",e.selectElement.id=e.selectElement.id+"-select"};var s=o;t.default=s},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(2);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(20),r=n(45),o=n(46),a=n(29),s=n(11),l=Object.assign;e.exports=!l||n(4)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=r.f,d=o.f;c<l;)for(var h,p=s(arguments[c++]),f=u?i(p).concat(u(p)):i(p),m=f.length,v=0;v<m;)d.call(p,h=f[v++])&&(n[h]=p[h]);return n}:l},function(e,t,n){var i=n(17),r=n(21),o=n(23)(!1),a=n(26)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(25),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(48);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),r=n(33),o=n(34)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(0),r=n(32)(2);i(i.P+i.F*!n(13)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(33)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(36),n(30),n(31),n(35),n(55),n(58);var i=n(5),r=a(n(60)),o=a(n(61));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function u(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var d=function(e){function t(t){var n;return(n=e.call(this,t)||this).elementReferences={},n.state={focused:null,hovered:null,menuOpen:!1,options:t.defaultValue?[t.defaultValue]:[],query:t.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0,searchOnInteraction:!0},n.handleComponentBlur=n.handleComponentBlur.bind(l(l(n))),n.handleKeyDown=n.handleKeyDown.bind(l(l(n))),n.handleUpArrow=n.handleUpArrow.bind(l(l(n))),n.handleDownArrow=n.handleDownArrow.bind(l(l(n))),n.handleEnter=n.handleEnter.bind(l(l(n))),n.handlePrintableKey=n.handlePrintableKey.bind(l(l(n))),n.handleListMouseLeave=n.handleListMouseLeave.bind(l(l(n))),n.handleOptionBlur=n.handleOptionBlur.bind(l(l(n))),n.handleOptionClick=n.handleOptionClick.bind(l(l(n))),n.handleOptionFocus=n.handleOptionFocus.bind(l(l(n))),n.handleOptionMouseDown=n.handleOptionMouseDown.bind(l(l(n))),n.handleOptionMouseEnter=n.handleOptionMouseEnter.bind(l(l(n))),n.handleInputBlur=n.handleInputBlur.bind(l(l(n))),n.handleInputChange=n.handleInputChange.bind(l(l(n))),n.handleInputFocus=n.handleInputFocus.bind(l(l(n))),n.pollInputElement=n.pollInputElement.bind(l(l(n))),n.getDirectInputChanges=n.getDirectInputChanges.bind(l(l(n))),n}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},n.componentDidMount=function(){this.pollInputElement()},n.componentWillUnmount=function(){clearTimeout(this.$pollInput)},n.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},n.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},n.componentDidUpdate=function(e,t){var n=this.state.focused,i=null===n,r=t.focused!==n;r&&!i&&this.elementReferences[n].focus();var o=-1===n,a=r&&null===t.focused;if(o&&a){var s=this.elementReferences[n];s.setSelectionRange(0,s.value.length)}},n.hasAutoselect=function(){return this.props.autoselect},n.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},n.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},n.handleComponentBlur=function(e){var t,n=this.state,i=n.options,r=n.query,o=n.selected;this.props.confirmOnBlur?(t=e.query||r,this.props.onConfirm(i[o])):t=r,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:t,selected:null,validChoiceMade:this.isQueryAnOption(t,i)})},n.handleListMouseLeave=function(e){this.setState({hovered:null})},n.handleOptionBlur=function(e,t){var n=this.state,i=n.focused,r=n.menuOpen,o=n.options,a=n.selected,s=null===e.relatedTarget,l=e.relatedTarget===this.elementReferences[-1],c=i!==t&&-1!==i;if(!c&&s||!c&&!l){var d=r&&u()&&!this.hasAutoselect();this.handleComponentBlur({menuOpen:d,query:this.templateInputValue(o[a])})}},n.handleInputBlur=function(e){var t=this.state,n=t.focused,i=t.menuOpen,r=t.options,o=t.query,a=t.selected,s=0<=n;if(u()&&!e.relatedTarget&&!s&&this.hasAutoselect()){var l=this.templateInputValue(r[a]);this.handleComponentBlur({menuOpen:!1,query:l})}else if(!s){var c=i&&u(),d=u()?o:this.templateInputValue(r[a]);this.handleComponentBlur({menuOpen:c,query:d})}},n.handleInputChange=function(e){var t=this,n=this.props,i=n.minLength,r=n.source,o=n.showAllValues,a=this.state.searchOnInteraction,s=this.hasAutoselect(),l=e.target.value,c=0===l.length,u=a||this.state.query.length!==l.length,d=l.length>=i;this.setState({query:l,ariaHint:c,searchOnInteraction:!0}),o||!c&&u&&d?r(l,function(e){var n=0<e.length;t.setState(function(t){return{menuOpen:n&&null!==t.focused,options:e,selected:s&&n?0:-1,validChoiceMade:!1}})}):!c&&d||this.setState({menuOpen:!1,options:[]})},n.handleInputClick=function(e){this.handleInputChange(e)},n.handleInputFocus=function(e){var t=this.state,n=t.query,i=t.validChoiceMade,r=t.options,o=this.props.minLength,a=!i&&n.length>=o&&0<r.length;a?this.setState(function(e){var t=e.menuOpen;return{focused:-1,menuOpen:a||t,selected:-1}}):this.setState({focused:-1}),e&&this.handleInputChange(e)},n.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e,searchOnInteraction:-1!==e})},n.handleOptionMouseEnter=function(e,t){u()||this.setState({hovered:t})},n.handleOptionClick=function(e,t){var n=this.state.options[t],i=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:i,selected:-1,validChoiceMade:!0}),this.forceUpdate()},n.handleOptionMouseDown=function(e){e.preventDefault()},n.handleUpArrow=function(e){e.preventDefault();var t=this.state,n=t.menuOpen,i=t.selected;-1!==i&&n&&this.handleOptionFocus(i-1)},n.handleDownArrow=function(e){var t=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,i=n.menuOpen,r=n.options,o=n.selected;o!==r.length-1&&i&&this.handleOptionFocus(o+1)}},n.handleSpace=function(e){var t=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e})})),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},n.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},n.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target===t||t.focus()},n.handleKeyDown=function(e){switch(c[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},n.render=function(){var e,t=this,n=this.props,o=n.cssNamespace,a=n.customInputClassName,l=n.wrapperClassName,c=n.optionClassName,d=n.menuClassName,h=n.displayMenu,p=n.enterKeyHint,f=n.id,m=n.minLength,v=n.name,g=n.placeholder,b=n.required,y=n.showAllValues,x=n.tNoResults,w=n.tStatusQueryTooShort,N=n.tStatusNoResults,_=n.tStatusSelectedOption,S=n.tStatusResults,k=n.tAssistiveHint,j=n.dropdownArrow,E=this.state,O=E.focused,A=E.hovered,C=E.menuOpen,T=E.options,D=E.query,L=E.selected,I=E.ariaHint,P=E.validChoiceMade,R=this.hasAutoselect(),M=-1===O,z=0===T.length,F=0!==D.length,B=D.length>=m,U=this.props.showNoOptionsFound&&M&&z&&F&&B,V=o+"__wrapper"+(l?" "+l:""),H=o+"__input",W=null!==O?" "+H+"--focused":"",q=this.props.showAllValues?" "+H+"--show-all-values":" "+H+"--default",$=o+"__dropdown-arrow-down",G=-1!==O&&null!==O,K=o+"__menu",Y=K+"--"+h,X=K+"--"+(C||U?"visible":"hidden"),J=o+"__option",Q=o+"__hint",Z=this.templateInputValue(T[L]),ee=Z&&0===Z.toLowerCase().indexOf(D.toLowerCase())&&R?D+Z.substr(D.length):"",te=f+"__assistiveHint",ne=I?{"aria-describedby":te}:null;return y&&"string"==typeof(e=j({className:$}))&&(e=(0,i.createElement)("div",{className:o+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,i.createElement)("div",{className:V,onKeyDown:this.handleKeyDown},(0,i.createElement)(r.default,{id:f,length:T.length,queryLength:D.length,minQueryLength:m,selectedOption:this.templateInputValue(T[L]),selectedOptionIndex:L,validChoiceMade:P,isInFocus:null!==this.state.focused,tQueryTooShort:w,tNoResults:N,tSelectedOption:_,tResults:S}),ee&&(0,i.createElement)("span",null,(0,i.createElement)("input",{className:Q,readonly:!0,tabIndex:"-1",value:ee})),(0,i.createElement)("input",s({enterkeyhint:p||(u()&&this.hasAutoselect()?"done":""),"aria-expanded":C?"true":"false","aria-activedescendant":!!G&&f+"__option--"+O,"aria-owns":f+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},ne,{autoComplete:"off",className:""+H+W+q+(a?" "+a:""),id:f,onClick:function(e){return t.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:v,placeholder:g,ref:function(e){t.elementReferences[-1]=e},type:"text",role:"combobox",required:b,value:D})),e,(0,i.createElement)("ul",{className:K+" "+Y+" "+X+(d?" "+d:""),onMouseLeave:function(e){return t.handleListMouseLeave(e)},id:f+"__listbox",role:"listbox"},T.map(function(e,n){var r=(-1===O?L===n:O===n)&&null===A?" "+J+"--focused":"",o=n%2?" "+J+"--odd":"",a=u()?"<span id="+f+"__option-suffix--"+n+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(n+1)+" of "+T.length+"</span>":"";return(0,i.createElement)("li",{"aria-selected":O===n?"true":"false",className:""+J+r+o+(c?" "+c:""),dangerouslySetInnerHTML:{__html:t.templateSuggestion(e)+a},id:f+"__option--"+n,key:n,onBlur:function(e){return t.handleOptionBlur(e,n)},onClick:function(e){return t.handleOptionClick(e,n)},onMouseDown:t.handleOptionMouseDown,onMouseEnter:function(e){return t.handleOptionMouseEnter(e,n)},ref:function(e){t.elementReferences[n]=e},role:"option",tabIndex:"-1","aria-posinset":n+1,"aria-setsize":T.length})}),U&&(0,i.createElement)("li",{className:J+(c?" "+c:"")+" "+J+"--no-results"},x())),(0,i.createElement)("span",{id:te,style:{display:"none"}},k()))},t}(i.Component);(t.default=d).defaultProps={autoselect:!1,cssNamespace:"autocomplete",wrapperClassName:"",customInputClassName:"",menuClassName:"",optionClassName:"",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:o.default}},function(e,t,n){var i=n(9),r=n(53),o=n(28),a=n(26)("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(15)("iframe"),i=o.length;for(t.style.display="none",n(54).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(8),r=n(9),o=n(20);e.exports=n(3)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),s=a.length,l=0;l<s;)i.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(56)})},function(e,t,n){var i=n(19),r=n(2),o=n(57),a=[].slice,s={};e.exports=Function.bind||function(e){var t=i(this),n=a.call(arguments,1),l=function(){var i=n.concat(a.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";s[t]=Function("F,a","return new F("+i.join(",")+")")}return s[t](e,n)}(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(l.prototype=t.prototype),l}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(59)("match",1,function(e,t,n){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},n]})},function(e,t,n){var i=n(7),r=n(16),o=n(4),a=n(12),s=n(34);e.exports=function(e,t,n){var l=s(e),c=n(a,l,""[e]),u=c[0],d=c[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,u),i(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){t.__esModule=!0,t.default=void 0,n(36);var i=n(5),r=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={bump:!1,debounced:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(i,r)},t)}}(function(){if(!e.state.debounced){var t=!e.props.isInFocus||e.props.validChoiceMade;e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},1400)},n.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},n.render=function(){var e,t=this.props,n=t.id,r=t.length,o=t.queryLength,a=t.minQueryLength,s=t.selectedOption,l=t.selectedOptionIndex,c=t.tQueryTooShort,u=t.tNoResults,d=t.tSelectedOption,h=t.tResults,p=this.state,f=p.bump,m=p.debounced,v=p.silenced,g=o<a,b=0===r,y=s?d(s,r,l):"";return e=g?c(a):b?u():h(r,y),this.debounceStatusUpdate(),(0,i.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,i.createElement)("div",{id:n+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!v&&m&&f?e:""),(0,i.createElement)("div",{id:n+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},v||!m||f?"":e))},t}(i.Component);(t.default=r).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){t.__esModule=!0,t.default=void 0;var i=n(5);t.default=function(e){var t=e.className;return(0,i.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t,focusable:"false"},(0,i.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,i.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}]).default)),co={autoselect:!0,wrapperClassName:"",menuClassName:"",optionClassName:"",customInputClassName:"",displayMenu:"overlay",tAssistiveHint:function(){return"Pre prezeranie výsledkov automatického dopĺňania použite šípky nahor a nadol a pre výber konkrétneho výsledku použite tlačidlo Enter. Pri dotykových zariadeniach použite dotyk alebo potiahnutie prstom do strany."}},uo=function(){return m(function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},co),n),this.onPageshow=this.onPageshow.bind(this),this.instance=null,this.element.ODS_Autocomplete=this,this.init(),this},[{key:"init",value:function(){var e=this.element.getAttribute("data-autocomplete-config"),t={};if(e)try{t=JSON.parse(e)}catch(e){}this.config=Object.assign(Object.assign({},this.config),t),"SELECT"===this.element.tagName?lo.enhanceSelectElement(Object.assign({selectElement:this.element},this.config)):lo(Object.assign({element:this.element},this.config)),window.addEventListener("pageshow",this.onPageshow)}},{key:"onPageshow",value:function(e){e.persisted&&window&&window.location.reload()}},{key:"destroy",value:function(){window.removeEventListener("pageshow",this.onPageshow),this.element.ODS_Autocomplete=null}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Autocomplete?e.ODS_Autocomplete:null}}])}(),ho="select",po={size:"default",width:"default",options:[]},fo=function(e){var t=e.id,n=e.isDisabled,i=e.isInvalid,r=e.name,o=e.options,a=void 0===o?po.options:o,s=e.size,l=void 0===s?po.size:s,c=e.className,u=e.children,d=e.elemRef,h=e.width,p=void 0===h?po.width:h,f=S(e,["id","isDisabled","isInvalid","name","options","size","className","children","elemRef","width"]),m=A(ho,c,v(v({"is-invalid":i},"".concat(ho,"--").concat(l),l!==po.size),"".concat(ho,"--").concat(p),p!==po.width)),g=t||F(),y=r||g;return X.jsxs("select",b(b({id:g,name:y,className:m,disabled:n,ref:d},f),{},{children:[a.map(function(e){var t="string"==typeof e?{value:e,text:e}:e,n=t.value,i=t.text,r=S(t,["value","text"]);return X.jsx("option",b(b({value:n},r),{},{children:i}),i)}),u]}))};fo.displayName="Select";var mo=function(e){var t=e.className,n=e.options,i=void 0===n?[]:n,r=e.autocompleteConfig,o=e.placeholder,a=S(e,["className","options","autocompleteConfig","placeholder"]),s=y(B(uo,r),1)[0];return X.jsx(fo,b(b(b({className:A("autocomplete",t),"data-placeholder":o},i.length?{"data-autocomplete":!0}:{}),a),{},{elemRef:s,children:i&&i.map(function(e){return X.jsx("option",{label:"string"==typeof e&&0===e.length?" ":void 0,value:"string"==typeof e?e:e.value,children:"string"==typeof e?e:e.title},"string"==typeof e?e:e.value)})}))};mo.displayName="Autocomplete";var vo=Object.freeze({__proto__:null,Autocomplete:mo}),go="checkbox",bo="default",yo=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,r=e.isInvalid,o=e.isToggle,a=e.name,s=e.size,l=void 0===s?bo:s,c=e.className,u=S(e,["id","isChecked","isDisabled","isInvalid","isToggle","name","size","className"]),d=A(go,c,v(v({},"".concat(go,"--").concat(l),l!==bo),"is-invalid",r)),h=a||t,p=function(){return X.jsxs(X.Fragment,{children:[X.jsx("input",b({className:d,type:"checkbox",id:t,name:h,defaultChecked:n,disabled:i},u)),X.jsx("div",{className:"".concat(go,"-display")})]})};return o?X.jsx("div",{className:o?"checkbox--toggle":"",children:X.jsx(p,{})}):X.jsx(p,{})};yo.displayName="Checkbox";var xo=function(e){var t=e.htmlFor,n=e.className,i=e.children,r=S(e,["htmlFor","className","children"]);return X.jsx("label",b(b({htmlFor:t,className:A("label",n)},r),{},{children:i}))};xo.displayName="Label";var wo=t(null),No="form-field__label",_o=function(){var t,n=e.useContext(wo),i=null==n?void 0:n.control,r=null!==(t=null==n?void 0:n.controlId)&&void 0!==t?t:"",o=null==n?void 0:n.label,a=null==n?void 0:n.labelAfter;return X.jsx(X.Fragment,{children:a?X.jsxs("div",{className:No,children:["range"!==(null==i?void 0:i.type)?X.jsx(xo,{id:r?"".concat(r,"-label"):void 0,htmlFor:r,className:a?void 0:No,children:o}):X.jsx("span",{id:r?"".concat(r,"-label"):void 0,className:A("label",v({},No,!a)),children:o}),a&&X.jsxs(X.Fragment,{children:[" ",a]})]}):"range"!==(null==i?void 0:i.type)?X.jsx(xo,{id:r?"".concat(r,"-label"):void 0,htmlFor:r,className:No,children:o}):X.jsx("span",{id:r?"".concat(r,"-label"):void 0,className:A("label",v({},No,!a)),children:o})})},So=function(e){var t=e.id,n=e.children,i=e.placement,r=void 0===i?"right":i,o=S(e,["id","children","placement"]);return n?X.jsxs(X.Fragment,{children:[" ",X.jsx(fi,b(b({id:"".concat(t,"-tooltip"),className:"form-field__tooltip",placement:r},o),{},{children:n}))]}):null};So.displayName="FormTooltip";var ko={info:"info",warning:"warning-important",error:"error-severe"},jo={info:"info",warning:"warning",error:"danger"},Eo="message",Oo=function(e){var t=e.className,n=e.children,i=e.type,r=void 0===i?"info":i,o=S(e,["className","children","type"]),a=A(Eo,v({},"".concat(Eo,"--error"),"error"===r),t);return X.jsxs("p",b(b({className:a},o),{},{children:[r&&X.jsx(te,{name:ko[r],size:"medium",color:jo[r],className:"".concat(Eo,"__icon")}),n]}))};Oo.displayName="Message";var Ao,Co=t(null),To=function(t){var n,i=t.isMain,r=e.useContext(wo),o=e.useContext(Co),a=null!==(n=null!=r?r:o)&&void 0!==n?n:{},s=a.controlId,l=a.messages;return(void 0===l?[]:l).filter(function(e){return i===e.isMain}).map(function(e,t){return X.jsx(Oo,{id:"".concat(s,"-message-").concat(t),type:e.type,children:e.text},t.toString())})},Do={exports:{}},Lo={};function Io(){if(Ao)return Lo;return Ao=1,Lo._=function(e){return e&&e.__esModule?e:{default:e}},Lo}function Po(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ro,Mo,zo,Fo,Bo,Uo={},Vo={};function Ho(){return Mo||(Mo=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const n=Io()._(e),i=(Ro||(Ro=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});const n=Io()._(e).default.createContext(null);"production"!==process.env.NODE_ENV&&(n.displayName="LoadableContext")}(Vo)),Vo);const r=[],o=[];let a=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}function l(e,t){let s=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function u(){if(!l){const t=new c(e,s);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if("undefined"==typeof window&&r.push(u),!a&&"undefined"!=typeof window){const e=s.webpack&&"function"==typeof Po.resolveWeak?s.webpack():s.modules;e&&o.push(t=>{for(const n of e)if(t.includes(n))return u()})}function d(e,t){!function(){u();const e=n.default.useContext(i.LoadableContext);e&&Array.isArray(s.modules)&&s.modules.forEach(t=>{e(t)})}();const r=n.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),n.default.useMemo(()=>{return r.loading||r.error?n.default.createElement(s.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:l.retry}):r.loaded?n.default.createElement((t=r.loaded)&&t.default?t.default:t,e):null;var t},[e,r])}return d.preload=()=>u(),d.displayName="LoadableComponent",n.default.forwardRef(d)}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return l(s,e)}function d(e,t){let n=[];for(;e.length;){let i=e.pop();n.push(i(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(r).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{const n=()=>(a=!0,t());d(o,e).then(n,n)})),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=u.preloadReady);const h=u}(Uo)),Uo}var Wo=Bo?Fo:(Bo=1,zo||(zo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return s}});const n=Io(),i=Y(),r=n._(Ho()),o="undefined"==typeof window;function a(e){return{default:(null==e?void 0:e.default)||e}}function s(e,t){if(delete t.webpack,delete t.modules,!o)return e(t);const n=t.loading;return()=>(0,i.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function l(e,t){let n=r.default,o={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;if(!r)return null;if("production"!==process.env.NODE_ENV){if(n)return null;if(t)return(0,i.jsxs)("p",{children:[t.message,(0,i.jsx)("br",{}),t.stack]})}return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o={...o,...e}),o={...o,...t};const l=o.loader;return o.loadableGenerated&&(o={...o,...o.loadableGenerated},delete o.loadableGenerated),"boolean"!=typeof o.ssr||o.ssr?n({...o,loader:()=>null!=l?l().then(a):Promise.resolve(a(()=>null))}):(delete o.webpack,delete o.modules,s(n,o))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Do,Do.exports)),Fo=Do.exports),qo=k(Wo);
|
|
35
|
+
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
36
|
+
const{entries:$o,setPrototypeOf:Go,isFrozen:Ko,getPrototypeOf:Yo,getOwnPropertyDescriptor:Xo}=Object;let{freeze:Jo,seal:Qo,create:Zo}=Object,{apply:ea,construct:ta}="undefined"!=typeof Reflect&&Reflect;Jo||(Jo=function(e){return e}),Qo||(Qo=function(e){return e}),ea||(ea=function(e,t,n){return e.apply(t,n)}),ta||(ta=function(e,t){return new e(...t)});const na=ga(Array.prototype.forEach),ia=ga(Array.prototype.lastIndexOf),ra=ga(Array.prototype.pop),oa=ga(Array.prototype.push),aa=ga(Array.prototype.splice),sa=ga(String.prototype.toLowerCase),la=ga(String.prototype.toString),ca=ga(String.prototype.match),ua=ga(String.prototype.replace),da=ga(String.prototype.indexOf),ha=ga(String.prototype.trim),pa=ga(Object.prototype.hasOwnProperty),fa=ga(RegExp.prototype.test),ma=(va=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ta(va,t)});var va;function ga(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return ea(e,t,i)}}function ba(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sa;Go&&Go(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(Ko(t)||(t[i]=e),r=e)}e[r]=!0}return e}function ya(e){for(let t=0;t<e.length;t++){pa(e,t)||(e[t]=null)}return e}function xa(e){const t=Zo(null);for(const[n,i]of $o(e)){pa(e,n)&&(Array.isArray(i)?t[n]=ya(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=xa(i):t[n]=i)}return t}function wa(e,t){for(;null!==e;){const n=Xo(e,t);if(n){if(n.get)return ga(n.get);if("function"==typeof n.value)return ga(n.value)}e=Yo(e)}return function(){return null}}const Na=Jo(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_a=Jo(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Sa=Jo(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ka=Jo(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ja=Jo(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ea=Jo(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Oa=Jo(["#text"]),Aa=Jo(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ca=Jo(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ta=Jo(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Da=Jo(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),La=Qo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ia=Qo(/<%[\w\W]*|[\w\W]*%>/gm),Pa=Qo(/\$\{[\w\W]*/gm),Ra=Qo(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ma=Qo(/^aria-[\-\w]+$/),za=Qo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fa=Qo(/^(?:\w+script|data):/i),Ba=Qo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ua=Qo(/^html$/i),Va=Qo(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ha=Object.freeze({__proto__:null,ARIA_ATTR:Ma,ATTR_WHITESPACE:Ba,CUSTOM_ELEMENT:Va,DATA_ATTR:Ra,DOCTYPE_NAME:Ua,ERB_EXPR:Ia,IS_ALLOWED_URI:za,IS_SCRIPT_OR_DATA:Fa,MUSTACHE_EXPR:La,TMPLIT_EXPR:Pa});const Wa=1,qa=3,$a=7,Ga=8,Ka=9,Ya=function(){return"undefined"==typeof window?null:window};var Xa=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ya();const n=t=>e(t);if(n.version="3.2.6",n.removed=[],!t||!t.document||t.document.nodeType!==Ka||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const r=i,o=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:p,trustedTypes:f}=t,m=c.prototype,v=wa(m,"cloneNode"),g=wa(m,"remove"),b=wa(m,"nextSibling"),y=wa(m,"childNodes"),x=wa(m,"parentNode");if("function"==typeof s){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,N="";const{implementation:_,createNodeIterator:S,createDocumentFragment:k,getElementsByTagName:j}=i,{importNode:E}=r;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof $o&&"function"==typeof x&&_&&void 0!==_.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:C,TMPLIT_EXPR:T,DATA_ATTR:D,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:R}=Ha;let{IS_ALLOWED_URI:M}=Ha,z=null;const F=ba({},[...Na,..._a,...Sa,...ja,...Oa]);let B=null;const U=ba({},[...Aa,...Ca,...Ta,...Da]);let V=Object.seal(Zo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,W=null,q=!0,$=!0,G=!1,K=!0,Y=!1,X=!0,J=!1,Q=!1,Z=!1,ee=!1,te=!1,ne=!1,ie=!0,re=!1,oe=!0,ae=!1,se={},le=null;const ce=ba({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=ba({},["audio","video","img","source","image","track"]);let he=null;const pe=ba({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ge=ve,be=!1,ye=null;const xe=ba({},[fe,me,ve],la);let we=ba({},["mi","mo","mn","ms","mtext"]),Ne=ba({},["annotation-xml"]);const _e=ba({},["title","style","font","a","script"]);let Se=null;const ke=["application/xhtml+xml","text/html"];let je=null,Ee=null;const Oe=i.createElement("form"),Ae=function(e){return e instanceof RegExp||e instanceof Function},Ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=xa(e),Se=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,je="application/xhtml+xml"===Se?la:sa,z=pa(e,"ALLOWED_TAGS")?ba({},e.ALLOWED_TAGS,je):F,B=pa(e,"ALLOWED_ATTR")?ba({},e.ALLOWED_ATTR,je):U,ye=pa(e,"ALLOWED_NAMESPACES")?ba({},e.ALLOWED_NAMESPACES,la):xe,he=pa(e,"ADD_URI_SAFE_ATTR")?ba(xa(pe),e.ADD_URI_SAFE_ATTR,je):pe,ue=pa(e,"ADD_DATA_URI_TAGS")?ba(xa(de),e.ADD_DATA_URI_TAGS,je):de,le=pa(e,"FORBID_CONTENTS")?ba({},e.FORBID_CONTENTS,je):ce,H=pa(e,"FORBID_TAGS")?ba({},e.FORBID_TAGS,je):xa({}),W=pa(e,"FORBID_ATTR")?ba({},e.FORBID_ATTR,je):xa({}),se=!!pa(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||za,ge=e.NAMESPACE||ve,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,Ne=e.HTML_INTEGRATION_POINTS||Ne,V=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(V.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&($=!1),te&&(ee=!0),se&&(z=ba({},Oa),B=[],!0===se.html&&(ba(z,Na),ba(B,Aa)),!0===se.svg&&(ba(z,_a),ba(B,Ca),ba(B,Da)),!0===se.svgFilters&&(ba(z,Sa),ba(B,Ca),ba(B,Da)),!0===se.mathMl&&(ba(z,ja),ba(B,Ta),ba(B,Da))),e.ADD_TAGS&&(z===F&&(z=xa(z)),ba(z,e.ADD_TAGS,je)),e.ADD_ATTR&&(B===U&&(B=xa(B)),ba(B,e.ADD_ATTR,je)),e.ADD_URI_SAFE_ATTR&&ba(he,e.ADD_URI_SAFE_ATTR,je),e.FORBID_CONTENTS&&(le===ce&&(le=xa(le)),ba(le,e.FORBID_CONTENTS,je)),oe&&(z["#text"]=!0),J&&ba(z,["html","head","body"]),z.table&&(ba(z,["tbody"]),delete H.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ma('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ma('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,N=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(f,o)),null!==w&&"string"==typeof N&&(N=w.createHTML(""));Jo&&Jo(e),Ee=e}},Te=ba({},[..._a,...Sa,...ka]),De=ba({},[...ja,...Ea]),Le=function(e){oa(n.removed,{element:e});try{x(e).removeChild(e)}catch(t){g(e)}},Ie=function(e,t){try{oa(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){oa(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Le(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Pe=function(e){let t=null,n=null;if(Z)e="<remove></remove>"+e;else{const t=ca(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Se&&ge===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(ge===ve)try{t=(new p).parseFromString(r,Se)}catch(e){}if(!t||!t.documentElement){t=_.createDocument(ge,"template",null);try{t.documentElement.innerHTML=be?N:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),ge===ve?j.call(t,J?"html":"body")[0]:J?t.documentElement:o},Re=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},ze=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,i){na(e,e=>{e.call(n,t,i,Ee)})}const Be=function(e){let t=null;if(Fe(O.beforeSanitizeElements,e,null),Me(e))return Le(e),!0;const i=je(e.nodeName);if(Fe(O.uponSanitizeElement,e,{tagName:i,allowedTags:z}),X&&e.hasChildNodes()&&!ze(e.firstElementChild)&&fa(/<[/\w!]/g,e.innerHTML)&&fa(/<[/\w!]/g,e.textContent))return Le(e),!0;if(e.nodeType===$a)return Le(e),!0;if(X&&e.nodeType===Ga&&fa(/<[/\w]/g,e.data))return Le(e),!0;if(!z[i]||H[i]){if(!H[i]&&Ve(i)){if(V.tagNameCheck instanceof RegExp&&fa(V.tagNameCheck,i))return!1;if(V.tagNameCheck instanceof Function&&V.tagNameCheck(i))return!1}if(oe&&!le[i]){const t=x(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let i=n.length-1;i>=0;--i){const r=v(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,b(e))}}}return Le(e),!0}return e instanceof c&&!function(e){let t=x(e);t&&t.tagName||(t={namespaceURI:ge,tagName:"template"});const n=sa(e.tagName),i=sa(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===i||we[i]):Boolean(Te[n]):e.namespaceURI===fe?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&Ne[i]:Boolean(De[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!Ne[i])&&!(t.namespaceURI===fe&&!we[i])&&!De[n]&&(_e[n]||!Te[n]):!("application/xhtml+xml"!==Se||!ye[e.namespaceURI]))}(e)?(Le(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!fa(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&e.nodeType===qa&&(t=e.textContent,na([A,C,T],e=>{t=ua(t,e," ")}),e.textContent!==t&&(oa(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(O.afterSanitizeElements,e,null),!1):(Le(e),!0)},Ue=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in i||n in Oe))return!1;if($&&!W[t]&&fa(D,t));else if(q&&fa(L,t));else if(!B[t]||W[t]){if(!(Ve(e)&&(V.tagNameCheck instanceof RegExp&&fa(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&fa(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t))||"is"===t&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&fa(V.tagNameCheck,n)||V.tagNameCheck instanceof Function&&V.tagNameCheck(n))))return!1}else if(he[t]);else if(fa(M,ua(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==da(n,"data:")||!ue[e]){if(G&&!fa(I,ua(n,P,"")));else if(n)return!1}else;return!0},Ve=function(e){return"annotation-xml"!==e&&ca(e,R)},He=function(e){Fe(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0};let r=t.length;for(;r--;){const o=t[r],{name:a,namespaceURI:s,value:l}=o,c=je(a),u=l;let d="value"===a?u:ha(u);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,Fe(O.uponSanitizeAttribute,e,i),d=i.attrValue,!re||"id"!==c&&"name"!==c||(Ie(a,e),d="user-content-"+d),X&&fa(/((--!?|])>)|<\/(style|title)/i,d)){Ie(a,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Ie(a,e);continue}if(!K&&fa(/\/>/i,d)){Ie(a,e);continue}Y&&na([A,C,T],e=>{d=ua(d,e," ")});const h=je(e.nodeName);if(Ue(h,c,d)){if(w&&"object"==typeof f&&"function"==typeof f.getAttributeType)if(s);else switch(f.getAttributeType(h,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Me(e)?Le(e):ra(n.removed)}catch(t){Ie(a,e)}}else Ie(a,e)}Fe(O.afterSanitizeAttributes,e,null)},We=function e(t){let n=null;const i=Re(t);for(Fe(O.beforeSanitizeShadowDOM,t,null);n=i.nextNode();)Fe(O.uponSanitizeShadowNode,n,null),Be(n),He(n),n.content instanceof a&&e(n.content);Fe(O.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,s=null,c=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ze(e)){if("function"!=typeof e.toString)throw ma("toString is not a function");if("string"!=typeof(e=e.toString()))throw ma("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||Ce(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=je(e.nodeName);if(!z[t]||H[t])throw ma("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)i=Pe("\x3c!----\x3e"),o=i.ownerDocument.importNode(e,!0),o.nodeType===Wa&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!ee&&!Y&&!J&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(i=Pe(e),!i)return ee?null:ne?N:""}i&&Z&&Le(i.firstChild);const u=Re(ae?e:i);for(;s=u.nextNode();)Be(s),He(s),s.content instanceof a&&We(s.content);if(ae)return e;if(ee){if(te)for(c=k.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(B.shadowroot||B.shadowrootmode)&&(c=E.call(r,c,!0)),c}let d=J?i.outerHTML:i.innerHTML;return J&&z["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&fa(Ua,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),Y&&na([A,C,T],e=>{d=ua(d,e," ")}),w&&ne?w.createHTML(d):d},n.setConfig=function(){Ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Ee=null,Q=!1},n.isValidAttribute=function(e,t,n){Ee||Ce({});const i=je(e),r=je(t);return Ue(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&oa(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=ia(O[e],t);return-1===n?void 0:aa(O[e],n,1)[0]}return ra(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),Ja={dragDropClassname:"is-dragdrop",inputSelector:'input[type="file"]',resultsSelector:".file-input__files",deleteButtonSelector:"[data-file-delete]",deleteFileAttr:"data-file-delete",fileTemplate:function(e,t){return"\n <li>".concat(e,' <button type="button" data-file-delete="').concat(t,'" class="file-input__delete">\n <svg class="icon icon--small icon--trash icon--danger" aria-hidden="true">\n <use xlink:href="/sprite.svg#trash"></use>\n </svg>\n <span class="sr-only">Odstrániť súbor ').concat(e,"</span>\n </button>\n </li>\n ")}},Qa=function(){return m(function e(t,n){return p(this,e),this.element=t,this.config=Object.assign(Object.assign({},Ja),n),this.input=null,this.files=[],this.results=null,this.removeButtons=[],this.onInputChange=this.onInputChange.bind(this),this.onRemoveButtonClick=this.onRemoveButtonClick.bind(this),this.highlight=this.highlight.bind(this),this.unhighlight=this.unhighlight.bind(this),this.onDrop=this.onDrop.bind(this),this.preventDefaults=this.preventDefaults.bind(this),this.init(),this},[{key:"init",value:function(){var e=this;this.input=this.element.querySelector(this.config.inputSelector),this.results=this.element.querySelector(this.config.resultsSelector),this.input&&this.results&&(this.input.addEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.preventDefaults,!1),document.body.addEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.addEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.unhighlight,!1)}),this.element.addEventListener("drop",this.onDrop))}},{key:"onInputChange",value:function(){var e,t=this;return!(!this.input||!this.results)&&(this.files=Array.from(null!==(e=this.input.files)&&void 0!==e?e:[]),!!this.files&&(this.results.innerHTML="",this.files.map(function(e,n){return t.config.fileTemplate(Xa.sanitize(e.name,{ALLOWED_TAGS:[]}),n)}).forEach(function(e){t.results.appendChild(Xa.sanitize(e,{ADD_TAGS:["use"],RETURN_DOM_FRAGMENT:!0}))}),this.removeButtons=Array.from(this.results.querySelectorAll(this.config.deleteButtonSelector)),void this.removeButtons.forEach(function(e){return e.addEventListener("click",t.onRemoveButtonClick)})))}},{key:"onDrop",value:function(e){var t;this.input&&(this.input.files=(null===(t=null==e?void 0:e.dataTransfer)||void 0===t?void 0:t.files)||(new DataTransfer).files,this.onInputChange())}},{key:"onRemoveButtonClick",value:function(e){if(this.input){var t=new DataTransfer,n=e.currentTarget,i=Number(n.getAttribute(this.config.deleteFileAttr));this.files.splice(i,1),this.files.forEach(function(e){return t.items.add(e)}),this.input.files=t.files,this.onInputChange()}}},{key:"highlight",value:function(){this.element.classList.add(this.config.dragDropClassname)}},{key:"unhighlight",value:function(){this.element.classList.remove(this.config.dragDropClassname)}},{key:"preventDefaults",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"destroy",value:function(){var e=this;this.input&&(this.input.removeEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.preventDefaults,!1),document.body.removeEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.removeEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.unhighlight,!1)}),this.element.removeEventListener("drop",this.onDrop))}},{key:"update",value:function(){this.destroy(),this.init()}}])}(),Za="file-input",es="default",ts=function(e){var t=e.id,n=e.isDisabled,i=e.name,r=e.size,o=void 0===r?es:r,a=e.className,s=S(e,["id","isDisabled","name","size","className"]),l=y(B(Qa),1)[0],c=t||F(),u=A(Za,v({},"".concat(Za,"--").concat(o),o!==es),a);return X.jsxs("div",{className:u,"data-file-input":!0,ref:l,children:[X.jsx("input",b({className:"".concat(Za,"__control"),id:c,name:i||t,disabled:n,type:"file"},s)),X.jsx("label",{size:o,htmlFor:c,"aria-hidden":"true",className:"".concat(Za,"__button"),children:"Vybrať súbor"}),X.jsx("ul",{className:"".concat(Za,"__files")})]})};ts.displayName="File";var ns="text-input",is="text",rs="default",os="default",as=e.forwardRef(function(e,t){var n=e.className,i=e.id,r=e.isDisabled,o=e.isInvalid,a=e.isValid,s=e.isReadonly,l=e.placeholder,c=e.size,u=void 0===c?rs:c,d=e.htmlType,h=void 0===d?is:d,p=e.width,f=void 0===p?os:p,m=e.name,g=S(e,["className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","htmlType","width","name"]),y=A(ns,v(v({"is-invalid":o,"is-valid":a},"".concat(ns,"--").concat(u),u!==rs),"".concat(ns,"--").concat(f),f!==os),n),x=m||i;return X.jsx("input",b({className:y,id:i,name:x,type:h,disabled:r,readOnly:s,placeholder:l,ref:t},g))});as.displayName="TextInput";var ss="control-group__item",ls="default",cs=function(e){var t=e.size,n=void 0===t?ls:t,i=e.className,r=e.children,o=S(e,["size","className","children"]),a=A(ss,i,v({},"".concat(ss,"--").concat(n),n!==ls));return X.jsx("div",b(b({className:a},o),{},{children:r}))};cs.displayName="GroupItem";var us=function(t){var n=t.control,i=t.addonPrefix,r=t.addonSuffix,o=t.size,a=t.className,s=S(t,["control","addonPrefix","addonSuffix","size","className"]),l=n.type,c=S(n,["type"]),u=function(e){return"select"===l?X.jsx(fo,b({},e)):X.jsx(as,b({},e))},d=function(t){return e.Children.map(t,function(t){if("string"==typeof t||t&&"string"==typeof t.type)return X.jsx(cs,{size:o,children:t});if(e.isValidElement(t)){var n=t.props&&"object"===N(t.props)&&"size"in t.props?{}:{size:o};return e.cloneElement(t,Object.assign(Object.assign({},t.props||{}),n))}return t})};return X.jsxs("div",b(b({className:A("control-group",a)},s),{},{children:[d(i),X.jsx(u,b(b({},c),{},{size:o})),d(r)]}))};us.displayName="ControlGroup";var ds,hs,ps="radio",fs="default",ms=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,r=e.isInvalid,o=e.name,a=e.size,s=void 0===a?fs:a,l=e.value,c=e.className,u=S(e,["id","isChecked","isDisabled","isInvalid","name","size","value","className"]),d=A(ps,c,v(v({},"".concat(ps,"--").concat(s),s!==fs),"is-invalid",r)),h=l||t;return X.jsxs(X.Fragment,{children:[X.jsx("input",b({className:d,type:"radio",id:t,name:o,defaultChecked:n,disabled:i,value:h},u)),X.jsx("div",{className:"".concat(ps,"-display")})]})};function vs(e){return"object"==typeof e&&"function"==typeof e.to}function gs(e){e.parentElement.removeChild(e)}function bs(e){return null!=e}function ys(e){e.preventDefault()}function xs(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function ws(e,t,n){n>0&&(ks(e,t),setTimeout(function(){js(e,t)},n))}function Ns(e){return Math.max(Math.min(e,100),0)}function _s(e){return Array.isArray(e)?e:[e]}function Ss(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function ks(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function js(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function Es(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function Os(e,t){return 100/(t-e)}function As(e,t,n){return 100*t/(e[n+1]-e[n])}function Cs(e,t){for(var n=1;e>=t[n];)n+=1;return n}function Ts(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=Cs(n,e),r=e[i-1],o=e[i],a=t[i-1],s=t[i];return a+function(e,t){return As(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([r,o],n)/Os(a,s)}function Ds(e,t,n,i){if(100===i)return i;var r=Cs(i,e),o=e[r-1],a=e[r];return n?i-o>(a-o)/2?a:o:t[r-1]?e[r-1]+function(e,t){return Math.round(e/t)*t}(i-e[r-1],t[r-1]):i}ms.displayName="Radio",function(e){e.Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values"}(ds||(ds={})),function(e){e[e.None=-1]="None",e[e.NoValue=0]="NoValue",e[e.LargeValue=1]="LargeValue",e[e.SmallValue=2]="SmallValue"}(hs||(hs={}));var Ls=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var r=[];for(Object.keys(e).forEach(function(t){r.push([_s(e[t]),t])}),r.sort(function(e,t){return e[0][0]-t[0][0]}),i=0;i<r.length;i++)this.handleEntryPoint(r[i][1],r[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=As(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,r=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[r+1];)r++;else e===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);n||e!==this.xPct[r+1]||r++,null===t&&(t=[]);var o=1,a=t[r],s=0,l=0,c=0,u=0;for(i=n?(e-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):(this.xPct[r+1]-e)/(this.xPct[r+1]-this.xPct[r]);a>0;)s=this.xPct[r+1+u]-this.xPct[r+u],t[r+u]*o+100-100*i>100?(l=s*i,o=(a-100*i)/t[r+u],i=1):(l=t[r+u]*s/100*o,o=0),n?(c-=l,this.xPct.length+u>=1&&u--):(c+=l,this.xPct.length-u>=1&&u++),a=t[r+u]*o;return e+c},e.prototype.toStepping=function(e){return e=Ts(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=Cs(n,t),r=e[i-1],o=e[i],a=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([r,o],(n-a)*Os(a,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return e=Ds(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=Cs(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=Cs(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(Ss);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!xs(n="min"===e?0:"max"===e?100:parseFloat(e))||!xs(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=As([this.xVal[e],this.xVal[e+1]],t,0)/Os(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),r=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=r}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),Is={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},Ps={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},Rs=".__tooltips",Ms=".__aria";function zs(e,t){if(!xs(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function Fs(e,t){if(!xs(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function Bs(e,t){if(!xs(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function Us(e,t){if(!xs(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function Vs(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new Ls(t,e.snap||!1,e.singleStep)}function Hs(e,t){if(t=_s(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function Ws(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function qs(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function $s(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function Gs(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function Ks(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Ys(e,t){if(!xs(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function Xs(e,t){if(!xs(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function Js(e,t){var n;if(!xs(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!xs(t[0])&&!xs(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],r=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function Qs(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function Zs(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0,a=t.indexOf("hover")>=0,s=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>=0,c=t.indexOf("drag-all")>=0,u=t.indexOf("smooth-steps")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Ys(e,e.start[1]-e.start[0])}if(l&&2!==e.handles)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(s&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||o,drag:i,dragAll:c,smoothSteps:u,fixed:r,snap:o,hover:a,unconstrained:s,invertConnects:l}}function el(e,t){if(!1!==t)if(!0===t||vs(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=_s(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(e){if("boolean"!=typeof e&&!vs(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function tl(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function nl(e,t){if(!vs(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function il(e,t){if(!function(e){return vs(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function rl(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function ol(e,t){e.documentElement=t}function al(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function sl(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function ll(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:Is,format:Is},n={step:{r:!1,t:zs},keyboardPageMultiplier:{r:!1,t:Fs},keyboardMultiplier:{r:!1,t:Bs},keyboardDefaultStep:{r:!1,t:Us},start:{r:!0,t:Hs},connect:{r:!0,t:Gs},direction:{r:!0,t:Qs},snap:{r:!1,t:Ws},animate:{r:!1,t:qs},animationDuration:{r:!1,t:$s},range:{r:!0,t:Vs},orientation:{r:!1,t:Ks},margin:{r:!1,t:Ys},limit:{r:!1,t:Xs},padding:{r:!1,t:Js},behaviour:{r:!0,t:Zs},ariaFormat:{r:!1,t:nl},format:{r:!1,t:il},tooltips:{r:!1,t:el},keyboardSupport:{r:!0,t:rl},documentElement:{r:!1,t:ol},cssPrefix:{r:!0,t:al},cssClasses:{r:!0,t:sl},handleAttributes:{r:!1,t:tl}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Ps,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(r){if(bs(e[r])||void 0!==i[r])n[r].t(t,bs(e[r])?e[r]:i[r]);else if(n[r].r)throw new Error("noUiSlider: '"+r+"' is required.")}),t.pips=e.pips;var r=document.createElement("div"),o=void 0!==r.style.msTransform,a=void 0!==r.style.transform;t.transformRule=a?"transform":o?"msTransform":"webkitTransform";return t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function cl(e,t,n){var i,r,o,a,s,l,c,u=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},d=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),h=e,p=t.spectrum,f=[],m=[],v=[],g=0,b={},y=!1,x=e.ownerDocument,w=t.documentElement||x.documentElement,N=x.body,_="rtl"===x.dir||1===t.ort?0:100;function S(e,t){var n=x.createElement("div");return t&&ks(n,t),e.appendChild(n),n}function k(e,n){var i=S(e,t.cssClasses.origin),r=S(i,t.cssClasses.handle);if(S(r,t.cssClasses.touchArea),r.setAttribute("data-handle",String(n)),t.keyboardSupport&&(r.setAttribute("tabindex","0"),r.addEventListener("keydown",function(e){return function(e,n){if(O()||A(n))return!1;var i=["Left","Right"],r=["Down","Up"],o=["PageDown","PageUp"],a=["Home","End"];t.dir&&!t.ort?i.reverse():t.ort&&!t.dir&&(r.reverse(),o.reverse());var s,l=e.key.replace("Arrow",""),c=l===o[0],u=l===o[1],d=l===r[0]||l===i[0]||c,h=l===r[1]||l===i[1]||u,v=l===a[0],g=l===a[1];if(!(d||h||v||g))return!0;if(e.preventDefault(),h||d){var b=d?0:1,y=se(n)[b];if(null===y)return!1;!1===y&&(y=p.getDefaultStep(m[n],d,t.keyboardDefaultStep)),y*=u||c?t.keyboardPageMultiplier:t.keyboardMultiplier,y=Math.max(y,1e-7),y*=d?-1:1,s=f[n]+y}else s=g?t.spectrum.xVal[t.spectrum.xVal.length-1]:t.spectrum.xVal[0];return ne(n,p.toStepping(s),!0,!0),Y("slide",n),Y("update",n),Y("change",n),Y("set",n),!1}(e,n)})),void 0!==t.handleAttributes){var o=t.handleAttributes[n];Object.keys(o).forEach(function(e){r.setAttribute(e,o[e])})}return r.setAttribute("role","slider"),r.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),0===n?ks(r,t.cssClasses.handleLower):n===t.handles-1&&ks(r,t.cssClasses.handleUpper),i.handle=r,i}function j(e,n){return!!n&&S(e,t.cssClasses.connect)}function E(e,n){return!(!t.tooltips||!t.tooltips[n])&&S(e.firstChild,t.cssClasses.tooltip)}function O(){return h.hasAttribute("disabled")}function A(e){return o[e].hasAttribute("disabled")}function C(){l&&(K("update"+Rs),l.forEach(function(e){e&&gs(e)}),l=null)}function T(){C(),l=o.map(E),G("update"+Rs,function(e,n,i){if(l&&t.tooltips&&!1!==l[n]){var r=e[n];!0!==t.tooltips[n]&&(r=t.tooltips[n].to(i[n])),l[n].innerHTML=r}})}function D(e,t){return e.map(function(e){return p.fromStepping(t?p.getStep(e):e)})}function L(e){function t(e,t){return Number((e+t).toFixed(7))}var n,i=function(e){if(e.mode===ds.Range||e.mode===ds.Steps)return p.xVal;if(e.mode===ds.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var t=e.values-1,n=100/t,i=[];t--;)i[t]=t*n;return i.push(100),D(i,e.stepped)}return e.mode===ds.Positions?D(e.values,e.stepped):e.mode===ds.Values?e.stepped?e.values.map(function(e){return p.fromStepping(p.getStep(p.toStepping(e)))}):e.values:[]}(e),r={},o=p.xVal[0],a=p.xVal[p.xVal.length-1],s=!1,l=!1,c=0;return n=i.slice().sort(function(e,t){return e-t}),(i=n.filter(function(e){return!this[e]&&(this[e]=!0)},{}))[0]!==o&&(i.unshift(o),s=!0),i[i.length-1]!==a&&(i.push(a),l=!0),i.forEach(function(n,o){var a,u,d,h,f,m,v,g,b,y,x=n,w=i[o+1],N=e.mode===ds.Steps;for(N&&(a=p.xNumSteps[o]),a||(a=w-x),void 0===w&&(w=x),a=Math.max(a,1e-7),u=x;u<=w;u=t(u,a)){for(g=(f=(h=p.toStepping(u))-c)/(e.density||1),y=f/(b=Math.round(g)),d=1;d<=b;d+=1)r[(m=c+d*y).toFixed(5)]=[p.fromStepping(m),0];v=i.indexOf(u)>-1?hs.LargeValue:N?hs.SmallValue:hs.NoValue,!o&&s&&u!==w&&(v=0),u===w&&l||(r[h.toFixed(5)]=[u,v]),c=h}}),r}function I(e,n,i){var r,o,a=x.createElement("div"),s=((r={})[hs.None]="",r[hs.NoValue]=t.cssClasses.valueNormal,r[hs.LargeValue]=t.cssClasses.valueLarge,r[hs.SmallValue]=t.cssClasses.valueSub,r),l=((o={})[hs.None]="",o[hs.NoValue]=t.cssClasses.markerNormal,o[hs.LargeValue]=t.cssClasses.markerLarge,o[hs.SmallValue]=t.cssClasses.markerSub,o),c=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],u=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];function d(e,n){var i=n===t.cssClasses.value,r=i?s:l;return n+" "+(i?c:u)[t.ort]+" "+r[e]}return ks(a,t.cssClasses.pips),ks(a,0===t.ort?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical),Object.keys(e).forEach(function(r){!function(e,r,o){if((o=n?n(r,o):o)!==hs.None){var s=S(a,!1);s.className=d(o,t.cssClasses.marker),s.style[t.style]=e+"%",o>hs.NoValue&&((s=S(a,!1)).className=d(o,t.cssClasses.value),s.setAttribute("data-value",String(r)),s.style[t.style]=e+"%",s.innerHTML=String(i.to(r)))}}(r,e[r][0],e[r][1])}),a}function P(){s&&(gs(s),s=null)}function R(e){P();var t=L(e),n=e.filter,i=e.format||{to:function(e){return String(Math.round(e))}};return s=h.appendChild(I(t,n,i))}function M(){var e=i.getBoundingClientRect(),n="offset"+["Width","Height"][t.ort];return 0===t.ort?e.width||i[n]:e.height||i[n]}function z(e,n,i,r){var o=function(o){var a,s,l=function(e,t,n){var i=0===e.type.indexOf("touch"),r=0===e.type.indexOf("mouse"),o=0===e.type.indexOf("pointer"),a=0,s=0;0===e.type.indexOf("MSPointer")&&(o=!0);if("mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;a=c[0].pageX,s=c[0].pageY}else{var u=Array.prototype.find.call(e.changedTouches,l);if(!u)return!1;a=u.pageX,s=u.pageY}}t=t||Es(x),(r||o)&&(a=e.clientX+t.x,s=e.clientY+t.y);return e.pageOffset=t,e.points=[a,s],e.cursor=r||o,e}(o,r.pageOffset,r.target||n);return!!l&&(!(O()&&!r.doNotReject)&&(a=h,s=t.cssClasses.tap,!((a.classList?a.classList.contains(s):new RegExp("\\b"+s+"\\b").test(a.className))&&!r.doNotReject)&&(!(e===u.start&&void 0!==l.buttons&&l.buttons>1)&&((!r.hover||!l.buttons)&&(d||l.preventDefault(),l.calcPoint=l.points[t.ort],void i(l,r))))))},a=[];return e.split(" ").forEach(function(e){n.addEventListener(e,o,!!d&&{passive:!0}),a.push([e,o])}),a}function F(e){var n,r,o,a,s,l,c=100*(e-(n=i,r=t.ort,o=n.getBoundingClientRect(),a=n.ownerDocument,s=a.documentElement,l=Es(a),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),r?o.top+l.y-s.clientTop:o.left+l.x-s.clientLeft))/M();return c=Ns(c),t.dir?100-c:c}function B(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&V(e,t)}function U(e,n){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==n.buttonsProperty)return V(e,n);var i=(t.dir?-1:1)*(e.calcPoint-n.startCalcPoint);Q(i>0,100*i/n.baseSize,n.locations,n.handleNumbers,n.connect)}function V(e,n){n.handle&&(js(n.handle,t.cssClasses.active),g-=1),n.listeners.forEach(function(e){w.removeEventListener(e[0],e[1])}),0===g&&(js(h,t.cssClasses.drag),te(),e.cursor&&(N.style.cursor="",N.removeEventListener("selectstart",ys))),t.events.smoothSteps&&(n.handleNumbers.forEach(function(e){ne(e,m[e],!0,!0,!1,!1)}),n.handleNumbers.forEach(function(e){Y("update",e)})),n.handleNumbers.forEach(function(e){Y("change",e),Y("set",e),Y("end",e)})}function H(e,n){if(!n.handleNumbers.some(A)){var i;if(1===n.handleNumbers.length)i=o[n.handleNumbers[0]].children[0],g+=1,ks(i,t.cssClasses.active);e.stopPropagation();var r=[],a=z(u.move,w,U,{target:e.target,handle:i,connect:n.connect,listeners:r,startCalcPoint:e.calcPoint,baseSize:M(),pageOffset:e.pageOffset,handleNumbers:n.handleNumbers,buttonsProperty:e.buttons,locations:m.slice()}),s=z(u.end,w,V,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers}),l=z("mouseout",w,B,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers});r.push.apply(r,a.concat(s,l)),e.cursor&&(N.style.cursor=getComputedStyle(e.target).cursor,o.length>1&&ks(h,t.cssClasses.drag),N.addEventListener("selectstart",ys,!1)),n.handleNumbers.forEach(function(e){Y("start",e)})}}function W(e){e.stopPropagation();var n=F(e.calcPoint),i=function(e){var t=100,n=!1;return o.forEach(function(i,r){if(!A(r)){var o=m[r],a=Math.abs(o-e);(a<t||a<=t&&e>o||100===a&&100===t)&&(n=r,t=a)}}),n}(n);!1!==i&&(t.events.snap||ws(h,t.cssClasses.tap,t.animationDuration),ne(i,n,!0,!0),te(),Y("slide",i,!0),Y("update",i,!0),t.events.snap?H(e,{handleNumbers:[i]}):(Y("change",i,!0),Y("set",i,!0)))}function q(e){var t=F(e.calcPoint),n=p.getStep(t),i=p.fromStepping(n);Object.keys(b).forEach(function(e){"hover"===e.split(".")[0]&&b[e].forEach(function(e){e.call(ce,i)})})}function $(e){e.fixed||o.forEach(function(e,t){z(u.start,e.children[0],H,{handleNumbers:[t]})}),e.tap&&z(u.start,i,W,{}),e.hover&&z(u.move,i,q,{hover:!0}),e.drag&&a.forEach(function(n,i){if(!1!==n&&0!==i&&i!==a.length-1){var r=o[i-1],s=o[i],l=[n],c=[r,s],d=[i-1,i];ks(n,t.cssClasses.draggable),e.fixed&&(l.push(r.children[0]),l.push(s.children[0])),e.dragAll&&(c=o,d=v),l.forEach(function(e){z(u.start,e,H,{handles:c,handleNumbers:d,connect:n})})}})}function G(e,t){b[e]=b[e]||[],b[e].push(t),"update"===e.split(".")[0]&&o.forEach(function(e,t){Y("update",t)})}function K(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(b).forEach(function(e){var i=e.split(".")[0],r=e.substring(i.length);t&&t!==i||n&&n!==r||function(e){return e===Ms||e===Rs}(r)&&n!==r||delete b[e]})}function Y(e,n,i){Object.keys(b).forEach(function(r){var o=r.split(".")[0];e===o&&b[r].forEach(function(e){e.call(ce,f.map(t.format.to),n,f.slice(),i||!1,m.slice(),ce)})})}function X(e,n,i,r,a,s,l){var c;return o.length>1&&!t.events.unconstrained&&(r&&n>0&&(c=p.getAbsoluteDistance(e[n-1],t.margin,!1),i=Math.max(i,c)),a&&n<o.length-1&&(c=p.getAbsoluteDistance(e[n+1],t.margin,!0),i=Math.min(i,c))),o.length>1&&t.limit&&(r&&n>0&&(c=p.getAbsoluteDistance(e[n-1],t.limit,!1),i=Math.min(i,c)),a&&n<o.length-1&&(c=p.getAbsoluteDistance(e[n+1],t.limit,!0),i=Math.max(i,c))),t.padding&&(0===n&&(c=p.getAbsoluteDistance(0,t.padding[0],!1),i=Math.max(i,c)),n===o.length-1&&(c=p.getAbsoluteDistance(100,t.padding[1],!0),i=Math.min(i,c))),l||(i=p.getStep(i)),!((i=Ns(i))===e[n]&&!s)&&i}function J(e,n){var i=t.ort;return(i?n:e)+", "+(i?e:n)}function Q(e,n,i,r,o){var a=i.slice(),s=r[0],l=t.events.smoothSteps,c=[!e,e],u=[e,!e];r=r.slice(),e&&r.reverse(),r.length>1?r.forEach(function(e,t){var i=X(a,e,a[e]+n,c[t],u[t],!1,l);!1===i?n=0:(n=i-a[e],a[e]=i)}):c=u=[!0];var d=!1;r.forEach(function(e,t){d=ne(e,i[e]+n,c[t],u[t],!1,l)||d}),d&&(r.forEach(function(e){Y("update",e),Y("slide",e)}),null!=o&&Y("drag",s))}function Z(e,n){return t.dir?100-e-n:e}function ee(e,n){m[e]=n,f[e]=p.fromStepping(n);var i="translate("+J(Z(n,0)-_+"%","0")+")";if(o[e].style[t.transformRule]=i,t.events.invertConnects&&m.length>1){var r=m.every(function(e,t,n){return 0===t||e>=n[t-1]});if(y!==!r)return y=!y,Gs(t,t.connect.map(function(e){return!e})),void le()}ie(e),ie(e+1),y&&(ie(e-1),ie(e+2))}function te(){v.forEach(function(e){var t=m[e]>50?-1:1,n=3+(o.length+t*e);o[e].style.zIndex=String(n)})}function ne(e,t,n,i,r,o){return r||(t=X(m,e,t,n,i,!1,o)),!1!==t&&(ee(e,t),!0)}function ie(e){if(a[e]){var n=m.slice();y&&n.sort(function(e,t){return e-t});var i=0,r=100;0!==e&&(i=n[e-1]),e!==a.length-1&&(r=n[e]);var o=r-i,s="translate("+J(Z(i,o)+"%","0")+")",l="scale("+J(o/100,"1")+")";a[e].style[t.transformRule]=s+" "+l}}function re(e,n){return null===e||!1===e||void 0===e?m[n]:("number"==typeof e&&(e=String(e)),!1!==(e=t.format.from(e))&&(e=p.toStepping(e)),!1===e||isNaN(e)?m[n]:e)}function oe(e,n,i){var r=_s(e),o=void 0===m[0];n=void 0===n||n,t.animate&&!o&&ws(h,t.cssClasses.tap,t.animationDuration),v.forEach(function(e){ne(e,re(r[e],e),!0,!1,i)});var a=1===v.length?0:1;if(o&&p.hasNoSize()&&(i=!0,m[0]=0,v.length>1)){var s=100/(v.length-1);v.forEach(function(e){m[e]=e*s})}for(;a<v.length;++a)v.forEach(function(e){ne(e,m[e],!0,!0,i)});te(),v.forEach(function(e){Y("update",e),null!==r[e]&&n&&Y("set",e)})}function ae(e){if(void 0===e&&(e=!1),e)return 1===f.length?f[0]:f.slice(0);var n=f.map(t.format.to);return 1===n.length?n[0]:n}function se(e){var n=m[e],i=p.getNearbySteps(n),r=f[e],o=i.thisStep.step,a=null;if(t.snap)return[r-i.stepBefore.startValue||null,i.stepAfter.startValue-r||null];!1!==o&&r+o>i.stepAfter.startValue&&(o=i.stepAfter.startValue-r),a=r>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&r-i.stepBefore.highestStep,100===n?o=null:0===n&&(a=null);var s=p.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,o]}function le(){for(;r.firstChild;)r.removeChild(r.firstChild);for(var e=0;e<=t.handles;e++)a[e]=j(r,t.connect[e]),ie(e);$({drag:t.events.drag,fixed:!0})}ks(c=h,t.cssClasses.target),0===t.dir?ks(c,t.cssClasses.ltr):ks(c,t.cssClasses.rtl),0===t.ort?ks(c,t.cssClasses.horizontal):ks(c,t.cssClasses.vertical),ks(c,"rtl"===getComputedStyle(c).direction?t.cssClasses.textDirectionRtl:t.cssClasses.textDirectionLtr),i=S(c,t.cssClasses.base),function(e,n){r=S(n,t.cssClasses.connects),o=[],(a=[]).push(j(r,e[0]));for(var i=0;i<t.handles;i++)o.push(k(n,i)),v[i]=i,a.push(j(r,e[i+1]))}(t.connect,i),$(t.events),oe(t.start),t.pips&&R(t.pips),t.tooltips&&T(),K("update"+Ms),G("update"+Ms,function(e,n,i,r,a){v.forEach(function(e){var n=o[e],r=X(m,e,0,!0,!0,!0),s=X(m,e,100,!0,!0,!0),l=a[e],c=String(t.ariaFormat.to(i[e]));r=p.fromStepping(r).toFixed(1),s=p.fromStepping(s).toFixed(1),l=p.fromStepping(l).toFixed(1),n.children[0].setAttribute("aria-valuemin",r),n.children[0].setAttribute("aria-valuemax",s),n.children[0].setAttribute("aria-valuenow",l),n.children[0].setAttribute("aria-valuetext",c)})});var ce={destroy:function(){for(K(Ms),K(Rs),Object.keys(t.cssClasses).forEach(function(e){js(h,t.cssClasses[e])});h.firstChild;)h.removeChild(h.firstChild);delete h.noUiSlider},steps:function(){return v.map(se)},on:G,off:K,get:ae,set:oe,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<v.length))throw new Error("noUiSlider: invalid handle number, got: "+e);ne(e,re(t,e),!0,!0,i),Y("update",e),n&&Y("set",e)},reset:function(e){oe(t.start,e)},disable:function(e){null!=e?(o[e].setAttribute("disabled",""),o[e].handle.removeAttribute("tabindex")):(h.setAttribute("disabled",""),o.forEach(function(e){e.handle.removeAttribute("tabindex")}))},enable:function(e){null!=e?(o[e].removeAttribute("disabled"),o[e].handle.setAttribute("tabindex","0")):(h.removeAttribute("disabled"),o.forEach(function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")}))},__moveHandles:function(e,t,n){Q(e,t,m,n)},options:n,updateOptions:function(e,i){var r=ae(),o=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];o.forEach(function(t){void 0!==e[t]&&(n[t]=e[t])});var a=ll(n);o.forEach(function(n){void 0!==e[n]&&(t[n]=a[n])}),p=a.spectrum,t.margin=a.margin,t.limit=a.limit,t.padding=a.padding,t.pips?R(t.pips):P(),t.tooltips?T():C(),m=[],oe(bs(e.start)?e.start:r,i),e.connect&&le()},target:h,removePips:P,removeTooltips:C,getPositions:function(){return m.slice()},getTooltips:function(){return l},getOrigins:function(){return o},pips:R};return ce}var ul={__spectrum:Ls,cssClasses:Ps,create:function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=cl(e,ll(t),t);return e.noUiSlider=n,n}},dl={start:[0],connect:!1,range:{min:0,max:100},cssPrefix:"range-slider",cssClasses:{target:"__target",base:"__base",origin:"__origin",handle:"__handle",handleLower:"__handle--lower",handleUpper:"__handle--upper",touchArea:"__touch-area",horizontal:"--horizontal",vertical:"--vertical",background:"__background",connect:"__connect",connects:"__connects",ltr:"--ltr",rtl:"--rtl",draggable:"--draggable",drag:"--state-drag",tap:"--state-tap",active:"--active",tooltip:"__tooltip",pips:"__pips",pipsHorizontal:"__pips--horizontal",pipsVertical:"__pips--vertical",marker:"__marker",markerHorizontal:"__marker--horizontal",markerVertical:"__marker--vertical",markerNormal:"__marker--normal",markerLarge:"__marker--large",markerSub:"__marker--sub",value:"__value",valueHorizontal:"__value--horizontal",valueVertical:"__value--vertical",valueNormal:"__value--normal",valueLarge:"__value--large",valueSub:"__value--sub"},format:{decimals:0}},hl=function(){return m(function e(t,n){var i=this;return p(this,e),this.handleSliderUpdate=function(e,t){var n=e[t];if(i.inputs[t]&&(i.inputs[t].value=n),i.outputs[t]){var r=i.outputs[t];r&&r.format?r.element.innerText=r.format.to(i.config.format.from(n)):r&&(r.element.innerText=n)}},this.element=t,this.config=Object.assign(Object.assign({},dl),n),this.inputs=[],this.outputs=[],this.handleSliderUpdate=this.handleSliderUpdate.bind(this),this.element.ODS_RangeSlider=this,this.init(),this},[{key:"init",value:function(){var e,t=this,n=this.element.getAttribute("data-rangeslider-config"),i={};if(n)try{i=JSON.parse(n)}catch(e){}if(this.config=Object.assign(Object.assign({},this.config),i),this.config.format=De(this.config.format),this.element.noUiSlider&&(this.element.noUiSlider=void 0,(null===(e=this.instance)||void 0===e?void 0:e.destroy)&&this.instance.destroy()),!this.config.range)throw new Error("RangeSlider config must include 'range'.");this.instance=ul.create(this.element,this.config),this.inputs=Array.from(document.querySelectorAll("input[name^=".concat(this.element.getAttribute("id"),"-]"))),this.outputs=this.inputs.map(function(e){var t=document.getElementById("".concat(e.getAttribute("id"),"-output"));if(t){var n=t.getAttribute("data-format");return{element:t,format:t.hasAttribute("data-format")&&n?De(JSON.parse(n)):void 0}}return!1}),this.instance.on("update",function(e,n){t.handleSliderUpdate(e.map(String),n)})}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy(),this.init()}},{key:"destroy",value:function(){var e,t;null===(e=this.instance)||void 0===e||e.off("update"),null===(t=this.instance)||void 0===t||t.destroy(),this.element.ODS_RangeSlider=null}}],[{key:"getInstance",value:function(e){return e&&e.ODS_RangeSlider?e.ODS_RangeSlider:null}}])}(),pl="range-slider",fl=!0,ml="default",vl=function(e){var t=e.className,n=e.id,i=e.hasDataAttr,r=void 0===i?fl:i,o=e.config,a=e.elementBefore,s=e.elementAfter,l=e.width,c=void 0===l?ml:l,u=S(e,["className","id","hasDataAttr","config","elementBefore","elementAfter","width"]),d=y(B(hl),1)[0],h=null!=n?n:F(),p=A(pl,v({},"".concat(pl,"--").concat(c),c!==ml),t);return X.jsxs(X.Fragment,{children:[a,X.jsx("div",b({id:h,className:p,ref:d,"data-rangeslider":r,"data-rangeslider-config":JSON.stringify(o)},u)),o.start.map(function(e,t){var n="".concat(h,"-").concat(t);return X.jsx("input",{type:"hidden",id:n,name:n},n)}),s]})};vl.displayName="RangeSlider";var gl="textarea",bl="default",yl="default",xl=function(e){var t=e.children,n=e.className,i=e.id,r=e.isDisabled,o=e.isInvalid,a=e.isValid,s=e.isReadonly,l=e.placeholder,c=e.size,u=void 0===c?bl:c,d=e.width,h=void 0===d?yl:d,p=e.name,f=S(e,["children","className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","width","name"]),m=A(gl,v(v({"is-invalid":o,"is-valid":a},"".concat(gl,"--").concat(u),u!==bl),"".concat(gl,"--").concat(h),h!==yl),n),g=p||i;return X.jsx("textarea",b(b({className:m,id:i,name:g,disabled:r,readOnly:s,placeholder:l},f),{},{children:t}))};xl.displayName="TextArea";var wl={nonEditableInput:!1,min:1,max:999,defaultValue:1},Nl=function(){return m(function e(t,n){p(this,e),this.element=t,this.config=Object.assign(Object.assign({},wl),n),this.input=null,this.numberDisplay=null,this.add=null,this.remove=null,this.element.ODS_InputStepper=this,this.handleButtonClick=this.handleButtonClick.bind(this),this.handleInputClick=this.handleInputClick.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleButtonState=this.handleButtonState.bind(this),this.init()},[{key:"handleInputClick",value:function(){this.input&&this.input.select()}},{key:"handleButtonState",value:function(){var e,t,n,i,r=this.config,o=r.min,a=r.max,s=this.config.nonEditableInput?parseInt(null!==(i=null===(n=this.numberDisplay)||void 0===n?void 0:n.textContent)&&void 0!==i?i:"0",10):parseInt(null!==(t=null===(e=this.input)||void 0===e?void 0:e.value)&&void 0!==t?t:"0",10);this.add&&"number"==typeof a&&s>=a?(this.add.setAttribute("aria-disabled","true"),this.add.setAttribute("disabled","true")):this.add&&(this.add.removeAttribute("aria-disabled"),this.add.removeAttribute("disabled")),this.remove&&"number"==typeof o&&s<=o?(this.remove.setAttribute("aria-disabled","true"),this.remove.setAttribute("disabled","true")):this.remove&&(this.remove.removeAttribute("aria-disabled"),this.remove.removeAttribute("disabled"))}},{key:"handleInputChange",value:function(e){var t=this.config,n=t.min,i=t.max,r=e.target;r&&(n&&Number(r.value)<=n&&(r.value=String(n)),i&&Number(r.value)>=i&&(r.value=String(i)))}},{key:"handleButtonClick",value:function(e){var t,n,i,r,o=this.config,a=o.min,s=o.max,l=e.target,c=this.config.nonEditableInput?parseInt(null!==(r=null===(i=this.numberDisplay)||void 0===i?void 0:i.textContent)&&void 0!==r?r:"0",10):parseInt(null!==(n=null===(t=this.input)||void 0===t?void 0:t.value)&&void 0!==n?n:"0",10);if(l.classList.contains("input-stepper__button--minus")){if(a&&c<=a){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c-=1}if(l.classList.contains("input-stepper__button--plus")){if(s&&c>=s){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c+=1}!this.config.nonEditableInput&&this.input?this.input.value=String(c):this.numberDisplay&&(this.numberDisplay.textContent=String(c)),this.handleButtonState()}},{key:"init",value:function(){var e=this.element.getAttribute("data-inputstepper"),t={};try{e&&e.trim().startsWith("{")&&(t=JSON.parse(e))}catch(e){t={}}this.config=Object.assign(Object.assign({},this.config),t),this.config.nonEditableInput?(this.numberDisplay=this.element.querySelector(".input-stepper__number"),this.numberDisplay&&(this.numberDisplay.textContent=String(this.config.defaultValue))):(this.input=this.element.querySelector(".input-stepper__field"),this.input&&(this.input.value=String(this.config.defaultValue))),this.add=this.element.querySelector(".input-stepper__button--plus"),this.remove=this.element.querySelector(".input-stepper__button--minus");var n=this.config.defaultValue;void 0!==n&&(!this.config.nonEditableInput&&this.input?this.input.value=String(n):this.numberDisplay&&(this.numberDisplay.textContent=String(n))),this.element.classList.contains("input-stepper--disabled")||(this.add&&this.add.addEventListener("click",this.handleButtonClick),this.remove&&this.remove.addEventListener("click",this.handleButtonClick),!this.config.nonEditableInput&&this.input&&(this.input.addEventListener("click",this.handleInputClick),this.input.addEventListener("change",this.handleInputChange)),this.handleButtonState())}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){!this.config.nonEditableInput&&this.input&&(this.input.removeEventListener("click",this.handleInputClick),this.input.removeEventListener("change",this.handleInputChange)),this.add&&this.add.removeEventListener("click",this.handleButtonClick),this.remove&&this.remove.removeEventListener("click",this.handleButtonClick)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_InputStepper?e.ODS_InputStepper:null}}])}(),_l="input-stepper",Sl=function(e){var t=e.className,n=e.inputClassName,i=e.id,r=e.config,o=e.isDisabled,a=e.isInverse,s=e.nonEditableInput,l=void 0!==s&&s,c=S(e,["className","inputClassName","id","config","isDisabled","isInverse","nonEditableInput"]),u=y(B(Nl,{nonEditableInput:l}),1)[0],d=c.name,h=void 0===d?i:d,p=S(c,["name"]),f=A("".concat(_l,"__field"),n);return X.jsxs("div",b(b({className:A(_l,t,v(v({},"".concat(_l,"--inverse"),a),"".concat(_l,"--disabled"),o)),ref:u,"data-inputstepper":!r||JSON.stringify(r)},p),{},{children:[X.jsx("button",{disabled:o,className:"".concat(_l,"__button ").concat(_l,"__button--minus"),"aria-label":"znížiť počet"}),l||(null==r?void 0:r.nonEditableInput)?X.jsx("p",{id:i,className:"".concat(_l,"__number")}):X.jsx(as,{className:f,id:i,name:h,disabled:o,htmlType:"number",inputMode:"numeric"}),X.jsx("button",{disabled:o,className:"".concat(_l,"__button ").concat(_l,"__button--plus"),"aria-label":"zvýšiť počet"})]}))};Sl.displayName="InputStepper";var kl=qo(function(){return Promise.resolve().then(function(){return vo}).then(function(e){return{default:e.Autocomplete}})}),jl="form-field__control",El=function(t){var n,i,r,o,a,s=t.className,l=e.useContext(wo),c=e.useContext(Co),u=null!==(n=null==l?void 0:l.controlId)&&void 0!==n?n:"",d=null!==(i=null==l?void 0:l.control)&&void 0!==i?i:{},h=null==l?void 0:l.isRadioCheck,p=null==l?void 0:l.hint,f=null!==(r=null==l?void 0:l.messages)&&void 0!==r?r:[],m=null==l?void 0:l.tooltip,g=null!==(o=null==c?void 0:c.messages)&&void 0!==o?o:[],y=d.type,w=d.control,N=d.renderControl,_=S(d,["type","control","renderControl"]),k=function(e,t,n,i){return[].concat(x(e?["".concat(i,"-hint")]:[]),x(t.map(function(e,t){return"".concat(i,"-message-").concat(t)})),x(n?["".concat(i,"-tooltip")]:[])).join(" ")}(p,f,m,u),j=h||"autocomplete"===y,E=function(e){switch(y){case"autocomplete":return X.jsx(kl,b({},e));case"checkbox":return X.jsx(yo,b({},e));case"file":return X.jsx(ts,b({},e));case"group":return X.jsx(us,b({},e));case"radio":return X.jsx(ms,b({},e));case"range":return X.jsx(vl,b({},e));case"select":return X.jsx(fo,b({},e));case"input-stepper":return X.jsx(Sl,b({},e));case"textarea":return X.jsx(xl,b({},e));default:return X.jsx(as,b({},e))}},O=_.isInvalid,C=_.isValid,T=null!=O?O:(g.some(function(e){return e.isMain})||f.some(function(e){return"error"===e.type}))&&!C,D=(a=Object.assign(Object.assign(Object.assign({id:u},k.length&&{"aria-describedby":k}),"file"===y&&{"aria-labelledby":"".concat(u,"-label")}),"text"===y?{isInvalid:T}:{}),"group"===y&&(a={control:Object.assign(Object.assign({type:y},w),a)}),Object.assign(Object.assign({},_),a));return N?N(D):X.jsx(se,{condition:j,wrapper:X.jsx("div",{className:A(jl,s)}),children:X.jsx(E,b(b({},D),{},{className:A(_.className,v({},"".concat(jl),!j))}))})},Ol=function(e){var t=e.className,n=e.children,i=S(e,["className","children"]);return n?X.jsx("p",b(b({className:A("hint",t)},i),{},{children:n})):null};Ol.displayName="Hint";var Al=function(t){var n,i=t.hideLabel,r=void 0!==i&&i,o=t.children,a=e.useContext(wo),s=null!==(n=null==a?void 0:a.controlId)&&void 0!==n?n:"",l=null==a?void 0:a.tooltip,c=null==a?void 0:a.hint;return X.jsxs("div",{className:"form-field__description",children:[r?null:X.jsxs(X.Fragment,{children:[X.jsx(_o,{}),X.jsx(So,{id:s,children:l})]}),X.jsx(Ol,{id:"".concat(s,"-hint"),className:"form-field__hint",children:c}),o]})},Cl="form-field",Tl=function(e){var t,n=e.className,i=e.control,r=e.hint,o=e.label,a=e.labelAfter,s=e.messages,l=void 0===s?[]:s,c=e.tooltip,u=S(e,["className","control","hint","label","labelAfter","messages","tooltip"]),d=["radio","checkbox"].includes(null!==(t=null==i?void 0:i.type)&&void 0!==t?t:""),h="checkbox"===(null==i?void 0:i.type)&&(null==i?void 0:i.isToggle),p=A(Cl,n,v({},"".concat(Cl,"--radiocheck"),d)),f=function(e){var t,n=e.id,i=e.control;return null!==(t=null!=n?n:i&&i.id)&&void 0!==t?t:F()}(null!=i?i:{}),m={control:i,hint:r,label:o,labelAfter:a,messages:l,tooltip:c,controlId:f,isRadioCheck:d};return X.jsx("div",b(b({className:p},u),{},{children:X.jsx(wo.Provider,{value:m,children:d?h?X.jsx(X.Fragment,{children:X.jsxs(ve,{space:"small",children:[X.jsx(be,{children:X.jsxs(ve,{canWrap:!1,children:[X.jsx(be,{children:X.jsx(El,{className:"mr-none"})}),X.jsxs(be,{canShrink:!0,children:[X.jsx(_o,{}),X.jsx(So,{id:f,children:c})]})]})}),X.jsx(ye,{}),X.jsx(be,{className:"mt-none",children:X.jsx(Al,{hideLabel:!0,children:X.jsx(To,{})})})]})}):X.jsxs(X.Fragment,{children:[X.jsx(El,{}),X.jsx(Al,{children:X.jsx(To,{})})]}):X.jsxs(X.Fragment,{children:[X.jsx(Al,{}),X.jsx(El,{}),X.jsx(To,{})]})})}))};Tl.displayName="Field";var Dl=function(e){var t=e.legend,n=e.legendProps,i=e.description,r=e.className,o=e.children,a=e.messages,s=S(e,["legend","legendProps","description","className","children","messages"]),l=A("fieldset",r);return X.jsxs("fieldset",b(b({className:l},s),{},{children:[X.jsx("legend",b(b({},n),{},{children:t})),i,a?X.jsxs(Co.Provider,{value:{messages:a},children:[X.jsx(To,{isMain:!0}),o,X.jsx(To,{})]}):o]}))};Dl.displayName="Fieldset";var Ll=function(e){var t=e.className,n=S(e,["className"]),i=A("skeleton",t);return X.jsx("span",b(b({className:i},n),{},{children:""}))};Ll.displayName="Skeleton";var Il=function(e){var t=e.href,n=e.children,i=e.className,r=e.controls,o=e.isDisabled,a=e.isActive,s=S(e,["href","children","className","controls","isDisabled","isActive"]),l=A("tab-list__tab",i),c=a?0:-1,u=t?"a":"button";return X.jsx("li",{className:"tab-list__item",role:"presentation",children:X.jsx(u,b(b({type:t?void 0:"button",role:t?void 0:"tab",href:t,className:l,"aria-selected":a,"aria-controls":r||void 0,tabIndex:c,"aria-disabled":o},s),{},{children:n}))})};Il.displayName="Tab";var Pl={tabSelector:'[role="tab"]'},Rl=function(){return m(function e(t,n){return p(this,e),this.isActive=function(e){return!!e&&!e.hasAttribute("hidden")},this.isSelected=function(e){return"true"===e.getAttribute("aria-selected")},this.element=t,this.config=Object.assign(Object.assign({},Pl),n),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.element.ODS_Tabs=this,this.init(),this},[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,n){var i=t.getAttribute("aria-controls");return e.tabPanels.push(i?document.getElementById(i):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=n),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new T(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.toggleTabPanel(this.tabPanels[this.activeTabIndex],"on"):this.tabs.length>0&&this.activateNthTab(0)}},{key:"destroy",value:function(){var e=this;this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"handleClick",value:function(e){var t=this,n=e.currentTarget;n.hasAttribute("aria-disabled")?e.preventDefault():(this.tabs.map(function(e,i){return e===n?(t.activeTabIndex=i,t.toggleTab(e,"on")):t.toggleTab(e,"off")}),this.tabPanels.map(function(e){return e&&e.getAttribute("id")===n.getAttribute("aria-controls")?t.toggleTabPanel(e,"on"):t.toggleTabPanel(e,"off")}))}},{key:"toggleTab",value:function(e,t){var n=this.isSelected(e);"on"!==t||n||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&n&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var n=this.isActive(e);"on"!==t||n||e.removeAttribute("hidden"),"off"===t&&n&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){var t=this;this.tabs.map(function(n,i){return i===e?(t.activeTabIndex=i,t.toggleTab(n,"on")):t.toggleTab(n,"off")}),this.tabPanels.map(function(n,i){return i===e?t.toggleTabPanel(n,"on"):t.toggleTabPanel(n,"off")})}},{key:"handleTabFocus",value:function(){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}(),Ml=function(t){var n=t.activeTabIndex,i=void 0===n?0:n,r=t.className,o=t.classesTabNav,a=t.isFullWidth,s=t.isLink,l=t.hasEqualTabWidth,c=t.variant,u=void 0===c?"standard":c,d=t.children,h=t.colorScheme,p=S(t,["activeTabIndex","className","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","variant","children","colorScheme"]),f="tab-list",m=A(f,v({},"".concat(f,"--equal"),l),v({},"".concat(f,"--fullwidth"),a),v({},"".concat(f,"--light"),"light"===u),{"is-dark":"dark"===h},{"is-light":"light"===h},o,r),g=y(B(Rl),1)[0];return X.jsxs(X.Fragment,{children:[X.jsxs("ul",b(b({className:m,role:s?"navigation":"tablist",ref:g,"data-tabs":s?void 0:"true"},p),{},{children:[d.map(function(t,n){var r=n===i,o=t.props,a=o.renderTab,s=o.id,l=o.isDisabled,c=o.tab,u=o.href;if(!a)return e.createElement(Il,{key:s,controls:u?"":s,href:u,isDisabled:l,isActive:r},c);var d=a(t.props);return e.cloneElement(d,{key:s,isActive:r})}),a&&X.jsx("li",{role:"presentation",className:"tab-list__hr"})]})),s?null:d.map(function(t,n){var r=n===i,o=t.props.id;return e.cloneElement(t,{key:o,isActive:r,tab:void 0})})]})};Ml.displayName="Tabs";var zl=function(e){var t=e.children,n=e.isActive,i=e.id,r=e.href,o=S(e,["children","isActive","id","href"]),a=i||F();return X.jsx("div",b(b({id:a,role:r?"":"tabpanel",tabIndex:0,hidden:!n},o),{},{children:t}))};zl.displayName="TabPanel";var Fl="tile",Bl=function(e){var t=e.className,n=e.children,i=e.variant,r=e.backgroundImage,o=e.vAlign,a=e.hAlign,s=e.color,l=void 0===s?"default":s,c=e.space,u=S(e,["className","children","variant","backgroundImage","vAlign","hAlign","color","space"]),d=A(Fl,v(v({},"".concat(Fl,"--").concat(i),i),"tile--".concat(l),"default"!==l),t),h=A("".concat(Fl,"__body"),o&&"justify-content-".concat(o),a&&"align-items-".concat(a),c&&"".concat(Fl,"__body--space-").concat(c)),p="action"===i?{name:"chevron-right",size:"medium",color:"orange"}:null;return X.jsxs("div",b(b({className:d},u),{},{children:[X.jsxs("div",{className:h,children:[p&&X.jsx(te,b({},p)),n]}),r&&X.jsx(He,b(b({},r),{},{className:A("".concat(Fl,"__bg"),r.className)}))]}))};Bl.displayName="Tile";var Ul="cover",Vl=function(e){var t=e.className,n=e.children,i=e.contentClass,r=e.bgPosition,o=void 0===r?"center":r,a=e.bgSrc,s=e.size,l=S(e,["className","children","contentClass","bgPosition","bgSrc","size"]),c=A(Ul,v({},"".concat(Ul,"--").concat(s),s),t),u=A("".concat(Ul,"__content"),i),d=A("".concat(Ul,"__image"),v({},"".concat(Ul,"__image--").concat(o),"center"!==o));return X.jsxs("div",{className:c,children:[n&&X.jsx("div",{className:u,children:n}),X.jsx(He,b({src:a,className:d,alt:""},l))]})};Vl.displayName="Cover";var Hl=function(e){var t=e.className,n=e.children,i=e.color,r=void 0===i?"default":i,o=e.isDiv,a=void 0!==o&&o,s=S(e,["className","children","color","isDiv"]),l=a?"div":"p",c=A("testimonial",v({},"testimonial--".concat(r),"orange"===r),t);return X.jsx(l,b(b({className:c},s),{},{children:n}))};Hl.displayName="Testimonial";export{Q as Accordion,re as AccordionItem,ue as Alert,mo as Autocomplete,ve as Bar,ye as BarBreak,be as BarItem,_e as BlockAction,Se as BlockActionControl,ke as BlockActionIndicator,je as BlockActionOverride,$e as BodyBanner,Ye as Breadcrumbs,Ue as Button,Qe as ButtonFill,Ze as ButtonGhost,Je as ButtonPrimary,ae as Buttons,Qi as Card,nr as CardProductHeader,er as CardSection,Bn as Carousel,ti as CarouselPromotions,_i as CartTable,yo as Checkbox,We as Container,Si as Controls,Vl as Cover,ji as Divider,Li as Dropdown,Pi as DropdownDivider,Ii as DropdownItem,Ci as DropdownToggleButton,zi as Expander,Vi as FeatureAccordion,Hi as FeatureAccordionItem,Tl as Field,Dl as Fieldset,ts as File,Xi as Footer,ar as Gauge,Me as Grid,Fe as GridCol,us as Group,Ol as Hint,te as Icon,Xe as IconButton,He as Image,fi as InfoTooltip,Sl as InputStepper,xo as Label,$i as Link,Xr as List,Qr as ListItem,ur as Loader,Oo as Message,$r as Modal,Hr as ModalBody,Br as ModalCloseButton,Ur as ModalTitle,oo as Pagination,to as Progress,ms as Radio,vl as RangeSlider,qi as Section,fo as Select,Ll as Skeleton,Kr as Sticker,Il as Tab,zl as TabPanel,di as Table,Ml as Tabs,he as Tag,fe as TagButton,Hl as Testimonial,xl as TextArea,as as TextInput,Bl as Tile,hi as Tooltip};
|
|
616
37
|
//# sourceMappingURL=index.js.map
|