youverify-liveness-web 0.1.23 → 0.1.25

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 CHANGED
@@ -1,83 +1,83 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";*,: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: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;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))}.yvlw--translate-y-full{--tw-translate-y: -100%;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))}.yvlw-translate-x-0{--tw-translate-x: 0px;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))}.yvlw-translate-x-full{--tw-translate-x: 100%;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))}.yvlw-translate-y-0{--tw-translate-y: 0px;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))}.yvlw-translate-y-full{--tw-translate-y: 100%;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))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;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))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.yvlw-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))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-p-0{padding:0}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-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}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1duny_1{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:DM Sans,sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;min-height:100vh;min-height:-webkit-fill-available;align-items:center;justify-content:center;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:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}._root_1duny_1[data-closed]{opacity:0}._root_1duny_1._modal_1duny_10{background-color:#0000004d}@media (min-width: 768px){._root_1duny_1._modal_1duny_10{padding:1rem}._root_1duny_1._modal_1duny_10 ._container_1duny_13{border-radius:.75rem}}._root_1duny_1._modal_1duny_10 ._container_1duny_13{max-width:1500px;max-height:700px}@media (min-width: 768px){._root_1duny_1._page_1duny_18{padding:0}}._root_1duny_1 ._close_1duny_21{position:absolute;top:.5rem;left:.5rem;display:flex;align-items:center;justify-content:center;z-index:20;height:1.5rem;width:1.5rem;border-radius:9999px;background-color:#00000080}._root_1duny_1 ._close_1duny_21 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1duny_1 ._close_1duny_21 svg:hover{--tw-rotate: 90deg;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))}._root_1duny_1 ._container_1duny_13{height:100%;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}._root_1duny_1 ._container_1duny_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :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";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 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}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_5hgaj_1{height:100%;text-align:center}._root_5hgaj_1 ._container_5hgaj_4{position:relative;height:100%}._root_5hgaj_1 ._container_5hgaj_4 ._progress_5hgaj_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_5hgaj_1 ._container_5hgaj_4 ._intro_5hgaj_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_5hgaj_1 ._container_5hgaj_4 ._content_5hgaj_15{height:70%;width:100%}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18{position:absolute;left:0;right:0;bottom:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:500;display:flex;align-items:center;justify-content:center}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructions_5hgaj_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_5hgaj_1 ._container_5hgaj_4 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_5hgaj_1 ._container_5hgaj_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_5hgaj_1 ._container_5hgaj_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_h5elg_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_h5elg_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_h5elg_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_h5elg_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_h5elg_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._container_1vep2_1{height:100%;width:100%;border-radius:50%;border-width:2px;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1vep2_1 .7s linear infinite}._container_1vep2_1._md_1vep2_7{height:1rem;width:1rem}._container_1vep2_1._lg_1vep2_10{height:1.75rem;width:1.75rem}@keyframes _spin_1vep2_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- var Xe, S, fr, $e, Sn, pr, jt, ln, Bt, zt, hr, Ze = {}, vr = [], No = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, mt = Array.isArray;
3
- function ue(e, t) {
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";*,: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: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;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))}.yvlw--translate-y-full{--tw-translate-y: -100%;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))}.yvlw-translate-x-0{--tw-translate-x: 0px;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))}.yvlw-translate-x-full{--tw-translate-x: 100%;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))}.yvlw-translate-y-0{--tw-translate-y: 0px;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))}.yvlw-translate-y-full{--tw-translate-y: 100%;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))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;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))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.yvlw-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))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-border-t{border-top-width:1px}.yvlw-border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.yvlw-bg-black\\/20{background-color:#0003}.yvlw-p-0{padding:0}.yvlw-px-4{padding-left:1rem;padding-right:1rem}.yvlw-pb-6{padding-bottom:1.5rem}.yvlw-pt-4{padding-top:1rem}.yvlw-text-center{text-align:center}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-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}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}.dark\\:yvlw-border-gray-800:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_1duny_1{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:DM Sans,sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;min-height:100vh;min-height:-webkit-fill-available;align-items:center;justify-content:center;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:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}._root_1duny_1[data-closed]{opacity:0}._root_1duny_1._modal_1duny_10{background-color:#0000004d}@media (min-width: 768px){._root_1duny_1._modal_1duny_10{padding:1rem}._root_1duny_1._modal_1duny_10 ._container_1duny_13{border-radius:.75rem}}._root_1duny_1._modal_1duny_10 ._container_1duny_13{max-width:1500px;max-height:700px}@media (min-width: 768px){._root_1duny_1._page_1duny_18{padding:0}}._root_1duny_1 ._close_1duny_21{position:absolute;top:.5rem;left:.5rem;display:flex;align-items:center;justify-content:center;z-index:20;height:1.5rem;width:1.5rem;border-radius:9999px;background-color:#00000080}._root_1duny_1 ._close_1duny_21 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1duny_1 ._close_1duny_21 svg:hover{--tw-rotate: 90deg;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))}._root_1duny_1 ._container_1duny_13{height:100%;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}._root_1duny_1 ._container_1duny_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :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";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 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}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_5hgaj_1{height:100%;text-align:center}._root_5hgaj_1 ._container_5hgaj_4{position:relative;height:100%}._root_5hgaj_1 ._container_5hgaj_4 ._progress_5hgaj_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_5hgaj_1 ._container_5hgaj_4 ._intro_5hgaj_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_5hgaj_1 ._container_5hgaj_4 ._content_5hgaj_15{height:70%;width:100%}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18{position:absolute;left:0;right:0;bottom:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:500;display:flex;align-items:center;justify-content:center}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructions_5hgaj_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_5hgaj_1 ._container_5hgaj_4 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_5hgaj_1 ._container_5hgaj_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_5hgaj_1 ._container_5hgaj_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_h5elg_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_h5elg_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_h5elg_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_h5elg_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_h5elg_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._container_1vep2_1{height:100%;width:100%;border-radius:50%;border-width:2px;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1vep2_1 .7s linear infinite}._container_1vep2_1._md_1vep2_7{height:1rem;width:1rem}._container_1vep2_1._lg_1vep2_10{height:1.75rem;width:1.75rem}@keyframes _spin_1vep2_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ var Xe, S, dr, Ee, kn, fr, Wt, sn, jt, Bt, pr, Ze = {}, hr = [], Lo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, gt = Array.isArray;
3
+ function fe(e, t) {
4
4
  for (var n in t) e[n] = t[n];
5
5
  return e;
6
6
  }
