@fluidattacks/design 1.6.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +488 -0
- package/dist/index.mjs +15539 -0
- package/dist/types/components/@core/index.d.ts +5 -0
- package/dist/types/components/@core/styles.d.ts +6 -0
- package/dist/{src → types}/components/@core/types.d.ts +3 -2
- package/dist/{src → types}/components/@core/utils.d.ts +2 -2
- package/dist/{src → types}/components/@core/variants/utils.d.ts +2 -2
- package/dist/{src → types}/components/accordion/accordion-content/index.d.ts +1 -1
- package/dist/types/components/accordion/index.d.ts +4 -0
- package/dist/types/components/alert/index.d.ts +4 -0
- package/dist/types/components/alert/styles.d.ts +9 -0
- package/dist/{src → types}/components/alert/types.d.ts +2 -2
- package/dist/types/components/button/index.d.ts +4 -0
- package/dist/types/components/button/styles.d.ts +9 -0
- package/dist/{src → types}/components/button/types.d.ts +4 -8
- package/dist/types/components/carousel/index.d.ts +4 -0
- package/dist/types/components/carousel/styles.d.ts +10 -0
- package/dist/types/components/checkbox/index.d.ts +3 -0
- package/dist/types/components/checkbox/styles.d.ts +7 -0
- package/dist/{src → types}/components/checkbox/types.d.ts +1 -1
- package/dist/{src → types}/components/cloud-image/index.d.ts +2 -2
- package/dist/{src → types}/components/cloud-image/types.d.ts +1 -1
- package/dist/{src → types}/components/code-snippet/index.d.ts +1 -1
- package/dist/types/components/code-snippet/location-code/index.d.ts +5 -0
- package/dist/types/components/code-snippet/styles.d.ts +3 -0
- package/dist/{src → types}/components/colors/index.d.ts +3 -3
- package/dist/types/components/container/index.d.ts +4 -0
- package/dist/types/components/container/styles.d.ts +9 -0
- package/dist/{src → types}/components/container/types.d.ts +2 -2
- package/dist/{src → types}/components/content-card/index.d.ts +1 -1
- package/dist/types/components/content-card/styles.d.ts +2 -0
- package/dist/{src → types}/components/content-card/types.d.ts +1 -1
- package/dist/{src → types}/components/content-card-carousel/index.d.ts +1 -1
- package/dist/{src → types}/components/content-card-carousel/scroll-buttons/index.d.ts +1 -1
- package/dist/types/components/content-card-carousel/styles.d.ts +3 -0
- package/dist/{src → types}/components/content-card-carousel/types.d.ts +1 -1
- package/dist/types/components/divider/index.d.ts +3 -0
- package/dist/{src → types}/components/divider/types.d.ts +1 -1
- package/dist/{src → types}/components/file-preview/index.d.ts +1 -1
- package/dist/types/components/file-preview/styles.d.ts +6 -0
- package/dist/{src → types}/components/file-preview/utils.d.ts +1 -1
- package/dist/{src → types}/components/form/index.d.ts +3 -3
- package/dist/types/components/form/styles.d.ts +4 -0
- package/dist/types/components/grid-layout/styles.d.ts +12 -0
- package/dist/types/components/icon/index.d.ts +3 -0
- package/dist/types/components/icon/styles.d.ts +14 -0
- package/dist/{src → types}/components/icon/types.d.ts +2 -4
- package/dist/types/components/icon-button/index.d.ts +3 -0
- package/dist/types/components/icon-button/styles.d.ts +9 -0
- package/dist/{src → types}/components/icon-button/types.d.ts +4 -4
- package/dist/types/components/inputs/fields/phone/index.d.ts +3 -0
- package/dist/types/components/inputs/fields/phone/styles.d.ts +6 -0
- package/dist/types/components/inputs/fields/text-input/index.d.ts +3 -0
- package/dist/types/components/inputs/index.d.ts +4 -0
- package/dist/{src → types}/components/inputs/label/index.d.ts +1 -1
- package/dist/{src → types}/components/inputs/outline-container/index.d.ts +2 -2
- package/dist/types/components/inputs/styles.d.ts +3 -0
- package/dist/{src → types}/components/inputs/types.d.ts +2 -2
- package/dist/{src → types}/components/interactive-card/icon/index.d.ts +1 -1
- package/dist/{src → types}/components/interactive-card/index.d.ts +1 -1
- package/dist/types/components/interactive-card/styles.d.ts +3 -0
- package/dist/{src → types}/components/interactive-card/types.d.ts +1 -1
- package/dist/{src → types}/components/language-selector/index.d.ts +1 -1
- package/dist/{src → types}/components/language-selector/item-list/index.d.ts +1 -1
- package/dist/types/components/language-selector/styles.d.ts +5 -0
- package/dist/{src → types}/components/language-selector/types.d.ts +1 -1
- package/dist/{src → types}/components/link/index.d.ts +2 -2
- package/dist/types/components/link/styles.d.ts +8 -0
- package/dist/{src → types}/components/list-item/index.d.ts +2 -2
- package/dist/types/components/list-item/styles.d.ts +3 -0
- package/dist/{src → types}/components/list-item/types.d.ts +2 -2
- package/dist/{src → types}/components/little-flag/index.d.ts +1 -1
- package/dist/{src → types}/components/little-flag/styles.d.ts +1 -1
- package/dist/{src → types}/components/logo/index.d.ts +1 -1
- package/dist/{src → types}/components/logo-carousel/index.d.ts +1 -1
- package/dist/types/components/logo-carousel/styles.d.ts +4 -0
- package/dist/{src → types}/components/lottie/index.d.ts +1 -1
- package/dist/types/components/lottie/styles.d.ts +41 -0
- package/dist/{src → types}/components/lottie/types.d.ts +1 -1
- package/dist/types/components/menu/index.d.ts +4 -0
- package/dist/types/components/menu/types.d.ts +31 -0
- package/dist/{src → types}/components/message-banner/index.d.ts +1 -1
- package/dist/types/components/message-banner/styles.d.ts +2 -0
- package/dist/{src → types}/components/message-banner/types.d.ts +3 -3
- package/dist/{src → types}/components/message-banner/utils.d.ts +2 -2
- package/dist/{src → types}/components/notification/index.d.ts +1 -1
- package/dist/types/components/notification/styles.d.ts +7 -0
- package/dist/types/components/notification/utils.d.ts +4 -0
- package/dist/types/components/notification-sign/index.d.ts +3 -0
- package/dist/types/components/notification-sign/styles.d.ts +9 -0
- package/dist/{src → types}/components/notification-sign/types.d.ts +1 -1
- package/dist/{src → types}/components/number-input/index.d.ts +2 -2
- package/dist/types/components/number-input/styles.d.ts +3 -0
- package/dist/{src → types}/components/number-input/types.d.ts +1 -1
- package/dist/{src → types}/components/plan-card/index.d.ts +1 -1
- package/dist/types/components/plan-card/styles.d.ts +3 -0
- package/dist/{src → types}/components/plan-card/types.d.ts +1 -1
- package/dist/{src → types}/components/plan-card/utils.d.ts +1 -1
- package/dist/types/components/premium-feature/index.d.ts +3 -0
- package/dist/types/components/premium-feature/styles.d.ts +2 -0
- package/dist/types/components/premium-feature/types.d.ts +14 -0
- package/dist/{src → types}/components/progress-bar/index.d.ts +1 -1
- package/dist/types/components/progress-bar/styles.d.ts +6 -0
- package/dist/{src → types}/components/progress-bar/types.d.ts +1 -1
- package/dist/types/components/radio-button/index.d.ts +3 -0
- package/dist/types/components/radio-button/styles.d.ts +7 -0
- package/dist/{src → types}/components/radio-button/types.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/index.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/item-searching/index.d.ts +1 -1
- package/dist/types/components/search-bar/styles.d.ts +15 -0
- package/dist/{src → types}/components/search-bar/types.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/utils.d.ts +1 -1
- package/dist/types/components/severity-badge/index.d.ts +3 -0
- package/dist/types/components/severity-badge/types.d.ts +26 -0
- package/dist/types/components/severity-badge/utils.d.ts +3 -0
- package/dist/types/components/severity-overview/badge/index.d.ts +3 -0
- package/dist/types/components/severity-overview/index.d.ts +3 -0
- package/dist/types/components/severity-overview/types.d.ts +40 -0
- package/dist/types/components/severity-overview/utils.d.ts +3 -0
- package/dist/types/components/slide-out-menu/index.d.ts +4 -0
- package/dist/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
- package/dist/types/components/slide-out-menu/styles.d.ts +274 -0
- package/dist/types/components/slide-out-menu/types.d.ts +43 -0
- package/dist/{src → types}/components/step-lapse/index.d.ts +1 -1
- package/dist/types/components/step-lapse/styles.d.ts +8 -0
- package/dist/{src → types}/components/step-lapse/types.d.ts +1 -1
- package/dist/{src → types}/components/table-button/index.d.ts +1 -1
- package/dist/types/components/table-button/styles.d.ts +2 -0
- package/dist/{src → types}/components/table-button/types.d.ts +2 -2
- package/dist/{src → types}/components/tabs/fixed-tabs/index.d.ts +1 -1
- package/dist/{src → types}/components/tabs/index.d.ts +3 -3
- package/dist/types/components/tabs/styles.d.ts +4 -0
- package/dist/{src → types}/components/tabs/tab/index.d.ts +1 -1
- package/dist/{src → types}/components/tabs/types.d.ts +1 -1
- package/dist/{src → types}/components/tag/index.d.ts +1 -1
- package/dist/types/components/tag/styles.d.ts +7 -0
- package/dist/{src → types}/components/tag/types.d.ts +1 -1
- package/dist/types/components/timeline/card/index.d.ts +3 -0
- package/dist/types/components/timeline/index.d.ts +4 -0
- package/dist/types/components/timeline/styles.d.ts +3 -0
- package/dist/types/components/timeline/types.d.ts +21 -0
- package/dist/{src → types}/components/toggle/index.d.ts +2 -2
- package/dist/types/components/toggle/styles.d.ts +4 -0
- package/dist/{src → types}/components/toggle/types.d.ts +2 -2
- package/dist/{src → types}/components/toggle-buttons/index.d.ts +1 -1
- package/dist/types/components/toggle-buttons/styles.d.ts +3 -0
- package/dist/types/components/tooltip/index.d.ts +4 -0
- package/dist/types/components/tooltip/styles.d.ts +7 -0
- package/dist/{src → types}/components/tooltip/types.d.ts +2 -2
- package/dist/{src → types}/components/tour/index.d.ts +2 -2
- package/dist/{src → types}/components/tour/types.d.ts +1 -1
- package/dist/types/components/typography/heading/index.d.ts +3 -0
- package/dist/types/components/typography/index.d.ts +3 -0
- package/dist/types/components/typography/styles.d.ts +23 -0
- package/dist/types/components/typography/text/index.d.ts +3 -0
- package/dist/{src → types}/components/typography/types.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +4 -0
- package/dist/{src → types}/hooks/use-cloudinary-image.d.ts +1 -1
- package/dist/types/index.d.ts +49 -0
- package/package.json +9 -7
- package/dist/design.js +0 -2256
- package/dist/design.mjs +0 -22131
- package/dist/src/components/@core/index.d.ts +0 -5
- package/dist/src/components/@core/styles.d.ts +0 -6
- package/dist/src/components/accordion/index.d.ts +0 -4
- package/dist/src/components/alert/index.d.ts +0 -4
- package/dist/src/components/alert/styles.d.ts +0 -9
- package/dist/src/components/button/index.d.ts +0 -4
- package/dist/src/components/button/styles.d.ts +0 -9
- package/dist/src/components/carousel/index.d.ts +0 -4
- package/dist/src/components/carousel/styles.d.ts +0 -10
- package/dist/src/components/checkbox/index.d.ts +0 -3
- package/dist/src/components/checkbox/styles.d.ts +0 -7
- package/dist/src/components/code-snippet/location-code/index.d.ts +0 -3
- package/dist/src/components/code-snippet/styles.d.ts +0 -3
- package/dist/src/components/container/index.d.ts +0 -4
- package/dist/src/components/container/styles.d.ts +0 -9
- package/dist/src/components/content-card/styles.d.ts +0 -2
- package/dist/src/components/content-card-carousel/styles.d.ts +0 -3
- package/dist/src/components/divider/index.d.ts +0 -3
- package/dist/src/components/file-preview/styles.d.ts +0 -6
- package/dist/src/components/form/styles.d.ts +0 -4
- package/dist/src/components/grid-layout/styles.d.ts +0 -12
- package/dist/src/components/icon/index.d.ts +0 -3
- package/dist/src/components/icon/styles.d.ts +0 -14
- package/dist/src/components/icon-button/index.d.ts +0 -3
- package/dist/src/components/icon-button/styles.d.ts +0 -9
- package/dist/src/components/inputs/fields/phone/index.d.ts +0 -3
- package/dist/src/components/inputs/fields/phone/styles.d.ts +0 -6
- package/dist/src/components/inputs/fields/text-input/index.d.ts +0 -3
- package/dist/src/components/inputs/index.d.ts +0 -4
- package/dist/src/components/inputs/styles.d.ts +0 -3
- package/dist/src/components/interactive-card/styles.d.ts +0 -3
- package/dist/src/components/language-selector/styles.d.ts +0 -5
- package/dist/src/components/link/styles.d.ts +0 -8
- package/dist/src/components/list-item/styles.d.ts +0 -3
- package/dist/src/components/logo-carousel/styles.d.ts +0 -4
- package/dist/src/components/lottie/styles.d.ts +0 -41
- package/dist/src/components/message-banner/styles.d.ts +0 -2
- package/dist/src/components/notification/styles.d.ts +0 -7
- package/dist/src/components/notification/utils.d.ts +0 -4
- package/dist/src/components/notification-sign/index.d.ts +0 -3
- package/dist/src/components/notification-sign/styles.d.ts +0 -9
- package/dist/src/components/number-input/styles.d.ts +0 -3
- package/dist/src/components/plan-card/styles.d.ts +0 -3
- package/dist/src/components/progress-bar/styles.d.ts +0 -6
- package/dist/src/components/radio-button/index.d.ts +0 -3
- package/dist/src/components/radio-button/styles.d.ts +0 -7
- package/dist/src/components/search-bar/styles.d.ts +0 -15
- package/dist/src/components/step-lapse/styles.d.ts +0 -8
- package/dist/src/components/table-button/styles.d.ts +0 -2
- package/dist/src/components/tabs/styles.d.ts +0 -4
- package/dist/src/components/tag/styles.d.ts +0 -7
- package/dist/src/components/toggle/styles.d.ts +0 -4
- package/dist/src/components/toggle-buttons/styles.d.ts +0 -3
- package/dist/src/components/tooltip/index.d.ts +0 -4
- package/dist/src/components/tooltip/styles.d.ts +0 -7
- package/dist/src/components/typography/heading/index.d.ts +0 -3
- package/dist/src/components/typography/index.d.ts +0 -3
- package/dist/src/components/typography/styles.d.ts +0 -23
- package/dist/src/components/typography/text/index.d.ts +0 -3
- package/dist/src/hooks/index.d.ts +0 -4
- package/dist/src/index.d.ts +0 -41
- package/dist/vite.config.d.ts +0 -3
- /package/dist/{src → types}/components/@core/constants.d.ts +0 -0
- /package/dist/{src → types}/components/accordion/types.d.ts +0 -0
- /package/dist/{src → types}/components/carousel/types.d.ts +0 -0
- /package/dist/{src → types}/components/code-snippet/types.d.ts +0 -0
- /package/dist/{src → types}/components/content-card/category-tag/index.d.ts +0 -0
- /package/dist/{src → types}/components/content-card/event-date/index.d.ts +0 -0
- /package/dist/{src → types}/components/file-preview/types.d.ts +0 -0
- /package/dist/{src → types}/components/form/types.d.ts +0 -0
- /package/dist/{src → types}/components/link/types.d.ts +0 -0
- /package/dist/{src → types}/components/little-flag/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo-carousel/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo-carousel/utils.d.ts +0 -0
- /package/dist/{src → types}/components/notification/types.d.ts +0 -0
- /package/dist/{src → types}/components/plan-card/recommended-tag/index.d.ts +0 -0
- /package/dist/{src → types}/components/progress-bar/utils.d.ts +0 -0
- /package/dist/{src → types}/components/toggle-buttons/types.d.ts +0 -0
- /package/dist/{src → types}/hooks/use-carousel.d.ts +0 -0
- /package/dist/{src → types}/hooks/use-click-outside.d.ts +0 -0
- /package/dist/{src → types}/utils/open-url.d.ts +0 -0
package/dist/design.js
DELETED
|
@@ -1,2256 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\\[500px\\]{height:500px}.w-\\[400px\\]{width:400px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.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))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[90px\\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@property --tag-padding-x{syntax: "<length>"; initial-value: 4px; inherits: false;}@property --tag-padding-y{syntax: "<length>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),vf=require("react-dom"),Qp=require("react-router-dom");function Xp(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(r,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return r.default=t,Object.freeze(r)}const Fn=Xp(X),Xw=Xp(vf),Ua=t=>({getVariant:(r,s)=>t(r)[s]}),Jp=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var Dn=function(){return Dn=Object.assign||function(r){for(var s,a=1,u=arguments.length;a<u;a++){s=arguments[a];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(r[h]=s[h])}return r},Dn.apply(this,arguments)};function Qo(t,r,s){if(s||arguments.length===2)for(var a=0,u=r.length,h;a<u;a++)(h||!(a in r))&&(h||(h=Array.prototype.slice.call(r,0,a)),h[a]=r[a]);return t.concat(h||Array.prototype.slice.call(r))}function Jw(t){var r=Object.create(null);return function(s){return r[s]===void 0&&(r[s]=t(s)),r[s]}}var Zw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,t_=Jw(function(t){return Zw.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qa(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Dr="-ms-",ja="-moz-",br="-webkit-",Zp="comm",dc="rule",mf="decl",e_="@import",tg="@keyframes",r_="@layer",eg=Math.abs,yf=String.fromCharCode,ju=Object.assign;function n_(t,r){return kn(t,0)^45?(((r<<2^kn(t,0))<<2^kn(t,1))<<2^kn(t,2))<<2^kn(t,3):0}function rg(t){return t.trim()}function ks(t,r){return(t=r.exec(t))?t[0]:t}function Ye(t,r,s){return t.replace(r,s)}function Ul(t,r,s){return t.indexOf(r,s)}function kn(t,r){return t.charCodeAt(r)|0}function Xo(t,r,s){return t.slice(r,s)}function Zi(t){return t.length}function ng(t){return t.length}function Ma(t,r){return r.push(t),t}function i_(t,r){return t.map(r).join("")}function Fd(t,r){return t.filter(function(s){return!ks(s,r)})}var pc=1,Jo=1,ig=0,bi=0,gn=0,ia="";function gc(t,r,s,a,u,h,m,y){return{value:t,root:r,parent:s,type:a,props:u,children:h,line:pc,column:Jo,length:m,return:"",siblings:y}}function Us(t,r){return ju(gc("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},r)}function Uo(t){for(;t.root;)t=Us(t.root,{children:[t]});Ma(t,t.siblings)}function s_(){return gn}function o_(){return gn=bi>0?kn(ia,--bi):0,Jo--,gn===10&&(Jo=1,pc--),gn}function Oi(){return gn=bi<ig?kn(ia,bi++):0,Jo++,gn===10&&(Jo=1,pc++),gn}function bo(){return kn(ia,bi)}function ql(){return bi}function vc(t,r){return Xo(ia,t,r)}function Du(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function a_(t){return pc=Jo=1,ig=Zi(ia=t),bi=0,[]}function l_(t){return ia="",t}function Au(t){return rg(vc(bi-1,Nu(t===91?t+2:t===40?t+1:t)))}function c_(t){for(;(gn=bo())&&gn<33;)Oi();return Du(t)>2||Du(gn)>3?"":" "}function u_(t,r){for(;--r&&Oi()&&!(gn<48||gn>102||gn>57&&gn<65||gn>70&&gn<97););return vc(t,ql()+(r<6&&bo()==32&&Oi()==32))}function Nu(t){for(;Oi();)switch(gn){case t:return bi;case 34:case 39:t!==34&&t!==39&&Nu(gn);break;case 40:t===41&&Nu(t);break;case 92:Oi();break}return bi}function f_(t,r){for(;Oi()&&t+gn!==57;)if(t+gn===84&&bo()===47)break;return"/*"+vc(r,bi-1)+"*"+yf(t===47?t:Oi())}function h_(t){for(;!Du(bo());)Oi();return vc(t,bi)}function d_(t){return l_(Gl("",null,null,null,[""],t=a_(t),0,[0],t))}function Gl(t,r,s,a,u,h,m,y,x){for(var O=0,D=0,Q=m,J=0,et=0,ut=0,ft=1,pt=1,it=1,yt=0,Tt="",Lt=u,Mt=h,vt=a,Ct=Tt;pt;)switch(ut=yt,yt=Oi()){case 40:if(ut!=108&&kn(Ct,Q-1)==58){Ul(Ct+=Ye(Au(yt),"&","&\f"),"&\f",eg(O?y[O-1]:0))!=-1&&(it=-1);break}case 34:case 39:case 91:Ct+=Au(yt);break;case 9:case 10:case 13:case 32:Ct+=c_(ut);break;case 92:Ct+=u_(ql()-1,7);continue;case 47:switch(bo()){case 42:case 47:Ma(p_(f_(Oi(),ql()),r,s,x),x);break;default:Ct+="/"}break;case 123*ft:y[O++]=Zi(Ct)*it;case 125*ft:case 59:case 0:switch(yt){case 0:case 125:pt=0;case 59+D:it==-1&&(Ct=Ye(Ct,/\f/g,"")),et>0&&Zi(Ct)-Q&&Ma(et>32?Dd(Ct+";",a,s,Q-1,x):Dd(Ye(Ct," ","")+";",a,s,Q-2,x),x);break;case 59:Ct+=";";default:if(Ma(vt=jd(Ct,r,s,O,D,u,y,Tt,Lt=[],Mt=[],Q,h),h),yt===123)if(D===0)Gl(Ct,r,vt,vt,Lt,h,Q,y,Mt);else switch(J===99&&kn(Ct,3)===110?100:J){case 100:case 108:case 109:case 115:Gl(t,vt,vt,a&&Ma(jd(t,vt,vt,0,0,u,y,Tt,u,Lt=[],Q,Mt),Mt),u,Mt,Q,y,a?Lt:Mt);break;default:Gl(Ct,vt,vt,vt,[""],Mt,0,y,Mt)}}O=D=et=0,ft=it=1,Tt=Ct="",Q=m;break;case 58:Q=1+Zi(Ct),et=ut;default:if(ft<1){if(yt==123)--ft;else if(yt==125&&ft++==0&&o_()==125)continue}switch(Ct+=yf(yt),yt*ft){case 38:it=D>0?1:(Ct+="\f",-1);break;case 44:y[O++]=(Zi(Ct)-1)*it,it=1;break;case 64:bo()===45&&(Ct+=Au(Oi())),J=bo(),D=Q=Zi(Tt=Ct+=h_(ql())),yt++;break;case 45:ut===45&&Zi(Ct)==2&&(ft=0)}}return h}function jd(t,r,s,a,u,h,m,y,x,O,D,Q){for(var J=u-1,et=u===0?h:[""],ut=ng(et),ft=0,pt=0,it=0;ft<a;++ft)for(var yt=0,Tt=Xo(t,J+1,J=eg(pt=m[ft])),Lt=t;yt<ut;++yt)(Lt=rg(pt>0?et[yt]+" "+Tt:Ye(Tt,/&\f/g,et[yt])))&&(x[it++]=Lt);return gc(t,r,s,u===0?dc:y,x,O,D,Q)}function p_(t,r,s,a){return gc(t,r,s,Zp,yf(s_()),Xo(t,2,-2),0,a)}function Dd(t,r,s,a,u){return gc(t,r,s,mf,Xo(t,0,a),Xo(t,a+1,-1),a,u)}function sg(t,r,s){switch(n_(t,r)){case 5103:return br+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return br+t+t;case 4789:return ja+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return br+t+ja+t+Dr+t+t;case 5936:switch(kn(t,r+11)){case 114:return br+t+Dr+Ye(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return br+t+Dr+Ye(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return br+t+Dr+Ye(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return br+t+Dr+t+t;case 6165:return br+t+Dr+"flex-"+t+t;case 5187:return br+t+Ye(t,/(\w+).+(:[^]+)/,br+"box-$1$2"+Dr+"flex-$1$2")+t;case 5443:return br+t+Dr+"flex-item-"+Ye(t,/flex-|-self/g,"")+(ks(t,/flex-|baseline/)?"":Dr+"grid-row-"+Ye(t,/flex-|-self/g,""))+t;case 4675:return br+t+Dr+"flex-line-pack"+Ye(t,/align-content|flex-|-self/g,"")+t;case 5548:return br+t+Dr+Ye(t,"shrink","negative")+t;case 5292:return br+t+Dr+Ye(t,"basis","preferred-size")+t;case 6060:return br+"box-"+Ye(t,"-grow","")+br+t+Dr+Ye(t,"grow","positive")+t;case 4554:return br+Ye(t,/([^-])(transform)/g,"$1"+br+"$2")+t;case 6187:return Ye(Ye(Ye(t,/(zoom-|grab)/,br+"$1"),/(image-set)/,br+"$1"),t,"")+t;case 5495:case 3959:return Ye(t,/(image-set\([^]*)/,br+"$1$`$1");case 4968:return Ye(Ye(t,/(.+:)(flex-)?(.*)/,br+"box-pack:$3"+Dr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+br+t+t;case 4200:if(!ks(t,/flex-|baseline/))return Dr+"grid-column-align"+Xo(t,r)+t;break;case 2592:case 3360:return Dr+Ye(t,"template-","")+t;case 4384:case 3616:return s&&s.some(function(a,u){return r=u,ks(a.props,/grid-\w+-end/)})?~Ul(t+(s=s[r].value),"span",0)?t:Dr+Ye(t,"-start","")+t+Dr+"grid-row-span:"+(~Ul(s,"span",0)?ks(s,/\d+/):+ks(s,/\d+/)-+ks(t,/\d+/))+";":Dr+Ye(t,"-start","")+t;case 4896:case 4128:return s&&s.some(function(a){return ks(a.props,/grid-\w+-start/)})?t:Dr+Ye(Ye(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return Ye(t,/(.+)-inline(.+)/,br+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zi(t)-1-r>6)switch(kn(t,r+1)){case 109:if(kn(t,r+4)!==45)break;case 102:return Ye(t,/(.+:)(.+)-([^]+)/,"$1"+br+"$2-$3$1"+ja+(kn(t,r+3)==108?"$3":"$2-$3"))+t;case 115:return~Ul(t,"stretch",0)?sg(Ye(t,"stretch","fill-available"),r,s)+t:t}break;case 5152:case 5920:return Ye(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(a,u,h,m,y,x,O){return Dr+u+":"+h+O+(m?Dr+u+"-span:"+(y?x:+x-+h)+O:"")+t});case 4949:if(kn(t,r+6)===121)return Ye(t,":",":"+br)+t;break;case 6444:switch(kn(t,kn(t,14)===45?18:11)){case 120:return Ye(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+br+(kn(t,14)===45?"inline-":"")+"box$3$1"+br+"$2$3$1"+Dr+"$2box$3")+t;case 100:return Ye(t,":",":"+Dr)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ye(t,"scroll-","scroll-snap-")+t}return t}function Xl(t,r){for(var s="",a=0;a<t.length;a++)s+=r(t[a],a,t,r)||"";return s}function g_(t,r,s,a){switch(t.type){case r_:if(t.children.length)break;case e_:case mf:return t.return=t.return||t.value;case Zp:return"";case tg:return t.return=t.value+"{"+Xl(t.children,a)+"}";case dc:if(!Zi(t.value=t.props.join(",")))return""}return Zi(s=Xl(t.children,a))?t.return=t.value+"{"+s+"}":""}function v_(t){var r=ng(t);return function(s,a,u,h){for(var m="",y=0;y<r;y++)m+=t[y](s,a,u,h)||"";return m}}function m_(t){return function(r){r.root||(r=r.return)&&t(r)}}function y_(t,r,s,a){if(t.length>-1&&!t.return)switch(t.type){case mf:t.return=sg(t.value,t.length,s);return;case tg:return Xl([Us(t,{value:Ye(t.value,"@","@"+br)})],a);case dc:if(t.length)return i_(s=t.props,function(u){switch(ks(u,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Uo(Us(t,{props:[Ye(u,/:(read-\w+)/,":"+ja+"$1")]})),Uo(Us(t,{props:[u]})),ju(t,{props:Fd(s,a)});break;case"::placeholder":Uo(Us(t,{props:[Ye(u,/:(plac\w+)/,":"+br+"input-$1")]})),Uo(Us(t,{props:[Ye(u,/:(plac\w+)/,":"+ja+"$1")]})),Uo(Us(t,{props:[Ye(u,/:(plac\w+)/,Dr+"input-$1")]})),Uo(Us(t,{props:[u]})),ju(t,{props:Fd(s,a)});break}return""})}}var b_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},So=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",og="active",ag="data-styled-version",mc="6.1.13",bf=`/*!sc*/
|
|
3
|
-
`,Jl=typeof window<"u"&&"HTMLElement"in window,w_=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Nd=/invalid hook call/i,Nl=new Set,__=function(t,r){if(process.env.NODE_ENV!=="production"){var s=r?' with the id of "'.concat(r,'"'):"",a="The component ".concat(t).concat(s,` has been created dynamically.
|
|
4
|
-
`)+`You may see this warning because you've called styled inside another component.
|
|
5
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,u=console.error;try{var h=!0;console.error=function(m){for(var y=[],x=1;x<arguments.length;x++)y[x-1]=arguments[x];Nd.test(m)?(h=!1,Nl.delete(a)):u.apply(void 0,Qo([m],y,!1))},X.useRef(),h&&!Nl.has(a)&&(console.warn(a),Nl.add(a))}catch(m){Nd.test(m.message)&&Nl.delete(a)}finally{console.error=u}}},yc=Object.freeze([]),Zo=Object.freeze({});function x_(t,r,s){return s===void 0&&(s=Zo),t.theme!==s.theme&&t.theme||r||s.theme}var Vu=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),S_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,C_=/(^-|-$)/g;function Vd(t){return t.replace(S_,"-").replace(C_,"")}var A_=/(a)(d)/gi,Vl=52,Bd=function(t){return String.fromCharCode(t+(t>25?39:97))};function Bu(t){var r,s="";for(r=Math.abs(t);r>Vl;r=r/Vl|0)s=Bd(r%Vl)+s;return(Bd(r%Vl)+s).replace(A_,"$1-$2")}var ku,lg=5381,mo=function(t,r){for(var s=r.length;s;)t=33*t^r.charCodeAt(--s);return t},cg=function(t){return mo(lg,t)};function k_(t){return Bu(cg(t)>>>0)}function ug(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function $u(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var fg=typeof Symbol=="function"&&Symbol.for,hg=fg?Symbol.for("react.memo"):60115,$_=fg?Symbol.for("react.forward_ref"):60112,E_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},T_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},P_=((ku={})[$_]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ku[hg]=dg,ku);function zd(t){return("type"in(r=t)&&r.type.$$typeof)===hg?dg:"$$typeof"in t?P_[t.$$typeof]:E_;var r}var R_=Object.defineProperty,I_=Object.getOwnPropertyNames,Wd=Object.getOwnPropertySymbols,O_=Object.getOwnPropertyDescriptor,M_=Object.getPrototypeOf,Ud=Object.prototype;function pg(t,r,s){if(typeof r!="string"){if(Ud){var a=M_(r);a&&a!==Ud&&pg(t,a,s)}var u=I_(r);Wd&&(u=u.concat(Wd(r)));for(var h=zd(t),m=zd(r),y=0;y<u.length;++y){var x=u[y];if(!(x in T_||s&&s[x]||m&&x in m||h&&x in h)){var O=O_(r,x);try{R_(t,x,O)}catch{}}}}return t}function Co(t){return typeof t=="function"}function wf(t){return typeof t=="object"&&"styledComponentId"in t}function yo(t,r){return t&&r?"".concat(t," ").concat(r):t||r||""}function qd(t,r){if(t.length===0)return"";for(var s=t[0],a=1;a<t.length;a++)s+=t[a];return s}function ta(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function zu(t,r,s){if(s===void 0&&(s=!1),!s&&!ta(t)&&!Array.isArray(t))return r;if(Array.isArray(r))for(var a=0;a<r.length;a++)t[a]=zu(t[a],r[a]);else if(ta(r))for(var a in r)t[a]=zu(t[a],r[a]);return t}function _f(t,r){Object.defineProperty(t,"toString",{value:r})}var L_=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
6
|
-
|
|
7
|
-
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
8
|
-
|
|
9
|
-
- Are you trying to reuse it across renders?
|
|
10
|
-
- Are you accidentally calling collectStyles twice?
|
|
11
|
-
|
|
12
|
-
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
13
|
-
|
|
14
|
-
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
15
|
-
|
|
16
|
-
- Does this error occur on the client and is your target falsy?
|
|
17
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
18
|
-
|
|
19
|
-
`,5:`The clone method cannot be used on the client!
|
|
20
|
-
|
|
21
|
-
- Are you running in a client-like environment on the server?
|
|
22
|
-
- Are you trying to run SSR on the client?
|
|
23
|
-
|
|
24
|
-
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
25
|
-
|
|
26
|
-
- Are you using a custom target that isn't mounted?
|
|
27
|
-
- Does your document not have a valid head element?
|
|
28
|
-
- Have you accidentally removed a style tag manually?
|
|
29
|
-
|
|
30
|
-
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
31
|
-
|
|
32
|
-
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
33
|
-
|
|
34
|
-
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
35
|
-
|
|
36
|
-
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
37
|
-
|
|
38
|
-
`,14:`ThemeProvider: "theme" prop is required.
|
|
39
|
-
|
|
40
|
-
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
41
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
42
|
-
as for instance in your render method then you may be running into this limitation.
|
|
43
|
-
|
|
44
|
-
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
45
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
46
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function F_(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s=t[0],a=[],u=1,h=t.length;u<h;u+=1)a.push(t[u]);return a.forEach(function(m){s=s.replace(/%[a-z]/,m)}),s}function ts(t){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(r.length>0?" Args: ".concat(r.join(", ")):"")):new Error(F_.apply(void 0,Qo([L_[t]],r,!1)).trim())}var j_=function(){function t(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}return t.prototype.indexOfGroup=function(r){for(var s=0,a=0;a<r;a++)s+=this.groupSizes[a];return s},t.prototype.insertRules=function(r,s){if(r>=this.groupSizes.length){for(var a=this.groupSizes,u=a.length,h=u;r>=h;)if((h<<=1)<0)throw ts(16,"".concat(r));this.groupSizes=new Uint32Array(h),this.groupSizes.set(a),this.length=h;for(var m=u;m<h;m++)this.groupSizes[m]=0}for(var y=this.indexOfGroup(r+1),x=(m=0,s.length);m<x;m++)this.tag.insertRule(y,s[m])&&(this.groupSizes[r]++,y++)},t.prototype.clearGroup=function(r){if(r<this.length){var s=this.groupSizes[r],a=this.indexOfGroup(r),u=a+s;this.groupSizes[r]=0;for(var h=a;h<u;h++)this.tag.deleteRule(a)}},t.prototype.getGroup=function(r){var s="";if(r>=this.length||this.groupSizes[r]===0)return s;for(var a=this.groupSizes[r],u=this.indexOfGroup(r),h=u+a,m=u;m<h;m++)s+="".concat(this.tag.getRule(m)).concat(bf);return s},t}(),D_=1<<30,Hl=new Map,Zl=new Map,Yl=1,Bl=function(t){if(Hl.has(t))return Hl.get(t);for(;Zl.has(Yl);)Yl++;var r=Yl++;if(process.env.NODE_ENV!=="production"&&((0|r)<0||r>D_))throw ts(16,"".concat(r));return Hl.set(t,r),Zl.set(r,t),r},N_=function(t,r){Yl=r+1,Hl.set(t,r),Zl.set(r,t)},V_="style[".concat(So,"][").concat(ag,'="').concat(mc,'"]'),B_=new RegExp("^".concat(So,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),z_=function(t,r,s){for(var a,u=s.split(","),h=0,m=u.length;h<m;h++)(a=u[h])&&t.registerName(r,a)},W_=function(t,r){for(var s,a=((s=r.textContent)!==null&&s!==void 0?s:"").split(bf),u=[],h=0,m=a.length;h<m;h++){var y=a[h].trim();if(y){var x=y.match(B_);if(x){var O=0|parseInt(x[1],10),D=x[2];O!==0&&(N_(D,O),z_(t,D,x[3]),t.getTag().insertRules(O,u)),u.length=0}else u.push(y)}}},Gd=function(t){for(var r=document.querySelectorAll(V_),s=0,a=r.length;s<a;s++){var u=r[s];u&&u.getAttribute(So)!==og&&(W_(t,u),u.parentNode&&u.parentNode.removeChild(u))}};function U_(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var gg=function(t){var r=document.head,s=t||r,a=document.createElement("style"),u=function(y){var x=Array.from(y.querySelectorAll("style[".concat(So,"]")));return x[x.length-1]}(s),h=u!==void 0?u.nextSibling:null;a.setAttribute(So,og),a.setAttribute(ag,mc);var m=U_();return m&&a.setAttribute("nonce",m),s.insertBefore(a,h),a},q_=function(){function t(r){this.element=gg(r),this.element.appendChild(document.createTextNode("")),this.sheet=function(s){if(s.sheet)return s.sheet;for(var a=document.styleSheets,u=0,h=a.length;u<h;u++){var m=a[u];if(m.ownerNode===s)return m}throw ts(17)}(this.element),this.length=0}return t.prototype.insertRule=function(r,s){try{return this.sheet.insertRule(s,r),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},t.prototype.getRule=function(r){var s=this.sheet.cssRules[r];return s&&s.cssText?s.cssText:""},t}(),G_=function(){function t(r){this.element=gg(r),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(r,s){if(r<=this.length&&r>=0){var a=document.createTextNode(s);return this.element.insertBefore(a,this.nodes[r]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},t.prototype.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},t}(),H_=function(){function t(r){this.rules=[],this.length=0}return t.prototype.insertRule=function(r,s){return r<=this.length&&(this.rules.splice(r,0,s),this.length++,!0)},t.prototype.deleteRule=function(r){this.rules.splice(r,1),this.length--},t.prototype.getRule=function(r){return r<this.length?this.rules[r]:""},t}(),Hd=Jl,Y_={isServer:!Jl,useCSSOMInjection:!w_},vg=function(){function t(r,s,a){r===void 0&&(r=Zo),s===void 0&&(s={});var u=this;this.options=Dn(Dn({},Y_),r),this.gs=s,this.names=new Map(a),this.server=!!r.isServer,!this.server&&Jl&&Hd&&(Hd=!1,Gd(this)),_f(this,function(){return function(h){for(var m=h.getTag(),y=m.length,x="",O=function(Q){var J=function(it){return Zl.get(it)}(Q);if(J===void 0)return"continue";var et=h.names.get(J),ut=m.getGroup(Q);if(et===void 0||!et.size||ut.length===0)return"continue";var ft="".concat(So,".g").concat(Q,'[id="').concat(J,'"]'),pt="";et!==void 0&&et.forEach(function(it){it.length>0&&(pt+="".concat(it,","))}),x+="".concat(ut).concat(ft,'{content:"').concat(pt,'"}').concat(bf)},D=0;D<y;D++)O(D);return x}(u)})}return t.registerId=function(r){return Bl(r)},t.prototype.rehydrate=function(){!this.server&&Jl&&Gd(this)},t.prototype.reconstructWithOptions=function(r,s){return s===void 0&&(s=!0),new t(Dn(Dn({},this.options),r),this.gs,s&&this.names||void 0)},t.prototype.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(r=function(s){var a=s.useCSSOMInjection,u=s.target;return s.isServer?new H_(u):a?new q_(u):new G_(u)}(this.options),new j_(r)));var r},t.prototype.hasNameForId=function(r,s){return this.names.has(r)&&this.names.get(r).has(s)},t.prototype.registerName=function(r,s){if(Bl(r),this.names.has(r))this.names.get(r).add(s);else{var a=new Set;a.add(s),this.names.set(r,a)}},t.prototype.insertRules=function(r,s,a){this.registerName(r,s),this.getTag().insertRules(Bl(r),a)},t.prototype.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},t.prototype.clearRules=function(r){this.getTag().clearGroup(Bl(r)),this.clearNames(r)},t.prototype.clearTag=function(){this.tag=void 0},t}(),K_=/&/g,Q_=/^\s*\/\/.*$/gm;function mg(t,r){return t.map(function(s){return s.type==="rule"&&(s.value="".concat(r," ").concat(s.value),s.value=s.value.replaceAll(",",",".concat(r," ")),s.props=s.props.map(function(a){return"".concat(r," ").concat(a)})),Array.isArray(s.children)&&s.type!=="@keyframes"&&(s.children=mg(s.children,r)),s})}function X_(t){var r,s,a,u=Zo,h=u.options,m=h===void 0?Zo:h,y=u.plugins,x=y===void 0?yc:y,O=function(J,et,ut){return ut.startsWith(s)&&ut.endsWith(s)&&ut.replaceAll(s,"").length>0?".".concat(r):J},D=x.slice();D.push(function(J){J.type===dc&&J.value.includes("&")&&(J.props[0]=J.props[0].replace(K_,s).replace(a,O))}),m.prefix&&D.push(y_),D.push(g_);var Q=function(J,et,ut,ft){et===void 0&&(et=""),ut===void 0&&(ut=""),ft===void 0&&(ft="&"),r=ft,s=et,a=new RegExp("\\".concat(s,"\\b"),"g");var pt=J.replace(Q_,""),it=d_(ut||et?"".concat(ut," ").concat(et," { ").concat(pt," }"):pt);m.namespace&&(it=mg(it,m.namespace));var yt=[];return Xl(it,v_(D.concat(m_(function(Tt){return yt.push(Tt)})))),yt};return Q.hash=x.length?x.reduce(function(J,et){return et.name||ts(15),mo(J,et.name)},lg).toString():"",Q}var J_=new vg,Wu=X_(),yg=X.createContext({shouldForwardProp:void 0,styleSheet:J_,stylis:Wu});yg.Consumer;X.createContext(void 0);function Yd(){return X.useContext(yg)}var Kd=function(){function t(r,s){var a=this;this.inject=function(u,h){h===void 0&&(h=Wu);var m=a.name+h.hash;u.hasNameForId(a.id,m)||u.insertRules(a.id,m,h(a.rules,m,"@keyframes"))},this.name=r,this.id="sc-keyframes-".concat(r),this.rules=s,_f(this,function(){throw ts(12,String(a.name))})}return t.prototype.getName=function(r){return r===void 0&&(r=Wu),this.name+r.hash},t}(),Z_=function(t){return t>="A"&&t<="Z"};function Qd(t){for(var r="",s=0;s<t.length;s++){var a=t[s];if(s===1&&a==="-"&&t[0]==="-")return t;Z_(a)?r+="-"+a.toLowerCase():r+=a}return r.startsWith("ms-")?"-"+r:r}var bg=function(t){return t==null||t===!1||t===""},wg=function(t){var r,s,a=[];for(var u in t){var h=t[u];t.hasOwnProperty(u)&&!bg(h)&&(Array.isArray(h)&&h.isCss||Co(h)?a.push("".concat(Qd(u),":"),h,";"):ta(h)?a.push.apply(a,Qo(Qo(["".concat(u," {")],wg(h),!1),["}"],!1)):a.push("".concat(Qd(u),": ").concat((r=u,(s=h)==null||typeof s=="boolean"||s===""?"":typeof s!="number"||s===0||r in b_||r.startsWith("--")?String(s).trim():"".concat(s,"px")),";")))}return a};function wo(t,r,s,a){if(bg(t))return[];if(wf(t))return[".".concat(t.styledComponentId)];if(Co(t)){if(!Co(h=t)||h.prototype&&h.prototype.isReactComponent||!r)return[t];var u=t(r);return process.env.NODE_ENV==="production"||typeof u!="object"||Array.isArray(u)||u instanceof Kd||ta(u)||u===null||console.error("".concat(ug(t)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),wo(u,r,s,a)}var h;return t instanceof Kd?s?(t.inject(s,a),[t.getName(a)]):[t]:ta(t)?wg(t):Array.isArray(t)?Array.prototype.concat.apply(yc,t.map(function(m){return wo(m,r,s,a)})):[t.toString()]}function tx(t){for(var r=0;r<t.length;r+=1){var s=t[r];if(Co(s)&&!wf(s))return!1}return!0}var ex=cg(mc),rx=function(){function t(r,s,a){this.rules=r,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(a===void 0||a.isStatic)&&tx(r),this.componentId=s,this.baseHash=mo(ex,s),this.baseStyle=a,vg.registerId(s)}return t.prototype.generateAndInjectStyles=function(r,s,a){var u=this.baseStyle?this.baseStyle.generateAndInjectStyles(r,s,a):"";if(this.isStatic&&!a.hash)if(this.staticRulesId&&s.hasNameForId(this.componentId,this.staticRulesId))u=yo(u,this.staticRulesId);else{var h=qd(wo(this.rules,r,s,a)),m=Bu(mo(this.baseHash,h)>>>0);if(!s.hasNameForId(this.componentId,m)){var y=a(h,".".concat(m),void 0,this.componentId);s.insertRules(this.componentId,m,y)}u=yo(u,m),this.staticRulesId=m}else{for(var x=mo(this.baseHash,a.hash),O="",D=0;D<this.rules.length;D++){var Q=this.rules[D];if(typeof Q=="string")O+=Q,process.env.NODE_ENV!=="production"&&(x=mo(x,Q));else if(Q){var J=qd(wo(Q,r,s,a));x=mo(x,J+D),O+=J}}if(O){var et=Bu(x>>>0);s.hasNameForId(this.componentId,et)||s.insertRules(this.componentId,et,a(O,".".concat(et),void 0,this.componentId)),u=yo(u,et)}}return u},t}(),Na=X.createContext(void 0);Na.Consumer;function $n(){var t=X.useContext(Na);if(!t)throw ts(18);return t}function nx(t){var r=X.useContext(Na),s=X.useMemo(function(){return function(a,u){if(!a)throw ts(14);if(Co(a)){var h=a(u);if(process.env.NODE_ENV!=="production"&&(h===null||Array.isArray(h)||typeof h!="object"))throw ts(7);return h}if(Array.isArray(a)||typeof a!="object")throw ts(8);return u?Dn(Dn({},u),a):a}(t.theme,r)},[t.theme,r]);return t.children?X.createElement(Na.Provider,{value:s},t.children):null}var Eu={},Xd=new Set;function ix(t,r,s){var a=wf(t),u=t,h=!$u(t),m=r.attrs,y=m===void 0?yc:m,x=r.componentId,O=x===void 0?function(Lt,Mt){var vt=typeof Lt!="string"?"sc":Vd(Lt);Eu[vt]=(Eu[vt]||0)+1;var Ct="".concat(vt,"-").concat(k_(mc+vt+Eu[vt]));return Mt?"".concat(Mt,"-").concat(Ct):Ct}(r.displayName,r.parentComponentId):x,D=r.displayName,Q=D===void 0?function(Lt){return $u(Lt)?"styled.".concat(Lt):"Styled(".concat(ug(Lt),")")}(t):D,J=r.displayName&&r.componentId?"".concat(Vd(r.displayName),"-").concat(r.componentId):r.componentId||O,et=a&&u.attrs?u.attrs.concat(y).filter(Boolean):y,ut=r.shouldForwardProp;if(a&&u.shouldForwardProp){var ft=u.shouldForwardProp;if(r.shouldForwardProp){var pt=r.shouldForwardProp;ut=function(Lt,Mt){return ft(Lt,Mt)&&pt(Lt,Mt)}}else ut=ft}var it=new rx(s,J,a?u.componentStyle:void 0);function yt(Lt,Mt){return function(vt,Ct,qt){var ie=vt.attrs,de=vt.componentStyle,me=vt.defaultProps,Me=vt.foldedComponentIds,xe=vt.styledComponentId,ct=vt.target,dt=X.useContext(Na),St=Yd(),wt=vt.shouldForwardProp||St.shouldForwardProp;process.env.NODE_ENV!=="production"&&X.useDebugValue(xe);var It=x_(Ct,dt,me)||Zo,zt=function(Yt,er,rr){for(var Nt,te=Dn(Dn({},er),{className:void 0,theme:rr}),Ie=0;Ie<Yt.length;Ie+=1){var Le=Co(Nt=Yt[Ie])?Nt(te):Nt;for(var Ke in Le)te[Ke]=Ke==="className"?yo(te[Ke],Le[Ke]):Ke==="style"?Dn(Dn({},te[Ke]),Le[Ke]):Le[Ke]}return er.className&&(te.className=yo(te.className,er.className)),te}(ie,Ct,It),jt=zt.as||ct,ne={};for(var se in zt)zt[se]===void 0||se[0]==="$"||se==="as"||se==="theme"&&zt.theme===It||(se==="forwardedAs"?ne.as=zt.forwardedAs:wt&&!wt(se,jt)||(ne[se]=zt[se],wt||process.env.NODE_ENV!=="development"||t_(se)||Xd.has(se)||!Vu.has(jt)||(Xd.add(se),console.warn('styled-components: it looks like an unknown prop "'.concat(se,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Gt=function(Yt,er){var rr=Yd(),Nt=Yt.generateAndInjectStyles(er,rr.styleSheet,rr.stylis);return process.env.NODE_ENV!=="production"&&X.useDebugValue(Nt),Nt}(de,zt);process.env.NODE_ENV!=="production"&&vt.warnTooManyClasses&&vt.warnTooManyClasses(Gt);var De=yo(Me,xe);return Gt&&(De+=" "+Gt),zt.className&&(De+=" "+zt.className),ne[$u(jt)&&!Vu.has(jt)?"class":"className"]=De,ne.ref=qt,X.createElement(jt,ne)}(Tt,Lt,Mt)}yt.displayName=Q;var Tt=X.forwardRef(yt);return Tt.attrs=et,Tt.componentStyle=it,Tt.displayName=Q,Tt.shouldForwardProp=ut,Tt.foldedComponentIds=a?yo(u.foldedComponentIds,u.styledComponentId):"",Tt.styledComponentId=J,Tt.target=a?u.target:t,Object.defineProperty(Tt,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Lt){this._foldedDefaultProps=a?function(Mt){for(var vt=[],Ct=1;Ct<arguments.length;Ct++)vt[Ct-1]=arguments[Ct];for(var qt=0,ie=vt;qt<ie.length;qt++)zu(Mt,ie[qt],!0);return Mt}({},u.defaultProps,Lt):Lt}}),process.env.NODE_ENV!=="production"&&(__(Q,J),Tt.warnTooManyClasses=function(Lt,Mt){var vt={},Ct=!1;return function(qt){if(!Ct&&(vt[qt]=!0,Object.keys(vt).length>=200)){var ie=Mt?' with the id of "'.concat(Mt,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(Lt).concat(ie,`.
|
|
47
|
-
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
48
|
-
Example:
|
|
49
|
-
const Component = styled.div.attrs(props => ({
|
|
50
|
-
style: {
|
|
51
|
-
background: props.background,
|
|
52
|
-
},
|
|
53
|
-
}))\`width: 100%;\`
|
|
54
|
-
|
|
55
|
-
<Component />`),Ct=!0,vt={}}}}(Q,J)),_f(Tt,function(){return".".concat(Tt.styledComponentId)}),h&&pg(Tt,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),Tt}function Jd(t,r){for(var s=[t[0]],a=0,u=r.length;a<u;a+=1)s.push(r[a],t[a+1]);return s}var Zd=function(t){return Object.assign(t,{isCss:!0})};function _g(t){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];if(Co(t)||ta(t))return Zd(wo(Jd(yc,Qo([t],r,!0))));var a=t;return r.length===0&&a.length===1&&typeof a[0]=="string"?wo(a):Zd(wo(Jd(a,r)))}function Uu(t,r,s){if(s===void 0&&(s=Zo),!r)throw ts(1,r);var a=function(u){for(var h=[],m=1;m<arguments.length;m++)h[m-1]=arguments[m];return t(r,s,_g.apply(void 0,Qo([u],h,!1)))};return a.attrs=function(u){return Uu(t,r,Dn(Dn({},s),{attrs:Array.prototype.concat(s.attrs,u).filter(Boolean)}))},a.withConfig=function(u){return Uu(t,r,Dn(Dn({},s),u))},a}var xg=function(t){return Uu(ix,t)},Bt=xg;Vu.forEach(function(t){Bt[t]=xg(t)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
56
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
57
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var zl="__sc-".concat(So,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[zl]||(window[zl]=0),window[zl]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
58
|
-
|
|
59
|
-
See https://s-c.sh/2BAXzed for more info.`),window[zl]+=1);var qu={exports:{}},Ra={};/**
|
|
60
|
-
* @license React
|
|
61
|
-
* react-jsx-runtime.production.min.js
|
|
62
|
-
*
|
|
63
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/var tp;function sx(){if(tp)return Ra;tp=1;var t=X,r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function m(y,x,O){var D,Q={},J=null,et=null;O!==void 0&&(J=""+O),x.key!==void 0&&(J=""+x.key),x.ref!==void 0&&(et=x.ref);for(D in x)a.call(x,D)&&!h.hasOwnProperty(D)&&(Q[D]=x[D]);if(y&&y.defaultProps)for(D in x=y.defaultProps,x)Q[D]===void 0&&(Q[D]=x[D]);return{$$typeof:r,type:y,key:J,ref:et,props:Q,_owner:u.current}}return Ra.Fragment=s,Ra.jsx=m,Ra.jsxs=m,Ra}var Ia={};/**
|
|
68
|
-
* @license React
|
|
69
|
-
* react-jsx-runtime.development.js
|
|
70
|
-
*
|
|
71
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the MIT license found in the
|
|
74
|
-
* LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/var ep;function ox(){return ep||(ep=1,process.env.NODE_ENV!=="production"&&function(){var t=X,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),et=Symbol.for("react.offscreen"),ut=Symbol.iterator,ft="@@iterator";function pt(q){if(q===null||typeof q!="object")return null;var _t=ut&&q[ut]||q[ft];return typeof _t=="function"?_t:null}var it=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function yt(q){{for(var _t=arguments.length,Rt=new Array(_t>1?_t-1:0),Kt=1;Kt<_t;Kt++)Rt[Kt-1]=arguments[Kt];Tt("error",q,Rt)}}function Tt(q,_t,Rt){{var Kt=it.ReactDebugCurrentFrame,At=Kt.getStackAddendum();At!==""&&(_t+="%s",Rt=Rt.concat([At]));var ae=Rt.map(function(Ce){return String(Ce)});ae.unshift("Warning: "+_t),Function.prototype.apply.call(console[q],console,ae)}}var Lt=!1,Mt=!1,vt=!1,Ct=!1,qt=!1,ie;ie=Symbol.for("react.module.reference");function de(q){return!!(typeof q=="string"||typeof q=="function"||q===a||q===h||qt||q===u||q===O||q===D||Ct||q===et||Lt||Mt||vt||typeof q=="object"&&q!==null&&(q.$$typeof===J||q.$$typeof===Q||q.$$typeof===m||q.$$typeof===y||q.$$typeof===x||q.$$typeof===ie||q.getModuleId!==void 0))}function me(q,_t,Rt){var Kt=q.displayName;if(Kt)return Kt;var At=_t.displayName||_t.name||"";return At!==""?Rt+"("+At+")":Rt}function Me(q){return q.displayName||"Context"}function xe(q){if(q==null)return null;if(typeof q.tag=="number"&&yt("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof q=="function")return q.displayName||q.name||null;if(typeof q=="string")return q;switch(q){case a:return"Fragment";case s:return"Portal";case h:return"Profiler";case u:return"StrictMode";case O:return"Suspense";case D:return"SuspenseList"}if(typeof q=="object")switch(q.$$typeof){case y:var _t=q;return Me(_t)+".Consumer";case m:var Rt=q;return Me(Rt._context)+".Provider";case x:return me(q,q.render,"ForwardRef");case Q:var Kt=q.displayName||null;return Kt!==null?Kt:xe(q.type)||"Memo";case J:{var At=q,ae=At._payload,Ce=At._init;try{return xe(Ce(ae))}catch{return null}}}return null}var ct=Object.assign,dt=0,St,wt,It,zt,jt,ne,se;function Gt(){}Gt.__reactDisabledLog=!0;function De(){{if(dt===0){St=console.log,wt=console.info,It=console.warn,zt=console.error,jt=console.group,ne=console.groupCollapsed,se=console.groupEnd;var q={configurable:!0,enumerable:!0,value:Gt,writable:!0};Object.defineProperties(console,{info:q,log:q,warn:q,error:q,group:q,groupCollapsed:q,groupEnd:q})}dt++}}function Yt(){{if(dt--,dt===0){var q={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ct({},q,{value:St}),info:ct({},q,{value:wt}),warn:ct({},q,{value:It}),error:ct({},q,{value:zt}),group:ct({},q,{value:jt}),groupCollapsed:ct({},q,{value:ne}),groupEnd:ct({},q,{value:se})})}dt<0&&yt("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var er=it.ReactCurrentDispatcher,rr;function Nt(q,_t,Rt){{if(rr===void 0)try{throw Error()}catch(At){var Kt=At.stack.trim().match(/\n( *(at )?)/);rr=Kt&&Kt[1]||""}return`
|
|
76
|
-
`+rr+q}}var te=!1,Ie;{var Le=typeof WeakMap=="function"?WeakMap:Map;Ie=new Le}function Ke(q,_t){if(!q||te)return"";{var Rt=Ie.get(q);if(Rt!==void 0)return Rt}var Kt;te=!0;var At=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=er.current,er.current=null,De();try{if(_t){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(_e){Kt=_e}Reflect.construct(q,[],Ce)}else{try{Ce.call()}catch(_e){Kt=_e}q.call(Ce.prototype)}}else{try{throw Error()}catch(_e){Kt=_e}q()}}catch(_e){if(_e&&Kt&&typeof _e.stack=="string"){for(var ve=_e.stack.split(`
|
|
77
|
-
`),Ue=Kt.stack.split(`
|
|
78
|
-
`),ue=ve.length-1,Ve=Ue.length-1;ue>=1&&Ve>=0&&ve[ue]!==Ue[Ve];)Ve--;for(;ue>=1&&Ve>=0;ue--,Ve--)if(ve[ue]!==Ue[Ve]){if(ue!==1||Ve!==1)do if(ue--,Ve--,Ve<0||ve[ue]!==Ue[Ve]){var dr=`
|
|
79
|
-
`+ve[ue].replace(" at new "," at ");return q.displayName&&dr.includes("<anonymous>")&&(dr=dr.replace("<anonymous>",q.displayName)),typeof q=="function"&&Ie.set(q,dr),dr}while(ue>=1&&Ve>=0);break}}}finally{te=!1,er.current=ae,Yt(),Error.prepareStackTrace=At}var Qe=q?q.displayName||q.name:"",Rn=Qe?Nt(Qe):"";return typeof q=="function"&&Ie.set(q,Rn),Rn}function Pe(q,_t,Rt){return Ke(q,!1)}function ze(q){var _t=q.prototype;return!!(_t&&_t.isReactComponent)}function We(q,_t,Rt){if(q==null)return"";if(typeof q=="function")return Ke(q,ze(q));if(typeof q=="string")return Nt(q);switch(q){case O:return Nt("Suspense");case D:return Nt("SuspenseList")}if(typeof q=="object")switch(q.$$typeof){case x:return Pe(q.render);case Q:return We(q.type,_t,Rt);case J:{var Kt=q,At=Kt._payload,ae=Kt._init;try{return We(ae(At),_t,Rt)}catch{}}}return""}var ce=Object.prototype.hasOwnProperty,Se={},Wr=it.ReactDebugCurrentFrame;function fe(q){if(q){var _t=q._owner,Rt=We(q.type,q._source,_t?_t.type:null);Wr.setExtraStackFrame(Rt)}else Wr.setExtraStackFrame(null)}function fr(q,_t,Rt,Kt,At){{var ae=Function.call.bind(ce);for(var Ce in q)if(ae(q,Ce)){var ve=void 0;try{if(typeof q[Ce]!="function"){var Ue=Error((Kt||"React class")+": "+Rt+" type `"+Ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof q[Ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ue.name="Invariant Violation",Ue}ve=q[Ce](_t,Ce,Kt,Rt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ue){ve=ue}ve&&!(ve instanceof Error)&&(fe(At),yt("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Kt||"React class",Rt,Ce,typeof ve),fe(null)),ve instanceof Error&&!(ve.message in Se)&&(Se[ve.message]=!0,fe(At),yt("Failed %s type: %s",Rt,ve.message),fe(null))}}}var ur=Array.isArray;function Pr(q){return ur(q)}function Ur(q){{var _t=typeof Symbol=="function"&&Symbol.toStringTag,Rt=_t&&q[Symbol.toStringTag]||q.constructor.name||"Object";return Rt}}function Vr(q){try{return $r(q),!1}catch{return!0}}function $r(q){return""+q}function rn(q){if(Vr(q))return yt("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ur(q)),$r(q)}var Sr=it.ReactCurrentOwner,Je={key:!0,ref:!0,__self:!0,__source:!0},Br,Kr,Ne;Ne={};function ye(q){if(ce.call(q,"ref")){var _t=Object.getOwnPropertyDescriptor(q,"ref").get;if(_t&&_t.isReactWarning)return!1}return q.ref!==void 0}function we(q){if(ce.call(q,"key")){var _t=Object.getOwnPropertyDescriptor(q,"key").get;if(_t&&_t.isReactWarning)return!1}return q.key!==void 0}function pe(q,_t){if(typeof q.ref=="string"&&Sr.current&&_t&&Sr.current.stateNode!==_t){var Rt=xe(Sr.current.type);Ne[Rt]||(yt('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',xe(Sr.current.type),q.ref),Ne[Rt]=!0)}}function Mr(q,_t){{var Rt=function(){Br||(Br=!0,yt("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",_t))};Rt.isReactWarning=!0,Object.defineProperty(q,"key",{get:Rt,configurable:!0})}}function nn(q,_t){{var Rt=function(){Kr||(Kr=!0,yt("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",_t))};Rt.isReactWarning=!0,Object.defineProperty(q,"ref",{get:Rt,configurable:!0})}}var qr=function(q,_t,Rt,Kt,At,ae,Ce){var ve={$$typeof:r,type:q,key:_t,ref:Rt,props:Ce,_owner:ae};return ve._store={},Object.defineProperty(ve._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ve,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Kt}),Object.defineProperty(ve,"_source",{configurable:!1,enumerable:!1,writable:!1,value:At}),Object.freeze&&(Object.freeze(ve.props),Object.freeze(ve)),ve};function Qr(q,_t,Rt,Kt,At){{var ae,Ce={},ve=null,Ue=null;Rt!==void 0&&(rn(Rt),ve=""+Rt),we(_t)&&(rn(_t.key),ve=""+_t.key),ye(_t)&&(Ue=_t.ref,pe(_t,At));for(ae in _t)ce.call(_t,ae)&&!Je.hasOwnProperty(ae)&&(Ce[ae]=_t[ae]);if(q&&q.defaultProps){var ue=q.defaultProps;for(ae in ue)Ce[ae]===void 0&&(Ce[ae]=ue[ae])}if(ve||Ue){var Ve=typeof q=="function"?q.displayName||q.name||"Unknown":q;ve&&Mr(Ce,Ve),Ue&&nn(Ce,Ve)}return qr(q,ve,Ue,At,Kt,Sr.current,Ce)}}var Rr=it.ReactCurrentOwner,fn=it.ReactDebugCurrentFrame;function Ht(q){if(q){var _t=q._owner,Rt=We(q.type,q._source,_t?_t.type:null);fn.setExtraStackFrame(Rt)}else fn.setExtraStackFrame(null)}var Er;Er=!1;function Xr(q){return typeof q=="object"&&q!==null&&q.$$typeof===r}function pr(){{if(Rr.current){var q=xe(Rr.current.type);if(q)return`
|
|
80
|
-
|
|
81
|
-
Check the render method of \``+q+"`."}return""}}function Gr(q){return""}var oe={};function Fe(q){{var _t=pr();if(!_t){var Rt=typeof q=="string"?q:q.displayName||q.name;Rt&&(_t=`
|
|
82
|
-
|
|
83
|
-
Check the top-level render call using <`+Rt+">.")}return _t}}function Cr(q,_t){{if(!q._store||q._store.validated||q.key!=null)return;q._store.validated=!0;var Rt=Fe(_t);if(oe[Rt])return;oe[Rt]=!0;var Kt="";q&&q._owner&&q._owner!==Rr.current&&(Kt=" It was passed a child from "+xe(q._owner.type)+"."),Ht(q),yt('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Rt,Kt),Ht(null)}}function vn(q,_t){{if(typeof q!="object")return;if(Pr(q))for(var Rt=0;Rt<q.length;Rt++){var Kt=q[Rt];Xr(Kt)&&Cr(Kt,_t)}else if(Xr(q))q._store&&(q._store.validated=!0);else if(q){var At=pt(q);if(typeof At=="function"&&At!==q.entries)for(var ae=At.call(q),Ce;!(Ce=ae.next()).done;)Xr(Ce.value)&&Cr(Ce.value,_t)}}}function Vt(q){{var _t=q.type;if(_t==null||typeof _t=="string")return;var Rt;if(typeof _t=="function")Rt=_t.propTypes;else if(typeof _t=="object"&&(_t.$$typeof===x||_t.$$typeof===Q))Rt=_t.propTypes;else return;if(Rt){var Kt=xe(_t);fr(Rt,q.props,"prop",Kt,q)}else if(_t.PropTypes!==void 0&&!Er){Er=!0;var At=xe(_t);yt("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof _t.getDefaultProps=="function"&&!_t.getDefaultProps.isReactClassApproved&&yt("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ee(q){{for(var _t=Object.keys(q.props),Rt=0;Rt<_t.length;Rt++){var Kt=_t[Rt];if(Kt!=="children"&&Kt!=="key"){Ht(q),yt("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Kt),Ht(null);break}}q.ref!==null&&(Ht(q),yt("Invalid attribute `ref` supplied to `React.Fragment`."),Ht(null))}}function Pt(q,_t,Rt,Kt,At,ae){{var Ce=de(q);if(!Ce){var ve="";(q===void 0||typeof q=="object"&&q!==null&&Object.keys(q).length===0)&&(ve+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ue=Gr();Ue?ve+=Ue:ve+=pr();var ue;q===null?ue="null":Pr(q)?ue="array":q!==void 0&&q.$$typeof===r?(ue="<"+(xe(q.type)||"Unknown")+" />",ve=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof q,yt("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,ve)}var Ve=Qr(q,_t,Rt,At,ae);if(Ve==null)return Ve;if(Ce){var dr=_t.children;if(dr!==void 0)if(Kt)if(Pr(dr)){for(var Qe=0;Qe<dr.length;Qe++)vn(dr[Qe],q);Object.freeze&&Object.freeze(dr)}else yt("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else vn(dr,q)}return q===a?ee(Ve):Vt(Ve),Ve}}function Re(q,_t,Rt){return Pt(q,_t,Rt,!0)}function mr(q,_t,Rt){return Pt(q,_t,Rt,!1)}var sn=mr,hr=Re;Ia.Fragment=a,Ia.jsx=sn,Ia.jsxs=hr}()),Ia}process.env.NODE_ENV==="production"?qu.exports=sx():qu.exports=ox();var H=qu.exports;const ax={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},lx={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},cx={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},ux={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},fx={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},hx={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},dx={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},px={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},gx={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},vx={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},mx={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},yx={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},bx=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","sidebar","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],wx=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],ge={typography:gx,shadows:vx,breakpoints:mx,spacing:yx,palette:{primary:lx,complementary:cx,error:ux,info:dx,warning:fx,success:hx,black:"#0c111d",white:"#ffffff",gray:ax,gradients:px}},_x=({children:t})=>H.jsx(nx,{theme:ge,children:t}),Te=(t,r)=>r===void 0?"":`${t}: ${r};`,Ga=t=>{const r=t.py??t.pt??0,s=t.px??t.pr??0,a=t.py??t.pb??0,u=t.px??t.pl??0;if(t.padding){const[h,m,y,x]=t.padding;return`padding: ${ge.spacing[h]} ${ge.spacing[m]} ${ge.spacing[y]} ${ge.spacing[x]};`}return`padding: ${ge.spacing[r]} ${ge.spacing[s]} ${ge.spacing[a]} ${ge.spacing[u]};`},Ha=t=>{const r=t.my??t.mt??0,s=t.mx??t.mr??0,a=t.my??t.mb??0,u=t.mx??t.ml??0;if(t.margin){const[h,m,y,x]=t.margin;return`margin: ${ge.spacing[h]} ${ge.spacing[m]} ${ge.spacing[y]} ${ge.spacing[x]};`}return`margin: ${ge.spacing[r]} ${ge.spacing[s]} ${ge.spacing[a]} ${ge.spacing[u]};`},Ya=t=>{const r=Te("position",t.position),s=Te("top",t.top),a=Te("right",t.right),u=Te("bottom",t.bottom),h=Te("left",t.left),m=Te("z-index",t.zIndex);return`
|
|
84
|
-
${r}
|
|
85
|
-
${s}
|
|
86
|
-
${a}
|
|
87
|
-
${u}
|
|
88
|
-
${h}
|
|
89
|
-
${m}
|
|
90
|
-
`},Ka=t=>{const r=Te("border",t.border),s=Te("border-top",t.borderTop),a=Te("border-right",t.borderRight),u=Te("border-bottom",t.borderBottom),h=Te("border-left",t.borderLeft),m=Te("border-color",t.borderColor),y=Te("border-radius",t.borderRadius);return`
|
|
91
|
-
${r}
|
|
92
|
-
${s}
|
|
93
|
-
${a}
|
|
94
|
-
${u}
|
|
95
|
-
${h}
|
|
96
|
-
${m}
|
|
97
|
-
${y}
|
|
98
|
-
`},xx=t=>t.includes("x")?"overflow-x: auto;":"",Sx=t=>t.includes("y")?"overflow-y: auto;":"",Qa=t=>{const r=t.scroll?`
|
|
99
|
-
${xx(t.scroll)}
|
|
100
|
-
${Sx(t.scroll)}
|
|
101
|
-
`:"",s=Te("visibility",t.visibility),a=Te("display",t.display),u=Te("height",t.height),h=Te("width",t.width),m=Te("max-height",t.maxHeight),y=Te("max-width",t.maxWidth),x=Te("min-height",t.minHeight),O=Te("min-width",t.minWidth),D=Te("box-shadow",t.shadow?ge.shadows[t.shadow]:void 0),Q=Te("gap",t.gap===void 0?void 0:ge.spacing[t.gap]),J=Te("background-color",t.bgColor),et=Te("background",t.bgGradient),ut=Te("flex-direction",t.flexDirection),ft=Te("flex-grow",t.flexGrow),pt=Te("justify-content",t.justify),it=Te("justify-self",t.justifySelf),yt=Te("align-items",t.alignItems),Tt=Te("align-self",t.alignSelf),Lt=Te("flex-wrap",t.wrap);return`
|
|
102
|
-
${r}
|
|
103
|
-
${s}
|
|
104
|
-
${a}
|
|
105
|
-
${u}
|
|
106
|
-
${h}
|
|
107
|
-
${m}
|
|
108
|
-
${y}
|
|
109
|
-
${x}
|
|
110
|
-
${O}
|
|
111
|
-
${D}
|
|
112
|
-
${J}
|
|
113
|
-
${et}
|
|
114
|
-
${Q}
|
|
115
|
-
${ut}
|
|
116
|
-
${ft}
|
|
117
|
-
${pt}
|
|
118
|
-
${it}
|
|
119
|
-
${yt}
|
|
120
|
-
${Tt}
|
|
121
|
-
${Lt}
|
|
122
|
-
`},Xa=t=>{const r=Te("color",t.color),s=Te("font-family",t.fontFamily),a=Te("font-size",t.fontSize),u=Te("font-weight",t.fontWeight),h=Te("line-spacing",t.letterSpacing),m=Te("line-height",t.lineSpacing),y=Te("text-align",t.textAlign),x=Te("text-decoration",t.textDecoration),O=Te("text-overflow",t.textOverflow),D=Te("white-space",t.whiteSpace),Q=Te("word-break",t.wordBreak),J=Te("word-wrap",t.wordWrap);return`
|
|
123
|
-
${r}
|
|
124
|
-
${s}
|
|
125
|
-
${a}
|
|
126
|
-
${u}
|
|
127
|
-
${h}
|
|
128
|
-
${m}
|
|
129
|
-
${y}
|
|
130
|
-
${x}
|
|
131
|
-
${O}
|
|
132
|
-
${D}
|
|
133
|
-
${Q}
|
|
134
|
-
${J}
|
|
135
|
-
`},Ja=t=>{const r=Te("cursor",t.cursor),s=Te("border-color",t.borderColorHover),a=Te("background-color",t.bgColorHover),u=Te("box-shadow",t.shadowHover===void 0?void 0:ge.shadows[t.shadowHover]),h=Te("transition",t.transition);return`
|
|
136
|
-
${r}
|
|
137
|
-
|
|
138
|
-
&:hover {
|
|
139
|
-
${h||"transition: all 0.2s;"}
|
|
140
|
-
${s}
|
|
141
|
-
${a}
|
|
142
|
-
${u}
|
|
143
|
-
}
|
|
144
|
-
`},Za=()=>({shouldForwardProp:t=>!Jp.includes(t)}),tl=Bt.div.withConfig(Za())`
|
|
145
|
-
${Ga}
|
|
146
|
-
${Ha}
|
|
147
|
-
${Ya}
|
|
148
|
-
${Qa}
|
|
149
|
-
${Xa}
|
|
150
|
-
${Ka}
|
|
151
|
-
${Ja}
|
|
152
|
-
`,Sg=Bt.button.withConfig(Za())`
|
|
153
|
-
${Ga}
|
|
154
|
-
${Ha}
|
|
155
|
-
${Ya}
|
|
156
|
-
${Qa}
|
|
157
|
-
${Xa}
|
|
158
|
-
${Ka}
|
|
159
|
-
${Ja}
|
|
160
|
-
`,xf=Bt.p.withConfig(Za())`
|
|
161
|
-
${Ga}
|
|
162
|
-
${Ha}
|
|
163
|
-
${Ya}
|
|
164
|
-
${Qa}
|
|
165
|
-
${Xa}
|
|
166
|
-
${Ka}
|
|
167
|
-
${Ja}
|
|
168
|
-
`,Cg=Bt.span.withConfig(Za())`
|
|
169
|
-
${Ga}
|
|
170
|
-
${Ha}
|
|
171
|
-
${Ya}
|
|
172
|
-
${Qa}
|
|
173
|
-
${Xa}
|
|
174
|
-
${Ka}
|
|
175
|
-
${Ja}
|
|
176
|
-
`,Cx=Bt(tl)`
|
|
177
|
-
${({theme:t,$center:r=!1,$styleMd:s,$styleSm:a})=>`
|
|
178
|
-
${r?"margin: auto;":""}
|
|
179
|
-
|
|
180
|
-
@media screen
|
|
181
|
-
and (min-width: ${t.breakpoints.mobile})
|
|
182
|
-
and (max-width: ${t.breakpoints.tablet})
|
|
183
|
-
{
|
|
184
|
-
${s};
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
188
|
-
${a};
|
|
189
|
-
}
|
|
190
|
-
`}
|
|
191
|
-
`,cr=X.forwardRef(function({as:r="div",center:s,children:a,id:u,onHover:h,onLeave:m,styleMd:y,styleSm:x,...O},D){return H.jsx(Cx,{$center:s,$styleMd:y,$styleSm:x,as:r,id:u,onMouseLeave:m,onMouseOver:h,ref:D,...O,children:a})}),Ax=Bt(xf)`
|
|
192
|
-
${({theme:t,$bgGradient:r="unset",$color:s=t.palette.gray[800],$display:a="block",$fontFamily:u=t.typography.type.primary,$fontWeight:h="bold",$letterSpacing:m=0,$lineSpacing:y=1.5,$lineSpacingSm:x,$size:O,$sizeMd:D,$sizeSm:Q,$textFill:J="unset",$wordBreak:et="normal"})=>`
|
|
193
|
-
background: ${r};
|
|
194
|
-
color: ${s};
|
|
195
|
-
display: ${a};
|
|
196
|
-
font-family: ${u};
|
|
197
|
-
font-size: ${t.typography.heading[O]};
|
|
198
|
-
font-weight: ${t.typography.weight[h]};
|
|
199
|
-
letter-spacing: ${m};
|
|
200
|
-
line-height: ${t.spacing[y]};
|
|
201
|
-
width: ${a==="block"?"100%":"auto"};
|
|
202
|
-
word-break: ${et};
|
|
203
|
-
background-clip: text;
|
|
204
|
-
-webkit-background-clip: text;
|
|
205
|
-
-webkit-text-fill-color: ${J};
|
|
206
|
-
|
|
207
|
-
@media screen
|
|
208
|
-
and (min-width: ${t.breakpoints.mobile})
|
|
209
|
-
and (max-width: ${t.breakpoints.tablet})
|
|
210
|
-
{
|
|
211
|
-
font-size: ${t.typography.heading[D??O]};
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
215
|
-
font-size: ${t.typography.heading[Q??O]};
|
|
216
|
-
line-height: ${t.spacing[x??y]};
|
|
217
|
-
}
|
|
218
|
-
`}
|
|
219
|
-
`,kx=Bt(xf)`
|
|
220
|
-
${({theme:t,$bgGradient:r="unset",$color:s=t.palette.gray[600],$display:a="block",$fontFamily:u=t.typography.type.primary,$fontWeight:h="regular",$letterSpacing:m=0,$lineSpacing:y=1.25,$lineSpacingSm:x,$size:O,$sizeMd:D,$sizeSm:Q,$textFill:J="unset",$wordBreak:et="normal"})=>`
|
|
221
|
-
background: ${r};
|
|
222
|
-
color: ${s};
|
|
223
|
-
display: ${a};
|
|
224
|
-
font-family: ${u};
|
|
225
|
-
font-size: ${t.typography.text[O]};
|
|
226
|
-
font-weight: ${t.typography.weight[h]};
|
|
227
|
-
letter-spacing: ${m};
|
|
228
|
-
line-height: ${t.spacing[y]};
|
|
229
|
-
width: ${a==="block"?"100%":"auto"};
|
|
230
|
-
word-break: ${et};
|
|
231
|
-
background-clip: text;
|
|
232
|
-
-webkit-background-clip: text;
|
|
233
|
-
-webkit-text-fill-color: ${J};
|
|
234
|
-
|
|
235
|
-
@media screen
|
|
236
|
-
and (min-width: ${t.breakpoints.mobile})
|
|
237
|
-
and (max-width: ${t.breakpoints.tablet})
|
|
238
|
-
{
|
|
239
|
-
font-size: ${t.typography.text[D??O]};
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
243
|
-
font-size: ${t.typography.text[Q??O]};
|
|
244
|
-
line-height: ${t.spacing[x??y]};
|
|
245
|
-
}
|
|
246
|
-
`}
|
|
247
|
-
`,$s=X.forwardRef(function({bgGradient:r,children:s,className:a,color:u,display:h,fontFamily:m,fontWeight:y,letterSpacing:x,lineSpacing:O,lineSpacingSm:D,size:Q,sizeMd:J,sizeSm:et,textFill:ut,wordBreak:ft,...pt},it){return H.jsx(Ax,{$bgGradient:r,$color:u,$display:h,$fontFamily:m,$fontWeight:y,$letterSpacing:x,$lineSpacing:O,$lineSpacingSm:D,$size:Q,$sizeMd:J,$sizeSm:et,$textFill:ut,$wordBreak:ft,className:a,ref:it,...pt,children:s})}),_r=X.forwardRef(function({bgGradient:r,children:s,className:a,color:u,display:h,fontFamily:m,fontWeight:y,letterSpacing:x,lineSpacing:O,lineSpacingSm:D,size:Q,sizeMd:J,sizeSm:et,textFill:ut,wordBreak:ft,...pt},it){return H.jsx(kx,{$bgGradient:r,$color:u,$display:h,$fontFamily:m,$fontWeight:y,$letterSpacing:x,$lineSpacing:O,$lineSpacingSm:D,$size:Q,$sizeMd:J,$sizeSm:et,$textFill:ut,$wordBreak:ft,className:a,ref:it,...pt,children:s})}),$x=({isSelectedAndOpen:t,item:r})=>H.jsxs(cr,{display:t?"block":"none",padding:[.75,.75,.75,.75],children:[r.description?H.jsx(_r,{mb:r.extraElement?.5:void 0,size:"sm",children:r.description}):void 0,r.extraElement?H.jsx(cr,{children:r.extraElement}):void 0]}),Ex={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px",xxss:"10px"},Tx=Bt(Cg)`
|
|
248
|
-
${({$clickable:t,$color:r="inherit",$disabled:s=!1,$hoverColor:a,$rotation:u,$size:h})=>{const m=a?"":"brightness(50%)",y=a??"";return`
|
|
249
|
-
color: ${r};
|
|
250
|
-
cursor: ${t?"pointer":"inherit"};
|
|
251
|
-
font-size: ${Ex[h]};
|
|
252
|
-
line-height: 0;
|
|
253
|
-
vertical-align: middle;
|
|
254
|
-
pointer-events: inherit;
|
|
255
|
-
opacity: ${s?"0.5":"1"};
|
|
256
|
-
|
|
257
|
-
> svg {
|
|
258
|
-
transform: ${u===void 0?"":`rotate(${u}deg)`};
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.fill-gradient-01 path {
|
|
262
|
-
fill: url(/gradients.svg#gradient-01);
|
|
263
|
-
fill: url(#gradient-01);
|
|
264
|
-
}
|
|
265
|
-
.fill-gradient-02 path {
|
|
266
|
-
fill: url(/gradients.svg#gradient-02);
|
|
267
|
-
fill: url(#gradient-02);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
${t?`&:hover {
|
|
271
|
-
filter: ${m};
|
|
272
|
-
color: ${y};
|
|
273
|
-
}`:""}
|
|
274
|
-
`}}
|
|
275
|
-
`;Bt.div`
|
|
276
|
-
cursor: pointer;
|
|
277
|
-
transition: all 0.2s ease-in-out;
|
|
278
|
-
|
|
279
|
-
&:hover:not([disabled]) {
|
|
280
|
-
transform: scale(1.2);
|
|
281
|
-
}
|
|
282
|
-
`;const vr=X.forwardRef(function({clickable:r,disabled:s,hoverColor:a,icon:u,iconClass:h="",iconColor:m,iconMask:y,iconSize:x,iconTransform:O,iconType:D="fa-solid",onClick:Q,rotation:J,...et},ut){return H.jsx(Tx,{$clickable:r,$color:m,$disabled:s,$hoverColor:a,$rotation:J,$size:x,"data-testid":`${u}-icon`,onClick:Q,ref:ut,...et,children:H.jsx("i",{className:`${D} fa-${u} ${h}`,...y!==void 0?{"data-fa-mask":y}:{},...O!==void 0?{"data-fa-transform":O}:{}})},`${D}-${u}`)}),Px=X.forwardRef(function({aligned:r="end",items:s,bgColor:a},u){const h=$n(),[m,y]=X.useState(!1),[x,O]=X.useState(-1),D=X.useCallback(Q=>()=>{O(Q),y(Q===x?J=>!J:!0)},[x]);return H.jsx(cr,{ref:u,children:s.map((Q,J)=>{const et=J===x&&m;return H.jsxs(cr,{bgColor:a??h.palette.white,children:[H.jsx(cr,{bgColorHover:h.palette.gray[100],borderBottom:et||J===s.length-1?"1px solid":void 0,borderColor:h.palette.gray[200],borderTop:"1px solid",cursor:"pointer",onClick:D(J),padding:[.75,.75,.75,.75],children:H.jsxs(cr,{as:"summary",display:"flex",flexDirection:r==="end"?"row":"row-reverse",gap:.75,justify:"space-between",children:[H.jsx(_r,{color:h.palette.gray[800],fontWeight:"bold",size:"sm",sizeSm:"sm",children:Q.title}),H.jsx(vr,{icon:et?"chevron-up":"chevron-down",iconColor:h.palette.gray[400],iconSize:"xs",iconType:"fa-light"})]})}),H.jsx($x,{isSelectedAndOpen:et,item:Q})]},Q.title)})})}),Rx=t=>{switch(t){case"warning":return"triangle-exclamation";case"info":return"circle-info";case"success":return"circle-check";case"error":default:return"circle-exclamation"}},{getVariant:Ix}=Ua(t=>({error:`
|
|
283
|
-
background: ${t.palette.error[50]};
|
|
284
|
-
border: 1px solid ${t.palette.error[500]};
|
|
285
|
-
color: ${t.palette.error[700]};
|
|
286
|
-
|
|
287
|
-
button {
|
|
288
|
-
color: ${t.palette.error[700]};
|
|
289
|
-
|
|
290
|
-
&:hover:not([disabled]) {
|
|
291
|
-
background-color: ${t.palette.error[200]};
|
|
292
|
-
color: ${t.palette.error[700]};
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
`,info:`
|
|
296
|
-
background: ${t.palette.info[50]};
|
|
297
|
-
border: 1px solid ${t.palette.info[500]};
|
|
298
|
-
color: ${t.palette.info[700]};
|
|
299
|
-
|
|
300
|
-
button {
|
|
301
|
-
color: ${t.palette.info[700]};
|
|
302
|
-
|
|
303
|
-
&:hover:not([disabled]) {
|
|
304
|
-
background-color: ${t.palette.info[200]};
|
|
305
|
-
color: ${t.palette.info[700]};
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
`,success:`
|
|
309
|
-
background: ${t.palette.success[50]};
|
|
310
|
-
border: 1px solid ${t.palette.success[500]};
|
|
311
|
-
color: ${t.palette.success[700]};
|
|
312
|
-
|
|
313
|
-
button {
|
|
314
|
-
color: ${t.palette.success[700]};
|
|
315
|
-
|
|
316
|
-
&:hover:not([disabled]) {
|
|
317
|
-
background-color: ${t.palette.success[200]};
|
|
318
|
-
color: ${t.palette.success[700]};
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
`,warning:`
|
|
322
|
-
background: ${t.palette.warning[50]};
|
|
323
|
-
border: 1px solid ${t.palette.warning[500]};
|
|
324
|
-
color: ${t.palette.warning[700]};
|
|
325
|
-
|
|
326
|
-
button {
|
|
327
|
-
color: ${t.palette.warning[700]};
|
|
328
|
-
|
|
329
|
-
&:hover:not([disabled]) {
|
|
330
|
-
background-color: ${t.palette.warning[200]};
|
|
331
|
-
color: ${t.palette.warning[700]};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
`})),Ox=Bt.div`
|
|
335
|
-
${({theme:t,$variant:r})=>`
|
|
336
|
-
background: transparent;
|
|
337
|
-
align-items: center;
|
|
338
|
-
border-radius: ${t.spacing[.25]};
|
|
339
|
-
display: inline-flex;
|
|
340
|
-
font-family: ${t.typography.type.primary};
|
|
341
|
-
font-size: ${t.typography.text.sm};
|
|
342
|
-
font-weight: ${t.typography.weight.bold};
|
|
343
|
-
line-height: ${t.spacing[1.25]};
|
|
344
|
-
min-width: 250px;
|
|
345
|
-
width: 100%;
|
|
346
|
-
padding: ${t.spacing[.75]};
|
|
347
|
-
position: relative;
|
|
348
|
-
gap: ${t.spacing[.75]};
|
|
349
|
-
|
|
350
|
-
button {
|
|
351
|
-
background-color: transparent;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
${Ix(t,r??"error")}
|
|
355
|
-
`}
|
|
356
|
-
`,Mx=Bt.div`
|
|
357
|
-
padding-right: 4px;
|
|
358
|
-
width: 100%;
|
|
359
|
-
`,{getVariant:Lx}=Ua(t=>({ghost:`
|
|
360
|
-
background: transparent;
|
|
361
|
-
border: none;
|
|
362
|
-
color: ${t.palette.gray[800]};
|
|
363
|
-
--btn-padding-x: ${t.spacing[.5]};
|
|
364
|
-
--btn-padding-y: ${t.spacing[.625]};
|
|
365
|
-
--btn-spacing: ${t.spacing[.25]};
|
|
366
|
-
|
|
367
|
-
&:disabled {
|
|
368
|
-
color: ${t.palette.gray[400]};
|
|
369
|
-
cursor: not-allowed;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
&:hover:not([disabled]) {
|
|
373
|
-
background-color: ${t.palette.gray[100]};
|
|
374
|
-
color: ${t.palette.gray[800]};
|
|
375
|
-
}
|
|
376
|
-
`,ghostWeb:`
|
|
377
|
-
--btn-padding-x: ${t.spacing[.5]};
|
|
378
|
-
--btn-padding-y: ${t.spacing[.5]};
|
|
379
|
-
background: transparent;
|
|
380
|
-
border: none;
|
|
381
|
-
color: ${t.palette.gray[800]};
|
|
382
|
-
|
|
383
|
-
&:disabled {
|
|
384
|
-
background: transparent;
|
|
385
|
-
color: ${t.palette.gray[300]};
|
|
386
|
-
cursor: not-allowed;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
&:hover:not([disabled]) {
|
|
390
|
-
background-color: ${t.palette.gray[100]};
|
|
391
|
-
color: ${t.palette.gray[800]};
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
395
|
-
--btn-padding-x: ${t.spacing[.75]};
|
|
396
|
-
--btn-padding-y: ${t.spacing[.75]};
|
|
397
|
-
}
|
|
398
|
-
`,link:`
|
|
399
|
-
--btn-padding-x: 0;
|
|
400
|
-
--btn-padding-y: 0;
|
|
401
|
-
&.dark {
|
|
402
|
-
color: ${t.palette.gray[200]};
|
|
403
|
-
|
|
404
|
-
&:hover {
|
|
405
|
-
color: ${t.palette.gray[400]};
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
&.light {
|
|
409
|
-
color: ${t.palette.gray[800]};
|
|
410
|
-
|
|
411
|
-
&:hover {
|
|
412
|
-
color: ${t.palette.gray[500]};
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
`,primary:`
|
|
416
|
-
background: ${t.palette.primary[500]};
|
|
417
|
-
border: none;
|
|
418
|
-
color: ${t.palette.white};
|
|
419
|
-
--btn-spacing: ${t.spacing[.25]};
|
|
420
|
-
|
|
421
|
-
&:disabled {
|
|
422
|
-
background: ${t.palette.gray[200]};
|
|
423
|
-
color: ${t.palette.gray[400]};
|
|
424
|
-
cursor: not-allowed;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
&:hover:not([disabled]) {
|
|
428
|
-
background-color: ${t.palette.primary[700]};
|
|
429
|
-
color: ${t.palette.white};
|
|
430
|
-
}
|
|
431
|
-
`,primaryWeb:`
|
|
432
|
-
background:
|
|
433
|
-
linear-gradient(var(--animate-position), var(--color-1), var(--color-2));
|
|
434
|
-
background-size: 100%;
|
|
435
|
-
color: ${t.palette.white};
|
|
436
|
-
animation: gradientAnimation 2.5s infinite;
|
|
437
|
-
animation-timing-function: linear;
|
|
438
|
-
|
|
439
|
-
&:hover {
|
|
440
|
-
--color-1: ${t.palette.primary[700]};
|
|
441
|
-
--color-2: ${t.palette.primary[700]};
|
|
442
|
-
color: ${t.palette.white};
|
|
443
|
-
}
|
|
444
|
-
`,secondary:`
|
|
445
|
-
background: ${t.palette.gray[800]};
|
|
446
|
-
border: none;
|
|
447
|
-
color: ${t.palette.white};
|
|
448
|
-
--btn-spacing: ${t.spacing[.25]};
|
|
449
|
-
|
|
450
|
-
&:disabled {
|
|
451
|
-
background: ${t.palette.gray[200]};
|
|
452
|
-
color: ${t.palette.gray[400]};
|
|
453
|
-
cursor: not-allowed;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
&:hover:not([disabled]) {
|
|
457
|
-
background-color: ${t.palette.gray[600]};
|
|
458
|
-
color: ${t.palette.white};
|
|
459
|
-
}
|
|
460
|
-
`,secondaryWeb:`
|
|
461
|
-
&.dark {
|
|
462
|
-
background: transparent;
|
|
463
|
-
border: 2px solid ${t.palette.white};
|
|
464
|
-
color: ${t.palette.white};
|
|
465
|
-
|
|
466
|
-
&:hover {
|
|
467
|
-
background-color: ${t.palette.white};
|
|
468
|
-
color: ${t.palette.primary[500]};
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
&.light {
|
|
472
|
-
color: ${t.palette.primary[500]};
|
|
473
|
-
|
|
474
|
-
&::before {
|
|
475
|
-
background: linear-gradient(var(--border-angle), var(--color-1), var(--color-2)) border-box;
|
|
476
|
-
border-radius: ${t.spacing[.5]};
|
|
477
|
-
content: "";
|
|
478
|
-
position: absolute;
|
|
479
|
-
inset: 0;
|
|
480
|
-
border: 2px solid transparent;
|
|
481
|
-
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
482
|
-
mask-composite: exclude;
|
|
483
|
-
animation: spinAnimation 1s infinite;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
&:hover::before {
|
|
487
|
-
--color-1: ${t.palette.primary[500]};
|
|
488
|
-
--color-2: ${t.palette.primary[500]};
|
|
489
|
-
}
|
|
490
|
-
&:hover {
|
|
491
|
-
background-color: ${t.palette.primary[500]};
|
|
492
|
-
border-color: transparent;
|
|
493
|
-
color: ${t.palette.white};
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
`,tertiary:`
|
|
497
|
-
background: transparent;
|
|
498
|
-
border: 1px solid ${t.palette.primary[500]};
|
|
499
|
-
color: ${t.palette.primary[500]};
|
|
500
|
-
--btn-spacing: ${t.spacing[.25]};
|
|
501
|
-
|
|
502
|
-
&:disabled {
|
|
503
|
-
background: transparent;
|
|
504
|
-
border: 1px solid ${t.palette.gray[200]};
|
|
505
|
-
color: ${t.palette.gray[300]};
|
|
506
|
-
cursor: not-allowed;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
&:hover:not([disabled]) {
|
|
510
|
-
background-color: ${t.palette.primary[500]};
|
|
511
|
-
color: ${t.palette.white};
|
|
512
|
-
}
|
|
513
|
-
`})),Ag=Bt(Sg)`
|
|
514
|
-
${({theme:t,$variant:r})=>`
|
|
515
|
-
align-items: center;
|
|
516
|
-
border-radius: var(--btn-spacing);
|
|
517
|
-
cursor: pointer;
|
|
518
|
-
display: inline-flex;
|
|
519
|
-
gap: var(--btn-spacing);
|
|
520
|
-
justify-content: center;
|
|
521
|
-
padding: var(--btn-padding-y) var(--btn-padding-x);
|
|
522
|
-
position: relative;
|
|
523
|
-
text-align: start;
|
|
524
|
-
transition: all 0.5s ease;
|
|
525
|
-
white-space: nowrap;
|
|
526
|
-
|
|
527
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
528
|
-
${r!=="link"?`--btn-padding-y: ${t.spacing[1]}`:""};
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
${Lx(t,r??"primaryWeb")}
|
|
532
|
-
`}
|
|
533
|
-
`,Fx=Bt(Ag)`
|
|
534
|
-
${({theme:t,$borderRadius:r="4px",$px:s=.5,$py:a=.5})=>`
|
|
535
|
-
--btn-spacing: ${r};
|
|
536
|
-
--btn-padding-x: ${t.spacing[s]};
|
|
537
|
-
--btn-padding-y: ${t.spacing[a]};
|
|
538
|
-
|
|
539
|
-
align-items: center;
|
|
540
|
-
line-height: 0;
|
|
541
|
-
text-align: center;
|
|
542
|
-
|
|
543
|
-
> span {
|
|
544
|
-
margin: 0 !important;
|
|
545
|
-
}
|
|
546
|
-
`}
|
|
547
|
-
`,ea=Math.min,_o=Math.max,tc=Math.round,Wl=Math.floor,es=t=>({x:t,y:t}),jx={left:"right",right:"left",bottom:"top",top:"bottom"},Dx={start:"end",end:"start"};function Gu(t,r,s){return _o(t,ea(r,s))}function el(t,r){return typeof t=="function"?t(r):t}function Ao(t){return t.split("-")[0]}function rl(t){return t.split("-")[1]}function kg(t){return t==="x"?"y":"x"}function Sf(t){return t==="y"?"height":"width"}function ra(t){return["top","bottom"].includes(Ao(t))?"y":"x"}function Cf(t){return kg(ra(t))}function Nx(t,r,s){s===void 0&&(s=!1);const a=rl(t),u=Cf(t),h=Sf(u);let m=u==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[h]>r.floating[h]&&(m=ec(m)),[m,ec(m)]}function Vx(t){const r=ec(t);return[Hu(t),r,Hu(r)]}function Hu(t){return t.replace(/start|end/g,r=>Dx[r])}function Bx(t,r,s){const a=["left","right"],u=["right","left"],h=["top","bottom"],m=["bottom","top"];switch(t){case"top":case"bottom":return s?r?u:a:r?a:u;case"left":case"right":return r?h:m;default:return[]}}function zx(t,r,s,a){const u=rl(t);let h=Bx(Ao(t),s==="start",a);return u&&(h=h.map(m=>m+"-"+u),r&&(h=h.concat(h.map(Hu)))),h}function ec(t){return t.replace(/left|right|bottom|top/g,r=>jx[r])}function Wx(t){return{top:0,right:0,bottom:0,left:0,...t}}function $g(t){return typeof t!="number"?Wx(t):{top:t,right:t,bottom:t,left:t}}function rc(t){const{x:r,y:s,width:a,height:u}=t;return{width:a,height:u,top:s,left:r,right:r+a,bottom:s+u,x:r,y:s}}function rp(t,r,s){let{reference:a,floating:u}=t;const h=ra(r),m=Cf(r),y=Sf(m),x=Ao(r),O=h==="y",D=a.x+a.width/2-u.width/2,Q=a.y+a.height/2-u.height/2,J=a[y]/2-u[y]/2;let et;switch(x){case"top":et={x:D,y:a.y-u.height};break;case"bottom":et={x:D,y:a.y+a.height};break;case"right":et={x:a.x+a.width,y:Q};break;case"left":et={x:a.x-u.width,y:Q};break;default:et={x:a.x,y:a.y}}switch(rl(r)){case"start":et[m]-=J*(s&&O?-1:1);break;case"end":et[m]+=J*(s&&O?-1:1);break}return et}const Ux=async(t,r,s)=>{const{placement:a="bottom",strategy:u="absolute",middleware:h=[],platform:m}=s,y=h.filter(Boolean),x=await(m.isRTL==null?void 0:m.isRTL(r));let O=await m.getElementRects({reference:t,floating:r,strategy:u}),{x:D,y:Q}=rp(O,a,x),J=a,et={},ut=0;for(let ft=0;ft<y.length;ft++){const{name:pt,fn:it}=y[ft],{x:yt,y:Tt,data:Lt,reset:Mt}=await it({x:D,y:Q,initialPlacement:a,placement:J,strategy:u,middlewareData:et,rects:O,platform:m,elements:{reference:t,floating:r}});D=yt??D,Q=Tt??Q,et={...et,[pt]:{...et[pt],...Lt}},Mt&&ut<=50&&(ut++,typeof Mt=="object"&&(Mt.placement&&(J=Mt.placement),Mt.rects&&(O=Mt.rects===!0?await m.getElementRects({reference:t,floating:r,strategy:u}):Mt.rects),{x:D,y:Q}=rp(O,J,x)),ft=-1)}return{x:D,y:Q,placement:J,strategy:u,middlewareData:et}};async function Eg(t,r){var s;r===void 0&&(r={});const{x:a,y:u,platform:h,rects:m,elements:y,strategy:x}=t,{boundary:O="clippingAncestors",rootBoundary:D="viewport",elementContext:Q="floating",altBoundary:J=!1,padding:et=0}=el(r,t),ut=$g(et),pt=y[J?Q==="floating"?"reference":"floating":Q],it=rc(await h.getClippingRect({element:(s=await(h.isElement==null?void 0:h.isElement(pt)))==null||s?pt:pt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(y.floating)),boundary:O,rootBoundary:D,strategy:x})),yt=Q==="floating"?{x:a,y:u,width:m.floating.width,height:m.floating.height}:m.reference,Tt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(y.floating)),Lt=await(h.isElement==null?void 0:h.isElement(Tt))?await(h.getScale==null?void 0:h.getScale(Tt))||{x:1,y:1}:{x:1,y:1},Mt=rc(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:y,rect:yt,offsetParent:Tt,strategy:x}):yt);return{top:(it.top-Mt.top+ut.top)/Lt.y,bottom:(Mt.bottom-it.bottom+ut.bottom)/Lt.y,left:(it.left-Mt.left+ut.left)/Lt.x,right:(Mt.right-it.right+ut.right)/Lt.x}}const qx=t=>({name:"arrow",options:t,async fn(r){const{x:s,y:a,placement:u,rects:h,platform:m,elements:y,middlewareData:x}=r,{element:O,padding:D=0}=el(t,r)||{};if(O==null)return{};const Q=$g(D),J={x:s,y:a},et=Cf(u),ut=Sf(et),ft=await m.getDimensions(O),pt=et==="y",it=pt?"top":"left",yt=pt?"bottom":"right",Tt=pt?"clientHeight":"clientWidth",Lt=h.reference[ut]+h.reference[et]-J[et]-h.floating[ut],Mt=J[et]-h.reference[et],vt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(O));let Ct=vt?vt[Tt]:0;(!Ct||!await(m.isElement==null?void 0:m.isElement(vt)))&&(Ct=y.floating[Tt]||h.floating[ut]);const qt=Lt/2-Mt/2,ie=Ct/2-ft[ut]/2-1,de=ea(Q[it],ie),me=ea(Q[yt],ie),Me=de,xe=Ct-ft[ut]-me,ct=Ct/2-ft[ut]/2+qt,dt=Gu(Me,ct,xe),St=!x.arrow&&rl(u)!=null&&ct!==dt&&h.reference[ut]/2-(ct<Me?de:me)-ft[ut]/2<0,wt=St?ct<Me?ct-Me:ct-xe:0;return{[et]:J[et]+wt,data:{[et]:dt,centerOffset:ct-dt-wt,...St&&{alignmentOffset:wt}},reset:St}}}),Gx=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var s,a;const{placement:u,middlewareData:h,rects:m,initialPlacement:y,platform:x,elements:O}=r,{mainAxis:D=!0,crossAxis:Q=!0,fallbackPlacements:J,fallbackStrategy:et="bestFit",fallbackAxisSideDirection:ut="none",flipAlignment:ft=!0,...pt}=el(t,r);if((s=h.arrow)!=null&&s.alignmentOffset)return{};const it=Ao(u),yt=ra(y),Tt=Ao(y)===y,Lt=await(x.isRTL==null?void 0:x.isRTL(O.floating)),Mt=J||(Tt||!ft?[ec(y)]:Vx(y)),vt=ut!=="none";!J&&vt&&Mt.push(...zx(y,ft,ut,Lt));const Ct=[y,...Mt],qt=await Eg(r,pt),ie=[];let de=((a=h.flip)==null?void 0:a.overflows)||[];if(D&&ie.push(qt[it]),Q){const ct=Nx(u,m,Lt);ie.push(qt[ct[0]],qt[ct[1]])}if(de=[...de,{placement:u,overflows:ie}],!ie.every(ct=>ct<=0)){var me,Me;const ct=(((me=h.flip)==null?void 0:me.index)||0)+1,dt=Ct[ct];if(dt)return{data:{index:ct,overflows:de},reset:{placement:dt}};let St=(Me=de.filter(wt=>wt.overflows[0]<=0).sort((wt,It)=>wt.overflows[1]-It.overflows[1])[0])==null?void 0:Me.placement;if(!St)switch(et){case"bestFit":{var xe;const wt=(xe=de.filter(It=>{if(vt){const zt=ra(It.placement);return zt===yt||zt==="y"}return!0}).map(It=>[It.placement,It.overflows.filter(zt=>zt>0).reduce((zt,jt)=>zt+jt,0)]).sort((It,zt)=>It[1]-zt[1])[0])==null?void 0:xe[0];wt&&(St=wt);break}case"initialPlacement":St=y;break}if(u!==St)return{reset:{placement:St}}}return{}}}};async function Hx(t,r){const{placement:s,platform:a,elements:u}=t,h=await(a.isRTL==null?void 0:a.isRTL(u.floating)),m=Ao(s),y=rl(s),x=ra(s)==="y",O=["left","top"].includes(m)?-1:1,D=h&&x?-1:1,Q=el(r,t);let{mainAxis:J,crossAxis:et,alignmentAxis:ut}=typeof Q=="number"?{mainAxis:Q,crossAxis:0,alignmentAxis:null}:{mainAxis:Q.mainAxis||0,crossAxis:Q.crossAxis||0,alignmentAxis:Q.alignmentAxis};return y&&typeof ut=="number"&&(et=y==="end"?ut*-1:ut),x?{x:et*D,y:J*O}:{x:J*O,y:et*D}}const Yx=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var s,a;const{x:u,y:h,placement:m,middlewareData:y}=r,x=await Hx(r,t);return m===((s=y.offset)==null?void 0:s.placement)&&(a=y.arrow)!=null&&a.alignmentOffset?{}:{x:u+x.x,y:h+x.y,data:{...x,placement:m}}}}},Kx=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:s,y:a,placement:u}=r,{mainAxis:h=!0,crossAxis:m=!1,limiter:y={fn:pt=>{let{x:it,y:yt}=pt;return{x:it,y:yt}}},...x}=el(t,r),O={x:s,y:a},D=await Eg(r,x),Q=ra(Ao(u)),J=kg(Q);let et=O[J],ut=O[Q];if(h){const pt=J==="y"?"top":"left",it=J==="y"?"bottom":"right",yt=et+D[pt],Tt=et-D[it];et=Gu(yt,et,Tt)}if(m){const pt=Q==="y"?"top":"left",it=Q==="y"?"bottom":"right",yt=ut+D[pt],Tt=ut-D[it];ut=Gu(yt,ut,Tt)}const ft=y.fn({...r,[J]:et,[Q]:ut});return{...ft,data:{x:ft.x-s,y:ft.y-a,enabled:{[J]:h,[Q]:m}}}}}};function bc(){return typeof window<"u"}function sa(t){return Tg(t)?(t.nodeName||"").toLowerCase():"#document"}function ni(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function ns(t){var r;return(r=(Tg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function Tg(t){return bc()?t instanceof Node||t instanceof ni(t).Node:!1}function Mi(t){return bc()?t instanceof Element||t instanceof ni(t).Element:!1}function rs(t){return bc()?t instanceof HTMLElement||t instanceof ni(t).HTMLElement:!1}function np(t){return!bc()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ni(t).ShadowRoot}function nl(t){const{overflow:r,overflowX:s,overflowY:a,display:u}=Li(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+s)&&!["inline","contents"].includes(u)}function Qx(t){return["table","td","th"].includes(sa(t))}function wc(t){return[":popover-open",":modal"].some(r=>{try{return t.matches(r)}catch{return!1}})}function Af(t){const r=kf(),s=Mi(t)?Li(t):t;return s.transform!=="none"||s.perspective!=="none"||(s.containerType?s.containerType!=="normal":!1)||!r&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!r&&(s.filter?s.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(s.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(s.contain||"").includes(a))}function Xx(t){let r=Ys(t);for(;rs(r)&&!na(r);){if(Af(r))return r;if(wc(r))return null;r=Ys(r)}return null}function kf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function na(t){return["html","body","#document"].includes(sa(t))}function Li(t){return ni(t).getComputedStyle(t)}function _c(t){return Mi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ys(t){if(sa(t)==="html")return t;const r=t.assignedSlot||t.parentNode||np(t)&&t.host||ns(t);return np(r)?r.host:r}function Pg(t){const r=Ys(t);return na(r)?t.ownerDocument?t.ownerDocument.body:t.body:rs(r)&&nl(r)?r:Pg(r)}function Va(t,r,s){var a;r===void 0&&(r=[]),s===void 0&&(s=!0);const u=Pg(t),h=u===((a=t.ownerDocument)==null?void 0:a.body),m=ni(u);if(h){const y=Yu(m);return r.concat(m,m.visualViewport||[],nl(u)?u:[],y&&s?Va(y):[])}return r.concat(u,Va(u,[],s))}function Yu(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Rg(t){const r=Li(t);let s=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const u=rs(t),h=u?t.offsetWidth:s,m=u?t.offsetHeight:a,y=tc(s)!==h||tc(a)!==m;return y&&(s=h,a=m),{width:s,height:a,$:y}}function $f(t){return Mi(t)?t:t.contextElement}function Ko(t){const r=$f(t);if(!rs(r))return es(1);const s=r.getBoundingClientRect(),{width:a,height:u,$:h}=Rg(r);let m=(h?tc(s.width):s.width)/a,y=(h?tc(s.height):s.height)/u;return(!m||!Number.isFinite(m))&&(m=1),(!y||!Number.isFinite(y))&&(y=1),{x:m,y}}const Jx=es(0);function Ig(t){const r=ni(t);return!kf()||!r.visualViewport?Jx:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Zx(t,r,s){return r===void 0&&(r=!1),!s||r&&s!==ni(t)?!1:r}function ko(t,r,s,a){r===void 0&&(r=!1),s===void 0&&(s=!1);const u=t.getBoundingClientRect(),h=$f(t);let m=es(1);r&&(a?Mi(a)&&(m=Ko(a)):m=Ko(t));const y=Zx(h,s,a)?Ig(h):es(0);let x=(u.left+y.x)/m.x,O=(u.top+y.y)/m.y,D=u.width/m.x,Q=u.height/m.y;if(h){const J=ni(h),et=a&&Mi(a)?ni(a):a;let ut=J,ft=Yu(ut);for(;ft&&a&&et!==ut;){const pt=Ko(ft),it=ft.getBoundingClientRect(),yt=Li(ft),Tt=it.left+(ft.clientLeft+parseFloat(yt.paddingLeft))*pt.x,Lt=it.top+(ft.clientTop+parseFloat(yt.paddingTop))*pt.y;x*=pt.x,O*=pt.y,D*=pt.x,Q*=pt.y,x+=Tt,O+=Lt,ut=ni(ft),ft=Yu(ut)}}return rc({width:D,height:Q,x,y:O})}function Ef(t,r){const s=_c(t).scrollLeft;return r?r.left+s:ko(ns(t)).left+s}function Og(t,r,s){s===void 0&&(s=!1);const a=t.getBoundingClientRect(),u=a.left+r.scrollLeft-(s?0:Ef(t,a)),h=a.top+r.scrollTop;return{x:u,y:h}}function tS(t){let{elements:r,rect:s,offsetParent:a,strategy:u}=t;const h=u==="fixed",m=ns(a),y=r?wc(r.floating):!1;if(a===m||y&&h)return s;let x={scrollLeft:0,scrollTop:0},O=es(1);const D=es(0),Q=rs(a);if((Q||!Q&&!h)&&((sa(a)!=="body"||nl(m))&&(x=_c(a)),rs(a))){const et=ko(a);O=Ko(a),D.x=et.x+a.clientLeft,D.y=et.y+a.clientTop}const J=m&&!Q&&!h?Og(m,x,!0):es(0);return{width:s.width*O.x,height:s.height*O.y,x:s.x*O.x-x.scrollLeft*O.x+D.x+J.x,y:s.y*O.y-x.scrollTop*O.y+D.y+J.y}}function eS(t){return Array.from(t.getClientRects())}function rS(t){const r=ns(t),s=_c(t),a=t.ownerDocument.body,u=_o(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),h=_o(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let m=-s.scrollLeft+Ef(t);const y=-s.scrollTop;return Li(a).direction==="rtl"&&(m+=_o(r.clientWidth,a.clientWidth)-u),{width:u,height:h,x:m,y}}function nS(t,r){const s=ni(t),a=ns(t),u=s.visualViewport;let h=a.clientWidth,m=a.clientHeight,y=0,x=0;if(u){h=u.width,m=u.height;const O=kf();(!O||O&&r==="fixed")&&(y=u.offsetLeft,x=u.offsetTop)}return{width:h,height:m,x:y,y:x}}function iS(t,r){const s=ko(t,!0,r==="fixed"),a=s.top+t.clientTop,u=s.left+t.clientLeft,h=rs(t)?Ko(t):es(1),m=t.clientWidth*h.x,y=t.clientHeight*h.y,x=u*h.x,O=a*h.y;return{width:m,height:y,x,y:O}}function ip(t,r,s){let a;if(r==="viewport")a=nS(t,s);else if(r==="document")a=rS(ns(t));else if(Mi(r))a=iS(r,s);else{const u=Ig(t);a={x:r.x-u.x,y:r.y-u.y,width:r.width,height:r.height}}return rc(a)}function Mg(t,r){const s=Ys(t);return s===r||!Mi(s)||na(s)?!1:Li(s).position==="fixed"||Mg(s,r)}function sS(t,r){const s=r.get(t);if(s)return s;let a=Va(t,[],!1).filter(y=>Mi(y)&&sa(y)!=="body"),u=null;const h=Li(t).position==="fixed";let m=h?Ys(t):t;for(;Mi(m)&&!na(m);){const y=Li(m),x=Af(m);!x&&y.position==="fixed"&&(u=null),(h?!x&&!u:!x&&y.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||nl(m)&&!x&&Mg(t,m))?a=a.filter(D=>D!==m):u=y,m=Ys(m)}return r.set(t,a),a}function oS(t){let{element:r,boundary:s,rootBoundary:a,strategy:u}=t;const m=[...s==="clippingAncestors"?wc(r)?[]:sS(r,this._c):[].concat(s),a],y=m[0],x=m.reduce((O,D)=>{const Q=ip(r,D,u);return O.top=_o(Q.top,O.top),O.right=ea(Q.right,O.right),O.bottom=ea(Q.bottom,O.bottom),O.left=_o(Q.left,O.left),O},ip(r,y,u));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function aS(t){const{width:r,height:s}=Rg(t);return{width:r,height:s}}function lS(t,r,s){const a=rs(r),u=ns(r),h=s==="fixed",m=ko(t,!0,h,r);let y={scrollLeft:0,scrollTop:0};const x=es(0);if(a||!a&&!h)if((sa(r)!=="body"||nl(u))&&(y=_c(r)),a){const J=ko(r,!0,h,r);x.x=J.x+r.clientLeft,x.y=J.y+r.clientTop}else u&&(x.x=Ef(u));const O=u&&!a&&!h?Og(u,y):es(0),D=m.left+y.scrollLeft-x.x-O.x,Q=m.top+y.scrollTop-x.y-O.y;return{x:D,y:Q,width:m.width,height:m.height}}function Tu(t){return Li(t).position==="static"}function sp(t,r){if(!rs(t)||Li(t).position==="fixed")return null;if(r)return r(t);let s=t.offsetParent;return ns(t)===s&&(s=s.ownerDocument.body),s}function Lg(t,r){const s=ni(t);if(wc(t))return s;if(!rs(t)){let u=Ys(t);for(;u&&!na(u);){if(Mi(u)&&!Tu(u))return u;u=Ys(u)}return s}let a=sp(t,r);for(;a&&Qx(a)&&Tu(a);)a=sp(a,r);return a&&na(a)&&Tu(a)&&!Af(a)?s:a||Xx(t)||s}const cS=async function(t){const r=this.getOffsetParent||Lg,s=this.getDimensions,a=await s(t.floating);return{reference:lS(t.reference,await r(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function uS(t){return Li(t).direction==="rtl"}const fS={convertOffsetParentRelativeRectToViewportRelativeRect:tS,getDocumentElement:ns,getClippingRect:oS,getOffsetParent:Lg,getElementRects:cS,getClientRects:eS,getDimensions:aS,getScale:Ko,isElement:Mi,isRTL:uS};function hS(t,r){let s=null,a;const u=ns(t);function h(){var y;clearTimeout(a),(y=s)==null||y.disconnect(),s=null}function m(y,x){y===void 0&&(y=!1),x===void 0&&(x=1),h();const{left:O,top:D,width:Q,height:J}=t.getBoundingClientRect();if(y||r(),!Q||!J)return;const et=Wl(D),ut=Wl(u.clientWidth-(O+Q)),ft=Wl(u.clientHeight-(D+J)),pt=Wl(O),yt={rootMargin:-et+"px "+-ut+"px "+-ft+"px "+-pt+"px",threshold:_o(0,ea(1,x))||1};let Tt=!0;function Lt(Mt){const vt=Mt[0].intersectionRatio;if(vt!==x){if(!Tt)return m();vt?m(!1,vt):a=setTimeout(()=>{m(!1,1e-7)},1e3)}Tt=!1}try{s=new IntersectionObserver(Lt,{...yt,root:u.ownerDocument})}catch{s=new IntersectionObserver(Lt,yt)}s.observe(t)}return m(!0),h}function Fg(t,r,s,a){a===void 0&&(a={});const{ancestorScroll:u=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:y=typeof IntersectionObserver=="function",animationFrame:x=!1}=a,O=$f(t),D=u||h?[...O?Va(O):[],...Va(r)]:[];D.forEach(it=>{u&&it.addEventListener("scroll",s,{passive:!0}),h&&it.addEventListener("resize",s)});const Q=O&&y?hS(O,s):null;let J=-1,et=null;m&&(et=new ResizeObserver(it=>{let[yt]=it;yt&&yt.target===O&&et&&(et.unobserve(r),cancelAnimationFrame(J),J=requestAnimationFrame(()=>{var Tt;(Tt=et)==null||Tt.observe(r)})),s()}),O&&!x&&et.observe(O),et.observe(r));let ut,ft=x?ko(t):null;x&&pt();function pt(){const it=ko(t);ft&&(it.x!==ft.x||it.y!==ft.y||it.width!==ft.width||it.height!==ft.height)&&s(),ft=it,ut=requestAnimationFrame(pt)}return s(),()=>{var it;D.forEach(yt=>{u&&yt.removeEventListener("scroll",s),h&&yt.removeEventListener("resize",s)}),Q==null||Q(),(it=et)==null||it.disconnect(),et=null,x&&cancelAnimationFrame(ut)}}const jg=Yx,dS=Kx,Dg=Gx,pS=qx,Ku=(t,r,s)=>{const a=new Map,u={platform:fS,...s},h={...u.platform,_c:a};return Ux(t,r,{...u,platform:h})};var Kl=typeof document<"u"?X.useLayoutEffect:X.useEffect;function nc(t,r){if(t===r)return!0;if(typeof t!=typeof r)return!1;if(typeof t=="function"&&t.toString()===r.toString())return!0;let s,a,u;if(t&&r&&typeof t=="object"){if(Array.isArray(t)){if(s=t.length,s!==r.length)return!1;for(a=s;a--!==0;)if(!nc(t[a],r[a]))return!1;return!0}if(u=Object.keys(t),s=u.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!{}.hasOwnProperty.call(r,u[a]))return!1;for(a=s;a--!==0;){const h=u[a];if(!(h==="_owner"&&t.$$typeof)&&!nc(t[h],r[h]))return!1}return!0}return t!==t&&r!==r}function Ng(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function op(t,r){const s=Ng(t);return Math.round(r*s)/s}function Pu(t){const r=Fn.useRef(t);return Kl(()=>{r.current=t}),r}function gS(t){t===void 0&&(t={});const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:u,elements:{reference:h,floating:m}={},transform:y=!0,whileElementsMounted:x,open:O}=t,[D,Q]=Fn.useState({x:0,y:0,strategy:s,placement:r,middlewareData:{},isPositioned:!1}),[J,et]=Fn.useState(a);nc(J,a)||et(a);const[ut,ft]=Fn.useState(null),[pt,it]=Fn.useState(null),yt=Fn.useCallback(It=>{It!==vt.current&&(vt.current=It,ft(It))},[]),Tt=Fn.useCallback(It=>{It!==Ct.current&&(Ct.current=It,it(It))},[]),Lt=h||ut,Mt=m||pt,vt=Fn.useRef(null),Ct=Fn.useRef(null),qt=Fn.useRef(D),ie=x!=null,de=Pu(x),me=Pu(u),Me=Pu(O),xe=Fn.useCallback(()=>{if(!vt.current||!Ct.current)return;const It={placement:r,strategy:s,middleware:J};me.current&&(It.platform=me.current),Ku(vt.current,Ct.current,It).then(zt=>{const jt={...zt,isPositioned:Me.current!==!1};ct.current&&!nc(qt.current,jt)&&(qt.current=jt,Xw.flushSync(()=>{Q(jt)}))})},[J,r,s,me,Me]);Kl(()=>{O===!1&&qt.current.isPositioned&&(qt.current.isPositioned=!1,Q(It=>({...It,isPositioned:!1})))},[O]);const ct=Fn.useRef(!1);Kl(()=>(ct.current=!0,()=>{ct.current=!1}),[]),Kl(()=>{if(Lt&&(vt.current=Lt),Mt&&(Ct.current=Mt),Lt&&Mt){if(de.current)return de.current(Lt,Mt,xe);xe()}},[Lt,Mt,xe,de,ie]);const dt=Fn.useMemo(()=>({reference:vt,floating:Ct,setReference:yt,setFloating:Tt}),[yt,Tt]),St=Fn.useMemo(()=>({reference:Lt,floating:Mt}),[Lt,Mt]),wt=Fn.useMemo(()=>{const It={position:s,left:0,top:0};if(!St.floating)return It;const zt=op(St.floating,D.x),jt=op(St.floating,D.y);return y?{...It,transform:"translate("+zt+"px, "+jt+"px)",...Ng(St.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:zt,top:jt}},[s,y,St.floating,D.x,D.y]);return Fn.useMemo(()=>({...D,update:xe,refs:dt,elements:St,floatingStyles:wt}),[D,xe,dt,St,wt])}const vS=(t,r)=>({...jg(t),options:[t,r]}),mS=(t,r)=>({...Dg(t),options:[t,r]});var yS=Object.prototype;function bS(t){var r=t&&t.constructor,s=typeof r=="function"&&r.prototype||yS;return t===s}var Vg=bS;function wS(t,r){return function(s){return t(r(s))}}var _S=wS,xS=_S,SS=xS(Object.keys,Object),CS=SS,AS=Vg,kS=CS,$S=Object.prototype,ES=$S.hasOwnProperty;function TS(t){if(!AS(t))return kS(t);var r=[];for(var s in Object(t))ES.call(t,s)&&s!="constructor"&&r.push(s);return r}var PS=TS,RS=typeof mi=="object"&&mi&&mi.Object===Object&&mi,Bg=RS,IS=Bg,OS=typeof self=="object"&&self&&self.Object===Object&&self,MS=IS||OS||Function("return this")(),Qs=MS,LS=Qs,FS=LS.Symbol,zg=FS,ap=zg,Wg=Object.prototype,jS=Wg.hasOwnProperty,DS=Wg.toString,Oa=ap?ap.toStringTag:void 0;function NS(t){var r=jS.call(t,Oa),s=t[Oa];try{t[Oa]=void 0;var a=!0}catch{}var u=DS.call(t);return a&&(r?t[Oa]=s:delete t[Oa]),u}var VS=NS,BS=Object.prototype,zS=BS.toString;function WS(t){return zS.call(t)}var US=WS,lp=zg,qS=VS,GS=US,HS="[object Null]",YS="[object Undefined]",cp=lp?lp.toStringTag:void 0;function KS(t){return t==null?t===void 0?YS:HS:cp&&cp in Object(t)?qS(t):GS(t)}var xc=KS;function QS(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var Tf=QS;const XS=qa(Tf);var JS=xc,ZS=Tf,tC="[object AsyncFunction]",eC="[object Function]",rC="[object GeneratorFunction]",nC="[object Proxy]";function iC(t){if(!ZS(t))return!1;var r=JS(t);return r==eC||r==rC||r==tC||r==nC}var Ug=iC,sC=Qs,oC=sC["__core-js_shared__"],aC=oC,Ru=aC,up=function(){var t=/[^.]+$/.exec(Ru&&Ru.keys&&Ru.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function lC(t){return!!up&&up in t}var cC=lC,uC=Function.prototype,fC=uC.toString;function hC(t){if(t!=null){try{return fC.call(t)}catch{}try{return t+""}catch{}}return""}var qg=hC,dC=Ug,pC=cC,gC=Tf,vC=qg,mC=/[\\^$.*+?()[\]{}|]/g,yC=/^\[object .+?Constructor\]$/,bC=Function.prototype,wC=Object.prototype,_C=bC.toString,xC=wC.hasOwnProperty,SC=RegExp("^"+_C.call(xC).replace(mC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CC(t){if(!gC(t)||pC(t))return!1;var r=dC(t)?SC:yC;return r.test(vC(t))}var AC=CC;function kC(t,r){return t==null?void 0:t[r]}var $C=kC,EC=AC,TC=$C;function PC(t,r){var s=TC(t,r);return EC(s)?s:void 0}var il=PC,RC=il,IC=Qs,OC=RC(IC,"DataView"),MC=OC,LC=il,FC=Qs,jC=LC(FC,"Map"),DC=jC,NC=il,VC=Qs,BC=NC(VC,"Promise"),zC=BC,WC=il,UC=Qs,qC=WC(UC,"Set"),GC=qC,HC=il,YC=Qs,KC=HC(YC,"WeakMap"),QC=KC,Qu=MC,Xu=DC,Ju=zC,Zu=GC,tf=QC,Gg=xc,oa=qg,fp="[object Map]",XC="[object Object]",hp="[object Promise]",dp="[object Set]",pp="[object WeakMap]",gp="[object DataView]",JC=oa(Qu),ZC=oa(Xu),tA=oa(Ju),eA=oa(Zu),rA=oa(tf),vo=Gg;(Qu&&vo(new Qu(new ArrayBuffer(1)))!=gp||Xu&&vo(new Xu)!=fp||Ju&&vo(Ju.resolve())!=hp||Zu&&vo(new Zu)!=dp||tf&&vo(new tf)!=pp)&&(vo=function(t){var r=Gg(t),s=r==XC?t.constructor:void 0,a=s?oa(s):"";if(a)switch(a){case JC:return gp;case ZC:return fp;case tA:return hp;case eA:return dp;case rA:return pp}return r});var nA=vo;function iA(t){return t!=null&&typeof t=="object"}var Pf=iA,sA=xc,oA=Pf,aA="[object Arguments]";function lA(t){return oA(t)&&sA(t)==aA}var cA=lA,vp=cA,uA=Pf,Hg=Object.prototype,fA=Hg.hasOwnProperty,hA=Hg.propertyIsEnumerable,dA=vp(function(){return arguments}())?vp:function(t){return uA(t)&&fA.call(t,"callee")&&!hA.call(t,"callee")},pA=dA,gA=Array.isArray,vA=gA,mA=9007199254740991;function yA(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=mA}var Yg=yA,bA=Ug,wA=Yg;function _A(t){return t!=null&&wA(t.length)&&!bA(t)}var xA=_A,ic={exports:{}};function SA(){return!1}var CA=SA;ic.exports;(function(t,r){var s=Qs,a=CA,u=r&&!r.nodeType&&r,h=u&&!0&&t&&!t.nodeType&&t,m=h&&h.exports===u,y=m?s.Buffer:void 0,x=y?y.isBuffer:void 0,O=x||a;t.exports=O})(ic,ic.exports);var AA=ic.exports,kA=xc,$A=Yg,EA=Pf,TA="[object Arguments]",PA="[object Array]",RA="[object Boolean]",IA="[object Date]",OA="[object Error]",MA="[object Function]",LA="[object Map]",FA="[object Number]",jA="[object Object]",DA="[object RegExp]",NA="[object Set]",VA="[object String]",BA="[object WeakMap]",zA="[object ArrayBuffer]",WA="[object DataView]",UA="[object Float32Array]",qA="[object Float64Array]",GA="[object Int8Array]",HA="[object Int16Array]",YA="[object Int32Array]",KA="[object Uint8Array]",QA="[object Uint8ClampedArray]",XA="[object Uint16Array]",JA="[object Uint32Array]",Nr={};Nr[UA]=Nr[qA]=Nr[GA]=Nr[HA]=Nr[YA]=Nr[KA]=Nr[QA]=Nr[XA]=Nr[JA]=!0;Nr[TA]=Nr[PA]=Nr[zA]=Nr[RA]=Nr[WA]=Nr[IA]=Nr[OA]=Nr[MA]=Nr[LA]=Nr[FA]=Nr[jA]=Nr[DA]=Nr[NA]=Nr[VA]=Nr[BA]=!1;function ZA(t){return EA(t)&&$A(t.length)&&!!Nr[kA(t)]}var tk=ZA;function ek(t){return function(r){return t(r)}}var rk=ek,sc={exports:{}};sc.exports;(function(t,r){var s=Bg,a=r&&!r.nodeType&&r,u=a&&!0&&t&&!t.nodeType&&t,h=u&&u.exports===a,m=h&&s.process,y=function(){try{var x=u&&u.require&&u.require("util").types;return x||m&&m.binding&&m.binding("util")}catch{}}();t.exports=y})(sc,sc.exports);var nk=sc.exports,ik=tk,sk=rk,mp=nk,yp=mp&&mp.isTypedArray,ok=yp?sk(yp):ik,ak=ok,lk=PS,ck=nA,uk=pA,fk=vA,hk=xA,dk=AA,pk=Vg,gk=ak,vk="[object Map]",mk="[object Set]",yk=Object.prototype,bk=yk.hasOwnProperty;function wk(t){if(t==null)return!0;if(hk(t)&&(fk(t)||typeof t=="string"||typeof t.splice=="function"||dk(t)||gk(t)||uk(t)))return!t.length;var r=ck(t);if(r==vk||r==mk)return!t.size;if(pk(t))return!lk(t).length;for(var s in t)if(bk.call(t,s))return!1;return!0}var _k=wk;const Da=qa(_k);var Kg={exports:{}};/*!
|
|
548
|
-
Copyright (c) 2018 Jed Watson.
|
|
549
|
-
Licensed under the MIT License (MIT), see
|
|
550
|
-
http://jedwatson.github.io/classnames
|
|
551
|
-
*/(function(t){(function(){var r={}.hasOwnProperty;function s(){for(var h="",m=0;m<arguments.length;m++){var y=arguments[m];y&&(h=u(h,a(y)))}return h}function a(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return s.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var y in h)r.call(h,y)&&h[y]&&(m=u(m,y));return m}function u(h,m){return m?h?h+" "+m:h+m:h}t.exports?(s.default=s,t.exports=s):window.classNames=s})()})(Kg);var xk=Kg.exports;const ef=qa(xk);/*
|
|
552
|
-
* React Tooltip
|
|
553
|
-
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
554
|
-
* @copyright ReactTooltip Team
|
|
555
|
-
* @license MIT
|
|
556
|
-
*/const Sk="react-tooltip-core-styles",Ck="react-tooltip-base-styles",bp={core:!1,base:!1};function wp({css:t,id:r=Ck,type:s="base",ref:a}){var u,h;if(!t||typeof document>"u"||bp[s]||s==="core"&&typeof process<"u"&&(!((u=process==null?void 0:process.env)===null||u===void 0)&&u.REACT_TOOLTIP_DISABLE_CORE_STYLES)||s!=="base"&&typeof process<"u"&&(!((h=process==null?void 0:process.env)===null||h===void 0)&&h.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;s==="core"&&(r=Sk),a||(a={});const{insertAt:m}=a;if(document.getElementById(r))return;const y=document.head||document.getElementsByTagName("head")[0],x=document.createElement("style");x.id=r,x.type="text/css",m==="top"&&y.firstChild?y.insertBefore(x,y.firstChild):y.appendChild(x),x.styleSheet?x.styleSheet.cssText=t:x.appendChild(document.createTextNode(t)),bp[s]=!0}const _p=async({elementReference:t=null,tooltipReference:r=null,tooltipArrowReference:s=null,place:a="top",offset:u=10,strategy:h="absolute",middlewares:m=[jg(Number(u)),Dg({fallbackAxisSideDirection:"start"}),dS({padding:5})],border:y})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:a};if(r===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:a};const x=m;return s?(x.push(pS({element:s,padding:5})),Ku(t,r,{placement:a,strategy:h,middleware:x}).then(({x:O,y:D,placement:Q,middlewareData:J})=>{var et,ut;const ft={left:`${O}px`,top:`${D}px`,border:y},{x:pt,y:it}=(et=J.arrow)!==null&&et!==void 0?et:{x:0,y:0},yt=(ut={top:"bottom",right:"left",bottom:"top",left:"right"}[Q.split("-")[0]])!==null&&ut!==void 0?ut:"bottom",Tt=y&&{borderBottom:y,borderRight:y};let Lt=0;if(y){const Mt=`${y}`.match(/(\d+)px/);Lt=Mt!=null&&Mt[1]?Number(Mt[1]):1}return{tooltipStyles:ft,tooltipArrowStyles:{left:pt!=null?`${pt}px`:"",top:it!=null?`${it}px`:"",right:"",bottom:"",...Tt,[yt]:`-${4+Lt}px`},place:Q}})):Ku(t,r,{placement:"bottom",strategy:h,middleware:x}).then(({x:O,y:D,placement:Q})=>({tooltipStyles:{left:`${O}px`,top:`${D}px`},tooltipArrowStyles:{},place:Q}))},xp=(t,r)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,r),Sp=(t,r,s)=>{let a=null;const u=function(...h){const m=()=>{a=null};!a&&(t.apply(this,h),a=setTimeout(m,r))};return u.cancel=()=>{a&&(clearTimeout(a),a=null)},u},Cp=t=>t!==null&&!Array.isArray(t)&&typeof t=="object",rf=(t,r)=>{if(t===r)return!0;if(Array.isArray(t)&&Array.isArray(r))return t.length===r.length&&t.every((u,h)=>rf(u,r[h]));if(Array.isArray(t)!==Array.isArray(r))return!1;if(!Cp(t)||!Cp(r))return t===r;const s=Object.keys(t),a=Object.keys(r);return s.length===a.length&&s.every(u=>rf(t[u],r[u]))},Ak=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const r=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some(s=>{const a=r.getPropertyValue(s);return a==="auto"||a==="scroll"})},Ap=t=>{if(!t)return null;let r=t.parentElement;for(;r;){if(Ak(r))return r;r=r.parentElement}return document.scrollingElement||document.documentElement},kk=typeof window<"u"?X.useLayoutEffect:X.useEffect,pi=t=>{t.current&&(clearTimeout(t.current),t.current=null)},$k="DEFAULT_TOOLTIP_ID",Ek={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Tk=X.createContext({getTooltipData:()=>Ek});function Qg(t=$k){return X.useContext(Tk).getTooltipData(t)}var qo={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Iu={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Pk=({forwardRef:t,id:r,className:s,classNameArrow:a,variant:u="dark",anchorId:h,anchorSelect:m,place:y="top",offset:x=10,events:O=["hover"],openOnClick:D=!1,positionStrategy:Q="absolute",middlewares:J,wrapper:et,delayShow:ut=0,delayHide:ft=0,float:pt=!1,hidden:it=!1,noArrow:yt=!1,clickable:Tt=!1,closeOnEsc:Lt=!1,closeOnScroll:Mt=!1,closeOnResize:vt=!1,openEvents:Ct,closeEvents:qt,globalCloseEvents:ie,imperativeModeOnly:de,style:me,position:Me,afterShow:xe,afterHide:ct,disableTooltip:dt,content:St,contentWrapperRef:wt,isOpen:It,defaultIsOpen:zt=!1,setIsOpen:jt,activeAnchor:ne,setActiveAnchor:se,border:Gt,opacity:De,arrowColor:Yt,role:er="tooltip"})=>{var rr;const Nt=X.useRef(null),te=X.useRef(null),Ie=X.useRef(null),Le=X.useRef(null),Ke=X.useRef(null),[Pe,ze]=X.useState({tooltipStyles:{},tooltipArrowStyles:{},place:y}),[We,ce]=X.useState(!1),[Se,Wr]=X.useState(!1),[fe,fr]=X.useState(null),ur=X.useRef(!1),Pr=X.useRef(null),{anchorRefs:Ur,setActiveAnchor:Vr}=Qg(r),$r=X.useRef(!1),[rn,Sr]=X.useState([]),Je=X.useRef(!1),Br=D||O.includes("click"),Kr=Br||(Ct==null?void 0:Ct.click)||(Ct==null?void 0:Ct.dblclick)||(Ct==null?void 0:Ct.mousedown),Ne=Ct?{...Ct}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!Ct&&Br&&Object.assign(Ne,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const ye=qt?{...qt}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!qt&&Br&&Object.assign(ye,{mouseleave:!1,blur:!1,mouseout:!1});const we=ie?{...ie}:{escape:Lt||!1,scroll:Mt||!1,resize:vt||!1,clickOutsideAnchor:Kr||!1};de&&(Object.assign(Ne,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(ye,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(we,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),kk(()=>(Je.current=!0,()=>{Je.current=!1}),[]);const pe=Vt=>{Je.current&&(Vt&&Wr(!0),setTimeout(()=>{Je.current&&(jt==null||jt(Vt),It===void 0&&ce(Vt))},10))};X.useEffect(()=>{if(It===void 0)return()=>null;It&&Wr(!0);const Vt=setTimeout(()=>{ce(It)},10);return()=>{clearTimeout(Vt)}},[It]),X.useEffect(()=>{if(We!==ur.current)if(pi(Ke),ur.current=We,We)xe==null||xe();else{const Vt=(ee=>{const Pt=ee.match(/^([\d.]+)(ms|s)$/);if(!Pt)return 0;const[,Re,mr]=Pt;return Number(Re)*(mr==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Ke.current=setTimeout(()=>{Wr(!1),fr(null),ct==null||ct()},Vt+25)}},[We]);const Mr=Vt=>{ze(ee=>rf(ee,Vt)?ee:Vt)},nn=(Vt=ut)=>{pi(Ie),Se?pe(!0):Ie.current=setTimeout(()=>{pe(!0)},Vt)},qr=(Vt=ft)=>{pi(Le),Le.current=setTimeout(()=>{$r.current||pe(!1)},Vt)},Qr=Vt=>{var ee;if(!Vt)return;const Pt=(ee=Vt.currentTarget)!==null&&ee!==void 0?ee:Vt.target;if(!(Pt!=null&&Pt.isConnected))return se(null),void Vr({current:null});ut?nn():pe(!0),se(Pt),Vr({current:Pt}),pi(Le)},Rr=()=>{Tt?qr(ft||100):ft?qr():pe(!1),pi(Ie)},fn=({x:Vt,y:ee})=>{var Pt;const Re={getBoundingClientRect:()=>({x:Vt,y:ee,width:0,height:0,top:ee,left:Vt,right:Vt,bottom:ee})};_p({place:(Pt=fe==null?void 0:fe.place)!==null&&Pt!==void 0?Pt:y,offset:x,elementReference:Re,tooltipReference:Nt.current,tooltipArrowReference:te.current,strategy:Q,middlewares:J,border:Gt}).then(mr=>{Mr(mr)})},Ht=Vt=>{if(!Vt)return;const ee=Vt,Pt={x:ee.clientX,y:ee.clientY};fn(Pt),Pr.current=Pt},Er=Vt=>{var ee;if(!We)return;const Pt=Vt.target;Pt.isConnected&&(!((ee=Nt.current)===null||ee===void 0)&&ee.contains(Pt)||[document.querySelector(`[id='${h}']`),...rn].some(Re=>Re==null?void 0:Re.contains(Pt))||(pe(!1),pi(Ie)))},Xr=Sp(Qr,50),pr=Sp(Rr,50),Gr=Vt=>{pr.cancel(),Xr(Vt)},oe=()=>{Xr.cancel(),pr()},Fe=X.useCallback(()=>{var Vt,ee;const Pt=(Vt=fe==null?void 0:fe.position)!==null&&Vt!==void 0?Vt:Me;Pt?fn(Pt):pt?Pr.current&&fn(Pr.current):ne!=null&&ne.isConnected&&_p({place:(ee=fe==null?void 0:fe.place)!==null&&ee!==void 0?ee:y,offset:x,elementReference:ne,tooltipReference:Nt.current,tooltipArrowReference:te.current,strategy:Q,middlewares:J,border:Gt}).then(Re=>{Je.current&&Mr(Re)})},[We,ne,St,me,y,fe==null?void 0:fe.place,x,Q,Me,fe==null?void 0:fe.position,pt]);X.useEffect(()=>{var Vt,ee;const Pt=new Set(Ur);rn.forEach(ue=>{dt!=null&&dt(ue)||Pt.add({current:ue})});const Re=document.querySelector(`[id='${h}']`);Re&&!(dt!=null&&dt(Re))&&Pt.add({current:Re});const mr=()=>{pe(!1)},sn=Ap(ne),hr=Ap(Nt.current);we.scroll&&(window.addEventListener("scroll",mr),sn==null||sn.addEventListener("scroll",mr),hr==null||hr.addEventListener("scroll",mr));let q=null;we.resize?window.addEventListener("resize",mr):ne&&Nt.current&&(q=Fg(ne,Nt.current,Fe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const _t=ue=>{ue.key==="Escape"&&pe(!1)};we.escape&&window.addEventListener("keydown",_t),we.clickOutsideAnchor&&window.addEventListener("click",Er);const Rt=[],Kt=ue=>{We&&(ue==null?void 0:ue.target)===ne||Qr(ue)},At=ue=>{We&&(ue==null?void 0:ue.target)===ne&&Rr()},ae=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Ce=["click","dblclick","mousedown","mouseup"];Object.entries(Ne).forEach(([ue,Ve])=>{Ve&&(ae.includes(ue)?Rt.push({event:ue,listener:Gr}):Ce.includes(ue)&&Rt.push({event:ue,listener:Kt}))}),Object.entries(ye).forEach(([ue,Ve])=>{Ve&&(ae.includes(ue)?Rt.push({event:ue,listener:oe}):Ce.includes(ue)&&Rt.push({event:ue,listener:At}))}),pt&&Rt.push({event:"pointermove",listener:Ht});const ve=()=>{$r.current=!0},Ue=()=>{$r.current=!1,Rr()};return Tt&&!Kr&&((Vt=Nt.current)===null||Vt===void 0||Vt.addEventListener("mouseenter",ve),(ee=Nt.current)===null||ee===void 0||ee.addEventListener("mouseleave",Ue)),Rt.forEach(({event:ue,listener:Ve})=>{Pt.forEach(dr=>{var Qe;(Qe=dr.current)===null||Qe===void 0||Qe.addEventListener(ue,Ve)})}),()=>{var ue,Ve;we.scroll&&(window.removeEventListener("scroll",mr),sn==null||sn.removeEventListener("scroll",mr),hr==null||hr.removeEventListener("scroll",mr)),we.resize?window.removeEventListener("resize",mr):q==null||q(),we.clickOutsideAnchor&&window.removeEventListener("click",Er),we.escape&&window.removeEventListener("keydown",_t),Tt&&!Kr&&((ue=Nt.current)===null||ue===void 0||ue.removeEventListener("mouseenter",ve),(Ve=Nt.current)===null||Ve===void 0||Ve.removeEventListener("mouseleave",Ue)),Rt.forEach(({event:dr,listener:Qe})=>{Pt.forEach(Rn=>{var _e;(_e=Rn.current)===null||_e===void 0||_e.removeEventListener(dr,Qe)})})}},[ne,Fe,Se,Ur,rn,Ct,qt,ie,Br,ut,ft]),X.useEffect(()=>{var Vt,ee;let Pt=(ee=(Vt=fe==null?void 0:fe.anchorSelect)!==null&&Vt!==void 0?Vt:m)!==null&&ee!==void 0?ee:"";!Pt&&r&&(Pt=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`);const Re=new MutationObserver(mr=>{const sn=[],hr=[];mr.forEach(q=>{if(q.type==="attributes"&&q.attributeName==="data-tooltip-id"&&(q.target.getAttribute("data-tooltip-id")===r?sn.push(q.target):q.oldValue===r&&hr.push(q.target)),q.type==="childList"){if(ne){const _t=[...q.removedNodes].filter(Rt=>Rt.nodeType===1);if(Pt)try{hr.push(..._t.filter(Rt=>Rt.matches(Pt))),hr.push(..._t.flatMap(Rt=>[...Rt.querySelectorAll(Pt)]))}catch{}_t.some(Rt=>{var Kt;return!!(!((Kt=Rt==null?void 0:Rt.contains)===null||Kt===void 0)&&Kt.call(Rt,ne))&&(Wr(!1),pe(!1),se(null),pi(Ie),pi(Le),!0)})}if(Pt)try{const _t=[...q.addedNodes].filter(Rt=>Rt.nodeType===1);sn.push(..._t.filter(Rt=>Rt.matches(Pt))),sn.push(..._t.flatMap(Rt=>[...Rt.querySelectorAll(Pt)]))}catch{}}}),(sn.length||hr.length)&&Sr(q=>[...q.filter(_t=>!hr.includes(_t)),...sn])});return Re.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Re.disconnect()}},[r,m,fe==null?void 0:fe.anchorSelect,ne]),X.useEffect(()=>{Fe()},[Fe]),X.useEffect(()=>{if(!(wt!=null&&wt.current))return()=>null;const Vt=new ResizeObserver(()=>{setTimeout(()=>Fe())});return Vt.observe(wt.current),()=>{Vt.disconnect()}},[St,wt==null?void 0:wt.current]),X.useEffect(()=>{var Vt;const ee=document.querySelector(`[id='${h}']`),Pt=[...rn,ee];ne&&Pt.includes(ne)||se((Vt=rn[0])!==null&&Vt!==void 0?Vt:ee)},[h,rn,ne]),X.useEffect(()=>(zt&&pe(!0),()=>{pi(Ie),pi(Le)}),[]),X.useEffect(()=>{var Vt;let ee=(Vt=fe==null?void 0:fe.anchorSelect)!==null&&Vt!==void 0?Vt:m;if(!ee&&r&&(ee=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`),ee)try{const Pt=Array.from(document.querySelectorAll(ee));Sr(Pt)}catch{Sr([])}},[r,m,fe==null?void 0:fe.anchorSelect]),X.useEffect(()=>{Ie.current&&(pi(Ie),nn(ut))},[ut]);const Cr=(rr=fe==null?void 0:fe.content)!==null&&rr!==void 0?rr:St,vn=We&&Object.keys(Pe.tooltipStyles).length>0;return X.useImperativeHandle(t,()=>({open:Vt=>{if(Vt!=null&&Vt.anchorSelect)try{document.querySelector(Vt.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${Vt.anchorSelect}" is not a valid CSS selector`)}fr(Vt??null),Vt!=null&&Vt.delay?nn(Vt.delay):pe(!0)},close:Vt=>{Vt!=null&&Vt.delay?qr(Vt.delay):pe(!1)},activeAnchor:ne,place:Pe.place,isOpen:!!(Se&&!it&&Cr&&vn)})),Se&&!it&&Cr?X.createElement(et,{id:r,role:er,className:ef("react-tooltip",qo.tooltip,Iu.tooltip,Iu[u],s,`react-tooltip__place-${Pe.place}`,qo[vn?"show":"closing"],vn?"react-tooltip__show":"react-tooltip__closing",Q==="fixed"&&qo.fixed,Tt&&qo.clickable),onTransitionEnd:Vt=>{pi(Ke),We||Vt.propertyName!=="opacity"||(Wr(!1),fr(null),ct==null||ct())},style:{...me,...Pe.tooltipStyles,opacity:De!==void 0&&vn?De:void 0},ref:Nt},Cr,X.createElement(et,{className:ef("react-tooltip-arrow",qo.arrow,Iu.arrow,a,yt&&qo.noArrow),style:{...Pe.tooltipArrowStyles,background:Yt?`linear-gradient(to right bottom, transparent 50%, ${Yt} 50%)`:void 0},ref:te})):null},Rk=({content:t})=>X.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),Ik=X.forwardRef(({id:t,anchorId:r,anchorSelect:s,content:a,html:u,render:h,className:m,classNameArrow:y,variant:x="dark",place:O="top",offset:D=10,wrapper:Q="div",children:J=null,events:et=["hover"],openOnClick:ut=!1,positionStrategy:ft="absolute",middlewares:pt,delayShow:it=0,delayHide:yt=0,float:Tt=!1,hidden:Lt=!1,noArrow:Mt=!1,clickable:vt=!1,closeOnEsc:Ct=!1,closeOnScroll:qt=!1,closeOnResize:ie=!1,openEvents:de,closeEvents:me,globalCloseEvents:Me,imperativeModeOnly:xe=!1,style:ct,position:dt,isOpen:St,defaultIsOpen:wt=!1,disableStyleInjection:It=!1,border:zt,opacity:jt,arrowColor:ne,setIsOpen:se,afterShow:Gt,afterHide:De,disableTooltip:Yt,role:er="tooltip"},rr)=>{const[Nt,te]=X.useState(a),[Ie,Le]=X.useState(u),[Ke,Pe]=X.useState(O),[ze,We]=X.useState(x),[ce,Se]=X.useState(D),[Wr,fe]=X.useState(it),[fr,ur]=X.useState(yt),[Pr,Ur]=X.useState(Tt),[Vr,$r]=X.useState(Lt),[rn,Sr]=X.useState(Q),[Je,Br]=X.useState(et),[Kr,Ne]=X.useState(ft),[ye,we]=X.useState(null),[pe,Mr]=X.useState(null),nn=X.useRef(It),{anchorRefs:qr,activeAnchor:Qr}=Qg(t),Rr=pr=>pr==null?void 0:pr.getAttributeNames().reduce((Gr,oe)=>{var Fe;return oe.startsWith("data-tooltip-")&&(Gr[oe.replace(/^data-tooltip-/,"")]=(Fe=pr==null?void 0:pr.getAttribute(oe))!==null&&Fe!==void 0?Fe:null),Gr},{}),fn=pr=>{const Gr={place:oe=>{var Fe;Pe((Fe=oe)!==null&&Fe!==void 0?Fe:O)},content:oe=>{te(oe??a)},html:oe=>{Le(oe??u)},variant:oe=>{var Fe;We((Fe=oe)!==null&&Fe!==void 0?Fe:x)},offset:oe=>{Se(oe===null?D:Number(oe))},wrapper:oe=>{var Fe;Sr((Fe=oe)!==null&&Fe!==void 0?Fe:Q)},events:oe=>{const Fe=oe==null?void 0:oe.split(" ");Br(Fe??et)},"position-strategy":oe=>{var Fe;Ne((Fe=oe)!==null&&Fe!==void 0?Fe:ft)},"delay-show":oe=>{fe(oe===null?it:Number(oe))},"delay-hide":oe=>{ur(oe===null?yt:Number(oe))},float:oe=>{Ur(oe===null?Tt:oe==="true")},hidden:oe=>{$r(oe===null?Lt:oe==="true")},"class-name":oe=>{we(oe)}};Object.values(Gr).forEach(oe=>oe(null)),Object.entries(pr).forEach(([oe,Fe])=>{var Cr;(Cr=Gr[oe])===null||Cr===void 0||Cr.call(Gr,Fe)})};X.useEffect(()=>{te(a)},[a]),X.useEffect(()=>{Le(u)},[u]),X.useEffect(()=>{Pe(O)},[O]),X.useEffect(()=>{We(x)},[x]),X.useEffect(()=>{Se(D)},[D]),X.useEffect(()=>{fe(it)},[it]),X.useEffect(()=>{ur(yt)},[yt]),X.useEffect(()=>{Ur(Tt)},[Tt]),X.useEffect(()=>{$r(Lt)},[Lt]),X.useEffect(()=>{Ne(ft)},[ft]),X.useEffect(()=>{nn.current!==It&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[It]),X.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:It==="core",disableBase:It}}))},[]),X.useEffect(()=>{var pr;const Gr=new Set(qr);let oe=s;if(!oe&&t&&(oe=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),oe)try{document.querySelectorAll(oe).forEach(ee=>{Gr.add({current:ee})})}catch{console.warn(`[react-tooltip] "${oe}" is not a valid CSS selector`)}const Fe=document.querySelector(`[id='${r}']`);if(Fe&&Gr.add({current:Fe}),!Gr.size)return()=>null;const Cr=(pr=pe??Fe)!==null&&pr!==void 0?pr:Qr.current,vn=new MutationObserver(ee=>{ee.forEach(Pt=>{var Re;if(!Cr||Pt.type!=="attributes"||!(!((Re=Pt.attributeName)===null||Re===void 0)&&Re.startsWith("data-tooltip-")))return;const mr=Rr(Cr);fn(mr)})}),Vt={attributes:!0,childList:!1,subtree:!1};if(Cr){const ee=Rr(Cr);fn(ee),vn.observe(Cr,Vt)}return()=>{vn.disconnect()}},[qr,Qr,pe,r,s]),X.useEffect(()=>{ct!=null&&ct.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),zt&&!xp("border",`${zt}`)&&console.warn(`[react-tooltip] "${zt}" is not a valid \`border\`.`),ct!=null&&ct.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),jt&&!xp("opacity",`${jt}`)&&console.warn(`[react-tooltip] "${jt}" is not a valid \`opacity\`.`)},[]);let Ht=J;const Er=X.useRef(null);if(h){const pr=h({content:(pe==null?void 0:pe.getAttribute("data-tooltip-content"))||Nt||null,activeAnchor:pe});Ht=pr?X.createElement("div",{ref:Er,className:"react-tooltip-content-wrapper"},pr):null}else Nt&&(Ht=Nt);Ie&&(Ht=X.createElement(Rk,{content:Ie}));const Xr={forwardRef:rr,id:t,anchorId:r,anchorSelect:s,className:ef(m,ye),classNameArrow:y,content:Ht,contentWrapperRef:Er,place:Ke,variant:ze,offset:ce,wrapper:rn,events:Je,openOnClick:ut,positionStrategy:Kr,middlewares:pt,delayShow:Wr,delayHide:fr,float:Pr,hidden:Vr,noArrow:Mt,clickable:vt,closeOnEsc:Ct,closeOnScroll:qt,closeOnResize:ie,openEvents:de,closeEvents:me,globalCloseEvents:Me,imperativeModeOnly:xe,style:ct,position:dt,isOpen:St,defaultIsOpen:wt,border:zt,opacity:jt,arrowColor:ne,setIsOpen:se,afterShow:Gt,afterHide:De,disableTooltip:Yt,activeAnchor:pe,setActiveAnchor:pr=>Mr(pr),role:er};return X.createElement(Pk,{...Xr})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",t=>{t.detail.disableCore||wp({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),t.detail.disableBase||wp({css:`
|
|
557
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const Ok=Bt(tl)``,Mk=Bt.div`
|
|
558
|
-
${({theme:t,$maxWidth:r="320px"})=>`
|
|
559
|
-
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
560
|
-
background-color: ${t.palette.gray[700]};
|
|
561
|
-
border-radius: 8px;
|
|
562
|
-
color: ${t.palette.white};
|
|
563
|
-
font-size: ${t.typography.text.xs};
|
|
564
|
-
max-width: ${r};
|
|
565
|
-
padding: ${t.spacing[.75]};
|
|
566
|
-
z-index: 999999;
|
|
567
|
-
--rt-opacity: 1;
|
|
568
|
-
}
|
|
569
|
-
`}
|
|
570
|
-
`,aa=X.forwardRef(function({children:r,disabled:s=!1,display:a="inline-block",effect:u="solid",icon:h,iconColor:m,iconSize:y,id:x,maxWidth:O,nodeTip:D,place:Q="bottom",tip:J="",title:et="",hide:ut=J===""&&et===""&&D===void 0,...ft},pt){const it=$n(),[yt,Tt]=X.useState(!1),Lt=X.useRef(null),Mt=X.useCallback(()=>{Lt.current!==null&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{Tt(!0)},100)},[]),vt=X.useCallback(()=>{Lt.current!==null&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{Tt(!1)},100)},[]);return s?H.jsx(X.StrictMode,{children:r}):H.jsxs(Ok,{"data-tooltip-id":x,display:a,onMouseLeave:vt,onMouseMove:Mt,ref:pt,...ft,children:[h?H.jsx(vr,{clickable:!0,disabled:s,icon:h,iconColor:m,iconSize:y??"xxs",iconType:yt?"fa-solid":"fa-light"}):r,vf.createPortal(H.jsx(Mk,{$maxWidth:O,children:H.jsxs(Ik,{delayShow:500,float:u==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:ut||!yt,id:x,middlewares:[mS({fallbackAxisSideDirection:"start"}),vS({mainAxis:10})],noArrow:u==="float",place:Q,children:[Da(et)?void 0:H.jsx(_r,{color:it.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:et}),Da(J)?void 0:H.jsx(_r,{color:it.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:J}),Da(D)?void 0:D]})}),document.getElementById("root")??document.body)]})}),sl=X.forwardRef(function({borderRadius:r,disabled:s,icon:a,iconColor:u,iconSize:h="xxs",iconType:m,id:y,justify:x="center",onClick:O,px:D,py:Q,type:J="button",tooltip:et,tooltipPlace:ut,value:ft,variant:pt="primary",...it},yt){const Tt=H.jsx(Fx,{$borderRadius:r,$px:D,$py:Q,$variant:pt,"aria-label":y,borderRadius:r,disabled:s,id:y,justify:x,onClick:O,ref:yt,type:J,value:ft,...it,children:H.jsx(vr,{clickable:!1,icon:a,iconColor:u,iconSize:h,iconType:m})}),Mt=(J+(pt??"")+(y??a)).replace(/ /u,"_");return et===void 0?Tt:H.jsx(aa,{id:`${Mt}-tooltip`,place:ut,tip:et,children:Tt})}),Lk=X.forwardRef(function({autoHide:r=!1,children:s,closable:a=!1,onTimeOut:u,show:h=!0,time:m=8,variant:y="error",id:x,...O},D){const[Q,J]=X.useState(h),et=X.useCallback(()=>{J(!1)},[]);return X.useEffect(()=>{const ut=setTimeout(()=>{u==null||u(!0),r&&et()},m*1e3);return()=>{clearTimeout(ut)}},[r,et,m,u]),X.useEffect(()=>{J(h)},[h,J]),H.jsx(cr,{display:Q?"block":"none",ref:D,...O,children:H.jsxs(Ox,{$variant:y,id:x,children:[H.jsx(vr,{clickable:!1,icon:Rx(y),iconSize:"xs",iconType:"fa-light"}),H.jsx(Mx,{children:s}),a?H.jsx(sl,{height:"fit-content",icon:"close",iconSize:"xs",iconType:"fa-light",onClick:et,px:.125,py:.125,variant:"ghost"}):void 0]})})}),Fk=(t,r=!0)=>{const s=window.open(t,r?void 0:"_self","noopener,noreferrer,");XS(s)&&(s.opener=null)},la=X.forwardRef(function({bold:r=!1,children:s,disabled:a=!1,external:u=!1,href:h,id:m,icon:y,mode:x,name:O,onClick:D,showArrow:Q=!1,type:J="button",tooltip:et,tooltipPlace:ut="bottom",underline:ft=!1,value:pt,variant:it="primaryWeb",...yt},Tt){const Lt=et!==void 0,Mt=`${m}-tooltip`,vt=!it.endsWith("Web")&&it!=="link",Ct=X.useCallback(()=>{h&&Fk(h,u)},[u,h]);return H.jsx(aa,{disabled:!Lt,id:Mt,place:ut,tip:et,children:H.jsxs(Ag,{$variant:it,className:x,disabled:a,id:m,name:O,onClick:it==="link"?Ct:D,ref:Tt,type:J,value:pt,...Lt?{"data-tooltip-id":Mt}:{},...yt,children:[y!==void 0&&H.jsx(vr,{icon:y,iconSize:"xs",iconType:"fa-light"}),H.jsx(_r,{color:"inherit",fontWeight:r?"bold":"regular",lineSpacing:vt?1.25:1.5,size:vt?"sm":"md",sizeSm:"sm",textDecoration:ft?"underline":void 0,children:s}),(Q||it==="link")&&H.jsx(vr,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"})]})})}),jk=Bt.div`
|
|
571
|
-
position: relative;
|
|
572
|
-
margin: auto;
|
|
573
|
-
overflow: hidden;
|
|
574
|
-
`,Dk=Bt.div`
|
|
575
|
-
display: flex;
|
|
576
|
-
transition: transform 0.5s ease-in-out;
|
|
577
|
-
transform: translateX(
|
|
578
|
-
${({$currentIndex:t})=>-t*100}%
|
|
579
|
-
);
|
|
580
|
-
`,Nk=Bt.div`
|
|
581
|
-
align-items: center;
|
|
582
|
-
display: flex;
|
|
583
|
-
justify-content: center;
|
|
584
|
-
min-width: 100%;
|
|
585
|
-
`,Vk=Bt.button`
|
|
586
|
-
${({theme:t,$isActive:r})=>`
|
|
587
|
-
background-color: ${r?t.palette.primary[400]:t.palette.white};
|
|
588
|
-
border: none;
|
|
589
|
-
border-radius: 50%;
|
|
590
|
-
cursor: pointer;
|
|
591
|
-
height: ${t.spacing[.75]};
|
|
592
|
-
width: ${t.spacing[.75]};
|
|
593
|
-
`}
|
|
594
|
-
`,Bk=Bt.div`
|
|
595
|
-
align-items: center;
|
|
596
|
-
display: flex;
|
|
597
|
-
gap: ${({theme:t})=>t.spacing[.5]};
|
|
598
|
-
justify-content: center;
|
|
599
|
-
margin-top: ${({theme:t})=>t.spacing[2]};
|
|
600
|
-
`,Xg=(t,r)=>{const[a,u]=X.useState(0),[h,m]=X.useState(0);return X.useEffect(()=>{h===100&&(()=>{u(x=>x===r-1?0:x+1)})()},[h,r]),X.useEffect(()=>{const y=setInterval(()=>{m(x=>x===100?0:x+1)},t);return()=>{clearInterval(y)}},[t]),{cycle:a,progress:h,setCycle:u,setProgress:m}},Rf=(t,r,s=!1)=>{X.useEffect(()=>{var u;const a=h=>{t&&!t.contains(h.target)&&r()};return s?(document.addEventListener("click",a,!0),()=>{document.removeEventListener("click",a,!0)}):((u=document.getElementById("root"))==null||u.addEventListener("click",a,!0),()=>{var h;(h=document.getElementById("root"))==null||h.removeEventListener("click",a,!0)})},[s,t,r])};function zk(t){return!(typeof t!="object"||t instanceof Array)}class Wk{filterOutNonSupportedKeys(r,s){const a=Object.create({});return zk(r)?(Object.keys(r).forEach(u=>{s.indexOf(u)>=0?a[u]=r[u]:console.warn("Warning - unsupported key provided to configuration: ",u)}),a):Object.create({})}}const kp=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class If extends Wk{constructor(r){super();const s=this.filterOutNonSupportedKeys(r,kp);Object.assign(this,{secure:!0},s)}extend(r){const s=this.filterOutNonSupportedKeys(r,kp);return new If(Object.assign({},this,s))}setCname(r){return this.cname=r,this}setSecureDistribution(r){return this.secureDistribution=r,this}setPrivateCdn(r){return this.privateCdn=r,this}setSignUrl(r){return this.signUrl=r,this}setLongUrlSignature(r){return this.longUrlSignature=r,this}setShorten(r){return this.shorten=r,this}setUseRootPath(r){return this.useRootPath=r,this}setSecure(r){return this.secure=r,this}setForceVersion(r){return this.forceVersion=r,this}setQueryParams(r){return this.queryParams=r,this}}let Ba=class{constructor(r){this.values=[],this.delimiter=":",this.hasValue(r)&&this.addValue(r)}toString(){return this.values.join(this.delimiter)}hasValue(r){return typeof r<"u"&&r!==null&&r!==""}addValue(r){return Array.isArray(r)?this.values=this.values.concat(r):this.values.push(r),this.values=this.values.filter(s=>this.hasValue(s)),this}setDelimiter(r){return this.delimiter=r,this}},Uk=class extends Error{constructor(r="Unsupported"){super(r)}};function Of(t){return new Uk(t)}function qk(){return this._qualifierModel||{error:Of(`unsupported qualifier ${this.constructor.name}`)}}let Gk=class{constructor(){this._qualifierModel={}}toJson(){return qk.apply(this)}},Sc=class extends Gk{constructor(r,s){super(),this.delimiter="_",this.key=r,s instanceof Ba?this.qualifierValue=s:(this.qualifierValue=new Ba,this.qualifierValue.addValue(s))}toString(){const{key:r,delimiter:s,qualifierValue:a}=this;return`${r}${s}${a.toString()}`}addValue(r){return this.qualifierValue.addValue(r),this}},Hs=class extends Sc{constructor(r,s){let a;s?a=new Ba([r,`${s}`]).setDelimiter(":"):a=r,super("fl",a),this.flagValue=s}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}};function Hk(t,r){const s=Array.from(t.entries());return r.forEach(a=>{s.push(["fl",a])}),s.sort().map(a=>a[1])}function Yk(){var t,r,s;const a=this._actionModel&&Object.keys(this._actionModel).length,u=(s=(r=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||r===void 0?void 0:r.transformation)===null||s===void 0?void 0:s.error;return u&&u instanceof Error?{error:u}:a?this._actionModel:{error:Of(`unsupported action ${this.constructor.name}`)}}let Kk=class{constructor(){this._actionModel={}}toJson(){return Yk.apply(this)}},Mf=class extends Kk{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(r){return this.actionTag=r,this}toString(){return this.prepareQualifiers(),Hk(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(r){if(typeof r=="string"){const[s,a]=r.toLowerCase().split("_");s==="fl"?this.flags.push(new Hs(a)):this.qualifiers.set(s,new Sc(s,a))}else this.qualifiers.set(r.key,r);return this}addFlag(r){return typeof r=="string"?this.flags.push(new Hs(r)):r instanceof Hs&&this.flags.push(r),this}addValueToQualifier(r,s){return this.qualifiers.get(r).addValue(s),this}};function Qk(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}let Xk=class extends Mf{constructor(r){super(),this._actionModel={},this.addQualifier(new Sc("b",new Ba(Qk(r)).setDelimiter("_"))),this._actionModel.color=r,this._actionModel.actionType="backgroundColor"}static fromJson(r){const{color:s}=r;return new this(s)}},$p=class{constructor(r){this.raw=r}toString(){return this.raw}toJson(){return{error:Of(`unsupported action ${this.constructor.name}`)}}};function Jk(t){const r=t;return"error"in r&&!!r.error}function Zk(){return new Hs("lossy")}function t$(){return new Hs("preserve_transparency")}function e$(t){return new Hs("progressive",t)}let r$=class extends Ba{constructor(r){super(r),this.val=r}getValue(){return this.val}};function $o(t){const r={};return Object.keys(t).forEach(s=>{r[t[s]]=s}),r}const n$={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},i$={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},s$={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},o$={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},a$={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},l$={444:"CHROMA_444",420:"CHROMA_420"},c$={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};$o(l$);$o(c$);$o(n$);const u$=$o(i$);$o(s$);$o(o$);$o(a$);let f$=class extends Mf{constructor(r,s,a){super(),this._actionModel={};let u;s instanceof r$?u=s.getValue():u=s,this._actionModel.actionType=u$[r],this._actionModel[a]=u,this.addQualifier(new Sc(r,s))}},h$=class extends Hs{constructor(r){super("progressive",r)}},oc=class extends f${constructor(r,s){super(r,s,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Zk()),this}progressive(r){return r instanceof h$?(this._actionModel.progressive={mode:r.getFlagValue()},this.addFlag(r)):(this._actionModel.progressive={mode:r},this.addFlag(e$(r))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(t$()),this}static fromJson(r){const{formatType:s,lossy:a,progressive:u,preserveTransparency:h}=r;let m;return s?m=new this("f",s):m=new this("f"),u&&(u.mode?m.progressive(u.mode):m.progressive()),a&&m.lossy(),h&&m.preserveTransparency(),m}},Jg=class Zg{constructor(){this.actions=[]}addAction(r){let s;if(typeof r=="string"){if(r.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";s=new $p(r)}else s=r;return this.actions.push(s),this}addTransformation(r){return r instanceof Zg?this.actions=this.actions.concat(r.actions):this.actions.push(new $p(r)),this}toString(){return this.actions.map(r=>r.toString()).filter(r=>r).join("/")}animated(r){return this.addAction(r)}border(r){return this.addAction(r)}reshape(r){return this.addAction(r)}resize(r){return this.addAction(r)}quality(r){return this.addAction(new oc("q",r)),this}format(r){return this.addAction(new oc("f",r)),this}roundCorners(r){return this.addAction(r)}overlay(r){return this.addAction(r)}underlay(r){return r.setLayerType("u"),this.addAction(r)}addVariable(r){return this.addAction(r)}conditional(r){return this.addAction(r)}effect(r){return this.addAction(r)}adjust(r){return this.addAction(r)}rotate(r){return this.addAction(r)}namedTransformation(r){return this.addAction(r)}delivery(r){return this.addAction(r)}backgroundColor(r){return this.addAction(new Xk(r))}psdTools(r){return this.addAction(r)}extract(r){return this.addAction(r)}addFlag(r){const s=new Mf;let a=r;return typeof r=="string"&&(a=new Hs(r)),s.addQualifier(a),this.addAction(s)}customFunction(r){return this.addAction(r)}transcode(r){return this.addAction(r)}videoEdit(r){return this.addAction(r)}toJson(){const r=[];for(const s of this.actions){const a=s.toJson();if(Jk(a))return a;r.push(a)}return{actions:r}}};class d$ extends Jg{}class p$ extends Jg{}function g$(t){return t.match(/^https?:\//)}function v$(t){return t.indexOf("/")<0}function m$(t){return t.match(/^v[0-9]+/)}function y$(t,r){const s=r.secure,a=r.privateCdn,u=r.cname,h=r.secureDistribution;return!s&&!u?`http://res.cloudinary.com/${t}`:s&&!h&&a?`https://${t}-res.cloudinary.com`:s&&!h?`https://res.cloudinary.com/${t}`:s&&h&&a?`https://${h}`:s&&h?`https://${h}/${t}`:!s&&u?`http://${u}/${t}`:"ERROR"}function b$(t){return t||"image"}function w$(t){return t||"upload"}function _$(t,r,s){const a=s!==!1;return r?`v${r}`:m$(t)||g$(t)||v$(t)?"":a?"v1":""}function Lf(t,r,s){let a=r>>0,u=String(s);return t.length>a?String(t):(a=a-t.length,a>u.length&&(u+=x$(u,a/u.length)),u.slice(0,a)+String(t))}function x$(t,r){let s=r,a="";for(;s>0;)a+=t,s--;return a}const S$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ac={};let Ep=0;S$.split("").forEach(t=>{let r=Ep.toString(2);r=Lf(r,6,"0"),ac[r]=t,Ep++});function C$(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function A$(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(r=>{const s=+r;if(isNaN(s)||s<0)throw"Invalid version number provided";return Lf(r,2,"0")}).join(".")}function Tp(t){let r="";const a=t.split(".").length*6,u=C$(t),h=A$(u);let y=parseInt(h.split(".").join("")).toString(2);if(y=Lf(y,a,"0"),y.length%6!==0)throw"Version must be smaller than 43.21.26)";return y.match(/.{1,6}/g).forEach(x=>{r+=ac[x]}),r}function k$(t){const r={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(r.feature="D"),t.lazyload&&(r.feature="C"),t.responsive&&(r.feature="A"),t.placeholder&&(r.feature="B"),r}const $$="1.21.0";function E$(t){const[r,s]=t.split("."),a=parseInt(r).toString(2),u=parseInt(s).toString(2),h=a.padStart(6,"0"),m=u.padStart(6,"0");return ac[h]+ac[m]}function T$(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function P$(t){const r={techVersion:T$(),sdkCode:"T",sdkSemver:$$.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},r),t):r}function Pp(t){const r=P$(t),s=k$(r);try{const a=R$(s.techVersion),u=Tp(s.sdkSemver),h=Tp(a),m=E$(s.osVersion),y=s.feature,x=s.sdkCode,{product:O,osType:D}=s;return`D${O}${x}${u}${h}${D}${m}${y}`}catch{return"E"}}function R$(t){const r=t.split(".");return`${r[0]}.${r[1]}`}const Rp={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class I${constructor(r,s={},a){this.setPublicID(r),this.setCloudConfig(s),this.setURLConfig(a)}setURLConfig(r){return this.urlConfig=new If(r),this}setCloudConfig(r){return this.cloudName=r.cloudName,this.apiKey=r.apiKey,this.apiSecret=r.apiSecret,this.authToken=r.authToken,this}setPublicID(r){return this.publicID=r?r.toString():"",this}setDeliveryType(r){return this.deliveryType=r,this}setSuffix(r){return this.suffix=r,this}setSignature(r){return this.signature=r,this}setVersion(r){return r&&(this.version=r),this}setAssetType(r){return r&&(this.assetType=r),this}sign(){return this}toURL(r={}){return this.createCloudinaryURL(null,r.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const r=this.suffix&&this.suffix.indexOf(".")>=0,s=this.suffix&&this.suffix.indexOf("/")>=0;if(r||s)throw"`suffix`` should not include . or /"}getResourceType(){const r=b$(this.assetType),s=w$(this.deliveryType),a=!!this.suffix,u=`${r}/${s}`,h=Rp[`${r}/${s}`],m=this.urlConfig.useRootPath,y=this.urlConfig.shorten;if(m){if(u==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${u} instead`)}if(y&&u==="image/upload")return"iu";if(a){if(h)return h;throw new Error(`URL Suffix only supported for ${Object.keys(Rp).join(", ")}, Provided: ${u} instead`)}return u}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(r,s){if(!this.publicID)return"";this.validateAssetForURLCreation();const a=y$(this.cloudName,this.urlConfig),u=r?r.toString():"",h=_$(this.publicID,this.version,this.urlConfig.forceVersion),m=this.publicID;if(typeof r=="string")return[a,this.getResourceType(),this.getSignature(),u,h,m.replace(/,/g,"%2C"),this.suffix].filter(x=>x).join("/");{const y=[encodeURI(a),this.getResourceType(),this.getSignature(),encodeURI(u),h,encodeURI(m).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(D=>D).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),x=this.urlConfig.analytics!==!1&&!m.includes("?");let O="";if(typeof this.urlConfig.queryParams=="object")try{const D=new URLSearchParams(this.urlConfig.queryParams);x&&D.set("_a",Pp(s)),O=D.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else O=this.urlConfig.queryParams||"",x&&(O+=`${O.length>0?"&":""}_a=${Pp(s)}`);return O?`${y}?${O}`:y}}}class tv extends I${constructor(r,s,a,u){super(r,s,a),this.transformation=u}animated(r){return this.transformation.animated(r),this}border(r){return this.transformation.border(r),this}reshape(r){return this.transformation.reshape(r),this}resize(r){return this.transformation.resize(r),this}quality(r){return this.addAction(new oc("q",r)),this}format(r){return this.addAction(new oc("f",r)),this}roundCorners(r){return this.transformation.roundCorners(r),this}overlay(r){return this.transformation.overlay(r),this}addVariable(r){return this.transformation.addVariable(r),this}conditional(r){return this.transformation.conditional(r),this}effect(r){return this.transformation.effect(r),this}adjust(r){return this.transformation.adjust(r),this}rotate(r){return this.transformation.rotate(r),this}namedTransformation(r){return this.transformation.namedTransformation(r),this}delivery(r){return this.transformation.delivery(r),this}backgroundColor(r){return this.transformation.backgroundColor(r),this}psdTools(r){return this.transformation.psdTools(r),this}extract(r){return this.transformation.extract(r),this}addFlag(r){return this.transformation.addFlag(r),this}customFunction(r){return this.transformation.customFunction(r),this}addAction(r){return this.transformation.addAction(r),this}addTransformation(r){return this.transformation.addTransformation(r),this}toString(){return this.transformation.toString()}underlay(r){return this.transformation.underlay(r),this}toURL(r={}){return this.createCloudinaryURL(this.transformation,r==null?void 0:r.trackedAnalytics)}}class O$ extends tv{constructor(r,s,a){super(r,s,a,new d$)}}class M$ extends tv{constructor(r,s,a){super(r,s,a,new p$),this.assetType="video"}transcode(r){return this.transformation.transcode(r),this}videoEdit(r){return this.transformation.videoEdit(r),this}}class L${constructor(r){r&&(this.cloudinaryConfig=r)}image(r){return new O$(r,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(r){return new M$(r,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(r){return this.cloudinaryConfig=r,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const ev=({publicId:t,format:r="webp"})=>{const s=X.useMemo(()=>new L$({cloud:{cloudName:"fluid-attacks"}}),[]);return X.useMemo(()=>s.image(t).format(r),[s,t,r])},F$=({slides:t,interval:r=300})=>{const{cycle:s,setCycle:a,setProgress:u}=Xg(r,t.length),h=X.useCallback(m=>()=>{a(m),u(0)},[a,u]);return H.jsxs(jk,{children:[H.jsx(Dk,{$currentIndex:s,children:t.map((m,y)=>{const x=`slide-${y}`;return H.jsx(Nk,{children:m.content},x)})}),H.jsx(Bk,{children:t.map((m,y)=>{const x=`nav-button-${y}`;return H.jsx(Vk,{$isActive:y===s,"data-testid":y===s?"active":"inactive",onClick:h(y)},x)})})]})},Ip={web:{normal:ge.typography.text.md,sm:ge.typography.text.sm},platform:{normal:ge.typography.text.sm,sm:ge.typography.text.sm}},j$=Bt.label`
|
|
601
|
-
${({$alert:t,$disabled:r,$variant:s})=>{const a=r?300:600;return`
|
|
602
|
-
display: flex;
|
|
603
|
-
align-items: start;
|
|
604
|
-
position: relative;
|
|
605
|
-
cursor: ${r?"not-allowed":"pointer"};
|
|
606
|
-
font-family: ${ge.typography.type.primary};
|
|
607
|
-
font-size: ${Ip[s].normal};
|
|
608
|
-
font-weight: ${t?"inherit":ge.typography.weight.regular};
|
|
609
|
-
line-height: ${ge.spacing[1]};
|
|
610
|
-
letter-spacing: 0;
|
|
611
|
-
text-align: left;
|
|
612
|
-
color: ${t?"inherit":ge.palette.gray[a]};
|
|
613
|
-
|
|
614
|
-
input {
|
|
615
|
-
position: absolute;
|
|
616
|
-
opacity: 0;
|
|
617
|
-
cursor: pointer;
|
|
618
|
-
height: 0;
|
|
619
|
-
width: 0;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
svg {
|
|
623
|
-
margin-right: ${ge.spacing[.5]};
|
|
624
|
-
top: 0;
|
|
625
|
-
left: 0;
|
|
626
|
-
height: ${ge.spacing[.5]};
|
|
627
|
-
width: ${ge.spacing[.5]};
|
|
628
|
-
padding: ${ge.spacing[.25]};
|
|
629
|
-
background-color: ${ge.palette.white};
|
|
630
|
-
border-radius: ${s==="web"?ge.spacing[.125]:ge.spacing[.25]};
|
|
631
|
-
border: 1px solid ${ge.palette.gray[600]};
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
svg > path {
|
|
635
|
-
fill: ${ge.palette.white};
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
input:checked ~ span > svg {
|
|
639
|
-
background-color: ${ge.palette.primary[500]};
|
|
640
|
-
border: 1px solid ${ge.palette.primary[500]};
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
input:disabled ~ span > svg {
|
|
644
|
-
border: 1px solid ${ge.palette.gray[300]};
|
|
645
|
-
cursor: not-allowed;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
input:not(:disabled):hover ~ span > svg {
|
|
649
|
-
box-shadow: 0 0 0 4px ${ge.palette.gray[100]};
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
input:checked:disabled ~ span > svg {
|
|
653
|
-
background-color: ${ge.palette.gray[300]};
|
|
654
|
-
border: 1px solid ${ge.palette.gray[300]};
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
input:not(:disabled):hover:checked ~ span > svg {
|
|
658
|
-
box-shadow: 0 0 0 4px ${ge.palette.primary[50]};
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
input:checked ~ span > svg > path {
|
|
662
|
-
fill: ${ge.palette.white};
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
input:checked:disabled ~ span > svg > path {
|
|
666
|
-
fill: ${ge.palette.white};
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
@media screen and (max-width: ${ge.breakpoints.mobile}) {
|
|
670
|
-
font-size: ${Ip[s].sm};
|
|
671
|
-
}
|
|
672
|
-
`}}
|
|
673
|
-
`,D$=X.forwardRef(function({defaultChecked:r=!1,disabled:s=!1,label:a,name:u,onChange:h,onClick:m,onFocus:y,onKeyDown:x,value:O,variant:D="web",...Q},J){return H.jsxs(j$,{$disabled:s,$variant:D,children:[H.jsx("input",{"aria-label":u,defaultChecked:r,disabled:s,id:u,name:u,onChange:h,onClick:m,onFocus:y,onKeyDown:x,ref:J,type:"checkbox",value:O,...Q}),H.jsx(vr,{disabled:s,icon:"check",iconSize:"sm"}),a??O]})});var qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nf={exports:{}};(function(t,r){var s=200,a="__lodash_hash_undefined__",u=9007199254740991,h="[object Arguments]",m="[object Array]",y="[object Boolean]",x="[object Date]",O="[object Error]",D="[object Function]",Q="[object GeneratorFunction]",J="[object Map]",et="[object Number]",ut="[object Object]",ft="[object Promise]",pt="[object RegExp]",it="[object Set]",yt="[object String]",Tt="[object Symbol]",Lt="[object WeakMap]",Mt="[object ArrayBuffer]",vt="[object DataView]",Ct="[object Float32Array]",qt="[object Float64Array]",ie="[object Int8Array]",de="[object Int16Array]",me="[object Int32Array]",Me="[object Uint8Array]",xe="[object Uint8ClampedArray]",ct="[object Uint16Array]",dt="[object Uint32Array]",St=/[\\^$.*+?()[\]{}|]/g,wt=/\w*$/,It=/^\[object .+?Constructor\]$/,zt=/^(?:0|[1-9]\d*)$/,jt={};jt[h]=jt[m]=jt[Mt]=jt[vt]=jt[y]=jt[x]=jt[Ct]=jt[qt]=jt[ie]=jt[de]=jt[me]=jt[J]=jt[et]=jt[ut]=jt[pt]=jt[it]=jt[yt]=jt[Tt]=jt[Me]=jt[xe]=jt[ct]=jt[dt]=!0,jt[O]=jt[D]=jt[Lt]=!1;var ne=typeof qs=="object"&&qs&&qs.Object===Object&&qs,se=typeof self=="object"&&self&&self.Object===Object&&self,Gt=ne||se||Function("return this")(),De=r&&!r.nodeType&&r,Yt=De&&!0&&t&&!t.nodeType&&t,er=Yt&&Yt.exports===De;function rr(F,st){return F.set(st[0],st[1]),F}function Nt(F,st){return F.add(st),F}function te(F,st){for(var $t=-1,re=F?F.length:0;++$t<re&&st(F[$t],$t,F)!==!1;);return F}function Ie(F,st){for(var $t=-1,re=st.length,Lr=F.length;++$t<re;)F[Lr+$t]=st[$t];return F}function Le(F,st,$t,re){for(var Lr=-1,yn=F?F.length:0;++Lr<yn;)$t=st($t,F[Lr],Lr,F);return $t}function Ke(F,st){for(var $t=-1,re=Array(F);++$t<F;)re[$t]=st($t);return re}function Pe(F,st){return F==null?void 0:F[st]}function ze(F){var st=!1;if(F!=null&&typeof F.toString!="function")try{st=!!(F+"")}catch{}return st}function We(F){var st=-1,$t=Array(F.size);return F.forEach(function(re,Lr){$t[++st]=[Lr,re]}),$t}function ce(F,st){return function($t){return F(st($t))}}function Se(F){var st=-1,$t=Array(F.size);return F.forEach(function(re){$t[++st]=re}),$t}var Wr=Array.prototype,fe=Function.prototype,fr=Object.prototype,ur=Gt["__core-js_shared__"],Pr=function(){var F=/[^.]+$/.exec(ur&&ur.keys&&ur.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),Ur=fe.toString,Vr=fr.hasOwnProperty,$r=fr.toString,rn=RegExp("^"+Ur.call(Vr).replace(St,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sr=er?Gt.Buffer:void 0,Je=Gt.Symbol,Br=Gt.Uint8Array,Kr=ce(Object.getPrototypeOf,Object),Ne=Object.create,ye=fr.propertyIsEnumerable,we=Wr.splice,pe=Object.getOwnPropertySymbols,Mr=Sr?Sr.isBuffer:void 0,nn=ce(Object.keys,Object),qr=be(Gt,"DataView"),Qr=be(Gt,"Map"),Rr=be(Gt,"Promise"),fn=be(Gt,"Set"),Ht=be(Gt,"WeakMap"),Er=be(Object,"create"),Xr=Nn(qr),pr=Nn(Qr),Gr=Nn(Rr),oe=Nn(fn),Fe=Nn(Ht),Cr=Je?Je.prototype:void 0,vn=Cr?Cr.valueOf:void 0;function Vt(F){var st=-1,$t=F?F.length:0;for(this.clear();++st<$t;){var re=F[st];this.set(re[0],re[1])}}function ee(){this.__data__=Er?Er(null):{}}function Pt(F){return this.has(F)&&delete this.__data__[F]}function Re(F){var st=this.__data__;if(Er){var $t=st[F];return $t===a?void 0:$t}return Vr.call(st,F)?st[F]:void 0}function mr(F){var st=this.__data__;return Er?st[F]!==void 0:Vr.call(st,F)}function sn(F,st){var $t=this.__data__;return $t[F]=Er&&st===void 0?a:st,this}Vt.prototype.clear=ee,Vt.prototype.delete=Pt,Vt.prototype.get=Re,Vt.prototype.has=mr,Vt.prototype.set=sn;function hr(F){var st=-1,$t=F?F.length:0;for(this.clear();++st<$t;){var re=F[st];this.set(re[0],re[1])}}function q(){this.__data__=[]}function _t(F){var st=this.__data__,$t=ii(st,F);if($t<0)return!1;var re=st.length-1;return $t==re?st.pop():we.call(st,$t,1),!0}function Rt(F){var st=this.__data__,$t=ii(st,F);return $t<0?void 0:st[$t][1]}function Kt(F){return ii(this.__data__,F)>-1}function At(F,st){var $t=this.__data__,re=ii($t,F);return re<0?$t.push([F,st]):$t[re][1]=st,this}hr.prototype.clear=q,hr.prototype.delete=_t,hr.prototype.get=Rt,hr.prototype.has=Kt,hr.prototype.set=At;function ae(F){var st=-1,$t=F?F.length:0;for(this.clear();++st<$t;){var re=F[st];this.set(re[0],re[1])}}function Ce(){this.__data__={hash:new Vt,map:new(Qr||hr),string:new Vt}}function ve(F){return he(this,F).delete(F)}function Ue(F){return he(this,F).get(F)}function ue(F){return he(this,F).has(F)}function Ve(F,st){return he(this,F).set(F,st),this}ae.prototype.clear=Ce,ae.prototype.delete=ve,ae.prototype.get=Ue,ae.prototype.has=ue,ae.prototype.set=Ve;function dr(F){this.__data__=new hr(F)}function Qe(){this.__data__=new hr}function Rn(F){return this.__data__.delete(F)}function _e(F){return this.__data__.get(F)}function Xs(F){return this.__data__.has(F)}function is(F,st){var $t=this.__data__;if($t instanceof hr){var re=$t.__data__;if(!Qr||re.length<s-1)return re.push([F,st]),this;$t=this.__data__=new ae(re)}return $t.set(F,st),this}dr.prototype.clear=Qe,dr.prototype.delete=Rn,dr.prototype.get=_e,dr.prototype.has=Xs,dr.prototype.set=is;function Js(F,st){var $t=cs(F)||zi(F)?Ke(F.length,String):[],re=$t.length,Lr=!!re;for(var yn in F)Vr.call(F,yn)&&!(Lr&&(yn=="length"||bn(yn,re)))&&$t.push(yn);return $t}function Di(F,st,$t){var re=F[st];(!(Vr.call(F,st)&&Bi(re,$t))||$t===void 0&&!(st in F))&&(F[st]=$t)}function ii(F,st){for(var $t=F.length;$t--;)if(Bi(F[$t][0],st))return $t;return-1}function ss(F,st){return F&&xt(st,hs(st),F)}function os(F,st,$t,re,Lr,yn,wn){var on;if(re&&(on=yn?re(F,Lr,yn,wn):re(F)),on!==void 0)return on;if(!fs(F))return F;var zr=cs(F);if(zr){if(on=hn(F),!st)return ht(F,on)}else{var si=Ir(F),oi=si==D||si==Q;if(Ms(F))return as(F,st);if(si==ut||si==h||oi&&!yn){if(ze(F))return yn?F:{};if(on=dn(oi?{}:F),!st)return Wt(F,ss(on,F))}else{if(!jt[si])return yn?F:{};on=or(F,si,os,st)}}wn||(wn=new dr);var eo=wn.get(F);if(eo)return eo;if(wn.set(F,on),!zr)var Ls=$t?je(F):hs(F);return te(Ls||F,function(_n,ds){Ls&&(ds=_n,_n=F[ds]),Di(on,ds,os(_n,st,$t,re,ds,F,wn))}),on}function Ts(F){return fs(F)?Ne(F):{}}function Ps(F,st,$t){var re=st(F);return cs(F)?re:Ie(re,$t(F))}function Zs(F){return $r.call(F)}function Rs(F){if(!fs(F)||Vi(F))return!1;var st=To(F)||ze(F)?rn:It;return st.test(Nn(F))}function Ni(F){if(!ls(F))return nn(F);var st=[];for(var $t in Object(F))Vr.call(F,$t)&&$t!="constructor"&&st.push($t);return st}function as(F,st){if(st)return F.slice();var $t=new F.constructor(F.length);return F.copy($t),$t}function wi(F){var st=new F.constructor(F.byteLength);return new Br(st).set(new Br(F)),st}function Is(F,st){var $t=st?wi(F.buffer):F.buffer;return new F.constructor($t,F.byteOffset,F.byteLength)}function Os(F,st,$t){var re=st?$t(We(F),!0):We(F);return Le(re,rr,new F.constructor)}function En(F){var st=new F.constructor(F.source,wt.exec(F));return st.lastIndex=F.lastIndex,st}function mn(F,st,$t){var re=st?$t(Se(F),!0):Se(F);return Le(re,Nt,new F.constructor)}function I(F){return vn?Object(vn.call(F)):{}}function rt(F,st){var $t=st?wi(F.buffer):F.buffer;return new F.constructor($t,F.byteOffset,F.length)}function ht(F,st){var $t=-1,re=F.length;for(st||(st=Array(re));++$t<re;)st[$t]=F[$t];return st}function xt(F,st,$t,re){$t||($t={});for(var Lr=-1,yn=st.length;++Lr<yn;){var wn=st[Lr],on=void 0;Di($t,wn,on===void 0?F[wn]:on)}return $t}function Wt(F,st){return xt(F,Ze(F),st)}function je(F){return Ps(F,hs,Ze)}function he(F,st){var $t=F.__data__;return _i(st)?$t[typeof st=="string"?"string":"hash"]:$t.map}function be(F,st){var $t=Pe(F,st);return Rs($t)?$t:void 0}var Ze=pe?ce(pe,Object):ar,Ir=Zs;(qr&&Ir(new qr(new ArrayBuffer(1)))!=vt||Qr&&Ir(new Qr)!=J||Rr&&Ir(Rr.resolve())!=ft||fn&&Ir(new fn)!=it||Ht&&Ir(new Ht)!=Lt)&&(Ir=function(F){var st=$r.call(F),$t=st==ut?F.constructor:void 0,re=$t?Nn($t):void 0;if(re)switch(re){case Xr:return vt;case pr:return J;case Gr:return ft;case oe:return it;case Fe:return Lt}return st});function hn(F){var st=F.length,$t=F.constructor(st);return st&&typeof F[0]=="string"&&Vr.call(F,"index")&&($t.index=F.index,$t.input=F.input),$t}function dn(F){return typeof F.constructor=="function"&&!ls(F)?Ts(Kr(F)):{}}function or(F,st,$t,re){var Lr=F.constructor;switch(st){case Mt:return wi(F);case y:case x:return new Lr(+F);case vt:return Is(F,re);case Ct:case qt:case ie:case de:case me:case Me:case xe:case ct:case dt:return rt(F,re);case J:return Os(F,re,$t);case et:case yt:return new Lr(F);case pt:return En(F);case it:return mn(F,re,$t);case Tt:return I(F)}}function bn(F,st){return st=st??u,!!st&&(typeof F=="number"||zt.test(F))&&F>-1&&F%1==0&&F<st}function _i(F){var st=typeof F;return st=="string"||st=="number"||st=="symbol"||st=="boolean"?F!=="__proto__":F===null}function Vi(F){return!!Pr&&Pr in F}function ls(F){var st=F&&F.constructor,$t=typeof st=="function"&&st.prototype||fr;return F===$t}function Nn(F){if(F!=null){try{return Ur.call(F)}catch{}try{return F+""}catch{}}return""}function to(F){return os(F,!0,!0)}function Bi(F,st){return F===st||F!==F&&st!==st}function zi(F){return us(F)&&Vr.call(F,"callee")&&(!ye.call(F,"callee")||$r.call(F)==h)}var cs=Array.isArray;function xi(F){return F!=null&&fa(F.length)&&!To(F)}function us(F){return ha(F)&&xi(F)}var Ms=Mr||gr;function To(F){var st=fs(F)?$r.call(F):"";return st==D||st==Q}function fa(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=u}function fs(F){var st=typeof F;return!!F&&(st=="object"||st=="function")}function ha(F){return!!F&&typeof F=="object"}function hs(F){return xi(F)?Js(F):Ni(F)}function ar(){return[]}function gr(){return!1}t.exports=to})(nf,nf.exports);var Gs=nf.exports,sf=function(){return sf=Object.assign||function(r){for(var s,a=1,u=arguments.length;a<u;a++){s=arguments[a];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(r[h]=s[h])}return r},sf.apply(this,arguments)};function N$(t,r,s,a){function u(h){return h instanceof s?h:new s(function(m){m(h)})}return new(s||(s=Promise))(function(h,m){function y(D){try{O(a.next(D))}catch(Q){m(Q)}}function x(D){try{O(a.throw(D))}catch(Q){m(Q)}}function O(D){D.done?h(D.value):u(D.value).then(y,x)}O((a=a.apply(t,[])).next())})}function V$(t,r){var s={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},a,u,h,m;return m={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function y(O){return function(D){return x([O,D])}}function x(O){if(a)throw new TypeError("Generator is already executing.");for(;m&&(m=0,O[0]&&(s=0)),s;)try{if(a=1,u&&(h=O[0]&2?u.return:O[0]?u.throw||((h=u.return)&&h.call(u),0):u.next)&&!(h=h.call(u,O[1])).done)return h;switch(u=0,h&&(O=[O[0]&2,h.value]),O[0]){case 0:case 1:h=O;break;case 4:return s.label++,{value:O[1],done:!1};case 5:s.label++,u=O[1],O=[0];continue;case 7:O=s.ops.pop(),s.trys.pop();continue;default:if(h=s.trys,!(h=h.length>0&&h[h.length-1])&&(O[0]===6||O[0]===2)){s=0;continue}if(O[0]===3&&(!h||O[1]>h[0]&&O[1]<h[3])){s.label=O[1];break}if(O[0]===6&&s.label<h[1]){s.label=h[1],h=O;break}if(h&&s.label<h[2]){s.label=h[2],s.ops.push(O);break}h[2]&&s.ops.pop(),s.trys.pop();continue}O=r.call(t,s)}catch(D){O=[6,D],u=0}finally{a=h=0}if(O[0]&5)throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}}function lc(t,r,s,a,u){return N$(this,void 0,void 0,function(){var h,m;return V$(this,function(y){switch(y.label){case 0:if(s===void 0)return[2];m=0,y.label=1;case 1:return m<s.length?[4,s[m](t,r,a,u,s)]:[3,4];case 2:if(h=y.sent(),h==="canceled")return[3,4];y.label=3;case 3:return m++,[3,1];case 4:return h!=="canceled"?[2,h]:[2]}})})}var of=function(t,r){return r===void 0&&(r={}),t?{trackedAnalytics:sf({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},r)}:null},B$=function(){function t(r,s,a,u){var h=this;this.isMounted=!0,this.imgElement=r,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var m=Gs(s);lc(r,m,a,this.htmlPluginState,u).then(function(y){if(h.isMounted){h.htmlPluginState.pluginEventSubscription.forEach(function(O){O()});var x=of(u,y);h.imgElement.setAttribute("src",m.toURL(x))}})}return t.prototype.update=function(r,s,a){var u=this,h=Gs(r);lc(this.imgElement,h,s,this.htmlPluginState).then(function(m){if(u.isMounted){var y=of(a,m);u.imgElement.setAttribute("src",h.toURL(y))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();class Yr{constructor(r){this.values=[],this.delimiter=":",this.hasValue(r)&&this.addValue(r)}toString(){return this.values.join(this.delimiter)}hasValue(r){return typeof r<"u"&&r!==null&&r!==""}addValue(r){return Array.isArray(r)?this.values=this.values.concat(r):this.values.push(r),this.values=this.values.filter(s=>this.hasValue(s)),this}setDelimiter(r){return this.delimiter=r,this}}class z$ extends Error{constructor(r="Unsupported"){super(r)}}function Ff(t){return new z$(t)}function W$(){return this._qualifierModel||{error:Ff(`unsupported qualifier ${this.constructor.name}`)}}class U${constructor(){this._qualifierModel={}}toJson(){return W$.apply(this)}}class Ge extends U${constructor(r,s){super(),this.delimiter="_",this.key=r,s instanceof Yr?this.qualifierValue=s:(this.qualifierValue=new Yr,this.qualifierValue.addValue(s))}toString(){const{key:r,delimiter:s,qualifierValue:a}=this;return`${r}${s}${a.toString()}`}addValue(r){return this.qualifierValue.addValue(r),this}}class yi extends Ge{constructor(r,s){let a;s?a=new Yr([r,`${s}`]).setDelimiter(":"):a=r,super("fl",a),this.flagValue=s}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}}function q$(t,r){const s=Array.from(t.entries());return r.forEach(a=>{s.push(["fl",a])}),s.sort().map(a=>a[1])}function G$(){var t,r,s;const a=this._actionModel&&Object.keys(this._actionModel).length,u=(s=(r=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||r===void 0?void 0:r.transformation)===null||s===void 0?void 0:s.error;return u&&u instanceof Error?{error:u}:a?this._actionModel:{error:Ff(`unsupported action ${this.constructor.name}`)}}class H${constructor(){this._actionModel={}}toJson(){return G$.apply(this)}}class Fi extends H${constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(r){return this.actionTag=r,this}toString(){return this.prepareQualifiers(),q$(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(r){if(typeof r=="string"){const[s,a]=r.toLowerCase().split("_");s==="fl"?this.flags.push(new yi(a)):this.qualifiers.set(s,new Ge(s,a))}else this.qualifiers.set(r.key,r);return this}addFlag(r){return typeof r=="string"?this.flags.push(new yi(r)):r instanceof yi&&this.flags.push(r),this}addValueToQualifier(r,s){return this.qualifiers.get(r).addValue(s),this}}class jf extends Fi{constructor(r){super(),this.regionType=r,this._actionModel.regionType=r}}class Cc extends jf{constructor(){super("custom")}x(r){return this._actionModel.x=r,this.addQualifier(new Ge("x",r)),this}y(r){return this._actionModel.y=r,this.addQualifier(new Ge("y",r)),this}width(r){return this._actionModel.width=r,this.addQualifier(new Ge("w",r)),this}height(r){return this._actionModel.height=r,this.addQualifier(new Ge("h",r)),this}static fromJson(r){const s=new Cc;return r.width&&s.width(r.width),r.height&&s.height(r.height),r.x&&s.x(r.x),r.y&&s.y(r.y),s}}function Y$(){return new Cc}function rv(){return new jf("faces")}function K$(){return new jf("ocr_text")}class Q$ extends Fi{constructor(r){super(),this._actionModel={},this._strength=r,this._actionModel.actionType="blur",this._actionModel.strength=r}region(r){return this._region=r,this._actionModel.region=r.toJson(),this}strength(r){return this._strength=r,this._actionModel.strength=r,this}prepareQualifiers(){const r=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(a=>this.addQualifier(a)),this._region.regionType==="custom"&&this.addQualifier(new Ge("e",`blur_region${r}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Ge("e",`blur_region${r}`)),this.addQualifier(new Ge("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Ge("e",`blur_faces${r}`))):this.addQualifier(new Ge("e",`blur${r}`))}static fromJson(r){const{strength:s,region:a}=r,u=new this(s);return s&&u.strength(s),a&&a.regionType==="faces"&&u.region(rv()),a&&a.regionType==="ocr_text"&&u.region(K$()),a&&a.regionType==="custom"&&u.region(Cc.fromJson(a)),u}}function Eo(t){const r={};return Object.keys(t).forEach(s=>{r[t[s]]=s}),r}const nv={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},X$={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},iv={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},sv={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},J$={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ov={444:"CHROMA_444",420:"CHROMA_420"},Z$={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},tE=Eo(ov);Eo(Z$);const eE=Eo(nv),rE=Eo(X$),av=Eo(iv);Eo(sv);Eo(J$);class lv extends Fi{constructor(r,s){super(),this._actionModel={},this._actionModel.actionType=av[r]||r;const a=this.createEffectQualifier(r,s);this.addQualifier(a)}createEffectQualifier(r,s){let a;return s?a=new Yr([r,`${s}`]).setDelimiter(":"):a=new Yr(r),new Ge("e",a)}static fromJson(r){const{actionType:s,level:a,strength:u}=r,h=iv[s]||s;return new this(h,a||u)}}class nE extends lv{constructor(r,s){super(r,s),this.LEVEL_NAME="level",this._actionModel={},this.effectType=r,this._actionModel.actionType=av[r]||r,s&&this.setLevel(s)}setLevel(r){this._actionModel[this.LEVEL_NAME]=r;const s=this.createEffectQualifier(this.effectType,r);return this.addQualifier(s),this}}function Ac(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class iE extends Fi{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(r){return this._actionModel.numOfColors=r,this._numOfColors=r,this}detailsLevel(r){return this._actionModel.detailLevel=r,this._detailsLevel=r,this}despeckleLevel(r){return this._actionModel.despeckleLevel=r,this._despeckleLevel=r,this}cornersLevel(r){return this._actionModel.cornersLevel=r,this._cornersLevel=r,this}paths(r){return this._actionModel.paths=r,this._paths=r,this}prepareQualifiers(){let r="vectorize";this._numOfColors&&(r+=`:${new Yr(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(r+=`:${new Yr(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(r+=`:${new Yr(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(r+=`:${new Yr(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(r+=`:${new Yr(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new Ge("e",r))}static fromJson(r){const{actionType:s,paths:a,cornersLevel:u,despeckleLevel:h,detailLevel:m,numOfColors:y}=r,x=new this;return a&&x.paths(a),u&&x.cornersLevel(u),h&&x.despeckleLevel(h),m&&x.detailsLevel(m),y&&x.numOfColors(y),x}}class sE extends nE{level(r){return this._actionModel.level=r,this.setLevel(r)}}class oE extends Fi{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new Ge("e",new Yr("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new Ge("e",new Yr(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(r){return this._actionModel.type="stripes",this._actionModel.stripesStrength=r,this.addQualifier(new Ge("e",new Yr(["assist_colorblind",r]).setDelimiter(":")))}static fromJson(r){const{actionType:s,type:a,stripesStrength:u}=r,h=new this;return a==="xray"&&h.xray(),a==="stripes"&&u&&h.stripesStrength(u),h}}class aE extends sE{color(r){return this._actionModel.color=r,this.addQualifier(new Ge("co",new Yr(Ac(r))))}static fromJson(r){const{actionType:s,level:a,color:u}=r,h=new this(s,a);return u&&h.color(u),h}}class lE extends Fi{constructor(r){super(),this._actionModel={},this._squareSize=r,this._actionModel.actionType="pixelate",this._actionModel.squareSize=r}region(r){return this._region=r,this._actionModel.region={regionType:this._region.regionType},this}squareSize(r){return this._squareSize=r,this._actionModel.squareSize=r,this}prepareQualifiers(){const r=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(a=>this.addQualifier(a)),this._region.regionType==="custom"&&this.addQualifier(new Ge("e",`pixelate_region${r}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new Ge("e",`pixelate_region${r}`)),this.addQualifier(new Ge("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new Ge("e",`pixelate_faces${r}`))):this.addQualifier(new Ge("e",`pixelate${r}`))}static fromJson(r){const{region:s,squareSize:a}=r,u=new this(a);return a&&u.squareSize(a),s&&s.regionType==="faces"&&u.region(rv()),s&&s.regionType==="custom"&&u.region(Y$()),u}}function cE(t){return new Q$(t)}function uE(){return new lv("grayscale")}function Op(t){return new aE("colorize",t)}function fE(){return new iE}function hE(){return new oE}function dE(t){return new lE(t)}class pE extends Fi{constructor(r){super(),this._actionModel={},this.addQualifier(new Ge("b",new Yr(Ac(r)).setDelimiter("_"))),this._actionModel.color=r,this._actionModel.actionType="backgroundColor"}static fromJson(r){const{color:s}=r;return new this(s)}}class Mp{constructor(r){this.raw=r}toString(){return this.raw}toJson(){return{error:Ff(`unsupported action ${this.constructor.name}`)}}}function gE(t){const r=t;return"error"in r&&!!r.error}function vE(){return new yi("ignore_aspect_ratio")}function mE(){return new yi("lossy")}function yE(){return new yi("preserve_transparency")}function bE(t){return new yi("progressive",t)}function wE(){return new yi("region_relative")}function _E(){return new yi("relative")}class Df extends Yr{constructor(r){super(r),this.val=r}getValue(){return this.val}}class cv extends Fi{constructor(r,s,a){super(),this._actionModel={};let u;s instanceof Df?u=s.getValue():u=s,this._actionModel.actionType=rE[r],this._actionModel[a]=u,this.addQualifier(new Ge(r,s))}}class xE extends yi{constructor(r){super("progressive",r)}}class af extends cv{constructor(r,s){super(r,s,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(mE()),this}progressive(r){return r instanceof xE?(this._actionModel.progressive={mode:r.getFlagValue()},this.addFlag(r)):(this._actionModel.progressive={mode:r},this.addFlag(bE(r))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(yE()),this}static fromJson(r){const{formatType:s,lossy:a,progressive:u,preserveTransparency:h}=r;let m;return s?m=new this("f",s):m=new this("f"),u&&(u.mode?m.progressive(u.mode):m.progressive()),a&&m.lossy(),h&&m.preserveTransparency(),m}}class ca{constructor(){this.actions=[]}addAction(r){let s;if(typeof r=="string"){if(r.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";s=new Mp(r)}else s=r;return this.actions.push(s),this}addTransformation(r){return r instanceof ca?this.actions=this.actions.concat(r.actions):this.actions.push(new Mp(r)),this}toString(){return this.actions.map(r=>r.toString()).filter(r=>r).join("/")}animated(r){return this.addAction(r)}border(r){return this.addAction(r)}reshape(r){return this.addAction(r)}resize(r){return this.addAction(r)}quality(r){return this.addAction(new af("q",r)),this}format(r){return this.addAction(new af("f",r)),this}roundCorners(r){return this.addAction(r)}overlay(r){return this.addAction(r)}underlay(r){return r.setLayerType("u"),this.addAction(r)}addVariable(r){return this.addAction(r)}conditional(r){return this.addAction(r)}effect(r){return this.addAction(r)}adjust(r){return this.addAction(r)}rotate(r){return this.addAction(r)}namedTransformation(r){return this.addAction(r)}delivery(r){return this.addAction(r)}backgroundColor(r){return this.addAction(new pE(r))}psdTools(r){return this.addAction(r)}extract(r){return this.addAction(r)}addFlag(r){const s=new Fi;let a=r;return typeof r=="string"&&(a=new yi(r)),s.addQualifier(a),this.addAction(s)}customFunction(r){return this.addAction(r)}transcode(r){return this.addAction(r)}videoEdit(r){return this.addAction(r)}toJson(){const r=[];for(const s of this.actions){const a=s.toJson();if(gE(a))return a;r.push(a)}return{actions:r}}}function Lp(t){const r=t.toString();return r.match(/[A-Z]/gi)||r.length>1&&r[0]==="0"?r:!isNaN(parseFloat(r))&&r.indexOf(":")===-1&&r.indexOf(".")===-1?`${r}.0`:r}class SE extends Yr{}class CE extends Fi{constructor(r,s,a){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=eE[r]||r,this.addQualifier(new Ge("c",r)),s&&this.width(s),a&&this.height(a)}height(r){return this._actionModel.dimensions.height=r,this.addQualifier(new Ge("h",r))}width(r){return this._actionModel.dimensions.width=r,this.addQualifier(new Ge("w",r))}aspectRatio(r){if(r instanceof SE)return this._actionModel.dimensions.aspectRatio=`${r}`,this.addQualifier(new Ge("ar",r));if(typeof r=="number"||typeof r=="string")return this._actionModel.dimensions.aspectRatio=Lp(r),this.addQualifier(new Ge("ar",Lp(r)));if(r instanceof yi)return this._actionModel.dimensions.aspectRatio=`${r.qualifierValue}`,this.addFlag(r)}relative(){return this._actionModel.relative=!0,this.addFlag(_E())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(wE())}static fromJson(r){const{actionType:s,dimensions:a,relative:u,regionRelative:h}=r,{aspectRatio:m,width:y,height:x}=a,O=nv[s]||s,D=new this(O,y,x);return m&&D.aspectRatio(m==="ignore_aspect_ratio"?vE():m),u&&D.relative(),h&&D.regionRelative(),D}}class Nf extends Ge{constructor(r){super("g",new Yr(r))}}class uv extends Nf{constructor(){super("auto")}autoFocus(...r){return this.addValue(r),this}}class fv extends Nf{constructor(r){super(r)}fallbackGravity(r){return this.addValue(r.qualifierValue),this}}class hv extends Nf{constructor(r){super(r)}}function AE(t){return new hv(t)}function dv(...t){const r=[...t];return new fv(r)}function pv(){return new uv}class kc extends Yr{constructor(r){super(),this.name=r}toString(){return this.name}}function kE(){return new kc("ocr_text")}function $E(t){return t&&`${t}`.split(":")[0]==="auto"}function EE(t){const r=Vf(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(r)}function Vf(t){return`${t}`.replace("g_","")}function TE(t){return{compass:Vf(t),gravityType:"direction"}}function PE(t){return Vf(t)==="ocr_text"}function RE(){return{gravityType:"ocr"}}function IE(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function OE(t){const s=t.toString().split("_"),a={object:s[0]};return s.length>1&&(s[1]==="avoid"?a.avoid=!0:a.weight=+s[1]),a}function gv(t){let r;const s=t==="auto"?new uv:t;return`${t}`.startsWith("auto:")?r=`${t}`.split(":").filter(u=>u!=="auto"):r=s.qualifierValue.values.filter(u=>u!=="auto"),{gravityType:"auto",autoFocus:r.map(OE)}}function ME(t){const r=`${t}`.split(":").includes("auto"),s=t.qualifierValue.values,u={gravityType:"object",focusOnObjects:(r?s.slice(0,s.length-1):s).map(h=>`${h}`)};if(r){const h=s[s.length-1].values.slice(1),m=pv().autoFocus(...h);u.fallbackGravity=gv(m)}return u}function LE(t){const s=t.split(":").map(a=>new kc(a));return new fv(s)}function FE(t){return EE(t)?TE(t):PE(t)?RE():$E(t)||IE(t)?gv(t):ME(typeof t=="string"?LE(t):t)}class Bf extends Yr{constructor(r,s){super(),this._weight=s,this.focusOn=r,this.shouldAvoid=!1}static focusOn(r,s){return new Bf(r,s)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(r){return this._weight=r,this}avoid(){return this.shouldAvoid=!0,this}}class vv extends Yr{constructor(r){super(),this.val=r}toString(){return this.val}}function jE(t){return t.gravityType==="direction"}function DE(t){return t.gravityType==="ocr"}function NE(t){return t.gravityType==="auto"}function VE(t){const{object:r,weight:s,avoid:a}=t,u=new Bf(new kc(r));return(s||s===0)&&u.weight(s),a&&u.avoid(),u}function mv(t){const s=(t.autoFocus||[]).map(VE);return pv().autoFocus(...s)}function BE(t){const r=(t.focusOnObjects||[]).map(a=>new kc(a)),s=dv(...r);if(t.fallbackGravity){const a=mv(t.fallbackGravity);s.fallbackGravity(a)}return s}function zE(t){return jE(t)?new hv(new vv(t.compass)):DE(t)?dv(kE()):NE(t)?mv(t):BE(t)}class zf extends CE{gravity(r){this._actionModel.gravity=FE(r);const s=typeof r=="string"?new Ge("g",r):r;return this.addQualifier(s)}static fromJson(r){const s=super.fromJson.apply(this,[r]);return r.gravity&&s.gravity(zE(r.gravity)),s}}class ol extends Ge{constructor(r){super("b"),r&&this.addValue(r)}}const yv=100,WE=0;class UE extends ol{intensity(r){return this.intensityLevel=r,this}brightness(r){return this.brightnessLevel=r,this}toString(){const r=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",s=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${yv}:${this.brightnessLevel}`:"";return`b_blurred${r}${s}`}}var bv=UE;class Wf extends ol{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...r){return this._palette=r.map(s=>Ac(s)),this}}class wv extends Wf{toString(){return`
|
|
674
|
-
b_auto:border
|
|
675
|
-
${this._contrast?"_contrast":""}
|
|
676
|
-
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
677
|
-
`.replace(/\s+/g,"")}}class _v extends Wf{gradientColors(r){return this._gradientColors=r,this}gradientDirection(r){return this._gradientDirection=r,this}}class xv extends _v{toString(){return`
|
|
678
|
-
b_auto:border_gradient
|
|
679
|
-
${this._contrast?"_contrast":""}
|
|
680
|
-
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
681
|
-
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
682
|
-
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
683
|
-
`.replace(/\s+/g,"")}}class Sv extends _v{toString(){return`
|
|
684
|
-
b_auto:predominant_gradient
|
|
685
|
-
${this._contrast?"_contrast":""}
|
|
686
|
-
${this._gradientColors?`:${this._gradientColors}`:""}
|
|
687
|
-
${this._gradientDirection?`:${this._gradientDirection}`:""}
|
|
688
|
-
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
689
|
-
`.replace(/\s+/g,"")}}class Cv extends Wf{toString(){return`
|
|
690
|
-
b_auto:predominant
|
|
691
|
-
${this._contrast?"_contrast":""}
|
|
692
|
-
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
693
|
-
`.replace(/\s+/g,"")}}class Av extends ol{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(r){return this._prompt=r,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function kv(t){return`${t}`.replace("b_","")}function qE(){return{backgroundType:"auto"}}function GE(t){const{intensityLevel:r,brightnessLevel:s}=t,a={backgroundType:"blurred"};return(r||r===0)&&(a.intensity=r),(s||s===0)&&(a.brightness=s),a}function Uf(t){const r=t._contrast,s=t._palette,a={backgroundType:""};return r&&(a.contrast=!0),s&&(a.palette=s),a}function HE(t){return Object.assign(Object.assign({},Uf(t)),{backgroundType:"border"})}function $v(t){const r=t._gradientColors,s=`${t._gradientDirection}`,a=Uf(t);return r&&(a.gradientColors=r),s&&(a.gradientDirection=s),a}function YE(t){return Object.assign(Object.assign({},$v(t)),{backgroundType:"borderGradient"})}function KE(t){return{backgroundType:"color",color:kv(t)}}function QE(t){return Object.assign(Object.assign({},Uf(t)),{backgroundType:"predominant"})}function XE(t){return Object.assign(Object.assign({},$v(t)),{backgroundType:"predominantGradient"})}function JE(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function ZE(t){return kv(t)==="auto"?qE():t instanceof bv?GE(t):t instanceof wv?HE(t):t instanceof xv?YE(t):t instanceof Cv?QE(t):t instanceof Sv?XE(t):t instanceof Av?JE(t):KE(t)}function tT(){return new Df("svg")}function qf(){return new Df("auto")}function Ev(){return new wv}function Tv(){return new ol("auto")}function Pv(){return new xv}function Rv(){return new Sv}function Iv(){return new Cv}function Ov(t){return new ol(Ac(t))}function eT(){return new bv}function Mv(){return new Av}const Lv={auto:Tv,border:Ev,borderGradient:Pv,predominantGradient:Rv,predominant:Iv,color:Ov,blurred:eT,generativeFill:Mv};function rT(t){const{brightness:r,intensity:s}=t,a=Lv.blurred();return a.brightness(r??WE),a.intensity(s??yv),a}function Fp(t,r){const{gradientColors:s,gradientDirection:a,contrast:u,palette:h}=r;return u&&t.contrast(),h&&t.palette(...h),s&&t.gradientColors(+s),a&&t.gradientDirection(a),t}function jp(t,r){const{contrast:s,palette:a}=r;return s&&t.contrast(),a&&t.palette(...a),t}function nT(t,r){const{prompt:s}=r;return s&&t.prompt(s),t}function iT(t){const{backgroundType:r}=t;switch(r){case"auto":return Tv();case"blurred":return rT(t);case"border":return jp(Ev(),t);case"borderGradient":return Fp(Pv(),t);case"predominant":return jp(Iv(),t);case"predominantGradient":return Fp(Rv(),t);case"generativeFill":return nT(Mv(),t);default:return Ov(t.color)}}class sT extends zf{background(r){return this._actionModel.background=ZE(r),this.addQualifier(r)}offsetX(r){return this._actionModel.x=r,this.addQualifier(new Ge("x",r))}offsetY(r){return this._actionModel.y=r,this.addQualifier(new Ge("y",r))}static fromJson(r){const s=super.fromJson.apply(this,[r]);return r.background&&s.background(iT(r.background)),r.x&&s.offsetX(r.x),r.y&&s.offsetY(r.y),r.zoom&&s.zoom(r.zoom),s}}class oT extends zf{x(r){return this._actionModel.x=r,this.addQualifier(new Ge("x",r))}y(r){return this._actionModel.y=r,this.addQualifier(new Ge("y",r))}zoom(r){return this._actionModel.zoom=r,this.addQualifier(new Ge("z",r))}static fromJson(r){const s=super.fromJson.apply(this,[r]);return r.x&&s.x(r.x),r.y&&s.y(r.y),r.zoom&&s.zoom(r.zoom),s}}class aT extends zf{x(r){return this._actionModel.x=r,this.addQualifier(new Ge("x",r))}y(r){return this._actionModel.y=r,this.addQualifier(new Ge("y",r))}static fromJson(r){const s=super.fromJson.apply(this,[r]);return r.x&&s.x(r.x),r.y&&s.y(r.y),s}}function lT(t,r){return new oT("crop",t,r)}function cT(t,r){return new aT("fill",t,r)}function uT(t,r){return new sT("pad",t,r)}class fT extends cv{constructor(r){super("q",r.toString(),"level")}chromaSubSampling(r){this._actionModel.chromaSubSampling=ov[r];const s=new Yr([this._actionModel.level,r]);return s.setDelimiter(":"),this.addQualifier(new Ge("q",s))}quantization(r){this._actionModel.quantization=r;const s=new Yr([this._actionModel.level,`qmax_${r}`]).setDelimiter(":");return this.addQualifier(new Ge("q",s))}static fromJson(r){const{level:s,chromaSubSampling:a,quantization:u}=r,h=sv[s]||s,m=new this(h);if(a){const y=tE[a.toUpperCase()];y&&m.chromaSubSampling(+y)}return u&&m.quantization(u),m}}function $c(t){return new af("f",t)}function Ec(t){return new fT(t)}function hT(){return new vv("north_east")}Op(70).color("black"),Op(40).color("white"),uE(),hE();var dT=new ca().effect(fE()).delivery(Ec("auto")).delivery($c(tT())),pT=new ca().effect(dE()).delivery(Ec("auto")).delivery($c(qf())),gT=new ca().effect(cE(2e3)).delivery(Ec("auto")).delivery($c(qf())),vT=new ca().resize(uT("iw_div_2").aspectRatio(1).background(Lv.auto())).resize(lT(1,1).gravity(AE(hT()))).resize(cT().height("ih").width("iw")).delivery(Ec("auto")).delivery($c(qf())),Dp={vectorize:dT,pixelate:pT,blur:gT,"predominant-color":vT},Np="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Vp={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Bp="?_a=",mT=function(){function t(r,s,a,u,h,m,y){var x=this;this.mimeType="video",this.mimeSubTypes=Vp,this.videoElement=r,this.originalVideo=s,this.videoOptions=y,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var O=Gs(s);lc(r,s,u,this.htmlPluginState).then(function(){x.htmlPluginState.pluginEventSubscription.forEach(function(D){D()}),x.setVideoAttributes(h,m),x.handleSourceToVideo(O,a)})}return t.prototype.handleSourceToVideo=function(r,s){var a=this;if(s)this.generateUserSources(r,s);else{var u=["webm","mp4","ogv"];u.forEach(function(h){a.appendSourceTag(Gs(r),h)})}},t.prototype.generateUserSources=function(r,s){var a=this;s.map(function(u){var h=u.type,m=u.codecs,y=u.transcode;return a.appendSourceTag(Gs(r).transcode(y),h,a.buildMimeType(h,m))})},t.prototype.appendSourceTag=function(r,s,a){var u,h=document.createElement("source"),m=(u=this.videoOptions)===null||u===void 0?void 0:u.useFetchFormat;m&&r.format(s);var y=r.toURL(),x=y.split(Bp),O=x[1]?"".concat(Bp).concat(x[1]):"",D=m?"":".".concat(s);h.src="".concat(x[0]).concat(D).concat(O),h.type=a||"video/".concat(Vp[s]||s),this.videoElement.appendChild(h)},t.prototype.buildMimeType=function(r,s){var a="".concat(this.mimeType,"/").concat(this.mimeSubTypes[r]||r);return s&&(a+="; codecs="+(Array.isArray(s)?s.join(", "):s)),a},t.prototype.setVideoAttributes=function(r,s){var a;if(r===void 0&&(r={}),s==="auto"){var u=Gs(this.originalVideo);r.poster=u.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else s&&(r.poster=(a=s.toURL)===null||a===void 0?void 0:a.call(s));for(var h=0,m=Object.entries(r);h<m.length;h++){var y=m[h],x=y[0],O=y[1];O&&this.videoElement.setAttribute(x,x==="poster"?O:"")}},t.prototype.update=function(r,s,a,u,h){var m=this;if(r!==this.originalVideo){for(var y=this.videoElement.getElementsByTagName("SOURCE");y[0];)y[0].parentNode.removeChild(y[0]);lc(this.videoElement,r,a,this.htmlPluginState).then(function(){m.setVideoAttributes(u,h),m.handleSourceToVideo(r,s),m.videoElement.load()})}},t}(),yT=typeof qs=="object"&&qs&&qs.Object===Object&&qs,bT=typeof self=="object"&&self&&self.Object===Object&&self;yT||bT||Function("return this")();function Gf(){return typeof window<"u"}function wT(t){return t instanceof HTMLImageElement}function _T(t){var r={},s=r.rootMargin,a=s===void 0?"0px":s,u=r.threshold,h=u===void 0?.1:u;return xT.bind(null,a,h)}function xT(t,r,s,a,u,h){return t===void 0&&(t="0px"),r===void 0&&(r=.1),Gf()?new Promise(function(m){var y=function(){return m({lazyload:!0})},x=CT(s,y,t,r);u.cleanupCallbacks.push(function(){x(),m("canceled")})}):!1}function ST(){return window&&"IntersectionObserver"in window}function CT(t,r,s,a){try{if(!ST())return r(),function(){};var u=new IntersectionObserver(function(h){h.forEach(function(m){m.isIntersecting&&(u.unobserve(m.target),r())})},{rootMargin:s,threshold:a});return u.observe(t),function(){t&&u.observe(t)}}catch{r()}}function Fv(t){var r={},s=r.mode,a=s===void 0?"vectorize":s;return AT.bind(null,a)}function AT(t,r,s,a,u,h){Dp[t]||(t="vectorize");var m=Dp[t].actions,y=Gs(s);if(m.forEach(function(O){y.addAction(O)}),!Gf())return s.transformation=y.transformation,!0;if(wT(r)){y.transformation.actions.forEach(function(O,D){O instanceof Fi&&O.getActionTag()==="responsive"&&delete y.transformation.actions[D]});var x=of(u,{placeholder:!0});return r.src=y.toURL(x),r.onerror=function(){r.src=Np},new Promise(function(O){r.onload=function(){O()}}).then(function(){return new Promise(function(O){a.cleanupCallbacks.push(function(){r.src=Np,O("canceled")});var D=new Image;D.src=s.toURL(x),D.onload=function(){O({placeholder:!0})},D.onerror=function(){O({placeholder:!0})}})})}}function kT(t,r,s){var a=Gs(r);if(t)for(var u=0;u<t.length;u++){var h=t[u](null,a);if(!h)break}return a.toURL(s?{trackedAnalytics:s}:null)}function cc(t){t.cleanupCallbacks.forEach(function(r){r()})}var lf=function(t,r){return lf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,a){s.__proto__=a}||function(s,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u])},lf(t,r)};function jv(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");lf(t,r);function s(){this.constructor=t}t.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}var za=function(){return za=Object.assign||function(r){for(var s,a=1,u=arguments.length;a<u;a++){s=arguments[a];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(r[h]=s[h])}return r},za.apply(this,arguments)};function Dv(t,r){var s={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&r.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(t);u<a.length;u++)r.indexOf(a[u])<0&&Object.prototype.propertyIsEnumerable.call(t,a[u])&&(s[a[u]]=t[a[u]]);return s}var Wa={exports:{}},xr={};/*
|
|
694
|
-
object-assign
|
|
695
|
-
(c) Sindre Sorhus
|
|
696
|
-
@license MIT
|
|
697
|
-
*/var zp=Object.getOwnPropertySymbols,$T=Object.prototype.hasOwnProperty,ET=Object.prototype.propertyIsEnumerable;function TT(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function PT(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},s=0;s<10;s++)r["_"+String.fromCharCode(s)]=s;var a=Object.getOwnPropertyNames(r).map(function(h){return r[h]});if(a.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(h){u[h]=h}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Nv=PT()?Object.assign:function(t,r){for(var s,a=TT(t),u,h=1;h<arguments.length;h++){s=Object(arguments[h]);for(var m in s)$T.call(s,m)&&(a[m]=s[m]);if(zp){u=zp(s);for(var y=0;y<u.length;y++)ET.call(s,u[y])&&(a[u[y]]=s[u[y]])}}return a};/** @license React v16.14.0
|
|
698
|
-
* react.production.min.js
|
|
699
|
-
*
|
|
700
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
701
|
-
*
|
|
702
|
-
* This source code is licensed under the MIT license found in the
|
|
703
|
-
* LICENSE file in the root directory of this source tree.
|
|
704
|
-
*/var Hf=Nv,ji=typeof Symbol=="function"&&Symbol.for,al=ji?Symbol.for("react.element"):60103,RT=ji?Symbol.for("react.portal"):60106,IT=ji?Symbol.for("react.fragment"):60107,OT=ji?Symbol.for("react.strict_mode"):60108,MT=ji?Symbol.for("react.profiler"):60114,LT=ji?Symbol.for("react.provider"):60109,FT=ji?Symbol.for("react.context"):60110,jT=ji?Symbol.for("react.forward_ref"):60112,DT=ji?Symbol.for("react.suspense"):60113,NT=ji?Symbol.for("react.memo"):60115,VT=ji?Symbol.for("react.lazy"):60116,Wp=typeof Symbol=="function"&&Symbol.iterator;function ll(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Vv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bv={};function ua(t,r,s){this.props=t,this.context=r,this.refs=Bv,this.updater=s||Vv}ua.prototype.isReactComponent={};ua.prototype.setState=function(t,r){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error(ll(85));this.updater.enqueueSetState(this,t,r,"setState")};ua.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function zv(){}zv.prototype=ua.prototype;function Yf(t,r,s){this.props=t,this.context=r,this.refs=Bv,this.updater=s||Vv}var Kf=Yf.prototype=new zv;Kf.constructor=Yf;Hf(Kf,ua.prototype);Kf.isPureReactComponent=!0;var Qf={current:null},Wv=Object.prototype.hasOwnProperty,Uv={key:!0,ref:!0,__self:!0,__source:!0};function qv(t,r,s){var a,u={},h=null,m=null;if(r!=null)for(a in r.ref!==void 0&&(m=r.ref),r.key!==void 0&&(h=""+r.key),r)Wv.call(r,a)&&!Uv.hasOwnProperty(a)&&(u[a]=r[a]);var y=arguments.length-2;if(y===1)u.children=s;else if(1<y){for(var x=Array(y),O=0;O<y;O++)x[O]=arguments[O+2];u.children=x}if(t&&t.defaultProps)for(a in y=t.defaultProps,y)u[a]===void 0&&(u[a]=y[a]);return{$$typeof:al,type:t,key:h,ref:m,props:u,_owner:Qf.current}}function BT(t,r){return{$$typeof:al,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}function Xf(t){return typeof t=="object"&&t!==null&&t.$$typeof===al}function zT(t){var r={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(s){return r[s]})}var Gv=/\/+/g,uc=[];function Hv(t,r,s,a){if(uc.length){var u=uc.pop();return u.result=t,u.keyPrefix=r,u.func=s,u.context=a,u.count=0,u}return{result:t,keyPrefix:r,func:s,context:a,count:0}}function Yv(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>uc.length&&uc.push(t)}function cf(t,r,s,a){var u=typeof t;(u==="undefined"||u==="boolean")&&(t=null);var h=!1;if(t===null)h=!0;else switch(u){case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case al:case RT:h=!0}}if(h)return s(a,t,r===""?"."+Ou(t,0):r),1;if(h=0,r=r===""?".":r+":",Array.isArray(t))for(var m=0;m<t.length;m++){u=t[m];var y=r+Ou(u,m);h+=cf(u,y,s,a)}else if(t===null||typeof t!="object"?y=null:(y=Wp&&t[Wp]||t["@@iterator"],y=typeof y=="function"?y:null),typeof y=="function")for(t=y.call(t),m=0;!(u=t.next()).done;)u=u.value,y=r+Ou(u,m++),h+=cf(u,y,s,a);else if(u==="object")throw s=""+t,Error(ll(31,s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s,""));return h}function uf(t,r,s){return t==null?0:cf(t,"",r,s)}function Ou(t,r){return typeof t=="object"&&t!==null&&t.key!=null?zT(t.key):r.toString(36)}function WT(t,r){t.func.call(t.context,r,t.count++)}function UT(t,r,s){var a=t.result,u=t.keyPrefix;t=t.func.call(t.context,r,t.count++),Array.isArray(t)?ff(t,a,s,function(h){return h}):t!=null&&(Xf(t)&&(t=BT(t,u+(!t.key||r&&r.key===t.key?"":(""+t.key).replace(Gv,"$&/")+"/")+s)),a.push(t))}function ff(t,r,s,a,u){var h="";s!=null&&(h=(""+s).replace(Gv,"$&/")+"/"),r=Hv(r,h,a,u),uf(t,UT,r),Yv(r)}var Kv={current:null};function Es(){var t=Kv.current;if(t===null)throw Error(ll(321));return t}var qT={ReactCurrentDispatcher:Kv,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Qf,IsSomeRendererActing:{current:!1},assign:Hf};xr.Children={map:function(t,r,s){if(t==null)return t;var a=[];return ff(t,a,null,r,s),a},forEach:function(t,r,s){if(t==null)return t;r=Hv(null,null,r,s),uf(t,WT,r),Yv(r)},count:function(t){return uf(t,function(){return null},null)},toArray:function(t){var r=[];return ff(t,r,null,function(s){return s}),r},only:function(t){if(!Xf(t))throw Error(ll(143));return t}};xr.Component=ua;xr.Fragment=IT;xr.Profiler=MT;xr.PureComponent=Yf;xr.StrictMode=OT;xr.Suspense=DT;xr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qT;xr.cloneElement=function(t,r,s){if(t==null)throw Error(ll(267,t));var a=Hf({},t.props),u=t.key,h=t.ref,m=t._owner;if(r!=null){if(r.ref!==void 0&&(h=r.ref,m=Qf.current),r.key!==void 0&&(u=""+r.key),t.type&&t.type.defaultProps)var y=t.type.defaultProps;for(x in r)Wv.call(r,x)&&!Uv.hasOwnProperty(x)&&(a[x]=r[x]===void 0&&y!==void 0?y[x]:r[x])}var x=arguments.length-2;if(x===1)a.children=s;else if(1<x){y=Array(x);for(var O=0;O<x;O++)y[O]=arguments[O+2];a.children=y}return{$$typeof:al,type:t.type,key:u,ref:h,props:a,_owner:m}};xr.createContext=function(t,r){return r===void 0&&(r=null),t={$$typeof:FT,_calculateChangedBits:r,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:LT,_context:t},t.Consumer=t};xr.createElement=qv;xr.createFactory=function(t){var r=qv.bind(null,t);return r.type=t,r};xr.createRef=function(){return{current:null}};xr.forwardRef=function(t){return{$$typeof:jT,render:t}};xr.isValidElement=Xf;xr.lazy=function(t){return{$$typeof:VT,_ctor:t,_status:-1,_result:null}};xr.memo=function(t,r){return{$$typeof:NT,type:t,compare:r===void 0?null:r}};xr.useCallback=function(t,r){return Es().useCallback(t,r)};xr.useContext=function(t,r){return Es().useContext(t,r)};xr.useDebugValue=function(){};xr.useEffect=function(t,r){return Es().useEffect(t,r)};xr.useImperativeHandle=function(t,r,s){return Es().useImperativeHandle(t,r,s)};xr.useLayoutEffect=function(t,r){return Es().useLayoutEffect(t,r)};xr.useMemo=function(t,r){return Es().useMemo(t,r)};xr.useReducer=function(t,r,s){return Es().useReducer(t,r,s)};xr.useRef=function(t){return Es().useRef(t)};xr.useState=function(t){return Es().useState(t)};xr.version="16.14.0";var wr={},GT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",HT=GT,YT=Function.call.bind(Object.prototype.hasOwnProperty),hf=function(){};if(process.env.NODE_ENV!=="production"){var KT=HT,df={},QT=YT;hf=function(t){var r="Warning: "+t;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}}}function Qv(t,r,s,a,u){if(process.env.NODE_ENV!=="production"){for(var h in t)if(QT(t,h)){var m;try{if(typeof t[h]!="function"){var y=Error((a||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}m=t[h](r,h,a,s,null,KT)}catch(O){m=O}if(m&&!(m instanceof Error)&&hf((a||"React class")+": type specification of "+s+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in df)){df[m.message]=!0;var x=u?u():"";hf("Failed "+s+" type: "+m.message+(x??""))}}}}Qv.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(df={})};var XT=Qv;/** @license React v16.14.0
|
|
705
|
-
* react.development.js
|
|
706
|
-
*
|
|
707
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
708
|
-
*
|
|
709
|
-
* This source code is licensed under the MIT license found in the
|
|
710
|
-
* LICENSE file in the root directory of this source tree.
|
|
711
|
-
*/process.env.NODE_ENV!=="production"&&function(){var t=Nv,r=XT,s="16.14.0",a=typeof Symbol=="function"&&Symbol.for,u=a?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,m=a?Symbol.for("react.fragment"):60107,y=a?Symbol.for("react.strict_mode"):60108,x=a?Symbol.for("react.profiler"):60114,O=a?Symbol.for("react.provider"):60109,D=a?Symbol.for("react.context"):60110,Q=a?Symbol.for("react.concurrent_mode"):60111,J=a?Symbol.for("react.forward_ref"):60112,et=a?Symbol.for("react.suspense"):60113,ut=a?Symbol.for("react.suspense_list"):60120,ft=a?Symbol.for("react.memo"):60115,pt=a?Symbol.for("react.lazy"):60116,it=a?Symbol.for("react.block"):60121,yt=a?Symbol.for("react.fundamental"):60117,Tt=a?Symbol.for("react.responder"):60118,Lt=a?Symbol.for("react.scope"):60119,Mt=typeof Symbol=="function"&&Symbol.iterator,vt="@@iterator";function Ct(I){if(I===null||typeof I!="object")return null;var rt=Mt&&I[Mt]||I[vt];return typeof rt=="function"?rt:null}var qt={current:null},ie={suspense:null},de={current:null},me=/^(.*)[\\\/]/;function Me(I,rt,ht){var xt="";if(rt){var Wt=rt.fileName,je=Wt.replace(me,"");if(/^index\./.test(je)){var he=Wt.match(me);if(he){var be=he[1];if(be){var Ze=be.replace(me,"");je=Ze+"/"+je}}}xt=" (at "+je+":"+rt.lineNumber+")"}else ht&&(xt=" (created by "+ht+")");return`
|
|
712
|
-
in `+(I||"Unknown")+xt}var xe=1;function ct(I){return I._status===xe?I._result:null}function dt(I,rt,ht){var xt=rt.displayName||rt.name||"";return I.displayName||(xt!==""?ht+"("+xt+")":ht)}function St(I){if(I==null)return null;if(typeof I.tag=="number"&&Gt("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case m:return"Fragment";case h:return"Portal";case x:return"Profiler";case y:return"StrictMode";case et:return"Suspense";case ut:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case D:return"Context.Consumer";case O:return"Context.Provider";case J:return dt(I,I.render,"ForwardRef");case ft:return St(I.type);case it:return St(I.render);case pt:{var rt=I,ht=ct(rt);if(ht)return St(ht);break}}return null}var wt={},It=null;function zt(I){It=I}wt.getCurrentStack=null,wt.getStackAddendum=function(){var I="";if(It){var rt=St(It.type),ht=It._owner;I+=Me(rt,It._source,ht&&St(ht.type))}var xt=wt.getCurrentStack;return xt&&(I+=xt()||""),I};var jt={current:!1},ne={ReactCurrentDispatcher:qt,ReactCurrentBatchConfig:ie,ReactCurrentOwner:de,IsSomeRendererActing:jt,assign:t};t(ne,{ReactDebugCurrentFrame:wt,ReactComponentTreeHook:{}});function se(I){{for(var rt=arguments.length,ht=new Array(rt>1?rt-1:0),xt=1;xt<rt;xt++)ht[xt-1]=arguments[xt];De("warn",I,ht)}}function Gt(I){{for(var rt=arguments.length,ht=new Array(rt>1?rt-1:0),xt=1;xt<rt;xt++)ht[xt-1]=arguments[xt];De("error",I,ht)}}function De(I,rt,ht){{var xt=ht.length>0&&typeof ht[ht.length-1]=="string"&&ht[ht.length-1].indexOf(`
|
|
713
|
-
in`)===0;if(!xt){var Wt=ne.ReactDebugCurrentFrame,je=Wt.getStackAddendum();je!==""&&(rt+="%s",ht=ht.concat([je]))}var he=ht.map(function(Ir){return""+Ir});he.unshift("Warning: "+rt),Function.prototype.apply.call(console[I],console,he);try{var be=0,Ze="Warning: "+rt.replace(/%s/g,function(){return ht[be++]});throw new Error(Ze)}catch{}}}var Yt={};function er(I,rt){{var ht=I.constructor,xt=ht&&(ht.displayName||ht.name)||"ReactClass",Wt=xt+"."+rt;if(Yt[Wt])return;Gt("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",rt,xt),Yt[Wt]=!0}}var rr={isMounted:function(I){return!1},enqueueForceUpdate:function(I,rt,ht){er(I,"forceUpdate")},enqueueReplaceState:function(I,rt,ht,xt){er(I,"replaceState")},enqueueSetState:function(I,rt,ht,xt){er(I,"setState")}},Nt={};Object.freeze(Nt);function te(I,rt,ht){this.props=I,this.context=rt,this.refs=Nt,this.updater=ht||rr}te.prototype.isReactComponent={},te.prototype.setState=function(I,rt){if(!(typeof I=="object"||typeof I=="function"||I==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,rt,"setState")},te.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};{var Ie={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Le=function(I,rt){Object.defineProperty(te.prototype,I,{get:function(){se("%s(...) is deprecated in plain JavaScript React classes. %s",rt[0],rt[1])}})};for(var Ke in Ie)Ie.hasOwnProperty(Ke)&&Le(Ke,Ie[Ke])}function Pe(){}Pe.prototype=te.prototype;function ze(I,rt,ht){this.props=I,this.context=rt,this.refs=Nt,this.updater=ht||rr}var We=ze.prototype=new Pe;We.constructor=ze,t(We,te.prototype),We.isPureReactComponent=!0;function ce(){var I={current:null};return Object.seal(I),I}var Se=Object.prototype.hasOwnProperty,Wr={key:!0,ref:!0,__self:!0,__source:!0},fe,fr,ur;ur={};function Pr(I){if(Se.call(I,"ref")){var rt=Object.getOwnPropertyDescriptor(I,"ref").get;if(rt&&rt.isReactWarning)return!1}return I.ref!==void 0}function Ur(I){if(Se.call(I,"key")){var rt=Object.getOwnPropertyDescriptor(I,"key").get;if(rt&&rt.isReactWarning)return!1}return I.key!==void 0}function Vr(I,rt){var ht=function(){fe||(fe=!0,Gt("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",rt))};ht.isReactWarning=!0,Object.defineProperty(I,"key",{get:ht,configurable:!0})}function $r(I,rt){var ht=function(){fr||(fr=!0,Gt("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",rt))};ht.isReactWarning=!0,Object.defineProperty(I,"ref",{get:ht,configurable:!0})}function rn(I){if(typeof I.ref=="string"&&de.current&&I.__self&&de.current.stateNode!==I.__self){var rt=St(de.current.type);ur[rt]||(Gt('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',St(de.current.type),I.ref),ur[rt]=!0)}}var Sr=function(I,rt,ht,xt,Wt,je,he){var be={$$typeof:u,type:I,key:rt,ref:ht,props:he,_owner:je};return be._store={},Object.defineProperty(be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:xt}),Object.defineProperty(be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Wt}),Object.freeze&&(Object.freeze(be.props),Object.freeze(be)),be};function Je(I,rt,ht){var xt,Wt={},je=null,he=null,be=null,Ze=null;if(rt!=null){Pr(rt)&&(he=rt.ref,rn(rt)),Ur(rt)&&(je=""+rt.key),be=rt.__self===void 0?null:rt.__self,Ze=rt.__source===void 0?null:rt.__source;for(xt in rt)Se.call(rt,xt)&&!Wr.hasOwnProperty(xt)&&(Wt[xt]=rt[xt])}var Ir=arguments.length-2;if(Ir===1)Wt.children=ht;else if(Ir>1){for(var hn=Array(Ir),dn=0;dn<Ir;dn++)hn[dn]=arguments[dn+2];Object.freeze&&Object.freeze(hn),Wt.children=hn}if(I&&I.defaultProps){var or=I.defaultProps;for(xt in or)Wt[xt]===void 0&&(Wt[xt]=or[xt])}if(je||he){var bn=typeof I=="function"?I.displayName||I.name||"Unknown":I;je&&Vr(Wt,bn),he&&$r(Wt,bn)}return Sr(I,je,he,be,Ze,de.current,Wt)}function Br(I,rt){var ht=Sr(I.type,rt,I.ref,I._self,I._source,I._owner,I.props);return ht}function Kr(I,rt,ht){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var xt,Wt=t({},I.props),je=I.key,he=I.ref,be=I._self,Ze=I._source,Ir=I._owner;if(rt!=null){Pr(rt)&&(he=rt.ref,Ir=de.current),Ur(rt)&&(je=""+rt.key);var hn;I.type&&I.type.defaultProps&&(hn=I.type.defaultProps);for(xt in rt)Se.call(rt,xt)&&!Wr.hasOwnProperty(xt)&&(rt[xt]===void 0&&hn!==void 0?Wt[xt]=hn[xt]:Wt[xt]=rt[xt])}var dn=arguments.length-2;if(dn===1)Wt.children=ht;else if(dn>1){for(var or=Array(dn),bn=0;bn<dn;bn++)or[bn]=arguments[bn+2];Wt.children=or}return Sr(I.type,je,he,be,Ze,Ir,Wt)}function Ne(I){return typeof I=="object"&&I!==null&&I.$$typeof===u}var ye=".",we=":";function pe(I){var rt=/[=:]/g,ht={"=":"=0",":":"=2"},xt=(""+I).replace(rt,function(Wt){return ht[Wt]});return"$"+xt}var Mr=!1,nn=/\/+/g;function qr(I){return(""+I).replace(nn,"$&/")}var Qr=10,Rr=[];function fn(I,rt,ht,xt){if(Rr.length){var Wt=Rr.pop();return Wt.result=I,Wt.keyPrefix=rt,Wt.func=ht,Wt.context=xt,Wt.count=0,Wt}else return{result:I,keyPrefix:rt,func:ht,context:xt,count:0}}function Ht(I){I.result=null,I.keyPrefix=null,I.func=null,I.context=null,I.count=0,Rr.length<Qr&&Rr.push(I)}function Er(I,rt,ht,xt){var Wt=typeof I;(Wt==="undefined"||Wt==="boolean")&&(I=null);var je=!1;if(I===null)je=!0;else switch(Wt){case"string":case"number":je=!0;break;case"object":switch(I.$$typeof){case u:case h:je=!0}}if(je)return ht(xt,I,rt===""?ye+pr(I,0):rt),1;var he,be,Ze=0,Ir=rt===""?ye:rt+we;if(Array.isArray(I))for(var hn=0;hn<I.length;hn++)he=I[hn],be=Ir+pr(he,hn),Ze+=Er(he,be,ht,xt);else{var dn=Ct(I);if(typeof dn=="function"){dn===I.entries&&(Mr||se("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Mr=!0);for(var or=dn.call(I),bn,_i=0;!(bn=or.next()).done;)he=bn.value,be=Ir+pr(he,_i++),Ze+=Er(he,be,ht,xt)}else if(Wt==="object"){var Vi="";Vi=" If you meant to render a collection of children, use an array instead."+wt.getStackAddendum();var ls=""+I;throw Error("Objects are not valid as a React child (found: "+(ls==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":ls)+")."+Vi)}}return Ze}function Xr(I,rt,ht){return I==null?0:Er(I,"",rt,ht)}function pr(I,rt){return typeof I=="object"&&I!==null&&I.key!=null?pe(I.key):rt.toString(36)}function Gr(I,rt,ht){var xt=I.func,Wt=I.context;xt.call(Wt,rt,I.count++)}function oe(I,rt,ht){if(I==null)return I;var xt=fn(null,null,rt,ht);Xr(I,Gr,xt),Ht(xt)}function Fe(I,rt,ht){var xt=I.result,Wt=I.keyPrefix,je=I.func,he=I.context,be=je.call(he,rt,I.count++);Array.isArray(be)?Cr(be,xt,ht,function(Ze){return Ze}):be!=null&&(Ne(be)&&(be=Br(be,Wt+(be.key&&(!rt||rt.key!==be.key)?qr(be.key)+"/":"")+ht)),xt.push(be))}function Cr(I,rt,ht,xt,Wt){var je="";ht!=null&&(je=qr(ht)+"/");var he=fn(rt,je,xt,Wt);Xr(I,Fe,he),Ht(he)}function vn(I,rt,ht){if(I==null)return I;var xt=[];return Cr(I,xt,null,rt,ht),xt}function Vt(I){return Xr(I,function(){return null},null)}function ee(I){var rt=[];return Cr(I,rt,null,function(ht){return ht}),rt}function Pt(I){if(!Ne(I))throw Error("React.Children.only expected to receive a single React element child.");return I}function Re(I,rt){rt===void 0?rt=null:rt!==null&&typeof rt!="function"&&Gt("createContext: Expected the optional second argument to be a function. Instead received: %s",rt);var ht={$$typeof:D,_calculateChangedBits:rt,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null};ht.Provider={$$typeof:O,_context:ht};var xt=!1,Wt=!1;{var je={$$typeof:D,_context:ht,_calculateChangedBits:ht._calculateChangedBits};Object.defineProperties(je,{Provider:{get:function(){return Wt||(Wt=!0,Gt("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),ht.Provider},set:function(he){ht.Provider=he}},_currentValue:{get:function(){return ht._currentValue},set:function(he){ht._currentValue=he}},_currentValue2:{get:function(){return ht._currentValue2},set:function(he){ht._currentValue2=he}},_threadCount:{get:function(){return ht._threadCount},set:function(he){ht._threadCount=he}},Consumer:{get:function(){return xt||(xt=!0,Gt("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),ht.Consumer}}}),ht.Consumer=je}return ht._currentRenderer=null,ht._currentRenderer2=null,ht}function mr(I){var rt={$$typeof:pt,_ctor:I,_status:-1,_result:null};{var ht,xt;Object.defineProperties(rt,{defaultProps:{configurable:!0,get:function(){return ht},set:function(Wt){Gt("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ht=Wt,Object.defineProperty(rt,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return xt},set:function(Wt){Gt("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),xt=Wt,Object.defineProperty(rt,"propTypes",{enumerable:!0})}}})}return rt}function sn(I){return I!=null&&I.$$typeof===ft?Gt("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof I!="function"?Gt("forwardRef requires a render function but was given %s.",I===null?"null":typeof I):I.length!==0&&I.length!==2&&Gt("forwardRef render functions accept exactly two parameters: props and ref. %s",I.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),I!=null&&(I.defaultProps!=null||I.propTypes!=null)&&Gt("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:J,render:I}}function hr(I){return typeof I=="string"||typeof I=="function"||I===m||I===Q||I===x||I===y||I===et||I===ut||typeof I=="object"&&I!==null&&(I.$$typeof===pt||I.$$typeof===ft||I.$$typeof===O||I.$$typeof===D||I.$$typeof===J||I.$$typeof===yt||I.$$typeof===Tt||I.$$typeof===Lt||I.$$typeof===it)}function q(I,rt){return hr(I)||Gt("memo: The first argument must be a component. Instead received: %s",I===null?"null":typeof I),{$$typeof:ft,type:I,compare:rt===void 0?null:rt}}function _t(){var I=qt.current;if(I===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
714
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
715
|
-
2. You might be breaking the Rules of Hooks
|
|
716
|
-
3. You might have more than one copy of React in the same app
|
|
717
|
-
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return I}function Rt(I,rt){var ht=_t();if(rt!==void 0&&Gt("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",rt,typeof rt=="number"&&Array.isArray(arguments[2])?`
|
|
718
|
-
|
|
719
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),I._context!==void 0){var xt=I._context;xt.Consumer===I?Gt("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):xt.Provider===I&&Gt("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return ht.useContext(I,rt)}function Kt(I){var rt=_t();return rt.useState(I)}function At(I,rt,ht){var xt=_t();return xt.useReducer(I,rt,ht)}function ae(I){var rt=_t();return rt.useRef(I)}function Ce(I,rt){var ht=_t();return ht.useEffect(I,rt)}function ve(I,rt){var ht=_t();return ht.useLayoutEffect(I,rt)}function Ue(I,rt){var ht=_t();return ht.useCallback(I,rt)}function ue(I,rt){var ht=_t();return ht.useMemo(I,rt)}function Ve(I,rt,ht){var xt=_t();return xt.useImperativeHandle(I,rt,ht)}function dr(I,rt){{var ht=_t();return ht.useDebugValue(I,rt)}}var Qe;Qe=!1;function Rn(){if(de.current){var I=St(de.current.type);if(I)return`
|
|
720
|
-
|
|
721
|
-
Check the render method of \``+I+"`."}return""}function _e(I){if(I!==void 0){var rt=I.fileName.replace(/^.*[\\\/]/,""),ht=I.lineNumber;return`
|
|
722
|
-
|
|
723
|
-
Check your code at `+rt+":"+ht+"."}return""}function Xs(I){return I!=null?_e(I.__source):""}var is={};function Js(I){var rt=Rn();if(!rt){var ht=typeof I=="string"?I:I.displayName||I.name;ht&&(rt=`
|
|
724
|
-
|
|
725
|
-
Check the top-level render call using <`+ht+">.")}return rt}function Di(I,rt){if(!(!I._store||I._store.validated||I.key!=null)){I._store.validated=!0;var ht=Js(rt);if(!is[ht]){is[ht]=!0;var xt="";I&&I._owner&&I._owner!==de.current&&(xt=" It was passed a child from "+St(I._owner.type)+"."),zt(I),Gt('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',ht,xt),zt(null)}}}function ii(I,rt){if(typeof I=="object"){if(Array.isArray(I))for(var ht=0;ht<I.length;ht++){var xt=I[ht];Ne(xt)&&Di(xt,rt)}else if(Ne(I))I._store&&(I._store.validated=!0);else if(I){var Wt=Ct(I);if(typeof Wt=="function"&&Wt!==I.entries)for(var je=Wt.call(I),he;!(he=je.next()).done;)Ne(he.value)&&Di(he.value,rt)}}}function ss(I){{var rt=I.type;if(rt==null||typeof rt=="string")return;var ht=St(rt),xt;if(typeof rt=="function")xt=rt.propTypes;else if(typeof rt=="object"&&(rt.$$typeof===J||rt.$$typeof===ft))xt=rt.propTypes;else return;xt?(zt(I),r(xt,I.props,"prop",ht,wt.getStackAddendum),zt(null)):rt.PropTypes!==void 0&&!Qe&&(Qe=!0,Gt("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ht||"Unknown")),typeof rt.getDefaultProps=="function"&&!rt.getDefaultProps.isReactClassApproved&&Gt("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function os(I){{zt(I);for(var rt=Object.keys(I.props),ht=0;ht<rt.length;ht++){var xt=rt[ht];if(xt!=="children"&&xt!=="key"){Gt("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",xt);break}}I.ref!==null&&Gt("Invalid attribute `ref` supplied to `React.Fragment`."),zt(null)}}function Ts(I,rt,ht){var xt=hr(I);if(!xt){var Wt="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(Wt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=Xs(rt);je?Wt+=je:Wt+=Rn();var he;I===null?he="null":Array.isArray(I)?he="array":I!==void 0&&I.$$typeof===u?(he="<"+(St(I.type)||"Unknown")+" />",Wt=" Did you accidentally export a JSX literal instead of a component?"):he=typeof I,Gt("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,Wt)}var be=Je.apply(this,arguments);if(be==null)return be;if(xt)for(var Ze=2;Ze<arguments.length;Ze++)ii(arguments[Ze],I);return I===m?os(be):ss(be),be}var Ps=!1;function Zs(I){var rt=Ts.bind(null,I);return rt.type=I,Ps||(Ps=!0,se("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(rt,"type",{enumerable:!1,get:function(){return se("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:I}),I}}),rt}function Rs(I,rt,ht){for(var xt=Kr.apply(this,arguments),Wt=2;Wt<arguments.length;Wt++)ii(arguments[Wt],xt.type);return ss(xt),xt}try{var Ni=Object.freeze({}),as=new Map([[Ni,null]]),wi=new Set([Ni]);as.set(0,0),wi.add(0)}catch{}var Is=Ts,Os=Rs,En=Zs,mn={map:vn,forEach:oe,count:Vt,toArray:ee,only:Pt};wr.Children=mn,wr.Component=te,wr.Fragment=m,wr.Profiler=x,wr.PureComponent=ze,wr.StrictMode=y,wr.Suspense=et,wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,wr.cloneElement=Os,wr.createContext=Re,wr.createElement=Is,wr.createFactory=En,wr.createRef=ce,wr.forwardRef=sn,wr.isValidElement=Ne,wr.lazy=mr,wr.memo=q,wr.useCallback=Ue,wr.useContext=Rt,wr.useDebugValue=dr,wr.useEffect=Ce,wr.useImperativeHandle=Ve,wr.useLayoutEffect=ve,wr.useMemo=ue,wr.useReducer=At,wr.useRef=ae,wr.useState=Kt,wr.version=s}();process.env.NODE_ENV==="production"?Wa.exports=xr:Wa.exports=wr;var Ho=Wa.exports,Mu={sdkSemver:"1.13.0",techVersion:Ho.version,sdkCode:"J"},JT=function(t){jv(r,t);function r(s){var a=t.call(this,s)||this;return a.imageRef=Ho.createRef(),a}return r.prototype.componentDidMount=function(){this.htmlLayerInstance=new B$(this.imageRef.current,this.props.cldImg,this.props.plugins,Mu)},r.prototype.componentDidUpdate=function(){cc(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Mu)},r.prototype.componentWillUnmount=function(){cc(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},r.prototype.render=function(){var s=this.props;s.cldImg,s.plugins;var a=Dv(s,["cldImg","plugins"]);if(Gf())return Ho.createElement("img",za({suppressHydrationWarning:!0},a,{ref:this.imageRef}));var u=kT(this.props.plugins,this.props.cldImg,Mu);return Ho.createElement("img",za({},a,{src:u}))},r}(Ho.Component),ZT=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){jv(r,t);function r(s){var a=t.call(this,s)||this;return a.videoRef=Wa.exports.createRef(),a.attachRef=a.attachRef.bind(a),a}return r.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new mT(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},r.prototype.componentDidUpdate=function(){cc(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},r.prototype.componentWillUnmount=function(){cc(this.htmlVideoLayerInstance.htmlPluginState)},r.prototype.getVideoAttributes=function(){var s=this,a={};return ZT.forEach(function(u){u in s.props&&(a[u]=s.props[u])}),a},r.prototype.attachRef=function(s){this.videoRef.current=s;var a=this.props.innerRef;a&&(a instanceof Function?a(s):a.current=s)},r.prototype.render=function(){var s=this.props;s.cldVid,s.cldPoster,s.plugins,s.sources,s.innerRef,s.useFetchFormat;var a=Dv(s,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return Ho.createElement("video",za({},a,{ref:this.attachRef}))},r})(Wa.exports.Component);const tP=({alt:t="img",height:r="",width:s="",plugins:a=[_T(),Fv()],publicId:u})=>{const h=ev({publicId:u});return H.jsx(JT,{alt:t,cldImg:h,height:r,plugins:a,width:s})},cl=X.memo(tP);var fc={exports:{}};/**
|
|
726
|
-
* @license
|
|
727
|
-
* Lodash <https://lodash.com/>
|
|
728
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
729
|
-
* Released under MIT license <https://lodash.com/license>
|
|
730
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
731
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
732
|
-
*/fc.exports;(function(t,r){(function(){var s,a="4.17.21",u=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",y="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",O=500,D="__lodash_placeholder__",Q=1,J=2,et=4,ut=1,ft=2,pt=1,it=2,yt=4,Tt=8,Lt=16,Mt=32,vt=64,Ct=128,qt=256,ie=512,de=30,me="...",Me=800,xe=16,ct=1,dt=2,St=3,wt=1/0,It=9007199254740991,zt=17976931348623157e292,jt=NaN,ne=4294967295,se=ne-1,Gt=ne>>>1,De=[["ary",Ct],["bind",pt],["bindKey",it],["curry",Tt],["curryRight",Lt],["flip",ie],["partial",Mt],["partialRight",vt],["rearg",qt]],Yt="[object Arguments]",er="[object Array]",rr="[object AsyncFunction]",Nt="[object Boolean]",te="[object Date]",Ie="[object DOMException]",Le="[object Error]",Ke="[object Function]",Pe="[object GeneratorFunction]",ze="[object Map]",We="[object Number]",ce="[object Null]",Se="[object Object]",Wr="[object Promise]",fe="[object Proxy]",fr="[object RegExp]",ur="[object Set]",Pr="[object String]",Ur="[object Symbol]",Vr="[object Undefined]",$r="[object WeakMap]",rn="[object WeakSet]",Sr="[object ArrayBuffer]",Je="[object DataView]",Br="[object Float32Array]",Kr="[object Float64Array]",Ne="[object Int8Array]",ye="[object Int16Array]",we="[object Int32Array]",pe="[object Uint8Array]",Mr="[object Uint8ClampedArray]",nn="[object Uint16Array]",qr="[object Uint32Array]",Qr=/\b__p \+= '';/g,Rr=/\b(__p \+=) '' \+/g,fn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ht=/&(?:amp|lt|gt|quot|#39);/g,Er=/[&<>"']/g,Xr=RegExp(Ht.source),pr=RegExp(Er.source),Gr=/<%-([\s\S]+?)%>/g,oe=/<%([\s\S]+?)%>/g,Fe=/<%=([\s\S]+?)%>/g,Cr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vn=/^\w*$/,Vt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/[\\^$.*+?()[\]{}|]/g,Pt=RegExp(ee.source),Re=/^\s+/,mr=/\s/,sn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,hr=/\{\n\/\* \[wrapped with (.+)\] \*/,q=/,? & /,_t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/[()=,{}\[\]\/\s]/,Kt=/\\(\\)?/g,At=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ae=/\w*$/,Ce=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,Ue=/^\[object .+?Constructor\]$/,ue=/^0o[0-7]+$/i,Ve=/^(?:0|[1-9]\d*)$/,dr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,Rn=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Xs="\\u0300-\\u036f",is="\\ufe20-\\ufe2f",Js="\\u20d0-\\u20ff",Di=Xs+is+Js,ii="\\u2700-\\u27bf",ss="a-z\\xdf-\\xf6\\xf8-\\xff",os="\\xac\\xb1\\xd7\\xf7",Ts="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ps="\\u2000-\\u206f",Zs=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rs="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",as=os+Ts+Ps+Zs,wi="['’]",Is="["+_e+"]",Os="["+as+"]",En="["+Di+"]",mn="\\d+",I="["+ii+"]",rt="["+ss+"]",ht="[^"+_e+as+mn+ii+ss+Rs+"]",xt="\\ud83c[\\udffb-\\udfff]",Wt="(?:"+En+"|"+xt+")",je="[^"+_e+"]",he="(?:\\ud83c[\\udde6-\\uddff]){2}",be="[\\ud800-\\udbff][\\udc00-\\udfff]",Ze="["+Rs+"]",Ir="\\u200d",hn="(?:"+rt+"|"+ht+")",dn="(?:"+Ze+"|"+ht+")",or="(?:"+wi+"(?:d|ll|m|re|s|t|ve))?",bn="(?:"+wi+"(?:D|LL|M|RE|S|T|VE))?",_i=Wt+"?",Vi="["+Ni+"]?",ls="(?:"+Ir+"(?:"+[je,he,be].join("|")+")"+Vi+_i+")*",Nn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",to="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bi=Vi+_i+ls,zi="(?:"+[I,he,be].join("|")+")"+Bi,cs="(?:"+[je+En+"?",En,he,be,Is].join("|")+")",xi=RegExp(wi,"g"),us=RegExp(En,"g"),Ms=RegExp(xt+"(?="+xt+")|"+cs+Bi,"g"),To=RegExp([Ze+"?"+rt+"+"+or+"(?="+[Os,Ze,"$"].join("|")+")",dn+"+"+bn+"(?="+[Os,Ze+hn,"$"].join("|")+")",Ze+"?"+hn+"+"+or,Ze+"+"+bn,to,Nn,mn,zi].join("|"),"g"),fa=RegExp("["+Ir+_e+Di+Ni+"]"),fs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ha=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],hs=-1,ar={};ar[Br]=ar[Kr]=ar[Ne]=ar[ye]=ar[we]=ar[pe]=ar[Mr]=ar[nn]=ar[qr]=!0,ar[Yt]=ar[er]=ar[Sr]=ar[Nt]=ar[Je]=ar[te]=ar[Le]=ar[Ke]=ar[ze]=ar[We]=ar[Se]=ar[fr]=ar[ur]=ar[Pr]=ar[$r]=!1;var gr={};gr[Yt]=gr[er]=gr[Sr]=gr[Je]=gr[Nt]=gr[te]=gr[Br]=gr[Kr]=gr[Ne]=gr[ye]=gr[we]=gr[ze]=gr[We]=gr[Se]=gr[fr]=gr[ur]=gr[Pr]=gr[Ur]=gr[pe]=gr[Mr]=gr[nn]=gr[qr]=!0,gr[Le]=gr[Ke]=gr[$r]=!1;var F={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},st={"&":"&","<":"<",">":">",'"':""","'":"'"},$t={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lr=parseFloat,yn=parseInt,wn=typeof mi=="object"&&mi&&mi.Object===Object&&mi,on=typeof self=="object"&&self&&self.Object===Object&&self,zr=wn||on||Function("return this")(),si=r&&!r.nodeType&&r,oi=si&&!0&&t&&!t.nodeType&&t,eo=oi&&oi.exports===si,Ls=eo&&wn.process,_n=function(){try{var v=oi&&oi.require&&oi.require("util").types;return v||Ls&&Ls.binding&&Ls.binding("util")}catch{}}(),ds=_n&&_n.isArrayBuffer,ul=_n&&_n.isDate,fl=_n&&_n.isMap,da=_n&&_n.isRegExp,Fs=_n&&_n.isSet,Si=_n&&_n.isTypedArray;function Jr(v,R,k){switch(k.length){case 0:return v.call(R);case 1:return v.call(R,k[0]);case 2:return v.call(R,k[0],k[1]);case 3:return v.call(R,k[0],k[1],k[2])}return v.apply(R,k)}function Wi(v,R,k,B){for(var V=-1,C=v==null?0:v.length;++V<C;){var $=v[V];R(B,$,k($),v)}return B}function Tr(v,R){for(var k=-1,B=v==null?0:v.length;++k<B&&R(v[k],k,v)!==!1;);return v}function xn(v,R){for(var k=v==null?0:v.length;k--&&R(v[k],k,v)!==!1;);return v}function ps(v,R){for(var k=-1,B=v==null?0:v.length;++k<B;)if(!R(v[k],k,v))return!1;return!0}function In(v,R){for(var k=-1,B=v==null?0:v.length,V=0,C=[];++k<B;){var $=v[k];R($,k,v)&&(C[V++]=$)}return C}function Ui(v,R){var k=v==null?0:v.length;return!!k&&gs(v,R,0)>-1}function Po(v,R,k){for(var B=-1,V=v==null?0:v.length;++B<V;)if(k(R,v[B]))return!0;return!1}function Ar(v,R){for(var k=-1,B=v==null?0:v.length,V=Array(B);++k<B;)V[k]=R(v[k],k,v);return V}function Ci(v,R){for(var k=-1,B=R.length,V=v.length;++k<B;)v[V+k]=R[k];return v}function Ro(v,R,k,B){var V=-1,C=v==null?0:v.length;for(B&&C&&(k=v[++V]);++V<C;)k=R(k,v[V],V,v);return k}function ro(v,R,k,B){var V=v==null?0:v.length;for(B&&V&&(k=v[--V]);V--;)k=R(k,v[V],V,v);return k}function qi(v,R){for(var k=-1,B=v==null?0:v.length;++k<B;)if(R(v[k],k,v))return!0;return!1}var no=Io("length");function io(v){return v.split("")}function Pc(v){return v.match(_t)||[]}function pa(v,R,k){var B;return k(v,function(V,C,$){if(R(V,C,$))return B=C,!1}),B}function so(v,R,k,B){for(var V=v.length,C=k+(B?1:-1);B?C--:++C<V;)if(R(v[C],C,v))return C;return-1}function gs(v,R,k){return R===R?o(v,R,k):so(v,ga,k)}function hl(v,R,k,B){for(var V=k-1,C=v.length;++V<C;)if(B(v[V],R))return V;return-1}function ga(v){return v!==v}function oo(v,R){var k=v==null?0:v.length;return k?Gi(v,R)/k:jt}function Io(v){return function(R){return R==null?s:R[v]}}function Oo(v){return function(R){return v==null?s:v[R]}}function va(v,R,k,B,V){return V(v,function(C,$,b){k=B?(B=!1,C):R(k,C,$,b)}),k}function ao(v,R){var k=v.length;for(v.sort(R);k--;)v[k]=v[k].value;return v}function Gi(v,R){for(var k,B=-1,V=v.length;++B<V;){var C=R(v[B]);C!==s&&(k=k===s?C:k+C)}return k}function Mo(v,R){for(var k=-1,B=Array(v);++k<v;)B[k]=R(k);return B}function Rc(v,R){return Ar(R,function(k){return[k,v[k]]})}function dl(v){return v&&v.slice(0,g(v)+1).replace(Re,"")}function On(v){return function(R){return v(R)}}function ma(v,R){return Ar(R,function(k){return v[k]})}function Or(v,R){return v.has(R)}function Lo(v,R){for(var k=-1,B=v.length;++k<B&&gs(R,v[k],0)>-1;);return k}function Sn(v,R){for(var k=v.length;k--&&gs(R,v[k],0)>-1;);return k}function Ic(v,R){for(var k=v.length,B=0;k--;)v[k]===R&&++B;return B}var Oc=Oo(F),vs=Oo(st);function Kn(v){return"\\"+re[v]}function Mc(v,R){return v==null?s:v[R]}function Mn(v){return fa.test(v)}function ya(v){return fs.test(v)}function Hi(v){for(var R,k=[];!(R=v.next()).done;)k.push(R.value);return k}function Zr(v){var R=-1,k=Array(v.size);return v.forEach(function(B,V){k[++R]=[V,B]}),k}function ai(v,R){return function(k){return v(R(k))}}function Wn(v,R){for(var k=-1,B=v.length,V=0,C=[];++k<B;){var $=v[k];($===R||$===D)&&(v[k]=D,C[V++]=k)}return C}function js(v){var R=-1,k=Array(v.size);return v.forEach(function(B){k[++R]=B}),k}function n(v){var R=-1,k=Array(v.size);return v.forEach(function(B){k[++R]=[B,B]}),k}function o(v,R,k){for(var B=k-1,V=v.length;++B<V;)if(v[B]===R)return B;return-1}function l(v,R,k){for(var B=k+1;B--;)if(v[B]===R)return B;return B}function f(v){return Mn(v)?W(v):no(v)}function p(v){return Mn(v)?P(v):io(v)}function g(v){for(var R=v.length;R--&&mr.test(v.charAt(R)););return R}var S=Oo($t);function W(v){for(var R=Ms.lastIndex=0;Ms.test(v);)++R;return R}function P(v){return v.match(Ms)||[]}function Y(v){return v.match(To)||[]}var Z=function v(R){R=R==null?zr:ot.defaults(zr.Object(),R,ot.pick(zr,ha));var k=R.Array,B=R.Date,V=R.Error,C=R.Function,$=R.Math,b=R.Object,_=R.RegExp,A=R.String,M=R.TypeError,j=k.prototype,z=C.prototype,lt=b.prototype,Dt=R["__core-js_shared__"],Ft=z.toString,mt=lt.hasOwnProperty,Qt=0,Jt=function(){var e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),gt=lt.toString,K=Ft.call(b),N=zr._,T=_("^"+Ft.call(mt).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=eo?R.Buffer:s,bt=R.Symbol,at=R.Uint8Array,Xt=U?U.allocUnsafe:s,Oe=ai(b.getPrototypeOf,b),ke=b.create,Fr=lt.propertyIsEnumerable,ir=j.splice,Cn=bt?bt.isConcatSpreadable:s,pn=bt?bt.iterator:s,tn=bt?bt.toStringTag:s,an=function(){try{var e=ho(b,"defineProperty");return e({},"",{}),e}catch{}}(),ln=R.clearTimeout!==zr.clearTimeout&&R.clearTimeout,Tn=B&&B.now!==zr.Date.now&&B.now,Zt=R.setTimeout!==zr.setTimeout&&R.setTimeout,kr=$.ceil,Un=$.floor,li=b.getOwnPropertySymbols,Ai=U?U.isBuffer:s,Qn=R.isFinite,ki=j.join,$i=ai(b.keys,b),lr=$.max,jr=$.min,Yi=B.now,Xn=R.parseInt,Ei=$.random,Jn=j.reverse,Ti=ho(R,"DataView"),Ki=ho(R,"Map"),Ds=ho(R,"Promise"),Fo=ho(R,"Set"),ba=ho(R,"WeakMap"),wa=ho(b,"create"),pl=ba&&new ba,jo={},s0=po(Ti),o0=po(Ki),a0=po(Ds),l0=po(Fo),c0=po(ba),gl=bt?bt.prototype:s,_a=gl?gl.valueOf:s,th=gl?gl.toString:s;function E(e){if(en(e)&&!Be(e)&&!(e instanceof nr)){if(e instanceof ci)return e;if(mt.call(e,"__wrapped__"))return ed(e)}return new ci(e)}var Do=function(){function e(){}return function(i){if(!Hr(i))return{};if(ke)return ke(i);e.prototype=i;var c=new e;return e.prototype=s,c}}();function vl(){}function ci(e,i){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=s}E.templateSettings={escape:Gr,evaluate:oe,interpolate:Fe,variable:"",imports:{_:E}},E.prototype=vl.prototype,E.prototype.constructor=E,ci.prototype=Do(vl.prototype),ci.prototype.constructor=ci;function nr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ne,this.__views__=[]}function u0(){var e=new nr(this.__wrapped__);return e.__actions__=qn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qn(this.__views__),e}function f0(){if(this.__filtered__){var e=new nr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function h0(){var e=this.__wrapped__.value(),i=this.__dir__,c=Be(e),d=i<0,w=c?e.length:0,L=Cm(0,w,this.__views__),G=L.start,tt=L.end,nt=tt-G,kt=d?tt:G-1,Et=this.__iteratees__,Ot=Et.length,Ut=0,le=jr(nt,this.__takeCount__);if(!c||!d&&w==nt&&le==nt)return Ch(e,this.__actions__);var $e=[];t:for(;nt--&&Ut<le;){kt+=i;for(var He=-1,Ee=e[kt];++He<Ot;){var tr=Et[He],sr=tr.iteratee,ei=tr.type,zn=sr(Ee);if(ei==dt)Ee=zn;else if(!zn){if(ei==ct)continue t;break t}}$e[Ut++]=Ee}return $e}nr.prototype=Do(vl.prototype),nr.prototype.constructor=nr;function lo(e){var i=-1,c=e==null?0:e.length;for(this.clear();++i<c;){var d=e[i];this.set(d[0],d[1])}}function d0(){this.__data__=wa?wa(null):{},this.size=0}function p0(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}function g0(e){var i=this.__data__;if(wa){var c=i[e];return c===x?s:c}return mt.call(i,e)?i[e]:s}function v0(e){var i=this.__data__;return wa?i[e]!==s:mt.call(i,e)}function m0(e,i){var c=this.__data__;return this.size+=this.has(e)?0:1,c[e]=wa&&i===s?x:i,this}lo.prototype.clear=d0,lo.prototype.delete=p0,lo.prototype.get=g0,lo.prototype.has=v0,lo.prototype.set=m0;function ms(e){var i=-1,c=e==null?0:e.length;for(this.clear();++i<c;){var d=e[i];this.set(d[0],d[1])}}function y0(){this.__data__=[],this.size=0}function b0(e){var i=this.__data__,c=ml(i,e);if(c<0)return!1;var d=i.length-1;return c==d?i.pop():ir.call(i,c,1),--this.size,!0}function w0(e){var i=this.__data__,c=ml(i,e);return c<0?s:i[c][1]}function _0(e){return ml(this.__data__,e)>-1}function x0(e,i){var c=this.__data__,d=ml(c,e);return d<0?(++this.size,c.push([e,i])):c[d][1]=i,this}ms.prototype.clear=y0,ms.prototype.delete=b0,ms.prototype.get=w0,ms.prototype.has=_0,ms.prototype.set=x0;function ys(e){var i=-1,c=e==null?0:e.length;for(this.clear();++i<c;){var d=e[i];this.set(d[0],d[1])}}function S0(){this.size=0,this.__data__={hash:new lo,map:new(Ki||ms),string:new lo}}function C0(e){var i=Tl(this,e).delete(e);return this.size-=i?1:0,i}function A0(e){return Tl(this,e).get(e)}function k0(e){return Tl(this,e).has(e)}function $0(e,i){var c=Tl(this,e),d=c.size;return c.set(e,i),this.size+=c.size==d?0:1,this}ys.prototype.clear=S0,ys.prototype.delete=C0,ys.prototype.get=A0,ys.prototype.has=k0,ys.prototype.set=$0;function co(e){var i=-1,c=e==null?0:e.length;for(this.__data__=new ys;++i<c;)this.add(e[i])}function E0(e){return this.__data__.set(e,x),this}function T0(e){return this.__data__.has(e)}co.prototype.add=co.prototype.push=E0,co.prototype.has=T0;function Pi(e){var i=this.__data__=new ms(e);this.size=i.size}function P0(){this.__data__=new ms,this.size=0}function R0(e){var i=this.__data__,c=i.delete(e);return this.size=i.size,c}function I0(e){return this.__data__.get(e)}function O0(e){return this.__data__.has(e)}function M0(e,i){var c=this.__data__;if(c instanceof ms){var d=c.__data__;if(!Ki||d.length<u-1)return d.push([e,i]),this.size=++c.size,this;c=this.__data__=new ys(d)}return c.set(e,i),this.size=c.size,this}Pi.prototype.clear=P0,Pi.prototype.delete=R0,Pi.prototype.get=I0,Pi.prototype.has=O0,Pi.prototype.set=M0;function eh(e,i){var c=Be(e),d=!c&&go(e),w=!c&&!d&&Ws(e),L=!c&&!d&&!w&&zo(e),G=c||d||w||L,tt=G?Mo(e.length,A):[],nt=tt.length;for(var kt in e)(i||mt.call(e,kt))&&!(G&&(kt=="length"||w&&(kt=="offset"||kt=="parent")||L&&(kt=="buffer"||kt=="byteLength"||kt=="byteOffset")||xs(kt,nt)))&&tt.push(kt);return tt}function rh(e){var i=e.length;return i?e[qc(0,i-1)]:s}function L0(e,i){return Pl(qn(e),uo(i,0,e.length))}function F0(e){return Pl(qn(e))}function Lc(e,i,c){(c!==s&&!Ri(e[i],c)||c===s&&!(i in e))&&bs(e,i,c)}function xa(e,i,c){var d=e[i];(!(mt.call(e,i)&&Ri(d,c))||c===s&&!(i in e))&&bs(e,i,c)}function ml(e,i){for(var c=e.length;c--;)if(Ri(e[c][0],i))return c;return-1}function j0(e,i,c,d){return Ns(e,function(w,L,G){i(d,w,c(w),G)}),d}function nh(e,i){return e&&Xi(i,An(i),e)}function D0(e,i){return e&&Xi(i,Hn(i),e)}function bs(e,i,c){i=="__proto__"&&an?an(e,i,{configurable:!0,enumerable:!0,value:c,writable:!0}):e[i]=c}function Fc(e,i){for(var c=-1,d=i.length,w=k(d),L=e==null;++c<d;)w[c]=L?s:vu(e,i[c]);return w}function uo(e,i,c){return e===e&&(c!==s&&(e=e<=c?e:c),i!==s&&(e=e>=i?e:i)),e}function ui(e,i,c,d,w,L){var G,tt=i&Q,nt=i&J,kt=i&et;if(c&&(G=w?c(e,d,w,L):c(e)),G!==s)return G;if(!Hr(e))return e;var Et=Be(e);if(Et){if(G=km(e),!tt)return qn(e,G)}else{var Ot=Ln(e),Ut=Ot==Ke||Ot==Pe;if(Ws(e))return $h(e,tt);if(Ot==Se||Ot==Yt||Ut&&!w){if(G=nt||Ut?{}:Gh(e),!tt)return nt?gm(e,D0(G,e)):pm(e,nh(G,e))}else{if(!gr[Ot])return w?e:{};G=$m(e,Ot,tt)}}L||(L=new Pi);var le=L.get(e);if(le)return le;L.set(e,G),_d(e)?e.forEach(function(Ee){G.add(ui(Ee,i,c,Ee,e,L))}):bd(e)&&e.forEach(function(Ee,tr){G.set(tr,ui(Ee,i,c,tr,e,L))});var $e=kt?nt?ru:eu:nt?Hn:An,He=Et?s:$e(e);return Tr(He||e,function(Ee,tr){He&&(tr=Ee,Ee=e[tr]),xa(G,tr,ui(Ee,i,c,tr,e,L))}),G}function N0(e){var i=An(e);return function(c){return ih(c,e,i)}}function ih(e,i,c){var d=c.length;if(e==null)return!d;for(e=b(e);d--;){var w=c[d],L=i[w],G=e[w];if(G===s&&!(w in e)||!L(G))return!1}return!0}function sh(e,i,c){if(typeof e!="function")throw new M(m);return Ta(function(){e.apply(s,c)},i)}function Sa(e,i,c,d){var w=-1,L=Ui,G=!0,tt=e.length,nt=[],kt=i.length;if(!tt)return nt;c&&(i=Ar(i,On(c))),d?(L=Po,G=!1):i.length>=u&&(L=Or,G=!1,i=new co(i));t:for(;++w<tt;){var Et=e[w],Ot=c==null?Et:c(Et);if(Et=d||Et!==0?Et:0,G&&Ot===Ot){for(var Ut=kt;Ut--;)if(i[Ut]===Ot)continue t;nt.push(Et)}else L(i,Ot,d)||nt.push(Et)}return nt}var Ns=Ih(Qi),oh=Ih(Dc,!0);function V0(e,i){var c=!0;return Ns(e,function(d,w,L){return c=!!i(d,w,L),c}),c}function yl(e,i,c){for(var d=-1,w=e.length;++d<w;){var L=e[d],G=i(L);if(G!=null&&(tt===s?G===G&&!ti(G):c(G,tt)))var tt=G,nt=L}return nt}function B0(e,i,c,d){var w=e.length;for(c=qe(c),c<0&&(c=-c>w?0:w+c),d=d===s||d>w?w:qe(d),d<0&&(d+=w),d=c>d?0:Sd(d);c<d;)e[c++]=i;return e}function ah(e,i){var c=[];return Ns(e,function(d,w,L){i(d,w,L)&&c.push(d)}),c}function Pn(e,i,c,d,w){var L=-1,G=e.length;for(c||(c=Tm),w||(w=[]);++L<G;){var tt=e[L];i>0&&c(tt)?i>1?Pn(tt,i-1,c,d,w):Ci(w,tt):d||(w[w.length]=tt)}return w}var jc=Oh(),lh=Oh(!0);function Qi(e,i){return e&&jc(e,i,An)}function Dc(e,i){return e&&lh(e,i,An)}function bl(e,i){return In(i,function(c){return Ss(e[c])})}function fo(e,i){i=Bs(i,e);for(var c=0,d=i.length;e!=null&&c<d;)e=e[Ji(i[c++])];return c&&c==d?e:s}function ch(e,i,c){var d=i(e);return Be(e)?d:Ci(d,c(e))}function Vn(e){return e==null?e===s?Vr:ce:tn&&tn in b(e)?Sm(e):Fm(e)}function Nc(e,i){return e>i}function z0(e,i){return e!=null&&mt.call(e,i)}function W0(e,i){return e!=null&&i in b(e)}function U0(e,i,c){return e>=jr(i,c)&&e<lr(i,c)}function Vc(e,i,c){for(var d=c?Po:Ui,w=e[0].length,L=e.length,G=L,tt=k(L),nt=1/0,kt=[];G--;){var Et=e[G];G&&i&&(Et=Ar(Et,On(i))),nt=jr(Et.length,nt),tt[G]=!c&&(i||w>=120&&Et.length>=120)?new co(G&&Et):s}Et=e[0];var Ot=-1,Ut=tt[0];t:for(;++Ot<w&&kt.length<nt;){var le=Et[Ot],$e=i?i(le):le;if(le=c||le!==0?le:0,!(Ut?Or(Ut,$e):d(kt,$e,c))){for(G=L;--G;){var He=tt[G];if(!(He?Or(He,$e):d(e[G],$e,c)))continue t}Ut&&Ut.push($e),kt.push(le)}}return kt}function q0(e,i,c,d){return Qi(e,function(w,L,G){i(d,c(w),L,G)}),d}function Ca(e,i,c){i=Bs(i,e),e=Qh(e,i);var d=e==null?e:e[Ji(hi(i))];return d==null?s:Jr(d,e,c)}function uh(e){return en(e)&&Vn(e)==Yt}function G0(e){return en(e)&&Vn(e)==Sr}function H0(e){return en(e)&&Vn(e)==te}function Aa(e,i,c,d,w){return e===i?!0:e==null||i==null||!en(e)&&!en(i)?e!==e&&i!==i:Y0(e,i,c,d,Aa,w)}function Y0(e,i,c,d,w,L){var G=Be(e),tt=Be(i),nt=G?er:Ln(e),kt=tt?er:Ln(i);nt=nt==Yt?Se:nt,kt=kt==Yt?Se:kt;var Et=nt==Se,Ot=kt==Se,Ut=nt==kt;if(Ut&&Ws(e)){if(!Ws(i))return!1;G=!0,Et=!1}if(Ut&&!Et)return L||(L=new Pi),G||zo(e)?Wh(e,i,c,d,w,L):_m(e,i,nt,c,d,w,L);if(!(c&ut)){var le=Et&&mt.call(e,"__wrapped__"),$e=Ot&&mt.call(i,"__wrapped__");if(le||$e){var He=le?e.value():e,Ee=$e?i.value():i;return L||(L=new Pi),w(He,Ee,c,d,L)}}return Ut?(L||(L=new Pi),xm(e,i,c,d,w,L)):!1}function K0(e){return en(e)&&Ln(e)==ze}function Bc(e,i,c,d){var w=c.length,L=w,G=!d;if(e==null)return!L;for(e=b(e);w--;){var tt=c[w];if(G&&tt[2]?tt[1]!==e[tt[0]]:!(tt[0]in e))return!1}for(;++w<L;){tt=c[w];var nt=tt[0],kt=e[nt],Et=tt[1];if(G&&tt[2]){if(kt===s&&!(nt in e))return!1}else{var Ot=new Pi;if(d)var Ut=d(kt,Et,nt,e,i,Ot);if(!(Ut===s?Aa(Et,kt,ut|ft,d,Ot):Ut))return!1}}return!0}function fh(e){if(!Hr(e)||Rm(e))return!1;var i=Ss(e)?T:Ue;return i.test(po(e))}function Q0(e){return en(e)&&Vn(e)==fr}function X0(e){return en(e)&&Ln(e)==ur}function J0(e){return en(e)&&Fl(e.length)&&!!ar[Vn(e)]}function hh(e){return typeof e=="function"?e:e==null?Yn:typeof e=="object"?Be(e)?gh(e[0],e[1]):ph(e):Md(e)}function zc(e){if(!Ea(e))return $i(e);var i=[];for(var c in b(e))mt.call(e,c)&&c!="constructor"&&i.push(c);return i}function Z0(e){if(!Hr(e))return Lm(e);var i=Ea(e),c=[];for(var d in e)d=="constructor"&&(i||!mt.call(e,d))||c.push(d);return c}function Wc(e,i){return e<i}function dh(e,i){var c=-1,d=Gn(e)?k(e.length):[];return Ns(e,function(w,L,G){d[++c]=i(w,L,G)}),d}function ph(e){var i=iu(e);return i.length==1&&i[0][2]?Yh(i[0][0],i[0][1]):function(c){return c===e||Bc(c,e,i)}}function gh(e,i){return ou(e)&&Hh(i)?Yh(Ji(e),i):function(c){var d=vu(c,e);return d===s&&d===i?mu(c,e):Aa(i,d,ut|ft)}}function wl(e,i,c,d,w){e!==i&&jc(i,function(L,G){if(w||(w=new Pi),Hr(L))tm(e,i,G,c,wl,d,w);else{var tt=d?d(lu(e,G),L,G+"",e,i,w):s;tt===s&&(tt=L),Lc(e,G,tt)}},Hn)}function tm(e,i,c,d,w,L,G){var tt=lu(e,c),nt=lu(i,c),kt=G.get(nt);if(kt){Lc(e,c,kt);return}var Et=L?L(tt,nt,c+"",e,i,G):s,Ot=Et===s;if(Ot){var Ut=Be(nt),le=!Ut&&Ws(nt),$e=!Ut&&!le&&zo(nt);Et=nt,Ut||le||$e?Be(tt)?Et=tt:cn(tt)?Et=qn(tt):le?(Ot=!1,Et=$h(nt,!0)):$e?(Ot=!1,Et=Eh(nt,!0)):Et=[]:Pa(nt)||go(nt)?(Et=tt,go(tt)?Et=Cd(tt):(!Hr(tt)||Ss(tt))&&(Et=Gh(nt))):Ot=!1}Ot&&(G.set(nt,Et),w(Et,nt,d,L,G),G.delete(nt)),Lc(e,c,Et)}function vh(e,i){var c=e.length;if(c)return i+=i<0?c:0,xs(i,c)?e[i]:s}function mh(e,i,c){i.length?i=Ar(i,function(L){return Be(L)?function(G){return fo(G,L.length===1?L[0]:L)}:L}):i=[Yn];var d=-1;i=Ar(i,On(Ae()));var w=dh(e,function(L,G,tt){var nt=Ar(i,function(kt){return kt(L)});return{criteria:nt,index:++d,value:L}});return ao(w,function(L,G){return dm(L,G,c)})}function em(e,i){return yh(e,i,function(c,d){return mu(e,d)})}function yh(e,i,c){for(var d=-1,w=i.length,L={};++d<w;){var G=i[d],tt=fo(e,G);c(tt,G)&&ka(L,Bs(G,e),tt)}return L}function rm(e){return function(i){return fo(i,e)}}function Uc(e,i,c,d){var w=d?hl:gs,L=-1,G=i.length,tt=e;for(e===i&&(i=qn(i)),c&&(tt=Ar(e,On(c)));++L<G;)for(var nt=0,kt=i[L],Et=c?c(kt):kt;(nt=w(tt,Et,nt,d))>-1;)tt!==e&&ir.call(tt,nt,1),ir.call(e,nt,1);return e}function bh(e,i){for(var c=e?i.length:0,d=c-1;c--;){var w=i[c];if(c==d||w!==L){var L=w;xs(w)?ir.call(e,w,1):Yc(e,w)}}return e}function qc(e,i){return e+Un(Ei()*(i-e+1))}function nm(e,i,c,d){for(var w=-1,L=lr(kr((i-e)/(c||1)),0),G=k(L);L--;)G[d?L:++w]=e,e+=c;return G}function Gc(e,i){var c="";if(!e||i<1||i>It)return c;do i%2&&(c+=e),i=Un(i/2),i&&(e+=e);while(i);return c}function Xe(e,i){return cu(Kh(e,i,Yn),e+"")}function im(e){return rh(Wo(e))}function sm(e,i){var c=Wo(e);return Pl(c,uo(i,0,c.length))}function ka(e,i,c,d){if(!Hr(e))return e;i=Bs(i,e);for(var w=-1,L=i.length,G=L-1,tt=e;tt!=null&&++w<L;){var nt=Ji(i[w]),kt=c;if(nt==="__proto__"||nt==="constructor"||nt==="prototype")return e;if(w!=G){var Et=tt[nt];kt=d?d(Et,nt,tt):s,kt===s&&(kt=Hr(Et)?Et:xs(i[w+1])?[]:{})}xa(tt,nt,kt),tt=tt[nt]}return e}var wh=pl?function(e,i){return pl.set(e,i),e}:Yn,om=an?function(e,i){return an(e,"toString",{configurable:!0,enumerable:!1,value:bu(i),writable:!0})}:Yn;function am(e){return Pl(Wo(e))}function fi(e,i,c){var d=-1,w=e.length;i<0&&(i=-i>w?0:w+i),c=c>w?w:c,c<0&&(c+=w),w=i>c?0:c-i>>>0,i>>>=0;for(var L=k(w);++d<w;)L[d]=e[d+i];return L}function lm(e,i){var c;return Ns(e,function(d,w,L){return c=i(d,w,L),!c}),!!c}function _l(e,i,c){var d=0,w=e==null?d:e.length;if(typeof i=="number"&&i===i&&w<=Gt){for(;d<w;){var L=d+w>>>1,G=e[L];G!==null&&!ti(G)&&(c?G<=i:G<i)?d=L+1:w=L}return w}return Hc(e,i,Yn,c)}function Hc(e,i,c,d){var w=0,L=e==null?0:e.length;if(L===0)return 0;i=c(i);for(var G=i!==i,tt=i===null,nt=ti(i),kt=i===s;w<L;){var Et=Un((w+L)/2),Ot=c(e[Et]),Ut=Ot!==s,le=Ot===null,$e=Ot===Ot,He=ti(Ot);if(G)var Ee=d||$e;else kt?Ee=$e&&(d||Ut):tt?Ee=$e&&Ut&&(d||!le):nt?Ee=$e&&Ut&&!le&&(d||!He):le||He?Ee=!1:Ee=d?Ot<=i:Ot<i;Ee?w=Et+1:L=Et}return jr(L,se)}function _h(e,i){for(var c=-1,d=e.length,w=0,L=[];++c<d;){var G=e[c],tt=i?i(G):G;if(!c||!Ri(tt,nt)){var nt=tt;L[w++]=G===0?0:G}}return L}function xh(e){return typeof e=="number"?e:ti(e)?jt:+e}function Zn(e){if(typeof e=="string")return e;if(Be(e))return Ar(e,Zn)+"";if(ti(e))return th?th.call(e):"";var i=e+"";return i=="0"&&1/e==-wt?"-0":i}function Vs(e,i,c){var d=-1,w=Ui,L=e.length,G=!0,tt=[],nt=tt;if(c)G=!1,w=Po;else if(L>=u){var kt=i?null:bm(e);if(kt)return js(kt);G=!1,w=Or,nt=new co}else nt=i?[]:tt;t:for(;++d<L;){var Et=e[d],Ot=i?i(Et):Et;if(Et=c||Et!==0?Et:0,G&&Ot===Ot){for(var Ut=nt.length;Ut--;)if(nt[Ut]===Ot)continue t;i&&nt.push(Ot),tt.push(Et)}else w(nt,Ot,c)||(nt!==tt&&nt.push(Ot),tt.push(Et))}return tt}function Yc(e,i){return i=Bs(i,e),e=Qh(e,i),e==null||delete e[Ji(hi(i))]}function Sh(e,i,c,d){return ka(e,i,c(fo(e,i)),d)}function xl(e,i,c,d){for(var w=e.length,L=d?w:-1;(d?L--:++L<w)&&i(e[L],L,e););return c?fi(e,d?0:L,d?L+1:w):fi(e,d?L+1:0,d?w:L)}function Ch(e,i){var c=e;return c instanceof nr&&(c=c.value()),Ro(i,function(d,w){return w.func.apply(w.thisArg,Ci([d],w.args))},c)}function Kc(e,i,c){var d=e.length;if(d<2)return d?Vs(e[0]):[];for(var w=-1,L=k(d);++w<d;)for(var G=e[w],tt=-1;++tt<d;)tt!=w&&(L[w]=Sa(L[w]||G,e[tt],i,c));return Vs(Pn(L,1),i,c)}function Ah(e,i,c){for(var d=-1,w=e.length,L=i.length,G={};++d<w;){var tt=d<L?i[d]:s;c(G,e[d],tt)}return G}function Qc(e){return cn(e)?e:[]}function Xc(e){return typeof e=="function"?e:Yn}function Bs(e,i){return Be(e)?e:ou(e,i)?[e]:td(yr(e))}var cm=Xe;function zs(e,i,c){var d=e.length;return c=c===s?d:c,!i&&c>=d?e:fi(e,i,c)}var kh=ln||function(e){return zr.clearTimeout(e)};function $h(e,i){if(i)return e.slice();var c=e.length,d=Xt?Xt(c):new e.constructor(c);return e.copy(d),d}function Jc(e){var i=new e.constructor(e.byteLength);return new at(i).set(new at(e)),i}function um(e,i){var c=i?Jc(e.buffer):e.buffer;return new e.constructor(c,e.byteOffset,e.byteLength)}function fm(e){var i=new e.constructor(e.source,ae.exec(e));return i.lastIndex=e.lastIndex,i}function hm(e){return _a?b(_a.call(e)):{}}function Eh(e,i){var c=i?Jc(e.buffer):e.buffer;return new e.constructor(c,e.byteOffset,e.length)}function Th(e,i){if(e!==i){var c=e!==s,d=e===null,w=e===e,L=ti(e),G=i!==s,tt=i===null,nt=i===i,kt=ti(i);if(!tt&&!kt&&!L&&e>i||L&&G&&nt&&!tt&&!kt||d&&G&&nt||!c&&nt||!w)return 1;if(!d&&!L&&!kt&&e<i||kt&&c&&w&&!d&&!L||tt&&c&&w||!G&&w||!nt)return-1}return 0}function dm(e,i,c){for(var d=-1,w=e.criteria,L=i.criteria,G=w.length,tt=c.length;++d<G;){var nt=Th(w[d],L[d]);if(nt){if(d>=tt)return nt;var kt=c[d];return nt*(kt=="desc"?-1:1)}}return e.index-i.index}function Ph(e,i,c,d){for(var w=-1,L=e.length,G=c.length,tt=-1,nt=i.length,kt=lr(L-G,0),Et=k(nt+kt),Ot=!d;++tt<nt;)Et[tt]=i[tt];for(;++w<G;)(Ot||w<L)&&(Et[c[w]]=e[w]);for(;kt--;)Et[tt++]=e[w++];return Et}function Rh(e,i,c,d){for(var w=-1,L=e.length,G=-1,tt=c.length,nt=-1,kt=i.length,Et=lr(L-tt,0),Ot=k(Et+kt),Ut=!d;++w<Et;)Ot[w]=e[w];for(var le=w;++nt<kt;)Ot[le+nt]=i[nt];for(;++G<tt;)(Ut||w<L)&&(Ot[le+c[G]]=e[w++]);return Ot}function qn(e,i){var c=-1,d=e.length;for(i||(i=k(d));++c<d;)i[c]=e[c];return i}function Xi(e,i,c,d){var w=!c;c||(c={});for(var L=-1,G=i.length;++L<G;){var tt=i[L],nt=d?d(c[tt],e[tt],tt,c,e):s;nt===s&&(nt=e[tt]),w?bs(c,tt,nt):xa(c,tt,nt)}return c}function pm(e,i){return Xi(e,su(e),i)}function gm(e,i){return Xi(e,Uh(e),i)}function Sl(e,i){return function(c,d){var w=Be(c)?Wi:j0,L=i?i():{};return w(c,e,Ae(d,2),L)}}function No(e){return Xe(function(i,c){var d=-1,w=c.length,L=w>1?c[w-1]:s,G=w>2?c[2]:s;for(L=e.length>3&&typeof L=="function"?(w--,L):s,G&&Bn(c[0],c[1],G)&&(L=w<3?s:L,w=1),i=b(i);++d<w;){var tt=c[d];tt&&e(i,tt,d,L)}return i})}function Ih(e,i){return function(c,d){if(c==null)return c;if(!Gn(c))return e(c,d);for(var w=c.length,L=i?w:-1,G=b(c);(i?L--:++L<w)&&d(G[L],L,G)!==!1;);return c}}function Oh(e){return function(i,c,d){for(var w=-1,L=b(i),G=d(i),tt=G.length;tt--;){var nt=G[e?tt:++w];if(c(L[nt],nt,L)===!1)break}return i}}function vm(e,i,c){var d=i&pt,w=$a(e);function L(){var G=this&&this!==zr&&this instanceof L?w:e;return G.apply(d?c:this,arguments)}return L}function Mh(e){return function(i){i=yr(i);var c=Mn(i)?p(i):s,d=c?c[0]:i.charAt(0),w=c?zs(c,1).join(""):i.slice(1);return d[e]()+w}}function Vo(e){return function(i){return Ro(Id(Rd(i).replace(xi,"")),e,"")}}function $a(e){return function(){var i=arguments;switch(i.length){case 0:return new e;case 1:return new e(i[0]);case 2:return new e(i[0],i[1]);case 3:return new e(i[0],i[1],i[2]);case 4:return new e(i[0],i[1],i[2],i[3]);case 5:return new e(i[0],i[1],i[2],i[3],i[4]);case 6:return new e(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new e(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var c=Do(e.prototype),d=e.apply(c,i);return Hr(d)?d:c}}function mm(e,i,c){var d=$a(e);function w(){for(var L=arguments.length,G=k(L),tt=L,nt=Bo(w);tt--;)G[tt]=arguments[tt];var kt=L<3&&G[0]!==nt&&G[L-1]!==nt?[]:Wn(G,nt);if(L-=kt.length,L<c)return Nh(e,i,Cl,w.placeholder,s,G,kt,s,s,c-L);var Et=this&&this!==zr&&this instanceof w?d:e;return Jr(Et,this,G)}return w}function Lh(e){return function(i,c,d){var w=b(i);if(!Gn(i)){var L=Ae(c,3);i=An(i),c=function(tt){return L(w[tt],tt,w)}}var G=e(i,c,d);return G>-1?w[L?i[G]:G]:s}}function Fh(e){return _s(function(i){var c=i.length,d=c,w=ci.prototype.thru;for(e&&i.reverse();d--;){var L=i[d];if(typeof L!="function")throw new M(m);if(w&&!G&&El(L)=="wrapper")var G=new ci([],!0)}for(d=G?d:c;++d<c;){L=i[d];var tt=El(L),nt=tt=="wrapper"?nu(L):s;nt&&au(nt[0])&&nt[1]==(Ct|Tt|Mt|qt)&&!nt[4].length&&nt[9]==1?G=G[El(nt[0])].apply(G,nt[3]):G=L.length==1&&au(L)?G[tt]():G.thru(L)}return function(){var kt=arguments,Et=kt[0];if(G&&kt.length==1&&Be(Et))return G.plant(Et).value();for(var Ot=0,Ut=c?i[Ot].apply(this,kt):Et;++Ot<c;)Ut=i[Ot].call(this,Ut);return Ut}})}function Cl(e,i,c,d,w,L,G,tt,nt,kt){var Et=i&Ct,Ot=i&pt,Ut=i&it,le=i&(Tt|Lt),$e=i&ie,He=Ut?s:$a(e);function Ee(){for(var tr=arguments.length,sr=k(tr),ei=tr;ei--;)sr[ei]=arguments[ei];if(le)var zn=Bo(Ee),ri=Ic(sr,zn);if(d&&(sr=Ph(sr,d,w,le)),L&&(sr=Rh(sr,L,G,le)),tr-=ri,le&&tr<kt){var un=Wn(sr,zn);return Nh(e,i,Cl,Ee.placeholder,c,sr,un,tt,nt,kt-tr)}var Ii=Ot?c:this,As=Ut?Ii[e]:e;return tr=sr.length,tt?sr=jm(sr,tt):$e&&tr>1&&sr.reverse(),Et&&nt<tr&&(sr.length=nt),this&&this!==zr&&this instanceof Ee&&(As=He||$a(As)),As.apply(Ii,sr)}return Ee}function jh(e,i){return function(c,d){return q0(c,e,i(d),{})}}function Al(e,i){return function(c,d){var w;if(c===s&&d===s)return i;if(c!==s&&(w=c),d!==s){if(w===s)return d;typeof c=="string"||typeof d=="string"?(c=Zn(c),d=Zn(d)):(c=xh(c),d=xh(d)),w=e(c,d)}return w}}function Zc(e){return _s(function(i){return i=Ar(i,On(Ae())),Xe(function(c){var d=this;return e(i,function(w){return Jr(w,d,c)})})})}function kl(e,i){i=i===s?" ":Zn(i);var c=i.length;if(c<2)return c?Gc(i,e):i;var d=Gc(i,kr(e/f(i)));return Mn(i)?zs(p(d),0,e).join(""):d.slice(0,e)}function ym(e,i,c,d){var w=i&pt,L=$a(e);function G(){for(var tt=-1,nt=arguments.length,kt=-1,Et=d.length,Ot=k(Et+nt),Ut=this&&this!==zr&&this instanceof G?L:e;++kt<Et;)Ot[kt]=d[kt];for(;nt--;)Ot[kt++]=arguments[++tt];return Jr(Ut,w?c:this,Ot)}return G}function Dh(e){return function(i,c,d){return d&&typeof d!="number"&&Bn(i,c,d)&&(c=d=s),i=Cs(i),c===s?(c=i,i=0):c=Cs(c),d=d===s?i<c?1:-1:Cs(d),nm(i,c,d,e)}}function $l(e){return function(i,c){return typeof i=="string"&&typeof c=="string"||(i=di(i),c=di(c)),e(i,c)}}function Nh(e,i,c,d,w,L,G,tt,nt,kt){var Et=i&Tt,Ot=Et?G:s,Ut=Et?s:G,le=Et?L:s,$e=Et?s:L;i|=Et?Mt:vt,i&=~(Et?vt:Mt),i&yt||(i&=~(pt|it));var He=[e,i,w,le,Ot,$e,Ut,tt,nt,kt],Ee=c.apply(s,He);return au(e)&&Xh(Ee,He),Ee.placeholder=d,Jh(Ee,e,i)}function tu(e){var i=$[e];return function(c,d){if(c=di(c),d=d==null?0:jr(qe(d),292),d&&Qn(c)){var w=(yr(c)+"e").split("e"),L=i(w[0]+"e"+(+w[1]+d));return w=(yr(L)+"e").split("e"),+(w[0]+"e"+(+w[1]-d))}return i(c)}}var bm=Fo&&1/js(new Fo([,-0]))[1]==wt?function(e){return new Fo(e)}:xu;function Vh(e){return function(i){var c=Ln(i);return c==ze?Zr(i):c==ur?n(i):Rc(i,e(i))}}function ws(e,i,c,d,w,L,G,tt){var nt=i⁢if(!nt&&typeof e!="function")throw new M(m);var kt=d?d.length:0;if(kt||(i&=~(Mt|vt),d=w=s),G=G===s?G:lr(qe(G),0),tt=tt===s?tt:qe(tt),kt-=w?w.length:0,i&vt){var Et=d,Ot=w;d=w=s}var Ut=nt?s:nu(e),le=[e,i,c,d,w,Et,Ot,L,G,tt];if(Ut&&Mm(le,Ut),e=le[0],i=le[1],c=le[2],d=le[3],w=le[4],tt=le[9]=le[9]===s?nt?0:e.length:lr(le[9]-kt,0),!tt&&i&(Tt|Lt)&&(i&=~(Tt|Lt)),!i||i==pt)var $e=vm(e,i,c);else i==Tt||i==Lt?$e=mm(e,i,tt):(i==Mt||i==(pt|Mt))&&!w.length?$e=ym(e,i,c,d):$e=Cl.apply(s,le);var He=Ut?wh:Xh;return Jh(He($e,le),e,i)}function Bh(e,i,c,d){return e===s||Ri(e,lt[c])&&!mt.call(d,c)?i:e}function zh(e,i,c,d,w,L){return Hr(e)&&Hr(i)&&(L.set(i,e),wl(e,i,s,zh,L),L.delete(i)),e}function wm(e){return Pa(e)?s:e}function Wh(e,i,c,d,w,L){var G=c&ut,tt=e.length,nt=i.length;if(tt!=nt&&!(G&&nt>tt))return!1;var kt=L.get(e),Et=L.get(i);if(kt&&Et)return kt==i&&Et==e;var Ot=-1,Ut=!0,le=c&ft?new co:s;for(L.set(e,i),L.set(i,e);++Ot<tt;){var $e=e[Ot],He=i[Ot];if(d)var Ee=G?d(He,$e,Ot,i,e,L):d($e,He,Ot,e,i,L);if(Ee!==s){if(Ee)continue;Ut=!1;break}if(le){if(!qi(i,function(tr,sr){if(!Or(le,sr)&&($e===tr||w($e,tr,c,d,L)))return le.push(sr)})){Ut=!1;break}}else if(!($e===He||w($e,He,c,d,L))){Ut=!1;break}}return L.delete(e),L.delete(i),Ut}function _m(e,i,c,d,w,L,G){switch(c){case Je:if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case Sr:return!(e.byteLength!=i.byteLength||!L(new at(e),new at(i)));case Nt:case te:case We:return Ri(+e,+i);case Le:return e.name==i.name&&e.message==i.message;case fr:case Pr:return e==i+"";case ze:var tt=Zr;case ur:var nt=d&ut;if(tt||(tt=js),e.size!=i.size&&!nt)return!1;var kt=G.get(e);if(kt)return kt==i;d|=ft,G.set(e,i);var Et=Wh(tt(e),tt(i),d,w,L,G);return G.delete(e),Et;case Ur:if(_a)return _a.call(e)==_a.call(i)}return!1}function xm(e,i,c,d,w,L){var G=c&ut,tt=eu(e),nt=tt.length,kt=eu(i),Et=kt.length;if(nt!=Et&&!G)return!1;for(var Ot=nt;Ot--;){var Ut=tt[Ot];if(!(G?Ut in i:mt.call(i,Ut)))return!1}var le=L.get(e),$e=L.get(i);if(le&&$e)return le==i&&$e==e;var He=!0;L.set(e,i),L.set(i,e);for(var Ee=G;++Ot<nt;){Ut=tt[Ot];var tr=e[Ut],sr=i[Ut];if(d)var ei=G?d(sr,tr,Ut,i,e,L):d(tr,sr,Ut,e,i,L);if(!(ei===s?tr===sr||w(tr,sr,c,d,L):ei)){He=!1;break}Ee||(Ee=Ut=="constructor")}if(He&&!Ee){var zn=e.constructor,ri=i.constructor;zn!=ri&&"constructor"in e&&"constructor"in i&&!(typeof zn=="function"&&zn instanceof zn&&typeof ri=="function"&&ri instanceof ri)&&(He=!1)}return L.delete(e),L.delete(i),He}function _s(e){return cu(Kh(e,s,id),e+"")}function eu(e){return ch(e,An,su)}function ru(e){return ch(e,Hn,Uh)}var nu=pl?function(e){return pl.get(e)}:xu;function El(e){for(var i=e.name+"",c=jo[i],d=mt.call(jo,i)?c.length:0;d--;){var w=c[d],L=w.func;if(L==null||L==e)return w.name}return i}function Bo(e){var i=mt.call(E,"placeholder")?E:e;return i.placeholder}function Ae(){var e=E.iteratee||wu;return e=e===wu?hh:e,arguments.length?e(arguments[0],arguments[1]):e}function Tl(e,i){var c=e.__data__;return Pm(i)?c[typeof i=="string"?"string":"hash"]:c.map}function iu(e){for(var i=An(e),c=i.length;c--;){var d=i[c],w=e[d];i[c]=[d,w,Hh(w)]}return i}function ho(e,i){var c=Mc(e,i);return fh(c)?c:s}function Sm(e){var i=mt.call(e,tn),c=e[tn];try{e[tn]=s;var d=!0}catch{}var w=gt.call(e);return d&&(i?e[tn]=c:delete e[tn]),w}var su=li?function(e){return e==null?[]:(e=b(e),In(li(e),function(i){return Fr.call(e,i)}))}:Su,Uh=li?function(e){for(var i=[];e;)Ci(i,su(e)),e=Oe(e);return i}:Su,Ln=Vn;(Ti&&Ln(new Ti(new ArrayBuffer(1)))!=Je||Ki&&Ln(new Ki)!=ze||Ds&&Ln(Ds.resolve())!=Wr||Fo&&Ln(new Fo)!=ur||ba&&Ln(new ba)!=$r)&&(Ln=function(e){var i=Vn(e),c=i==Se?e.constructor:s,d=c?po(c):"";if(d)switch(d){case s0:return Je;case o0:return ze;case a0:return Wr;case l0:return ur;case c0:return $r}return i});function Cm(e,i,c){for(var d=-1,w=c.length;++d<w;){var L=c[d],G=L.size;switch(L.type){case"drop":e+=G;break;case"dropRight":i-=G;break;case"take":i=jr(i,e+G);break;case"takeRight":e=lr(e,i-G);break}}return{start:e,end:i}}function Am(e){var i=e.match(hr);return i?i[1].split(q):[]}function qh(e,i,c){i=Bs(i,e);for(var d=-1,w=i.length,L=!1;++d<w;){var G=Ji(i[d]);if(!(L=e!=null&&c(e,G)))break;e=e[G]}return L||++d!=w?L:(w=e==null?0:e.length,!!w&&Fl(w)&&xs(G,w)&&(Be(e)||go(e)))}function km(e){var i=e.length,c=new e.constructor(i);return i&&typeof e[0]=="string"&&mt.call(e,"index")&&(c.index=e.index,c.input=e.input),c}function Gh(e){return typeof e.constructor=="function"&&!Ea(e)?Do(Oe(e)):{}}function $m(e,i,c){var d=e.constructor;switch(i){case Sr:return Jc(e);case Nt:case te:return new d(+e);case Je:return um(e,c);case Br:case Kr:case Ne:case ye:case we:case pe:case Mr:case nn:case qr:return Eh(e,c);case ze:return new d;case We:case Pr:return new d(e);case fr:return fm(e);case ur:return new d;case Ur:return hm(e)}}function Em(e,i){var c=i.length;if(!c)return e;var d=c-1;return i[d]=(c>1?"& ":"")+i[d],i=i.join(c>2?", ":" "),e.replace(sn,`{
|
|
733
|
-
/* [wrapped with `+i+`] */
|
|
734
|
-
`)}function Tm(e){return Be(e)||go(e)||!!(Cn&&e&&e[Cn])}function xs(e,i){var c=typeof e;return i=i??It,!!i&&(c=="number"||c!="symbol"&&Ve.test(e))&&e>-1&&e%1==0&&e<i}function Bn(e,i,c){if(!Hr(c))return!1;var d=typeof i;return(d=="number"?Gn(c)&&xs(i,c.length):d=="string"&&i in c)?Ri(c[i],e):!1}function ou(e,i){if(Be(e))return!1;var c=typeof e;return c=="number"||c=="symbol"||c=="boolean"||e==null||ti(e)?!0:vn.test(e)||!Cr.test(e)||i!=null&&e in b(i)}function Pm(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}function au(e){var i=El(e),c=E[i];if(typeof c!="function"||!(i in nr.prototype))return!1;if(e===c)return!0;var d=nu(c);return!!d&&e===d[0]}function Rm(e){return!!Jt&&Jt in e}var Im=Dt?Ss:Cu;function Ea(e){var i=e&&e.constructor,c=typeof i=="function"&&i.prototype||lt;return e===c}function Hh(e){return e===e&&!Hr(e)}function Yh(e,i){return function(c){return c==null?!1:c[e]===i&&(i!==s||e in b(c))}}function Om(e){var i=Ml(e,function(d){return c.size===O&&c.clear(),d}),c=i.cache;return i}function Mm(e,i){var c=e[1],d=i[1],w=c|d,L=w<(pt|it|Ct),G=d==Ct&&c==Tt||d==Ct&&c==qt&&e[7].length<=i[8]||d==(Ct|qt)&&i[7].length<=i[8]&&c==Tt;if(!(L||G))return e;d&pt&&(e[2]=i[2],w|=c&pt?0:yt);var tt=i[3];if(tt){var nt=e[3];e[3]=nt?Ph(nt,tt,i[4]):tt,e[4]=nt?Wn(e[3],D):i[4]}return tt=i[5],tt&&(nt=e[5],e[5]=nt?Rh(nt,tt,i[6]):tt,e[6]=nt?Wn(e[5],D):i[6]),tt=i[7],tt&&(e[7]=tt),d&Ct&&(e[8]=e[8]==null?i[8]:jr(e[8],i[8])),e[9]==null&&(e[9]=i[9]),e[0]=i[0],e[1]=w,e}function Lm(e){var i=[];if(e!=null)for(var c in b(e))i.push(c);return i}function Fm(e){return gt.call(e)}function Kh(e,i,c){return i=lr(i===s?e.length-1:i,0),function(){for(var d=arguments,w=-1,L=lr(d.length-i,0),G=k(L);++w<L;)G[w]=d[i+w];w=-1;for(var tt=k(i+1);++w<i;)tt[w]=d[w];return tt[i]=c(G),Jr(e,this,tt)}}function Qh(e,i){return i.length<2?e:fo(e,fi(i,0,-1))}function jm(e,i){for(var c=e.length,d=jr(i.length,c),w=qn(e);d--;){var L=i[d];e[d]=xs(L,c)?w[L]:s}return e}function lu(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}var Xh=Zh(wh),Ta=Zt||function(e,i){return zr.setTimeout(e,i)},cu=Zh(om);function Jh(e,i,c){var d=i+"";return cu(e,Em(d,Dm(Am(d),c)))}function Zh(e){var i=0,c=0;return function(){var d=Yi(),w=xe-(d-c);if(c=d,w>0){if(++i>=Me)return arguments[0]}else i=0;return e.apply(s,arguments)}}function Pl(e,i){var c=-1,d=e.length,w=d-1;for(i=i===s?d:i;++c<i;){var L=qc(c,w),G=e[L];e[L]=e[c],e[c]=G}return e.length=i,e}var td=Om(function(e){var i=[];return e.charCodeAt(0)===46&&i.push(""),e.replace(Vt,function(c,d,w,L){i.push(w?L.replace(Kt,"$1"):d||c)}),i});function Ji(e){if(typeof e=="string"||ti(e))return e;var i=e+"";return i=="0"&&1/e==-wt?"-0":i}function po(e){if(e!=null){try{return Ft.call(e)}catch{}try{return e+""}catch{}}return""}function Dm(e,i){return Tr(De,function(c){var d="_."+c[0];i&c[1]&&!Ui(e,d)&&e.push(d)}),e.sort()}function ed(e){if(e instanceof nr)return e.clone();var i=new ci(e.__wrapped__,e.__chain__);return i.__actions__=qn(e.__actions__),i.__index__=e.__index__,i.__values__=e.__values__,i}function Nm(e,i,c){(c?Bn(e,i,c):i===s)?i=1:i=lr(qe(i),0);var d=e==null?0:e.length;if(!d||i<1)return[];for(var w=0,L=0,G=k(kr(d/i));w<d;)G[L++]=fi(e,w,w+=i);return G}function Vm(e){for(var i=-1,c=e==null?0:e.length,d=0,w=[];++i<c;){var L=e[i];L&&(w[d++]=L)}return w}function Bm(){var e=arguments.length;if(!e)return[];for(var i=k(e-1),c=arguments[0],d=e;d--;)i[d-1]=arguments[d];return Ci(Be(c)?qn(c):[c],Pn(i,1))}var zm=Xe(function(e,i){return cn(e)?Sa(e,Pn(i,1,cn,!0)):[]}),Wm=Xe(function(e,i){var c=hi(i);return cn(c)&&(c=s),cn(e)?Sa(e,Pn(i,1,cn,!0),Ae(c,2)):[]}),Um=Xe(function(e,i){var c=hi(i);return cn(c)&&(c=s),cn(e)?Sa(e,Pn(i,1,cn,!0),s,c):[]});function qm(e,i,c){var d=e==null?0:e.length;return d?(i=c||i===s?1:qe(i),fi(e,i<0?0:i,d)):[]}function Gm(e,i,c){var d=e==null?0:e.length;return d?(i=c||i===s?1:qe(i),i=d-i,fi(e,0,i<0?0:i)):[]}function Hm(e,i){return e&&e.length?xl(e,Ae(i,3),!0,!0):[]}function Ym(e,i){return e&&e.length?xl(e,Ae(i,3),!0):[]}function Km(e,i,c,d){var w=e==null?0:e.length;return w?(c&&typeof c!="number"&&Bn(e,i,c)&&(c=0,d=w),B0(e,i,c,d)):[]}function rd(e,i,c){var d=e==null?0:e.length;if(!d)return-1;var w=c==null?0:qe(c);return w<0&&(w=lr(d+w,0)),so(e,Ae(i,3),w)}function nd(e,i,c){var d=e==null?0:e.length;if(!d)return-1;var w=d-1;return c!==s&&(w=qe(c),w=c<0?lr(d+w,0):jr(w,d-1)),so(e,Ae(i,3),w,!0)}function id(e){var i=e==null?0:e.length;return i?Pn(e,1):[]}function Qm(e){var i=e==null?0:e.length;return i?Pn(e,wt):[]}function Xm(e,i){var c=e==null?0:e.length;return c?(i=i===s?1:qe(i),Pn(e,i)):[]}function Jm(e){for(var i=-1,c=e==null?0:e.length,d={};++i<c;){var w=e[i];d[w[0]]=w[1]}return d}function sd(e){return e&&e.length?e[0]:s}function Zm(e,i,c){var d=e==null?0:e.length;if(!d)return-1;var w=c==null?0:qe(c);return w<0&&(w=lr(d+w,0)),gs(e,i,w)}function ty(e){var i=e==null?0:e.length;return i?fi(e,0,-1):[]}var ey=Xe(function(e){var i=Ar(e,Qc);return i.length&&i[0]===e[0]?Vc(i):[]}),ry=Xe(function(e){var i=hi(e),c=Ar(e,Qc);return i===hi(c)?i=s:c.pop(),c.length&&c[0]===e[0]?Vc(c,Ae(i,2)):[]}),ny=Xe(function(e){var i=hi(e),c=Ar(e,Qc);return i=typeof i=="function"?i:s,i&&c.pop(),c.length&&c[0]===e[0]?Vc(c,s,i):[]});function iy(e,i){return e==null?"":ki.call(e,i)}function hi(e){var i=e==null?0:e.length;return i?e[i-1]:s}function sy(e,i,c){var d=e==null?0:e.length;if(!d)return-1;var w=d;return c!==s&&(w=qe(c),w=w<0?lr(d+w,0):jr(w,d-1)),i===i?l(e,i,w):so(e,ga,w,!0)}function oy(e,i){return e&&e.length?vh(e,qe(i)):s}var ay=Xe(od);function od(e,i){return e&&e.length&&i&&i.length?Uc(e,i):e}function ly(e,i,c){return e&&e.length&&i&&i.length?Uc(e,i,Ae(c,2)):e}function cy(e,i,c){return e&&e.length&&i&&i.length?Uc(e,i,s,c):e}var uy=_s(function(e,i){var c=e==null?0:e.length,d=Fc(e,i);return bh(e,Ar(i,function(w){return xs(w,c)?+w:w}).sort(Th)),d});function fy(e,i){var c=[];if(!(e&&e.length))return c;var d=-1,w=[],L=e.length;for(i=Ae(i,3);++d<L;){var G=e[d];i(G,d,e)&&(c.push(G),w.push(d))}return bh(e,w),c}function uu(e){return e==null?e:Jn.call(e)}function hy(e,i,c){var d=e==null?0:e.length;return d?(c&&typeof c!="number"&&Bn(e,i,c)?(i=0,c=d):(i=i==null?0:qe(i),c=c===s?d:qe(c)),fi(e,i,c)):[]}function dy(e,i){return _l(e,i)}function py(e,i,c){return Hc(e,i,Ae(c,2))}function gy(e,i){var c=e==null?0:e.length;if(c){var d=_l(e,i);if(d<c&&Ri(e[d],i))return d}return-1}function vy(e,i){return _l(e,i,!0)}function my(e,i,c){return Hc(e,i,Ae(c,2),!0)}function yy(e,i){var c=e==null?0:e.length;if(c){var d=_l(e,i,!0)-1;if(Ri(e[d],i))return d}return-1}function by(e){return e&&e.length?_h(e):[]}function wy(e,i){return e&&e.length?_h(e,Ae(i,2)):[]}function _y(e){var i=e==null?0:e.length;return i?fi(e,1,i):[]}function xy(e,i,c){return e&&e.length?(i=c||i===s?1:qe(i),fi(e,0,i<0?0:i)):[]}function Sy(e,i,c){var d=e==null?0:e.length;return d?(i=c||i===s?1:qe(i),i=d-i,fi(e,i<0?0:i,d)):[]}function Cy(e,i){return e&&e.length?xl(e,Ae(i,3),!1,!0):[]}function Ay(e,i){return e&&e.length?xl(e,Ae(i,3)):[]}var ky=Xe(function(e){return Vs(Pn(e,1,cn,!0))}),$y=Xe(function(e){var i=hi(e);return cn(i)&&(i=s),Vs(Pn(e,1,cn,!0),Ae(i,2))}),Ey=Xe(function(e){var i=hi(e);return i=typeof i=="function"?i:s,Vs(Pn(e,1,cn,!0),s,i)});function Ty(e){return e&&e.length?Vs(e):[]}function Py(e,i){return e&&e.length?Vs(e,Ae(i,2)):[]}function Ry(e,i){return i=typeof i=="function"?i:s,e&&e.length?Vs(e,s,i):[]}function fu(e){if(!(e&&e.length))return[];var i=0;return e=In(e,function(c){if(cn(c))return i=lr(c.length,i),!0}),Mo(i,function(c){return Ar(e,Io(c))})}function ad(e,i){if(!(e&&e.length))return[];var c=fu(e);return i==null?c:Ar(c,function(d){return Jr(i,s,d)})}var Iy=Xe(function(e,i){return cn(e)?Sa(e,i):[]}),Oy=Xe(function(e){return Kc(In(e,cn))}),My=Xe(function(e){var i=hi(e);return cn(i)&&(i=s),Kc(In(e,cn),Ae(i,2))}),Ly=Xe(function(e){var i=hi(e);return i=typeof i=="function"?i:s,Kc(In(e,cn),s,i)}),Fy=Xe(fu);function jy(e,i){return Ah(e||[],i||[],xa)}function Dy(e,i){return Ah(e||[],i||[],ka)}var Ny=Xe(function(e){var i=e.length,c=i>1?e[i-1]:s;return c=typeof c=="function"?(e.pop(),c):s,ad(e,c)});function ld(e){var i=E(e);return i.__chain__=!0,i}function Vy(e,i){return i(e),e}function Rl(e,i){return i(e)}var By=_s(function(e){var i=e.length,c=i?e[0]:0,d=this.__wrapped__,w=function(L){return Fc(L,e)};return i>1||this.__actions__.length||!(d instanceof nr)||!xs(c)?this.thru(w):(d=d.slice(c,+c+(i?1:0)),d.__actions__.push({func:Rl,args:[w],thisArg:s}),new ci(d,this.__chain__).thru(function(L){return i&&!L.length&&L.push(s),L}))});function zy(){return ld(this)}function Wy(){return new ci(this.value(),this.__chain__)}function Uy(){this.__values__===s&&(this.__values__=xd(this.value()));var e=this.__index__>=this.__values__.length,i=e?s:this.__values__[this.__index__++];return{done:e,value:i}}function qy(){return this}function Gy(e){for(var i,c=this;c instanceof vl;){var d=ed(c);d.__index__=0,d.__values__=s,i?w.__wrapped__=d:i=d;var w=d;c=c.__wrapped__}return w.__wrapped__=e,i}function Hy(){var e=this.__wrapped__;if(e instanceof nr){var i=e;return this.__actions__.length&&(i=new nr(this)),i=i.reverse(),i.__actions__.push({func:Rl,args:[uu],thisArg:s}),new ci(i,this.__chain__)}return this.thru(uu)}function Yy(){return Ch(this.__wrapped__,this.__actions__)}var Ky=Sl(function(e,i,c){mt.call(e,c)?++e[c]:bs(e,c,1)});function Qy(e,i,c){var d=Be(e)?ps:V0;return c&&Bn(e,i,c)&&(i=s),d(e,Ae(i,3))}function Xy(e,i){var c=Be(e)?In:ah;return c(e,Ae(i,3))}var Jy=Lh(rd),Zy=Lh(nd);function t1(e,i){return Pn(Il(e,i),1)}function e1(e,i){return Pn(Il(e,i),wt)}function r1(e,i,c){return c=c===s?1:qe(c),Pn(Il(e,i),c)}function cd(e,i){var c=Be(e)?Tr:Ns;return c(e,Ae(i,3))}function ud(e,i){var c=Be(e)?xn:oh;return c(e,Ae(i,3))}var n1=Sl(function(e,i,c){mt.call(e,c)?e[c].push(i):bs(e,c,[i])});function i1(e,i,c,d){e=Gn(e)?e:Wo(e),c=c&&!d?qe(c):0;var w=e.length;return c<0&&(c=lr(w+c,0)),jl(e)?c<=w&&e.indexOf(i,c)>-1:!!w&&gs(e,i,c)>-1}var s1=Xe(function(e,i,c){var d=-1,w=typeof i=="function",L=Gn(e)?k(e.length):[];return Ns(e,function(G){L[++d]=w?Jr(i,G,c):Ca(G,i,c)}),L}),o1=Sl(function(e,i,c){bs(e,c,i)});function Il(e,i){var c=Be(e)?Ar:dh;return c(e,Ae(i,3))}function a1(e,i,c,d){return e==null?[]:(Be(i)||(i=i==null?[]:[i]),c=d?s:c,Be(c)||(c=c==null?[]:[c]),mh(e,i,c))}var l1=Sl(function(e,i,c){e[c?0:1].push(i)},function(){return[[],[]]});function c1(e,i,c){var d=Be(e)?Ro:va,w=arguments.length<3;return d(e,Ae(i,4),c,w,Ns)}function u1(e,i,c){var d=Be(e)?ro:va,w=arguments.length<3;return d(e,Ae(i,4),c,w,oh)}function f1(e,i){var c=Be(e)?In:ah;return c(e,Ll(Ae(i,3)))}function h1(e){var i=Be(e)?rh:im;return i(e)}function d1(e,i,c){(c?Bn(e,i,c):i===s)?i=1:i=qe(i);var d=Be(e)?L0:sm;return d(e,i)}function p1(e){var i=Be(e)?F0:am;return i(e)}function g1(e){if(e==null)return 0;if(Gn(e))return jl(e)?f(e):e.length;var i=Ln(e);return i==ze||i==ur?e.size:zc(e).length}function v1(e,i,c){var d=Be(e)?qi:lm;return c&&Bn(e,i,c)&&(i=s),d(e,Ae(i,3))}var m1=Xe(function(e,i){if(e==null)return[];var c=i.length;return c>1&&Bn(e,i[0],i[1])?i=[]:c>2&&Bn(i[0],i[1],i[2])&&(i=[i[0]]),mh(e,Pn(i,1),[])}),Ol=Tn||function(){return zr.Date.now()};function y1(e,i){if(typeof i!="function")throw new M(m);return e=qe(e),function(){if(--e<1)return i.apply(this,arguments)}}function fd(e,i,c){return i=c?s:i,i=e&&i==null?e.length:i,ws(e,Ct,s,s,s,s,i)}function hd(e,i){var c;if(typeof i!="function")throw new M(m);return e=qe(e),function(){return--e>0&&(c=i.apply(this,arguments)),e<=1&&(i=s),c}}var hu=Xe(function(e,i,c){var d=pt;if(c.length){var w=Wn(c,Bo(hu));d|=Mt}return ws(e,d,i,c,w)}),dd=Xe(function(e,i,c){var d=pt|it;if(c.length){var w=Wn(c,Bo(dd));d|=Mt}return ws(i,d,e,c,w)});function pd(e,i,c){i=c?s:i;var d=ws(e,Tt,s,s,s,s,s,i);return d.placeholder=pd.placeholder,d}function gd(e,i,c){i=c?s:i;var d=ws(e,Lt,s,s,s,s,s,i);return d.placeholder=gd.placeholder,d}function vd(e,i,c){var d,w,L,G,tt,nt,kt=0,Et=!1,Ot=!1,Ut=!0;if(typeof e!="function")throw new M(m);i=di(i)||0,Hr(c)&&(Et=!!c.leading,Ot="maxWait"in c,L=Ot?lr(di(c.maxWait)||0,i):L,Ut="trailing"in c?!!c.trailing:Ut);function le(un){var Ii=d,As=w;return d=w=s,kt=un,G=e.apply(As,Ii),G}function $e(un){return kt=un,tt=Ta(tr,i),Et?le(un):G}function He(un){var Ii=un-nt,As=un-kt,Ld=i-Ii;return Ot?jr(Ld,L-As):Ld}function Ee(un){var Ii=un-nt,As=un-kt;return nt===s||Ii>=i||Ii<0||Ot&&As>=L}function tr(){var un=Ol();if(Ee(un))return sr(un);tt=Ta(tr,He(un))}function sr(un){return tt=s,Ut&&d?le(un):(d=w=s,G)}function ei(){tt!==s&&kh(tt),kt=0,d=nt=w=tt=s}function zn(){return tt===s?G:sr(Ol())}function ri(){var un=Ol(),Ii=Ee(un);if(d=arguments,w=this,nt=un,Ii){if(tt===s)return $e(nt);if(Ot)return kh(tt),tt=Ta(tr,i),le(nt)}return tt===s&&(tt=Ta(tr,i)),G}return ri.cancel=ei,ri.flush=zn,ri}var b1=Xe(function(e,i){return sh(e,1,i)}),w1=Xe(function(e,i,c){return sh(e,di(i)||0,c)});function _1(e){return ws(e,ie)}function Ml(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new M(m);var c=function(){var d=arguments,w=i?i.apply(this,d):d[0],L=c.cache;if(L.has(w))return L.get(w);var G=e.apply(this,d);return c.cache=L.set(w,G)||L,G};return c.cache=new(Ml.Cache||ys),c}Ml.Cache=ys;function Ll(e){if(typeof e!="function")throw new M(m);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function x1(e){return hd(2,e)}var S1=cm(function(e,i){i=i.length==1&&Be(i[0])?Ar(i[0],On(Ae())):Ar(Pn(i,1),On(Ae()));var c=i.length;return Xe(function(d){for(var w=-1,L=jr(d.length,c);++w<L;)d[w]=i[w].call(this,d[w]);return Jr(e,this,d)})}),du=Xe(function(e,i){var c=Wn(i,Bo(du));return ws(e,Mt,s,i,c)}),md=Xe(function(e,i){var c=Wn(i,Bo(md));return ws(e,vt,s,i,c)}),C1=_s(function(e,i){return ws(e,qt,s,s,s,i)});function A1(e,i){if(typeof e!="function")throw new M(m);return i=i===s?i:qe(i),Xe(e,i)}function k1(e,i){if(typeof e!="function")throw new M(m);return i=i==null?0:lr(qe(i),0),Xe(function(c){var d=c[i],w=zs(c,0,i);return d&&Ci(w,d),Jr(e,this,w)})}function $1(e,i,c){var d=!0,w=!0;if(typeof e!="function")throw new M(m);return Hr(c)&&(d="leading"in c?!!c.leading:d,w="trailing"in c?!!c.trailing:w),vd(e,i,{leading:d,maxWait:i,trailing:w})}function E1(e){return fd(e,1)}function T1(e,i){return du(Xc(i),e)}function P1(){if(!arguments.length)return[];var e=arguments[0];return Be(e)?e:[e]}function R1(e){return ui(e,et)}function I1(e,i){return i=typeof i=="function"?i:s,ui(e,et,i)}function O1(e){return ui(e,Q|et)}function M1(e,i){return i=typeof i=="function"?i:s,ui(e,Q|et,i)}function L1(e,i){return i==null||ih(e,i,An(i))}function Ri(e,i){return e===i||e!==e&&i!==i}var F1=$l(Nc),j1=$l(function(e,i){return e>=i}),go=uh(function(){return arguments}())?uh:function(e){return en(e)&&mt.call(e,"callee")&&!Fr.call(e,"callee")},Be=k.isArray,D1=ds?On(ds):G0;function Gn(e){return e!=null&&Fl(e.length)&&!Ss(e)}function cn(e){return en(e)&&Gn(e)}function N1(e){return e===!0||e===!1||en(e)&&Vn(e)==Nt}var Ws=Ai||Cu,V1=ul?On(ul):H0;function B1(e){return en(e)&&e.nodeType===1&&!Pa(e)}function z1(e){if(e==null)return!0;if(Gn(e)&&(Be(e)||typeof e=="string"||typeof e.splice=="function"||Ws(e)||zo(e)||go(e)))return!e.length;var i=Ln(e);if(i==ze||i==ur)return!e.size;if(Ea(e))return!zc(e).length;for(var c in e)if(mt.call(e,c))return!1;return!0}function W1(e,i){return Aa(e,i)}function U1(e,i,c){c=typeof c=="function"?c:s;var d=c?c(e,i):s;return d===s?Aa(e,i,s,c):!!d}function pu(e){if(!en(e))return!1;var i=Vn(e);return i==Le||i==Ie||typeof e.message=="string"&&typeof e.name=="string"&&!Pa(e)}function q1(e){return typeof e=="number"&&Qn(e)}function Ss(e){if(!Hr(e))return!1;var i=Vn(e);return i==Ke||i==Pe||i==rr||i==fe}function yd(e){return typeof e=="number"&&e==qe(e)}function Fl(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=It}function Hr(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function en(e){return e!=null&&typeof e=="object"}var bd=fl?On(fl):K0;function G1(e,i){return e===i||Bc(e,i,iu(i))}function H1(e,i,c){return c=typeof c=="function"?c:s,Bc(e,i,iu(i),c)}function Y1(e){return wd(e)&&e!=+e}function K1(e){if(Im(e))throw new V(h);return fh(e)}function Q1(e){return e===null}function X1(e){return e==null}function wd(e){return typeof e=="number"||en(e)&&Vn(e)==We}function Pa(e){if(!en(e)||Vn(e)!=Se)return!1;var i=Oe(e);if(i===null)return!0;var c=mt.call(i,"constructor")&&i.constructor;return typeof c=="function"&&c instanceof c&&Ft.call(c)==K}var gu=da?On(da):Q0;function J1(e){return yd(e)&&e>=-It&&e<=It}var _d=Fs?On(Fs):X0;function jl(e){return typeof e=="string"||!Be(e)&&en(e)&&Vn(e)==Pr}function ti(e){return typeof e=="symbol"||en(e)&&Vn(e)==Ur}var zo=Si?On(Si):J0;function Z1(e){return e===s}function tb(e){return en(e)&&Ln(e)==$r}function eb(e){return en(e)&&Vn(e)==rn}var rb=$l(Wc),nb=$l(function(e,i){return e<=i});function xd(e){if(!e)return[];if(Gn(e))return jl(e)?p(e):qn(e);if(pn&&e[pn])return Hi(e[pn]());var i=Ln(e),c=i==ze?Zr:i==ur?js:Wo;return c(e)}function Cs(e){if(!e)return e===0?e:0;if(e=di(e),e===wt||e===-wt){var i=e<0?-1:1;return i*zt}return e===e?e:0}function qe(e){var i=Cs(e),c=i%1;return i===i?c?i-c:i:0}function Sd(e){return e?uo(qe(e),0,ne):0}function di(e){if(typeof e=="number")return e;if(ti(e))return jt;if(Hr(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=Hr(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=dl(e);var c=ve.test(e);return c||ue.test(e)?yn(e.slice(2),c?2:8):Ce.test(e)?jt:+e}function Cd(e){return Xi(e,Hn(e))}function ib(e){return e?uo(qe(e),-It,It):e===0?e:0}function yr(e){return e==null?"":Zn(e)}var sb=No(function(e,i){if(Ea(i)||Gn(i)){Xi(i,An(i),e);return}for(var c in i)mt.call(i,c)&&xa(e,c,i[c])}),Ad=No(function(e,i){Xi(i,Hn(i),e)}),Dl=No(function(e,i,c,d){Xi(i,Hn(i),e,d)}),ob=No(function(e,i,c,d){Xi(i,An(i),e,d)}),ab=_s(Fc);function lb(e,i){var c=Do(e);return i==null?c:nh(c,i)}var cb=Xe(function(e,i){e=b(e);var c=-1,d=i.length,w=d>2?i[2]:s;for(w&&Bn(i[0],i[1],w)&&(d=1);++c<d;)for(var L=i[c],G=Hn(L),tt=-1,nt=G.length;++tt<nt;){var kt=G[tt],Et=e[kt];(Et===s||Ri(Et,lt[kt])&&!mt.call(e,kt))&&(e[kt]=L[kt])}return e}),ub=Xe(function(e){return e.push(s,zh),Jr(kd,s,e)});function fb(e,i){return pa(e,Ae(i,3),Qi)}function hb(e,i){return pa(e,Ae(i,3),Dc)}function db(e,i){return e==null?e:jc(e,Ae(i,3),Hn)}function pb(e,i){return e==null?e:lh(e,Ae(i,3),Hn)}function gb(e,i){return e&&Qi(e,Ae(i,3))}function vb(e,i){return e&&Dc(e,Ae(i,3))}function mb(e){return e==null?[]:bl(e,An(e))}function yb(e){return e==null?[]:bl(e,Hn(e))}function vu(e,i,c){var d=e==null?s:fo(e,i);return d===s?c:d}function bb(e,i){return e!=null&&qh(e,i,z0)}function mu(e,i){return e!=null&&qh(e,i,W0)}var wb=jh(function(e,i,c){i!=null&&typeof i.toString!="function"&&(i=gt.call(i)),e[i]=c},bu(Yn)),_b=jh(function(e,i,c){i!=null&&typeof i.toString!="function"&&(i=gt.call(i)),mt.call(e,i)?e[i].push(c):e[i]=[c]},Ae),xb=Xe(Ca);function An(e){return Gn(e)?eh(e):zc(e)}function Hn(e){return Gn(e)?eh(e,!0):Z0(e)}function Sb(e,i){var c={};return i=Ae(i,3),Qi(e,function(d,w,L){bs(c,i(d,w,L),d)}),c}function Cb(e,i){var c={};return i=Ae(i,3),Qi(e,function(d,w,L){bs(c,w,i(d,w,L))}),c}var Ab=No(function(e,i,c){wl(e,i,c)}),kd=No(function(e,i,c,d){wl(e,i,c,d)}),kb=_s(function(e,i){var c={};if(e==null)return c;var d=!1;i=Ar(i,function(L){return L=Bs(L,e),d||(d=L.length>1),L}),Xi(e,ru(e),c),d&&(c=ui(c,Q|J|et,wm));for(var w=i.length;w--;)Yc(c,i[w]);return c});function $b(e,i){return $d(e,Ll(Ae(i)))}var Eb=_s(function(e,i){return e==null?{}:em(e,i)});function $d(e,i){if(e==null)return{};var c=Ar(ru(e),function(d){return[d]});return i=Ae(i),yh(e,c,function(d,w){return i(d,w[0])})}function Tb(e,i,c){i=Bs(i,e);var d=-1,w=i.length;for(w||(w=1,e=s);++d<w;){var L=e==null?s:e[Ji(i[d])];L===s&&(d=w,L=c),e=Ss(L)?L.call(e):L}return e}function Pb(e,i,c){return e==null?e:ka(e,i,c)}function Rb(e,i,c,d){return d=typeof d=="function"?d:s,e==null?e:ka(e,i,c,d)}var Ed=Vh(An),Td=Vh(Hn);function Ib(e,i,c){var d=Be(e),w=d||Ws(e)||zo(e);if(i=Ae(i,4),c==null){var L=e&&e.constructor;w?c=d?new L:[]:Hr(e)?c=Ss(L)?Do(Oe(e)):{}:c={}}return(w?Tr:Qi)(e,function(G,tt,nt){return i(c,G,tt,nt)}),c}function Ob(e,i){return e==null?!0:Yc(e,i)}function Mb(e,i,c){return e==null?e:Sh(e,i,Xc(c))}function Lb(e,i,c,d){return d=typeof d=="function"?d:s,e==null?e:Sh(e,i,Xc(c),d)}function Wo(e){return e==null?[]:ma(e,An(e))}function Fb(e){return e==null?[]:ma(e,Hn(e))}function jb(e,i,c){return c===s&&(c=i,i=s),c!==s&&(c=di(c),c=c===c?c:0),i!==s&&(i=di(i),i=i===i?i:0),uo(di(e),i,c)}function Db(e,i,c){return i=Cs(i),c===s?(c=i,i=0):c=Cs(c),e=di(e),U0(e,i,c)}function Nb(e,i,c){if(c&&typeof c!="boolean"&&Bn(e,i,c)&&(i=c=s),c===s&&(typeof i=="boolean"?(c=i,i=s):typeof e=="boolean"&&(c=e,e=s)),e===s&&i===s?(e=0,i=1):(e=Cs(e),i===s?(i=e,e=0):i=Cs(i)),e>i){var d=e;e=i,i=d}if(c||e%1||i%1){var w=Ei();return jr(e+w*(i-e+Lr("1e-"+((w+"").length-1))),i)}return qc(e,i)}var Vb=Vo(function(e,i,c){return i=i.toLowerCase(),e+(c?Pd(i):i)});function Pd(e){return yu(yr(e).toLowerCase())}function Rd(e){return e=yr(e),e&&e.replace(dr,Oc).replace(us,"")}function Bb(e,i,c){e=yr(e),i=Zn(i);var d=e.length;c=c===s?d:uo(qe(c),0,d);var w=c;return c-=i.length,c>=0&&e.slice(c,w)==i}function zb(e){return e=yr(e),e&&pr.test(e)?e.replace(Er,vs):e}function Wb(e){return e=yr(e),e&&Pt.test(e)?e.replace(ee,"\\$&"):e}var Ub=Vo(function(e,i,c){return e+(c?"-":"")+i.toLowerCase()}),qb=Vo(function(e,i,c){return e+(c?" ":"")+i.toLowerCase()}),Gb=Mh("toLowerCase");function Hb(e,i,c){e=yr(e),i=qe(i);var d=i?f(e):0;if(!i||d>=i)return e;var w=(i-d)/2;return kl(Un(w),c)+e+kl(kr(w),c)}function Yb(e,i,c){e=yr(e),i=qe(i);var d=i?f(e):0;return i&&d<i?e+kl(i-d,c):e}function Kb(e,i,c){e=yr(e),i=qe(i);var d=i?f(e):0;return i&&d<i?kl(i-d,c)+e:e}function Qb(e,i,c){return c||i==null?i=0:i&&(i=+i),Xn(yr(e).replace(Re,""),i||0)}function Xb(e,i,c){return(c?Bn(e,i,c):i===s)?i=1:i=qe(i),Gc(yr(e),i)}function Jb(){var e=arguments,i=yr(e[0]);return e.length<3?i:i.replace(e[1],e[2])}var Zb=Vo(function(e,i,c){return e+(c?"_":"")+i.toLowerCase()});function tw(e,i,c){return c&&typeof c!="number"&&Bn(e,i,c)&&(i=c=s),c=c===s?ne:c>>>0,c?(e=yr(e),e&&(typeof i=="string"||i!=null&&!gu(i))&&(i=Zn(i),!i&&Mn(e))?zs(p(e),0,c):e.split(i,c)):[]}var ew=Vo(function(e,i,c){return e+(c?" ":"")+yu(i)});function rw(e,i,c){return e=yr(e),c=c==null?0:uo(qe(c),0,e.length),i=Zn(i),e.slice(c,c+i.length)==i}function nw(e,i,c){var d=E.templateSettings;c&&Bn(e,i,c)&&(i=s),e=yr(e),i=Dl({},i,d,Bh);var w=Dl({},i.imports,d.imports,Bh),L=An(w),G=ma(w,L),tt,nt,kt=0,Et=i.interpolate||Qe,Ot="__p += '",Ut=_((i.escape||Qe).source+"|"+Et.source+"|"+(Et===Fe?At:Qe).source+"|"+(i.evaluate||Qe).source+"|$","g"),le="//# sourceURL="+(mt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++hs+"]")+`
|
|
735
|
-
`;e.replace(Ut,function(Ee,tr,sr,ei,zn,ri){return sr||(sr=ei),Ot+=e.slice(kt,ri).replace(Rn,Kn),tr&&(tt=!0,Ot+=`' +
|
|
736
|
-
__e(`+tr+`) +
|
|
737
|
-
'`),zn&&(nt=!0,Ot+=`';
|
|
738
|
-
`+zn+`;
|
|
739
|
-
__p += '`),sr&&(Ot+=`' +
|
|
740
|
-
((__t = (`+sr+`)) == null ? '' : __t) +
|
|
741
|
-
'`),kt=ri+Ee.length,Ee}),Ot+=`';
|
|
742
|
-
`;var $e=mt.call(i,"variable")&&i.variable;if(!$e)Ot=`with (obj) {
|
|
743
|
-
`+Ot+`
|
|
744
|
-
}
|
|
745
|
-
`;else if(Rt.test($e))throw new V(y);Ot=(nt?Ot.replace(Qr,""):Ot).replace(Rr,"$1").replace(fn,"$1;"),Ot="function("+($e||"obj")+`) {
|
|
746
|
-
`+($e?"":`obj || (obj = {});
|
|
747
|
-
`)+"var __t, __p = ''"+(tt?", __e = _.escape":"")+(nt?`, __j = Array.prototype.join;
|
|
748
|
-
function print() { __p += __j.call(arguments, '') }
|
|
749
|
-
`:`;
|
|
750
|
-
`)+Ot+`return __p
|
|
751
|
-
}`;var He=Od(function(){return C(L,le+"return "+Ot).apply(s,G)});if(He.source=Ot,pu(He))throw He;return He}function iw(e){return yr(e).toLowerCase()}function sw(e){return yr(e).toUpperCase()}function ow(e,i,c){if(e=yr(e),e&&(c||i===s))return dl(e);if(!e||!(i=Zn(i)))return e;var d=p(e),w=p(i),L=Lo(d,w),G=Sn(d,w)+1;return zs(d,L,G).join("")}function aw(e,i,c){if(e=yr(e),e&&(c||i===s))return e.slice(0,g(e)+1);if(!e||!(i=Zn(i)))return e;var d=p(e),w=Sn(d,p(i))+1;return zs(d,0,w).join("")}function lw(e,i,c){if(e=yr(e),e&&(c||i===s))return e.replace(Re,"");if(!e||!(i=Zn(i)))return e;var d=p(e),w=Lo(d,p(i));return zs(d,w).join("")}function cw(e,i){var c=de,d=me;if(Hr(i)){var w="separator"in i?i.separator:w;c="length"in i?qe(i.length):c,d="omission"in i?Zn(i.omission):d}e=yr(e);var L=e.length;if(Mn(e)){var G=p(e);L=G.length}if(c>=L)return e;var tt=c-f(d);if(tt<1)return d;var nt=G?zs(G,0,tt).join(""):e.slice(0,tt);if(w===s)return nt+d;if(G&&(tt+=nt.length-tt),gu(w)){if(e.slice(tt).search(w)){var kt,Et=nt;for(w.global||(w=_(w.source,yr(ae.exec(w))+"g")),w.lastIndex=0;kt=w.exec(Et);)var Ot=kt.index;nt=nt.slice(0,Ot===s?tt:Ot)}}else if(e.indexOf(Zn(w),tt)!=tt){var Ut=nt.lastIndexOf(w);Ut>-1&&(nt=nt.slice(0,Ut))}return nt+d}function uw(e){return e=yr(e),e&&Xr.test(e)?e.replace(Ht,S):e}var fw=Vo(function(e,i,c){return e+(c?" ":"")+i.toUpperCase()}),yu=Mh("toUpperCase");function Id(e,i,c){return e=yr(e),i=c?s:i,i===s?ya(e)?Y(e):Pc(e):e.match(i)||[]}var Od=Xe(function(e,i){try{return Jr(e,s,i)}catch(c){return pu(c)?c:new V(c)}}),hw=_s(function(e,i){return Tr(i,function(c){c=Ji(c),bs(e,c,hu(e[c],e))}),e});function dw(e){var i=e==null?0:e.length,c=Ae();return e=i?Ar(e,function(d){if(typeof d[1]!="function")throw new M(m);return[c(d[0]),d[1]]}):[],Xe(function(d){for(var w=-1;++w<i;){var L=e[w];if(Jr(L[0],this,d))return Jr(L[1],this,d)}})}function pw(e){return N0(ui(e,Q))}function bu(e){return function(){return e}}function gw(e,i){return e==null||e!==e?i:e}var vw=Fh(),mw=Fh(!0);function Yn(e){return e}function wu(e){return hh(typeof e=="function"?e:ui(e,Q))}function yw(e){return ph(ui(e,Q))}function bw(e,i){return gh(e,ui(i,Q))}var ww=Xe(function(e,i){return function(c){return Ca(c,e,i)}}),_w=Xe(function(e,i){return function(c){return Ca(e,c,i)}});function _u(e,i,c){var d=An(i),w=bl(i,d);c==null&&!(Hr(i)&&(w.length||!d.length))&&(c=i,i=e,e=this,w=bl(i,An(i)));var L=!(Hr(c)&&"chain"in c)||!!c.chain,G=Ss(e);return Tr(w,function(tt){var nt=i[tt];e[tt]=nt,G&&(e.prototype[tt]=function(){var kt=this.__chain__;if(L||kt){var Et=e(this.__wrapped__),Ot=Et.__actions__=qn(this.__actions__);return Ot.push({func:nt,args:arguments,thisArg:e}),Et.__chain__=kt,Et}return nt.apply(e,Ci([this.value()],arguments))})}),e}function xw(){return zr._===this&&(zr._=N),this}function xu(){}function Sw(e){return e=qe(e),Xe(function(i){return vh(i,e)})}var Cw=Zc(Ar),Aw=Zc(ps),kw=Zc(qi);function Md(e){return ou(e)?Io(Ji(e)):rm(e)}function $w(e){return function(i){return e==null?s:fo(e,i)}}var Ew=Dh(),Tw=Dh(!0);function Su(){return[]}function Cu(){return!1}function Pw(){return{}}function Rw(){return""}function Iw(){return!0}function Ow(e,i){if(e=qe(e),e<1||e>It)return[];var c=ne,d=jr(e,ne);i=Ae(i),e-=ne;for(var w=Mo(d,i);++c<e;)i(c);return w}function Mw(e){return Be(e)?Ar(e,Ji):ti(e)?[e]:qn(td(yr(e)))}function Lw(e){var i=++Qt;return yr(e)+i}var Fw=Al(function(e,i){return e+i},0),jw=tu("ceil"),Dw=Al(function(e,i){return e/i},1),Nw=tu("floor");function Vw(e){return e&&e.length?yl(e,Yn,Nc):s}function Bw(e,i){return e&&e.length?yl(e,Ae(i,2),Nc):s}function zw(e){return oo(e,Yn)}function Ww(e,i){return oo(e,Ae(i,2))}function Uw(e){return e&&e.length?yl(e,Yn,Wc):s}function qw(e,i){return e&&e.length?yl(e,Ae(i,2),Wc):s}var Gw=Al(function(e,i){return e*i},1),Hw=tu("round"),Yw=Al(function(e,i){return e-i},0);function Kw(e){return e&&e.length?Gi(e,Yn):0}function Qw(e,i){return e&&e.length?Gi(e,Ae(i,2)):0}return E.after=y1,E.ary=fd,E.assign=sb,E.assignIn=Ad,E.assignInWith=Dl,E.assignWith=ob,E.at=ab,E.before=hd,E.bind=hu,E.bindAll=hw,E.bindKey=dd,E.castArray=P1,E.chain=ld,E.chunk=Nm,E.compact=Vm,E.concat=Bm,E.cond=dw,E.conforms=pw,E.constant=bu,E.countBy=Ky,E.create=lb,E.curry=pd,E.curryRight=gd,E.debounce=vd,E.defaults=cb,E.defaultsDeep=ub,E.defer=b1,E.delay=w1,E.difference=zm,E.differenceBy=Wm,E.differenceWith=Um,E.drop=qm,E.dropRight=Gm,E.dropRightWhile=Hm,E.dropWhile=Ym,E.fill=Km,E.filter=Xy,E.flatMap=t1,E.flatMapDeep=e1,E.flatMapDepth=r1,E.flatten=id,E.flattenDeep=Qm,E.flattenDepth=Xm,E.flip=_1,E.flow=vw,E.flowRight=mw,E.fromPairs=Jm,E.functions=mb,E.functionsIn=yb,E.groupBy=n1,E.initial=ty,E.intersection=ey,E.intersectionBy=ry,E.intersectionWith=ny,E.invert=wb,E.invertBy=_b,E.invokeMap=s1,E.iteratee=wu,E.keyBy=o1,E.keys=An,E.keysIn=Hn,E.map=Il,E.mapKeys=Sb,E.mapValues=Cb,E.matches=yw,E.matchesProperty=bw,E.memoize=Ml,E.merge=Ab,E.mergeWith=kd,E.method=ww,E.methodOf=_w,E.mixin=_u,E.negate=Ll,E.nthArg=Sw,E.omit=kb,E.omitBy=$b,E.once=x1,E.orderBy=a1,E.over=Cw,E.overArgs=S1,E.overEvery=Aw,E.overSome=kw,E.partial=du,E.partialRight=md,E.partition=l1,E.pick=Eb,E.pickBy=$d,E.property=Md,E.propertyOf=$w,E.pull=ay,E.pullAll=od,E.pullAllBy=ly,E.pullAllWith=cy,E.pullAt=uy,E.range=Ew,E.rangeRight=Tw,E.rearg=C1,E.reject=f1,E.remove=fy,E.rest=A1,E.reverse=uu,E.sampleSize=d1,E.set=Pb,E.setWith=Rb,E.shuffle=p1,E.slice=hy,E.sortBy=m1,E.sortedUniq=by,E.sortedUniqBy=wy,E.split=tw,E.spread=k1,E.tail=_y,E.take=xy,E.takeRight=Sy,E.takeRightWhile=Cy,E.takeWhile=Ay,E.tap=Vy,E.throttle=$1,E.thru=Rl,E.toArray=xd,E.toPairs=Ed,E.toPairsIn=Td,E.toPath=Mw,E.toPlainObject=Cd,E.transform=Ib,E.unary=E1,E.union=ky,E.unionBy=$y,E.unionWith=Ey,E.uniq=Ty,E.uniqBy=Py,E.uniqWith=Ry,E.unset=Ob,E.unzip=fu,E.unzipWith=ad,E.update=Mb,E.updateWith=Lb,E.values=Wo,E.valuesIn=Fb,E.without=Iy,E.words=Id,E.wrap=T1,E.xor=Oy,E.xorBy=My,E.xorWith=Ly,E.zip=Fy,E.zipObject=jy,E.zipObjectDeep=Dy,E.zipWith=Ny,E.entries=Ed,E.entriesIn=Td,E.extend=Ad,E.extendWith=Dl,_u(E,E),E.add=Fw,E.attempt=Od,E.camelCase=Vb,E.capitalize=Pd,E.ceil=jw,E.clamp=jb,E.clone=R1,E.cloneDeep=O1,E.cloneDeepWith=M1,E.cloneWith=I1,E.conformsTo=L1,E.deburr=Rd,E.defaultTo=gw,E.divide=Dw,E.endsWith=Bb,E.eq=Ri,E.escape=zb,E.escapeRegExp=Wb,E.every=Qy,E.find=Jy,E.findIndex=rd,E.findKey=fb,E.findLast=Zy,E.findLastIndex=nd,E.findLastKey=hb,E.floor=Nw,E.forEach=cd,E.forEachRight=ud,E.forIn=db,E.forInRight=pb,E.forOwn=gb,E.forOwnRight=vb,E.get=vu,E.gt=F1,E.gte=j1,E.has=bb,E.hasIn=mu,E.head=sd,E.identity=Yn,E.includes=i1,E.indexOf=Zm,E.inRange=Db,E.invoke=xb,E.isArguments=go,E.isArray=Be,E.isArrayBuffer=D1,E.isArrayLike=Gn,E.isArrayLikeObject=cn,E.isBoolean=N1,E.isBuffer=Ws,E.isDate=V1,E.isElement=B1,E.isEmpty=z1,E.isEqual=W1,E.isEqualWith=U1,E.isError=pu,E.isFinite=q1,E.isFunction=Ss,E.isInteger=yd,E.isLength=Fl,E.isMap=bd,E.isMatch=G1,E.isMatchWith=H1,E.isNaN=Y1,E.isNative=K1,E.isNil=X1,E.isNull=Q1,E.isNumber=wd,E.isObject=Hr,E.isObjectLike=en,E.isPlainObject=Pa,E.isRegExp=gu,E.isSafeInteger=J1,E.isSet=_d,E.isString=jl,E.isSymbol=ti,E.isTypedArray=zo,E.isUndefined=Z1,E.isWeakMap=tb,E.isWeakSet=eb,E.join=iy,E.kebabCase=Ub,E.last=hi,E.lastIndexOf=sy,E.lowerCase=qb,E.lowerFirst=Gb,E.lt=rb,E.lte=nb,E.max=Vw,E.maxBy=Bw,E.mean=zw,E.meanBy=Ww,E.min=Uw,E.minBy=qw,E.stubArray=Su,E.stubFalse=Cu,E.stubObject=Pw,E.stubString=Rw,E.stubTrue=Iw,E.multiply=Gw,E.nth=oy,E.noConflict=xw,E.noop=xu,E.now=Ol,E.pad=Hb,E.padEnd=Yb,E.padStart=Kb,E.parseInt=Qb,E.random=Nb,E.reduce=c1,E.reduceRight=u1,E.repeat=Xb,E.replace=Jb,E.result=Tb,E.round=Hw,E.runInContext=v,E.sample=h1,E.size=g1,E.snakeCase=Zb,E.some=v1,E.sortedIndex=dy,E.sortedIndexBy=py,E.sortedIndexOf=gy,E.sortedLastIndex=vy,E.sortedLastIndexBy=my,E.sortedLastIndexOf=yy,E.startCase=ew,E.startsWith=rw,E.subtract=Yw,E.sum=Kw,E.sumBy=Qw,E.template=nw,E.times=Ow,E.toFinite=Cs,E.toInteger=qe,E.toLength=Sd,E.toLower=iw,E.toNumber=di,E.toSafeInteger=ib,E.toString=yr,E.toUpper=sw,E.trim=ow,E.trimEnd=aw,E.trimStart=lw,E.truncate=cw,E.unescape=uw,E.uniqueId=Lw,E.upperCase=fw,E.upperFirst=yu,E.each=cd,E.eachRight=ud,E.first=sd,_u(E,function(){var e={};return Qi(E,function(i,c){mt.call(E.prototype,c)||(e[c]=i)}),e}(),{chain:!1}),E.VERSION=a,Tr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){E[e].placeholder=E}),Tr(["drop","take"],function(e,i){nr.prototype[e]=function(c){c=c===s?1:lr(qe(c),0);var d=this.__filtered__&&!i?new nr(this):this.clone();return d.__filtered__?d.__takeCount__=jr(c,d.__takeCount__):d.__views__.push({size:jr(c,ne),type:e+(d.__dir__<0?"Right":"")}),d},nr.prototype[e+"Right"]=function(c){return this.reverse()[e](c).reverse()}}),Tr(["filter","map","takeWhile"],function(e,i){var c=i+1,d=c==ct||c==St;nr.prototype[e]=function(w){var L=this.clone();return L.__iteratees__.push({iteratee:Ae(w,3),type:c}),L.__filtered__=L.__filtered__||d,L}}),Tr(["head","last"],function(e,i){var c="take"+(i?"Right":"");nr.prototype[e]=function(){return this[c](1).value()[0]}}),Tr(["initial","tail"],function(e,i){var c="drop"+(i?"":"Right");nr.prototype[e]=function(){return this.__filtered__?new nr(this):this[c](1)}}),nr.prototype.compact=function(){return this.filter(Yn)},nr.prototype.find=function(e){return this.filter(e).head()},nr.prototype.findLast=function(e){return this.reverse().find(e)},nr.prototype.invokeMap=Xe(function(e,i){return typeof e=="function"?new nr(this):this.map(function(c){return Ca(c,e,i)})}),nr.prototype.reject=function(e){return this.filter(Ll(Ae(e)))},nr.prototype.slice=function(e,i){e=qe(e);var c=this;return c.__filtered__&&(e>0||i<0)?new nr(c):(e<0?c=c.takeRight(-e):e&&(c=c.drop(e)),i!==s&&(i=qe(i),c=i<0?c.dropRight(-i):c.take(i-e)),c)},nr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nr.prototype.toArray=function(){return this.take(ne)},Qi(nr.prototype,function(e,i){var c=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),w=E[d?"take"+(i=="last"?"Right":""):i],L=d||/^find/.test(i);w&&(E.prototype[i]=function(){var G=this.__wrapped__,tt=d?[1]:arguments,nt=G instanceof nr,kt=tt[0],Et=nt||Be(G),Ot=function(tr){var sr=w.apply(E,Ci([tr],tt));return d&&Ut?sr[0]:sr};Et&&c&&typeof kt=="function"&&kt.length!=1&&(nt=Et=!1);var Ut=this.__chain__,le=!!this.__actions__.length,$e=L&&!Ut,He=nt&&!le;if(!L&&Et){G=He?G:new nr(this);var Ee=e.apply(G,tt);return Ee.__actions__.push({func:Rl,args:[Ot],thisArg:s}),new ci(Ee,Ut)}return $e&&He?e.apply(this,tt):(Ee=this.thru(Ot),$e?d?Ee.value()[0]:Ee.value():Ee)})}),Tr(["pop","push","shift","sort","splice","unshift"],function(e){var i=j[e],c=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",d=/^(?:pop|shift)$/.test(e);E.prototype[e]=function(){var w=arguments;if(d&&!this.__chain__){var L=this.value();return i.apply(Be(L)?L:[],w)}return this[c](function(G){return i.apply(Be(G)?G:[],w)})}}),Qi(nr.prototype,function(e,i){var c=E[i];if(c){var d=c.name+"";mt.call(jo,d)||(jo[d]=[]),jo[d].push({name:i,func:c})}}),jo[Cl(s,it).name]=[{name:"wrapper",func:s}],nr.prototype.clone=u0,nr.prototype.reverse=f0,nr.prototype.value=h0,E.prototype.at=By,E.prototype.chain=zy,E.prototype.commit=Wy,E.prototype.next=Uy,E.prototype.plant=Gy,E.prototype.reverse=Hy,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=Yy,E.prototype.first=E.prototype.head,pn&&(E.prototype[pn]=qy),E},ot=Z();oi?((oi.exports=ot)._=ot,si._=ot):zr._=ot}).call(mi)})(fc,fc.exports);var La=fc.exports;const xo=qa(La),eP=Bt.div`
|
|
752
|
-
${({theme:t})=>`
|
|
753
|
-
background-color: ${t.palette.gray[100]};
|
|
754
|
-
border-radius: ${t.spacing[.25]};
|
|
755
|
-
display: inline-flex;
|
|
756
|
-
padding: ${t.spacing[1]};
|
|
757
|
-
position: relative;
|
|
758
|
-
width: fit-content;
|
|
759
|
-
|
|
760
|
-
.line-highlight.language-none {
|
|
761
|
-
background: ${t.palette.gray[100]};
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.line-highlight {
|
|
765
|
-
background: hsl(354deg 88% 93% / 50%);
|
|
766
|
-
font-family: ${t.typography.type.mono};
|
|
767
|
-
font-size: ${t.typography.text.xs};
|
|
768
|
-
line-height: ${t.spacing[1]};
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
.line-highlight::before,
|
|
772
|
-
.line-highlight[data-end]::after {
|
|
773
|
-
background: ${t.palette.primary[300]};
|
|
774
|
-
background-color: hsl(355deg 89% 36%);
|
|
775
|
-
color: ${t.palette.white};
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
pre code {
|
|
779
|
-
color: #161616;
|
|
780
|
-
font-family: ${t.typography.type.mono};
|
|
781
|
-
font-size: ${t.typography.text.xs};
|
|
782
|
-
line-height: ${t.spacing[1]};
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
pre:not(.line-highlight) {
|
|
786
|
-
margin-top: unset;
|
|
787
|
-
margin-bottom: unset;
|
|
788
|
-
padding: unset;
|
|
789
|
-
width: 100%;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
span:hover {
|
|
793
|
-
background-color: ${t.palette.gray[200]};
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
.no-data,
|
|
797
|
-
pre.line-highlight {
|
|
798
|
-
background-color: ${t.palette.gray[100]};
|
|
799
|
-
padding-top: unset;
|
|
800
|
-
padding-bottom: unset;
|
|
801
|
-
}
|
|
802
|
-
`}
|
|
803
|
-
`,rP=Bt.div`
|
|
804
|
-
${({theme:t})=>`
|
|
805
|
-
align-items: end;
|
|
806
|
-
background-color: ${t.palette.gray[100]};
|
|
807
|
-
display: flex;
|
|
808
|
-
flex-direction: column;
|
|
809
|
-
justify-content: space-between;
|
|
810
|
-
min-width: 103px;
|
|
811
|
-
margin-right: ${t.spacing[1]};
|
|
812
|
-
padding-top: ${t.spacing[1]};
|
|
813
|
-
padding-bottom: ${t.spacing[1]};
|
|
814
|
-
position: relative;
|
|
815
|
-
padding-left: unset;
|
|
816
|
-
|
|
817
|
-
button:hover:not([disabled]) {
|
|
818
|
-
background-color: ${t.palette.gray[200]};
|
|
819
|
-
}
|
|
820
|
-
`}
|
|
821
|
-
`,nP=({noCodeMessage:t="Code snippet not available",snippet:r})=>{const s=$n(),[a,u]=X.useState(!1),[h,m]=X.useState(!0),y=X.useCallback(()=>{u(Q=>!Q)},[u]),x=X.useCallback(()=>{if(xo.isNil(r)||xo.isEmpty(r)||!xo.isString(r))return m(!1),t;const Q=r.split(`
|
|
822
|
-
`);return Q.length>8&&!a?`${[...Q].splice(0,7).join(`
|
|
823
|
-
`)}
|
|
824
|
-
${Q[8]}...`:(Q.length<8&&m(!1),r)},[a,r,t]),O=X.useMemo(x,[x]),D=X.useCallback(async()=>{await navigator.clipboard.writeText(O)},[O]);return H.jsxs(cr,{bgColor:s.palette.gray[100],borderRadius:"4px",display:"inline-flex",minWidth:"565px",position:"relative",children:[H.jsx(eP,{"data-private":!0,children:H.jsx("pre",{children:H.jsx("code",{className:"language-none",children:O})})}),H.jsxs(rP,{children:[H.jsx(sl,{height:s.spacing[2.5],icon:"copy",iconColor:s.palette.gray[700],iconSize:"xs",iconType:"fa-light",onClick:D,variant:"ghost",width:s.spacing[2.5]}),h?H.jsxs(la,{onClick:y,variant:"ghost",children:[a?"Show Less":"Show more",H.jsx(vr,{icon:a?"chevron-up":"chevron-down",iconColor:s.palette.gray[700],iconSize:"xxs",iconType:"fa-light",ml:.25,onClick:D})]}):!1]})]})},Up=({tag:t,tagPosition:r})=>{const s=$n();return t?H.jsx(cr,{alignItems:"center",bgColor:s.palette.white,borderRadius:"8px",display:"flex",justify:"center",margin:r==="top"?[.75,.75,.75,.75]:void 0,padding:[.25,.5,.25,.5],position:r==="top"?"absolute":"relative",top:"0",width:"max-content",children:H.jsx(_r,{color:s.palette.gray[900],lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:t})}):null},iP=({eventDate:t})=>{const r=$n(),s=Da(t)?null:t==null?void 0:t.split("-");if(s){const[a,u]=s;return H.jsxs(cr,{alignItems:"center",bgColor:r.palette.white,borderRadius:"8px",display:"flex",flexDirection:"column",margin:[.75,.75,.75,.75],padding:[.75,1.5,.75,1.5],position:"absolute",right:"0",shadow:"md",top:"0",children:[H.jsx($s,{fontWeight:"semibold",lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:a}),H.jsx(_r,{color:r.palette.gray[800],fontWeight:"semibold",lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:u.toUpperCase()})]})}return null},sP=Bt.div`
|
|
825
|
-
${({theme:t})=>`
|
|
826
|
-
align-items: flex-start;
|
|
827
|
-
display: flex;
|
|
828
|
-
flex-direction: column;
|
|
829
|
-
gap: ${t.spacing[1.5]};
|
|
830
|
-
width: 384px;
|
|
831
|
-
|
|
832
|
-
img {
|
|
833
|
-
height: 100%;
|
|
834
|
-
width: 100%;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
#card-image {
|
|
838
|
-
border-radius: ${t.spacing[1]};
|
|
839
|
-
height: 240px;
|
|
840
|
-
overflow: hidden;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
&:hover {
|
|
844
|
-
img {
|
|
845
|
-
transform: scale(1.2);
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
> #card-content {
|
|
849
|
-
> .title-dark {
|
|
850
|
-
color: ${t.palette.gray[400]};
|
|
851
|
-
}
|
|
852
|
-
> .title-light {
|
|
853
|
-
background: ${t.palette.gradients["01"]};
|
|
854
|
-
background-clip: text;
|
|
855
|
-
-webkit-background-clip: text;
|
|
856
|
-
-webkit-text-fill-color: transparent;
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
862
|
-
width: 320px;
|
|
863
|
-
|
|
864
|
-
#card-image {
|
|
865
|
-
height: 200px;
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
`}
|
|
869
|
-
`,Xv=({author:t,buttonText:r,description:s,eventDate:a,href:u,imageId:h,mode:m="light",publishDate:y,readingTime:x,tag:O,tagPosition:D="top",title:Q})=>{const J=$n(),et=y==null?void 0:y.split("-"),ut=m==="dark",ft=H.jsxs(sP,{"data-testid":`content-card-${Q}`,children:[h||a||O&&D==="top"?H.jsxs(cr,{id:"card-image",position:"relative",children:[h&&H.jsx(cl,{publicId:h}),D==="top"&&H.jsx(Up,{tag:O,tagPosition:D}),H.jsx(iP,{eventDate:a})]}):void 0,H.jsxs(cr,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:.5,id:"card-content",children:[D==="bottom"&&H.jsx(Up,{tag:O,tagPosition:D}),t||et||x?H.jsxs(cr,{display:"flex",justify:"space-between",width:"100%",children:[t&&et&&H.jsx(_r,{color:J.palette.gray[ut?300:400],fontWeight:"semibold",size:"sm",sizeSm:"xs",children:t+` • ${et[0]} ${et[1]}, ${et[2]}`}),x&&H.jsxs(cr,{alignItems:"center",display:"flex",gap:.25,justify:"center",minWidth:"60px",children:[H.jsx(vr,{icon:"eye",iconColor:J.palette.gray[ut?300:400],iconSize:"xs",iconType:"fa-light"}),H.jsx(_r,{color:J.palette.gray[ut?300:400],size:"sm",sizeSm:"xs",textAlign:"right",children:x})]})]}):void 0,H.jsx($s,{className:`title-${m}`,color:ut?J.palette.white:J.palette.gray[800],fontWeight:"semibold",size:"sm",sizeSm:"xs",children:Q}),s&&H.jsx(_r,{color:J.palette.gray[ut?100:600],size:"md",sizeSm:"sm",children:s}),r&&u&&H.jsx(la,{href:u,mode:m,variant:"link",children:r})]})]});return u?H.jsx("a",{className:"flex w-fit",href:u,rel:"noopener noreferrer",target:"_self",children:ft}):ft},oP=Bt.button`
|
|
870
|
-
display: flex;
|
|
871
|
-
position: relative;
|
|
872
|
-
height: 32px;
|
|
873
|
-
width: 32px;
|
|
874
|
-
|
|
875
|
-
svg {
|
|
876
|
-
position: absolute;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
.hovered {
|
|
880
|
-
display: none;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
&:hover {
|
|
884
|
-
.hovered {
|
|
885
|
-
display: flex;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.uncover {
|
|
889
|
-
display: none;
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
`,aP=Bt.div`
|
|
893
|
-
${({theme:t})=>`
|
|
894
|
-
display: flex;
|
|
895
|
-
flex-direction: column;
|
|
896
|
-
gap: ${t.spacing[2.5]};
|
|
897
|
-
overflow: hidden;
|
|
898
|
-
min-height: 589px;
|
|
899
|
-
max-width: 1316px;
|
|
900
|
-
|
|
901
|
-
span {
|
|
902
|
-
background: ${t.palette.gradients["01"]};
|
|
903
|
-
background-clip: text;
|
|
904
|
-
-webkit-background-clip: text;
|
|
905
|
-
-webkit-text-fill-color: transparent;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
#mobile {
|
|
909
|
-
display: none;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
#carousel {
|
|
913
|
-
scrollbar-width: none;
|
|
914
|
-
|
|
915
|
-
&::-webkit-scrollbar {
|
|
916
|
-
display: none;
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
921
|
-
align-items: center;
|
|
922
|
-
height: auto;
|
|
923
|
-
max-width: 340px;
|
|
924
|
-
|
|
925
|
-
#desktop {
|
|
926
|
-
display: none;
|
|
927
|
-
}
|
|
928
|
-
#mobile {
|
|
929
|
-
display: flex;
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
`}
|
|
933
|
-
`,qp=({containerRef:t,id:r})=>{const s=$n(),a=r==="desktop"?380:342,u=X.useCallback(m=>()=>{if(t!=null&&t.current){const{current:y}=t;y.scrollBy({left:m==="right"?a:-a,behavior:"smooth"})}},[t,a]),h=X.useCallback(m=>H.jsxs(oP,{onClick:u(m),children:[H.jsx(vr,{clickable:!0,icon:`circle-arrow-${m}`,iconClass:"hovered",iconColor:s.palette.gray[800],iconSize:"md",iconType:"fa-solid"}),H.jsx(vr,{clickable:!0,icon:`circle-arrow-${m}`,iconClass:"uncover",iconColor:s.palette.gray[800],iconSize:"md",iconType:"fa-light"})]}),[u,s]);return H.jsxs(cr,{alignItems:"center",display:"flex",gap:1,id:r,width:"max-content",children:[h("left"),h("right")]})},lP=({description:t,items:r,title:s,titleHighlighted:a})=>{const u=X.useRef(null);return H.jsxs(aP,{"data-testid":"content-card-carousel",children:[H.jsxs(cr,{alignItems:"flex-start",display:"flex",justify:"space-between",children:[H.jsxs(cr,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:.625,maxWidth:"800px",children:[H.jsxs($s,{display:"inline",fontWeight:"semibold",lineSpacing:2.25,lineSpacingSm:1.75,size:"lg",sizeSm:"md",children:[s+" "," ",H.jsx("span",{className:"inline",children:a})]}),H.jsx(_r,{lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:t})]}),H.jsx(qp,{containerRef:u,id:"desktop"})]}),H.jsx(cr,{alignSelf:"stretch",display:"flex",id:"carousel",pb:1,pr:2.25,ref:u,scroll:"x",children:H.jsx(cr,{alignItems:"flex-start",display:"flex",gap:1.5,width:"max-content",children:r.map((h,m)=>H.jsx(Xv,{...h},`${m}-${h.title}`))})}),H.jsx(qp,{containerRef:u,id:"mobile"})]})},cP=X.forwardRef(function({color:r=ge.palette.gray[100],mt:s=.5,mb:a=.5,...u},h){return H.jsx(cr,{as:"hr",borderTop:`1px solid ${r}`,mb:a,mt:s,ref:h,...u})}),Gp=Bt(cr).attrs(({...t})=>({display:"inline-block",position:"relative",...t}))`
|
|
934
|
-
& img {
|
|
935
|
-
display: block;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
&::after {
|
|
939
|
-
content: "";
|
|
940
|
-
position: absolute;
|
|
941
|
-
top: 0;
|
|
942
|
-
left: 0;
|
|
943
|
-
width: 100%;
|
|
944
|
-
height: 100%;
|
|
945
|
-
pointer-events: none;
|
|
946
|
-
${({$opacity:t=0})=>`background-color: rgba(0, 0, 0, ${t});`}
|
|
947
|
-
}
|
|
948
|
-
`,uP=t=>{if(xo.isNil(t))return"";const r=t.split(".");return(r.length>1?xo.last(r):"").toLowerCase()},fP=(t,r)=>xo.isUndefined(r)?!1:xo.includes(t,uP(r)),{getVariant:hP}=Ua(t=>({highRelevance:`
|
|
949
|
-
color: ${t.palette.primary[500]};
|
|
950
|
-
|
|
951
|
-
&:hover:not([disabled]) {
|
|
952
|
-
color: ${t.palette.primary[400]};
|
|
953
|
-
}
|
|
954
|
-
`,lowRelevance:`
|
|
955
|
-
color: ${t.palette.gray[800]};
|
|
956
|
-
|
|
957
|
-
&:hover:not([disabled]) {
|
|
958
|
-
color: ${t.palette.gray[500]};
|
|
959
|
-
}
|
|
960
|
-
`})),Jv=_g`
|
|
961
|
-
${({theme:t,$color:r,$variant:s})=>`
|
|
962
|
-
align-items: center;
|
|
963
|
-
cursor: pointer;
|
|
964
|
-
font-family: ${t.typography.type.primary};
|
|
965
|
-
font-size: ${t.typography.text.sm};
|
|
966
|
-
font-weight: ${t.typography.weight.regular};
|
|
967
|
-
gap: ${t.spacing[.25]};
|
|
968
|
-
line-height: ${t.spacing[1.25]};
|
|
969
|
-
text-decoration: underline;
|
|
970
|
-
word-break: break-word;
|
|
971
|
-
word-wrap: break-word;
|
|
972
|
-
|
|
973
|
-
&:disabled {
|
|
974
|
-
color: ${t.palette.gray[300]};
|
|
975
|
-
cursor: not-allowed;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
&:has(button) {
|
|
979
|
-
text-decoration: none;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
${r??hP(t,s)}
|
|
983
|
-
`}
|
|
984
|
-
`,dP=Bt.a`
|
|
985
|
-
${Jv}
|
|
986
|
-
`,pP=Bt(Qp.Link)`
|
|
987
|
-
${Jv}
|
|
988
|
-
`,Jf=({children:t,color:r,download:s,href:a,iconPosition:u="right",onClick:h,target:m,variant:y="lowRelevance"})=>{const x=a.startsWith("https://"),O=H.jsx(vr,{icon:s===void 0?"arrow-up-right-from-square":"arrow-down-to-bracket",iconSize:"xxs",iconType:"fa-regular",ml:.25,mr:.25});return x?H.jsxs(dP,{$color:r,$variant:y,download:s,href:a,onClick:h,rel:"nofollow noopener noreferrer",target:m??"_blank",children:[u==="left"?O:void 0,t,u==="right"?O:void 0]}):H.jsxs(pP,{$variant:y,download:s,onClick:h,rel:"nofollow noopener noreferrer",target:m,to:a,children:[m!==void 0&&u==="left"?O:void 0,t,m!==void 0&&u==="right"?O:void 0]})},gP=({alt:t,fileType:r,width:s="100%",opacity:a=0,src:u,height:h="auto"})=>r==="video"||fP(["webm"],u)?H.jsx(Gp,{$opacity:a,children:H.jsxs("video",{controls:!0,height:h,muted:!0,width:s,children:[H.jsx("source",{src:u,type:"video/webm"}),H.jsx(Jf,{href:u,iconPosition:"hidden",children:u})]})}):H.jsx(Gp,{$opacity:a,children:H.jsx("img",{alt:t,height:h,src:u,width:s})}),vP=Bt.form`
|
|
989
|
-
${({theme:t})=>`
|
|
990
|
-
align-items: center;
|
|
991
|
-
background: ${t.palette.gray[50]};
|
|
992
|
-
backdrop-filter: blur(11px);
|
|
993
|
-
border-radius: ${t.spacing[1]};
|
|
994
|
-
box-shadow: ${t.shadows.md};
|
|
995
|
-
display: flex;
|
|
996
|
-
flex-direction: column;
|
|
997
|
-
justify-content: center;
|
|
998
|
-
padding: ${t.spacing[3]} ${t.spacing[2]};
|
|
999
|
-
width: 628px;
|
|
1000
|
-
|
|
1001
|
-
&::before {
|
|
1002
|
-
background: ${t.palette.gradients["02"]} border-box;
|
|
1003
|
-
border-radius: ${t.spacing[1]};
|
|
1004
|
-
content: "";
|
|
1005
|
-
position: absolute;
|
|
1006
|
-
inset: 0;
|
|
1007
|
-
border: 2px solid transparent;
|
|
1008
|
-
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
1009
|
-
mask-composite: exclude;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1013
|
-
width: 320px;
|
|
1014
|
-
}
|
|
1015
|
-
`}
|
|
1016
|
-
`,mP=Bt.div`
|
|
1017
|
-
align-items: flex-start;
|
|
1018
|
-
align-self: stretch;
|
|
1019
|
-
display: flex;
|
|
1020
|
-
flex-direction: column;
|
|
1021
|
-
gap: ${({theme:t})=>t.spacing[1.5]};
|
|
1022
|
-
|
|
1023
|
-
button[type="submit"] {
|
|
1024
|
-
width: 100%;
|
|
1025
|
-
|
|
1026
|
-
> * {
|
|
1027
|
-
text-align: center;
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
`,yP=Bt.div`
|
|
1031
|
-
${({theme:t})=>`
|
|
1032
|
-
align-items: flex-start;
|
|
1033
|
-
align-self: stretch;
|
|
1034
|
-
container-type: inline-size;
|
|
1035
|
-
display: flex;
|
|
1036
|
-
flex-direction: row;
|
|
1037
|
-
gap: ${t.spacing[1]};
|
|
1038
|
-
position: relative;
|
|
1039
|
-
|
|
1040
|
-
&:has(> :nth-child(2)) {
|
|
1041
|
-
> div {
|
|
1042
|
-
display: flex;
|
|
1043
|
-
width: 50%;
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1048
|
-
flex-direction: column;
|
|
1049
|
-
}
|
|
1050
|
-
`}
|
|
1051
|
-
`,bP=({children:t,name:r,onSubmit:s,submitDisabled:a,submitLabel:u="Submit"})=>H.jsx(vP,{"aria-label":r,name:r,onSubmit:s,children:H.jsxs(mP,{children:[t,H.jsx(la,{disabled:a,type:"submit",children:u})]})});var Ks=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Cayman Islands","ky","1","... ... ....",4,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","(...) ...-....",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49","... ........."],["Ghana","gh","233"],["Greece","gr","30"],["Greenland","gl","299",".. .. .."],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",{"/^06/":"(.). .........","/^6/":". .........","/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":"(.).. ........","/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":".. ........","/^0/":"(.)... .......",default:"... ......."}],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","(...) ...-....",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],wP="react-international-phone-",Zv=(...t)=>t.filter(r=>!!r).join(" ").trim(),_P=(...t)=>Zv(...t).split(" ").map(r=>`${wP}${r}`).join(" "),jn=({addPrefix:t,rawClassNames:r})=>Zv(_P(...t),...r),xP=({value:t,mask:r,maskSymbol:s,offset:a=0,trimNonMaskCharsLeftover:u=!1})=>{if(t.length<a)return t;let h=t.slice(0,a),m=t.slice(a),y=h,x=0;for(let O of r.split("")){if(x>=m.length){if(!u&&O!==s){y+=O;continue}break}O===s?(y+=m[x],x+=1):y+=O}return y},Go=t=>t?/^\d+$/.test(t):!1,Tc=t=>t.replace(/\D/g,""),SP=(t,r)=>{let s=t.style.display;s!=="block"&&(t.style.display="block");let a=t.getBoundingClientRect(),u=r.getBoundingClientRect(),h=u.top-a.top,m=a.bottom-u.bottom;h>=0&&m>=0||(Math.abs(h)<Math.abs(m)?t.scrollTop+=h:t.scrollTop-=m),t.style.display=s},CP=()=>typeof window>"u"?!1:window.navigator.userAgent.toLowerCase().includes("macintosh"),AP=(t,r)=>{let s=r.disableDialCodeAndPrefix?!1:r.forceDialCode,a=r.disableDialCodeAndPrefix?!1:r.insertDialCodeOnEmpty,u=t,h=O=>r.trimNonDigitsEnd?O.trim():O;if(!u)return a&&!u.length||s?h(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`):h(u);if(u=Tc(u),u===r.dialCode&&!r.disableDialCodeAndPrefix)return h(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(r.dialCode.startsWith(u)&&!r.disableDialCodeAndPrefix)return h(s?`${r.prefix}${r.dialCode}${r.charAfterDialCode}`:`${r.prefix}${u}`);if(!u.startsWith(r.dialCode)&&!r.disableDialCodeAndPrefix){if(s)return h(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(u.length<r.dialCode.length)return h(`${r.prefix}${u}`)}let m=()=>{let O=r.dialCode.length,D=u.slice(0,O),Q=u.slice(O);return{phoneLeftSide:D,phoneRightSide:Q}},{phoneLeftSide:y,phoneRightSide:x}=m();return y=`${r.prefix}${y}${r.charAfterDialCode}`,x=xP({value:x,mask:r.mask,maskSymbol:r.maskChar,trimNonMaskCharsLeftover:r.trimNonDigitsEnd||r.disableDialCodeAndPrefix&&x.length===0}),r.disableDialCodeAndPrefix&&(y=""),h(`${y}${x}`)},kP=({phoneBeforeInput:t,phoneAfterInput:r,phoneAfterFormatted:s,cursorPositionAfterInput:a,leftOffset:u=0,deletion:h})=>{if(a<u)return u;if(!t)return s.length;let m=null;for(let D=a-1;D>=0;D-=1)if(Go(r[D])){m=D;break}if(m===null){for(let D=0;D<r.length;D+=1)if(Go(s[D]))return D;return r.length}let y=0;for(let D=0;D<m;D+=1)Go(r[D])&&(y+=1);let x=0,O=0;for(let D=0;D<s.length&&(x+=1,Go(s[D])&&(O+=1),!(O>=y+1));D+=1);if(h!=="backward")for(;!Go(s[x])&&x<s.length;)x+=1;return x},Ql=({phone:t,prefix:r})=>t?`${r}${Tc(t)}`:"";function pf({value:t,country:r,insertDialCodeOnEmpty:s,trimNonDigitsEnd:a,countries:u,prefix:h,charAfterDialCode:m,forceDialCode:y,disableDialCodeAndPrefix:x,defaultMask:O,countryGuessingEnabled:D,disableFormatting:Q}){let J=t;x&&(J=J.startsWith(`${h}`)?J:`${h}${r.dialCode}${J}`);let et=D?LP({phone:J,countries:u,currentCountryIso2:r==null?void 0:r.iso2}):void 0,ut=(et==null?void 0:et.country)??r,ft=AP(J,{prefix:h,mask:OP({phone:J,country:ut,defaultMask:O,disableFormatting:Q}),maskChar:t0,dialCode:ut.dialCode,trimNonDigitsEnd:a,charAfterDialCode:m,forceDialCode:y,insertDialCodeOnEmpty:s,disableDialCodeAndPrefix:x}),pt=D&&!(et!=null&&et.fullDialCodeMatch)?r:ut;return{phone:Ql({phone:x?`${pt.dialCode}${ft}`:ft,prefix:h}),inputValue:ft,country:pt}}var $P=t=>{if((t==null?void 0:t.toLocaleLowerCase().includes("delete"))??!1)return t!=null&&t.toLocaleLowerCase().includes("forward")?"forward":"backward"},EP=(t,{country:r,insertDialCodeOnEmpty:s,phoneBeforeInput:a,prefix:u,charAfterDialCode:h,forceDialCode:m,disableDialCodeAndPrefix:y,countryGuessingEnabled:x,defaultMask:O,disableFormatting:D,countries:Q})=>{let J=t.nativeEvent,et=J.inputType,ut=$P(et),ft=!!(et!=null&&et.startsWith("insertFrom")),pt=et==="insertText",it=(J==null?void 0:J.data)||void 0,yt=t.target.value,Tt=t.target.selectionStart??0;if(et!=null&&et.includes("history"))return{inputValue:a,phone:Ql({phone:a,prefix:u}),cursorPosition:a.length,country:r};if(pt&&!Go(it)&&yt!==u)return{inputValue:a,phone:Ql({phone:y?`${r.dialCode}${a}`:a,prefix:u}),cursorPosition:Tt-((it==null?void 0:it.length)??0),country:r};if(m&&!yt.startsWith(`${u}${r.dialCode}`)&&!ft){let qt=yt?a:`${u}${r.dialCode}${h}`;return{inputValue:qt,phone:Ql({phone:qt,prefix:u}),cursorPosition:u.length+r.dialCode.length+h.length,country:r}}let{phone:Lt,inputValue:Mt,country:vt}=pf({value:yt,country:r,trimNonDigitsEnd:ut==="backward",insertDialCodeOnEmpty:s,countryGuessingEnabled:x,countries:Q,prefix:u,charAfterDialCode:h,forceDialCode:m,disableDialCodeAndPrefix:y,disableFormatting:D,defaultMask:O}),Ct=kP({cursorPositionAfterInput:Tt,phoneBeforeInput:a,phoneAfterInput:yt,phoneAfterFormatted:Mt,leftOffset:m?u.length+r.dialCode.length+h.length:0,deletion:ut});return{phone:Lt,inputValue:Mt,cursorPosition:Ct,country:vt}},TP=(t,r)=>{let s=Object.keys(t),a=Object.keys(r);if(s.length!==a.length)return!1;for(let u of s)if(t[u]!==r[u])return!1;return!0},PP=()=>{let t=X.useRef(),r=X.useRef(Date.now());return{check:()=>{let s=Date.now(),a=t.current?s-r.current:void 0;return t.current=r.current,r.current=s,a}}},RP={size:20,overrideLastItemDebounceMS:-1};function IP(t,r){let{size:s,overrideLastItemDebounceMS:a,onChange:u}={...RP,...r},[h,m]=X.useState(t),[y,x]=X.useState([h]),[O,D]=X.useState(0),Q=PP();return[h,(J,et)=>{if(typeof J=="object"&&typeof h=="object"&&TP(J,h)||J===h)return;let ut=a>0,ft=Q.check(),pt=ut&&ft!==void 0?ft>a:!0;if((et==null?void 0:et.overrideLastItem)!==void 0?et.overrideLastItem:!pt)x(it=>[...it.slice(0,O),J]);else{let it=y.length>=s;x(yt=>[...yt.slice(it?1:0,O+1),J]),it||D(yt=>yt+1)}m(J),u==null||u(J)},()=>{if(O<=0)return{success:!1};let J=y[O-1];return m(J),D(et=>et-1),u==null||u(J),{success:!0,value:J}},()=>{if(O+1>=y.length)return{success:!1};let J=y[O+1];return m(J),D(et=>et+1),u==null||u(J),{success:!0,value:J}}]}var t0=".",gi={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:Ks,preferredCountries:[]},e0=({defaultCountry:t=gi.defaultCountry,value:r=gi.value,countries:s=gi.countries,prefix:a=gi.prefix,defaultMask:u=gi.defaultMask,charAfterDialCode:h=gi.charAfterDialCode,historySaveDebounceMS:m=gi.historySaveDebounceMS,disableCountryGuess:y=gi.disableCountryGuess,disableDialCodePrefill:x=gi.disableDialCodePrefill,forceDialCode:O=gi.forceDialCode,disableDialCodeAndPrefix:D=gi.disableDialCodeAndPrefix,disableFormatting:Q=gi.disableFormatting,onChange:J,inputRef:et})=>{let ut={countries:s,prefix:a,charAfterDialCode:h,forceDialCode:D?!1:O,disableDialCodeAndPrefix:D,defaultMask:u,countryGuessingEnabled:!y,disableFormatting:Q},ft=X.useRef(null),pt=et||ft,it=ct=>{Promise.resolve().then(()=>{var dt;typeof window>"u"||pt.current!==(document==null?void 0:document.activeElement)||((dt=pt.current)==null||dt.setSelectionRange(ct,ct))})},[{phone:yt,inputValue:Tt,country:Lt},Mt,vt,Ct]=IP(()=>{let ct=Yo({value:t,field:"iso2",countries:s});ct||console.error(`[react-international-phone]: can not find a country with "${t}" iso2 code`);let dt=ct||Yo({value:"us",field:"iso2",countries:s}),{phone:St,inputValue:wt,country:It}=pf({value:r,country:dt,insertDialCodeOnEmpty:!x,...ut});return it(wt.length),{phone:St,inputValue:wt,country:It.iso2}},{overrideLastItemDebounceMS:m,onChange:({inputValue:ct,phone:dt,country:St})=>{if(!J)return;let wt=qt(St);J({phone:dt,inputValue:ct,country:wt})}}),qt=X.useCallback(ct=>Yo({value:ct,field:"iso2",countries:s}),[s]),ie=X.useMemo(()=>qt(Lt),[Lt,qt]);X.useEffect(()=>{let ct=pt.current;if(!ct)return;let dt=St=>{if(!St.key)return;let wt=St.ctrlKey,It=St.metaKey,zt=St.shiftKey;if(St.key.toLowerCase()==="z"){if(CP()){if(!It)return}else if(!wt)return;zt?Ct():vt()}};return ct.addEventListener("keydown",dt),()=>{ct.removeEventListener("keydown",dt)}},[pt,vt,Ct]);let de=ct=>{ct.preventDefault();let{phone:dt,inputValue:St,country:wt,cursorPosition:It}=EP(ct,{country:ie,phoneBeforeInput:Tt,insertDialCodeOnEmpty:!1,...ut});return Mt({inputValue:St,phone:dt,country:wt.iso2}),it(It),r},me=(ct,dt={focusOnInput:!1})=>{let St=Yo({value:ct,field:"iso2",countries:s});if(!St){console.error(`[react-international-phone]: can not find a country with "${ct}" iso2 code`);return}let wt=D?"":`${a}${St.dialCode}${h}`;Mt({inputValue:wt,phone:`${a}${St.dialCode}`,country:St.iso2}),dt.focusOnInput&&Promise.resolve().then(()=>{var It;(It=pt.current)==null||It.focus()})},[Me,xe]=X.useState(!1);return X.useEffect(()=>{if(!Me){xe(!0),r!==yt&&(J==null||J({inputValue:Tt,phone:yt,country:ie}));return}if(r===yt)return;let{phone:ct,inputValue:dt,country:St}=pf({value:r,country:ie,insertDialCodeOnEmpty:!x,...ut});Mt({phone:ct,inputValue:dt,country:St.iso2})},[r]),{phone:yt,inputValue:Tt,country:ie,setCountry:me,handlePhoneValueChange:de,inputRef:pt}},OP=({phone:t,country:r,defaultMask:s="............",disableFormatting:a=!1})=>{let u=r.format,h=y=>a?y.replace(new RegExp(`[^${t0}]`,"g"),""):y;if(!u)return h(s);if(typeof u=="string")return h(u);if(!u.default)return console.error(`[react-international-phone]: default mask for ${r.iso2} is not provided`),h(s);let m=Object.keys(u).find(y=>{if(y==="default")return!1;if(!(y.charAt(0)==="/"&&y.charAt(y.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${y}" for ${r.iso2} is not valid`),!1;let x=new RegExp(y.substring(1,y.length-1)),O=t.replace(r.dialCode,"");return x.test(Tc(O))});return h(m?u[m]:u.default)},vi=t=>{let[r,s,a,u,h,m]=t;return{name:r,iso2:s,dialCode:a,format:u,priority:h,areaCodes:m}},MP=t=>`Field "${t}" is not supported`,Yo=({field:t,value:r,countries:s=Ks})=>{if(["priority"].includes(t))throw new Error(MP(t));let a=s.find(u=>{let h=vi(u);return r===h[t]});if(a)return vi(a)},LP=({phone:t,countries:r=Ks,currentCountryIso2:s})=>{var y;let a={country:void 0,fullDialCodeMatch:!1};if(!t)return a;let u=Tc(t);if(!u)return a;let h=a,m=({country:x,fullDialCodeMatch:O})=>{var J,et;let D=x.dialCode===((J=h.country)==null?void 0:J.dialCode),Q=(x.priority??0)<(((et=h.country)==null?void 0:et.priority)??0);(!D||Q)&&(h={country:x,fullDialCodeMatch:O})};for(let x of r){let O=vi(x),{dialCode:D,areaCodes:Q}=O;if(u.startsWith(D)){let J=h.country?Number(D)>=Number(h.country.dialCode):!0;if(Q){let et=u.substring(D.length);for(let ut of Q)if(et.startsWith(ut))return{country:O,fullDialCodeMatch:!0}}(J||D===u||!h.fullDialCodeMatch)&&m({country:O,fullDialCodeMatch:!0})}h.fullDialCodeMatch||u.length<D.length&&D.startsWith(u)&&(!h.country||Number(D)<=Number(h.country.dialCode))&&m({country:O,fullDialCodeMatch:!1})}if(s){let x=Yo({value:s,field:"iso2",countries:r});if(!x)return h;let O=x?(D=>{if(!(D!=null&&D.areaCodes))return!1;let Q=u.substring(D.dialCode.length);return D.areaCodes.some(J=>J.startsWith(Q))})(x):!1;h&&((y=h.country)==null?void 0:y.dialCode)===x.dialCode&&h.country!==x&&h.fullDialCodeMatch&&(!x.areaCodes||O)&&(h={country:x,fullDialCodeMatch:!0})}return h},FP=(t,r)=>{let s=parseInt(t,16);return Number(s+r).toString(16)},jP="abcdefghijklmnopqrstuvwxyz",DP="1f1e6",Hp=jP.split("").reduce((t,r,s)=>({...t,[r]:FP(DP,s)}),{}),NP=t=>[Hp[t[0]],Hp[t[1]]].join("-"),hc=({iso2:t,size:r,src:s,protocol:a="https",disableLazyLoading:u,className:h,style:m,...y})=>{if(!t)return X.createElement("img",{className:jn({addPrefix:["flag-emoji"],rawClassNames:[h]}),width:r,height:r,...y});let x=()=>{if(s)return s;let O=NP(t);return`${a}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${O}.svg`};return X.createElement("img",{className:jn({addPrefix:["flag-emoji"],rawClassNames:[h]}),src:x(),width:r,height:r,draggable:!1,"data-country":t,loading:u?void 0:"lazy",style:{width:r,height:r,...m},alt:"",...y})},VP=1e3,BP=({show:t,dialCodePrefix:r="+",selectedCountry:s,countries:a=Ks,preferredCountries:u=[],flags:h,onSelect:m,onClose:y,...x})=>{let O=X.useRef(null),D=X.useRef(),Q=X.useMemo(()=>{if(!u||!u.length)return a;let vt=[],Ct=[...a];for(let qt of u){let ie=Ct.findIndex(de=>vi(de).iso2===qt);if(ie!==-1){let de=Ct.splice(ie,1)[0];vt.push(de)}}return vt.concat(Ct)},[a,u]),J=X.useRef({updatedAt:void 0,value:""}),et=vt=>{let Ct=J.current.updatedAt&&new Date().getTime()-J.current.updatedAt.getTime()>VP;J.current={value:Ct?vt:`${J.current.value}${vt}`,updatedAt:new Date};let qt=Q.findIndex(ie=>vi(ie).name.toLowerCase().startsWith(J.current.value));qt!==-1&&pt(qt)},ut=X.useCallback(vt=>Q.findIndex(Ct=>vi(Ct).iso2===vt),[Q]),[ft,pt]=X.useState(ut(s)),it=()=>{D.current!==s&&pt(ut(s))},yt=X.useCallback(vt=>{pt(ut(vt.iso2)),m==null||m(vt)},[m,ut]),Tt=vt=>{let Ct=Q.length-1,qt=ie=>vt==="prev"?ie-1:vt==="next"?ie+1:vt==="last"?Ct:0;pt(ie=>{let de=qt(ie);return de<0?0:de>Ct?Ct:de})},Lt=vt=>{if(vt.stopPropagation(),vt.key==="Enter"){vt.preventDefault();let Ct=vi(Q[ft]);yt(Ct);return}if(vt.key==="Escape"){y==null||y();return}if(vt.key==="ArrowUp"){vt.preventDefault(),Tt("prev");return}if(vt.key==="ArrowDown"){vt.preventDefault(),Tt("next");return}if(vt.key==="PageUp"){vt.preventDefault(),Tt("first");return}if(vt.key==="PageDown"){vt.preventDefault(),Tt("last");return}vt.key===" "&&vt.preventDefault(),vt.key.length===1&&!vt.altKey&&!vt.ctrlKey&&!vt.metaKey&&et(vt.key.toLocaleLowerCase())},Mt=X.useCallback(()=>{if(!O.current||ft===void 0)return;let vt=vi(Q[ft]).iso2;if(vt===D.current)return;let Ct=O.current.querySelector(`[data-country="${vt}"]`);Ct&&(SP(O.current,Ct),D.current=vt)},[ft,Q]);return X.useEffect(()=>{Mt()},[ft,Mt]),X.useEffect(()=>{O.current&&(t?O.current.focus():it())},[t]),X.useEffect(()=>{it()},[s]),X.createElement("ul",{ref:O,role:"listbox",className:jn({addPrefix:["country-selector-dropdown"],rawClassNames:[x.className]}),style:{display:t?"block":"none",...x.style},onKeyDown:Lt,onBlur:y,tabIndex:-1,"aria-activedescendant":`react-international-phone__${vi(Q[ft]).iso2}-option`},Q.map((vt,Ct)=>{let qt=vi(vt),ie=qt.iso2===s,de=Ct===ft,me=u.includes(qt.iso2),Me=Ct===u.length-1,xe=h==null?void 0:h.find(ct=>ct.iso2===qt.iso2);return X.createElement(X.Fragment,{key:qt.iso2},X.createElement("li",{"data-country":qt.iso2,role:"option","aria-selected":ie,"aria-label":`${qt.name} ${r}${qt.dialCode}`,id:`react-international-phone__${qt.iso2}-option`,className:jn({addPrefix:["country-selector-dropdown__list-item",me&&"country-selector-dropdown__list-item--preferred",ie&&"country-selector-dropdown__list-item--selected",de&&"country-selector-dropdown__list-item--focused"],rawClassNames:[x.listItemClassName]}),onClick:()=>yt(qt),style:x.listItemStyle,title:qt.name},X.createElement(hc,{iso2:qt.iso2,src:xe==null?void 0:xe.src,className:jn({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[x.listItemFlagClassName]}),style:x.listItemFlagStyle}),X.createElement("span",{className:jn({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[x.listItemCountryNameClassName]}),style:x.listItemCountryNameStyle},qt.name),X.createElement("span",{className:jn({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[x.listItemDialCodeClassName]}),style:x.listItemDialCodeStyle},r,qt.dialCode)),Me?X.createElement("hr",{className:jn({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[x.preferredListDividerClassName]}),style:x.preferredListDividerStyle}):null)}))},zP=({selectedCountry:t,onSelect:r,disabled:s,hideDropdown:a,countries:u=Ks,preferredCountries:h=[],flags:m,renderButtonWrapper:y,...x})=>{let[O,D]=X.useState(!1),Q=X.useMemo(()=>{if(t)return Yo({value:t,field:"iso2",countries:u})},[u,t]),J=X.useRef(null),et=ft=>{ft.key&&["ArrowUp","ArrowDown"].includes(ft.key)&&(ft.preventDefault(),D(!0))},ut=()=>{var it;let ft={title:Q==null?void 0:Q.name,onClick:()=>D(yt=>!yt),onMouseDown:yt=>yt.preventDefault(),onKeyDown:et,disabled:a||s,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":O},pt=X.createElement("div",{className:jn({addPrefix:["country-selector-button__button-content"],rawClassNames:[x.buttonContentWrapperClassName]}),style:x.buttonContentWrapperStyle},X.createElement(hc,{iso2:t,src:(it=m==null?void 0:m.find(yt=>yt.iso2===t))==null?void 0:it.src,className:jn({addPrefix:["country-selector-button__flag-emoji",s&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[x.flagClassName]}),style:{visibility:t?"visible":"hidden",...x.flagStyle}}),!a&&X.createElement("div",{className:jn({addPrefix:["country-selector-button__dropdown-arrow",s&&"country-selector-button__dropdown-arrow--disabled",O&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[x.dropdownArrowClassName]}),style:x.dropdownArrowStyle}));return y?y({children:pt,rootProps:ft}):X.createElement("button",{...ft,type:"button",className:jn({addPrefix:["country-selector-button",O&&"country-selector-button--active",s&&"country-selector-button--disabled",a&&"country-selector-button--hide-dropdown"],rawClassNames:[x.buttonClassName]}),"data-country":t,style:x.buttonStyle},pt)};return X.createElement("div",{className:jn({addPrefix:["country-selector"],rawClassNames:[x.className]}),style:x.style,ref:J},ut(),X.createElement(BP,{show:O,countries:u,preferredCountries:h,flags:m,onSelect:ft=>{D(!1),r==null||r(ft)},selectedCountry:t,onClose:()=>{D(!1)},...x.dropdownStyleProps}))},WP=({dialCode:t,prefix:r,disabled:s,style:a,className:u})=>X.createElement("div",{className:jn({addPrefix:["dial-code-preview",s&&"dial-code-preview--disabled"],rawClassNames:[u]}),style:a},`${r}${t}`);X.forwardRef(({value:t,onChange:r,countries:s=Ks,preferredCountries:a=[],hideDropdown:u,showDisabledDialCodeAndPrefix:h,disableFocusAfterCountrySelect:m,flags:y,style:x,className:O,inputStyle:D,inputClassName:Q,countrySelectorStyleProps:J,dialCodePreviewStyleProps:et,inputProps:ut,placeholder:ft,disabled:pt,name:it,onFocus:yt,onBlur:Tt,required:Lt,autoFocus:Mt,...vt},Ct)=>{let{phone:qt,inputValue:ie,inputRef:de,country:me,setCountry:Me,handlePhoneValueChange:xe}=e0({value:t,countries:s,...vt,onChange:dt=>{r==null||r(dt.phone,{country:dt.country,inputValue:dt.inputValue})}}),ct=vt.disableDialCodeAndPrefix&&h&&(me==null?void 0:me.dialCode);return X.useImperativeHandle(Ct,()=>de.current?Object.assign(de.current,{setCountry:Me,state:{phone:qt,inputValue:ie,country:me}}):null,[de,Me,qt,ie,me]),X.createElement("div",{ref:Ct,className:jn({addPrefix:["input-container"],rawClassNames:[O]}),style:x},X.createElement(zP,{onSelect:dt=>Me(dt.iso2,{focusOnInput:!m}),flags:y,selectedCountry:me.iso2,countries:s,preferredCountries:a,disabled:pt,hideDropdown:u,...J}),ct&&X.createElement(WP,{dialCode:me.dialCode,prefix:vt.prefix??"+",disabled:pt,...et}),X.createElement("input",{onChange:xe,value:ie,type:"tel",ref:de,className:jn({addPrefix:["input",pt&&"input--disabled"],rawClassNames:[Q]}),placeholder:ft,disabled:pt,style:D,name:it,onFocus:yt,onBlur:Tt,autoFocus:Mt,required:Lt,...ut}))});const UP=Bt.div`
|
|
1052
|
-
${({theme:t})=>`
|
|
1053
|
-
align-items: flex-start;
|
|
1054
|
-
align-self: stretch;
|
|
1055
|
-
display: flex;
|
|
1056
|
-
gap: ${t.spacing[.5]};
|
|
1057
|
-
width: 380px;
|
|
1058
|
-
|
|
1059
|
-
> button, div {
|
|
1060
|
-
border: 1px solid ${t.palette.gray[300]};
|
|
1061
|
-
border-radius: ${t.spacing[.25]};
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
&.disabled {
|
|
1065
|
-
> button, div {
|
|
1066
|
-
background: ${t.palette.gray[100]};
|
|
1067
|
-
color: ${t.palette.gray[400]};
|
|
1068
|
-
cursor: not-allowed;
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
&.error:not(.disabled) {
|
|
1073
|
-
> button, div {
|
|
1074
|
-
border: 1px solid ${t.palette.error[500]};
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
&:focus-within:not(.disabled, .error) {
|
|
1079
|
-
> button, div {
|
|
1080
|
-
background: ${t.palette.white};
|
|
1081
|
-
border: 2px solid ${t.palette.black};
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
&:hover:not(:focus-within, .disabled, .error) {
|
|
1086
|
-
> button, div {
|
|
1087
|
-
background: ${t.palette.white};
|
|
1088
|
-
border-color: ${t.palette.gray[600]};
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
@container (width < 320px) or (width < 600px) {
|
|
1093
|
-
width: 100%;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1097
|
-
width: 250px;
|
|
1098
|
-
}
|
|
1099
|
-
`}
|
|
1100
|
-
`,qP=Bt.button`
|
|
1101
|
-
${({theme:t})=>`
|
|
1102
|
-
align-items: center;
|
|
1103
|
-
background: inherit;
|
|
1104
|
-
border-color: inherit;
|
|
1105
|
-
display: flex;
|
|
1106
|
-
gap: ${t.spacing[.25]};
|
|
1107
|
-
height: 44px;
|
|
1108
|
-
min-width: 67px;
|
|
1109
|
-
padding: ${t.spacing[.625]} ${t.spacing[1]};
|
|
1110
|
-
|
|
1111
|
-
&:disabled {
|
|
1112
|
-
background: ${t.palette.gray[100]};
|
|
1113
|
-
cursor: not-allowed;
|
|
1114
|
-
}
|
|
1115
|
-
`}
|
|
1116
|
-
`,GP=Bt.ul`
|
|
1117
|
-
${({theme:t})=>`
|
|
1118
|
-
align-items: flex-start;
|
|
1119
|
-
box-shadow: ${t.shadows.md};
|
|
1120
|
-
display: flex;
|
|
1121
|
-
flex-direction: column;
|
|
1122
|
-
max-height: 190px;
|
|
1123
|
-
overflow: hidden auto;
|
|
1124
|
-
scrollbar-color: ${t.palette.gray[600]} ${t.palette.gray[100]};
|
|
1125
|
-
scroll-padding: ${t.spacing[.5]};
|
|
1126
|
-
scrollbar-width: thin;
|
|
1127
|
-
width: max-content;
|
|
1128
|
-
|
|
1129
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1130
|
-
max-height: 150px;
|
|
1131
|
-
}
|
|
1132
|
-
`}
|
|
1133
|
-
`,HP=Bt.li`
|
|
1134
|
-
${({theme:t})=>`
|
|
1135
|
-
align-items: center;
|
|
1136
|
-
background: ${t.palette.white};
|
|
1137
|
-
cursor: pointer;
|
|
1138
|
-
display: inline-flex;
|
|
1139
|
-
font-size: ${t.typography.text.sm};
|
|
1140
|
-
gap: ${t.spacing[.5]};
|
|
1141
|
-
height: 38px;
|
|
1142
|
-
line-height: ${t.spacing[1.25]};
|
|
1143
|
-
padding: ${t.spacing[.5]} ${t.spacing[1]};
|
|
1144
|
-
width: 190px;
|
|
1145
|
-
|
|
1146
|
-
&:hover {
|
|
1147
|
-
background: ${t.palette.gray[100]};
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1151
|
-
font-size: ${t.typography.text.xs};
|
|
1152
|
-
height: 30px;
|
|
1153
|
-
width: 160px;
|
|
1154
|
-
}
|
|
1155
|
-
`}
|
|
1156
|
-
`,YP=Bt.p`
|
|
1157
|
-
color: ${({theme:t})=>t.palette.gray[800]};
|
|
1158
|
-
font-size: inherit;
|
|
1159
|
-
min-width: 55%;
|
|
1160
|
-
overflow: hidden;
|
|
1161
|
-
text-overflow: ellipsis;
|
|
1162
|
-
white-space: nowrap;
|
|
1163
|
-
`,KP=({htmlFor:t,label:r,mode:s="light",required:a,tooltip:u})=>{const h=$n(),m=`${t}-tooltip`,y=u!==void 0&&!Da(u);return H.jsxs("label",{className:`flex gap-1 w-full ${s}`,htmlFor:t,children:[r,a&&H.jsx(vr,{icon:"asterisk",iconColor:h.palette.error[500],iconSize:"xxs"}),y?H.jsx(aa,{icon:"circle-info",id:m,place:"right",tip:u}):null]})},QP=Bt.div`
|
|
1164
|
-
${({theme:t})=>`
|
|
1165
|
-
align-items: flex-start;
|
|
1166
|
-
display: inline-flex;
|
|
1167
|
-
flex-direction: column;
|
|
1168
|
-
gap: ${t.spacing[.25]};
|
|
1169
|
-
|
|
1170
|
-
label {
|
|
1171
|
-
color: ${t.palette.gray[800]};
|
|
1172
|
-
|
|
1173
|
-
&.dark {
|
|
1174
|
-
color: ${t.palette.white};
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
> *:not(.error-msg) {
|
|
1179
|
-
font-family: ${t.typography.type.primary};
|
|
1180
|
-
font-size: ${t.typography.text.md};
|
|
1181
|
-
font-style: normal;
|
|
1182
|
-
font-weight: ${t.typography.weight.regular};
|
|
1183
|
-
line-height: ${t.spacing[1.5]};
|
|
1184
|
-
|
|
1185
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1186
|
-
font-size: ${t.typography.text.sm};
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
`}
|
|
1190
|
-
`,r0=Bt.div`
|
|
1191
|
-
${({theme:t})=>`
|
|
1192
|
-
align-items: center;
|
|
1193
|
-
display: flex;
|
|
1194
|
-
border-radius: ${t.spacing[.25]};
|
|
1195
|
-
border: 1px solid ${t.palette.gray[300]};
|
|
1196
|
-
color: ${t.palette.gray[600]};
|
|
1197
|
-
gap: ${t.spacing[.625]};
|
|
1198
|
-
justify-content: space-between;
|
|
1199
|
-
height: 44px;
|
|
1200
|
-
padding: ${t.spacing[.625]} ${t.spacing[.75]};
|
|
1201
|
-
width: 320px;
|
|
1202
|
-
|
|
1203
|
-
input {
|
|
1204
|
-
background: inherit;
|
|
1205
|
-
cursor: inherit;
|
|
1206
|
-
outline: none;
|
|
1207
|
-
width: 100%;
|
|
1208
|
-
|
|
1209
|
-
&::placeholder {
|
|
1210
|
-
&.dark {
|
|
1211
|
-
color: ${t.palette.gray[600]};
|
|
1212
|
-
}
|
|
1213
|
-
&.light {
|
|
1214
|
-
color: ${t.palette.gray[400]};
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
span {
|
|
1220
|
-
font-size: 14px;
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
&.dark {
|
|
1224
|
-
border: 1px solid ${t.palette.gray[700]};
|
|
1225
|
-
color: ${t.palette.white};
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
&.disabled {
|
|
1229
|
-
color: ${t.palette.gray[400]};
|
|
1230
|
-
cursor: not-allowed;
|
|
1231
|
-
|
|
1232
|
-
&.dark {
|
|
1233
|
-
background: ${t.palette.gray[700]};
|
|
1234
|
-
}
|
|
1235
|
-
&.light {
|
|
1236
|
-
background: ${t.palette.gray[100]};
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
&.error:not(.disabled) {
|
|
1241
|
-
border: 1px solid ${t.palette.error[500]};
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
&:focus-within:not(.disabled, .error) {
|
|
1245
|
-
&.dark {
|
|
1246
|
-
background: ${t.palette.black};
|
|
1247
|
-
border: 2px solid ${t.palette.gray[400]};
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
&.light {
|
|
1251
|
-
background: ${t.palette.white};
|
|
1252
|
-
border: 2px solid ${t.palette.black};
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
&:hover:not(:focus-within, .disabled, .error) {
|
|
1257
|
-
&.dark {
|
|
1258
|
-
background: ${t.palette.black};
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
&.light {
|
|
1262
|
-
background: ${t.palette.white};
|
|
1263
|
-
border: 1px solid ${t.palette.gray[600]};
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
@container (width < 320px) or (width < 600px) {
|
|
1268
|
-
width: 100%;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1272
|
-
width: 250px;
|
|
1273
|
-
}
|
|
1274
|
-
`}
|
|
1275
|
-
`,Zf=({children:t,error:r,htmlFor:s,label:a,mode:u,required:h,tooltip:m})=>{const y=$n();return H.jsxs(QP,{children:[a===void 0?void 0:H.jsx(KP,{htmlFor:s,label:a,mode:u,required:h,tooltip:m}),t,r?H.jsx(_r,{className:"error-msg",color:y.palette.error[500],display:"block",lineSpacing:1,size:"sm",sizeSm:"xs",children:r}):void 0]})},XP=X.forwardRef(function({disabled:r,error:s,label:a,mode:u="light",name:h,required:m,tooltip:y,value:x,...O},D){const Q=$n(),[J,et]=X.useState(!1),[ut,ft]=X.useState(""),pt=X.useRef(null),{refs:it,floatingStyles:yt}=gS({placement:"bottom-start",whileElementsMounted:Fg}),{inputValue:Tt,handlePhoneValueChange:Lt,country:Mt,setCountry:vt}=e0({countries:Ks,defaultCountry:"us",value:x?String(x):void 0}),Ct=X.useCallback(()=>{et(me=>!me),J||ft("")},[J]),qt=X.useCallback(me=>()=>{vt(me),et(!1),ft("")},[vt,et]),ie=X.useCallback(me=>{me.key.length===1?ft(Me=>Me+me.key):me.key==="Backspace"&&ft(Me=>Me.slice(0,-1))},[]),de=Ks.filter(me=>{const{name:Me}=vi(me);return Me.toLowerCase().includes(ut.toLowerCase())});return Rf(it.floating.current,()=>{et(!1),ft("")},!0),H.jsx(Zf,{error:s,htmlFor:h,label:a,mode:u,required:m,tooltip:y,children:H.jsxs(UP,{className:`${r?"disabled":""} ${s?"error":""}`,ref:pt,children:[H.jsxs(qP,{"aria-label":"country-selector","data-testid":"country-selector",disabled:r,id:"country-selector",onClick:Ct,onKeyDown:ie,ref:it.setReference,children:[H.jsx(hc,{iso2:Mt.iso2,size:"16px"}),H.jsx(vr,{icon:"angle-down",iconColor:Q.palette.gray[400],iconSize:"xs",iconType:"fa-light"})]}),H.jsxs(r0,{className:`light ${r?"disabled":""} ${s?"error":""}`,children:[H.jsx("input",{"aria-hidden":!1,"aria-invalid":s?"true":"false","aria-label":h,"aria-required":m,autoComplete:"off","data-testid":`${h}-input`,disabled:r,id:h,name:h,onChange:Lt,ref:D,type:"tel",value:Tt,...O}),s?H.jsx(vr,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:Q.palette.error[500],iconSize:"xs"}):void 0]}),J&&vf.createPortal(H.jsx(GP,{ref:it.setFloating,style:yt,children:de.map(me=>{const{dialCode:Me,iso2:xe,name:ct}=vi(me);return H.jsxs(HP,{onClick:qt(xe),value:xe,children:[H.jsx(hc,{iso2:xe,size:"16px"}),H.jsx(YP,{children:ct}),H.jsx(_r,{color:Q.palette.gray[400],size:"sm",sizeSm:"xs",textAlign:"end",children:"+"+Me})]},xe)})}),document.getElementById("root")??document.body)]})})}),JP=X.forwardRef(function({disabled:r,error:s,label:a,mode:u="light",name:h,required:m,tooltip:y,type:x="text",...O},D){const Q=$n();return H.jsx(Zf,{error:s,htmlFor:h,label:a,mode:u,required:m,tooltip:y,children:H.jsxs(r0,{className:`${u} ${r?"disabled":""} ${s?"error":""}`,children:[H.jsx("input",{"aria-hidden":!1,"aria-invalid":s?"true":"false","aria-label":h,"aria-required":m,autoComplete:"off","data-testid":`${h}-input`,disabled:r,id:h,name:h,ref:D,type:x,...O}),s?H.jsx(vr,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:Q.palette.error[500],iconSize:"xs"}):void 0]})})}),ZP=Bt.div`
|
|
1276
|
-
${({theme:t})=>`
|
|
1277
|
-
align-items: flex-start;
|
|
1278
|
-
backdrop-filter: blur(3.15px);
|
|
1279
|
-
background: radial-gradient(
|
|
1280
|
-
68.83% 167.8% at 171.9% 90.34%,
|
|
1281
|
-
${t.palette.complementary[300]} 0%,
|
|
1282
|
-
${t.palette.primary[400]} 100%
|
|
1283
|
-
),
|
|
1284
|
-
linear-gradient(
|
|
1285
|
-
241deg,
|
|
1286
|
-
${t.palette.primary[400]} 3.45%,
|
|
1287
|
-
${t.palette.primary[500]} 82.59%
|
|
1288
|
-
);
|
|
1289
|
-
border-radius: ${t.spacing[1]};
|
|
1290
|
-
box-shadow: ${t.shadows.md};
|
|
1291
|
-
display: flex;
|
|
1292
|
-
flex-direction: column;
|
|
1293
|
-
gap: ${t.spacing[.625]};
|
|
1294
|
-
height: 300px;
|
|
1295
|
-
padding: ${t.spacing[1]};
|
|
1296
|
-
position: relative;
|
|
1297
|
-
width: 300px;
|
|
1298
|
-
|
|
1299
|
-
button > * {
|
|
1300
|
-
font-size: ${t.typography.text.sm};
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
#hovered {
|
|
1304
|
-
display: none;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
&:hover {
|
|
1308
|
-
background: ${t.palette.gray[900]};
|
|
1309
|
-
|
|
1310
|
-
#hovered {
|
|
1311
|
-
display: flex;
|
|
1312
|
-
}
|
|
1313
|
-
#uncover {
|
|
1314
|
-
display: none;
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1319
|
-
height: 320px;
|
|
1320
|
-
width: 320px;
|
|
1321
|
-
|
|
1322
|
-
#hovered {
|
|
1323
|
-
margin-bottom: ${t.spacing[1.75]};
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
`}
|
|
1327
|
-
`,t2=Bt.div`
|
|
1328
|
-
align-items: center;
|
|
1329
|
-
position: absolute;
|
|
1330
|
-
justify-content: center;
|
|
1331
|
-
opacity: 0.15;
|
|
1332
|
-
top: 14%;
|
|
1333
|
-
left: 25%;
|
|
1334
|
-
z-index: -1;
|
|
1335
|
-
|
|
1336
|
-
span {
|
|
1337
|
-
font-size: 265px;
|
|
1338
|
-
height: 260px;
|
|
1339
|
-
width: 260px;
|
|
1340
|
-
}
|
|
1341
|
-
`,e2=({icon:t})=>H.jsx(t2,{children:H.jsx(vr,{icon:t,iconColor:ge.palette.white,iconSize:"xs",iconTransform:"shrink-2",iconType:"fa-light"})}),r2=({category:t,description:r,href:s,icon:a,location:u,title:h})=>{const m=$n();return H.jsxs(ZP,{children:[H.jsxs(cr,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:1.5,height:"100%",id:"uncover",justify:"space-between",children:[H.jsxs("div",{className:"flex flex-col gap-0.5",children:[H.jsx(_r,{color:m.palette.white,size:"sm",sizeSm:"xs",children:t}),H.jsx($s,{color:m.palette.white,fontWeight:"bold",lineSpacing:2.25,lineSpacingSm:1.75,size:"lg",sizeSm:"md",children:h})]}),H.jsxs("div",{className:"flex flex-col gap-0.5",children:[H.jsx(_r,{color:m.palette.white,size:"sm",sizeSm:"xs",children:"Location"}),H.jsx(_r,{color:m.palette.white,fontWeight:"bold",lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:u})]})]}),H.jsxs(cr,{alignItems:"self-start",display:"flex",flexDirection:"column",gap:2,height:"100%",id:"hovered",justify:"space-between",pt:1,children:[H.jsx($s,{color:m.palette.white,fontWeight:"bold",lineSpacing:1.75,lineSpacingSm:1.5,size:"md",sizeSm:"sm",children:h}),H.jsxs("div",{className:"flex flex-col gap-8",children:[H.jsx(_r,{color:m.palette.gray[100],lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:r}),H.jsx(la,{external:!0,href:s,mode:"dark",variant:"link",width:"max-content",children:"Download now"})]})]}),H.jsx(e2,{icon:a})]})},n2=Bt.button`
|
|
1342
|
-
${({theme:t})=>`
|
|
1343
|
-
align-items: center;
|
|
1344
|
-
border-left: 3px solid transparent;
|
|
1345
|
-
display: flex;
|
|
1346
|
-
gap: ${t.spacing[.625]};
|
|
1347
|
-
height: 42px;
|
|
1348
|
-
min-width: 50px;
|
|
1349
|
-
padding: ${t.spacing[.625]} ${t.spacing[1]};
|
|
1350
|
-
|
|
1351
|
-
&.dark {
|
|
1352
|
-
background-color: ${t.palette.gray[800]};
|
|
1353
|
-
color: ${t.palette.gray[25]};
|
|
1354
|
-
|
|
1355
|
-
&.disabled {
|
|
1356
|
-
border-color: ${t.palette.gray[500]};
|
|
1357
|
-
color: ${t.palette.gray[500]};
|
|
1358
|
-
cursor: not-allowed;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
&:hover:not(.disabled) {
|
|
1362
|
-
background-color: ${t.palette.gray[700]};
|
|
1363
|
-
border-color: ${t.palette.primary[400]};
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
&.light {
|
|
1368
|
-
background-color: ${t.palette.gray[50]};
|
|
1369
|
-
color: ${t.palette.gray[800]};
|
|
1370
|
-
|
|
1371
|
-
&.disabled {
|
|
1372
|
-
background-color: ${t.palette.white};
|
|
1373
|
-
border-color: ${t.palette.gray[300]};
|
|
1374
|
-
color: ${t.palette.gray[300]};
|
|
1375
|
-
cursor: not-allowed;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
&:hover:not(.disabled) {
|
|
1379
|
-
background-color: ${t.palette.gray[100]};
|
|
1380
|
-
border-color: ${t.palette.primary[400]};
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
`}
|
|
1384
|
-
`,i2=Bt.div`
|
|
1385
|
-
${({theme:t})=>`
|
|
1386
|
-
align-items: center;
|
|
1387
|
-
background-color: transparent;
|
|
1388
|
-
border-bottom: 2px solid transparent;
|
|
1389
|
-
display: flex;
|
|
1390
|
-
font-family: ${t.typography.type.primary};
|
|
1391
|
-
font-size: ${t.typography.text.sm};
|
|
1392
|
-
font-weight: ${t.typography.weight.regular};
|
|
1393
|
-
gap: ${t.spacing[.5]};
|
|
1394
|
-
height: 30px;
|
|
1395
|
-
justify-content: center;
|
|
1396
|
-
padding: ${t.spacing[.25]};
|
|
1397
|
-
margin-bottom: ${t.spacing[.25]};
|
|
1398
|
-
min-width: 50px;
|
|
1399
|
-
width: max-content;
|
|
1400
|
-
z-index: 11;
|
|
1401
|
-
|
|
1402
|
-
&:hover {
|
|
1403
|
-
border-color: ${t.palette.primary[400]};
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
&.dark {
|
|
1407
|
-
color: ${t.palette.gray[25]};
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
&.light {
|
|
1411
|
-
color: ${t.palette.gray[800]};
|
|
1412
|
-
}
|
|
1413
|
-
`}
|
|
1414
|
-
`,s2=Bt.div`
|
|
1415
|
-
${({theme:t})=>`
|
|
1416
|
-
background-color: ${t.palette.white};
|
|
1417
|
-
border-radius: 0 0 ${t.spacing[.25]} ${t.spacing[.25]};
|
|
1418
|
-
box-shadow: ${t.shadows.lg};
|
|
1419
|
-
display: none;
|
|
1420
|
-
flex-direction: column;
|
|
1421
|
-
position: absolute;
|
|
1422
|
-
top: 100%;
|
|
1423
|
-
z-index: 11;
|
|
1424
|
-
|
|
1425
|
-
> button:last-child {
|
|
1426
|
-
border-radius: 0 0 ${t.spacing[.25]} ${t.spacing[.25]};
|
|
1427
|
-
}
|
|
1428
|
-
`}
|
|
1429
|
-
`,o2=Bt.div`
|
|
1430
|
-
${({theme:t})=>`
|
|
1431
|
-
align-items: flex-start;
|
|
1432
|
-
cursor: pointer;
|
|
1433
|
-
display: flex;
|
|
1434
|
-
flex-direction: column;
|
|
1435
|
-
gap: ${t.spacing[.25]};
|
|
1436
|
-
height: max-content;
|
|
1437
|
-
position: relative;
|
|
1438
|
-
width: max-content;
|
|
1439
|
-
z-index: 10;
|
|
1440
|
-
|
|
1441
|
-
&:hover {
|
|
1442
|
-
> div:first-child {
|
|
1443
|
-
border-color: ${t.palette.primary[400]};
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
> div:last-child {
|
|
1447
|
-
display: flex;
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
`}
|
|
1451
|
-
`,a2=({disabled:t=!1,mode:r,onClick:s,text:a})=>H.jsx(n2,{className:`${t&&"disabled"} ${r}`,disabled:t,onClick:s,children:H.jsx(_r,{color:"inherit",size:"sm",sizeSm:"xs",children:a})}),l2=[{text:"EN"},{text:"ES"}],c2=({items:t,handleClick:r,mode:s="light"})=>{const a=t??l2,[u,h]=X.useState(a[0].text),m=X.useCallback(y=>()=>{r(y.text),h(y.text)},[r]);return H.jsxs(o2,{children:[H.jsxs(i2,{className:s,children:[H.jsx(vr,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),u]}),H.jsx(s2,{children:a.map((y,x)=>H.jsx(a2,{disabled:y.disabled,mode:s,onClick:m(y),text:y.text},`${y.text}_${x}`))})]})},u2=Bt.li`
|
|
1452
|
-
${({theme:t})=>`
|
|
1453
|
-
align-items: center;
|
|
1454
|
-
background-color: ${t.palette.white};
|
|
1455
|
-
color: ${t.palette.gray[800]};
|
|
1456
|
-
cursor: pointer;
|
|
1457
|
-
display: flex;
|
|
1458
|
-
font-size: ${t.typography.text.sm};
|
|
1459
|
-
font-weight: ${t.typography.weight.regular};
|
|
1460
|
-
justify-content: space-between;
|
|
1461
|
-
gap: ${t.spacing[.625]};
|
|
1462
|
-
line-height: ${t.spacing[1.25]};
|
|
1463
|
-
list-style-type: none;
|
|
1464
|
-
min-height: 40px;
|
|
1465
|
-
min-width: 240px;
|
|
1466
|
-
padding: ${t.spacing[.625]} ${t.spacing[1]};
|
|
1467
|
-
pointer-events: auto;
|
|
1468
|
-
|
|
1469
|
-
p,
|
|
1470
|
-
a {
|
|
1471
|
-
word-break: break-word;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
& > label {
|
|
1475
|
-
margin: unset;
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
a {
|
|
1479
|
-
color: ${t.palette.gray[500]};
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
&[aria-disabled="true"] {
|
|
1483
|
-
color: ${t.palette.gray[300]};
|
|
1484
|
-
pointer-events: none;
|
|
1485
|
-
|
|
1486
|
-
a {
|
|
1487
|
-
color: ${t.palette.gray[300]};
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
&[aria-selected="true"] {
|
|
1492
|
-
background-color: ${t.palette.gray[200]};
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
&:hover:not([aria-selected="true"]) {
|
|
1496
|
-
background-color: ${t.palette.gray[100]};
|
|
1497
|
-
}
|
|
1498
|
-
`}
|
|
1499
|
-
`,f2=Bt.ul`
|
|
1500
|
-
${({theme:t})=>`
|
|
1501
|
-
background-color: ${t.palette.white};
|
|
1502
|
-
border: 1px solid ${t.palette.gray[200]};
|
|
1503
|
-
border-radius: ${t.spacing[.25]};
|
|
1504
|
-
box-shadow: ${t.shadows.md};
|
|
1505
|
-
display: inline-block;
|
|
1506
|
-
margin: unset;
|
|
1507
|
-
min-width: 240px;
|
|
1508
|
-
padding: ${t.spacing[.25]} 0 ${t.spacing[.25]} 0;
|
|
1509
|
-
`}
|
|
1510
|
-
`,h2=({children:t,disabled:r=!1,icon:s,iconType:a="fa-light",href:u,onClick:h,onKeyDown:m,selected:y=!1,value:x,...O})=>{const Q=$n().palette.gray[r?300:800],J=r?X.Children.map(t,et=>X.isValidElement(et)?X.cloneElement(et,{disabled:r,...et.props}):et):t;return H.jsxs(u2,{"aria-disabled":r,"aria-label":x,"aria-selected":y,"data-testid":x,onClick:h,onKeyDown:m,value:x,...O,children:[s!==void 0||x!==void 0?H.jsxs(cr,{alignItems:"center",display:"flex",gap:.625,children:[s?H.jsx(vr,{disabled:r,icon:s,iconColor:Q,iconSize:"xs",iconType:a}):null,u===void 0?J:H.jsx(Jf,{href:u,children:J})]}):null,y?H.jsx(vr,{disabled:r,icon:"check",iconColor:Q,iconSize:"xs",iconType:a}):null]})},d2=Bt.span`
|
|
1511
|
-
${({theme:t,$bgColor:r=t.palette.secondary[500],$txtDecoration:s="none"})=>`
|
|
1512
|
-
background-color: ${r};
|
|
1513
|
-
border-radius: 5px;
|
|
1514
|
-
color: ${t.palette.white};
|
|
1515
|
-
font-size: 10px;
|
|
1516
|
-
padding: ${t.spacing[.125]} ${t.spacing[.25]} ${t.spacing[.125]} ${t.spacing[.25]};
|
|
1517
|
-
text-decoration: ${s}
|
|
1518
|
-
`}
|
|
1519
|
-
`,p2=({bgColor:t,children:r,txtDecoration:s,ml:a=1})=>H.jsx(d2,{$bgColor:t,$txtDecoration:s,className:`ml-${a}`,children:r}),g2={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},v2=({publicId:t,variant:r})=>H.jsx(cr,{...g2[r],children:H.jsx(cl,{alt:"logo",publicId:t})}),m2=Bt.div`
|
|
1520
|
-
display: flex;
|
|
1521
|
-
height: 80px;
|
|
1522
|
-
max-width: 1440px;
|
|
1523
|
-
overflow: hidden;
|
|
1524
|
-
position: relative;
|
|
1525
|
-
`,Yp=Bt.div`
|
|
1526
|
-
height: 79px;
|
|
1527
|
-
width: 64px;
|
|
1528
|
-
flex-shrink: 0;
|
|
1529
|
-
position: absolute;
|
|
1530
|
-
z-index: 11;
|
|
1531
|
-
|
|
1532
|
-
&.left {
|
|
1533
|
-
background: linear-gradient(
|
|
1534
|
-
to right,
|
|
1535
|
-
#fff 57.21%,
|
|
1536
|
-
rgb(255 255 255 / 0%) 100.63%
|
|
1537
|
-
);
|
|
1538
|
-
left: 0;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
&.right {
|
|
1542
|
-
background: linear-gradient(
|
|
1543
|
-
to left,
|
|
1544
|
-
#fff 57.21%,
|
|
1545
|
-
rgb(255 255 255 / 0%) 100.63%
|
|
1546
|
-
);
|
|
1547
|
-
right: 0;
|
|
1548
|
-
}
|
|
1549
|
-
`,y2=Bt.div`
|
|
1550
|
-
display: flex;
|
|
1551
|
-
gap: 40px;
|
|
1552
|
-
animation: clients-animation 50s linear infinite;
|
|
1553
|
-
width: calc(180px * 30);
|
|
1554
|
-
|
|
1555
|
-
@keyframes clients-animation {
|
|
1556
|
-
0% {
|
|
1557
|
-
transform: translateX(0);
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
100% {
|
|
1561
|
-
transform: translateX(calc(-180px * 15));
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
`,b2=["airs/clients-carousel/color/bancolombia","airs/clients-carousel/color/itau_colombia","airs/clients-carousel/color/lulo_bank","airs/clients-carousel/color/oxxo_international","airs/clients-carousel/color/interbank","airs/clients-carousel/color/global_bank","airs/clients-carousel/color/gesa","airs/clients-carousel/color/copa_airlines","airs/clients-carousel/color/consubanco","airs/clients-carousel/color/bantrab","airs/clients-carousel/color/banistmo","airs/clients-carousel/color/banco_internacional","airs/clients-carousel/color/banco_general","airs/clients-carousel/color/banbif","airs/clients-carousel/color/avianca"],w2=({fusion:t=!1,logos:r=b2})=>H.jsxs(m2,{children:[t&&H.jsx(Yp,{className:"left"}),H.jsx(y2,{children:[...r,...r].map((s,a)=>H.jsx(cl,{alt:`${s}-${a}`,height:"80px",plugins:[Fv()],publicId:s,width:"140px"},`${s}-${a}`))}),t&&H.jsx(Yp,{className:"right"})]});var gf={exports:{}};(function(t,r){(function(s,a){a(r,X)})(mi,function(s,a){function u(ct){return ct&&typeof ct=="object"&&"default"in ct?ct:{default:ct}}var h=u(a),m=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof mi<"u"?mi:typeof self<"u"?self:{},y={exports:{}};(function(ct,dt){typeof navigator<"u"&&function(St,wt){ct.exports=wt()}(m,function(){var St="http://www.w3.org/2000/svg",wt="",It=!1,zt=-999999,jt=function(o){It=!!o},ne=function(){return It},se=function(o){wt=o},Gt=function(){return wt};function De(n){return document.createElement(n)}function Yt(n,o){var l,f=n.length,p;for(l=0;l<f;l+=1){p=n[l].prototype;for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&(o.prototype[g]=p[g])}}function er(n){function o(){}return o.prototype=n,o}var rr=function(){function n(o){this.audios=[],this.audioFactory=o,this._volume=1,this._isMuted=!1}return n.prototype={addAudio:function(l){this.audios.push(l)},pause:function(){var l,f=this.audios.length;for(l=0;l<f;l+=1)this.audios[l].pause()},resume:function(){var l,f=this.audios.length;for(l=0;l<f;l+=1)this.audios[l].resume()},setRate:function(l){var f,p=this.audios.length;for(f=0;f<p;f+=1)this.audios[f].setRate(l)},createAudio:function(l){return this.audioFactory?this.audioFactory(l):window.Howl?new window.Howl({src:[l]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(l){this.audioFactory=l},setVolume:function(l){this._volume=l,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var l,f=this.audios.length;for(l=0;l<f;l+=1)this.audios[l].volume(this._volume*(this._isMuted?0:1))}},function(){return new n}}(),Nt=function(){function n(l,f){var p=0,g=[],S;switch(l){case"int16":case"uint8c":S=1;break;default:S=1.1;break}for(p=0;p<f;p+=1)g.push(S);return g}function o(l,f){return l==="float32"?new Float32Array(f):l==="int16"?new Int16Array(f):l==="uint8c"?new Uint8ClampedArray(f):n(l,f)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?o:n}();function te(n){return Array.apply(null,{length:n})}var Ie=!0,Le=null,Ke="",Pe=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),ze=Math.pow,We=Math.sqrt,ce=Math.floor,Se=Math.min,Wr=150,fe=Math.PI/180,fr=.5519;function ur(n,o,l,f){this.type=n,this.currentTime=o,this.totalTime=l,this.direction=f<0?-1:1}function Pr(n,o){this.type=n,this.direction=o<0?-1:1}function Ur(n,o,l,f){this.type=n,this.currentLoop=l,this.totalLoops=o,this.direction=f<0?-1:1}function Vr(n,o,l){this.type=n,this.firstFrame=o,this.totalFrames=l}function $r(n,o){this.type=n,this.target=o}function rn(n,o){this.type="renderFrameError",this.nativeError=n,this.currentTime=o}function Sr(n){this.type="configError",this.nativeError=n}var Je=function(){var n=0;return function(){return n+=1,Ke+"__lottie_element_"+n}}();function Br(n,o,l){var f,p,g,S,W,P,Y,Z;switch(S=Math.floor(n*6),W=n*6-S,P=l*(1-o),Y=l*(1-W*o),Z=l*(1-(1-W)*o),S%6){case 0:f=l,p=Z,g=P;break;case 1:f=Y,p=l,g=P;break;case 2:f=P,p=l,g=Z;break;case 3:f=P,p=Y,g=l;break;case 4:f=Z,p=P,g=l;break;case 5:f=l,p=P,g=Y;break}return[f,p,g]}function Kr(n,o,l){var f=Math.max(n,o,l),p=Math.min(n,o,l),g=f-p,S,W=f===0?0:g/f,P=f/255;switch(f){case p:S=0;break;case n:S=o-l+g*(o<l?6:0),S/=6*g;break;case o:S=l-n+g*2,S/=6*g;break;case l:S=n-o+g*4,S/=6*g;break}return[S,W,P]}function Ne(n,o){var l=Kr(n[0]*255,n[1]*255,n[2]*255);return l[1]+=o,l[1]>1?l[1]=1:l[1]<=0&&(l[1]=0),Br(l[0],l[1],l[2])}function ye(n,o){var l=Kr(n[0]*255,n[1]*255,n[2]*255);return l[2]+=o,l[2]>1?l[2]=1:l[2]<0&&(l[2]=0),Br(l[0],l[1],l[2])}function we(n,o){var l=Kr(n[0]*255,n[1]*255,n[2]*255);return l[0]+=o/360,l[0]>1?l[0]-=1:l[0]<0&&(l[0]+=1),Br(l[0],l[1],l[2])}(function(){var n=[],o,l;for(o=0;o<256;o+=1)l=o.toString(16),n[o]=l.length===1?"0"+l:l;return function(f,p,g){return f<0&&(f=0),p<0&&(p=0),g<0&&(g=0),"#"+n[f]+n[p]+n[g]}})();var pe=function(o){Ie=!!o},Mr=function(){return Ie},nn=function(o){Le=o},qr=function(){return Le},Qr=function(o){Wr=o},Rr=function(){return Wr},fn=function(o){Ke=o};function Ht(n){return document.createElementNS(St,n)}function Er(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Er=function(l){return typeof l}:Er=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Er(n)}var Xr=function(){var n=1,o=[],l,f,p={onmessage:function(){},postMessage:function(R){l({data:R})}},g={postMessage:function(R){p.onmessage({data:R})}};function S(v){if(window.Worker&&window.Blob&&ne()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",v.toString()],{type:"text/javascript"}),k=URL.createObjectURL(R);return new Worker(k)}return l=v,p}function W(){f||(f=S(function(R){function k(){function V(gt,K){var N,T,U=gt.length,bt,at,Xt,Oe;for(T=0;T<U;T+=1)if(N=gt[T],"ks"in N&&!N.completed){if(N.completed=!0,N.hasMask){var ke=N.masksProperties;for(at=ke.length,bt=0;bt<at;bt+=1)if(ke[bt].pt.k.i)A(ke[bt].pt.k);else for(Oe=ke[bt].pt.k.length,Xt=0;Xt<Oe;Xt+=1)ke[bt].pt.k[Xt].s&&A(ke[bt].pt.k[Xt].s[0]),ke[bt].pt.k[Xt].e&&A(ke[bt].pt.k[Xt].e[0])}N.ty===0?(N.layers=b(N.refId,K),V(N.layers,K)):N.ty===4?_(N.shapes):N.ty===5&&Qt(N)}}function C(gt,K){if(gt){var N=0,T=gt.length;for(N=0;N<T;N+=1)gt[N].t===1&&(gt[N].data.layers=b(gt[N].data.refId,K),V(gt[N].data.layers,K))}}function $(gt,K){for(var N=0,T=K.length;N<T;){if(K[N].id===gt)return K[N];N+=1}return null}function b(gt,K){var N=$(gt,K);return N?N.layers.__used?JSON.parse(JSON.stringify(N.layers)):(N.layers.__used=!0,N.layers):null}function _(gt){var K,N=gt.length,T,U;for(K=N-1;K>=0;K-=1)if(gt[K].ty==="sh")if(gt[K].ks.k.i)A(gt[K].ks.k);else for(U=gt[K].ks.k.length,T=0;T<U;T+=1)gt[K].ks.k[T].s&&A(gt[K].ks.k[T].s[0]),gt[K].ks.k[T].e&&A(gt[K].ks.k[T].e[0]);else gt[K].ty==="gr"&&_(gt[K].it)}function A(gt){var K,N=gt.i.length;for(K=0;K<N;K+=1)gt.i[K][0]+=gt.v[K][0],gt.i[K][1]+=gt.v[K][1],gt.o[K][0]+=gt.v[K][0],gt.o[K][1]+=gt.v[K][1]}function M(gt,K){var N=K?K.split("."):[100,100,100];return gt[0]>N[0]?!0:N[0]>gt[0]?!1:gt[1]>N[1]?!0:N[1]>gt[1]?!1:gt[2]>N[2]?!0:N[2]>gt[2]?!1:null}var j=function(){var gt=[4,4,14];function K(T){var U=T.t.d;T.t.d={k:[{s:U,t:0}]}}function N(T){var U,bt=T.length;for(U=0;U<bt;U+=1)T[U].ty===5&&K(T[U])}return function(T){if(M(gt,T.v)&&(N(T.layers),T.assets)){var U,bt=T.assets.length;for(U=0;U<bt;U+=1)T.assets[U].layers&&N(T.assets[U].layers)}}}(),z=function(){var gt=[4,7,99];return function(K){if(K.chars&&!M(gt,K.v)){var N,T=K.chars.length;for(N=0;N<T;N+=1){var U=K.chars[N];U.data&&U.data.shapes&&(_(U.data.shapes),U.data.ip=0,U.data.op=99999,U.data.st=0,U.data.sr=1,U.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},K.chars[N].t||(U.data.shapes.push({ty:"no"}),U.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),lt=function(){var gt=[5,7,15];function K(T){var U=T.t.p;typeof U.a=="number"&&(U.a={a:0,k:U.a}),typeof U.p=="number"&&(U.p={a:0,k:U.p}),typeof U.r=="number"&&(U.r={a:0,k:U.r})}function N(T){var U,bt=T.length;for(U=0;U<bt;U+=1)T[U].ty===5&&K(T[U])}return function(T){if(M(gt,T.v)&&(N(T.layers),T.assets)){var U,bt=T.assets.length;for(U=0;U<bt;U+=1)T.assets[U].layers&&N(T.assets[U].layers)}}}(),Dt=function(){var gt=[4,1,9];function K(T){var U,bt=T.length,at,Xt;for(U=0;U<bt;U+=1)if(T[U].ty==="gr")K(T[U].it);else if(T[U].ty==="fl"||T[U].ty==="st")if(T[U].c.k&&T[U].c.k[0].i)for(Xt=T[U].c.k.length,at=0;at<Xt;at+=1)T[U].c.k[at].s&&(T[U].c.k[at].s[0]/=255,T[U].c.k[at].s[1]/=255,T[U].c.k[at].s[2]/=255,T[U].c.k[at].s[3]/=255),T[U].c.k[at].e&&(T[U].c.k[at].e[0]/=255,T[U].c.k[at].e[1]/=255,T[U].c.k[at].e[2]/=255,T[U].c.k[at].e[3]/=255);else T[U].c.k[0]/=255,T[U].c.k[1]/=255,T[U].c.k[2]/=255,T[U].c.k[3]/=255}function N(T){var U,bt=T.length;for(U=0;U<bt;U+=1)T[U].ty===4&&K(T[U].shapes)}return function(T){if(M(gt,T.v)&&(N(T.layers),T.assets)){var U,bt=T.assets.length;for(U=0;U<bt;U+=1)T.assets[U].layers&&N(T.assets[U].layers)}}}(),Ft=function(){var gt=[4,4,18];function K(T){var U,bt=T.length,at,Xt;for(U=bt-1;U>=0;U-=1)if(T[U].ty==="sh")if(T[U].ks.k.i)T[U].ks.k.c=T[U].closed;else for(Xt=T[U].ks.k.length,at=0;at<Xt;at+=1)T[U].ks.k[at].s&&(T[U].ks.k[at].s[0].c=T[U].closed),T[U].ks.k[at].e&&(T[U].ks.k[at].e[0].c=T[U].closed);else T[U].ty==="gr"&&K(T[U].it)}function N(T){var U,bt,at=T.length,Xt,Oe,ke,Fr;for(bt=0;bt<at;bt+=1){if(U=T[bt],U.hasMask){var ir=U.masksProperties;for(Oe=ir.length,Xt=0;Xt<Oe;Xt+=1)if(ir[Xt].pt.k.i)ir[Xt].pt.k.c=ir[Xt].cl;else for(Fr=ir[Xt].pt.k.length,ke=0;ke<Fr;ke+=1)ir[Xt].pt.k[ke].s&&(ir[Xt].pt.k[ke].s[0].c=ir[Xt].cl),ir[Xt].pt.k[ke].e&&(ir[Xt].pt.k[ke].e[0].c=ir[Xt].cl)}U.ty===4&&K(U.shapes)}}return function(T){if(M(gt,T.v)&&(N(T.layers),T.assets)){var U,bt=T.assets.length;for(U=0;U<bt;U+=1)T.assets[U].layers&&N(T.assets[U].layers)}}}();function mt(gt){gt.__complete||(Dt(gt),j(gt),z(gt),lt(gt),Ft(gt),V(gt.layers,gt.assets),C(gt.chars,gt.assets),gt.__complete=!0)}function Qt(gt){gt.t.a.length===0&&"m"in gt.t.p}var Jt={};return Jt.completeData=mt,Jt.checkColors=Dt,Jt.checkChars=z,Jt.checkPathProperties=lt,Jt.checkShapes=Ft,Jt.completeLayers=V,Jt}if(g.dataManager||(g.dataManager=k()),g.assetLoader||(g.assetLoader=function(){function V($){var b=$.getResponseHeader("content-type");return b&&$.responseType==="json"&&b.indexOf("json")!==-1||$.response&&Er($.response)==="object"?$.response:$.response&&typeof $.response=="string"?JSON.parse($.response):$.responseText?JSON.parse($.responseText):null}function C($,b,_,A){var M,j=new XMLHttpRequest;try{j.responseType="json"}catch{}j.onreadystatechange=function(){if(j.readyState===4)if(j.status===200)M=V(j),_(M);else try{M=V(j),_(M)}catch(z){A&&A(z)}};try{j.open(["G","E","T"].join(""),$,!0)}catch{j.open(["G","E","T"].join(""),b+"/"+$,!0)}j.send()}return{load:C}}()),R.data.type==="loadAnimation")g.assetLoader.load(R.data.path,R.data.fullPath,function(V){g.dataManager.completeData(V),g.postMessage({id:R.data.id,payload:V,status:"success"})},function(){g.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var B=R.data.animation;g.dataManager.completeData(B),g.postMessage({id:R.data.id,payload:B,status:"success"})}else R.data.type==="loadData"&&g.assetLoader.load(R.data.path,R.data.fullPath,function(V){g.postMessage({id:R.data.id,payload:V,status:"success"})},function(){g.postMessage({id:R.data.id,status:"error"})})}),f.onmessage=function(v){var R=v.data,k=R.id,B=o[k];o[k]=null,R.status==="success"?B.onComplete(R.payload):B.onError&&B.onError()})}function P(v,R){n+=1;var k="processId_"+n;return o[k]={onComplete:v,onError:R},k}function Y(v,R,k){W();var B=P(R,k);f.postMessage({type:"loadAnimation",path:v,fullPath:window.location.origin+window.location.pathname,id:B})}function Z(v,R,k){W();var B=P(R,k);f.postMessage({type:"loadData",path:v,fullPath:window.location.origin+window.location.pathname,id:B})}function ot(v,R,k){W();var B=P(R,k);f.postMessage({type:"complete",animation:v,id:B})}return{loadAnimation:Y,loadData:Z,completeAnimation:ot}}(),pr=function(){var n=function(){var C=De("canvas");C.width=1,C.height=1;var $=C.getContext("2d");return $.fillStyle="rgba(0,0,0,0)",$.fillRect(0,0,1,1),C}();function o(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function f(C,$,b){var _="";if(C.e)_=C.p;else if($){var A=C.p;A.indexOf("images/")!==-1&&(A=A.split("/")[1]),_=$+A}else _=b,_+=C.u?C.u:"",_+=C.p;return _}function p(C){var $=0,b=setInterval((function(){var _=C.getBBox();(_.width||$>500)&&(this._imageLoaded(),clearInterval(b)),$+=1}).bind(this),50)}function g(C){var $=f(C,this.assetsPath,this.path),b=Ht("image");Pe?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){_.img=n,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",$),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var _={img:b,assetData:C};return _}function S(C){var $=f(C,this.assetsPath,this.path),b=De("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){_.img=n,this._imageLoaded()}).bind(this),!1),b.src=$;var _={img:b,assetData:C};return _}function W(C){var $={assetData:C},b=f(C,this.assetsPath,this.path);return Xr.loadData(b,(function(_){$.img=_,this._footageLoaded()}).bind(this),(function(){$.img={},this._footageLoaded()}).bind(this)),$}function P(C,$){this.imagesLoadedCb=$;var b,_=C.length;for(b=0;b<_;b+=1)C[b].layers||(!C[b].t||C[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(C[b]))):C[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(C[b]))))}function Y(C){this.path=C||""}function Z(C){this.assetsPath=C||""}function ot(C){for(var $=0,b=this.images.length;$<b;){if(this.images[$].assetData===C)return this.images[$].img;$+=1}return null}function v(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function k(){return this.totalFootages===this.loadedFootagesCount}function B(C,$){C==="svg"?(this._elementHelper=$,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=o.bind(this),this._footageLoaded=l.bind(this),this.testImageLoaded=p.bind(this),this.createFootageData=W.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return V.prototype={loadAssets:P,setAssetsPath:Z,setPath:Y,loadedImages:R,loadedFootages:k,destroy:v,getAsset:ot,createImgData:S,createImageData:g,imageLoaded:o,footageLoaded:l,setCacheType:B},V}();function Gr(){}Gr.prototype={triggerEvent:function(o,l){if(this._cbs[o])for(var f=this._cbs[o],p=0;p<f.length;p+=1)f[p](l)},addEventListener:function(o,l){return this._cbs[o]||(this._cbs[o]=[]),this._cbs[o].push(l),(function(){this.removeEventListener(o,l)}).bind(this)},removeEventListener:function(o,l){if(!l)this._cbs[o]=null;else if(this._cbs[o]){for(var f=0,p=this._cbs[o].length;f<p;)this._cbs[o][f]===l&&(this._cbs[o].splice(f,1),f-=1,p-=1),f+=1;this._cbs[o].length||(this._cbs[o]=null)}}};var oe=function(){function n(o){for(var l=o.split(`\r
|
|
1565
|
-
`),f={},p,g=0,S=0;S<l.length;S+=1)p=l[S].split(":"),p.length===2&&(f[p[0]]=p[1].trim(),g+=1);if(g===0)throw new Error;return f}return function(o){for(var l=[],f=0;f<o.length;f+=1){var p=o[f],g={time:p.tm,duration:p.dr};try{g.payload=JSON.parse(o[f].cm)}catch{try{g.payload=n(o[f].cm)}catch{g.payload={name:o[f].cm}}}l.push(g)}return l}}(),Fe=function(){function n(o){this.compositions.push(o)}return function(){function o(l){for(var f=0,p=this.compositions.length;f<p;){if(this.compositions[f].data&&this.compositions[f].data.nm===l)return this.compositions[f].prepareFrame&&this.compositions[f].data.xt&&this.compositions[f].prepareFrame(this.currentFrame),this.compositions[f].compInterface;f+=1}return null}return o.compositions=[],o.currentFrame=0,o.registerComposition=n,o}}(),Cr={},vn=function(o,l){Cr[o]=l};function Vt(n){return Cr[n]}function ee(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ee=function(l){return typeof l}:ee=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},ee(n)}var Pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Je(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Mr(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Fe(),this.imagePreloader=new pr,this.audioController=rr(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ur("drawnFrame",0,0,0)};Yt([Gr],Pt),Pt.prototype.setParams=function(n){(n.wrapper||n.container)&&(this.wrapper=n.wrapper||n.container);var o="svg";n.animType?o=n.animType:n.renderer&&(o=n.renderer);var l=Vt(o);this.renderer=new l(this,n.rendererSettings),this.imagePreloader.setCacheType(o,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=o,n.loop===""||n.loop===null||n.loop===void 0||n.loop===!0?this.loop=!0:n.loop===!1?this.loop=!1:this.loop=parseInt(n.loop,10),this.autoplay="autoplay"in n?n.autoplay:!0,this.name=n.name?n.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(n,"autoloadSegments")?n.autoloadSegments:!0,this.assetsPath=n.assetsPath,this.initialSegment=n.initialSegment,n.audioFactory&&this.audioController.setAudioFactory(n.audioFactory),n.animationData?this.setupAnimation(n.animationData):n.path&&(n.path.lastIndexOf("\\")!==-1?this.path=n.path.substr(0,n.path.lastIndexOf("\\")+1):this.path=n.path.substr(0,n.path.lastIndexOf("/")+1),this.fileName=n.path.substr(n.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Xr.loadAnimation(n.path,this.configAnimation,this.onSetupError))},Pt.prototype.onSetupError=function(){this.trigger("data_failed")},Pt.prototype.setupAnimation=function(n){Xr.completeAnimation(n,this.configAnimation)},Pt.prototype.setData=function(n,o){o&&ee(o)!=="object"&&(o=JSON.parse(o));var l={wrapper:n,animationData:o},f=n.attributes;l.path=f.getNamedItem("data-animation-path")?f.getNamedItem("data-animation-path").value:f.getNamedItem("data-bm-path")?f.getNamedItem("data-bm-path").value:f.getNamedItem("bm-path")?f.getNamedItem("bm-path").value:"",l.animType=f.getNamedItem("data-anim-type")?f.getNamedItem("data-anim-type").value:f.getNamedItem("data-bm-type")?f.getNamedItem("data-bm-type").value:f.getNamedItem("bm-type")?f.getNamedItem("bm-type").value:f.getNamedItem("data-bm-renderer")?f.getNamedItem("data-bm-renderer").value:f.getNamedItem("bm-renderer")?f.getNamedItem("bm-renderer").value:"canvas";var p=f.getNamedItem("data-anim-loop")?f.getNamedItem("data-anim-loop").value:f.getNamedItem("data-bm-loop")?f.getNamedItem("data-bm-loop").value:f.getNamedItem("bm-loop")?f.getNamedItem("bm-loop").value:"";p==="false"?l.loop=!1:p==="true"?l.loop=!0:p!==""&&(l.loop=parseInt(p,10));var g=f.getNamedItem("data-anim-autoplay")?f.getNamedItem("data-anim-autoplay").value:f.getNamedItem("data-bm-autoplay")?f.getNamedItem("data-bm-autoplay").value:f.getNamedItem("bm-autoplay")?f.getNamedItem("bm-autoplay").value:!0;l.autoplay=g!=="false",l.name=f.getNamedItem("data-name")?f.getNamedItem("data-name").value:f.getNamedItem("data-bm-name")?f.getNamedItem("data-bm-name").value:f.getNamedItem("bm-name")?f.getNamedItem("bm-name").value:"";var S=f.getNamedItem("data-anim-prerender")?f.getNamedItem("data-anim-prerender").value:f.getNamedItem("data-bm-prerender")?f.getNamedItem("data-bm-prerender").value:f.getNamedItem("bm-prerender")?f.getNamedItem("bm-prerender").value:"";S==="false"&&(l.prerender=!1),this.setParams(l)},Pt.prototype.includeLayers=function(n){n.op>this.animationData.op&&(this.animationData.op=n.op,this.totalFrames=Math.floor(n.op-this.animationData.ip));var o=this.animationData.layers,l,f=o.length,p=n.layers,g,S=p.length;for(g=0;g<S;g+=1)for(l=0;l<f;){if(o[l].id===p[g].id){o[l]=p[g];break}l+=1}if((n.chars||n.fonts)&&(this.renderer.globalData.fontManager.addChars(n.chars),this.renderer.globalData.fontManager.addFonts(n.fonts,this.renderer.globalData.defs)),n.assets)for(f=n.assets.length,l=0;l<f;l+=1)this.animationData.assets.push(n.assets[l]);this.animationData.__complete=!1,Xr.completeAnimation(this.animationData,this.onSegmentComplete)},Pt.prototype.onSegmentComplete=function(n){this.animationData=n;var o=qr();o&&o.initExpressions(this),this.loadNextSegment()},Pt.prototype.loadNextSegment=function(){var n=this.animationData.segments;if(!n||n.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var o=n.shift();this.timeCompleted=o.time*this.frameRate;var l=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Xr.loadData(l,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},Pt.prototype.loadSegments=function(){var n=this.animationData.segments;n||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},Pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},Pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},Pt.prototype.configAnimation=function(n){if(this.renderer)try{this.animationData=n,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(n),n.assets||(n.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(n.assets),this.markers=oe(n.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(o){this.triggerConfigError(o)}},Pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},Pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var n=qr();n&&n.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},Pt.prototype.resize=function(n,o){var l=typeof n=="number"?n:void 0,f=typeof o=="number"?o:void 0;this.renderer.updateContainerSize(l,f)},Pt.prototype.setSubframe=function(n){this.isSubframeEnabled=!!n},Pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},Pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(n){this.triggerRenderFrameError(n)}},Pt.prototype.play=function(n){n&&this.name!==n||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},Pt.prototype.pause=function(n){n&&this.name!==n||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},Pt.prototype.togglePause=function(n){n&&this.name!==n||(this.isPaused===!0?this.play():this.pause())},Pt.prototype.stop=function(n){n&&this.name!==n||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},Pt.prototype.getMarkerData=function(n){for(var o,l=0;l<this.markers.length;l+=1)if(o=this.markers[l],o.payload&&o.payload.name===n)return o;return null},Pt.prototype.goToAndStop=function(n,o,l){if(!(l&&this.name!==l)){var f=Number(n);if(isNaN(f)){var p=this.getMarkerData(n);p&&this.goToAndStop(p.time,!0)}else o?this.setCurrentRawFrameValue(n):this.setCurrentRawFrameValue(n*this.frameModifier);this.pause()}},Pt.prototype.goToAndPlay=function(n,o,l){if(!(l&&this.name!==l)){var f=Number(n);if(isNaN(f)){var p=this.getMarkerData(n);p&&(p.duration?this.playSegments([p.time,p.time+p.duration],!0):this.goToAndStop(p.time,!0))}else this.goToAndStop(f,o,l);this.play()}},Pt.prototype.advanceTime=function(n){if(!(this.isPaused===!0||this.isLoaded===!1)){var o=this.currentRawFrame+n*this.frameModifier,l=!1;o>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(o>this.totalFrames?o%this.totalFrames:0)||(l=!0,o=this.totalFrames-1):o>=this.totalFrames?(this.playCount+=1,this.checkSegments(o%this.totalFrames)||(this.setCurrentRawFrameValue(o%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(o):o<0?this.checkSegments(o%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+o%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(l=!0,o=0)):this.setCurrentRawFrameValue(o),l&&(this.setCurrentRawFrameValue(o),this.pause(),this.trigger("complete"))}},Pt.prototype.adjustSegment=function(n,o){this.playCount=0,n[1]<n[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=n[0]-n[1],this.timeCompleted=this.totalFrames,this.firstFrame=n[1],this.setCurrentRawFrameValue(this.totalFrames-.001-o)):n[1]>n[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=n[1]-n[0],this.timeCompleted=this.totalFrames,this.firstFrame=n[0],this.setCurrentRawFrameValue(.001+o)),this.trigger("segmentStart")},Pt.prototype.setSegment=function(n,o){var l=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<n?l=n:this.currentRawFrame+this.firstFrame>o&&(l=o-n)),this.firstFrame=n,this.totalFrames=o-n,this.timeCompleted=this.totalFrames,l!==-1&&this.goToAndStop(l,!0)},Pt.prototype.playSegments=function(n,o){if(o&&(this.segments.length=0),ee(n[0])==="object"){var l,f=n.length;for(l=0;l<f;l+=1)this.segments.push(n[l])}else this.segments.push(n);this.segments.length&&o&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},Pt.prototype.resetSegments=function(n){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),n&&this.checkSegments(0)},Pt.prototype.checkSegments=function(n){return this.segments.length?(this.adjustSegment(this.segments.shift(),n),!0):!1},Pt.prototype.destroy=function(n){n&&this.name!==n||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},Pt.prototype.setCurrentRawFrameValue=function(n){this.currentRawFrame=n,this.gotoFrame()},Pt.prototype.setSpeed=function(n){this.playSpeed=n,this.updaFrameModifier()},Pt.prototype.setDirection=function(n){this.playDirection=n<0?-1:1,this.updaFrameModifier()},Pt.prototype.setLoop=function(n){this.loop=n},Pt.prototype.setVolume=function(n,o){o&&this.name!==o||this.audioController.setVolume(n)},Pt.prototype.getVolume=function(){return this.audioController.getVolume()},Pt.prototype.mute=function(n){n&&this.name!==n||this.audioController.mute()},Pt.prototype.unmute=function(n){n&&this.name!==n||this.audioController.unmute()},Pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},Pt.prototype.getPath=function(){return this.path},Pt.prototype.getAssetsPath=function(n){var o="";if(n.e)o=n.p;else if(this.assetsPath){var l=n.p;l.indexOf("images/")!==-1&&(l=l.split("/")[1]),o=this.assetsPath+l}else o=this.path,o+=n.u?n.u:"",o+=n.p;return o},Pt.prototype.getAssetData=function(n){for(var o=0,l=this.assets.length;o<l;){if(n===this.assets[o].id)return this.assets[o];o+=1}return null},Pt.prototype.hide=function(){this.renderer.hide()},Pt.prototype.show=function(){this.renderer.show()},Pt.prototype.getDuration=function(n){return n?this.totalFrames:this.totalFrames/this.frameRate},Pt.prototype.updateDocumentData=function(n,o,l){try{var f=this.renderer.getElementByPath(n);f.updateDocumentData(o,l)}catch{}},Pt.prototype.trigger=function(n){if(this._cbs&&this._cbs[n])switch(n){case"enterFrame":this.triggerEvent(n,new ur(n,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(n,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(n,new Ur(n,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(n,new Pr(n,this.frameMult));break;case"segmentStart":this.triggerEvent(n,new Vr(n,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(n,new $r(n,this));break;default:this.triggerEvent(n)}n==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ur(n,this.currentFrame,this.totalFrames,this.frameMult)),n==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Ur(n,this.loop,this.playCount,this.frameMult)),n==="complete"&&this.onComplete&&this.onComplete.call(this,new Pr(n,this.frameMult)),n==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Vr(n,this.firstFrame,this.totalFrames)),n==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new $r(n,this))},Pt.prototype.triggerRenderFrameError=function(n){var o=new rn(n,this.currentFrame);this.triggerEvent("error",o),this.onError&&this.onError.call(this,o)},Pt.prototype.triggerConfigError=function(n){var o=new Sr(n,this.currentFrame);this.triggerEvent("error",o),this.onError&&this.onError.call(this,o)};var Re=function(){var n={},o=[],l=0,f=0,p=0,g=!0,S=!1;function W(K){for(var N=0,T=K.target;N<f;)o[N].animation===T&&(o.splice(N,1),N-=1,f-=1,T.isPaused||ot()),N+=1}function P(K,N){if(!K)return null;for(var T=0;T<f;){if(o[T].elem===K&&o[T].elem!==null)return o[T].animation;T+=1}var U=new Pt;return v(U,K),U.setData(K,N),U}function Y(){var K,N=o.length,T=[];for(K=0;K<N;K+=1)T.push(o[K].animation);return T}function Z(){p+=1,Dt()}function ot(){p-=1}function v(K,N){K.addEventListener("destroy",W),K.addEventListener("_active",Z),K.addEventListener("_idle",ot),o.push({elem:N,animation:K}),f+=1}function R(K){var N=new Pt;return v(N,null),N.setParams(K),N}function k(K,N){var T;for(T=0;T<f;T+=1)o[T].animation.setSpeed(K,N)}function B(K,N){var T;for(T=0;T<f;T+=1)o[T].animation.setDirection(K,N)}function V(K){var N;for(N=0;N<f;N+=1)o[N].animation.play(K)}function C(K){var N=K-l,T;for(T=0;T<f;T+=1)o[T].animation.advanceTime(N);l=K,p&&!S?window.requestAnimationFrame(C):g=!0}function $(K){l=K,window.requestAnimationFrame(C)}function b(K){var N;for(N=0;N<f;N+=1)o[N].animation.pause(K)}function _(K,N,T){var U;for(U=0;U<f;U+=1)o[U].animation.goToAndStop(K,N,T)}function A(K){var N;for(N=0;N<f;N+=1)o[N].animation.stop(K)}function M(K){var N;for(N=0;N<f;N+=1)o[N].animation.togglePause(K)}function j(K){var N;for(N=f-1;N>=0;N-=1)o[N].animation.destroy(K)}function z(K,N,T){var U=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),bt,at=U.length;for(bt=0;bt<at;bt+=1)T&&U[bt].setAttribute("data-bm-type",T),P(U[bt],K);if(N&&at===0){T||(T="svg");var Xt=document.getElementsByTagName("body")[0];Xt.innerText="";var Oe=De("div");Oe.style.width="100%",Oe.style.height="100%",Oe.setAttribute("data-bm-type",T),Xt.appendChild(Oe),P(Oe,K)}}function lt(){var K;for(K=0;K<f;K+=1)o[K].animation.resize()}function Dt(){!S&&p&&g&&(window.requestAnimationFrame($),g=!1)}function Ft(){S=!0}function mt(){S=!1,Dt()}function Qt(K,N){var T;for(T=0;T<f;T+=1)o[T].animation.setVolume(K,N)}function Jt(K){var N;for(N=0;N<f;N+=1)o[N].animation.mute(K)}function gt(K){var N;for(N=0;N<f;N+=1)o[N].animation.unmute(K)}return n.registerAnimation=P,n.loadAnimation=R,n.setSpeed=k,n.setDirection=B,n.play=V,n.pause=b,n.stop=A,n.togglePause=M,n.searchAnimations=z,n.resize=lt,n.goToAndStop=_,n.destroy=j,n.freeze=Ft,n.unfreeze=mt,n.setVolume=Qt,n.mute=Jt,n.unmute=gt,n.getRegisteredAnimations=Y,n}(),mr=function(){var n={};n.getBezierEasing=l;var o={};function l($,b,_,A,M){var j=M||("bez_"+$+"_"+b+"_"+_+"_"+A).replace(/\./g,"p");if(o[j])return o[j];var z=new C([$,b,_,A]);return o[j]=z,z}var f=4,p=.001,g=1e-7,S=10,W=11,P=1/(W-1),Y=typeof Float32Array=="function";function Z($,b){return 1-3*b+3*$}function ot($,b){return 3*b-6*$}function v($){return 3*$}function R($,b,_){return((Z(b,_)*$+ot(b,_))*$+v(b))*$}function k($,b,_){return 3*Z(b,_)*$*$+2*ot(b,_)*$+v(b)}function B($,b,_,A,M){var j,z,lt=0;do z=b+(_-b)/2,j=R(z,A,M)-$,j>0?_=z:b=z;while(Math.abs(j)>g&&++lt<S);return z}function V($,b,_,A){for(var M=0;M<f;++M){var j=k(b,_,A);if(j===0)return b;var z=R(b,_,A)-$;b-=z/j}return b}function C($){this._p=$,this._mSampleValues=Y?new Float32Array(W):new Array(W),this._precomputed=!1,this.get=this.get.bind(this)}return C.prototype={get:function(b){var _=this._p[0],A=this._p[1],M=this._p[2],j=this._p[3];return this._precomputed||this._precompute(),_===A&&M===j?b:b===0?0:b===1?1:R(this._getTForX(b),A,j)},_precompute:function(){var b=this._p[0],_=this._p[1],A=this._p[2],M=this._p[3];this._precomputed=!0,(b!==_||A!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],_=this._p[2],A=0;A<W;++A)this._mSampleValues[A]=R(A*P,b,_)},_getTForX:function(b){for(var _=this._p[0],A=this._p[2],M=this._mSampleValues,j=0,z=1,lt=W-1;z!==lt&&M[z]<=b;++z)j+=P;--z;var Dt=(b-M[z])/(M[z+1]-M[z]),Ft=j+Dt*P,mt=k(Ft,_,A);return mt>=p?V(b,Ft,_,A):mt===0?Ft:B(b,j,j+P,_,A)}},n}(),sn=function(){function n(o){return o.concat(te(o.length))}return{double:n}}(),hr=function(){return function(n,o,l){var f=0,p=n,g=te(p),S={newElement:W,release:P};function W(){var Y;return f?(f-=1,Y=g[f]):Y=o(),Y}function P(Y){f===p&&(g=sn.double(g),p*=2),l&&l(Y),g[f]=Y,f+=1}return S}}(),q=function(){function n(){return{addedLength:0,percents:Nt("float32",Rr()),lengths:Nt("float32",Rr())}}return hr(8,n)}(),_t=function(){function n(){return{lengths:[],totalLength:0}}function o(l){var f,p=l.lengths.length;for(f=0;f<p;f+=1)q.release(l.lengths[f]);l.lengths.length=0}return hr(8,n,o)}();function Rt(){var n=Math;function o(v,R,k,B,V,C){var $=v*B+R*V+k*C-V*B-C*v-k*R;return $>-.001&&$<.001}function l(v,R,k,B,V,C,$,b,_){if(k===0&&C===0&&_===0)return o(v,R,B,V,$,b);var A=n.sqrt(n.pow(B-v,2)+n.pow(V-R,2)+n.pow(C-k,2)),M=n.sqrt(n.pow($-v,2)+n.pow(b-R,2)+n.pow(_-k,2)),j=n.sqrt(n.pow($-B,2)+n.pow(b-V,2)+n.pow(_-C,2)),z;return A>M?A>j?z=A-M-j:z=j-M-A:j>M?z=j-M-A:z=M-A-j,z>-1e-4&&z<1e-4}var f=function(){return function(v,R,k,B){var V=Rr(),C,$,b,_,A,M=0,j,z=[],lt=[],Dt=q.newElement();for(b=k.length,C=0;C<V;C+=1){for(A=C/(V-1),j=0,$=0;$<b;$+=1)_=ze(1-A,3)*v[$]+3*ze(1-A,2)*A*k[$]+3*(1-A)*ze(A,2)*B[$]+ze(A,3)*R[$],z[$]=_,lt[$]!==null&&(j+=ze(z[$]-lt[$],2)),lt[$]=z[$];j&&(j=We(j),M+=j),Dt.percents[C]=A,Dt.lengths[C]=M}return Dt.addedLength=M,Dt}}();function p(v){var R=_t.newElement(),k=v.c,B=v.v,V=v.o,C=v.i,$,b=v._length,_=R.lengths,A=0;for($=0;$<b-1;$+=1)_[$]=f(B[$],B[$+1],V[$],C[$+1]),A+=_[$].addedLength;return k&&b&&(_[$]=f(B[$],B[0],V[$],C[0]),A+=_[$].addedLength),R.totalLength=A,R}function g(v){this.segmentLength=0,this.points=new Array(v)}function S(v,R){this.partialLength=v,this.point=R}var W=function(){var v={};return function(R,k,B,V){var C=(R[0]+"_"+R[1]+"_"+k[0]+"_"+k[1]+"_"+B[0]+"_"+B[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!v[C]){var $=Rr(),b,_,A,M,j,z=0,lt,Dt,Ft=null;R.length===2&&(R[0]!==k[0]||R[1]!==k[1])&&o(R[0],R[1],k[0],k[1],R[0]+B[0],R[1]+B[1])&&o(R[0],R[1],k[0],k[1],k[0]+V[0],k[1]+V[1])&&($=2);var mt=new g($);for(A=B.length,b=0;b<$;b+=1){for(Dt=te(A),j=b/($-1),lt=0,_=0;_<A;_+=1)M=ze(1-j,3)*R[_]+3*ze(1-j,2)*j*(R[_]+B[_])+3*(1-j)*ze(j,2)*(k[_]+V[_])+ze(j,3)*k[_],Dt[_]=M,Ft!==null&&(lt+=ze(Dt[_]-Ft[_],2));lt=We(lt),z+=lt,mt.points[b]=new S(lt,Dt),Ft=Dt}mt.segmentLength=z,v[C]=mt}return v[C]}}();function P(v,R){var k=R.percents,B=R.lengths,V=k.length,C=ce((V-1)*v),$=v*R.addedLength,b=0;if(C===V-1||C===0||$===B[C])return k[C];for(var _=B[C]>$?-1:1,A=!0;A;)if(B[C]<=$&&B[C+1]>$?(b=($-B[C])/(B[C+1]-B[C]),A=!1):C+=_,C<0||C>=V-1){if(C===V-1)return k[C];A=!1}return k[C]+(k[C+1]-k[C])*b}function Y(v,R,k,B,V,C){var $=P(V,C),b=1-$,_=n.round((b*b*b*v[0]+($*b*b+b*$*b+b*b*$)*k[0]+($*$*b+b*$*$+$*b*$)*B[0]+$*$*$*R[0])*1e3)/1e3,A=n.round((b*b*b*v[1]+($*b*b+b*$*b+b*b*$)*k[1]+($*$*b+b*$*$+$*b*$)*B[1]+$*$*$*R[1])*1e3)/1e3;return[_,A]}var Z=Nt("float32",8);function ot(v,R,k,B,V,C,$){V<0?V=0:V>1&&(V=1);var b=P(V,$);C=C>1?1:C;var _=P(C,$),A,M=v.length,j=1-b,z=1-_,lt=j*j*j,Dt=b*j*j*3,Ft=b*b*j*3,mt=b*b*b,Qt=j*j*z,Jt=b*j*z+j*b*z+j*j*_,gt=b*b*z+j*b*_+b*j*_,K=b*b*_,N=j*z*z,T=b*z*z+j*_*z+j*z*_,U=b*_*z+j*_*_+b*z*_,bt=b*_*_,at=z*z*z,Xt=_*z*z+z*_*z+z*z*_,Oe=_*_*z+z*_*_+_*z*_,ke=_*_*_;for(A=0;A<M;A+=1)Z[A*4]=n.round((lt*v[A]+Dt*k[A]+Ft*B[A]+mt*R[A])*1e3)/1e3,Z[A*4+1]=n.round((Qt*v[A]+Jt*k[A]+gt*B[A]+K*R[A])*1e3)/1e3,Z[A*4+2]=n.round((N*v[A]+T*k[A]+U*B[A]+bt*R[A])*1e3)/1e3,Z[A*4+3]=n.round((at*v[A]+Xt*k[A]+Oe*B[A]+ke*R[A])*1e3)/1e3;return Z}return{getSegmentsLength:p,getNewSegment:ot,getPointInSegment:Y,buildBezierData:W,pointOnLine2D:o,pointOnLine3D:l}}var Kt=Rt(),At=function(){var n=zt,o=Math.abs;function l(V,C){var $=this.offsetTime,b;this.propType==="multidimensional"&&(b=Nt("float32",this.pv.length));for(var _=C.lastIndex,A=_,M=this.keyframes.length-1,j=!0,z,lt,Dt;j;){if(z=this.keyframes[A],lt=this.keyframes[A+1],A===M-1&&V>=lt.t-$){z.h&&(z=lt),_=0;break}if(lt.t-$>V){_=A;break}A<M-1?A+=1:(_=0,j=!1)}Dt=this.keyframesMetadata[A]||{};var Ft,mt,Qt,Jt,gt,K,N=lt.t-$,T=z.t-$,U;if(z.to){Dt.bezierData||(Dt.bezierData=Kt.buildBezierData(z.s,lt.s||z.e,z.to,z.ti));var bt=Dt.bezierData;if(V>=N||V<T){var at=V>=N?bt.points.length-1:0;for(mt=bt.points[at].point.length,Ft=0;Ft<mt;Ft+=1)b[Ft]=bt.points[at].point[Ft]}else{Dt.__fnct?K=Dt.__fnct:(K=mr.getBezierEasing(z.o.x,z.o.y,z.i.x,z.i.y,z.n).get,Dt.__fnct=K),Qt=K((V-T)/(N-T));var Xt=bt.segmentLength*Qt,Oe,ke=C.lastFrame<V&&C._lastKeyframeIndex===A?C._lastAddedLength:0;for(gt=C.lastFrame<V&&C._lastKeyframeIndex===A?C._lastPoint:0,j=!0,Jt=bt.points.length;j;){if(ke+=bt.points[gt].partialLength,Xt===0||Qt===0||gt===bt.points.length-1){for(mt=bt.points[gt].point.length,Ft=0;Ft<mt;Ft+=1)b[Ft]=bt.points[gt].point[Ft];break}else if(Xt>=ke&&Xt<ke+bt.points[gt+1].partialLength){for(Oe=(Xt-ke)/bt.points[gt+1].partialLength,mt=bt.points[gt].point.length,Ft=0;Ft<mt;Ft+=1)b[Ft]=bt.points[gt].point[Ft]+(bt.points[gt+1].point[Ft]-bt.points[gt].point[Ft])*Oe;break}gt<Jt-1?gt+=1:j=!1}C._lastPoint=gt,C._lastAddedLength=ke-bt.points[gt].partialLength,C._lastKeyframeIndex=A}}else{var Fr,ir,Cn,pn,tn;if(M=z.s.length,U=lt.s||z.e,this.sh&&z.h!==1)if(V>=N)b[0]=U[0],b[1]=U[1],b[2]=U[2];else if(V<=T)b[0]=z.s[0],b[1]=z.s[1],b[2]=z.s[2];else{var an=g(z.s),ln=g(U),Tn=(V-T)/(N-T);p(b,f(an,ln,Tn))}else for(A=0;A<M;A+=1)z.h!==1&&(V>=N?Qt=1:V<T?Qt=0:(z.o.x.constructor===Array?(Dt.__fnct||(Dt.__fnct=[]),Dt.__fnct[A]?K=Dt.__fnct[A]:(Fr=z.o.x[A]===void 0?z.o.x[0]:z.o.x[A],ir=z.o.y[A]===void 0?z.o.y[0]:z.o.y[A],Cn=z.i.x[A]===void 0?z.i.x[0]:z.i.x[A],pn=z.i.y[A]===void 0?z.i.y[0]:z.i.y[A],K=mr.getBezierEasing(Fr,ir,Cn,pn).get,Dt.__fnct[A]=K)):Dt.__fnct?K=Dt.__fnct:(Fr=z.o.x,ir=z.o.y,Cn=z.i.x,pn=z.i.y,K=mr.getBezierEasing(Fr,ir,Cn,pn).get,z.keyframeMetadata=K),Qt=K((V-T)/(N-T)))),U=lt.s||z.e,tn=z.h===1?z.s[A]:z.s[A]+(U[A]-z.s[A])*Qt,this.propType==="multidimensional"?b[A]=tn:b=tn}return C.lastIndex=_,b}function f(V,C,$){var b=[],_=V[0],A=V[1],M=V[2],j=V[3],z=C[0],lt=C[1],Dt=C[2],Ft=C[3],mt,Qt,Jt,gt,K;return Qt=_*z+A*lt+M*Dt+j*Ft,Qt<0&&(Qt=-Qt,z=-z,lt=-lt,Dt=-Dt,Ft=-Ft),1-Qt>1e-6?(mt=Math.acos(Qt),Jt=Math.sin(mt),gt=Math.sin((1-$)*mt)/Jt,K=Math.sin($*mt)/Jt):(gt=1-$,K=$),b[0]=gt*_+K*z,b[1]=gt*A+K*lt,b[2]=gt*M+K*Dt,b[3]=gt*j+K*Ft,b}function p(V,C){var $=C[0],b=C[1],_=C[2],A=C[3],M=Math.atan2(2*b*A-2*$*_,1-2*b*b-2*_*_),j=Math.asin(2*$*b+2*_*A),z=Math.atan2(2*$*A-2*b*_,1-2*$*$-2*_*_);V[0]=M/fe,V[1]=j/fe,V[2]=z/fe}function g(V){var C=V[0]*fe,$=V[1]*fe,b=V[2]*fe,_=Math.cos(C/2),A=Math.cos($/2),M=Math.cos(b/2),j=Math.sin(C/2),z=Math.sin($/2),lt=Math.sin(b/2),Dt=_*A*M-j*z*lt,Ft=j*z*M+_*A*lt,mt=j*A*M+_*z*lt,Qt=_*z*M-j*A*lt;return[Ft,mt,Qt,Dt]}function S(){var V=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,$=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(V===this._caching.lastFrame||this._caching.lastFrame!==n&&(this._caching.lastFrame>=$&&V>=$||this._caching.lastFrame<C&&V<C))){this._caching.lastFrame>=V&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var b=this.interpolateValue(V,this._caching);this.pv=b}return this._caching.lastFrame=V,this.pv}function W(V){var C;if(this.propType==="unidimensional")C=V*this.mult,o(this.v-C)>1e-5&&(this.v=C,this._mdf=!0);else for(var $=0,b=this.v.length;$<b;)C=V[$]*this.mult,o(this.v[$]-C)>1e-5&&(this.v[$]=C,this._mdf=!0),$+=1}function P(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var V,C=this.effectsSequence.length,$=this.kf?this.pv:this.data.k;for(V=0;V<C;V+=1)$=this.effectsSequence[V]($);this.setVValue($),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Y(V){this.effectsSequence.push(V),this.container.addDynamicProperty(this)}function Z(V,C,$,b){this.propType="unidimensional",this.mult=$||1,this.data=C,this.v=$?C.k*$:C.k,this.pv=C.k,this._mdf=!1,this.elem=V,this.container=b,this.comp=V.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=P,this.setVValue=W,this.addEffect=Y}function ot(V,C,$,b){this.propType="multidimensional",this.mult=$||1,this.data=C,this._mdf=!1,this.elem=V,this.container=b,this.comp=V.comp,this.k=!1,this.kf=!1,this.frameId=-1;var _,A=C.k.length;for(this.v=Nt("float32",A),this.pv=Nt("float32",A),this.vel=Nt("float32",A),_=0;_<A;_+=1)this.v[_]=C.k[_]*this.mult,this.pv[_]=C.k[_];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=P,this.setVValue=W,this.addEffect=Y}function v(V,C,$,b){this.propType="unidimensional",this.keyframes=C.k,this.keyframesMetadata=[],this.offsetTime=V.data.st,this.frameId=-1,this._caching={lastFrame:n,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=C,this.mult=$||1,this.elem=V,this.container=b,this.comp=V.comp,this.v=n,this.pv=n,this._isFirstFrame=!0,this.getValue=P,this.setVValue=W,this.interpolateValue=l,this.effectsSequence=[S.bind(this)],this.addEffect=Y}function R(V,C,$,b){this.propType="multidimensional";var _,A=C.k.length,M,j,z,lt;for(_=0;_<A-1;_+=1)C.k[_].to&&C.k[_].s&&C.k[_+1]&&C.k[_+1].s&&(M=C.k[_].s,j=C.k[_+1].s,z=C.k[_].to,lt=C.k[_].ti,(M.length===2&&!(M[0]===j[0]&&M[1]===j[1])&&Kt.pointOnLine2D(M[0],M[1],j[0],j[1],M[0]+z[0],M[1]+z[1])&&Kt.pointOnLine2D(M[0],M[1],j[0],j[1],j[0]+lt[0],j[1]+lt[1])||M.length===3&&!(M[0]===j[0]&&M[1]===j[1]&&M[2]===j[2])&&Kt.pointOnLine3D(M[0],M[1],M[2],j[0],j[1],j[2],M[0]+z[0],M[1]+z[1],M[2]+z[2])&&Kt.pointOnLine3D(M[0],M[1],M[2],j[0],j[1],j[2],j[0]+lt[0],j[1]+lt[1],j[2]+lt[2]))&&(C.k[_].to=null,C.k[_].ti=null),M[0]===j[0]&&M[1]===j[1]&&z[0]===0&&z[1]===0&<[0]===0&<[1]===0&&(M.length===2||M[2]===j[2]&&z[2]===0&<[2]===0)&&(C.k[_].to=null,C.k[_].ti=null));this.effectsSequence=[S.bind(this)],this.data=C,this.keyframes=C.k,this.keyframesMetadata=[],this.offsetTime=V.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=$||1,this.elem=V,this.container=b,this.comp=V.comp,this.getValue=P,this.setVValue=W,this.interpolateValue=l,this.frameId=-1;var Dt=C.k[0].s.length;for(this.v=Nt("float32",Dt),this.pv=Nt("float32",Dt),_=0;_<Dt;_+=1)this.v[_]=n,this.pv[_]=n;this._caching={lastFrame:n,lastIndex:0,value:Nt("float32",Dt)},this.addEffect=Y}function k(V,C,$,b,_){var A;if(!C.k.length)A=new Z(V,C,b,_);else if(typeof C.k[0]=="number")A=new ot(V,C,b,_);else switch($){case 0:A=new v(V,C,b,_);break;case 1:A=new R(V,C,b,_);break}return A.effectsSequence.length&&_.addDynamicProperty(A),A}var B={getProp:k};return B}();function ae(){}ae.prototype={addDynamicProperty:function(o){this.dynamicProperties.indexOf(o)===-1&&(this.dynamicProperties.push(o),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var o,l=this.dynamicProperties.length;for(o=0;o<l;o+=1)this.dynamicProperties[o].getValue(),this.dynamicProperties[o]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(o){this.container=o,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ce=function(){function n(){return Nt("float32",2)}return hr(8,n)}();function ve(){this.c=!1,this._length=0,this._maxLength=8,this.v=te(this._maxLength),this.o=te(this._maxLength),this.i=te(this._maxLength)}ve.prototype.setPathData=function(n,o){this.c=n,this.setLength(o);for(var l=0;l<o;)this.v[l]=Ce.newElement(),this.o[l]=Ce.newElement(),this.i[l]=Ce.newElement(),l+=1},ve.prototype.setLength=function(n){for(;this._maxLength<n;)this.doubleArrayLength();this._length=n},ve.prototype.doubleArrayLength=function(){this.v=this.v.concat(te(this._maxLength)),this.i=this.i.concat(te(this._maxLength)),this.o=this.o.concat(te(this._maxLength)),this._maxLength*=2},ve.prototype.setXYAt=function(n,o,l,f,p){var g;switch(this._length=Math.max(this._length,f+1),this._length>=this._maxLength&&this.doubleArrayLength(),l){case"v":g=this.v;break;case"i":g=this.i;break;case"o":g=this.o;break;default:g=[];break}(!g[f]||g[f]&&!p)&&(g[f]=Ce.newElement()),g[f][0]=n,g[f][1]=o},ve.prototype.setTripleAt=function(n,o,l,f,p,g,S,W){this.setXYAt(n,o,"v",S,W),this.setXYAt(l,f,"o",S,W),this.setXYAt(p,g,"i",S,W)},ve.prototype.reverse=function(){var n=new ve;n.setPathData(this.c,this._length);var o=this.v,l=this.o,f=this.i,p=0;this.c&&(n.setTripleAt(o[0][0],o[0][1],f[0][0],f[0][1],l[0][0],l[0][1],0,!1),p=1);var g=this._length-1,S=this._length,W;for(W=p;W<S;W+=1)n.setTripleAt(o[g][0],o[g][1],f[g][0],f[g][1],l[g][0],l[g][1],W,!1),g-=1;return n},ve.prototype.length=function(){return this._length};var Ue=function(){function n(){return new ve}function o(p){var g=p._length,S;for(S=0;S<g;S+=1)Ce.release(p.v[S]),Ce.release(p.i[S]),Ce.release(p.o[S]),p.v[S]=null,p.i[S]=null,p.o[S]=null;p._length=0,p.c=!1}function l(p){var g=f.newElement(),S,W=p._length===void 0?p.v.length:p._length;for(g.setLength(W),g.c=p.c,S=0;S<W;S+=1)g.setTripleAt(p.v[S][0],p.v[S][1],p.o[S][0],p.o[S][1],p.i[S][0],p.i[S][1],S);return g}var f=hr(4,n,o);return f.clone=l,f}();function ue(){this._length=0,this._maxLength=4,this.shapes=te(this._maxLength)}ue.prototype.addShape=function(n){this._length===this._maxLength&&(this.shapes=this.shapes.concat(te(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=n,this._length+=1},ue.prototype.releaseShapes=function(){var n;for(n=0;n<this._length;n+=1)Ue.release(this.shapes[n]);this._length=0};var Ve=function(){var n={newShapeCollection:p,release:g},o=0,l=4,f=te(l);function p(){var S;return o?(o-=1,S=f[o]):S=new ue,S}function g(S){var W,P=S._length;for(W=0;W<P;W+=1)Ue.release(S.shapes[W]);S._length=0,o===l&&(f=sn.double(f),l*=2),f[o]=S,o+=1}return n}(),dr=function(){var n=-999999;function o(C,$,b){var _=b.lastIndex,A,M,j,z,lt,Dt,Ft,mt,Qt,Jt=this.keyframes;if(C<Jt[0].t-this.offsetTime)A=Jt[0].s[0],j=!0,_=0;else if(C>=Jt[Jt.length-1].t-this.offsetTime)A=Jt[Jt.length-1].s?Jt[Jt.length-1].s[0]:Jt[Jt.length-2].e[0],j=!0;else{for(var gt=_,K=Jt.length-1,N=!0,T,U,bt;N&&(T=Jt[gt],U=Jt[gt+1],!(U.t-this.offsetTime>C));)gt<K-1?gt+=1:N=!1;if(bt=this.keyframesMetadata[gt]||{},j=T.h===1,_=gt,!j){if(C>=U.t-this.offsetTime)mt=1;else if(C<T.t-this.offsetTime)mt=0;else{var at;bt.__fnct?at=bt.__fnct:(at=mr.getBezierEasing(T.o.x,T.o.y,T.i.x,T.i.y).get,bt.__fnct=at),mt=at((C-(T.t-this.offsetTime))/(U.t-this.offsetTime-(T.t-this.offsetTime)))}M=U.s?U.s[0]:T.e[0]}A=T.s[0]}for(Dt=$._length,Ft=A.i[0].length,b.lastIndex=_,z=0;z<Dt;z+=1)for(lt=0;lt<Ft;lt+=1)Qt=j?A.i[z][lt]:A.i[z][lt]+(M.i[z][lt]-A.i[z][lt])*mt,$.i[z][lt]=Qt,Qt=j?A.o[z][lt]:A.o[z][lt]+(M.o[z][lt]-A.o[z][lt])*mt,$.o[z][lt]=Qt,Qt=j?A.v[z][lt]:A.v[z][lt]+(M.v[z][lt]-A.v[z][lt])*mt,$.v[z][lt]=Qt}function l(){var C=this.comp.renderedFrame-this.offsetTime,$=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,_=this._caching.lastFrame;return _!==n&&(_<$&&C<$||_>b&&C>b)||(this._caching.lastIndex=_<C?this._caching.lastIndex:0,this.interpolateShape(C,this.pv,this._caching)),this._caching.lastFrame=C,this.pv}function f(){this.paths=this.localShapeCollection}function p(C,$){if(C._length!==$._length||C.c!==$.c)return!1;var b,_=C._length;for(b=0;b<_;b+=1)if(C.v[b][0]!==$.v[b][0]||C.v[b][1]!==$.v[b][1]||C.o[b][0]!==$.o[b][0]||C.o[b][1]!==$.o[b][1]||C.i[b][0]!==$.i[b][0]||C.i[b][1]!==$.i[b][1])return!1;return!0}function g(C){p(this.v,C)||(this.v=Ue.clone(C),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function S(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var C;this.kf?C=this.pv:this.data.ks?C=this.data.ks.k:C=this.data.pt.k;var $,b=this.effectsSequence.length;for($=0;$<b;$+=1)C=this.effectsSequence[$](C);this.setVValue(C),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function W(C,$,b){this.propType="shape",this.comp=C.comp,this.container=C,this.elem=C,this.data=$,this.k=!1,this.kf=!1,this._mdf=!1;var _=b===3?$.pt.k:$.ks.k;this.v=Ue.clone(_),this.pv=Ue.clone(this.v),this.localShapeCollection=Ve.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=f,this.effectsSequence=[]}function P(C){this.effectsSequence.push(C),this.container.addDynamicProperty(this)}W.prototype.interpolateShape=o,W.prototype.getValue=S,W.prototype.setVValue=g,W.prototype.addEffect=P;function Y(C,$,b){this.propType="shape",this.comp=C.comp,this.elem=C,this.container=C,this.offsetTime=C.data.st,this.keyframes=b===3?$.pt.k:$.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var _=this.keyframes[0].s[0].i.length;this.v=Ue.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,_),this.pv=Ue.clone(this.v),this.localShapeCollection=Ve.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=n,this.reset=f,this._caching={lastFrame:n,lastIndex:0},this.effectsSequence=[l.bind(this)]}Y.prototype.getValue=S,Y.prototype.interpolateShape=o,Y.prototype.setVValue=g,Y.prototype.addEffect=P;var Z=function(){var C=fr;function $(b,_){this.v=Ue.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Ve.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=_.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=At.getProp(b,_.p,1,0,this),this.s=At.getProp(b,_.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return $.prototype={reset:f,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var _=this.p.v[0],A=this.p.v[1],M=this.s.v[0]/2,j=this.s.v[1]/2,z=this.d!==3,lt=this.v;lt.v[0][0]=_,lt.v[0][1]=A-j,lt.v[1][0]=z?_+M:_-M,lt.v[1][1]=A,lt.v[2][0]=_,lt.v[2][1]=A+j,lt.v[3][0]=z?_-M:_+M,lt.v[3][1]=A,lt.i[0][0]=z?_-M*C:_+M*C,lt.i[0][1]=A-j,lt.i[1][0]=z?_+M:_-M,lt.i[1][1]=A-j*C,lt.i[2][0]=z?_+M*C:_-M*C,lt.i[2][1]=A+j,lt.i[3][0]=z?_-M:_+M,lt.i[3][1]=A+j*C,lt.o[0][0]=z?_+M*C:_-M*C,lt.o[0][1]=A-j,lt.o[1][0]=z?_+M:_-M,lt.o[1][1]=A+j*C,lt.o[2][0]=z?_-M*C:_+M*C,lt.o[2][1]=A+j,lt.o[3][0]=z?_-M:_+M,lt.o[3][1]=A-j*C}},Yt([ae],$),$}(),ot=function(){function C($,b){this.v=Ue.newElement(),this.v.setPathData(!0,0),this.elem=$,this.comp=$.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer($),b.sy===1?(this.ir=At.getProp($,b.ir,0,0,this),this.is=At.getProp($,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=At.getProp($,b.pt,0,0,this),this.p=At.getProp($,b.p,1,0,this),this.r=At.getProp($,b.r,0,fe,this),this.or=At.getProp($,b.or,0,0,this),this.os=At.getProp($,b.os,0,.01,this),this.localShapeCollection=Ve.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return C.prototype={reset:f,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,_=Math.PI*2/b,A=!0,M=this.or.v,j=this.ir.v,z=this.os.v,lt=this.is.v,Dt=2*Math.PI*M/(b*2),Ft=2*Math.PI*j/(b*2),mt,Qt,Jt,gt,K=-Math.PI/2;K+=this.r.v;var N=this.data.d===3?-1:1;for(this.v._length=0,mt=0;mt<b;mt+=1){Qt=A?M:j,Jt=A?z:lt,gt=A?Dt:Ft;var T=Qt*Math.cos(K),U=Qt*Math.sin(K),bt=T===0&&U===0?0:U/Math.sqrt(T*T+U*U),at=T===0&&U===0?0:-T/Math.sqrt(T*T+U*U);T+=+this.p.v[0],U+=+this.p.v[1],this.v.setTripleAt(T,U,T-bt*gt*Jt*N,U-at*gt*Jt*N,T+bt*gt*Jt*N,U+at*gt*Jt*N,mt,!0),A=!A,K+=_*N}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),_=Math.PI*2/b,A=this.or.v,M=this.os.v,j=2*Math.PI*A/(b*4),z,lt=-Math.PI*.5,Dt=this.data.d===3?-1:1;for(lt+=this.r.v,this.v._length=0,z=0;z<b;z+=1){var Ft=A*Math.cos(lt),mt=A*Math.sin(lt),Qt=Ft===0&&mt===0?0:mt/Math.sqrt(Ft*Ft+mt*mt),Jt=Ft===0&&mt===0?0:-Ft/Math.sqrt(Ft*Ft+mt*mt);Ft+=+this.p.v[0],mt+=+this.p.v[1],this.v.setTripleAt(Ft,mt,Ft-Qt*j*M*Dt,mt-Jt*j*M*Dt,Ft+Qt*j*M*Dt,mt+Jt*j*M*Dt,z,!0),lt+=_*Dt}this.paths.length=0,this.paths[0]=this.v}},Yt([ae],C),C}(),v=function(){function C($,b){this.v=Ue.newElement(),this.v.c=!0,this.localShapeCollection=Ve.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=$,this.comp=$.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer($),this.p=At.getProp($,b.p,1,0,this),this.s=At.getProp($,b.s,1,0,this),this.r=At.getProp($,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return C.prototype={convertRectToPath:function(){var b=this.p.v[0],_=this.p.v[1],A=this.s.v[0]/2,M=this.s.v[1]/2,j=Se(A,M,this.r.v),z=j*(1-fr);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+A,_-M+j,b+A,_-M+j,b+A,_-M+z,0,!0),this.v.setTripleAt(b+A,_+M-j,b+A,_+M-z,b+A,_+M-j,1,!0),j!==0?(this.v.setTripleAt(b+A-j,_+M,b+A-j,_+M,b+A-z,_+M,2,!0),this.v.setTripleAt(b-A+j,_+M,b-A+z,_+M,b-A+j,_+M,3,!0),this.v.setTripleAt(b-A,_+M-j,b-A,_+M-j,b-A,_+M-z,4,!0),this.v.setTripleAt(b-A,_-M+j,b-A,_-M+z,b-A,_-M+j,5,!0),this.v.setTripleAt(b-A+j,_-M,b-A+j,_-M,b-A+z,_-M,6,!0),this.v.setTripleAt(b+A-j,_-M,b+A-z,_-M,b+A-j,_-M,7,!0)):(this.v.setTripleAt(b-A,_+M,b-A+z,_+M,b-A,_+M,2),this.v.setTripleAt(b-A,_-M,b-A,_-M+z,b-A,_-M,3))):(this.v.setTripleAt(b+A,_-M+j,b+A,_-M+z,b+A,_-M+j,0,!0),j!==0?(this.v.setTripleAt(b+A-j,_-M,b+A-j,_-M,b+A-z,_-M,1,!0),this.v.setTripleAt(b-A+j,_-M,b-A+z,_-M,b-A+j,_-M,2,!0),this.v.setTripleAt(b-A,_-M+j,b-A,_-M+j,b-A,_-M+z,3,!0),this.v.setTripleAt(b-A,_+M-j,b-A,_+M-z,b-A,_+M-j,4,!0),this.v.setTripleAt(b-A+j,_+M,b-A+j,_+M,b-A+z,_+M,5,!0),this.v.setTripleAt(b+A-j,_+M,b+A-z,_+M,b+A-j,_+M,6,!0),this.v.setTripleAt(b+A,_+M-j,b+A,_+M-j,b+A,_+M-z,7,!0)):(this.v.setTripleAt(b-A,_-M,b-A+z,_-M,b-A,_-M,1,!0),this.v.setTripleAt(b-A,_+M,b-A,_+M-z,b-A,_+M,2,!0),this.v.setTripleAt(b+A,_+M,b+A-z,_+M,b+A,_+M,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:f},Yt([ae],C),C}();function R(C,$,b){var _;if(b===3||b===4){var A=b===3?$.pt:$.ks,M=A.k;M.length?_=new Y(C,$,b):_=new W(C,$,b)}else b===5?_=new v(C,$):b===6?_=new Z(C,$):b===7&&(_=new ot(C,$));return _.k&&C.addDynamicProperty(_),_}function k(){return W}function B(){return Y}var V={};return V.getShapeProp=R,V.getConstructorFunction=k,V.getKeyframedConstructorFunction=B,V}();/*!
|
|
1566
|
-
Transformation Matrix v2.0
|
|
1567
|
-
(c) Epistemex 2014-2015
|
|
1568
|
-
www.epistemex.com
|
|
1569
|
-
By Ken Fyrstenberg
|
|
1570
|
-
Contributions by leeoniya.
|
|
1571
|
-
License: MIT, header required.
|
|
1572
|
-
*/var Qe=function(){var n=Math.cos,o=Math.sin,l=Math.tan,f=Math.round;function p(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function g(N){if(N===0)return this;var T=n(N),U=o(N);return this._t(T,-U,0,0,U,T,0,0,0,0,1,0,0,0,0,1)}function S(N){if(N===0)return this;var T=n(N),U=o(N);return this._t(1,0,0,0,0,T,-U,0,0,U,T,0,0,0,0,1)}function W(N){if(N===0)return this;var T=n(N),U=o(N);return this._t(T,0,U,0,0,1,0,0,-U,0,T,0,0,0,0,1)}function P(N){if(N===0)return this;var T=n(N),U=o(N);return this._t(T,-U,0,0,U,T,0,0,0,0,1,0,0,0,0,1)}function Y(N,T){return this._t(1,T,N,1,0,0)}function Z(N,T){return this.shear(l(N),l(T))}function ot(N,T){var U=n(T),bt=o(T);return this._t(U,bt,0,0,-bt,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,l(N),1,0,0,0,0,1,0,0,0,0,1)._t(U,-bt,0,0,bt,U,0,0,0,0,1,0,0,0,0,1)}function v(N,T,U){return!U&&U!==0&&(U=1),N===1&&T===1&&U===1?this:this._t(N,0,0,0,0,T,0,0,0,0,U,0,0,0,0,1)}function R(N,T,U,bt,at,Xt,Oe,ke,Fr,ir,Cn,pn,tn,an,ln,Tn){return this.props[0]=N,this.props[1]=T,this.props[2]=U,this.props[3]=bt,this.props[4]=at,this.props[5]=Xt,this.props[6]=Oe,this.props[7]=ke,this.props[8]=Fr,this.props[9]=ir,this.props[10]=Cn,this.props[11]=pn,this.props[12]=tn,this.props[13]=an,this.props[14]=ln,this.props[15]=Tn,this}function k(N,T,U){return U=U||0,N!==0||T!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,N,T,U,1):this}function B(N,T,U,bt,at,Xt,Oe,ke,Fr,ir,Cn,pn,tn,an,ln,Tn){var Zt=this.props;if(N===1&&T===0&&U===0&&bt===0&&at===0&&Xt===1&&Oe===0&&ke===0&&Fr===0&&ir===0&&Cn===1&&pn===0)return Zt[12]=Zt[12]*N+Zt[15]*tn,Zt[13]=Zt[13]*Xt+Zt[15]*an,Zt[14]=Zt[14]*Cn+Zt[15]*ln,Zt[15]*=Tn,this._identityCalculated=!1,this;var kr=Zt[0],Un=Zt[1],li=Zt[2],Ai=Zt[3],Qn=Zt[4],ki=Zt[5],$i=Zt[6],lr=Zt[7],jr=Zt[8],Yi=Zt[9],Xn=Zt[10],Ei=Zt[11],Jn=Zt[12],Ti=Zt[13],Ki=Zt[14],Ds=Zt[15];return Zt[0]=kr*N+Un*at+li*Fr+Ai*tn,Zt[1]=kr*T+Un*Xt+li*ir+Ai*an,Zt[2]=kr*U+Un*Oe+li*Cn+Ai*ln,Zt[3]=kr*bt+Un*ke+li*pn+Ai*Tn,Zt[4]=Qn*N+ki*at+$i*Fr+lr*tn,Zt[5]=Qn*T+ki*Xt+$i*ir+lr*an,Zt[6]=Qn*U+ki*Oe+$i*Cn+lr*ln,Zt[7]=Qn*bt+ki*ke+$i*pn+lr*Tn,Zt[8]=jr*N+Yi*at+Xn*Fr+Ei*tn,Zt[9]=jr*T+Yi*Xt+Xn*ir+Ei*an,Zt[10]=jr*U+Yi*Oe+Xn*Cn+Ei*ln,Zt[11]=jr*bt+Yi*ke+Xn*pn+Ei*Tn,Zt[12]=Jn*N+Ti*at+Ki*Fr+Ds*tn,Zt[13]=Jn*T+Ti*Xt+Ki*ir+Ds*an,Zt[14]=Jn*U+Ti*Oe+Ki*Cn+Ds*ln,Zt[15]=Jn*bt+Ti*ke+Ki*pn+Ds*Tn,this._identityCalculated=!1,this}function V(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function C(N){for(var T=0;T<16;){if(N.props[T]!==this.props[T])return!1;T+=1}return!0}function $(N){var T;for(T=0;T<16;T+=1)N.props[T]=this.props[T];return N}function b(N){var T;for(T=0;T<16;T+=1)this.props[T]=N[T]}function _(N,T,U){return{x:N*this.props[0]+T*this.props[4]+U*this.props[8]+this.props[12],y:N*this.props[1]+T*this.props[5]+U*this.props[9]+this.props[13],z:N*this.props[2]+T*this.props[6]+U*this.props[10]+this.props[14]}}function A(N,T,U){return N*this.props[0]+T*this.props[4]+U*this.props[8]+this.props[12]}function M(N,T,U){return N*this.props[1]+T*this.props[5]+U*this.props[9]+this.props[13]}function j(N,T,U){return N*this.props[2]+T*this.props[6]+U*this.props[10]+this.props[14]}function z(){var N=this.props[0]*this.props[5]-this.props[1]*this.props[4],T=this.props[5]/N,U=-this.props[1]/N,bt=-this.props[4]/N,at=this.props[0]/N,Xt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/N,Oe=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/N,ke=new Qe;return ke.props[0]=T,ke.props[1]=U,ke.props[4]=bt,ke.props[5]=at,ke.props[12]=Xt,ke.props[13]=Oe,ke}function lt(N){var T=this.getInverseMatrix();return T.applyToPointArray(N[0],N[1],N[2]||0)}function Dt(N){var T,U=N.length,bt=[];for(T=0;T<U;T+=1)bt[T]=lt(N[T]);return bt}function Ft(N,T,U){var bt=Nt("float32",6);if(this.isIdentity())bt[0]=N[0],bt[1]=N[1],bt[2]=T[0],bt[3]=T[1],bt[4]=U[0],bt[5]=U[1];else{var at=this.props[0],Xt=this.props[1],Oe=this.props[4],ke=this.props[5],Fr=this.props[12],ir=this.props[13];bt[0]=N[0]*at+N[1]*Oe+Fr,bt[1]=N[0]*Xt+N[1]*ke+ir,bt[2]=T[0]*at+T[1]*Oe+Fr,bt[3]=T[0]*Xt+T[1]*ke+ir,bt[4]=U[0]*at+U[1]*Oe+Fr,bt[5]=U[0]*Xt+U[1]*ke+ir}return bt}function mt(N,T,U){var bt;return this.isIdentity()?bt=[N,T,U]:bt=[N*this.props[0]+T*this.props[4]+U*this.props[8]+this.props[12],N*this.props[1]+T*this.props[5]+U*this.props[9]+this.props[13],N*this.props[2]+T*this.props[6]+U*this.props[10]+this.props[14]],bt}function Qt(N,T){if(this.isIdentity())return N+","+T;var U=this.props;return Math.round((N*U[0]+T*U[4]+U[12])*100)/100+","+Math.round((N*U[1]+T*U[5]+U[13])*100)/100}function Jt(){for(var N=0,T=this.props,U="matrix3d(",bt=1e4;N<16;)U+=f(T[N]*bt)/bt,U+=N===15?")":",",N+=1;return U}function gt(N){var T=1e4;return N<1e-6&&N>0||N>-1e-6&&N<0?f(N*T)/T:N}function K(){var N=this.props,T=gt(N[0]),U=gt(N[1]),bt=gt(N[4]),at=gt(N[5]),Xt=gt(N[12]),Oe=gt(N[13]);return"matrix("+T+","+U+","+bt+","+at+","+Xt+","+Oe+")"}return function(){this.reset=p,this.rotate=g,this.rotateX=S,this.rotateY=W,this.rotateZ=P,this.skew=Z,this.skewFromAxis=ot,this.shear=Y,this.scale=v,this.setTransform=R,this.translate=k,this.transform=B,this.applyToPoint=_,this.applyToX=A,this.applyToY=M,this.applyToZ=j,this.applyToPointArray=mt,this.applyToTriplePoints=Ft,this.applyToPointStringified=Qt,this.toCSS=Jt,this.to2dCSS=K,this.clone=$,this.cloneFromProps=b,this.equals=C,this.inversePoints=Dt,this.inversePoint=lt,this.getInverseMatrix=z,this._t=this.transform,this.isIdentity=V,this._identity=!0,this._identityCalculated=!1,this.props=Nt("float32",16),this.reset()}}();function Rn(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Rn=function(l){return typeof l}:Rn=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Rn(n)}var _e={};function Xs(n){se(n)}function is(){Re.searchAnimations()}function Js(n){pe(n)}function Di(n){fn(n)}function ii(n){return Re.loadAnimation(n)}function ss(n){if(typeof n=="string")switch(n){case"high":Qr(200);break;default:case"medium":Qr(50);break;case"low":Qr(10);break}else!isNaN(n)&&n>1&&Qr(n)}function os(){return typeof navigator<"u"}function Ts(n,o){n==="expressions"&&nn(o)}function Ps(n){switch(n){case"propertyFactory":return At;case"shapePropertyFactory":return dr;case"matrix":return Qe;default:return null}}_e.play=Re.play,_e.pause=Re.pause,_e.setLocationHref=Xs,_e.togglePause=Re.togglePause,_e.setSpeed=Re.setSpeed,_e.setDirection=Re.setDirection,_e.stop=Re.stop,_e.searchAnimations=is,_e.registerAnimation=Re.registerAnimation,_e.loadAnimation=ii,_e.setSubframeRendering=Js,_e.resize=Re.resize,_e.goToAndStop=Re.goToAndStop,_e.destroy=Re.destroy,_e.setQuality=ss,_e.inBrowser=os,_e.installPlugin=Ts,_e.freeze=Re.freeze,_e.unfreeze=Re.unfreeze,_e.setVolume=Re.setVolume,_e.mute=Re.mute,_e.unmute=Re.unmute,_e.getRegisteredAnimations=Re.getRegisteredAnimations,_e.useWebWorker=jt,_e.setIDPrefix=Di,_e.__getFactory=Ps,_e.version="5.10.2";function Zs(){document.readyState==="complete"&&(clearInterval(Os),is())}function Rs(n){for(var o=Ni.split("&"),l=0;l<o.length;l+=1){var f=o[l].split("=");if(decodeURIComponent(f[0])==n)return decodeURIComponent(f[1])}return null}var Ni="";{var as=document.getElementsByTagName("script"),wi=as.length-1,Is=as[wi]||{src:""};Ni=Is.src?Is.src.replace(/^[^\?]+\??/,""):"",Rs("renderer")}var Os=setInterval(Zs,100);try{Rn(dt)!=="object"&&(window.bodymovin=_e)}catch{}var En=function(){var n={},o={};n.registerModifier=l,n.getModifier=f;function l(p,g){o[p]||(o[p]=g)}function f(p,g,S){return new o[p](g,S)}return n}();function mn(){}mn.prototype.initModifierProperties=function(){},mn.prototype.addShapeToModifier=function(){},mn.prototype.addShape=function(n){if(!this.closed){n.sh.container.addDynamicProperty(n.sh);var o={shape:n.sh,data:n,localShapeCollection:Ve.newShapeCollection()};this.shapes.push(o),this.addShapeToModifier(o),this._isAnimated&&n.setAsAnimated()}},mn.prototype.init=function(n,o){this.shapes=[],this.elem=n,this.initDynamicPropertyContainer(n),this.initModifierProperties(n,o),this.frameId=zt,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},mn.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},Yt([ae],mn);function I(){}Yt([mn],I),I.prototype.initModifierProperties=function(n,o){this.s=At.getProp(n,o.s,0,.01,this),this.e=At.getProp(n,o.e,0,.01,this),this.o=At.getProp(n,o.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=o.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},I.prototype.addShapeToModifier=function(n){n.pathsData=[]},I.prototype.calculateShapeEdges=function(n,o,l,f,p){var g=[];o<=1?g.push({s:n,e:o}):n>=1?g.push({s:n-1,e:o-1}):(g.push({s:n,e:1}),g.push({s:0,e:o-1}));var S=[],W,P=g.length,Y;for(W=0;W<P;W+=1)if(Y=g[W],!(Y.e*p<f||Y.s*p>f+l)){var Z,ot;Y.s*p<=f?Z=0:Z=(Y.s*p-f)/l,Y.e*p>=f+l?ot=1:ot=(Y.e*p-f)/l,S.push([Z,ot])}return S.length||S.push([0,0]),S},I.prototype.releasePathsData=function(n){var o,l=n.length;for(o=0;o<l;o+=1)_t.release(n[o]);return n.length=0,n},I.prototype.processShapes=function(n){var o,l;if(this._mdf||n){var f=this.o.v%360/360;if(f<0&&(f+=1),this.s.v>1?o=1+f:this.s.v<0?o=0+f:o=this.s.v+f,this.e.v>1?l=1+f:this.e.v<0?l=0+f:l=this.e.v+f,o>l){var p=o;o=l,l=p}o=Math.round(o*1e4)*1e-4,l=Math.round(l*1e4)*1e-4,this.sValue=o,this.eValue=l}else o=this.sValue,l=this.eValue;var g,S,W=this.shapes.length,P,Y,Z,ot,v,R=0;if(l===o)for(S=0;S<W;S+=1)this.shapes[S].localShapeCollection.releaseShapes(),this.shapes[S].shape._mdf=!0,this.shapes[S].shape.paths=this.shapes[S].localShapeCollection,this._mdf&&(this.shapes[S].pathsData.length=0);else if(l===1&&o===0||l===0&&o===1){if(this._mdf)for(S=0;S<W;S+=1)this.shapes[S].pathsData.length=0,this.shapes[S].shape._mdf=!0}else{var k=[],B,V;for(S=0;S<W;S+=1)if(B=this.shapes[S],!B.shape._mdf&&!this._mdf&&!n&&this.m!==2)B.shape.paths=B.localShapeCollection;else{if(g=B.shape.paths,Y=g._length,v=0,!B.shape._mdf&&B.pathsData.length)v=B.totalShapeLength;else{for(Z=this.releasePathsData(B.pathsData),P=0;P<Y;P+=1)ot=Kt.getSegmentsLength(g.shapes[P]),Z.push(ot),v+=ot.totalLength;B.totalShapeLength=v,B.pathsData=Z}R+=v,B.shape._mdf=!0}var C=o,$=l,b=0,_;for(S=W-1;S>=0;S-=1)if(B=this.shapes[S],B.shape._mdf){for(V=B.localShapeCollection,V.releaseShapes(),this.m===2&&W>1?(_=this.calculateShapeEdges(o,l,B.totalShapeLength,b,R),b+=B.totalShapeLength):_=[[C,$]],Y=_.length,P=0;P<Y;P+=1){C=_[P][0],$=_[P][1],k.length=0,$<=1?k.push({s:B.totalShapeLength*C,e:B.totalShapeLength*$}):C>=1?k.push({s:B.totalShapeLength*(C-1),e:B.totalShapeLength*($-1)}):(k.push({s:B.totalShapeLength*C,e:B.totalShapeLength}),k.push({s:0,e:B.totalShapeLength*($-1)}));var A=this.addShapes(B,k[0]);if(k[0].s!==k[0].e){if(k.length>1){var M=B.shape.paths.shapes[B.shape.paths._length-1];if(M.c){var j=A.pop();this.addPaths(A,V),A=this.addShapes(B,k[1],j)}else this.addPaths(A,V),A=this.addShapes(B,k[1])}this.addPaths(A,V)}}B.shape.paths=V}}},I.prototype.addPaths=function(n,o){var l,f=n.length;for(l=0;l<f;l+=1)o.addShape(n[l])},I.prototype.addSegment=function(n,o,l,f,p,g,S){p.setXYAt(o[0],o[1],"o",g),p.setXYAt(l[0],l[1],"i",g+1),S&&p.setXYAt(n[0],n[1],"v",g),p.setXYAt(f[0],f[1],"v",g+1)},I.prototype.addSegmentFromArray=function(n,o,l,f){o.setXYAt(n[1],n[5],"o",l),o.setXYAt(n[2],n[6],"i",l+1),f&&o.setXYAt(n[0],n[4],"v",l),o.setXYAt(n[3],n[7],"v",l+1)},I.prototype.addShapes=function(n,o,l){var f=n.pathsData,p=n.shape.paths.shapes,g,S=n.shape.paths._length,W,P,Y=0,Z,ot,v,R,k=[],B,V=!0;for(l?(ot=l._length,B=l._length):(l=Ue.newElement(),ot=0,B=0),k.push(l),g=0;g<S;g+=1){for(v=f[g].lengths,l.c=p[g].c,P=p[g].c?v.length:v.length+1,W=1;W<P;W+=1)if(Z=v[W-1],Y+Z.addedLength<o.s)Y+=Z.addedLength,l.c=!1;else if(Y>o.e){l.c=!1;break}else o.s<=Y&&o.e>=Y+Z.addedLength?(this.addSegment(p[g].v[W-1],p[g].o[W-1],p[g].i[W],p[g].v[W],l,ot,V),V=!1):(R=Kt.getNewSegment(p[g].v[W-1],p[g].v[W],p[g].o[W-1],p[g].i[W],(o.s-Y)/Z.addedLength,(o.e-Y)/Z.addedLength,v[W-1]),this.addSegmentFromArray(R,l,ot,V),V=!1,l.c=!1),Y+=Z.addedLength,ot+=1;if(p[g].c&&v.length){if(Z=v[W-1],Y<=o.e){var C=v[W-1].addedLength;o.s<=Y&&o.e>=Y+C?(this.addSegment(p[g].v[W-1],p[g].o[W-1],p[g].i[0],p[g].v[0],l,ot,V),V=!1):(R=Kt.getNewSegment(p[g].v[W-1],p[g].v[0],p[g].o[W-1],p[g].i[0],(o.s-Y)/C,(o.e-Y)/C,v[W-1]),this.addSegmentFromArray(R,l,ot,V),V=!1,l.c=!1)}else l.c=!1;Y+=Z.addedLength,ot+=1}if(l._length&&(l.setXYAt(l.v[B][0],l.v[B][1],"i",B),l.setXYAt(l.v[l._length-1][0],l.v[l._length-1][1],"o",l._length-1)),Y>o.e)break;g<S-1&&(l=Ue.newElement(),V=!0,k.push(l),ot=0)}return k};function rt(){}Yt([mn],rt),rt.prototype.initModifierProperties=function(n,o){this.getValue=this.processKeys,this.amount=At.getProp(n,o.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},rt.prototype.processPath=function(n,o){var l=o/100,f=[0,0],p=n._length,g=0;for(g=0;g<p;g+=1)f[0]+=n.v[g][0],f[1]+=n.v[g][1];f[0]/=p,f[1]/=p;var S=Ue.newElement();S.c=n.c;var W,P,Y,Z,ot,v;for(g=0;g<p;g+=1)W=n.v[g][0]+(f[0]-n.v[g][0])*l,P=n.v[g][1]+(f[1]-n.v[g][1])*l,Y=n.o[g][0]+(f[0]-n.o[g][0])*-l,Z=n.o[g][1]+(f[1]-n.o[g][1])*-l,ot=n.i[g][0]+(f[0]-n.i[g][0])*-l,v=n.i[g][1]+(f[1]-n.i[g][1])*-l,S.setTripleAt(W,P,Y,Z,ot,v,g);return S},rt.prototype.processShapes=function(n){var o,l,f=this.shapes.length,p,g,S=this.amount.v;if(S!==0){var W,P;for(l=0;l<f;l+=1){if(W=this.shapes[l],P=W.localShapeCollection,!(!W.shape._mdf&&!this._mdf&&!n))for(P.releaseShapes(),W.shape._mdf=!0,o=W.shape.paths.shapes,g=W.shape.paths._length,p=0;p<g;p+=1)P.addShape(this.processPath(o[p],S));W.shape.paths=W.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var ht=function(){var n=[0,0];function o(P){var Y=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||Y,this.a&&P.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&P.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&P.skewFromAxis(-this.sk.v,this.sa.v),this.r?P.rotate(-this.r.v):P.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?P.translate(this.px.v,this.py.v,-this.pz.v):P.translate(this.px.v,this.py.v,0):P.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function l(P){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||P){var Y;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var Z,ot;if(Y=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(Z=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/Y,0),ot=this.p.getValueAtTime(this.p.keyframes[0].t/Y,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(Z=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/Y,0),ot=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/Y,0)):(Z=this.p.pv,ot=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/Y,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){Z=[],ot=[];var v=this.px,R=this.py;v._caching.lastFrame+v.offsetTime<=v.keyframes[0].t?(Z[0]=v.getValueAtTime((v.keyframes[0].t+.01)/Y,0),Z[1]=R.getValueAtTime((R.keyframes[0].t+.01)/Y,0),ot[0]=v.getValueAtTime(v.keyframes[0].t/Y,0),ot[1]=R.getValueAtTime(R.keyframes[0].t/Y,0)):v._caching.lastFrame+v.offsetTime>=v.keyframes[v.keyframes.length-1].t?(Z[0]=v.getValueAtTime(v.keyframes[v.keyframes.length-1].t/Y,0),Z[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/Y,0),ot[0]=v.getValueAtTime((v.keyframes[v.keyframes.length-1].t-.01)/Y,0),ot[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/Y,0)):(Z=[v.pv,R.pv],ot[0]=v.getValueAtTime((v._caching.lastFrame+v.offsetTime-.01)/Y,v.offsetTime),ot[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/Y,R.offsetTime))}else ot=n,Z=ot;this.v.rotate(-Math.atan2(Z[1]-ot[1],Z[0]-ot[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function f(){if(!this.a.k)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function p(){}function g(P){this._addDynamicProperty(P),this.elem.addDynamicProperty(P),this._isDirty=!0}function S(P,Y,Z){if(this.elem=P,this.frameId=-1,this.propType="transform",this.data=Y,this.v=new Qe,this.pre=new Qe,this.appliedTransformations=0,this.initDynamicPropertyContainer(Z||P),Y.p&&Y.p.s?(this.px=At.getProp(P,Y.p.x,0,0,this),this.py=At.getProp(P,Y.p.y,0,0,this),Y.p.z&&(this.pz=At.getProp(P,Y.p.z,0,0,this))):this.p=At.getProp(P,Y.p||{k:[0,0,0]},1,0,this),Y.rx){if(this.rx=At.getProp(P,Y.rx,0,fe,this),this.ry=At.getProp(P,Y.ry,0,fe,this),this.rz=At.getProp(P,Y.rz,0,fe,this),Y.or.k[0].ti){var ot,v=Y.or.k.length;for(ot=0;ot<v;ot+=1)Y.or.k[ot].to=null,Y.or.k[ot].ti=null}this.or=At.getProp(P,Y.or,1,fe,this),this.or.sh=!0}else this.r=At.getProp(P,Y.r||{k:0},0,fe,this);Y.sk&&(this.sk=At.getProp(P,Y.sk,0,fe,this),this.sa=At.getProp(P,Y.sa,0,fe,this)),this.a=At.getProp(P,Y.a||{k:[0,0,0]},1,0,this),this.s=At.getProp(P,Y.s||{k:[100,100,100]},1,.01,this),Y.o?this.o=At.getProp(P,Y.o,0,.01,P):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}S.prototype={applyToMatrix:o,getValue:l,precalculateMatrix:f,autoOrient:p},Yt([ae],S),S.prototype.addDynamicProperty=g,S.prototype._addDynamicProperty=ae.prototype.addDynamicProperty;function W(P,Y,Z){return new S(P,Y,Z)}return{getTransformProperty:W}}();function xt(){}Yt([mn],xt),xt.prototype.initModifierProperties=function(n,o){this.getValue=this.processKeys,this.c=At.getProp(n,o.c,0,null,this),this.o=At.getProp(n,o.o,0,null,this),this.tr=ht.getTransformProperty(n,o.tr,this),this.so=At.getProp(n,o.tr.so,0,.01,this),this.eo=At.getProp(n,o.tr.eo,0,.01,this),this.data=o,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Qe,this.rMatrix=new Qe,this.sMatrix=new Qe,this.tMatrix=new Qe,this.matrix=new Qe},xt.prototype.applyTransforms=function(n,o,l,f,p,g){var S=g?-1:1,W=f.s.v[0]+(1-f.s.v[0])*(1-p),P=f.s.v[1]+(1-f.s.v[1])*(1-p);n.translate(f.p.v[0]*S*p,f.p.v[1]*S*p,f.p.v[2]),o.translate(-f.a.v[0],-f.a.v[1],f.a.v[2]),o.rotate(-f.r.v*S*p),o.translate(f.a.v[0],f.a.v[1],f.a.v[2]),l.translate(-f.a.v[0],-f.a.v[1],f.a.v[2]),l.scale(g?1/W:W,g?1/P:P),l.translate(f.a.v[0],f.a.v[1],f.a.v[2])},xt.prototype.init=function(n,o,l,f){for(this.elem=n,this.arr=o,this.pos=l,this.elemsData=f,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(n),this.initModifierProperties(n,o[l]);l>0;)l-=1,this._elements.unshift(o[l]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},xt.prototype.resetElements=function(n){var o,l=n.length;for(o=0;o<l;o+=1)n[o]._processed=!1,n[o].ty==="gr"&&this.resetElements(n[o].it)},xt.prototype.cloneElements=function(n){var o=JSON.parse(JSON.stringify(n));return this.resetElements(o),o},xt.prototype.changeGroupRender=function(n,o){var l,f=n.length;for(l=0;l<f;l+=1)n[l]._render=o,n[l].ty==="gr"&&this.changeGroupRender(n[l].it,o)},xt.prototype.processShapes=function(n){var o,l,f,p,g,S=!1;if(this._mdf||n){var W=Math.ceil(this.c.v);if(this._groups.length<W){for(;this._groups.length<W;){var P={it:this.cloneElements(this._elements),ty:"gr"};P.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,P),this._groups.splice(0,0,P),this._currentCopies+=1}this.elem.reloadShapes(),S=!0}g=0;var Y;for(f=0;f<=this._groups.length-1;f+=1){if(Y=g<W,this._groups[f]._render=Y,this.changeGroupRender(this._groups[f].it,Y),!Y){var Z=this.elemsData[f].it,ot=Z[Z.length-1];ot.transform.op.v!==0?(ot.transform.op._mdf=!0,ot.transform.op.v=0):ot.transform.op._mdf=!1}g+=1}this._currentCopies=W;var v=this.o.v,R=v%1,k=v>0?Math.floor(v):Math.ceil(v),B=this.pMatrix.props,V=this.rMatrix.props,C=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var $=0;if(v>0){for(;$<k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),$+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),$+=R)}else if(v<0){for(;$>k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),$-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),$-=R)}f=this.data.m===1?0:this._currentCopies-1,p=this.data.m===1?1:-1,g=this._currentCopies;for(var b,_;g;){if(o=this.elemsData[f].it,l=o[o.length-1].transform.mProps.v.props,_=l.length,o[o.length-1].transform.mProps._mdf=!0,o[o.length-1].transform.op._mdf=!0,o[o.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(f/(this._currentCopies-1)),$!==0){for((f!==0&&p===1||f!==this._currentCopies-1&&p===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(B[0],B[1],B[2],B[3],B[4],B[5],B[6],B[7],B[8],B[9],B[10],B[11],B[12],B[13],B[14],B[15]),b=0;b<_;b+=1)l[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<_;b+=1)l[b]=this.matrix.props[b];$+=1,g-=1,f+=p}}else for(g=this._currentCopies,f=0,p=1;g;)o=this.elemsData[f].it,l=o[o.length-1].transform.mProps.v.props,o[o.length-1].transform.mProps._mdf=!1,o[o.length-1].transform.op._mdf=!1,g-=1,f+=p;return S},xt.prototype.addShape=function(){};function Wt(){}Yt([mn],Wt),Wt.prototype.initModifierProperties=function(n,o){this.getValue=this.processKeys,this.rd=At.getProp(n,o.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Wt.prototype.processPath=function(n,o){var l=Ue.newElement();l.c=n.c;var f,p=n._length,g,S,W,P,Y,Z,ot=0,v,R,k,B,V,C;for(f=0;f<p;f+=1)g=n.v[f],W=n.o[f],S=n.i[f],g[0]===W[0]&&g[1]===W[1]&&g[0]===S[0]&&g[1]===S[1]?(f===0||f===p-1)&&!n.c?(l.setTripleAt(g[0],g[1],W[0],W[1],S[0],S[1],ot),ot+=1):(f===0?P=n.v[p-1]:P=n.v[f-1],Y=Math.sqrt(Math.pow(g[0]-P[0],2)+Math.pow(g[1]-P[1],2)),Z=Y?Math.min(Y/2,o)/Y:0,V=g[0]+(P[0]-g[0])*Z,v=V,C=g[1]-(g[1]-P[1])*Z,R=C,k=v-(v-g[0])*fr,B=R-(R-g[1])*fr,l.setTripleAt(v,R,k,B,V,C,ot),ot+=1,f===p-1?P=n.v[0]:P=n.v[f+1],Y=Math.sqrt(Math.pow(g[0]-P[0],2)+Math.pow(g[1]-P[1],2)),Z=Y?Math.min(Y/2,o)/Y:0,k=g[0]+(P[0]-g[0])*Z,v=k,B=g[1]+(P[1]-g[1])*Z,R=B,V=v-(v-g[0])*fr,C=R-(R-g[1])*fr,l.setTripleAt(v,R,k,B,V,C,ot),ot+=1):(l.setTripleAt(n.v[f][0],n.v[f][1],n.o[f][0],n.o[f][1],n.i[f][0],n.i[f][1],ot),ot+=1);return l},Wt.prototype.processShapes=function(n){var o,l,f=this.shapes.length,p,g,S=this.rd.v;if(S!==0){var W,P;for(l=0;l<f;l+=1){if(W=this.shapes[l],P=W.localShapeCollection,!(!W.shape._mdf&&!this._mdf&&!n))for(P.releaseShapes(),W.shape._mdf=!0,o=W.shape.paths.shapes,g=W.shape.paths._length,p=0;p<g;p+=1)P.addShape(this.processPath(o[p],S));W.shape.paths=W.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function je(n,o){return Math.abs(n-o)*1e5<=Math.min(Math.abs(n),Math.abs(o))}function he(n){return Math.abs(n)<=1e-5}function be(n,o,l){return n*(1-l)+o*l}function Ze(n,o,l){return[be(n[0],o[0],l),be(n[1],o[1],l)]}function Ir(n,o,l){if(n===0)return[];var f=o*o-4*n*l;if(f<0)return[];var p=-o/(2*n);if(f===0)return[p];var g=Math.sqrt(f)/(2*n);return[p-g,p+g]}function hn(n,o,l,f){return[-n+3*o-3*l+f,3*n-6*o+3*l,-3*n+3*o,n]}function dn(n){return new or(n,n,n,n,!1)}function or(n,o,l,f,p){p&&xi(n,o)&&(o=Ze(n,f,1/3)),p&&xi(l,f)&&(l=Ze(n,f,2/3));var g=hn(n[0],o[0],l[0],f[0]),S=hn(n[1],o[1],l[1],f[1]);this.a=[g[0],S[0]],this.b=[g[1],S[1]],this.c=[g[2],S[2]],this.d=[g[3],S[3]],this.points=[n,o,l,f]}or.prototype.point=function(n){return[((this.a[0]*n+this.b[0])*n+this.c[0])*n+this.d[0],((this.a[1]*n+this.b[1])*n+this.c[1])*n+this.d[1]]},or.prototype.derivative=function(n){return[(3*n*this.a[0]+2*this.b[0])*n+this.c[0],(3*n*this.a[1]+2*this.b[1])*n+this.c[1]]},or.prototype.tangentAngle=function(n){var o=this.derivative(n);return Math.atan2(o[1],o[0])},or.prototype.normalAngle=function(n){var o=this.derivative(n);return Math.atan2(o[0],o[1])},or.prototype.inflectionPoints=function(){var n=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(he(n))return[];var o=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/n,l=o*o-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/n;if(l<0)return[];var f=Math.sqrt(l);return he(f)?f>0&&f<1?[o]:[]:[o-f,o+f].filter(function(p){return p>0&&p<1})},or.prototype.split=function(n){if(n<=0)return[dn(this.points[0]),this];if(n>=1)return[this,dn(this.points[this.points.length-1])];var o=Ze(this.points[0],this.points[1],n),l=Ze(this.points[1],this.points[2],n),f=Ze(this.points[2],this.points[3],n),p=Ze(o,l,n),g=Ze(l,f,n),S=Ze(p,g,n);return[new or(this.points[0],o,p,S,!0),new or(S,g,f,this.points[3],!0)]};function bn(n,o){var l=n.points[0][o],f=n.points[n.points.length-1][o];if(l>f){var p=f;f=l,l=p}for(var g=Ir(3*n.a[o],2*n.b[o],n.c[o]),S=0;S<g.length;S+=1)if(g[S]>0&&g[S]<1){var W=n.point(g[S])[o];W<l?l=W:W>f&&(f=W)}return{min:l,max:f}}or.prototype.bounds=function(){return{x:bn(this,0),y:bn(this,1)}},or.prototype.boundingBox=function(){var n=this.bounds();return{left:n.x.min,right:n.x.max,top:n.y.min,bottom:n.y.max,width:n.x.max-n.x.min,height:n.y.max-n.y.min,cx:(n.x.max+n.x.min)/2,cy:(n.y.max+n.y.min)/2}};function _i(n,o,l){var f=n.boundingBox();return{cx:f.cx,cy:f.cy,width:f.width,height:f.height,bez:n,t:(o+l)/2,t1:o,t2:l}}function Vi(n){var o=n.bez.split(.5);return[_i(o[0],n.t1,n.t),_i(o[1],n.t,n.t2)]}function ls(n,o){return Math.abs(n.cx-o.cx)*2<n.width+o.width&&Math.abs(n.cy-o.cy)*2<n.height+o.height}function Nn(n,o,l,f,p,g){if(ls(n,o)){if(l>=g||n.width<=f&&n.height<=f&&o.width<=f&&o.height<=f){p.push([n.t,o.t]);return}var S=Vi(n),W=Vi(o);Nn(S[0],W[0],l+1,f,p,g),Nn(S[0],W[1],l+1,f,p,g),Nn(S[1],W[0],l+1,f,p,g),Nn(S[1],W[1],l+1,f,p,g)}}or.prototype.intersections=function(n,o,l){o===void 0&&(o=2),l===void 0&&(l=7);var f=[];return Nn(_i(this,0,1),_i(n,0,1),0,o,f,l),f},or.shapeSegment=function(n,o){var l=(o+1)%n.length();return new or(n.v[o],n.o[o],n.i[l],n.v[l],!0)},or.shapeSegmentInverted=function(n,o){var l=(o+1)%n.length();return new or(n.v[l],n.i[l],n.o[o],n.v[o],!0)};function to(n,o){return[n[1]*o[2]-n[2]*o[1],n[2]*o[0]-n[0]*o[2],n[0]*o[1]-n[1]*o[0]]}function Bi(n,o,l,f){var p=[n[0],n[1],1],g=[o[0],o[1],1],S=[l[0],l[1],1],W=[f[0],f[1],1],P=to(to(p,g),to(S,W));return he(P[2])?null:[P[0]/P[2],P[1]/P[2]]}function zi(n,o,l){return[n[0]+Math.cos(o)*l,n[1]-Math.sin(o)*l]}function cs(n,o){return Math.hypot(n[0]-o[0],n[1]-o[1])}function xi(n,o){return je(n[0],o[0])&&je(n[1],o[1])}function us(){}Yt([mn],us),us.prototype.initModifierProperties=function(n,o){this.getValue=this.processKeys,this.amplitude=At.getProp(n,o.s,0,null,this),this.frequency=At.getProp(n,o.r,0,null,this),this.pointsType=At.getProp(n,o.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Ms(n,o,l,f,p,g,S){var W=l-Math.PI/2,P=l+Math.PI/2,Y=o[0]+Math.cos(l)*f*p,Z=o[1]-Math.sin(l)*f*p;n.setTripleAt(Y,Z,Y+Math.cos(W)*g,Z-Math.sin(W)*g,Y+Math.cos(P)*S,Z-Math.sin(P)*S,n.length())}function To(n,o){var l=[o[0]-n[0],o[1]-n[1]],f=-Math.PI*.5,p=[Math.cos(f)*l[0]-Math.sin(f)*l[1],Math.sin(f)*l[0]+Math.cos(f)*l[1]];return p}function fa(n,o){var l=o===0?n.length()-1:o-1,f=(o+1)%n.length(),p=n.v[l],g=n.v[f],S=To(p,g);return Math.atan2(0,1)-Math.atan2(S[1],S[0])}function fs(n,o,l,f,p,g,S){var W=fa(o,l),P=o.v[l%o._length],Y=o.v[l===0?o._length-1:l-1],Z=o.v[(l+1)%o._length],ot=g===2?Math.sqrt(Math.pow(P[0]-Y[0],2)+Math.pow(P[1]-Y[1],2)):0,v=g===2?Math.sqrt(Math.pow(P[0]-Z[0],2)+Math.pow(P[1]-Z[1],2)):0;Ms(n,o.v[l%o._length],W,S,f,v/((p+1)*2),ot/((p+1)*2))}function ha(n,o,l,f,p,g){for(var S=0;S<f;S+=1){var W=(S+1)/(f+1),P=p===2?Math.sqrt(Math.pow(o.points[3][0]-o.points[0][0],2)+Math.pow(o.points[3][1]-o.points[0][1],2)):0,Y=o.normalAngle(W),Z=o.point(W);Ms(n,Z,Y,g,l,P/((f+1)*2),P/((f+1)*2)),g=-g}return g}us.prototype.processPath=function(n,o,l,f){var p=n._length,g=Ue.newElement();if(g.c=n.c,n.c||(p-=1),p===0)return g;var S=-1,W=or.shapeSegment(n,0);fs(g,n,0,o,l,f,S);for(var P=0;P<p;P+=1)S=ha(g,W,o,l,f,-S),P===p-1&&!n.c?W=null:W=or.shapeSegment(n,(P+1)%p),fs(g,n,P+1,o,l,f,S);return g},us.prototype.processShapes=function(n){var o,l,f=this.shapes.length,p,g,S=this.amplitude.v,W=Math.max(0,Math.round(this.frequency.v)),P=this.pointsType.v;if(S!==0){var Y,Z;for(l=0;l<f;l+=1){if(Y=this.shapes[l],Z=Y.localShapeCollection,!(!Y.shape._mdf&&!this._mdf&&!n))for(Z.releaseShapes(),Y.shape._mdf=!0,o=Y.shape.paths.shapes,g=Y.shape.paths._length,p=0;p<g;p+=1)Z.addShape(this.processPath(o[p],S,W,P));Y.shape.paths=Y.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function hs(n,o,l){var f=Math.atan2(o[0]-n[0],o[1]-n[1]);return[zi(n,f,l),zi(o,f,l)]}function ar(n,o){var l,f,p,g,S,W,P;P=hs(n.points[0],n.points[1],o),l=P[0],f=P[1],P=hs(n.points[1],n.points[2],o),p=P[0],g=P[1],P=hs(n.points[2],n.points[3],o),S=P[0],W=P[1];var Y=Bi(l,f,p,g);Y===null&&(Y=f);var Z=Bi(S,W,p,g);return Z===null&&(Z=S),new or(l,Y,Z,W)}function gr(n,o,l,f,p){var g=o.points[3],S=l.points[0];if(f===3||xi(g,S))return g;if(f===2){var W=-o.tangentAngle(1),P=-l.tangentAngle(0)+Math.PI,Y=Bi(g,zi(g,W+Math.PI/2,100),S,zi(S,W+Math.PI/2,100)),Z=Y?cs(Y,g):cs(g,S)/2,ot=zi(g,W,2*Z*fr);return n.setXYAt(ot[0],ot[1],"o",n.length()-1),ot=zi(S,P,2*Z*fr),n.setTripleAt(S[0],S[1],S[0],S[1],ot[0],ot[1],n.length()),S}var v=xi(g,o.points[2])?o.points[0]:o.points[2],R=xi(S,l.points[1])?l.points[3]:l.points[1],k=Bi(v,g,S,R);return k&&cs(k,g)<p?(n.setTripleAt(k[0],k[1],k[0],k[1],k[0],k[1],n.length()),k):g}function F(n,o){var l=n.intersections(o);return l.length&&je(l[0][0],1)&&l.shift(),l.length?l[0]:null}function st(n,o){var l=n.slice(),f=o.slice(),p=F(n[n.length-1],o[0]);return p&&(l[n.length-1]=n[n.length-1].split(p[0])[0],f[0]=o[0].split(p[1])[1]),n.length>1&&o.length>1&&(p=F(n[0],o[o.length-1]),p)?[[n[0].split(p[0])[0]],[o[o.length-1].split(p[1])[1]]]:[l,f]}function $t(n){for(var o,l=1;l<n.length;l+=1)o=st(n[l-1],n[l]),n[l-1]=o[0],n[l]=o[1];return n.length>1&&(o=st(n[n.length-1],n[0]),n[n.length-1]=o[0],n[0]=o[1]),n}function re(n,o){var l=n.inflectionPoints(),f,p,g,S;if(l.length===0)return[ar(n,o)];if(l.length===1||je(l[1],1))return g=n.split(l[0]),f=g[0],p=g[1],[ar(f,o),ar(p,o)];g=n.split(l[0]),f=g[0];var W=(l[1]-l[0])/(1-l[0]);return g=g[1].split(W),S=g[0],p=g[1],[ar(f,o),ar(S,o),ar(p,o)]}function Lr(){}Yt([mn],Lr),Lr.prototype.initModifierProperties=function(n,o){this.getValue=this.processKeys,this.amount=At.getProp(n,o.a,0,null,this),this.miterLimit=At.getProp(n,o.ml,0,null,this),this.lineJoin=o.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Lr.prototype.processPath=function(n,o,l,f){var p=Ue.newElement();p.c=n.c;var g=n.length();n.c||(g-=1);var S,W,P,Y=[];for(S=0;S<g;S+=1)P=or.shapeSegment(n,S),Y.push(re(P,o));if(!n.c)for(S=g-1;S>=0;S-=1)P=or.shapeSegmentInverted(n,S),Y.push(re(P,o));Y=$t(Y);var Z=null,ot=null;for(S=0;S<Y.length;S+=1){var v=Y[S];for(ot&&(Z=gr(p,ot,v[0],l,f)),ot=v[v.length-1],W=0;W<v.length;W+=1)P=v[W],Z&&xi(P.points[0],Z)?p.setXYAt(P.points[1][0],P.points[1][1],"o",p.length()-1):p.setTripleAt(P.points[0][0],P.points[0][1],P.points[1][0],P.points[1][1],P.points[0][0],P.points[0][1],p.length()),p.setTripleAt(P.points[3][0],P.points[3][1],P.points[3][0],P.points[3][1],P.points[2][0],P.points[2][1],p.length()),Z=P.points[3]}return Y.length&&gr(p,ot,Y[0][0],l,f),p},Lr.prototype.processShapes=function(n){var o,l,f=this.shapes.length,p,g,S=this.amount.v,W=this.miterLimit.v,P=this.lineJoin;if(S!==0){var Y,Z;for(l=0;l<f;l+=1){if(Y=this.shapes[l],Z=Y.localShapeCollection,!(!Y.shape._mdf&&!this._mdf&&!n))for(Z.releaseShapes(),Y.shape._mdf=!0,o=Y.shape.paths.shapes,g=Y.shape.paths._length,p=0;p<g;p+=1)Z.addShape(this.processPath(o[p],S,P,W));Y.shape.paths=Y.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function yn(n){for(var o=n.fStyle?n.fStyle.split(" "):[],l="normal",f="normal",p=o.length,g,S=0;S<p;S+=1)switch(g=o[S].toLowerCase(),g){case"italic":f="italic";break;case"bold":l="700";break;case"black":l="900";break;case"medium":l="500";break;case"regular":case"normal":l="400";break;case"light":case"thin":l="200";break}return{style:f,weight:n.fWeight||l}}var wn=function(){var n=5e3,o={w:0,size:0,shapes:[],data:{shapes:[]}},l=[];l=l.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var f=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],p=[65039,8205];function g(_){var A=_.split(","),M,j=A.length,z=[];for(M=0;M<j;M+=1)A[M]!=="sans-serif"&&A[M]!=="monospace"&&z.push(A[M]);return z.join(",")}function S(_,A){var M=De("span");M.setAttribute("aria-hidden",!0),M.style.fontFamily=A;var j=De("span");j.innerText="giItT1WQy@!-/#",M.style.position="absolute",M.style.left="-10000px",M.style.top="-10000px",M.style.fontSize="300px",M.style.fontVariant="normal",M.style.fontStyle="normal",M.style.fontWeight="normal",M.style.letterSpacing="0",M.appendChild(j),document.body.appendChild(M);var z=j.offsetWidth;return j.style.fontFamily=g(_)+", "+A,{node:j,w:z,parent:M}}function W(){var _,A=this.fonts.length,M,j,z=A;for(_=0;_<A;_+=1)this.fonts[_].loaded?z-=1:this.fonts[_].fOrigin==="n"||this.fonts[_].origin===0?this.fonts[_].loaded=!0:(M=this.fonts[_].monoCase.node,j=this.fonts[_].monoCase.w,M.offsetWidth!==j?(z-=1,this.fonts[_].loaded=!0):(M=this.fonts[_].sansCase.node,j=this.fonts[_].sansCase.w,M.offsetWidth!==j&&(z-=1,this.fonts[_].loaded=!0)),this.fonts[_].loaded&&(this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent),this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));z!==0&&Date.now()-this.initTime<n?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function P(_,A){var M=document.body&&A?"svg":"canvas",j,z=yn(_);if(M==="svg"){var lt=Ht("text");lt.style.fontSize="100px",lt.setAttribute("font-family",_.fFamily),lt.setAttribute("font-style",z.style),lt.setAttribute("font-weight",z.weight),lt.textContent="1",_.fClass?(lt.style.fontFamily="inherit",lt.setAttribute("class",_.fClass)):lt.style.fontFamily=_.fFamily,A.appendChild(lt),j=lt}else{var Dt=new OffscreenCanvas(500,500).getContext("2d");Dt.font=z.style+" "+z.weight+" 100px "+_.fFamily,j=Dt}function Ft(mt){return M==="svg"?(j.textContent=mt,j.getComputedTextLength()):j.measureText(mt).width}return{measureText:Ft}}function Y(_,A){if(!_){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_.list;return}if(!document.body){this.isLoaded=!0,_.list.forEach(function(K){K.helper=P(K),K.cache={}}),this.fonts=_.list;return}var M=_.list,j,z=M.length,lt=z;for(j=0;j<z;j+=1){var Dt=!0,Ft,mt;if(M[j].loaded=!1,M[j].monoCase=S(M[j].fFamily,"monospace"),M[j].sansCase=S(M[j].fFamily,"sans-serif"),!M[j].fPath)M[j].loaded=!0,lt-=1;else if(M[j].fOrigin==="p"||M[j].origin===3){if(Ft=document.querySelectorAll('style[f-forigin="p"][f-family="'+M[j].fFamily+'"], style[f-origin="3"][f-family="'+M[j].fFamily+'"]'),Ft.length>0&&(Dt=!1),Dt){var Qt=De("style");Qt.setAttribute("f-forigin",M[j].fOrigin),Qt.setAttribute("f-origin",M[j].origin),Qt.setAttribute("f-family",M[j].fFamily),Qt.type="text/css",Qt.innerText="@font-face {font-family: "+M[j].fFamily+"; font-style: normal; src: url('"+M[j].fPath+"');}",A.appendChild(Qt)}}else if(M[j].fOrigin==="g"||M[j].origin===1){for(Ft=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),mt=0;mt<Ft.length;mt+=1)Ft[mt].href.indexOf(M[j].fPath)!==-1&&(Dt=!1);if(Dt){var Jt=De("link");Jt.setAttribute("f-forigin",M[j].fOrigin),Jt.setAttribute("f-origin",M[j].origin),Jt.type="text/css",Jt.rel="stylesheet",Jt.href=M[j].fPath,document.body.appendChild(Jt)}}else if(M[j].fOrigin==="t"||M[j].origin===2){for(Ft=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),mt=0;mt<Ft.length;mt+=1)M[j].fPath===Ft[mt].src&&(Dt=!1);if(Dt){var gt=De("link");gt.setAttribute("f-forigin",M[j].fOrigin),gt.setAttribute("f-origin",M[j].origin),gt.setAttribute("rel","stylesheet"),gt.setAttribute("href",M[j].fPath),A.appendChild(gt)}}M[j].helper=P(M[j],A),M[j].cache={},this.fonts.push(M[j])}lt===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function Z(_){if(_){this.chars||(this.chars=[]);var A,M=_.length,j,z=this.chars.length,lt;for(A=0;A<M;A+=1){for(j=0,lt=!1;j<z;)this.chars[j].style===_[A].style&&this.chars[j].fFamily===_[A].fFamily&&this.chars[j].ch===_[A].ch&&(lt=!0),j+=1;lt||(this.chars.push(_[A]),z+=1)}}}function ot(_,A,M){for(var j=0,z=this.chars.length;j<z;){if(this.chars[j].ch===_&&this.chars[j].style===A&&this.chars[j].fFamily===M)return this.chars[j];j+=1}return(typeof _=="string"&&_.charCodeAt(0)!==13||!_)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_,A,M)),o}function v(_,A,M){var j=this.getFontByName(A),z=_.charCodeAt(0);if(!j.cache[z+1]){var lt=j.helper;if(_===" "){var Dt=lt.measureText("|"+_+"|"),Ft=lt.measureText("||");j.cache[z+1]=(Dt-Ft)/100}else j.cache[z+1]=lt.measureText(_)/100}return j.cache[z+1]*M}function R(_){for(var A=0,M=this.fonts.length;A<M;){if(this.fonts[A].fName===_)return this.fonts[A];A+=1}return this.fonts[0]}function k(_,A){var M=_.toString(16)+A.toString(16);return f.indexOf(M)!==-1}function B(_,A){return A?_===p[0]&&A===p[1]:_===p[1]}function V(_){return l.indexOf(_)!==-1}function C(){this.isLoaded=!0}var $=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};$.isModifier=k,$.isZeroWidthJoiner=B,$.isCombinedCharacter=V;var b={addChars:Z,addFonts:Y,getCharData:ot,getFontByName:R,measureText:v,checkLoadedFonts:W,setIsLoaded:C};return $.prototype=b,$}();function on(){}on.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(o){this.renderableComponents.indexOf(o)===-1&&this.renderableComponents.push(o)},removeRenderableComponent:function(o){this.renderableComponents.indexOf(o)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(o),1)},prepareRenderableFrame:function(o){this.checkLayerLimits(o)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(o){this.data.ip-this.data.st<=o&&this.data.op-this.data.st>o?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var o,l=this.renderableComponents.length;for(o=0;o<l;o+=1)this.renderableComponents[o].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var zr=function(){var n={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(o){return n[o]||""}}();function si(n,o,l){this.p=At.getProp(o,n.v,0,0,l)}function oi(n,o,l){this.p=At.getProp(o,n.v,0,0,l)}function eo(n,o,l){this.p=At.getProp(o,n.v,1,0,l)}function Ls(n,o,l){this.p=At.getProp(o,n.v,1,0,l)}function _n(n,o,l){this.p=At.getProp(o,n.v,0,0,l)}function ds(n,o,l){this.p=At.getProp(o,n.v,0,0,l)}function ul(n,o,l){this.p=At.getProp(o,n.v,0,0,l)}function fl(){this.p={}}function da(n,o){var l=n.ef||[];this.effectElements=[];var f,p=l.length,g;for(f=0;f<p;f+=1)g=new Fs(l[f],o),this.effectElements.push(g)}function Fs(n,o){this.init(n,o)}Yt([ae],Fs),Fs.prototype.getValue=Fs.prototype.iterateDynamicProperties,Fs.prototype.init=function(n,o){this.data=n,this.effectElements=[],this.initDynamicPropertyContainer(o);var l,f=this.data.ef.length,p,g=this.data.ef;for(l=0;l<f;l+=1){switch(p=null,g[l].ty){case 0:p=new si(g[l],o,this);break;case 1:p=new oi(g[l],o,this);break;case 2:p=new eo(g[l],o,this);break;case 3:p=new Ls(g[l],o,this);break;case 4:case 7:p=new ul(g[l],o,this);break;case 10:p=new _n(g[l],o,this);break;case 11:p=new ds(g[l],o,this);break;case 5:p=new da(g[l],o);break;default:p=new fl(g[l]);break}p&&this.effectElements.push(p)}};function Si(){}Si.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var o=0,l=this.data.masksProperties.length;o<l;){if(this.data.masksProperties[o].mode!=="n"&&this.data.masksProperties[o].cl!==!1)return!0;o+=1}return!1},initExpressions:function(){},setBlendMode:function(){var o=zr(this.data.bm),l=this.baseElement||this.layerElement;l.style["mix-blend-mode"]=o},initBaseData:function(o,l,f){this.globalData=l,this.comp=f,this.data=o,this.layerId=Je(),this.data.sr||(this.data.sr=1),this.effectsManager=new da(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Jr(){}Jr.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(o,l){var f,p=this.dynamicProperties.length;for(f=0;f<p;f+=1)(l||this._isParent&&this.dynamicProperties[f].propType==="transform")&&(this.dynamicProperties[f].getValue(),this.dynamicProperties[f]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(o){this.dynamicProperties.indexOf(o)===-1&&this.dynamicProperties.push(o)}};function Wi(n,o,l){this.initFrame(),this.initRenderable(),this.assetData=o.getAssetData(n.refId),this.footageData=o.imageLoader.getAsset(this.assetData),this.initBaseData(n,o,l)}Wi.prototype.prepareFrame=function(){},Yt([on,Si,Jr],Wi),Wi.prototype.getBaseElement=function(){return null},Wi.prototype.renderFrame=function(){},Wi.prototype.destroy=function(){},Wi.prototype.initExpressions=function(){},Wi.prototype.getFootageData=function(){return this.footageData};function Tr(n,o,l){this.initFrame(),this.initRenderable(),this.assetData=o.getAssetData(n.refId),this.initBaseData(n,o,l),this._isPlaying=!1,this._canPlay=!1;var f=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(f),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=n.tm?At.getProp(this,n.tm,0,o.frameRate,this):{_placeholder:!0},this.lv=At.getProp(this,n.au&&n.au.lv?n.au.lv:{k:[100]},1,.01,this)}Tr.prototype.prepareFrame=function(n){if(this.prepareRenderableFrame(n,!0),this.prepareProperties(n,!0),this.tm._placeholder)this._currentTime=n/this.data.sr;else{var o=this.tm.v;this._currentTime=o}this._volume=this.lv.v[0];var l=this._volume*this._volumeMultiplier;this._previousVolume!==l&&(this._previousVolume=l,this.audio.volume(l))},Yt([on,Si,Jr],Tr),Tr.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Tr.prototype.show=function(){},Tr.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Tr.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Tr.prototype.resume=function(){this._canPlay=!0},Tr.prototype.setRate=function(n){this.audio.rate(n)},Tr.prototype.volume=function(n){this._volumeMultiplier=n,this._previousVolume=n*this._volume,this.audio.volume(this._previousVolume)},Tr.prototype.getBaseElement=function(){return null},Tr.prototype.destroy=function(){},Tr.prototype.sourceRectAtTime=function(){},Tr.prototype.initExpressions=function(){};function xn(){}xn.prototype.checkLayers=function(n){var o,l=this.layers.length,f;for(this.completeLayers=!0,o=l-1;o>=0;o-=1)this.elements[o]||(f=this.layers[o],f.ip-f.st<=n-this.layers[o].st&&f.op-f.st>n-this.layers[o].st&&this.buildItem(o)),this.completeLayers=this.elements[o]?this.completeLayers:!1;this.checkPendingElements()},xn.prototype.createItem=function(n){switch(n.ty){case 2:return this.createImage(n);case 0:return this.createComp(n);case 1:return this.createSolid(n);case 3:return this.createNull(n);case 4:return this.createShape(n);case 5:return this.createText(n);case 6:return this.createAudio(n);case 13:return this.createCamera(n);case 15:return this.createFootage(n);default:return this.createNull(n)}},xn.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},xn.prototype.createAudio=function(n){return new Tr(n,this.globalData,this)},xn.prototype.createFootage=function(n){return new Wi(n,this.globalData,this)},xn.prototype.buildAllItems=function(){var n,o=this.layers.length;for(n=0;n<o;n+=1)this.buildItem(n);this.checkPendingElements()},xn.prototype.includeLayers=function(n){this.completeLayers=!1;var o,l=n.length,f,p=this.layers.length;for(o=0;o<l;o+=1)for(f=0;f<p;){if(this.layers[f].id===n[o].id){this.layers[f]=n[o];break}f+=1}},xn.prototype.setProjectInterface=function(n){this.globalData.projectInterface=n},xn.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},xn.prototype.buildElementParenting=function(n,o,l){for(var f=this.elements,p=this.layers,g=0,S=p.length;g<S;)p[g].ind==o&&(!f[g]||f[g]===!0?(this.buildItem(g),this.addPendingElement(n)):(l.push(f[g]),f[g].setAsParent(),p[g].parent!==void 0?this.buildElementParenting(n,p[g].parent,l):n.setHierarchy(l))),g+=1},xn.prototype.addPendingElement=function(n){this.pendingElements.push(n)},xn.prototype.searchExtraCompositions=function(n){var o,l=n.length;for(o=0;o<l;o+=1)if(n[o].xt){var f=this.createComp(n[o]);f.initExpressions(),this.globalData.projectInterface.registerComposition(f)}},xn.prototype.getElementById=function(n){var o,l=this.elements.length;for(o=0;o<l;o+=1)if(this.elements[o].data.ind===n)return this.elements[o];return null},xn.prototype.getElementByPath=function(n){var o=n.shift(),l;if(typeof o=="number")l=this.elements[o];else{var f,p=this.elements.length;for(f=0;f<p;f+=1)if(this.elements[f].data.nm===o){l=this.elements[f];break}}return n.length===0?l:l.getElementByPath(n)},xn.prototype.setupGlobalData=function(n,o){this.globalData.fontManager=new wn,this.globalData.fontManager.addChars(n.chars),this.globalData.fontManager.addFonts(n.fonts,o),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=n.fr,this.globalData.nm=n.nm,this.globalData.compSize={w:n.w,h:n.h}};function ps(){}ps.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?ht.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Qe},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var o,l=this.finalTransform.mat,f=0,p=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;f<p;){if(this.hierarchy[f].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}f+=1}if(this.finalTransform._matMdf)for(o=this.finalTransform.mProp.v.props,l.cloneFromProps(o),f=0;f<p;f+=1)o=this.hierarchy[f].finalTransform.mProp.v.props,l.transform(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],o[8],o[9],o[10],o[11],o[12],o[13],o[14],o[15])}},globalToLocal:function(o){var l=[];l.push(this.finalTransform);for(var f=!0,p=this.comp;f;)p.finalTransform?(p.data.hasMask&&l.splice(0,0,p.finalTransform),p=p.comp):f=!1;var g,S=l.length,W;for(g=0;g<S;g+=1)W=l[g].mat.applyToPointArray(0,0,0),o=[o[0]-W[0],o[1]-W[1],0];return o},mHelper:new Qe};function In(n,o,l){this.data=n,this.element=o,this.globalData=l,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var f=this.globalData.defs,p,g=this.masksProperties?this.masksProperties.length:0;this.viewData=te(g),this.solidPath="";var S,W=this.masksProperties,P=0,Y=[],Z,ot,v=Je(),R,k,B,V,C="clipPath",$="clip-path";for(p=0;p<g;p+=1)if((W[p].mode!=="a"&&W[p].mode!=="n"||W[p].inv||W[p].o.k!==100||W[p].o.x)&&(C="mask",$="mask"),(W[p].mode==="s"||W[p].mode==="i")&&P===0?(R=Ht("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),Y.push(R)):R=null,S=Ht("path"),W[p].mode==="n")this.viewData[p]={op:At.getProp(this.element,W[p].o,0,.01,this.element),prop:dr.getShapeProp(this.element,W[p],3),elem:S,lastPath:""},f.appendChild(S);else{P+=1,S.setAttribute("fill",W[p].mode==="s"?"#000000":"#ffffff"),S.setAttribute("clip-rule","nonzero");var b;if(W[p].x.k!==0?(C="mask",$="mask",V=At.getProp(this.element,W[p].x,0,null,this.element),b=Je(),k=Ht("filter"),k.setAttribute("id",b),B=Ht("feMorphology"),B.setAttribute("operator","erode"),B.setAttribute("in","SourceGraphic"),B.setAttribute("radius","0"),k.appendChild(B),f.appendChild(k),S.setAttribute("stroke",W[p].mode==="s"?"#000000":"#ffffff")):(B=null,V=null),this.storedData[p]={elem:S,x:V,expan:B,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},W[p].mode==="i"){ot=Y.length;var _=Ht("g");for(Z=0;Z<ot;Z+=1)_.appendChild(Y[Z]);var A=Ht("mask");A.setAttribute("mask-type","alpha"),A.setAttribute("id",v+"_"+P),A.appendChild(S),f.appendChild(A),_.setAttribute("mask","url("+Gt()+"#"+v+"_"+P+")"),Y.length=0,Y.push(_)}else Y.push(S);W[p].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[p]={elem:S,lastPath:"",op:At.getProp(this.element,W[p].o,0,.01,this.element),prop:dr.getShapeProp(this.element,W[p],3),invRect:R},this.viewData[p].prop.k||this.drawPath(W[p],this.viewData[p].prop.v,this.viewData[p])}for(this.maskElement=Ht(C),g=Y.length,p=0;p<g;p+=1)this.maskElement.appendChild(Y[p]);P>0&&(this.maskElement.setAttribute("id",v),this.element.maskedElement.setAttribute($,"url("+Gt()+"#"+v+")"),f.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}In.prototype.getMaskProperty=function(n){return this.viewData[n].prop},In.prototype.renderFrame=function(n){var o=this.element.finalTransform.mat,l,f=this.masksProperties.length;for(l=0;l<f;l+=1)if((this.viewData[l].prop._mdf||n)&&this.drawPath(this.masksProperties[l],this.viewData[l].prop.v,this.viewData[l]),(this.viewData[l].op._mdf||n)&&this.viewData[l].elem.setAttribute("fill-opacity",this.viewData[l].op.v),this.masksProperties[l].mode!=="n"&&(this.viewData[l].invRect&&(this.element.finalTransform.mProp._mdf||n)&&this.viewData[l].invRect.setAttribute("transform",o.getInverseMatrix().to2dCSS()),this.storedData[l].x&&(this.storedData[l].x._mdf||n))){var p=this.storedData[l].expan;this.storedData[l].x.v<0?(this.storedData[l].lastOperator!=="erode"&&(this.storedData[l].lastOperator="erode",this.storedData[l].elem.setAttribute("filter","url("+Gt()+"#"+this.storedData[l].filterId+")")),p.setAttribute("radius",-this.storedData[l].x.v)):(this.storedData[l].lastOperator!=="dilate"&&(this.storedData[l].lastOperator="dilate",this.storedData[l].elem.setAttribute("filter",null)),this.storedData[l].elem.setAttribute("stroke-width",this.storedData[l].x.v*2))}},In.prototype.getMaskelement=function(){return this.maskElement},In.prototype.createLayerSolidPath=function(){var n="M0,0 ";return n+=" h"+this.globalData.compSize.w,n+=" v"+this.globalData.compSize.h,n+=" h-"+this.globalData.compSize.w,n+=" v-"+this.globalData.compSize.h+" ",n},In.prototype.drawPath=function(n,o,l){var f=" M"+o.v[0][0]+","+o.v[0][1],p,g;for(g=o._length,p=1;p<g;p+=1)f+=" C"+o.o[p-1][0]+","+o.o[p-1][1]+" "+o.i[p][0]+","+o.i[p][1]+" "+o.v[p][0]+","+o.v[p][1];if(o.c&&g>1&&(f+=" C"+o.o[p-1][0]+","+o.o[p-1][1]+" "+o.i[0][0]+","+o.i[0][1]+" "+o.v[0][0]+","+o.v[0][1]),l.lastPath!==f){var S="";l.elem&&(o.c&&(S=n.inv?this.solidPath+f:f),l.elem.setAttribute("d",S)),l.lastPath=f}},In.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Ui=function(){var n={};n.createFilter=o,n.createAlphaToLuminanceFilter=l;function o(f,p){var g=Ht("filter");return g.setAttribute("id",f),p!==!0&&(g.setAttribute("filterUnits","objectBoundingBox"),g.setAttribute("x","0%"),g.setAttribute("y","0%"),g.setAttribute("width","100%"),g.setAttribute("height","100%")),g}function l(){var f=Ht("feColorMatrix");return f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","sRGB"),f.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),f}return n}(),Po=function(){var n={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(n.maskType=!1),/firefox/i.test(navigator.userAgent)&&(n.svgLumaHidden=!1),n}(),Ar={},Ci="filter_result_";function Ro(n){var o,l="SourceGraphic",f=n.data.ef?n.data.ef.length:0,p=Je(),g=Ui.createFilter(p,!0),S=0;this.filters=[];var W;for(o=0;o<f;o+=1){W=null;var P=n.data.ef[o].ty;if(Ar[P]){var Y=Ar[P].effect;W=new Y(g,n.effectsManager.effectElements[o],n,Ci+S,l),l=Ci+S,Ar[P].countsAsEffect&&(S+=1)}W&&this.filters.push(W)}S&&(n.globalData.defs.appendChild(g),n.layerElement.setAttribute("filter","url("+Gt()+"#"+p+")")),this.filters.length&&n.addRenderableComponent(this)}Ro.prototype.renderFrame=function(n){var o,l=this.filters.length;for(o=0;o<l;o+=1)this.filters[o].renderFrame(n)};function ro(){}ro.prototype={initRendererElement:function(){this.layerElement=Ht("g")},createContainerElements:function(){this.matteElement=Ht("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var o=null;if(this.data.td){this.matteMasks={};var l=Ht("g");l.setAttribute("id",this.layerId),l.appendChild(this.layerElement),o=l,this.globalData.defs.appendChild(l)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),o=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var f=Ht("clipPath"),p=Ht("path");p.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var g=Je();if(f.setAttribute("id",g),f.appendChild(p),this.globalData.defs.appendChild(f),this.checkMasks()){var S=Ht("g");S.setAttribute("clip-path","url("+Gt()+"#"+g+")"),S.appendChild(this.layerElement),this.transformedElement=S,o?o.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+Gt()+"#"+g+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new In(this.data,this,this.globalData),this.renderableEffectsManager=new Ro(this)},getMatte:function(o){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[o]){var l=this.layerId+"_"+o,f,p,g,S;if(o===1||o===3){var W=Ht("mask");W.setAttribute("id",l),W.setAttribute("mask-type",o===3?"luminance":"alpha"),g=Ht("use"),g.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),W.appendChild(g),this.globalData.defs.appendChild(W),!Po.maskType&&o===1&&(W.setAttribute("mask-type","luminance"),f=Je(),p=Ui.createFilter(f),this.globalData.defs.appendChild(p),p.appendChild(Ui.createAlphaToLuminanceFilter()),S=Ht("g"),S.appendChild(g),W.appendChild(S),S.setAttribute("filter","url("+Gt()+"#"+f+")"))}else if(o===2){var P=Ht("mask");P.setAttribute("id",l),P.setAttribute("mask-type","alpha");var Y=Ht("g");P.appendChild(Y),f=Je(),p=Ui.createFilter(f);var Z=Ht("feComponentTransfer");Z.setAttribute("in","SourceGraphic"),p.appendChild(Z);var ot=Ht("feFuncA");ot.setAttribute("type","table"),ot.setAttribute("tableValues","1.0 0.0"),Z.appendChild(ot),this.globalData.defs.appendChild(p);var v=Ht("rect");v.setAttribute("width",this.comp.data.w),v.setAttribute("height",this.comp.data.h),v.setAttribute("x","0"),v.setAttribute("y","0"),v.setAttribute("fill","#ffffff"),v.setAttribute("opacity","0"),Y.setAttribute("filter","url("+Gt()+"#"+f+")"),Y.appendChild(v),g=Ht("use"),g.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),Y.appendChild(g),Po.maskType||(P.setAttribute("mask-type","luminance"),p.appendChild(Ui.createAlphaToLuminanceFilter()),S=Ht("g"),Y.appendChild(v),S.appendChild(this.layerElement),Y.appendChild(S)),this.globalData.defs.appendChild(P)}this.matteMasks[o]=l}return this.matteMasks[o]},setMatte:function(o){this.matteElement&&this.matteElement.setAttribute("mask","url("+Gt()+"#"+o+")")}};function qi(){}qi.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(o){this.hierarchy=o},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function no(){}(function(){var n={initElement:function(l,f,p){this.initFrame(),this.initBaseData(l,f,p),this.initTransform(l,f,p),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var l=this.baseElement||this.layerElement;l.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var l=this.baseElement||this.layerElement;l.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(l){this._mdf=!1,this.prepareRenderableFrame(l),this.prepareProperties(l,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};Yt([on,er(n)],no)})();function io(n,o,l){this.assetData=o.getAssetData(n.refId),this.initElement(n,o,l),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}Yt([Si,ps,ro,qi,Jr,no],io),io.prototype.createContent=function(){var n=this.globalData.getAssetsPath(this.assetData);this.innerElem=Ht("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this.layerElement.appendChild(this.innerElem)},io.prototype.sourceRectAtTime=function(){return this.sourceRect};function Pc(n,o){this.elem=n,this.pos=o}function pa(){}pa.prototype={addShapeToModifiers:function(o){var l,f=this.shapeModifiers.length;for(l=0;l<f;l+=1)this.shapeModifiers[l].addShape(o)},isShapeInAnimatedModifiers:function(o){for(var l=0,f=this.shapeModifiers.length;l<f;)if(this.shapeModifiers[l].isAnimatedWithShape(o))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var o,l=this.shapes.length;for(o=0;o<l;o+=1)this.shapes[o].sh.reset();l=this.shapeModifiers.length;var f;for(o=l-1;o>=0&&(f=this.shapeModifiers[o].processShapes(this._isFirstFrame),!f);o-=1);}},searchProcessedElement:function(o){for(var l=this.processedElements,f=0,p=l.length;f<p;){if(l[f].elem===o)return l[f].pos;f+=1}return 0},addProcessedElement:function(o,l){for(var f=this.processedElements,p=f.length;p;)if(p-=1,f[p].elem===o){f[p].pos=l;return}f.push(new Pc(o,l))},prepareFrame:function(o){this.prepareRenderableFrame(o),this.prepareProperties(o,this.isInRange)}};var so={1:"butt",2:"round",3:"square"},gs={1:"miter",2:"round",3:"bevel"};function hl(n,o,l){this.caches=[],this.styles=[],this.transformers=n,this.lStr="",this.sh=l,this.lvl=o,this._isAnimated=!!l.k;for(var f=0,p=n.length;f<p;){if(n[f].mProps.dynamicProperties.length){this._isAnimated=!0;break}f+=1}}hl.prototype.setAsAnimated=function(){this._isAnimated=!0};function ga(n,o){this.data=n,this.type=n.ty,this.d="",this.lvl=o,this._mdf=!1,this.closed=n.hd===!0,this.pElem=Ht("path"),this.msElem=null}ga.prototype.reset=function(){this.d="",this._mdf=!1};function oo(n,o,l,f){this.elem=n,this.frameId=-1,this.dataProps=te(o.length),this.renderer=l,this.k=!1,this.dashStr="",this.dashArray=Nt("float32",o.length?o.length-1:0),this.dashoffset=Nt("float32",1),this.initDynamicPropertyContainer(f);var p,g=o.length||0,S;for(p=0;p<g;p+=1)S=At.getProp(n,o[p].v,0,0,this),this.k=S.k||this.k,this.dataProps[p]={n:o[p].n,p:S};this.k||this.getValue(!0),this._isAnimated=this.k}oo.prototype.getValue=function(n){if(!(this.elem.globalData.frameId===this.frameId&&!n)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||n,this._mdf)){var o=0,l=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),o=0;o<l;o+=1)this.dataProps[o].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[o].p.v:this.dashArray[o]=this.dataProps[o].p.v:this.dashoffset[0]=this.dataProps[o].p.v}},Yt([ae],oo);function Io(n,o,l){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.o=At.getProp(n,o.o,0,.01,this),this.w=At.getProp(n,o.w,0,null,this),this.d=new oo(n,o.d||{},"svg",this),this.c=At.getProp(n,o.c,1,255,this),this.style=l,this._isAnimated=!!this._isAnimated}Yt([ae],Io);function Oo(n,o,l){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.o=At.getProp(n,o.o,0,.01,this),this.c=At.getProp(n,o.c,1,255,this),this.style=l}Yt([ae],Oo);function va(n,o,l){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.style=l}Yt([ae],va);function ao(n,o,l){this.data=o,this.c=Nt("uint8c",o.p*4);var f=o.k.k[0].s?o.k.k[0].s.length-o.p*4:o.k.k.length-o.p*4;this.o=Nt("float32",f),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=f,this.initDynamicPropertyContainer(l),this.prop=At.getProp(n,o.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ao.prototype.comparePoints=function(n,o){for(var l=0,f=this.o.length/2,p;l<f;){if(p=Math.abs(n[l*4]-n[o*4+l*2]),p>.01)return!1;l+=1}return!0},ao.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var n=0,o=this.data.k.k.length;n<o;){if(!this.comparePoints(this.data.k.k[n].s,this.data.p))return!1;n+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ao.prototype.getValue=function(n){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||n){var o,l=this.data.p*4,f,p;for(o=0;o<l;o+=1)f=o%4===0?100:255,p=Math.round(this.prop.v[o]*f),this.c[o]!==p&&(this.c[o]=p,this._cmdf=!n);if(this.o.length)for(l=this.prop.v.length,o=this.data.p*4;o<l;o+=1)f=o%2===0?100:1,p=o%2===0?Math.round(this.prop.v[o]*100):this.prop.v[o],this.o[o-this.data.p*4]!==p&&(this.o[o-this.data.p*4]=p,this._omdf=!n);this._mdf=!n}},Yt([ae],ao);function Gi(n,o,l){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.initGradientData(n,o,l)}Gi.prototype.initGradientData=function(n,o,l){this.o=At.getProp(n,o.o,0,.01,this),this.s=At.getProp(n,o.s,1,null,this),this.e=At.getProp(n,o.e,1,null,this),this.h=At.getProp(n,o.h||{k:0},0,.01,this),this.a=At.getProp(n,o.a||{k:0},0,fe,this),this.g=new ao(n,o.g,this),this.style=l,this.stops=[],this.setGradientData(l.pElem,o),this.setGradientOpacity(o,l),this._isAnimated=!!this._isAnimated},Gi.prototype.setGradientData=function(n,o){var l=Je(),f=Ht(o.t===1?"linearGradient":"radialGradient");f.setAttribute("id",l),f.setAttribute("spreadMethod","pad"),f.setAttribute("gradientUnits","userSpaceOnUse");var p=[],g,S,W;for(W=o.g.p*4,S=0;S<W;S+=4)g=Ht("stop"),f.appendChild(g),p.push(g);n.setAttribute(o.ty==="gf"?"fill":"stroke","url("+Gt()+"#"+l+")"),this.gf=f,this.cst=p},Gi.prototype.setGradientOpacity=function(n,o){if(this.g._hasOpacity&&!this.g._collapsable){var l,f,p,g=Ht("mask"),S=Ht("path");g.appendChild(S);var W=Je(),P=Je();g.setAttribute("id",P);var Y=Ht(n.t===1?"linearGradient":"radialGradient");Y.setAttribute("id",W),Y.setAttribute("spreadMethod","pad"),Y.setAttribute("gradientUnits","userSpaceOnUse"),p=n.g.k.k[0].s?n.g.k.k[0].s.length:n.g.k.k.length;var Z=this.stops;for(f=n.g.p*4;f<p;f+=2)l=Ht("stop"),l.setAttribute("stop-color","rgb(255,255,255)"),Y.appendChild(l),Z.push(l);S.setAttribute(n.ty==="gf"?"fill":"stroke","url("+Gt()+"#"+W+")"),n.ty==="gs"&&(S.setAttribute("stroke-linecap",so[n.lc||2]),S.setAttribute("stroke-linejoin",gs[n.lj||2]),n.lj===1&&S.setAttribute("stroke-miterlimit",n.ml)),this.of=Y,this.ms=g,this.ost=Z,this.maskId=P,o.msElem=S}},Yt([ae],Gi);function Mo(n,o,l){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.w=At.getProp(n,o.w,0,null,this),this.d=new oo(n,o.d||{},"svg",this),this.initGradientData(n,o,l),this._isAnimated=!!this._isAnimated}Yt([Gi,ae],Mo);function Rc(){this.it=[],this.prevViewData=[],this.gr=Ht("g")}function dl(n,o,l){this.transform={mProps:n,op:o,container:l},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var On=function(o,l,f,p){if(l===0)return"";var g=o.o,S=o.i,W=o.v,P,Y=" M"+p.applyToPointStringified(W[0][0],W[0][1]);for(P=1;P<l;P+=1)Y+=" C"+p.applyToPointStringified(g[P-1][0],g[P-1][1])+" "+p.applyToPointStringified(S[P][0],S[P][1])+" "+p.applyToPointStringified(W[P][0],W[P][1]);return f&&l&&(Y+=" C"+p.applyToPointStringified(g[P-1][0],g[P-1][1])+" "+p.applyToPointStringified(S[0][0],S[0][1])+" "+p.applyToPointStringified(W[0][0],W[0][1]),Y+="z"),Y},ma=function(){var n=new Qe,o=new Qe,l={createRenderFunction:f};function f(ot){switch(ot.ty){case"fl":return W;case"gf":return Y;case"gs":return P;case"st":return Z;case"sh":case"el":case"rc":case"sr":return S;case"tr":return p;case"no":return g;default:return null}}function p(ot,v,R){(R||v.transform.op._mdf)&&v.transform.container.setAttribute("opacity",v.transform.op.v),(R||v.transform.mProps._mdf)&&v.transform.container.setAttribute("transform",v.transform.mProps.v.to2dCSS())}function g(){}function S(ot,v,R){var k,B,V,C,$,b,_=v.styles.length,A=v.lvl,M,j,z,lt,Dt;for(b=0;b<_;b+=1){if(C=v.sh._mdf||R,v.styles[b].lvl<A){for(j=o.reset(),lt=A-v.styles[b].lvl,Dt=v.transformers.length-1;!C&<>0;)C=v.transformers[Dt].mProps._mdf||C,lt-=1,Dt-=1;if(C)for(lt=A-v.styles[b].lvl,Dt=v.transformers.length-1;lt>0;)z=v.transformers[Dt].mProps.v.props,j.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),lt-=1,Dt-=1}else j=n;if(M=v.sh.paths,B=M._length,C){for(V="",k=0;k<B;k+=1)$=M.shapes[k],$&&$._length&&(V+=On($,$._length,$.c,j));v.caches[b]=V}else V=v.caches[b];v.styles[b].d+=ot.hd===!0?"":V,v.styles[b]._mdf=C||v.styles[b]._mdf}}function W(ot,v,R){var k=v.style;(v.c._mdf||R)&&k.pElem.setAttribute("fill","rgb("+ce(v.c.v[0])+","+ce(v.c.v[1])+","+ce(v.c.v[2])+")"),(v.o._mdf||R)&&k.pElem.setAttribute("fill-opacity",v.o.v)}function P(ot,v,R){Y(ot,v,R),Z(ot,v,R)}function Y(ot,v,R){var k=v.gf,B=v.g._hasOpacity,V=v.s.v,C=v.e.v;if(v.o._mdf||R){var $=ot.ty==="gf"?"fill-opacity":"stroke-opacity";v.style.pElem.setAttribute($,v.o.v)}if(v.s._mdf||R){var b=ot.t===1?"x1":"cx",_=b==="x1"?"y1":"cy";k.setAttribute(b,V[0]),k.setAttribute(_,V[1]),B&&!v.g._collapsable&&(v.of.setAttribute(b,V[0]),v.of.setAttribute(_,V[1]))}var A,M,j,z;if(v.g._cmdf||R){A=v.cst;var lt=v.g.c;for(j=A.length,M=0;M<j;M+=1)z=A[M],z.setAttribute("offset",lt[M*4]+"%"),z.setAttribute("stop-color","rgb("+lt[M*4+1]+","+lt[M*4+2]+","+lt[M*4+3]+")")}if(B&&(v.g._omdf||R)){var Dt=v.g.o;for(v.g._collapsable?A=v.cst:A=v.ost,j=A.length,M=0;M<j;M+=1)z=A[M],v.g._collapsable||z.setAttribute("offset",Dt[M*2]+"%"),z.setAttribute("stop-opacity",Dt[M*2+1])}if(ot.t===1)(v.e._mdf||R)&&(k.setAttribute("x2",C[0]),k.setAttribute("y2",C[1]),B&&!v.g._collapsable&&(v.of.setAttribute("x2",C[0]),v.of.setAttribute("y2",C[1])));else{var Ft;if((v.s._mdf||v.e._mdf||R)&&(Ft=Math.sqrt(Math.pow(V[0]-C[0],2)+Math.pow(V[1]-C[1],2)),k.setAttribute("r",Ft),B&&!v.g._collapsable&&v.of.setAttribute("r",Ft)),v.e._mdf||v.h._mdf||v.a._mdf||R){Ft||(Ft=Math.sqrt(Math.pow(V[0]-C[0],2)+Math.pow(V[1]-C[1],2)));var mt=Math.atan2(C[1]-V[1],C[0]-V[0]),Qt=v.h.v;Qt>=1?Qt=.99:Qt<=-1&&(Qt=-.99);var Jt=Ft*Qt,gt=Math.cos(mt+v.a.v)*Jt+V[0],K=Math.sin(mt+v.a.v)*Jt+V[1];k.setAttribute("fx",gt),k.setAttribute("fy",K),B&&!v.g._collapsable&&(v.of.setAttribute("fx",gt),v.of.setAttribute("fy",K))}}}function Z(ot,v,R){var k=v.style,B=v.d;B&&(B._mdf||R)&&B.dashStr&&(k.pElem.setAttribute("stroke-dasharray",B.dashStr),k.pElem.setAttribute("stroke-dashoffset",B.dashoffset[0])),v.c&&(v.c._mdf||R)&&k.pElem.setAttribute("stroke","rgb("+ce(v.c.v[0])+","+ce(v.c.v[1])+","+ce(v.c.v[2])+")"),(v.o._mdf||R)&&k.pElem.setAttribute("stroke-opacity",v.o.v),(v.w._mdf||R)&&(k.pElem.setAttribute("stroke-width",v.w.v),k.msElem&&k.msElem.setAttribute("stroke-width",v.w.v))}return l}();function Or(n,o,l){this.shapes=[],this.shapesData=n.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(n,o,l),this.prevViewData=[]}Yt([Si,ps,ro,pa,qi,Jr,no],Or),Or.prototype.initSecondaryElement=function(){},Or.prototype.identityMatrix=new Qe,Or.prototype.buildExpressionInterface=function(){},Or.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Or.prototype.filterUniqueShapes=function(){var n,o=this.shapes.length,l,f,p=this.stylesList.length,g,S=[],W=!1;for(f=0;f<p;f+=1){for(g=this.stylesList[f],W=!1,S.length=0,n=0;n<o;n+=1)l=this.shapes[n],l.styles.indexOf(g)!==-1&&(S.push(l),W=l._isAnimated||W);S.length>1&&W&&this.setShapesAsAnimated(S)}},Or.prototype.setShapesAsAnimated=function(n){var o,l=n.length;for(o=0;o<l;o+=1)n[o].setAsAnimated()},Or.prototype.createStyleElement=function(n,o){var l,f=new ga(n,o),p=f.pElem;if(n.ty==="st")l=new Io(this,n,f);else if(n.ty==="fl")l=new Oo(this,n,f);else if(n.ty==="gf"||n.ty==="gs"){var g=n.ty==="gf"?Gi:Mo;l=new g(this,n,f),this.globalData.defs.appendChild(l.gf),l.maskId&&(this.globalData.defs.appendChild(l.ms),this.globalData.defs.appendChild(l.of),p.setAttribute("mask","url("+Gt()+"#"+l.maskId+")"))}else n.ty==="no"&&(l=new va(this,n,f));return(n.ty==="st"||n.ty==="gs")&&(p.setAttribute("stroke-linecap",so[n.lc||2]),p.setAttribute("stroke-linejoin",gs[n.lj||2]),p.setAttribute("fill-opacity","0"),n.lj===1&&p.setAttribute("stroke-miterlimit",n.ml)),n.r===2&&p.setAttribute("fill-rule","evenodd"),n.ln&&p.setAttribute("id",n.ln),n.cl&&p.setAttribute("class",n.cl),n.bm&&(p.style["mix-blend-mode"]=zr(n.bm)),this.stylesList.push(f),this.addToAnimatedContents(n,l),l},Or.prototype.createGroupElement=function(n){var o=new Rc;return n.ln&&o.gr.setAttribute("id",n.ln),n.cl&&o.gr.setAttribute("class",n.cl),n.bm&&(o.gr.style["mix-blend-mode"]=zr(n.bm)),o},Or.prototype.createTransformElement=function(n,o){var l=ht.getTransformProperty(this,n,this),f=new dl(l,l.o,o);return this.addToAnimatedContents(n,f),f},Or.prototype.createShapeElement=function(n,o,l){var f=4;n.ty==="rc"?f=5:n.ty==="el"?f=6:n.ty==="sr"&&(f=7);var p=dr.getShapeProp(this,n,f,this),g=new hl(o,l,p);return this.shapes.push(g),this.addShapeToModifiers(g),this.addToAnimatedContents(n,g),g},Or.prototype.addToAnimatedContents=function(n,o){for(var l=0,f=this.animatedContents.length;l<f;){if(this.animatedContents[l].element===o)return;l+=1}this.animatedContents.push({fn:ma.createRenderFunction(n),element:o,data:n})},Or.prototype.setElementStyles=function(n){var o=n.styles,l,f=this.stylesList.length;for(l=0;l<f;l+=1)this.stylesList[l].closed||o.push(this.stylesList[l])},Or.prototype.reloadShapes=function(){this._isFirstFrame=!0;var n,o=this.itemsData.length;for(n=0;n<o;n+=1)this.prevViewData[n]=this.itemsData[n];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),o=this.dynamicProperties.length,n=0;n<o;n+=1)this.dynamicProperties[n].getValue();this.renderModifiers()},Or.prototype.searchShapes=function(n,o,l,f,p,g,S){var W=[].concat(g),P,Y=n.length-1,Z,ot,v=[],R=[],k,B,V;for(P=Y;P>=0;P-=1){if(V=this.searchProcessedElement(n[P]),V?o[P]=l[V-1]:n[P]._render=S,n[P].ty==="fl"||n[P].ty==="st"||n[P].ty==="gf"||n[P].ty==="gs"||n[P].ty==="no")V?o[P].style.closed=!1:o[P]=this.createStyleElement(n[P],p),n[P]._render&&o[P].style.pElem.parentNode!==f&&f.appendChild(o[P].style.pElem),v.push(o[P].style);else if(n[P].ty==="gr"){if(!V)o[P]=this.createGroupElement(n[P]);else for(ot=o[P].it.length,Z=0;Z<ot;Z+=1)o[P].prevViewData[Z]=o[P].it[Z];this.searchShapes(n[P].it,o[P].it,o[P].prevViewData,o[P].gr,p+1,W,S),n[P]._render&&o[P].gr.parentNode!==f&&f.appendChild(o[P].gr)}else n[P].ty==="tr"?(V||(o[P]=this.createTransformElement(n[P],f)),k=o[P].transform,W.push(k)):n[P].ty==="sh"||n[P].ty==="rc"||n[P].ty==="el"||n[P].ty==="sr"?(V||(o[P]=this.createShapeElement(n[P],W,p)),this.setElementStyles(o[P])):n[P].ty==="tm"||n[P].ty==="rd"||n[P].ty==="ms"||n[P].ty==="pb"||n[P].ty==="zz"||n[P].ty==="op"?(V?(B=o[P],B.closed=!1):(B=En.getModifier(n[P].ty),B.init(this,n[P]),o[P]=B,this.shapeModifiers.push(B)),R.push(B)):n[P].ty==="rp"&&(V?(B=o[P],B.closed=!0):(B=En.getModifier(n[P].ty),o[P]=B,B.init(this,n,P,o),this.shapeModifiers.push(B),S=!1),R.push(B));this.addProcessedElement(n[P],P+1)}for(Y=v.length,P=0;P<Y;P+=1)v[P].closed=!0;for(Y=R.length,P=0;P<Y;P+=1)R[P].closed=!0},Or.prototype.renderInnerContent=function(){this.renderModifiers();var n,o=this.stylesList.length;for(n=0;n<o;n+=1)this.stylesList[n].reset();for(this.renderShape(),n=0;n<o;n+=1)(this.stylesList[n]._mdf||this._isFirstFrame)&&(this.stylesList[n].msElem&&(this.stylesList[n].msElem.setAttribute("d",this.stylesList[n].d),this.stylesList[n].d="M0 0"+this.stylesList[n].d),this.stylesList[n].pElem.setAttribute("d",this.stylesList[n].d||"M0 0"))},Or.prototype.renderShape=function(){var n,o=this.animatedContents.length,l;for(n=0;n<o;n+=1)l=this.animatedContents[n],(this._isFirstFrame||l.element._isAnimated)&&l.data!==!0&&l.fn(l.data,l.element,this._isFirstFrame)},Or.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Lo(n,o,l,f,p,g){this.o=n,this.sw=o,this.sc=l,this.fc=f,this.m=p,this.p=g,this._mdf={o:!0,sw:!!o,sc:!!l,fc:!!f,m:!0,p:!0}}Lo.prototype.update=function(n,o,l,f,p,g){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var S=!1;return this.o!==n&&(this.o=n,this._mdf.o=!0,S=!0),this.sw!==o&&(this.sw=o,this._mdf.sw=!0,S=!0),this.sc!==l&&(this.sc=l,this._mdf.sc=!0,S=!0),this.fc!==f&&(this.fc=f,this._mdf.fc=!0,S=!0),this.m!==p&&(this.m=p,this._mdf.m=!0,S=!0),g.length&&(this.p[0]!==g[0]||this.p[1]!==g[1]||this.p[4]!==g[4]||this.p[5]!==g[5]||this.p[12]!==g[12]||this.p[13]!==g[13])&&(this.p=g,this._mdf.p=!0,S=!0),S};function Sn(n,o){this._frameId=zt,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=o,this.elem=n,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Sn.prototype.defaultBoxWidth=[0,0],Sn.prototype.copyData=function(n,o){for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(n[l]=o[l]);return n},Sn.prototype.setCurrentData=function(n){n.__complete||this.completeTextData(n),this.currentData=n,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Sn.prototype.searchProperty=function(){return this.searchKeyframes()},Sn.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Sn.prototype.addEffect=function(n){this.effectsSequence.push(n),this.elem.addDynamicProperty(this)},Sn.prototype.getValue=function(n){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!n)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var o=this.currentData,l=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var f,p=this.effectsSequence.length,g=n||this.data.d.k[this.keysIndex].s;for(f=0;f<p;f+=1)l!==this.keysIndex?g=this.effectsSequence[f](g,g.t):g=this.effectsSequence[f](this.currentData,g.t);o!==g&&this.setCurrentData(g),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Sn.prototype.getKeyframeValue=function(){for(var n=this.data.d.k,o=this.elem.comp.renderedFrame,l=0,f=n.length;l<=f-1&&!(l===f-1||n[l+1].t>o);)l+=1;return this.keysIndex!==l&&(this.keysIndex=l),this.data.d.k[this.keysIndex].s},Sn.prototype.buildFinalText=function(n){for(var o=[],l=0,f=n.length,p,g,S=!1;l<f;)p=n.charCodeAt(l),wn.isCombinedCharacter(p)?o[o.length-1]+=n.charAt(l):p>=55296&&p<=56319?(g=n.charCodeAt(l+1),g>=56320&&g<=57343?(S||wn.isModifier(p,g)?(o[o.length-1]+=n.substr(l,2),S=!1):o.push(n.substr(l,2)),l+=1):o.push(n.charAt(l))):p>56319?(g=n.charCodeAt(l+1),wn.isZeroWidthJoiner(p,g)?(S=!0,o[o.length-1]+=n.substr(l,2),l+=1):o.push(n.charAt(l))):wn.isZeroWidthJoiner(p)?(o[o.length-1]+=n.charAt(l),S=!0):o.push(n.charAt(l)),l+=1;return o},Sn.prototype.completeTextData=function(n){n.__complete=!0;var o=this.elem.globalData.fontManager,l=this.data,f=[],p,g,S,W=0,P,Y=l.m.g,Z=0,ot=0,v=0,R=[],k=0,B=0,V,C,$=o.getFontByName(n.f),b,_=0,A=yn($);n.fWeight=A.weight,n.fStyle=A.style,n.finalSize=n.s,n.finalText=this.buildFinalText(n.t),g=n.finalText.length,n.finalLineHeight=n.lh;var M=n.tr/1e3*n.finalSize,j;if(n.sz)for(var z=!0,lt=n.sz[0],Dt=n.sz[1],Ft,mt;z;){mt=this.buildFinalText(n.t),Ft=0,k=0,g=mt.length,M=n.tr/1e3*n.finalSize;var Qt=-1;for(p=0;p<g;p+=1)j=mt[p].charCodeAt(0),S=!1,mt[p]===" "?Qt=p:(j===13||j===3)&&(k=0,S=!0,Ft+=n.finalLineHeight||n.finalSize*1.2),o.chars?(b=o.getCharData(mt[p],$.fStyle,$.fFamily),_=S?0:b.w*n.finalSize/100):_=o.measureText(mt[p],n.f,n.finalSize),k+_>lt&&mt[p]!==" "?(Qt===-1?g+=1:p=Qt,Ft+=n.finalLineHeight||n.finalSize*1.2,mt.splice(p,Qt===p?1:0,"\r"),Qt=-1,k=0):(k+=_,k+=M);Ft+=$.ascent*n.finalSize/100,this.canResize&&n.finalSize>this.minimumFontSize&&Dt<Ft?(n.finalSize-=1,n.finalLineHeight=n.finalSize*n.lh/n.s):(n.finalText=mt,g=n.finalText.length,z=!1)}k=-M,_=0;var Jt=0,gt;for(p=0;p<g;p+=1)if(S=!1,gt=n.finalText[p],j=gt.charCodeAt(0),j===13||j===3?(Jt=0,R.push(k),B=k>B?k:B,k=-2*M,P="",S=!0,v+=1):P=gt,o.chars?(b=o.getCharData(gt,$.fStyle,o.getFontByName(n.f).fFamily),_=S?0:b.w*n.finalSize/100):_=o.measureText(P,n.f,n.finalSize),gt===" "?Jt+=_+M:(k+=_+M+Jt,Jt=0),f.push({l:_,an:_,add:Z,n:S,anIndexes:[],val:P,line:v,animatorJustifyOffset:0}),Y==2){if(Z+=_,P===""||P===" "||p===g-1){for((P===""||P===" ")&&(Z-=_);ot<=p;)f[ot].an=Z,f[ot].ind=W,f[ot].extra=_,ot+=1;W+=1,Z=0}}else if(Y==3){if(Z+=_,P===""||p===g-1){for(P===""&&(Z-=_);ot<=p;)f[ot].an=Z,f[ot].ind=W,f[ot].extra=_,ot+=1;Z=0,W+=1}}else f[W].ind=W,f[W].extra=0,W+=1;if(n.l=f,B=k>B?k:B,R.push(k),n.sz)n.boxWidth=n.sz[0],n.justifyOffset=0;else switch(n.boxWidth=B,n.j){case 1:n.justifyOffset=-n.boxWidth;break;case 2:n.justifyOffset=-n.boxWidth/2;break;default:n.justifyOffset=0}n.lineWidths=R;var K=l.a,N,T;C=K.length;var U,bt,at=[];for(V=0;V<C;V+=1){for(N=K[V],N.a.sc&&(n.strokeColorAnim=!0),N.a.sw&&(n.strokeWidthAnim=!0),(N.a.fc||N.a.fh||N.a.fs||N.a.fb)&&(n.fillColorAnim=!0),bt=0,U=N.s.b,p=0;p<g;p+=1)T=f[p],T.anIndexes[V]=bt,(U==1&&T.val!==""||U==2&&T.val!==""&&T.val!==" "||U==3&&(T.n||T.val==" "||p==g-1)||U==4&&(T.n||p==g-1))&&(N.s.rn===1&&at.push(bt),bt+=1);l.a[V].s.totalChars=bt;var Xt=-1,Oe;if(N.s.rn===1)for(p=0;p<g;p+=1)T=f[p],Xt!=T.anIndexes[V]&&(Xt=T.anIndexes[V],Oe=at.splice(Math.floor(Math.random()*at.length),1)[0]),T.anIndexes[V]=Oe}n.yOffset=n.finalLineHeight||n.finalSize*1.2,n.ls=n.ls||0,n.ascent=$.ascent*n.finalSize/100},Sn.prototype.updateDocumentData=function(n,o){o=o===void 0?this.keysIndex:o;var l=this.copyData({},this.data.d.k[o].s);l=this.copyData(l,n),this.data.d.k[o].s=l,this.recalculate(o),this.elem.addDynamicProperty(this)},Sn.prototype.recalculate=function(n){var o=this.data.d.k[n].s;o.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(o)},Sn.prototype.canResizeFont=function(n){this.canResize=n,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Sn.prototype.setMinimumFontSize=function(n){this.minimumFontSize=Math.floor(n)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ic=function(){var n=Math.max,o=Math.min,l=Math.floor;function f(g,S){this._currentTextLength=-1,this.k=!1,this.data=S,this.elem=g,this.comp=g.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(g),this.s=At.getProp(g,S.s||{k:0},0,0,this),"e"in S?this.e=At.getProp(g,S.e,0,0,this):this.e={v:100},this.o=At.getProp(g,S.o||{k:0},0,0,this),this.xe=At.getProp(g,S.xe||{k:0},0,0,this),this.ne=At.getProp(g,S.ne||{k:0},0,0,this),this.sm=At.getProp(g,S.sm||{k:100},0,0,this),this.a=At.getProp(g,S.a,0,.01,this),this.dynamicProperties.length||this.getValue()}f.prototype={getMult:function(S){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var W=0,P=0,Y=1,Z=1;this.ne.v>0?W=this.ne.v/100:P=-this.ne.v/100,this.xe.v>0?Y=1-this.xe.v/100:Z=1+this.xe.v/100;var ot=mr.getBezierEasing(W,P,Y,Z).get,v=0,R=this.finalS,k=this.finalE,B=this.data.sh;if(B===2)k===R?v=S>=k?1:0:v=n(0,o(.5/(k-R)+(S-R)/(k-R),1)),v=ot(v);else if(B===3)k===R?v=S>=k?0:1:v=1-n(0,o(.5/(k-R)+(S-R)/(k-R),1)),v=ot(v);else if(B===4)k===R?v=0:(v=n(0,o(.5/(k-R)+(S-R)/(k-R),1)),v<.5?v*=2:v=1-2*(v-.5)),v=ot(v);else if(B===5){if(k===R)v=0;else{var V=k-R;S=o(n(0,S+.5-R),k-R);var C=-V/2+S,$=V/2;v=Math.sqrt(1-C*C/($*$))}v=ot(v)}else B===6?(k===R?v=0:(S=o(n(0,S+.5-R),k-R),v=(1+Math.cos(Math.PI+Math.PI*2*S/(k-R)))/2),v=ot(v)):(S>=l(R)&&(S-R<0?v=n(0,o(o(k,1)-(R-S),1)):v=n(0,o(k-S,1))),v=ot(v));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var _=.5-b*.5;v<_?v=0:(v=(v-_)/b,v>1&&(v=1))}return v*this.a.v},getValue:function(S){this.iterateDynamicProperties(),this._mdf=S||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,S&&this.data.r===2&&(this.e.v=this._currentTextLength);var W=this.data.r===2?1:100/this.data.totalChars,P=this.o.v/W,Y=this.s.v/W+P,Z=this.e.v/W+P;if(Y>Z){var ot=Y;Y=Z,Z=ot}this.finalS=Y,this.finalE=Z}},Yt([ae],f);function p(g,S,W){return new f(g,S)}return{getTextSelectorProp:p}}();function Oc(n,o,l){var f={propType:!1},p=At.getProp,g=o.a;this.a={r:g.r?p(n,g.r,0,fe,l):f,rx:g.rx?p(n,g.rx,0,fe,l):f,ry:g.ry?p(n,g.ry,0,fe,l):f,sk:g.sk?p(n,g.sk,0,fe,l):f,sa:g.sa?p(n,g.sa,0,fe,l):f,s:g.s?p(n,g.s,1,.01,l):f,a:g.a?p(n,g.a,1,0,l):f,o:g.o?p(n,g.o,0,.01,l):f,p:g.p?p(n,g.p,1,0,l):f,sw:g.sw?p(n,g.sw,0,0,l):f,sc:g.sc?p(n,g.sc,1,0,l):f,fc:g.fc?p(n,g.fc,1,0,l):f,fh:g.fh?p(n,g.fh,0,0,l):f,fs:g.fs?p(n,g.fs,0,.01,l):f,fb:g.fb?p(n,g.fb,0,.01,l):f,t:g.t?p(n,g.t,0,0,l):f},this.s=Ic.getTextSelectorProp(n,o.s,l),this.s.t=o.s.t}function vs(n,o,l){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=n,this._renderType=o,this._elem=l,this._animatorsData=te(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(l)}vs.prototype.searchProperties=function(){var n,o=this._textData.a.length,l,f=At.getProp;for(n=0;n<o;n+=1)l=this._textData.a[n],this._animatorsData[n]=new Oc(this._elem,l,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:f(this._elem,this._textData.p.a,0,0,this),f:f(this._elem,this._textData.p.f,0,0,this),l:f(this._elem,this._textData.p.l,0,0,this),r:f(this._elem,this._textData.p.r,0,0,this),p:f(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=f(this._elem,this._textData.m.a,1,0,this)},vs.prototype.getMeasures=function(n,o){if(this.lettersChangedFlag=o,!(!this._mdf&&!this._isFirstFrame&&!o&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var l=this._moreOptions.alignment.v,f=this._animatorsData,p=this._textData,g=this.mHelper,S=this._renderType,W=this.renderedLetters.length,P,Y,Z,ot,v=n.l,R,k,B,V,C,$,b,_,A,M,j,z,lt,Dt,Ft;if(this._hasMaskedPath){if(Ft=this._pathData.m,!this._pathData.n||this._pathData._mdf){var mt=Ft.v;this._pathData.r.v&&(mt=mt.reverse()),R={tLength:0,segments:[]},ot=mt._length-1;var Qt;for(z=0,Z=0;Z<ot;Z+=1)Qt=Kt.buildBezierData(mt.v[Z],mt.v[Z+1],[mt.o[Z][0]-mt.v[Z][0],mt.o[Z][1]-mt.v[Z][1]],[mt.i[Z+1][0]-mt.v[Z+1][0],mt.i[Z+1][1]-mt.v[Z+1][1]]),R.tLength+=Qt.segmentLength,R.segments.push(Qt),z+=Qt.segmentLength;Z=ot,Ft.v.c&&(Qt=Kt.buildBezierData(mt.v[Z],mt.v[0],[mt.o[Z][0]-mt.v[Z][0],mt.o[Z][1]-mt.v[Z][1]],[mt.i[0][0]-mt.v[0][0],mt.i[0][1]-mt.v[0][1]]),R.tLength+=Qt.segmentLength,R.segments.push(Qt),z+=Qt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,k=this._pathData.f.v,b=0,$=1,V=0,C=!0,M=R.segments,k<0&&Ft.v.c)for(R.tLength<Math.abs(k)&&(k=-Math.abs(k)%R.tLength),b=M.length-1,A=M[b].points,$=A.length-1;k<0;)k+=A[$].partialLength,$-=1,$<0&&(b-=1,A=M[b].points,$=A.length-1);A=M[b].points,_=A[$-1],B=A[$],j=B.partialLength}ot=v.length,P=0,Y=0;var Jt=n.finalSize*1.2*.714,gt=!0,K,N,T,U,bt;U=f.length;var at,Xt=-1,Oe,ke,Fr,ir=k,Cn=b,pn=$,tn=-1,an,ln,Tn,Zt,kr,Un,li,Ai,Qn="",ki=this.defaultPropsArray,$i;if(n.j===2||n.j===1){var lr=0,jr=0,Yi=n.j===2?-.5:-1,Xn=0,Ei=!0;for(Z=0;Z<ot;Z+=1)if(v[Z].n){for(lr&&(lr+=jr);Xn<Z;)v[Xn].animatorJustifyOffset=lr,Xn+=1;lr=0,Ei=!0}else{for(T=0;T<U;T+=1)K=f[T].a,K.t.propType&&(Ei&&n.j===2&&(jr+=K.t.v*Yi),N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),at.length?lr+=K.t.v*at[0]*Yi:lr+=K.t.v*at*Yi);Ei=!1}for(lr&&(lr+=jr);Xn<Z;)v[Xn].animatorJustifyOffset=lr,Xn+=1}for(Z=0;Z<ot;Z+=1){if(g.reset(),an=1,v[Z].n)P=0,Y+=n.yOffset,Y+=gt?1:0,k=ir,gt=!1,this._hasMaskedPath&&(b=Cn,$=pn,A=M[b].points,_=A[$-1],B=A[$],j=B.partialLength,V=0),Qn="",Ai="",Un="",$i="",ki=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tn!==v[Z].line){switch(n.j){case 1:k+=z-n.lineWidths[v[Z].line];break;case 2:k+=(z-n.lineWidths[v[Z].line])/2;break}tn=v[Z].line}Xt!==v[Z].ind&&(v[Xt]&&(k+=v[Xt].extra),k+=v[Z].an/2,Xt=v[Z].ind),k+=l[0]*v[Z].an*.005;var Jn=0;for(T=0;T<U;T+=1)K=f[T].a,K.p.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),at.length?Jn+=K.p.v[0]*at[0]:Jn+=K.p.v[0]*at),K.a.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),at.length?Jn+=K.a.v[0]*at[0]:Jn+=K.a.v[0]*at);for(C=!0,this._pathData.a.v&&(k=v[0].an*.5+(z-this._pathData.f.v-v[0].an*.5-v[v.length-1].an*.5)*Xt/(ot-1),k+=this._pathData.f.v);C;)V+j>=k+Jn||!A?(lt=(k+Jn-V)/B.partialLength,ke=_.point[0]+(B.point[0]-_.point[0])*lt,Fr=_.point[1]+(B.point[1]-_.point[1])*lt,g.translate(-l[0]*v[Z].an*.005,-(l[1]*Jt)*.01),C=!1):A&&(V+=B.partialLength,$+=1,$>=A.length&&($=0,b+=1,M[b]?A=M[b].points:Ft.v.c?($=0,b=0,A=M[b].points):(V-=B.partialLength,A=null)),A&&(_=B,B=A[$],j=B.partialLength));Oe=v[Z].an/2-v[Z].add,g.translate(-Oe,0,0)}else Oe=v[Z].an/2-v[Z].add,g.translate(-Oe,0,0),g.translate(-l[0]*v[Z].an*.005,-l[1]*Jt*.01,0);for(T=0;T<U;T+=1)K=f[T].a,K.t.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),(P!==0||n.j!==0)&&(this._hasMaskedPath?at.length?k+=K.t.v*at[0]:k+=K.t.v*at:at.length?P+=K.t.v*at[0]:P+=K.t.v*at));for(n.strokeWidthAnim&&(Tn=n.sw||0),n.strokeColorAnim&&(n.sc?ln=[n.sc[0],n.sc[1],n.sc[2]]:ln=[0,0,0]),n.fillColorAnim&&n.fc&&(Zt=[n.fc[0],n.fc[1],n.fc[2]]),T=0;T<U;T+=1)K=f[T].a,K.a.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),at.length?g.translate(-K.a.v[0]*at[0],-K.a.v[1]*at[1],K.a.v[2]*at[2]):g.translate(-K.a.v[0]*at,-K.a.v[1]*at,K.a.v[2]*at));for(T=0;T<U;T+=1)K=f[T].a,K.s.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),at.length?g.scale(1+(K.s.v[0]-1)*at[0],1+(K.s.v[1]-1)*at[1],1):g.scale(1+(K.s.v[0]-1)*at,1+(K.s.v[1]-1)*at,1));for(T=0;T<U;T+=1){if(K=f[T].a,N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),K.sk.propType&&(at.length?g.skewFromAxis(-K.sk.v*at[0],K.sa.v*at[1]):g.skewFromAxis(-K.sk.v*at,K.sa.v*at)),K.r.propType&&(at.length?g.rotateZ(-K.r.v*at[2]):g.rotateZ(-K.r.v*at)),K.ry.propType&&(at.length?g.rotateY(K.ry.v*at[1]):g.rotateY(K.ry.v*at)),K.rx.propType&&(at.length?g.rotateX(K.rx.v*at[0]):g.rotateX(K.rx.v*at)),K.o.propType&&(at.length?an+=(K.o.v*at[0]-an)*at[0]:an+=(K.o.v*at-an)*at),n.strokeWidthAnim&&K.sw.propType&&(at.length?Tn+=K.sw.v*at[0]:Tn+=K.sw.v*at),n.strokeColorAnim&&K.sc.propType)for(kr=0;kr<3;kr+=1)at.length?ln[kr]+=(K.sc.v[kr]-ln[kr])*at[0]:ln[kr]+=(K.sc.v[kr]-ln[kr])*at;if(n.fillColorAnim&&n.fc){if(K.fc.propType)for(kr=0;kr<3;kr+=1)at.length?Zt[kr]+=(K.fc.v[kr]-Zt[kr])*at[0]:Zt[kr]+=(K.fc.v[kr]-Zt[kr])*at;K.fh.propType&&(at.length?Zt=we(Zt,K.fh.v*at[0]):Zt=we(Zt,K.fh.v*at)),K.fs.propType&&(at.length?Zt=Ne(Zt,K.fs.v*at[0]):Zt=Ne(Zt,K.fs.v*at)),K.fb.propType&&(at.length?Zt=ye(Zt,K.fb.v*at[0]):Zt=ye(Zt,K.fb.v*at))}}for(T=0;T<U;T+=1)K=f[T].a,K.p.propType&&(N=f[T].s,at=N.getMult(v[Z].anIndexes[T],p.a[T].s.totalChars),this._hasMaskedPath?at.length?g.translate(0,K.p.v[1]*at[0],-K.p.v[2]*at[1]):g.translate(0,K.p.v[1]*at,-K.p.v[2]*at):at.length?g.translate(K.p.v[0]*at[0],K.p.v[1]*at[1],-K.p.v[2]*at[2]):g.translate(K.p.v[0]*at,K.p.v[1]*at,-K.p.v[2]*at));if(n.strokeWidthAnim&&(Un=Tn<0?0:Tn),n.strokeColorAnim&&(li="rgb("+Math.round(ln[0]*255)+","+Math.round(ln[1]*255)+","+Math.round(ln[2]*255)+")"),n.fillColorAnim&&n.fc&&(Ai="rgb("+Math.round(Zt[0]*255)+","+Math.round(Zt[1]*255)+","+Math.round(Zt[2]*255)+")"),this._hasMaskedPath){if(g.translate(0,-n.ls),g.translate(0,l[1]*Jt*.01+Y,0),this._pathData.p.v){Dt=(B.point[1]-_.point[1])/(B.point[0]-_.point[0]);var Ti=Math.atan(Dt)*180/Math.PI;B.point[0]<_.point[0]&&(Ti+=180),g.rotate(-Ti*Math.PI/180)}g.translate(ke,Fr,0),k-=l[0]*v[Z].an*.005,v[Z+1]&&Xt!==v[Z+1].ind&&(k+=v[Z].an/2,k+=n.tr*.001*n.finalSize)}else{switch(g.translate(P,Y,0),n.ps&&g.translate(n.ps[0],n.ps[1]+n.ascent,0),n.j){case 1:g.translate(v[Z].animatorJustifyOffset+n.justifyOffset+(n.boxWidth-n.lineWidths[v[Z].line]),0,0);break;case 2:g.translate(v[Z].animatorJustifyOffset+n.justifyOffset+(n.boxWidth-n.lineWidths[v[Z].line])/2,0,0);break}g.translate(0,-n.ls),g.translate(Oe,0,0),g.translate(l[0]*v[Z].an*.005,l[1]*Jt*.01,0),P+=v[Z].l+n.tr*.001*n.finalSize}S==="html"?Qn=g.toCSS():S==="svg"?Qn=g.to2dCSS():ki=[g.props[0],g.props[1],g.props[2],g.props[3],g.props[4],g.props[5],g.props[6],g.props[7],g.props[8],g.props[9],g.props[10],g.props[11],g.props[12],g.props[13],g.props[14],g.props[15]],$i=an}W<=Z?(bt=new Lo($i,Un,li,Ai,Qn,ki),this.renderedLetters.push(bt),W+=1,this.lettersChangedFlag=!0):(bt=this.renderedLetters[Z],this.lettersChangedFlag=bt.update($i,Un,li,Ai,Qn,ki)||this.lettersChangedFlag)}}},vs.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},vs.prototype.mHelper=new Qe,vs.prototype.defaultPropsArray=[],Yt([ae],vs);function Kn(){}Kn.prototype.initElement=function(n,o,l){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(n,o,l),this.textProperty=new Sn(this,n.t,this.dynamicProperties),this.textAnimator=new vs(n.t,this.renderType,this),this.initTransform(n,o,l),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Kn.prototype.prepareFrame=function(n){this._mdf=!1,this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},Kn.prototype.createPathShape=function(n,o){var l,f=o.length,p,g="";for(l=0;l<f;l+=1)o[l].ty==="sh"&&(p=o[l].ks.k,g+=On(p,p.i.length,!0,n));return g},Kn.prototype.updateDocumentData=function(n,o){this.textProperty.updateDocumentData(n,o)},Kn.prototype.canResizeFont=function(n){this.textProperty.canResizeFont(n)},Kn.prototype.setMinimumFontSize=function(n){this.textProperty.setMinimumFontSize(n)},Kn.prototype.applyTextPropertiesToMatrix=function(n,o,l,f,p){switch(n.ps&&o.translate(n.ps[0],n.ps[1]+n.ascent,0),o.translate(0,-n.ls,0),n.j){case 1:o.translate(n.justifyOffset+(n.boxWidth-n.lineWidths[l]),0,0);break;case 2:o.translate(n.justifyOffset+(n.boxWidth-n.lineWidths[l])/2,0,0);break}o.translate(f,p,0)},Kn.prototype.buildColor=function(n){return"rgb("+Math.round(n[0]*255)+","+Math.round(n[1]*255)+","+Math.round(n[2]*255)+")"},Kn.prototype.emptyProp=new Lo,Kn.prototype.destroy=function(){};var Mc={shapes:[]};function Mn(n,o,l){this.textSpans=[],this.renderType="svg",this.initElement(n,o,l)}Yt([Si,ps,ro,qi,Jr,no,Kn],Mn),Mn.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Ht("text"))},Mn.prototype.buildTextContents=function(n){for(var o=0,l=n.length,f=[],p="";o<l;)n[o]==="\r"||n[o]===""?(f.push(p),p=""):p+=n[o],o+=1;return f.push(p),f},Mn.prototype.buildShapeData=function(n,o){if(n.shapes&&n.shapes.length){var l=n.shapes[0];if(l.it){var f=l.it[l.it.length-1];f.s&&(f.s.k[0]=o,f.s.k[1]=o)}}return n},Mn.prototype.buildNewText=function(){this.addDynamicProperty(this);var n,o,l=this.textProperty.currentData;this.renderedLetters=te(l?l.l.length:0),l.fc?this.layerElement.setAttribute("fill",this.buildColor(l.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),l.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(l.sc)),this.layerElement.setAttribute("stroke-width",l.sw)),this.layerElement.setAttribute("font-size",l.finalSize);var f=this.globalData.fontManager.getFontByName(l.f);if(f.fClass)this.layerElement.setAttribute("class",f.fClass);else{this.layerElement.setAttribute("font-family",f.fFamily);var p=l.fWeight,g=l.fStyle;this.layerElement.setAttribute("font-style",g),this.layerElement.setAttribute("font-weight",p)}this.layerElement.setAttribute("aria-label",l.t);var S=l.l||[],W=!!this.globalData.fontManager.chars;o=S.length;var P,Y=this.mHelper,Z="",ot=this.data.singleShape,v=0,R=0,k=!0,B=l.tr*.001*l.finalSize;if(ot&&!W&&!l.sz){var V=this.textContainer,C="start";switch(l.j){case 1:C="end";break;case 2:C="middle";break;default:C="start";break}V.setAttribute("text-anchor",C),V.setAttribute("letter-spacing",B);var $=this.buildTextContents(l.finalText);for(o=$.length,R=l.ps?l.ps[1]+l.ascent:0,n=0;n<o;n+=1)P=this.textSpans[n].span||Ht("tspan"),P.textContent=$[n],P.setAttribute("x",0),P.setAttribute("y",R),P.style.display="inherit",V.appendChild(P),this.textSpans[n]||(this.textSpans[n]={span:null,glyph:null}),this.textSpans[n].span=P,R+=l.finalLineHeight;this.layerElement.appendChild(V)}else{var b=this.textSpans.length,_;for(n=0;n<o;n+=1){if(this.textSpans[n]||(this.textSpans[n]={span:null,childSpan:null,glyph:null}),!W||!ot||n===0){if(P=b>n?this.textSpans[n].span:Ht(W?"g":"text"),b<=n){if(P.setAttribute("stroke-linecap","butt"),P.setAttribute("stroke-linejoin","round"),P.setAttribute("stroke-miterlimit","4"),this.textSpans[n].span=P,W){var A=Ht("g");P.appendChild(A),this.textSpans[n].childSpan=A}this.textSpans[n].span=P,this.layerElement.appendChild(P)}P.style.display="inherit"}if(Y.reset(),ot&&(S[n].n&&(v=-B,R+=l.yOffset,R+=k?1:0,k=!1),this.applyTextPropertiesToMatrix(l,Y,S[n].line,v,R),v+=S[n].l||0,v+=B),W){_=this.globalData.fontManager.getCharData(l.finalText[n],f.fStyle,this.globalData.fontManager.getFontByName(l.f).fFamily);var M;if(_.t===1)M=new Wn(_.data,this.globalData,this);else{var j=Mc;_.data&&_.data.shapes&&(j=this.buildShapeData(_.data,l.finalSize)),M=new Or(j,this.globalData,this)}if(this.textSpans[n].glyph){var z=this.textSpans[n].glyph;this.textSpans[n].childSpan.removeChild(z.layerElement),z.destroy()}this.textSpans[n].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[n].childSpan.appendChild(M.layerElement),_.t===1&&this.textSpans[n].childSpan.setAttribute("transform","scale("+l.finalSize/100+","+l.finalSize/100+")")}else ot&&P.setAttribute("transform","translate("+Y.props[12]+","+Y.props[13]+")"),P.textContent=S[n].val,P.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}ot&&P&&P.setAttribute("d",Z)}for(;n<this.textSpans.length;)this.textSpans[n].span.style.display="none",n+=1;this._sizeChanged=!0},Mn.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var n=this.layerElement.getBBox();this.bbox={top:n.y,left:n.x,width:n.width,height:n.height}}return this.bbox},Mn.prototype.getValue=function(){var n,o=this.textSpans.length,l;for(this.renderedFrame=this.comp.renderedFrame,n=0;n<o;n+=1)l=this.textSpans[n].glyph,l&&(l.prepareFrame(this.comp.renderedFrame-this.data.st),l._mdf&&(this._mdf=!0))},Mn.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var n,o,l=this.textAnimator.renderedLetters,f=this.textProperty.currentData.l;o=f.length;var p,g,S;for(n=0;n<o;n+=1)f[n].n||(p=l[n],g=this.textSpans[n].span,S=this.textSpans[n].glyph,S&&S.renderFrame(),p._mdf.m&&g.setAttribute("transform",p.m),p._mdf.o&&g.setAttribute("opacity",p.o),p._mdf.sw&&g.setAttribute("stroke-width",p.sw),p._mdf.sc&&g.setAttribute("stroke",p.sc),p._mdf.fc&&g.setAttribute("fill",p.fc))}};function ya(n,o,l){this.initElement(n,o,l)}Yt([io],ya),ya.prototype.createContent=function(){var n=Ht("rect");n.setAttribute("width",this.data.sw),n.setAttribute("height",this.data.sh),n.setAttribute("fill",this.data.sc),this.layerElement.appendChild(n)};function Hi(n,o,l){this.initFrame(),this.initBaseData(n,o,l),this.initFrame(),this.initTransform(n,o,l),this.initHierarchy()}Hi.prototype.prepareFrame=function(n){this.prepareProperties(n,!0)},Hi.prototype.renderFrame=function(){},Hi.prototype.getBaseElement=function(){return null},Hi.prototype.destroy=function(){},Hi.prototype.sourceRectAtTime=function(){},Hi.prototype.hide=function(){},Yt([Si,ps,qi,Jr],Hi);function Zr(){}Yt([xn],Zr),Zr.prototype.createNull=function(n){return new Hi(n,this.globalData,this)},Zr.prototype.createShape=function(n){return new Or(n,this.globalData,this)},Zr.prototype.createText=function(n){return new Mn(n,this.globalData,this)},Zr.prototype.createImage=function(n){return new io(n,this.globalData,this)},Zr.prototype.createSolid=function(n){return new ya(n,this.globalData,this)},Zr.prototype.configAnimation=function(n){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+n.w+" "+n.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",n.w),this.svgElement.setAttribute("height",n.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var o=this.globalData.defs;this.setupGlobalData(n,o),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=n;var l=Ht("clipPath"),f=Ht("rect");f.setAttribute("width",n.w),f.setAttribute("height",n.h),f.setAttribute("x",0),f.setAttribute("y",0);var p=Je();l.setAttribute("id",p),l.appendChild(f),this.layerElement.setAttribute("clip-path","url("+Gt()+"#"+p+")"),o.appendChild(l),this.layers=n.layers,this.elements=te(n.layers.length)},Zr.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var n,o=this.layers?this.layers.length:0;for(n=0;n<o;n+=1)this.elements[n]&&this.elements[n].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Zr.prototype.updateContainerSize=function(){},Zr.prototype.findIndexByInd=function(n){var o=0,l=this.layers.length;for(o=0;o<l;o+=1)if(this.layers[o].ind===n)return o;return-1},Zr.prototype.buildItem=function(n){var o=this.elements;if(!(o[n]||this.layers[n].ty===99)){o[n]=!0;var l=this.createItem(this.layers[n]);if(o[n]=l,qr()&&(this.layers[n].ty===0&&this.globalData.projectInterface.registerComposition(l),l.initExpressions()),this.appendElementInPos(l,n),this.layers[n].tt){var f="tp"in this.layers[n]?this.findIndexByInd(this.layers[n].tp):n-1;if(f===-1)return;if(!this.elements[f]||this.elements[f]===!0)this.buildItem(f),this.addPendingElement(l);else{var p=o[f],g=p.getMatte(this.layers[n].tt);l.setMatte(g)}}}},Zr.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var n=this.pendingElements.pop();if(n.checkParenting(),n.data.tt)for(var o=0,l=this.elements.length;o<l;){if(this.elements[o]===n){var f="tp"in n.data?this.findIndexByInd(n.data.tp):o-1,p=this.elements[f],g=p.getMatte(this.layers[o].tt);n.setMatte(g);break}o+=1}}},Zr.prototype.renderFrame=function(n){if(!(this.renderedFrame===n||this.destroyed)){n===null?n=this.renderedFrame:this.renderedFrame=n,this.globalData.frameNum=n,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=n,this.globalData._mdf=!1;var o,l=this.layers.length;for(this.completeLayers||this.checkLayers(n),o=l-1;o>=0;o-=1)(this.completeLayers||this.elements[o])&&this.elements[o].prepareFrame(n-this.layers[o].st);if(this.globalData._mdf)for(o=0;o<l;o+=1)(this.completeLayers||this.elements[o])&&this.elements[o].renderFrame()}},Zr.prototype.appendElementInPos=function(n,o){var l=n.getBaseElement();if(l){for(var f=0,p;f<o;)this.elements[f]&&this.elements[f]!==!0&&this.elements[f].getBaseElement()&&(p=this.elements[f].getBaseElement()),f+=1;p?this.layerElement.insertBefore(l,p):this.layerElement.appendChild(l)}},Zr.prototype.hide=function(){this.layerElement.style.display="none"},Zr.prototype.show=function(){this.layerElement.style.display="block"};function ai(){}Yt([Si,ps,qi,Jr,no],ai),ai.prototype.initElement=function(n,o,l){this.initFrame(),this.initBaseData(n,o,l),this.initTransform(n,o,l),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!o.progressiveLoad)&&this.buildAllItems(),this.hide()},ai.prototype.prepareFrame=function(n){if(this._mdf=!1,this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=n/this.data.sr;else{var o=this.tm.v;o===this.data.op&&(o=this.data.op-1),this.renderedFrame=o}var l,f=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),l=f-1;l>=0;l-=1)(this.completeLayers||this.elements[l])&&(this.elements[l].prepareFrame(this.renderedFrame-this.layers[l].st),this.elements[l]._mdf&&(this._mdf=!0))}},ai.prototype.renderInnerContent=function(){var n,o=this.layers.length;for(n=0;n<o;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame()},ai.prototype.setElements=function(n){this.elements=n},ai.prototype.getElements=function(){return this.elements},ai.prototype.destroyElements=function(){var n,o=this.layers.length;for(n=0;n<o;n+=1)this.elements[n]&&this.elements[n].destroy()},ai.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Wn(n,o,l){this.layers=n.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?te(this.layers.length):[],this.initElement(n,o,l),this.tm=n.tm?At.getProp(this,n.tm,0,o.frameRate,this):{_placeholder:!0}}Yt([Zr,ai,ro],Wn),Wn.prototype.createComp=function(n){return new Wn(n,this.globalData,this)};function js(n,o){this.animationItem=n,this.layers=null,this.renderedFrame=-1,this.svgElement=Ht("svg");var l="";if(o&&o.title){var f=Ht("title"),p=Je();f.setAttribute("id",p),f.textContent=o.title,this.svgElement.appendChild(f),l+=p}if(o&&o.description){var g=Ht("desc"),S=Je();g.setAttribute("id",S),g.textContent=o.description,this.svgElement.appendChild(g),l+=" "+S}l&&this.svgElement.setAttribute("aria-labelledby",l);var W=Ht("defs");this.svgElement.appendChild(W);var P=Ht("g");this.svgElement.appendChild(P),this.layerElement=P,this.renderConfig={preserveAspectRatio:o&&o.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:o&&o.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:o&&o.contentVisibility||"visible",progressiveLoad:o&&o.progressiveLoad||!1,hideOnTransparent:!(o&&o.hideOnTransparent===!1),viewBoxOnly:o&&o.viewBoxOnly||!1,viewBoxSize:o&&o.viewBoxSize||!1,className:o&&o.className||"",id:o&&o.id||"",focusable:o&&o.focusable,filterSize:{width:o&&o.filterSize&&o.filterSize.width||"100%",height:o&&o.filterSize&&o.filterSize.height||"100%",x:o&&o.filterSize&&o.filterSize.x||"0%",y:o&&o.filterSize&&o.filterSize.y||"0%"},width:o&&o.width,height:o&&o.height,runExpressions:!o||o.runExpressions===void 0||o.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:W,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return Yt([Zr],js),js.prototype.createComp=function(n){return new Wn(n,this.globalData,this)},vn("svg",js),En.registerModifier("tm",I),En.registerModifier("pb",rt),En.registerModifier("rp",xt),En.registerModifier("rd",Wt),En.registerModifier("zz",us),En.registerModifier("op",Lr),_e})})(y,y.exports);var x=y.exports;function O(ct,dt){var St=ct==null?null:typeof Symbol<"u"&&ct[Symbol.iterator]||ct["@@iterator"];if(St!=null){var wt,It,zt,jt,ne=[],se=!0,Gt=!1;try{if(zt=(St=St.call(ct)).next,dt!==0)for(;!(se=(wt=zt.call(St)).done)&&(ne.push(wt.value),ne.length!==dt);se=!0);}catch(De){Gt=!0,It=De}finally{try{if(!se&&St.return!=null&&(jt=St.return(),Object(jt)!==jt))return}finally{if(Gt)throw It}}return ne}}function D(ct,dt){var St=Object.keys(ct);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(ct);dt&&(wt=wt.filter(function(It){return Object.getOwnPropertyDescriptor(ct,It).enumerable})),St.push.apply(St,wt)}return St}function Q(ct){for(var dt=1;dt<arguments.length;dt++){var St=arguments[dt]!=null?arguments[dt]:{};dt%2?D(Object(St),!0).forEach(function(wt){J(ct,wt,St[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ct,Object.getOwnPropertyDescriptors(St)):D(Object(St)).forEach(function(wt){Object.defineProperty(ct,wt,Object.getOwnPropertyDescriptor(St,wt))})}return ct}function J(ct,dt,St){return dt=Mt(dt),dt in ct?Object.defineProperty(ct,dt,{value:St,enumerable:!0,configurable:!0,writable:!0}):ct[dt]=St,ct}function et(ct,dt){if(ct==null)return{};var St={},wt=Object.keys(ct),It,zt;for(zt=0;zt<wt.length;zt++)It=wt[zt],!(dt.indexOf(It)>=0)&&(St[It]=ct[It]);return St}function ut(ct,dt){if(ct==null)return{};var St=et(ct,dt),wt,It;if(Object.getOwnPropertySymbols){var zt=Object.getOwnPropertySymbols(ct);for(It=0;It<zt.length;It++)wt=zt[It],!(dt.indexOf(wt)>=0)&&Object.prototype.propertyIsEnumerable.call(ct,wt)&&(St[wt]=ct[wt])}return St}function ft(ct,dt){return pt(ct)||O(ct,dt)||it(ct,dt)||Tt()}function pt(ct){if(Array.isArray(ct))return ct}function it(ct,dt){if(ct){if(typeof ct=="string")return yt(ct,dt);var St=Object.prototype.toString.call(ct).slice(8,-1);if(St==="Object"&&ct.constructor&&(St=ct.constructor.name),St==="Map"||St==="Set")return Array.from(ct);if(St==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St))return yt(ct,dt)}}function yt(ct,dt){(dt==null||dt>ct.length)&&(dt=ct.length);for(var St=0,wt=new Array(dt);St<dt;St++)wt[St]=ct[St];return wt}function Tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1573
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lt(ct,dt){if(typeof ct!="object"||ct===null)return ct;var St=ct[Symbol.toPrimitive];if(St!==void 0){var wt=St.call(ct,dt||"default");if(typeof wt!="object")return wt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(dt==="string"?String:Number)(ct)}function Mt(ct){var dt=Lt(ct,"string");return typeof dt=="symbol"?dt:String(dt)}var vt=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],Ct=function(dt,St){var wt=dt.animationData,It=dt.loop,zt=dt.autoplay,jt=dt.initialSegment,ne=dt.onComplete,se=dt.onLoopComplete,Gt=dt.onEnterFrame,De=dt.onSegmentStart,Yt=dt.onConfigReady,er=dt.onDataReady,rr=dt.onDataFailed,Nt=dt.onLoadedImages,te=dt.onDOMLoaded,Ie=dt.onDestroy;dt.lottieRef,dt.renderer,dt.name,dt.assetsPath,dt.rendererSettings;var Le=ut(dt,vt),Ke=a.useState(!1),Pe=ft(Ke,2),ze=Pe[0],We=Pe[1],ce=a.useRef(),Se=a.useRef(null),Wr=function(){var ye;(ye=ce.current)===null||ye===void 0||ye.play()},fe=function(){var ye;(ye=ce.current)===null||ye===void 0||ye.stop()},fr=function(){var ye;(ye=ce.current)===null||ye===void 0||ye.pause()},ur=function(ye){var we;(we=ce.current)===null||we===void 0||we.setSpeed(ye)},Pr=function(ye,we){var pe;(pe=ce.current)===null||pe===void 0||pe.goToAndPlay(ye,we)},Ur=function(ye,we){var pe;(pe=ce.current)===null||pe===void 0||pe.goToAndStop(ye,we)},Vr=function(ye){var we;(we=ce.current)===null||we===void 0||we.setDirection(ye)},$r=function(ye,we){var pe;(pe=ce.current)===null||pe===void 0||pe.playSegments(ye,we)},rn=function(ye){var we;(we=ce.current)===null||we===void 0||we.setSubframe(ye)},Sr=function(ye){var we;return(we=ce.current)===null||we===void 0?void 0:we.getDuration(ye)},Je=function(){var ye;(ye=ce.current)===null||ye===void 0||ye.destroy(),ce.current=void 0},Br=function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},we;if(Se.current){(we=ce.current)===null||we===void 0||we.destroy();var pe=Q(Q(Q({},dt),ye),{},{container:Se.current});return ce.current=x.loadAnimation(pe),We(!!ce.current),function(){var Mr;(Mr=ce.current)===null||Mr===void 0||Mr.destroy(),ce.current=void 0}}};a.useEffect(function(){var Ne=Br();return function(){return Ne==null?void 0:Ne()}},[wt,It]),a.useEffect(function(){ce.current&&(ce.current.autoplay=!!zt)},[zt]),a.useEffect(function(){if(ce.current){if(!jt){ce.current.resetSegments(!0);return}!Array.isArray(jt)||!jt.length||((ce.current.currentRawFrame<jt[0]||ce.current.currentRawFrame>jt[1])&&(ce.current.currentRawFrame=jt[0]),ce.current.setSegment(jt[0],jt[1]))}},[jt]),a.useEffect(function(){var Ne=[{name:"complete",handler:ne},{name:"loopComplete",handler:se},{name:"enterFrame",handler:Gt},{name:"segmentStart",handler:De},{name:"config_ready",handler:Yt},{name:"data_ready",handler:er},{name:"data_failed",handler:rr},{name:"loaded_images",handler:Nt},{name:"DOMLoaded",handler:te},{name:"destroy",handler:Ie}],ye=Ne.filter(function(pe){return pe.handler!=null});if(ye.length){var we=ye.map(function(pe){var Mr;return(Mr=ce.current)===null||Mr===void 0||Mr.addEventListener(pe.name,pe.handler),function(){var nn;(nn=ce.current)===null||nn===void 0||nn.removeEventListener(pe.name,pe.handler)}});return function(){we.forEach(function(pe){return pe()})}}},[ne,se,Gt,De,Yt,er,rr,Nt,te,Ie]);var Kr=h.default.createElement("div",Q({style:St,ref:Se},Le));return{View:Kr,play:Wr,stop:fe,pause:fr,setSpeed:ur,goToAndStop:Ur,goToAndPlay:Pr,setDirection:Vr,playSegments:$r,setSubframe:rn,getDuration:Sr,destroy:Je,animationContainerRef:Se,animationLoaded:ze,animationItem:ce.current}};function qt(ct){var dt=ct.getBoundingClientRect(),St=dt.top,wt=dt.height,It=window.innerHeight-St,zt=window.innerHeight+wt;return It/zt}function ie(ct,dt,St){var wt=ct.getBoundingClientRect(),It=wt.top,zt=wt.left,jt=wt.width,ne=wt.height,se=(dt-zt)/jt,Gt=(St-It)/ne;return{x:se,y:Gt}}var de=function(dt){var St=dt.wrapperRef,wt=dt.animationItem,It=dt.mode,zt=dt.actions;a.useEffect(function(){var jt=St.current;if(!(!jt||!wt||!zt.length)){wt.stop();var ne=function(){var De=null,Yt=function(){var rr=qt(jt),Nt=zt.find(function(Ie){var Le=Ie.visibility;return Le&&rr>=Le[0]&&rr<=Le[1]});if(Nt){if(Nt.type==="seek"&&Nt.visibility&&Nt.frames.length===2){var te=Nt.frames[0]+Math.ceil((rr-Nt.visibility[0])/(Nt.visibility[1]-Nt.visibility[0])*Nt.frames[1]);//! goToAndStop must be relative to the start of the current segment
|
|
1574
|
-
wt.goToAndStop(te-wt.firstFrame-1,!0)}Nt.type==="loop"&&(De===null||De!==Nt.frames||wt.isPaused)&&(wt.playSegments(Nt.frames,!0),De=Nt.frames),Nt.type==="play"&&wt.isPaused&&(wt.resetSegments(!0),wt.play()),Nt.type==="stop"&&wt.goToAndStop(Nt.frames[0]-wt.firstFrame-1,!0)}};return document.addEventListener("scroll",Yt),function(){document.removeEventListener("scroll",Yt)}},se=function(){var De=function(Nt,te){var Ie=Nt,Le=te;if(Ie!==-1&&Le!==-1){var Ke=ie(jt,Ie,Le);Ie=Ke.x,Le=Ke.y}var Pe=zt.find(function(ce){var Se=ce.position;return Se&&Array.isArray(Se.x)&&Array.isArray(Se.y)?Ie>=Se.x[0]&&Ie<=Se.x[1]&&Le>=Se.y[0]&&Le<=Se.y[1]:Se&&!Number.isNaN(Se.x)&&!Number.isNaN(Se.y)?Ie===Se.x&&Le===Se.y:!1});if(Pe){if(Pe.type==="seek"&&Pe.position&&Array.isArray(Pe.position.x)&&Array.isArray(Pe.position.y)&&Pe.frames.length===2){var ze=(Ie-Pe.position.x[0])/(Pe.position.x[1]-Pe.position.x[0]),We=(Le-Pe.position.y[0])/(Pe.position.y[1]-Pe.position.y[0]);wt.playSegments(Pe.frames,!0),wt.goToAndStop(Math.ceil((ze+We)/2*(Pe.frames[1]-Pe.frames[0])),!0)}Pe.type==="loop"&&wt.playSegments(Pe.frames,!0),Pe.type==="play"&&(wt.isPaused&&wt.resetSegments(!1),wt.playSegments(Pe.frames)),Pe.type==="stop"&&wt.goToAndStop(Pe.frames[0],!0)}},Yt=function(Nt){De(Nt.clientX,Nt.clientY)},er=function(){De(-1,-1)};return jt.addEventListener("mousemove",Yt),jt.addEventListener("mouseout",er),function(){jt.removeEventListener("mousemove",Yt),jt.removeEventListener("mouseout",er)}};switch(It){case"scroll":return ne();case"cursor":return se()}}},[It,wt])},me=function(dt){var St=dt.actions,wt=dt.mode,It=dt.lottieObj,zt=It.animationItem,jt=It.View,ne=It.animationContainerRef;return de({actions:St,animationItem:zt,mode:wt,wrapperRef:ne}),jt},Me=["style","interactivity"],xe=function(dt){var St,wt,It,zt=dt.style,jt=dt.interactivity,ne=ut(dt,Me),se=Ct(ne,zt),Gt=se.View,De=se.play,Yt=se.stop,er=se.pause,rr=se.setSpeed,Nt=se.goToAndStop,te=se.goToAndPlay,Ie=se.setDirection,Le=se.playSegments,Ke=se.setSubframe,Pe=se.getDuration,ze=se.destroy,We=se.animationContainerRef,ce=se.animationLoaded,Se=se.animationItem;return a.useEffect(function(){dt.lottieRef&&(dt.lottieRef.current={play:De,stop:Yt,pause:er,setSpeed:rr,goToAndPlay:te,goToAndStop:Nt,setDirection:Ie,playSegments:Le,setSubframe:Ke,getDuration:Pe,destroy:ze,animationContainerRef:We,animationLoaded:ce,animationItem:Se})},[(St=dt.lottieRef)===null||St===void 0?void 0:St.current]),me({lottieObj:{View:Gt,play:De,stop:Yt,pause:er,setSpeed:rr,goToAndStop:Nt,goToAndPlay:te,setDirection:Ie,playSegments:Le,setSubframe:Ke,getDuration:Pe,destroy:ze,animationContainerRef:We,animationLoaded:ce,animationItem:Se},actions:(wt=jt==null?void 0:jt.actions)!==null&&wt!==void 0?wt:[],mode:(It=jt==null?void 0:jt.mode)!==null&&It!==void 0?It:"scroll"})};s.LottiePlayer=x,s.default=xe,s.useLottie=Ct,s.useLottieInteractivity=me,Object.defineProperty(s,"__esModule",{value:!0})})})(gf,gf.exports);var _2=gf.exports;const x2=qa(_2),S2=Bt(x2).attrs(({autoplay:t=!0})=>({autoplay:t,className:"comp-lottie"}))`
|
|
1575
|
-
${({$size:t=16})=>`
|
|
1576
|
-
height: ${t}px;
|
|
1577
|
-
width: ${t}px;
|
|
1578
|
-
`}
|
|
1579
|
-
`,C2=t=>{const{size:r}=t;return H.jsx(S2,{$size:r,...t})},A2=Bt.button`
|
|
1580
|
-
align-items: center;
|
|
1581
|
-
background-color: transparent;
|
|
1582
|
-
border: unset;
|
|
1583
|
-
cursor: pointer;
|
|
1584
|
-
display: flex;
|
|
1585
|
-
justify-content: center;
|
|
1586
|
-
gap: 5px;
|
|
1587
|
-
padding: 0;
|
|
1588
|
-
|
|
1589
|
-
&:hover p {
|
|
1590
|
-
color: ${ge.palette.primary[200]};
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
&:hover span {
|
|
1594
|
-
color: ${ge.palette.primary[200]};
|
|
1595
|
-
}
|
|
1596
|
-
`,k2=t=>t==="platform"?{normal:"sm",small:void 0}:{normal:"md",small:"sm"},$2=({message:t,onClickButton:r,buttonText:s,buttonFontWeight:a="regular",icon:u,onClose:h,variant:m="web"})=>{const y=$n(),[x,O]=X.useState(!0),D=X.useCallback(()=>{O(!1),h==null||h()},[h]),Q=k2(m);return H.jsxs(cr,{alignItems:"center",bgGradient:y.palette.gradients["01"],display:x?"flex":"none",id:"message-banner",justify:"space-between",padding:[.75,.75,.75,.75],children:[H.jsxs(cr,{display:"flex",gap:.5,justify:"center",width:"100%",children:[H.jsx(cr,{children:typeof t=="string"?H.jsx(_r,{color:y.palette.white,display:"inline",size:Q.normal,sizeSm:Q.small,children:t}):t}),r?H.jsxs(A2,{onClick:r,children:[H.jsx(_r,{color:y.palette.white,fontWeight:a,size:Q.normal,sizeSm:Q.small,textDecoration:"underline",children:s}),H.jsx(vr,{icon:u??"arrow-right",iconColor:y.palette.white,iconSize:"xs",iconType:a==="bold"?"fa-regular":"fa-light"})]}):void 0]}),H.jsx(vr,{clickable:!0,hoverColor:y.palette.primary[200],icon:"close",iconColor:y.palette.white,iconSize:"xs",iconType:"fa-light",onClick:D})]})},E2=Bt.div`
|
|
1597
|
-
${({theme:t,$variant:r})=>`
|
|
1598
|
-
background: ${t.palette.white};
|
|
1599
|
-
border: 1px solid ${t.palette.gray[200]};
|
|
1600
|
-
border-radius: ${t.spacing[.25]};
|
|
1601
|
-
border-left: 4px solid ${t.palette[r][500]};
|
|
1602
|
-
box-shadow: ${t.shadows.md};
|
|
1603
|
-
position: relative;
|
|
1604
|
-
display: flex;
|
|
1605
|
-
width: 360px;
|
|
1606
|
-
padding: ${t.spacing[1.25]} ${t.spacing[1]} ${t.spacing[1.25]} ${t.spacing[.75]};
|
|
1607
|
-
gap: ${t.spacing[.5]};
|
|
1608
|
-
|
|
1609
|
-
button {
|
|
1610
|
-
position: absolute;
|
|
1611
|
-
top: 20px;
|
|
1612
|
-
right: 16px;
|
|
1613
|
-
}
|
|
1614
|
-
`}
|
|
1615
|
-
`,T2=Bt.div`
|
|
1616
|
-
${({theme:t,$variant:r})=>`
|
|
1617
|
-
height: ${t.spacing[2.5]};
|
|
1618
|
-
width: ${t.spacing[2.5]};
|
|
1619
|
-
position: relative;
|
|
1620
|
-
flex-shrink: 0;
|
|
1621
|
-
|
|
1622
|
-
& .ellipse-1,
|
|
1623
|
-
& .ellipse-2,
|
|
1624
|
-
& .icon {
|
|
1625
|
-
top: 50%;
|
|
1626
|
-
left: 50%;
|
|
1627
|
-
transform: translate(-50%, -50%);
|
|
1628
|
-
position: absolute;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
& .ellipse-1 {
|
|
1632
|
-
transform: scale(2.5) translate(-20%, -20%);
|
|
1633
|
-
color: ${t.palette[r][50]};
|
|
1634
|
-
position: absolute;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
& .ellipse-2 {
|
|
1638
|
-
transform: scale(2) translate(-25%, -25%);
|
|
1639
|
-
color: ${t.palette[r][200]};
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
& .icon {
|
|
1643
|
-
color: ${t.palette[r][500]};
|
|
1644
|
-
}
|
|
1645
|
-
`}
|
|
1646
|
-
`,P2=t=>t==="warning"?"triangle-exclamation":t==="info"?"circle-info":t==="success"?"circle-check":"circle-exclamation",R2=({description:t,onClose:r,title:s,variant:a})=>{const u=$n(),h=X.useCallback(()=>{r==null||r()},[r]);return H.jsxs(E2,{$variant:a,className:`notification notification__${a}`,children:[H.jsxs(T2,{$variant:a,children:[H.jsx(vr,{icon:"circle",iconClass:"ellipse-1",iconSize:"xs"}),H.jsx(vr,{icon:"circle",iconClass:"ellipse-2",iconSize:"xs"}),H.jsx(vr,{icon:P2(a),iconClass:"icon",iconSize:"xs",iconType:"fa-light"})]}),H.jsxs(cr,{pr:1.5,children:[H.jsx($s,{fontWeight:"bold",size:"xs",children:s}),H.jsx(_r,{size:"sm",whiteSpace:"break-spaces",wordWrap:"break-word",children:t})]}),H.jsx(sl,{height:"fit-content",icon:"close",iconColor:u.palette.gray[400],iconSize:"xs",iconType:"fa-light",onClick:h,px:.125,py:.125,variant:"ghost"})]})},I2=Bt(tl)`
|
|
1647
|
-
${({theme:t,$variant:r})=>`
|
|
1648
|
-
align-items: center;
|
|
1649
|
-
background: ${r==="error"?t.palette.primary[400]:t.palette.warning[500]};
|
|
1650
|
-
border-radius: 100%;
|
|
1651
|
-
font-family: ${t.typography.type.primary};
|
|
1652
|
-
justify-content: center;
|
|
1653
|
-
padding: 0;
|
|
1654
|
-
position: absolute;
|
|
1655
|
-
z-index: 11;
|
|
1656
|
-
width: ${t.spacing[.5]};
|
|
1657
|
-
height: ${t.spacing[.5]};
|
|
1658
|
-
`}
|
|
1659
|
-
`,O2=Bt.div`
|
|
1660
|
-
align-items: center;
|
|
1661
|
-
color: ${({theme:t})=>t.palette.white};
|
|
1662
|
-
display: flex;
|
|
1663
|
-
font-size: 6px;
|
|
1664
|
-
font-weight: ${({theme:t})=>t.typography.weight.bold};
|
|
1665
|
-
justify-content: center;
|
|
1666
|
-
`,n0=X.forwardRef(function({numberIndicator:r,show:s,variant:a="error",...u},h){return H.jsx(I2,{$variant:a,className:s?"flex":"hidden","data-testid":"notification-sign",ref:h,...u,children:r&&H.jsx(O2,{children:r<=9?r:9})})}),M2=Bt.div`
|
|
1667
|
-
width: fit-content;
|
|
1668
|
-
border: ${({theme:t})=>`1px solid ${t.palette.gray[300]}`};
|
|
1669
|
-
border-radius: 4px;
|
|
1670
|
-
background: none;
|
|
1671
|
-
color: ${({theme:t})=>t.palette.black};
|
|
1672
|
-
font-family: ${({theme:t})=>t.typography.type.primary};
|
|
1673
|
-
font-size: ${({theme:t})=>t.typography.text.md};
|
|
1674
|
-
height: 40px;
|
|
1675
|
-
display: flex;
|
|
1676
|
-
align-items: center;
|
|
1677
|
-
justify-content: center;
|
|
1678
|
-
padding: 0.5em;
|
|
1679
|
-
`,L2=Bt.input`
|
|
1680
|
-
width: 4em;
|
|
1681
|
-
appearance: textfield;
|
|
1682
|
-
border-style: none;
|
|
1683
|
-
padding: 0.5rem;
|
|
1684
|
-
padding-top: 0.5rem;
|
|
1685
|
-
padding-bottom: 0.5rem;
|
|
1686
|
-
padding-left: 0.5rem;
|
|
1687
|
-
background: none;
|
|
1688
|
-
|
|
1689
|
-
&:focus {
|
|
1690
|
-
border-color: unset;
|
|
1691
|
-
box-shadow: none;
|
|
1692
|
-
outline: none;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
&::-webkit-outer-spin-button,
|
|
1696
|
-
&::-webkit-inner-spin-button {
|
|
1697
|
-
opacity: 1;
|
|
1698
|
-
}
|
|
1699
|
-
`,F2=X.forwardRef(function({autoUpdate:r=!1,decimalPlaces:s=0,defaultValue:a=0,max:u,min:h,onEnter:m,tooltipMessage:y,...x},O){const D=s<0?0:s,[Q,J]=X.useState(Number(a).toFixed(D)),et=X.useCallback(pt=>{const it=La.toNumber(pt.target.value);pt.target.value.endsWith(".")?J(pt.target.value):it>=Number(h)&&it<=Number(u)&&(J(String(it)),r&&m(La.toNumber(it.toFixed(D)))),pt.stopPropagation()},[r,D,u,h,m]),ut=X.useCallback(pt=>{pt.currentTarget.contains(pt.relatedTarget)||J(Number(a).toFixed(D)),pt.stopPropagation()},[D,a]),ft=X.useCallback(pt=>{pt.stopPropagation(),pt.key==="Enter"&&!La.isEmpty(pt.currentTarget.value)&&m(La.toNumber(pt.currentTarget.value))},[m]);return H.jsx(M2,{onBlur:ut,tabIndex:-1,children:H.jsx(aa,{id:"numberInputTooltip",tip:y,children:H.jsx(L2,{...x,max:u,min:h,onChange:et,onKeyUp:ft,ref:O,step:10**-D,type:"number",value:Q})})})}),j2=Bt(tl)`
|
|
1700
|
-
animation: ${({$animationTime:t})=>`progress-bar ${t}s ease-in-out`};
|
|
1701
|
-
animation-fill-mode: both;
|
|
1702
|
-
|
|
1703
|
-
@keyframes progress-bar {
|
|
1704
|
-
0% {
|
|
1705
|
-
width: 0;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
100% {
|
|
1709
|
-
width: 100%;
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
`,D2=t=>t*1e3/100,N2=({progressTime:t=10,onComplete:r})=>{const s=$n(),a=100,[u,h]=X.useState(0);return X.useEffect(()=>{u===a&&(r==null||r())},[u,r]),X.useEffect(()=>{const m=setInterval(()=>{h(y=>y===a?0:y+1)},D2(t));return()=>{clearInterval(m)}},[u,t]),H.jsx(cr,{bgColor:s.palette.gray[200],height:"4px",children:H.jsx(j2,{$animationTime:t,bgGradient:s.palette.gradients["01"],height:"100%",width:`${u}%`})})},V2=Bt.label`
|
|
1713
|
-
${({theme:t,$disabled:r})=>{const s=r?300:600,a=r?"not-allowed":"pointer";return`
|
|
1714
|
-
display: flex;
|
|
1715
|
-
align-items: center;
|
|
1716
|
-
font-family: ${t.typography.type.primary};
|
|
1717
|
-
font-size: ${t.typography.text.sm};
|
|
1718
|
-
font-weight: ${t.typography.weight.regular};
|
|
1719
|
-
line-height: ${t.typography.text.lg};
|
|
1720
|
-
text-align: left;
|
|
1721
|
-
position: relative;
|
|
1722
|
-
cursor: ${a};
|
|
1723
|
-
color: ${t.palette.gray[s]};
|
|
1724
|
-
gap: ${t.spacing[.5]};
|
|
1725
|
-
|
|
1726
|
-
input {
|
|
1727
|
-
position: absolute;
|
|
1728
|
-
opacity: 0;
|
|
1729
|
-
cursor: pointer;
|
|
1730
|
-
width: 0;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
.checkmark {
|
|
1734
|
-
position: relative;
|
|
1735
|
-
top: 0;
|
|
1736
|
-
left: 0;
|
|
1737
|
-
height: 16px;
|
|
1738
|
-
width: 16px;
|
|
1739
|
-
background-color: ${t.palette.white};
|
|
1740
|
-
border-radius: 50%;
|
|
1741
|
-
border: 1px solid ${t.palette.gray[600]};
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
input:disabled ~ .checkmark {
|
|
1745
|
-
border: 1px solid ${t.palette.gray[300]};
|
|
1746
|
-
background-color: ${t.palette.white};
|
|
1747
|
-
cursor: not-allowed;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
input:not(:disabled):checked ~ .checkmark {
|
|
1751
|
-
background-color: ${t.palette.white};
|
|
1752
|
-
border: 1px solid ${t.palette.primary[500]};
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
input:not(:disabled):hover ~ .checkmark {
|
|
1756
|
-
background-color: ${t.palette.white};
|
|
1757
|
-
box-shadow: 0 0 0 4px ${t.palette.gray[100]};
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
input:not(:disabled):hover:checked ~ .checkmark {
|
|
1761
|
-
background-color: ${t.palette.white};
|
|
1762
|
-
box-shadow: 0 0 0 4px ${t.palette.primary[50]};
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
.checkmark::after {
|
|
1766
|
-
content: "";
|
|
1767
|
-
position: absolute;
|
|
1768
|
-
display: none;
|
|
1769
|
-
top: 3px;
|
|
1770
|
-
left: 3px;
|
|
1771
|
-
width: 8px;
|
|
1772
|
-
height: 8px;
|
|
1773
|
-
border-radius: 50%;
|
|
1774
|
-
background: ${t.palette.primary[500]};
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
input:checked ~ .checkmark::after {
|
|
1778
|
-
display: block;
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
input:disabled:checked ~ .checkmark::after {
|
|
1782
|
-
background-color: ${t.palette.gray[300]};
|
|
1783
|
-
}
|
|
1784
|
-
`}}
|
|
1785
|
-
`,B2=Bt.span.attrs({className:"checkmark"})``,z2=X.forwardRef(function({defaultChecked:r=!1,disabled:s=!1,label:a,name:u,onChange:h,onClick:m,value:y,...x},O){return H.jsxs(V2,{$disabled:s,children:[H.jsx("input",{"aria-label":u,defaultChecked:r,disabled:s,name:u,onChange:h,onClick:m,ref:O,type:"radio",value:y,...x}),H.jsx(B2,{}),a??null]})}),W2=Bt.a`
|
|
1786
|
-
${({theme:t})=>`
|
|
1787
|
-
align-items: center;
|
|
1788
|
-
display: flex;
|
|
1789
|
-
background: ${t.palette.white};
|
|
1790
|
-
border-radius: ${t.spacing[.5]};
|
|
1791
|
-
cursor: pointer;
|
|
1792
|
-
gap: ${t.spacing[1]};
|
|
1793
|
-
padding:
|
|
1794
|
-
${t.spacing[.5]}
|
|
1795
|
-
${t.spacing[1]}
|
|
1796
|
-
${t.spacing[.5]}
|
|
1797
|
-
${t.spacing[.5]};
|
|
1798
|
-
width: 1143px;
|
|
1799
|
-
|
|
1800
|
-
&:hover {
|
|
1801
|
-
background: ${t.palette.gray[100]};
|
|
1802
|
-
|
|
1803
|
-
> div.icon-wrap {
|
|
1804
|
-
background: ${t.palette.gradients["01"]};
|
|
1805
|
-
|
|
1806
|
-
path {
|
|
1807
|
-
fill: ${t.palette.white};
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
@media screen
|
|
1813
|
-
and (min-width: ${t.breakpoints.sm})
|
|
1814
|
-
and (max-width: ${t.breakpoints.md})
|
|
1815
|
-
{
|
|
1816
|
-
width: 905px;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
@media screen
|
|
1820
|
-
and (min-width: 40em)
|
|
1821
|
-
and (max-width: ${t.breakpoints.sm})
|
|
1822
|
-
{
|
|
1823
|
-
width: 475px;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
@media screen and (max-width: 40em) {
|
|
1827
|
-
width: 270px;
|
|
1828
|
-
}
|
|
1829
|
-
`}
|
|
1830
|
-
`,U2=Bt.div.attrs({className:"icon-wrap"})`
|
|
1831
|
-
${({theme:t})=>`
|
|
1832
|
-
align-items: center;
|
|
1833
|
-
background: ${t.palette.primary[25]};
|
|
1834
|
-
border-radius: ${t.spacing[.25]};
|
|
1835
|
-
display: flex;
|
|
1836
|
-
justify-content: center;
|
|
1837
|
-
min-width: ${t.spacing[2.5]};
|
|
1838
|
-
height: ${t.spacing[2.5]};
|
|
1839
|
-
padding: ${t.spacing[.5]};
|
|
1840
|
-
|
|
1841
|
-
span {
|
|
1842
|
-
font-size: 20px;
|
|
1843
|
-
}
|
|
1844
|
-
`}
|
|
1845
|
-
`,q2=Bt.div`
|
|
1846
|
-
${({theme:t})=>`
|
|
1847
|
-
align-items: flex-start;
|
|
1848
|
-
display: flex;
|
|
1849
|
-
flex-direction: column;
|
|
1850
|
-
gap: ${t.spacing[1.5]};
|
|
1851
|
-
width: 1193px;
|
|
1852
|
-
|
|
1853
|
-
> :is(form, .dropdown) {
|
|
1854
|
-
border-radius: ${t.spacing[.5]};
|
|
1855
|
-
border: 1px solid ${t.palette.gray[200]};
|
|
1856
|
-
background-color: ${t.palette.white};
|
|
1857
|
-
}
|
|
1858
|
-
|
|
1859
|
-
@media screen
|
|
1860
|
-
and (min-width: ${t.breakpoints.sm})
|
|
1861
|
-
and (max-width: ${t.breakpoints.md})
|
|
1862
|
-
{
|
|
1863
|
-
width: 954px;
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
@media screen
|
|
1867
|
-
and (min-width: 40em)
|
|
1868
|
-
and (max-width: ${t.breakpoints.sm})
|
|
1869
|
-
{
|
|
1870
|
-
width: 526px;
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
@media screen and (max-width: 40em) {
|
|
1874
|
-
width: 320px;
|
|
1875
|
-
}
|
|
1876
|
-
`}
|
|
1877
|
-
`,G2=Bt.form`
|
|
1878
|
-
${({theme:t})=>`
|
|
1879
|
-
align-items: center;
|
|
1880
|
-
display: flex;
|
|
1881
|
-
gap: ${t.spacing[.5]};
|
|
1882
|
-
justify-content: space-between;
|
|
1883
|
-
padding: ${t.spacing[1]} ${t.spacing[1.5]};
|
|
1884
|
-
width: 100%;
|
|
1885
|
-
`}
|
|
1886
|
-
`,H2=Bt.input`
|
|
1887
|
-
${({theme:t})=>`
|
|
1888
|
-
flex: 1 0 0;
|
|
1889
|
-
border: none;
|
|
1890
|
-
color: ${t.palette.gray[600]};
|
|
1891
|
-
font-family: ${t.typography.type.primary};
|
|
1892
|
-
font-size: ${t.typography.text.md};
|
|
1893
|
-
font-weight: ${t.typography.weight.regular};
|
|
1894
|
-
line-height: ${t.spacing[1.5]};
|
|
1895
|
-
outline: none;
|
|
1896
|
-
|
|
1897
|
-
&::placeholder {
|
|
1898
|
-
color: ${t.palette.gray[400]};
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
&::-webkit-search-decoration,
|
|
1902
|
-
&::-webkit-search-cancel-button,
|
|
1903
|
-
&::-webkit-search-results-button,
|
|
1904
|
-
&::-webkit-search-results-decoration {
|
|
1905
|
-
-webkit-appearance:none;
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1909
|
-
font-size: ${t.typography.text.sm};
|
|
1910
|
-
}
|
|
1911
|
-
`}
|
|
1912
|
-
`,Y2=Bt.button`
|
|
1913
|
-
${({theme:t})=>`
|
|
1914
|
-
align-items: center;
|
|
1915
|
-
border-radius: ${t.spacing[.5]};
|
|
1916
|
-
display: flex;
|
|
1917
|
-
width: ${t.spacing[2.5]};
|
|
1918
|
-
height: ${t.spacing[2.5]};
|
|
1919
|
-
padding: ${t.spacing[.625]} ${t.spacing[1]};
|
|
1920
|
-
justify-content: center;
|
|
1921
|
-
gap: ${t.spacing[.5]};
|
|
1922
|
-
flex-shrink: 0;
|
|
1923
|
-
|
|
1924
|
-
span {
|
|
1925
|
-
color: ${t.palette.gray[400]};
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
&:hover {
|
|
1929
|
-
background-color: ${t.palette.gray[100]};
|
|
1930
|
-
}
|
|
1931
|
-
`}
|
|
1932
|
-
`,Lu=Bt.div.attrs({className:"dropdown"})`
|
|
1933
|
-
${({theme:t,$empty:r=!1,$showHits:s=!1})=>`
|
|
1934
|
-
align-items: flex-start;
|
|
1935
|
-
align-self: stretch;
|
|
1936
|
-
background-repeat: no-repeat;
|
|
1937
|
-
background-size: 100% 100%;
|
|
1938
|
-
display: flex;
|
|
1939
|
-
flex-direction: column;
|
|
1940
|
-
gap: ${t.spacing[.5]};
|
|
1941
|
-
max-height: ${s?"270px":"500px"};
|
|
1942
|
-
overflow: hidden auto;
|
|
1943
|
-
padding: ${t.spacing[1.5]};
|
|
1944
|
-
scrollbar-color: ${t.palette.gray[600]} ${t.palette.gray[100]};
|
|
1945
|
-
scroll-padding: ${t.spacing[.5]};
|
|
1946
|
-
scrollbar-width: thin;
|
|
1947
|
-
|
|
1948
|
-
@media screen and (max-width: ${t.breakpoints.sm}) and (${!r}) {
|
|
1949
|
-
max-height: 410px;
|
|
1950
|
-
}
|
|
1951
|
-
${r&&`
|
|
1952
|
-
@media screen and (min-width: ${t.breakpoints.mobile}) {
|
|
1953
|
-
border: none !important;
|
|
1954
|
-
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729784164/airs/search-bar/empty_state_bg.webp);
|
|
1955
|
-
}
|
|
1956
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
1957
|
-
border: none !important;
|
|
1958
|
-
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729783908/airs/search-bar/empty_state_bg_mobile.webp);
|
|
1959
|
-
}
|
|
1960
|
-
`}
|
|
1961
|
-
|
|
1962
|
-
&::-webkit-scrollbar {
|
|
1963
|
-
height: ${t.spacing[.5]};
|
|
1964
|
-
width: ${t.spacing[.5]};
|
|
1965
|
-
}
|
|
1966
|
-
&::-webkit-scrollbar-track {
|
|
1967
|
-
background: ${t.palette.gray[100]};
|
|
1968
|
-
}
|
|
1969
|
-
&::-webkit-scrollbar-thumb {
|
|
1970
|
-
background-color: ${t.palette.gray[600]};
|
|
1971
|
-
border-radius: ${t.spacing[5]};
|
|
1972
|
-
height: ${t.spacing[.5]};
|
|
1973
|
-
}
|
|
1974
|
-
`}
|
|
1975
|
-
`,Fu=({hit:t,icon:r="infinity",showIcon:s=!1})=>{const{slug:a,title:u}=t,h=String(a).startsWith("/pages/")?String(a).replace("/pages/","/"):String(a);return H.jsxs(W2,{href:h,rel:"nofollow noopener noreferrer",children:[s&&H.jsx(U2,{children:H.jsx(vr,{icon:r,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),H.jsx(_r,{color:ge.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(u)})]})},K2=[{hit:{slug:"/services/continuous-hacking/",title:"Continuous Hacking"},icon:"infinity"},{hit:{slug:"/platform/",title:"Platform"},icon:"sidebar"},{hit:{slug:"/plans/",title:"Plans"},icon:"star-christmas"},{hit:{slug:"/blog/",title:"Blog"},icon:"pen-line"}],Kp={hit:{slug:"/contact-us/",title:"Contact Support"},icon:"envelope"},Q2=({items:t,placeholder:r="Search",refine:s,query:a})=>{const[u,h]=X.useState(a),[m,y]=X.useState(!1),x=X.useRef(null),O=X.useRef(null),D=u.length>=2,Q=X.useCallback(it=>{h(it),s(it)},[s]),J=X.useCallback(()=>{Q("")},[Q]),et=X.useCallback(()=>{y(!0)},[]),ut=X.useCallback(it=>{Q(it.currentTarget.value)},[Q]),ft=X.useCallback(it=>{it.preventDefault(),it.stopPropagation(),J(),O.current&&O.current.focus()},[J]),pt=X.useCallback(it=>{it.preventDefault(),it.stopPropagation(),O.current&&O.current.blur()},[]);return Rf(x.current,()=>{J(),y(!1)},!0),H.jsxs(q2,{ref:x,children:[H.jsxs(G2,{action:"",noValidate:!0,onReset:ft,onSubmit:pt,role:"search",children:[H.jsxs("div",{className:"flex gap-2 w-full",children:[H.jsx("div",{className:"h-10 p-2",children:H.jsx(vr,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),H.jsx(H2,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:ut,onFocus:et,placeholder:r,ref:O,spellCheck:!1,type:"search",value:u})]}),D&&H.jsx(Y2,{type:"reset",children:H.jsx(vr,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),m&&u.length<2&&H.jsxs(Lu,{children:[H.jsx(_r,{color:ge.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),H.jsx("div",{className:"flex flex-col items-start self-stretch",children:K2.map(({hit:it,icon:yt},Tt)=>H.jsx(Fu,{hit:it,icon:yt,showIcon:!0},`${yt}-${Tt}`))}),H.jsx(_r,{color:ge.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Can’t find what you’re looking for?"}),H.jsx(Fu,{hit:Kp.hit,icon:Kp.icon,showIcon:!0})]}),D&&t.length>0&&H.jsxs(Lu,{$showHits:D,children:[H.jsx(_r,{color:ge.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),H.jsx("div",{className:"flex flex-col items-start self-stretch",children:t.map(it=>H.jsx(Fu,{hit:it},it.objectID))})]}),D&&t.length===0&&H.jsx(Lu,{$empty:t.length===0,children:H.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[H.jsx(cl,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),H.jsx($s,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),H.jsxs(_r,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${u}” did not match.`,H.jsx("br",{}),"Please try again."]}),H.jsx(la,{mode:"light",onClick:J,variant:"secondaryWeb",children:"Clear search"})]})})]})},X2=Bt.button`
|
|
1976
|
-
${({theme:t})=>`
|
|
1977
|
-
align-items: center;
|
|
1978
|
-
background-color: ${t.palette.white};
|
|
1979
|
-
border: 1px solid ${t.palette.gray[100]};
|
|
1980
|
-
border-radius: ${t.spacing[.25]};
|
|
1981
|
-
color: ${t.palette.gray[800]};
|
|
1982
|
-
cursor: pointer;
|
|
1983
|
-
display: flex;
|
|
1984
|
-
font-size: ${t.typography.text.sm};
|
|
1985
|
-
gap: ${t.spacing[.25]};
|
|
1986
|
-
height: 21px;
|
|
1987
|
-
width: 21px;
|
|
1988
|
-
justify-content: center;
|
|
1989
|
-
padding: 6px;
|
|
1990
|
-
transition: all 0.25s ease;
|
|
1991
|
-
|
|
1992
|
-
&[aria-label] {
|
|
1993
|
-
height: auto;
|
|
1994
|
-
width: auto;
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
&.success {
|
|
1998
|
-
border-color: ${t.palette.success[500]};
|
|
1999
|
-
color: ${t.palette.success[500]};
|
|
2000
|
-
|
|
2001
|
-
&:hover {
|
|
2002
|
-
background-color: ${t.palette.success[200]};
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
&:disabled {
|
|
2007
|
-
cursor: not-allowed;
|
|
2008
|
-
background: ${t.palette.gray[200]};
|
|
2009
|
-
border-color: ${t.palette.gray[200]};
|
|
2010
|
-
color: ${t.palette.gray[300]};
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
&:hover:not(.success) {
|
|
2014
|
-
background-color: ${t.palette.gray[100]};
|
|
2015
|
-
}
|
|
2016
|
-
`}
|
|
2017
|
-
`,J2={add:{icon:"plus"},approve:{icon:"check"},disabled:{icon:"ban"},reject:{icon:"xmark"},submit:{icon:"arrow-right"},success:{icon:"check"}},Z2=({disabled:t=!1,icon:r,id:s,label:a,name:u,onClick:h,type:m="button",variant:y})=>{const x=$n(),O=H.jsxs(X2,{"aria-label":u??void 0,className:y,disabled:t,id:s,onClick:h,type:m,children:[H.jsx(vr,{clickable:!1,icon:r??J2[y].icon,iconSize:u===void 0?"xxs":"xs",iconType:"fa-light"}),u??void 0]});return H.jsxs(cr,{alignItems:"center",display:"flex",children:[O,a&&H.jsx(_r,{color:x.palette.gray[800],ml:.5,size:"sm",children:a})]})},tR=Bt.button`
|
|
2018
|
-
${({theme:t})=>`
|
|
2019
|
-
align-items: center;
|
|
2020
|
-
color: ${t.palette.gray[500]};
|
|
2021
|
-
display: flex;
|
|
2022
|
-
gap: ${t.spacing[.625]};
|
|
2023
|
-
justify-content: center;
|
|
2024
|
-
padding: ${t.spacing[.75]};
|
|
2025
|
-
text-align: center;
|
|
2026
|
-
width: 151px;
|
|
2027
|
-
|
|
2028
|
-
&.active {
|
|
2029
|
-
color: ${t.palette.gray[800]};
|
|
2030
|
-
border-bottom: 3px solid ${t.palette.primary[400]};
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
&:hover {
|
|
2034
|
-
color: ${t.palette.gray[800]};
|
|
2035
|
-
}
|
|
2036
|
-
`}
|
|
2037
|
-
`,eR=Bt.div`
|
|
2038
|
-
${({theme:t})=>`
|
|
2039
|
-
align-items: center;
|
|
2040
|
-
border-bottom: 2px solid ${t.palette.gray[200]};
|
|
2041
|
-
display: flex;
|
|
2042
|
-
gap: ${t.spacing[3]};
|
|
2043
|
-
height: ${t.spacing[3]};
|
|
2044
|
-
width: max-content;
|
|
2045
|
-
`}
|
|
2046
|
-
`,rR=Bt(Qp.NavLink)`
|
|
2047
|
-
${({theme:t})=>`
|
|
2048
|
-
align-items: center;
|
|
2049
|
-
background: transparent;
|
|
2050
|
-
cursor: pointer;
|
|
2051
|
-
color: ${t.palette.gray[800]};
|
|
2052
|
-
font-family: ${t.typography.type.primary};
|
|
2053
|
-
font-size: ${t.typography.text.sm};
|
|
2054
|
-
display: flex;
|
|
2055
|
-
font-weight: ${t.typography.weight.regular};
|
|
2056
|
-
padding: ${t.spacing[.625]} ${t.spacing[.5]};
|
|
2057
|
-
position: relative;
|
|
2058
|
-
text-align: center;
|
|
2059
|
-
text-decoration: unset;
|
|
2060
|
-
|
|
2061
|
-
&:disabled {
|
|
2062
|
-
cursor: not-allowed;
|
|
2063
|
-
background-color: ${t.palette.gray[300]};
|
|
2064
|
-
color: ${t.palette.gray[300]};
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
&:hover:not([disabled]) {
|
|
2068
|
-
background-color: ${t.palette.gray[100]};
|
|
2069
|
-
color: ${t.palette.gray[800]};
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
&.active {
|
|
2073
|
-
background-color: transparent;
|
|
2074
|
-
border-bottom: solid 4px ${t.palette.primary[500]};
|
|
2075
|
-
padding-bottom: calc(${t.spacing[.625]} - 4px);
|
|
2076
|
-
|
|
2077
|
-
&:hover {
|
|
2078
|
-
background-color: transparent;
|
|
2079
|
-
border-bottom: solid 4px ${t.palette.primary[500]};
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2082
|
-
`}
|
|
2083
|
-
`,nR=({items:t})=>H.jsx(eR,{children:t.map(({isActive:r,label:s,onClick:a},u)=>H.jsx(tR,{className:r?"active":"",onClick:a,type:"button",children:H.jsx($s,{color:"inherit",fontWeight:"semibold",size:"sm",sizeSm:"xs",children:s})},`${s}-${u}`))}),i0=({label:t,id:r,isActive:s=!1,link:a,notificationSign:u,onClick:h,tooltip:m=""})=>H.jsx(aa,{display:"flex",id:`${r}-tooltip`,tip:m,children:H.jsxs(rR,{className:s?"active":"",id:r,onClick:h,to:a,children:[t,H.jsx(n0,{left:u==null?void 0:u.left,numberIndicator:u==null?void 0:u.numberIndicator,show:u==null?void 0:u.show,top:u==null?void 0:u.top,variant:u==null?void 0:u.variant})]})}),iR=({items:t,borders:r=!0,box:s=!1})=>{const a=$n();return H.jsx(cr,{bgColor:a.palette.white,border:s?"1px solid":void 0,borderBottom:r?`1px solid ${a.palette.gray[300]}`:void 0,borderColor:s?a.palette.gray[200]:void 0,borderRadius:s?a.spacing[.25]:void 0,display:"inline-flex",gap:.25,padding:s?[0,0,0,0]:void 0,pl:r?1.25:void 0,pr:r?1.25:void 0,width:s?"max-content":"100%",children:t.map(({id:u,isActive:h,link:m,label:y,notificationSign:x,onClick:O,tooltip:D})=>H.jsx(i0,{id:u,isActive:h,label:y,link:m,notificationSign:x,onClick:O,tooltip:D},u))})},{getVariant:sR}=Ua(t=>({default:`
|
|
2084
|
-
--tag-padding-y: ${t.spacing[.25]};
|
|
2085
|
-
--tag-padding-x: ${t.spacing[.25]};
|
|
2086
|
-
|
|
2087
|
-
background-color: ${t.palette.gray[200]};
|
|
2088
|
-
color: ${t.palette.gray[800]};
|
|
2089
|
-
`,error:`
|
|
2090
|
-
background-color: ${t.palette.error[50]};
|
|
2091
|
-
color: ${t.palette.error[700]};
|
|
2092
|
-
`,inactive:`
|
|
2093
|
-
background-color: ${t.palette.gray[200]};
|
|
2094
|
-
color: theme.palette.gray[400];
|
|
2095
|
-
`,new:`
|
|
2096
|
-
background-color: ${t.palette.primary[300]};
|
|
2097
|
-
color: ${t.palette.primary[25]};
|
|
2098
|
-
`,reachable:`
|
|
2099
|
-
background-color: ${t.palette.gray[50]};
|
|
2100
|
-
color: ${t.palette.gray[800]};
|
|
2101
|
-
`,remediation:`
|
|
2102
|
-
background-color: inherit;
|
|
2103
|
-
border: 1px solid ${t.palette.gray[300]};
|
|
2104
|
-
color: ${t.palette.gray[400]};
|
|
2105
|
-
`,review:`
|
|
2106
|
-
background-color: ${t.palette.warning[400]};
|
|
2107
|
-
color: ${t.palette.warning[700]};
|
|
2108
|
-
`,role:`
|
|
2109
|
-
background-color: ${t.palette.gray[800]};
|
|
2110
|
-
color: ${t.palette.white};
|
|
2111
|
-
`,success:`
|
|
2112
|
-
background-color: ${t.palette.success[50]};
|
|
2113
|
-
color: ${t.palette.success[700]};
|
|
2114
|
-
`,technique:`
|
|
2115
|
-
--tag-padding-y: ${t.spacing[.25]};
|
|
2116
|
-
--tag-padding-x: ${t.spacing[.75]};
|
|
2117
|
-
|
|
2118
|
-
background-color: inherit;
|
|
2119
|
-
border: 1px solid ${t.palette.success[800]};
|
|
2120
|
-
color: ${t.palette.success[800]};
|
|
2121
|
-
`,warning:`
|
|
2122
|
-
background-color: ${t.palette.warning[50]};
|
|
2123
|
-
color: ${t.palette.warning[700]};
|
|
2124
|
-
`})),oR=Bt.span`
|
|
2125
|
-
${({theme:t,$fontSize:r=t.typography.text.xs,$variant:s})=>`
|
|
2126
|
-
align-items: center;
|
|
2127
|
-
border-radius: ${t.spacing[s==="technique"?1:.25]};
|
|
2128
|
-
display: inline-flex;
|
|
2129
|
-
gap: ${t.spacing[.25]};
|
|
2130
|
-
font-family: ${t.typography.type.primary};
|
|
2131
|
-
font-size: ${r};
|
|
2132
|
-
font-style: normal;
|
|
2133
|
-
font-weight: ${t.typography.weight.regular};
|
|
2134
|
-
justify-content: center;
|
|
2135
|
-
line-height: 18px;
|
|
2136
|
-
margin-right: ${t.spacing[.5]};
|
|
2137
|
-
padding: var(--tag-padding-y) var(--tag-padding-x);
|
|
2138
|
-
white-space: nowrap;
|
|
2139
|
-
width: max-content;
|
|
2140
|
-
|
|
2141
|
-
> a {
|
|
2142
|
-
font-size: ${t.typography.text.xs};
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
${sR(t,s)}
|
|
2146
|
-
`}
|
|
2147
|
-
`,aR=({children:t,disabled:r,icon:s,iconColor:a="inherit",id:u="close-tag",fontSize:h,onClose:m,variant:y="default"})=>H.jsxs(oR,{$fontSize:h,$variant:y,children:[s&&H.jsx(vr,{icon:s,iconColor:a,iconSize:"xs"}),t,m?H.jsx(sl,{disabled:r,icon:"xmark",iconSize:"xs",iconType:"fa-light",id:u,onClick:m,px:.125,py:.125,variant:"ghost"}):void 0]}),Fa=Bt.div`
|
|
2148
|
-
${({theme:t})=>`
|
|
2149
|
-
align-items: center;
|
|
2150
|
-
background-color: ${t.palette.gray[200]};
|
|
2151
|
-
border-radius: 34px;
|
|
2152
|
-
cursor: pointer;
|
|
2153
|
-
display: flex;
|
|
2154
|
-
height: 20px;
|
|
2155
|
-
position: relative;
|
|
2156
|
-
transition: 0.2s;
|
|
2157
|
-
width: 36px;
|
|
2158
|
-
`}
|
|
2159
|
-
`,lR=Bt.div`
|
|
2160
|
-
${({theme:t})=>`
|
|
2161
|
-
background-color: ${t.palette.white};
|
|
2162
|
-
border-radius: 50%;
|
|
2163
|
-
height: ${t.spacing[1]};
|
|
2164
|
-
left: 2px;
|
|
2165
|
-
position: absolute;
|
|
2166
|
-
transition: 0.2s;
|
|
2167
|
-
width: ${t.spacing[1]};
|
|
2168
|
-
z-index: 1;
|
|
2169
|
-
`}
|
|
2170
|
-
`,cR=Bt.label`
|
|
2171
|
-
display: inline-block;
|
|
2172
|
-
|
|
2173
|
-
input {
|
|
2174
|
-
position: absolute;
|
|
2175
|
-
height: 0;
|
|
2176
|
-
opacity: 0;
|
|
2177
|
-
width: 0;
|
|
2178
|
-
}
|
|
2179
|
-
|
|
2180
|
-
input:checked + ${Fa} {
|
|
2181
|
-
background-color: ${({theme:t})=>t.palette.primary[500]};
|
|
2182
|
-
}
|
|
2183
|
-
|
|
2184
|
-
input:checked + ${Fa} > div {
|
|
2185
|
-
transform: translateX(100%);
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
input:disabled + ${Fa} {
|
|
2189
|
-
cursor: not-allowed;
|
|
2190
|
-
background-color: ${({theme:t})=>t.palette.gray[100]};
|
|
2191
|
-
}
|
|
2192
|
-
|
|
2193
|
-
input:disabled + ${Fa} > div {
|
|
2194
|
-
background-color: ${({theme:t})=>t.palette.gray[200]};
|
|
2195
|
-
border: 1px solid ${({theme:t})=>t.palette.gray[200]};
|
|
2196
|
-
}
|
|
2197
|
-
`,uR=X.forwardRef(function({defaultChecked:r,disabled:s=!1,justify:a,name:u,leftDescription:h,rightDescription:m,...y},x){const O=r===!0?"on":"off",D=typeof h=="object"&&h.on&&h.off?h[O]:h,Q=X.useCallback(J=>{J.stopPropagation()},[]);return H.jsxs(cr,{alignItems:"center",display:"flex",gap:.75,justify:a,children:[D,H.jsxs(cR,{onClick:Q,children:[H.jsx("input",{...y,"aria-disabled":s,"aria-label":u,checked:r===!0,disabled:s,name:u,ref:x,type:"checkbox"}),H.jsx(Fa,{"aria-label":"Toggle Switch",id:`${u}Toggle`,children:H.jsx(lR,{})})]}),m]})}),fR=Bt.div`
|
|
2198
|
-
${({theme:t})=>`
|
|
2199
|
-
align-items: center;
|
|
2200
|
-
display: flex;
|
|
2201
|
-
position: relative;
|
|
2202
|
-
width: 352px;
|
|
2203
|
-
|
|
2204
|
-
> button:first-child {
|
|
2205
|
-
border-radius: ${t.spacing[2]} 0 0 ${t.spacing[2]};
|
|
2206
|
-
}
|
|
2207
|
-
> button:last-child {
|
|
2208
|
-
--angle-grad: -45deg;
|
|
2209
|
-
border-radius: 0 ${t.spacing[2]} ${t.spacing[2]} 0;
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
&::before {
|
|
2213
|
-
background: ${t.palette.gradients["01"]} border-box;
|
|
2214
|
-
border-radius: ${t.spacing[2]};
|
|
2215
|
-
content: "";
|
|
2216
|
-
position: absolute;
|
|
2217
|
-
inset: 0;
|
|
2218
|
-
border: 2px solid transparent;
|
|
2219
|
-
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
2220
|
-
mask-composite: exclude;
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
2224
|
-
width: 320px;
|
|
2225
|
-
}
|
|
2226
|
-
`}
|
|
2227
|
-
`,hR=Bt.button`
|
|
2228
|
-
${({theme:t})=>`
|
|
2229
|
-
align-items: center;
|
|
2230
|
-
background: linear-gradient(
|
|
2231
|
-
var(--angle-grad),
|
|
2232
|
-
rgba(243, 38, 55, var(--opacity-grad)),
|
|
2233
|
-
rgba(184, 7, 93, var(--opacity-grad))
|
|
2234
|
-
);
|
|
2235
|
-
color: ${t.palette.primary[500]};
|
|
2236
|
-
cursor: pointer;
|
|
2237
|
-
display: flex;
|
|
2238
|
-
flex: 1 0 0;
|
|
2239
|
-
justify-content: center;
|
|
2240
|
-
gap: ${t.spacing[.625]};
|
|
2241
|
-
height: ${t.spacing[4]};
|
|
2242
|
-
padding: ${t.spacing[1.25]};
|
|
2243
|
-
position: relative;
|
|
2244
|
-
transition: color, --opacity-grad 0.5s ease-in-out;
|
|
2245
|
-
|
|
2246
|
-
&.selected {
|
|
2247
|
-
--opacity-grad: 1;
|
|
2248
|
-
background: linear-gradient(
|
|
2249
|
-
var(--angle-grad),
|
|
2250
|
-
rgba(243, 38, 55, var(--opacity-grad)),
|
|
2251
|
-
rgba(184, 7, 93, var(--opacity-grad))
|
|
2252
|
-
);
|
|
2253
|
-
color: ${t.palette.white};
|
|
2254
|
-
}
|
|
2255
|
-
`}
|
|
2256
|
-
`,dR=({defaultSelection:t,options:r,handleClick:s})=>{const[a,u]=X.useState(t??r[0]),h=X.useCallback(m=>()=>{u(m),s(m)},[s]);return H.jsx(fR,{children:r.map((m,y)=>H.jsx(hR,{className:`${m.includes(a)&&"selected"}`,onClick:h(m),children:H.jsx(_r,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:m})},`${m}-${y}`))})};exports.Accordion=Px;exports.Alert=Lk;exports.BaseButtonComponent=Sg;exports.BaseComponent=tl;exports.BaseSpanComponent=Cg;exports.BaseTextComponent=xf;exports.Button=la;exports.Carousel=F$;exports.Checkbox=D$;exports.CloudImage=cl;exports.CodeSnippet=nP;exports.Container=cr;exports.ContentCard=Xv;exports.ContentCardCarousel=lP;exports.CustomThemeProvider=_x;exports.Divider=cP;exports.FilePreview=gP;exports.FixedTabs=nR;exports.Form=bP;exports.FormItem=yP;exports.Heading=$s;exports.Icon=vr;exports.IconButton=sl;exports.InteractiveCard=r2;exports.LanguageSelector=c2;exports.Link=Jf;exports.ListItem=h2;exports.ListItemsWrapper=f2;exports.LittleFlag=p2;exports.Logo=v2;exports.LogoCarousel=w2;exports.Lottie=C2;exports.MessageBanner=$2;exports.Notification=R2;exports.NotificationSign=n0;exports.NumberInput=F2;exports.OutlineContainer=Zf;exports.PhoneInput=XP;exports.ProgressBar=N2;exports.RadioButton=z2;exports.SearchBar=Q2;exports.Tab=i0;exports.TableButton=Z2;exports.Tabs=iR;exports.Tag=aR;exports.Text=_r;exports.TextInput=JP;exports.Toggle=uR;exports.ToggleButton=dR;exports.Tooltip=aa;exports.getStyledConfig=Za;exports.hiddenProps=Jp;exports.icons=bx;exports.setBorder=Ka;exports.setDisplay=Qa;exports.setInteraction=Ja;exports.setMargin=Ha;exports.setPadding=Ga;exports.setPosition=Ya;exports.setText=Xa;exports.theme=ge;exports.uniqueIcons=wx;exports.useCarousel=Xg;exports.useClickOutside=Rf;exports.useCloudinaryImage=ev;exports.variantBuilder=Ua;
|