youverify-liveness-web 0.1.3 → 0.1.5

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,6 +1,6 @@
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{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,: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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.static{position:static}.absolute{position:absolute}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-full{height:100%}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.-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))}.-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))}.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))}.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))}.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))}.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))}.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))}.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))}.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))}.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.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)))}.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)))}.border-t{border-top-width:1px}.p-0{padding:0}.text-xs{font-size:.75rem;line-height:1rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.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}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.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\\:block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_13n5b_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;height:100vh;width:100vw;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_13n5b_1[data-closed]{opacity:0}._root_13n5b_1._modal_13n5b_9{background-color:#0000004d}@media (min-width: 768px){._root_13n5b_1._modal_13n5b_9{padding:1rem}._root_13n5b_1._modal_13n5b_9 ._container_13n5b_12{border-radius:.75rem}._root_13n5b_1._page_13n5b_15{padding:0}}._root_13n5b_1 ._close_13n5b_18{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_13n5b_1 ._close_13n5b_18 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_13n5b_1 ._close_13n5b_18 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_13n5b_1 ._container_13n5b_12{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_13n5b_1 ._container_13n5b_12: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_dndkf_1{height:100%}._root_dndkf_1 ._container_dndkf_4{display:flex;height:100%}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{display:flex}}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{padding-top:.75rem;padding-bottom:.75rem}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11{padding-left:1.5rem;padding-right:1.5rem}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:before{content:counter(item);flex-shrink:0}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_32{font-weight:500}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_39{font-weight:500;text-decoration-line:line-through}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:last-child:after{content:none}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{display:none;width:20%}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{display:block}}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81{flex:1 1 0%}@media (min-width: 768px){._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81{padding-top:1rem;padding-bottom:1rem}}._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_84{max-width:500px}._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._completed_dndkf_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_1w5nq_1{position:relative;height:100%;width:100%}._root_1w5nq_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_1ap2u_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_1ap2u_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_1ap2u_1{z-index:1}._container_1ap2u_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_1ap2u_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_1ap2u_1:before{transition:opacity .3s linear}._container_1ap2u_1._focused_1ap2u_12:before{opacity:1}._container_1ap2u_1 ._progress_1ap2u_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_1ap2u_1 ._progress_1ap2u_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_1ap2u_1 ._progress_1ap2u_15 div._completed_1ap2u_36{width:20px;background-color:#07da63}._container_1ap2u_1 ._marker_1ap2u_40{position:relative;width:280px;height:280px}._container_1ap2u_1 ._marker_1ap2u_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_1ap2u_1 ._marker_1ap2u_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_13gis_1{height:100%;text-align:center}._root_13gis_1 ._container_13gis_4{position:relative;height:100%}._root_13gis_1 ._container_13gis_4 ._progress_13gis_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_13gis_1 ._container_13gis_4 ._intro_13gis_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_13gis_1 ._container_13gis_4 ._content_13gis_15{height:75%;width:100%}._root_13gis_1 ._container_13gis_4 ._branding_13gis_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_13gis_1 ._container_13gis_4 ._branding_13gis_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_13gis_1 ._container_13gis_4 ._instructions_13gis_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_13gis_1 ._container_13gis_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_13gis_1 ._container_13gis_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_13gis_1 ._container_13gis_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_13gis_1 ._container_13gis_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_13gis_1 ._container_13gis_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_39czk_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_39czk_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_39czk_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_39czk_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_39czk_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_39czk_1 button ._spinner_39czk_18{height:100%;width:100%;border-radius:50%;border-width:2px;height:1rem;width:1rem;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_39czk_18 .7s linear infinite}@keyframes _spin_39czk_18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_39czk_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_39czk_1 button:hover ._spinner_39czk_18{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._root_gcbg2_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_gcbg2_1 ._sticker_gcbg2_4{position:absolute}._root_gcbg2_1 ._sticker_gcbg2_4._no_gcbg2_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_gcbg2_1 ._sticker_gcbg2_4._yes_gcbg2_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(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- var Ye, T, tr, he, $n, nr, Dt, Jt, Ht, At, rr, Be = {}, or = [], yo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ft = Array.isArray;
3
- function te(e, t) {
1
+ (function(){"use strict";(function(e,r){try{if(typeof document<"u"){const t=document.createElement("style");for(const o in r.attributes)t.setAttribute(o,r.attributes[o]);t.appendChild(document.createTextNode(e)),document.head.prepend(t)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})('@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: }.static{position:static}.absolute{position:absolute}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-full{height:100%}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.-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))}.-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))}.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))}.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))}.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))}.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))}.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))}.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))}.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))}.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.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)))}.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)))}.p-0{padding:0}.text-xs{font-size:.75rem;line-height:1rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.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}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.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\\:block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1jvth_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_1jvth_1[data-closed]{opacity:0}._root_1jvth_1._modal_1jvth_10{background-color:#0000004d}@media (min-width: 768px){._root_1jvth_1._modal_1jvth_10{padding:1rem}._root_1jvth_1._modal_1jvth_10 ._container_1jvth_13{border-radius:.75rem}._root_1jvth_1._page_1jvth_16{padding:0}}._root_1jvth_1 ._close_1jvth_19{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_1jvth_1 ._close_1jvth_19 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1jvth_1 ._close_1jvth_19 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_1jvth_1 ._container_1jvth_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_1jvth_1 ._container_1jvth_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_dndkf_1{height:100%}._root_dndkf_1 ._container_dndkf_4{display:flex;height:100%}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{display:flex}}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7{padding-top:.75rem;padding-bottom:.75rem}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11{padding-left:1.5rem;padding-right:1.5rem}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:before{content:counter(item);flex-shrink:0}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_32{font-weight:500}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._active_dndkf_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_39{font-weight:500;text-decoration-line:line-through}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li._completed_dndkf_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_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_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 ._info_dndkf_11 ol li:last-child:after{content:none}._root_dndkf_1 ._container_dndkf_4 ._lhs_dndkf_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{display:none;width:20%}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62{display:block}}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 ._avatar_dndkf_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_62 ._profile_dndkf_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._rhs_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81{flex:1 1 0%}@media (min-width: 768px){._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81{padding-top:1rem;padding-bottom:1rem}}._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_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_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._content_dndkf_84{max-width:500px}._root_dndkf_1 ._container_dndkf_4 ._main_dndkf_81 ._completed_dndkf_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_1w5nq_1{position:relative;height:100%;width:100%}._root_1w5nq_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_1ap2u_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_1ap2u_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_1ap2u_1{z-index:1}._container_1ap2u_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_1ap2u_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_1ap2u_1:before{transition:opacity .3s linear}._container_1ap2u_1._focused_1ap2u_12:before{opacity:1}._container_1ap2u_1 ._progress_1ap2u_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_1ap2u_1 ._progress_1ap2u_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_1ap2u_1 ._progress_1ap2u_15 div._completed_1ap2u_36{width:20px;background-color:#07da63}._container_1ap2u_1 ._marker_1ap2u_40{position:relative;width:280px;height:280px}._container_1ap2u_1 ._marker_1ap2u_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_1ap2u_1 ._marker_1ap2u_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_1ap2u_1 ._marker_1ap2u_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_182pz_1{height:100%;text-align:center}._root_182pz_1 ._container_182pz_4{position:relative;height:100%}._root_182pz_1 ._container_182pz_4 ._progress_182pz_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_182pz_1 ._container_182pz_4 ._intro_182pz_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_182pz_1 ._container_182pz_4 ._content_182pz_15{height:75%;width:100%}._root_182pz_1 ._container_182pz_4 ._branding_182pz_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_182pz_1 ._container_182pz_4 ._branding_182pz_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_182pz_1 ._container_182pz_4 ._instructionsContainer_182pz_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_182pz_1 ._container_182pz_4 ._instructionsContainer_182pz_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_182pz_1 ._container_182pz_4 ._instructions_182pz_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_182pz_1 ._container_182pz_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_182pz_1 ._container_182pz_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_182pz_1 ._container_182pz_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_182pz_1 ._container_182pz_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_182pz_1 ._container_182pz_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_39czk_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_39czk_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_39czk_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_39czk_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_39czk_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_39czk_1 button ._spinner_39czk_18{height:100%;width:100%;border-radius:50%;border-width:2px;height:1rem;width:1rem;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_39czk_18 .7s linear infinite}@keyframes _spin_39czk_18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_39czk_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_39czk_1 button:hover ._spinner_39czk_18{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._root_gcbg2_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_gcbg2_1 ._sticker_gcbg2_4{position:absolute}._root_gcbg2_1 ._sticker_gcbg2_4._no_gcbg2_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_gcbg2_1 ._sticker_gcbg2_4._yes_gcbg2_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)}',{})})();
2
+ var Ye, T, tr, he, En, nr, Dt, Jt, Ht, At, rr, Be = {}, or = [], yo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ft = Array.isArray;
3
+ function ne(e, t) {
4
4
  for (var n in t) e[n] = t[n];
5
5
  return e;
6
6
  }
@@ -43,11 +43,11 @@ function ar(e) {
43
43
  }
44
44
  }
45
45
  function Ot(e) {
46
- (!e.__d && (e.__d = !0) && he.push(e) && !it.__r++ || $n !== T.debounceRendering) && (($n = T.debounceRendering) || nr)(it);
46
+ (!e.__d && (e.__d = !0) && he.push(e) && !it.__r++ || En !== T.debounceRendering) && ((En = T.debounceRendering) || nr)(it);
47
47
  }
48
48
  function it() {
49
49
  var e, t, n, r, o, i, a, s;
50
- for (he.sort(Dt); e = he.shift(); ) e.__d && (t = he.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = te({}, o)).__v = o.__v + 1, T.vnode && T.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? be(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, cr(a, r, s), r.__e != i && ar(r)), he.length > t && he.sort(Dt));
50
+ for (he.sort(Dt); e = he.shift(); ) e.__d && (t = he.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = ne({}, o)).__v = o.__v + 1, T.vnode && T.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? be(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, cr(a, r, s), r.__e != i && ar(r)), he.length > t && he.sort(Dt));
51
51
  it.__r = 0;
52
52
  }
53
53
  function sr(e, t, n, r, o, i, a, s, l, u, d) {
@@ -72,9 +72,9 @@ function lr(e, t, n) {
72
72
  while (t != null && t.nodeType === 8);
73
73
  return t;
74
74
  }
75
- function ne(e, t) {
75
+ function re(e, t) {
76
76
  return t = t || [], e == null || typeof e == "boolean" || (ft(e) ? e.some(function(n) {
77
- ne(n, t);
77
+ re(n, t);
78
78
  }) : t.push(e)), t;
79
79
  }
80
80
  function wo(e, t, n, r) {
@@ -124,16 +124,16 @@ function Tn(e) {
124
124
  };
125
125
  }
126
126
  function tn(e, t, n, r, o, i, a, s, l, u) {
127
- var d, c, p, f, m, g, v, h, y, C, w, E, F, A, L, x, M = t.type;
127
+ var d, c, p, f, m, g, v, h, y, C, w, $, F, A, L, x, M = 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 = T.__b) && d(t);
130
130
  e: if (typeof M == "function") try {
131
- if (h = t.props, y = "prototype" in M && M.prototype.render, C = (d = M.contextType) && r[d.__c], w = d ? C ? C.props.value : d.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (y ? t.__c = c = new M(h, w) : (t.__c = c = new Z(h, w), c.constructor = M, c.render = $o), C && C.sub(c), c.props = h, c.state || (c.state = {}), c.context = w, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), y && c.__s == null && (c.__s = c.state), y && M.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = te({}, c.__s)), te(c.__s, M.getDerivedStateFromProps(h, c.__s))), f = c.props, m = c.state, c.__v = t, p) y && M.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), y && c.componentDidMount != null && c.__h.push(c.componentDidMount);
131
+ if (h = t.props, y = "prototype" in M && M.prototype.render, C = (d = M.contextType) && r[d.__c], w = d ? C ? C.props.value : d.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (y ? t.__c = c = new M(h, w) : (t.__c = c = new Z(h, w), c.constructor = M, c.render = Eo), C && C.sub(c), c.props = h, c.state || (c.state = {}), c.context = w, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), y && c.__s == null && (c.__s = c.state), y && M.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ne({}, c.__s)), ne(c.__s, M.getDerivedStateFromProps(h, c.__s))), f = c.props, m = c.state, c.__v = t, p) y && M.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), y && c.componentDidMount != null && c.__h.push(c.componentDidMount);
132
132
  else {
133
133
  if (y && M.getDerivedStateFromProps == null && h !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(h, w), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(h, c.__s, w) === !1 || t.__v === n.__v)) {
134
134
  for (t.__v !== n.__v && (c.props = h, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(U) {
135
135
  U && (U.__ = t);
136
- }), E = 0; E < c._sb.length; E++) c.__h.push(c._sb[E]);
136
+ }), $ = 0; $ < c._sb.length; $++) c.__h.push(c._sb[$]);
137
137
  c._sb = [], c.__h.length && a.push(c);
138
138
  break e;
139
139
  }
@@ -147,7 +147,7 @@ function tn(e, t, n, r, o, i, a, s, l, u) {
147
147
  } else do
148
148
  c.__d = !1, F && F(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
149
149
  while (c.__d && ++A < 25);
150
- c.state = c.__s, c.getChildContext != null && (r = te(te({}, r), c.getChildContext())), y && !p && c.getSnapshotBeforeUpdate != null && (g = c.getSnapshotBeforeUpdate(f, m)), sr(e, ft(x = d != null && d.type === H && d.key == null ? d.props.children : d) ? x : [x], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
150
+ c.state = c.__s, c.getChildContext != null && (r = ne(ne({}, r), c.getChildContext())), y && !p && c.getSnapshotBeforeUpdate != null && (g = c.getSnapshotBeforeUpdate(f, m)), sr(e, ft(x = d != null && d.type === H && d.key == null ? d.props.children : d) ? x : [x], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
151
151
  } catch (U) {
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;
@@ -155,7 +155,7 @@ function tn(e, t, n, r, o, i, a, s, l, u) {
155
155
  } else t.__e = n.__e, t.__k = n.__k;
156
156
  T.__e(U, t, n);
157
157
  }
158
- else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Eo(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 = $o(n.__e, t, n, r, o, i, a, l, u);
159
159
  (d = T.diffed) && d(t);
160
160
  }
161
161
  function cr(e, t, n) {
@@ -171,7 +171,7 @@ function cr(e, t, n) {
171
171
  }
172
172
  });
173
173
  }