7
- function _r(e) {
7
+ function vr(e) {
8
8
  var t = e.parentNode;
9
9
  t && t.removeChild(e);
10
10
  }
11
- function ne(e, t, n) {
11
+ function ae(e, t, n) {
12
12
  var r, o, i, a = {};
13
13
  for (i in t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : a[i] = t[i];
14
14
  if (arguments.length > 2 && (a.children = arguments.length > 3 ? Xe.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) a[i] === void 0 && (a[i] = e.defaultProps[i]);
15
15
  return Be(e, a, r, o, null);
16
16
  }
17
17
  function Be(e, t, n, r, o) {
18
- var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++fr, __i: -1, __u: 0 };
18
+ var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++dr, __i: -1, __u: 0 };
19
19
  return o == null && S.vnode != null && S.vnode(i), i;
20
20
  }
21
- function cn() {
21
+ function ln() {
22
22
  return { current: null };
23
23
  }
24
- function H(e) {
24
+ function O(e) {
25
25
  return e.children;
26
26
  }
27
- function te(e, t) {
27
+ function ie(e, t) {
28
28
  this.props = e, this.context = t;
29
29
  }
30
- function Fe(e, t) {
31
- if (t == null) return e.__ ? Fe(e.__, e.__i + 1) : null;
30
+ function xe(e, t) {
31
+ if (t == null) return e.__ ? xe(e.__, e.__i + 1) : null;
32
32
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
33
- return typeof e.type == "function" ? Fe(e) : null;
33
+ return typeof e.type == "function" ? xe(e) : null;
34
34
  }
35
- function mr(e) {
35
+ function _r(e) {
36
36
  var t, n;
37
37
  if ((e = e.__) != null && e.__c != null) {
38
38
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
39
39
  e.__e = e.__c.base = n.__e;
40
40
  break;
41
41
  }
42
- return mr(e);
42
+ return _r(e);
43
43
  }
44
44
  }
45
- function qt(e) {
46
- (!e.__d && (e.__d = !0) && $e.push(e) && !dt.__r++ || Sn !== S.debounceRendering) && ((Sn = S.debounceRendering) || pr)(dt);
45
+ function zt(e) {
46
+ (!e.__d && (e.__d = !0) && Ee.push(e) && !pt.__r++ || kn !== S.debounceRendering) && ((kn = S.debounceRendering) || fr)(pt);
47
47
  }
48
- function dt() {
48
+ function pt() {
49
49
  var e, t, n, r, o, i, a, s;
50
- for ($e.sort(jt); e = $e.shift(); ) e.__d && (t = $e.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = ue({}, o)).__v = o.__v + 1, S.vnode && S.vnode(r), un(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? Fe(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, wr(a, r, s), r.__e != i && mr(r)), $e.length > t && $e.sort(jt));
51
- dt.__r = 0;
50
+ for (Ee.sort(Wt); e = Ee.shift(); ) e.__d && (t = Ee.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = fe({}, o)).__v = o.__v + 1, S.vnode && S.vnode(r), cn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? xe(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, gr(a, r, s), r.__e != i && _r(r)), Ee.length > t && Ee.sort(Wt));
51
+ pt.__r = 0;
52
52
  }
53
- function yr(e, t, n, r, o, i, a, s, l, u, d) {
54
- var c, p, f, _, y, m = r && r.__k || vr, v = t.length;
55
- for (n.__d = l, Ao(n, t, m), l = n.__d, c = 0; c < v; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? Ze : m[f.__i] || Ze, f.__i = c, un(e, f, p, o, i, a, s, l, u, d), _ = f.__e, f.ref && p.ref != f.ref && (p.ref && dn(p.ref, null, f), d.push(f.ref, f.__c || _, f)), y == null && _ != null && (y = _), 65536 & f.__u || p.__k === f.__k ? l = gr(f, l, e) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : _ && (l = _.nextSibling), f.__d = void 0, f.__u &= -196609);
53
+ function mr(e, t, n, r, o, i, a, s, l, u, d) {
54
+ var c, h, f, _, y, m = r && r.__k || hr, v = t.length;
55
+ for (n.__d = l, Io(n, t, m), l = n.__d, c = 0; c < v; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (h = f.__i === -1 ? Ze : m[f.__i] || Ze, f.__i = c, cn(e, f, h, o, i, a, s, l, u, d), _ = f.__e, f.ref && h.ref != f.ref && (h.ref && un(h.ref, null, f), d.push(f.ref, f.__c || _, f)), y == null && _ != null && (y = _), 65536 & f.__u || h.__k === f.__k ? l = yr(f, l, e) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : _ && (l = _.nextSibling), f.__d = void 0, f.__u &= -196609);
56
56
  n.__d = l, n.__e = y;
57
57
  }
58
- function Ao(e, t, n) {
58
+ function Io(e, t, n) {
59
59
  var r, o, i, a, s, l = t.length, u = n.length, d = u, c = 0;
60
- for (e.__k = [], r = 0; r < l; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Be(null, o, null, null, null) : mt(o) ? Be(H, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Be(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = Do(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = Fe(i)), Kt(i, i, !1), n[a] = null, d--);
61
- if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = Fe(i)), Kt(i, i));
60
+ for (e.__k = [], r = 0; r < l; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Be(null, o, null, null, null) : gt(o) ? Be(O, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Be(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = Ao(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = xe(i)), qt(i, i, !1), n[a] = null, d--);
61
+ if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = xe(i)), qt(i, i));
62
62
  }
63
- function gr(e, t, n) {
63
+ function yr(e, t, n) {
64
64
  var r, o;
65
65
  if (typeof e.type == "function") {
66
- for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = gr(r[o], t, n));
66
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = yr(r[o], t, n));
67
67
  return t;
68
68
  }
69
- e.__e != t && (t && e.type && !n.contains(t) && (t = Fe(e)), n.insertBefore(e.__e, t || null), t = e.__e);
69
+ e.__e != t && (t && e.type && !n.contains(t) && (t = xe(e)), n.insertBefore(e.__e, t || null), t = e.__e);
70
70
  do
71
71
  t = t && t.nextSibling;
72
72
  while (t != null && t.nodeType === 8);
73
73
  return t;
74
74
  }
75
- function de(e, t) {
76
- return t = t || [], e == null || typeof e == "boolean" || (mt(e) ? e.some(function(n) {
77
- de(n, t);
75
+ function pe(e, t) {
76
+ return t = t || [], e == null || typeof e == "boolean" || (gt(e) ? e.some(function(n) {
77
+ pe(n, t);
78
78
  }) : t.push(e)), t;
79
79
  }
80
- function Do(e, t, n, r) {
80
+ function Ao(e, t, n, r) {
81
81
  var o = e.key, i = e.type, a = n - 1, s = n + 1, l = t[n];
82
82
  if (l === null || l && o == l.key && i === l.type && !(131072 & l.__u)) return n;
83
83
  if (r > (l != null && !(131072 & l.__u) ? 1 : 0)) for (; a >= 0 || s < t.length; ) {
@@ -92,17 +92,17 @@ function Do(e, t, n, r) {
92
92
  }
93
93
  return -1;
94
94
  }
95
- function Fn(e, t, n) {
96
- t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || No.test(t) ? n : n + "px";
95
+ function xn(e, t, n) {
96
+ t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || Lo.test(t) ? n : n + "px";
97
97
  }
98
- function ot(e, t, n, r, o) {
98
+ function at(e, t, n, r, o) {
99
99
  var i;
100
100
  e: if (t === "style") if (typeof n == "string") e.style.cssText = n;
101
101
  else {
102
- if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Fn(e.style, t, "");
103
- if (n) for (t in n) r && n[t] === r[t] || Fn(e.style, t, n[t]);
102
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || xn(e.style, t, "");
103
+ if (n) for (t in n) r && n[t] === r[t] || xn(e.style, t, n[t]);
104
104
  }
105
- else if (t[0] === "o" && t[1] === "n") i = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = ln, e.addEventListener(t, i ? zt : Bt, i)) : e.removeEventListener(t, i ? zt : Bt, i);
105
+ else if (t[0] === "o" && t[1] === "n") i = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = sn, e.addEventListener(t, i ? Bt : jt, i)) : e.removeEventListener(t, i ? Bt : jt, i);
106
106
  else {
107
107
  if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
108
108
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -113,54 +113,54 @@ function ot(e, t, n, r, o) {
113
113
  typeof n == "function" || (n == null || n === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
114
114
  }
115
115
  }
116
- function Mn(e) {
116
+ function Fn(e) {
117
117
  return function(t) {
118
118
  if (this.l) {
119
119
  var n = this.l[t.type + e];
120
- if (t.t == null) t.t = ln++;
120
+ if (t.t == null) t.t = sn++;
121
121
  else if (t.t < n.u) return;
122
122
  return n(S.event ? S.event(t) : t);
123
123
  }
124
124
  };
125
125
  }
126
- function un(e, t, n, r, o, i, a, s, l, u) {
127
- var d, c, p, f, _, y, m, v, g, b, C, E, P, F, A, W, M = t.type;
126
+ function cn(e, t, n, r, o, i, a, s, l, u) {
127
+ var d, c, h, f, _, y, m, v, g, C, k, M, H, $, F, P, x = t.type;
128
128
  if (t.constructor !== void 0) return null;
129
129
  128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (d = S.__b) && d(t);
130
- e: if (typeof M == "function") try {
131
- if (v = t.props, g = "prototype" in M && M.prototype.render, b = (d = M.contextType) && r[d.__c], C = d ? b ? b.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new M(v, C) : (t.__c = c = new te(v, C), c.constructor = M, c.render = Oo), b && b.sub(c), c.props = v, c.state || (c.state = {}), c.context = C, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && M.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ue({}, c.__s)), ue(c.__s, M.getDerivedStateFromProps(v, c.__s))), f = c.props, _ = c.state, c.__v = t, p) g && M.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
130
+ e: if (typeof x == "function") try {
131
+ if (v = t.props, g = "prototype" in x && x.prototype.render, C = (d = x.contextType) && r[d.__c], k = d ? C ? C.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new x(v, k) : (t.__c = c = new ie(v, k), c.constructor = x, c.render = Oo), C && C.sub(c), c.props = v, c.state || (c.state = {}), c.context = k, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && x.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = fe({}, c.__s)), fe(c.__s, x.getDerivedStateFromProps(v, c.__s))), f = c.props, _ = c.state, c.__v = t, h) g && x.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
132
132
  else {
133
- if (g && M.getDerivedStateFromProps == null && v !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(v, C), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(v, c.__s, C) === !1 || t.__v === n.__v)) {
134
- for (t.__v !== n.__v && (c.props = v, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(x) {
135
- x && (x.__ = t);
136
- }), E = 0; E < c._sb.length; E++) c.__h.push(c._sb[E]);
133
+ if (g && x.getDerivedStateFromProps == null && v !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(v, k), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(v, c.__s, k) === !1 || t.__v === n.__v)) {
134
+ for (t.__v !== n.__v && (c.props = v, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(T) {
135
+ T && (T.__ = t);
136
+ }), M = 0; M < c._sb.length; M++) c.__h.push(c._sb[M]);
137
137
  c._sb = [], c.__h.length && a.push(c);
138
138
  break e;
139
139
  }
140
- c.componentWillUpdate != null && c.componentWillUpdate(v, c.__s, C), g && c.componentDidUpdate != null && c.__h.push(function() {
140
+ c.componentWillUpdate != null && c.componentWillUpdate(v, c.__s, k), g && c.componentDidUpdate != null && c.__h.push(function() {
141
141
  c.componentDidUpdate(f, _, y);
142
142
  });
143
143
  }
144
- if (c.context = C, c.props = v, c.__P = e, c.__e = !1, P = S.__r, F = 0, g) {
145
- for (c.state = c.__s, c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), A = 0; A < c._sb.length; A++) c.__h.push(c._sb[A]);
144
+ if (c.context = k, c.props = v, c.__P = e, c.__e = !1, H = S.__r, $ = 0, g) {
145
+ for (c.state = c.__s, c.__d = !1, H && H(t), d = c.render(c.props, c.state, c.context), F = 0; F < c._sb.length; F++) c.__h.push(c._sb[F]);
146
146
  c._sb = [];
147
147
  } else do
148
- c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
149
- while (c.__d && ++F < 25);
150
- c.state = c.__s, c.getChildContext != null && (r = ue(ue({}, r), c.getChildContext())), g && !p && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, _)), yr(e, mt(W = d != null && d.type === H && d.key == null ? d.props.children : d) ? W : [W], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
151
- } catch (x) {
148
+ c.__d = !1, H && H(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
149
+ while (c.__d && ++$ < 25);
150
+ c.state = c.__s, c.getChildContext != null && (r = fe(fe({}, r), c.getChildContext())), g && !h && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, _)), mr(e, gt(P = d != null && d.type === O && d.key == null ? d.props.children : d) ? P : [P], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
151
+ } catch (T) {
152
152
  if (t.__v = null, l || i != null) {
153
153
  for (t.__u |= l ? 160 : 32; s && s.nodeType === 8 && s.nextSibling; ) s = s.nextSibling;
154
154
  i[i.indexOf(s)] = null, t.__e = s;
155
155
  } else t.__e = n.__e, t.__k = n.__k;
156
- S.__e(x, t, n);
156
+ S.__e(T, t, n);
157
157
  }
158
- else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Io(n.__e, t, n, r, o, i, a, l, u);
158
+ else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Do(n.__e, t, n, r, o, i, a, l, u);
159
159
  (d = S.diffed) && d(t);
160
160
  }
161
- function wr(e, t, n) {
161
+ function gr(e, t, n) {
162
162
  t.__d = void 0;
163
- for (var r = 0; r < n.length; r++) dn(n[r], n[++r], n[++r]);
163
+ for (var r = 0; r < n.length; r++) un(n[r], n[++r], n[++r]);
164
164
  S.__c && S.__c(t, e), e.some(function(o) {
165
165
  try {
166
166
  e = o.__h, o.__h = [], e.some(function(i) {
@@ -171,8 +171,8 @@ function wr(e, t, n) {
171
171
  }
172
172
  });
173
173
  }
174
- function Io(e, t, n, r, o, i, a, s, l) {
175
- var u, d, c, p, f, _, y, m = n.props, v = t.props, g = t.type;
174
+ function Do(e, t, n, r, o, i, a, s, l) {
175
+ var u, d, c, h, f, _, y, m = n.props, v = t.props, g = t.type;
176
176
  if (g === "svg" ? o = "http://www.w3.org/2000/svg" : g === "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
177
177
  for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName === g : f.nodeType === 3)) {
178
178
  e = f, i[u] = null;
@@ -190,17 +190,17 @@ function Io(e, t, n, r, o, i, a, s, l) {
190
190
  if (u == "dangerouslySetInnerHTML") c = f;
191
191
  else if (u !== "key" && !(u in v)) {
192
192
  if (u == "value" && "defaultValue" in v || u == "checked" && "defaultChecked" in v) continue;
193
- ot(e, u, null, f, o);
193
+ at(e, u, null, f, o);
194
194
  }
195
195
  }
196
- for (u in v) f = v[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? _ = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || m[u] === f || ot(e, u, f, m[u], o);
196
+ for (u in v) f = v[u], u == "children" ? h = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? _ = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || m[u] === f || at(e, u, f, m[u], o);
197
197
  if (d) s || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
198
- else if (c && (e.innerHTML = ""), yr(e, mt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && Fe(n, 0), s, l), i != null) for (u = i.length; u--; ) i[u] != null && _r(i[u]);
199
- s || (u = "value", _ !== void 0 && (_ !== e[u] || g === "progress" && !_ || g === "option" && _ !== m[u]) && ot(e, u, _, m[u], o), u = "checked", y !== void 0 && y !== e[u] && ot(e, u, y, m[u], o));
198
+ else if (c && (e.innerHTML = ""), mr(e, gt(h) ? h : [h], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && xe(n, 0), s, l), i != null) for (u = i.length; u--; ) i[u] != null && vr(i[u]);
199
+ s || (u = "value", _ !== void 0 && (_ !== e[u] || g === "progress" && !_ || g === "option" && _ !== m[u]) && at(e, u, _, m[u], o), u = "checked", y !== void 0 && y !== e[u] && at(e, u, y, m[u], o));
200
200
  }
201
201
  return e;
202
202
  }
203
- function dn(e, t, n) {
203
+ function un(e, t, n) {
204
204
  try {
205
205
  if (typeof e == "function") {
206
206
  var r = typeof e.__u == "function";
@@ -210,9 +210,9 @@ function dn(e, t, n) {
210
210
  S.__e(o, n);
211
211
  }
212
212
  }
213
- function Kt(e, t, n) {
213
+ function qt(e, t, n) {
214
214
  var r, o;
215
- if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || dn(r, null, t)), (r = e.__c) != null) {
215
+ if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || un(r, null, t)), (r = e.__c) != null) {
216
216
  if (r.componentWillUnmount) try {
217
217
  r.componentWillUnmount();
218
218
  } catch (i) {
@@ -220,26 +220,26 @@ function Kt(e, t, n) {
220
220
  }
221
221
  r.base = r.__P = null;
222
222
  }
223
- if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Kt(r[o], t, n || typeof e.type != "function");
224
- n || e.__e == null || _r(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
223
+ if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && qt(r[o], t, n || typeof e.type != "function");
224
+ n || e.__e == null || vr(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
225
225
  }
226
226
  function Oo(e, t, n) {
227
227
  return this.constructor(e, n);
228
228
  }
229
- function De(e, t, n) {
229
+ function Ie(e, t, n) {
230
230
  var r, o, i, a;
231
- S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], un(t, e = (!r && n || t).__k = ne(H, null, [e]), o || Ze, Ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), wr(i, e, a);
231
+ S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], cn(t, e = (!r && n || t).__k = ae(O, null, [e]), o || Ze, Ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), gr(i, e, a);
232
232
  }
233
- function br(e, t) {
234
- De(e, t, br);
233
+ function wr(e, t) {
234
+ Ie(e, t, wr);
235
235
  }
236
236
  function Ho(e, t, n) {
237
- var r, o, i, a, s = ue({}, e.props);
237
+ var r, o, i, a, s = fe({}, e.props);
238
238
  for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
239
239
  return arguments.length > 2 && (s.children = arguments.length > 3 ? Xe.call(arguments, 2) : n), Be(e.type, s, r || e.key, o || e.ref, null);
240
240
  }
241
- function G(e, t) {
242
- var n = { __c: t = "__cC" + hr++, __: e, Consumer: function(r, o) {
241
+ function Q(e, t) {
242
+ var n = { __c: t = "__cC" + pr++, __: e, Consumer: function(r, o) {
243
243
  return r.children(o);
244
244
  }, Provider: function(r) {
245
245
  var o, i;
@@ -249,7 +249,7 @@ function G(e, t) {
249
249
  o = null;
250
250
  }, this.shouldComponentUpdate = function(a) {
251
251
  this.props.value !== a.value && o.some(function(s) {
252
- s.__e = !0, qt(s);
252
+ s.__e = !0, zt(s);
253
253
  });
254
254
  }, this.sub = function(a) {
255
255
  o.push(a);
@@ -261,23 +261,23 @@ function G(e, t) {
261
261
  } };
262
262
  return n.Provider.__ = n.Consumer.contextType = n;
263
263
  }
264
- Xe = vr.slice, S = { __e: function(e, t, n, r) {
264
+ Xe = hr.slice, S = { __e: function(e, t, n, r) {
265
265
  for (var o, i, a; t = t.__; ) if ((o = t.__c) && !o.__) try {
266
266
  if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), a = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), a = o.__d), a) return o.__E = o;
267
267
  } catch (s) {
268
268
  e = s;
269
269
  }
270
270
  throw e;
271
- } }, fr = 0, te.prototype.setState = function(e, t) {
271
+ } }, dr = 0, ie.prototype.setState = function(e, t) {
272
272
  var n;
273
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ue({}, this.state), typeof e == "function" && (e = e(ue({}, n), this.props)), e && ue(n, e), e != null && this.__v && (t && this._sb.push(t), qt(this));
274
- }, te.prototype.forceUpdate = function(e) {
275
- this.__v && (this.__e = !0, e && this.__h.push(e), qt(this));
276
- }, te.prototype.render = H, $e = [], pr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, jt = function(e, t) {
273
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = fe({}, this.state), typeof e == "function" && (e = e(fe({}, n), this.props)), e && fe(n, e), e != null && this.__v && (t && this._sb.push(t), zt(this));
274
+ }, ie.prototype.forceUpdate = function(e) {
275
+ this.__v && (this.__e = !0, e && this.__h.push(e), zt(this));
276
+ }, ie.prototype.render = O, Ee = [], fr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Wt = function(e, t) {
277
277
  return e.__v.__b - t.__v.__b;
278
- }, dt.__r = 0, ln = 0, Bt = Mn(!1), zt = Mn(!0), hr = 0;
278
+ }, pt.__r = 0, sn = 0, jt = Fn(!1), Bt = Fn(!0), pr = 0;
279
279
  var Ro = 0;
280
- function h(e, t, n, r, o, i) {
280
+ function p(e, t, n, r, o, i) {
281
281
  t || (t = {});
282
282
  var a, s, l = t;
283
283
  if ("ref" in l) for (s in l = {}, t) s == "ref" ? a = t[s] : l[s] = t[s];
@@ -285,64 +285,64 @@ function h(e, t, n, r, o, i) {
285
285
  if (typeof e == "function" && (a = e.defaultProps)) for (s in a) l[s] === void 0 && (l[s] = a[s]);
286
286
  return S.vnode && S.vnode(u), u;
287
287
  }
288
- var he, I, At, Pn, Ie = 0, Er = [], V = S, Ln = V.__b, Nn = V.__r, An = V.diffed, Dn = V.__c, In = V.unmount, On = V.__;
289
- function Pe(e, t) {
290
- V.__h && V.__h(I, e, Ie || t), Ie = 0;
291
- var n = I.__H || (I.__H = { __: [], __h: [] });
288
+ var ve, A, It, Mn, Ae = 0, br = [], U = S, Nn = U.__b, Pn = U.__r, Ln = U.diffed, In = U.__c, An = U.unmount, Dn = U.__;
289
+ function Me(e, t) {
290
+ U.__h && U.__h(A, e, Ae || t), Ae = 0;
291
+ var n = A.__H || (A.__H = { __: [], __h: [] });
292
292
  return e >= n.__.length && n.__.push({}), n.__[e];
293
293
  }
294
- function k(e) {
295
- return Ie = 1, Qe($r, e);
294
+ function b(e) {
295
+ return Ae = 1, Qe(Er, e);
296
296
  }
297
297
  function Qe(e, t, n) {
298
- var r = Pe(he++, 2);
299
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : $r(void 0, t), function(s) {
298
+ var r = Me(ve++, 2);
299
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Er(void 0, t), function(s) {
300
300
  var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, s);
301
301
  l !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
302
- }], r.__c = I, !I.u)) {
302
+ }], r.__c = A, !A.u)) {
303
303
  var o = function(s, l, u) {
304
304
  if (!r.__c.__H) return !0;
305
- var d = r.__c.__H.__.filter(function(p) {
306
- return !!p.__c;
305
+ var d = r.__c.__H.__.filter(function(h) {
306
+ return !!h.__c;
307
307
  });
308
- if (d.every(function(p) {
309
- return !p.__N;
308
+ if (d.every(function(h) {
309
+ return !h.__N;
310
310
  })) return !i || i.call(this, s, l, u);
311
311
  var c = !1;
312
- return d.forEach(function(p) {
313
- if (p.__N) {
314
- var f = p.__[0];
315
- p.__ = p.__N, p.__N = void 0, f !== p.__[0] && (c = !0);
312
+ return d.forEach(function(h) {
313
+ if (h.__N) {
314
+ var f = h.__[0];
315
+ h.__ = h.__N, h.__N = void 0, f !== h.__[0] && (c = !0);
316
316
  }
317
317
  }), !(!c && r.__c.props === s) && (!i || i.call(this, s, l, u));
318
318
  };
319
- I.u = !0;
320
- var i = I.shouldComponentUpdate, a = I.componentWillUpdate;
321
- I.componentWillUpdate = function(s, l, u) {
319
+ A.u = !0;
320
+ var i = A.shouldComponentUpdate, a = A.componentWillUpdate;
321
+ A.componentWillUpdate = function(s, l, u) {
322
322
  if (this.__e) {
323
323
  var d = i;
324
324
  i = void 0, o(s, l, u), i = d;
325
325
  }
326
326
  a && a.call(this, s, l, u);
327
- }, I.shouldComponentUpdate = o;
327
+ }, A.shouldComponentUpdate = o;
328
328
  }
329
329
  return r.__N || r.__;
330
330
  }
331
- function D(e, t) {
332
- var n = Pe(he++, 3);
333
- !V.__s && hn(n.__H, t) && (n.__ = e, n.i = t, I.__H.__h.push(n));
331
+ function I(e, t) {
332
+ var n = Me(ve++, 3);
333
+ !U.__s && pn(n.__H, t) && (n.__ = e, n.i = t, A.__H.__h.push(n));
334
334
  }
335
- function Le(e, t) {
336
- var n = Pe(he++, 4);
337
- !V.__s && hn(n.__H, t) && (n.__ = e, n.i = t, I.__h.push(n));
335
+ function Ne(e, t) {
336
+ var n = Me(ve++, 4);
337
+ !U.__s && pn(n.__H, t) && (n.__ = e, n.i = t, A.__h.push(n));
338
338
  }
339
339
  function w(e) {
340
- return Ie = 5, N(function() {
340
+ return Ae = 5, L(function() {
341
341
  return { current: e };
342
342
  }, []);
343
343
  }
344
- function fn(e, t, n) {
345
- Ie = 6, Le(function() {
344
+ function dn(e, t, n) {
345
+ Ae = 6, Ne(function() {
346
346
  return typeof e == "function" ? (e(t()), function() {
347
347
  return e(null);
348
348
  }) : e ? (e.current = t(), function() {
@@ -350,181 +350,181 @@ function fn(e, t, n) {
350
350
  }) : void 0;
351
351
  }, n == null ? n : n.concat(e));
352
352
  }
353
- function N(e, t) {
354
- var n = Pe(he++, 7);
355
- return hn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
353
+ function L(e, t) {
354
+ var n = Me(ve++, 7);
355
+ return pn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
356
356
  }
357
- function O(e, t) {
358
- return Ie = 8, N(function() {
357
+ function D(e, t) {
358
+ return Ae = 8, L(function() {
359
359
  return e;
360
360
  }, t);
361
361
  }
362
- function B(e) {
363
- var t = I.context[e.__c], n = Pe(he++, 9);
364
- return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(I)), t.props.value) : e.__;
362
+ function q(e) {
363
+ var t = A.context[e.__c], n = Me(ve++, 9);
364
+ return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(A)), t.props.value) : e.__;
365
365
  }
366
- function pn(e, t) {
367
- V.useDebugValue && V.useDebugValue(t ? t(e) : e);
366
+ function fn(e, t) {
367
+ U.useDebugValue && U.useDebugValue(t ? t(e) : e);
368
368
  }
369
369
  function Vo(e) {
370
- var t = Pe(he++, 10), n = k();
371
- return t.__ = e, I.componentDidCatch || (I.componentDidCatch = function(r, o) {
370
+ var t = Me(ve++, 10), n = b();
371
+ return t.__ = e, A.componentDidCatch || (A.componentDidCatch = function(r, o) {
372
372
  t.__ && t.__(r, o), n[1](r);
373
373
  }), [n[0], function() {
374
374
  n[1](void 0);
375
375
  }];
376
376
  }
377
- function we() {
378
- var e = Pe(he++, 11);
377
+ function ge() {
378
+ var e = Me(ve++, 11);
379
379
  if (!e.__) {
380
- for (var t = I.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
380
+ for (var t = A.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
381
381
  var n = t.__m || (t.__m = [0, 0]);
382
382
  e.__ = "P" + n[0] + "-" + n[1]++;
383
383
  }
384
384
  return e.__;
385
385
  }
386
386
  function Uo() {
387
- for (var e; e = Er.shift(); ) if (e.__P && e.__H) try {
388
- e.__H.__h.forEach(ut), e.__H.__h.forEach(Yt), e.__H.__h = [];
387
+ for (var e; e = br.shift(); ) if (e.__P && e.__H) try {
388
+ e.__H.__h.forEach(ft), e.__H.__h.forEach(Yt), e.__H.__h = [];
389
389
  } catch (t) {
390
- e.__H.__h = [], V.__e(t, e.__v);
390
+ e.__H.__h = [], U.__e(t, e.__v);
391
391
  }
392
392
  }
393
- V.__b = function(e) {
394
- I = null, Ln && Ln(e);
395
- }, V.__ = function(e, t) {
396
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), On && On(e, t);
397
- }, V.__r = function(e) {
398
- Nn && Nn(e), he = 0;
399
- var t = (I = e.__c).__H;
400
- t && (At === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
393
+ U.__b = function(e) {
394
+ A = null, Nn && Nn(e);
395
+ }, U.__ = function(e, t) {
396
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Dn && Dn(e, t);
397
+ }, U.__r = function(e) {
398
+ Pn && Pn(e), ve = 0;
399
+ var t = (A = e.__c).__H;
400
+ t && (It === A ? (t.__h = [], A.__h = [], t.__.forEach(function(n) {
401
401
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
402
- })) : (t.__h.forEach(ut), t.__h.forEach(Yt), t.__h = [], he = 0)), At = I;
403
- }, V.diffed = function(e) {
404
- An && An(e);
402
+ })) : (t.__h.forEach(ft), t.__h.forEach(Yt), t.__h = [], ve = 0)), It = A;
403
+ }, U.diffed = function(e) {
404
+ Ln && Ln(e);
405
405
  var t = e.__c;
406
- t && t.__H && (t.__H.__h.length && (Er.push(t) !== 1 && Pn === V.requestAnimationFrame || ((Pn = V.requestAnimationFrame) || Wo)(Uo)), t.__H.__.forEach(function(n) {
406
+ t && t.__H && (t.__H.__h.length && (br.push(t) !== 1 && Mn === U.requestAnimationFrame || ((Mn = U.requestAnimationFrame) || Wo)(Uo)), t.__H.__.forEach(function(n) {
407
407
  n.i && (n.__H = n.i), n.i = void 0;
408
- })), At = I = null;
409
- }, V.__c = function(e, t) {
408
+ })), It = A = null;
409
+ }, U.__c = function(e, t) {
410
410
  t.some(function(n) {
411
411
  try {
412
- n.__h.forEach(ut), n.__h = n.__h.filter(function(r) {
412
+ n.__h.forEach(ft), n.__h = n.__h.filter(function(r) {
413
413
  return !r.__ || Yt(r);
414
414
  });
415
415
  } catch (r) {
416
416
  t.some(function(o) {
417
417
  o.__h && (o.__h = []);
418
- }), t = [], V.__e(r, n.__v);
418
+ }), t = [], U.__e(r, n.__v);
419
419
  }
420
- }), Dn && Dn(e, t);
421
- }, V.unmount = function(e) {
422
- In && In(e);
420
+ }), In && In(e, t);
421
+ }, U.unmount = function(e) {
422
+ An && An(e);
423
423
  var t, n = e.__c;
424
424
  n && n.__H && (n.__H.__.forEach(function(r) {
425
425
  try {
426
- ut(r);
426
+ ft(r);
427
427
  } catch (o) {
428
428
  t = o;
429
429
  }
430
- }), n.__H = void 0, t && V.__e(t, n.__v));
430
+ }), n.__H = void 0, t && U.__e(t, n.__v));
431
431
  };
432
- var Hn = typeof requestAnimationFrame == "function";
432
+ var On = typeof requestAnimationFrame == "function";
433
433
  function Wo(e) {
434
434
  var t, n = function() {
435
- clearTimeout(r), Hn && cancelAnimationFrame(t), setTimeout(e);
435
+ clearTimeout(r), On && cancelAnimationFrame(t), setTimeout(e);
436
436
  }, r = setTimeout(n, 100);
437
- Hn && (t = requestAnimationFrame(n));
437
+ On && (t = requestAnimationFrame(n));
438
438
  }
439
- function ut(e) {
440
- var t = I, n = e.__c;
441
- typeof n == "function" && (e.__c = void 0, n()), I = t;
439
+ function ft(e) {
440
+ var t = A, n = e.__c;
441
+ typeof n == "function" && (e.__c = void 0, n()), A = t;
442
442
  }
443
443
  function Yt(e) {
444
- var t = I;
445
- e.__c = e.__(), I = t;
444
+ var t = A;
445
+ e.__c = e.__(), A = t;
446
446
  }
447
- function hn(e, t) {
447
+ function pn(e, t) {
448
448
  return !e || e.length !== t.length || t.some(function(n, r) {
449
449
  return n !== e[r];
450
450
  });
451
451
  }
452
- function $r(e, t) {
452
+ function Er(e, t) {
453
453
  return typeof t == "function" ? t(e) : t;
454
454
  }
455
- function Tr(e, t) {
455
+ function $r(e, t) {
456
456
  for (var n in t) e[n] = t[n];
457
457
  return e;
458
458
  }
459
- function Gt(e, t) {
459
+ function Kt(e, t) {
460
460
  for (var n in e) if (n !== "__source" && !(n in t)) return !0;
461
461
  for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
462
462
  return !1;
463
463
  }
464
- function ft(e, t) {
464
+ function ht(e, t) {
465
465
  this.props = e, this.context = t;
466
466
  }
467
- function Cr(e, t) {
467
+ function Tr(e, t) {
468
468
  function n(o) {
469
469
  var i = this.props.ref, a = i == o.ref;
470
- return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Gt(this.props, o);
470
+ return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Kt(this.props, o);
471
471
  }
472
472
  function r(o) {
473
- return this.shouldComponentUpdate = n, ne(e, o);
473
+ return this.shouldComponentUpdate = n, ae(e, o);
474
474
  }
475
475
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
476
476
  }
477
- (ft.prototype = new te()).isPureReactComponent = !0, ft.prototype.shouldComponentUpdate = function(e, t) {
478
- return Gt(this.props, e) || Gt(this.state, t);
477
+ (ht.prototype = new ie()).isPureReactComponent = !0, ht.prototype.shouldComponentUpdate = function(e, t) {
478
+ return Kt(this.props, e) || Kt(this.state, t);
479
479
  };
480
- var Rn = S.__b;
480
+ var Hn = S.__b;
481
481
  S.__b = function(e) {
482
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Rn && Rn(e);
482
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Hn && Hn(e);
483
483
  };
484
484
  var jo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
485
- function vn(e) {
485
+ function hn(e) {
486
486
  function t(n) {
487
- var r = Tr({}, n);
487
+ var r = $r({}, n);
488
488
  return delete r.ref, e(r, n.ref || null);
489
489
  }
490
490
  return t.$$typeof = jo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
491
491
  }
492
- var Vn = function(e, t) {
493
- return e == null ? null : de(de(e).map(t));
494
- }, xr = { map: Vn, forEach: Vn, count: function(e) {
495
- return e ? de(e).length : 0;
492
+ var Rn = function(e, t) {
493
+ return e == null ? null : pe(pe(e).map(t));
494
+ }, Cr = { map: Rn, forEach: Rn, count: function(e) {
495
+ return e ? pe(e).length : 0;
496
496
  }, only: function(e) {
497
- var t = de(e);
497
+ var t = pe(e);
498
498
  if (t.length !== 1) throw "Children.only";
499
499
  return t[0];
500
- }, toArray: de }, Bo = S.__e;
500
+ }, toArray: pe }, Bo = S.__e;
501
501
  S.__e = function(e, t, n, r) {
502
502
  if (e.then) {
503
503
  for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
504
504
  }
505
505
  Bo(e, t, n, r);
506
506
  };
507
- var Un = S.unmount;
508
- function kr(e, t, n) {
507
+ var Vn = S.unmount;
508
+ function Sr(e, t, n) {
509
509
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
510
510
  typeof r.__c == "function" && r.__c();
511
- }), e.__c.__H = null), (e = Tr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
512
- return kr(r, t, n);
511
+ }), e.__c.__H = null), (e = $r({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
512
+ return Sr(r, t, n);
513
513
  })), e;
514
514
  }
515
- function Sr(e, t, n) {
515
+ function kr(e, t, n) {
516
516
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
517
- return Sr(r, t, n);
517
+ return kr(r, t, n);
518
518
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
519
519
  }
520
520
  function ze() {
521
521
  this.__u = 0, this.t = null, this.__b = null;
522
522
  }
523
- function Fr(e) {
523
+ function xr(e) {
524
524
  var t = e.__.__c;
525
525
  return t && t.__a && t.__a(e);
526
526
  }
527
- function Mr(e) {
527
+ function Fr(e) {
528
528
  var t, n, r;
529
529
  function o(i) {
530
530
  if (t || (t = e()).then(function(a) {
@@ -533,20 +533,20 @@ function Mr(e) {
533
533
  r = a;
534
534
  }), r) throw r;
535
535
  if (!n) throw t;
536
- return ne(n, i);
536
+ return ae(n, i);
537
537
  }
538
538
  return o.displayName = "Lazy", o.__f = !0, o;
539
539
  }
540
- function Ae() {
540
+ function Le() {
541
541
  this.u = null, this.o = null;
542
542
  }
543
543
  S.unmount = function(e) {
544
544
  var t = e.__c;
545
- t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Un && Un(e);
546
- }, (ze.prototype = new te()).__c = function(e, t) {
545
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Vn && Vn(e);
546
+ }, (ze.prototype = new ie()).__c = function(e, t) {
547
547
  var n = t.__c, r = this;
548
548
  r.t == null && (r.t = []), r.t.push(n);
549
- var o = Fr(r.__v), i = !1, a = function() {
549
+ var o = xr(r.__v), i = !1, a = function() {
550
550
  i || (i = !0, n.__R = null, o ? o(s) : s());
551
551
  };
552
552
  n.__R = a;
@@ -554,7 +554,7 @@ S.unmount = function(e) {
554
554
  if (!--r.__u) {
555
555
  if (r.state.__a) {
556
556
  var l = r.state.__a;
557
- r.__v.__k[0] = Sr(l, l.__c.__P, l.__c.__O);
557
+ r.__v.__k[0] = kr(l, l.__c.__P, l.__c.__O);
558
558
  }
559
559
  var u;
560
560
  for (r.setState({ __a: r.__b = null }); u = r.t.pop(); ) u.forceUpdate();
@@ -567,14 +567,14 @@ S.unmount = function(e) {
567
567
  if (this.__b) {
568
568
  if (this.__v.__k) {
569
569
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
570
- this.__v.__k[0] = kr(this.__b, n, r.__O = r.__P);
570
+ this.__v.__k[0] = Sr(this.__b, n, r.__O = r.__P);
571
571
  }
572
572
  this.__b = null;
573
573
  }
574
- var o = t.__a && ne(H, null, e.fallback);
575
- return o && (o.__u &= -33), [ne(H, null, t.__a ? null : e.children), o];
574
+ var o = t.__a && ae(O, null, e.fallback);
575
+ return o && (o.__u &= -33), [ae(O, null, t.__a ? null : e.children), o];
576
576
  };
577
- var Wn = function(e, t, n) {
577
+ var Un = function(e, t, n) {
578
578
  if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
579
579
  for (; n.length > 3; ) n.pop()();
580
580
  if (n[1] < n[0]) break;
@@ -589,7 +589,7 @@ function zo(e) {
589
589
  function qo(e) {
590
590
  var t = this, n = e.i;
591
591
  t.componentWillUnmount = function() {
592
- De(null, t.l), t.l = null, t.i = null;
592
+ Ie(null, t.l), t.l = null, t.i = null;
593
593
  }, t.i && t.i !== n && t.componentWillUnmount(), t.l || (t.i = n, t.l = { nodeType: 1, parentNode: n, childNodes: [], contains: function() {
594
594
  return !0;
595
595
  }, appendChild: function(r) {
@@ -598,49 +598,49 @@ function qo(e) {
598
598
  this.childNodes.push(r), t.i.appendChild(r);
599
599
  }, removeChild: function(r) {
600
600
  this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
601
- } }), De(ne(zo, { context: t.context }, e.__v), t.l);
601
+ } }), Ie(ae(zo, { context: t.context }, e.__v), t.l);
602
602
  }
603
- function yt(e, t) {
604
- var n = ne(qo, { __v: e, i: t });
603
+ function wt(e, t) {
604
+ var n = ae(qo, { __v: e, i: t });
605
605
  return n.containerInfo = t, n;
606
606
  }
607
- (Ae.prototype = new te()).__a = function(e) {
608
- var t = this, n = Fr(t.__v), r = t.o.get(e);
607
+ (Le.prototype = new ie()).__a = function(e) {
608
+ var t = this, n = xr(t.__v), r = t.o.get(e);
609
609
  return r[0]++, function(o) {
610
610
  var i = function() {
611
- t.props.revealOrder ? (r.push(o), Wn(t, e, r)) : o();
611
+ t.props.revealOrder ? (r.push(o), Un(t, e, r)) : o();
612
612
  };
613
613
  n ? n(i) : i();
614
614
  };
615
- }, Ae.prototype.render = function(e) {
615
+ }, Le.prototype.render = function(e) {
616
616
  this.u = null, this.o = /* @__PURE__ */ new Map();
617
- var t = de(e.children);
617
+ var t = pe(e.children);
618
618
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
619
619
  for (var n = t.length; n--; ) this.o.set(t[n], this.u = [1, 0, this.u]);
620
620
  return e.children;
621
- }, Ae.prototype.componentDidUpdate = Ae.prototype.componentDidMount = function() {
621
+ }, Le.prototype.componentDidUpdate = Le.prototype.componentDidMount = function() {
622
622
  var e = this;
623
623
  this.o.forEach(function(t, n) {
624
- Wn(e, n, t);
624
+ Un(e, n, t);
625
625
  });
626
626
  };
627
- var Pr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ko = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Yo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Go = /[A-Z0-9]/g, Zo = typeof document < "u", Xo = function(e) {
627
+ var Mr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Yo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ko = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Go = /[A-Z0-9]/g, Zo = typeof document < "u", Xo = function(e) {
628
628
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
629
629
  };
630
- function Lr(e, t, n) {
631
- return t.__k == null && (t.textContent = ""), De(e, t), typeof n == "function" && n(), e ? e.__c : null;
632
- }
633
630
  function Nr(e, t, n) {
634
- return br(e, t), typeof n == "function" && n(), e ? e.__c : null;
631
+ return t.__k == null && (t.textContent = ""), Ie(e, t), typeof n == "function" && n(), e ? e.__c : null;
635
632
  }
636
- te.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
637
- Object.defineProperty(te.prototype, e, { configurable: !0, get: function() {
633
+ function Pr(e, t, n) {
634
+ return wr(e, t), typeof n == "function" && n(), e ? e.__c : null;
635
+ }
636
+ ie.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
637
+ Object.defineProperty(ie.prototype, e, { configurable: !0, get: function() {
638
638
  return this["UNSAFE_" + e];
639
639
  }, set: function(t) {
640
640
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
641
641
  } });
642
642
  });
643
- var jn = S.event;
643
+ var Wn = S.event;
644
644
  function Qo() {
645
645
  }
646
646
  function Jo() {
@@ -650,11 +650,11 @@ function ei() {
650
650
  return this.defaultPrevented;
651
651
  }
652
652
  S.event = function(e) {
653
- return jn && (e = jn(e)), e.persist = Qo, e.isPropagationStopped = Jo, e.isDefaultPrevented = ei, e.nativeEvent = e;
653
+ return Wn && (e = Wn(e)), e.persist = Qo, e.isPropagationStopped = Jo, e.isDefaultPrevented = ei, e.nativeEvent = e;
654
654
  };
655
- var _n, ti = { enumerable: !1, configurable: !0, get: function() {
655
+ var vn, ti = { enumerable: !1, configurable: !0, get: function() {
656
656
  return this.class;
657
- } }, Bn = S.vnode;
657
+ } }, jn = S.vnode;
658
658
  S.vnode = function(e) {
659
659
  typeof e.type == "string" && function(t) {
660
660
  var n = t.props, r = t.type, o = {};
@@ -662,76 +662,76 @@ S.vnode = function(e) {
662
662
  var a = n[i];
663
663
  if (!(i === "value" && "defaultValue" in n && a == null || Zo && i === "children" && r === "noscript" || i === "class" || i === "className")) {
664
664
  var s = i.toLowerCase();
665
- i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : s === "translate" && a === "no" ? a = !1 : s === "ondoubleclick" ? i = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || Xo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" : Yo.test(i) ? i = s : r.indexOf("-") === -1 && Ko.test(i) ? i = i.replace(Go, "-$&").toLowerCase() : a === null && (a = void 0) : s = i = "oninput", s === "oninput" && o[i = s] && (i = "oninputCapture"), o[i] = a;
665
+ i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : s === "translate" && a === "no" ? a = !1 : s === "ondoubleclick" ? i = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || Xo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" : Ko.test(i) ? i = s : r.indexOf("-") === -1 && Yo.test(i) ? i = i.replace(Go, "-$&").toLowerCase() : a === null && (a = void 0) : s = i = "oninput", s === "oninput" && o[i = s] && (i = "oninputCapture"), o[i] = a;
666
666
  }
667
667
  }
668
- r == "select" && o.multiple && Array.isArray(o.value) && (o.value = de(n.children).forEach(function(l) {
668
+ r == "select" && o.multiple && Array.isArray(o.value) && (o.value = pe(n.children).forEach(function(l) {
669
669
  l.props.selected = o.value.indexOf(l.props.value) != -1;
670
- })), r == "select" && o.defaultValue != null && (o.value = de(n.children).forEach(function(l) {
670
+ })), r == "select" && o.defaultValue != null && (o.value = pe(n.children).forEach(function(l) {
671
671
  l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
672
672
  })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ti)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
673
- }(e), e.$$typeof = Pr, Bn && Bn(e);
673
+ }(e), e.$$typeof = Mr, jn && jn(e);
674
674
  };
675
- var zn = S.__r;
675
+ var Bn = S.__r;
676
676
  S.__r = function(e) {
677
- zn && zn(e), _n = e.__c;
677
+ Bn && Bn(e), vn = e.__c;
678
678
  };
679
- var qn = S.diffed;
679
+ var zn = S.diffed;
680
680
  S.diffed = function(e) {
681
- qn && qn(e);
681
+ zn && zn(e);
682
682
  var t = e.props, n = e.__e;
683
- n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), _n = null;
683
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), vn = null;
684
684
  };
685
- var Ar = { ReactCurrentDispatcher: { current: { readContext: function(e) {
686
- return _n.__n[e.__c].props.value;
687
- }, useCallback: O, useContext: B, useDebugValue: pn, useDeferredValue: gn, useEffect: D, useId: we, useImperativeHandle: fn, useInsertionEffect: bn, useLayoutEffect: Le, useMemo: N, useReducer: Qe, useRef: w, useState: k, useSyncExternalStore: gt, useTransition: wn } } }, ni = "17.0.2";
688
- function Dr(e) {
689
- return ne.bind(null, e);
685
+ var Lr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
686
+ return vn.__n[e.__c].props.value;
687
+ }, useCallback: D, useContext: q, useDebugValue: fn, useDeferredValue: yn, useEffect: I, useId: ge, useImperativeHandle: dn, useInsertionEffect: wn, useLayoutEffect: Ne, useMemo: L, useReducer: Qe, useRef: w, useState: b, useSyncExternalStore: bt, useTransition: gn } } }, ni = "17.0.2";
688
+ function Ir(e) {
689
+ return ae.bind(null, e);
690
690
  }
691
691
  function Oe(e) {
692
- return !!e && e.$$typeof === Pr;
692
+ return !!e && e.$$typeof === Mr;
693
693
  }
694
- function Ir(e) {
695
- return Oe(e) && e.type === H;
694
+ function Ar(e) {
695
+ return Oe(e) && e.type === O;
696
696
  }
697
- function Or(e) {
697
+ function Dr(e) {
698
698
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
699
699
  }
700
- function mn(e) {
700
+ function _n(e) {
701
701
  return Oe(e) ? Ho.apply(null, arguments) : e;
702
702
  }
703
- function Hr(e) {
704
- return !!e.__k && (De(null, e), !0);
703
+ function Or(e) {
704
+ return !!e.__k && (Ie(null, e), !0);
705
705
  }
706
- function Rr(e) {
706
+ function Hr(e) {
707
707
  return e && (e.base || e.nodeType === 1 && e) || null;
708
708
  }
709
- var Vr = function(e, t) {
709
+ var Rr = function(e, t) {
710
710
  return e(t);
711
- }, Ur = function(e, t) {
711
+ }, Vr = function(e, t) {
712
712
  return e(t);
713
- }, Wr = H;
714
- function yn(e) {
713
+ }, Ur = O;
714
+ function mn(e) {
715
715
  e();
716
716
  }
717
- function gn(e) {
717
+ function yn(e) {
718
718
  return e;
719
719
  }
720
- function wn() {
721
- return [!1, yn];
722
- }
723
- var bn = Le, jr = Oe;
724
- function gt(e, t) {
725
- var n = t(), r = k({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
726
- return Le(function() {
727
- o.__ = n, o.v = t, Dt(o) && i({ h: o });
728
- }, [e, n, t]), D(function() {
729
- return Dt(o) && i({ h: o }), e(function() {
730
- Dt(o) && i({ h: o });
720
+ function gn() {
721
+ return [!1, mn];
722
+ }
723
+ var wn = Ne, Wr = Oe;
724
+ function bt(e, t) {
725
+ var n = t(), r = b({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
726
+ return Ne(function() {
727
+ o.__ = n, o.v = t, At(o) && i({ h: o });
728
+ }, [e, n, t]), I(function() {
729
+ return At(o) && i({ h: o }), e(function() {
730
+ At(o) && i({ h: o });
731
731
  });
732
732
  }, [e]), n;
733
733
  }
734
- function Dt(e) {
734
+ function At(e) {
735
735
  var t, n, r = e.v, o = e.__;
736
736
  try {
737
737
  var i = r();
@@ -740,64 +740,64 @@ function Dt(e) {
740
740
  return !0;
741
741
  }
742
742
  }
743
- var T = { useState: k, useId: we, useReducer: Qe, useEffect: D, useLayoutEffect: Le, useInsertionEffect: bn, useTransition: wn, useDeferredValue: gn, useSyncExternalStore: gt, startTransition: yn, useRef: w, useImperativeHandle: fn, useMemo: N, useCallback: O, useContext: B, useDebugValue: pn, version: "17.0.2", Children: xr, render: Lr, hydrate: Nr, unmountComponentAtNode: Hr, createPortal: yt, createElement: ne, createContext: G, createFactory: Dr, cloneElement: mn, createRef: cn, Fragment: H, isValidElement: Oe, isElement: jr, isFragment: Ir, isMemo: Or, findDOMNode: Rr, Component: te, PureComponent: ft, memo: Cr, forwardRef: vn, flushSync: Ur, unstable_batchedUpdates: Vr, StrictMode: Wr, Suspense: ze, SuspenseList: Ae, lazy: Mr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ar };
744
- const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
743
+ var E = { useState: b, useId: ge, useReducer: Qe, useEffect: I, useLayoutEffect: Ne, useInsertionEffect: wn, useTransition: gn, useDeferredValue: yn, useSyncExternalStore: bt, startTransition: mn, useRef: w, useImperativeHandle: dn, useMemo: L, useCallback: D, useContext: q, useDebugValue: fn, version: "17.0.2", Children: Cr, render: Nr, hydrate: Pr, unmountComponentAtNode: Or, createPortal: wt, createElement: ae, createContext: Q, createFactory: Ir, cloneElement: _n, createRef: ln, Fragment: O, isValidElement: Oe, isElement: Wr, isFragment: Ar, isMemo: Dr, findDOMNode: Hr, Component: ie, PureComponent: ht, memo: Tr, forwardRef: hn, flushSync: Vr, unstable_batchedUpdates: Rr, StrictMode: Ur, Suspense: ze, SuspenseList: Le, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Lr };
744
+ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
745
  __proto__: null,
746
- Children: xr,
747
- Component: te,
748
- Fragment: H,
749
- PureComponent: ft,
750
- StrictMode: Wr,
746
+ Children: Cr,
747
+ Component: ie,
748
+ Fragment: O,
749
+ PureComponent: ht,
750
+ StrictMode: Ur,
751
751
  Suspense: ze,
752
- SuspenseList: Ae,
753
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ar,
754
- cloneElement: mn,
755
- createContext: G,
756
- createElement: ne,
757
- createFactory: Dr,
758
- createPortal: yt,
759
- createRef: cn,
760
- default: T,
761
- findDOMNode: Rr,
762
- flushSync: Ur,
763
- forwardRef: vn,
764
- hydrate: Nr,
765
- isElement: jr,
766
- isFragment: Ir,
767
- isMemo: Or,
752
+ SuspenseList: Le,
753
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Lr,
754
+ cloneElement: _n,
755
+ createContext: Q,
756
+ createElement: ae,
757
+ createFactory: Ir,
758
+ createPortal: wt,
759
+ createRef: ln,
760
+ default: E,
761
+ findDOMNode: Hr,
762
+ flushSync: Vr,
763
+ forwardRef: hn,
764
+ hydrate: Pr,
765
+ isElement: Wr,
766
+ isFragment: Ar,
767
+ isMemo: Dr,
768
768
  isValidElement: Oe,
769
- lazy: Mr,
770
- memo: Cr,
771
- render: Lr,
772
- startTransition: yn,
773
- unmountComponentAtNode: Hr,
774
- unstable_batchedUpdates: Vr,
775
- useCallback: O,
776
- useContext: B,
777
- useDebugValue: pn,
778
- useDeferredValue: gn,
779
- useEffect: D,
769
+ lazy: Fr,
770
+ memo: Tr,
771
+ render: Nr,
772
+ startTransition: mn,
773
+ unmountComponentAtNode: Or,
774
+ unstable_batchedUpdates: Rr,
775
+ useCallback: D,
776
+ useContext: q,
777
+ useDebugValue: fn,
778
+ useDeferredValue: yn,
779
+ useEffect: I,
780
780
  useErrorBoundary: Vo,
781
- useId: we,
782
- useImperativeHandle: fn,
783
- useInsertionEffect: bn,
784
- useLayoutEffect: Le,
785
- useMemo: N,
781
+ useId: ge,
782
+ useImperativeHandle: dn,
783
+ useInsertionEffect: wn,
784
+ useLayoutEffect: Ne,
785
+ useMemo: L,
786
786
  useReducer: Qe,
787
787
  useRef: w,
788
- useState: k,
789
- useSyncExternalStore: gt,
790
- useTransition: wn,
788
+ useState: b,
789
+ useSyncExternalStore: bt,
790
+ useTransition: gn,
791
791
  version: ni
792
- }, Symbol.toStringTag, { value: "Module" })), Br = typeof document < "u" ? T.useLayoutEffect : () => {
792
+ }, Symbol.toStringTag, { value: "Module" })), jr = typeof document < "u" ? E.useLayoutEffect : () => {
793
793
  };
794
794
  function ri(e) {
795
795
  const t = w(null);
796
- return Br(() => {
796
+ return jr(() => {
797
797
  t.current = e;
798
798
  }, [
799
799
  e
800
- ]), O((...n) => {
800
+ ]), D((...n) => {
801
801
  const r = t.current;
802
802
  return r == null ? void 0 : r(...n);
803
803
  }, []);
@@ -805,7 +805,7 @@ function ri(e) {
805
805
  const Je = (e) => {
806
806
  var t;
807
807
  return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
808
- }, Ce = (e) => e && "window" in e && e.window === e ? e : Je(e).defaultView || window;
808
+ }, Te = (e) => e && "window" in e && e.window === e ? e : Je(e).defaultView || window;
809
809
  function oi(e) {
810
810
  var t;
811
811
  return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((n) => e.test(n.brand))) || e.test(window.navigator.userAgent);
@@ -842,12 +842,12 @@ class ci {
842
842
  this.nativeEvent = n, this.target = n.target, this.currentTarget = n.currentTarget, this.relatedTarget = n.relatedTarget, this.bubbles = n.bubbles, this.cancelable = n.cancelable, this.defaultPrevented = n.defaultPrevented, this.eventPhase = n.eventPhase, this.isTrusted = n.isTrusted, this.timeStamp = n.timeStamp, this.type = t;
843
843
  }
844
844
  }
845
- function zr(e) {
845
+ function Br(e) {
846
846
  let t = w({
847
847
  isFocused: !1,
848
848
  observer: null
849
849
  });
850
- Br(() => {
850
+ jr(() => {
851
851
  const r = t.current;
852
852
  return () => {
853
853
  r.observer && (r.observer.disconnect(), r.observer = null);
@@ -856,7 +856,7 @@ function zr(e) {
856
856
  let n = ri((r) => {
857
857
  e == null || e(r);
858
858
  });
859
- return O((r) => {
859
+ return D((r) => {
860
860
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
861
861
  t.current.isFocused = !0;
862
862
  let o = r.target, i = (a) => {
@@ -889,13 +889,13 @@ function zr(e) {
889
889
  }
890
890
  function ui(e) {
891
891
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: o } = e;
892
- const i = O((l) => {
892
+ const i = D((l) => {
893
893
  if (l.target === l.currentTarget)
894
894
  return r && r(l), o && o(!1), !0;
895
895
  }, [
896
896
  r,
897
897
  o
898
- ]), a = zr(i), s = O((l) => {
898
+ ]), a = Br(i), s = D((l) => {
899
899
  const u = Je(l.target);
900
900
  l.target === l.currentTarget && u.activeElement === l.target && (n && n(l), o && o(!0), a(l));
901
901
  }, [
@@ -910,59 +910,59 @@ function ui(e) {
910
910
  }
911
911
  };
912
912
  }
913
- let et = null, Zt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(), Me = !1, Xt = !1;
913
+ let et = null, Gt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(), Fe = !1, Zt = !1;
914
914
  const di = {
915
915
  Tab: !0,
916
916
  Escape: !0
917
917
  };
918
- function En(e, t) {
919
- for (let n of Zt) n(e, t);
918
+ function bn(e, t) {
919
+ for (let n of Gt) n(e, t);
920
920
  }
921
921
  function fi(e) {
922
922
  return !(e.metaKey || !ai() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
923
923
  }
924
- function pt(e) {
925
- Me = !0, fi(e) && (et = "keyboard", En("keyboard", e));
924
+ function vt(e) {
925
+ Fe = !0, fi(e) && (et = "keyboard", bn("keyboard", e));
926
926
  }
927
- function X(e) {
928
- et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Me = !0, En("pointer", e));
927
+ function te(e) {
928
+ et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Fe = !0, bn("pointer", e));
929
929
  }
930
- function qr(e) {
931
- li(e) && (Me = !0, et = "virtual");
930
+ function zr(e) {
931
+ li(e) && (Fe = !0, et = "virtual");
932
932
  }
933
- function Kr(e) {
934
- e.target === window || e.target === document || (!Me && !Xt && (et = "virtual", En("virtual", e)), Me = !1, Xt = !1);
933
+ function qr(e) {
934
+ e.target === window || e.target === document || (!Fe && !Zt && (et = "virtual", bn("virtual", e)), Fe = !1, Zt = !1);
935
935
  }
936
936
  function Yr() {
937
- Me = !1, Xt = !0;
937
+ Fe = !1, Zt = !0;
938
938
  }
939
- function Qt(e) {
940
- if (typeof window > "u" || qe.get(Ce(e))) return;
941
- const t = Ce(e), n = Je(e);
939
+ function Xt(e) {
940
+ if (typeof window > "u" || qe.get(Te(e))) return;
941
+ const t = Te(e), n = Je(e);
942
942
  let r = t.HTMLElement.prototype.focus;
943
943
  t.HTMLElement.prototype.focus = function() {
944
- Me = !0, r.apply(this, arguments);
945
- }, n.addEventListener("keydown", pt, !0), n.addEventListener("keyup", pt, !0), n.addEventListener("click", qr, !0), t.addEventListener("focus", Kr, !0), t.addEventListener("blur", Yr, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", X, !0), n.addEventListener("pointermove", X, !0), n.addEventListener("pointerup", X, !0)) : (n.addEventListener("mousedown", X, !0), n.addEventListener("mousemove", X, !0), n.addEventListener("mouseup", X, !0)), t.addEventListener("beforeunload", () => {
946
- Gr(e);
944
+ Fe = !0, r.apply(this, arguments);
945
+ }, n.addEventListener("keydown", vt, !0), n.addEventListener("keyup", vt, !0), n.addEventListener("click", zr, !0), t.addEventListener("focus", qr, !0), t.addEventListener("blur", Yr, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", te, !0), n.addEventListener("pointermove", te, !0), n.addEventListener("pointerup", te, !0)) : (n.addEventListener("mousedown", te, !0), n.addEventListener("mousemove", te, !0), n.addEventListener("mouseup", te, !0)), t.addEventListener("beforeunload", () => {
946
+ Kr(e);
947
947
  }, {
948
948
  once: !0
949
949
  }), qe.set(t, {
950
950
  focus: r
951
951
  });
952
952
  }
953
- const Gr = (e, t) => {
954
- const n = Ce(e), r = Je(e);
955
- t && r.removeEventListener("DOMContentLoaded", t), qe.has(n) && (n.HTMLElement.prototype.focus = qe.get(n).focus, r.removeEventListener("keydown", pt, !0), r.removeEventListener("keyup", pt, !0), r.removeEventListener("click", qr, !0), n.removeEventListener("focus", Kr, !0), n.removeEventListener("blur", Yr, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", X, !0), r.removeEventListener("pointermove", X, !0), r.removeEventListener("pointerup", X, !0)) : (r.removeEventListener("mousedown", X, !0), r.removeEventListener("mousemove", X, !0), r.removeEventListener("mouseup", X, !0)), qe.delete(n));
953
+ const Kr = (e, t) => {
954
+ const n = Te(e), r = Je(e);
955
+ t && r.removeEventListener("DOMContentLoaded", t), qe.has(n) && (n.HTMLElement.prototype.focus = qe.get(n).focus, r.removeEventListener("keydown", vt, !0), r.removeEventListener("keyup", vt, !0), r.removeEventListener("click", zr, !0), n.removeEventListener("focus", qr, !0), n.removeEventListener("blur", Yr, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", te, !0), r.removeEventListener("pointermove", te, !0), r.removeEventListener("pointerup", te, !0)) : (r.removeEventListener("mousedown", te, !0), r.removeEventListener("mousemove", te, !0), r.removeEventListener("mouseup", te, !0)), qe.delete(n));
956
956
  };
957
957
  function pi(e) {
958
958
  const t = Je(e);
959
959
  let n;
960
- return t.readyState !== "loading" ? Qt(e) : (n = () => {
961
- Qt(e);
962
- }, t.addEventListener("DOMContentLoaded", n)), () => Gr(e, n);
960
+ return t.readyState !== "loading" ? Xt(e) : (n = () => {
961
+ Xt(e);
962
+ }, t.addEventListener("DOMContentLoaded", n)), () => Kr(e, n);
963
963
  }
964
964
  typeof document < "u" && pi();
965
- function Zr() {
965
+ function Gr() {
966
966
  return et !== "pointer";
967
967
  }
968
968
  const hi = /* @__PURE__ */ new Set([
@@ -978,29 +978,29 @@ const hi = /* @__PURE__ */ new Set([
978
978
  ]);
979
979
  function vi(e, t, n) {
980
980
  var r;
981
- const o = typeof window < "u" ? Ce(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? Ce(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? Ce(n == null ? void 0 : n.target).HTMLElement : HTMLElement, s = typeof window < "u" ? Ce(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
981
+ const o = typeof window < "u" ? Te(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? Te(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? Te(n == null ? void 0 : n.target).HTMLElement : HTMLElement, s = typeof window < "u" ? Te(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
982
982
  return e = e || (n == null ? void 0 : n.target) instanceof o && !hi.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(e && t === "keyboard" && n instanceof s && !di[n.key]);
983
983
  }
984
984
  function _i(e, t, n) {
985
- Qt(), D(() => {
985
+ Xt(), I(() => {
986
986
  let r = (o, i) => {
987
- vi(!!(n != null && n.isTextInput), o, i) && e(Zr());
987
+ vi(!!(n != null && n.isTextInput), o, i) && e(Gr());
988
988
  };
989
- return Zt.add(r), () => {
990
- Zt.delete(r);
989
+ return Gt.add(r), () => {
990
+ Gt.delete(r);
991
991
  };
992
992
  }, t);
993
993
  }
994
994
  function mi(e) {
995
995
  let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = w({
996
996
  isFocusWithin: !1
997
- }), a = O((u) => {
997
+ }), a = D((u) => {
998
998
  i.current.isFocusWithin && !u.currentTarget.contains(u.relatedTarget) && (i.current.isFocusWithin = !1, n && n(u), o && o(!1));
999
999
  }, [
1000
1000
  n,
1001
1001
  o,
1002
1002
  i
1003
- ]), s = zr(a), l = O((u) => {
1003
+ ]), s = Br(a), l = D((u) => {
1004
1004
  !i.current.isFocusWithin && document.activeElement === u.target && (r && r(u), o && o(!0), i.current.isFocusWithin = !0, s(u));
1005
1005
  }, [
1006
1006
  r,
@@ -1020,30 +1020,30 @@ function mi(e) {
1020
1020
  }
1021
1021
  };
1022
1022
  }
1023
- let ht = !1, It = 0;
1024
- function Jt() {
1025
- ht = !0, setTimeout(() => {
1026
- ht = !1;
1023
+ let _t = !1, Dt = 0;
1024
+ function Qt() {
1025
+ _t = !0, setTimeout(() => {
1026
+ _t = !1;
1027
1027
  }, 50);
1028
1028
  }
1029
1029
  function Yn(e) {
1030
- e.pointerType === "touch" && Jt();
1030
+ e.pointerType === "touch" && Qt();
1031
1031
  }
1032
1032
  function yi() {
1033
1033
  if (!(typeof document > "u"))
1034
- return typeof PointerEvent < "u" ? document.addEventListener("pointerup", Yn) : document.addEventListener("touchend", Jt), It++, () => {
1035
- It--, !(It > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Yn) : document.removeEventListener("touchend", Jt));
1034
+ return typeof PointerEvent < "u" ? document.addEventListener("pointerup", Yn) : document.addEventListener("touchend", Qt), Dt++, () => {
1035
+ Dt--, !(Dt > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Yn) : document.removeEventListener("touchend", Qt));
1036
1036
  };
1037
1037
  }
1038
1038
  function gi(e) {
1039
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = k(!1), s = w({
1039
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = b(!1), s = w({
1040
1040
  isHovered: !1,
1041
1041
  ignoreEmulatedMouseEvents: !1,
1042
1042
  pointerType: "",
1043
1043
  target: null
1044
1044
  }).current;
1045
- D(yi, []);
1046
- let { hoverProps: l, triggerHoverEnd: u } = N(() => {
1045
+ I(yi, []);
1046
+ let { hoverProps: l, triggerHoverEnd: u } = L(() => {
1047
1047
  let d = (f, _) => {
1048
1048
  if (s.pointerType = _, o || _ === "touch" || s.isHovered || !f.currentTarget.contains(f.target)) return;
1049
1049
  s.isHovered = !0;
@@ -1062,19 +1062,19 @@ function gi(e) {
1062
1062
  target: y,
1063
1063
  pointerType: _
1064
1064
  }), n && n(!1), a(!1);
1065
- }, p = {};
1066
- return typeof PointerEvent < "u" ? (p.onPointerEnter = (f) => {
1067
- ht && f.pointerType === "mouse" || d(f, f.pointerType);
1068
- }, p.onPointerLeave = (f) => {
1065
+ }, h = {};
1066
+ return typeof PointerEvent < "u" ? (h.onPointerEnter = (f) => {
1067
+ _t && f.pointerType === "mouse" || d(f, f.pointerType);
1068
+ }, h.onPointerLeave = (f) => {
1069
1069
  !o && f.currentTarget.contains(f.target) && c(f, f.pointerType);
1070
- }) : (p.onTouchStart = () => {
1070
+ }) : (h.onTouchStart = () => {
1071
1071
  s.ignoreEmulatedMouseEvents = !0;
1072
- }, p.onMouseEnter = (f) => {
1073
- !s.ignoreEmulatedMouseEvents && !ht && d(f, "mouse"), s.ignoreEmulatedMouseEvents = !1;
1074
- }, p.onMouseLeave = (f) => {
1072
+ }, h.onMouseEnter = (f) => {
1073
+ !s.ignoreEmulatedMouseEvents && !_t && d(f, "mouse"), s.ignoreEmulatedMouseEvents = !1;
1074
+ }, h.onMouseLeave = (f) => {
1075
1075
  !o && f.currentTarget.contains(f.target) && c(f, "mouse");
1076
1076
  }), {
1077
- hoverProps: p,
1077
+ hoverProps: h,
1078
1078
  triggerHoverEnd: c
1079
1079
  };
1080
1080
  }, [
@@ -1084,7 +1084,7 @@ function gi(e) {
1084
1084
  o,
1085
1085
  s
1086
1086
  ]);
1087
- return D(() => {
1087
+ return I(() => {
1088
1088
  o && u({
1089
1089
  currentTarget: s.target
1090
1090
  }, s.pointerType);
@@ -1098,8 +1098,8 @@ function gi(e) {
1098
1098
  function wi(e = {}) {
1099
1099
  let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = w({
1100
1100
  isFocused: !1,
1101
- isFocusVisible: t || Zr()
1102
- }), [i, a] = k(!1), [s, l] = k(() => o.current.isFocused && o.current.isFocusVisible), u = O(() => l(o.current.isFocused && o.current.isFocusVisible), []), d = O((f) => {
1101
+ isFocusVisible: t || Gr()
1102
+ }), [i, a] = b(!1), [s, l] = b(() => o.current.isFocused && o.current.isFocusVisible), u = D(() => l(o.current.isFocused && o.current.isFocusVisible), []), d = D((f) => {
1103
1103
  o.current.isFocused = f, a(f), u();
1104
1104
  }, [
1105
1105
  u
@@ -1112,14 +1112,14 @@ function wi(e = {}) {
1112
1112
  let { focusProps: c } = ui({
1113
1113
  isDisabled: r,
1114
1114
  onFocusChange: d
1115
- }), { focusWithinProps: p } = mi({
1115
+ }), { focusWithinProps: h } = mi({
1116
1116
  isDisabled: !r,
1117
1117
  onFocusWithinChange: d
1118
1118
  });
1119
1119
  return {
1120
1120
  isFocused: i,
1121
1121
  isFocusVisible: s,
1122
- focusProps: r ? p : c
1122
+ focusProps: r ? h : c
1123
1123
  };
1124
1124
  }
1125
1125
  var bi = Object.defineProperty, Ei = (e, t, n) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ot = (e, t, n) => (Ei(e, typeof t != "symbol" ? t + "" : t, n), n);
@@ -1151,16 +1151,16 @@ let $i = class {
1151
1151
  get isHandoffComplete() {
1152
1152
  return this.handoffState === "complete";
1153
1153
  }
1154
- }, ke = new $i();
1155
- function wt(e) {
1156
- return ke.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
1154
+ }, Se = new $i();
1155
+ function Et(e) {
1156
+ return Se.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
1157
1157
  }
1158
- function bt(e) {
1158
+ function $t(e) {
1159
1159
  typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
1160
1160
  throw t;
1161
1161
  }));
1162
1162
  }
1163
- function be() {
1163
+ function we() {
1164
1164
  let e = [], t = { addEventListener(n, r, o, i) {
1165
1165
  return n.addEventListener(r, o, i), t.add(() => n.removeEventListener(r, o, i));
1166
1166
  }, requestAnimationFrame(...n) {
@@ -1173,7 +1173,7 @@ function be() {
1173
1173
  return t.add(() => clearTimeout(r));
1174
1174
  }, microTask(...n) {
1175
1175
  let r = { current: !0 };
1176
- return bt(() => {
1176
+ return $t(() => {
1177
1177
  r.current && n[0]();
1178
1178
  }), t.add(() => {
1179
1179
  r.current = !1;
@@ -1184,7 +1184,7 @@ function be() {
1184
1184
  Object.assign(n.style, { [r]: i });
1185
1185
  });
1186
1186
  }, group(n) {
1187
- let r = be();
1187
+ let r = we();
1188
1188
  return n(r), this.add(() => r.dispose());
1189
1189
  }, add(n) {
1190
1190
  return e.includes(n) || e.push(n), () => {
@@ -1196,22 +1196,22 @@ function be() {
1196
1196
  } };
1197
1197
  return t;
1198
1198
  }
1199
- function Et() {
1200
- let [e] = k(be);
1201
- return D(() => () => e.dispose(), [e]), e;
1199
+ function Tt() {
1200
+ let [e] = b(we);
1201
+ return I(() => () => e.dispose(), [e]), e;
1202
1202
  }
1203
- let z = (e, t) => {
1204
- ke.isServer ? D(e, t) : Le(e, t);
1203
+ let G = (e, t) => {
1204
+ Se.isServer ? I(e, t) : Ne(e, t);
1205
1205
  };
1206
- function Ne(e) {
1206
+ function Pe(e) {
1207
1207
  let t = w(e);
1208
- return z(() => {
1208
+ return G(() => {
1209
1209
  t.current = e;
1210
1210
  }, [e]), t;
1211
1211
  }
1212
1212
  let R = function(e) {
1213
- let t = Ne(e);
1214
- return T.useCallback((...n) => t.current(...n), [t]);
1213
+ let t = Pe(e);
1214
+ return E.useCallback((...n) => t.current(...n), [t]);
1215
1215
  };
1216
1216
  function Ti(e) {
1217
1217
  let t = e.width / 2, n = e.height / 2;
@@ -1220,14 +1220,14 @@ function Ti(e) {
1220
1220
  function Ci(e, t) {
1221
1221
  return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
1222
1222
  }
1223
- function xi({ disabled: e = !1 } = {}) {
1224
- let t = w(null), [n, r] = k(!1), o = Et(), i = R(() => {
1223
+ function Si({ disabled: e = !1 } = {}) {
1224
+ let t = w(null), [n, r] = b(!1), o = Tt(), i = R(() => {
1225
1225
  t.current = null, r(!1), o.dispose();
1226
1226
  }), a = R((s) => {
1227
1227
  if (o.dispose(), t.current === null) {
1228
1228
  t.current = s.currentTarget, r(!0);
1229
1229
  {
1230
- let l = wt(s.currentTarget);
1230
+ let l = Et(s.currentTarget);
1231
1231
  o.addEventListener(l, "pointerup", i, !1), o.addEventListener(l, "pointermove", (u) => {
1232
1232
  if (t.current) {
1233
1233
  let d = Ti(u);
@@ -1239,71 +1239,71 @@ function xi({ disabled: e = !1 } = {}) {
1239
1239
  });
1240
1240
  return { pressed: n, pressProps: e ? {} : { onPointerDown: a, onPointerUp: i, onClick: i } };
1241
1241
  }
1242
- let ki = G(void 0);
1243
- function Xr() {
1244
- return B(ki);
1242
+ let ki = Q(void 0);
1243
+ function Zr() {
1244
+ return q(ki);
1245
1245
  }
1246
- function en(...e) {
1246
+ function Jt(...e) {
1247
1247
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
1248
1248
  }
1249
- function ge(e, t, ...n) {
1249
+ function ye(e, t, ...n) {
1250
1250
  if (e in t) {
1251
1251
  let o = t[e];
1252
1252
  return typeof o == "function" ? o(...n) : o;
1253
1253
  }
1254
1254
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
1255
- throw Error.captureStackTrace && Error.captureStackTrace(r, ge), r;
1255
+ throw Error.captureStackTrace && Error.captureStackTrace(r, ye), r;
1256
1256
  }
1257
- var vt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(vt || {}), ye = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(ye || {});
1258
- function Z({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: s }) {
1259
- s = s ?? Si;
1260
- let l = Qr(t, e);
1261
- if (i) return it(l, n, r, a, s);
1257
+ var mt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(mt || {}), me = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(me || {});
1258
+ function J({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: s }) {
1259
+ s = s ?? xi;
1260
+ let l = Xr(t, e);
1261
+ if (i) return st(l, n, r, a, s);
1262
1262
  let u = o ?? 0;
1263
1263
  if (u & 2) {
1264
1264
  let { static: d = !1, ...c } = l;
1265
- if (d) return it(c, n, r, a, s);
1265
+ if (d) return st(c, n, r, a, s);
1266
1266
  }
1267
1267
  if (u & 1) {
1268
1268
  let { unmount: d = !0, ...c } = l;
1269
- return ge(d ? 0 : 1, { 0() {
1269
+ return ye(d ? 0 : 1, { 0() {
1270
1270
  return null;
1271
1271
  }, 1() {
1272
- return it({ ...c, hidden: !0, style: { display: "none" } }, n, r, a, s);
1272
+ return st({ ...c, hidden: !0, style: { display: "none" } }, n, r, a, s);
1273
1273
  } });
1274
1274
  }
1275
- return it(l, n, r, a, s);
1275
+ return st(l, n, r, a, s);
1276
1276
  }
1277
- function it(e, t = {}, n, r, o) {
1277
+ function st(e, t = {}, n, r, o) {
1278
1278
  let { as: i = n, children: a, refName: s = "ref", ...l } = Ht(e, ["unmount", "static"]), u = e.ref !== void 0 ? { [s]: e.ref } : {}, d = typeof a == "function" ? a(t) : a;
1279
1279
  "className" in l && l.className && typeof l.className == "function" && (l.className = l.className(t)), l["aria-labelledby"] && l["aria-labelledby"] === l.id && (l["aria-labelledby"] = void 0);
1280
1280
  let c = {};
1281
1281
  if (t) {
1282
- let p = !1, f = [];
1283
- for (let [_, y] of Object.entries(t)) typeof y == "boolean" && (p = !0), y === !0 && f.push(_.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`));
1284
- if (p) {
1282
+ let h = !1, f = [];
1283
+ for (let [_, y] of Object.entries(t)) typeof y == "boolean" && (h = !0), y === !0 && f.push(_.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`));
1284
+ if (h) {
1285
1285
  c["data-headlessui-state"] = f.join(" ");
1286
1286
  for (let _ of f) c[`data-${_}`] = "";
1287
1287
  }
1288
1288
  }
1289
- if (i === H && (Object.keys(Ee(l)).length > 0 || Object.keys(Ee(c)).length > 0)) if (!Oe(d) || Array.isArray(d) && d.length > 1) {
1290
- if (Object.keys(Ee(l)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(Ee(l)).concat(Object.keys(Ee(c))).map((p) => ` - ${p}`).join(`
1291
- `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(`
1289
+ if (i === O && (Object.keys(be(l)).length > 0 || Object.keys(be(c)).length > 0)) if (!Oe(d) || Array.isArray(d) && d.length > 1) {
1290
+ if (Object.keys(be(l)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(be(l)).concat(Object.keys(be(c))).map((h) => ` - ${h}`).join(`
1291
+ `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(`
1292
1292
  `)].join(`
1293
1293
  `));
1294
1294
  } else {
1295
- let p = d.props, f = p == null ? void 0 : p.className, _ = typeof f == "function" ? (...v) => en(f(...v), l.className) : en(f, l.className), y = _ ? { className: _ } : {}, m = Qr(d.props, Ee(Ht(l, ["ref"])));
1295
+ let h = d.props, f = h == null ? void 0 : h.className, _ = typeof f == "function" ? (...v) => Jt(f(...v), l.className) : Jt(f, l.className), y = _ ? { className: _ } : {}, m = Xr(d.props, be(Ht(l, ["ref"])));
1296
1296
  for (let v in c) v in m && delete c[v];
1297
- return mn(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, y));
1297
+ return _n(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, y));
1298
1298
  }
1299
- return ne(i, Object.assign({}, Ht(l, ["ref"]), i !== H && u, i !== H && c), d);
1299
+ return ae(i, Object.assign({}, Ht(l, ["ref"]), i !== O && u, i !== O && c), d);
1300
1300
  }
1301
- function Si(...e) {
1301
+ function xi(...e) {
1302
1302
  return e.every((t) => t == null) ? void 0 : (t) => {
1303
1303
  for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t);
1304
1304
  };
1305
1305
  }
1306
- function Qr(...e) {
1306
+ function Xr(...e) {
1307
1307
  if (e.length === 0) return {};
1308
1308
  if (e.length === 1) return e[0];
1309
1309
  let t = {}, n = {};
@@ -1332,11 +1332,11 @@ function Fi(...e) {
1332
1332
  } });
1333
1333
  return t;
1334
1334
  }
1335
- function q(e) {
1335
+ function Z(e) {
1336
1336
  var t;
1337
- return Object.assign(vn(e), { displayName: (t = e.displayName) != null ? t : e.name });
1337
+ return Object.assign(hn(e), { displayName: (t = e.displayName) != null ? t : e.name });
1338
1338
  }
1339
- function Ee(e) {
1339
+ function be(e) {
1340
1340
  let t = Object.assign({}, e);
1341
1341
  for (let n in t) t[n] === void 0 && delete t[n];
1342
1342
  return t;
@@ -1347,72 +1347,72 @@ function Ht(e, t = []) {
1347
1347
  return n;
1348
1348
  }
1349
1349
  let Mi = "button";
1350
- function Pi(e, t) {
1350
+ function Ni(e, t) {
1351
1351
  var n;
1352
- let r = Xr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: s, focusProps: l } = wi({ autoFocus: i }), { isHovered: u, hoverProps: d } = gi({ isDisabled: o }), { pressed: c, pressProps: p } = xi({ disabled: o }), f = Fi({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, l, d, p), _ = N(() => ({ disabled: o, hover: u, focus: s, active: c, autofocus: i }), [o, u, s, c, i]);
1353
- return Z({ ourProps: f, theirProps: a, slot: _, defaultTag: Mi, name: "Button" });
1352
+ let r = Zr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: s, focusProps: l } = wi({ autoFocus: i }), { isHovered: u, hoverProps: d } = gi({ isDisabled: o }), { pressed: c, pressProps: h } = Si({ disabled: o }), f = Fi({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, l, d, h), _ = L(() => ({ disabled: o, hover: u, focus: s, active: c, autofocus: i }), [o, u, s, c, i]);
1353
+ return J({ ourProps: f, theirProps: a, slot: _, defaultTag: Mi, name: "Button" });
1354
1354
  }
1355
- let Li = q(Pi), Ni = "div";
1356
- var _t = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(_t || {});
1357
- function Ai(e, t) {
1355
+ let Pi = Z(Ni), Li = "div";
1356
+ var yt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(yt || {});
1357
+ function Ii(e, t) {
1358
1358
  var n;
1359
1359
  let { features: r = 1, ...o } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : (n = o["aria-hidden"]) != null ? n : void 0, hidden: (r & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
1360
- return Z({ ourProps: i, theirProps: o, slot: {}, defaultTag: Ni, name: "Hidden" });
1360
+ return J({ ourProps: i, theirProps: o, slot: {}, defaultTag: Li, name: "Hidden" });
1361
1361
  }
1362
- let tn = q(Ai), Di = G(null);
1363
- function Ii({ children: e }) {
1364
- let t = B(Di);
1365
- if (!t) return T.createElement(T.Fragment, null, e);
1362
+ let en = Z(Ii), Ai = Q(null);
1363
+ function Di({ children: e }) {
1364
+ let t = q(Ai);
1365
+ if (!t) return E.createElement(E.Fragment, null, e);
1366
1366
  let { target: n } = t;
1367
- return n ? yt(T.createElement(T.Fragment, null, e), n) : null;
1367
+ return n ? wt(E.createElement(E.Fragment, null, e), n) : null;
1368
1368
  }
1369
- let Jr = Symbol();
1369
+ let Qr = Symbol();
1370
1370
  function Oi(e, t = !0) {
1371
- return Object.assign(e, { [Jr]: t });
1371
+ return Object.assign(e, { [Qr]: t });
1372
1372
  }
1373
- function ae(...e) {
1373
+ function se(...e) {
1374
1374
  let t = w(e);
1375
- D(() => {
1375
+ I(() => {
1376
1376
  t.current = e;
1377
1377
  }, [e]);
1378
1378
  let n = R((r) => {
1379
1379
  for (let o of t.current) o != null && (typeof o == "function" ? o(r) : o.current = r);
1380
1380
  });
1381
- return e.every((r) => r == null || (r == null ? void 0 : r[Jr])) ? void 0 : n;
1381
+ return e.every((r) => r == null || (r == null ? void 0 : r[Qr])) ? void 0 : n;
1382
1382
  }
1383
- let $n = G(null);
1384
- $n.displayName = "DescriptionContext";
1385
- function eo() {
1386
- let e = B($n);
1383
+ let En = Q(null);
1384
+ En.displayName = "DescriptionContext";
1385
+ function Jr() {
1386
+ let e = q(En);
1387
1387
  if (e === null) {
1388
1388
  let t = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
1389
- throw Error.captureStackTrace && Error.captureStackTrace(t, eo), t;
1389
+ throw Error.captureStackTrace && Error.captureStackTrace(t, Jr), t;
1390
1390
  }
1391
1391
  return e;
1392
1392
  }
1393
1393
  function Hi() {
1394
- let [e, t] = k([]);
1395
- return [e.length > 0 ? e.join(" ") : void 0, N(() => function(n) {
1394
+ let [e, t] = b([]);
1395
+ return [e.length > 0 ? e.join(" ") : void 0, L(() => function(n) {
1396
1396
  let r = R((i) => (t((a) => [...a, i]), () => t((a) => {
1397
1397
  let s = a.slice(), l = s.indexOf(i);
1398
1398
  return l !== -1 && s.splice(l, 1), s;
1399
- }))), o = N(() => ({ register: r, slot: n.slot, name: n.name, props: n.props, value: n.value }), [r, n.slot, n.name, n.props, n.value]);
1400
- return T.createElement($n.Provider, { value: o }, n.children);
1399
+ }))), o = L(() => ({ register: r, slot: n.slot, name: n.name, props: n.props, value: n.value }), [r, n.slot, n.name, n.props, n.value]);
1400
+ return E.createElement(En.Provider, { value: o }, n.children);
1401
1401
  }, [t])];
1402
1402
  }
1403
1403
  let Ri = "p";
1404
1404
  function Vi(e, t) {
1405
- let n = we(), r = Xr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = eo(), s = ae(t);
1406
- z(() => a.register(o), [o, a.register]);
1407
- let l = r || !1, u = N(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
1408
- return Z({ ourProps: d, theirProps: i, slot: u, defaultTag: Ri, name: a.name || "Description" });
1409
- }
1410
- let Ui = q(Vi), Wi = Object.assign(Ui, {});
1411
- var to = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(to || {});
1412
- let ji = G(() => {
1405
+ let n = ge(), r = Zr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = Jr(), s = se(t);
1406
+ G(() => a.register(o), [o, a.register]);
1407
+ let l = r || !1, u = L(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
1408
+ return J({ ourProps: d, theirProps: i, slot: u, defaultTag: Ri, name: a.name || "Description" });
1409
+ }
1410
+ let Ui = Z(Vi), Wi = Object.assign(Ui, {});
1411
+ var eo = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(eo || {});
1412
+ let ji = Q(() => {
1413
1413
  });
1414
1414
  function Bi({ value: e, children: t }) {
1415
- return T.createElement(ji.Provider, { value: e }, t);
1415
+ return E.createElement(ji.Provider, { value: e }, t);
1416
1416
  }
1417
1417
  let zi = class extends Map {
1418
1418
  constructor(t) {
@@ -1423,7 +1423,7 @@ let zi = class extends Map {
1423
1423
  return n === void 0 && (n = this.factory(t), this.set(t, n)), n;
1424
1424
  }
1425
1425
  };
1426
- function no(e, t) {
1426
+ function to(e, t) {
1427
1427
  let n = e(), r = /* @__PURE__ */ new Set();
1428
1428
  return { getSnapshot() {
1429
1429
  return n;
@@ -1434,10 +1434,10 @@ function no(e, t) {
1434
1434
  a && (n = a, r.forEach((s) => s()));
1435
1435
  } };
1436
1436
  }
1437
- function ro(e) {
1438
- return gt(e.subscribe, e.getSnapshot, e.getSnapshot);
1437
+ function no(e) {
1438
+ return bt(e.subscribe, e.getSnapshot, e.getSnapshot);
1439
1439
  }
1440
- let qi = new zi(() => no(() => [], { ADD(e) {
1440
+ let qi = new zi(() => to(() => [], { ADD(e) {
1441
1441
  return this.includes(e) ? this : [...this, e];
1442
1442
  }, REMOVE(e) {
1443
1443
  let t = this.indexOf(e);
@@ -1446,57 +1446,57 @@ let qi = new zi(() => no(() => [], { ADD(e) {
1446
1446
  return n.splice(t, 1), n;
1447
1447
  } }));
1448
1448
  function He(e, t) {
1449
- let n = qi.get(t), r = we(), o = ro(n);
1450
- if (z(() => {
1449
+ let n = qi.get(t), r = ge(), o = no(n);
1450
+ if (G(() => {
1451
1451
  if (e) return n.dispatch("ADD", r), () => n.dispatch("REMOVE", r);
1452
1452
  }, [n, e]), !e) return !1;
1453
1453
  let i = o.indexOf(r), a = o.length;
1454
1454
  return i === -1 && (i = a, a += 1), i === a - 1;
1455
1455
  }
1456
- let nn = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new Map();
1457
- function Gn(e) {
1456
+ let tn = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new Map();
1457
+ function Kn(e) {
1458
1458
  var t;
1459
- let n = (t = Ke.get(e)) != null ? t : 0;
1460
- return Ke.set(e, n + 1), n !== 0 ? () => Zn(e) : (nn.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Zn(e));
1459
+ let n = (t = Ye.get(e)) != null ? t : 0;
1460
+ return Ye.set(e, n + 1), n !== 0 ? () => Gn(e) : (tn.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Gn(e));
1461
1461
  }
1462
- function Zn(e) {
1462
+ function Gn(e) {
1463
1463
  var t;
1464
- let n = (t = Ke.get(e)) != null ? t : 1;
1465
- if (n === 1 ? Ke.delete(e) : Ke.set(e, n - 1), n !== 1) return;
1466
- let r = nn.get(e);
1467
- r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, nn.delete(e));
1464
+ let n = (t = Ye.get(e)) != null ? t : 1;
1465
+ if (n === 1 ? Ye.delete(e) : Ye.set(e, n - 1), n !== 1) return;
1466
+ let r = tn.get(e);
1467
+ r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, tn.delete(e));
1468
1468
  }
1469
- function Ki(e, { allowed: t, disallowed: n } = {}) {
1469
+ function Yi(e, { allowed: t, disallowed: n } = {}) {
1470
1470
  let r = He(e, "inert-others");
1471
- z(() => {
1471
+ G(() => {
1472
1472
  var o, i;
1473
1473
  if (!r) return;
1474
- let a = be();
1475
- for (let l of (o = n == null ? void 0 : n()) != null ? o : []) l && a.add(Gn(l));
1474
+ let a = we();
1475
+ for (let l of (o = n == null ? void 0 : n()) != null ? o : []) l && a.add(Kn(l));
1476
1476
  let s = (i = t == null ? void 0 : t()) != null ? i : [];
1477
1477
  for (let l of s) {
1478
1478
  if (!l) continue;
1479
- let u = wt(l);
1479
+ let u = Et(l);
1480
1480
  if (!u) continue;
1481
1481
  let d = l.parentElement;
1482
1482
  for (; d && d !== u.body; ) {
1483
- for (let c of d.children) s.some((p) => c.contains(p)) || a.add(Gn(c));
1483
+ for (let c of d.children) s.some((h) => c.contains(h)) || a.add(Kn(c));
1484
1484
  d = d.parentElement;
1485
1485
  }
1486
1486
  }
1487
1487
  return a.dispose;
1488
1488
  }, [r, t, n]);
1489
1489
  }
1490
- function oo(e, t, n) {
1491
- let r = Ne((o) => {
1490
+ function ro(e, t, n) {
1491
+ let r = Pe((o) => {
1492
1492
  let i = o.getBoundingClientRect();
1493
1493
  i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
1494
1494
  });
1495
- D(() => {
1495
+ I(() => {
1496
1496
  if (!e) return;
1497
1497
  let o = t === null ? null : t instanceof HTMLElement ? t : t.current;
1498
1498
  if (!o) return;
1499
- let i = be();
1499
+ let i = we();
1500
1500
  if (typeof ResizeObserver < "u") {
1501
1501
  let a = new ResizeObserver(() => r.current(o));
1502
1502
  a.observe(o), i.add(() => a.disconnect());
@@ -1508,23 +1508,23 @@ function oo(e, t, n) {
1508
1508
  return () => i.dispose();
1509
1509
  }, [t, r, e]);
1510
1510
  }
1511
- let rn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Yi = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
- var ce = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(ce || {}), on = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(on || {}), Gi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Gi || {});
1511
+ let nn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Ki = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
+ var de = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(de || {}), rn = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(rn || {}), Gi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Gi || {});
1513
1513
  function Zi(e = document.body) {
1514
- return e == null ? [] : Array.from(e.querySelectorAll(rn)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1514
+ return e == null ? [] : Array.from(e.querySelectorAll(nn)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1515
1515
  }
1516
1516
  function Xi(e = document.body) {
1517
- return e == null ? [] : Array.from(e.querySelectorAll(Yi)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1517
+ return e == null ? [] : Array.from(e.querySelectorAll(Ki)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1518
1518
  }
1519
- var io = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(io || {});
1519
+ var oo = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(oo || {});
1520
1520
  function Qi(e, t = 0) {
1521
1521
  var n;
1522
- return e === ((n = wt(e)) == null ? void 0 : n.body) ? !1 : ge(t, { 0() {
1523
- return e.matches(rn);
1522
+ return e === ((n = Et(e)) == null ? void 0 : n.body) ? !1 : ye(t, { 0() {
1523
+ return e.matches(nn);
1524
1524
  }, 1() {
1525
1525
  let r = e;
1526
1526
  for (; r !== null; ) {
1527
- if (r.matches(rn)) return !0;
1527
+ if (r.matches(nn)) return !0;
1528
1528
  r = r.parentElement;
1529
1529
  }
1530
1530
  return !1;
@@ -1536,7 +1536,7 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
1536
1536
  }, !0), document.addEventListener("click", (e) => {
1537
1537
  e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
1538
1538
  }, !0));
1539
- function fe(e) {
1539
+ function he(e) {
1540
1540
  e == null || e.focus({ preventScroll: !0 });
1541
1541
  }
1542
1542
  let ea = ["textarea", "input"].join(",");
@@ -1552,7 +1552,7 @@ function na(e, t = (n) => n) {
1552
1552
  return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
1553
1553
  });
1554
1554
  }
1555
- function Ye(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1555
+ function Ke(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1556
1556
  let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? na(e) : e : t & 64 ? Xi(e) : Zi(e);
1557
1557
  o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((_) => _ != null && "current" in _ ? (_ == null ? void 0 : _.current) === f : _ === f))), r = r ?? i.activeElement;
1558
1558
  let s = (() => {
@@ -1565,7 +1565,7 @@ function Ye(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1565
1565
  if (t & 4) return Math.max(0, a.indexOf(r)) + 1;
1566
1566
  if (t & 8) return a.length - 1;
1567
1567
  throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
1568
- })(), u = t & 32 ? { preventScroll: !0 } : {}, d = 0, c = a.length, p;
1568
+ })(), u = t & 32 ? { preventScroll: !0 } : {}, d = 0, c = a.length, h;
1569
1569
  do {
1570
1570
  if (d >= c || d + c <= 0) return 0;
1571
1571
  let f = l + d;
@@ -1574,22 +1574,22 @@ function Ye(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1574
1574
  if (f < 0) return 3;
1575
1575
  if (f >= c) return 1;
1576
1576
  }
1577
- p = a[f], p == null || p.focus(u), d += s;
1578
- } while (p !== i.activeElement);
1579
- return t & 6 && ta(p) && p.select(), 2;
1577
+ h = a[f], h == null || h.focus(u), d += s;
1578
+ } while (h !== i.activeElement);
1579
+ return t & 6 && ta(h) && h.select(), 2;
1580
1580
  }
1581
- function ao() {
1581
+ function io() {
1582
1582
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
1583
1583
  }
1584
1584
  function ra() {
1585
1585
  return /Android/gi.test(window.navigator.userAgent);
1586
1586
  }
1587
1587
  function oa() {
1588
- return ao() || ra();
1588
+ return io() || ra();
1589
1589
  }
1590
1590
  function Ue(e, t, n, r) {
1591
- let o = Ne(n);
1592
- D(() => {
1591
+ let o = Pe(n);
1592
+ I(() => {
1593
1593
  if (!e) return;
1594
1594
  function i(a) {
1595
1595
  o.current(a);
@@ -1597,9 +1597,9 @@ function Ue(e, t, n, r) {
1597
1597
  return document.addEventListener(t, i, r), () => document.removeEventListener(t, i, r);
1598
1598
  }, [e, t, r]);
1599
1599
  }
1600
- function so(e, t, n, r) {
1601
- let o = Ne(n);
1602
- D(() => {
1600
+ function ao(e, t, n, r) {
1601
+ let o = Pe(n);
1602
+ I(() => {
1603
1603
  if (!e) return;
1604
1604
  function i(a) {
1605
1605
  o.current(a);
@@ -1607,21 +1607,21 @@ function so(e, t, n, r) {
1607
1607
  return window.addEventListener(t, i, r), () => window.removeEventListener(t, i, r);
1608
1608
  }, [e, t, r]);
1609
1609
  }
1610
- const Xn = 30;
1610
+ const Zn = 30;
1611
1611
  function ia(e, t, n) {
1612
- let r = He(e, "outside-click"), o = Ne(n), i = O(function(l, u) {
1612
+ let r = He(e, "outside-click"), o = Pe(n), i = D(function(l, u) {
1613
1613
  if (l.defaultPrevented) return;
1614
1614
  let d = u(l);
1615
1615
  if (d === null || !d.getRootNode().contains(d) || !d.isConnected) return;
1616
- let c = function p(f) {
1617
- return typeof f == "function" ? p(f()) : Array.isArray(f) || f instanceof Set ? f : [f];
1616
+ let c = function h(f) {
1617
+ return typeof f == "function" ? h(f()) : Array.isArray(f) || f instanceof Set ? f : [f];
1618
1618
  }(t);
1619
- for (let p of c) {
1620
- if (p === null) continue;
1621
- let f = p instanceof HTMLElement ? p : p.current;
1619
+ for (let h of c) {
1620
+ if (h === null) continue;
1621
+ let f = h instanceof HTMLElement ? h : h.current;
1622
1622
  if (f != null && f.contains(d) || l.composed && l.composedPath().includes(f)) return;
1623
1623
  }
1624
- return !Qi(d, io.Loose) && d.tabIndex !== -1 && l.preventDefault(), o.current(l, d);
1624
+ return !Qi(d, oo.Loose) && d.tabIndex !== -1 && l.preventDefault(), o.current(l, d);
1625
1625
  }, [o]), a = w(null);
1626
1626
  Ue(r, "pointerdown", (l) => {
1627
1627
  var u, d;
@@ -1637,15 +1637,15 @@ function ia(e, t, n) {
1637
1637
  s.current.x = l.touches[0].clientX, s.current.y = l.touches[0].clientY;
1638
1638
  }, !0), Ue(r, "touchend", (l) => {
1639
1639
  let u = { x: l.changedTouches[0].clientX, y: l.changedTouches[0].clientY };
1640
- if (!(Math.abs(u.x - s.current.x) >= Xn || Math.abs(u.y - s.current.y) >= Xn)) return i(l, () => l.target instanceof HTMLElement ? l.target : null);
1641
- }, !0), so(r, "blur", (l) => i(l, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1640
+ if (!(Math.abs(u.x - s.current.x) >= Zn || Math.abs(u.y - s.current.y) >= Zn)) return i(l, () => l.target instanceof HTMLElement ? l.target : null);
1641
+ }, !0), ao(r, "blur", (l) => i(l, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1642
1642
  }
1643
1643
  function tt(...e) {
1644
- return N(() => wt(...e), [...e]);
1644
+ return L(() => Et(...e), [...e]);
1645
1645
  }
1646
- function lo(e, t, n, r) {
1647
- let o = Ne(n);
1648
- D(() => {
1646
+ function so(e, t, n, r) {
1647
+ let o = Pe(n);
1648
+ I(() => {
1649
1649
  e = e ?? window;
1650
1650
  function i(a) {
1651
1651
  o.current(a);
@@ -1665,14 +1665,14 @@ function aa() {
1665
1665
  } };
1666
1666
  }
1667
1667
  function sa() {
1668
- return ao() ? { before({ doc: e, d: t, meta: n }) {
1668
+ return io() ? { before({ doc: e, d: t, meta: n }) {
1669
1669
  function r(o) {
1670
1670
  return n.containers.flatMap((i) => i()).some((i) => i.contains(o));
1671
1671
  }
1672
1672
  t.microTask(() => {
1673
1673
  var o;
1674
1674
  if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
1675
- let s = be();
1675
+ let s = we();
1676
1676
  s.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => s.dispose()));
1677
1677
  }
1678
1678
  let i = (o = window.scrollY) != null ? o : window.pageYOffset, a = null;
@@ -1717,9 +1717,9 @@ function ca(e) {
1717
1717
  for (let n of e) Object.assign(t, n(t));
1718
1718
  return t;
1719
1719
  }
1720
- let xe = no(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1720
+ let Ce = to(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1721
1721
  var n;
1722
- let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: be(), meta: /* @__PURE__ */ new Set() };
1722
+ let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: we(), meta: /* @__PURE__ */ new Set() };
1723
1723
  return r.count++, r.meta.add(t), this.set(e, r), this;
1724
1724
  }, POP(e, t) {
1725
1725
  let n = this.get(e);
@@ -1732,18 +1732,18 @@ let xe = no(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1732
1732
  }, TEARDOWN({ doc: e }) {
1733
1733
  this.delete(e);
1734
1734
  } });
1735
- xe.subscribe(() => {
1736
- let e = xe.getSnapshot(), t = /* @__PURE__ */ new Map();
1735
+ Ce.subscribe(() => {
1736
+ let e = Ce.getSnapshot(), t = /* @__PURE__ */ new Map();
1737
1737
  for (let [n] of e) t.set(n, n.documentElement.style.overflow);
1738
1738
  for (let n of e.values()) {
1739
1739
  let r = t.get(n.doc) === "hidden", o = n.count !== 0;
1740
- (o && !r || !o && r) && xe.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && xe.dispatch("TEARDOWN", n);
1740
+ (o && !r || !o && r) && Ce.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Ce.dispatch("TEARDOWN", n);
1741
1741
  }
1742
1742
  });
1743
1743
  function ua(e, t, n = () => ({ containers: [] })) {
1744
- let r = ro(xe), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1745
- return z(() => {
1746
- if (!(!t || !e)) return xe.dispatch("PUSH", t, n), () => xe.dispatch("POP", t, n);
1744
+ let r = no(Ce), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1745
+ return G(() => {
1746
+ if (!(!t || !e)) return Ce.dispatch("PUSH", t, n), () => Ce.dispatch("POP", t, n);
1747
1747
  }, [e, t]), i;
1748
1748
  }
1749
1749
  function da(e, t, n = () => [document.body]) {
@@ -1760,7 +1760,7 @@ function fa(e) {
1760
1760
  };
1761
1761
  }
1762
1762
  function pa(e = 0) {
1763
- let [t, n] = k(e), r = O((l) => n(l), [t]), o = O((l) => n((u) => u | l), [t]), i = O((l) => (t & l) === l, [t]), a = O((l) => n((u) => u & ~l), [n]), s = O((l) => n((u) => u ^ l), [n]);
1763
+ let [t, n] = b(e), r = D((l) => n(l), [t]), o = D((l) => n((u) => u | l), [t]), i = D((l) => (t & l) === l, [t]), a = D((l) => n((u) => u & ~l), [n]), s = D((l) => n((u) => u ^ l), [n]);
1764
1764
  return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
1765
1765
  }
1766
1766
  var ha = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ha || {});
@@ -1770,8 +1770,8 @@ function va(e) {
1770
1770
  return t;
1771
1771
  }
1772
1772
  function _a(e, t, n, r) {
1773
- let [o, i] = k(n), { hasFlag: a, addFlag: s, removeFlag: l } = pa(e && o ? 3 : 0), u = w(!1), d = w(!1), c = Et();
1774
- return z(function p() {
1773
+ let [o, i] = b(n), { hasFlag: a, addFlag: s, removeFlag: l } = pa(e && o ? 3 : 0), u = w(!1), d = w(!1), c = Tt();
1774
+ return G(function h() {
1775
1775
  var f;
1776
1776
  if (!e) return;
1777
1777
  n && i(!0);
@@ -1783,20 +1783,20 @@ function _a(e, t, n, r) {
1783
1783
  }, done() {
1784
1784
  var y;
1785
1785
  d.current && typeof _.getAnimations == "function" && _.getAnimations().length > 0 || (u.current = !1, l(7), n || i(!1), (y = r == null ? void 0 : r.end) == null || y.call(r, n));
1786
- } })) : n ? (s(3), c.nextFrame(() => p())) : void 0;
1786
+ } })) : n ? (s(3), c.nextFrame(() => h())) : void 0;
1787
1787
  }, [e, n, t, c]), e ? [o, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [n, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
1788
1788
  }
1789
1789
  function ma(e, { prepare: t, run: n, done: r, inFlight: o }) {
1790
- let i = be();
1790
+ let i = we();
1791
1791
  return ga(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
1792
1792
  i.add(ya(e, r)), n();
1793
1793
  }), i.dispose;
1794
1794
  }
1795
1795
  function ya(e, t) {
1796
- let n = fa(t), r = be();
1796
+ let n = fa(t), r = we();
1797
1797
  if (!e) return r.dispose;
1798
1798
  let { transitionDuration: o, transitionDelay: i } = getComputedStyle(e), [a, s] = [o, i].map((u) => {
1799
- let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, p) => p - c);
1799
+ let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, h) => h - c);
1800
1800
  return d;
1801
1801
  }), l = a + s;
1802
1802
  if (l !== 0) {
@@ -1804,8 +1804,8 @@ function ya(e, t) {
1804
1804
  let c = d.setTimeout(() => {
1805
1805
  n(), d.dispose();
1806
1806
  }, l);
1807
- d.addEventListener(e, "transitionrun", (p) => {
1808
- p.target === p.currentTarget && (c(), d.addEventListener(e, "transitioncancel", (f) => {
1807
+ d.addEventListener(e, "transitionrun", (h) => {
1808
+ h.target === h.currentTarget && (c(), d.addEventListener(e, "transitioncancel", (f) => {
1809
1809
  f.target === f.currentTarget && (n(), u());
1810
1810
  }));
1811
1811
  });
@@ -1824,9 +1824,9 @@ function ga(e, { inFlight: t, prepare: n }) {
1824
1824
  let r = e.style.transition;
1825
1825
  e.style.transition = "none", n(), e.offsetHeight, e.style.transition = r;
1826
1826
  }
1827
- function Tn(e, t) {
1827
+ function $n(e, t) {
1828
1828
  let n = w([]), r = R(e);
1829
- D(() => {
1829
+ I(() => {
1830
1830
  let o = [...n.current];
1831
1831
  for (let [i, a] of t.entries()) if (n.current[i] !== a) {
1832
1832
  let s = r(t, o);
@@ -1834,17 +1834,17 @@ function Tn(e, t) {
1834
1834
  }
1835
1835
  }, [r, ...t]);
1836
1836
  }
1837
- let $t = G(null);
1838
- $t.displayName = "OpenClosedContext";
1839
- var ee = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(ee || {});
1840
- function Tt() {
1841
- return B($t);
1837
+ let Ct = Q(null);
1838
+ Ct.displayName = "OpenClosedContext";
1839
+ var re = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(re || {});
1840
+ function St() {
1841
+ return q(Ct);
1842
1842
  }
1843
1843
  function wa({ value: e, children: t }) {
1844
- return T.createElement($t.Provider, { value: e }, t);
1844
+ return E.createElement(Ct.Provider, { value: e }, t);
1845
1845
  }
1846
1846
  function ba({ children: e }) {
1847
- return T.createElement($t.Provider, { value: null }, e);
1847
+ return E.createElement(Ct.Provider, { value: null }, e);
1848
1848
  }
1849
1849
  function Ea(e) {
1850
1850
  function t() {
@@ -1852,102 +1852,102 @@ function Ea(e) {
1852
1852
  }
1853
1853
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
1854
1854
  }
1855
- let me = [];
1855
+ let _e = [];
1856
1856
  Ea(() => {
1857
1857
  function e(t) {
1858
- t.target instanceof HTMLElement && t.target !== document.body && me[0] !== t.target && (me.unshift(t.target), me = me.filter((n) => n != null && n.isConnected), me.splice(10));
1858
+ t.target instanceof HTMLElement && t.target !== document.body && _e[0] !== t.target && (_e.unshift(t.target), _e = _e.filter((n) => n != null && n.isConnected), _e.splice(10));
1859
1859
  }
1860
1860
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
1861
1861
  });
1862
- function co(e) {
1862
+ function lo(e) {
1863
1863
  let t = R(e), n = w(!1);
1864
- D(() => (n.current = !1, () => {
1865
- n.current = !0, bt(() => {
1864
+ I(() => (n.current = !1, () => {
1865
+ n.current = !0, $t(() => {
1866
1866
  n.current && t();
1867
1867
  });
1868
1868
  }), [t]);
1869
1869
  }
1870
1870
  function $a() {
1871
1871
  let e = typeof document > "u";
1872
- return "useSyncExternalStore" in Kn ? ((t) => t.useSyncExternalStore)(Kn)(() => () => {
1872
+ return "useSyncExternalStore" in qn ? ((t) => t.useSyncExternalStore)(qn)(() => () => {
1873
1873
  }, () => !1, () => !e) : !1;
1874
1874
  }
1875
1875
  function nt() {
1876
- let e = $a(), [t, n] = k(ke.isHandoffComplete);
1877
- return t && ke.isHandoffComplete === !1 && n(!1), D(() => {
1876
+ let e = $a(), [t, n] = b(Se.isHandoffComplete);
1877
+ return t && Se.isHandoffComplete === !1 && n(!1), I(() => {
1878
1878
  t !== !0 && n(!0);
1879
- }, [t]), D(() => ke.handoff(), []), e ? !1 : t;
1879
+ }, [t]), I(() => Se.handoff(), []), e ? !1 : t;
1880
1880
  }
1881
- let uo = G(!1);
1881
+ let co = Q(!1);
1882
1882
  function Ta() {
1883
- return B(uo);
1883
+ return q(co);
1884
1884
  }
1885
- function Qn(e) {
1886
- return T.createElement(uo.Provider, { value: e.force }, e.children);
1885
+ function Xn(e) {
1886
+ return E.createElement(co.Provider, { value: e.force }, e.children);
1887
1887
  }
1888
1888
  function Ca(e) {
1889
- let t = Ta(), n = B(po), r = tt(e), [o, i] = k(() => {
1889
+ let t = Ta(), n = q(fo), r = tt(e), [o, i] = b(() => {
1890
1890
  var a;
1891
1891
  if (!t && n !== null) return (a = n.current) != null ? a : null;
1892
- if (ke.isServer) return null;
1892
+ if (Se.isServer) return null;
1893
1893
  let s = r == null ? void 0 : r.getElementById("headlessui-portal-root");
1894
1894
  if (s) return s;
1895
1895
  if (r === null) return null;
1896
1896
  let l = r.createElement("div");
1897
1897
  return l.setAttribute("id", "headlessui-portal-root"), r.body.appendChild(l);
1898
1898
  });
1899
- return D(() => {
1899
+ return I(() => {
1900
1900
  o !== null && (r != null && r.body.contains(o) || r == null || r.body.appendChild(o));
1901
- }, [o, r]), D(() => {
1901
+ }, [o, r]), I(() => {
1902
1902
  t || n !== null && i(n.current);
1903
1903
  }, [n, i, t]), o;
1904
1904
  }
1905
- let fo = H, xa = q(function(e, t) {
1906
- let n = e, r = w(null), o = ae(Oi((d) => {
1905
+ let uo = O, Sa = Z(function(e, t) {
1906
+ let n = e, r = w(null), o = se(Oi((d) => {
1907
1907
  r.current = d;
1908
- }), t), i = tt(r), a = Ca(r), [s] = k(() => {
1908
+ }), t), i = tt(r), a = Ca(r), [s] = b(() => {
1909
1909
  var d;
1910
- return ke.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1911
- }), l = B(an), u = nt();
1912
- return z(() => {
1910
+ return Se.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1911
+ }), l = q(on), u = nt();
1912
+ return G(() => {
1913
1913
  !a || !s || a.contains(s) || (s.setAttribute("data-headlessui-portal", ""), a.appendChild(s));
1914
- }, [a, s]), z(() => {
1914
+ }, [a, s]), G(() => {
1915
1915
  if (s && l) return l.register(s);
1916
- }, [l, s]), co(() => {
1916
+ }, [l, s]), lo(() => {
1917
1917
  var d;
1918
1918
  !a || !s || (s instanceof Node && a.contains(s) && a.removeChild(s), a.childNodes.length <= 0 && ((d = a.parentElement) == null || d.removeChild(a)));
1919
- }), u ? !a || !s ? null : yt(Z({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: fo, name: "Portal" }), s) : null;
1919
+ }), u ? !a || !s ? null : wt(J({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: uo, name: "Portal" }), s) : null;
1920
1920
  });
1921
1921
  function ka(e, t) {
1922
- let n = ae(t), { enabled: r = !0, ...o } = e;
1923
- return r ? T.createElement(xa, { ...o, ref: n }) : Z({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: fo, name: "Portal" });
1922
+ let n = se(t), { enabled: r = !0, ...o } = e;
1923
+ return r ? E.createElement(Sa, { ...o, ref: n }) : J({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: uo, name: "Portal" });
1924
1924
  }
1925
- let Sa = H, po = G(null);
1925
+ let xa = O, fo = Q(null);
1926
1926
  function Fa(e, t) {
1927
- let { target: n, ...r } = e, o = { ref: ae(t) };
1928
- return T.createElement(po.Provider, { value: n }, Z({ ourProps: o, theirProps: r, defaultTag: Sa, name: "Popover.Group" }));
1927
+ let { target: n, ...r } = e, o = { ref: se(t) };
1928
+ return E.createElement(fo.Provider, { value: n }, J({ ourProps: o, theirProps: r, defaultTag: xa, name: "Popover.Group" }));
1929
1929
  }
1930
- let an = G(null);
1930
+ let on = Q(null);
1931
1931
  function Ma() {
1932
- let e = B(an), t = w([]), n = R((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = R((i) => {
1932
+ let e = q(on), t = w([]), n = R((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = R((i) => {
1933
1933
  let a = t.current.indexOf(i);
1934
1934
  a !== -1 && t.current.splice(a, 1), e && e.unregister(i);
1935
- }), o = N(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
- return [t, N(() => function({ children: i }) {
1937
- return T.createElement(an.Provider, { value: o }, i);
1935
+ }), o = L(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
+ return [t, L(() => function({ children: i }) {
1937
+ return E.createElement(on.Provider, { value: o }, i);
1938
1938
  }, [o])];
1939
1939
  }
1940
- let Pa = q(ka), ho = q(Fa), La = Object.assign(Pa, { Group: ho });
1941
- function Na(e, t = typeof document < "u" ? document.defaultView : null, n) {
1940
+ let Na = Z(ka), po = Z(Fa), Pa = Object.assign(Na, { Group: po });
1941
+ function La(e, t = typeof document < "u" ? document.defaultView : null, n) {
1942
1942
  let r = He(e, "escape");
1943
- lo(t, "keydown", (o) => {
1944
- r && (o.defaultPrevented || o.key === to.Escape && n(o));
1943
+ so(t, "keydown", (o) => {
1944
+ r && (o.defaultPrevented || o.key === eo.Escape && n(o));
1945
1945
  });
1946
1946
  }
1947
- function Aa() {
1947
+ function Ia() {
1948
1948
  var e;
1949
- let [t] = k(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = k((e = t == null ? void 0 : t.matches) != null ? e : !1);
1950
- return z(() => {
1949
+ let [t] = b(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = b((e = t == null ? void 0 : t.matches) != null ? e : !1);
1950
+ return G(() => {
1951
1951
  if (!t) return;
1952
1952
  function o(i) {
1953
1953
  r(i.matches);
@@ -1955,34 +1955,34 @@ function Aa() {
1955
1955
  return t.addEventListener("change", o), () => t.removeEventListener("change", o);
1956
1956
  }, [t]), n;
1957
1957
  }
1958
- function Da({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1958
+ function Aa({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1959
1959
  var r;
1960
1960
  let o = w((r = n == null ? void 0 : n.current) != null ? r : null), i = tt(o), a = R(() => {
1961
1961
  var s, l, u;
1962
1962
  let d = [];
1963
1963
  for (let c of e) c !== null && (c instanceof HTMLElement ? d.push(c) : "current" in c && c.current instanceof HTMLElement && d.push(c.current));
1964
1964
  if (t != null && t.current) for (let c of t.current) d.push(c);
1965
- for (let c of (s = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? s : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(o.current) || c.contains((u = (l = o.current) == null ? void 0 : l.getRootNode()) == null ? void 0 : u.host) || d.some((p) => c.contains(p)) || d.push(c));
1965
+ for (let c of (s = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? s : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(o.current) || c.contains((u = (l = o.current) == null ? void 0 : l.getRootNode()) == null ? void 0 : u.host) || d.some((h) => c.contains(h)) || d.push(c));
1966
1966
  return d;
1967
1967
  });
1968
- return { resolveContainers: a, contains: R((s) => a().some((l) => l.contains(s))), mainTreeNodeRef: o, MainTreeNode: N(() => function() {
1969
- return n != null ? null : T.createElement(tn, { features: _t.Hidden, ref: o });
1968
+ return { resolveContainers: a, contains: R((s) => a().some((l) => l.contains(s))), mainTreeNodeRef: o, MainTreeNode: L(() => function() {
1969
+ return n != null ? null : E.createElement(en, { features: yt.Hidden, ref: o });
1970
1970
  }, [o, n]) };
1971
1971
  }
1972
- function Cn() {
1972
+ function Tn() {
1973
1973
  let e = w(!1);
1974
- return z(() => (e.current = !0, () => {
1974
+ return G(() => (e.current = !0, () => {
1975
1975
  e.current = !1;
1976
1976
  }), []), e;
1977
1977
  }
1978
1978
  var je = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(je || {});
1979
- function Ia() {
1979
+ function Da() {
1980
1980
  let e = w(0);
1981
- return so(!0, "keydown", (t) => {
1981
+ return ao(!0, "keydown", (t) => {
1982
1982
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
1983
1983
  }, !0), e;
1984
1984
  }
1985
- function vo(e) {
1985
+ function ho(e) {
1986
1986
  if (!e) return /* @__PURE__ */ new Set();
1987
1987
  if (typeof e == "function") return new Set(e());
1988
1988
  let t = /* @__PURE__ */ new Set();
@@ -1990,66 +1990,66 @@ function vo(e) {
1990
1990
  return t;
1991
1991
  }
1992
1992
  let Oa = "div";
1993
- var Te = ((e) => (e[e.None = 0] = "None", e[e.InitialFocus = 1] = "InitialFocus", e[e.TabLock = 2] = "TabLock", e[e.FocusLock = 4] = "FocusLock", e[e.RestoreFocus = 8] = "RestoreFocus", e[e.AutoFocus = 16] = "AutoFocus", e))(Te || {});
1993
+ var $e = ((e) => (e[e.None = 0] = "None", e[e.InitialFocus = 1] = "InitialFocus", e[e.TabLock = 2] = "TabLock", e[e.FocusLock = 4] = "FocusLock", e[e.RestoreFocus = 8] = "RestoreFocus", e[e.AutoFocus = 16] = "AutoFocus", e))($e || {});
1994
1994
  function Ha(e, t) {
1995
- let n = w(null), r = ae(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: s = 15, ...l } = e;
1995
+ let n = w(null), r = se(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: s = 15, ...l } = e;
1996
1996
  nt() || (s = 0);
1997
1997
  let u = tt(n);
1998
1998
  Wa(s, { ownerDocument: u });
1999
1999
  let d = ja(s, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
2000
  Ba(s, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
- let c = Ia(), p = R((v) => {
2001
+ let c = Da(), h = R((v) => {
2002
2002
  let g = n.current;
2003
- g && ((b) => b())(() => {
2004
- ge(c.current, { [je.Forwards]: () => {
2005
- Ye(g, ce.First, { skipElements: [v.relatedTarget, i] });
2003
+ g && ((C) => C())(() => {
2004
+ ye(c.current, { [je.Forwards]: () => {
2005
+ Ke(g, de.First, { skipElements: [v.relatedTarget, i] });
2006
2006
  }, [je.Backwards]: () => {
2007
- Ye(g, ce.Last, { skipElements: [v.relatedTarget, i] });
2007
+ Ke(g, de.Last, { skipElements: [v.relatedTarget, i] });
2008
2008
  } });
2009
2009
  });
2010
- }), f = He(!!(s & 2), "focus-trap#tab-lock"), _ = Et(), y = w(!1), m = { ref: r, onKeyDown(v) {
2010
+ }), f = He(!!(s & 2), "focus-trap#tab-lock"), _ = Tt(), y = w(!1), m = { ref: r, onKeyDown(v) {
2011
2011
  v.key == "Tab" && (y.current = !0, _.requestAnimationFrame(() => {
2012
2012
  y.current = !1;
2013
2013
  }));
2014
2014
  }, onBlur(v) {
2015
2015
  if (!(s & 4)) return;
2016
- let g = vo(a);
2016
+ let g = ho(a);
2017
2017
  n.current instanceof HTMLElement && g.add(n.current);
2018
- let b = v.relatedTarget;
2019
- b instanceof HTMLElement && b.dataset.headlessuiFocusGuard !== "true" && (_o(g, b) || (y.current ? Ye(n.current, ge(c.current, { [je.Forwards]: () => ce.Next, [je.Backwards]: () => ce.Previous }) | ce.WrapAround, { relativeTo: v.target }) : v.target instanceof HTMLElement && fe(v.target)));
2018
+ let C = v.relatedTarget;
2019
+ C instanceof HTMLElement && C.dataset.headlessuiFocusGuard !== "true" && (vo(g, C) || (y.current ? Ke(n.current, ye(c.current, { [je.Forwards]: () => de.Next, [je.Backwards]: () => de.Previous }) | de.WrapAround, { relativeTo: v.target }) : v.target instanceof HTMLElement && he(v.target)));
2020
2020
  } };
2021
- return T.createElement(T.Fragment, null, f && T.createElement(tn, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: _t.Focusable }), Z({ ourProps: m, theirProps: l, defaultTag: Oa, name: "FocusTrap" }), f && T.createElement(tn, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: _t.Focusable }));
2021
+ return E.createElement(E.Fragment, null, f && E.createElement(en, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: yt.Focusable }), J({ ourProps: m, theirProps: l, defaultTag: Oa, name: "FocusTrap" }), f && E.createElement(en, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: yt.Focusable }));
2022
2022
  }
2023
- let Ra = q(Ha), Va = Object.assign(Ra, { features: Te });
2023
+ let Ra = Z(Ha), Va = Object.assign(Ra, { features: $e });
2024
2024
  function Ua(e = !0) {
2025
- let t = w(me.slice());
2026
- return Tn(([n], [r]) => {
2027
- r === !0 && n === !1 && bt(() => {
2025
+ let t = w(_e.slice());
2026
+ return $n(([n], [r]) => {
2027
+ r === !0 && n === !1 && $t(() => {
2028
2028
  t.current.splice(0);
2029
- }), r === !1 && n === !0 && (t.current = me.slice());
2030
- }, [e, me, t]), R(() => {
2029
+ }), r === !1 && n === !0 && (t.current = _e.slice());
2030
+ }, [e, _e, t]), R(() => {
2031
2031
  var n;
2032
2032
  return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
2033
2033
  });
2034
2034
  }
2035
2035
  function Wa(e, { ownerDocument: t }) {
2036
2036
  let n = !!(e & 8), r = Ua(n);
2037
- Tn(() => {
2038
- n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && fe(r());
2039
- }, [n]), co(() => {
2040
- n && fe(r());
2037
+ $n(() => {
2038
+ n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && he(r());
2039
+ }, [n]), lo(() => {
2040
+ n && he(r());
2041
2041
  });
2042
2042
  }
2043
2043
  function ja(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
2044
- let i = w(null), a = He(!!(e & 1), "focus-trap#initial-focus"), s = Cn();
2045
- return Tn(() => {
2044
+ let i = w(null), a = He(!!(e & 1), "focus-trap#initial-focus"), s = Tn();
2045
+ return $n(() => {
2046
2046
  if (e === 0) return;
2047
2047
  if (!a) {
2048
- o != null && o.current && fe(o.current);
2048
+ o != null && o.current && he(o.current);
2049
2049
  return;
2050
2050
  }
2051
2051
  let l = n.current;
2052
- l && bt(() => {
2052
+ l && $t(() => {
2053
2053
  if (!s.current) return;
2054
2054
  let u = t == null ? void 0 : t.activeElement;
2055
2055
  if (r != null && r.current) {
@@ -2061,12 +2061,12 @@ function ja(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2061
2061
  i.current = u;
2062
2062
  return;
2063
2063
  }
2064
- if (r != null && r.current) fe(r.current);
2064
+ if (r != null && r.current) he(r.current);
2065
2065
  else {
2066
2066
  if (e & 16) {
2067
- if (Ye(l, ce.First | ce.AutoFocus) !== on.Error) return;
2068
- } else if (Ye(l, ce.First) !== on.Error) return;
2069
- if (o != null && o.current && (fe(o.current), (t == null ? void 0 : t.activeElement) === o.current)) return;
2067
+ if (Ke(l, de.First | de.AutoFocus) !== rn.Error) return;
2068
+ } else if (Ke(l, de.First) !== rn.Error) return;
2069
+ if (o != null && o.current && (he(o.current), (t == null ? void 0 : t.activeElement) === o.current)) return;
2070
2070
  console.warn("There are no focusable elements inside the <FocusTrap />");
2071
2071
  }
2072
2072
  i.current = t == null ? void 0 : t.activeElement;
@@ -2074,210 +2074,210 @@ function ja(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2074
2074
  }, [o, a, e]), i;
2075
2075
  }
2076
2076
  function Ba(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
2077
- let i = Cn(), a = !!(e & 4);
2078
- lo(t == null ? void 0 : t.defaultView, "focus", (s) => {
2077
+ let i = Tn(), a = !!(e & 4);
2078
+ so(t == null ? void 0 : t.defaultView, "focus", (s) => {
2079
2079
  if (!a || !i.current) return;
2080
- let l = vo(r);
2080
+ let l = ho(r);
2081
2081
  n.current instanceof HTMLElement && l.add(n.current);
2082
2082
  let u = o.current;
2083
2083
  if (!u) return;
2084
2084
  let d = s.target;
2085
- d && d instanceof HTMLElement ? _o(l, d) ? (o.current = d, fe(d)) : (s.preventDefault(), s.stopPropagation(), fe(u)) : fe(o.current);
2085
+ d && d instanceof HTMLElement ? vo(l, d) ? (o.current = d, he(d)) : (s.preventDefault(), s.stopPropagation(), he(u)) : he(o.current);
2086
2086
  }, !0);
2087
2087
  }
2088
- function _o(e, t) {
2088
+ function vo(e, t) {
2089
2089
  for (let n of e) if (n.contains(t)) return !0;
2090
2090
  return !1;
2091
2091
  }
2092
- function mo(e) {
2092
+ function _o(e) {
2093
2093
  var t;
2094
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : go) !== H || T.Children.count(e.children) === 1;
2094
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : yo) !== O || E.Children.count(e.children) === 1;
2095
2095
  }
2096
- let Ct = G(null);
2097
- Ct.displayName = "TransitionContext";
2096
+ let kt = Q(null);
2097
+ kt.displayName = "TransitionContext";
2098
2098
  var za = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(za || {});
2099
2099
  function qa() {
2100
- let e = B(Ct);
2100
+ let e = q(kt);
2101
2101
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2102
2102
  return e;
2103
2103
  }
2104
- function Ka() {
2105
- let e = B(xt);
2104
+ function Ya() {
2105
+ let e = q(xt);
2106
2106
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2107
2107
  return e;
2108
2108
  }
2109
- let xt = G(null);
2109
+ let xt = Q(null);
2110
2110
  xt.displayName = "NestingContext";
2111
- function kt(e) {
2112
- return "children" in e ? kt(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2111
+ function Ft(e) {
2112
+ return "children" in e ? Ft(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2113
2113
  }
2114
- function yo(e, t) {
2115
- let n = Ne(e), r = w([]), o = Cn(), i = Et(), a = R((f, _ = ye.Hidden) => {
2114
+ function mo(e, t) {
2115
+ let n = Pe(e), r = w([]), o = Tn(), i = Tt(), a = R((f, _ = me.Hidden) => {
2116
2116
  let y = r.current.findIndex(({ el: m }) => m === f);
2117
- y !== -1 && (ge(_, { [ye.Unmount]() {
2117
+ y !== -1 && (ye(_, { [me.Unmount]() {
2118
2118
  r.current.splice(y, 1);
2119
- }, [ye.Hidden]() {
2119
+ }, [me.Hidden]() {
2120
2120
  r.current[y].state = "hidden";
2121
2121
  } }), i.microTask(() => {
2122
2122
  var m;
2123
- !kt(r) && o.current && ((m = n.current) == null || m.call(n));
2123
+ !Ft(r) && o.current && ((m = n.current) == null || m.call(n));
2124
2124
  }));
2125
2125
  }), s = R((f) => {
2126
2126
  let _ = r.current.find(({ el: y }) => y === f);
2127
- return _ ? _.state !== "visible" && (_.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, ye.Unmount);
2127
+ return _ ? _.state !== "visible" && (_.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, me.Unmount);
2128
2128
  }), l = w([]), u = w(Promise.resolve()), d = w({ enter: [], leave: [] }), c = R((f, _, y) => {
2129
2129
  l.current.splice(0), t && (t.chains.current[_] = t.chains.current[_].filter(([m]) => m !== f)), t == null || t.chains.current[_].push([f, new Promise((m) => {
2130
2130
  l.current.push(m);
2131
2131
  })]), t == null || t.chains.current[_].push([f, new Promise((m) => {
2132
2132
  Promise.all(d.current[_].map(([v, g]) => g)).then(() => m());
2133
2133
  })]), _ === "enter" ? u.current = u.current.then(() => t == null ? void 0 : t.wait.current).then(() => y(_)) : y(_);
2134
- }), p = R((f, _, y) => {
2134
+ }), h = R((f, _, y) => {
2135
2135
  Promise.all(d.current[_].splice(0).map(([m, v]) => v)).then(() => {
2136
2136
  var m;
2137
2137
  (m = l.current.shift()) == null || m();
2138
2138
  }).then(() => y(_));
2139
2139
  });
2140
- return N(() => ({ children: r, register: s, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [s, a, r, c, p, d, u]);
2140
+ return L(() => ({ children: r, register: s, unregister: a, onStart: c, onStop: h, wait: u, chains: d }), [s, a, r, c, h, d, u]);
2141
2141
  }
2142
- let go = H, wo = vt.RenderStrategy;
2143
- function Ya(e, t) {
2142
+ let yo = O, go = mt.RenderStrategy;
2143
+ function Ka(e, t) {
2144
2144
  var n, r;
2145
- let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: _, leaveTo: y, ...m } = e, v = w(null), g = mo(e), b = ae(...g ? [v, t] : t === null ? [] : [t]), C = (n = m.unmount) == null || n ? ye.Unmount : ye.Hidden, { show: E, appear: P, initial: F } = qa(), [A, W] = k(E ? "visible" : "hidden"), M = Ka(), { register: x, unregister: $ } = M;
2146
- z(() => x(v), [x, v]), z(() => {
2147
- if (C === ye.Hidden && v.current) {
2148
- if (E && A !== "visible") {
2149
- W("visible");
2145
+ let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: h, leave: f, leaveFrom: _, leaveTo: y, ...m } = e, v = w(null), g = _o(e), C = se(...g ? [v, t] : t === null ? [] : [t]), k = (n = m.unmount) == null || n ? me.Unmount : me.Hidden, { show: M, appear: H, initial: $ } = qa(), [F, P] = b(M ? "visible" : "hidden"), x = Ya(), { register: T, unregister: N } = x;
2146
+ G(() => T(v), [T, v]), G(() => {
2147
+ if (k === me.Hidden && v.current) {
2148
+ if (M && F !== "visible") {
2149
+ P("visible");
2150
2150
  return;
2151
2151
  }
2152
- return ge(A, { hidden: () => $(v), visible: () => x(v) });
2153
- }
2154
- }, [A, v, x, $, E, C]);
2155
- let L = nt();
2156
- z(() => {
2157
- if (g && L && A === "visible" && v.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
- }, [v, A, L, g]);
2159
- let K = F && !P, re = P && E && F, Q = w(!1), J = yo(() => {
2160
- Q.current || (W("hidden"), $(v));
2161
- }, M), _e = R((Nt) => {
2162
- Q.current = !0;
2163
- let rt = Nt ? "enter" : "leave";
2164
- J.onStart(v, rt, (Ve) => {
2152
+ return ye(F, { hidden: () => N(v), visible: () => T(v) });
2153
+ }
2154
+ }, [F, v, T, N, M, k]);
2155
+ let W = nt();
2156
+ G(() => {
2157
+ if (g && W && F === "visible" && v.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
+ }, [v, F, W, g]);
2159
+ let V = $ && !H, B = H && M && $, Y = w(!1), ee = mo(() => {
2160
+ Y.current || (P("hidden"), N(v));
2161
+ }, x), ue = R((Lt) => {
2162
+ Y.current = !0;
2163
+ let it = Lt ? "enter" : "leave";
2164
+ ee.onStart(v, it, (Ve) => {
2165
2165
  Ve === "enter" ? i == null || i() : Ve === "leave" && (s == null || s());
2166
2166
  });
2167
- }), le = R((Nt) => {
2168
- let rt = Nt ? "enter" : "leave";
2169
- Q.current = !1, J.onStop(v, rt, (Ve) => {
2167
+ }), ne = R((Lt) => {
2168
+ let it = Lt ? "enter" : "leave";
2169
+ Y.current = !1, ee.onStop(v, it, (Ve) => {
2170
2170
  Ve === "enter" ? a == null || a() : Ve === "leave" && (l == null || l());
2171
- }), rt === "leave" && !kt(J) && (W("hidden"), $(v));
2171
+ }), it === "leave" && !Ft(ee) && (P("hidden"), N(v));
2172
2172
  });
2173
- D(() => {
2174
- g && o || (_e(E), le(E));
2175
- }, [E, g, o]);
2176
- let j = !(!o || !g || !L || K), [, U] = _a(j, v, E, { start: _e, end: le }), Lo = Ee({ ref: b, className: ((r = en(m.className, re && u, re && d, U.enter && u, U.enter && U.closed && d, U.enter && !U.closed && c, U.leave && f, U.leave && !U.closed && _, U.leave && U.closed && y, !U.transition && E && p)) == null ? void 0 : r.trim()) || void 0, ...va(U) }), Re = 0;
2177
- return A === "visible" && (Re |= ee.Open), A === "hidden" && (Re |= ee.Closed), U.enter && (Re |= ee.Opening), U.leave && (Re |= ee.Closing), T.createElement(xt.Provider, { value: J }, T.createElement(wa, { value: Re }, Z({ ourProps: Lo, theirProps: m, defaultTag: go, features: wo, visible: A === "visible", name: "Transition.Child" })));
2173
+ I(() => {
2174
+ g && o || (ue(M), ne(M));
2175
+ }, [M, g, o]);
2176
+ let z = !(!o || !g || !W || V), [, j] = _a(z, v, M, { start: ue, end: ne }), Po = be({ ref: C, className: ((r = Jt(m.className, B && u, B && d, j.enter && u, j.enter && j.closed && d, j.enter && !j.closed && c, j.leave && f, j.leave && !j.closed && _, j.leave && j.closed && y, !j.transition && M && h)) == null ? void 0 : r.trim()) || void 0, ...va(j) }), Re = 0;
2177
+ return F === "visible" && (Re |= re.Open), F === "hidden" && (Re |= re.Closed), j.enter && (Re |= re.Opening), j.leave && (Re |= re.Closing), E.createElement(xt.Provider, { value: ee }, E.createElement(wa, { value: Re }, J({ ourProps: Po, theirProps: m, defaultTag: yo, features: go, visible: F === "visible", name: "Transition.Child" })));
2178
2178
  }
2179
2179
  function Ga(e, t) {
2180
- let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), s = mo(e), l = ae(...s ? [a, t] : t === null ? [] : [t]);
2180
+ let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), s = _o(e), l = se(...s ? [a, t] : t === null ? [] : [t]);
2181
2181
  nt();
2182
- let u = Tt();
2183
- if (n === void 0 && u !== null && (n = (u & ee.Open) === ee.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
2184
- let [d, c] = k(n ? "visible" : "hidden"), p = yo(() => {
2182
+ let u = St();
2183
+ if (n === void 0 && u !== null && (n = (u & re.Open) === re.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
2184
+ let [d, c] = b(n ? "visible" : "hidden"), h = mo(() => {
2185
2185
  n || c("hidden");
2186
- }), [f, _] = k(!0), y = w([n]);
2187
- z(() => {
2186
+ }), [f, _] = b(!0), y = w([n]);
2187
+ G(() => {
2188
2188
  f !== !1 && y.current[y.current.length - 1] !== n && (y.current.push(n), _(!1));
2189
2189
  }, [y, n]);
2190
- let m = N(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2191
- oo(n, a, () => c("hidden")), z(() => {
2192
- n ? c("visible") : !kt(p) && a.current !== null && c("hidden");
2193
- }, [n, p]);
2190
+ let m = L(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2191
+ ro(n, a, () => c("hidden")), G(() => {
2192
+ n ? c("visible") : !Ft(h) && a.current !== null && c("hidden");
2193
+ }, [n, h]);
2194
2194
  let v = { unmount: o }, g = R(() => {
2195
- var C;
2196
- f && _(!1), (C = e.beforeEnter) == null || C.call(e);
2197
- }), b = R(() => {
2198
- var C;
2199
- f && _(!1), (C = e.beforeLeave) == null || C.call(e);
2195
+ var k;
2196
+ f && _(!1), (k = e.beforeEnter) == null || k.call(e);
2197
+ }), C = R(() => {
2198
+ var k;
2199
+ f && _(!1), (k = e.beforeLeave) == null || k.call(e);
2200
2200
  });
2201
- return T.createElement(xt.Provider, { value: p }, T.createElement(Ct.Provider, { value: m }, Z({ ourProps: { ...v, as: H, children: T.createElement(bo, { ref: l, ...v, ...i, beforeEnter: g, beforeLeave: b }) }, theirProps: {}, defaultTag: H, features: wo, visible: d === "visible", name: "Transition" })));
2201
+ return E.createElement(xt.Provider, { value: h }, E.createElement(kt.Provider, { value: m }, J({ ourProps: { ...v, as: O, children: E.createElement(wo, { ref: l, ...v, ...i, beforeEnter: g, beforeLeave: C }) }, theirProps: {}, defaultTag: O, features: go, visible: d === "visible", name: "Transition" })));
2202
2202
  }
2203
2203
  function Za(e, t) {
2204
- let n = B(Ct) !== null, r = Tt() !== null;
2205
- return T.createElement(T.Fragment, null, !n && r ? T.createElement(sn, { ref: t, ...e }) : T.createElement(bo, { ref: t, ...e }));
2204
+ let n = q(kt) !== null, r = St() !== null;
2205
+ return E.createElement(E.Fragment, null, !n && r ? E.createElement(an, { ref: t, ...e }) : E.createElement(wo, { ref: t, ...e }));
2206
2206
  }
2207
- let sn = q(Ga), bo = q(Ya), xn = q(Za), ie = Object.assign(sn, { Child: xn, Root: sn });
2207
+ let an = Z(Ga), wo = Z(Ka), Cn = Z(Za), oe = Object.assign(an, { Child: Cn, Root: an });
2208
2208
  var Xa = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Xa || {}), Qa = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Qa || {});
2209
2209
  let Ja = { 0(e, t) {
2210
2210
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
2211
- } }, kn = G(null);
2212
- kn.displayName = "DialogContext";
2213
- function St(e) {
2214
- let t = B(kn);
2211
+ } }, Sn = Q(null);
2212
+ Sn.displayName = "DialogContext";
2213
+ function Mt(e) {
2214
+ let t = q(Sn);
2215
2215
  if (t === null) {
2216
2216
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
2217
- throw Error.captureStackTrace && Error.captureStackTrace(n, St), n;
2217
+ throw Error.captureStackTrace && Error.captureStackTrace(n, Mt), n;
2218
2218
  }
2219
2219
  return t;
2220
2220
  }
2221
2221
  function es(e, t) {
2222
- return ge(t.type, Ja, e, t);
2222
+ return ye(t.type, Ja, e, t);
2223
2223
  }
2224
- let Jn = q(function(e, t) {
2225
- let n = we(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: s = "dialog", autoFocus: l = !0, __demoMode: u = !1, ...d } = e, c = w(!1);
2224
+ let Qn = Z(function(e, t) {
2225
+ let n = ge(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: s = "dialog", autoFocus: l = !0, __demoMode: u = !1, ...d } = e, c = w(!1);
2226
2226
  s = function() {
2227
2227
  return s === "dialog" || s === "alertdialog" ? s : (c.current || (c.current = !0, console.warn(`Invalid role [${s}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
2228
2228
  }();
2229
- let p = Tt();
2230
- o === void 0 && p !== null && (o = (p & ee.Open) === ee.Open);
2231
- let f = w(null), _ = ae(f, t), y = tt(f), m = o ? 0 : 1, [v, g] = Qe(es, { titleId: null, descriptionId: null, panelRef: cn() }), b = R(() => i(!1)), C = R((j) => g({ type: 0, id: j })), E = nt() ? m === 0 : !1, [P, F] = Ma(), A = { get current() {
2232
- var j;
2233
- return (j = v.panelRef.current) != null ? j : f.current;
2234
- } }, { resolveContainers: W, mainTreeNodeRef: M, MainTreeNode: x } = Da({ portals: P, defaultContainers: [A] }), $ = p !== null ? (p & ee.Closing) === ee.Closing : !1;
2235
- Ki(u || $ ? !1 : E, { allowed: R(() => {
2236
- var j, U;
2237
- return [(U = (j = f.current) == null ? void 0 : j.closest("[data-headlessui-portal]")) != null ? U : null];
2229
+ let h = St();
2230
+ o === void 0 && h !== null && (o = (h & re.Open) === re.Open);
2231
+ let f = w(null), _ = se(f, t), y = tt(f), m = o ? 0 : 1, [v, g] = Qe(es, { titleId: null, descriptionId: null, panelRef: ln() }), C = R(() => i(!1)), k = R((z) => g({ type: 0, id: z })), M = nt() ? m === 0 : !1, [H, $] = Ma(), F = { get current() {
2232
+ var z;
2233
+ return (z = v.panelRef.current) != null ? z : f.current;
2234
+ } }, { resolveContainers: P, mainTreeNodeRef: x, MainTreeNode: T } = Aa({ portals: H, defaultContainers: [F] }), N = h !== null ? (h & re.Closing) === re.Closing : !1;
2235
+ Yi(u || N ? !1 : M, { allowed: R(() => {
2236
+ var z, j;
2237
+ return [(j = (z = f.current) == null ? void 0 : z.closest("[data-headlessui-portal]")) != null ? j : null];
2238
2238
  }), disallowed: R(() => {
2239
- var j, U;
2240
- return [(U = (j = M.current) == null ? void 0 : j.closest("body > *:not(#headlessui-portal-root)")) != null ? U : null];
2241
- }) }), ia(E, W, (j) => {
2242
- j.preventDefault(), b();
2243
- }), Na(E, y == null ? void 0 : y.defaultView, (j) => {
2244
- j.preventDefault(), j.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), b();
2245
- }), da(u || $ ? !1 : E, y, W), oo(E, f, b);
2246
- let [L, K] = Hi(), re = N(() => [{ dialogState: m, close: b, setTitleId: C }, v], [m, v, b, C]), Q = N(() => ({ open: m === 0 }), [m]), J = { ref: _, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": v.titleId, "aria-describedby": L }, _e = !Aa(), le = Te.None;
2247
- return E && !u && (le |= Te.RestoreFocus, le |= Te.TabLock, l && (le |= Te.AutoFocus), _e && (le |= Te.InitialFocus)), T.createElement(ba, null, T.createElement(Qn, { force: !0 }, T.createElement(La, null, T.createElement(kn.Provider, { value: re }, T.createElement(ho, { target: f }, T.createElement(Qn, { force: !1 }, T.createElement(K, { slot: Q }, T.createElement(F, null, T.createElement(Va, { initialFocus: a, initialFocusFallback: f, containers: W, features: le }, T.createElement(Bi, { value: b }, Z({ ourProps: J, theirProps: d, slot: Q, defaultTag: ts, features: ns, visible: m === 0, name: "Dialog" })))))))))), T.createElement(Ii, null, T.createElement(x, null)));
2248
- }), ts = "div", ns = vt.RenderStrategy | vt.Static;
2239
+ var z, j;
2240
+ return [(j = (z = x.current) == null ? void 0 : z.closest("body > *:not(#headlessui-portal-root)")) != null ? j : null];
2241
+ }) }), ia(M, P, (z) => {
2242
+ z.preventDefault(), C();
2243
+ }), La(M, y == null ? void 0 : y.defaultView, (z) => {
2244
+ z.preventDefault(), z.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), C();
2245
+ }), da(u || N ? !1 : M, y, P), ro(M, f, C);
2246
+ let [W, V] = Hi(), B = L(() => [{ dialogState: m, close: C, setTitleId: k }, v], [m, v, C, k]), Y = L(() => ({ open: m === 0 }), [m]), ee = { ref: _, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": v.titleId, "aria-describedby": W }, ue = !Ia(), ne = $e.None;
2247
+ return M && !u && (ne |= $e.RestoreFocus, ne |= $e.TabLock, l && (ne |= $e.AutoFocus), ue && (ne |= $e.InitialFocus)), E.createElement(ba, null, E.createElement(Xn, { force: !0 }, E.createElement(Pa, null, E.createElement(Sn.Provider, { value: B }, E.createElement(po, { target: f }, E.createElement(Xn, { force: !1 }, E.createElement(V, { slot: Y }, E.createElement($, null, E.createElement(Va, { initialFocus: a, initialFocusFallback: f, containers: P, features: ne }, E.createElement(Bi, { value: C }, J({ ourProps: ee, theirProps: d, slot: Y, defaultTag: ts, features: ns, visible: m === 0, name: "Dialog" })))))))))), E.createElement(Di, null, E.createElement(T, null)));
2248
+ }), ts = "div", ns = mt.RenderStrategy | mt.Static;
2249
2249
  function rs(e, t) {
2250
- let { transition: n = !1, open: r, ...o } = e, i = Tt(), a = e.hasOwnProperty("open") || i !== null, s = e.hasOwnProperty("onClose");
2250
+ let { transition: n = !1, open: r, ...o } = e, i = St(), a = e.hasOwnProperty("open") || i !== null, s = e.hasOwnProperty("onClose");
2251
2251
  if (!a && !s) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
2252
2252
  if (!a) throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
2253
2253
  if (!s) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
2254
2254
  if (!i && typeof e.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);
2255
2255
  if (typeof e.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);
2256
- return (r !== void 0 || n) && !o.static ? T.createElement(ie, { show: r, transition: n, unmount: o.unmount }, T.createElement(Jn, { ref: t, ...o })) : T.createElement(Jn, { ref: t, open: r, ...o });
2256
+ return (r !== void 0 || n) && !o.static ? E.createElement(oe, { show: r, transition: n, unmount: o.unmount }, E.createElement(Qn, { ref: t, ...o })) : E.createElement(Qn, { ref: t, open: r, ...o });
2257
2257
  }
2258
2258
  let os = "div";
2259
2259
  function is(e, t) {
2260
- let n = we(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = St("Dialog.Panel"), l = ae(t, s.panelRef), u = N(() => ({ open: a === 0 }), [a]), d = R((c) => {
2260
+ let n = ge(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = Mt("Dialog.Panel"), l = se(t, s.panelRef), u = L(() => ({ open: a === 0 }), [a]), d = R((c) => {
2261
2261
  c.stopPropagation();
2262
2262
  });
2263
- return T.createElement(o ? xn : H, null, Z({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: os, name: "Dialog.Panel" }));
2263
+ return E.createElement(o ? Cn : O, null, J({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: os, name: "Dialog.Panel" }));
2264
2264
  }
2265
2265
  let as = "div";
2266
2266
  function ss(e, t) {
2267
- let { transition: n = !1, ...r } = e, [{ dialogState: o }] = St("Dialog.Backdrop"), i = N(() => ({ open: o === 0 }), [o]);
2268
- return T.createElement(n ? xn : H, null, Z({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: as, name: "Dialog.Backdrop" }));
2267
+ let { transition: n = !1, ...r } = e, [{ dialogState: o }] = Mt("Dialog.Backdrop"), i = L(() => ({ open: o === 0 }), [o]);
2268
+ return E.createElement(n ? Cn : O, null, J({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: as, name: "Dialog.Backdrop" }));
2269
2269
  }
2270
2270
  let ls = "h2";
2271
2271
  function cs(e, t) {
2272
- let n = we(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = St("Dialog.Title"), s = ae(t);
2273
- D(() => (a(r), () => a(null)), [r, a]);
2274
- let l = N(() => ({ open: i === 0 }), [i]);
2275
- return Z({ ourProps: { ref: s, id: r }, theirProps: o, slot: l, defaultTag: ls, name: "Dialog.Title" });
2276
- }
2277
- let us = q(rs), Eo = q(is);
2278
- q(ss);
2279
- let ds = q(cs), fs = Object.assign(us, { Panel: Eo, Title: ds, Description: Wi });
2280
- const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13", _s = "_page_1duny_18", ms = "_close_1duny_21", at = {
2272
+ let n = ge(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = Mt("Dialog.Title"), s = se(t);
2273
+ I(() => (a(r), () => a(null)), [r, a]);
2274
+ let l = L(() => ({ open: i === 0 }), [i]);
2275
+ return J({ ourProps: { ref: s, id: r }, theirProps: o, slot: l, defaultTag: ls, name: "Dialog.Title" });
2276
+ }
2277
+ let us = Z(rs), bo = Z(is);
2278
+ Z(ss);
2279
+ let ds = Z(cs), fs = Object.assign(us, { Panel: bo, Title: ds, Description: Wi });
2280
+ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13", _s = "_page_1duny_18", ms = "_close_1duny_21", lt = {
2281
2281
  root: ps,
2282
2282
  modal: hs,
2283
2283
  container: vs,
@@ -2285,7 +2285,7 @@ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13",
2285
2285
  close: ms
2286
2286
  }, ys = "_root_1h6qm_1", gs = {
2287
2287
  root: ys
2288
- }, se = (e) => {
2288
+ }, le = (e) => {
2289
2289
  const {
2290
2290
  children: t,
2291
2291
  size: n = "md",
@@ -2294,7 +2294,7 @@ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13",
2294
2294
  strokeWidth: i,
2295
2295
  className: a = "",
2296
2296
  viewBox: s = "0 0 20 20"
2297
- } = e, l = N(() => {
2297
+ } = e, l = L(() => {
2298
2298
  switch (n) {
2299
2299
  case "sm":
2300
2300
  return "yvlw-w-4 yvlw-h-4";
@@ -2308,7 +2308,7 @@ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13",
2308
2308
  return "yvlw-w-5 yvlw-h-5";
2309
2309
  }
2310
2310
  }, [n]);
2311
- return /* @__PURE__ */ h(
2311
+ return /* @__PURE__ */ p(
2312
2312
  "svg",
2313
2313
  {
2314
2314
  xmlns: "http://www.w3.org/2000/svg",
@@ -2320,91 +2320,91 @@ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13",
2320
2320
  children: t
2321
2321
  }
2322
2322
  );
2323
- }, ws = () => /* @__PURE__ */ h(se, { children: /* @__PURE__ */ h("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), $o = (e) => /* @__PURE__ */ h(se, { ...e, children: /* @__PURE__ */ h(
2323
+ }, ws = () => /* @__PURE__ */ p(le, { children: /* @__PURE__ */ p("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), Eo = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p(
2324
2324
  "path",
2325
2325
  {
2326
2326
  fillRule: "evenodd",
2327
2327
  d: "M7.455 2.004a.75.75 0 01.26.77 7 7 0 009.958 7.967.75.75 0 011.067.853A8.5 8.5 0 116.647 1.921a.75.75 0 01.808.083z",
2328
2328
  clipRule: "evenodd"
2329
2329
  }
2330
- ) }), bs = (e) => /* @__PURE__ */ h(se, { ...e, viewBox: "0 0 24 24", children: [
2331
- /* @__PURE__ */ h("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2332
- /* @__PURE__ */ h("path", { d: "M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z" })
2333
- ] }), Es = (e) => /* @__PURE__ */ h(se, { ...e, viewBox: "0 0 24 24", children: [
2334
- /* @__PURE__ */ h("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2335
- /* @__PURE__ */ h("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2336
- ] }), er = (e) => /* @__PURE__ */ h(se, { ...e, viewBox: "0 0 24 24", children: [
2337
- /* @__PURE__ */ h("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2338
- /* @__PURE__ */ h("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2339
- ] }), $s = (e) => /* @__PURE__ */ h(se, { ...e, children: [
2340
- /* @__PURE__ */ h("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2341
- /* @__PURE__ */ h("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2v1z" })
2342
- ] }), Ts = (e) => /* @__PURE__ */ h(se, { ...e, children: /* @__PURE__ */ h("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), Cs = (e) => /* @__PURE__ */ h(se, { ...e, viewBox: "0 0 24 24", children: /* @__PURE__ */ h("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }), xs = (e) => /* @__PURE__ */ h(se, { ...e, children: /* @__PURE__ */ h("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), ks = (e) => /* @__PURE__ */ h(se, { ...e, viewBox: "0 0 99 32", children: [
2343
- /* @__PURE__ */ h("g", { clipPath: "url(#clip0_9581_165880)", children: [
2344
- /* @__PURE__ */ h(
2330
+ ) }), bs = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2331
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2332
+ /* @__PURE__ */ p("path", { d: "M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z" })
2333
+ ] }), Es = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2334
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2335
+ /* @__PURE__ */ p("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2336
+ ] }), Jn = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2337
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2338
+ /* @__PURE__ */ p("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2339
+ ] }), $s = (e) => /* @__PURE__ */ p(le, { ...e, children: [
2340
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2341
+ /* @__PURE__ */ p("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2v1z" })
2342
+ ] }), Ts = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), Cs = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: /* @__PURE__ */ p("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }), Ss = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), $o = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 99 32", children: [
2343
+ /* @__PURE__ */ p("g", { clipPath: "url(#clip0_9581_165880)", children: [
2344
+ /* @__PURE__ */ p(
2345
2345
  "path",
2346
2346
  {
2347
2347
  d: "M98.9474 20.7006V2.701C98.9474 1.20997 97.7302 0 96.2304 0H87.4325H2.71699C1.21714 0 0 1.20997 0 2.701V29.299C0 30.79 1.21714 32 2.71699 32H86.6203C87.2911 32 87.938 31.7523 88.4388 31.3069L98.0489 22.7084C98.6191 22.1964 98.9474 21.4651 98.9474 20.7006Z",
2348
2348
  fill: "#46B2C8"
2349
2349
  }
2350
2350
  ),
2351
- /* @__PURE__ */ h(
2351
+ /* @__PURE__ */ p(
2352
2352
  "path",
2353
2353
  {
2354
2354
  d: "M24.3666 25.2683H20.593C19.3951 25.2683 18.4199 24.2989 18.4199 23.108V8.8908C18.4199 7.69988 19.3951 6.73047 20.593 6.73047H24.3642C25.5622 6.73047 26.5374 7.69988 26.5374 8.8908V23.1056C26.5398 24.2989 25.5646 25.2683 24.3666 25.2683ZM20.593 8.52161C20.3894 8.52161 20.2217 8.68596 20.2217 8.8908V23.1056C20.2217 23.3081 20.387 23.4748 20.593 23.4748H24.3642C24.5679 23.4748 24.7356 23.3104 24.7356 23.1056V8.8908C24.7356 8.68834 24.5703 8.52161 24.3642 8.52161H20.593Z",
2355
2355
  fill: "#C7E8EF"
2356
2356
  }
2357
2357
  ),
2358
- /* @__PURE__ */ h(
2358
+ /* @__PURE__ */ p(
2359
2359
  "path",
2360
2360
  {
2361
2361
  d: "M68.9385 6.74805H67.1367V25.2549H68.9385V6.74805Z",
2362
2362
  fill: "white"
2363
2363
  }
2364
2364
  ),
2365
- /* @__PURE__ */ h(
2365
+ /* @__PURE__ */ p(
2366
2366
  "path",
2367
2367
  {
2368
2368
  d: "M55.0725 8.52161V6.73047H47.8535V25.2683H55.0725V23.4748H49.6577V18.9874H52.9664V17.1963H49.6577V8.52161H55.0725Z",
2369
2369
  fill: "white"
2370
2370
  }
2371
2371
  ),
2372
- /* @__PURE__ */ h(
2372
+ /* @__PURE__ */ p(
2373
2373
  "path",
2374
2374
  {
2375
2375
  d: "M46.528 6.73828L44.4795 23.4993C44.283 24.5354 43.4061 25.2595 42.3447 25.2595C41.2833 25.2595 40.404 24.5354 40.2099 23.4993L40.2003 23.4421L38.1758 6.73828H39.9919L41.9853 23.1896C42.0404 23.4183 42.2081 23.4683 42.3447 23.4683C42.4789 23.4683 42.649 23.4183 42.7041 23.1896L44.7119 6.73828H46.528Z",
2376
2376
  fill: "white"
2377
2377
  }
2378
2378
  ),
2379
- /* @__PURE__ */ h(
2379
+ /* @__PURE__ */ p(
2380
2380
  "path",
2381
2381
  {
2382
2382
  d: "M36.9104 6.73047V23.1056C36.9104 24.2965 35.9353 25.2659 34.7373 25.2659H30.9685C29.7681 25.2659 28.793 24.2965 28.793 23.1056V6.73047H30.5947V23.1056C30.5947 23.3104 30.7624 23.4748 30.9685 23.4748H34.7373C34.9433 23.4748 35.1087 23.3081 35.1087 23.1056V6.73047H36.9104Z",
2383
2383
  fill: "#C7E8EF"
2384
2384
  }
2385
2385
  ),
2386
- /* @__PURE__ */ h(
2386
+ /* @__PURE__ */ p(
2387
2387
  "path",
2388
2388
  {
2389
2389
  d: "M78.6291 8.53181V6.73828H71.4102V25.2618H73.2143V18.9976H76.5231V17.2065H73.2143V8.53181H78.6291Z",
2390
2390
  fill: "white"
2391
2391
  }
2392
2392
  ),
2393
- /* @__PURE__ */ h(
2393
+ /* @__PURE__ */ p(
2394
2394
  "path",
2395
2395
  {
2396
2396
  d: "M15.8797 6.73047L13.3089 14.9764L10.9034 6.73047H9.02734L12.3793 18.2157V25.2516H14.181V18.2324L17.7653 6.73047H15.8797Z",
2397
2397
  fill: "#C7E8EF"
2398
2398
  }
2399
2399
  ),
2400
- /* @__PURE__ */ h(
2400
+ /* @__PURE__ */ p(
2401
2401
  "path",
2402
2402
  {
2403
2403
  d: "M85.7767 6.73047L83.2058 14.9764L80.7979 6.73047H78.9219L82.2738 18.2157V25.2516H84.0755V18.2324L87.6623 6.73047H85.7767Z",
2404
2404
  fill: "white"
2405
2405
  }
2406
2406
  ),
2407
- /* @__PURE__ */ h(
2407
+ /* @__PURE__ */ p(
2408
2408
  "path",
2409
2409
  {
2410
2410
  d: "M61.2349 18.4801C63.4535 17.5226 65.0085 15.3241 65.0085 12.7732V8.8908C65.0085 7.69988 64.0357 6.73047 62.8354 6.73047H59.0618C57.8638 6.73047 56.8887 7.69988 56.8887 8.8908V18.0918V18.9874V25.2493H58.6904V18.9898H58.7527C58.9659 18.9898 59.1768 18.9779 59.3828 18.9588L63.6093 25.254H65.78L61.2349 18.4801ZM58.6928 17.1986V8.89318C58.6928 8.68834 58.8581 8.52399 59.0618 8.52399H62.8354C63.039 8.52399 63.2044 8.69072 63.2044 8.89318V12.7756C63.2044 15.2146 61.2085 17.1986 58.7551 17.1986H58.6928Z",
@@ -2412,9 +2412,9 @@ const ps = "_root_1duny_1", hs = "_modal_1duny_10", vs = "_container_1duny_13",
2412
2412
  }
2413
2413
  )
2414
2414
  ] }),
2415
- /* @__PURE__ */ h("defs", { children: /* @__PURE__ */ h("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ h("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
2415
+ /* @__PURE__ */ p("defs", { children: /* @__PURE__ */ p("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ p("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
2416
2416
  ] });
2417
- class Se {
2417
+ class ke {
2418
2418
  static loadVision() {
2419
2419
  return import(
2420
2420
  /* webpackIgnore: true */
@@ -2424,7 +2424,7 @@ class Se {
2424
2424
  }
2425
2425
  static async loadDetector() {
2426
2426
  try {
2427
- const { FaceLandmarker: t, FilesetResolver: n } = await Se.loadVision(), r = await n.forVisionTasks(
2427
+ const { FaceLandmarker: t, FilesetResolver: n } = await ke.loadVision(), r = await n.forVisionTasks(
2428
2428
  "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3/wasm"
2429
2429
  );
2430
2430
  return await t.createFromOptions(r, {
@@ -2465,30 +2465,30 @@ class Se {
2465
2465
  const { width: r, height: o } = n, { faceLandmarks: i } = await t.detect(n);
2466
2466
  if (i.length === 0)
2467
2467
  return [];
2468
- const a = Se.denormalizeKeypoints(
2468
+ const a = ke.denormalizeKeypoints(
2469
2469
  i[0],
2470
2470
  r,
2471
2471
  o
2472
- ), s = Se.getBoundingBox(a);
2472
+ ), s = ke.getBoundingBox(a);
2473
2473
  return [{ keypoints: a, box: s }];
2474
2474
  } catch (r) {
2475
2475
  return Promise.reject(r);
2476
2476
  }
2477
2477
  }
2478
2478
  }
2479
- const Ss = (e, t) => {
2479
+ const ks = (e, t) => {
2480
2480
  let n;
2481
2481
  return typeof OffscreenCanvas < "u" ? n = new OffscreenCanvas(e, t) : (n = document.createElement("canvas"), n.width = e, n.height = t), n;
2482
2482
  }, To = (e, t, n, r) => {
2483
2483
  let o = 0, i = 0, a = t, s = n;
2484
- const u = Ss(t, n).getContext("2d");
2484
+ const u = ks(t, n).getContext("2d");
2485
2485
  return u.drawImage(e, 0, 0), u.getImageData(o, i, a, s);
2486
- }, Fs = (e) => new Promise((t) => {
2486
+ }, xs = (e) => new Promise((t) => {
2487
2487
  const n = document.createElement("canvas");
2488
2488
  let { width: r } = e, { height: o } = e;
2489
2489
  e instanceof HTMLVideoElement && (r = e.videoWidth, o = e.videoHeight), n.width = r, n.height = o, n.getContext("2d").drawImage(e, 0, 0), n.toBlob((a) => t(a));
2490
2490
  });
2491
- function Ms() {
2491
+ function Fs() {
2492
2492
  if (MediaRecorder.isTypeSupported("video/webm; codecs=vp9"))
2493
2493
  return { mimeType: "video/webm; codecs=vp9", videoBitsPerSecond: 25e4 };
2494
2494
  if (MediaRecorder.isTypeSupported("video/webm"))
@@ -2499,24 +2499,24 @@ function Ms() {
2499
2499
  function Co(e = {}) {
2500
2500
  const { onRecord: t = () => {
2501
2501
  }, onStop: n = () => {
2502
- } } = e, r = w([]), o = w(null), i = w(null), a = O((c) => {
2502
+ } } = e, r = w([]), o = w(null), i = w(null), a = D((c) => {
2503
2503
  r.current.push(c);
2504
- }, []), s = O(
2504
+ }, []), s = D(
2505
2505
  async (c) => {
2506
2506
  if (o.current)
2507
2507
  return;
2508
- const p = await Fs(c);
2509
- o.current = p;
2508
+ const h = await xs(c);
2509
+ o.current = h;
2510
2510
  },
2511
2511
  []
2512
- ), l = O((c) => {
2512
+ ), l = D((c) => {
2513
2513
  c.data.size > 0 && t(c.data);
2514
- }, []), u = O(() => {
2514
+ }, []), u = D(() => {
2515
2515
  !i.current || i.current.state === "inactive" || (i.current.stop(), i.current.stream.getTracks().forEach((c) => c.stop()), n());
2516
- }, []), d = O((c) => {
2516
+ }, []), d = D((c) => {
2517
2517
  i.current || (i.current = new MediaRecorder(
2518
2518
  c,
2519
- Ms()
2519
+ Fs()
2520
2520
  ), i.current.ondataavailable = l, i.current.onstop = u, i.current.start(1e3));
2521
2521
  }, []);
2522
2522
  return {
@@ -2528,8 +2528,8 @@ function Co(e = {}) {
2528
2528
  savedPhoto: o
2529
2529
  };
2530
2530
  }
2531
- const Ps = "https://cdn.svc.youverify.co", Ls = (e) => e ? "https://identity.staging.svc.youverify.co" : "https://identity.svc.youverify.co";
2532
- function Ns(e) {
2531
+ const Ms = "https://cdn.svc.youverify.co", Ns = (e) => e ? "https://identity.staging.svc.youverify.co" : "https://identity.svc.youverify.co";
2532
+ function Ps(e) {
2533
2533
  return { postData: async (n) => {
2534
2534
  const {
2535
2535
  faceImage: r,
@@ -2537,10 +2537,10 @@ function Ns(e) {
2537
2537
  passed: i,
2538
2538
  metadata: a,
2539
2539
  video: s
2540
- } = n, l = Ls(e), u = new FormData();
2540
+ } = n, l = Ns(e), u = new FormData();
2541
2541
  u.append("files", r), u.append("files", s);
2542
2542
  const d = await fetch(
2543
- `${Ps}/v1/uploads/media`,
2543
+ `${Ms}/v1/uploads/media`,
2544
2544
  {
2545
2545
  method: "POST",
2546
2546
  headers: {
@@ -2551,7 +2551,7 @@ function Ns(e) {
2551
2551
  );
2552
2552
  if (!d.ok)
2553
2553
  throw d;
2554
- const c = (await d.json()).data, p = await fetch(`${l}/v1/sdk/identity/liveness/`, {
2554
+ const c = (await d.json()).data, h = await fetch(`${l}/v1/sdk/identity/liveness/`, {
2555
2555
  method: "POST",
2556
2556
  headers: {
2557
2557
  "Content-Type": "application/json"
@@ -2565,12 +2565,12 @@ function Ns(e) {
2565
2565
  metadata: a
2566
2566
  })
2567
2567
  });
2568
- if (!p.ok)
2569
- throw p;
2570
- return (await p.json()).data;
2568
+ if (!h.ok)
2569
+ throw h;
2570
+ return (await h.json()).data;
2571
2571
  } };
2572
2572
  }
2573
- const As = 360, Ds = "#125766", Is = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", xo = {
2573
+ const Ls = 360, Is = "#125766", As = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", So = {
2574
2574
  "complete-the-circle": {
2575
2575
  Icon: bs,
2576
2576
  name: "Complete The Circle ⭕️",
@@ -2582,21 +2582,21 @@ const As = 360, Ds = "#125766", Is = "https://cdn.youverify.co/1721901834404-q2n
2582
2582
  description: "First position your face in the camera. Then tilt your head to the left to answer No and to the right to answer Yes"
2583
2583
  },
2584
2584
  motions: {
2585
- Icon: er,
2585
+ Icon: Jn,
2586
2586
  name: "Motions 💫",
2587
2587
  description: "First position your face in the camera frame, then follow the instructions"
2588
2588
  },
2589
2589
  blink: {
2590
- Icon: er,
2590
+ Icon: Jn,
2591
2591
  name: "Blink 💫",
2592
2592
  description: "First position your face in the camera frame, then follow the instructions"
2593
2593
  },
2594
2594
  "facial-expressions": {
2595
- Icon: $o,
2595
+ Icon: Eo,
2596
2596
  name: "Facial Expressions 🤪",
2597
2597
  description: "First position your face in the camera frame. Then move your head in a circle to show all the angles of your face"
2598
2598
  }
2599
- }, ko = G({
2599
+ }, ko = Q({
2600
2600
  tasks: [],
2601
2601
  namespace: "",
2602
2602
  user: void 0,
@@ -2614,8 +2614,8 @@ const As = 360, Ds = "#125766", Is = "https://cdn.youverify.co/1721901834404-q2n
2614
2614
  },
2615
2615
  onComplete: () => Promise.resolve()
2616
2616
  });
2617
- let tr, nr = !1;
2618
- function Os(e) {
2617
+ let er, tr = !1;
2618
+ function Ds(e) {
2619
2619
  const {
2620
2620
  publicKey: t,
2621
2621
  tasks: n,
@@ -2629,90 +2629,90 @@ function Os(e) {
2629
2629
  metadata: u,
2630
2630
  presentation: d,
2631
2631
  sandboxEnvironment: c = !0
2632
- } = e, [p, f] = k(0), [_, y] = k(0), [m, v] = k(null), { saveStream: g, savePhoto: b, savedPhoto: C, savedStreams: E } = Co(), { postData: P } = Ns(c), F = N(
2632
+ } = e, [h, f] = b(0), [_, y] = b(0), [m, v] = b(null), { saveStream: g, savePhoto: C, savedPhoto: k, savedStreams: M } = Co(), { postData: H } = Ps(c), $ = L(
2633
2633
  () => _ === n.length,
2634
2634
  [n, _]
2635
- ), A = () => {
2636
- y(($) => $ + 1), f(($) => $ + 1);
2637
- }, W = ($) => {
2638
- const L = new Image();
2639
- L.crossOrigin = "Anonymous", L.src = Is, L.onload = () => {
2640
- const K = To(L, L.width, L.height);
2641
- Se.detectFaces($, K);
2635
+ ), F = () => {
2636
+ y((N) => N + 1), f((N) => N + 1);
2637
+ }, P = (N) => {
2638
+ const W = new Image();
2639
+ W.crossOrigin = "Anonymous", W.src = As, W.onload = () => {
2640
+ const V = To(W, W.width, W.height);
2641
+ ke.detectFaces(N, V);
2642
2642
  };
2643
- }, M = async () => {
2644
- const $ = await P({
2645
- faceImage: C.current,
2646
- video: new Blob(E.current, { type: "video/mp4" }),
2643
+ }, x = async () => {
2644
+ const N = await H({
2645
+ faceImage: k.current,
2646
+ video: new Blob(M.current, { type: "video/mp4" }),
2647
2647
  publicKey: t,
2648
2648
  passed: !0,
2649
2649
  metadata: u
2650
2650
  });
2651
- l($), s();
2652
- }, x = async () => {
2653
- const $ = await Se.loadDetector();
2654
- tr = $, W($), v($);
2651
+ l(N), s();
2652
+ }, T = async () => {
2653
+ const N = await ke.loadDetector();
2654
+ er = N, P(N), v(N);
2655
2655
  };
2656
- return D(() => {
2657
- if (nr) {
2658
- v(tr);
2656
+ return I(() => {
2657
+ if (tr) {
2658
+ v(er);
2659
2659
  return;
2660
2660
  }
2661
- x(), nr = !0;
2662
- }, []), /* @__PURE__ */ h(
2661
+ T(), tr = !0;
2662
+ }, []), /* @__PURE__ */ p(
2663
2663
  ko.Provider,
2664
2664
  {
2665
2665
  value: {
2666
2666
  tasks: n,
2667
2667
  namespace: o,
2668
2668
  user: i,
2669
- currentTaskIndex: p,
2670
- completed: F,
2669
+ currentTaskIndex: h,
2670
+ completed: $,
2671
2671
  completedCount: _,
2672
- nextTask: A,
2672
+ nextTask: F,
2673
2673
  branding: a,
2674
2674
  onRequestClose: s,
2675
2675
  faceDetector: m,
2676
2676
  saveStream: g,
2677
- savePhoto: b,
2678
- onComplete: M,
2677
+ savePhoto: C,
2678
+ onComplete: x,
2679
2679
  presentation: d
2680
2680
  },
2681
2681
  children: r
2682
2682
  }
2683
2683
  );
2684
2684
  }
2685
- function ve() {
2686
- return B(ko);
2687
- }
2688
- const Hs = "_root_vqy7d_1", Rs = "_container_vqy7d_4", Vs = "_lhs_vqy7d_7", Us = "_info_vqy7d_11", Ws = "_active_vqy7d_32", js = "_completed_vqy7d_39", Bs = "_rhs_vqy7d_62", zs = "_profile_vqy7d_65", qs = "_avatar_vqy7d_68", Ks = "_main_vqy7d_81", Ys = "_content_vqy7d_84", Y = {
2689
- root: Hs,
2690
- container: Rs,
2691
- lhs: Vs,
2692
- info: Us,
2693
- active: Ws,
2694
- completed: js,
2695
- rhs: Bs,
2696
- profile: zs,
2697
- avatar: qs,
2698
- main: Ks,
2685
+ function ce() {
2686
+ return q(ko);
2687
+ }
2688
+ const Os = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Rs = "_lhs_vqy7d_7", Vs = "_info_vqy7d_11", Us = "_active_vqy7d_32", Ws = "_completed_vqy7d_39", js = "_rhs_vqy7d_62", Bs = "_profile_vqy7d_65", zs = "_avatar_vqy7d_68", qs = "_main_vqy7d_81", Ys = "_content_vqy7d_84", K = {
2689
+ root: Os,
2690
+ container: Hs,
2691
+ lhs: Rs,
2692
+ info: Vs,
2693
+ active: Us,
2694
+ completed: Ws,
2695
+ rhs: js,
2696
+ profile: Bs,
2697
+ avatar: zs,
2698
+ main: qs,
2699
2699
  content: Ys
2700
- }, Gs = "_root_135td_1", Zs = "_container_135td_1", Xs = "_brand_135td_1", Rt = {
2701
- root: Gs,
2702
- container: Zs,
2703
- brand: Xs
2700
+ }, Ks = "_root_135td_1", Gs = "_container_135td_1", Zs = "_brand_135td_1", Rt = {
2701
+ root: Ks,
2702
+ container: Gs,
2703
+ brand: Zs
2704
2704
  };
2705
- function Qs() {
2706
- const { branding: e } = ve();
2707
- return /* @__PURE__ */ h("div", { className: Rt.root, children: /* @__PURE__ */ h("div", { className: Rt.container, children: /* @__PURE__ */ h("div", { className: Rt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ h("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2705
+ function Xs() {
2706
+ const { branding: e } = ce();
2707
+ return /* @__PURE__ */ p("div", { className: Rt.root, children: /* @__PURE__ */ p("div", { className: Rt.container, children: /* @__PURE__ */ p("div", { className: Rt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ p("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2708
2708
  }
2709
- const rr = "colorScheme";
2710
- function Js() {
2711
- const { namespace: e } = ve(), t = () => {
2712
- const o = localStorage.getItem(rr);
2709
+ const nr = "colorScheme";
2710
+ function Qs() {
2711
+ const { namespace: e } = ce(), t = () => {
2712
+ const o = localStorage.getItem(nr);
2713
2713
  return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
2714
2714
  }, n = (o = null) => {
2715
- o && localStorage.setItem(rr, o);
2715
+ o && localStorage.setItem(nr, o);
2716
2716
  const i = `${e}-color-scheme`, a = document.documentElement;
2717
2717
  o && o === "dark" ? a == null || a.setAttribute(i, "dark") : a == null || a.removeAttribute(i);
2718
2718
  };
@@ -2721,66 +2721,66 @@ function Js() {
2721
2721
  return n(o === "dark" ? "light" : "dark");
2722
2722
  }, getColorScheme: t };
2723
2723
  }
2724
- const el = "_root_bcsvc_1", tl = {
2725
- root: el
2724
+ const Js = "_root_bcsvc_1", el = {
2725
+ root: Js
2726
2726
  };
2727
- function nl() {
2727
+ function tl() {
2728
2728
  if (!(window.screen.width >= 900))
2729
2729
  return 10 / 9;
2730
2730
  }
2731
- function Ft(e) {
2731
+ function rt(e) {
2732
2732
  const { children: t, onStream: n = () => {
2733
2733
  }, onRecord: r = () => {
2734
2734
  } } = e, o = w(null), i = w(0), a = w(null), { start: s, stop: l } = Co({
2735
2735
  onRecord: r
2736
2736
  }), u = async () => {
2737
2737
  try {
2738
- const p = await navigator.mediaDevices.getUserMedia({
2739
- video: { aspectRatio: { exact: nl() } }
2738
+ const h = await navigator.mediaDevices.getUserMedia({
2739
+ video: { aspectRatio: { exact: tl() } }
2740
2740
  });
2741
- a.current = p, s(p), o.current && (o.current.srcObject = p);
2741
+ a.current = h, s(h), o.current && (o.current.srcObject = h);
2742
2742
  } catch {
2743
2743
  }
2744
2744
  }, d = () => {
2745
- a.current && (a.current.getTracks().forEach((p) => p.stop()), a.current = null, l(), o.current && (o.current.srcObject = null));
2745
+ a.current && (a.current.getTracks().forEach((h) => h.stop()), a.current = null, l(), o.current && (o.current.srcObject = null));
2746
2746
  }, c = () => {
2747
2747
  n(o), i.current = requestAnimationFrame(c);
2748
2748
  };
2749
- return D(() => {
2750
- const p = o.current;
2751
- if (!p)
2749
+ return I(() => {
2750
+ const h = o.current;
2751
+ if (!h)
2752
2752
  return;
2753
2753
  const f = () => {
2754
2754
  i.current = requestAnimationFrame(c);
2755
2755
  };
2756
- return u(), p.addEventListener("canplay", f), () => {
2757
- p.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2756
+ return u(), h.addEventListener("canplay", f), () => {
2757
+ h.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2758
2758
  };
2759
- }, []), /* @__PURE__ */ h("div", { className: tl.root, children: [
2760
- /* @__PURE__ */ h("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2759
+ }, []), /* @__PURE__ */ p("div", { className: el.root, children: [
2760
+ /* @__PURE__ */ p("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2761
2761
  t
2762
2762
  ] });
2763
2763
  }
2764
- const rl = "_container_mcmsr_1", ol = "_focused_mcmsr_12", il = "_progress_mcmsr_15", al = "_completed_mcmsr_36", sl = "_marker_mcmsr_40", We = {
2765
- container: rl,
2766
- focused: ol,
2767
- progress: il,
2768
- completed: al,
2769
- marker: sl
2770
- }, or = 360, ll = 50;
2771
- function cl(e) {
2764
+ const nl = "_container_mcmsr_1", rl = "_focused_mcmsr_12", ol = "_progress_mcmsr_15", il = "_completed_mcmsr_36", al = "_marker_mcmsr_40", We = {
2765
+ container: nl,
2766
+ focused: rl,
2767
+ progress: ol,
2768
+ completed: il,
2769
+ marker: al
2770
+ }, rr = 360, sl = 50;
2771
+ function ll(e) {
2772
2772
  const {
2773
2773
  visitedSections: t,
2774
2774
  sectionsCount: n,
2775
2775
  faceDetected: r,
2776
- divisions: o = ll
2777
- } = e, i = N(() => {
2776
+ divisions: o = sl
2777
+ } = e, i = L(() => {
2778
2778
  const a = [We.container];
2779
2779
  return r && a.push(We.focused), a.join(" ");
2780
2780
  }, [r]);
2781
- return /* @__PURE__ */ h("div", { className: i, children: [
2782
- /* @__PURE__ */ h(
2783
- ie,
2781
+ return /* @__PURE__ */ p("div", { className: i, children: [
2782
+ /* @__PURE__ */ p(
2783
+ oe,
2784
2784
  {
2785
2785
  as: "div",
2786
2786
  show: r,
@@ -2791,18 +2791,18 @@ function cl(e) {
2791
2791
  enterFrom: "yvlw-scale-125 yvlw-opacity-0",
2792
2792
  enterTo: "yvlw-scale-100 yvlw-opacity-100",
2793
2793
  className: "yvlw-absolute",
2794
- children: /* @__PURE__ */ h("div", { className: We.progress, children: Array.from(Array(o).keys()).map((a) => {
2795
- const s = a * or / o, l = Math.ceil(
2796
- (s + 1) * n / or
2794
+ children: /* @__PURE__ */ p("div", { className: We.progress, children: Array.from(Array(o).keys()).map((a) => {
2795
+ const s = a * rr / o, l = Math.ceil(
2796
+ (s + 1) * n / rr
2797
2797
  ), u = t.includes(l), d = u ? a - (l - 1) * (o / n) : 0, c = [];
2798
2798
  u && c.push(We.completed);
2799
- const p = u ? "translateX(158px)" : "translateX(150px)";
2800
- return /* @__PURE__ */ h(
2799
+ const h = u ? "translateX(158px)" : "translateX(150px)";
2800
+ return /* @__PURE__ */ p(
2801
2801
  "div",
2802
2802
  {
2803
2803
  className: c.join(" "),
2804
2804
  style: {
2805
- transform: `rotate(${s}deg) ${p}`,
2805
+ transform: `rotate(${s}deg) ${h}`,
2806
2806
  transitionDelay: `${d * 20}ms`
2807
2807
  }
2808
2808
  },
@@ -2811,8 +2811,8 @@ function cl(e) {
2811
2811
  }) })
2812
2812
  }
2813
2813
  ),
2814
- /* @__PURE__ */ h(
2815
- ie,
2814
+ /* @__PURE__ */ p(
2815
+ oe,
2816
2816
  {
2817
2817
  as: "div",
2818
2818
  show: !r,
@@ -2823,17 +2823,17 @@ function cl(e) {
2823
2823
  enterFrom: "yvlw-scale-75 yvlw-opacity-0",
2824
2824
  enterTo: "yvlw-scale-100 yvlw-opacity-100",
2825
2825
  className: "yvlw-absolute",
2826
- children: /* @__PURE__ */ h("div", { className: We.marker, children: [
2827
- /* @__PURE__ */ h("div", {}),
2828
- /* @__PURE__ */ h("div", {}),
2829
- /* @__PURE__ */ h("div", {}),
2830
- /* @__PURE__ */ h("div", {})
2826
+ children: /* @__PURE__ */ p("div", { className: We.marker, children: [
2827
+ /* @__PURE__ */ p("div", {}),
2828
+ /* @__PURE__ */ p("div", {}),
2829
+ /* @__PURE__ */ p("div", {}),
2830
+ /* @__PURE__ */ p("div", {})
2831
2831
  ] })
2832
2832
  }
2833
2833
  )
2834
2834
  ] });
2835
2835
  }
2836
- function ul() {
2836
+ function cl() {
2837
2837
  return { checkZoomLevel: (r, o) => {
2838
2838
  const { box: i } = r, { width: a, height: s } = i, l = a * s, u = o ** 2, d = l / u;
2839
2839
  if (d > 0.9)
@@ -2847,48 +2847,7 @@ function ul() {
2847
2847
  throw new Error("Position head in frame");
2848
2848
  } };
2849
2849
  }
2850
- function pe(e, t) {
2851
- return Math.sqrt(e ** 2 + t ** 2);
2852
- }
2853
- function dl(e) {
2854
- const t = e.slice();
2855
- for (let n = t.length - 1; n > 0; n--) {
2856
- const r = Math.floor(Math.random() * (n + 1));
2857
- [t[n], t[r]] = [t[r], t[n]];
2858
- }
2859
- return t;
2860
- }
2861
- const fl = 1, pl = 9, Vt = {
2862
- centerMin: 20,
2863
- centerMax: 100,
2864
- verticalMin: 230
2865
- };
2866
- function hl() {
2867
- return {
2868
- isReady: (t) => {
2869
- const { keypoints: n, box: r } = t, o = n[fl], i = n[pl], a = n[6], s = { x: r.width * 0.5, y: r.height * 0.5 }, l = { y: o.y - r.yMin, x: o.x - r.xMin }, u = {
2870
- y: a.y - r.yMin,
2871
- x: a.x - r.xMin
2872
- }, d = {
2873
- y: i.y - r.yMin,
2874
- x: i.x - r.xMin
2875
- }, c = pe(
2876
- u.x - d.x,
2877
- u.y - d.y
2878
- );
2879
- let p = pe(
2880
- s.x - l.x,
2881
- s.y - l.y
2882
- ), f = pe(
2883
- d.x - l.x,
2884
- d.y - l.y
2885
- );
2886
- return p = p / c * 100, f = f / c * 100, p < Vt.centerMax && p > Vt.centerMin && // verticalEuclideanDist < THRESHOLD.verticalMax &&
2887
- f > Vt.verticalMin;
2888
- }
2889
- };
2890
- }
2891
- function Mt(e = {}) {
2850
+ function ot(e = {}) {
2892
2851
  const {
2893
2852
  validations: t = ["zoom"],
2894
2853
  frameSize: n,
@@ -2896,29 +2855,29 @@ function Mt(e = {}) {
2896
2855
  },
2897
2856
  onError: o = () => {
2898
2857
  }
2899
- } = e, { faceDetector: i, savePhoto: a } = ve(), s = w(!1), { isReady: l } = hl(), { checkFacialFeatures: u, checkZoomLevel: d, checkInFrame: c } = ul(), p = w(null), f = (y, m) => {
2900
- var v;
2858
+ } = e, { faceDetector: i } = ce(), { checkFacialFeatures: a, checkZoomLevel: s, checkInFrame: l } = cl(), u = w(null), d = (h) => {
2859
+ var f;
2901
2860
  try {
2902
- if (y.length === 0)
2861
+ if (h.length === 0)
2903
2862
  throw new Error("Detecting face...");
2904
- if (y.length > 1)
2863
+ if (h.length > 1)
2905
2864
  throw new Error("A maximum of 1 face is allowed");
2906
- const g = p.current, b = (v = p.current) == null ? void 0 : v.parentElement;
2907
- if (!g || !b)
2865
+ const _ = u.current, y = (f = u.current) == null ? void 0 : f.parentElement;
2866
+ if (!_ || !y)
2908
2867
  return;
2909
- const C = y[0];
2910
- for (const E of t)
2911
- switch (E) {
2868
+ const m = h[0];
2869
+ for (const v of t)
2870
+ switch (v) {
2912
2871
  case "zoom":
2913
- d(
2914
- C,
2915
- Math.min(b.clientHeight, b.clientWidth)
2872
+ s(
2873
+ m,
2874
+ Math.min(y.clientHeight, y.clientWidth)
2916
2875
  );
2917
2876
  break;
2918
2877
  case "features":
2919
- u(
2920
- C,
2921
- Math.min(b.clientHeight, b.clientWidth)
2878
+ a(
2879
+ m,
2880
+ Math.min(y.clientHeight, y.clientWidth)
2922
2881
  );
2923
2882
  break;
2924
2883
  case "in-frame":
@@ -2926,69 +2885,69 @@ function Mt(e = {}) {
2926
2885
  throw new Error(
2927
2886
  "Frame size is required to check if face is in frame"
2928
2887
  );
2929
- const P = n + 200;
2930
- c(C, {
2931
- x: (b.clientWidth - P) / 2,
2932
- y: (b.clientHeight - P) / 2,
2933
- width: P,
2934
- height: P,
2935
- offsetX: (g.videoWidth - b.clientWidth) / 2,
2936
- offsetY: (g.videoHeight - b.clientHeight) / 2
2888
+ const g = n + 200;
2889
+ l(m, {
2890
+ x: (y.clientWidth - g) / 2,
2891
+ y: (y.clientHeight - g) / 2,
2892
+ width: g,
2893
+ height: g,
2894
+ offsetX: (_.videoWidth - y.clientWidth) / 2,
2895
+ offsetY: (_.videoHeight - y.clientHeight) / 2
2937
2896
  });
2938
2897
  break;
2939
2898
  default:
2940
2899
  break;
2941
2900
  }
2942
- s.current || l(C) && (a(m), s.current = !0), r(C);
2943
- } catch (g) {
2944
- const { message: b } = g;
2945
- o(b);
2901
+ r(m);
2902
+ } catch (_) {
2903
+ const { message: y } = _;
2904
+ o(y);
2946
2905
  }
2947
2906
  };
2948
- return { detectFaces: async (y) => {
2907
+ return { detectFaces: async (h) => {
2949
2908
  if (!i)
2950
2909
  return;
2951
- const { ref: m } = y;
2952
- p.current = m.current;
2953
- const v = p.current;
2954
- if (!v)
2910
+ const { ref: f } = h;
2911
+ u.current = f.current;
2912
+ const _ = u.current;
2913
+ if (!_)
2955
2914
  throw new Error("No Video Source detected");
2956
- const { videoWidth: g, videoHeight: b } = v;
2957
- if (g === 0 || b === 0)
2915
+ const { videoWidth: y, videoHeight: m } = _;
2916
+ if (y === 0 || m === 0)
2958
2917
  return;
2959
- const C = To(
2960
- v,
2961
- g,
2962
- b
2918
+ const v = To(
2919
+ _,
2920
+ y,
2921
+ m
2963
2922
  // frameSize,
2964
- ), E = await Se.detectFaces(i, C);
2965
- f(E, v);
2923
+ ), g = await ke.detectFaces(i, v);
2924
+ d(g);
2966
2925
  } };
2967
2926
  }
2968
- const vl = "_root_5hgaj_1", _l = "_container_5hgaj_4", ml = "_progress_5hgaj_7", yl = "_intro_5hgaj_12", gl = "_content_5hgaj_15", wl = "_branding_5hgaj_18", bl = "_instructionsContainer_5hgaj_22", El = "_instructions_5hgaj_22", oe = {
2969
- root: vl,
2970
- container: _l,
2971
- progress: ml,
2972
- intro: yl,
2973
- content: gl,
2974
- branding: wl,
2975
- instructionsContainer: bl,
2976
- instructions: El
2977
- }, $l = "_root_h5elg_1", Tl = "_spinner_h5elg_22", ir = {
2978
- root: $l,
2979
- spinner: Tl
2980
- }, Cl = "_container_1vep2_1", xl = "_spin_1vep2_1", kl = "_md_1vep2_7", Sl = "_lg_1vep2_10", ar = {
2981
- container: Cl,
2982
- spin: xl,
2983
- md: kl,
2984
- lg: Sl
2927
+ const ul = "_root_5hgaj_1", dl = "_container_5hgaj_4", fl = "_progress_5hgaj_7", pl = "_intro_5hgaj_12", hl = "_content_5hgaj_15", vl = "_branding_5hgaj_18", _l = "_instructionsContainer_5hgaj_22", ml = "_instructions_5hgaj_22", X = {
2928
+ root: ul,
2929
+ container: dl,
2930
+ progress: fl,
2931
+ intro: pl,
2932
+ content: hl,
2933
+ branding: vl,
2934
+ instructionsContainer: _l,
2935
+ instructions: ml
2936
+ }, yl = "_root_h5elg_1", gl = "_spinner_h5elg_22", or = {
2937
+ root: yl,
2938
+ spinner: gl
2939
+ }, wl = "_container_1vep2_1", bl = "_spin_1vep2_1", El = "_md_1vep2_7", $l = "_lg_1vep2_10", ir = {
2940
+ container: wl,
2941
+ spin: bl,
2942
+ md: El,
2943
+ lg: $l
2985
2944
  };
2986
- function So(e) {
2945
+ function xo(e) {
2987
2946
  const { size: t = "md", className: n = "" } = e;
2988
- return /* @__PURE__ */ h(
2947
+ return /* @__PURE__ */ p(
2989
2948
  "span",
2990
2949
  {
2991
- className: `${ar.container} ${ar[t]} ${n}`
2950
+ className: `${ir.container} ${ir[t]} ${n}`
2992
2951
  }
2993
2952
  );
2994
2953
  }
@@ -3004,27 +2963,27 @@ function Ge(e) {
3004
2963
  children: s,
3005
2964
  hideButton: l = !1
3006
2965
  } = e;
3007
- return /* @__PURE__ */ h("div", { className: ir.root, children: [
3008
- /* @__PURE__ */ h(t, { size: "custom", className: "yvlw-h-20 yvlw-mx-auto yvlw-mb-12" }),
3009
- /* @__PURE__ */ h("h2", { children: r }),
3010
- /* @__PURE__ */ h("p", { className: "subtext", children: n }),
3011
- !l && /* @__PURE__ */ h("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ h(
3012
- Li,
2966
+ return /* @__PURE__ */ p("div", { className: or.root, children: [
2967
+ /* @__PURE__ */ p(t, { size: "custom", className: "yvlw-h-20 yvlw-mx-auto yvlw-mb-12" }),
2968
+ /* @__PURE__ */ p("h2", { children: r }),
2969
+ /* @__PURE__ */ p("p", { className: "subtext", children: n }),
2970
+ !l && /* @__PURE__ */ p("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ p(
2971
+ Pi,
3013
2972
  {
3014
2973
  onClick: () => i(),
3015
2974
  className: "yvlw-flex yvlw-items-center yvlw-space-x-3",
3016
2975
  disabled: a,
3017
2976
  children: [
3018
- /* @__PURE__ */ h("span", { className: "yvlw-flex-1 yvlw-flex yvlw-items-center yvlw-space-x-1 yvlw-justify-center", children: o }),
3019
- a && /* @__PURE__ */ h(So, { className: ir.spinner })
2977
+ /* @__PURE__ */ p("span", { className: "yvlw-flex-1 yvlw-flex yvlw-items-center yvlw-space-x-1 yvlw-justify-center", children: o }),
2978
+ a && /* @__PURE__ */ p(xo, { className: or.spinner })
3020
2979
  ]
3021
2980
  }
3022
2981
  ) }),
3023
2982
  s
3024
2983
  ] });
3025
2984
  }
3026
- const st = "yvlw-absolute yvlw-w-full yvlw-h-full", lt = "yvlw-transform yvlw-transition yvlw-ease-in yvlw-duration-300", ct = "yvlw-transform yvlw-transition yvlw-ease-in yvlw-duration-300";
3027
- function Pt(e) {
2985
+ const ct = "yvlw-absolute yvlw-w-full yvlw-h-full", ut = "yvlw-transform yvlw-transition yvlw-ease-in yvlw-duration-300", dt = "yvlw-transform yvlw-transition yvlw-ease-in yvlw-duration-300";
2986
+ function Nt(e) {
3028
2987
  const {
3029
2988
  children: t,
3030
2989
  instruction: n,
@@ -3035,31 +2994,31 @@ function Pt(e) {
3035
2994
  },
3036
2995
  onReset: s = () => {
3037
2996
  }
3038
- } = e, [l, u] = k(!1), { completedCount: d, tasks: c, nextTask: p } = ve(), f = N(() => xo[r], [r]), _ = N(
2997
+ } = e, [l, u] = b(!1), { completedCount: d, tasks: c, nextTask: h } = ce(), f = L(() => So[r], [r]), _ = L(
3039
2998
  () => d * 100 / c.length,
3040
2999
  [d, c.length]
3041
3000
  );
3042
- return /* @__PURE__ */ h("div", { className: oe.root, children: /* @__PURE__ */ h("div", { className: `${oe.container} view`, children: [
3043
- /* @__PURE__ */ h(
3001
+ return /* @__PURE__ */ p("div", { className: X.root, children: /* @__PURE__ */ p("div", { className: `${X.container} view`, children: [
3002
+ /* @__PURE__ */ p(
3044
3003
  "div",
3045
3004
  {
3046
3005
  style: { width: `${_}%` },
3047
- className: oe.progress
3006
+ className: X.progress
3048
3007
  }
3049
3008
  ),
3050
- /* @__PURE__ */ h(
3051
- ie,
3009
+ /* @__PURE__ */ p(
3010
+ oe,
3052
3011
  {
3053
3012
  show: !l && !o && !i,
3054
3013
  as: "div",
3055
- enter: lt,
3014
+ enter: ut,
3056
3015
  enterFrom: "yvlw--translate-x-full",
3057
3016
  enterTo: "yvlw-translate-x-0",
3058
- leave: ct,
3017
+ leave: dt,
3059
3018
  leaveFrom: "yvlw-translate-x-0",
3060
3019
  leaveTo: "yvlw--translate-x-full",
3061
- className: st,
3062
- children: /* @__PURE__ */ h("div", { className: `${oe.intro}`, children: /* @__PURE__ */ h(
3020
+ className: ct,
3021
+ children: /* @__PURE__ */ p("div", { className: `${X.intro}`, children: /* @__PURE__ */ p(
3063
3022
  Ge,
3064
3023
  {
3065
3024
  Icon: f.Icon,
@@ -3073,47 +3032,47 @@ function Pt(e) {
3073
3032
  ) })
3074
3033
  }
3075
3034
  ),
3076
- /* @__PURE__ */ h(
3077
- ie,
3035
+ /* @__PURE__ */ p(
3036
+ oe,
3078
3037
  {
3079
3038
  as: "div",
3080
3039
  show: l && !o && !i,
3081
- enter: lt,
3040
+ enter: ut,
3082
3041
  enterFrom: "yvlw-translate-x-full",
3083
3042
  enterTo: "yvlw-translate-x-0",
3084
- leave: ct,
3043
+ leave: dt,
3085
3044
  leaveFrom: "yvlw-translate-x-0",
3086
3045
  leaveTo: "yvlw-translate-x-full",
3087
- className: st,
3046
+ className: ct,
3088
3047
  children: [
3089
- /* @__PURE__ */ h("div", { className: `${oe.content}`, children: t }),
3090
- /* @__PURE__ */ h("div", { className: oe.instructionsContainer, children: [
3091
- /* @__PURE__ */ h("div", { className: oe.instructions, children: [
3092
- /* @__PURE__ */ h("h2", { children: n.title }),
3093
- /* @__PURE__ */ h("p", { className: "subtext", children: n.description })
3048
+ /* @__PURE__ */ p("div", { className: `${X.content}`, children: t }),
3049
+ /* @__PURE__ */ p("div", { className: X.instructionsContainer, children: [
3050
+ /* @__PURE__ */ p("div", { className: X.instructions, children: [
3051
+ /* @__PURE__ */ p("h2", { children: n.title }),
3052
+ /* @__PURE__ */ p("p", { className: "subtext", children: n.description })
3094
3053
  ] }),
3095
- /* @__PURE__ */ h("div", { className: oe.branding, children: [
3096
- /* @__PURE__ */ h("span", { children: "Powered by" }),
3054
+ /* @__PURE__ */ p("div", { className: X.branding, children: [
3055
+ /* @__PURE__ */ p("span", { children: "Powered by" }),
3097
3056
  " ",
3098
- /* @__PURE__ */ h(ks, { size: "custom", className: "yvlw-h-3" })
3057
+ /* @__PURE__ */ p($o, { size: "custom", className: "yvlw-h-3" })
3099
3058
  ] })
3100
3059
  ] })
3101
3060
  ]
3102
3061
  }
3103
3062
  ),
3104
- /* @__PURE__ */ h(
3105
- ie,
3063
+ /* @__PURE__ */ p(
3064
+ oe,
3106
3065
  {
3107
3066
  show: o,
3108
3067
  as: "div",
3109
- enter: lt,
3068
+ enter: ut,
3110
3069
  enterFrom: "yvlw-translate-x-full",
3111
3070
  enterTo: "yvlw-translate-x-0",
3112
- leave: ct,
3071
+ leave: dt,
3113
3072
  leaveFrom: "yvlw-translate-x-0",
3114
3073
  leaveTo: "yvlw-translate-x-full",
3115
- className: st,
3116
- children: /* @__PURE__ */ h("div", { className: `${oe.intro}`, children: /* @__PURE__ */ h(
3074
+ className: ct,
3075
+ children: /* @__PURE__ */ p("div", { className: `${X.intro}`, children: /* @__PURE__ */ p(
3117
3076
  Ge,
3118
3077
  {
3119
3078
  Icon: f.Icon,
@@ -3122,25 +3081,25 @@ function Pt(e) {
3122
3081
  0,
3123
3082
  -2
3124
3083
  )} task. Click on the button below button to proceed.`,
3125
- onActionClick: () => p(),
3084
+ onActionClick: () => h(),
3126
3085
  actionText: "Next"
3127
3086
  }
3128
3087
  ) })
3129
3088
  }
3130
3089
  ),
3131
- /* @__PURE__ */ h(
3132
- ie,
3090
+ /* @__PURE__ */ p(
3091
+ oe,
3133
3092
  {
3134
3093
  show: i,
3135
3094
  as: "div",
3136
- enter: lt,
3095
+ enter: ut,
3137
3096
  enterFrom: "yvlw-translate-x-full",
3138
3097
  enterTo: "yvlw-translate-x-0",
3139
- leave: ct,
3098
+ leave: dt,
3140
3099
  leaveFrom: "yvlw-translate-x-0",
3141
3100
  leaveTo: "yvlw-translate-x-full",
3142
- className: st,
3143
- children: /* @__PURE__ */ h("div", { className: `${oe.intro}`, children: /* @__PURE__ */ h(
3101
+ className: ct,
3102
+ children: /* @__PURE__ */ p("div", { className: `${X.intro}`, children: /* @__PURE__ */ p(
3144
3103
  Ge,
3145
3104
  {
3146
3105
  Icon: Cs,
@@ -3154,43 +3113,43 @@ function Pt(e) {
3154
3113
  )
3155
3114
  ] }) });
3156
3115
  }
3157
- function Lt(e = {}) {
3116
+ function Pt(e = {}) {
3158
3117
  const { timeout: t, onTimeout: n = () => {
3159
- } } = e, [r, o] = k(!1), i = w(null), a = O(() => {
3118
+ } } = e, [r, o] = b(!1), i = w(null), a = D(() => {
3160
3119
  t && i.current && clearTimeout(i.current);
3161
- }, []), s = O(() => {
3120
+ }, []), s = D(() => {
3162
3121
  t && (i.current = setTimeout(() => {
3163
3122
  o(!0), n();
3164
3123
  }, t));
3165
- }, []), l = O(() => {
3124
+ }, []), l = D(() => {
3166
3125
  o(!1), s();
3167
3126
  }, []);
3168
- return D(() => a, []), {
3127
+ return I(() => a, []), {
3169
3128
  timedOut: r,
3170
3129
  reset: l,
3171
3130
  start: s,
3172
3131
  stop: a
3173
3132
  };
3174
3133
  }
3175
- const Fl = 1, Ut = 8, sr = "Place face in frame";
3176
- function Ml(e) {
3177
- const { difficulty: t, timeout: n } = e, { saveStream: r } = ve(), [o, i] = k([]), [a, s] = k(sr), [l, u] = k(!1), [d, c] = k(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), _ = w(null), {
3134
+ const Tl = 1, Vt = 8, ar = "Place face in frame";
3135
+ function Cl(e) {
3136
+ const { difficulty: t, timeout: n } = e, { saveStream: r } = ce(), [o, i] = b([]), [a, s] = b(ar), [l, u] = b(!1), [d, c] = b(!1), h = w(/* @__PURE__ */ new Set()), f = w(!1), _ = w(null), {
3178
3137
  reset: y,
3179
3138
  start: m,
3180
3139
  stop: v,
3181
3140
  timedOut: g
3182
- } = Lt({ timeout: n }), b = () => {
3183
- i([]), s(sr), u(!1), c(!1), p.current = /* @__PURE__ */ new Set(), f.current = !1, _.current = null, y();
3184
- }, C = (M) => {
3185
- const x = M * Ut, $ = Math.ceil((x + 1) / As);
3186
- p.current.has($) || (p.current.add($), i(Array.from(p.current))), p.current.size >= Ut && (v(), setTimeout(() => {
3141
+ } = Pt({ timeout: n }), C = () => {
3142
+ i([]), s(ar), u(!1), c(!1), h.current = /* @__PURE__ */ new Set(), f.current = !1, _.current = null, y();
3143
+ }, k = (x) => {
3144
+ const T = x * Vt, N = Math.ceil((T + 1) / Ls);
3145
+ h.current.has(N) || (h.current.add(N), i(Array.from(h.current))), h.current.size >= Vt && (v(), setTimeout(() => {
3187
3146
  c(!0);
3188
3147
  }, 1e3));
3189
- }, E = (M, x) => {
3190
- let L = Math.atan2(x, M) * (180 / Math.PI);
3191
- return L < 0 && (L += 360), L;
3192
- }, P = O(() => {
3193
- if (p.current.size === 0)
3148
+ }, M = (x, T) => {
3149
+ let W = Math.atan2(T, x) * (180 / Math.PI);
3150
+ return W < 0 && (W += 360), W;
3151
+ }, H = D(() => {
3152
+ if (h.current.size === 0)
3194
3153
  return 25;
3195
3154
  switch (t) {
3196
3155
  case "easy":
@@ -3200,23 +3159,23 @@ function Ml(e) {
3200
3159
  default:
3201
3160
  return 10;
3202
3161
  }
3203
- }, []), F = (M) => {
3204
- const { keypoints: x, box: $ } = M, L = { x: $.width * 0.5, y: $.height * 0.5 }, K = x[Fl], re = { y: K.y - $.yMin, x: K.x - $.xMin }, Q = L.x - re.x, J = re.y - L.y, _e = P();
3205
- return Math.abs(Q) < _e && Math.abs(J) < _e ? null : E(Q, J);
3206
- }, { detectFaces: A } = Mt({
3162
+ }, []), $ = (x) => {
3163
+ const { keypoints: T, box: N } = x, W = { x: N.width * 0.5, y: N.height * 0.5 }, V = T[Tl], B = { y: V.y - N.yMin, x: V.x - N.xMin }, Y = W.x - B.x, ee = B.y - W.y, ue = H();
3164
+ return Math.abs(Y) < ue && Math.abs(ee) < ue ? null : M(Y, ee);
3165
+ }, { detectFaces: F } = ot({
3207
3166
  frameSize: 280,
3208
3167
  validations: ["zoom", "in-frame"],
3209
- onFace: (M) => {
3168
+ onFace: (x) => {
3210
3169
  u(!0), s("Slowly move head around to complete circle");
3211
- const x = F(M);
3212
- x && C(x);
3170
+ const T = $(x);
3171
+ T && k(T);
3213
3172
  },
3214
- onError: (M) => {
3215
- s(M), i([]), p.current.clear(), _.current = null, f.current = !1;
3173
+ onError: (x) => {
3174
+ s(x), i([]), h.current.clear(), _.current = null, f.current = !1;
3216
3175
  }
3217
3176
  });
3218
- return /* @__PURE__ */ h(H, { children: /* @__PURE__ */ h(
3219
- Pt,
3177
+ return /* @__PURE__ */ p(O, { children: /* @__PURE__ */ p(
3178
+ Nt,
3220
3179
  {
3221
3180
  instruction: {
3222
3181
  title: a,
@@ -3225,70 +3184,70 @@ function Ml(e) {
3225
3184
  name: "complete-the-circle",
3226
3185
  completed: d,
3227
3186
  failed: g,
3228
- onReset: b,
3187
+ onReset: C,
3229
3188
  onStart: m,
3230
- children: /* @__PURE__ */ h(Ft, { onStream: (M) => {
3189
+ children: /* @__PURE__ */ p(rt, { onStream: (x) => {
3231
3190
  try {
3232
- if (!M.current || d)
3191
+ if (!x.current || d)
3233
3192
  return;
3234
- const { videoWidth: x } = M.current;
3235
- A({ ref: M, frameSize: x });
3193
+ const { videoWidth: T } = x.current;
3194
+ F({ ref: x, frameSize: T });
3236
3195
  } catch {
3237
3196
  }
3238
- }, onRecord: r, children: /* @__PURE__ */ h(
3239
- cl,
3197
+ }, onRecord: r, children: /* @__PURE__ */ p(
3198
+ ll,
3240
3199
  {
3241
3200
  faceDetected: l,
3242
- sectionsCount: Ut,
3201
+ sectionsCount: Vt,
3243
3202
  visitedSections: o
3244
3203
  }
3245
3204
  ) })
3246
3205
  }
3247
3206
  ) });
3248
3207
  }
3249
- const Pl = "_root_thujo_1", Ll = "_sticker_thujo_4", Nl = "_no_thujo_7", Al = "_yes_thujo_12", Wt = {
3250
- root: Pl,
3251
- sticker: Ll,
3252
- no: Nl,
3253
- yes: Al
3208
+ const Sl = "_root_thujo_1", kl = "_sticker_thujo_4", xl = "_no_thujo_7", Fl = "_yes_thujo_12", Ut = {
3209
+ root: Sl,
3210
+ sticker: kl,
3211
+ no: xl,
3212
+ yes: Fl
3254
3213
  };
3255
- function Dl(e) {
3214
+ function Ml(e) {
3256
3215
  const { show: t, stickers: n } = e;
3257
- return /* @__PURE__ */ h(H, { children: t && /* @__PURE__ */ h("div", { className: Wt.root, children: n.map((r) => /* @__PURE__ */ h(
3216
+ return /* @__PURE__ */ p(O, { children: t && /* @__PURE__ */ p("div", { className: Ut.root, children: n.map((r) => /* @__PURE__ */ p(
3258
3217
  "div",
3259
3218
  {
3260
- className: `${Wt.sticker} ${Wt[r]}`,
3219
+ className: `${Ut.sticker} ${Ut[r]}`,
3261
3220
  children: r.toUpperCase()
3262
3221
  },
3263
3222
  `sticker-${r}`
3264
3223
  )) }) });
3265
3224
  }
3266
- const Il = {
3225
+ const Nl = {
3267
3226
  question: "Are you alive?",
3268
3227
  errorMessage: "You have to be alive to proceed though",
3269
3228
  answer: !0
3270
- }, Ol = "Wrong answer. Try again", lr = "Keep face in camera";
3271
- function Hl(e) {
3272
- const { difficulty: t, questions: n = [Il], timeout: r } = e, [o, i] = k(lr), [a, s] = k(!1), [l, u] = k(!1), { saveStream: d } = ve(), c = w("inactive"), p = w(0), f = w(!1), _ = w(null), y = w(null), m = () => {
3273
- _.current && clearTimeout(_.current), y.current && clearTimeout(y.current);
3229
+ }, Pl = "Wrong answer. Try again", sr = "Keep face in camera";
3230
+ function Ll(e) {
3231
+ const { difficulty: t, questions: n = [Nl], timeout: r } = e, [o, i] = b(sr), [a, s] = b(!1), [l, u] = b(!1), { saveStream: d, savePhoto: c } = ce(), h = w("inactive"), f = w(0), _ = w(!1), y = w(null), m = w(null), v = w(null), g = () => {
3232
+ y.current && clearTimeout(y.current), m.current && clearTimeout(m.current);
3274
3233
  }, {
3275
- reset: v,
3276
- start: g,
3277
- stop: b,
3278
- timedOut: C
3279
- } = Lt({
3234
+ reset: C,
3235
+ start: k,
3236
+ stop: M,
3237
+ timedOut: H
3238
+ } = Pt({
3280
3239
  timeout: r,
3281
- onTimeout: m
3282
- }), E = () => {
3283
- i(lr), s(!1), u(!1), c.current = "inactive", p.current = 0, f.current = !1, v();
3284
- }, P = ($) => {
3285
- const { keypoints: L } = $, K = L[1], re = L[9], Q = K.x - re.x, J = K.y - re.y;
3286
- return 90 - Math.atan2(J, Q) * (180 / Math.PI);
3287
- }, F = ($) => {
3288
- c.current = "inactive", i(n[$].question), _.current = setTimeout(() => {
3289
- c.current = "active";
3240
+ onTimeout: g
3241
+ }), $ = () => {
3242
+ i(sr), s(!1), u(!1), h.current = "inactive", f.current = 0, _.current = !1, C();
3243
+ }, F = (V) => {
3244
+ const { keypoints: B } = V, Y = B[1], ee = B[9], ue = Y.x - ee.x, ne = Y.y - ee.y;
3245
+ return 90 - Math.atan2(ne, ue) * (180 / Math.PI);
3246
+ }, P = (V) => {
3247
+ h.current = "inactive", i(n[V].question), y.current = setTimeout(() => {
3248
+ h.current = "active";
3290
3249
  }, 2e3);
3291
- }, A = N(() => {
3250
+ }, x = L(() => {
3292
3251
  switch (t) {
3293
3252
  case "easy":
3294
3253
  return 2;
@@ -3297,58 +3256,59 @@ function Hl(e) {
3297
3256
  default:
3298
3257
  return 4;
3299
3258
  }
3300
- }, []), W = ($) => {
3259
+ }, []), T = (V) => {
3301
3260
  try {
3302
- if (c.current = "inactive", Math.abs($) < A)
3261
+ if (h.current = "inactive", Math.abs(V) < x)
3303
3262
  throw new Error("Tilt head further to answer");
3304
- const L = $ > 0, K = n[p.current].answer;
3305
- if (L === K)
3306
- p.current += 1, p.current === n.length ? (u(!0), b()) : F(p.current);
3263
+ const B = V > 0, Y = n[f.current].answer;
3264
+ if (B === Y)
3265
+ v.current && c(v.current), f.current += 1, f.current === n.length ? (u(!0), M()) : P(f.current);
3307
3266
  else
3308
3267
  throw new Error(
3309
- n[p.current].errorMessage || Ol
3268
+ n[f.current].errorMessage || Pl
3310
3269
  );
3311
- } catch (L) {
3312
- i(L.message), y.current = setTimeout(() => {
3313
- F(p.current);
3270
+ } catch (B) {
3271
+ i(B.message), m.current = setTimeout(() => {
3272
+ P(f.current);
3314
3273
  }, 2e3);
3315
3274
  }
3316
- }, { detectFaces: M } = Mt({
3317
- onFace: ($) => {
3318
- if (f.current || (s(!0), f.current = !0, F(p.current)), c.current === "inactive")
3275
+ }, { detectFaces: N } = ot({
3276
+ onFace: (V) => {
3277
+ if (_.current || (s(!0), _.current = !0, P(f.current)), h.current === "inactive")
3319
3278
  return;
3320
- const L = P($);
3321
- W(L);
3279
+ const B = F(V);
3280
+ T(B);
3322
3281
  },
3323
- onError: ($) => {
3324
- i($);
3282
+ onError: (V) => {
3283
+ i(V);
3325
3284
  }
3326
- }), x = ($) => {
3285
+ }), W = (V) => {
3327
3286
  try {
3328
- if (!$.current || l)
3287
+ if (!V.current || l)
3329
3288
  return;
3330
- const { videoWidth: L } = $.current;
3331
- M({ ref: $, frameSize: L });
3289
+ v.current = V.current;
3290
+ const { videoWidth: B } = V.current;
3291
+ N({ ref: V, frameSize: B });
3332
3292
  } catch {
3333
3293
  }
3334
3294
  };
3335
- return D(() => m, []), /* @__PURE__ */ h(
3336
- Pt,
3295
+ return I(() => g, []), /* @__PURE__ */ p(
3296
+ Nt,
3337
3297
  {
3338
3298
  instruction: {
3339
3299
  title: o,
3340
3300
  description: a ? "" : "Move head left for No and right for Yes"
3341
3301
  },
3342
3302
  name: "yes-or-no",
3343
- failed: C,
3344
- onReset: E,
3345
- onStart: g,
3303
+ failed: H,
3304
+ onReset: $,
3305
+ onStart: k,
3346
3306
  completed: l,
3347
- children: /* @__PURE__ */ h(Ft, { onStream: x, onRecord: d, children: /* @__PURE__ */ h(Dl, { show: a, stickers: ["yes", "no"] }) })
3307
+ children: /* @__PURE__ */ p(rt, { onStream: W, onRecord: d, children: /* @__PURE__ */ p(Ml, { show: a, stickers: ["yes", "no"] }) })
3348
3308
  }
3349
3309
  );
3350
3310
  }
3351
- function Rl(e = {}) {
3311
+ function Il(e = {}) {
3352
3312
  const { onChange: t = () => {
3353
3313
  } } = e, n = !!window.DeviceOrientationEvent, r = (o) => {
3354
3314
  t({
@@ -3357,14 +3317,25 @@ function Rl(e = {}) {
3357
3317
  gamma: o.gamma
3358
3318
  });
3359
3319
  };
3360
- return D(() => (window.addEventListener("deviceorientation", r), () => {
3320
+ return I(() => (window.addEventListener("deviceorientation", r), () => {
3361
3321
  window.removeEventListener("deviceorientation", r);
3362
3322
  }), []), {
3363
3323
  canUse: n
3364
3324
  };
3365
3325
  }
3366
- function Vl(e) {
3367
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), s = w(null), l = w(null), u = w(0), d = w(!1), c = N(() => {
3326
+ function De(e, t) {
3327
+ return Math.sqrt(e ** 2 + t ** 2);
3328
+ }
3329
+ function Al(e) {
3330
+ const t = e.slice();
3331
+ for (let n = t.length - 1; n > 0; n--) {
3332
+ const r = Math.floor(Math.random() * (n + 1));
3333
+ [t[n], t[r]] = [t[r], t[n]];
3334
+ }
3335
+ return t;
3336
+ }
3337
+ function Dl(e) {
3338
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), s = w(null), l = w(null), u = w(0), d = w(!1), c = L(() => {
3368
3339
  switch (o) {
3369
3340
  case "easy":
3370
3341
  return 6;
@@ -3373,7 +3344,7 @@ function Vl(e) {
3373
3344
  default:
3374
3345
  return 8;
3375
3346
  }
3376
- }, []), p = () => {
3347
+ }, []), h = () => {
3377
3348
  if (u.current < t) {
3378
3349
  const m = t - u.current;
3379
3350
  let v = `Nod head ${m} `;
@@ -3383,7 +3354,7 @@ function Vl(e) {
3383
3354
  d.current = !0, n("Great, hang on..."), setTimeout(() => {
3384
3355
  r();
3385
3356
  }, 500);
3386
- }, { canUse: f } = Rl({
3357
+ }, { canUse: f } = Il({
3387
3358
  onChange: (m) => {
3388
3359
  l.current = m;
3389
3360
  }
@@ -3403,28 +3374,28 @@ function Vl(e) {
3403
3374
  }
3404
3375
  if (d.current)
3405
3376
  return;
3406
- const { keypoints: v } = m, g = pe(
3377
+ const { keypoints: v } = m, g = De(
3407
3378
  v[6].x - v[8].x,
3408
3379
  v[6].y - v[8].y
3409
- ), C = pe(
3380
+ ), k = De(
3410
3381
  v[2].x - v[1].x,
3411
3382
  v[2].y - v[1].y
3412
3383
  ) / g * 10;
3413
- if (C > c) {
3384
+ if (k > c) {
3414
3385
  if (i.current || !a.current)
3415
3386
  return;
3416
- i.current = C, a.current = !1, s.current = setTimeout(() => {
3387
+ i.current = k, a.current = !1, s.current = setTimeout(() => {
3417
3388
  i.current = null;
3418
3389
  }, 3e3);
3419
3390
  } else
3420
- i.current && i.current - C > c / 2 && (u.current += 1, i.current = null, s.current && clearTimeout(s.current)), a.current = !0;
3421
- p();
3391
+ i.current && i.current - k > c / 2 && (u.current += 1, i.current = null, s.current && clearTimeout(s.current)), a.current = !0;
3392
+ h();
3422
3393
  }, reset: () => {
3423
3394
  i.current = null, a.current = !0, s.current = null, l.current = null, u.current = 0, d.current = !1;
3424
3395
  } };
3425
3396
  }
3426
- function Ul(e) {
3427
- const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = N(() => {
3397
+ function Ol(e) {
3398
+ const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = L(() => {
3428
3399
  switch (r) {
3429
3400
  case "easy":
3430
3401
  return 80;
@@ -3437,11 +3408,11 @@ function Ul(e) {
3437
3408
  return { evaluate: (l) => {
3438
3409
  if (o.current)
3439
3410
  return;
3440
- const { keypoints: u } = l, d = pe(
3411
+ const { keypoints: u } = l, d = De(
3441
3412
  u[6].x - u[8].x,
3442
3413
  u[6].y - u[8].y
3443
3414
  );
3444
- if (pe(
3415
+ if (De(
3445
3416
  u[14].x - u[13].x,
3446
3417
  u[14].y - u[13].y
3447
3418
  ) / d * 100 > i) {
@@ -3456,7 +3427,7 @@ function Ul(e) {
3456
3427
  } };
3457
3428
  }
3458
3429
  function Fo(e) {
3459
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), s = w(null), l = w(0), u = N(() => {
3430
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), s = w(null), l = w(0), u = L(() => {
3460
3431
  switch (o) {
3461
3432
  case "easy":
3462
3433
  return {
@@ -3481,7 +3452,7 @@ function Fo(e) {
3481
3452
  const m = Date.now(), v = s.current;
3482
3453
  (m - v) / 1e3 <= 2 && (l.current += 1);
3483
3454
  }
3484
- }, p = () => {
3455
+ }, h = () => {
3485
3456
  if (l.current < t) {
3486
3457
  const y = t - l.current;
3487
3458
  let m = `Blink right eye ${y} `;
@@ -3495,14 +3466,14 @@ function Fo(e) {
3495
3466
  return { evaluate: (y) => {
3496
3467
  if (a.current)
3497
3468
  return;
3498
- const { keypoints: m } = y, v = pe(
3469
+ const { keypoints: m } = y, v = De(
3499
3470
  m[6].x - m[8].x,
3500
3471
  m[6].y - m[8].y
3501
- ), b = pe(
3472
+ ), C = De(
3502
3473
  m[145].x - m[159].x,
3503
3474
  m[145].y - m[159].y
3504
3475
  ) / v * 100;
3505
- d(b), c(b), p();
3476
+ d(C), c(C), h();
3506
3477
  }, reset: () => {
3507
3478
  i.current = !0, a.current = !1, s.current = null, l.current = 0;
3508
3479
  } };
@@ -3518,68 +3489,68 @@ function Mo() {
3518
3489
  }
3519
3490
  };
3520
3491
  }
3521
- var Po = /* @__PURE__ */ ((e) => (e.open_mouth = "open_mouth", e.blink = "blink", e))(Po || {});
3522
- const cr = dl(Object.keys(Po)), ur = "Keep face in camera";
3523
- function Wl(e) {
3524
- const { difficulty: t, maxBlinks: n = 3, maxNods: r = 3, timeout: o } = e, i = w(0), [a, s] = k(ur), [l, u] = k(!1), [d, c] = k(null), p = w(!1), { requestDeviceOrientationPermission: f } = Mo(), { saveStream: _ } = ve(), {
3492
+ var No = /* @__PURE__ */ ((e) => (e.open_mouth = "open_mouth", e.blink = "blink", e))(No || {});
3493
+ const lr = Al(Object.keys(No)), cr = "Keep face in camera";
3494
+ function Hl(e) {
3495
+ const { difficulty: t, maxBlinks: n = 3, maxNods: r = 3, timeout: o } = e, i = w(0), [a, s] = b(cr), [l, u] = b(!1), [d, c] = b(null), h = w(!1), { requestDeviceOrientationPermission: f } = Mo(), { saveStream: _ } = ce(), {
3525
3496
  reset: y,
3526
3497
  start: m,
3527
3498
  stop: v,
3528
3499
  timedOut: g
3529
- } = Lt({ timeout: o }), b = () => {
3530
- if (i.current === cr.length - 1) {
3500
+ } = Pt({ timeout: o }), C = () => {
3501
+ if (i.current === lr.length - 1) {
3531
3502
  u(!0), v();
3532
3503
  return;
3533
3504
  }
3534
3505
  i.current += 1;
3535
- }, C = Vl({
3506
+ }, k = Dl({
3536
3507
  total: Math.floor(Math.random() * r + 1),
3537
3508
  difficulty: t,
3538
- onMessage: (x) => s(x),
3539
- onComplete: b
3540
- }), E = Ul({
3509
+ onMessage: (T) => s(T),
3510
+ onComplete: C
3511
+ }), M = Ol({
3541
3512
  difficulty: t,
3542
- onMessage: (x) => s(x),
3543
- onComplete: b
3544
- }), P = Fo({
3513
+ onMessage: (T) => s(T),
3514
+ onComplete: C
3515
+ }), H = Fo({
3545
3516
  total: Math.floor(Math.random() * n + 1),
3546
3517
  difficulty: t,
3547
- onMessage: (x) => s(x),
3548
- onComplete: b
3549
- }), { detectFaces: F } = Mt({
3550
- onFace: (x) => {
3551
- switch (p.current || (p.current = !0), cr[i.current]) {
3518
+ onMessage: (T) => s(T),
3519
+ onComplete: C
3520
+ }), { detectFaces: $ } = ot({
3521
+ onFace: (T) => {
3522
+ switch (h.current || (h.current = !0), lr[i.current]) {
3552
3523
  case "open_mouth":
3553
- E.evaluate(x);
3524
+ M.evaluate(T);
3554
3525
  break;
3555
3526
  case "blink":
3556
- P.evaluate(x);
3527
+ H.evaluate(T);
3557
3528
  break;
3558
3529
  }
3559
3530
  },
3560
- onError: (x) => {
3561
- s(x);
3531
+ onError: (T) => {
3532
+ s(T);
3562
3533
  }
3563
- }), A = () => {
3564
- i.current = 0, s(ur), u(!1), p.current = !1, P.reset(), C.reset(), E.reset(), y();
3565
- }, W = async (x) => {
3534
+ }), F = () => {
3535
+ i.current = 0, s(cr), u(!1), h.current = !1, H.reset(), k.reset(), M.reset(), y();
3536
+ }, P = async (T) => {
3566
3537
  try {
3567
- if (!x.current || l)
3538
+ if (!T.current || l)
3568
3539
  return;
3569
- const { videoWidth: $ } = x.current;
3570
- await F({ ref: x, frameSize: $, throttleInterval: 500 });
3540
+ const { videoWidth: N } = T.current;
3541
+ await $({ ref: T, frameSize: N, throttleInterval: 500 });
3571
3542
  } catch {
3572
3543
  }
3573
- }, M = async () => {
3544
+ }, x = async () => {
3574
3545
  try {
3575
3546
  await f();
3576
- } catch (x) {
3577
- const $ = x;
3578
- s($.message), c($);
3547
+ } catch (T) {
3548
+ const N = T;
3549
+ s(N.message), c(N);
3579
3550
  }
3580
3551
  };
3581
- return /* @__PURE__ */ h(
3582
- Pt,
3552
+ return /* @__PURE__ */ p(
3553
+ Nt,
3583
3554
  {
3584
3555
  instruction: {
3585
3556
  title: a,
@@ -3587,56 +3558,56 @@ function Wl(e) {
3587
3558
  },
3588
3559
  name: "motions",
3589
3560
  failed: g,
3590
- onReset: A,
3561
+ onReset: F,
3591
3562
  completed: l,
3592
3563
  onStart: async () => {
3593
- await M(), m();
3564
+ await x(), m();
3594
3565
  },
3595
- children: d ? /* @__PURE__ */ h(H, {}) : /* @__PURE__ */ h(Ft, { onStream: W, onRecord: _ })
3566
+ children: d ? /* @__PURE__ */ p(O, {}) : /* @__PURE__ */ p(rt, { onStream: P, onRecord: _ })
3596
3567
  }
3597
3568
  );
3598
3569
  }
3599
- const dr = "Keep face in camera";
3600
- function jl(e) {
3601
- const { difficulty: t, maxBlinks: n = 3, timeout: r } = e, [o, i] = k(dr), [a, s] = k(!1), [l, u] = k(null), d = w(!1), { requestDeviceOrientationPermission: c } = Mo(), { saveStream: p } = ve(), {
3570
+ const ur = "Keep face in camera";
3571
+ function Rl(e) {
3572
+ const { difficulty: t, maxBlinks: n = 3, timeout: r } = e, [o, i] = b(ur), [a, s] = b(!1), [l, u] = b(null), d = w(!1), { requestDeviceOrientationPermission: c } = Mo(), { saveStream: h } = ce(), {
3602
3573
  reset: f,
3603
3574
  start: _,
3604
3575
  stop: y,
3605
3576
  timedOut: m
3606
- } = Lt({ timeout: r }), v = () => {
3577
+ } = Pt({ timeout: r }), v = () => {
3607
3578
  s(!0), y();
3608
3579
  }, g = Fo({
3609
3580
  total: Math.floor(Math.random() * n + 1),
3610
3581
  difficulty: t,
3611
- onMessage: (F) => i(F),
3582
+ onMessage: ($) => i($),
3612
3583
  onComplete: v
3613
- }), { detectFaces: b } = Mt({
3614
- onFace: (F) => {
3615
- d.current || (d.current = !0), g.evaluate(F);
3584
+ }), { detectFaces: C } = ot({
3585
+ onFace: ($) => {
3586
+ d.current || (d.current = !0), g.evaluate($);
3616
3587
  },
3617
- onError: (F) => {
3618
- i(F);
3588
+ onError: ($) => {
3589
+ i($);
3619
3590
  }
3620
- }), C = () => {
3621
- i(dr), s(!1), d.current = !1, g.reset(), f();
3622
- }, E = async (F) => {
3591
+ }), k = () => {
3592
+ i(ur), s(!1), d.current = !1, g.reset(), f();
3593
+ }, M = async ($) => {
3623
3594
  try {
3624
- if (!F.current || a)
3595
+ if (!$.current || a)
3625
3596
  return;
3626
- const { videoWidth: A } = F.current;
3627
- await b({ ref: F, frameSize: A });
3597
+ const { videoWidth: F } = $.current;
3598
+ await C({ ref: $, frameSize: F });
3628
3599
  } catch {
3629
3600
  }
3630
- }, P = async () => {
3601
+ }, H = async () => {
3631
3602
  try {
3632
3603
  await c();
3633
- } catch (F) {
3634
- const A = F;
3635
- i(A.message), u(A);
3604
+ } catch ($) {
3605
+ const F = $;
3606
+ i(F.message), u(F);
3636
3607
  }
3637
3608
  };
3638
- return /* @__PURE__ */ h(
3639
- Pt,
3609
+ return /* @__PURE__ */ p(
3610
+ Nt,
3640
3611
  {
3641
3612
  instruction: {
3642
3613
  title: o,
@@ -3644,18 +3615,76 @@ function jl(e) {
3644
3615
  },
3645
3616
  name: "blink",
3646
3617
  failed: m,
3647
- onReset: C,
3618
+ onReset: k,
3648
3619
  completed: a,
3649
3620
  onStart: async () => {
3650
- await P(), _();
3621
+ await H(), _();
3651
3622
  },
3652
- children: l ? /* @__PURE__ */ h(H, {}) : /* @__PURE__ */ h(Ft, { onStream: E, onRecord: p })
3623
+ children: l ? /* @__PURE__ */ p(O, {}) : /* @__PURE__ */ p(rt, { onStream: M, onRecord: h })
3653
3624
  }
3654
3625
  );
3655
3626
  }
3656
- function Bl() {
3657
- var C;
3658
- const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Js(), {
3627
+ const Vl = "Detecting face...", Ul = "Position your face in the camera frame", Wl = "Taking picture, please stay still...", jl = "Image captured successfully!", Bl = "Perfect! Capturing in 1 second...";
3628
+ function zl(e) {
3629
+ const { onImageCaptured: t, onError: n } = e, [r, o] = b(Vl), [i, a] = b(!1), [s, l] = b(!1), [u, d] = b(!1), c = w(!1), { savePhoto: h } = ce(), f = w(null), _ = (v) => {
3630
+ u || c.current || (d(!0), o(Wl), h(v), setTimeout(() => {
3631
+ o(jl), setTimeout(() => {
3632
+ c.current || (c.current = !0, n && n(""), t());
3633
+ }, 1e3);
3634
+ }, 500));
3635
+ };
3636
+ I(
3637
+ () => () => {
3638
+ n && n("");
3639
+ },
3640
+ []
3641
+ );
3642
+ const { detectFaces: y } = ot({
3643
+ validations: ["zoom", "features"],
3644
+ onFace: (v) => {
3645
+ i || (a(!0), o(Ul));
3646
+ const { keypoints: g } = v, C = Math.sqrt(
3647
+ (g[145].x - g[159].x) ** 2 + (g[145].y - g[159].y) ** 2
3648
+ ), k = Math.sqrt(
3649
+ (g[374].x - g[386].x) ** 2 + (g[374].y - g[386].y) ** 2
3650
+ ), M = Math.sqrt(
3651
+ (g[33].x - g[133].x) ** 2 + (g[33].y - g[133].y) ** 2
3652
+ ), H = Math.sqrt(
3653
+ (g[362].x - g[263].x) ** 2 + (g[362].y - g[263].y) ** 2
3654
+ ), $ = C / M, F = k / H, P = 0.2, x = $ > P && F > P;
3655
+ x && !s ? (l(!0), o(Bl), f.current && _(f.current)) : !x && s && (l(!1), o("Please open your eyes wide to continue"));
3656
+ },
3657
+ onError: (v) => {
3658
+ o(v), n && n(v);
3659
+ }
3660
+ }), m = (v) => {
3661
+ try {
3662
+ if (!v.current || u)
3663
+ return;
3664
+ f.current = v.current;
3665
+ const { videoWidth: g } = v.current;
3666
+ y({ ref: v, frameSize: g });
3667
+ } catch {
3668
+ }
3669
+ };
3670
+ return /* @__PURE__ */ p("div", { className: X.root, children: /* @__PURE__ */ p("div", { className: `${X.container} view`, children: /* @__PURE__ */ p("div", { className: "yvlw-h-full yvlw-flex yvlw-flex-col", children: [
3671
+ /* @__PURE__ */ p("div", { className: "", children: /* @__PURE__ */ p(rt, { onStream: m, children: /* @__PURE__ */ p(O, { children: u && /* @__PURE__ */ p("div", { className: "yvlw-bg-black/20 yvlw-z-5" }) }) }) }),
3672
+ /* @__PURE__ */ p("div", { className: "yvlw-border-t dark:yvlw-border-gray-800 yvlw-border-gray-200", children: /* @__PURE__ */ p("div", { className: "yvlw-text-center yvlw-mx-auto yvlw-pt-4 yvlw-pb-6 yvlw-px-4", children: [
3673
+ /* @__PURE__ */ p("div", { className: X.instructions, children: [
3674
+ /* @__PURE__ */ p("h2", { children: r }),
3675
+ /* @__PURE__ */ p("p", { className: "subtext", children: "Position your face in the camera frame and open your eyes wide" })
3676
+ ] }),
3677
+ /* @__PURE__ */ p("div", { className: X.branding, children: [
3678
+ /* @__PURE__ */ p("span", { children: "Powered by" }),
3679
+ " ",
3680
+ /* @__PURE__ */ p($o, { size: "custom", className: "yvlw-h-3" })
3681
+ ] })
3682
+ ] }) })
3683
+ ] }) }) });
3684
+ }
3685
+ function ql() {
3686
+ var H;
3687
+ const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Qs(), {
3659
3688
  user: r,
3660
3689
  tasks: o,
3661
3690
  currentTaskIndex: i,
@@ -3663,46 +3692,46 @@ function Bl() {
3663
3692
  onComplete: s,
3664
3693
  faceDetector: l,
3665
3694
  presentation: u
3666
- } = ve(), [d, c] = k(!1), [p, f] = k(!1), [_, y] = k(null), [m, v] = k(!1);
3667
- D(() => {
3668
- const E = t();
3669
- n(E);
3695
+ } = ce(), [d, c] = b(!1), [h, f] = b(!1), [_, y] = b(null), [m, v] = b(!1), [g, C] = b(!1);
3696
+ I(() => {
3697
+ const $ = t();
3698
+ n($);
3670
3699
  }, []);
3671
- const g = async () => {
3700
+ const k = async () => {
3672
3701
  try {
3673
3702
  c(!0), y(null), await s(), u === "page" && v(!0);
3674
- } catch (E) {
3675
- y(E.message);
3703
+ } catch ($) {
3704
+ y($.message);
3676
3705
  } finally {
3677
3706
  c(!1);
3678
3707
  }
3679
- }, b = O(
3680
- (E) => E === i ? Y.active : i > E ? Y.completed : "subtext",
3708
+ }, M = D(
3709
+ ($) => $ === i ? K.active : i > $ ? K.completed : "subtext",
3681
3710
  [i]
3682
3711
  );
3683
- return /* @__PURE__ */ h("div", { className: Y.root, children: /* @__PURE__ */ h("div", { className: Y.container, children: [
3684
- /* @__PURE__ */ h("div", { className: `${Y.lhs} divider`, children: [
3685
- /* @__PURE__ */ h("div", { className: Y.info, children: [
3686
- /* @__PURE__ */ h(Qs, {}),
3687
- /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h("p", { className: "yvlw-text-xs yvlw-m-0 yvlw-p-0 subtext", children: "You have been given this set of tasks to complete. They are pretty easy to do but we will be guiding you every step of the way." }) }),
3688
- /* @__PURE__ */ h("ol", { children: [
3689
- o.map((E, P) => /* @__PURE__ */ h("li", { className: b(P), children: xo[E.id].name }, `task-${P}`)),
3690
- /* @__PURE__ */ h("li", { className: a ? Y.active : "", children: "Complete! 🎉" })
3712
+ return /* @__PURE__ */ p("div", { className: K.root, children: /* @__PURE__ */ p("div", { className: K.container, children: [
3713
+ /* @__PURE__ */ p("div", { className: `${K.lhs} divider`, children: [
3714
+ /* @__PURE__ */ p("div", { className: K.info, children: [
3715
+ /* @__PURE__ */ p(Xs, {}),
3716
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("p", { className: "yvlw-text-xs yvlw-m-0 yvlw-p-0 subtext", children: "You have been given this set of tasks to complete. They are pretty easy to do but we will be guiding you every step of the way." }) }),
3717
+ /* @__PURE__ */ p("ol", { children: [
3718
+ o.map(($, F) => /* @__PURE__ */ p("li", { className: M(F), children: So[$.id].name }, `task-${F}`)),
3719
+ /* @__PURE__ */ p("li", { className: a ? K.active : "", children: "Complete! 🎉" })
3691
3720
  ] })
3692
3721
  ] }),
3693
- /* @__PURE__ */ h("footer", { className: "divider", children: [
3694
- /* @__PURE__ */ h("div", { children: "Powered by Youverify" }),
3695
- /* @__PURE__ */ h("div", { onClick: () => e(), role: "button", children: [
3696
- /* @__PURE__ */ h("div", { className: "dark:yvlw-hidden", children: /* @__PURE__ */ h($o, {}) }),
3697
- /* @__PURE__ */ h("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ h(ws, {}) })
3722
+ /* @__PURE__ */ p("footer", { className: "divider", children: [
3723
+ /* @__PURE__ */ p("div", { children: "Powered by Youverify" }),
3724
+ /* @__PURE__ */ p("div", { onClick: () => e(), role: "button", children: [
3725
+ /* @__PURE__ */ p("div", { className: "dark:yvlw-hidden", children: /* @__PURE__ */ p(Eo, {}) }),
3726
+ /* @__PURE__ */ p("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ p(ws, {}) })
3698
3727
  ] })
3699
3728
  ] })
3700
3729
  ] }),
3701
- /* @__PURE__ */ h("div", { className: Y.main, children: /* @__PURE__ */ h("div", { className: Y.content, children: [
3702
- /* @__PURE__ */ h(
3703
- ie,
3730
+ /* @__PURE__ */ p("div", { className: K.main, children: /* @__PURE__ */ p("div", { className: K.content, children: [
3731
+ /* @__PURE__ */ p(
3732
+ oe,
3704
3733
  {
3705
- show: !p,
3734
+ show: !h,
3706
3735
  as: "div",
3707
3736
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
3708
3737
  leaveFrom: "yvlw-translate-y-0 yvlw-opacity-100",
@@ -3710,7 +3739,7 @@ function Bl() {
3710
3739
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3711
3740
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3712
3741
  className: "yvlw-h-full yvlw-w-full",
3713
- children: /* @__PURE__ */ h("div", { className: Y.completed, children: l ? /* @__PURE__ */ h(
3742
+ children: /* @__PURE__ */ p("div", { className: K.completed, children: l ? /* @__PURE__ */ p(
3714
3743
  Ge,
3715
3744
  {
3716
3745
  Icon: $s,
@@ -3719,32 +3748,54 @@ function Bl() {
3719
3748
  actionText: "Start Liveness Test",
3720
3749
  onActionClick: () => f(!0)
3721
3750
  }
3722
- ) : /* @__PURE__ */ h(So, { size: "lg" }) })
3751
+ ) : /* @__PURE__ */ p(xo, { size: "lg" }) })
3723
3752
  }
3724
3753
  ),
3725
- o.map((E, P) => {
3726
- let F;
3727
- switch (E.id) {
3754
+ /* @__PURE__ */ p(
3755
+ oe,
3756
+ {
3757
+ show: h && !g,
3758
+ as: "div",
3759
+ leave: "yvlw-transform yvlw-transition yvlw-duration-300",
3760
+ leaveFrom: "yvlw-translate-y-0 yvlw-opacity-100",
3761
+ leaveTo: "yvlw--translate-y-full yvlw-opacity-0",
3762
+ enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3763
+ enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3764
+ className: "yvlw-h-full yvlw-w-full",
3765
+ children: /* @__PURE__ */ p("div", { className: K.completed, children: /* @__PURE__ */ p(
3766
+ zl,
3767
+ {
3768
+ onImageCaptured: () => {
3769
+ y(null), C(!0);
3770
+ },
3771
+ onError: ($) => y($)
3772
+ }
3773
+ ) })
3774
+ }
3775
+ ),
3776
+ o.map(($, F) => {
3777
+ let P;
3778
+ switch ($.id) {
3728
3779
  case "complete-the-circle":
3729
- F = /* @__PURE__ */ h(Ml, { ...E });
3780
+ P = /* @__PURE__ */ p(Cl, { ...$ });
3730
3781
  break;
3731
3782
  case "yes-or-no":
3732
- F = /* @__PURE__ */ h(Hl, { ...E });
3783
+ P = /* @__PURE__ */ p(Ll, { ...$ });
3733
3784
  break;
3734
3785
  case "motions":
3735
- F = /* @__PURE__ */ h(Wl, { ...E });
3786
+ P = /* @__PURE__ */ p(Hl, { ...$ });
3736
3787
  break;
3737
3788
  case "blink":
3738
- F = /* @__PURE__ */ h(jl, { ...E });
3789
+ P = /* @__PURE__ */ p(Rl, { ...$ });
3739
3790
  break;
3740
3791
  default:
3741
- F = /* @__PURE__ */ h(H, {});
3792
+ P = /* @__PURE__ */ p(O, {});
3742
3793
  break;
3743
3794
  }
3744
- return /* @__PURE__ */ h(
3745
- ie,
3795
+ return /* @__PURE__ */ p(
3796
+ oe,
3746
3797
  {
3747
- show: p && !a && i === P,
3798
+ show: h && g && !a && i === F,
3748
3799
  appear: !0,
3749
3800
  as: "div",
3750
3801
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
@@ -3753,15 +3804,15 @@ function Bl() {
3753
3804
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3754
3805
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3755
3806
  className: "yvlw-h-full",
3756
- children: F
3807
+ children: P
3757
3808
  },
3758
- `task-${P}`
3809
+ `task-${F}`
3759
3810
  );
3760
3811
  }),
3761
- /* @__PURE__ */ h(
3762
- ie,
3812
+ /* @__PURE__ */ p(
3813
+ oe,
3763
3814
  {
3764
- show: p && a,
3815
+ show: h && a,
3765
3816
  as: "div",
3766
3817
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
3767
3818
  leaveFrom: "yvlw-translate-y-0 yvlw-opacity-100",
@@ -3769,7 +3820,7 @@ function Bl() {
3769
3820
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3770
3821
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3771
3822
  className: "yvlw-h-full yvlw-w-full",
3772
- children: /* @__PURE__ */ h("div", { className: Y.completed, children: /* @__PURE__ */ h(
3823
+ children: /* @__PURE__ */ p("div", { className: K.completed, children: /* @__PURE__ */ p(
3773
3824
  Ge,
3774
3825
  {
3775
3826
  Icon: Ts,
@@ -3777,31 +3828,31 @@ function Bl() {
3777
3828
  description: m ? "You can now close or exit the window" : "Your Identity verification has been completed successfully. Thanks for your patience",
3778
3829
  actionText: "Finish",
3779
3830
  loading: d,
3780
- onActionClick: g,
3831
+ onActionClick: k,
3781
3832
  hideButton: m,
3782
- children: _ && /* @__PURE__ */ h("div", { className: "yvlw-mt-3", children: _ })
3833
+ children: _ && /* @__PURE__ */ p("div", { className: "yvlw-mt-3", children: _ })
3783
3834
  }
3784
3835
  ) })
3785
3836
  }
3786
3837
  )
3787
3838
  ] }) }),
3788
- /* @__PURE__ */ h("div", { className: `${Y.rhs} divider`, children: r && /* @__PURE__ */ h("div", { className: `${Y.profile} divider`, children: [
3789
- /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h("div", { className: Y.avatar, children: [
3839
+ /* @__PURE__ */ p("div", { className: `${K.rhs} divider`, children: r && /* @__PURE__ */ p("div", { className: `${K.profile} divider`, children: [
3840
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("div", { className: K.avatar, children: [
3790
3841
  r.firstName.charAt(0).toUpperCase(),
3791
- (C = r.lastName) == null ? void 0 : C.charAt(0).toUpperCase()
3842
+ (H = r.lastName) == null ? void 0 : H.charAt(0).toUpperCase()
3792
3843
  ] }) }),
3793
- /* @__PURE__ */ h("div", { children: [
3794
- /* @__PURE__ */ h("h4", { children: [
3844
+ /* @__PURE__ */ p("div", { children: [
3845
+ /* @__PURE__ */ p("h4", { children: [
3795
3846
  r.firstName,
3796
3847
  " ",
3797
3848
  r.lastName
3798
3849
  ] }),
3799
- r.email && /* @__PURE__ */ h("p", { className: "subtext", children: r.email })
3850
+ r.email && /* @__PURE__ */ p("p", { className: "subtext", children: r.email })
3800
3851
  ] })
3801
3852
  ] }) })
3802
3853
  ] }) });
3803
3854
  }
3804
- function zl(e) {
3855
+ function Yl(e) {
3805
3856
  const {
3806
3857
  tasks: t,
3807
3858
  namespace: n,
@@ -3815,11 +3866,11 @@ function zl(e) {
3815
3866
  publicKey: u,
3816
3867
  metadata: d,
3817
3868
  sandboxEnvironment: c
3818
- } = e, [p, f] = k(e.show), _ = () => {
3869
+ } = e, [h, f] = b(e.show), _ = () => {
3819
3870
  f(!1), i();
3820
3871
  };
3821
- return /* @__PURE__ */ h(
3822
- Os,
3872
+ return /* @__PURE__ */ p(
3873
+ Ds,
3823
3874
  {
3824
3875
  namespace: n,
3825
3876
  publicKey: u,
@@ -3832,28 +3883,28 @@ function zl(e) {
3832
3883
  metadata: d,
3833
3884
  presentation: l,
3834
3885
  sandboxEnvironment: c,
3835
- children: /* @__PURE__ */ h(
3886
+ children: /* @__PURE__ */ p(
3836
3887
  fs,
3837
3888
  {
3838
3889
  id: n,
3839
- open: l === "page" ? !0 : p,
3890
+ open: l === "page" ? !0 : h,
3840
3891
  onClose: _,
3841
3892
  transition: !0,
3842
- className: `${gs.root} ${at.root} ${at[l]}`,
3893
+ className: `${gs.root} ${lt.root} ${lt[l]}`,
3843
3894
  style: {
3844
- "--branding-color": (o == null ? void 0 : o.color) ?? Ds
3895
+ "--branding-color": (o == null ? void 0 : o.color) ?? Is
3845
3896
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3846
3897
  },
3847
3898
  children: [
3848
- l === "modal" && /* @__PURE__ */ h("div", { onClick: _, role: "button", className: at.close, children: /* @__PURE__ */ h(xs, { className: "yvlw-text-white" }) }),
3849
- /* @__PURE__ */ h(Eo, { className: `${at.container}`, children: /* @__PURE__ */ h(Bl, {}) })
3899
+ l === "modal" && /* @__PURE__ */ p("div", { onClick: _, role: "button", className: lt.close, children: /* @__PURE__ */ p(Ss, { className: "yvlw-text-white" }) }),
3900
+ /* @__PURE__ */ p(bo, { className: `${lt.container}`, children: /* @__PURE__ */ p(ql, {}) })
3850
3901
  ]
3851
3902
  }
3852
3903
  )
3853
3904
  }
3854
3905
  );
3855
3906
  }
3856
- class Yl {
3907
+ class Zl {
3857
3908
  constructor(t) {
3858
3909
  this.tasks = [], this.container = null, this.namespace = "liveness-web-sdk";
3859
3910
  const { presentation: n = "modal" } = t;
@@ -3868,9 +3919,9 @@ class Yl {
3868
3919
  throw new Error("First Name is required when User object is supplied");
3869
3920
  }
3870
3921
  async start(t) {
3871
- t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), De(
3872
- /* @__PURE__ */ h(
3873
- zl,
3922
+ t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Ie(
3923
+ /* @__PURE__ */ p(
3924
+ Yl,
3874
3925
  {
3875
3926
  namespace: this.namespace,
3876
3927
  publicKey: this.props.publicKey,
@@ -3898,5 +3949,5 @@ class Yl {
3898
3949
  }
3899
3950
  }
3900
3951
  export {
3901
- Yl as default
3952
+ Zl as default
3902
3953
  };