@antistatique/leckerli 1.2.0 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
+
9
+ ## [1.2.3] - 2023-10-11
10
+ - Add documentation for i18n (first approach)
11
+
12
+ ### Added
13
+ - Add classes to override default settings banner style
14
+
15
+ ## [1.2.1] - 2023-09-25
16
+ ### Fixed
17
+ - Change build system for iife format and more logic scoping (fix "jQuery conflicts")
18
+
19
+ ### Removed
20
+ - Remove useless Vite.js
21
+
22
+ ### Changed
23
+ - change default settings to use real examples (analytics + ads)
24
+
25
+ ## [1.2.0] - 2023-08-22
8
26
  ### Added
9
27
  - Added an option to 'Auto Load' Leckerli from a GTM tag
10
28
 
@@ -57,7 +75,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
57
75
  ### Added
58
76
  - First POC
59
77
 
60
- [Unreleased]: https://github.com/antistatique/leckerli/compare/v1.1.1...HEAD
78
+ [Unreleased]: https://github.com/antistatique/leckerli/compare/v1.2.3...HEAD
79
+ [1.2.3]: https://github.com/antistatique/leckerli/compare/v1.2.1...v1.2.3
80
+ [1.2.1]: https://github.com/antistatique/leckerli/compare/v1.2.0...v1.2.1
81
+ [1.2.0]: https://github.com/antistatique/leckerli/compare/v1.1.1...v1.2.0
61
82
  [1.1.1]: https://github.com/antistatique/leckerli/compare/v1.1.0...v1.1.1
62
83
  [1.1.0]: https://github.com/antistatique/leckerli/compare/v1.0.7...v1.1.0
63
84
  [1.0.7]: https://github.com/antistatique/leckerli/compare/v1.0.6...v1.0.7
package/README.md CHANGED
@@ -14,7 +14,7 @@ To use leckerli into your website, simply add the following CSS/JavaScript in yo
14
14
  <!-- somewhere in the <head /> -->
15
15
  <link
16
16
  rel="stylesheet"
17
- href="//www.unpkg.com/@antistatique/leckerli@1.1/dist/assets/leckerli.min.css"
17
+ href="//www.unpkg.com/@antistatique/leckerli@1.2/dist/assets/leckerli.min.css"
18
18
  />
19
19
  </head>
20
20
  <body>
@@ -22,7 +22,7 @@ To use leckerli into your website, simply add the following CSS/JavaScript in yo
22
22
  <script
23
23
  defer
24
24
  type="module"
25
- src="//www.unpkg.com/@antistatique/leckerli@1.1/dist/assets/leckerli.min.js"
25
+ src="//www.unpkg.com/@antistatique/leckerli@1.2/dist/assets/leckerli.min.js"
26
26
  ></script>
27
27
  </body>
28
28
  </html>
@@ -264,15 +264,20 @@ You can theme Leckerli with the following CSS custom properties (variables):
264
264
 
265
265
  To override any other style, you can use the following classes:
266
266
 
267
- | Class | Description |
268
- | ----------------------- | ----------------------------------- |
269
- | `.banner-wrapper` | Override the banner display style |
270
- | `.banner-title` | Override the title style |
271
- | `.banner-description` | Override the description style |
272
- | `.banner-btns` | Override the buttons display style |
273
- | `.banner-btn-customise` | Override the customize button style |
274
- | `.banner-btn-accept` | Override the accept button style |
275
- | `.banner-btn-reject` | Override the reject button style |
267
+ | Class | Description |
268
+ | ----------------------- | -------------------------------------------------|
269
+ | `.banner-wrapper` | Override the banner display style |
270
+ | `.banner-title` | Override the title style |
271
+ | `.banner-description` | Override the description style |
272
+ | `.banner-btns` | Override the buttons display style |
273
+ | `.banner-btn-customise` | Override the customize button style |
274
+ | `.banner-btn-accept` | Override the accept button style |
275
+ | `.banner-btn-reject` | Override the reject button style |
276
+ | `.banner-settings-title` | Override the custom settings title style |
277
+ | `.banner-settings-toggle` | Override the custom settings toggle button style |
278
+ | `.banner-settings-description`| Override the custom settings description style |
279
+ | `.banner-settings-save` | Override the custom settings save button style |
280
+ | `.banner-settings-close` | Override the custom settings close button style |
276
281
 
277
282
  ## 🧑‍💻 Contribute
278
283
 
