youverify-liveness-web 0.1.13 → 0.1.15
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 +348 -347
- package/dist/index.umd.cjs +3 -3
- package/package.json +1 -1
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{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw--translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-p-0{padding:0}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1hpzn_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_1hpzn_1[data-closed]{opacity:0}._root_1hpzn_1._modal_1hpzn_10{background-color:#0000004d}@media (min-width: 768px){._root_1hpzn_1._modal_1hpzn_10{padding:1rem}._root_1hpzn_1._modal_1hpzn_10 ._container_1hpzn_13{border-radius:.75rem}._root_1hpzn_1._page_1hpzn_16{padding:0}}._root_1hpzn_1 ._close_1hpzn_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_1hpzn_1 ._close_1hpzn_19 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1hpzn_1 ._close_1hpzn_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_1hpzn_1 ._container_1hpzn_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_1hpzn_1 ._container_1hpzn_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_1psx5_1{height:100%;text-align:center}._root_1psx5_1 ._container_1psx5_4{position:relative;height:100%}._root_1psx5_1 ._container_1psx5_4 ._progress_1psx5_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_1psx5_1 ._container_1psx5_4 ._intro_1psx5_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_1psx5_1 ._container_1psx5_4 ._content_1psx5_15{height:75%;width:100%}._root_1psx5_1 ._container_1psx5_4 ._branding_1psx5_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_1psx5_1 ._container_1psx5_4 ._branding_1psx5_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_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_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_1psx5_1 ._container_1psx5_4 ._instructions_1psx5_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_1psx5_1 ._container_1psx5_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_1psx5_1 ._container_1psx5_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_1psx5_1 ._container_1psx5_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_1psx5_1 ._container_1psx5_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_1psx5_1 ._container_1psx5_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_h5elg_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_h5elg_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_h5elg_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_h5elg_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_h5elg_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._container_1vep2_1{height:100%;width:100%;border-radius:50%;border-width:2px;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1vep2_1 .7s linear infinite}._container_1vep2_1._md_1vep2_7{height:1rem;width:1rem}._container_1vep2_1._lg_1vep2_10{height:1.75rem;width:1.75rem}@keyframes _spin_1vep2_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
var Xe,
|
|
3
|
-
function
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw--translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-p-0{padding:0}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1duny_1{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:DM Sans,sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;min-height:100vh;min-height:-webkit-fill-available;align-items:center;justify-content:center;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}._root_1duny_1[data-closed]{opacity:0}._root_1duny_1._modal_1duny_10{background-color:#0000004d}@media (min-width: 768px){._root_1duny_1._modal_1duny_10{padding:1rem}._root_1duny_1._modal_1duny_10 ._container_1duny_13{border-radius:.75rem}}._root_1duny_1._modal_1duny_10 ._container_1duny_13{max-width:1500px;max-height:700px}@media (min-width: 768px){._root_1duny_1._page_1duny_18{padding:0}}._root_1duny_1 ._close_1duny_21{position:absolute;top:.5rem;left:.5rem;display:flex;align-items:center;justify-content:center;z-index:20;height:1.5rem;width:1.5rem;border-radius:9999px;background-color:#00000080}._root_1duny_1 ._close_1duny_21 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1duny_1 ._close_1duny_21 svg:hover{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}._root_1duny_1 ._container_1duny_13{height:100%;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}._root_1duny_1 ._container_1duny_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_5hgaj_1{height:100%;text-align:center}._root_5hgaj_1 ._container_5hgaj_4{position:relative;height:100%}._root_5hgaj_1 ._container_5hgaj_4 ._progress_5hgaj_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_5hgaj_1 ._container_5hgaj_4 ._intro_5hgaj_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_5hgaj_1 ._container_5hgaj_4 ._content_5hgaj_15{height:70%;width:100%}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18{position:absolute;left:0;right:0;bottom:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:500;display:flex;align-items:center;justify-content:center}._root_5hgaj_1 ._container_5hgaj_4 ._branding_5hgaj_18>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructionsContainer_5hgaj_22:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_5hgaj_1 ._container_5hgaj_4 ._instructions_5hgaj_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_5hgaj_1 ._container_5hgaj_4 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_5hgaj_1 ._container_5hgaj_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_5hgaj_1 ._container_5hgaj_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_5hgaj_1 ._container_5hgaj_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_h5elg_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_h5elg_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_h5elg_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_h5elg_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_h5elg_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._container_1vep2_1{height:100%;width:100%;border-radius:50%;border-width:2px;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1vep2_1 .7s linear infinite}._container_1vep2_1._md_1vep2_7{height:1rem;width:1rem}._container_1vep2_1._lg_1vep2_10{height:1.75rem;width:1.75rem}@keyframes _spin_1vep2_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
var Xe, S, cr, be, Fn, ur, Ot, nn, Rt, Vt, dr, Ze = {}, fr = [], So = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, mt = Array.isArray;
|
|
3
|
+
function ue(e, t) {
|
|
4
4
|
for (var n in t) e[n] = t[n];
|
|
5
5
|
return e;
|
|
6
6
|
}
|
|
@@ -12,11 +12,11 @@ function ne(e, t, n) {
|
|
|
12
12
|
var r, o, i, a = {};
|
|
13
13
|
for (i in t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : a[i] = t[i];
|
|
14
14
|
if (arguments.length > 2 && (a.children = arguments.length > 3 ? Xe.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) a[i] === void 0 && (a[i] = e.defaultProps[i]);
|
|
15
|
-
return
|
|
15
|
+
return ze(e, a, r, o, null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function ze(e, t, n, r, o) {
|
|
18
18
|
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++cr, __i: -1, __u: 0 };
|
|
19
|
-
return o == null &&
|
|
19
|
+
return o == null && S.vnode != null && S.vnode(i), i;
|
|
20
20
|
}
|
|
21
21
|
function rn() {
|
|
22
22
|
return { current: null };
|
|
@@ -27,10 +27,10 @@ function D(e) {
|
|
|
27
27
|
function te(e, t) {
|
|
28
28
|
this.props = e, this.context = t;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
if (t == null) return e.__ ?
|
|
30
|
+
function Fe(e, t) {
|
|
31
|
+
if (t == null) return e.__ ? Fe(e.__, e.__i + 1) : null;
|
|
32
32
|
for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
|
|
33
|
-
return typeof e.type == "function" ?
|
|
33
|
+
return typeof e.type == "function" ? Fe(e) : null;
|
|
34
34
|
}
|
|
35
35
|
function hr(e) {
|
|
36
36
|
var t, n;
|
|
@@ -43,22 +43,22 @@ function hr(e) {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
function Ut(e) {
|
|
46
|
-
(!e.__d && (e.__d = !0) &&
|
|
46
|
+
(!e.__d && (e.__d = !0) && be.push(e) && !dt.__r++ || Fn !== S.debounceRendering) && ((Fn = S.debounceRendering) || ur)(dt);
|
|
47
47
|
}
|
|
48
48
|
function dt() {
|
|
49
49
|
var e, t, n, r, o, i, a, s;
|
|
50
|
-
for (
|
|
50
|
+
for (be.sort(Ot); e = be.shift(); ) e.__d && (t = be.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = ue({}, o)).__v = o.__v + 1, S.vnode && S.vnode(r), on(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? Fe(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, mr(a, r, s), r.__e != i && hr(r)), be.length > t && be.sort(Ot));
|
|
51
51
|
dt.__r = 0;
|
|
52
52
|
}
|
|
53
53
|
function _r(e, t, n, r, o, i, a, s, l, u, d) {
|
|
54
54
|
var c, p, f, v, y, m = r && r.__k || fr, _ = t.length;
|
|
55
|
-
for (n.__d = l,
|
|
55
|
+
for (n.__d = l, xo(n, t, m), l = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? Ze : m[f.__i] || Ze, f.__i = c, on(e, f, p, o, i, a, s, l, u, d), v = f.__e, f.ref && p.ref != f.ref && (p.ref && an(p.ref, null, f), d.push(f.ref, f.__c || v, f)), y == null && v != null && (y = v), 65536 & f.__u || p.__k === f.__k ? l = vr(f, l, e) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : v && (l = v.nextSibling), f.__d = void 0, f.__u &= -196609);
|
|
56
56
|
n.__d = l, n.__e = y;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function xo(e, t, n) {
|
|
59
59
|
var r, o, i, a, s, l = t.length, u = n.length, d = u, c = 0;
|
|
60
|
-
for (e.__k = [], r = 0; r < l; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ?
|
|
61
|
-
if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d =
|
|
60
|
+
for (e.__k = [], r = 0; r < l; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? ze(null, o, null, null, null) : mt(o) ? ze(D, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? ze(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = Mo(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = Fe(i)), Wt(i, i, !1), n[a] = null, d--);
|
|
61
|
+
if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = Fe(i)), Wt(i, i));
|
|
62
62
|
}
|
|
63
63
|
function vr(e, t, n) {
|
|
64
64
|
var r, o;
|
|
@@ -66,15 +66,15 @@ function vr(e, t, n) {
|
|
|
66
66
|
for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = vr(r[o], t, n));
|
|
67
67
|
return t;
|
|
68
68
|
}
|
|
69
|
-
e.__e != t && (t && e.type && !n.contains(t) && (t =
|
|
69
|
+
e.__e != t && (t && e.type && !n.contains(t) && (t = Fe(e)), n.insertBefore(e.__e, t || null), t = e.__e);
|
|
70
70
|
do
|
|
71
71
|
t = t && t.nextSibling;
|
|
72
72
|
while (t != null && t.nodeType === 8);
|
|
73
73
|
return t;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function de(e, t) {
|
|
76
76
|
return t = t || [], e == null || typeof e == "boolean" || (mt(e) ? e.some(function(n) {
|
|
77
|
-
|
|
77
|
+
de(n, t);
|
|
78
78
|
}) : t.push(e)), t;
|
|
79
79
|
}
|
|
80
80
|
function Mo(e, t, n, r) {
|
|
@@ -92,15 +92,15 @@ function Mo(e, t, n, r) {
|
|
|
92
92
|
}
|
|
93
93
|
return -1;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" ||
|
|
95
|
+
function Sn(e, t, n) {
|
|
96
|
+
t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || So.test(t) ? n : n + "px";
|
|
97
97
|
}
|
|
98
98
|
function ot(e, t, n, r, o) {
|
|
99
99
|
var i;
|
|
100
100
|
e: if (t === "style") if (typeof n == "string") e.style.cssText = n;
|
|
101
101
|
else {
|
|
102
|
-
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n ||
|
|
103
|
-
if (n) for (t in n) r && n[t] === r[t] ||
|
|
102
|
+
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Sn(e.style, t, "");
|
|
103
|
+
if (n) for (t in n) r && n[t] === r[t] || Sn(e.style, t, n[t]);
|
|
104
104
|
}
|
|
105
105
|
else if (t[0] === "o" && t[1] === "n") i = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = nn, e.addEventListener(t, i ? Vt : Rt, i)) : e.removeEventListener(t, i ? Vt : Rt, i);
|
|
106
106
|
else {
|
|
@@ -113,22 +113,22 @@ function ot(e, t, n, r, o) {
|
|
|
113
113
|
typeof n == "function" || (n == null || n === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function xn(e) {
|
|
117
117
|
return function(t) {
|
|
118
118
|
if (this.l) {
|
|
119
119
|
var n = this.l[t.type + e];
|
|
120
120
|
if (t.t == null) t.t = nn++;
|
|
121
121
|
else if (t.t < n.u) return;
|
|
122
|
-
return n(
|
|
122
|
+
return n(S.event ? S.event(t) : t);
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
function on(e, t, n, r, o, i, a, s, l, u) {
|
|
127
127
|
var d, c, p, f, v, y, m, _, g, b, C, $, P, O, R, W, E = t.type;
|
|
128
128
|
if (t.constructor !== void 0) return null;
|
|
129
|
-
128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (d =
|
|
129
|
+
128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (d = S.__b) && d(t);
|
|
130
130
|
e: if (typeof E == "function") try {
|
|
131
|
-
if (_ = t.props, g = "prototype" in E && E.prototype.render, b = (d = E.contextType) && r[d.__c], C = d ? b ? b.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new E(_, C) : (t.__c = c = new te(_, C), c.constructor = E, c.render = No), b && b.sub(c), c.props = _, c.state || (c.state = {}), c.context = C, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && E.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s =
|
|
131
|
+
if (_ = t.props, g = "prototype" in E && E.prototype.render, b = (d = E.contextType) && r[d.__c], C = d ? b ? b.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new E(_, C) : (t.__c = c = new te(_, C), c.constructor = E, c.render = No), b && b.sub(c), c.props = _, c.state || (c.state = {}), c.context = C, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && E.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ue({}, c.__s)), ue(c.__s, E.getDerivedStateFromProps(_, c.__s))), f = c.props, v = c.state, c.__v = t, p) g && E.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
|
|
132
132
|
else {
|
|
133
133
|
if (g && E.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, C), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, C) === !1 || t.__v === n.__v)) {
|
|
134
134
|
for (t.__v !== n.__v && (c.props = _, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(k) {
|
|
@@ -141,33 +141,33 @@ function on(e, t, n, r, o, i, a, s, l, u) {
|
|
|
141
141
|
c.componentDidUpdate(f, v, y);
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
|
-
if (c.context = C, c.props = _, c.__P = e, c.__e = !1, P =
|
|
144
|
+
if (c.context = C, c.props = _, c.__P = e, c.__e = !1, P = S.__r, O = 0, g) {
|
|
145
145
|
for (c.state = c.__s, c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++) c.__h.push(c._sb[R]);
|
|
146
146
|
c._sb = [];
|
|
147
147
|
} else do
|
|
148
148
|
c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
|
|
149
149
|
while (c.__d && ++O < 25);
|
|
150
|
-
c.state = c.__s, c.getChildContext != null && (r =
|
|
150
|
+
c.state = c.__s, c.getChildContext != null && (r = ue(ue({}, r), c.getChildContext())), g && !p && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, v)), _r(e, mt(W = d != null && d.type === D && d.key == null ? d.props.children : d) ? W : [W], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
|
|
151
151
|
} catch (k) {
|
|
152
152
|
if (t.__v = null, l || i != null) {
|
|
153
153
|
for (t.__u |= l ? 160 : 32; s && s.nodeType === 8 && s.nextSibling; ) s = s.nextSibling;
|
|
154
154
|
i[i.indexOf(s)] = null, t.__e = s;
|
|
155
155
|
} else t.__e = n.__e, t.__k = n.__k;
|
|
156
|
-
|
|
156
|
+
S.__e(k, t, n);
|
|
157
157
|
}
|
|
158
158
|
else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Po(n.__e, t, n, r, o, i, a, l, u);
|
|
159
|
-
(d =
|
|
159
|
+
(d = S.diffed) && d(t);
|
|
160
160
|
}
|
|
161
161
|
function mr(e, t, n) {
|
|
162
162
|
t.__d = void 0;
|
|
163
163
|
for (var r = 0; r < n.length; r++) an(n[r], n[++r], n[++r]);
|
|
164
|
-
|
|
164
|
+
S.__c && S.__c(t, e), e.some(function(o) {
|
|
165
165
|
try {
|
|
166
166
|
e = o.__h, o.__h = [], e.some(function(i) {
|
|
167
167
|
i.call(o);
|
|
168
168
|
});
|
|
169
169
|
} catch (i) {
|
|
170
|
-
|
|
170
|
+
S.__e(i, o.__v);
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
}
|
|
@@ -195,7 +195,7 @@ function Po(e, t, n, r, o, i, a, s, l) {
|
|
|
195
195
|
}
|
|
196
196
|
for (u in _) f = _[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? v = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || m[u] === f || ot(e, u, f, m[u], o);
|
|
197
197
|
if (d) s || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
|
|
198
|
-
else if (c && (e.innerHTML = ""), _r(e, mt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k &&
|
|
198
|
+
else if (c && (e.innerHTML = ""), _r(e, mt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && Fe(n, 0), s, l), i != null) for (u = i.length; u--; ) i[u] != null && pr(i[u]);
|
|
199
199
|
s || (u = "value", v !== void 0 && (v !== e[u] || g === "progress" && !v || g === "option" && v !== m[u]) && ot(e, u, v, m[u], o), u = "checked", y !== void 0 && y !== e[u] && ot(e, u, y, m[u], o));
|
|
200
200
|
}
|
|
201
201
|
return e;
|
|
@@ -207,16 +207,16 @@ function an(e, t, n) {
|
|
|
207
207
|
r && e.__u(), r && t == null || (e.__u = e(t));
|
|
208
208
|
} else e.current = t;
|
|
209
209
|
} catch (o) {
|
|
210
|
-
|
|
210
|
+
S.__e(o, n);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
function Wt(e, t, n) {
|
|
214
214
|
var r, o;
|
|
215
|
-
if (
|
|
215
|
+
if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || an(r, null, t)), (r = e.__c) != null) {
|
|
216
216
|
if (r.componentWillUnmount) try {
|
|
217
217
|
r.componentWillUnmount();
|
|
218
218
|
} catch (i) {
|
|
219
|
-
|
|
219
|
+
S.__e(i, t);
|
|
220
220
|
}
|
|
221
221
|
r.base = r.__P = null;
|
|
222
222
|
}
|
|
@@ -228,15 +228,15 @@ function No(e, t, n) {
|
|
|
228
228
|
}
|
|
229
229
|
function Ae(e, t, n) {
|
|
230
230
|
var r, o, i, a;
|
|
231
|
-
|
|
231
|
+
S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], on(t, e = (!r && n || t).__k = ne(D, null, [e]), o || Ze, Ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), mr(i, e, a);
|
|
232
232
|
}
|
|
233
233
|
function yr(e, t) {
|
|
234
234
|
Ae(e, t, yr);
|
|
235
235
|
}
|
|
236
236
|
function Lo(e, t, n) {
|
|
237
|
-
var r, o, i, a, s =
|
|
237
|
+
var r, o, i, a, s = ue({}, 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
|
-
return arguments.length > 2 && (s.children = arguments.length > 3 ? Xe.call(arguments, 2) : n),
|
|
239
|
+
return arguments.length > 2 && (s.children = arguments.length > 3 ? Xe.call(arguments, 2) : n), ze(e.type, s, r || e.key, o || e.ref, null);
|
|
240
240
|
}
|
|
241
241
|
function K(e, t) {
|
|
242
242
|
var n = { __c: t = "__cC" + dr++, __: e, Consumer: function(r, o) {
|
|
@@ -261,7 +261,7 @@ function K(e, t) {
|
|
|
261
261
|
} };
|
|
262
262
|
return n.Provider.__ = n.Consumer.contextType = n;
|
|
263
263
|
}
|
|
264
|
-
Xe = fr.slice,
|
|
264
|
+
Xe = fr.slice, S = { __e: function(e, t, n, r) {
|
|
265
265
|
for (var o, i, a; t = t.__; ) if ((o = t.__c) && !o.__) try {
|
|
266
266
|
if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), a = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), a = o.__d), a) return o.__E = o;
|
|
267
267
|
} catch (s) {
|
|
@@ -270,12 +270,12 @@ Xe = fr.slice, F = { __e: function(e, t, n, r) {
|
|
|
270
270
|
throw e;
|
|
271
271
|
} }, cr = 0, te.prototype.setState = function(e, t) {
|
|
272
272
|
var n;
|
|
273
|
-
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s =
|
|
273
|
+
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ue({}, this.state), typeof e == "function" && (e = e(ue({}, n), this.props)), e && ue(n, e), e != null && this.__v && (t && this._sb.push(t), Ut(this));
|
|
274
274
|
}, te.prototype.forceUpdate = function(e) {
|
|
275
275
|
this.__v && (this.__e = !0, e && this.__h.push(e), Ut(this));
|
|
276
|
-
}, te.prototype.render = D,
|
|
276
|
+
}, te.prototype.render = D, be = [], ur = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
|
|
277
277
|
return e.__v.__b - t.__v.__b;
|
|
278
|
-
}, dt.__r = 0, nn = 0, Rt =
|
|
278
|
+
}, dt.__r = 0, nn = 0, Rt = xn(!1), Vt = xn(!0), dr = 0;
|
|
279
279
|
var Ao = 0;
|
|
280
280
|
function h(e, t, n, r, o, i) {
|
|
281
281
|
t || (t = {});
|
|
@@ -283,19 +283,19 @@ function h(e, t, n, r, o, i) {
|
|
|
283
283
|
if ("ref" in l) for (s in l = {}, t) s == "ref" ? a = t[s] : l[s] = t[s];
|
|
284
284
|
var u = { type: e, props: l, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --Ao, __i: -1, __u: 0, __source: o, __self: i };
|
|
285
285
|
if (typeof e == "function" && (a = e.defaultProps)) for (s in a) l[s] === void 0 && (l[s] = a[s]);
|
|
286
|
-
return
|
|
286
|
+
return S.vnode && S.vnode(u), u;
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
function
|
|
288
|
+
var pe, L, Mt, Mn, Ie = 0, gr = [], V = S, Pn = V.__b, Nn = V.__r, Ln = V.diffed, An = V.__c, In = V.unmount, Hn = V.__;
|
|
289
|
+
function xe(e, t) {
|
|
290
290
|
V.__h && V.__h(L, e, Ie || t), Ie = 0;
|
|
291
291
|
var n = L.__H || (L.__H = { __: [], __h: [] });
|
|
292
292
|
return e >= n.__.length && n.__.push({}), n.__[e];
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function F(e) {
|
|
295
295
|
return Ie = 1, Qe(wr, e);
|
|
296
296
|
}
|
|
297
297
|
function Qe(e, t, n) {
|
|
298
|
-
var r =
|
|
298
|
+
var r = xe(pe++, 2);
|
|
299
299
|
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : wr(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 =
|
|
332
|
+
var n = xe(pe++, 3);
|
|
333
333
|
!V.__s && cn(n.__H, t) && (n.__ = e, n.i = t, L.__H.__h.push(n));
|
|
334
334
|
}
|
|
335
|
-
function
|
|
336
|
-
var n =
|
|
335
|
+
function Me(e, t) {
|
|
336
|
+
var n = xe(pe++, 4);
|
|
337
337
|
!V.__s && cn(n.__H, t) && (n.__ = e, n.i = t, L.__h.push(n));
|
|
338
338
|
}
|
|
339
339
|
function w(e) {
|
|
@@ -342,7 +342,7 @@ function w(e) {
|
|
|
342
342
|
}, []);
|
|
343
343
|
}
|
|
344
344
|
function sn(e, t, n) {
|
|
345
|
-
Ie = 6,
|
|
345
|
+
Ie = 6, Me(function() {
|
|
346
346
|
return typeof e == "function" ? (e(t()), function() {
|
|
347
347
|
return e(null);
|
|
348
348
|
}) : e ? (e.current = t(), function() {
|
|
@@ -351,31 +351,31 @@ function sn(e, t, n) {
|
|
|
351
351
|
}, n == null ? n : n.concat(e));
|
|
352
352
|
}
|
|
353
353
|
function M(e, t) {
|
|
354
|
-
var n =
|
|
354
|
+
var n = xe(pe++, 7);
|
|
355
355
|
return cn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function A(e, t) {
|
|
358
358
|
return Ie = 8, M(function() {
|
|
359
359
|
return e;
|
|
360
360
|
}, t);
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
var t = L.context[e.__c], n =
|
|
362
|
+
function z(e) {
|
|
363
|
+
var t = L.context[e.__c], n = xe(pe++, 9);
|
|
364
364
|
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(L)), t.props.value) : e.__;
|
|
365
365
|
}
|
|
366
366
|
function ln(e, t) {
|
|
367
367
|
V.useDebugValue && V.useDebugValue(t ? t(e) : e);
|
|
368
368
|
}
|
|
369
369
|
function Io(e) {
|
|
370
|
-
var t =
|
|
370
|
+
var t = xe(pe++, 10), n = F();
|
|
371
371
|
return t.__ = e, L.componentDidCatch || (L.componentDidCatch = function(r, o) {
|
|
372
372
|
t.__ && t.__(r, o), n[1](r);
|
|
373
373
|
}), [n[0], function() {
|
|
374
374
|
n[1](void 0);
|
|
375
375
|
}];
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
var e =
|
|
377
|
+
function ye() {
|
|
378
|
+
var e = xe(pe++, 11);
|
|
379
379
|
if (!e.__) {
|
|
380
380
|
for (var t = L.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
|
|
381
381
|
var n = t.__m || (t.__m = [0, 0]);
|
|
@@ -385,7 +385,7 @@ function me() {
|
|
|
385
385
|
}
|
|
386
386
|
function Ho() {
|
|
387
387
|
for (var e; e = gr.shift(); ) if (e.__P && e.__H) try {
|
|
388
|
-
e.__H.__h.forEach(ut), e.__H.__h.forEach(
|
|
388
|
+
e.__H.__h.forEach(ut), e.__H.__h.forEach(jt), e.__H.__h = [];
|
|
389
389
|
} catch (t) {
|
|
390
390
|
e.__H.__h = [], V.__e(t, e.__v);
|
|
391
391
|
}
|
|
@@ -395,11 +395,11 @@ V.__b = function(e) {
|
|
|
395
395
|
}, V.__ = function(e, t) {
|
|
396
396
|
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Hn && Hn(e, t);
|
|
397
397
|
}, V.__r = function(e) {
|
|
398
|
-
Nn && Nn(e),
|
|
398
|
+
Nn && Nn(e), pe = 0;
|
|
399
399
|
var t = (L = e.__c).__H;
|
|
400
400
|
t && (Mt === L ? (t.__h = [], L.__h = [], t.__.forEach(function(n) {
|
|
401
401
|
n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
|
|
402
|
-
})) : (t.__h.forEach(ut), t.__h.forEach(
|
|
402
|
+
})) : (t.__h.forEach(ut), t.__h.forEach(jt), t.__h = [], pe = 0)), Mt = L;
|
|
403
403
|
}, V.diffed = function(e) {
|
|
404
404
|
Ln && Ln(e);
|
|
405
405
|
var t = e.__c;
|
|
@@ -410,7 +410,7 @@ V.__b = function(e) {
|
|
|
410
410
|
t.some(function(n) {
|
|
411
411
|
try {
|
|
412
412
|
n.__h.forEach(ut), n.__h = n.__h.filter(function(r) {
|
|
413
|
-
return !r.__ ||
|
|
413
|
+
return !r.__ || jt(r);
|
|
414
414
|
});
|
|
415
415
|
} catch (r) {
|
|
416
416
|
t.some(function(o) {
|
|
@@ -440,7 +440,7 @@ function ut(e) {
|
|
|
440
440
|
var t = L, n = e.__c;
|
|
441
441
|
typeof n == "function" && (e.__c = void 0, n()), L = t;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function jt(e) {
|
|
444
444
|
var t = L;
|
|
445
445
|
e.__c = e.__(), L = t;
|
|
446
446
|
}
|
|
@@ -456,7 +456,7 @@ function br(e, t) {
|
|
|
456
456
|
for (var n in t) e[n] = t[n];
|
|
457
457
|
return e;
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function zt(e, t) {
|
|
460
460
|
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
|
|
461
461
|
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
|
|
462
462
|
return !1;
|
|
@@ -467,7 +467,7 @@ function ft(e, t) {
|
|
|
467
467
|
function Er(e, t) {
|
|
468
468
|
function n(o) {
|
|
469
469
|
var i = this.props.ref, a = i == o.ref;
|
|
470
|
-
return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a :
|
|
470
|
+
return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : zt(this.props, o);
|
|
471
471
|
}
|
|
472
472
|
function r(o) {
|
|
473
473
|
return this.shouldComponentUpdate = n, ne(e, o);
|
|
@@ -475,10 +475,10 @@ function Er(e, t) {
|
|
|
475
475
|
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
|
|
476
476
|
}
|
|
477
477
|
(ft.prototype = new te()).isPureReactComponent = !0, ft.prototype.shouldComponentUpdate = function(e, t) {
|
|
478
|
-
return
|
|
478
|
+
return zt(this.props, e) || zt(this.state, t);
|
|
479
479
|
};
|
|
480
|
-
var On =
|
|
481
|
-
|
|
480
|
+
var On = S.__b;
|
|
481
|
+
S.__b = function(e) {
|
|
482
482
|
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), On && On(e);
|
|
483
483
|
};
|
|
484
484
|
var Oo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
@@ -490,21 +490,21 @@ function un(e) {
|
|
|
490
490
|
return t.$$typeof = Oo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
491
491
|
}
|
|
492
492
|
var Rn = function(e, t) {
|
|
493
|
-
return e == null ? null :
|
|
493
|
+
return e == null ? null : de(de(e).map(t));
|
|
494
494
|
}, $r = { map: Rn, forEach: Rn, count: function(e) {
|
|
495
|
-
return e ?
|
|
495
|
+
return e ? de(e).length : 0;
|
|
496
496
|
}, only: function(e) {
|
|
497
|
-
var t =
|
|
497
|
+
var t = de(e);
|
|
498
498
|
if (t.length !== 1) throw "Children.only";
|
|
499
499
|
return t[0];
|
|
500
|
-
}, toArray:
|
|
501
|
-
|
|
500
|
+
}, toArray: de }, Ro = S.__e;
|
|
501
|
+
S.__e = function(e, t, n, r) {
|
|
502
502
|
if (e.then) {
|
|
503
503
|
for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
|
|
504
504
|
}
|
|
505
505
|
Ro(e, t, n, r);
|
|
506
506
|
};
|
|
507
|
-
var Vn =
|
|
507
|
+
var Vn = S.unmount;
|
|
508
508
|
function Tr(e, t, n) {
|
|
509
509
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
|
|
510
510
|
typeof r.__c == "function" && r.__c();
|
|
@@ -524,7 +524,7 @@ function kr(e) {
|
|
|
524
524
|
var t = e.__.__c;
|
|
525
525
|
return t && t.__a && t.__a(e);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function Fr(e) {
|
|
528
528
|
var t, n, r;
|
|
529
529
|
function o(i) {
|
|
530
530
|
if (t || (t = e()).then(function(a) {
|
|
@@ -540,7 +540,7 @@ function xr(e) {
|
|
|
540
540
|
function Le() {
|
|
541
541
|
this.u = null, this.o = null;
|
|
542
542
|
}
|
|
543
|
-
|
|
543
|
+
S.unmount = function(e) {
|
|
544
544
|
var t = e.__c;
|
|
545
545
|
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Vn && Vn(e);
|
|
546
546
|
}, (Be.prototype = new te()).__c = function(e, t) {
|
|
@@ -614,7 +614,7 @@ function yt(e, t) {
|
|
|
614
614
|
};
|
|
615
615
|
}, Le.prototype.render = function(e) {
|
|
616
616
|
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
617
|
-
var t =
|
|
617
|
+
var t = de(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;
|
|
@@ -624,10 +624,10 @@ function yt(e, t) {
|
|
|
624
624
|
Un(e, n, t);
|
|
625
625
|
});
|
|
626
626
|
};
|
|
627
|
-
var
|
|
627
|
+
var Sr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Wo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, jo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, zo = /[A-Z0-9]/g, Bo = typeof document < "u", qo = function(e) {
|
|
628
628
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
629
629
|
};
|
|
630
|
-
function
|
|
630
|
+
function xr(e, t, n) {
|
|
631
631
|
return t.__k == null && (t.textContent = ""), Ae(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
632
632
|
}
|
|
633
633
|
function Mr(e, t, n) {
|
|
@@ -640,7 +640,7 @@ te.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
|
|
|
640
640
|
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
|
|
641
641
|
} });
|
|
642
642
|
});
|
|
643
|
-
var Wn =
|
|
643
|
+
var Wn = S.event;
|
|
644
644
|
function Yo() {
|
|
645
645
|
}
|
|
646
646
|
function Ko() {
|
|
@@ -649,47 +649,47 @@ function Ko() {
|
|
|
649
649
|
function Go() {
|
|
650
650
|
return this.defaultPrevented;
|
|
651
651
|
}
|
|
652
|
-
|
|
652
|
+
S.event = function(e) {
|
|
653
653
|
return Wn && (e = Wn(e)), e.persist = Yo, e.isPropagationStopped = Ko, e.isDefaultPrevented = Go, e.nativeEvent = e;
|
|
654
654
|
};
|
|
655
655
|
var dn, Zo = { enumerable: !1, configurable: !0, get: function() {
|
|
656
656
|
return this.class;
|
|
657
|
-
} },
|
|
658
|
-
|
|
657
|
+
} }, jn = S.vnode;
|
|
658
|
+
S.vnode = function(e) {
|
|
659
659
|
typeof e.type == "string" && function(t) {
|
|
660
660
|
var n = t.props, r = t.type, o = {};
|
|
661
661
|
for (var i in n) {
|
|
662
662
|
var a = n[i];
|
|
663
663
|
if (!(i === "value" && "defaultValue" in n && a == null || Bo && i === "children" && r === "noscript" || i === "class" || i === "className")) {
|
|
664
664
|
var s = i.toLowerCase();
|
|
665
|
-
i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : s === "translate" && a === "no" ? a = !1 : s === "ondoubleclick" ? i = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || qo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" :
|
|
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" || qo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" : jo.test(i) ? i = s : r.indexOf("-") === -1 && Wo.test(i) ? i = i.replace(zo, "-$&").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 =
|
|
668
|
+
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = de(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 =
|
|
670
|
+
})), r == "select" && o.defaultValue != null && (o.value = de(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", Zo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
|
|
673
|
-
}(e), e.$$typeof =
|
|
673
|
+
}(e), e.$$typeof = Sr, jn && jn(e);
|
|
674
674
|
};
|
|
675
|
-
var
|
|
676
|
-
|
|
677
|
-
|
|
675
|
+
var zn = S.__r;
|
|
676
|
+
S.__r = function(e) {
|
|
677
|
+
zn && zn(e), dn = e.__c;
|
|
678
678
|
};
|
|
679
|
-
var Bn =
|
|
680
|
-
|
|
679
|
+
var Bn = S.diffed;
|
|
680
|
+
S.diffed = function(e) {
|
|
681
681
|
Bn && Bn(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), dn = null;
|
|
684
684
|
};
|
|
685
685
|
var Pr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
686
686
|
return dn.__n[e.__c].props.value;
|
|
687
|
-
}, useCallback:
|
|
687
|
+
}, useCallback: A, useContext: z, useDebugValue: ln, useDeferredValue: hn, useEffect: N, useId: ye, useImperativeHandle: sn, useInsertionEffect: vn, useLayoutEffect: Me, useMemo: M, useReducer: Qe, useRef: w, useState: F, useSyncExternalStore: gt, useTransition: _n } } }, Xo = "17.0.2";
|
|
688
688
|
function Nr(e) {
|
|
689
689
|
return ne.bind(null, e);
|
|
690
690
|
}
|
|
691
691
|
function De(e) {
|
|
692
|
-
return !!e && e.$$typeof ===
|
|
692
|
+
return !!e && e.$$typeof === Sr;
|
|
693
693
|
}
|
|
694
694
|
function Lr(e) {
|
|
695
695
|
return De(e) && e.type === D;
|
|
@@ -720,10 +720,10 @@ function hn(e) {
|
|
|
720
720
|
function _n() {
|
|
721
721
|
return [!1, pn];
|
|
722
722
|
}
|
|
723
|
-
var vn =
|
|
723
|
+
var vn = Me, Vr = De;
|
|
724
724
|
function gt(e, t) {
|
|
725
|
-
var n = t(), r =
|
|
726
|
-
return
|
|
725
|
+
var n = t(), r = F({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
|
|
726
|
+
return Me(function() {
|
|
727
727
|
o.__ = n, o.v = t, Pt(o) && i({ h: o });
|
|
728
728
|
}, [e, n, t]), N(function() {
|
|
729
729
|
return Pt(o) && i({ h: o }), e(function() {
|
|
@@ -740,7 +740,7 @@ function Pt(e) {
|
|
|
740
740
|
return !0;
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
|
-
var T = { useState:
|
|
743
|
+
var T = { useState: F, useId: ye, useReducer: Qe, useEffect: N, useLayoutEffect: Me, useInsertionEffect: vn, useTransition: _n, useDeferredValue: hn, useSyncExternalStore: gt, startTransition: pn, useRef: w, useImperativeHandle: sn, useMemo: M, useCallback: A, useContext: z, useDebugValue: ln, version: "17.0.2", Children: $r, render: xr, hydrate: Mr, unmountComponentAtNode: Ir, createPortal: yt, createElement: ne, createContext: K, createFactory: Nr, cloneElement: fn, createRef: rn, Fragment: D, isValidElement: De, isElement: Vr, isFragment: Lr, isMemo: Ar, findDOMNode: Hr, Component: te, PureComponent: ft, memo: Er, forwardRef: un, flushSync: Or, unstable_batchedUpdates: Dr, StrictMode: Rr, Suspense: Be, SuspenseList: Le, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Pr };
|
|
744
744
|
const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
745
745
|
__proto__: null,
|
|
746
746
|
Children: $r,
|
|
@@ -766,26 +766,26 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
766
766
|
isFragment: Lr,
|
|
767
767
|
isMemo: Ar,
|
|
768
768
|
isValidElement: De,
|
|
769
|
-
lazy:
|
|
769
|
+
lazy: Fr,
|
|
770
770
|
memo: Er,
|
|
771
|
-
render:
|
|
771
|
+
render: xr,
|
|
772
772
|
startTransition: pn,
|
|
773
773
|
unmountComponentAtNode: Ir,
|
|
774
774
|
unstable_batchedUpdates: Dr,
|
|
775
|
-
useCallback:
|
|
776
|
-
useContext:
|
|
775
|
+
useCallback: A,
|
|
776
|
+
useContext: z,
|
|
777
777
|
useDebugValue: ln,
|
|
778
778
|
useDeferredValue: hn,
|
|
779
779
|
useEffect: N,
|
|
780
780
|
useErrorBoundary: Io,
|
|
781
|
-
useId:
|
|
781
|
+
useId: ye,
|
|
782
782
|
useImperativeHandle: sn,
|
|
783
783
|
useInsertionEffect: vn,
|
|
784
|
-
useLayoutEffect:
|
|
784
|
+
useLayoutEffect: Me,
|
|
785
785
|
useMemo: M,
|
|
786
786
|
useReducer: Qe,
|
|
787
787
|
useRef: w,
|
|
788
|
-
useState:
|
|
788
|
+
useState: F,
|
|
789
789
|
useSyncExternalStore: gt,
|
|
790
790
|
useTransition: _n,
|
|
791
791
|
version: Xo
|
|
@@ -797,7 +797,7 @@ function Qo(e) {
|
|
|
797
797
|
t.current = e;
|
|
798
798
|
}, [
|
|
799
799
|
e
|
|
800
|
-
]),
|
|
800
|
+
]), A((...n) => {
|
|
801
801
|
const r = t.current;
|
|
802
802
|
return r == null ? void 0 : r(...n);
|
|
803
803
|
}, []);
|
|
@@ -805,7 +805,7 @@ function Qo(e) {
|
|
|
805
805
|
const Je = (e) => {
|
|
806
806
|
var t;
|
|
807
807
|
return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
|
|
808
|
-
},
|
|
808
|
+
}, $e = (e) => e && "window" in e && e.window === e ? e : Je(e).defaultView || window;
|
|
809
809
|
function Jo(e) {
|
|
810
810
|
var t;
|
|
811
811
|
return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((n) => e.test(n.brand))) || e.test(window.navigator.userAgent);
|
|
@@ -856,7 +856,7 @@ function Wr(e) {
|
|
|
856
856
|
let n = Qo((r) => {
|
|
857
857
|
e == null || e(r);
|
|
858
858
|
});
|
|
859
|
-
return
|
|
859
|
+
return A((r) => {
|
|
860
860
|
if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
|
|
861
861
|
t.current.isFocused = !0;
|
|
862
862
|
let o = r.target, i = (a) => {
|
|
@@ -889,13 +889,13 @@ function Wr(e) {
|
|
|
889
889
|
}
|
|
890
890
|
function ii(e) {
|
|
891
891
|
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: o } = e;
|
|
892
|
-
const i =
|
|
892
|
+
const i = A((l) => {
|
|
893
893
|
if (l.target === l.currentTarget)
|
|
894
894
|
return r && r(l), o && o(!1), !0;
|
|
895
895
|
}, [
|
|
896
896
|
r,
|
|
897
897
|
o
|
|
898
|
-
]), a = Wr(i), s =
|
|
898
|
+
]), a = Wr(i), s = A((l) => {
|
|
899
899
|
const u = Je(l.target);
|
|
900
900
|
l.target === l.currentTarget && u.activeElement === l.target && (n && n(l), o && o(!0), a(l));
|
|
901
901
|
}, [
|
|
@@ -910,7 +910,7 @@ function ii(e) {
|
|
|
910
910
|
}
|
|
911
911
|
};
|
|
912
912
|
}
|
|
913
|
-
let et = null, Bt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(),
|
|
913
|
+
let et = null, Bt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(), Se = !1, qt = !1;
|
|
914
914
|
const ai = {
|
|
915
915
|
Tab: !0,
|
|
916
916
|
Escape: !0
|
|
@@ -922,27 +922,27 @@ function si(e) {
|
|
|
922
922
|
return !(e.metaKey || !ti() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
923
923
|
}
|
|
924
924
|
function pt(e) {
|
|
925
|
-
|
|
925
|
+
Se = !0, si(e) && (et = "keyboard", mn("keyboard", e));
|
|
926
926
|
}
|
|
927
927
|
function X(e) {
|
|
928
|
-
et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (
|
|
929
|
-
}
|
|
930
|
-
function zr(e) {
|
|
931
|
-
ri(e) && (xe = !0, et = "virtual");
|
|
928
|
+
et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Se = !0, mn("pointer", e));
|
|
932
929
|
}
|
|
933
930
|
function jr(e) {
|
|
934
|
-
e
|
|
931
|
+
ri(e) && (Se = !0, et = "virtual");
|
|
932
|
+
}
|
|
933
|
+
function zr(e) {
|
|
934
|
+
e.target === window || e.target === document || (!Se && !qt && (et = "virtual", mn("virtual", e)), Se = !1, qt = !1);
|
|
935
935
|
}
|
|
936
936
|
function Br() {
|
|
937
|
-
|
|
937
|
+
Se = !1, qt = !0;
|
|
938
938
|
}
|
|
939
939
|
function Yt(e) {
|
|
940
|
-
if (typeof window > "u" || qe.get(
|
|
941
|
-
const t =
|
|
940
|
+
if (typeof window > "u" || qe.get($e(e))) return;
|
|
941
|
+
const t = $e(e), n = Je(e);
|
|
942
942
|
let r = t.HTMLElement.prototype.focus;
|
|
943
943
|
t.HTMLElement.prototype.focus = function() {
|
|
944
|
-
|
|
945
|
-
}, n.addEventListener("keydown", pt, !0), n.addEventListener("keyup", pt, !0), n.addEventListener("click",
|
|
944
|
+
Se = !0, r.apply(this, arguments);
|
|
945
|
+
}, n.addEventListener("keydown", pt, !0), n.addEventListener("keyup", pt, !0), n.addEventListener("click", jr, !0), t.addEventListener("focus", zr, !0), t.addEventListener("blur", Br, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", X, !0), n.addEventListener("pointermove", X, !0), n.addEventListener("pointerup", X, !0)) : (n.addEventListener("mousedown", X, !0), n.addEventListener("mousemove", X, !0), n.addEventListener("mouseup", X, !0)), t.addEventListener("beforeunload", () => {
|
|
946
946
|
qr(e);
|
|
947
947
|
}, {
|
|
948
948
|
once: !0
|
|
@@ -951,8 +951,8 @@ function Yt(e) {
|
|
|
951
951
|
});
|
|
952
952
|
}
|
|
953
953
|
const qr = (e, t) => {
|
|
954
|
-
const n =
|
|
955
|
-
t && r.removeEventListener("DOMContentLoaded", t), qe.has(n) && (n.HTMLElement.prototype.focus = qe.get(n).focus, r.removeEventListener("keydown", pt, !0), r.removeEventListener("keyup", pt, !0), r.removeEventListener("click",
|
|
954
|
+
const n = $e(e), r = Je(e);
|
|
955
|
+
t && r.removeEventListener("DOMContentLoaded", t), qe.has(n) && (n.HTMLElement.prototype.focus = qe.get(n).focus, r.removeEventListener("keydown", pt, !0), r.removeEventListener("keyup", pt, !0), r.removeEventListener("click", jr, !0), n.removeEventListener("focus", zr, !0), n.removeEventListener("blur", Br, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", X, !0), r.removeEventListener("pointermove", X, !0), r.removeEventListener("pointerup", X, !0)) : (r.removeEventListener("mousedown", X, !0), r.removeEventListener("mousemove", X, !0), r.removeEventListener("mouseup", X, !0)), qe.delete(n));
|
|
956
956
|
};
|
|
957
957
|
function li(e) {
|
|
958
958
|
const t = Je(e);
|
|
@@ -978,7 +978,7 @@ const ci = /* @__PURE__ */ new Set([
|
|
|
978
978
|
]);
|
|
979
979
|
function ui(e, t, n) {
|
|
980
980
|
var r;
|
|
981
|
-
const o = typeof window < "u" ?
|
|
981
|
+
const o = typeof window < "u" ? $e(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? $e(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? $e(n == null ? void 0 : n.target).HTMLElement : HTMLElement, s = typeof window < "u" ? $e(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
|
|
982
982
|
return e = e || (n == null ? void 0 : n.target) instanceof o && !ci.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 && !ai[n.key]);
|
|
983
983
|
}
|
|
984
984
|
function di(e, t, n) {
|
|
@@ -994,13 +994,13 @@ function di(e, t, n) {
|
|
|
994
994
|
function fi(e) {
|
|
995
995
|
let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = w({
|
|
996
996
|
isFocusWithin: !1
|
|
997
|
-
}), a =
|
|
997
|
+
}), a = A((u) => {
|
|
998
998
|
i.current.isFocusWithin && !u.currentTarget.contains(u.relatedTarget) && (i.current.isFocusWithin = !1, n && n(u), o && o(!1));
|
|
999
999
|
}, [
|
|
1000
1000
|
n,
|
|
1001
1001
|
o,
|
|
1002
1002
|
i
|
|
1003
|
-
]), s = Wr(a), l =
|
|
1003
|
+
]), s = Wr(a), l = A((u) => {
|
|
1004
1004
|
!i.current.isFocusWithin && document.activeElement === u.target && (r && r(u), o && o(!0), i.current.isFocusWithin = !0, s(u));
|
|
1005
1005
|
}, [
|
|
1006
1006
|
r,
|
|
@@ -1036,7 +1036,7 @@ function pi() {
|
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
1038
|
function hi(e) {
|
|
1039
|
-
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] =
|
|
1039
|
+
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = F(!1), s = w({
|
|
1040
1040
|
isHovered: !1,
|
|
1041
1041
|
ignoreEmulatedMouseEvents: !1,
|
|
1042
1042
|
pointerType: "",
|
|
@@ -1099,7 +1099,7 @@ function _i(e = {}) {
|
|
|
1099
1099
|
let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = w({
|
|
1100
1100
|
isFocused: !1,
|
|
1101
1101
|
isFocusVisible: t || Yr()
|
|
1102
|
-
}), [i, a] =
|
|
1102
|
+
}), [i, a] = F(!1), [s, l] = F(() => o.current.isFocused && o.current.isFocusVisible), u = A(() => l(o.current.isFocused && o.current.isFocusVisible), []), d = A((f) => {
|
|
1103
1103
|
o.current.isFocused = f, a(f), u();
|
|
1104
1104
|
}, [
|
|
1105
1105
|
u
|
|
@@ -1151,16 +1151,16 @@ let yi = class {
|
|
|
1151
1151
|
get isHandoffComplete() {
|
|
1152
1152
|
return this.handoffState === "complete";
|
|
1153
1153
|
}
|
|
1154
|
-
},
|
|
1154
|
+
}, Ce = new yi();
|
|
1155
1155
|
function wt(e) {
|
|
1156
|
-
return
|
|
1156
|
+
return Ce.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
1157
1157
|
}
|
|
1158
1158
|
function bt(e) {
|
|
1159
1159
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
|
|
1160
1160
|
throw t;
|
|
1161
1161
|
}));
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function ge() {
|
|
1164
1164
|
let e = [], t = { addEventListener(n, r, o, i) {
|
|
1165
1165
|
return n.addEventListener(r, o, i), t.add(() => n.removeEventListener(r, o, i));
|
|
1166
1166
|
}, requestAnimationFrame(...n) {
|
|
@@ -1184,7 +1184,7 @@ function ye() {
|
|
|
1184
1184
|
Object.assign(n.style, { [r]: i });
|
|
1185
1185
|
});
|
|
1186
1186
|
}, group(n) {
|
|
1187
|
-
let r =
|
|
1187
|
+
let r = ge();
|
|
1188
1188
|
return n(r), this.add(() => r.dispose());
|
|
1189
1189
|
}, add(n) {
|
|
1190
1190
|
return e.includes(n) || e.push(n), () => {
|
|
@@ -1197,20 +1197,20 @@ function ye() {
|
|
|
1197
1197
|
return t;
|
|
1198
1198
|
}
|
|
1199
1199
|
function Et() {
|
|
1200
|
-
let [e] =
|
|
1200
|
+
let [e] = F(ge);
|
|
1201
1201
|
return N(() => () => e.dispose(), [e]), e;
|
|
1202
1202
|
}
|
|
1203
1203
|
let B = (e, t) => {
|
|
1204
|
-
|
|
1204
|
+
Ce.isServer ? N(e, t) : Me(e, t);
|
|
1205
1205
|
};
|
|
1206
|
-
function
|
|
1206
|
+
function Pe(e) {
|
|
1207
1207
|
let t = w(e);
|
|
1208
1208
|
return B(() => {
|
|
1209
1209
|
t.current = e;
|
|
1210
1210
|
}, [e]), t;
|
|
1211
1211
|
}
|
|
1212
1212
|
let H = function(e) {
|
|
1213
|
-
let t =
|
|
1213
|
+
let t = Pe(e);
|
|
1214
1214
|
return T.useCallback((...n) => t.current(...n), [t]);
|
|
1215
1215
|
};
|
|
1216
1216
|
function gi(e) {
|
|
@@ -1221,7 +1221,7 @@ function wi(e, t) {
|
|
|
1221
1221
|
return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
|
|
1222
1222
|
}
|
|
1223
1223
|
function bi({ disabled: e = !1 } = {}) {
|
|
1224
|
-
let t = w(null), [n, r] =
|
|
1224
|
+
let t = w(null), [n, r] = F(!1), o = Et(), i = H(() => {
|
|
1225
1225
|
t.current = null, r(!1), o.dispose();
|
|
1226
1226
|
}), a = H((s) => {
|
|
1227
1227
|
if (o.dispose(), t.current === null) {
|
|
@@ -1241,20 +1241,20 @@ function bi({ disabled: e = !1 } = {}) {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
let Ei = K(void 0);
|
|
1243
1243
|
function Kr() {
|
|
1244
|
-
return
|
|
1244
|
+
return z(Ei);
|
|
1245
1245
|
}
|
|
1246
1246
|
function Gt(...e) {
|
|
1247
1247
|
return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function me(e, t, ...n) {
|
|
1250
1250
|
if (e in t) {
|
|
1251
1251
|
let o = t[e];
|
|
1252
1252
|
return typeof o == "function" ? o(...n) : o;
|
|
1253
1253
|
}
|
|
1254
1254
|
let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
|
|
1255
|
-
throw Error.captureStackTrace && Error.captureStackTrace(r,
|
|
1255
|
+
throw Error.captureStackTrace && Error.captureStackTrace(r, me), r;
|
|
1256
1256
|
}
|
|
1257
|
-
var _t = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(_t || {}),
|
|
1257
|
+
var _t = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(_t || {}), ve = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(ve || {});
|
|
1258
1258
|
function G({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: s }) {
|
|
1259
1259
|
s = s ?? $i;
|
|
1260
1260
|
let l = Gr(t, e);
|
|
@@ -1266,7 +1266,7 @@ function G({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, vi
|
|
|
1266
1266
|
}
|
|
1267
1267
|
if (u & 1) {
|
|
1268
1268
|
let { unmount: d = !0, ...c } = l;
|
|
1269
|
-
return
|
|
1269
|
+
return me(d ? 0 : 1, { 0() {
|
|
1270
1270
|
return null;
|
|
1271
1271
|
}, 1() {
|
|
1272
1272
|
return it({ ...c, hidden: !0, style: { display: "none" } }, n, r, a, s);
|
|
@@ -1286,13 +1286,13 @@ function it(e, t = {}, n, r, o) {
|
|
|
1286
1286
|
for (let v of f) c[`data-${v}`] = "";
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
if (i === D && (Object.keys(
|
|
1290
|
-
if (Object.keys(
|
|
1289
|
+
if (i === D && (Object.keys(we(l)).length > 0 || Object.keys(we(c)).length > 0)) if (!De(d) || Array.isArray(d) && d.length > 1) {
|
|
1290
|
+
if (Object.keys(we(l)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(we(l)).concat(Object.keys(we(c))).map((p) => ` - ${p}`).join(`
|
|
1291
1291
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(`
|
|
1292
1292
|
`)].join(`
|
|
1293
1293
|
`));
|
|
1294
1294
|
} else {
|
|
1295
|
-
let p = d.props, f = p == null ? void 0 : p.className, v = typeof f == "function" ? (..._) => Gt(f(..._), l.className) : Gt(f, l.className), y = v ? { className: v } : {}, m = Gr(d.props,
|
|
1295
|
+
let p = d.props, f = p == null ? void 0 : p.className, v = typeof f == "function" ? (..._) => Gt(f(..._), l.className) : Gt(f, l.className), y = v ? { className: v } : {}, m = Gr(d.props, we(At(l, ["ref"])));
|
|
1296
1296
|
for (let _ in c) _ in m && delete c[_];
|
|
1297
1297
|
return fn(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, y));
|
|
1298
1298
|
}
|
|
@@ -1336,7 +1336,7 @@ function q(e) {
|
|
|
1336
1336
|
var t;
|
|
1337
1337
|
return Object.assign(un(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function we(e) {
|
|
1340
1340
|
let t = Object.assign({}, e);
|
|
1341
1341
|
for (let n in t) t[n] === void 0 && delete t[n];
|
|
1342
1342
|
return t;
|
|
@@ -1352,16 +1352,16 @@ function ki(e, t) {
|
|
|
1352
1352
|
let r = Kr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: s, focusProps: l } = _i({ autoFocus: i }), { isHovered: u, hoverProps: d } = hi({ isDisabled: o }), { pressed: c, pressProps: p } = bi({ disabled: o }), f = Ti({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, l, d, p), v = M(() => ({ disabled: o, hover: u, focus: s, active: c, autofocus: i }), [o, u, s, c, i]);
|
|
1353
1353
|
return G({ ourProps: f, theirProps: a, slot: v, defaultTag: Ci, name: "Button" });
|
|
1354
1354
|
}
|
|
1355
|
-
let
|
|
1355
|
+
let Fi = q(ki), Si = "div";
|
|
1356
1356
|
var vt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(vt || {});
|
|
1357
|
-
function
|
|
1357
|
+
function xi(e, t) {
|
|
1358
1358
|
var n;
|
|
1359
1359
|
let { features: r = 1, ...o } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : (n = o["aria-hidden"]) != null ? n : void 0, hidden: (r & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
|
|
1360
|
-
return G({ ourProps: i, theirProps: o, slot: {}, defaultTag:
|
|
1360
|
+
return G({ ourProps: i, theirProps: o, slot: {}, defaultTag: Si, name: "Hidden" });
|
|
1361
1361
|
}
|
|
1362
|
-
let Zt = q(
|
|
1362
|
+
let Zt = q(xi), Mi = K(null);
|
|
1363
1363
|
function Pi({ children: e }) {
|
|
1364
|
-
let t =
|
|
1364
|
+
let t = z(Mi);
|
|
1365
1365
|
if (!t) return T.createElement(T.Fragment, null, e);
|
|
1366
1366
|
let { target: n } = t;
|
|
1367
1367
|
return n ? yt(T.createElement(T.Fragment, null, e), n) : null;
|
|
@@ -1383,7 +1383,7 @@ function ae(...e) {
|
|
|
1383
1383
|
let yn = K(null);
|
|
1384
1384
|
yn.displayName = "DescriptionContext";
|
|
1385
1385
|
function Xr() {
|
|
1386
|
-
let e =
|
|
1386
|
+
let e = z(yn);
|
|
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
1389
|
throw Error.captureStackTrace && Error.captureStackTrace(t, Xr), t;
|
|
@@ -1391,7 +1391,7 @@ function Xr() {
|
|
|
1391
1391
|
return e;
|
|
1392
1392
|
}
|
|
1393
1393
|
function Li() {
|
|
1394
|
-
let [e, t] =
|
|
1394
|
+
let [e, t] = F([]);
|
|
1395
1395
|
return [e.length > 0 ? e.join(" ") : void 0, M(() => function(n) {
|
|
1396
1396
|
let r = H((i) => (t((a) => [...a, i]), () => t((a) => {
|
|
1397
1397
|
let s = a.slice(), l = s.indexOf(i);
|
|
@@ -1402,7 +1402,7 @@ function Li() {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
let Ai = "p";
|
|
1404
1404
|
function Ii(e, t) {
|
|
1405
|
-
let n =
|
|
1405
|
+
let n = ye(), r = Kr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = Xr(), s = ae(t);
|
|
1406
1406
|
B(() => a.register(o), [o, a.register]);
|
|
1407
1407
|
let l = r || !1, u = M(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
|
|
1408
1408
|
return G({ ourProps: d, theirProps: i, slot: u, defaultTag: Ai, name: a.name || "Description" });
|
|
@@ -1446,7 +1446,7 @@ let Ui = new Vi(() => Jr(() => [], { ADD(e) {
|
|
|
1446
1446
|
return n.splice(t, 1), n;
|
|
1447
1447
|
} }));
|
|
1448
1448
|
function Oe(e, t) {
|
|
1449
|
-
let n = Ui.get(t), r =
|
|
1449
|
+
let n = Ui.get(t), r = ye(), o = eo(n);
|
|
1450
1450
|
if (B(() => {
|
|
1451
1451
|
if (e) return n.dispatch("ADD", r), () => n.dispatch("REMOVE", r);
|
|
1452
1452
|
}, [n, e]), !e) return !1;
|
|
@@ -1471,7 +1471,7 @@ function Wi(e, { allowed: t, disallowed: n } = {}) {
|
|
|
1471
1471
|
B(() => {
|
|
1472
1472
|
var o, i;
|
|
1473
1473
|
if (!r) return;
|
|
1474
|
-
let a =
|
|
1474
|
+
let a = ge();
|
|
1475
1475
|
for (let l of (o = n == null ? void 0 : n()) != null ? o : []) l && a.add(Kn(l));
|
|
1476
1476
|
let s = (i = t == null ? void 0 : t()) != null ? i : [];
|
|
1477
1477
|
for (let l of s) {
|
|
@@ -1488,7 +1488,7 @@ function Wi(e, { allowed: t, disallowed: n } = {}) {
|
|
|
1488
1488
|
}, [r, t, n]);
|
|
1489
1489
|
}
|
|
1490
1490
|
function to(e, t, n) {
|
|
1491
|
-
let r =
|
|
1491
|
+
let r = Pe((o) => {
|
|
1492
1492
|
let i = o.getBoundingClientRect();
|
|
1493
1493
|
i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
|
|
1494
1494
|
});
|
|
@@ -1496,7 +1496,7 @@ function to(e, t, n) {
|
|
|
1496
1496
|
if (!e) return;
|
|
1497
1497
|
let o = t === null ? null : t instanceof HTMLElement ? t : t.current;
|
|
1498
1498
|
if (!o) return;
|
|
1499
|
-
let i =
|
|
1499
|
+
let i = ge();
|
|
1500
1500
|
if (typeof ResizeObserver < "u") {
|
|
1501
1501
|
let a = new ResizeObserver(() => r.current(o));
|
|
1502
1502
|
a.observe(o), i.add(() => a.disconnect());
|
|
@@ -1508,18 +1508,18 @@ function to(e, t, n) {
|
|
|
1508
1508
|
return () => i.dispose();
|
|
1509
1509
|
}, [t, r, e]);
|
|
1510
1510
|
}
|
|
1511
|
-
let Qt = ["[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(","),
|
|
1512
|
-
var
|
|
1511
|
+
let Qt = ["[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(","), ji = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
1512
|
+
var ce = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(ce || {}), Jt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Jt || {}), zi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(zi || {});
|
|
1513
1513
|
function Bi(e = document.body) {
|
|
1514
1514
|
return e == null ? [] : Array.from(e.querySelectorAll(Qt)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
1515
1515
|
}
|
|
1516
1516
|
function qi(e = document.body) {
|
|
1517
|
-
return e == null ? [] : Array.from(e.querySelectorAll(
|
|
1517
|
+
return e == null ? [] : Array.from(e.querySelectorAll(ji)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
1518
1518
|
}
|
|
1519
1519
|
var no = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(no || {});
|
|
1520
1520
|
function Yi(e, t = 0) {
|
|
1521
1521
|
var n;
|
|
1522
|
-
return e === ((n = wt(e)) == null ? void 0 : n.body) ? !1 :
|
|
1522
|
+
return e === ((n = wt(e)) == null ? void 0 : n.body) ? !1 : me(t, { 0() {
|
|
1523
1523
|
return e.matches(Qt);
|
|
1524
1524
|
}, 1() {
|
|
1525
1525
|
let r = e;
|
|
@@ -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
|
|
1539
|
+
function fe(e) {
|
|
1540
1540
|
e == null || e.focus({ preventScroll: !0 });
|
|
1541
1541
|
}
|
|
1542
1542
|
let Gi = ["textarea", "input"].join(",");
|
|
@@ -1588,7 +1588,7 @@ function Ji() {
|
|
|
1588
1588
|
return ro() || Qi();
|
|
1589
1589
|
}
|
|
1590
1590
|
function Ue(e, t, n, r) {
|
|
1591
|
-
let o =
|
|
1591
|
+
let o = Pe(n);
|
|
1592
1592
|
N(() => {
|
|
1593
1593
|
if (!e) return;
|
|
1594
1594
|
function i(a) {
|
|
@@ -1598,7 +1598,7 @@ function Ue(e, t, n, r) {
|
|
|
1598
1598
|
}, [e, t, r]);
|
|
1599
1599
|
}
|
|
1600
1600
|
function oo(e, t, n, r) {
|
|
1601
|
-
let o =
|
|
1601
|
+
let o = Pe(n);
|
|
1602
1602
|
N(() => {
|
|
1603
1603
|
if (!e) return;
|
|
1604
1604
|
function i(a) {
|
|
@@ -1609,7 +1609,7 @@ function oo(e, t, n, r) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
const Zn = 30;
|
|
1611
1611
|
function ea(e, t, n) {
|
|
1612
|
-
let r = Oe(e, "outside-click"), o =
|
|
1612
|
+
let r = Oe(e, "outside-click"), o = Pe(n), i = A(function(l, u) {
|
|
1613
1613
|
if (l.defaultPrevented) return;
|
|
1614
1614
|
let d = u(l);
|
|
1615
1615
|
if (d === null || !d.getRootNode().contains(d) || !d.isConnected) return;
|
|
@@ -1644,7 +1644,7 @@ function tt(...e) {
|
|
|
1644
1644
|
return M(() => wt(...e), [...e]);
|
|
1645
1645
|
}
|
|
1646
1646
|
function io(e, t, n, r) {
|
|
1647
|
-
let o =
|
|
1647
|
+
let o = Pe(n);
|
|
1648
1648
|
N(() => {
|
|
1649
1649
|
e = e ?? window;
|
|
1650
1650
|
function i(a) {
|
|
@@ -1672,7 +1672,7 @@ function na() {
|
|
|
1672
1672
|
t.microTask(() => {
|
|
1673
1673
|
var o;
|
|
1674
1674
|
if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
|
|
1675
|
-
let s =
|
|
1675
|
+
let s = ge();
|
|
1676
1676
|
s.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => s.dispose()));
|
|
1677
1677
|
}
|
|
1678
1678
|
let i = (o = window.scrollY) != null ? o : window.pageYOffset, a = null;
|
|
@@ -1717,9 +1717,9 @@ function oa(e) {
|
|
|
1717
1717
|
for (let n of e) Object.assign(t, n(t));
|
|
1718
1718
|
return t;
|
|
1719
1719
|
}
|
|
1720
|
-
let
|
|
1720
|
+
let Te = Jr(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
1721
1721
|
var n;
|
|
1722
|
-
let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d:
|
|
1722
|
+
let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: ge(), meta: /* @__PURE__ */ new Set() };
|
|
1723
1723
|
return r.count++, r.meta.add(t), this.set(e, r), this;
|
|
1724
1724
|
}, POP(e, t) {
|
|
1725
1725
|
let n = this.get(e);
|
|
@@ -1732,18 +1732,18 @@ let $e = Jr(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
|
1732
1732
|
}, TEARDOWN({ doc: e }) {
|
|
1733
1733
|
this.delete(e);
|
|
1734
1734
|
} });
|
|
1735
|
-
|
|
1736
|
-
let e =
|
|
1735
|
+
Te.subscribe(() => {
|
|
1736
|
+
let e = Te.getSnapshot(), t = /* @__PURE__ */ new Map();
|
|
1737
1737
|
for (let [n] of e) t.set(n, n.documentElement.style.overflow);
|
|
1738
1738
|
for (let n of e.values()) {
|
|
1739
1739
|
let r = t.get(n.doc) === "hidden", o = n.count !== 0;
|
|
1740
|
-
(o && !r || !o && r) &&
|
|
1740
|
+
(o && !r || !o && r) && Te.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Te.dispatch("TEARDOWN", n);
|
|
1741
1741
|
}
|
|
1742
1742
|
});
|
|
1743
1743
|
function ia(e, t, n = () => ({ containers: [] })) {
|
|
1744
|
-
let r = eo(
|
|
1744
|
+
let r = eo(Te), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
|
|
1745
1745
|
return B(() => {
|
|
1746
|
-
if (!(!t || !e)) return
|
|
1746
|
+
if (!(!t || !e)) return Te.dispatch("PUSH", t, n), () => Te.dispatch("POP", t, n);
|
|
1747
1747
|
}, [e, t]), i;
|
|
1748
1748
|
}
|
|
1749
1749
|
function aa(e, t, n = () => [document.body]) {
|
|
@@ -1760,7 +1760,7 @@ function sa(e) {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
}
|
|
1762
1762
|
function la(e = 0) {
|
|
1763
|
-
let [t, n] =
|
|
1763
|
+
let [t, n] = F(e), r = A((l) => n(l), [t]), o = A((l) => n((u) => u | l), [t]), i = A((l) => (t & l) === l, [t]), a = A((l) => n((u) => u & ~l), [n]), s = A((l) => n((u) => u ^ l), [n]);
|
|
1764
1764
|
return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
|
|
1765
1765
|
}
|
|
1766
1766
|
var ca = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ca || {});
|
|
@@ -1770,7 +1770,7 @@ function ua(e) {
|
|
|
1770
1770
|
return t;
|
|
1771
1771
|
}
|
|
1772
1772
|
function da(e, t, n, r) {
|
|
1773
|
-
let [o, i] =
|
|
1773
|
+
let [o, i] = F(n), { hasFlag: a, addFlag: s, removeFlag: l } = la(e && o ? 3 : 0), u = w(!1), d = w(!1), c = Et();
|
|
1774
1774
|
return B(function p() {
|
|
1775
1775
|
var f;
|
|
1776
1776
|
if (!e) return;
|
|
@@ -1787,13 +1787,13 @@ function da(e, t, n, r) {
|
|
|
1787
1787
|
}, [e, n, t, c]), e ? [o, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [n, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
|
|
1788
1788
|
}
|
|
1789
1789
|
function fa(e, { prepare: t, run: n, done: r, inFlight: o }) {
|
|
1790
|
-
let i =
|
|
1790
|
+
let i = ge();
|
|
1791
1791
|
return ha(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
|
|
1792
1792
|
i.add(pa(e, r)), n();
|
|
1793
1793
|
}), i.dispose;
|
|
1794
1794
|
}
|
|
1795
1795
|
function pa(e, t) {
|
|
1796
|
-
let n = sa(t), r =
|
|
1796
|
+
let n = sa(t), r = ge();
|
|
1797
1797
|
if (!e) return r.dispose;
|
|
1798
1798
|
let { transitionDuration: o, transitionDelay: i } = getComputedStyle(e), [a, s] = [o, i].map((u) => {
|
|
1799
1799
|
let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, p) => p - c);
|
|
@@ -1838,7 +1838,7 @@ let $t = K(null);
|
|
|
1838
1838
|
$t.displayName = "OpenClosedContext";
|
|
1839
1839
|
var ee = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(ee || {});
|
|
1840
1840
|
function Tt() {
|
|
1841
|
-
return
|
|
1841
|
+
return z($t);
|
|
1842
1842
|
}
|
|
1843
1843
|
function _a({ value: e, children: t }) {
|
|
1844
1844
|
return T.createElement($t.Provider, { value: e }, t);
|
|
@@ -1852,10 +1852,10 @@ function ma(e) {
|
|
|
1852
1852
|
}
|
|
1853
1853
|
typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
|
|
1854
1854
|
}
|
|
1855
|
-
let
|
|
1855
|
+
let _e = [];
|
|
1856
1856
|
ma(() => {
|
|
1857
1857
|
function e(t) {
|
|
1858
|
-
t.target instanceof HTMLElement && t.target !== document.body &&
|
|
1858
|
+
t.target instanceof HTMLElement && t.target !== document.body && _e[0] !== t.target && (_e.unshift(t.target), _e = _e.filter((n) => n != null && n.isConnected), _e.splice(10));
|
|
1859
1859
|
}
|
|
1860
1860
|
window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
|
|
1861
1861
|
});
|
|
@@ -1873,23 +1873,23 @@ function ya() {
|
|
|
1873
1873
|
}, () => !1, () => !e) : !1;
|
|
1874
1874
|
}
|
|
1875
1875
|
function nt() {
|
|
1876
|
-
let e = ya(), [t, n] =
|
|
1877
|
-
return t &&
|
|
1876
|
+
let e = ya(), [t, n] = F(Ce.isHandoffComplete);
|
|
1877
|
+
return t && Ce.isHandoffComplete === !1 && n(!1), N(() => {
|
|
1878
1878
|
t !== !0 && n(!0);
|
|
1879
|
-
}, [t]), N(() =>
|
|
1879
|
+
}, [t]), N(() => Ce.handoff(), []), e ? !1 : t;
|
|
1880
1880
|
}
|
|
1881
1881
|
let so = K(!1);
|
|
1882
1882
|
function ga() {
|
|
1883
|
-
return
|
|
1883
|
+
return z(so);
|
|
1884
1884
|
}
|
|
1885
1885
|
function Xn(e) {
|
|
1886
1886
|
return T.createElement(so.Provider, { value: e.force }, e.children);
|
|
1887
1887
|
}
|
|
1888
1888
|
function wa(e) {
|
|
1889
|
-
let t = ga(), n =
|
|
1889
|
+
let t = ga(), n = z(co), r = tt(e), [o, i] = F(() => {
|
|
1890
1890
|
var a;
|
|
1891
1891
|
if (!t && n !== null) return (a = n.current) != null ? a : null;
|
|
1892
|
-
if (
|
|
1892
|
+
if (Ce.isServer) return null;
|
|
1893
1893
|
let s = r == null ? void 0 : r.getElementById("headlessui-portal-root");
|
|
1894
1894
|
if (s) return s;
|
|
1895
1895
|
if (r === null) return null;
|
|
@@ -1905,10 +1905,10 @@ function wa(e) {
|
|
|
1905
1905
|
let lo = D, ba = q(function(e, t) {
|
|
1906
1906
|
let n = e, r = w(null), o = ae(Ni((d) => {
|
|
1907
1907
|
r.current = d;
|
|
1908
|
-
}), t), i = tt(r), a = wa(r), [s] =
|
|
1908
|
+
}), t), i = tt(r), a = wa(r), [s] = F(() => {
|
|
1909
1909
|
var d;
|
|
1910
|
-
return
|
|
1911
|
-
}), l =
|
|
1910
|
+
return Ce.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
|
|
1911
|
+
}), l = z(en), u = nt();
|
|
1912
1912
|
return B(() => {
|
|
1913
1913
|
!a || !s || a.contains(s) || (s.setAttribute("data-headlessui-portal", ""), a.appendChild(s));
|
|
1914
1914
|
}, [a, s]), B(() => {
|
|
@@ -1929,7 +1929,7 @@ function Ta(e, t) {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
let en = K(null);
|
|
1931
1931
|
function Ca() {
|
|
1932
|
-
let e =
|
|
1932
|
+
let e = z(en), t = w([]), n = H((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = H((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 = M(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
|
|
@@ -1937,16 +1937,16 @@ function Ca() {
|
|
|
1937
1937
|
return T.createElement(en.Provider, { value: o }, i);
|
|
1938
1938
|
}, [o])];
|
|
1939
1939
|
}
|
|
1940
|
-
let ka = q(Ea), uo = q(Ta),
|
|
1941
|
-
function
|
|
1940
|
+
let ka = q(Ea), uo = q(Ta), Fa = Object.assign(ka, { Group: uo });
|
|
1941
|
+
function Sa(e, t = typeof document < "u" ? document.defaultView : null, n) {
|
|
1942
1942
|
let r = Oe(e, "escape");
|
|
1943
1943
|
io(t, "keydown", (o) => {
|
|
1944
1944
|
r && (o.defaultPrevented || o.key === Qr.Escape && n(o));
|
|
1945
1945
|
});
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function xa() {
|
|
1948
1948
|
var e;
|
|
1949
|
-
let [t] =
|
|
1949
|
+
let [t] = F(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = F((e = t == null ? void 0 : t.matches) != null ? e : !1);
|
|
1950
1950
|
return B(() => {
|
|
1951
1951
|
if (!t) return;
|
|
1952
1952
|
function o(i) {
|
|
@@ -1975,7 +1975,7 @@ function wn() {
|
|
|
1975
1975
|
e.current = !1;
|
|
1976
1976
|
}), []), e;
|
|
1977
1977
|
}
|
|
1978
|
-
var
|
|
1978
|
+
var je = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(je || {});
|
|
1979
1979
|
function Pa() {
|
|
1980
1980
|
let e = w(0);
|
|
1981
1981
|
return oo(!0, "keydown", (t) => {
|
|
@@ -1990,7 +1990,7 @@ function fo(e) {
|
|
|
1990
1990
|
return t;
|
|
1991
1991
|
}
|
|
1992
1992
|
let Na = "div";
|
|
1993
|
-
var
|
|
1993
|
+
var Ee = ((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))(Ee || {});
|
|
1994
1994
|
function La(e, t) {
|
|
1995
1995
|
let n = w(null), r = ae(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: s = 15, ...l } = e;
|
|
1996
1996
|
nt() || (s = 0);
|
|
@@ -2001,10 +2001,10 @@ function La(e, t) {
|
|
|
2001
2001
|
let c = Pa(), p = H((_) => {
|
|
2002
2002
|
let g = n.current;
|
|
2003
2003
|
g && ((b) => b())(() => {
|
|
2004
|
-
|
|
2005
|
-
Ke(g,
|
|
2006
|
-
}, [
|
|
2007
|
-
Ke(g,
|
|
2004
|
+
me(c.current, { [je.Forwards]: () => {
|
|
2005
|
+
Ke(g, ce.First, { skipElements: [_.relatedTarget, i] });
|
|
2006
|
+
}, [je.Backwards]: () => {
|
|
2007
|
+
Ke(g, ce.Last, { skipElements: [_.relatedTarget, i] });
|
|
2008
2008
|
} });
|
|
2009
2009
|
});
|
|
2010
2010
|
}), f = Oe(!!(s & 2), "focus-trap#tab-lock"), v = Et(), y = w(!1), m = { ref: r, onKeyDown(_) {
|
|
@@ -2016,18 +2016,18 @@ function La(e, t) {
|
|
|
2016
2016
|
let g = fo(a);
|
|
2017
2017
|
n.current instanceof HTMLElement && g.add(n.current);
|
|
2018
2018
|
let b = _.relatedTarget;
|
|
2019
|
-
b instanceof HTMLElement && b.dataset.headlessuiFocusGuard !== "true" && (po(g, b) || (y.current ? Ke(n.current,
|
|
2019
|
+
b instanceof HTMLElement && b.dataset.headlessuiFocusGuard !== "true" && (po(g, b) || (y.current ? Ke(n.current, me(c.current, { [je.Forwards]: () => ce.Next, [je.Backwards]: () => ce.Previous }) | ce.WrapAround, { relativeTo: _.target }) : _.target instanceof HTMLElement && fe(_.target)));
|
|
2020
2020
|
} };
|
|
2021
2021
|
return T.createElement(T.Fragment, null, f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }), G({ ourProps: m, theirProps: l, defaultTag: Na, name: "FocusTrap" }), f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }));
|
|
2022
2022
|
}
|
|
2023
|
-
let Aa = q(La), Ia = Object.assign(Aa, { features:
|
|
2023
|
+
let Aa = q(La), Ia = Object.assign(Aa, { features: Ee });
|
|
2024
2024
|
function Ha(e = !0) {
|
|
2025
|
-
let t = w(
|
|
2025
|
+
let t = w(_e.slice());
|
|
2026
2026
|
return gn(([n], [r]) => {
|
|
2027
2027
|
r === !0 && n === !1 && bt(() => {
|
|
2028
2028
|
t.current.splice(0);
|
|
2029
|
-
}), r === !1 && n === !0 && (t.current =
|
|
2030
|
-
}, [e,
|
|
2029
|
+
}), r === !1 && n === !0 && (t.current = _e.slice());
|
|
2030
|
+
}, [e, _e, t]), H(() => {
|
|
2031
2031
|
var n;
|
|
2032
2032
|
return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
|
|
2033
2033
|
});
|
|
@@ -2035,9 +2035,9 @@ function Ha(e = !0) {
|
|
|
2035
2035
|
function Da(e, { ownerDocument: t }) {
|
|
2036
2036
|
let n = !!(e & 8), r = Ha(n);
|
|
2037
2037
|
gn(() => {
|
|
2038
|
-
n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) &&
|
|
2038
|
+
n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && fe(r());
|
|
2039
2039
|
}, [n]), ao(() => {
|
|
2040
|
-
n &&
|
|
2040
|
+
n && fe(r());
|
|
2041
2041
|
});
|
|
2042
2042
|
}
|
|
2043
2043
|
function Oa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
|
|
@@ -2045,7 +2045,7 @@ function Oa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
|
|
|
2045
2045
|
return gn(() => {
|
|
2046
2046
|
if (e === 0) return;
|
|
2047
2047
|
if (!a) {
|
|
2048
|
-
o != null && o.current &&
|
|
2048
|
+
o != null && o.current && fe(o.current);
|
|
2049
2049
|
return;
|
|
2050
2050
|
}
|
|
2051
2051
|
let l = n.current;
|
|
@@ -2061,12 +2061,12 @@ function Oa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
|
|
|
2061
2061
|
i.current = u;
|
|
2062
2062
|
return;
|
|
2063
2063
|
}
|
|
2064
|
-
if (r != null && r.current)
|
|
2064
|
+
if (r != null && r.current) fe(r.current);
|
|
2065
2065
|
else {
|
|
2066
2066
|
if (e & 16) {
|
|
2067
|
-
if (Ke(l,
|
|
2068
|
-
} else if (Ke(l,
|
|
2069
|
-
if (o != null && o.current && (
|
|
2067
|
+
if (Ke(l, ce.First | ce.AutoFocus) !== Jt.Error) return;
|
|
2068
|
+
} else if (Ke(l, ce.First) !== Jt.Error) return;
|
|
2069
|
+
if (o != null && o.current && (fe(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 Ra(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 ? po(l, d) ? (o.current = d,
|
|
2085
|
+
d && d instanceof HTMLElement ? po(l, d) ? (o.current = d, fe(d)) : (s.preventDefault(), s.stopPropagation(), fe(u)) : fe(o.current);
|
|
2086
2086
|
}, !0);
|
|
2087
2087
|
}
|
|
2088
2088
|
function po(e, t) {
|
|
@@ -2097,34 +2097,34 @@ let Ct = K(null);
|
|
|
2097
2097
|
Ct.displayName = "TransitionContext";
|
|
2098
2098
|
var Va = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Va || {});
|
|
2099
2099
|
function Ua() {
|
|
2100
|
-
let e =
|
|
2100
|
+
let e = z(Ct);
|
|
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 Wa() {
|
|
2105
|
-
let e =
|
|
2105
|
+
let e = z(kt);
|
|
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 kt = K(null);
|
|
2110
2110
|
kt.displayName = "NestingContext";
|
|
2111
|
-
function
|
|
2112
|
-
return "children" in e ?
|
|
2111
|
+
function Ft(e) {
|
|
2112
|
+
return "children" in e ? Ft(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
|
|
2113
2113
|
}
|
|
2114
2114
|
function _o(e, t) {
|
|
2115
|
-
let n =
|
|
2115
|
+
let n = Pe(e), r = w([]), o = wn(), i = Et(), a = H((f, v = ve.Hidden) => {
|
|
2116
2116
|
let y = r.current.findIndex(({ el: m }) => m === f);
|
|
2117
|
-
y !== -1 && (
|
|
2117
|
+
y !== -1 && (me(v, { [ve.Unmount]() {
|
|
2118
2118
|
r.current.splice(y, 1);
|
|
2119
|
-
}, [
|
|
2119
|
+
}, [ve.Hidden]() {
|
|
2120
2120
|
r.current[y].state = "hidden";
|
|
2121
2121
|
} }), i.microTask(() => {
|
|
2122
2122
|
var m;
|
|
2123
|
-
!
|
|
2123
|
+
!Ft(r) && o.current && ((m = n.current) == null || m.call(n));
|
|
2124
2124
|
}));
|
|
2125
2125
|
}), s = H((f) => {
|
|
2126
2126
|
let v = r.current.find(({ el: y }) => y === f);
|
|
2127
|
-
return v ? v.state !== "visible" && (v.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f,
|
|
2127
|
+
return v ? v.state !== "visible" && (v.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, ve.Unmount);
|
|
2128
2128
|
}), l = w([]), u = w(Promise.resolve()), d = w({ enter: [], leave: [] }), c = H((f, v, y) => {
|
|
2129
2129
|
l.current.splice(0), t && (t.chains.current[v] = t.chains.current[v].filter(([m]) => m !== f)), t == null || t.chains.current[v].push([f, new Promise((m) => {
|
|
2130
2130
|
l.current.push(m);
|
|
@@ -2140,56 +2140,56 @@ function _o(e, t) {
|
|
|
2140
2140
|
return M(() => ({ children: r, register: s, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [s, a, r, c, p, d, u]);
|
|
2141
2141
|
}
|
|
2142
2142
|
let vo = D, mo = _t.RenderStrategy;
|
|
2143
|
-
function
|
|
2143
|
+
function ja(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: v, leaveTo: y, ...m } = e, _ = w(null), g = ho(e), b = ae(...g ? [_, t] : t === null ? [] : [t]), C = (n = m.unmount) == null || n ?
|
|
2145
|
+
let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: v, leaveTo: y, ...m } = e, _ = w(null), g = ho(e), b = ae(...g ? [_, t] : t === null ? [] : [t]), C = (n = m.unmount) == null || n ? ve.Unmount : ve.Hidden, { show: $, appear: P, initial: O } = Ua(), [R, W] = F($ ? "visible" : "hidden"), E = Wa(), { register: k, unregister: x } = E;
|
|
2146
2146
|
B(() => k(_), [k, _]), B(() => {
|
|
2147
|
-
if (C ===
|
|
2147
|
+
if (C === ve.Hidden && _.current) {
|
|
2148
2148
|
if ($ && R !== "visible") {
|
|
2149
2149
|
W("visible");
|
|
2150
2150
|
return;
|
|
2151
2151
|
}
|
|
2152
|
-
return
|
|
2152
|
+
return me(R, { hidden: () => x(_), visible: () => k(_) });
|
|
2153
2153
|
}
|
|
2154
|
-
}, [R, _, k,
|
|
2155
|
-
let
|
|
2154
|
+
}, [R, _, k, x, $, C]);
|
|
2155
|
+
let I = nt();
|
|
2156
2156
|
B(() => {
|
|
2157
|
-
if (g &&
|
|
2158
|
-
}, [_, R,
|
|
2157
|
+
if (g && I && R === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
2158
|
+
}, [_, R, I, g]);
|
|
2159
2159
|
let Z = O && !P, re = P && $ && O, Q = w(!1), J = _o(() => {
|
|
2160
|
-
Q.current || (W("hidden"),
|
|
2161
|
-
}, E),
|
|
2160
|
+
Q.current || (W("hidden"), x(_));
|
|
2161
|
+
}, E), he = H((xt) => {
|
|
2162
2162
|
Q.current = !0;
|
|
2163
|
-
let rt =
|
|
2163
|
+
let rt = xt ? "enter" : "leave";
|
|
2164
2164
|
J.onStart(_, rt, (Ve) => {
|
|
2165
2165
|
Ve === "enter" ? i == null || i() : Ve === "leave" && (s == null || s());
|
|
2166
2166
|
});
|
|
2167
|
-
}),
|
|
2168
|
-
let rt =
|
|
2167
|
+
}), le = H((xt) => {
|
|
2168
|
+
let rt = xt ? "enter" : "leave";
|
|
2169
2169
|
Q.current = !1, J.onStop(_, rt, (Ve) => {
|
|
2170
2170
|
Ve === "enter" ? a == null || a() : Ve === "leave" && (l == null || l());
|
|
2171
|
-
}), rt === "leave" && !
|
|
2171
|
+
}), rt === "leave" && !Ft(J) && (W("hidden"), x(_));
|
|
2172
2172
|
});
|
|
2173
2173
|
N(() => {
|
|
2174
|
-
g && o || (
|
|
2174
|
+
g && o || (he($), le($));
|
|
2175
2175
|
}, [$, g, o]);
|
|
2176
|
-
let
|
|
2177
|
-
return R === "visible" && (Re |= ee.Open), R === "hidden" && (Re |= ee.Closed), U.enter && (Re |= ee.Opening), U.leave && (Re |= ee.Closing), T.createElement(kt.Provider, { value: J }, T.createElement(_a, { value: Re }, G({ ourProps:
|
|
2176
|
+
let j = !(!o || !g || !I || Z), [, U] = da(j, _, $, { start: he, end: le }), Fo = we({ ref: b, className: ((r = Gt(m.className, re && u, re && d, U.enter && u, U.enter && U.closed && d, U.enter && !U.closed && c, U.leave && f, U.leave && !U.closed && v, U.leave && U.closed && y, !U.transition && $ && p)) == null ? void 0 : r.trim()) || void 0, ...ua(U) }), Re = 0;
|
|
2177
|
+
return R === "visible" && (Re |= ee.Open), R === "hidden" && (Re |= ee.Closed), U.enter && (Re |= ee.Opening), U.leave && (Re |= ee.Closing), T.createElement(kt.Provider, { value: J }, T.createElement(_a, { value: Re }, G({ ourProps: Fo, theirProps: m, defaultTag: vo, features: mo, visible: R === "visible", name: "Transition.Child" })));
|
|
2178
2178
|
}
|
|
2179
|
-
function
|
|
2179
|
+
function za(e, t) {
|
|
2180
2180
|
let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), s = ho(e), l = ae(...s ? [a, t] : t === null ? [] : [t]);
|
|
2181
2181
|
nt();
|
|
2182
2182
|
let u = Tt();
|
|
2183
2183
|
if (n === void 0 && u !== null && (n = (u & ee.Open) === ee.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
2184
|
-
let [d, c] =
|
|
2184
|
+
let [d, c] = F(n ? "visible" : "hidden"), p = _o(() => {
|
|
2185
2185
|
n || c("hidden");
|
|
2186
|
-
}), [f, v] =
|
|
2186
|
+
}), [f, v] = F(!0), y = w([n]);
|
|
2187
2187
|
B(() => {
|
|
2188
2188
|
f !== !1 && y.current[y.current.length - 1] !== n && (y.current.push(n), v(!1));
|
|
2189
2189
|
}, [y, n]);
|
|
2190
2190
|
let m = M(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
|
|
2191
2191
|
to(n, a, () => c("hidden")), B(() => {
|
|
2192
|
-
n ? c("visible") : !
|
|
2192
|
+
n ? c("visible") : !Ft(p) && a.current !== null && c("hidden");
|
|
2193
2193
|
}, [n, p]);
|
|
2194
2194
|
let _ = { unmount: o }, g = H(() => {
|
|
2195
2195
|
var C;
|
|
@@ -2201,50 +2201,50 @@ function ja(e, t) {
|
|
|
2201
2201
|
return T.createElement(kt.Provider, { value: p }, T.createElement(Ct.Provider, { value: m }, G({ ourProps: { ..._, as: D, children: T.createElement(yo, { ref: l, ..._, ...i, beforeEnter: g, beforeLeave: b }) }, theirProps: {}, defaultTag: D, features: mo, visible: d === "visible", name: "Transition" })));
|
|
2202
2202
|
}
|
|
2203
2203
|
function Ba(e, t) {
|
|
2204
|
-
let n =
|
|
2204
|
+
let n = z(Ct) !== null, r = Tt() !== null;
|
|
2205
2205
|
return T.createElement(T.Fragment, null, !n && r ? T.createElement(tn, { ref: t, ...e }) : T.createElement(yo, { ref: t, ...e }));
|
|
2206
2206
|
}
|
|
2207
|
-
let tn = q(
|
|
2207
|
+
let tn = q(za), yo = q(ja), bn = q(Ba), ie = Object.assign(tn, { Child: bn, Root: tn });
|
|
2208
2208
|
var qa = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(qa || {}), Ya = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Ya || {});
|
|
2209
2209
|
let Ka = { 0(e, t) {
|
|
2210
2210
|
return e.titleId === t.id ? e : { ...e, titleId: t.id };
|
|
2211
2211
|
} }, En = K(null);
|
|
2212
2212
|
En.displayName = "DialogContext";
|
|
2213
|
-
function
|
|
2214
|
-
let t =
|
|
2213
|
+
function St(e) {
|
|
2214
|
+
let t = z(En);
|
|
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,
|
|
2217
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, St), n;
|
|
2218
2218
|
}
|
|
2219
2219
|
return t;
|
|
2220
2220
|
}
|
|
2221
2221
|
function Ga(e, t) {
|
|
2222
|
-
return
|
|
2222
|
+
return me(t.type, Ka, e, t);
|
|
2223
2223
|
}
|
|
2224
2224
|
let Qn = q(function(e, t) {
|
|
2225
|
-
let n =
|
|
2225
|
+
let n = ye(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: s = "dialog", autoFocus: l = !0, __demoMode: u = !1, ...d } = e, c = w(!1);
|
|
2226
2226
|
s = function() {
|
|
2227
2227
|
return s === "dialog" || s === "alertdialog" ? s : (c.current || (c.current = !0, console.warn(`Invalid role [${s}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
|
|
2228
2228
|
}();
|
|
2229
2229
|
let p = Tt();
|
|
2230
2230
|
o === void 0 && p !== null && (o = (p & ee.Open) === ee.Open);
|
|
2231
|
-
let f = w(null), v = ae(f, t), y = tt(f), m = o ? 0 : 1, [_, g] = Qe(Ga, { titleId: null, descriptionId: null, panelRef: rn() }), b = H(() => i(!1)), C = H((
|
|
2232
|
-
var
|
|
2233
|
-
return (
|
|
2234
|
-
} }, { resolveContainers: W, mainTreeNodeRef: E, MainTreeNode: k } = Ma({ portals: P, defaultContainers: [R] }),
|
|
2235
|
-
Wi(u ||
|
|
2236
|
-
var
|
|
2237
|
-
return [(U = (
|
|
2231
|
+
let f = w(null), v = ae(f, t), y = tt(f), m = o ? 0 : 1, [_, g] = Qe(Ga, { titleId: null, descriptionId: null, panelRef: rn() }), b = H(() => i(!1)), C = H((j) => g({ type: 0, id: j })), $ = nt() ? m === 0 : !1, [P, O] = Ca(), R = { get current() {
|
|
2232
|
+
var j;
|
|
2233
|
+
return (j = _.panelRef.current) != null ? j : f.current;
|
|
2234
|
+
} }, { resolveContainers: W, mainTreeNodeRef: E, MainTreeNode: k } = Ma({ portals: P, defaultContainers: [R] }), x = p !== null ? (p & ee.Closing) === ee.Closing : !1;
|
|
2235
|
+
Wi(u || x ? !1 : $, { allowed: H(() => {
|
|
2236
|
+
var j, U;
|
|
2237
|
+
return [(U = (j = f.current) == null ? void 0 : j.closest("[data-headlessui-portal]")) != null ? U : null];
|
|
2238
2238
|
}), disallowed: H(() => {
|
|
2239
|
-
var
|
|
2240
|
-
return [(U = (
|
|
2241
|
-
}) }), ea($, W, (
|
|
2242
|
-
|
|
2243
|
-
}),
|
|
2244
|
-
|
|
2245
|
-
}), aa(u ||
|
|
2246
|
-
let [
|
|
2247
|
-
return $ && !u && (
|
|
2239
|
+
var j, U;
|
|
2240
|
+
return [(U = (j = E.current) == null ? void 0 : j.closest("body > *:not(#headlessui-portal-root)")) != null ? U : null];
|
|
2241
|
+
}) }), ea($, W, (j) => {
|
|
2242
|
+
j.preventDefault(), b();
|
|
2243
|
+
}), Sa($, y == null ? void 0 : y.defaultView, (j) => {
|
|
2244
|
+
j.preventDefault(), j.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), b();
|
|
2245
|
+
}), aa(u || x ? !1 : $, y, W), to($, f, b);
|
|
2246
|
+
let [I, Z] = Li(), re = M(() => [{ dialogState: m, close: b, setTitleId: C }, _], [m, _, b, C]), Q = M(() => ({ open: m === 0 }), [m]), J = { ref: v, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": I }, he = !xa(), le = Ee.None;
|
|
2247
|
+
return $ && !u && (le |= Ee.RestoreFocus, le |= Ee.TabLock, l && (le |= Ee.AutoFocus), he && (le |= Ee.InitialFocus)), T.createElement(va, null, T.createElement(Xn, { force: !0 }, T.createElement(Fa, null, T.createElement(En.Provider, { value: re }, T.createElement(uo, { target: f }, T.createElement(Xn, { force: !1 }, T.createElement(Z, { slot: Q }, T.createElement(O, null, T.createElement(Ia, { initialFocus: a, initialFocusFallback: f, containers: W, features: le }, T.createElement(Ri, { value: b }, G({ ourProps: J, theirProps: d, slot: Q, defaultTag: Za, features: Xa, visible: m === 0, name: "Dialog" })))))))))), T.createElement(Pi, null, T.createElement(k, null)));
|
|
2248
2248
|
}), Za = "div", Xa = _t.RenderStrategy | _t.Static;
|
|
2249
2249
|
function Qa(e, t) {
|
|
2250
2250
|
let { transition: n = !1, open: r, ...o } = e, i = Tt(), a = e.hasOwnProperty("open") || i !== null, s = e.hasOwnProperty("onClose");
|
|
@@ -2257,19 +2257,19 @@ function Qa(e, t) {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
let Ja = "div";
|
|
2259
2259
|
function es(e, t) {
|
|
2260
|
-
let n =
|
|
2260
|
+
let n = ye(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = St("Dialog.Panel"), l = ae(t, s.panelRef), u = M(() => ({ open: a === 0 }), [a]), d = H((c) => {
|
|
2261
2261
|
c.stopPropagation();
|
|
2262
2262
|
});
|
|
2263
2263
|
return T.createElement(o ? bn : D, null, G({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: Ja, name: "Dialog.Panel" }));
|
|
2264
2264
|
}
|
|
2265
2265
|
let ts = "div";
|
|
2266
2266
|
function ns(e, t) {
|
|
2267
|
-
let { transition: n = !1, ...r } = e, [{ dialogState: o }] =
|
|
2267
|
+
let { transition: n = !1, ...r } = e, [{ dialogState: o }] = St("Dialog.Backdrop"), i = M(() => ({ open: o === 0 }), [o]);
|
|
2268
2268
|
return T.createElement(n ? bn : D, null, G({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: ts, name: "Dialog.Backdrop" }));
|
|
2269
2269
|
}
|
|
2270
2270
|
let rs = "h2";
|
|
2271
2271
|
function os(e, t) {
|
|
2272
|
-
let n =
|
|
2272
|
+
let n = ye(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = St("Dialog.Title"), s = ae(t);
|
|
2273
2273
|
N(() => (a(r), () => a(null)), [r, a]);
|
|
2274
2274
|
let l = M(() => ({ open: i === 0 }), [i]);
|
|
2275
2275
|
return G({ ourProps: { ref: s, id: r }, theirProps: o, slot: l, defaultTag: rs, name: "Dialog.Title" });
|
|
@@ -2277,7 +2277,7 @@ function os(e, t) {
|
|
|
2277
2277
|
let is = q(Qa), go = q(es);
|
|
2278
2278
|
q(ns);
|
|
2279
2279
|
let as = q(os), ss = Object.assign(is, { Panel: go, Title: as, Description: Di });
|
|
2280
|
-
const ls = "
|
|
2280
|
+
const ls = "_root_1duny_1", cs = "_modal_1duny_10", us = "_container_1duny_13", ds = "_page_1duny_18", fs = "_close_1duny_21", at = {
|
|
2281
2281
|
root: ls,
|
|
2282
2282
|
modal: cs,
|
|
2283
2283
|
container: us,
|
|
@@ -2414,7 +2414,7 @@ const ls = "_root_1hpzn_1", cs = "_modal_1hpzn_10", us = "_container_1hpzn_13",
|
|
|
2414
2414
|
] }),
|
|
2415
2415
|
/* @__PURE__ */ h("defs", { children: /* @__PURE__ */ h("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ h("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
|
|
2416
2416
|
] });
|
|
2417
|
-
class
|
|
2417
|
+
class ke {
|
|
2418
2418
|
static loadVision() {
|
|
2419
2419
|
return import(
|
|
2420
2420
|
/* webpackIgnore: true */
|
|
@@ -2424,7 +2424,7 @@ class Ce {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
static async loadDetector() {
|
|
2426
2426
|
try {
|
|
2427
|
-
const { FaceLandmarker: t, FilesetResolver: n } = await
|
|
2427
|
+
const { FaceLandmarker: t, FilesetResolver: n } = await ke.loadVision(), r = await n.forVisionTasks(
|
|
2428
2428
|
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3/wasm"
|
|
2429
2429
|
);
|
|
2430
2430
|
return await t.createFromOptions(r, {
|
|
@@ -2465,11 +2465,11 @@ class Ce {
|
|
|
2465
2465
|
const { width: r, height: o } = n, { faceLandmarks: i } = await t.detect(n);
|
|
2466
2466
|
if (i.length === 0)
|
|
2467
2467
|
return [];
|
|
2468
|
-
const a =
|
|
2468
|
+
const a = ke.denormalizeKeypoints(
|
|
2469
2469
|
i[0],
|
|
2470
2470
|
r,
|
|
2471
2471
|
o
|
|
2472
|
-
), s =
|
|
2472
|
+
), s = ke.getBoundingBox(a);
|
|
2473
2473
|
return [{ keypoints: a, box: s }];
|
|
2474
2474
|
} catch (r) {
|
|
2475
2475
|
return Promise.reject(r);
|
|
@@ -2499,9 +2499,9 @@ function ks() {
|
|
|
2499
2499
|
function Eo(e = {}) {
|
|
2500
2500
|
const { onRecord: t = () => {
|
|
2501
2501
|
}, onStop: n = () => {
|
|
2502
|
-
} } = e, r = w([]), o = w(null), i = w(null), a =
|
|
2502
|
+
} } = e, r = w([]), o = w(null), i = w(null), a = A((c) => {
|
|
2503
2503
|
r.current.push(c);
|
|
2504
|
-
}, []), s =
|
|
2504
|
+
}, []), s = A(
|
|
2505
2505
|
async (c) => {
|
|
2506
2506
|
if (o.current)
|
|
2507
2507
|
return;
|
|
@@ -2509,11 +2509,11 @@ function Eo(e = {}) {
|
|
|
2509
2509
|
o.current = p;
|
|
2510
2510
|
},
|
|
2511
2511
|
[]
|
|
2512
|
-
), l =
|
|
2512
|
+
), l = A((c) => {
|
|
2513
2513
|
c.data.size > 0 && t(c.data);
|
|
2514
|
-
}, []), u =
|
|
2514
|
+
}, []), u = A(() => {
|
|
2515
2515
|
!i.current || i.current.state === "inactive" || (i.current.stop(), i.current.stream.getTracks().forEach((c) => c.stop()), n());
|
|
2516
|
-
}, []), d =
|
|
2516
|
+
}, []), d = A((c) => {
|
|
2517
2517
|
i.current || (i.current = new MediaRecorder(
|
|
2518
2518
|
c,
|
|
2519
2519
|
ks()
|
|
@@ -2531,7 +2531,7 @@ function Eo(e = {}) {
|
|
|
2531
2531
|
function He(e, t) {
|
|
2532
2532
|
return Math.sqrt(e ** 2 + t ** 2);
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2534
|
+
function Fs(e) {
|
|
2535
2535
|
const t = e.slice();
|
|
2536
2536
|
for (let n = t.length - 1; n > 0; n--) {
|
|
2537
2537
|
const r = Math.floor(Math.random() * (n + 1));
|
|
@@ -2539,7 +2539,7 @@ function xs(e) {
|
|
|
2539
2539
|
}
|
|
2540
2540
|
return t;
|
|
2541
2541
|
}
|
|
2542
|
-
function
|
|
2542
|
+
function Ss(e, t) {
|
|
2543
2543
|
return new Promise((n, r) => {
|
|
2544
2544
|
const o = new File([e], `${Date.now()}`, {
|
|
2545
2545
|
type: t
|
|
@@ -2547,10 +2547,10 @@ function Fs(e, t) {
|
|
|
2547
2547
|
i.readAsDataURL(o), i.onload = () => n(i.result), i.onerror = (a) => r(a);
|
|
2548
2548
|
});
|
|
2549
2549
|
}
|
|
2550
|
-
const
|
|
2550
|
+
const xs = (e) => e ? "https://identity.staging.svc.youverify.co" : "https://identity.svc.youverify.co";
|
|
2551
2551
|
function Ms(e) {
|
|
2552
2552
|
return { postData: async (n) => {
|
|
2553
|
-
const { faceImage: r, publicKey: o, passed: i, metadata: a } = n, s =
|
|
2553
|
+
const { faceImage: r, publicKey: o, passed: i, metadata: a } = n, s = xs(e), l = await fetch(`${s}/v1/sdk/identity/liveness/`, {
|
|
2554
2554
|
method: "POST",
|
|
2555
2555
|
headers: {
|
|
2556
2556
|
"Content-Type": "application/json"
|
|
@@ -2622,27 +2622,27 @@ function As(e) {
|
|
|
2622
2622
|
metadata: u,
|
|
2623
2623
|
presentation: d,
|
|
2624
2624
|
sandboxEnvironment: c = !0
|
|
2625
|
-
} = e, [p, f] =
|
|
2625
|
+
} = e, [p, f] = F(0), [v, y] = F(0), [m, _] = F(null), { saveStream: g, savePhoto: b, savedPhoto: C } = Eo(), { postData: $ } = Ms(c), P = M(
|
|
2626
2626
|
() => v === n.length,
|
|
2627
2627
|
[n, v]
|
|
2628
2628
|
), O = () => {
|
|
2629
2629
|
y((k) => k + 1), f((k) => k + 1);
|
|
2630
2630
|
}, R = (k) => {
|
|
2631
|
-
const
|
|
2632
|
-
|
|
2633
|
-
const
|
|
2634
|
-
|
|
2631
|
+
const x = new Image();
|
|
2632
|
+
x.crossOrigin = "Anonymous", x.src = Ls, x.onload = () => {
|
|
2633
|
+
const I = bo(x, x.width, x.height);
|
|
2634
|
+
ke.detectFaces(k, I);
|
|
2635
2635
|
};
|
|
2636
2636
|
}, W = async () => {
|
|
2637
2637
|
const k = await $({
|
|
2638
|
-
faceImage: C.current ? await
|
|
2638
|
+
faceImage: C.current ? await Ss(C.current, "image/png") : null,
|
|
2639
2639
|
publicKey: t,
|
|
2640
2640
|
passed: !0,
|
|
2641
2641
|
metadata: u
|
|
2642
2642
|
});
|
|
2643
2643
|
l(k), s();
|
|
2644
2644
|
}, E = async () => {
|
|
2645
|
-
const k = await
|
|
2645
|
+
const k = await ke.loadDetector();
|
|
2646
2646
|
Jn = k, R(k), _(k);
|
|
2647
2647
|
};
|
|
2648
2648
|
return N(() => {
|
|
@@ -2674,10 +2674,10 @@ function As(e) {
|
|
|
2674
2674
|
}
|
|
2675
2675
|
);
|
|
2676
2676
|
}
|
|
2677
|
-
function
|
|
2678
|
-
return
|
|
2677
|
+
function Ne() {
|
|
2678
|
+
return z(To);
|
|
2679
2679
|
}
|
|
2680
|
-
const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os = "_info_vqy7d_11", Rs = "_active_vqy7d_32", Vs = "_completed_vqy7d_39", Us = "_rhs_vqy7d_62", Ws = "_profile_vqy7d_65",
|
|
2680
|
+
const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os = "_info_vqy7d_11", Rs = "_active_vqy7d_32", Vs = "_completed_vqy7d_39", Us = "_rhs_vqy7d_62", Ws = "_profile_vqy7d_65", js = "_avatar_vqy7d_68", zs = "_main_vqy7d_81", Bs = "_content_vqy7d_84", Y = {
|
|
2681
2681
|
root: Is,
|
|
2682
2682
|
container: Hs,
|
|
2683
2683
|
lhs: Ds,
|
|
@@ -2686,8 +2686,8 @@ const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os =
|
|
|
2686
2686
|
completed: Vs,
|
|
2687
2687
|
rhs: Us,
|
|
2688
2688
|
profile: Ws,
|
|
2689
|
-
avatar:
|
|
2690
|
-
main:
|
|
2689
|
+
avatar: js,
|
|
2690
|
+
main: zs,
|
|
2691
2691
|
content: Bs
|
|
2692
2692
|
}, qs = "_root_135td_1", Ys = "_container_135td_1", Ks = "_brand_135td_1", It = {
|
|
2693
2693
|
root: qs,
|
|
@@ -2695,12 +2695,12 @@ const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os =
|
|
|
2695
2695
|
brand: Ks
|
|
2696
2696
|
};
|
|
2697
2697
|
function Gs() {
|
|
2698
|
-
const { branding: e } =
|
|
2698
|
+
const { branding: e } = Ne();
|
|
2699
2699
|
return /* @__PURE__ */ h("div", { className: It.root, children: /* @__PURE__ */ h("div", { className: It.container, children: /* @__PURE__ */ h("div", { className: It.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ h("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
|
|
2700
2700
|
}
|
|
2701
2701
|
const tr = "colorScheme";
|
|
2702
2702
|
function Zs() {
|
|
2703
|
-
const { namespace: e } =
|
|
2703
|
+
const { namespace: e } = Ne(), t = () => {
|
|
2704
2704
|
const o = localStorage.getItem(tr);
|
|
2705
2705
|
return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
|
|
2706
2706
|
}, n = (o = null) => {
|
|
@@ -2847,7 +2847,7 @@ function Tn(e = {}) {
|
|
|
2847
2847
|
},
|
|
2848
2848
|
onError: o = () => {
|
|
2849
2849
|
}
|
|
2850
|
-
} = e, { faceDetector: i, savePhoto: a } =
|
|
2850
|
+
} = e, { faceDetector: i, savePhoto: a } = Ne(), s = w(!1), l = w(!1), { checkFacialFeatures: u, checkZoomLevel: d, checkInFrame: c } = sl(), p = w(null), f = (y, m) => {
|
|
2851
2851
|
var _;
|
|
2852
2852
|
try {
|
|
2853
2853
|
if (y.length === 0)
|
|
@@ -2916,11 +2916,11 @@ function Tn(e = {}) {
|
|
|
2916
2916
|
g,
|
|
2917
2917
|
b
|
|
2918
2918
|
// frameSize,
|
|
2919
|
-
), $ = await
|
|
2919
|
+
), $ = await ke.detectFaces(i, C);
|
|
2920
2920
|
f($, _);
|
|
2921
2921
|
} };
|
|
2922
2922
|
}
|
|
2923
|
-
const ll = "
|
|
2923
|
+
const ll = "_root_5hgaj_1", cl = "_container_5hgaj_4", ul = "_progress_5hgaj_7", dl = "_intro_5hgaj_12", fl = "_content_5hgaj_15", pl = "_branding_5hgaj_18", hl = "_instructionsContainer_5hgaj_22", _l = "_instructions_5hgaj_22", oe = {
|
|
2924
2924
|
root: ll,
|
|
2925
2925
|
container: cl,
|
|
2926
2926
|
progress: ul,
|
|
@@ -2964,7 +2964,7 @@ function Ge(e) {
|
|
|
2964
2964
|
/* @__PURE__ */ h("h2", { children: r }),
|
|
2965
2965
|
/* @__PURE__ */ h("p", { className: "subtext", children: n }),
|
|
2966
2966
|
!l && /* @__PURE__ */ h("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ h(
|
|
2967
|
-
|
|
2967
|
+
Fi,
|
|
2968
2968
|
{
|
|
2969
2969
|
onClick: () => i(),
|
|
2970
2970
|
className: "yvlw-flex yvlw-items-center yvlw-space-x-3",
|
|
@@ -2990,7 +2990,7 @@ function Cn(e) {
|
|
|
2990
2990
|
},
|
|
2991
2991
|
onReset: s = () => {
|
|
2992
2992
|
}
|
|
2993
|
-
} = e, [l, u] =
|
|
2993
|
+
} = e, [l, u] = F(!1), { completedCount: d, tasks: c, nextTask: p } = Ne(), f = M(() => $o[r], [r]), v = M(
|
|
2994
2994
|
() => d * 100 / c.length,
|
|
2995
2995
|
[d, c.length]
|
|
2996
2996
|
);
|
|
@@ -3111,13 +3111,13 @@ function Cn(e) {
|
|
|
3111
3111
|
}
|
|
3112
3112
|
function kn(e = {}) {
|
|
3113
3113
|
const { timeout: t, onTimeout: n = () => {
|
|
3114
|
-
} } = e, [r, o] =
|
|
3114
|
+
} } = e, [r, o] = F(!1), i = w(null), a = A(() => {
|
|
3115
3115
|
t && i.current && clearTimeout(i.current);
|
|
3116
|
-
}, []), s =
|
|
3116
|
+
}, []), s = A(() => {
|
|
3117
3117
|
t && (i.current = setTimeout(() => {
|
|
3118
3118
|
o(!0), n();
|
|
3119
3119
|
}, t));
|
|
3120
|
-
}, []), l =
|
|
3120
|
+
}, []), l = A(() => {
|
|
3121
3121
|
o(!1), s();
|
|
3122
3122
|
}, []);
|
|
3123
3123
|
return N(() => a, []), {
|
|
@@ -3129,7 +3129,7 @@ function kn(e = {}) {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
const El = 1, Ht = 8, ir = "Place face in frame";
|
|
3131
3131
|
function $l(e) {
|
|
3132
|
-
const { difficulty: t, timeout: n } = e, { saveStream: r } =
|
|
3132
|
+
const { difficulty: t, timeout: n } = e, { saveStream: r } = Ne(), [o, i] = F([]), [a, s] = F(ir), [l, u] = F(!1), [d, c] = F(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), v = w(null), {
|
|
3133
3133
|
reset: y,
|
|
3134
3134
|
start: m,
|
|
3135
3135
|
stop: _,
|
|
@@ -3137,14 +3137,14 @@ function $l(e) {
|
|
|
3137
3137
|
} = kn({ timeout: n }), b = () => {
|
|
3138
3138
|
i([]), s(ir), u(!1), c(!1), p.current = /* @__PURE__ */ new Set(), f.current = !1, v.current = null, y();
|
|
3139
3139
|
}, C = (E) => {
|
|
3140
|
-
const k = E * Ht,
|
|
3141
|
-
p.current.has(
|
|
3140
|
+
const k = E * Ht, x = Math.ceil((k + 1) / Ps);
|
|
3141
|
+
p.current.has(x) || (p.current.add(x), i(Array.from(p.current))), p.current.size >= Ht && (_(), setTimeout(() => {
|
|
3142
3142
|
c(!0);
|
|
3143
3143
|
}, 1e3));
|
|
3144
3144
|
}, $ = (E, k) => {
|
|
3145
|
-
let
|
|
3146
|
-
return
|
|
3147
|
-
}, P =
|
|
3145
|
+
let I = Math.atan2(k, E) * (180 / Math.PI);
|
|
3146
|
+
return I < 0 && (I += 360), I;
|
|
3147
|
+
}, P = A(() => {
|
|
3148
3148
|
if (p.current.size === 0)
|
|
3149
3149
|
return 25;
|
|
3150
3150
|
switch (t) {
|
|
@@ -3156,8 +3156,8 @@ function $l(e) {
|
|
|
3156
3156
|
return 10;
|
|
3157
3157
|
}
|
|
3158
3158
|
}, []), O = (E) => {
|
|
3159
|
-
const { keypoints: k, box:
|
|
3160
|
-
return Math.abs(Q) <
|
|
3159
|
+
const { keypoints: k, box: x } = E, I = { x: x.width * 0.5, y: x.height * 0.5 }, Z = k[El], re = { y: Z.y - x.yMin, x: Z.x - x.xMin }, Q = I.x - re.x, J = re.y - I.y, he = P();
|
|
3160
|
+
return Math.abs(Q) < he && Math.abs(J) < he ? null : $(Q, J);
|
|
3161
3161
|
}, { detectFaces: R } = Tn({
|
|
3162
3162
|
frameSize: 280,
|
|
3163
3163
|
validations: ["zoom", "in-frame"],
|
|
@@ -3201,13 +3201,13 @@ function $l(e) {
|
|
|
3201
3201
|
}
|
|
3202
3202
|
) });
|
|
3203
3203
|
}
|
|
3204
|
-
const Tl = "_root_thujo_1", Cl = "_sticker_thujo_4", kl = "_no_thujo_7",
|
|
3204
|
+
const Tl = "_root_thujo_1", Cl = "_sticker_thujo_4", kl = "_no_thujo_7", Fl = "_yes_thujo_12", Dt = {
|
|
3205
3205
|
root: Tl,
|
|
3206
3206
|
sticker: Cl,
|
|
3207
3207
|
no: kl,
|
|
3208
|
-
yes:
|
|
3208
|
+
yes: Fl
|
|
3209
3209
|
};
|
|
3210
|
-
function
|
|
3210
|
+
function Sl(e) {
|
|
3211
3211
|
const { show: t, stickers: n } = e;
|
|
3212
3212
|
return /* @__PURE__ */ h(D, { children: t && /* @__PURE__ */ h("div", { className: Dt.root, children: n.map((r) => /* @__PURE__ */ h(
|
|
3213
3213
|
"div",
|
|
@@ -3218,13 +3218,13 @@ function Fl(e) {
|
|
|
3218
3218
|
`sticker-${r}`
|
|
3219
3219
|
)) }) });
|
|
3220
3220
|
}
|
|
3221
|
-
const
|
|
3221
|
+
const xl = {
|
|
3222
3222
|
question: "Are you alive?",
|
|
3223
3223
|
errorMessage: "You have to be alive to proceed though",
|
|
3224
3224
|
answer: !0
|
|
3225
3225
|
}, Ml = "Wrong answer. Try again", ar = "Keep face in camera";
|
|
3226
3226
|
function Pl(e) {
|
|
3227
|
-
const { difficulty: t, questions: n = [
|
|
3227
|
+
const { difficulty: t, questions: n = [xl], timeout: r } = e, [o, i] = F(ar), [a, s] = F(!1), [l, u] = F(!1), { saveStream: d } = Ne(), c = w("inactive"), p = w(0), f = w(!1), v = w(null), y = w(null), m = () => {
|
|
3228
3228
|
v.current && clearTimeout(v.current), y.current && clearTimeout(y.current);
|
|
3229
3229
|
}, {
|
|
3230
3230
|
reset: _,
|
|
@@ -3236,11 +3236,11 @@ function Pl(e) {
|
|
|
3236
3236
|
onTimeout: m
|
|
3237
3237
|
}), $ = () => {
|
|
3238
3238
|
i(ar), s(!1), u(!1), c.current = "inactive", p.current = 0, f.current = !1, _();
|
|
3239
|
-
}, P = (
|
|
3240
|
-
const { keypoints:
|
|
3239
|
+
}, P = (x) => {
|
|
3240
|
+
const { keypoints: I } = x, Z = I[1], re = I[9], Q = Z.x - re.x, J = Z.y - re.y;
|
|
3241
3241
|
return 90 - Math.atan2(J, Q) * (180 / Math.PI);
|
|
3242
|
-
}, O = (
|
|
3243
|
-
c.current = "inactive", i(n[
|
|
3242
|
+
}, O = (x) => {
|
|
3243
|
+
c.current = "inactive", i(n[x].question), v.current = setTimeout(() => {
|
|
3244
3244
|
c.current = "active";
|
|
3245
3245
|
}, 2e3);
|
|
3246
3246
|
}, R = M(() => {
|
|
@@ -3252,38 +3252,38 @@ function Pl(e) {
|
|
|
3252
3252
|
default:
|
|
3253
3253
|
return 4;
|
|
3254
3254
|
}
|
|
3255
|
-
}, []), W = (
|
|
3255
|
+
}, []), W = (x) => {
|
|
3256
3256
|
try {
|
|
3257
|
-
if (c.current = "inactive", Math.abs(
|
|
3257
|
+
if (c.current = "inactive", Math.abs(x) < R)
|
|
3258
3258
|
throw new Error("Tilt head further to answer");
|
|
3259
|
-
const
|
|
3260
|
-
if (
|
|
3259
|
+
const I = x > 0, Z = n[p.current].answer;
|
|
3260
|
+
if (I === Z)
|
|
3261
3261
|
p.current += 1, p.current === n.length ? (u(!0), b()) : O(p.current);
|
|
3262
3262
|
else
|
|
3263
3263
|
throw new Error(
|
|
3264
3264
|
n[p.current].errorMessage || Ml
|
|
3265
3265
|
);
|
|
3266
|
-
} catch (
|
|
3267
|
-
i(
|
|
3266
|
+
} catch (I) {
|
|
3267
|
+
i(I.message), y.current = setTimeout(() => {
|
|
3268
3268
|
O(p.current);
|
|
3269
3269
|
}, 2e3);
|
|
3270
3270
|
}
|
|
3271
3271
|
}, { detectFaces: E } = Tn({
|
|
3272
|
-
onFace: (
|
|
3272
|
+
onFace: (x) => {
|
|
3273
3273
|
if (f.current || (s(!0), f.current = !0, O(p.current)), c.current === "inactive")
|
|
3274
3274
|
return;
|
|
3275
|
-
const
|
|
3276
|
-
W(
|
|
3275
|
+
const I = P(x);
|
|
3276
|
+
W(I);
|
|
3277
3277
|
},
|
|
3278
|
-
onError: (
|
|
3279
|
-
i(
|
|
3278
|
+
onError: (x) => {
|
|
3279
|
+
i(x);
|
|
3280
3280
|
}
|
|
3281
|
-
}), k = (
|
|
3281
|
+
}), k = (x) => {
|
|
3282
3282
|
try {
|
|
3283
|
-
if (!
|
|
3283
|
+
if (!x.current || l)
|
|
3284
3284
|
return;
|
|
3285
|
-
const { videoWidth:
|
|
3286
|
-
E({ ref:
|
|
3285
|
+
const { videoWidth: I } = x.current;
|
|
3286
|
+
E({ ref: x, frameSize: I });
|
|
3287
3287
|
} catch {
|
|
3288
3288
|
}
|
|
3289
3289
|
};
|
|
@@ -3299,7 +3299,7 @@ function Pl(e) {
|
|
|
3299
3299
|
onReset: $,
|
|
3300
3300
|
onStart: g,
|
|
3301
3301
|
completed: l,
|
|
3302
|
-
children: /* @__PURE__ */ h($n, { onStream: k, onRecord: d, children: /* @__PURE__ */ h(
|
|
3302
|
+
children: /* @__PURE__ */ h($n, { onStream: k, onRecord: d, children: /* @__PURE__ */ h(Sl, { show: a, stickers: ["yes", "no"] }) })
|
|
3303
3303
|
}
|
|
3304
3304
|
);
|
|
3305
3305
|
}
|
|
@@ -3474,9 +3474,9 @@ function Hl() {
|
|
|
3474
3474
|
};
|
|
3475
3475
|
}
|
|
3476
3476
|
var ko = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(ko || {});
|
|
3477
|
-
const sr =
|
|
3477
|
+
const sr = Fs(Object.keys(ko)), lr = "Keep face in camera";
|
|
3478
3478
|
function Dl(e) {
|
|
3479
|
-
const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5, timeout: o } = e, i = w(0), [a, s] =
|
|
3479
|
+
const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5, timeout: o } = e, i = w(0), [a, s] = F(lr), [l, u] = F(!1), [d, c] = F(null), p = w(!1), { requestDeviceOrientationPermission: f } = Hl(), {
|
|
3480
3480
|
reset: v,
|
|
3481
3481
|
start: y,
|
|
3482
3482
|
stop: m,
|
|
@@ -3564,7 +3564,7 @@ function Ol() {
|
|
|
3564
3564
|
onComplete: s,
|
|
3565
3565
|
faceDetector: l,
|
|
3566
3566
|
presentation: u
|
|
3567
|
-
} =
|
|
3567
|
+
} = Ne(), [d, c] = F(!1), [p, f] = F(!1), [v, y] = F(null), [m, _] = F(!1);
|
|
3568
3568
|
N(() => {
|
|
3569
3569
|
const $ = t();
|
|
3570
3570
|
n($);
|
|
@@ -3577,7 +3577,7 @@ function Ol() {
|
|
|
3577
3577
|
} finally {
|
|
3578
3578
|
c(!1);
|
|
3579
3579
|
}
|
|
3580
|
-
}, b =
|
|
3580
|
+
}, b = A(
|
|
3581
3581
|
($) => $ === i ? Y.active : i > $ ? Y.completed : "subtext",
|
|
3582
3582
|
[i]
|
|
3583
3583
|
);
|
|
@@ -3713,7 +3713,7 @@ function Rl(e) {
|
|
|
3713
3713
|
publicKey: u,
|
|
3714
3714
|
metadata: d,
|
|
3715
3715
|
sandboxEnvironment: c
|
|
3716
|
-
} = e, [p, f] =
|
|
3716
|
+
} = e, [p, f] = F(e.show), v = () => {
|
|
3717
3717
|
f(!1), i();
|
|
3718
3718
|
};
|
|
3719
3719
|
return /* @__PURE__ */ h(
|
|
@@ -3772,6 +3772,7 @@ class Wl {
|
|
|
3772
3772
|
{
|
|
3773
3773
|
namespace: this.namespace,
|
|
3774
3774
|
publicKey: this.props.publicKey,
|
|
3775
|
+
sandboxEnvironment: this.props.sandboxEnvironment,
|
|
3775
3776
|
presentation: this.props.presentation,
|
|
3776
3777
|
show: !0,
|
|
3777
3778
|
tasks: this.tasks,
|