174
- function Eo(e, t, n, r, o, i, a, s, l) {
174
+ function $o(e, t, n, r, o, i, a, s, l) {
175
175
  var u, d, c, p, f, m, g, v = n.props, h = t.props, y = t.type;
176
176
  if (y === "svg" ? o = "http://www.w3.org/2000/svg" : y === "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 == !!y && (y ? f.localName === y : f.nodeType === 3)) {
@@ -223,7 +223,7 @@ function It(e, t, n) {
223
223
  if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && It(r[o], t, n || typeof e.type != "function");
224
224
  n || e.__e == null || ir(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
225
225
  }
226
- function $o(e, t, n) {
226
+ function Eo(e, t, n) {
227
227
  return this.constructor(e, n);
228
228
  }
229
229
  function Pe(e, t, n) {
@@ -234,7 +234,7 @@ function ur(e, t) {
234
234
  Pe(e, t, ur);
235
235
  }
236
236
  function Co(e, t, n) {
237
- var r, o, i, a, s = te({}, e.props);
237
+ var r, o, i, a, s = ne({}, 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 ? Ye.call(arguments, 2) : n), Ve(e.type, s, r || e.key, o || e.ref, null);
240
240
  }
@@ -270,7 +270,7 @@ Ye = or.slice, T = { __e: function(e, t, n, r) {
270
270
  throw e;
271
271
  } }, tr = 0, Z.prototype.setState = function(e, t) {
272
272
  var n;
273
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = te({}, this.state), typeof e == "function" && (e = e(te({}, n), this.props)), e && te(n, e), e != null && this.__v && (t && this._sb.push(t), Ot(this));
273
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ne({}, this.state), typeof e == "function" && (e = e(ne({}, n), this.props)), e && ne(n, e), e != null && this.__v && (t && this._sb.push(t), Ot(this));
274
274
  }, Z.prototype.forceUpdate = function(e) {
275
275
  this.__v && (this.__e = !0, e && this.__h.push(e), Ot(this));
276
276
  }, Z.prototype.render = H, he = [], nr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Dt = function(e, t) {
@@ -285,8 +285,8 @@ function _(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 T.vnode && T.vnode(u), u;
287
287
  }
288
- var ie, P, kt, kn, Le = 0, dr = [], O = T, Fn = O.__b, Sn = O.__r, xn = O.diffed, Pn = O.__c, Ln = O.unmount, Mn = O.__;
289
- function Ee(e, t) {
288
+ var ae, P, kt, kn, Le = 0, dr = [], O = T, Fn = O.__b, Sn = O.__r, xn = O.diffed, Pn = O.__c, Ln = O.unmount, Mn = O.__;
289
+ function $e(e, t) {
290
290
  O.__h && O.__h(P, e, Le || t), Le = 0;
291
291
  var n = P.__H || (P.__H = { __: [], __h: [] });
292
292
  return e >= n.__.length && n.__.push({}), n.__[e];
@@ -295,7 +295,7 @@ function k(e) {
295
295
  return Le = 1, qe(fr, e);
296
296
  }
297
297
  function qe(e, t, n) {
298
- var r = Ee(ie++, 2);
298
+ var r = $e(ae++, 2);
299
299
  if (r.t = e, !r.__c && (r.__ = [n ? n(t) : fr(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({}));
@@ -329,11 +329,11 @@ function qe(e, t, n) {
329
329
  return r.__N || r.__;
330
330
  }
331
331
  function N(e, t) {
332
- var n = Ee(ie++, 3);
332
+ var n = $e(ae++, 3);
333
333
  !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__H.__h.push(n));
334
334
  }
335
- function $e(e, t) {
336
- var n = Ee(ie++, 4);
335
+ function Ee(e, t) {
336
+ var n = $e(ae++, 4);
337
337
  !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__h.push(n));
338
338
  }
339
339
  function b(e) {
@@ -342,7 +342,7 @@ function b(e) {
342
342
  }, []);
343
343
  }
344
344
  function rn(e, t, n) {
345
- Le = 6, $e(function() {
345
+ Le = 6, Ee(function() {
346
346
  return typeof e == "function" ? (e(t()), function() {
347
347
  return e(null);
348
348
  }) : e ? (e.current = t(), function() {
@@ -351,7 +351,7 @@ function rn(e, t, n) {
351
351
  }, n == null ? n : n.concat(e));
352
352
  }
353
353
  function S(e, t) {
354
- var n = Ee(ie++, 7);
354
+ var n = $e(ae++, 7);
355
355
  return an(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
356
356
  }
357
357
  function I(e, t) {
@@ -359,15 +359,15 @@ function I(e, t) {
359
359
  return e;
360
360
  }, t);
361
361
  }
362
- function W(e) {
363
- var t = P.context[e.__c], n = Ee(ie++, 9);
362
+ function j(e) {
363
+ var t = P.context[e.__c], n = $e(ae++, 9);
364
364
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(P)), t.props.value) : e.__;
365
365
  }
366
366
  function on(e, t) {
367
367
  O.useDebugValue && O.useDebugValue(t ? t(e) : e);
368
368
  }
369
369
  function ko(e) {
370
- var t = Ee(ie++, 10), n = k();
370
+ var t = $e(ae++, 10), n = k();
371
371
  return t.__ = e, P.componentDidCatch || (P.componentDidCatch = function(r, o) {
372
372
  t.__ && t.__(r, o), n[1](r);
373
373
  }), [n[0], function() {
@@ -375,7 +375,7 @@ function ko(e) {
375
375
  }];
376
376
  }
377
377
  function fe() {
378
- var e = Ee(ie++, 11);
378
+ var e = $e(ae++, 11);
379
379
  if (!e.__) {
380
380
  for (var t = P.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
381
381
  var n = t.__m || (t.__m = [0, 0]);
@@ -395,11 +395,11 @@ O.__b = function(e) {
395
395
  }, O.__ = function(e, t) {
396
396
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Mn && Mn(e, t);
397
397
  }, O.__r = function(e) {
398
- Sn && Sn(e), ie = 0;
398
+ Sn && Sn(e), ae = 0;
399
399
  var t = (P = e.__c).__H;
400
400
  t && (kt === P ? (t.__h = [], P.__h = [], t.__.forEach(function(n) {
401
401
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
402
- })) : (t.__h.forEach(ot), t.__h.forEach(Rt), t.__h = [], ie = 0)), kt = P;
402
+ })) : (t.__h.forEach(ot), t.__h.forEach(Rt), t.__h = [], ae = 0)), kt = P;
403
403
  }, O.diffed = function(e) {
404
404
  xn && xn(e);
405
405
  var t = e.__c;
@@ -490,14 +490,14 @@ function sn(e) {
490
490
  return t.$$typeof = xo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
491
491
  }
492
492
  var Hn = function(e, t) {
493
- return e == null ? null : ne(ne(e).map(t));
493
+ return e == null ? null : re(re(e).map(t));
494
494
  }, hr = { map: Hn, forEach: Hn, count: function(e) {
495
- return e ? ne(e).length : 0;
495
+ return e ? re(e).length : 0;
496
496
  }, only: function(e) {
497
- var t = ne(e);
497
+ var t = re(e);
498
498
  if (t.length !== 1) throw "Children.only";
499
499
  return t[0];
500
- }, toArray: ne }, Po = T.__e;
500
+ }, toArray: re }, Po = T.__e;
501
501
  T.__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);
@@ -614,7 +614,7 @@ function pt(e, t) {
614
614
  };
615
615
  }, xe.prototype.render = function(e) {
616
616
  this.u = null, this.o = /* @__PURE__ */ new Map();
617
- var t = ne(e.children);
617
+ var t = re(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;
@@ -630,7 +630,7 @@ var br = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 601
630
630
  function wr(e, t, n) {
631
631
  return t.__k == null && (t.textContent = ""), Pe(e, t), typeof n == "function" && n(), e ? e.__c : null;
632
632
  }
633
- function Er(e, t, n) {
633
+ function $r(e, t, n) {
634
634
  return ur(e, t), typeof n == "function" && n(), e ? e.__c : null;
635
635
  }
636
636
  Z.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
@@ -665,9 +665,9 @@ T.vnode = function(e) {
665
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" || Oo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" : Do.test(i) ? i = s : r.indexOf("-") === -1 && No.test(i) ? i = i.replace(Ho, "-$&").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 = ne(n.children).forEach(function(l) {
668
+ r == "select" && o.multiple && Array.isArray(o.value) && (o.value = re(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 = ne(n.children).forEach(function(l) {
670
+ })), r == "select" && o.defaultValue != null && (o.value = re(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", Uo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
673
673
  }(e), e.$$typeof = br, Rn && Rn(e);
@@ -682,9 +682,9 @@ T.diffed = function(e) {
682
682
  var t = e.props, n = e.__e;
683
683
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), ln = null;
684
684
  };
685
- var $r = { ReactCurrentDispatcher: { current: { readContext: function(e) {
685
+ var Er = { ReactCurrentDispatcher: { current: { readContext: function(e) {
686
686
  return ln.__n[e.__c].props.value;
687
- }, useCallback: I, useContext: W, useDebugValue: on, useDeferredValue: dn, useEffect: N, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: $e, useMemo: S, useReducer: qe, useRef: b, useState: k, useSyncExternalStore: _t, useTransition: fn } } }, Wo = "17.0.2";
687
+ }, useCallback: I, useContext: j, useDebugValue: on, useDeferredValue: dn, useEffect: N, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: Ee, useMemo: S, useReducer: qe, useRef: b, useState: k, useSyncExternalStore: _t, useTransition: fn } } }, jo = "17.0.2";
688
688
  function Cr(e) {
689
689
  return X.bind(null, e);
690
690
  }
@@ -720,10 +720,10 @@ function dn(e) {
720
720
  function fn() {
721
721
  return [!1, un];
722
722
  }
723
- var pn = $e, Mr = Ne;
723
+ var pn = Ee, Mr = Ne;
724
724
  function _t(e, t) {
725
725
  var n = t(), r = k({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
726
- return $e(function() {
726
+ return Ee(function() {
727
727
  o.__ = n, o.v = t, Ft(o) && i({ h: o });
728
728
  }, [e, n, t]), N(function() {
729
729
  return Ft(o) && i({ h: o }), e(function() {
@@ -740,8 +740,8 @@ function Ft(e) {
740
740
  return !0;
741
741
  }
742
742
  }
743
- var $ = { useState: k, useId: fe, useReducer: qe, useEffect: N, useLayoutEffect: $e, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: b, useImperativeHandle: rn, useMemo: S, useCallback: I, useContext: W, useDebugValue: on, version: "17.0.2", Children: hr, render: wr, hydrate: Er, unmountComponentAtNode: Fr, createPortal: pt, createElement: X, createContext: Y, createFactory: Cr, cloneElement: cn, createRef: en, Fragment: H, isValidElement: Ne, isElement: Mr, isFragment: Tr, isMemo: kr, findDOMNode: Sr, Component: Z, PureComponent: at, memo: _r, forwardRef: sn, flushSync: Pr, unstable_batchedUpdates: xr, StrictMode: Lr, Suspense: Ue, SuspenseList: xe, lazy: yr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r };
744
- const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
743
+ var E = { useState: k, useId: fe, useReducer: qe, useEffect: N, useLayoutEffect: Ee, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: b, useImperativeHandle: rn, useMemo: S, useCallback: I, useContext: j, useDebugValue: on, version: "17.0.2", Children: hr, render: wr, hydrate: $r, unmountComponentAtNode: Fr, createPortal: pt, createElement: X, createContext: Y, createFactory: Cr, cloneElement: cn, createRef: en, Fragment: H, isValidElement: Ne, isElement: Mr, isFragment: Tr, isMemo: kr, findDOMNode: Sr, Component: Z, PureComponent: at, memo: _r, forwardRef: sn, flushSync: Pr, unstable_batchedUpdates: xr, StrictMode: Lr, Suspense: Ue, SuspenseList: xe, lazy: yr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Er };
744
+ const jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
745
  __proto__: null,
746
746
  Children: hr,
747
747
  Component: Z,
@@ -750,18 +750,18 @@ const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
750
750
  StrictMode: Lr,
751
751
  Suspense: Ue,
752
752
  SuspenseList: xe,
753
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r,
753
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Er,
754
754
  cloneElement: cn,
755
755
  createContext: Y,
756
756
  createElement: X,
757
757
  createFactory: Cr,
758
758
  createPortal: pt,
759
759
  createRef: en,
760
- default: $,
760
+ default: E,
761
761
  findDOMNode: Sr,
762
762
  flushSync: Pr,
763
763
  forwardRef: sn,
764
- hydrate: Er,
764
+ hydrate: $r,
765
765
  isElement: Mr,
766
766
  isFragment: Tr,
767
767
  isMemo: kr,
@@ -773,7 +773,7 @@ const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
773
773
  unmountComponentAtNode: Fr,
774
774
  unstable_batchedUpdates: xr,
775
775
  useCallback: I,
776
- useContext: W,
776
+ useContext: j,
777
777
  useDebugValue: on,
778
778
  useDeferredValue: dn,
779
779
  useEffect: N,
@@ -781,17 +781,17 @@ const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
781
781
  useId: fe,
782
782
  useImperativeHandle: rn,
783
783
  useInsertionEffect: pn,
784
- useLayoutEffect: $e,
784
+ useLayoutEffect: Ee,
785
785
  useMemo: S,
786
786
  useReducer: qe,
787
787
  useRef: b,
788
788
  useState: k,
789
789
  useSyncExternalStore: _t,
790
790
  useTransition: fn,
791
- version: Wo
792
- }, Symbol.toStringTag, { value: "Module" })), Nr = typeof document < "u" ? $.useLayoutEffect : () => {
791
+ version: jo
792
+ }, Symbol.toStringTag, { value: "Module" })), Nr = typeof document < "u" ? E.useLayoutEffect : () => {
793
793
  };
794
- function jo(e) {
794
+ function Wo(e) {
795
795
  const t = b(null);
796
796
  return Nr(() => {
797
797
  t.current = e;
@@ -853,7 +853,7 @@ function Dr(e) {
853
853
  r.observer && (r.observer.disconnect(), r.observer = null);
854
854
  };
855
855
  }, []);
856
- let n = jo((r) => {
856
+ let n = Wo((r) => {
857
857
  e == null || e(r);
858
858
  });
859
859
  return I((r) => {
@@ -910,7 +910,7 @@ function Zo(e) {
910
910
  }
911
911
  };
912
912
  }
913
- let Ge = null, Ut = /* @__PURE__ */ new Set(), We = /* @__PURE__ */ new Map(), we = !1, Wt = !1;
913
+ let Ge = null, Ut = /* @__PURE__ */ new Set(), je = /* @__PURE__ */ new Map(), we = !1, jt = !1;
914
914
  const Xo = {
915
915
  Tab: !0,
916
916
  Escape: !0
@@ -931,13 +931,13 @@ function Hr(e) {
931
931
  Ko(e) && (we = !0, Ge = "virtual");
932
932
  }
933
933
  function Ar(e) {
934
- e.target === window || e.target === document || (!we && !Wt && (Ge = "virtual", _n("virtual", e)), we = !1, Wt = !1);
934
+ e.target === window || e.target === document || (!we && !jt && (Ge = "virtual", _n("virtual", e)), we = !1, jt = !1);
935
935
  }
936
936
  function Or() {
937
- we = !1, Wt = !0;
937
+ we = !1, jt = !0;
938
938
  }
939
- function jt(e) {
940
- if (typeof window > "u" || We.get(ve(e))) return;
939
+ function Wt(e) {
940
+ if (typeof window > "u" || je.get(ve(e))) return;
941
941
  const t = ve(e), n = Ke(e);
942
942
  let r = t.HTMLElement.prototype.focus;
943
943
  t.HTMLElement.prototype.focus = function() {
@@ -946,19 +946,19 @@ function jt(e) {
946
946
  Ir(e);
947
947
  }, {
948
948
  once: !0
949
- }), We.set(t, {
949
+ }), je.set(t, {
950
950
  focus: r
951
951
  });
952
952
  }
953
953
  const Ir = (e, t) => {
954
954
  const n = ve(e), r = Ke(e);
955
- t && r.removeEventListener("DOMContentLoaded", t), We.has(n) && (n.HTMLElement.prototype.focus = We.get(n).focus, r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", Hr, !0), n.removeEventListener("focus", Ar, !0), n.removeEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", K, !0), r.removeEventListener("pointermove", K, !0), r.removeEventListener("pointerup", K, !0)) : (r.removeEventListener("mousedown", K, !0), r.removeEventListener("mousemove", K, !0), r.removeEventListener("mouseup", K, !0)), We.delete(n));
955
+ t && r.removeEventListener("DOMContentLoaded", t), je.has(n) && (n.HTMLElement.prototype.focus = je.get(n).focus, r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", Hr, !0), n.removeEventListener("focus", Ar, !0), n.removeEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", K, !0), r.removeEventListener("pointermove", K, !0), r.removeEventListener("pointerup", K, !0)) : (r.removeEventListener("mousedown", K, !0), r.removeEventListener("mousemove", K, !0), r.removeEventListener("mouseup", K, !0)), je.delete(n));
956
956
  };
957
957
  function Jo(e) {
958
958
  const t = Ke(e);
959
959
  let n;
960
- return t.readyState !== "loading" ? jt(e) : (n = () => {
961
- jt(e);
960
+ return t.readyState !== "loading" ? Wt(e) : (n = () => {
961
+ Wt(e);
962
962
  }, t.addEventListener("DOMContentLoaded", n)), () => Ir(e, n);
963
963
  }
964
964
  typeof document < "u" && Jo();
@@ -982,7 +982,7 @@ function ti(e, t, n) {
982
982
  return e = e || (n == null ? void 0 : n.target) instanceof o && !ei.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 && !Xo[n.key]);
983
983
  }
984
984
  function ni(e, t, n) {
985
- jt(), N(() => {
985
+ Wt(), N(() => {
986
986
  let r = (o, i) => {
987
987
  ti(!!(n != null && n.isTextInput), o, i) && e(Rr());
988
988
  };
@@ -1026,13 +1026,13 @@ function zt() {
1026
1026
  lt = !1;
1027
1027
  }, 50);
1028
1028
  }
1029
- function jn(e) {
1029
+ function Wn(e) {
1030
1030
  e.pointerType === "touch" && zt();
1031
1031
  }
1032
1032
  function oi() {
1033
1033
  if (!(typeof document > "u"))
1034
- return typeof PointerEvent < "u" ? document.addEventListener("pointerup", jn) : document.addEventListener("touchend", zt), St++, () => {
1035
- St--, !(St > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", jn) : document.removeEventListener("touchend", zt));
1034
+ return typeof PointerEvent < "u" ? document.addEventListener("pointerup", Wn) : document.addEventListener("touchend", zt), St++, () => {
1035
+ St--, !(St > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Wn) : document.removeEventListener("touchend", zt));
1036
1036
  };
1037
1037
  }
1038
1038
  function ii(e) {
@@ -1200,18 +1200,18 @@ function vt() {
1200
1200
  let [e] = k(pe);
1201
1201
  return N(() => () => e.dispose(), [e]), e;
1202
1202
  }
1203
- let j = (e, t) => {
1204
- ye.isServer ? N(e, t) : $e(e, t);
1203
+ let W = (e, t) => {
1204
+ ye.isServer ? N(e, t) : Ee(e, t);
1205
1205
  };
1206
1206
  function Ce(e) {
1207
1207
  let t = b(e);
1208
- return j(() => {
1208
+ return W(() => {
1209
1209
  t.current = e;
1210
1210
  }, [e]), t;
1211
1211
  }
1212
1212
  let D = function(e) {
1213
1213
  let t = Ce(e);
1214
- return $.useCallback((...n) => t.current(...n), [t]);
1214
+ return E.useCallback((...n) => t.current(...n), [t]);
1215
1215
  };
1216
1216
  function ui(e) {
1217
1217
  let t = e.width / 2, n = e.height / 2;
@@ -1241,7 +1241,7 @@ function fi({ disabled: e = !1 } = {}) {
1241
1241
  }
1242
1242
  let pi = Y(void 0);
1243
1243
  function Vr() {
1244
- return W(pi);
1244
+ return j(pi);
1245
1245
  }
1246
1246
  function Bt(...e) {
1247
1247
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
@@ -1360,15 +1360,15 @@ function bi(e, t) {
1360
1360
  return q({ ourProps: i, theirProps: o, slot: {}, defaultTag: yi, name: "Hidden" });
1361
1361
  }
1362
1362
  let Yt = z(bi), wi = Y(null);
1363
- function Ei({ children: e }) {
1364
- let t = W(wi);
1365
- if (!t) return $.createElement($.Fragment, null, e);
1363
+ function $i({ children: e }) {
1364
+ let t = j(wi);
1365
+ if (!t) return E.createElement(E.Fragment, null, e);
1366
1366
  let { target: n } = t;
1367
- return n ? pt($.createElement($.Fragment, null, e), n) : null;
1367
+ return n ? pt(E.createElement(E.Fragment, null, e), n) : null;
1368
1368
  }
1369
- let Wr = Symbol();
1370
- function $i(e, t = !0) {
1371
- return Object.assign(e, { [Wr]: t });
1369
+ let jr = Symbol();
1370
+ function Ei(e, t = !0) {
1371
+ return Object.assign(e, { [jr]: t });
1372
1372
  }
1373
1373
  function J(...e) {
1374
1374
  let t = b(e);
@@ -1378,15 +1378,15 @@ function J(...e) {
1378
1378
  let n = D((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[Wr])) ? void 0 : n;
1381
+ return e.every((r) => r == null || (r == null ? void 0 : r[jr])) ? void 0 : n;
1382
1382
  }
1383
1383
  let hn = Y(null);
1384
1384
  hn.displayName = "DescriptionContext";
1385
- function jr() {
1386
- let e = W(hn);
1385
+ function Wr() {
1386
+ let e = j(hn);
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, jr), t;
1389
+ throw Error.captureStackTrace && Error.captureStackTrace(t, Wr), t;
1390
1390
  }
1391
1391
  return e;
1392
1392
  }
@@ -1397,13 +1397,13 @@ function Ci() {
1397
1397
  let s = a.slice(), l = s.indexOf(i);
1398
1398
  return l !== -1 && s.splice(l, 1), s;
1399
1399
  }))), o = S(() => ({ 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 $.createElement(hn.Provider, { value: o }, n.children);
1400
+ return E.createElement(hn.Provider, { value: o }, n.children);
1401
1401
  }, [t])];
1402
1402
  }
1403
1403
  let Ti = "p";
1404
1404
  function ki(e, t) {
1405
- let n = fe(), r = Vr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = jr(), s = J(t);
1406
- j(() => a.register(o), [o, a.register]);
1405
+ let n = fe(), r = Vr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = Wr(), s = J(t);
1406
+ W(() => a.register(o), [o, a.register]);
1407
1407
  let l = r || !1, u = S(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
1408
1408
  return q({ ourProps: d, theirProps: i, slot: u, defaultTag: Ti, name: a.name || "Description" });
1409
1409
  }
@@ -1412,7 +1412,7 @@ var zr = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backs
1412
1412
  let xi = Y(() => {
1413
1413
  });
1414
1414
  function Pi({ value: e, children: t }) {
1415
- return $.createElement(xi.Provider, { value: e }, t);
1415
+ return E.createElement(xi.Provider, { value: e }, t);
1416
1416
  }
1417
1417
  let Li = class extends Map {
1418
1418
  constructor(t) {
@@ -1447,28 +1447,28 @@ let Mi = new Li(() => Br(() => [], { ADD(e) {
1447
1447
  } }));
1448
1448
  function De(e, t) {
1449
1449
  let n = Mi.get(t), r = fe(), o = Yr(n);
1450
- if (j(() => {
1450
+ if (W(() => {
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 qt = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
1456
+ let qt = /* @__PURE__ */ new Map(), We = /* @__PURE__ */ new Map();
1457
1457
  function zn(e) {
1458
1458
  var t;
1459
- let n = (t = je.get(e)) != null ? t : 0;
1460
- return je.set(e, n + 1), n !== 0 ? () => Bn(e) : (qt.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Bn(e));
1459
+ let n = (t = We.get(e)) != null ? t : 0;
1460
+ return We.set(e, n + 1), n !== 0 ? () => Bn(e) : (qt.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Bn(e));
1461
1461
  }
1462
1462
  function Bn(e) {
1463
1463
  var t;
1464
- let n = (t = je.get(e)) != null ? t : 1;
1465
- if (n === 1 ? je.delete(e) : je.set(e, n - 1), n !== 1) return;
1464
+ let n = (t = We.get(e)) != null ? t : 1;
1465
+ if (n === 1 ? We.delete(e) : We.set(e, n - 1), n !== 1) return;
1466
1466
  let r = qt.get(e);
1467
1467
  r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, qt.delete(e));
1468
1468
  }
1469
1469
  function Ni(e, { allowed: t, disallowed: n } = {}) {
1470
1470
  let r = De(e, "inert-others");
1471
- j(() => {
1471
+ W(() => {
1472
1472
  var o, i;
1473
1473
  if (!r) return;
1474
1474
  let a = pe();
@@ -1509,7 +1509,7 @@ function qr(e, t, n) {
1509
1509
  }, [t, r, e]);
1510
1510
  }
1511
1511
  let Kt = ["[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(","), Di = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
- var ee = ((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))(ee || {}), Gt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Gt || {}), Hi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Hi || {});
1512
+ var te = ((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))(te || {}), Gt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Gt || {}), Hi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Hi || {});
1513
1513
  function Ai(e = document.body) {
1514
1514
  return e == null ? [] : Array.from(e.querySelectorAll(Kt)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1515
1515
  }
@@ -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 re(e) {
1539
+ function oe(e) {
1540
1540
  e == null || e.focus({ preventScroll: !0 });
1541
1541
  }
1542
1542
  let Vi = ["textarea", "input"].join(",");
@@ -1544,7 +1544,7 @@ function Ui(e) {
1544
1544
  var t, n;
1545
1545
  return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Vi)) != null ? n : !1;
1546
1546
  }
1547
- function Wi(e, t = (n) => n) {
1547
+ function ji(e, t = (n) => n) {
1548
1548
  return e.slice().sort((n, r) => {
1549
1549
  let o = t(n), i = t(r);
1550
1550
  if (o === null || i === null) return 0;
@@ -1553,7 +1553,7 @@ function Wi(e, t = (n) => n) {
1553
1553
  });
1554
1554
  }
1555
1555
  function ze(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1556
- let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Wi(e) : e : t & 64 ? Oi(e) : Ai(e);
1556
+ let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? ji(e) : e : t & 64 ? Oi(e) : Ai(e);
1557
1557
  o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((m) => m != null && "current" in m ? (m == null ? void 0 : m.current) === f : m === f))), r = r ?? i.activeElement;
1558
1558
  let s = (() => {
1559
1559
  if (t & 5) return 1;
@@ -1581,11 +1581,11 @@ function ze(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1581
1581
  function Gr() {
1582
1582
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
1583
1583
  }
1584
- function ji() {
1584
+ function Wi() {
1585
1585
  return /Android/gi.test(window.navigator.userAgent);
1586
1586
  }
1587
1587
  function zi() {
1588
- return Gr() || ji();
1588
+ return Gr() || Wi();
1589
1589
  }
1590
1590
  function Oe(e, t, n, r) {
1591
1591
  let o = Ce(n);
@@ -1742,7 +1742,7 @@ ge.subscribe(() => {
1742
1742
  });
1743
1743
  function Zi(e, t, n = () => ({ containers: [] })) {
1744
1744
  let r = Yr(ge), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1745
- return j(() => {
1745
+ return W(() => {
1746
1746
  if (!(!t || !e)) return ge.dispatch("PUSH", t, n), () => ge.dispatch("POP", t, n);
1747
1747
  }, [e, t]), i;
1748
1748
  }
@@ -1771,7 +1771,7 @@ function ta(e) {
1771
1771
  }
1772
1772
  function na(e, t, n, r) {
1773
1773
  let [o, i] = k(n), { hasFlag: a, addFlag: s, removeFlag: l } = Ji(e && o ? 3 : 0), u = b(!1), d = b(!1), c = vt();
1774
- return j(function p() {
1774
+ return W(function p() {
1775
1775
  var f;
1776
1776
  if (!e) return;
1777
1777
  n && i(!0);
@@ -1838,13 +1838,13 @@ let gt = Y(null);
1838
1838
  gt.displayName = "OpenClosedContext";
1839
1839
  var G = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(G || {});
1840
1840
  function yt() {
1841
- return W(gt);
1841
+ return j(gt);
1842
1842
  }
1843
1843
  function aa({ value: e, children: t }) {
1844
- return $.createElement(gt.Provider, { value: e }, t);
1844
+ return E.createElement(gt.Provider, { value: e }, t);
1845
1845
  }
1846
1846
  function sa({ children: e }) {
1847
- return $.createElement(gt.Provider, { value: null }, e);
1847
+ return E.createElement(gt.Provider, { value: null }, e);
1848
1848
  }
1849
1849
  function la(e) {
1850
1850
  function t() {
@@ -1869,7 +1869,7 @@ function Qr(e) {
1869
1869
  }
1870
1870
  function ca() {
1871
1871
  let e = typeof document > "u";
1872
- return "useSyncExternalStore" in Wn ? ((t) => t.useSyncExternalStore)(Wn)(() => () => {
1872
+ return "useSyncExternalStore" in jn ? ((t) => t.useSyncExternalStore)(jn)(() => () => {
1873
1873
  }, () => !1, () => !e) : !1;
1874
1874
  }
1875
1875
  function Xe() {
@@ -1880,13 +1880,13 @@ function Xe() {
1880
1880
  }
1881
1881
  let Jr = Y(!1);
1882
1882
  function ua() {
1883
- return W(Jr);
1883
+ return j(Jr);
1884
1884
  }
1885
1885
  function qn(e) {
1886
- return $.createElement(Jr.Provider, { value: e.force }, e.children);
1886
+ return E.createElement(Jr.Provider, { value: e.force }, e.children);
1887
1887
  }
1888
1888
  function da(e) {
1889
- let t = ua(), n = W(to), r = Ze(e), [o, i] = k(() => {
1889
+ let t = ua(), n = j(to), r = Ze(e), [o, i] = k(() => {
1890
1890
  var a;
1891
1891
  if (!t && n !== null) return (a = n.current) != null ? a : null;
1892
1892
  if (ye.isServer) return null;
@@ -1903,15 +1903,15 @@ function da(e) {
1903
1903
  }, [n, i, t]), o;
1904
1904
  }
1905
1905
  let eo = H, fa = z(function(e, t) {
1906
- let n = e, r = b(null), o = J($i((d) => {
1906
+ let n = e, r = b(null), o = J(Ei((d) => {
1907
1907
  r.current = d;
1908
1908
  }), t), i = Ze(r), a = da(r), [s] = k(() => {
1909
1909
  var d;
1910
1910
  return ye.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1911
- }), l = W(Zt), u = Xe();
1912
- return j(() => {
1911
+ }), l = j(Zt), u = Xe();
1912
+ return W(() => {
1913
1913
  !a || !s || a.contains(s) || (s.setAttribute("data-headlessui-portal", ""), a.appendChild(s));
1914
- }, [a, s]), j(() => {
1914
+ }, [a, s]), W(() => {
1915
1915
  if (s && l) return l.register(s);
1916
1916
  }, [l, s]), Qr(() => {
1917
1917
  var d;
@@ -1920,21 +1920,21 @@ let eo = H, fa = z(function(e, t) {
1920
1920
  });
1921
1921
  function pa(e, t) {
1922
1922
  let n = J(t), { enabled: r = !0, ...o } = e;
1923
- return r ? $.createElement(fa, { ...o, ref: n }) : q({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: eo, name: "Portal" });
1923
+ return r ? E.createElement(fa, { ...o, ref: n }) : q({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: eo, name: "Portal" });
1924
1924
  }
1925
1925
  let _a = H, to = Y(null);
1926
1926
  function ha(e, t) {
1927
1927
  let { target: n, ...r } = e, o = { ref: J(t) };
1928
- return $.createElement(to.Provider, { value: n }, q({ ourProps: o, theirProps: r, defaultTag: _a, name: "Popover.Group" }));
1928
+ return E.createElement(to.Provider, { value: n }, q({ ourProps: o, theirProps: r, defaultTag: _a, name: "Popover.Group" }));
1929
1929
  }
1930
1930
  let Zt = Y(null);
1931
1931
  function ma() {
1932
- let e = W(Zt), t = b([]), n = D((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = D((i) => {
1932
+ let e = j(Zt), t = b([]), n = D((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = D((i) => {
1933
1933
  let a = t.current.indexOf(i);
1934
1934
  a !== -1 && t.current.splice(a, 1), e && e.unregister(i);
1935
1935
  }), o = S(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
1936
  return [t, S(() => function({ children: i }) {
1937
- return $.createElement(Zt.Provider, { value: o }, i);
1937
+ return E.createElement(Zt.Provider, { value: o }, i);
1938
1938
  }, [o])];
1939
1939
  }
1940
1940
  let va = z(pa), no = z(ha), ga = Object.assign(va, { Group: no });
@@ -1947,7 +1947,7 @@ function ya(e, t = typeof document < "u" ? document.defaultView : null, n) {
1947
1947
  function ba() {
1948
1948
  var e;
1949
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 j(() => {
1950
+ return W(() => {
1951
1951
  if (!t) return;
1952
1952
  function o(i) {
1953
1953
  r(i.matches);
@@ -1966,17 +1966,17 @@ function wa({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {})
1966
1966
  return d;
1967
1967
  });
1968
1968
  return { resolveContainers: a, contains: D((s) => a().some((l) => l.contains(s))), mainTreeNodeRef: o, MainTreeNode: S(() => function() {
1969
- return n != null ? null : $.createElement(Yt, { features: ut.Hidden, ref: o });
1969
+ return n != null ? null : E.createElement(Yt, { features: ut.Hidden, ref: o });
1970
1970
  }, [o, n]) };
1971
1971
  }
1972
1972
  function vn() {
1973
1973
  let e = b(!1);
1974
- return j(() => (e.current = !0, () => {
1974
+ return W(() => (e.current = !0, () => {
1975
1975
  e.current = !1;
1976
1976
  }), []), e;
1977
1977
  }
1978
1978
  var Re = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Re || {});
1979
- function Ea() {
1979
+ function $a() {
1980
1980
  let e = b(0);
1981
1981
  return Zr(!0, "keydown", (t) => {
1982
1982
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
@@ -1989,7 +1989,7 @@ function ro(e) {
1989
1989
  for (let n of e.current) n.current instanceof HTMLElement && t.add(n.current);
1990
1990
  return t;
1991
1991
  }
1992
- let $a = "div";
1992
+ let Ea = "div";
1993
1993
  var me = ((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))(me || {});
1994
1994
  function Ca(e, t) {
1995
1995
  let n = b(null), r = J(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: s = 15, ...l } = e;
@@ -1998,13 +1998,13 @@ function Ca(e, t) {
1998
1998
  Sa(s, { ownerDocument: u });
1999
1999
  let d = xa(s, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
2000
  Pa(s, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
- let c = Ea(), p = D((h) => {
2001
+ let c = $a(), p = D((h) => {
2002
2002
  let y = n.current;
2003
2003
  y && ((C) => C())(() => {
2004
2004
  de(c.current, { [Re.Forwards]: () => {
2005
- ze(y, ee.First, { skipElements: [h.relatedTarget, i] });
2005
+ ze(y, te.First, { skipElements: [h.relatedTarget, i] });
2006
2006
  }, [Re.Backwards]: () => {
2007
- ze(y, ee.Last, { skipElements: [h.relatedTarget, i] });
2007
+ ze(y, te.Last, { skipElements: [h.relatedTarget, i] });
2008
2008
  } });
2009
2009
  });
2010
2010
  }), f = De(!!(s & 2), "focus-trap#tab-lock"), m = vt(), g = b(!1), v = { ref: r, onKeyDown(h) {
@@ -2016,9 +2016,9 @@ function Ca(e, t) {
2016
2016
  let y = ro(a);
2017
2017
  n.current instanceof HTMLElement && y.add(n.current);
2018
2018
  let C = h.relatedTarget;
2019
- C instanceof HTMLElement && C.dataset.headlessuiFocusGuard !== "true" && (oo(y, C) || (g.current ? ze(n.current, de(c.current, { [Re.Forwards]: () => ee.Next, [Re.Backwards]: () => ee.Previous }) | ee.WrapAround, { relativeTo: h.target }) : h.target instanceof HTMLElement && re(h.target)));
2019
+ C instanceof HTMLElement && C.dataset.headlessuiFocusGuard !== "true" && (oo(y, C) || (g.current ? ze(n.current, de(c.current, { [Re.Forwards]: () => te.Next, [Re.Backwards]: () => te.Previous }) | te.WrapAround, { relativeTo: h.target }) : h.target instanceof HTMLElement && oe(h.target)));
2020
2020
  } };
2021
- return $.createElement($.Fragment, null, f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: ut.Focusable }), q({ ourProps: v, theirProps: l, defaultTag: $a, name: "FocusTrap" }), f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: ut.Focusable }));
2021
+ return E.createElement(E.Fragment, null, f && E.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: ut.Focusable }), q({ ourProps: v, theirProps: l, defaultTag: Ea, name: "FocusTrap" }), f && E.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: ut.Focusable }));
2022
2022
  }
2023
2023
  let Ta = z(Ca), ka = Object.assign(Ta, { features: me });
2024
2024
  function Fa(e = !0) {
@@ -2035,9 +2035,9 @@ function Fa(e = !0) {
2035
2035
  function Sa(e, { ownerDocument: t }) {
2036
2036
  let n = !!(e & 8), r = Fa(n);
2037
2037
  mn(() => {
2038
- n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && re(r());
2038
+ n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && oe(r());
2039
2039
  }, [n]), Qr(() => {
2040
- n && re(r());
2040
+ n && oe(r());
2041
2041
  });
2042
2042
  }
2043
2043
  function xa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
@@ -2045,7 +2045,7 @@ function xa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2045
2045
  return mn(() => {
2046
2046
  if (e === 0) return;
2047
2047
  if (!a) {
2048
- o != null && o.current && re(o.current);
2048
+ o != null && o.current && oe(o.current);
2049
2049
  return;
2050
2050
  }
2051
2051
  let l = n.current;
@@ -2061,12 +2061,12 @@ function xa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2061
2061
  i.current = u;
2062
2062
  return;
2063
2063
  }
2064
- if (r != null && r.current) re(r.current);
2064
+ if (r != null && r.current) oe(r.current);
2065
2065
  else {
2066
2066
  if (e & 16) {
2067
- if (ze(l, ee.First | ee.AutoFocus) !== Gt.Error) return;
2068
- } else if (ze(l, ee.First) !== Gt.Error) return;
2069
- if (o != null && o.current && (re(o.current), (t == null ? void 0 : t.activeElement) === o.current)) return;
2067
+ if (ze(l, te.First | te.AutoFocus) !== Gt.Error) return;
2068
+ } else if (ze(l, te.First) !== Gt.Error) return;
2069
+ if (o != null && o.current && (oe(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;
@@ -2082,7 +2082,7 @@ function Pa(e, { ownerDocument: t, container: n, containers: r, previousActiveEl
2082
2082
  let u = o.current;
2083
2083
  if (!u) return;
2084
2084
  let d = s.target;
2085
- d && d instanceof HTMLElement ? oo(l, d) ? (o.current = d, re(d)) : (s.preventDefault(), s.stopPropagation(), re(u)) : re(o.current);
2085
+ d && d instanceof HTMLElement ? oo(l, d) ? (o.current = d, oe(d)) : (s.preventDefault(), s.stopPropagation(), oe(u)) : oe(o.current);
2086
2086
  }, !0);
2087
2087
  }
2088
2088
  function oo(e, t) {
@@ -2091,25 +2091,25 @@ function oo(e, t) {
2091
2091
  }
2092
2092
  function io(e) {
2093
2093
  var t;
2094
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : so) !== H || $.Children.count(e.children) === 1;
2094
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : so) !== H || E.Children.count(e.children) === 1;
2095
2095
  }
2096
2096
  let bt = Y(null);
2097
2097
  bt.displayName = "TransitionContext";
2098
2098
  var La = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(La || {});
2099
2099
  function Ma() {
2100
- let e = W(bt);
2100
+ let e = j(bt);
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
2104
  function Na() {
2105
- let e = W(wt);
2105
+ let e = j(wt);
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
2109
  let wt = Y(null);
2110
2110
  wt.displayName = "NestingContext";
2111
- function Et(e) {
2112
- return "children" in e ? Et(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2111
+ function $t(e) {
2112
+ return "children" in e ? $t(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2113
2113
  }
2114
2114
  function ao(e, t) {
2115
2115
  let n = Ce(e), r = b([]), o = vn(), i = vt(), a = D((f, m = ue.Hidden) => {
@@ -2120,7 +2120,7 @@ function ao(e, t) {
2120
2120
  r.current[g].state = "hidden";
2121
2121
  } }), i.microTask(() => {
2122
2122
  var v;
2123
- !Et(r) && o.current && ((v = n.current) == null || v.call(n));
2123
+ !$t(r) && o.current && ((v = n.current) == null || v.call(n));
2124
2124
  }));
2125
2125
  }), s = D((f) => {
2126
2126
  let m = r.current.find(({ el: g }) => g === f);
@@ -2142,21 +2142,21 @@ function ao(e, t) {
2142
2142
  let so = H, lo = ct.RenderStrategy;
2143
2143
  function Da(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: m, leaveTo: g, ...v } = e, h = b(null), y = io(e), C = J(...y ? [h, t] : t === null ? [] : [t]), w = (n = v.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: E, appear: F, initial: A } = Ma(), [L, x] = k(E ? "visible" : "hidden"), M = Na(), { register: U, unregister: Q } = M;
2146
- j(() => U(h), [U, h]), j(() => {
2145
+ let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: m, leaveTo: g, ...v } = e, h = b(null), y = io(e), C = J(...y ? [h, t] : t === null ? [] : [t]), w = (n = v.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: $, appear: F, initial: A } = Ma(), [L, x] = k($ ? "visible" : "hidden"), M = Na(), { register: U, unregister: Q } = M;
2146
+ W(() => U(h), [U, h]), W(() => {
2147
2147
  if (w === ue.Hidden && h.current) {
2148
- if (E && L !== "visible") {
2148
+ if ($ && L !== "visible") {
2149
2149
  x("visible");
2150
2150
  return;
2151
2151
  }
2152
2152
  return de(L, { hidden: () => Q(h), visible: () => U(h) });
2153
2153
  }
2154
- }, [L, h, U, Q, E, w]);
2154
+ }, [L, h, U, Q, $, w]);
2155
2155
  let ke = Xe();
2156
- j(() => {
2156
+ W(() => {
2157
2157
  if (y && ke && L === "visible" && h.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
2158
  }, [h, L, ke, y]);
2159
- let Ct = A && !F, Qe = F && E && A, Fe = b(!1), Se = ao(() => {
2159
+ let Ct = A && !F, Qe = F && $ && A, Fe = b(!1), Se = ao(() => {
2160
2160
  Fe.current || (x("hidden"), Q(h));
2161
2161
  }, M), Je = D((Tt) => {
2162
2162
  Fe.current = !0;
@@ -2164,17 +2164,17 @@ function Da(e, t) {
2164
2164
  Se.onStart(h, et, (Ae) => {
2165
2165
  Ae === "enter" ? i == null || i() : Ae === "leave" && (s == null || s());
2166
2166
  });
2167
- }), se = D((Tt) => {
2167
+ }), le = D((Tt) => {
2168
2168
  let et = Tt ? "enter" : "leave";
2169
2169
  Fe.current = !1, Se.onStop(h, et, (Ae) => {
2170
2170
  Ae === "enter" ? a == null || a() : Ae === "leave" && (l == null || l());
2171
- }), et === "leave" && !Et(Se) && (x("hidden"), Q(h));
2171
+ }), et === "leave" && !$t(Se) && (x("hidden"), Q(h));
2172
2172
  });
2173
2173
  N(() => {
2174
- y && o || (Je(E), se(E));
2175
- }, [E, y, o]);
2176
- let V = !(!o || !y || !ke || Ct), [, R] = na(V, h, E, { start: Je, end: se }), go = _e({ ref: C, className: ((r = Bt(v.className, Qe && u, Qe && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && m, R.leave && R.closed && g, !R.transition && E && p)) == null ? void 0 : r.trim()) || void 0, ...ta(R) }), He = 0;
2177
- return L === "visible" && (He |= G.Open), L === "hidden" && (He |= G.Closed), R.enter && (He |= G.Opening), R.leave && (He |= G.Closing), $.createElement(wt.Provider, { value: Se }, $.createElement(aa, { value: He }, q({ ourProps: go, theirProps: v, defaultTag: so, features: lo, visible: L === "visible", name: "Transition.Child" })));
2174
+ y && o || (Je($), le($));
2175
+ }, [$, y, o]);
2176
+ let V = !(!o || !y || !ke || Ct), [, R] = na(V, h, $, { start: Je, end: le }), go = _e({ ref: C, className: ((r = Bt(v.className, Qe && u, Qe && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && m, R.leave && R.closed && g, !R.transition && $ && p)) == null ? void 0 : r.trim()) || void 0, ...ta(R) }), He = 0;
2177
+ return L === "visible" && (He |= G.Open), L === "hidden" && (He |= G.Closed), R.enter && (He |= G.Opening), R.leave && (He |= G.Closing), E.createElement(wt.Provider, { value: Se }, E.createElement(aa, { value: He }, q({ ourProps: go, theirProps: v, defaultTag: so, features: lo, visible: L === "visible", name: "Transition.Child" })));
2178
2178
  }
2179
2179
  function Ha(e, t) {
2180
2180
  let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = b(null), s = io(e), l = J(...s ? [a, t] : t === null ? [] : [t]);
@@ -2184,12 +2184,12 @@ function Ha(e, t) {
2184
2184
  let [d, c] = k(n ? "visible" : "hidden"), p = ao(() => {
2185
2185
  n || c("hidden");
2186
2186
  }), [f, m] = k(!0), g = b([n]);
2187
- j(() => {
2187
+ W(() => {
2188
2188
  f !== !1 && g.current[g.current.length - 1] !== n && (g.current.push(n), m(!1));
2189
2189
  }, [g, n]);
2190
2190
  let v = S(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2191
- qr(n, a, () => c("hidden")), j(() => {
2192
- n ? c("visible") : !Et(p) && a.current !== null && c("hidden");
2191
+ qr(n, a, () => c("hidden")), W(() => {
2192
+ n ? c("visible") : !$t(p) && a.current !== null && c("hidden");
2193
2193
  }, [n, p]);
2194
2194
  let h = { unmount: o }, y = D(() => {
2195
2195
  var w;
@@ -2198,23 +2198,23 @@ function Ha(e, t) {
2198
2198
  var w;
2199
2199
  f && m(!1), (w = e.beforeLeave) == null || w.call(e);
2200
2200
  });
2201
- return $.createElement(wt.Provider, { value: p }, $.createElement(bt.Provider, { value: v }, q({ ourProps: { ...h, as: H, children: $.createElement(co, { ref: l, ...h, ...i, beforeEnter: y, beforeLeave: C }) }, theirProps: {}, defaultTag: H, features: lo, visible: d === "visible", name: "Transition" })));
2201
+ return E.createElement(wt.Provider, { value: p }, E.createElement(bt.Provider, { value: v }, q({ ourProps: { ...h, as: H, children: E.createElement(co, { ref: l, ...h, ...i, beforeEnter: y, beforeLeave: C }) }, theirProps: {}, defaultTag: H, features: lo, visible: d === "visible", name: "Transition" })));
2202
2202
  }
2203
2203
  function Aa(e, t) {
2204
- let n = W(bt) !== null, r = yt() !== null;
2205
- return $.createElement($.Fragment, null, !n && r ? $.createElement(Xt, { ref: t, ...e }) : $.createElement(co, { ref: t, ...e }));
2204
+ let n = j(bt) !== null, r = yt() !== null;
2205
+ return E.createElement(E.Fragment, null, !n && r ? E.createElement(Xt, { ref: t, ...e }) : E.createElement(co, { ref: t, ...e }));
2206
2206
  }
2207
- let Xt = z(Ha), co = z(Da), gn = z(Aa), oe = Object.assign(Xt, { Child: gn, Root: Xt });
2207
+ let Xt = z(Ha), co = z(Da), gn = z(Aa), ie = Object.assign(Xt, { Child: gn, Root: Xt });
2208
2208
  var Oa = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Oa || {}), Ia = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Ia || {});
2209
2209
  let Ra = { 0(e, t) {
2210
2210
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
2211
2211
  } }, yn = Y(null);
2212
2212
  yn.displayName = "DialogContext";
2213
- function $t(e) {
2214
- let t = W(yn);
2213
+ function Et(e) {
2214
+ let t = j(yn);
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, $t), n;
2217
+ throw Error.captureStackTrace && Error.captureStackTrace(n, Et), n;
2218
2218
  }
2219
2219
  return t;
2220
2220
  }
@@ -2228,62 +2228,64 @@ let Kn = z(function(e, t) {
2228
2228
  }();
2229
2229
  let p = yt();
2230
2230
  o === void 0 && p !== null && (o = (p & G.Open) === G.Open);
2231
- let f = b(null), m = J(f, t), g = Ze(f), v = o ? 0 : 1, [h, y] = qe(Va, { titleId: null, descriptionId: null, panelRef: en() }), C = D(() => i(!1)), w = D((V) => y({ type: 0, id: V })), E = Xe() ? v === 0 : !1, [F, A] = ma(), L = { get current() {
2231
+ let f = b(null), m = J(f, t), g = Ze(f), v = o ? 0 : 1, [h, y] = qe(Va, { titleId: null, descriptionId: null, panelRef: en() }), C = D(() => i(!1)), w = D((V) => y({ type: 0, id: V })), $ = Xe() ? v === 0 : !1, [F, A] = ma(), L = { get current() {
2232
2232
  var V;
2233
2233
  return (V = h.panelRef.current) != null ? V : f.current;
2234
2234
  } }, { resolveContainers: x, mainTreeNodeRef: M, MainTreeNode: U } = wa({ portals: F, defaultContainers: [L] }), Q = p !== null ? (p & G.Closing) === G.Closing : !1;
2235
- Ni(u || Q ? !1 : E, { allowed: D(() => {
2235
+ Ni(u || Q ? !1 : $, { allowed: D(() => {
2236
2236
  var V, R;
2237
2237
  return [(R = (V = f.current) == null ? void 0 : V.closest("[data-headlessui-portal]")) != null ? R : null];
2238
2238
  }), disallowed: D(() => {
2239
2239
  var V, R;
2240
2240
  return [(R = (V = M.current) == null ? void 0 : V.closest("body > *:not(#headlessui-portal-root)")) != null ? R : null];
2241
- }) }), Bi(E, x, (V) => {
2241
+ }) }), Bi($, x, (V) => {
2242
2242
  V.preventDefault(), C();
2243
- }), ya(E, g == null ? void 0 : g.defaultView, (V) => {
2243
+ }), ya($, g == null ? void 0 : g.defaultView, (V) => {
2244
2244
  V.preventDefault(), V.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), C();
2245
- }), Xi(u || Q ? !1 : E, g, x), qr(E, f, C);
2246
- let [ke, Ct] = Ci(), Qe = S(() => [{ dialogState: v, close: C, setTitleId: w }, h], [v, h, C, w]), Fe = S(() => ({ open: v === 0 }), [v]), Se = { ref: m, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": h.titleId, "aria-describedby": ke }, Je = !ba(), se = me.None;
2247
- return E && !u && (se |= me.RestoreFocus, se |= me.TabLock, l && (se |= me.AutoFocus), Je && (se |= me.InitialFocus)), $.createElement(sa, null, $.createElement(qn, { force: !0 }, $.createElement(ga, null, $.createElement(yn.Provider, { value: Qe }, $.createElement(no, { target: f }, $.createElement(qn, { force: !1 }, $.createElement(Ct, { slot: Fe }, $.createElement(A, null, $.createElement(ka, { initialFocus: a, initialFocusFallback: f, containers: x, features: se }, $.createElement(Pi, { value: C }, q({ ourProps: Se, theirProps: d, slot: Fe, defaultTag: Ua, features: Wa, visible: v === 0, name: "Dialog" })))))))))), $.createElement(Ei, null, $.createElement(U, null)));
2248
- }), Ua = "div", Wa = ct.RenderStrategy | ct.Static;
2249
- function ja(e, t) {
2245
+ }), Xi(u || Q ? !1 : $, g, x), qr($, f, C);
2246
+ let [ke, Ct] = Ci(), Qe = S(() => [{ dialogState: v, close: C, setTitleId: w }, h], [v, h, C, w]), Fe = S(() => ({ open: v === 0 }), [v]), Se = { ref: m, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": h.titleId, "aria-describedby": ke }, Je = !ba(), le = me.None;
2247
+ return $ && !u && (le |= me.RestoreFocus, le |= me.TabLock, l && (le |= me.AutoFocus), Je && (le |= me.InitialFocus)), E.createElement(sa, null, E.createElement(qn, { force: !0 }, E.createElement(ga, null, E.createElement(yn.Provider, { value: Qe }, E.createElement(no, { target: f }, E.createElement(qn, { force: !1 }, E.createElement(Ct, { slot: Fe }, E.createElement(A, null, E.createElement(ka, { initialFocus: a, initialFocusFallback: f, containers: x, features: le }, E.createElement(Pi, { value: C }, q({ ourProps: Se, theirProps: d, slot: Fe, defaultTag: Ua, features: ja, visible: v === 0, name: "Dialog" })))))))))), E.createElement($i, null, E.createElement(U, null)));
2248
+ }), Ua = "div", ja = ct.RenderStrategy | ct.Static;
2249
+ function Wa(e, t) {
2250
2250
  let { transition: n = !1, open: r, ...o } = e, i = yt(), 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 ? $.createElement(oe, { show: r, transition: n, unmount: o.unmount }, $.createElement(Kn, { ref: t, ...o })) : $.createElement(Kn, { ref: t, open: r, ...o });
2256
+ return (r !== void 0 || n) && !o.static ? E.createElement(ie, { show: r, transition: n, unmount: o.unmount }, E.createElement(Kn, { ref: t, ...o })) : E.createElement(Kn, { ref: t, open: r, ...o });
2257
2257
  }
2258
2258
  let za = "div";
2259
2259
  function Ba(e, t) {
2260
- let n = fe(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = $t("Dialog.Panel"), l = J(t, s.panelRef), u = S(() => ({ open: a === 0 }), [a]), d = D((c) => {
2260
+ let n = fe(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = Et("Dialog.Panel"), l = J(t, s.panelRef), u = S(() => ({ open: a === 0 }), [a]), d = D((c) => {
2261
2261
  c.stopPropagation();
2262
2262
  });
2263
- return $.createElement(o ? gn : H, null, q({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: za, name: "Dialog.Panel" }));
2263
+ return E.createElement(o ? gn : H, null, q({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: za, name: "Dialog.Panel" }));
2264
2264
  }
2265
2265
  let Ya = "div";
2266
2266
  function qa(e, t) {
2267
- let { transition: n = !1, ...r } = e, [{ dialogState: o }] = $t("Dialog.Backdrop"), i = S(() => ({ open: o === 0 }), [o]);
2268
- return $.createElement(n ? gn : H, null, q({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: Ya, name: "Dialog.Backdrop" }));
2267
+ let { transition: n = !1, ...r } = e, [{ dialogState: o }] = Et("Dialog.Backdrop"), i = S(() => ({ open: o === 0 }), [o]);
2268
+ return E.createElement(n ? gn : H, null, q({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: Ya, name: "Dialog.Backdrop" }));
2269
2269
  }
2270
2270
  let Ka = "h2";
2271
2271
  function Ga(e, t) {
2272
- let n = fe(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = $t("Dialog.Title"), s = J(t);
2272
+ let n = fe(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = Et("Dialog.Title"), s = J(t);
2273
2273
  N(() => (a(r), () => a(null)), [r, a]);
2274
2274
  let l = S(() => ({ open: i === 0 }), [i]);
2275
2275
  return q({ ourProps: { ref: s, id: r }, theirProps: o, slot: l, defaultTag: Ka, name: "Dialog.Title" });
2276
2276
  }
2277
- let Za = z(ja), uo = z(Ba);
2277
+ let Za = z(Wa), uo = z(Ba);
2278
2278
  z(qa);
2279
2279
  let Xa = z(Ga), Qa = Object.assign(Za, { Panel: uo, Title: Xa, Description: Si });
2280
- const Ja = "_root_13n5b_1", es = "_modal_13n5b_9", ts = "_container_13n5b_12", ns = "_page_13n5b_15", rs = "_close_13n5b_18", rt = {
2280
+ const Ja = "_root_1jvth_1", es = "_modal_1jvth_10", ts = "_container_1jvth_13", ns = "_page_1jvth_16", rs = "_close_1jvth_19", rt = {
2281
2281
  root: Ja,
2282
2282
  modal: es,
2283
2283
  container: ts,
2284
2284
  page: ns,
2285
2285
  close: rs
2286
- }, ae = (e) => {
2286
+ }, os = "_root_1h6qm_1", is = {
2287
+ root: os
2288
+ }, se = (e) => {
2287
2289
  const {
2288
2290
  children: t,
2289
2291
  size: n = "md",
@@ -2318,26 +2320,26 @@ const Ja = "_root_13n5b_1", es = "_modal_13n5b_9", ts = "_container_13n5b_12", n
2318
2320
  children: t
2319
2321
  }
2320
2322
  );
2321
- }, os = () => /* @__PURE__ */ _(ae, { children: /* @__PURE__ */ _("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" }) }), fo = (e) => /* @__PURE__ */ _(ae, { ...e, children: /* @__PURE__ */ _(
2323
+ }, as = () => /* @__PURE__ */ _(se, { children: /* @__PURE__ */ _("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" }) }), fo = (e) => /* @__PURE__ */ _(se, { ...e, children: /* @__PURE__ */ _(
2322
2324
  "path",
2323
2325
  {
2324
2326
  fillRule: "evenodd",
2325
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",
2326
2328
  clipRule: "evenodd"
2327
2329
  }
2328
- ) }), is = (e) => /* @__PURE__ */ _(ae, { ...e, viewBox: "0 0 24 24", children: [
2330
+ ) }), ss = (e) => /* @__PURE__ */ _(se, { ...e, viewBox: "0 0 24 24", children: [
2329
2331
  /* @__PURE__ */ _("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2330
2332
  /* @__PURE__ */ _("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" })
2331
- ] }), as = (e) => /* @__PURE__ */ _(ae, { ...e, viewBox: "0 0 24 24", children: [
2333
+ ] }), ls = (e) => /* @__PURE__ */ _(se, { ...e, viewBox: "0 0 24 24", children: [
2332
2334
  /* @__PURE__ */ _("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2333
2335
  /* @__PURE__ */ _("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" })
2334
- ] }), ss = (e) => /* @__PURE__ */ _(ae, { ...e, viewBox: "0 0 24 24", children: [
2336
+ ] }), cs = (e) => /* @__PURE__ */ _(se, { ...e, viewBox: "0 0 24 24", children: [
2335
2337
  /* @__PURE__ */ _("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2336
2338
  /* @__PURE__ */ _("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" })
2337
- ] }), ls = (e) => /* @__PURE__ */ _(ae, { ...e, children: [
2339
+ ] }), us = (e) => /* @__PURE__ */ _(se, { ...e, children: [
2338
2340
  /* @__PURE__ */ _("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2339
2341
  /* @__PURE__ */ _("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" })
2340
- ] }), cs = (e) => /* @__PURE__ */ _(ae, { ...e, children: /* @__PURE__ */ _("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" }) }), us = (e) => /* @__PURE__ */ _(ae, { ...e, children: /* @__PURE__ */ _("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" }) }), ds = (e) => /* @__PURE__ */ _(ae, { ...e, viewBox: "0 0 99 32", children: [
2342
+ ] }), ds = (e) => /* @__PURE__ */ _(se, { ...e, children: /* @__PURE__ */ _("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" }) }), fs = (e) => /* @__PURE__ */ _(se, { ...e, children: /* @__PURE__ */ _("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" }) }), ps = (e) => /* @__PURE__ */ _(se, { ...e, viewBox: "0 0 99 32", children: [
2341
2343
  /* @__PURE__ */ _("g", { clipPath: "url(#clip0_9581_165880)", children: [
2342
2344
  /* @__PURE__ */ _(
2343
2345
  "path",
@@ -2432,18 +2434,18 @@ class Qt {
2432
2434
  }
2433
2435
  }
2434
2436
  }
2435
- const fs = (e, t) => {
2437
+ const _s = (e, t) => {
2436
2438
  let n;
2437
2439
  return typeof OffscreenCanvas < "u" ? n = new OffscreenCanvas(e, t) : (n = document.createElement("canvas"), n.width = e, n.height = t), n;
2438
2440
  }, po = (e, t, n, r) => {
2439
2441
  let o = 0, i = 0, a = t, s = n;
2440
- const u = fs(t, n).getContext("2d");
2442
+ const u = _s(t, n).getContext("2d");
2441
2443
  return u.drawImage(e, 0, 0), u.getImageData(o, i, a, s);
2442
- }, ps = (e) => new Promise((t) => {
2444
+ }, hs = (e) => new Promise((t) => {
2443
2445
  const n = document.createElement("canvas");
2444
2446
  n.width = e.width, n.height = e.height, n.getContext("2d").putImageData(e, 0, 0), n.toBlob((o) => t(o));
2445
2447
  });
2446
- function _s() {
2448
+ function ms() {
2447
2449
  if (MediaRecorder.isTypeSupported("video/webm; codecs=vp9"))
2448
2450
  return { mimeType: "video/webm; codecs=vp9" };
2449
2451
  if (MediaRecorder.isTypeSupported("video/webm"))
@@ -2459,7 +2461,7 @@ function _o(e = {}) {
2459
2461
  }, []), s = I(async (c) => {
2460
2462
  if (o.current)
2461
2463
  return;
2462
- const p = await ps(c);
2464
+ const p = await hs(c);
2463
2465
  o.current = p;
2464
2466
  }, []), l = I((c) => {
2465
2467
  c.data.size > 0 && t(c.data);
@@ -2468,7 +2470,7 @@ function _o(e = {}) {
2468
2470
  }, []), d = I((c) => {
2469
2471
  i.current || (i.current = new MediaRecorder(
2470
2472
  c,
2471
- _s()
2473
+ ms()
2472
2474
  ), i.current.ondataavailable = l, i.current.onstop = u, i.current.start(1e3));
2473
2475
  }, []);
2474
2476
  return {
@@ -2483,7 +2485,7 @@ function _o(e = {}) {
2483
2485
  function Me(e, t) {
2484
2486
  return Math.sqrt(e ** 2 + t ** 2);
2485
2487
  }
2486
- function hs(e) {
2488
+ function vs(e) {
2487
2489
  const t = e.slice();
2488
2490
  for (let n = t.length - 1; n > 0; n--) {
2489
2491
  const r = Math.floor(Math.random() * (n + 1));
@@ -2491,7 +2493,7 @@ function hs(e) {
2491
2493
  }
2492
2494
  return t;
2493
2495
  }
2494
- function ms(e, t) {
2496
+ function gs(e, t) {
2495
2497
  return new Promise((n, r) => {
2496
2498
  const o = new File([e], `${Date.now()}`, {
2497
2499
  type: t
@@ -2499,10 +2501,10 @@ function ms(e, t) {
2499
2501
  i.readAsDataURL(o), i.onload = () => n(i.result), i.onerror = (a) => r(a);
2500
2502
  });
2501
2503
  }
2502
- const vs = "https://identity.dev.svc.youverify.co";
2503
- function gs() {
2504
+ const ys = "https://identity.dev.svc.youverify.co";
2505
+ function bs() {
2504
2506
  return { postData: async (t) => {
2505
- const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${vs}/v1/sdk/identity/liveness/`, {
2507
+ const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${ys}/v1/sdk/identity/liveness/`, {
2506
2508
  method: "POST",
2507
2509
  headers: {
2508
2510
  "Content-Type": "application/json"
@@ -2520,19 +2522,19 @@ function gs() {
2520
2522
  return await a.json();
2521
2523
  } };
2522
2524
  }
2523
- const ys = 360, bs = "#125766", ws = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", ho = {
2525
+ const ws = 360, $s = "#125766", Es = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", ho = {
2524
2526
  "complete-the-circle": {
2525
- Icon: is,
2527
+ Icon: ss,
2526
2528
  name: "Complete The Circle ⭕️",
2527
2529
  description: "First position your face in the camera frame. Then move your head in a circle to show all the angles of your face"
2528
2530
  },
2529
2531
  "yes-or-no": {
2530
- Icon: as,
2532
+ Icon: ls,
2531
2533
  name: "Yes or No ❓",
2532
2534
  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"
2533
2535
  },
2534
2536
  motions: {
2535
- Icon: ss,
2537
+ Icon: cs,
2536
2538
  name: "Motions 💫",
2537
2539
  description: "First position your face in the camera frame, then follow the instructions"
2538
2540
  },
@@ -2560,7 +2562,7 @@ const ys = 360, bs = "#125766", ws = "https://cdn.youverify.co/1721901834404-q2n
2560
2562
  onComplete: () => Promise.resolve()
2561
2563
  });
2562
2564
  let Gn, Zn = !1;
2563
- function Es(e) {
2565
+ function Cs(e) {
2564
2566
  const {
2565
2567
  publicKey: t,
2566
2568
  tasks: n,
@@ -2572,20 +2574,20 @@ function Es(e) {
2572
2574
  onSuccess: l = () => {
2573
2575
  },
2574
2576
  metadata: u
2575
- } = e, [d, c] = k(0), [p, f] = k(0), [m, g] = k(null), { saveStream: v, savePhoto: h, savedPhoto: y } = _o(), { postData: C } = gs(), w = S(
2577
+ } = e, [d, c] = k(0), [p, f] = k(0), [m, g] = k(null), { saveStream: v, savePhoto: h, savedPhoto: y } = _o(), { postData: C } = bs(), w = S(
2576
2578
  () => p === n.length,
2577
2579
  [n, p]
2578
- ), E = () => {
2580
+ ), $ = () => {
2579
2581
  f((x) => x + 1), c((x) => x + 1);
2580
2582
  }, F = (x) => {
2581
2583
  const M = new Image();
2582
- M.crossOrigin = "Anonymous", M.src = ws, M.onload = () => {
2584
+ M.crossOrigin = "Anonymous", M.src = Es, M.onload = () => {
2583
2585
  const U = po(M, M.width, M.height);
2584
2586
  Qt.detectFaces(x, U);
2585
2587
  };
2586
2588
  }, A = async () => {
2587
2589
  const x = await C({
2588
- faceImage: y.current ? await ms(y.current, "image/png") : null,
2590
+ faceImage: y.current ? await gs(y.current, "image/png") : null,
2589
2591
  publicKey: t,
2590
2592
  passed: !0,
2591
2593
  metadata: u
@@ -2611,7 +2613,7 @@ function Es(e) {
2611
2613
  currentTaskIndex: d,
2612
2614
  completed: w,
2613
2615
  completedCount: p,
2614
- nextTask: E,
2616
+ nextTask: $,
2615
2617
  branding: a,
2616
2618
  onRequestClose: s,
2617
2619
  faceDetector: m,
@@ -2624,31 +2626,31 @@ function Es(e) {
2624
2626
  );
2625
2627
  }
2626
2628
  function Te() {
2627
- return W(mo);
2628
- }
2629
- const $s = "_root_dndkf_1", Cs = "_container_dndkf_4", Ts = "_lhs_dndkf_7", ks = "_info_dndkf_11", Fs = "_active_dndkf_32", Ss = "_completed_dndkf_39", xs = "_rhs_dndkf_62", Ps = "_profile_dndkf_65", Ls = "_avatar_dndkf_68", Ms = "_main_dndkf_81", Ns = "_content_dndkf_84", B = {
2630
- root: $s,
2631
- container: Cs,
2632
- lhs: Ts,
2633
- info: ks,
2634
- active: Fs,
2635
- completed: Ss,
2636
- rhs: xs,
2637
- profile: Ps,
2638
- avatar: Ls,
2639
- main: Ms,
2640
- content: Ns
2641
- }, Ds = "_root_135td_1", Hs = "_container_135td_1", As = "_brand_135td_1", Lt = {
2642
- root: Ds,
2643
- container: Hs,
2644
- brand: As
2629
+ return j(mo);
2630
+ }
2631
+ const Ts = "_root_dndkf_1", ks = "_container_dndkf_4", Fs = "_lhs_dndkf_7", Ss = "_info_dndkf_11", xs = "_active_dndkf_32", Ps = "_completed_dndkf_39", Ls = "_rhs_dndkf_62", Ms = "_profile_dndkf_65", Ns = "_avatar_dndkf_68", Ds = "_main_dndkf_81", Hs = "_content_dndkf_84", B = {
2632
+ root: Ts,
2633
+ container: ks,
2634
+ lhs: Fs,
2635
+ info: Ss,
2636
+ active: xs,
2637
+ completed: Ps,
2638
+ rhs: Ls,
2639
+ profile: Ms,
2640
+ avatar: Ns,
2641
+ main: Ds,
2642
+ content: Hs
2643
+ }, As = "_root_135td_1", Os = "_container_135td_1", Is = "_brand_135td_1", Lt = {
2644
+ root: As,
2645
+ container: Os,
2646
+ brand: Is
2645
2647
  };
2646
- function Os() {
2648
+ function Rs() {
2647
2649
  const { branding: e } = Te();
2648
2650
  return /* @__PURE__ */ _("div", { className: Lt.root, children: /* @__PURE__ */ _("div", { className: Lt.container, children: /* @__PURE__ */ _("div", { className: Lt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ _("img", { className: "h-10", src: e.logo, alt: "Logo" }) }) }) });
2649
2651
  }
2650
2652
  const Xn = "colorScheme";
2651
- function Is() {
2653
+ function Vs() {
2652
2654
  const { namespace: e } = Te(), t = () => {
2653
2655
  const o = localStorage.getItem(Xn);
2654
2656
  return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
@@ -2662,11 +2664,12 @@ function Is() {
2662
2664
  return n(o === "dark" ? "light" : "dark");
2663
2665
  }, getColorScheme: t };
2664
2666
  }
2665
- const Rs = "_root_1w5nq_1", Vs = {
2666
- root: Rs
2667
+ const Us = "_root_1w5nq_1", js = {
2668
+ root: Us
2667
2669
  };
2668
- function Us() {
2669
- return window.screen.width >= 900 ? 16 / 9 : 10 / 9;
2670
+ function Ws() {
2671
+ if (!(window.screen.width >= 900))
2672
+ return 10 / 9;
2670
2673
  }
2671
2674
  function bn(e) {
2672
2675
  const { children: t, onStream: n = () => {
@@ -2676,7 +2679,7 @@ function bn(e) {
2676
2679
  }), u = async () => {
2677
2680
  try {
2678
2681
  const p = await navigator.mediaDevices.getUserMedia({
2679
- video: { aspectRatio: { exact: Us() } }
2682
+ video: { aspectRatio: { exact: Ws() } }
2680
2683
  });
2681
2684
  a.current = p, s(p), o.current && (o.current.srcObject = p);
2682
2685
  } catch {
@@ -2696,31 +2699,31 @@ function bn(e) {
2696
2699
  return u(), p.addEventListener("canplay", f), () => {
2697
2700
  p.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2698
2701
  };
2699
- }, []), /* @__PURE__ */ _("div", { className: Vs.root, children: [
2702
+ }, []), /* @__PURE__ */ _("div", { className: js.root, children: [
2700
2703
  /* @__PURE__ */ _("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2701
2704
  t
2702
2705
  ] });
2703
2706
  }
2704
- const Ws = "_container_1ap2u_1", js = "_focused_1ap2u_12", zs = "_progress_1ap2u_15", Bs = "_completed_1ap2u_36", Ys = "_marker_1ap2u_40", Ie = {
2705
- container: Ws,
2706
- focused: js,
2707
- progress: zs,
2708
- completed: Bs,
2709
- marker: Ys
2710
- }, Qn = 360, qs = 50;
2711
- function Ks(e) {
2707
+ const zs = "_container_1ap2u_1", Bs = "_focused_1ap2u_12", Ys = "_progress_1ap2u_15", qs = "_completed_1ap2u_36", Ks = "_marker_1ap2u_40", Ie = {
2708
+ container: zs,
2709
+ focused: Bs,
2710
+ progress: Ys,
2711
+ completed: qs,
2712
+ marker: Ks
2713
+ }, Qn = 360, Gs = 50;
2714
+ function Zs(e) {
2712
2715
  const {
2713
2716
  visitedSections: t,
2714
2717
  sectionsCount: n,
2715
2718
  faceDetected: r,
2716
- divisions: o = qs
2719
+ divisions: o = Gs
2717
2720
  } = e, i = S(() => {
2718
2721
  const a = [Ie.container];
2719
2722
  return r && a.push(Ie.focused), a.join(" ");
2720
2723
  }, [r]);
2721
2724
  return /* @__PURE__ */ _("div", { className: i, children: [
2722
2725
  /* @__PURE__ */ _(
2723
- oe,
2726
+ ie,
2724
2727
  {
2725
2728
  as: "div",
2726
2729
  show: r,
@@ -2752,7 +2755,7 @@ function Ks(e) {
2752
2755
  }
2753
2756
  ),
2754
2757
  /* @__PURE__ */ _(
2755
- oe,
2758
+ ie,
2756
2759
  {
2757
2760
  as: "div",
2758
2761
  show: !r,
@@ -2773,7 +2776,7 @@ function Ks(e) {
2773
2776
  )
2774
2777
  ] });
2775
2778
  }
2776
- function Gs() {
2779
+ function Xs() {
2777
2780
  return { checkZoomLevel: (r, o) => {
2778
2781
  const { box: i } = r, { width: a, height: s } = i, l = a * s, u = o ** 2, d = l / u;
2779
2782
  if (d > 0.9)
@@ -2795,7 +2798,7 @@ function wn(e = {}) {
2795
2798
  },
2796
2799
  onError: o = () => {
2797
2800
  }
2798
- } = e, { faceDetector: i } = Te(), { checkFacialFeatures: a, checkZoomLevel: s, checkInFrame: l } = Gs(), u = b(null), d = (p, f) => {
2801
+ } = e, { faceDetector: i } = Te(), { checkFacialFeatures: a, checkZoomLevel: s, checkInFrame: l } = Xs(), u = b(null), d = (p, f) => {
2799
2802
  var m;
2800
2803
  try {
2801
2804
  if (p.length === 0)
@@ -2864,18 +2867,19 @@ function wn(e = {}) {
2864
2867
  d(y, h);
2865
2868
  } };
2866
2869
  }
2867
- const Zs = "_root_13gis_1", Xs = "_container_13gis_4", Qs = "_progress_13gis_7", Js = "_intro_13gis_12", el = "_content_13gis_15", tl = "_branding_13gis_18", nl = "_instructions_13gis_22", le = {
2868
- root: Zs,
2869
- container: Xs,
2870
- progress: Qs,
2871
- intro: Js,
2872
- content: el,
2873
- branding: tl,
2874
- instructions: nl
2875
- }, rl = "_root_39czk_1", ol = "_spinner_39czk_18", il = "_spin_39czk_18", Jn = {
2876
- root: rl,
2877
- spinner: ol,
2878
- spin: il
2870
+ const Qs = "_root_182pz_1", Js = "_container_182pz_4", el = "_progress_182pz_7", tl = "_intro_182pz_12", nl = "_content_182pz_15", rl = "_branding_182pz_18", ol = "_instructionsContainer_182pz_22", il = "_instructions_182pz_22", ee = {
2871
+ root: Qs,
2872
+ container: Js,
2873
+ progress: el,
2874
+ intro: tl,
2875
+ content: nl,
2876
+ branding: rl,
2877
+ instructionsContainer: ol,
2878
+ instructions: il
2879
+ }, al = "_root_39czk_1", sl = "_spinner_39czk_18", ll = "_spin_39czk_18", Jn = {
2880
+ root: al,
2881
+ spinner: sl,
2882
+ spin: ll
2879
2883
  };
2880
2884
  function dt(e) {
2881
2885
  const {
@@ -2892,37 +2896,37 @@ function dt(e) {
2892
2896
  /* @__PURE__ */ _(t, { size: "custom", className: "h-20 mx-auto mb-12" }),
2893
2897
  /* @__PURE__ */ _("h2", { children: r }),
2894
2898
  /* @__PURE__ */ _("p", { className: "subtext", children: n }),
2895
- /* @__PURE__ */ _(
2899
+ /* @__PURE__ */ _("div", { className: "mt-12", children: /* @__PURE__ */ _(
2896
2900
  gi,
2897
2901
  {
2898
2902
  onClick: () => i(),
2899
- className: "mt-12 flex items-center space-x-3",
2903
+ className: "flex items-center space-x-3",
2900
2904
  disabled: a,
2901
2905
  children: [
2902
2906
  /* @__PURE__ */ _("span", { className: "flex-1 flex items-center space-x-1 justify-center", children: o }),
2903
2907
  a && /* @__PURE__ */ _("span", { className: Jn.spinner })
2904
2908
  ]
2905
2909
  }
2906
- ),
2910
+ ) }),
2907
2911
  s
2908
2912
  ] });
2909
2913
  }
2910
- function En(e) {
2914
+ function $n(e) {
2911
2915
  const { children: t, instruction: n, name: r, completed: o, onStart: i = () => {
2912
2916
  } } = e, [a, s] = k(!1), { completedCount: l, tasks: u, nextTask: d } = Te(), c = S(() => ho[r], [r]), p = S(
2913
2917
  () => l * 100 / u.length,
2914
2918
  [l, u.length]
2915
2919
  );
2916
- return /* @__PURE__ */ _("div", { className: le.root, children: /* @__PURE__ */ _("div", { className: `${le.container} view`, children: [
2920
+ return /* @__PURE__ */ _("div", { className: ee.root, children: /* @__PURE__ */ _("div", { className: `${ee.container} view`, children: [
2917
2921
  /* @__PURE__ */ _(
2918
2922
  "div",
2919
2923
  {
2920
2924
  style: { width: `${p}%` },
2921
- className: le.progress
2925
+ className: ee.progress
2922
2926
  }
2923
2927
  ),
2924
2928
  /* @__PURE__ */ _(
2925
- oe,
2929
+ ie,
2926
2930
  {
2927
2931
  show: !a && !o,
2928
2932
  as: "div",
@@ -2933,7 +2937,7 @@ function En(e) {
2933
2937
  leaveFrom: "translate-x-0",
2934
2938
  leaveTo: "-translate-x-full",
2935
2939
  className: "absolute h-full w-full",
2936
- children: /* @__PURE__ */ _("div", { className: `${le.intro}`, children: /* @__PURE__ */ _(
2940
+ children: /* @__PURE__ */ _("div", { className: `${ee.intro}`, children: /* @__PURE__ */ _(
2937
2941
  dt,
2938
2942
  {
2939
2943
  Icon: c.Icon,
@@ -2948,7 +2952,7 @@ function En(e) {
2948
2952
  }
2949
2953
  ),
2950
2954
  /* @__PURE__ */ _(
2951
- oe,
2955
+ ie,
2952
2956
  {
2953
2957
  as: "div",
2954
2958
  show: a && !o,
@@ -2960,23 +2964,23 @@ function En(e) {
2960
2964
  leaveTo: "translate-x-full",
2961
2965
  className: "absolute w-full h-full",
2962
2966
  children: [
2963
- /* @__PURE__ */ _("div", { className: `${le.content}`, children: t }),
2964
- /* @__PURE__ */ _("div", { className: "border-t divider", children: [
2965
- /* @__PURE__ */ _("div", { className: le.instructions, children: [
2967
+ /* @__PURE__ */ _("div", { className: `${ee.content}`, children: t }),
2968
+ /* @__PURE__ */ _("div", { className: ee.instructionsContainer, children: [
2969
+ /* @__PURE__ */ _("div", { className: ee.instructions, children: [
2966
2970
  /* @__PURE__ */ _("h2", { children: n.title }),
2967
2971
  /* @__PURE__ */ _("p", { className: "subtext", children: n.description })
2968
2972
  ] }),
2969
- /* @__PURE__ */ _("div", { className: le.branding, children: [
2973
+ /* @__PURE__ */ _("div", { className: ee.branding, children: [
2970
2974
  /* @__PURE__ */ _("span", { children: "Powered by" }),
2971
2975
  " ",
2972
- /* @__PURE__ */ _(ds, { size: "custom", className: "h-3" })
2976
+ /* @__PURE__ */ _(ps, { size: "custom", className: "h-3" })
2973
2977
  ] })
2974
2978
  ] })
2975
2979
  ]
2976
2980
  }
2977
2981
  ),
2978
2982
  /* @__PURE__ */ _(
2979
- oe,
2983
+ ie,
2980
2984
  {
2981
2985
  show: o,
2982
2986
  as: "div",
@@ -2987,7 +2991,7 @@ function En(e) {
2987
2991
  leaveFrom: "translate-x-0",
2988
2992
  leaveTo: "translate-x-full",
2989
2993
  className: "absolute w-full h-full",
2990
- children: /* @__PURE__ */ _("div", { className: `${le.intro}`, children: /* @__PURE__ */ _(
2994
+ children: /* @__PURE__ */ _("div", { className: `${ee.intro}`, children: /* @__PURE__ */ _(
2991
2995
  dt,
2992
2996
  {
2993
2997
  Icon: c.Icon,
@@ -3004,15 +3008,15 @@ function En(e) {
3004
3008
  )
3005
3009
  ] }) });
3006
3010
  }
3007
- const al = 1, Mt = 8;
3008
- function sl(e) {
3009
- const { difficulty: t } = e, { saveStream: n, savePhoto: r } = Te(), [o, i] = k([]), [a, s] = k("Place face in frame"), [l, u] = k(!1), [d, c] = k(!1), p = b(/* @__PURE__ */ new Set()), f = b(!1), m = b(null), g = (E) => {
3010
- const F = E * Mt, A = Math.ceil((F + 1) / ys);
3011
+ const cl = 1, Mt = 8;
3012
+ function ul(e) {
3013
+ const { difficulty: t } = e, { saveStream: n, savePhoto: r } = Te(), [o, i] = k([]), [a, s] = k("Place face in frame"), [l, u] = k(!1), [d, c] = k(!1), p = b(/* @__PURE__ */ new Set()), f = b(!1), m = b(null), g = ($) => {
3014
+ const F = $ * Mt, A = Math.ceil((F + 1) / ws);
3011
3015
  p.current.has(A) || (p.current.add(A), i(Array.from(p.current))), p.current.size >= Mt && setTimeout(() => {
3012
3016
  c(!0);
3013
3017
  }, 1e3);
3014
- }, v = (E, F) => {
3015
- let L = Math.atan2(F, E) * (180 / Math.PI);
3018
+ }, v = ($, F) => {
3019
+ let L = Math.atan2(F, $) * (180 / Math.PI);
3016
3020
  return L < 0 && (L += 360), L;
3017
3021
  }, h = S(() => {
3018
3022
  if (p.current.size === 0)
@@ -3025,23 +3029,23 @@ function sl(e) {
3025
3029
  default:
3026
3030
  return 10;
3027
3031
  }
3028
- }, []), y = (E) => {
3029
- const { keypoints: F, box: A } = E, L = { x: A.width * 0.5, y: A.height * 0.5 }, x = F[al], M = { y: x.y - A.yMin, x: x.x - A.xMin }, U = L.x - M.x, Q = M.y - L.y;
3032
+ }, []), y = ($) => {
3033
+ const { keypoints: F, box: A } = $, L = { x: A.width * 0.5, y: A.height * 0.5 }, x = F[cl], M = { y: x.y - A.yMin, x: x.x - A.xMin }, U = L.x - M.x, Q = M.y - L.y;
3030
3034
  return Math.abs(U) < h && Math.abs(Q) < h ? null : v(U, Q);
3031
3035
  }, { detectFaces: C } = wn({
3032
3036
  frameSize: 280,
3033
3037
  validations: ["zoom", "in-frame"],
3034
- onFace: (E, F) => {
3038
+ onFace: ($, F) => {
3035
3039
  r(F), u(!0), s("Slowly move head around to complete circle");
3036
- const A = y(E);
3040
+ const A = y($);
3037
3041
  A && g(A);
3038
3042
  },
3039
- onError: (E) => {
3040
- s(E), i([]), p.current.clear(), m.current = null, f.current = !1;
3043
+ onError: ($) => {
3044
+ s($), i([]), p.current.clear(), m.current = null, f.current = !1;
3041
3045
  }
3042
3046
  });
3043
3047
  return /* @__PURE__ */ _(H, { children: /* @__PURE__ */ _(
3044
- En,
3048
+ $n,
3045
3049
  {
3046
3050
  instruction: {
3047
3051
  title: a,
@@ -3049,16 +3053,16 @@ function sl(e) {
3049
3053
  },
3050
3054
  name: "complete-the-circle",
3051
3055
  completed: d,
3052
- children: /* @__PURE__ */ _(bn, { onStream: (E) => {
3056
+ children: /* @__PURE__ */ _(bn, { onStream: ($) => {
3053
3057
  try {
3054
- if (!E.current || d)
3058
+ if (!$.current || d)
3055
3059
  return;
3056
- const { videoWidth: F } = E.current;
3057
- C({ ref: E, frameSize: F });
3060
+ const { videoWidth: F } = $.current;
3061
+ C({ ref: $, frameSize: F });
3058
3062
  } catch {
3059
3063
  }
3060
3064
  }, onRecord: n, children: /* @__PURE__ */ _(
3061
- Ks,
3065
+ Zs,
3062
3066
  {
3063
3067
  faceDetected: l,
3064
3068
  sectionsCount: Mt,
@@ -3068,13 +3072,13 @@ function sl(e) {
3068
3072
  }
3069
3073
  ) });
3070
3074
  }
3071
- const ll = "_root_gcbg2_1", cl = "_sticker_gcbg2_4", ul = "_no_gcbg2_7", dl = "_yes_gcbg2_12", Nt = {
3072
- root: ll,
3073
- sticker: cl,
3074
- no: ul,
3075
- yes: dl
3075
+ const dl = "_root_gcbg2_1", fl = "_sticker_gcbg2_4", pl = "_no_gcbg2_7", _l = "_yes_gcbg2_12", Nt = {
3076
+ root: dl,
3077
+ sticker: fl,
3078
+ no: pl,
3079
+ yes: _l
3076
3080
  };
3077
- function fl(e) {
3081
+ function hl(e) {
3078
3082
  const { show: t, stickers: n } = e;
3079
3083
  return /* @__PURE__ */ _(H, { children: t && /* @__PURE__ */ _("div", { className: Nt.root, children: n.map((r) => /* @__PURE__ */ _(
3080
3084
  "div",
@@ -3085,14 +3089,14 @@ function fl(e) {
3085
3089
  `sticker-${r}`
3086
3090
  )) }) });
3087
3091
  }
3088
- const pl = {
3092
+ const ml = {
3089
3093
  question: "Are you alive?",
3090
3094
  errorMessage: "You have to be alive to proceed though",
3091
3095
  answer: !0
3092
- }, _l = "Wrong answer. Try again";
3093
- function hl(e) {
3094
- const { difficulty: t, questions: n = [pl] } = e, [r, o] = k("Keep face in camera"), [i, a] = k(!1), [s, l] = k(!1), { saveStream: u, savePhoto: d } = Te(), c = b("inactive"), p = b(0), f = b(!1), m = (w) => {
3095
- const { keypoints: E } = w, F = E[1], A = E[9], L = F.x - A.x, x = F.y - A.y;
3096
+ }, vl = "Wrong answer. Try again";
3097
+ function gl(e) {
3098
+ const { difficulty: t, questions: n = [ml] } = e, [r, o] = k("Keep face in camera"), [i, a] = k(!1), [s, l] = k(!1), { saveStream: u, savePhoto: d } = Te(), c = b("inactive"), p = b(0), f = b(!1), m = (w) => {
3099
+ const { keypoints: $ } = w, F = $[1], A = $[9], L = F.x - A.x, x = F.y - A.y;
3096
3100
  return 90 - Math.atan2(x, L) * (180 / Math.PI);
3097
3101
  }, g = (w) => {
3098
3102
  c.current = "inactive", o(n[w].question), setTimeout(() => {
@@ -3111,21 +3115,21 @@ function hl(e) {
3111
3115
  try {
3112
3116
  if (c.current = "inactive", Math.abs(w) < v)
3113
3117
  throw new Error("Tilt head further to answer");
3114
- const E = w > 0, F = n[p.current].answer;
3115
- if (E === F)
3118
+ const $ = w > 0, F = n[p.current].answer;
3119
+ if ($ === F)
3116
3120
  p.current += 1, p.current === n.length ? l(!0) : g(p.current);
3117
3121
  else
3118
3122
  throw new Error(
3119
- n[p.current].errorMessage || _l
3123
+ n[p.current].errorMessage || vl
3120
3124
  );
3121
- } catch (E) {
3122
- o(E.message), setTimeout(() => {
3125
+ } catch ($) {
3126
+ o($.message), setTimeout(() => {
3123
3127
  g(p.current);
3124
3128
  }, 2e3);
3125
3129
  }
3126
3130
  }, { detectFaces: y } = wn({
3127
- onFace: (w, E) => {
3128
- if (f.current || (a(!0), d(E), f.current = !0, g(p.current)), c.current === "inactive")
3131
+ onFace: (w, $) => {
3132
+ if (f.current || (a(!0), d($), f.current = !0, g(p.current)), c.current === "inactive")
3129
3133
  return;
3130
3134
  const F = m(w);
3131
3135
  h(F);
@@ -3135,7 +3139,7 @@ function hl(e) {
3135
3139
  }
3136
3140
  });
3137
3141
  return /* @__PURE__ */ _(
3138
- En,
3142
+ $n,
3139
3143
  {
3140
3144
  instruction: {
3141
3145
  title: r,
@@ -3147,15 +3151,15 @@ function hl(e) {
3147
3151
  try {
3148
3152
  if (!w.current || s)
3149
3153
  return;
3150
- const { videoWidth: E } = w.current;
3151
- y({ ref: w, frameSize: E });
3154
+ const { videoWidth: $ } = w.current;
3155
+ y({ ref: w, frameSize: $ });
3152
3156
  } catch {
3153
3157
  }
3154
- }, onRecord: u, children: /* @__PURE__ */ _(fl, { show: i, stickers: ["yes", "no"] }) })
3158
+ }, onRecord: u, children: /* @__PURE__ */ _(hl, { show: i, stickers: ["yes", "no"] }) })
3155
3159
  }
3156
3160
  );
3157
3161
  }
3158
- function ml(e = {}) {
3162
+ function yl(e = {}) {
3159
3163
  const { onChange: t = () => {
3160
3164
  } } = e, n = !!window.DeviceOrientationEvent, r = (o) => {
3161
3165
  t({
@@ -3170,7 +3174,7 @@ function ml(e = {}) {
3170
3174
  canUse: n
3171
3175
  };
3172
3176
  }
3173
- function vl(e) {
3177
+ function bl(e) {
3174
3178
  const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = b(null), a = b(!0), s = b(null), l = b(null), u = b(0), d = b(!1), c = S(() => {
3175
3179
  switch (o) {
3176
3180
  case "easy":
@@ -3190,7 +3194,7 @@ function vl(e) {
3190
3194
  d.current = !0, n("Great, hang on..."), setTimeout(() => {
3191
3195
  r();
3192
3196
  }, 500);
3193
- }, { canUse: f } = ml({
3197
+ }, { canUse: f } = yl({
3194
3198
  onChange: (g) => {
3195
3199
  l.current = g;
3196
3200
  }
@@ -3228,7 +3232,7 @@ function vl(e) {
3228
3232
  p();
3229
3233
  } };
3230
3234
  }
3231
- function gl(e) {
3235
+ function wl(e) {
3232
3236
  const { onMessage: t, onComplete: n, difficulty: r } = e, o = b(!1), i = S(() => {
3233
3237
  switch (r) {
3234
3238
  case "easy":
@@ -3258,7 +3262,7 @@ function gl(e) {
3258
3262
  t("Open your mouth wide");
3259
3263
  } };
3260
3264
  }
3261
- function yl(e) {
3265
+ function $l(e) {
3262
3266
  const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = b(!0), a = b(!1), s = b(null), l = b(0), u = S(() => {
3263
3267
  switch (o) {
3264
3268
  case "easy":
@@ -3308,7 +3312,7 @@ function yl(e) {
3308
3312
  d(y), c(y), p();
3309
3313
  } };
3310
3314
  }
3311
- function bl() {
3315
+ function El() {
3312
3316
  return {
3313
3317
  requestDeviceOrientationPermission: async () => {
3314
3318
  if (!window.DeviceOrientationEvent)
@@ -3320,24 +3324,24 @@ function bl() {
3320
3324
  };
3321
3325
  }
3322
3326
  var vo = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(vo || {});
3323
- const er = hs(Object.keys(vo));
3324
- function wl(e) {
3325
- const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = b(0), [i, a] = k("Keep face in camera"), [s, l] = k(!1), [u, d] = k(null), c = b(!1), { requestDeviceOrientationPermission: p } = bl(), f = () => {
3327
+ const er = vs(Object.keys(vo));
3328
+ function Cl(e) {
3329
+ const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = b(0), [i, a] = k("Keep face in camera"), [s, l] = k(!1), [u, d] = k(null), c = b(!1), { requestDeviceOrientationPermission: p } = El(), f = () => {
3326
3330
  if (o.current === er.length - 1) {
3327
3331
  l(!0);
3328
3332
  return;
3329
3333
  }
3330
3334
  o.current += 1;
3331
- }, m = vl({
3335
+ }, m = bl({
3332
3336
  total: Math.floor(Math.random() * r + 1),
3333
3337
  difficulty: t,
3334
3338
  onMessage: (w) => a(w),
3335
3339
  onComplete: f
3336
- }), g = gl({
3340
+ }), g = wl({
3337
3341
  difficulty: t,
3338
3342
  onMessage: (w) => a(w),
3339
3343
  onComplete: f
3340
- }), v = yl({
3344
+ }), v = $l({
3341
3345
  total: Math.floor(Math.random() * n + 1),
3342
3346
  difficulty: t,
3343
3347
  onMessage: (w) => a(w),
@@ -3361,7 +3365,7 @@ function wl(e) {
3361
3365
  }
3362
3366
  });
3363
3367
  return /* @__PURE__ */ _(
3364
- En,
3368
+ $n,
3365
3369
  {
3366
3370
  instruction: {
3367
3371
  title: i,
@@ -3373,25 +3377,25 @@ function wl(e) {
3373
3377
  try {
3374
3378
  await p();
3375
3379
  } catch (w) {
3376
- const E = w;
3377
- a(E.message), d(E);
3380
+ const $ = w;
3381
+ a($.message), d($);
3378
3382
  }
3379
3383
  },
3380
3384
  children: u ? /* @__PURE__ */ _(H, {}) : /* @__PURE__ */ _(bn, { onStream: async (w) => {
3381
3385
  try {
3382
3386
  if (!w.current || s)
3383
3387
  return;
3384
- const { videoWidth: E } = w.current;
3385
- await h({ ref: w, frameSize: E, throttleInterval: 500 });
3388
+ const { videoWidth: $ } = w.current;
3389
+ await h({ ref: w, frameSize: $, throttleInterval: 500 });
3386
3390
  } catch {
3387
3391
  }
3388
3392
  } })
3389
3393
  }
3390
3394
  );
3391
3395
  }
3392
- function El() {
3396
+ function Tl() {
3393
3397
  var v;
3394
- const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Is(), { user: r, tasks: o, currentTaskIndex: i, completed: a, onComplete: s } = Te(), [l, u] = k(!1), [d, c] = k(!1), [p, f] = k(null);
3398
+ const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Vs(), { user: r, tasks: o, currentTaskIndex: i, completed: a, onComplete: s } = Te(), [l, u] = k(!1), [d, c] = k(!1), [p, f] = k(null);
3395
3399
  N(() => {
3396
3400
  const h = t();
3397
3401
  n(h);
@@ -3411,7 +3415,7 @@ function El() {
3411
3415
  return /* @__PURE__ */ _("div", { className: B.root, children: /* @__PURE__ */ _("div", { className: B.container, children: [
3412
3416
  /* @__PURE__ */ _("div", { className: `${B.lhs} divider`, children: [
3413
3417
  /* @__PURE__ */ _("div", { className: B.info, children: [
3414
- /* @__PURE__ */ _(Os, {}),
3418
+ /* @__PURE__ */ _(Rs, {}),
3415
3419
  /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _("p", { className: "text-xs m-0 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." }) }),
3416
3420
  /* @__PURE__ */ _("ol", { children: [
3417
3421
  o.map((h, y) => /* @__PURE__ */ _("li", { className: g(y), children: ho[h.id].name }, `task-${y}`)),
@@ -3422,13 +3426,13 @@ function El() {
3422
3426
  /* @__PURE__ */ _("div", { children: "Powered by Youverify" }),
3423
3427
  /* @__PURE__ */ _("div", { onClick: () => e(), role: "button", children: [
3424
3428
  /* @__PURE__ */ _("div", { className: "dark:hidden", children: /* @__PURE__ */ _(fo, {}) }),
3425
- /* @__PURE__ */ _("div", { className: "hidden dark:block", children: /* @__PURE__ */ _(os, {}) })
3429
+ /* @__PURE__ */ _("div", { className: "hidden dark:block", children: /* @__PURE__ */ _(as, {}) })
3426
3430
  ] })
3427
3431
  ] })
3428
3432
  ] }),
3429
3433
  /* @__PURE__ */ _("div", { className: B.main, children: /* @__PURE__ */ _("div", { className: B.content, children: [
3430
3434
  /* @__PURE__ */ _(
3431
- oe,
3435
+ ie,
3432
3436
  {
3433
3437
  show: !d,
3434
3438
  as: "div",
@@ -3441,7 +3445,7 @@ function El() {
3441
3445
  children: /* @__PURE__ */ _("div", { className: B.completed, children: /* @__PURE__ */ _(
3442
3446
  dt,
3443
3447
  {
3444
- Icon: ls,
3448
+ Icon: us,
3445
3449
  title: "Liveness Check",
3446
3450
  description: "To ensure the security of your identity, we conduct a liveness check to verify that you are a real person actively engaging with the process.",
3447
3451
  actionText: "Start Liveness Test",
@@ -3454,20 +3458,20 @@ function El() {
3454
3458
  let C;
3455
3459
  switch (h.id) {
3456
3460
  case "complete-the-circle":
3457
- C = /* @__PURE__ */ _(sl, { ...h });
3461
+ C = /* @__PURE__ */ _(ul, { ...h });
3458
3462
  break;
3459
3463
  case "yes-or-no":
3460
- C = /* @__PURE__ */ _(hl, { ...h });
3464
+ C = /* @__PURE__ */ _(gl, { ...h });
3461
3465
  break;
3462
3466
  case "motions":
3463
- C = /* @__PURE__ */ _(wl, { ...h });
3467
+ C = /* @__PURE__ */ _(Cl, { ...h });
3464
3468
  break;
3465
3469
  default:
3466
3470
  C = /* @__PURE__ */ _(H, {});
3467
3471
  break;
3468
3472
  }
3469
3473
  return /* @__PURE__ */ _(
3470
- oe,
3474
+ ie,
3471
3475
  {
3472
3476
  show: d && !a && i === y,
3473
3477
  appear: !0,
@@ -3484,7 +3488,7 @@ function El() {
3484
3488
  );
3485
3489
  }),
3486
3490
  /* @__PURE__ */ _(
3487
- oe,
3491
+ ie,
3488
3492
  {
3489
3493
  show: d && a,
3490
3494
  as: "div",
@@ -3497,7 +3501,7 @@ function El() {
3497
3501
  children: /* @__PURE__ */ _("div", { className: B.completed, children: /* @__PURE__ */ _(
3498
3502
  dt,
3499
3503
  {
3500
- Icon: cs,
3504
+ Icon: ds,
3501
3505
  title: "Successful",
3502
3506
  description: "Your Identity verification has been completed successfully. Thanks for your patience",
3503
3507
  actionText: "Finish",
@@ -3531,7 +3535,7 @@ function El() {
3531
3535
  ] })
3532
3536
  ] }) });
3533
3537
  }
3534
- function $l(e) {
3538
+ function kl(e) {
3535
3539
  const {
3536
3540
  tasks: t,
3537
3541
  namespace: n,
@@ -3548,7 +3552,7 @@ function $l(e) {
3548
3552
  p(!1), i();
3549
3553
  };
3550
3554
  return /* @__PURE__ */ _(
3551
- Es,
3555
+ Cs,
3552
3556
  {
3553
3557
  namespace: n,
3554
3558
  publicKey: u,
@@ -3566,29 +3570,21 @@ function $l(e) {
3566
3570
  open: l === "page" ? !0 : c,
3567
3571
  onClose: f,
3568
3572
  transition: !0,
3569
- className: `${rt.root} ${rt[l]}`,
3573
+ className: `${is.root} ${rt.root} ${rt[l]}`,
3570
3574
  style: {
3571
- "--branding-color": (o == null ? void 0 : o.color) ?? bs
3575
+ "--branding-color": (o == null ? void 0 : o.color) ?? $s
3572
3576
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3573
3577
  },
3574
3578
  children: [
3575
- l === "modal" && /* @__PURE__ */ _(
3576
- "div",
3577
- {
3578
- onClick: () => p(!1),
3579
- role: "button",
3580
- className: rt.close,
3581
- children: /* @__PURE__ */ _(us, { className: "text-white" })
3582
- }
3583
- ),
3584
- /* @__PURE__ */ _(uo, { className: `${rt.container}`, children: /* @__PURE__ */ _(El, {}) })
3579
+ l === "modal" && /* @__PURE__ */ _("div", { onClick: f, role: "button", className: rt.close, children: /* @__PURE__ */ _(fs, { className: "text-white" }) }),
3580
+ /* @__PURE__ */ _(uo, { className: `${rt.container}`, children: /* @__PURE__ */ _(Tl, {}) })
3585
3581
  ]
3586
3582
  }
3587
3583
  )
3588
3584
  }
3589
3585
  );
3590
3586
  }
3591
- class kl {
3587
+ class xl {
3592
3588
  constructor(t) {
3593
3589
  this.tasks = [], this.container = null, this.namespace = "liveness-web-sdk", this.scriptsURLs = [
3594
3590
  "https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh@0.4.1633559619/face_mesh.min.js",
@@ -3620,7 +3616,7 @@ class kl {
3620
3616
  async start(t) {
3621
3617
  t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Pe(
3622
3618
  /* @__PURE__ */ _(
3623
- $l,
3619
+ kl,
3624
3620
  {
3625
3621
  namespace: this.namespace,
3626
3622
  publicKey: this.props.publicKey,
@@ -3639,12 +3635,16 @@ class kl {
3639
3635
  );
3640
3636
  }
3641
3637
  close() {
3642
- this.container && this.presentation !== "page" && document.body.removeChild(this.container), this.props.onClose && this.props.onClose();
3638
+ if (this.container && this.presentation !== "page") {
3639
+ if (!document.body.contains(this.container))
3640
+ return;
3641
+ document.body.removeChild(this.container), this.props.onClose && this.props.onClose();
3642
+ }
3643
3643
  }
3644
3644
  terminate() {
3645
3645
  this.removeResources();
3646
3646
  }
3647
3647
  }
3648
3648
  export {
3649
- kl as default
3649
+ xl as default
3650
3650
  };