@@ -1 +1 @@
1
- if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("link");e.rel="stylesheet",e.href="//www.unpkg.com/@antistatique/leckerli@1.2.0/dist/assets/leckerli.min.css",document.head.appendChild(e)}if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("script");e.src="//www.unpkg.com/@antistatique/leckerli@1.2.0/dist/assets/leckerli.min.js",document.body.appendChild(e)}document.addEventListener("leckerli:permissions-updated",e=>{window.leckerliGTMUpdate(e.detail.cookie)});
1
+ !function(){"use strict";if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("link");e.rel="stylesheet",e.href="//www.unpkg.com/@antistatique/leckerli@1.2.3/dist/assets/leckerli.min.css",document.head.appendChild(e)}if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("script");e.src="//www.unpkg.com/@antistatique/leckerli@1.2.3/dist/assets/leckerli.min.js",document.body.appendChild(e)}document.addEventListener("leckerli:permissions-updated",(e=>{window.leckerliGTMUpdate(e.detail.cookie)}))}();
@@ -1 +1 @@
1
- #lkrl-wrapper *,#lkrl-wrapper :before,#lkrl-wrapper :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}#lkrl-wrapper :before,#lkrl-wrapper :after{--tw-content: ""}#lkrl-wrapper{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}#lkrl-wrapper{margin:0;line-height:inherit}#lkrl-wrapper hr{height:0;color:inherit;border-top-width:1px}#lkrl-wrapper abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6{font-size:inherit;font-weight:inherit}#lkrl-wrapper a{color:inherit;text-decoration:inherit}#lkrl-wrapper b,#lkrl-wrapper strong{font-weight:bolder}#lkrl-wrapper code,#lkrl-wrapper kbd,#lkrl-wrapper samp,#lkrl-wrapper pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}#lkrl-wrapper small{font-size:80%}#lkrl-wrapper sub,#lkrl-wrapper sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}#lkrl-wrapper sub{bottom:-.25em}#lkrl-wrapper sup{top:-.5em}#lkrl-wrapper table{text-indent:0;border-color:inherit;border-collapse:collapse}#lkrl-wrapper button,#lkrl-wrapper input,#lkrl-wrapper optgroup,#lkrl-wrapper select,#lkrl-wrapper textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}#lkrl-wrapper button,#lkrl-wrapper select{text-transform:none}#lkrl-wrapper button,#lkrl-wrapper [type=button],#lkrl-wrapper [type=reset],#lkrl-wrapper [type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}#lkrl-wrapper :-moz-focusring{outline:auto}#lkrl-wrapper :-moz-ui-invalid{box-shadow:none}#lkrl-wrapper progress{vertical-align:baseline}#lkrl-wrapper ::-webkit-inner-spin-button,#lkrl-wrapper ::-webkit-outer-spin-button{height:auto}#lkrl-wrapper [type=search]{-webkit-appearance:textfield;outline-offset:-2px}#lkrl-wrapper ::-webkit-search-decoration{-webkit-appearance:none}#lkrl-wrapper ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}#lkrl-wrapper summary{display:list-item}#lkrl-wrapper blockquote,#lkrl-wrapper dl,#lkrl-wrapper dd,#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6,#lkrl-wrapper hr,#lkrl-wrapper figure,#lkrl-wrapper p,#lkrl-wrapper pre{margin:0}#lkrl-wrapper fieldset{margin:0;padding:0}#lkrl-wrapper legend{padding:0}#lkrl-wrapper ol,#lkrl-wrapper ul,#lkrl-wrapper menu{list-style:none;margin:0;padding:0}#lkrl-wrapper textarea{resize:vertical}#lkrl-wrapper input::-moz-placeholder,#lkrl-wrapper textarea::-moz-placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper input::placeholder,#lkrl-wrapper textarea::placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper button,#lkrl-wrapper [role=button]{cursor:pointer}#lkrl-wrapper :disabled{cursor:default}#lkrl-wrapper img,#lkrl-wrapper svg,#lkrl-wrapper video,#lkrl-wrapper canvas,#lkrl-wrapper audio,#lkrl-wrapper iframe,#lkrl-wrapper embed,#lkrl-wrapper object{display:block;vertical-align:middle}#lkrl-wrapper img,#lkrl-wrapper video{max-width:100%;height:auto}#lkrl-wrapper [hidden]{display:none}#lkrl-wrapper *,#lkrl-wrapper :before,#lkrl-wrapper :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#lkrl-wrapper ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#lkrl-wrapper .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}#lkrl-wrapper .pointer-events-none{pointer-events:none!important}#lkrl-wrapper .fixed{position:fixed!important}#lkrl-wrapper .absolute{position:absolute!important}#lkrl-wrapper .relative{position:relative!important}#lkrl-wrapper .bottom-0{bottom:0px!important}#lkrl-wrapper .left-0{left:0px!important}#lkrl-wrapper .right-0{right:0px!important}#lkrl-wrapper .top-0{top:0px!important}#lkrl-wrapper .z-\[9998\]{z-index:9998!important}#lkrl-wrapper .z-\[9999\]{z-index:9999!important}#lkrl-wrapper .m-0{margin:0!important}#lkrl-wrapper .m-2{margin:.5rem!important}#lkrl-wrapper .mr-2{margin-right:.5rem!important}#lkrl-wrapper .mt-0{margin-top:0!important}#lkrl-wrapper .mt-0\.5{margin-top:.125rem!important}#lkrl-wrapper .mt-2{margin-top:.5rem!important}#lkrl-wrapper .inline-block{display:inline-block!important}#lkrl-wrapper .flex{display:flex!important}#lkrl-wrapper .inline-flex{display:inline-flex!important}#lkrl-wrapper .h-5{height:1.25rem!important}#lkrl-wrapper .h-6{height:1.5rem!important}#lkrl-wrapper .h-8{height:2rem!important}#lkrl-wrapper .max-h-full{max-height:100%!important}#lkrl-wrapper .w-10\/12{width:83.333333%!important}#lkrl-wrapper .w-11{width:2.75rem!important}#lkrl-wrapper .w-5{width:1.25rem!important}#lkrl-wrapper .w-8{width:2rem!important}#lkrl-wrapper .w-full{width:100%!important}#lkrl-wrapper .max-w-lg{max-width:32rem!important}#lkrl-wrapper .max-w-md{max-width:28rem!important}#lkrl-wrapper .flex-shrink-0{flex-shrink:0!important}#lkrl-wrapper .translate-x-0{--tw-translate-x: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .translate-x-5{--tw-translate-x: 1.25rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .cursor-pointer{cursor:pointer!important}#lkrl-wrapper .items-start{align-items:flex-start!important}#lkrl-wrapper .justify-between{justify-content:space-between!important}#lkrl-wrapper .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem * var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))!important}#lkrl-wrapper .overflow-y-auto{overflow-y:auto!important}#lkrl-wrapper .rounded{border-radius:.25rem!important}#lkrl-wrapper .rounded-full{border-radius:9999px!important}#lkrl-wrapper .rounded-md{border-radius:.375rem!important}#lkrl-wrapper .border-2{border-width:2px!important}#lkrl-wrapper .border-solid{border-style:solid!important}#lkrl-wrapper .border-primary{border-color:var(--leckerli-primary, #059669)!important}#lkrl-wrapper .border-transparent{border-color:transparent!important}#lkrl-wrapper .bg-background{background-color:var(--leckerli-background, #fff)!important}#lkrl-wrapper .bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}#lkrl-wrapper .bg-primary{background-color:var(--leckerli-primary, #059669)!important}#lkrl-wrapper .px-2{padding-left:.5rem!important;padding-right:.5rem!important}#lkrl-wrapper .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}#lkrl-wrapper .py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}#lkrl-wrapper .py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}#lkrl-wrapper .py-4{padding-top:1rem!important;padding-bottom:1rem!important}#lkrl-wrapper .pt-2{padding-top:.5rem!important}#lkrl-wrapper .pt-4{padding-top:1rem!important}#lkrl-wrapper .font-primary{font-family:var(--leckerli-font, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")!important}#lkrl-wrapper .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}#lkrl-wrapper .text-sm{font-size:.875rem!important;line-height:1.25rem!important}#lkrl-wrapper .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}#lkrl-wrapper .font-semibold{font-weight:600!important}#lkrl-wrapper .leading-snug{line-height:1.375!important}#lkrl-wrapper .text-background{color:var(--leckerli-background, #fff)!important}#lkrl-wrapper .text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}#lkrl-wrapper .text-foreground{color:var(--leckerli-foreground, #000)!important}#lkrl-wrapper .text-primary{color:var(--leckerli-primary, #059669)!important}#lkrl-wrapper .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}#lkrl-wrapper .shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}#lkrl-wrapper .shadow-black\/25{--tw-shadow-color: rgb(0 0 0 / .25) !important;--tw-shadow: var(--tw-shadow-colored) !important}#lkrl-wrapper .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}#lkrl-wrapper .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .duration-200{transition-duration:.2s!important}#lkrl-wrapper .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#lkrl-wrapper .hover\:border-primary-hover:hover{border-color:var(--leckerli-primary-hover, #047857)!important}#lkrl-wrapper .hover\:bg-primary-hover:hover{background-color:var(--leckerli-primary-hover, #047857)!important}#lkrl-wrapper .hover\:text-primary-hover:hover{color:var(--leckerli-primary-hover, #047857)!important}#lkrl-wrapper .focus\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}#lkrl-wrapper .focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}#lkrl-wrapper .focus\:ring-primary:focus{--tw-ring-color: var(--leckerli-primary, #059669) !important}#lkrl-wrapper .focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px !important}#lkrl-wrapper .active\:border-primary-active:active{border-color:var(--leckerli-primary-active, #064e3b)!important}#lkrl-wrapper .active\:bg-primary-active:active{background-color:var(--leckerli-primary-active, #064e3b)!important}#lkrl-wrapper .active\:text-primary-active:active{color:var(--leckerli-primary-active, #064e3b)!important}@media (min-width: 768px){#lkrl-wrapper .md\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}#lkrl-wrapper .md\:px-3\.5{padding-left:.875rem!important;padding-right:.875rem!important}#lkrl-wrapper .md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}#lkrl-wrapper .md\:py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}#lkrl-wrapper .md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}#lkrl-wrapper .md\:text-base{font-size:1rem!important;line-height:1.5rem!important}#lkrl-wrapper .md\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}
1
+ /*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/#lkrl-wrapper *,#lkrl-wrapper :after,#lkrl-wrapper :before{box-sizing:border-box;border:0 solid #e5e7eb}#lkrl-wrapper :after,#lkrl-wrapper :before{--tw-content:""}#lkrl-wrapper{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;margin:0;line-height:inherit}#lkrl-wrapper hr{height:0;color:inherit;border-top-width:1px}#lkrl-wrapper abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6{font-size:inherit;font-weight:inherit}#lkrl-wrapper a{color:inherit;text-decoration:inherit}#lkrl-wrapper b,#lkrl-wrapper strong{font-weight:bolder}#lkrl-wrapper code,#lkrl-wrapper kbd,#lkrl-wrapper pre,#lkrl-wrapper samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}#lkrl-wrapper small{font-size:80%}#lkrl-wrapper sub,#lkrl-wrapper sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}#lkrl-wrapper sub{bottom:-.25em}#lkrl-wrapper sup{top:-.5em}#lkrl-wrapper table{text-indent:0;border-color:inherit;border-collapse:collapse}#lkrl-wrapper button,#lkrl-wrapper input,#lkrl-wrapper optgroup,#lkrl-wrapper select,#lkrl-wrapper textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}#lkrl-wrapper button,#lkrl-wrapper select{text-transform:none}#lkrl-wrapper [type=button],#lkrl-wrapper [type=reset],#lkrl-wrapper [type=submit],#lkrl-wrapper button{-webkit-appearance:button;background-color:initial;background-image:none}#lkrl-wrapper :-moz-focusring{outline:auto}#lkrl-wrapper :-moz-ui-invalid{box-shadow:none}#lkrl-wrapper progress{vertical-align:initial}#lkrl-wrapper ::-webkit-inner-spin-button,#lkrl-wrapper ::-webkit-outer-spin-button{height:auto}#lkrl-wrapper [type=search]{-webkit-appearance:textfield;outline-offset:-2px}#lkrl-wrapper ::-webkit-search-decoration{-webkit-appearance:none}#lkrl-wrapper ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}#lkrl-wrapper summary{display:list-item}#lkrl-wrapper blockquote,#lkrl-wrapper dd,#lkrl-wrapper dl,#lkrl-wrapper figure,#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6,#lkrl-wrapper hr,#lkrl-wrapper p,#lkrl-wrapper pre{margin:0}#lkrl-wrapper fieldset{margin:0;padding:0}#lkrl-wrapper legend{padding:0}#lkrl-wrapper menu,#lkrl-wrapper ol,#lkrl-wrapper ul{list-style:none;margin:0;padding:0}#lkrl-wrapper dialog{padding:0}#lkrl-wrapper textarea{resize:vertical}#lkrl-wrapper input::-moz-placeholder,#lkrl-wrapper textarea::-moz-placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper input::placeholder,#lkrl-wrapper textarea::placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper [role=button],#lkrl-wrapper button{cursor:pointer}#lkrl-wrapper :disabled{cursor:default}#lkrl-wrapper audio,#lkrl-wrapper canvas,#lkrl-wrapper embed,#lkrl-wrapper iframe,#lkrl-wrapper img,#lkrl-wrapper object,#lkrl-wrapper svg,#lkrl-wrapper video{display:block;vertical-align:middle}#lkrl-wrapper img,#lkrl-wrapper video{max-width:100%;height:auto}#lkrl-wrapper [hidden]{display:none}#lkrl-wrapper *,#lkrl-wrapper ::backdrop,#lkrl-wrapper :after,#lkrl-wrapper :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#lkrl-wrapper .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}#lkrl-wrapper .pointer-events-none{pointer-events:none!important}#lkrl-wrapper .fixed{position:fixed!important}#lkrl-wrapper .absolute{position:absolute!important}#lkrl-wrapper .relative{position:relative!important}#lkrl-wrapper .bottom-0{bottom:0!important}#lkrl-wrapper .left-0{left:0!important}#lkrl-wrapper .right-0{right:0!important}#lkrl-wrapper .top-0{top:0!important}#lkrl-wrapper .z-\[9998\]{z-index:9998!important}#lkrl-wrapper .z-\[9999\]{z-index:9999!important}#lkrl-wrapper .m-0{margin:0!important}#lkrl-wrapper .m-2{margin:.5rem!important}#lkrl-wrapper .mr-2{margin-right:.5rem!important}#lkrl-wrapper .mt-0{margin-top:0!important}#lkrl-wrapper .mt-0\.5{margin-top:.125rem!important}#lkrl-wrapper .mt-2{margin-top:.5rem!important}#lkrl-wrapper .inline-block{display:inline-block!important}#lkrl-wrapper .flex{display:flex!important}#lkrl-wrapper .inline-flex{display:inline-flex!important}#lkrl-wrapper .h-5{height:1.25rem!important}#lkrl-wrapper .h-6{height:1.5rem!important}#lkrl-wrapper .h-8{height:2rem!important}#lkrl-wrapper .max-h-full{max-height:100%!important}#lkrl-wrapper .w-10\/12{width:83.333333%!important}#lkrl-wrapper .w-11{width:2.75rem!important}#lkrl-wrapper .w-5{width:1.25rem!important}#lkrl-wrapper .w-8{width:2rem!important}#lkrl-wrapper .w-full{width:100%!important}#lkrl-wrapper .max-w-lg{max-width:32rem!important}#lkrl-wrapper .max-w-md{max-width:28rem!important}#lkrl-wrapper .flex-shrink-0{flex-shrink:0!important}#lkrl-wrapper .translate-x-0{--tw-translate-x:0px!important}#lkrl-wrapper .translate-x-0,#lkrl-wrapper .translate-x-5{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .translate-x-5{--tw-translate-x:1.25rem!important}#lkrl-wrapper .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .cursor-pointer{cursor:pointer!important}#lkrl-wrapper .items-start{align-items:flex-start!important}#lkrl-wrapper .justify-between{justify-content:space-between!important}#lkrl-wrapper .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .overflow-y-auto{overflow-y:auto!important}#lkrl-wrapper .rounded{border-radius:.25rem!important}#lkrl-wrapper .rounded-full{border-radius:9999px!important}#lkrl-wrapper .rounded-md{border-radius:.375rem!important}#lkrl-wrapper .border-2{border-width:2px!important}#lkrl-wrapper .border-solid{border-style:solid!important}#lkrl-wrapper .border-primary{border-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .border-transparent{border-color:#0000!important}#lkrl-wrapper .bg-background{background-color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgb(229 231 235/var(--tw-bg-opacity))!important}#lkrl-wrapper .bg-primary{background-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .px-2{padding-left:.5rem!important;padding-right:.5rem!important}#lkrl-wrapper .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}#lkrl-wrapper .py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}#lkrl-wrapper .py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}#lkrl-wrapper .py-4{padding-top:1rem!important;padding-bottom:1rem!important}#lkrl-wrapper .pt-2{padding-top:.5rem!important}#lkrl-wrapper .pt-4{padding-top:1rem!important}#lkrl-wrapper .font-primary{font-family:var(--leckerli-font,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji")!important}#lkrl-wrapper .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}#lkrl-wrapper .text-sm{font-size:.875rem!important;line-height:1.25rem!important}#lkrl-wrapper .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}#lkrl-wrapper .font-semibold{font-weight:600!important}#lkrl-wrapper .leading-snug{line-height:1.375!important}#lkrl-wrapper .text-background{color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}#lkrl-wrapper .text-foreground{color:var(--leckerli-foreground,#000)!important}#lkrl-wrapper .text-primary{color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow,#lkrl-wrapper .shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}#lkrl-wrapper .shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow-black\/25{--tw-shadow-color:#00000040!important;--tw-shadow:var(--tw-shadow-colored)!important}#lkrl-wrapper .ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .duration-200{transition-duration:.2s!important}#lkrl-wrapper .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#lkrl-wrapper .hover\:border-primary-hover:hover{border-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:bg-primary-hover:hover{background-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:text-primary-hover:hover{color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .focus\:outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}#lkrl-wrapper .focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .focus\:ring-primary:focus{--tw-ring-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .focus\:ring-offset-2:focus{--tw-ring-offset-width:2px!important}#lkrl-wrapper .active\:border-primary-active:active{border-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:bg-primary-active:active{background-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:text-primary-active:active{color:var(--leckerli-primary-active,#064e3b)!important}@media (min-width:768px){#lkrl-wrapper .md\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}#lkrl-wrapper .md\:px-3\.5{padding-left:.875rem!important;padding-right:.875rem!important}#lkrl-wrapper .md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}#lkrl-wrapper .md\:py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}#lkrl-wrapper .md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}#lkrl-wrapper .md\:text-base{font-size:1rem!important;line-height:1.5rem!important}#lkrl-wrapper .md\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}
@@ -1,12 +1,5 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var xe,d,Qn,ae,hn,er,kt,tr,Ve={},nr=[],yo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ze=Array.isArray;function J(e,t){for(var n in t)e[n]=t[n];return e}function rr(e){var t=e.parentNode;t&&t.removeChild(e)}function Y(e,t,n){var r,i,o,s={};for(o in t)o=="key"?r=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?xe.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return Ne(e,s,r,i,null)}function Ne(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++Qn};return i==null&&d.vnode!=null&&d.vnode(o),o}function or(){return{current:null}}function X(e){return e.children}function B(e,t){this.props=e,this.context=t}function Re(e,t){if(t==null)return e.__?Re(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Re(e):null}function ir(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ir(e)}}function Ot(e){(!e.__d&&(e.__d=!0)&&ae.push(e)&&!qe.__r++||hn!==d.debounceRendering)&&((hn=d.debounceRendering)||er)(qe)}function qe(){var e,t,n,r,i,o,s,u;for(ae.sort(kt);e=ae.shift();)e.__d&&(t=ae.length,r=void 0,i=void 0,s=(o=(n=e).__v).__e,(u=n.__P)&&(r=[],(i=J({},o)).__v=o.__v+1,Mt(u,o,i,n.__n,u.ownerSVGElement!==void 0,o.__h!=null?[s]:null,r,s??Re(o),o.__h),cr(r,o),o.__e!=s&&ir(o)),ae.length>t&&ae.sort(kt));qe.__r=0}function ar(e,t,n,r,i,o,s,u,_,h){var l,E,y,p,v,W,S,w=r&&r.__k||nr,I=w.length;for(n.__k=[],l=0;l<t.length;l++)if((p=n.__k[l]=(p=t[l])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Ne(null,p,null,null,p):Ze(p)?Ne(X,{children:p},null,null,null):p.__b>0?Ne(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(y=w[l])===null||y&&p.key==y.key&&p.type===y.type)w[l]=void 0;else for(E=0;E<I;E++){if((y=w[E])&&p.key==y.key&&p.type===y.type){w[E]=void 0;break}y=null}Mt(e,p,y=y||Ve,i,o,s,u,_,h),v=p.__e,(E=p.ref)&&y.ref!=E&&(S||(S=[]),y.ref&&S.push(y.ref,null,p),S.push(E,p.__c||v,p)),v!=null?(W==null&&(W=v),typeof p.type=="function"&&p.__k===y.__k?p.__d=_=sr(p,_,e):_=lr(e,p,y,w,v,_),typeof n.type=="function"&&(n.__d=_)):_&&y.__e==_&&_.parentNode!=e&&(_=Re(y))}for(n.__e=W,l=I;l--;)w[l]!=null&&(typeof n.type=="function"&&w[l].__e!=null&&w[l].__e==n.__d&&(n.__d=ur(r).nextSibling),fr(w[l],w[l]));if(S)for(l=0;l<S.length;l++)_r(S[l],S[++l],S[++l])}function sr(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t=typeof r.type=="function"?sr(r,t,n):lr(n,r,r,i,r.__e,t));return t}function Q(e,t){return t=t||[],e==null||typeof e=="boolean"||(Ze(e)?e.some(function(n){Q(n,t)}):t.push(e)),t}function lr(e,t,n,r,i,o){var s,u,_;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(n==null||i!=o||i.parentNode==null)e:if(o==null||o.parentNode!==e)e.appendChild(i),s=null;else{for(u=o,_=0;(u=u.nextSibling)&&_<r.length;_+=1)if(u==i)break e;e.insertBefore(i,o),s=o}return s!==void 0?s:i.nextSibling}function ur(e){var t,n,r;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=ur(n)))return r}return null}function vo(e,t,n,r,i){var o;for(o in n)o==="children"||o==="key"||o in t||Ye(e,o,null,n[o],r);for(o in t)i&&typeof t[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||n[o]===t[o]||Ye(e,o,t[o],n[o],r)}function yn(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||yo.test(t)?n:n+"px"}function Ye(e,t,n,r,i){var o;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||yn(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||yn(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?gn:vn,o):e.removeEventListener(t,o?gn:vn,o);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function vn(e){return this.l[e.type+!1](d.event?d.event(e):e)}function gn(e){return this.l[e.type+!0](d.event?d.event(e):e)}function Mt(e,t,n,r,i,o,s,u,_){var h,l,E,y,p,v,W,S,w,I,N,j,ue,ce,Ae,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(_=n.__h,u=t.__e=n.__e,t.__h=null,o=[u]),(h=d.__b)&&h(t);try{e:if(typeof P=="function"){if(S=t.props,w=(h=P.contextType)&&r[h.__c],I=h?w?w.props.value:h.__:r,n.__c?W=(l=t.__c=n.__c).__=l.__E:("prototype"in P&&P.prototype.render?t.__c=l=new P(S,I):(t.__c=l=new B(S,I),l.constructor=P,l.render=Eo),w&&w.sub(l),l.props=S,l.state||(l.state={}),l.context=I,l.__n=r,E=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),P.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=J({},l.__s)),J(l.__s,P.getDerivedStateFromProps(S,l.__s))),y=l.props,p=l.state,l.__v=t,E)P.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(P.getDerivedStateFromProps==null&&S!==y&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(S,I),!l.__e&&l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(S,l.__s,I)===!1||t.__v===n.__v){for(t.__v!==n.__v&&(l.props=S,l.state=l.__s,l.__d=!1),l.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(_e){_e&&(_e.__=t)}),N=0;N<l._sb.length;N++)l.__h.push(l._sb[N]);l._sb=[],l.__h.length&&s.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(S,l.__s,I),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(y,p,v)})}if(l.context=I,l.props=S,l.__P=e,j=d.__r,ue=0,"prototype"in P&&P.prototype.render){for(l.state=l.__s,l.__d=!1,j&&j(t),h=l.render(l.props,l.state,l.context),ce=0;ce<l._sb.length;ce++)l.__h.push(l._sb[ce]);l._sb=[]}else do l.__d=!1,j&&j(t),h=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++ue<25);l.state=l.__s,l.getChildContext!=null&&(r=J(J({},r),l.getChildContext())),E||l.getSnapshotBeforeUpdate==null||(v=l.getSnapshotBeforeUpdate(y,p)),ar(e,Ze(Ae=h!=null&&h.type===X&&h.key==null?h.props.children:h)?Ae:[Ae],t,n,r,i,o,s,u,_),l.base=t.__e,t.__h=null,l.__h.length&&s.push(l),W&&(l.__E=l.__=null),l.__e=!1}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=go(n.__e,t,n,r,i,o,s,_);(h=d.diffed)&&h(t)}catch(_e){t.__v=null,(_||o!=null)&&(t.__e=u,t.__h=!!_,o[o.indexOf(u)]=null),d.__e(_e,t,n)}}function cr(e,t){d.__c&&d.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){d.__e(r,n.__v)}})}function go(e,t,n,r,i,o,s,u){var _,h,l,E=n.props,y=t.props,p=t.type,v=0;if(p==="svg"&&(i=!0),o!=null){for(;v<o.length;v++)if((_=o[v])&&"setAttribute"in _==!!p&&(p?_.localName===p:_.nodeType===3)){e=_,o[v]=null;break}}if(e==null){if(p===null)return document.createTextNode(y);e=i?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,y.is&&y),o=null,u=!1}if(p===null)E===y||u&&e.data===y||(e.data=y);else{if(o=o&&xe.call(e.childNodes),h=(E=n.props||Ve).dangerouslySetInnerHTML,l=y.dangerouslySetInnerHTML,!u){if(o!=null)for(E={},v=0;v<e.attributes.length;v++)E[e.attributes[v].name]=e.attributes[v].value;(l||h)&&(l&&(h&&l.__html==h.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(vo(e,y,E,i,u),l)t.__k=[];else if(ar(e,Ze(v=t.props.children)?v:[v],t,n,r,i&&p!=="foreignObject",o,s,o?o[0]:n.__k&&Re(n,0),u),o!=null)for(v=o.length;v--;)o[v]!=null&&rr(o[v]);u||("value"in y&&(v=y.value)!==void 0&&(v!==e.value||p==="progress"&&!v||p==="option"&&v!==E.value)&&Ye(e,"value",v,E.value,!1),"checked"in y&&(v=y.checked)!==void 0&&v!==e.checked&&Ye(e,"checked",v,E.checked,!1))}return e}function _r(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){d.__e(r,n)}}function fr(e,t,n){var r,i;if(d.unmount&&d.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||_r(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){d.__e(o,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&fr(r[i],t,n||typeof e.type!="function");n||e.__e==null||rr(e.__e),e.__=e.__e=e.__d=void 0}function Eo(e,t,n){return this.constructor(e,n)}function Ee(e,t,n){var r,i,o;d.__&&d.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],Mt(t,e=(!r&&n||t).__k=Y(X,null,[e]),i||Ve,Ve,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?xe.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r),cr(o,e)}function pr(e,t){Ee(e,t,pr)}function bo(e,t,n){var r,i,o,s,u=J({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?i=t[o]:u[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(u.children=arguments.length>3?xe.call(arguments,2):n),Ne(e.type,u,r||e.key,i||e.ref,null)}function dr(e,t){var n={__c:t="__cC"+tr++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(u){u.__e=!0,Ot(u)})},this.sub=function(s){i.push(s);var u=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),u&&u.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}xe=nr.slice,d={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(u){e=u}throw e}},Qn=0,B.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=J({},this.state),typeof e=="function"&&(e=e(J({},n),this.props)),e&&J(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ot(this))},B.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ot(this))},B.prototype.render=X,ae=[],er=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,kt=function(e,t){return e.__v.__b-t.__v.__b},qe.__r=0,tr=0;var ee,T,ht,En,be=0,mr=[],ze=[],bn=d.__b,Tn=d.__r,An=d.diffed,Sn=d.__c,kn=d.unmount;function le(e,t){d.__h&&d.__h(T,e,be||t),be=0;var n=T.__H||(T.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ze}),n.__[e]}function De(e){return be=1,Pt(br,e)}function Pt(e,t,n){var r=le(ee++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):br(void 0,t),function(u){var _=r.__N?r.__N[0]:r.__[0],h=r.t(_,u);_!==h&&(r.__N=[h,r.__[1]],r.__c.setState({}))}],r.__c=T,!T.u)){var i=function(u,_,h){if(!r.__c.__H)return!0;var l=r.__c.__H.__.filter(function(y){return y.__c});if(l.every(function(y){return!y.__N}))return!o||o.call(this,u,_,h);var E=!1;return l.forEach(function(y){if(y.__N){var p=y.__[0];y.__=y.__N,y.__N=void 0,p!==y.__[0]&&(E=!0)}}),!(!E&&r.__c.props===u)&&(!o||o.call(this,u,_,h))};T.u=!0;var o=T.shouldComponentUpdate,s=T.componentWillUpdate;T.componentWillUpdate=function(u,_,h){if(this.__e){var l=o;o=void 0,i(u,_,h),o=l}s&&s.call(this,u,_,h)},T.shouldComponentUpdate=i}return r.__N||r.__}function Je(e,t){var n=le(ee++,3);!d.__s&&$t(n.__H,t)&&(n.__=e,n.i=t,T.__H.__h.push(n))}function Le(e,t){var n=le(ee++,4);!d.__s&&$t(n.__H,t)&&(n.__=e,n.i=t,T.__h.push(n))}function hr(e){return be=5,Qe(function(){return{current:e}},[])}function yr(e,t,n){be=6,Le(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Qe(e,t){var n=le(ee++,7);return $t(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function vr(e,t){return be=8,Qe(function(){return e},t)}function gr(e){var t=T.context[e.__c],n=le(ee++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(T)),t.props.value):e.__}function Ut(e,t){d.useDebugValue&&d.useDebugValue(t?t(e):e)}function To(e){var t=le(ee++,10),n=De();return t.__=e,T.componentDidCatch||(T.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Er(){var e=le(ee++,11);if(!e.__){for(var t=T.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ao(){for(var e;e=mr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(Ct),e.__H.__h=[]}catch(t){e.__H.__h=[],d.__e(t,e.__v)}}d.__b=function(e){T=null,bn&&bn(e)},d.__r=function(e){Tn&&Tn(e),ee=0;var t=(T=e.__c).__H;t&&(ht===T?(t.__h=[],T.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ze,n.__N=n.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(Ct),t.__h=[],ee=0)),ht=T},d.diffed=function(e){An&&An(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(mr.push(t)!==1&&En===d.requestAnimationFrame||((En=d.requestAnimationFrame)||So)(Ao)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ze&&(n.__=n.__V),n.i=void 0,n.__V=ze})),ht=T=null},d.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Be),n.__h=n.__h.filter(function(r){return!r.__||Ct(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],d.__e(r,n.__v)}}),Sn&&Sn(e,t)},d.unmount=function(e){kn&&kn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Be(r)}catch(i){t=i}}),n.__H=void 0,t&&d.__e(t,n.__v))};var On=typeof requestAnimationFrame=="function";function So(e){var t,n=function(){clearTimeout(r),On&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);On&&(t=requestAnimationFrame(n))}function Be(e){var t=T,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),T=t}function Ct(e){var t=T;e.__c=e.__(),T=t}function $t(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function br(e,t){return typeof t=="function"?t(e):t}/*! js-cookie v3.0.5 | MIT */function He(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var ko={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Nt(e,t){function n(i,o,s){if(!(typeof document>"u")){s=He({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var _ in s)s[_]&&(u+="; "+_,s[_]!==!0&&(u+="="+s[_].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+u}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},u=0;u<o.length;u++){var _=o[u].split("="),h=_.slice(1).join("=");try{var l=decodeURIComponent(_[0]);if(s[l]=e.read(h,l),i===l)break}catch{}}return i?s[i]:s}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",He({},o,{expires:-1}))},withAttributes:function(i){return Nt(this.converter,He({},this.attributes,i))},withConverter:function(i){return Nt(He({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var wt=Nt(ko,{path:"/"});function O(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function U(e){return function t(n){return arguments.length===0||O(n)?t:e.apply(this,arguments)}}function te(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return O(n)?t:U(function(i){return e(n,i)});default:return O(n)&&O(r)?t:O(n)?U(function(i){return e(i,r)}):O(r)?U(function(i){return e(n,i)}):e(n,r)}}}function Tr(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return O(n)?t:te(function(o,s){return e(n,o,s)});case 2:return O(n)&&O(r)?t:O(n)?te(function(o,s){return e(o,r,s)}):O(r)?te(function(o,s){return e(n,o,s)}):U(function(o){return e(n,r,o)});default:return O(n)&&O(r)&&O(i)?t:O(n)&&O(r)?te(function(o,s){return e(o,s,i)}):O(n)&&O(i)?te(function(o,s){return e(o,r,s)}):O(r)&&O(i)?te(function(o,s){return e(n,o,s)}):O(n)?U(function(o){return e(o,r,i)}):O(r)?U(function(o){return e(n,o,i)}):O(i)?U(function(o){return e(n,r,o)}):e(n,r,i)}}}const Oo=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function Cn(e){for(var t=[],n;!(n=e.next()).done;)t.push(n.value);return t}function Nn(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}function Co(e){var t=String(e).match(/^function (\w*)/);return t==null?"":t[1]}function ne(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function No(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}const yt=typeof Object.is=="function"?Object.is:No;var wn=Object.prototype.toString,Ar=function(){return wn.call(arguments)==="[object Arguments]"?function(t){return wn.call(t)==="[object Arguments]"}:function(t){return ne("callee",t)}}(),wo=!{toString:null}.propertyIsEnumerable("toString"),Rn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],xn=function(){return arguments.propertyIsEnumerable("length")}(),Ro=function(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1},Dn=U(typeof Object.keys=="function"&&!xn?function(t){return Object(t)!==t?[]:Object.keys(t)}:function(t){if(Object(t)!==t)return[];var n,r,i=[],o=xn&&Ar(t);for(n in t)ne(n,t)&&(!o||n!=="length")&&(i[i.length]=n);if(wo)for(r=Rn.length-1;r>=0;)n=Rn[r],ne(n,t)&&!Ro(i,n)&&(i[i.length]=n),r-=1;return i}),Ln=U(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function In(e,t,n,r){var i=Cn(e),o=Cn(t);function s(u,_){return Ft(u,_,n.slice(),r.slice())}return!Nn(function(u,_){return!Nn(s,_,u)},o,i)}function Ft(e,t,n,r){if(yt(e,t))return!0;var i=Ln(e);if(i!==Ln(t))return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(i){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&Co(e.constructor)==="Promise")return e===t;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof t&&yt(e.valueOf(),t.valueOf())))return!1;break;case"Date":if(!yt(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var o=n.length-1;o>=0;){if(n[o]===e)return r[o]===t;o-=1}switch(i){case"Map":return e.size!==t.size?!1:In(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size!==t.size?!1:In(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=Dn(e);if(s.length!==Dn(t).length)return!1;var u=n.concat([e]),_=r.concat([t]);for(o=s.length-1;o>=0;){var h=s[o];if(!(ne(h,t)&&Ft(t[h],e[h],u,_)))return!1;o-=1}return!0}var xo=te(function(t,n){return Ft(t,n,[],[])});function Rt(e){return Object.prototype.toString.call(e)==="[object Object]"}function Do(e){return Object.prototype.toString.call(e)==="[object String]"}var Sr=U(function(t){return t==null});function Lo(e){var t=Object.prototype.toString.call(e);return t==="[object Uint8ClampedArray]"||t==="[object Int8Array]"||t==="[object Uint8Array]"||t==="[object Int16Array]"||t==="[object Uint16Array]"||t==="[object Int32Array]"||t==="[object Uint32Array]"||t==="[object Float32Array]"||t==="[object Float64Array]"||t==="[object BigInt64Array]"||t==="[object BigUint64Array]"}var Io=U(function(t){return t!=null&&typeof t["fantasy-land/empty"]=="function"?t["fantasy-land/empty"]():t!=null&&t.constructor!=null&&typeof t.constructor["fantasy-land/empty"]=="function"?t.constructor["fantasy-land/empty"]():t!=null&&typeof t.empty=="function"?t.empty():t!=null&&t.constructor!=null&&typeof t.constructor.empty=="function"?t.constructor.empty():Oo(t)?[]:Do(t)?"":Rt(t)?{}:Ar(t)?function(){return arguments}():Lo(t)?t.constructor.from(""):void 0}),Mo=U(function(t){return t!=null&&xo(t,Io(t))});const Po=Mo;var Uo=U(function(t){return!Sr(t)});const Ht=Uo;var $o=Tr(function(t,n,r){var i={},o;n=n||{},r=r||{};for(o in n)ne(o,n)&&(i[o]=ne(o,r)?t(o,n[o],r[o]):n[o]);for(o in r)ne(o,r)&&!ne(o,i)&&(i[o]=r[o]);return i}),Fo=Tr(function e(t,n,r){return $o(function(i,o,s){return Rt(o)&&Rt(s)?e(t,o,s):t(i,o,s)},n,r)}),Ho=te(function(t,n){return Fo(function(r,i,o){return o},t,n)});const Wo=Ho,Mn=e=>{let t;const n=new Set,r=(_,h)=>{const l=typeof _=="function"?_(t):_;if(!Object.is(l,t)){const E=t;t=h??typeof l!="object"?l:Object.assign({},t,l),n.forEach(y=>y(t,E))}},i=()=>t,u={setState:r,getState:i,subscribe:_=>(n.add(_),()=>n.delete(_)),destroy:()=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,i,u),u},jo=e=>e?Mn(e):Mn;function kr(e,t){for(var n in t)e[n]=t[n];return e}function xt(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function vt(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Xe(e){this.props=e}function Or(e,t){function n(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:xt(this.props,i)}function r(i){return this.shouldComponentUpdate=n,Y(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Xe.prototype=new B).isPureReactComponent=!0,Xe.prototype.shouldComponentUpdate=function(e,t){return xt(this.props,e)||xt(this.state,t)};var Pn=d.__b;d.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Pn&&Pn(e)};var zo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Cr(e){function t(n){var r=kr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=zo,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Un=function(e,t){return e==null?null:Q(Q(e).map(t))},Nr={map:Un,forEach:Un,count:function(e){return e?Q(e).length:0},only:function(e){var t=Q(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Q},Bo=d.__e;d.__e=function(e,t,n,r){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}Bo(e,t,n,r)};var $n=d.unmount;function wr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=kr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return wr(r,t,n)})),e}function Rr(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Rr(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function we(){this.__u=0,this.t=null,this.__b=null}function xr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Dr(e){var t,n,r;function i(o){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return Y(n,o)}return i.displayName="Lazy",i.__f=!0,i}function ge(){this.u=null,this.o=null}d.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),$n&&$n(e)},(we.prototype=new B).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=xr(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(u):u())};n.__R=s;var u=function(){if(!--r.__u){if(r.state.__a){var h=r.state.__a;r.__v.__k[0]=Rr(h,h.__c.__P,h.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}},_=t.__h===!0;r.__u++||_||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},we.prototype.componentWillUnmount=function(){this.t=[]},we.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=wr(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&Y(X,null,e.fallback);return i&&(i.__h=null),[Y(X,null,t.__a?null:e.children),i]};var Fn=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Go(e){return this.getChildContext=function(){return e.context},e.children}function Vo(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ee(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Ee(Y(Go,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Lr(e,t){var n=Y(Vo,{__v:e,i:t});return n.containerInfo=t,n}(ge.prototype=new B).__a=function(e){var t=this,n=xr(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Fn(t,e,r)):i()};n?n(o):o()}},ge.prototype.render=function(e){this.u=null,this.o=new Map;var t=Q(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ge.prototype.componentDidUpdate=ge.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Fn(e,n,t)})};var Ir=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,qo=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Yo=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xo=/[A-Z0-9]/g,Ko=typeof document<"u",Zo=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Mr(e,t,n){return t.__k==null&&(t.textContent=""),Ee(e,t),typeof n=="function"&&n(),e?e.__c:null}function Pr(e,t,n){return pr(e,t),typeof n=="function"&&n(),e?e.__c:null}B.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(B.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Hn=d.event;function Jo(){}function Qo(){return this.cancelBubble}function ei(){return this.defaultPrevented}d.event=function(e){return Hn&&(e=Hn(e)),e.persist=Jo,e.isPropagationStopped=Qo,e.isDefaultPrevented=ei,e.nativeEvent=e};var Wt,ti={enumerable:!1,configurable:!0,get:function(){return this.class}},Wn=d.vnode;d.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={};for(var o in n){var s=n[o];if(!(o==="value"&&"defaultValue"in n&&s==null||Ko&&o==="children"&&r==="noscript"||o==="class"||o==="className")){var u=o.toLowerCase();o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&s===!0?s="":u==="ondoubleclick"?o="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||Zo(n.type)?u==="onfocus"?o="onfocusin":u==="onblur"?o="onfocusout":Yo.test(o)?o=u:r.indexOf("-")===-1&&qo.test(o)?o=o.replace(Xo,"-$&").toLowerCase():s===null&&(s=void 0):u=o="oninput",u==="oninput"&&i[o=u]&&(o="oninputCapture"),i[o]=s}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Q(n.children).forEach(function(_){_.props.selected=i.value.indexOf(_.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=Q(n.children).forEach(function(_){_.props.selected=i.multiple?i.defaultValue.indexOf(_.props.value)!=-1:i.defaultValue==_.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",ti)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=Ir,Wn&&Wn(e)};var jn=d.__r;d.__r=function(e){jn&&jn(e),Wt=e.__c};var zn=d.diffed;d.diffed=function(e){zn&&zn(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Wt=null};var Ur={ReactCurrentDispatcher:{current:{readContext:function(e){return Wt.__n[e.__c].props.value}}}},ni="17.0.2";function $r(e){return Y.bind(null,e)}function jt(e){return!!e&&e.$$typeof===Ir}function Fr(e){return jt(e)?bo.apply(null,arguments):e}function Hr(e){return!!e.__k&&(Ee(null,e),!0)}function Wr(e){return e&&(e.base||e.nodeType===1&&e)||null}var jr=function(e,t){return e(t)},zr=function(e,t){return e(t)},Br=X;function zt(e){e()}function Gr(e){return e}function Vr(){return[!1,zt]}var qr=Le;function Yr(e,t){var n=t(),r=De({h:{__:n,v:t}}),i=r[0].h,o=r[1];return Le(function(){i.__=n,i.v=t,vt(i.__,t())||o({h:i})},[e,n,t]),Je(function(){return vt(i.__,i.v())||o({h:i}),e(function(){vt(i.__,i.v())||o({h:i})})},[e]),n}var ri={useState:De,useId:Er,useReducer:Pt,useEffect:Je,useLayoutEffect:Le,useInsertionEffect:qr,useTransition:Vr,useDeferredValue:Gr,useSyncExternalStore:Yr,startTransition:zt,useRef:hr,useImperativeHandle:yr,useMemo:Qe,useCallback:vr,useContext:gr,useDebugValue:Ut,version:"17.0.2",Children:Nr,render:Mr,hydrate:Pr,unmountComponentAtNode:Hr,createPortal:Lr,createElement:Y,createContext:dr,createFactory:$r,cloneElement:Fr,createRef:or,Fragment:X,isValidElement:jt,findDOMNode:Wr,Component:B,PureComponent:Xe,memo:Or,forwardRef:Cr,flushSync:zr,unstable_batchedUpdates:jr,StrictMode:Br,Suspense:we,SuspenseList:ge,lazy:Dr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ur};const oi=Object.freeze(Object.defineProperty({__proto__:null,Children:Nr,Component:B,Fragment:X,PureComponent:Xe,StrictMode:Br,Suspense:we,SuspenseList:ge,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ur,cloneElement:Fr,createContext:dr,createElement:Y,createFactory:$r,createPortal:Lr,createRef:or,default:ri,findDOMNode:Wr,flushSync:zr,forwardRef:Cr,hydrate:Pr,isValidElement:jt,lazy:Dr,memo:Or,render:Mr,startTransition:zt,unmountComponentAtNode:Hr,unstable_batchedUpdates:jr,useCallback:vr,useContext:gr,useDebugValue:Ut,useDeferredValue:Gr,useEffect:Je,useErrorBoundary:To,useId:Er,useImperativeHandle:yr,useInsertionEffect:qr,useLayoutEffect:Le,useMemo:Qe,useReducer:Pt,useRef:hr,useState:De,useSyncExternalStore:Yr,useTransition:Vr,version:ni},Symbol.toStringTag,{value:"Module"}));function ii(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ai(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Xr={exports:{}},Kr={};const Zr=ai(oi);var Jr={exports:{}},Qr={};/**
2
- * @license React
3
- * use-sync-external-store-shim.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Te=Zr;function si(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var li=typeof Object.is=="function"?Object.is:si,ui=Te.useState,ci=Te.useEffect,_i=Te.useLayoutEffect,fi=Te.useDebugValue;function pi(e,t){var n=t(),r=ui({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return _i(function(){i.value=n,i.getSnapshot=t,gt(i)&&o({inst:i})},[e,n,t]),ci(function(){return gt(i)&&o({inst:i}),e(function(){gt(i)&&o({inst:i})})},[e]),fi(n),n}function gt(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!li(e,n)}catch{return!0}}function di(e,t){return t()}var mi=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?di:pi;Qr.useSyncExternalStore=Te.useSyncExternalStore!==void 0?Te.useSyncExternalStore:mi;Jr.exports=Qr;var hi=Jr.exports;/**
1
+ !function(){"use strict";var e,t,n,r,o,i,a,l,c={},u=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var o,i,a,l={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return m(t,l,o,i,null)}function m(e,r,o,i,a){var l={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++n:a};return null==a&&null!=t.vnode&&t.vnode(l),l}function h(){return{current:null}}function y(e){return e.children}function v(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function E(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!k.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(k)}function k(){var e,t,n,o,i,l,c,u,s;for(r.sort(a);e=r.shift();)e.__d&&(t=r.length,o=void 0,i=void 0,l=void 0,u=(c=(n=e).__v).__e,(s=n.__P)&&(o=[],i=[],(l=_({},c)).__v=c.__v+1,D(s,c,l,n.__n,void 0!==s.ownerSVGElement,null!=c.__h?[u]:null,o,null==u?g(c):u,c.__h,i),L(o,c,i),c.__e!=u&&b(c)),r.length>t&&r.sort(a));k.__r=0}function S(e,t,n,r,o,i,a,l,s,_,p){var d,h,v,b,E,k,S,x,w,C=0,O=r&&r.__k||u,R=O.length,L=R,P=t.length;for(n.__k=[],d=0;d<P;d++)null!=(b=n.__k[d]=null==(b=t[d])||"boolean"==typeof b||"function"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?m(null,b,null,null,b):f(b)?m(y,{children:b},null,null,null):b.__b>0?m(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)?(b.__=n,b.__b=n.__b+1,-1===(x=N(b,O,S=d+C,L))?v=c:(v=O[x]||c,O[x]=void 0,L--),D(e,b,v,o,i,a,l,s,_,p),E=b.__e,(h=b.ref)&&v.ref!=h&&(v.ref&&M(v.ref,null,b),p.push(h,b.__c||E,b)),null!=E&&(null==k&&(k=E),(w=v===c||null===v.__v)?-1==x&&C--:x!==S&&(x===S+1?C++:x>S?L>P-S?C+=x-S:C--:C=x<S&&x==S-1?x-S:0),S=d+C,"function"!=typeof b.type||x===S&&v.__k!==b.__k?"function"==typeof b.type||x===S&&!w?void 0!==b.__d?(s=b.__d,b.__d=void 0):s=E.nextSibling:s=A(e,E,s):s=T(b,s,e),"function"==typeof n.type&&(n.__d=s))):(v=O[d])&&null==v.key&&v.__e&&(v.__e==s&&(s=g(v)),I(v,v,!1),O[d]=null);for(n.__e=k,d=R;d--;)null!=O[d]&&("function"==typeof n.type&&null!=O[d].__e&&O[d].__e==n.__d&&(n.__d=O[d].__e.nextSibling),I(O[d],O[d]))}function T(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?T(r,t,n):A(n,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(f(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function A(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function N(e,t,n,r){var o=e.key,i=e.type,a=n-1,l=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type)return n;if(r>(null!=c?1:0))for(;a>=0||l<t.length;){if(a>=0){if((c=t[a])&&o==c.key&&i===c.type)return a;a--}if(l<t.length){if((c=t[l])&&o==c.key&&i===c.type)return l;l++}}return-1}function w(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||s.test(t)?n:n+"px"}function C(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||w(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||w(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?R:O,i):e.removeEventListener(t,i?R:O,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function O(e){return this.l[e.type+!1](t.event?t.event(e):e)}function R(e){return this.l[e.type+!0](t.event?t.event(e):e)}function D(n,r,o,i,a,l,u,s,d,m){var h,b,E,k,T,x,A,N,w,O,R,D,L,M,I,U=r.type;if(void 0!==r.constructor)return null;null!=o.__h&&(d=o.__h,s=r.__e=o.__e,r.__h=null,l=[s]),(h=t.__b)&&h(r);e:if("function"==typeof U)try{if(N=r.props,w=(h=U.contextType)&&i[h.__c],O=h?w?w.props.value:h.__:i,o.__c?A=(b=r.__c=o.__c).__=b.__E:("prototype"in U&&U.prototype.render?r.__c=b=new U(N,O):(r.__c=b=new v(N,O),b.constructor=U,b.render=P),w&&w.sub(b),b.props=N,b.state||(b.state={}),b.context=O,b.__n=i,E=b.__d=!0,b.__h=[],b._sb=[]),null==b.__s&&(b.__s=b.state),null!=U.getDerivedStateFromProps&&(b.__s==b.state&&(b.__s=_({},b.__s)),_(b.__s,U.getDerivedStateFromProps(N,b.__s))),k=b.props,T=b.state,b.__v=r,E)null==U.getDerivedStateFromProps&&null!=b.componentWillMount&&b.componentWillMount(),null!=b.componentDidMount&&b.__h.push(b.componentDidMount);else{if(null==U.getDerivedStateFromProps&&N!==k&&null!=b.componentWillReceiveProps&&b.componentWillReceiveProps(N,O),!b.__e&&(null!=b.shouldComponentUpdate&&!1===b.shouldComponentUpdate(N,b.__s,O)||r.__v===o.__v)){for(r.__v!==o.__v&&(b.props=N,b.state=b.__s,b.__d=!1),r.__e=o.__e,r.__k=o.__k,r.__k.forEach((function(e){e&&(e.__=r)})),R=0;R<b._sb.length;R++)b.__h.push(b._sb[R]);b._sb=[],b.__h.length&&u.push(b);break e}null!=b.componentWillUpdate&&b.componentWillUpdate(N,b.__s,O),null!=b.componentDidUpdate&&b.__h.push((function(){b.componentDidUpdate(k,T,x)}))}if(b.context=O,b.props=N,b.__P=n,b.__e=!1,D=t.__r,L=0,"prototype"in U&&U.prototype.render){for(b.state=b.__s,b.__d=!1,D&&D(r),h=b.render(b.props,b.state,b.context),M=0;M<b._sb.length;M++)b.__h.push(b._sb[M]);b._sb=[]}else do{b.__d=!1,D&&D(r),h=b.render(b.props,b.state,b.context),b.state=b.__s}while(b.__d&&++L<25);b.state=b.__s,null!=b.getChildContext&&(i=_(_({},i),b.getChildContext())),E||null==b.getSnapshotBeforeUpdate||(x=b.getSnapshotBeforeUpdate(k,T)),S(n,f(I=null!=h&&h.type===y&&null==h.key?h.props.children:h)?I:[I],r,o,i,a,l,u,s,d,m),b.base=r.__e,r.__h=null,b.__h.length&&u.push(b),A&&(b.__E=b.__=null)}catch(n){r.__v=null,(d||null!=l)&&(r.__e=s,r.__h=!!d,l[l.indexOf(s)]=null),t.__e(n,r,o)}else null==l&&r.__v===o.__v?(r.__k=o.__k,r.__e=o.__e):r.__e=function(t,n,r,o,i,a,l,u,s){var _,d,m,h=r.props,y=n.props,v=n.type,b=0;if("svg"===v&&(i=!0),null!=a)for(;b<a.length;b++)if((_=a[b])&&"setAttribute"in _==!!v&&(v?_.localName===v:3===_.nodeType)){t=_,a[b]=null;break}if(null==t){if(null===v)return document.createTextNode(y);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,y.is&&y),a=null,u=!1}if(null===v)h===y||u&&t.data===y||(t.data=y);else{if(a=a&&e.call(t.childNodes),d=(h=r.props||c).dangerouslySetInnerHTML,m=y.dangerouslySetInnerHTML,!u){if(null!=a)for(h={},b=0;b<t.attributes.length;b++)h[t.attributes[b].name]=t.attributes[b].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===t.innerHTML)||(t.innerHTML=m&&m.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||C(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||C(e,i,t[i],n[i],r)}(t,y,h,i,u),m)n.__k=[];else if(S(t,f(b=n.props.children)?b:[b],n,r,o,i&&"foreignObject"!==v,a,l,a?a[0]:r.__k&&g(r,0),u,s),null!=a)for(b=a.length;b--;)null!=a[b]&&p(a[b]);u||("value"in y&&void 0!==(b=y.value)&&(b!==t.value||"progress"===v&&!b||"option"===v&&b!==h.value)&&C(t,"value",b,h.value,!1),"checked"in y&&void 0!==(b=y.checked)&&b!==t.checked&&C(t,"checked",b,h.checked,!1))}return t}(o.__e,r,o,i,a,l,u,d,m);(h=t.diffed)&&h(r)}function L(e,n,r){for(var o=0;o<r.length;o++)M(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function M(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function I(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||M(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&I(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||p(e.__e),e.__=e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function U(n,r,o){var i,a,l,u;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],u=[],D(r,n=(!i&&o||r).__k=d(y,null,[n]),a||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:a?a.__e:r.firstChild,i,u),L(l,n,u)}function j(e,t){U(e,t,j)}function H(t,n,r){var o,i,a,l,c=_({},t.props);for(a in t.type&&t.type.defaultProps&&(l=t.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:c[a]=void 0===n[a]&&void 0!==l?l[a]:n[a];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),m(t.type,c,o||t.key,i||t.ref,null)}function F(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},n=0,v.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},v.prototype.render=y,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,l=0;var z=0;function W(e,n,r,o,i,a){var l,c,u={};for(c in n)"ref"==c?l=n[c]:u[c]=n[c];var s={type:e,props:u,key:r,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--z,__source:i,__self:a};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===u[c]&&(u[c]=l[c]);return t.vnode&&t.vnode(s),s}var B,V,q,G,Y=0,$=[],X=[],K=t.__b,Z=t.__r,J=t.diffed,Q=t.__c,ee=t.unmount;function te(e,n){t.__h&&t.__h(V,e,Y||n),Y=0;var r=V.__H||(V.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:X}),r.__[e]}function ne(e){return Y=1,re(ge,e)}function re(e,t,n){var r=te(B++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ge(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=V,!V.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};V.u=!0;var i=V.shouldComponentUpdate,a=V.componentWillUpdate;V.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},V.shouldComponentUpdate=o}return r.__N||r.__}function oe(e,n){var r=te(B++,3);!t.__s&&ve(r.__H,n)&&(r.__=e,r.i=n,V.__H.__h.push(r))}function ie(e,n){var r=te(B++,4);!t.__s&&ve(r.__H,n)&&(r.__=e,r.i=n,V.__h.push(r))}function ae(e){return Y=5,ce((function(){return{current:e}}),[])}function le(e,t,n){Y=6,ie((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ce(e,t){var n=te(B++,7);return ve(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ue(e,t){return Y=8,ce((function(){return e}),t)}function se(e){var t=V.context[e.__c],n=te(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function fe(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)}function _e(){var e=te(B++,11);if(!e.__){for(var t=V.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function pe(){for(var e;e=$.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){V=null,K&&K(e)},t.__r=function(e){Z&&Z(e),B=0;var t=(V=e.__c).__H;t&&(q===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=X,e.__N=e.i=void 0}))):(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[],B=0)),q=V},t.diffed=function(e){J&&J(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==$.push(n)&&G===t.requestAnimationFrame||((G=t.requestAnimationFrame)||me)(pe)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==X&&(e.__=e.__V),e.i=void 0,e.__V=X}))),q=V=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(he),e.__h=e.__h.filter((function(e){return!e.__||ye(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Q&&Q(e,n)},t.unmount=function(e){ee&&ee(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{he(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var de="function"==typeof requestAnimationFrame;function me(e){var t,n=function(){clearTimeout(r),de&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);de&&(t=requestAnimationFrame(n))}function he(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ye(e){var t=V;e.__c=e.__(),V=t}function ve(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ge(e,t){return"function"==typeof t?t(e):t}/*! js-cookie v3.0.5 | MIT */function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ee=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=be({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var l=decodeURIComponent(i[0]);if(r[l]=t.read(a,l),e===l)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",be({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,be({},this.attributes,t))},withConverter:function(t){return e(be({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function ke(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function Se(e){return function t(n){return 0===arguments.length||ke(n)?t:e.apply(this,arguments)}}function Te(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return ke(n)?t:Se((function(t){return e(n,t)}));default:return ke(n)&&ke(r)?t:ke(n)?Se((function(t){return e(t,r)})):ke(r)?Se((function(t){return e(n,t)})):e(n,r)}}}function xe(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return ke(n)?t:Te((function(t,r){return e(n,t,r)}));case 2:return ke(n)&&ke(r)?t:ke(n)?Te((function(t,n){return e(t,r,n)})):ke(r)?Te((function(t,r){return e(n,t,r)})):Se((function(t){return e(n,r,t)}));default:return ke(n)&&ke(r)&&ke(o)?t:ke(n)&&ke(r)?Te((function(t,n){return e(t,n,o)})):ke(n)&&ke(o)?Te((function(t,n){return e(t,r,n)})):ke(r)&&ke(o)?Te((function(t,r){return e(n,t,r)})):ke(n)?Se((function(t){return e(t,r,o)})):ke(r)?Se((function(t){return e(n,t,o)})):ke(o)?Se((function(t){return e(n,r,t)})):e(n,r,o)}}}var Ae=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Ne(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function we(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}function Ce(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var Oe="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Re=Object.prototype.toString,De=function(){return"[object Arguments]"===Re.call(arguments)?function(e){return"[object Arguments]"===Re.call(e)}:function(e){return Ce("callee",e)}}(),Le=!{toString:null}.propertyIsEnumerable("toString"),Me=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ie=function(){return arguments.propertyIsEnumerable("length")}(),Pe=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},Ue="function"!=typeof Object.keys||Ie?Se((function(e){if(Object(e)!==e)return[];var t,n,r=[],o=Ie&&De(e);for(t in e)!Ce(t,e)||o&&"length"===t||(r[r.length]=t);if(Le)for(n=Me.length-1;n>=0;)Ce(t=Me[n],e)&&!Pe(r,t)&&(r[r.length]=t),n-=1;return r})):Se((function(e){return Object(e)!==e?[]:Object.keys(e)})),je=Se((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function He(e,t,n,r){var o=Ne(e);function i(e,t){return Fe(e,t,n.slice(),r.slice())}return!we((function(e,t){return!we(i,t,e)}),Ne(t),o)}function Fe(e,t,n,r){if(Oe(e,t))return!0;var o=je(e);if(o!==je(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Oe(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Oe(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var i=n.length-1;i>=0;){if(n[i]===e)return r[i]===t;i-=1}switch(o){case"Map":return e.size===t.size&&He(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&He(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Ue(e);if(a.length!==Ue(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(i=a.length-1;i>=0;){var u=a[i];if(!Ce(u,t)||!Fe(t[u],e[u],l,c))return!1;i-=1}return!0}var ze=Te((function(e,t){return Fe(e,t,[],[])}));function We(e){return"[object Object]"===Object.prototype.toString.call(e)}var Be=Se((function(e){return null==e}));var Ve=Se((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():Ae(e)?[]:function(e){return"[object String]"===Object.prototype.toString.call(e)}(e)?"":We(e)?{}:De(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0})),qe=Se((function(e){return null!=e&&ze(e,Ve(e))})),Ge=qe,Ye=Se((function(e){return!Be(e)})),$e=Ye,Xe=xe((function(e,t,n){var r,o={};for(r in n=n||{},t=t||{})Ce(r,t)&&(o[r]=Ce(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)Ce(r,n)&&!Ce(r,o)&&(o[r]=n[r]);return o})),Ke=xe((function e(t,n,r){return Xe((function(n,r,o){return We(r)&&We(o)?e(t,r,o):t(n,r,o)}),n,r)})),Ze=Te((function(e,t){return Ke((function(e,t,n){return n}),e,t)}));const Je=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,i),i};function Qe(e,t){for(var n in t)e[n]=t[n];return e}function et(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function tt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function nt(e){this.props=e}function rt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:et(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(nt.prototype=new v).isPureReactComponent=!0,nt.prototype.shouldComponentUpdate=function(e,t){return et(this.props,e)||et(this.state,t)};var ot=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ot&&ot(e)};var it="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function at(e){function t(t){var n=Qe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=it,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var lt=function(e,t){return null==e?null:x(x(e).map(t))},ct={map:lt,forEach:lt,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},ut=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ut(e,t,n,r)};var st=t.unmount;function ft(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Qe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ft(e,t,n)}))),e}function _t(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _t(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function pt(){this.__u=0,this.t=null,this.__b=null}function dt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function mt(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o}function ht(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),st&&st(e)},(pt.prototype=new v).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=dt(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_t(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},pt.prototype.componentWillUnmount=function(){this.t=[]},pt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ft(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&d(y,null,e.fallback);return o&&(o.__h=null),[d(y,null,t.__a?null:e.children),o]};var yt=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function vt(e){return this.getChildContext=function(){return e.context},e.children}function gt(e){var t=this,n=e.i;t.componentWillUnmount=function(){U(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),U(d(vt,{context:t.context},e.__v),t.l)}function bt(e,t){var n=d(gt,{__v:e,i:t});return n.containerInfo=t,n}(ht.prototype=new v).__a=function(e){var t=this,n=dt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),yt(t,e,r)):o()};n?n(i):i()}},ht.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ht.prototype.componentDidUpdate=ht.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){yt(e,n,t)}))};var Et="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,kt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,St=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tt=/[A-Z0-9]/g,xt="undefined"!=typeof document,At=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Nt(e,t,n){return null==t.__k&&(t.textContent=""),U(e,t),"function"==typeof n&&n(),e?e.__c:null}function wt(e,t,n){return j(e,t),"function"==typeof n&&n(),e?e.__c:null}v.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(v.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ct=t.event;function Ot(){}function Rt(){return this.cancelBubble}function Dt(){return this.defaultPrevented}t.event=function(e){return Ct&&(e=Ct(e)),e.persist=Ot,e.isPropagationStopped=Rt,e.isDefaultPrevented=Dt,e.nativeEvent=e};var Lt,Mt={enumerable:!1,configurable:!0,get:function(){return this.class}},It=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||xt&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||At(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":St.test(o)?o=a:-1===n.indexOf("-")&&kt.test(o)?o=o.replace(Tt,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=x(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=x(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Mt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Et,It&&It(e)};var Pt=t.__r;t.__r=function(e){Pt&&Pt(e),Lt=e.__c};var Ut=t.diffed;t.diffed=function(e){Ut&&Ut(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Lt=null};var jt={ReactCurrentDispatcher:{current:{readContext:function(e){return Lt.__n[e.__c].props.value}}}};function Ht(e){return d.bind(null,e)}function Ft(e){return!!e&&e.$$typeof===Et}function zt(e){return Ft(e)&&e.type===y}function Wt(e){return Ft(e)?H.apply(null,arguments):e}function Bt(e){return!!e.__k&&(U(null,e),!0)}function Vt(e){return e&&(e.base||1===e.nodeType&&e)||null}var qt=function(e,t){return e(t)},Gt=function(e,t){return e(t)},Yt=y;function $t(e){e()}function Xt(e){return e}function Kt(){return[!1,$t]}var Zt=ie,Jt=Ft;function Qt(e,t){var n=t(),r=ne({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ie((function(){o.__=n,o.v=t,tt(o.__,t())||i({h:o})}),[e,n,t]),oe((function(){return tt(o.__,o.v())||i({h:o}),e((function(){tt(o.__,o.v())||i({h:o})}))}),[e]),n}var en={useState:ne,useId:_e,useReducer:re,useEffect:oe,useLayoutEffect:ie,useInsertionEffect:Zt,useTransition:Kt,useDeferredValue:Xt,useSyncExternalStore:Qt,startTransition:$t,useRef:ae,useImperativeHandle:le,useMemo:ce,useCallback:ue,useContext:se,useDebugValue:fe,version:"17.0.2",Children:ct,render:Nt,hydrate:wt,unmountComponentAtNode:Bt,createPortal:bt,createElement:d,createContext:F,createFactory:Ht,cloneElement:Wt,createRef:h,Fragment:y,isValidElement:Ft,isElement:Jt,isFragment:zt,findDOMNode:Vt,Component:v,PureComponent:nt,memo:rt,forwardRef:at,flushSync:Gt,unstable_batchedUpdates:qt,StrictMode:Yt,Suspense:pt,SuspenseList:ht,lazy:mt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:jt},tn=Object.freeze({__proto__:null,Children:ct,Component:v,Fragment:y,PureComponent:nt,StrictMode:Yt,Suspense:pt,SuspenseList:ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:jt,cloneElement:Wt,createContext:F,createElement:d,createFactory:Ht,createPortal:bt,createRef:h,default:en,findDOMNode:Vt,flushSync:Gt,forwardRef:at,hydrate:wt,isElement:Jt,isFragment:zt,isValidElement:Ft,lazy:mt,memo:rt,render:Nt,startTransition:$t,unmountComponentAtNode:Bt,unstable_batchedUpdates:qt,useCallback:ue,useContext:se,useDebugValue:fe,useDeferredValue:Xt,useEffect:oe,useErrorBoundary:function(e){var t=te(B++,10),n=ne();return t.__=e,V.componentDidCatch||(V.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:_e,useImperativeHandle:le,useInsertionEffect:Zt,useLayoutEffect:ie,useMemo:ce,useReducer:re,useRef:ae,useState:ne,useSyncExternalStore:Qt,useTransition:Kt,version:"17.0.2"});function nn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rn(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}var on={exports:{}},an={},ln=rn(tn),cn={exports:{}},un={},sn=ln;var fn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},_n=sn.useState,pn=sn.useEffect,dn=sn.useLayoutEffect,mn=sn.useDebugValue;function hn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fn(e,n)}catch(e){return!0}}var yn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=_n({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return dn((function(){o.value=n,o.getSnapshot=t,hn(o)&&i({inst:o})}),[e,n,t]),pn((function(){return hn(o)&&i({inst:o}),e((function(){hn(o)&&i({inst:o})}))}),[e]),mn(n),n};un.useSyncExternalStore=void 0!==sn.useSyncExternalStore?sn.useSyncExternalStore:yn,cn.exports=un;var vn=ln,gn=cn.exports;
2
+ /**
10
3
  * @license React
11
4
  * use-sync-external-store-shim/with-selector.production.min.js
12
5
  *
@@ -14,5 +7,4 @@
14
7
  *
15
8
  * This source code is licensed under the MIT license found in the
16
9
  * LICENSE file in the root directory of this source tree.
17
- */var et=Zr,yi=hi;function vi(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gi=typeof Object.is=="function"?Object.is:vi,Ei=yi.useSyncExternalStore,bi=et.useRef,Ti=et.useEffect,Ai=et.useMemo,Si=et.useDebugValue;Kr.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=bi(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Ai(function(){function _(p){if(!h){if(h=!0,l=p,p=r(p),i!==void 0&&s.hasValue){var v=s.value;if(i(v,p))return E=v}return E=p}if(v=E,gi(l,p))return v;var W=r(p);return i!==void 0&&i(v,W)?v:(l=p,E=W)}var h=!1,l,E,y=n===void 0?null:n;return[function(){return _(t())},y===null?void 0:function(){return _(y())}]},[t,n,r,i]);var u=Ei(e,o[0],o[1]);return Ti(function(){s.hasValue=!0,s.value=u},[u]),Si(u),u};Xr.exports=Kr;var ki=Xr.exports;const Oi=ii(ki),{useSyncExternalStoreWithSelector:Ci}=Oi;function Ni(e,t=e.getState,n){const r=Ci(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return Ut(r),r}const Bn=e=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?jo(e):e,n=(r,i)=>Ni(t,r,i);return Object.assign(n,t),n},wi=e=>e?Bn(e):Bn,Ri={name:"leckerli",banner:{title:"This website uses cookies.",description:'We use cookies to improve your browsing experience, deliver personalised advertising or content and analyse our traffic. By clicking on "Accept all", you consent to our use of cookies.',accept:"Accept all",reject:"Deny",customise:"Customize",save:"Save",settings:[{slug:"settings",title:"Preferences",description:"Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in."}]},permissions:["settings"],baseData:{},cookie:{},choiceMade:!1,settingsOpen:!1,domain:window.location.hostname,enableGtmAutoLoad:!1},se=Wo(Ri,window.leckerliSettings??{}),Dt=new Date;Dt.setMonth(Dt.getMonth()+1);const Gn={sameSite:"strict",domain:se.domain,expires:Dt},Ke=wt.get(se.name);se.cookie=Ht(Ke)?JSON.parse(Ke):se.permissions.reduce((e,t)=>({...e,[t]:!1}),se.baseData);se.choiceMade=Ht(Ke);const Bt=wi((e,t)=>({...se,init:()=>{const n=t();Sr(Ke)&&n.choiceMade&&wt.set(n.name,JSON.stringify(n.cookie),Gn),document.dispatchEvent(new CustomEvent("leckerli:initialised",{detail:{cookie:n.choiceMade?n.cookie:null}})),document.addEventListener("leckerli:open-banner",()=>t().setChoice(!1)),document.addEventListener("leckerli:close-banner",()=>t().setChoice(!0)),document.addEventListener("leckerli:open-modal",()=>t().setModal(!0)),document.addEventListener("leckerli:close-modal",()=>t().setModal(!1))},propagate(n){const r=t();wt.set(r.name,JSON.stringify(n),Gn),document.dispatchEvent(new CustomEvent("leckerli:permissions-updated",{detail:{cookie:n}}))},setChoice:n=>e(r=>({...r,choiceMade:n})),setModal:n=>e(r=>(document.dispatchEvent(new CustomEvent(`leckerli:modal-${n?"opened":"closed"}`)),{...r,settingsOpen:n})),setPermissions:n=>e(r=>{const i=r.permissions.reduce((o,s)=>({...o,[s]:n[s]??!1}),r.baseData);return r.propagate(i),{...r,choiceMade:!0,cookie:i}}),togglePermission:n=>e(r=>{const i=r.permissions.reduce((o,s)=>(n===s?o[s]=Ht(r.cookie[s])?!r.cookie[s]:!0:o[s]=r.cookie[s]??!1,o),r.baseData);return r.propagate(i),{...r,choiceMade:!0,cookie:i}}),acceptAll:()=>{t().setPermissions(t().permissions.reduce((n,r)=>({...n,[r]:!0}),{}))},rejectAll:()=>{t().setPermissions(t().permissions.reduce((n,r)=>({...n,[r]:!1}),{}))}}));/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:eo,setPrototypeOf:Vn,isFrozen:xi,getPrototypeOf:Di,getOwnPropertyDescriptor:Li}=Object;let{freeze:M,seal:G,create:Ii}=Object,{apply:Lt,construct:It}=typeof Reflect<"u"&&Reflect;Lt||(Lt=function(t,n,r){return t.apply(n,r)});M||(M=function(t){return t});G||(G=function(t){return t});It||(It=function(t,n){return new t(...n)});const Mi=H(Array.prototype.forEach),qn=H(Array.prototype.pop),Oe=H(Array.prototype.push),Ge=H(String.prototype.toLowerCase),Et=H(String.prototype.toString),Pi=H(String.prototype.match),z=H(String.prototype.replace),Ui=H(String.prototype.indexOf),$i=H(String.prototype.trim),$=H(RegExp.prototype.test),Ce=Fi(TypeError);function H(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Lt(e,t,r)}}function Fi(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return It(e,n)}}function g(e,t,n){var r;n=(r=n)!==null&&r!==void 0?r:Ge,Vn&&Vn(e,null);let i=t.length;for(;i--;){let o=t[i];if(typeof o=="string"){const s=n(o);s!==o&&(xi(t)||(t[i]=s),o=s)}e[o]=!0}return e}function ve(e){const t=Ii(null);for(const[n,r]of eo(e))t[n]=r;return t}function We(e,t){for(;e!==null;){const r=Li(e,t);if(r){if(r.get)return H(r.get);if(typeof r.value=="function")return H(r.value)}e=Di(e)}function n(r){return console.warn("fallback value for",r),null}return n}const Yn=M(["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"]),bt=M(["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"]),Tt=M(["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"]),Hi=M(["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"]),At=M(["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"]),Wi=M(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xn=M(["#text"]),Kn=M(["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","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","xmlns","slot"]),St=M(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),Zn=M(["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"]),je=M(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ji=G(/\{\{[\w\W]*|[\w\W]*\}\}/gm),zi=G(/<%[\w\W]*|[\w\W]*%>/gm),Bi=G(/\${[\w\W]*}/gm),Gi=G(/^data-[\-\w.\u00B7-\uFFFF]/),Vi=G(/^aria-[\-\w]+$/),to=G(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),qi=G(/^(?:\w+script|data):/i),Yi=G(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),no=G(/^html$/i);var Jn=Object.freeze({__proto__:null,MUSTACHE_EXPR:ji,ERB_EXPR:zi,TMPLIT_EXPR:Bi,DATA_ATTR:Gi,ARIA_ATTR:Vi,IS_ALLOWED_URI:to,IS_SCRIPT_OR_DATA:qi,ATTR_WHITESPACE:Yi,DOCTYPE_NAME:no});const Xi=()=>typeof window>"u"?null:window,Ki=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function ro(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xi();const t=m=>ro(m);if(t.version="3.0.5",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;const n=e.document,r=n.currentScript;let{document:i}=e;const{DocumentFragment:o,HTMLTemplateElement:s,Node:u,Element:_,NodeFilter:h,NamedNodeMap:l=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:E,DOMParser:y,trustedTypes:p}=e,v=_.prototype,W=We(v,"cloneNode"),S=We(v,"nextSibling"),w=We(v,"childNodes"),I=We(v,"parentNode");if(typeof s=="function"){const m=i.createElement("template");m.content&&m.content.ownerDocument&&(i=m.content.ownerDocument)}let N,j="";const{implementation:ue,createNodeIterator:ce,createDocumentFragment:Ae,getElementsByTagName:P}=i,{importNode:_e}=n;let V={};t.isSupported=typeof eo=="function"&&typeof I=="function"&&ue&&ue.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:tt,ERB_EXPR:nt,TMPLIT_EXPR:rt,DATA_ATTR:oo,ARIA_ATTR:io,IS_SCRIPT_OR_DATA:ao,ATTR_WHITESPACE:Vt}=Jn;let{IS_ALLOWED_URI:qt}=Jn,R=null;const Yt=g({},[...Yn,...bt,...Tt,...At,...Xn]);let x=null;const Xt=g({},[...Kn,...St,...Zn,...je]);let C=Object.seal(Object.create(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}})),Se=null,ot=null,Kt=!0,it=!0,Zt=!1,Jt=!0,fe=!1,re=!1,at=!1,st=!1,pe=!1,Ie=!1,Me=!1,Qt=!0,en=!1;const so="user-content-";let lt=!0,ke=!1,de={},me=null;const tn=g({},["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 nn=null;const rn=g({},["audio","video","img","source","image","track"]);let ut=null;const on=g({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",K="http://www.w3.org/1999/xhtml";let he=K,ct=!1,_t=null;const lo=g({},[Pe,Ue,K],Et);let oe;const uo=["application/xhtml+xml","text/html"],co="text/html";let D,ye=null;const _o=i.createElement("form"),an=function(a){return a instanceof RegExp||a instanceof Function},ft=function(a){if(!(ye&&ye===a)){if((!a||typeof a!="object")&&(a={}),a=ve(a),oe=uo.indexOf(a.PARSER_MEDIA_TYPE)===-1?oe=co:oe=a.PARSER_MEDIA_TYPE,D=oe==="application/xhtml+xml"?Et:Ge,R="ALLOWED_TAGS"in a?g({},a.ALLOWED_TAGS,D):Yt,x="ALLOWED_ATTR"in a?g({},a.ALLOWED_ATTR,D):Xt,_t="ALLOWED_NAMESPACES"in a?g({},a.ALLOWED_NAMESPACES,Et):lo,ut="ADD_URI_SAFE_ATTR"in a?g(ve(on),a.ADD_URI_SAFE_ATTR,D):on,nn="ADD_DATA_URI_TAGS"in a?g(ve(rn),a.ADD_DATA_URI_TAGS,D):rn,me="FORBID_CONTENTS"in a?g({},a.FORBID_CONTENTS,D):tn,Se="FORBID_TAGS"in a?g({},a.FORBID_TAGS,D):{},ot="FORBID_ATTR"in a?g({},a.FORBID_ATTR,D):{},de="USE_PROFILES"in a?a.USE_PROFILES:!1,Kt=a.ALLOW_ARIA_ATTR!==!1,it=a.ALLOW_DATA_ATTR!==!1,Zt=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Jt=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,fe=a.SAFE_FOR_TEMPLATES||!1,re=a.WHOLE_DOCUMENT||!1,pe=a.RETURN_DOM||!1,Ie=a.RETURN_DOM_FRAGMENT||!1,Me=a.RETURN_TRUSTED_TYPE||!1,st=a.FORCE_BODY||!1,Qt=a.SANITIZE_DOM!==!1,en=a.SANITIZE_NAMED_PROPS||!1,lt=a.KEEP_CONTENT!==!1,ke=a.IN_PLACE||!1,qt=a.ALLOWED_URI_REGEXP||to,he=a.NAMESPACE||K,C=a.CUSTOM_ELEMENT_HANDLING||{},a.CUSTOM_ELEMENT_HANDLING&&an(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(C.tagNameCheck=a.CUSTOM_ELEMENT_HANDLING.tagNameCheck),a.CUSTOM_ELEMENT_HANDLING&&an(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(C.attributeNameCheck=a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),a.CUSTOM_ELEMENT_HANDLING&&typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(C.allowCustomizedBuiltInElements=a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),fe&&(it=!1),Ie&&(pe=!0),de&&(R=g({},[...Xn]),x=[],de.html===!0&&(g(R,Yn),g(x,Kn)),de.svg===!0&&(g(R,bt),g(x,St),g(x,je)),de.svgFilters===!0&&(g(R,Tt),g(x,St),g(x,je)),de.mathMl===!0&&(g(R,At),g(x,Zn),g(x,je))),a.ADD_TAGS&&(R===Yt&&(R=ve(R)),g(R,a.ADD_TAGS,D)),a.ADD_ATTR&&(x===Xt&&(x=ve(x)),g(x,a.ADD_ATTR,D)),a.ADD_URI_SAFE_ATTR&&g(ut,a.ADD_URI_SAFE_ATTR,D),a.FORBID_CONTENTS&&(me===tn&&(me=ve(me)),g(me,a.FORBID_CONTENTS,D)),lt&&(R["#text"]=!0),re&&g(R,["html","head","body"]),R.table&&(g(R,["tbody"]),delete Se.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ce('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ce('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');N=a.TRUSTED_TYPES_POLICY,j=N.createHTML("")}else N===void 0&&(N=Ki(p,r)),N!==null&&typeof j=="string"&&(j=N.createHTML(""));M&&M(a),ye=a}},sn=g({},["mi","mo","mn","ms","mtext"]),ln=g({},["foreignobject","desc","title","annotation-xml"]),fo=g({},["title","style","font","a","script"]),$e=g({},bt);g($e,Tt),g($e,Hi);const pt=g({},At);g(pt,Wi);const po=function(a){let c=I(a);(!c||!c.tagName)&&(c={namespaceURI:he,tagName:"template"});const f=Ge(a.tagName),b=Ge(c.tagName);return _t[a.namespaceURI]?a.namespaceURI===Ue?c.namespaceURI===K?f==="svg":c.namespaceURI===Pe?f==="svg"&&(b==="annotation-xml"||sn[b]):!!$e[f]:a.namespaceURI===Pe?c.namespaceURI===K?f==="math":c.namespaceURI===Ue?f==="math"&&ln[b]:!!pt[f]:a.namespaceURI===K?c.namespaceURI===Ue&&!ln[b]||c.namespaceURI===Pe&&!sn[b]?!1:!pt[f]&&(fo[f]||!$e[f]):!!(oe==="application/xhtml+xml"&&_t[a.namespaceURI]):!1},ie=function(a){Oe(t.removed,{element:a});try{a.parentNode.removeChild(a)}catch{a.remove()}},dt=function(a,c){try{Oe(t.removed,{attribute:c.getAttributeNode(a),from:c})}catch{Oe(t.removed,{attribute:null,from:c})}if(c.removeAttribute(a),a==="is"&&!x[a])if(pe||Ie)try{ie(c)}catch{}else try{c.setAttribute(a,"")}catch{}},un=function(a){let c,f;if(st)a="<remove></remove>"+a;else{const F=Pi(a,/^[\r\n\t ]+/);f=F&&F[0]}oe==="application/xhtml+xml"&&he===K&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const b=N?N.createHTML(a):a;if(he===K)try{c=new y().parseFromString(b,oe)}catch{}if(!c||!c.documentElement){c=ue.createDocument(he,"template",null);try{c.documentElement.innerHTML=ct?j:b}catch{}}const L=c.body||c.documentElement;return a&&f&&L.insertBefore(i.createTextNode(f),L.childNodes[0]||null),he===K?P.call(c,re?"html":"body")[0]:re?c.documentElement:L},cn=function(a){return ce.call(a.ownerDocument||a,a,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT,null,!1)},mo=function(a){return a instanceof E&&(typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||!(a.attributes instanceof l)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function")},Fe=function(a){return typeof u=="object"?a instanceof u:a&&typeof a=="object"&&typeof a.nodeType=="number"&&typeof a.nodeName=="string"},Z=function(a,c,f){V[a]&&Mi(V[a],b=>{b.call(t,c,f,ye)})},_n=function(a){let c;if(Z("beforeSanitizeElements",a,null),mo(a))return ie(a),!0;const f=D(a.nodeName);if(Z("uponSanitizeElement",a,{tagName:f,allowedTags:R}),a.hasChildNodes()&&!Fe(a.firstElementChild)&&(!Fe(a.content)||!Fe(a.content.firstElementChild))&&$(/<[/\w]/g,a.innerHTML)&&$(/<[/\w]/g,a.textContent))return ie(a),!0;if(!R[f]||Se[f]){if(!Se[f]&&pn(f)&&(C.tagNameCheck instanceof RegExp&&$(C.tagNameCheck,f)||C.tagNameCheck instanceof Function&&C.tagNameCheck(f)))return!1;if(lt&&!me[f]){const b=I(a)||a.parentNode,L=w(a)||a.childNodes;if(L&&b){const F=L.length;for(let k=F-1;k>=0;--k)b.insertBefore(W(L[k],!0),S(a))}}return ie(a),!0}return a instanceof _&&!po(a)||(f==="noscript"||f==="noembed"||f==="noframes")&&$(/<\/no(script|embed|frames)/i,a.innerHTML)?(ie(a),!0):(fe&&a.nodeType===3&&(c=a.textContent,c=z(c,tt," "),c=z(c,nt," "),c=z(c,rt," "),a.textContent!==c&&(Oe(t.removed,{element:a.cloneNode()}),a.textContent=c)),Z("afterSanitizeElements",a,null),!1)},fn=function(a,c,f){if(Qt&&(c==="id"||c==="name")&&(f in i||f in _o))return!1;if(!(it&&!ot[c]&&$(oo,c))){if(!(Kt&&$(io,c))){if(!x[c]||ot[c]){if(!(pn(a)&&(C.tagNameCheck instanceof RegExp&&$(C.tagNameCheck,a)||C.tagNameCheck instanceof Function&&C.tagNameCheck(a))&&(C.attributeNameCheck instanceof RegExp&&$(C.attributeNameCheck,c)||C.attributeNameCheck instanceof Function&&C.attributeNameCheck(c))||c==="is"&&C.allowCustomizedBuiltInElements&&(C.tagNameCheck instanceof RegExp&&$(C.tagNameCheck,f)||C.tagNameCheck instanceof Function&&C.tagNameCheck(f))))return!1}else if(!ut[c]){if(!$(qt,z(f,Vt,""))){if(!((c==="src"||c==="xlink:href"||c==="href")&&a!=="script"&&Ui(f,"data:")===0&&nn[a])){if(!(Zt&&!$(ao,z(f,Vt,"")))){if(f)return!1}}}}}}return!0},pn=function(a){return a.indexOf("-")>0},dn=function(a){let c,f,b,L;Z("beforeSanitizeAttributes",a,null);const{attributes:F}=a;if(!F)return;const k={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:x};for(L=F.length;L--;){c=F[L];const{name:q,namespaceURI:mt}=c;if(f=q==="value"?c.value:$i(c.value),b=D(q),k.attrName=b,k.attrValue=f,k.keepAttr=!0,k.forceKeepAttr=void 0,Z("uponSanitizeAttribute",a,k),f=k.attrValue,k.forceKeepAttr||(dt(q,a),!k.keepAttr))continue;if(!Jt&&$(/\/>/i,f)){dt(q,a);continue}fe&&(f=z(f,tt," "),f=z(f,nt," "),f=z(f,rt," "));const mn=D(a.nodeName);if(fn(mn,b,f)){if(en&&(b==="id"||b==="name")&&(dt(q,a),f=so+f),N&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!mt)switch(p.getAttributeType(mn,b)){case"TrustedHTML":{f=N.createHTML(f);break}case"TrustedScriptURL":{f=N.createScriptURL(f);break}}try{mt?a.setAttributeNS(mt,q,f):a.setAttribute(q,f),qn(t.removed)}catch{}}}Z("afterSanitizeAttributes",a,null)},ho=function m(a){let c;const f=cn(a);for(Z("beforeSanitizeShadowDOM",a,null);c=f.nextNode();)Z("uponSanitizeShadowNode",c,null),!_n(c)&&(c.content instanceof o&&m(c.content),dn(c));Z("afterSanitizeShadowDOM",a,null)};return t.sanitize=function(m){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,f,b,L;if(ct=!m,ct&&(m="<!-->"),typeof m!="string"&&!Fe(m))if(typeof m.toString=="function"){if(m=m.toString(),typeof m!="string")throw Ce("dirty is not a string, aborting")}else throw Ce("toString is not a function");if(!t.isSupported)return m;if(at||ft(a),t.removed=[],typeof m=="string"&&(ke=!1),ke){if(m.nodeName){const q=D(m.nodeName);if(!R[q]||Se[q])throw Ce("root node is forbidden and cannot be sanitized in-place")}}else if(m instanceof u)c=un("<!---->"),f=c.ownerDocument.importNode(m,!0),f.nodeType===1&&f.nodeName==="BODY"||f.nodeName==="HTML"?c=f:c.appendChild(f);else{if(!pe&&!fe&&!re&&m.indexOf("<")===-1)return N&&Me?N.createHTML(m):m;if(c=un(m),!c)return pe?null:Me?j:""}c&&st&&ie(c.firstChild);const F=cn(ke?m:c);for(;b=F.nextNode();)_n(b)||(b.content instanceof o&&ho(b.content),dn(b));if(ke)return m;if(pe){if(Ie)for(L=Ae.call(c.ownerDocument);c.firstChild;)L.appendChild(c.firstChild);else L=c;return(x.shadowroot||x.shadowrootmode)&&(L=_e.call(n,L,!0)),L}let k=re?c.outerHTML:c.innerHTML;return re&&R["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&$(no,c.ownerDocument.doctype.name)&&(k="<!DOCTYPE "+c.ownerDocument.doctype.name+`>
18
- `+k),fe&&(k=z(k,tt," "),k=z(k,nt," "),k=z(k,rt," ")),N&&Me?N.createHTML(k):k},t.setConfig=function(m){ft(m),at=!0},t.clearConfig=function(){ye=null,at=!1},t.isValidAttribute=function(m,a,c){ye||ft({});const f=D(m),b=D(a);return fn(f,b,c)},t.addHook=function(m,a){typeof a=="function"&&(V[m]=V[m]||[],Oe(V[m],a))},t.removeHook=function(m){if(V[m])return qn(V[m])},t.removeHooks=function(m){V[m]&&(V[m]=[])},t.removeAllHooks=function(){V={}},t}var Zi=ro(),Ji=0;function A(e,t,n,r,i,o){var s,u,_={};for(u in t)u=="ref"?s=t[u]:_[u]=t[u];var h={type:e,props:_,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Ji,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(u in s)_[u]===void 0&&(_[u]=s[u]);return d.vnode&&d.vnode(h),h}const Qi=()=>{const{banner:e,acceptAll:t,rejectAll:n,setModal:r}=Bt(),i=["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],o=["href","target"];return A("div",{className:"fixed bottom-0 left-0 max-w-md px-5 py-4 m-2 shadow-md shadow-black/25 z-[9998] bg-background space-y-4 font-primary text-foreground rounded-md banner-wrapper",children:[e.title&&A("h3",{className:"m-0 text-lg font-semibold font-primary md:text-xl banner-title",children:e.title}),e.description&&A("p",{className:"m-0 text-sm leading-snug font-primary md:text-base banner-description",dangerouslySetInnerHTML:{__html:Zi.sanitize(e.description,{USE_PROFILES:{html:!0},ALLOWED_TAGS:i,ALLOWED_ATTR:o})}}),A("div",{className:"pt-2 space-y-2 banner-btns",children:[!Po(e.settings)&&A("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-customise",onClick:()=>r(!0),children:e.customise}),A("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-reject",onClick:n,children:e.reject}),A("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-btn-accept",onClick:t,children:e.accept})]})]})},ea=()=>{const{cookie:e,setPermissions:t,banner:n,setModal:r}=Bt(),[i,o]=De(e);return A("div",{className:"fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md",children:[A("div",{className:"space-y-6",children:[A("h3",{className:"w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl",children:n.customise}),n.settings.map(({slug:s,title:u,description:_})=>A("div",{children:[A("div",{className:"flex items-start justify-between",children:[A("h3",{className:"m-0 text-lg font-semibold font-primary",children:u}),A("button",{type:"button",className:`${i[s]?"bg-primary":"bg-gray-200"} relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5`,role:"switch","aria-checked":"false",onClick:()=>o({...i,[s]:!i[s]}),children:[A("span",{className:"sr-only",children:"Toggle"}),A("span",{"aria-hidden":"true",className:`${i[s]?"translate-x-5":"translate-x-0"} pointer-events-none inline-block h-5 w-5 transform rounded-full bg-background shadow ring-0 transition duration-200 ease-in-out`})]})]}),A("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base",children:_})]},`setting-${s}`)),A("div",{className:"pt-4",children:A("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors",onClick:()=>{t(i),r(!1)},children:n.save})})]}),A("button",{type:"button",className:"absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full",onClick:()=>r(!1),children:"×"})]})},ta=()=>{const{choiceMade:e,init:t,settingsOpen:n}=Bt();return Je(()=>{t()},[]),A(X,{children:[!e&&!n&&A(Qi,{}),n&&A(ea,{})]})};const Gt=document.createElement("div");Gt.id="lkrl-wrapper";document.body.appendChild(Gt);Ee(A(ta,{}),Gt);
10
+ */var bn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},En=gn.useSyncExternalStore,kn=vn.useRef,Sn=vn.useEffect,Tn=vn.useMemo,xn=vn.useDebugValue;an.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=kn(null);if(null===i.current){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=Tn((function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==o&&a.hasValue){var t=a.value;if(o(t,e))return l=t}return l=e}if(t=l,bn(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var l=En(e,i[0],i[1]);return Sn((function(){a.hasValue=!0,a.value=l}),[l]),xn(l),l},on.exports=an;var An=nn(on.exports);const{useSyncExternalStoreWithSelector:Nn}=An;let wn=!1;const Cn=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?Je(e):Je)(e):e,n=(e,n)=>function(e,t=e.getState,n){n&&!wn&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),wn=!0);const r=Nn(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return fe(r),r}(t,e,n);return Object.assign(n,t),n},On=Ze({name:"leckerli",banner:{title:"This website uses cookies.",description:'We use cookies to improve your browsing experience, deliver personalised advertising or content and analyse our traffic. By clicking on "Accept all", you consent to our use of cookies.',accept:"Accept all",reject:"Deny",customise:"Customize",save:"Save",settings:[{slug:"analytics_storage",title:"Statistics",description:"Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously."},{slug:"ad_storage",title:"Marketing",description:"Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers."}]},permissions:["analytics_storage","ad_storage"],baseData:{},cookie:{},choiceMade:!1,settingsOpen:!1,domain:window.location.hostname,enableGtmAutoLoad:!1},window.leckerliSettings??{}),Rn=new Date;Rn.setMonth(Rn.getMonth()+1);const Dn={sameSite:"strict",domain:On.domain,expires:Rn},Ln=Ee.get(On.name);On.cookie=$e(Ln)?JSON.parse(Ln):On.permissions.reduce(((e,t)=>({...e,[t]:!1})),On.baseData),On.choiceMade=$e(Ln);const Mn=(In=(e,t)=>({...On,init:()=>{const e=t();Be(Ln)&&e.choiceMade&&Ee.set(e.name,JSON.stringify(e.cookie),Dn),document.dispatchEvent(new CustomEvent("leckerli:initialised",{detail:{cookie:e.choiceMade?e.cookie:null}})),document.addEventListener("leckerli:open-banner",(()=>t().setChoice(!1))),document.addEventListener("leckerli:close-banner",(()=>t().setChoice(!0))),document.addEventListener("leckerli:open-modal",(()=>t().setModal(!0))),document.addEventListener("leckerli:close-modal",(()=>t().setModal(!1)))},propagate(e){const n=t();Ee.set(n.name,JSON.stringify(e),Dn),document.dispatchEvent(new CustomEvent("leckerli:permissions-updated",{detail:{cookie:e}}))},setChoice:t=>e((e=>({...e,choiceMade:t}))),setModal:t=>e((e=>(document.dispatchEvent(new CustomEvent("leckerli:modal-"+(t?"opened":"closed"))),{...e,settingsOpen:t}))),setPermissions:t=>e((e=>{const n=e.permissions.reduce(((e,n)=>({...e,[n]:t[n]??!1})),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),togglePermission:t=>e((e=>{const n=e.permissions.reduce(((n,r)=>(n[r]=t===r?!$e(e.cookie[r])||!e.cookie[r]:e.cookie[r]??!1,n)),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),acceptAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!0})),{}))},rejectAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!1})),{}))}}))?Cn(In):Cn;/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */var In;const{entries:Pn,setPrototypeOf:Un,isFrozen:jn,getPrototypeOf:Hn,getOwnPropertyDescriptor:Fn}=Object;let{freeze:zn,seal:Wn,create:Bn}=Object,{apply:Vn,construct:qn}="undefined"!=typeof Reflect&&Reflect;Vn||(Vn=function(e,t,n){return e.apply(t,n)}),zn||(zn=function(e){return e}),Wn||(Wn=function(e){return e}),qn||(qn=function(e,t){return new e(...t)});const Gn=or(Array.prototype.forEach),Yn=or(Array.prototype.pop),$n=or(Array.prototype.push),Xn=or(String.prototype.toLowerCase),Kn=or(String.prototype.toString),Zn=or(String.prototype.match),Jn=or(String.prototype.replace),Qn=or(String.prototype.indexOf),er=or(String.prototype.trim),tr=or(RegExp.prototype.test),nr=(rr=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return qn(rr,t)});var rr;function or(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Vn(e,t,r)}}function ir(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:Xn,Un&&Un(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(jn(t)||(t[o]=e),r=e)}e[r]=!0}return e}function ar(e){const t=Bn(null);for(const[n,r]of Pn(e))t[n]=r;return t}function lr(e,t){for(;null!==e;){const n=Fn(e,t);if(n){if(n.get)return or(n.get);if("function"==typeof n.value)return or(n.value)}e=Hn(e)}return function(e){return console.warn("fallback value for",e),null}}const cr=zn(["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"]),ur=zn(["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"]),sr=zn(["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"]),fr=zn(["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"]),_r=zn(["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"]),pr=zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),dr=zn(["#text"]),mr=zn(["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","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","xmlns","slot"]),hr=zn(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),yr=zn(["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"]),vr=zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),gr=Wn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),br=Wn(/<%[\w\W]*|[\w\W]*%>/gm),Er=Wn(/\${[\w\W]*}/gm),kr=Wn(/^data-[\-\w.\u00B7-\uFFFF]/),Sr=Wn(/^aria-[\-\w]+$/),Tr=Wn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xr=Wn(/^(?:\w+script|data):/i),Ar=Wn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Nr=Wn(/^html$/i);var wr=Object.freeze({__proto__:null,MUSTACHE_EXPR:gr,ERB_EXPR:br,TMPLIT_EXPR:Er,DATA_ATTR:kr,ARIA_ATTR:Sr,IS_ALLOWED_URI:Tr,IS_SCRIPT_OR_DATA:xr,ATTR_WHITESPACE:Ar,DOCTYPE_NAME:Nr});const Cr=()=>"undefined"==typeof window?null:window;var Or=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Cr();const n=t=>e(t);if(n.version="3.0.5",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;const r=t.document,o=r.currentScript;let{document:i}=t;const{DocumentFragment:a,HTMLTemplateElement:l,Node:c,Element:u,NodeFilter:s,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:_,DOMParser:p,trustedTypes:d}=t,m=u.prototype,h=lr(m,"cloneNode"),y=lr(m,"nextSibling"),v=lr(m,"childNodes"),g=lr(m,"parentNode");if("function"==typeof l){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let b,E="";const{implementation:k,createNodeIterator:S,createDocumentFragment:T,getElementsByTagName:x}=i,{importNode:A}=r;let N={};n.isSupported="function"==typeof Pn&&"function"==typeof g&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:w,ERB_EXPR:C,TMPLIT_EXPR:O,DATA_ATTR:R,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:M}=wr;let{IS_ALLOWED_URI:I}=wr,P=null;const U=ir({},[...cr,...ur,...sr,..._r,...dr]);let j=null;const H=ir({},[...mr,...hr,...yr,...vr]);let F=Object.seal(Object.create(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}})),z=null,W=null,B=!0,V=!0,q=!1,G=!0,Y=!1,$=!1,X=!1,K=!1,Z=!1,J=!1,Q=!1,ee=!0,te=!1,ne=!0,re=!1,oe={},ie=null;const ae=ir({},["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 le=null;const ce=ir({},["audio","video","img","source","image","track"]);let ue=null;const se=ir({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml";let de=pe,me=!1,he=null;const ye=ir({},[fe,_e,pe],Kn);let ve;const ge=["application/xhtml+xml","text/html"];let be,Ee=null;const ke=i.createElement("form"),Se=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=ar(e),ve=ve=-1===ge.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ve?Kn:Xn,P="ALLOWED_TAGS"in e?ir({},e.ALLOWED_TAGS,be):U,j="ALLOWED_ATTR"in e?ir({},e.ALLOWED_ATTR,be):H,he="ALLOWED_NAMESPACES"in e?ir({},e.ALLOWED_NAMESPACES,Kn):ye,ue="ADD_URI_SAFE_ATTR"in e?ir(ar(se),e.ADD_URI_SAFE_ATTR,be):se,le="ADD_DATA_URI_TAGS"in e?ir(ar(ce),e.ADD_DATA_URI_TAGS,be):ce,ie="FORBID_CONTENTS"in e?ir({},e.FORBID_CONTENTS,be):ae,z="FORBID_TAGS"in e?ir({},e.FORBID_TAGS,be):{},W="FORBID_ATTR"in e?ir({},e.FORBID_ATTR,be):{},oe="USE_PROFILES"in e&&e.USE_PROFILES,B=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,$=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,J=e.RETURN_DOM_FRAGMENT||!1,Q=e.RETURN_TRUSTED_TYPE||!1,K=e.FORCE_BODY||!1,ee=!1!==e.SANITIZE_DOM,te=e.SANITIZE_NAMED_PROPS||!1,ne=!1!==e.KEEP_CONTENT,re=e.IN_PLACE||!1,I=e.ALLOWED_URI_REGEXP||Tr,de=e.NAMESPACE||pe,F=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Se(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Se(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(F.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(V=!1),J&&(Z=!0),oe&&(P=ir({},[...dr]),j=[],!0===oe.html&&(ir(P,cr),ir(j,mr)),!0===oe.svg&&(ir(P,ur),ir(j,hr),ir(j,vr)),!0===oe.svgFilters&&(ir(P,sr),ir(j,hr),ir(j,vr)),!0===oe.mathMl&&(ir(P,_r),ir(j,yr),ir(j,vr))),e.ADD_TAGS&&(P===U&&(P=ar(P)),ir(P,e.ADD_TAGS,be)),e.ADD_ATTR&&(j===H&&(j=ar(j)),ir(j,e.ADD_ATTR,be)),e.ADD_URI_SAFE_ATTR&&ir(ue,e.ADD_URI_SAFE_ATTR,be),e.FORBID_CONTENTS&&(ie===ae&&(ie=ar(ie)),ir(ie,e.FORBID_CONTENTS,be)),ne&&(P["#text"]=!0),$&&ir(P,["html","head","body"]),P.table&&(ir(P,["tbody"]),delete z.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw nr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw nr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=e.TRUSTED_TYPES_POLICY,E=b.createHTML("")}else void 0===b&&(b=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(d,o)),null!==b&&"string"==typeof E&&(E=b.createHTML(""));zn&&zn(e),Ee=e}},xe=ir({},["mi","mo","mn","ms","mtext"]),Ae=ir({},["foreignobject","desc","title","annotation-xml"]),Ne=ir({},["title","style","font","a","script"]),we=ir({},ur);ir(we,sr),ir(we,fr);const Ce=ir({},_r);ir(Ce,pr);const Oe=function(e){$n(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},Re=function(e,t){try{$n(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){$n(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!j[e])if(Z||J)try{Oe(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},De=function(e){let t,n;if(K)e="<remove></remove>"+e;else{const t=Zn(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ve&&de===pe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=b?b.createHTML(e):e;if(de===pe)try{t=(new p).parseFromString(r,ve)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(de,"template",null);try{t.documentElement.innerHTML=me?E:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),de===pe?x.call(t,$?"html":"body")[0]:$?t.documentElement:o},Le=function(e){return S.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,null,!1)},Me=function(e){return"object"==typeof c?e instanceof c:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ie=function(e,t,r){N[e]&&Gn(N[e],(e=>{e.call(n,t,r,Ee)}))},Pe=function(e){let t;if(Ie("beforeSanitizeElements",e,null),(r=e)instanceof _&&("string"!=typeof r.nodeName||"string"!=typeof r.textContent||"function"!=typeof r.removeChild||!(r.attributes instanceof f)||"function"!=typeof r.removeAttribute||"function"!=typeof r.setAttribute||"string"!=typeof r.namespaceURI||"function"!=typeof r.insertBefore||"function"!=typeof r.hasChildNodes))return Oe(e),!0;var r;const o=be(e.nodeName);if(Ie("uponSanitizeElement",e,{tagName:o,allowedTags:P}),e.hasChildNodes()&&!Me(e.firstElementChild)&&(!Me(e.content)||!Me(e.content.firstElementChild))&&tr(/<[/\w]/g,e.innerHTML)&&tr(/<[/\w]/g,e.textContent))return Oe(e),!0;if(!P[o]||z[o]){if(!z[o]&&je(o)){if(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,o))return!1;if(F.tagNameCheck instanceof Function&&F.tagNameCheck(o))return!1}if(ne&&!ie[o]){const t=g(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r)t.insertBefore(h(n[r],!0),y(e))}}return Oe(e),!0}return e instanceof u&&!function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:de,tagName:"template"});const n=Xn(e.tagName),r=Xn(t.tagName);return!!he[e.namespaceURI]&&(e.namespaceURI===_e?t.namespaceURI===pe?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(we[n]):e.namespaceURI===fe?t.namespaceURI===pe?"math"===n:t.namespaceURI===_e?"math"===n&&Ae[r]:Boolean(Ce[n]):e.namespaceURI===pe?!(t.namespaceURI===_e&&!Ae[r])&&!(t.namespaceURI===fe&&!xe[r])&&!Ce[n]&&(Ne[n]||!we[n]):!("application/xhtml+xml"!==ve||!he[e.namespaceURI]))}(e)?(Oe(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!tr(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&3===e.nodeType&&(t=e.textContent,t=Jn(t,w," "),t=Jn(t,C," "),t=Jn(t,O," "),e.textContent!==t&&($n(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ie("afterSanitizeElements",e,null),!1):(Oe(e),!0)},Ue=function(e,t,n){if(ee&&("id"===t||"name"===t)&&(n in i||n in ke))return!1;if(V&&!W[t]&&tr(R,t));else if(B&&tr(D,t));else if(!j[t]||W[t]){if(!(je(e)&&(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,e)||F.tagNameCheck instanceof Function&&F.tagNameCheck(e))&&(F.attributeNameCheck instanceof RegExp&&tr(F.attributeNameCheck,t)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(t))||"is"===t&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,n)||F.tagNameCheck instanceof Function&&F.tagNameCheck(n))))return!1}else if(ue[t]);else if(tr(I,Jn(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Qn(n,"data:")||!le[e]){if(q&&!tr(L,Jn(n,M,"")));else if(n)return!1}else;return!0},je=function(e){return e.indexOf("-")>0},He=function(e){let t,r,o,i;Ie("beforeSanitizeAttributes",e,null);const{attributes:a}=e;if(!a)return;const l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j};for(i=a.length;i--;){t=a[i];const{name:c,namespaceURI:u}=t;if(r="value"===c?t.value:er(t.value),o=be(c),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,Ie("uponSanitizeAttribute",e,l),r=l.attrValue,l.forceKeepAttr)continue;if(Re(c,e),!l.keepAttr)continue;if(!G&&tr(/\/>/i,r)){Re(c,e);continue}Y&&(r=Jn(r,w," "),r=Jn(r,C," "),r=Jn(r,O," "));const s=be(e.nodeName);if(Ue(s,o,r)){if(!te||"id"!==o&&"name"!==o||(Re(c,e),r="user-content-"+r),b&&"object"==typeof d&&"function"==typeof d.getAttributeType)if(u);else switch(d.getAttributeType(s,o)){case"TrustedHTML":r=b.createHTML(r);break;case"TrustedScriptURL":r=b.createScriptURL(r)}try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),Yn(n.removed)}catch(e){}}}Ie("afterSanitizeAttributes",e,null)},Fe=function e(t){let n;const r=Le(t);for(Ie("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ie("uponSanitizeShadowNode",n,null),Pe(n)||(n.content instanceof a&&e(n.content),He(n));Ie("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t,o,i,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(me=!e,me&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Me(e)){if("function"!=typeof e.toString)throw nr("toString is not a function");if("string"!=typeof(e=e.toString()))throw nr("dirty is not a string, aborting")}if(!n.isSupported)return e;if(X||Te(u),n.removed=[],"string"==typeof e&&(re=!1),re){if(e.nodeName){const t=be(e.nodeName);if(!P[t]||z[t])throw nr("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)t=De("\x3c!----\x3e"),o=t.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?t=o:t.appendChild(o);else{if(!Z&&!Y&&!$&&-1===e.indexOf("<"))return b&&Q?b.createHTML(e):e;if(t=De(e),!t)return Z?null:Q?E:""}t&&K&&Oe(t.firstChild);const s=Le(re?e:t);for(;i=s.nextNode();)Pe(i)||(i.content instanceof a&&Fe(i.content),He(i));if(re)return e;if(Z){if(J)for(l=T.call(t.ownerDocument);t.firstChild;)l.appendChild(t.firstChild);else l=t;return(j.shadowroot||j.shadowrootmode)&&(l=A.call(r,l,!0)),l}let f=$?t.outerHTML:t.innerHTML;return $&&P["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&tr(Nr,t.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+f),Y&&(f=Jn(f,w," "),f=Jn(f,C," "),f=Jn(f,O," ")),b&&Q?b.createHTML(f):f},n.setConfig=function(e){Te(e),X=!0},n.clearConfig=function(){Ee=null,X=!1},n.isValidAttribute=function(e,t,n){Ee||Te({});const r=be(e),o=be(t);return Ue(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(N[e]=N[e]||[],$n(N[e],t))},n.removeHook=function(e){if(N[e])return Yn(N[e])},n.removeHooks=function(e){N[e]&&(N[e]=[])},n.removeAllHooks=function(){N={}},n}();const Rr=()=>{const{banner:e,acceptAll:t,rejectAll:n,setModal:r}=Mn();return W("div",{className:"fixed bottom-0 left-0 max-w-md px-5 py-4 m-2 shadow-md shadow-black/25 z-[9998] bg-background space-y-4 font-primary text-foreground rounded-md banner-wrapper",children:[e.title&&W("h3",{className:"m-0 text-lg font-semibold font-primary md:text-xl banner-title",children:e.title}),e.description&&W("p",{className:"m-0 text-sm leading-snug font-primary md:text-base banner-description",dangerouslySetInnerHTML:{__html:Or.sanitize(e.description,{USE_PROFILES:{html:!0},ALLOWED_TAGS:["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],ALLOWED_ATTR:["href","target"]})}}),W("div",{className:"pt-2 space-y-2 banner-btns",children:[!Ge(e.settings)&&W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-customise",onClick:()=>r(!0),children:e.customise}),W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-reject",onClick:n,children:e.reject}),W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-btn-accept",onClick:t,children:e.accept})]})]})},Dr=()=>{const{cookie:e,setPermissions:t,banner:n,setModal:r}=Mn(),[o,i]=ne(e);return W("div",{className:"fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md banner-wrapper",children:[W("div",{className:"space-y-6",children:[W("h3",{className:"w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl banner-title",children:n.customise}),n.settings.map((({slug:e,title:t,description:n})=>W("div",{children:[W("div",{className:"flex items-start justify-between",children:[W("h3",{className:"m-0 text-lg font-semibold font-primary banner-settings-title",children:t}),W("button",{type:"button",className:(o[e]?"bg-primary":"bg-gray-200")+" relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5 banner-settings-toggle",role:"switch","aria-checked":"false",onClick:()=>i({...o,[e]:!o[e]}),children:[W("span",{className:"sr-only",children:"Toggle"}),W("span",{"aria-hidden":"true",className:(o[e]?"translate-x-5":"translate-x-0")+" pointer-events-none inline-block h-5 w-5 transform rounded-full bg-background shadow ring-0 transition duration-200 ease-in-out"})]})]}),W("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-description",children:n})]},`setting-${e}`))),W("div",{className:"pt-4",children:W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-settings-save",onClick:()=>{t(o),r(!1)},children:n.save})})]}),W("button",{type:"button",className:"absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full banner-settings-close",onClick:()=>r(!1),children:"×"})]})},Lr=document.createElement("div");Lr.id="lkrl-wrapper",document.body.appendChild(Lr),U(W((()=>{const{choiceMade:e,init:t,settingsOpen:n}=Mn();return oe((()=>{t()}),[]),W(y,{children:[!e&&!n&&W(Rr,{}),n&&W(Dr,{})]})}),{}),Lr)}();
@@ -42,6 +42,42 @@ If you need to fire a tag when the user's consent settings are updated, you can
42
42
  4. Set the _Event name_ value to `leckerliConsentUpdate`.
43
43
  5. Click on the _Save_ button and set _Leckerli Consent Update_ as trigger name.
44
44
 
45
+ ### (Optional) Manage Internationalisation
46
+
47
+ Using the html[lang] attribute, a _Trigger_ and a _Tag_ dedicated for each language can be created.
48
+
49
+ 1. Create a _Custom variable_ type _DOM element_ with "Element selector" : html and "Attribute name": lang
50
+ 2. For each language
51
+ 1. Create a _Trigger_ type "Consent Initialization" which fire only on your custom variable = your language code
52
+ 2. Create a _Tag_ type "Leckerli Cookie Banner" with json configuration according to your language strings
53
+
54
+ #### JSON configuration auf deutsch
55
+
56
+ ```
57
+ {
58
+ "banner": {
59
+ "title": "Wir respektieren Ihre Privatsphäre.",
60
+ "description": "Wir verwenden Cookies, um Ihr Surf-Erlebnis zu verbessern, personalisierte Anzeigen oder Inhalte zu schalten und unseren Verkehr zu analysieren. Durch Klicken auf „Alles akzeptieren“ stimmen Sie unserer Verwendung von Cookies zu.",
61
+ "accept": "Alles akzeptieren",
62
+ "reject": "Alles ablehnen",
63
+ "customise": "Anpassen",
64
+ "save": "Speichern",
65
+ "settings": [
66
+ {
67
+ "slug": "analytics_storage",
68
+ "title": "Google Analytics",
69
+ "description": "Google Analytics ermöglicht es, das Verhalten von Website-Besuchern zu messen und zu analysieren, indem es Schlüsseldaten über ihre Herkunft, Navigation und Engagement liefert, um die Website zu optimieren und das Benutzererlebnis zu verbessern."
70
+ }
71
+ ]
72
+ },
73
+ "permissions": [
74
+ "analytics_storage"
75
+ ]
76
+ }
77
+
78
+ ```
79
+
80
+
45
81
  ## Configuration
46
82
 
47
83
  ### How to configure Leckerli with GTM
@@ -20,7 +20,7 @@ const DEFAULT_CONSENT_STATE = {
20
20
  const ALLOWED_CONSENT_STATE = Object.keys(DEFAULT_CONSENT_STATE);
21
21
  const CONSENT_UPDATE_CUSTOM_EVENT = 'leckerliConsentUpdate';
22
22
  const COOKIE_NAME = 'gtm-leckerli';
23
- const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.1/dist/assets/leckerli-gtm.min.js'
23
+ const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.2/dist/assets/leckerli-gtm.min.js';
24
24
 
25
25
  /**
26
26
  * Used to merge an object in another.
@@ -105,4 +105,4 @@ const main = (data) => {
105
105
  };
106
106
 
107
107
  main(data);
108
- data.gtmOnSuccess();
108
+ data.gtmOnSuccess();
@@ -25,7 +25,7 @@ ___TEMPLATE_PARAMETERS___
25
25
  "name": "leckerliSettings",
26
26
  "displayName": "Leckerli Settings",
27
27
  "simpleValueType": true,
28
- "defaultValue": "{\"permissions\": [\"ad_storage\", \"analytics_storage\", \"functionality_storage\", \"personalization_storage\", \"security_storag\"] }",
28
+ "defaultValue": "{\"permissions\": [\"ad_storage\", \"analytics_storage\", \"functionality_storage\", \"personalization_storage\", \"security_storage\"] }",
29
29
  "lineCount": 8,
30
30
  "help": "JSON format"
31
31
  },
@@ -116,7 +116,7 @@ const DEFAULT_CONSENT_STATE = {
116
116
  const ALLOWED_CONSENT_STATE = Object.keys(DEFAULT_CONSENT_STATE);
117
117
  const CONSENT_UPDATE_CUSTOM_EVENT = 'leckerliConsentUpdate';
118
118
  const COOKIE_NAME = 'gtm-leckerli';
119
- const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.1/dist/assets/leckerli-gtm.min.js';
119
+ const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.2/dist/assets/leckerli-gtm.min.js';
120
120
 
121
121
  /**
122
122
  * Used to merge an object in another.
package/index.html CHANGED
@@ -4,6 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>🍪 Leckerli</title>
7
+ <script type="module" crossorigin src="./dist/assets/leckerli.min.js"></script>
8
+ <link rel="stylesheet" href="./dist/assets/leckerli.min.css" />
7
9
  </head>
8
10
  <body style="background: #cbd5e1; display: grid; place-content: center; font-family: sans-serif; min-height: 100vh;">
9
11
  <h1>Your website here 🤗</h1>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antistatique/leckerli",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "description": "Lightweight and customisable GDPR cookie consent manager",
5
5
  "private": false,
6
6
  "repository": "https://github.com/antistatique/leckerli",
@@ -8,9 +8,13 @@
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "scripts": {
11
- "dev": "vite",
12
- "build": "tsc && vite build",
13
- "preview": "vite preview",
11
+ "tailwind:build": "export NODE_ENV=production && npx tailwindcss -i ./src/index.css -o ./dist/assets/leckerli.min.css --minify --postcss postcss.config.cjs",
12
+ "tailwind:start": "npx tailwindcss -i ./src/index.css -o ./dist/assets/leckerli.min.css --watch",
13
+ "rollup:build": "rollup --config",
14
+ "rollup:start": "rollup --config --watch",
15
+ "serve": "browser-sync start --server --files \"./dist/**/*.*\" --port 4321 --no-notify --no-open",
16
+ "dev": "concurrently \"npm run serve\" \"npm run rollup:start\" \"npm run tailwind:start\"",
17
+ "build": "npm run tailwind:build && npm run rollup:build",
14
18
  "prepublishOnly": "yarn run build && pinst --disable",
15
19
  "lint:js": "eslint --ext js,jsx,ts,tsx ./ --max-warnings=0",
16
20
  "fix:js": "eslint --ext js,jsx,ts,tsx ./ --max-warnings=0 --fix",
@@ -18,42 +22,49 @@
18
22
  "postpublish": "pinst --enable"
19
23
  },
20
24
  "dependencies": {
21
- "@types/ramda": "^0.29.2",
25
+ "@types/ramda": "^0.29.3",
22
26
  "dompurify": "^3.0.5",
23
27
  "js-cookie": "^3.0.5",
24
- "preact": "^10.13.2",
28
+ "preact": "^10.17.1",
25
29
  "ramda": "^0.29.0",
26
- "zustand": "^4.3.8"
30
+ "react": "npm:@preact/compat",
31
+ "zustand": "^4.4.1"
27
32
  },
28
33
  "devDependencies": {
29
- "@preact/preset-vite": "^2.5.0",
34
+ "@rollup/plugin-commonjs": "^25.0.4",
35
+ "@rollup/plugin-node-resolve": "^15.2.1",
36
+ "@rollup/plugin-replace": "^5.0.2",
37
+ "@rollup/plugin-terser": "^0.4.3",
38
+ "@rollup/plugin-typescript": "^11.1.3",
30
39
  "@types/dompurify": "^3.0.2",
31
40
  "@types/js-cookie": "^3.0.3",
32
- "@typescript-eslint/eslint-plugin": "^5.60.1",
33
- "@typescript-eslint/parser": "^5.60.1",
34
- "autoprefixer": "^10.4.14",
41
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
42
+ "@typescript-eslint/parser": "^6.7.0",
43
+ "autoprefixer": "^10.4.15",
35
44
  "babel-eslint": "^10.1.0",
36
- "eslint": "^8.43.0",
45
+ "browser-sync": "^2.29.3",
46
+ "concurrently": "^8.2.1",
47
+ "eslint": "^8.49.0",
37
48
  "eslint-config-airbnb": "^19.0.4",
38
- "eslint-config-airbnb-typescript": "^17.0.0",
39
- "eslint-config-prettier": "^8.8.0",
40
- "eslint-import-resolver-typescript": "^3.5.5",
49
+ "eslint-config-airbnb-typescript": "^17.1.0",
50
+ "eslint-config-prettier": "^9.0.0",
51
+ "eslint-import-resolver-typescript": "^3.6.0",
41
52
  "eslint-plugin-html": "^7.1.0",
42
- "eslint-plugin-import": "^2.27.5",
53
+ "eslint-plugin-import": "^2.28.1",
43
54
  "eslint-plugin-jsx-a11y": "^6.7.1",
44
- "eslint-plugin-prettier": "^4.2.1",
45
- "eslint-plugin-react": "^7.32.2",
55
+ "eslint-plugin-prettier": "^5.0.0",
56
+ "eslint-plugin-react": "^7.33.2",
46
57
  "eslint-plugin-react-hooks": "^4.6.0",
47
58
  "eslint-plugin-simple-import-sort": "^10.0.0",
48
59
  "eslint-plugin-tailwind": "^0.2.1",
49
60
  "husky": "^8.0.3",
50
- "lint-staged": "^13.2.3",
61
+ "lint-staged": "^14.0.1",
51
62
  "pinst": "^3.0.0",
52
- "postcss": "^8.4.24",
53
- "postcss-prefixwrap": "^1.39.1",
54
- "prettier": "^2.8.8",
55
- "tailwindcss": "^3.3.2",
56
- "typescript": "^5.1.5",
57
- "vite": "^4.3.9"
63
+ "postcss": "^8.4.29",
64
+ "postcss-prefixwrap": "^1.40.0",
65
+ "prettier": "^3.0.3",
66
+ "rollup": "^3.29.2",
67
+ "tailwindcss": "^3.3.3",
68
+ "typescript": "^5.2.2"
58
69
  }
59
70
  }
@@ -0,0 +1,36 @@
1
+ import commonjs from '@rollup/plugin-commonjs';
2
+ import nodeResolve from '@rollup/plugin-node-resolve';
3
+ import terser from '@rollup/plugin-terser';
4
+ import typescript from '@rollup/plugin-typescript';
5
+ import replace from '@rollup/plugin-replace';
6
+ import fs from 'fs';
7
+
8
+ const version = JSON.parse(fs.readFileSync('package.json', 'utf8')).version;
9
+
10
+ export default [
11
+ { file: './src/index.tsx', name: 'leckerli' },
12
+ { file: './src/gtm.ts', name: 'leckerli-gtm' },
13
+ ].map(({ file, name }) => ({
14
+ input: file,
15
+ output: {
16
+ compact: true,
17
+ sourcemap: false,
18
+ format: 'iife',
19
+ dir: './dist/assets',
20
+ entryFileNames: name + '.min.js',
21
+ inlineDynamicImports: true,
22
+ },
23
+ plugins: [
24
+ replace({
25
+ 'process.env.NODE_ENV': JSON.stringify('production'),
26
+ APP_VERSION: JSON.stringify(version),
27
+ }),
28
+ terser(),
29
+ nodeResolve({ preferBuiltins: true }),
30
+ commonjs({
31
+ include: /node_modules/,
32
+ requireReturnsDefault: 'auto',
33
+ }),
34
+ typescript(),
35
+ ],
36
+ }));
@@ -7,16 +7,16 @@ const Settings = () => {
7
7
  const [cookieProxy, setCookieProxy] = useState(cookie);
8
8
 
9
9
  return (
10
- <div className="fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md">
10
+ <div className="fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md banner-wrapper">
11
11
  <div className="space-y-6">
12
- <h3 className="w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl">
12
+ <h3 className="w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl banner-title">
13
13
  {banner.customise}
14
14
  </h3>
15
15
 
16
16
  {banner.settings.map(({ slug, title, description }) => (
17
17
  <div key={`setting-${slug}`}>
18
18
  <div className="flex items-start justify-between">
19
- <h3 className="m-0 text-lg font-semibold font-primary">
19
+ <h3 className="m-0 text-lg font-semibold font-primary banner-settings-title">
20
20
  {title}
21
21
  </h3>
22
22
 
@@ -24,7 +24,7 @@ const Settings = () => {
24
24
  type="button"
25
25
  className={`${
26
26
  cookieProxy[slug] ? 'bg-primary' : 'bg-gray-200'
27
- } relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5`}
27
+ } relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5 banner-settings-toggle`}
28
28
  role="switch"
29
29
  aria-checked="false"
30
30
  onClick={() =>
@@ -41,7 +41,7 @@ const Settings = () => {
41
41
  </button>
42
42
  </div>
43
43
 
44
- <p className="m-0 mt-2 text-sm leading-snug font-primary md:text-base">
44
+ <p className="m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-description">
45
45
  {description}
46
46
  </p>
47
47
  </div>
@@ -50,7 +50,7 @@ const Settings = () => {
50
50
  <div className="pt-4">
51
51
  <button
52
52
  type="button"
53
- className="px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors"
53
+ className="px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-settings-save"
54
54
  onClick={() => {
55
55
  setPermissions(cookieProxy);
56
56
  setModal(false);
@@ -62,7 +62,7 @@ const Settings = () => {
62
62
  </div>
63
63
  <button
64
64
  type="button"
65
- className="absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full"
65
+ className="absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full banner-settings-close"
66
66
  onClick={() => setModal(false)}
67
67
  >
68
68
  &times;
@@ -10,14 +10,20 @@ const defaultSettings = {
10
10
  save: 'Save',
11
11
  settings: [
12
12
  {
13
- slug: 'settings',
14
- title: 'Preferences',
13
+ slug: 'analytics_storage',
14
+ title: 'Statistics',
15
15
  description:
16
- 'Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.',
16
+ 'Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.',
17
+ },
18
+ {
19
+ slug: 'ad_storage',
20
+ title: 'Marketing',
21
+ description:
22
+ 'Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.',
17
23
  },
18
24
  ],
19
25
  },
20
- permissions: ['settings'],
26
+ permissions: ['analytics_storage', 'ad_storage'],
21
27
  baseData: {},
22
28
  cookie: {},
23
29
  choiceMade: false,
package/src/index.tsx CHANGED
@@ -2,8 +2,6 @@ import { render } from 'preact';
2
2
 
3
3
  import App from './components/App';
4
4
 
5
- import './index.css';
6
-
7
5
  const root = document.createElement('div');
8
6
  root.id = 'lkrl-wrapper';
9
7
  document.body.appendChild(root);
package/__index.html DELETED
@@ -1,50 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>🍪 Leckerli</title>
7
- </head>
8
- <body style="background: #cbd5e1; display: grid; place-content: center; font-family: sans-serif; min-height: 100vh;">
9
- <h1>Your website here 🤗</h1>
10
- <a href="gtm-basic.html">Go to GTM-Basic.</a>
11
- <script defer type="module" src="/src/index.tsx"></script>
12
-
13
- <script>
14
- // To listen the initialisation
15
- document.addEventListener('leckerli:initialised', (event) => {
16
- // to get cookie data OR null if the user's choice has not been made
17
- console.log('init', event.detail.cookie);
18
- });
19
-
20
- // To listen to the permissions / cookie's updates
21
- document.addEventListener('leckerli:permissions-updated', (event) => {
22
- // to get cookie data
23
- console.log('update', event.detail.cookie);
24
- });
25
-
26
- // To listen the modal states
27
- document.addEventListener('leckerli:modal-opened', () => {
28
- // react to modal opened
29
- console.log('modal opened')
30
- });
31
- document.addEventListener('leckerli:modal-closed', () => {
32
- // react to modal closed
33
- console.log('modal closed')
34
- });
35
- </script>
36
-
37
- <style>
38
- /*
39
- :root {
40
- --leckerli-foreground: #fff;
41
- --leckerli-background: #000;
42
- --leckerli-primary: #ff0099;
43
- --leckerli-primary-hover: #d1007e;
44
- --leckerli-primary-active: #9D005F;
45
- --leckerli-font: sans-serif;
46
- }
47
- */
48
- </style>
49
- </body>
50
- </html>
@@ -1,61 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>🍪 Leckerli - GTM (Basic)</title>
7
- <!-- Google Tag Manager -->
8
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
9
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
10
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
11
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
12
- })(window,document,'script','dataLayer','GTM-NGL2FLK');</script>
13
- <!-- End Google Tag Manager -->
14
- </head>
15
- <body style="background: #cbd5e1; display: grid; place-content: center; font-family: sans-serif; min-height: 100vh;">
16
- <h1>Your website here 🤗 - GTM (Basic)</h1>
17
-
18
- <script>
19
- window.leckerliSettings = {
20
- title: 'This website uses GTM & Google Consent.'
21
- }
22
- </script>
23
-
24
- <script>
25
- // To listen the initialisation
26
- document.addEventListener('leckerli:initialised', (event) => {
27
- // to get cookie data OR null if the user's choice has not been made
28
- console.log('init', event.detail.cookie);
29
- });
30
-
31
- // To listen to the permissions / cookie's updates
32
- document.addEventListener('leckerli:permissions-updated', (event) => {
33
- // to get cookie data
34
- console.log('update', event.detail.cookie);
35
- });
36
-
37
- // To listen the modal states
38
- document.addEventListener('leckerli:modal-opened', () => {
39
- // react to modal opened
40
- console.log('modal opened')
41
- });
42
- document.addEventListener('leckerli:modal-closed', () => {
43
- // react to modal closed
44
- console.log('modal closed')
45
- });
46
- </script>
47
-
48
- <style>
49
- /*
50
- :root {
51
- --leckerli-foreground: #fff;
52
- --leckerli-background: #000;
53
- --leckerli-primary: #ff0099;
54
- --leckerli-primary-hover: #d1007e;
55
- --leckerli-primary-active: #9D005F;
56
- --leckerli-font: sans-serif;
57
- }
58
- */
59
- </style>
60
- </body>
61
- </html>
package/dist/index.html DELETED
@@ -1,52 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>🍪 Leckerli</title>
7
- <script type="module" crossorigin src="/assets/leckerli.min.js"></script>
8
- <link rel="stylesheet" href="/assets/leckerli.min.css">
9
- </head>
10
- <body style="background: #cbd5e1; display: grid; place-content: center; font-family: sans-serif; min-height: 100vh;">
11
- <h1>Your website here 🤗</h1>
12
-
13
-
14
-
15
- <script>
16
- // To listen the initialisation
17
- document.addEventListener('leckerli:initialised', (event) => {
18
- // to get cookie data OR null if the user's choice has not been made
19
- console.log('init', event.detail.cookie);
20
- });
21
-
22
- // To listen to the permissions / cookie's updates
23
- document.addEventListener('leckerli:permissions-updated', (event) => {
24
- // to get cookie data
25
- console.log('update', event.detail.cookie);
26
- });
27
-
28
- // To listen the modal states
29
- document.addEventListener('leckerli:modal-opened', () => {
30
- // react to modal opened
31
- console.log('modal opened')
32
- });
33
- document.addEventListener('leckerli:modal-closed', () => {
34
- // react to modal closed
35
- console.log('modal closed')
36
- });
37
- </script>
38
-
39
- <style>
40
- /*
41
- :root {
42
- --leckerli-foreground: #fff;
43
- --leckerli-background: #000;
44
- --leckerli-primary: #ff0099;
45
- --leckerli-primary-hover: #d1007e;
46
- --leckerli-primary-active: #9D005F;
47
- --leckerli-font: sans-serif;
48
- }
49
- */
50
- </style>
51
- </body>
52
- </html>
package/vite.config.ts DELETED
@@ -1,25 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import preact from '@preact/preset-vite'
3
- import { version } from './package.json';
4
-
5
- // https://vitejs.dev/config/
6
- export default defineConfig({
7
- plugins: [preact()],
8
- build: {
9
- rollupOptions: {
10
- input: {
11
- leckerli: 'index.html',
12
- 'leckerli-gtm': 'src/gtm.ts',
13
- 'gtm-html': 'gtm-basic.html'
14
- },
15
- output: {
16
- entryFileNames: 'assets/[name].min.js',
17
- chunkFileNames: 'assets/[name].min.js',
18
- assetFileNames: 'assets/leckerli.min.[ext]'
19
- }
20
- }
21
- },
22
- define: {
23
- APP_VERSION: JSON.stringify(version),
24
- },
25
- })