youverify-passive-liveness-web
Version:
> Software Development Kit for [Youverify](https://youverify.co)'s Liveness Check
637 lines (636 loc) • 161 kB
JavaScript
(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-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, 1))}.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-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, 1))}.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, 1))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.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, 1))}.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, 1));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}._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, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._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, 1));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}._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, 1));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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, 1))}._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_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, 1))}._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, 1))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));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_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, 1))}._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, 1))}._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, 1))}._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, 1))}._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)}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
var Ze, C, rr, $e, En, or, Ot, ir, en, It, Vt, lr, Ge = {}, ar = [], Co = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, wt = Array.isArray;
function ie(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function tn(e) {
e && e.parentNode && e.parentNode.removeChild(e);
}
function ee(e, t, n) {
var r, o, i, l = {};
for (i in t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : l[i] = t[i];
if (arguments.length > 2 && (l.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) l[i] === void 0 && (l[i] = e.defaultProps[i]);
return je(e, l, r, o, null);
}
function je(e, t, n, r, o) {
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++rr, __i: -1, __u: 0 };
return o == null && C.vnode != null && C.vnode(i), i;
}
function nn() {
return { current: null };
}
function O(e) {
return e.children;
}
function Q(e, t) {
this.props = e, this.context = t;
}
function xe(e, t) {
if (t == null) return e.__ ? xe(e.__, e.__i + 1) : null;
for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
return typeof e.type == "function" ? xe(e) : null;
}
function sr(e) {
var t, n;
if ((e = e.__) != null && e.__c != null) {
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
e.__e = e.__c.base = n.__e;
break;
}
return sr(e);
}
}
function Wt(e) {
(!e.__d && (e.__d = !0) && $e.push(e) && !pt.__r++ || En !== C.debounceRendering) && ((En = C.debounceRendering) || or)(pt);
}
function pt() {
var e, t, n, r, o, i, l, a;
for ($e.sort(Ot); e = $e.shift(); ) e.__d && (t = $e.length, r = void 0, i = (o = (n = e).__v).__e, l = [], a = [], n.__P && ((r = ie({}, o)).__v = o.__v + 1, C.vnode && C.vnode(r), rn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, l, i ?? xe(o), !!(32 & o.__u), a), r.__v = o.__v, r.__.__k[r.__i] = r, dr(l, r, a), r.__e != i && sr(r)), $e.length > t && $e.sort(Ot));
pt.__r = 0;
}
function ur(e, t, n, r, o, i, l, a, s, c, d) {
var u, p, f, _, y, g, m = r && r.__k || ar, h = t.length;
for (s = So(n, t, m, s, h), u = 0; u < h; u++) (f = n.__k[u]) != null && (p = f.__i === -1 ? Ge : m[f.__i] || Ge, f.__i = u, g = rn(e, f, p, o, i, l, a, s, c, d), _ = f.__e, f.ref && p.ref != f.ref && (p.ref && on(p.ref, null, f), d.push(f.ref, f.__c || _, f)), y == null && _ != null && (y = _), 4 & f.__u || p.__k === f.__k ? s = cr(f, s, e) : typeof f.type == "function" && g !== void 0 ? s = g : _ && (s = _.nextSibling), f.__u &= -7);
return n.__e = y, s;
}
function So(e, t, n, r, o) {
var i, l, a, s, c, d = n.length, u = d, p = 0;
for (e.__k = new Array(o), i = 0; i < o; i++) (l = t[i]) != null && typeof l != "boolean" && typeof l != "function" ? (s = i + p, (l = e.__k[i] = typeof l == "string" || typeof l == "number" || typeof l == "bigint" || l.constructor == String ? je(null, l, null, null, null) : wt(l) ? je(O, { children: l }, null, null, null) : l.constructor === void 0 && l.__b > 0 ? je(l.type, l.props, l.key, l.ref ? l.ref : null, l.__v) : l).__ = e, l.__b = e.__b + 1, a = null, (c = l.__i = ko(l, n, s, u)) !== -1 && (u--, (a = n[c]) && (a.__u |= 2)), a == null || a.__v === null ? (c == -1 && p--, typeof l.type != "function" && (l.__u |= 4)) : c != s && (c == s - 1 ? p-- : c == s + 1 ? p++ : (c > s ? p-- : p++, l.__u |= 4))) : e.__k[i] = null;
if (u) for (i = 0; i < d; i++) (a = n[i]) != null && !(2 & a.__u) && (a.__e == r && (r = xe(a)), fr(a, a));
return r;
}
function cr(e, t, n) {
var r, o;
if (typeof e.type == "function") {
for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = cr(r[o], t, n));
return t;
}
e.__e != t && (t && e.type && !n.contains(t) && (t = xe(e)), n.insertBefore(e.__e, t || null), t = e.__e);
do
t = t && t.nextSibling;
while (t != null && t.nodeType == 8);
return t;
}
function le(e, t) {
return t = t || [], e == null || typeof e == "boolean" || (wt(e) ? e.some(function(n) {
le(n, t);
}) : t.push(e)), t;
}
function ko(e, t, n, r) {
var o, i, l = e.key, a = e.type, s = t[n];
if (s === null || s && l == s.key && a === s.type && !(2 & s.__u)) return n;
if (r > (s != null && !(2 & s.__u) ? 1 : 0)) for (o = n - 1, i = n + 1; o >= 0 || i < t.length; ) {
if (o >= 0) {
if ((s = t[o]) && !(2 & s.__u) && l == s.key && a === s.type) return o;
o--;
}
if (i < t.length) {
if ((s = t[i]) && !(2 & s.__u) && l == s.key && a === s.type) return i;
i++;
}
}
return -1;
}
function Tn(e, t, n) {
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || Co.test(t) ? n : n + "px";
}
function it(e, t, n, r, o) {
var i;
e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
else {
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Tn(e.style, t, "");
if (n) for (t in n) r && n[t] === r[t] || Tn(e.style, t, n[t]);
}
else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(ir, "$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 = en, e.addEventListener(t, i ? Vt : It, i)) : e.removeEventListener(t, i ? Vt : It, i);
else {
if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
e[t] = n ?? "";
break e;
} catch {
}
typeof n == "function" || (n == null || n === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
}
}
function Cn(e) {
return function(t) {
if (this.l) {
var n = this.l[t.type + e];
if (t.t == null) t.t = en++;
else if (t.t < n.u) return;
return n(C.event ? C.event(t) : t);
}
};
}
function rn(e, t, n, r, o, i, l, a, s, c) {
var d, u, p, f, _, y, g, m, h, w, b, S, $, F, j, I, L, A = t.type;
if (t.constructor !== void 0) return null;
128 & n.__u && (s = !!(32 & n.__u), i = [a = t.__e = n.__e]), (d = C.__b) && d(t);
e: if (typeof A == "function") try {
if (m = t.props, h = "prototype" in A && A.prototype.render, w = (d = A.contextType) && r[d.__c], b = d ? w ? w.props.value : d.__ : r, n.__c ? g = (u = t.__c = n.__c).__ = u.__E : (h ? t.__c = u = new A(m, b) : (t.__c = u = new Q(m, b), u.constructor = A, u.render = Po), w && w.sub(u), u.props = m, u.state || (u.state = {}), u.context = b, u.__n = r, p = u.__d = !0, u.__h = [], u._sb = []), h && u.__s == null && (u.__s = u.state), h && A.getDerivedStateFromProps != null && (u.__s == u.state && (u.__s = ie({}, u.__s)), ie(u.__s, A.getDerivedStateFromProps(m, u.__s))), f = u.props, _ = u.state, u.__v = t, p) h && A.getDerivedStateFromProps == null && u.componentWillMount != null && u.componentWillMount(), h && u.componentDidMount != null && u.__h.push(u.componentDidMount);
else {
if (h && A.getDerivedStateFromProps == null && m !== f && u.componentWillReceiveProps != null && u.componentWillReceiveProps(m, b), !u.__e && (u.shouldComponentUpdate != null && u.shouldComponentUpdate(m, u.__s, b) === !1 || t.__v == n.__v)) {
for (t.__v != n.__v && (u.props = m, u.state = u.__s, u.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(K) {
K && (K.__ = t);
}), S = 0; S < u._sb.length; S++) u.__h.push(u._sb[S]);
u._sb = [], u.__h.length && l.push(u);
break e;
}
u.componentWillUpdate != null && u.componentWillUpdate(m, u.__s, b), h && u.componentDidUpdate != null && u.__h.push(function() {
u.componentDidUpdate(f, _, y);
});
}
if (u.context = b, u.props = m, u.__P = e, u.__e = !1, $ = C.__r, F = 0, h) {
for (u.state = u.__s, u.__d = !1, $ && $(t), d = u.render(u.props, u.state, u.context), j = 0; j < u._sb.length; j++) u.__h.push(u._sb[j]);
u._sb = [];
} else do
u.__d = !1, $ && $(t), d = u.render(u.props, u.state, u.context), u.state = u.__s;
while (u.__d && ++F < 25);
u.state = u.__s, u.getChildContext != null && (r = ie(ie({}, r), u.getChildContext())), h && !p && u.getSnapshotBeforeUpdate != null && (y = u.getSnapshotBeforeUpdate(f, _)), a = ur(e, wt(I = d != null && d.type === O && d.key == null ? d.props.children : d) ? I : [I], t, n, r, o, i, l, a, s, c), u.base = t.__e, t.__u &= -161, u.__h.length && l.push(u), g && (u.__E = u.__ = null);
} catch (K) {
if (t.__v = null, s || i != null) if (K.then) {
for (t.__u |= s ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
i[i.indexOf(a)] = null, t.__e = a;
} else for (L = i.length; L--; ) tn(i[L]);
else t.__e = n.__e, t.__k = n.__k;
C.__e(K, t, n);
}
else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : a = t.__e = Fo(n.__e, t, n, r, o, i, l, s, c);
return (d = C.diffed) && d(t), 128 & t.__u ? void 0 : a;
}
function dr(e, t, n) {
for (var r = 0; r < n.length; r++) on(n[r], n[++r], n[++r]);
C.__c && C.__c(t, e), e.some(function(o) {
try {
e = o.__h, o.__h = [], e.some(function(i) {
i.call(o);
});
} catch (i) {
C.__e(i, o.__v);
}
});
}
function Fo(e, t, n, r, o, i, l, a, s) {
var c, d, u, p, f, _, y, g = n.props, m = t.props, h = t.type;
if (h == "svg" ? o = "http://www.w3.org/2000/svg" : h == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
for (c = 0; c < i.length; c++) if ((f = i[c]) && "setAttribute" in f == !!h && (h ? f.localName == h : f.nodeType == 3)) {
e = f, i[c] = null;
break;
}
}
if (e == null) {
if (h == null) return document.createTextNode(m);
e = document.createElementNS(o, h, m.is && m), a && (C.__m && C.__m(t, i), a = !1), i = null;
}
if (h === null) g === m || a && e.data === m || (e.data = m);
else {
if (i = i && Ze.call(e.childNodes), g = n.props || Ge, !a && i != null) for (g = {}, c = 0; c < e.attributes.length; c++) g[(f = e.attributes[c]).name] = f.value;
for (c in g) if (f = g[c], c != "children") {
if (c == "dangerouslySetInnerHTML") u = f;
else if (!(c in m)) {
if (c == "value" && "defaultValue" in m || c == "checked" && "defaultChecked" in m) continue;
it(e, c, null, f, o);
}
}
for (c in m) f = m[c], c == "children" ? p = f : c == "dangerouslySetInnerHTML" ? d = f : c == "value" ? _ = f : c == "checked" ? y = f : a && typeof f != "function" || g[c] === f || it(e, c, f, g[c], o);
if (d) a || u && (d.__html === u.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
else if (u && (e.innerHTML = ""), ur(e, wt(p) ? p : [p], t, n, r, h == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, l, i ? i[0] : n.__k && xe(n, 0), a, s), i != null) for (c = i.length; c--; ) tn(i[c]);
a || (c = "value", h == "progress" && _ == null ? e.removeAttribute("value") : _ !== void 0 && (_ !== e[c] || h == "progress" && !_ || h == "option" && _ !== g[c]) && it(e, c, _, g[c], o), c = "checked", y !== void 0 && y !== e[c] && it(e, c, y, g[c], o));
}
return e;
}
function on(e, t, n) {
try {
if (typeof e == "function") {
var r = typeof e.__u == "function";
r && e.__u(), r && t == null || (e.__u = e(t));
} else e.current = t;
} catch (o) {
C.__e(o, n);
}
}
function fr(e, t, n) {
var r, o;
if (C.unmount && C.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || on(r, null, t)), (r = e.__c) != null) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (i) {
C.__e(i, t);
}
r.base = r.__P = null;
}
if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && fr(r[o], t, n || typeof e.type != "function");
n || tn(e.__e), e.__c = e.__ = e.__e = void 0;
}
function Po(e, t, n) {
return this.constructor(e, n);
}
function Ae(e, t, n) {
var r, o, i, l;
t == document && (t = document.documentElement), C.__ && C.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], l = [], rn(t, e = (!r && n || t).__k = ee(O, null, [e]), o || Ge, Ge, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ze.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, l), dr(i, e, l);
}
function pr(e, t) {
Ae(e, t, pr);
}
function Lo(e, t, n) {
var r, o, i, l, a = ie({}, e.props);
for (i in e.type && e.type.defaultProps && (l = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : a[i] = t[i] === void 0 && l !== void 0 ? l[i] : t[i];
return arguments.length > 2 && (a.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), je(e.type, a, r || e.key, o || e.ref, null);
}
function q(e, t) {
var n = { __c: t = "__cC" + lr++, __: e, Consumer: function(r, o) {
return r.children(o);
}, Provider: function(r) {
var o, i;
return this.getChildContext || (o = /* @__PURE__ */ new Set(), (i = {})[t] = this, this.getChildContext = function() {
return i;
}, this.componentWillUnmount = function() {
o = null;
}, this.shouldComponentUpdate = function(l) {
this.props.value !== l.value && o.forEach(function(a) {
a.__e = !0, Wt(a);
});
}, this.sub = function(l) {
o.add(l);
var a = l.componentWillUnmount;
l.componentWillUnmount = function() {
o && o.delete(l), a && a.call(l);
};
}), r.children;
} };
return n.Provider.__ = n.Consumer.contextType = n;
}
Ze = ar.slice, C = { __e: function(e, t, n, r) {
for (var o, i, l; t = t.__; ) if ((o = t.__c) && !o.__) try {
if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), l = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), l = o.__d), l) return o.__E = o;
} catch (a) {
e = a;
}
throw e;
} }, rr = 0, Q.prototype.setState = function(e, t) {
var n;
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ie({}, this.state), typeof e == "function" && (e = e(ie({}, n), this.props)), e && ie(n, e), e != null && this.__v && (t && this._sb.push(t), Wt(this));
}, Q.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Wt(this));
}, Q.prototype.render = O, $e = [], or = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
return e.__v.__b - t.__v.__b;
}, pt.__r = 0, ir = /(PointerCapture)$|Capture$/i, en = 0, It = Cn(!1), Vt = Cn(!0), lr = 0;
var Mo = 0;
function v(e, t, n, r, o, i) {
t || (t = {});
var l, a, s = t;
if ("ref" in s) for (a in s = {}, t) a == "ref" ? l = t[a] : s[a] = t[a];
var c = { type: e, props: s, key: n, ref: l, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Mo, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (l = e.defaultProps)) for (a in l) s[a] === void 0 && (s[a] = l[a]);
return C.vnode && C.vnode(c), c;
}
var se, M, Mt, Sn, He = 0, vr = [], D = C, kn = D.__b, Fn = D.__r, Pn = D.diffed, Ln = D.__c, Mn = D.unmount, Nn = D.__;
function Fe(e, t) {
D.__h && D.__h(M, e, He || t), He = 0;
var n = M.__H || (M.__H = { __: [], __h: [] });
return e >= n.__.length && n.__.push({}), n.__[e];
}
function k(e) {
return He = 1, Xe(_r, e);
}
function Xe(e, t, n) {
var r = Fe(se++, 2);
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : _r(void 0, t), function(a) {
var s = r.__N ? r.__N[0] : r.__[0], c = r.t(s, a);
s !== c && (r.__N = [c, r.__[1]], r.__c.setState({}));
}], r.__c = M, !M.u)) {
var o = function(a, s, c) {
if (!r.__c.__H) return !0;
var d = r.__c.__H.__.filter(function(p) {
return !!p.__c;
});
if (d.every(function(p) {
return !p.__N;
})) return !i || i.call(this, a, s, c);
var u = r.__c.props !== a;
return d.forEach(function(p) {
if (p.__N) {
var f = p.__[0];
p.__ = p.__N, p.__N = void 0, f !== p.__[0] && (u = !0);
}
}), i && i.call(this, a, s, c) || u;
};
M.u = !0;
var i = M.shouldComponentUpdate, l = M.componentWillUpdate;
M.componentWillUpdate = function(a, s, c) {
if (this.__e) {
var d = i;
i = void 0, o(a, s, c), i = d;
}
l && l.call(this, a, s, c);
}, M.shouldComponentUpdate = o;
}
return r.__N || r.__;
}
function H(e, t) {
var n = Fe(se++, 3);
!D.__s && sn(n.__H, t) && (n.__ = e, n.i = t, M.__H.__h.push(n));
}
function Pe(e, t) {
var n = Fe(se++, 4);
!D.__s && sn(n.__H, t) && (n.__ = e, n.i = t, M.__h.push(n));
}
function T(e) {
return He = 5, R(function() {
return { current: e };
}, []);
}
function ln(e, t, n) {
He = 6, Pe(function() {
return typeof e == "function" ? (e(t()), function() {
return e(null);
}) : e ? (e.current = t(), function() {
return e.current = null;
}) : void 0;
}, n == null ? n : n.concat(e));
}
function R(e, t) {
var n = Fe(se++, 7);
return sn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
}
function N(e, t) {
return He = 8, R(function() {
return e;
}, t);
}
function V(e) {
var t = M.context[e.__c], n = Fe(se++, 9);
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(M)), t.props.value) : e.__;
}
function an(e, t) {
D.useDebugValue && D.useDebugValue(t ? t(e) : e);
}
function No(e) {
var t = Fe(se++, 10), n = k();
return t.__ = e, M.componentDidCatch || (M.componentDidCatch = function(r, o) {
t.__ && t.__(r, o), n[1](r);
}), [n[0], function() {
n[1](void 0);
}];
}
function ve() {
var e = Fe(se++, 11);
if (!e.__) {
for (var t = M.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
var n = t.__m || (t.__m = [0, 0]);
e.__ = "P" + n[0] + "-" + n[1]++;
}
return e.__;
}
function xo() {
for (var e; e = vr.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(ft), e.__H.__h.forEach(Ut), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], D.__e(t, e.__v);
}
}
D.__b = function(e) {
M = null, kn && kn(e);
}, D.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Nn && Nn(e, t);
}, D.__r = function(e) {
Fn && Fn(e), se = 0;
var t = (M = e.__c).__H;
t && (Mt === M ? (t.__h = [], M.__h = [], t.__.forEach(function(n) {
n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
})) : (t.__h.forEach(ft), t.__h.forEach(Ut), t.__h = [], se = 0)), Mt = M;
}, D.diffed = function(e) {
Pn && Pn(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (vr.push(t) !== 1 && Sn === D.requestAnimationFrame || ((Sn = D.requestAnimationFrame) || Ao)(xo)), t.__H.__.forEach(function(n) {
n.i && (n.__H = n.i), n.i = void 0;
})), Mt = M = null;
}, D.__c = function(e, t) {
t.some(function(n) {
try {
n.__h.forEach(ft), n.__h = n.__h.filter(function(r) {
return !r.__ || Ut(r);
});
} catch (r) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], D.__e(r, n.__v);
}
}), Ln && Ln(e, t);
}, D.unmount = function(e) {
Mn && Mn(e);
var t, n = e.__c;
n && n.__H && (n.__H.__.forEach(function(r) {
try {
ft(r);
} catch (o) {
t = o;
}
}), n.__H = void 0, t && D.__e(t, n.__v));
};
var xn = typeof requestAnimationFrame == "function";
function Ao(e) {
var t, n = function() {
clearTimeout(r), xn && cancelAnimationFrame(t), setTimeout(e);
}, r = setTimeout(n, 100);
xn && (t = requestAnimationFrame(n));
}
function ft(e) {
var t = M, n = e.__c;
typeof n == "function" && (e.__c = void 0, n()), M = t;
}
function Ut(e) {
var t = M;
e.__c = e.__(), M = t;
}
function sn(e, t) {
return !e || e.length !== t.length || t.some(function(n, r) {
return n !== e[r];
});
}
function _r(e, t) {
return typeof t == "function" ? t(e) : t;
}
function hr(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function jt(e, t) {
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
return !1;
}
function bt(e, t) {
var n = t(), r = k({ t: { __: n, u: t } }), o = r[0].t, i = r[1];
return Pe(function() {
o.__ = n, o.u = t, Nt(o) && i({ t: o });
}, [e, n, t]), H(function() {
return Nt(o) && i({ t: o }), e(function() {
Nt(o) && i({ t: o });
});
}, [e]), n;
}
function Nt(e) {
var t, n, r = e.u, o = e.__;
try {
var i = r();
return !((t = o) === (n = i) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
} catch {
return !0;
}
}
function un(e) {
e();
}
function cn(e) {
return e;
}
function dn() {
return [!1, un];
}
var fn = Pe;
function vt(e, t) {
this.props = e, this.context = t;
}
function mr(e, t) {
function n(o) {
var i = this.props.ref, l = i == o.ref;
return !l && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !l : jt(this.props, o);
}
function r(o) {
return this.shouldComponentUpdate = n, ee(e, o);
}
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
}
(vt.prototype = new Q()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
return jt(this.props, e) || jt(this.state, t);
};
var An = C.__b;
C.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), An && An(e);
};
var Ho = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
function pn(e) {
function t(n) {
var r = hr({}, n);
return delete r.ref, e(r, n.ref || null);
}
return t.$$typeof = Ho, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Hn = function(e, t) {
return e == null ? null : le(le(e).map(t));
}, yr = { map: Hn, forEach: Hn, count: function(e) {
return e ? le(e).length : 0;
}, only: function(e) {
var t = le(e);
if (t.length !== 1) throw "Children.only";
return t[0];
}, toArray: le }, Ro = C.__e;
C.__e = function(e, t, n, r) {
if (e.then) {
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);
}
Ro(e, t, n, r);
};
var Rn = C.unmount;
function gr(e, t, n) {
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
typeof r.__c == "function" && r.__c();
}), e.__c.__H = null), (e = hr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
return gr(r, t, n);
})), e;
}
function wr(e, t, n) {
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
return wr(r, t, n);
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
}
function Be() {
this.__u = 0, this.o = null, this.__b = null;
}
function br(e) {
var t = e.__.__c;
return t && t.__a && t.__a(e);
}
function $r(e) {
var t, n, r;
function o(i) {
if (t || (t = e()).then(function(l) {
n = l.default || l;
}, function(l) {
r = l;
}), r) throw r;
if (!n) throw t;
return ee(n, i);
}
return o.displayName = "Lazy", o.__f = !0, o;
}
function Ne() {
this.i = null, this.l = null;
}
C.unmount = function(e) {
var t = e.__c;
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Rn && Rn(e);
}, (Be.prototype = new Q()).__c = function(e, t) {
var n = t.__c, r = this;
r.o == null && (r.o = []), r.o.push(n);
var o = br(r.__v), i = !1, l = function() {
i || (i = !0, n.__R = null, o ? o(a) : a());
};
n.__R = l;
var a = function() {
if (!--r.__u) {
if (r.state.__a) {
var s = r.state.__a;
r.__v.__k[0] = wr(s, s.__c.__P, s.__c.__O);
}
var c;
for (r.setState({ __a: r.__b = null }); c = r.o.pop(); ) c.forceUpdate();
}
};
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(l, l);
}, Be.prototype.componentWillUnmount = function() {
this.o = [];
}, Be.prototype.render = function(e, t) {
if (this.__b) {
if (this.__v.__k) {
var n = document.createElement("div"), r = this.__v.__k[0].__c;
this.__v.__k[0] = gr(this.__b, n, r.__O = r.__P);
}
this.__b = null;
}
var o = t.__a && ee(O, null, e.fallback);
return o && (o.__u &= -33), [ee(O, null, t.__a ? null : e.children), o];
};
var Dn = function(e, t, n) {
if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n; ) {
for (; n.length > 3; ) n.pop()();
if (n[1] < n[0]) break;
e.i = n = n[2];
}
};
function Do(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function Oo(e) {
var t = this, n = e.h;
t.componentWillUnmount = function() {
Ae(null, t.v), t.v = null, t.h = null;
}, t.h && t.h !== n && t.componentWillUnmount(), t.v || (t.h = n, t.v = { nodeType: 1, parentNode: n, childNodes: [], contains: function() {
return !0;
}, appendChild: function(r) {
this.childNodes.push(r), t.h.appendChild(r);
}, insertBefore: function(r, o) {
this.childNodes.push(r), t.h.insertBefore(r, o);
}, removeChild: function(r) {
this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.h.removeChild(r);
} }), Ae(ee(Do, { context: t.context }, e.__v), t.v);
}
function vn(e, t) {
var n = ee(Oo, { __v: e, h: t });
return n.containerInfo = t, n;
}
(Ne.prototype = new Q()).__a = function(e) {