diff --git a/ping/.gitignore b/ping/.gitignore new file mode 100644 index 0000000..6efc548 --- /dev/null +++ b/ping/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +.tmp/ diff --git a/ping/dist/Ping_idv_demo.webm b/ping/dist/Ping_idv_demo.webm new file mode 100644 index 0000000..6da32f8 Binary files /dev/null and b/ping/dist/Ping_idv_demo.webm differ diff --git a/ping/dist/assets/index-B56cvqca.css b/ping/dist/assets/index-B56cvqca.css new file mode 100644 index 0000000..6e4d72a --- /dev/null +++ b/ping/dist/assets/index-B56cvqca.css @@ -0,0 +1 @@ +/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Inter", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", "Fira Code", monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-emerald-400:#00d4aa;--color-emerald-500:#00b894;--color-teal-400:#00b4c5;--color-teal-500:#09a;--color-slate-300:#cbd5e1;--color-slate-400:#94a3b8;--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-navy-950:#0a0e17;--color-navy-900:#0f1729;--color-navy-800:#1a2332;--color-navy-700:#243447;--color-gold-400:#ffc107;--color-silver-400:silver;--color-bronze-400:#cd7f32}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-3{top:calc(var(--spacing) * 3)}.top-10{top:calc(var(--spacing) * 10)}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.z-30{z-index:30}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-40{height:calc(var(--spacing) * 40)}.h-48{height:calc(var(--spacing) * 48)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-full{height:100%}.min-h-\[60vh\]{min-height:60vh}.min-h-\[70vh\]{min-height:70vh}.min-h-screen{min-height:100vh}.w-40{width:calc(var(--spacing) * 40)}.w-48{width:calc(var(--spacing) * 48)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\[shake_300ms_ease-in-out\]{animation:.3s ease-in-out shake}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-bronze-400{border-color:var(--color-bronze-400)}.border-gold-400{border-color:var(--color-gold-400)}.border-navy-700{border-color:var(--color-navy-700)}.border-navy-800{border-color:var(--color-navy-800)}.border-red-500{border-color:var(--color-red-500)}.border-silver-400{border-color:var(--color-silver-400)}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-700{border-color:var(--color-slate-700)}.border-teal-400{border-color:var(--color-teal-400)}.border-teal-400\/30{border-color:#00b4c54d}@supports (color:color-mix(in lab,red,red)){.border-teal-400\/30{border-color:color-mix(in oklab,var(--color-teal-400) 30%,transparent)}}.border-transparent{border-color:#0000}.bg-black{background-color:var(--color-black)}.bg-navy-800{background-color:var(--color-navy-800)}.bg-navy-800\/50{background-color:#1a233280}@supports (color:color-mix(in lab,red,red)){.bg-navy-800\/50{background-color:color-mix(in oklab,var(--color-navy-800) 50%,transparent)}}.bg-navy-900{background-color:var(--color-navy-900)}.bg-navy-900\/80{background-color:#0f1729cc}@supports (color:color-mix(in lab,red,red)){.bg-navy-900\/80{background-color:color-mix(in oklab,var(--color-navy-900) 80%,transparent)}}.bg-navy-950{background-color:var(--color-navy-950)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-teal-400{background-color:var(--color-teal-400)}.bg-teal-400\/5{background-color:#00b4c50d}@supports (color:color-mix(in lab,red,red)){.bg-teal-400\/5{background-color:color-mix(in oklab,var(--color-teal-400) 5%,transparent)}}.bg-teal-400\/10{background-color:#00b4c51a}@supports (color:color-mix(in lab,red,red)){.bg-teal-400\/10{background-color:color-mix(in oklab,var(--color-teal-400) 10%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-teal-400{--tw-gradient-from:var(--color-teal-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-emerald-400{--tw-gradient-to:var(--color-emerald-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-10{padding-inline:calc(var(--spacing) * 10)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.25em\]{--tw-tracking:.25em;letter-spacing:.25em}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-all{word-break:break-all}.text-bronze-400{color:var(--color-bronze-400)}.text-emerald-400{color:var(--color-emerald-400)}.text-gold-400{color:var(--color-gold-400)}.text-navy-950{color:var(--color-navy-950)}.text-red-400{color:var(--color-red-400)}.text-silver-400{color:var(--color-silver-400)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-teal-400{color:var(--color-teal-400)}.text-teal-400\/70{color:#00b4c5b3}@supports (color:color-mix(in lab,red,red)){.text-teal-400\/70{color:color-mix(in oklab,var(--color-teal-400) 70%,transparent)}}.text-white{color:var(--color-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::placeholder{color:var(--color-slate-500)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-teal-400\/10{--tw-shadow-color:#00b4c51a}@supports (color:color-mix(in lab,red,red)){.shadow-teal-400\/10{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-teal-400) 10%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-teal-400\/15{--tw-shadow-color:#00b4c526}@supports (color:color-mix(in lab,red,red)){.shadow-teal-400\/15{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-teal-400) 15%, transparent) var(--tw-shadow-alpha), transparent)}}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}@media(hover:hover){.hover\:border-slate-500:hover{border-color:var(--color-slate-500)}.hover\:bg-navy-700:hover{background-color:var(--color-navy-700)}.hover\:from-teal-500:hover{--tw-gradient-from:var(--color-teal-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\:to-emerald-500:hover{--tw-gradient-to:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\:text-white:hover{color:var(--color-white)}}.focus\:not-sr-only:focus{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.focus\:absolute:focus{position:absolute}.focus\:top-4:focus{top:calc(var(--spacing) * 4)}.focus\:left-4:focus{left:calc(var(--spacing) * 4)}.focus\:z-50:focus{z-index:50}.focus\:rounded-lg:focus{border-radius:var(--radius-lg)}.focus\:border-teal-400:focus{border-color:var(--color-teal-400)}.focus\:bg-teal-400:focus{background-color:var(--color-teal-400)}.focus\:px-4:focus{padding-inline:calc(var(--spacing) * 4)}.focus\:py-2:focus{padding-block:calc(var(--spacing) * 2)}.focus\:font-semibold:focus{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.focus\:text-navy-950:focus{color:var(--color-navy-950)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-teal-400:focus-visible{--tw-ring-color:var(--color-teal-400)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-navy-950:focus-visible{--tw-ring-offset-color:var(--color-navy-950)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-teal-400:focus-visible{outline-color:var(--color-teal-400)}.active\:scale-\[0\.97\]:active{scale:.97}.disabled\:opacity-30:disabled{opacity:.3}@media(min-width:40rem){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:48rem){.md\:h-44{height:calc(var(--spacing) * 44)}.md\:w-44{width:calc(var(--spacing) * 44)}.md\:flex-row{flex-direction:row}.md\:py-16{padding-block:calc(var(--spacing) * 16)}.md\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.md\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}}@media(min-width:64rem){.lg\:flex{display:flex}.lg\:border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.lg\:border-navy-800{border-color:var(--color-navy-800)}}}html,body,#root{max-width:100vw;overflow-x:hidden}@keyframes rankGlow{0%,to{transform:scale(1);box-shadow:0 0 8px #ffc1074d}50%{transform:scale(1.05);box-shadow:0 0 20px #ffc10799}}@keyframes leaderboardGlow{0%,to{background:#00b4c50d;box-shadow:inset 0 0 8px #00b4c54d}50%{background:#00b4c51a;box-shadow:inset 0 0 16px #00b4c580}}@keyframes slideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes scoreCycle{0%{opacity:.5;transform:translate(-4px)}50%{opacity:1;transform:translate(0)}to{opacity:.5;transform:translate(4px)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid} diff --git a/ping/dist/assets/index-BKSX9iy9.js b/ping/dist/assets/index-BKSX9iy9.js new file mode 100644 index 0000000..67ba2f3 --- /dev/null +++ b/ping/dist/assets/index-BKSX9iy9.js @@ -0,0 +1,79 @@ +(function(){const N=document.createElement("link").relList;if(N&&N.supports&&N.supports("modulepreload"))return;for(const A of document.querySelectorAll('link[rel="modulepreload"]'))m(A);new MutationObserver(A=>{for(const C of A)if(C.type==="childList")for(const L of C.addedNodes)L.tagName==="LINK"&&L.rel==="modulepreload"&&m(L)}).observe(document,{childList:!0,subtree:!0});function _(A){const C={};return A.integrity&&(C.integrity=A.integrity),A.referrerPolicy&&(C.referrerPolicy=A.referrerPolicy),A.crossOrigin==="use-credentials"?C.credentials="include":A.crossOrigin==="anonymous"?C.credentials="omit":C.credentials="same-origin",C}function m(A){if(A.ep)return;A.ep=!0;const C=_(A);fetch(A.href,C)}})();var nf={exports:{}},xu={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xd;function uy(){if(xd)return xu;xd=1;var b=Symbol.for("react.transitional.element"),N=Symbol.for("react.fragment");function _(m,A,C){var L=null;if(C!==void 0&&(L=""+C),A.key!==void 0&&(L=""+A.key),"key"in A){C={};for(var X in A)X!=="key"&&(C[X]=A[X])}else C=A;return A=C.ref,{$$typeof:b,type:m,key:L,ref:A!==void 0?A:null,props:C}}return xu.Fragment=N,xu.jsx=_,xu.jsxs=_,xu}var pd;function ny(){return pd||(pd=1,nf.exports=uy()),nf.exports}var h=ny(),cf={exports:{}},Q={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Td;function cy(){if(Td)return Q;Td=1;var b=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),L=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),W=Symbol.iterator;function ul(o){return o===null||typeof o!="object"?null:(o=W&&o[W]||o["@@iterator"],typeof o=="function"?o:null)}var xl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sl=Object.assign,Vl={};function hl(o,z,M){this.props=o,this.context=z,this.refs=Vl,this.updater=M||xl}hl.prototype.isReactComponent={},hl.prototype.setState=function(o,z){if(typeof o!="object"&&typeof o!="function"&&o!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,o,z,"setState")},hl.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function pl(){}pl.prototype=hl.prototype;function tl(o,z,M){this.props=o,this.context=z,this.refs=Vl,this.updater=M||xl}var Al=tl.prototype=new pl;Al.constructor=tl,sl(Al,hl.prototype),Al.isPureReactComponent=!0;var Hl=Array.isArray;function Yl(){}var Z={H:null,A:null,T:null,S:null},Tl=Object.prototype.hasOwnProperty;function dt(o,z,M){var R=M.ref;return{$$typeof:b,type:o,key:z,ref:R!==void 0?R:null,props:M}}function Ze(o,z){return dt(o.type,z,o.props)}function Nt(o){return typeof o=="object"&&o!==null&&o.$$typeof===b}function wl(o){var z={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(M){return z[M]})}var pe=/\/+/g;function Ut(o,z){return typeof o=="object"&&o!==null&&o.key!=null?wl(""+o.key):z.toString(36)}function Tt(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(Yl,Yl):(o.status="pending",o.then(function(z){o.status==="pending"&&(o.status="fulfilled",o.value=z)},function(z){o.status==="pending"&&(o.status="rejected",o.reason=z)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function x(o,z,M,R,K){var k=typeof o;(k==="undefined"||k==="boolean")&&(o=null);var cl=!1;if(o===null)cl=!0;else switch(k){case"bigint":case"string":case"number":cl=!0;break;case"object":switch(o.$$typeof){case b:case N:cl=!0;break;case V:return cl=o._init,x(cl(o._payload),z,M,R,K)}}if(cl)return K=K(o),cl=R===""?"."+Ut(o,0):R,Hl(K)?(M="",cl!=null&&(M=cl.replace(pe,"$&/")+"/"),x(K,z,M,"",function(_a){return _a})):K!=null&&(Nt(K)&&(K=Ze(K,M+(K.key==null||o&&o.key===K.key?"":(""+K.key).replace(pe,"$&/")+"/")+cl)),z.push(K)),1;cl=0;var Kl=R===""?".":R+":";if(Hl(o))for(var Nl=0;Nl>>1,yl=x[ol];if(0>>1;olA(M,G))RA(K,M)?(x[ol]=K,x[R]=G,ol=R):(x[ol]=M,x[z]=G,ol=z);else if(RA(K,G))x[ol]=K,x[R]=G,ol=R;else break l}}return O}function A(x,O){var G=x.sortIndex-O.sortIndex;return G!==0?G:x.id-O.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;b.unstable_now=function(){return C.now()}}else{var L=Date,X=L.now();b.unstable_now=function(){return L.now()-X}}var D=[],p=[],V=1,U=null,W=3,ul=!1,xl=!1,sl=!1,Vl=!1,hl=typeof setTimeout=="function"?setTimeout:null,pl=typeof clearTimeout=="function"?clearTimeout:null,tl=typeof setImmediate<"u"?setImmediate:null;function Al(x){for(var O=_(p);O!==null;){if(O.callback===null)m(p);else if(O.startTime<=x)m(p),O.sortIndex=O.expirationTime,N(D,O);else break;O=_(p)}}function Hl(x){if(sl=!1,Al(x),!xl)if(_(D)!==null)xl=!0,Yl||(Yl=!0,wl());else{var O=_(p);O!==null&&Tt(Hl,O.startTime-x)}}var Yl=!1,Z=-1,Tl=5,dt=-1;function Ze(){return Vl?!0:!(b.unstable_now()-dtx&&Ze());){var ol=U.callback;if(typeof ol=="function"){U.callback=null,W=U.priorityLevel;var yl=ol(U.expirationTime<=x);if(x=b.unstable_now(),typeof yl=="function"){U.callback=yl,Al(x),O=!0;break t}U===_(D)&&m(D),Al(x)}else m(D);U=_(D)}if(U!==null)O=!0;else{var o=_(p);o!==null&&Tt(Hl,o.startTime-x),O=!1}}break l}finally{U=null,W=G,ul=!1}O=void 0}}finally{O?wl():Yl=!1}}}var wl;if(typeof tl=="function")wl=function(){tl(Nt)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Ut=pe.port2;pe.port1.onmessage=Nt,wl=function(){Ut.postMessage(null)}}else wl=function(){hl(Nt,0)};function Tt(x,O){Z=hl(function(){x(b.unstable_now())},O)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(x){x.callback=null},b.unstable_forceFrameRate=function(x){0>x||125ol?(x.sortIndex=G,N(p,x),_(D)===null&&x===_(p)&&(sl?(pl(Z),Z=-1):sl=!0,Tt(Hl,G-ol))):(x.sortIndex=yl,N(D,x),xl||ul||(xl=!0,Yl||(Yl=!0,wl()))),x},b.unstable_shouldYield=Ze,b.unstable_wrapCallback=function(x){var O=W;return function(){var G=W;W=O;try{return x.apply(this,arguments)}finally{W=G}}}})(of)),of}var Ad;function fy(){return Ad||(Ad=1,sf.exports=iy()),sf.exports}var df={exports:{}},Ll={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Nd;function sy(){if(Nd)return Ll;Nd=1;var b=gf();function N(D){var p="https://react.dev/errors/"+D;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(N){console.error(N)}}return b(),df.exports=sy(),df.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Od;function dy(){if(Od)return pu;Od=1;var b=fy(),N=gf(),_=oy();function m(l){var t="https://react.dev/errors/"+l;if(1yl||(l.current=ol[yl],ol[yl]=null,yl--)}function M(l,t){yl++,ol[yl]=l.current,l.current=t}var R=o(null),K=o(null),k=o(null),cl=o(null);function Kl(l,t){switch(M(k,t),M(K,l),M(R,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?L0(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=L0(t),l=V0(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}z(R),M(R,l)}function Nl(){z(R),z(K),z(k)}function _a(l){l.memoizedState!==null&&M(cl,l);var t=R.current,e=V0(t,l.type);t!==e&&(M(K,l),M(R,e))}function Tu(l){K.current===l&&(z(R),z(K)),cl.current===l&&(z(cl),hu._currentValue=G)}var Qn,bf;function Te(l){if(Qn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Qn=t&&t[1]||"",bf=-1)":-1u||f[a]!==y[u]){var S=` +`+f[a].replace(" at new "," at ");return l.displayName&&S.includes("")&&(S=S.replace("",l.displayName)),S}while(1<=a&&0<=u);break}}}finally{Zn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Te(e):""}function Cd(l,t){switch(l.tag){case 26:case 27:case 5:return Te(l.type);case 16:return Te("Lazy");case 13:return l.child!==t&&t!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Ln(l.type,!1);case 11:return Ln(l.type.render,!1);case 1:return Ln(l.type,!0);case 31:return Te("Activity");default:return""}}function Sf(l){try{var t="",e=null;do t+=Cd(l,e),e=l,l=l.return;while(l);return t}catch(a){return` +Error generating stack: `+a.message+` +`+a.stack}}var Vn=Object.prototype.hasOwnProperty,Kn=b.unstable_scheduleCallback,Jn=b.unstable_cancelCallback,qd=b.unstable_shouldYield,Yd=b.unstable_requestPaint,tt=b.unstable_now,Bd=b.unstable_getCurrentPriorityLevel,xf=b.unstable_ImmediatePriority,pf=b.unstable_UserBlockingPriority,Eu=b.unstable_NormalPriority,Gd=b.unstable_LowPriority,Tf=b.unstable_IdlePriority,Xd=b.log,Qd=b.unstable_setDisableYieldValue,Oa=null,et=null;function $t(l){if(typeof Xd=="function"&&Qd(l),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(Oa,l)}catch{}}var at=Math.clz32?Math.clz32:Vd,Zd=Math.log,Ld=Math.LN2;function Vd(l){return l>>>=0,l===0?32:31-(Zd(l)/Ld|0)|0}var zu=256,Au=262144,Nu=4194304;function Ee(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function _u(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=a&134217727;return i!==0?(a=i&~n,a!==0?u=Ee(a):(c&=i,c!==0?u=Ee(c):e||(e=i&~l,e!==0&&(u=Ee(e))))):(i=a&~n,i!==0?u=Ee(i):c!==0?u=Ee(c):e||(e=a&~l,e!==0&&(u=Ee(e)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,e=t&-t,n>=e||n===32&&(e&4194048)!==0)?t:u}function Ma(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Kd(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ef(){var l=Nu;return Nu<<=1,(Nu&62914560)===0&&(Nu=4194304),l}function wn(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Da(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Jd(l,t,e,a,u,n){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var i=l.entanglements,f=l.expirationTimes,y=l.hiddenUpdates;for(e=c&~e;0"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Id=/[\n"\\]/g;function rt(l){return l.replace(Id,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Pn(l,t,e,a,u,n,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+mt(t)):l.value!==""+mt(t)&&(l.value=""+mt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?lc(l,c,mt(t)):e!=null?lc(l,c,mt(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+mt(i):l.removeAttribute("name")}function qf(l,t,e,a,u,n,c,i){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){In(l);return}e=e!=null?""+mt(e):"",t=t!=null?""+mt(t):e,i||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=i?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),In(l)}function lc(l,t,e){t==="number"&&Du(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function We(l,t,e,a){if(l=l.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nc=!1;if(Ht)try{var Ha={};Object.defineProperty(Ha,"passive",{get:function(){nc=!0}}),window.addEventListener("test",Ha,Ha),window.removeEventListener("test",Ha,Ha)}catch{nc=!1}var It=null,cc=null,ju=null;function Lf(){if(ju)return ju;var l,t=cc,e=t.length,a,u="value"in It?It.value:It.textContent,n=u.length;for(l=0;l=Ya),kf=" ",$f=!1;function Ff(l,t){switch(l){case"keyup":return Nm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function If(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ie=!1;function Om(l,t){switch(l){case"compositionend":return If(t);case"keypress":return t.which!==32?null:($f=!0,kf);case"textInput":return l=t.data,l===kf&&$f?null:l;default:return null}}function Mm(l,t){if(Ie)return l==="compositionend"||!dc&&Ff(l,t)?(l=Lf(),ju=cc=It=null,Ie=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=cs(e)}}function fs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?fs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ss(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Du(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Du(l.document)}return t}function yc(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var Ym=Ht&&"documentMode"in document&&11>=document.documentMode,Pe=null,vc=null,Qa=null,hc=!1;function os(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;hc||Pe==null||Pe!==Du(a)||(a=Pe,"selectionStart"in a&&yc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Qa&&Xa(Qa,a)||(Qa=a,a=Nn(vc,"onSelect"),0>=c,u-=c,_t=1<<32-at(t)+u|e<w?(P=H,H=null):P=H.sibling;var al=v(d,H,r[w],T);if(al===null){H===null&&(H=P);break}l&&H&&al.alternate===null&&t(d,H),s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al,H=P}if(w===r.length)return e(d,H),ll&&qt(d,w),Y;if(H===null){for(;ww?(P=H,H=null):P=H.sibling;var xe=v(d,H,al.value,T);if(xe===null){H===null&&(H=P);break}l&&H&&xe.alternate===null&&t(d,H),s=n(xe,s,w),el===null?Y=xe:el.sibling=xe,el=xe,H=P}if(al.done)return e(d,H),ll&&qt(d,w),Y;if(H===null){for(;!al.done;w++,al=r.next())al=E(d,al.value,T),al!==null&&(s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al);return ll&&qt(d,w),Y}for(H=a(H);!al.done;w++,al=r.next())al=g(H,d,w,al.value,T),al!==null&&(l&&al.alternate!==null&&H.delete(al.key===null?w:al.key),s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al);return l&&H.forEach(function(ay){return t(d,ay)}),ll&&qt(d,w),Y}function rl(d,s,r,T){if(typeof r=="object"&&r!==null&&r.type===sl&&r.key===null&&(r=r.props.children),typeof r=="object"&&r!==null){switch(r.$$typeof){case ul:l:{for(var Y=r.key;s!==null;){if(s.key===Y){if(Y=r.type,Y===sl){if(s.tag===7){e(d,s.sibling),T=u(s,r.props.children),T.return=d,d=T;break l}}else if(s.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===Tl&&He(Y)===s.type){e(d,s.sibling),T=u(s,r.props),wa(T,r),T.return=d,d=T;break l}e(d,s);break}else t(d,s);s=s.sibling}r.type===sl?(T=Me(r.props.children,d.mode,T,r.key),T.return=d,d=T):(T=Zu(r.type,r.key,r.props,null,d.mode,T),wa(T,r),T.return=d,d=T)}return c(d);case xl:l:{for(Y=r.key;s!==null;){if(s.key===Y)if(s.tag===4&&s.stateNode.containerInfo===r.containerInfo&&s.stateNode.implementation===r.implementation){e(d,s.sibling),T=u(s,r.children||[]),T.return=d,d=T;break l}else{e(d,s);break}else t(d,s);s=s.sibling}T=Ec(r,d.mode,T),T.return=d,d=T}return c(d);case Tl:return r=He(r),rl(d,s,r,T)}if(Tt(r))return j(d,s,r,T);if(wl(r)){if(Y=wl(r),typeof Y!="function")throw Error(m(150));return r=Y.call(r),B(d,s,r,T)}if(typeof r.then=="function")return rl(d,s,ku(r),T);if(r.$$typeof===tl)return rl(d,s,Ku(d,r),T);$u(d,r)}return typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint"?(r=""+r,s!==null&&s.tag===6?(e(d,s.sibling),T=u(s,r),T.return=d,d=T):(e(d,s),T=Tc(r,d.mode,T),T.return=d,d=T),c(d)):e(d,s)}return function(d,s,r,T){try{Ja=0;var Y=rl(d,s,r,T);return oa=null,Y}catch(H){if(H===sa||H===wu)throw H;var el=nt(29,H,null,d.mode);return el.lanes=T,el.return=d,el}finally{}}}var qe=Rs(!0),Hs=Rs(!1),ae=!1;function Cc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function ue(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function ne(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(nl&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Qu(l),gs(l,null,e),t}return Xu(l,a,t,e),Qu(l)}function Wa(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Af(l,e)}}function Yc(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,e=e.next}while(e!==null);n===null?u=n=t:n=n.next=t}else u=n=t;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var Bc=!1;function ka(){if(Bc){var l=fa;if(l!==null)throw l}}function $a(l,t,e,a){Bc=!1;var u=l.updateQueue;ae=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var f=i,y=f.next;f.next=null,c===null?n=y:c.next=y,c=f;var S=l.alternate;S!==null&&(S=S.updateQueue,i=S.lastBaseUpdate,i!==c&&(i===null?S.firstBaseUpdate=y:i.next=y,S.lastBaseUpdate=f))}if(n!==null){var E=u.baseState;c=0,S=y=f=null,i=n;do{var v=i.lane&-536870913,g=v!==i.lane;if(g?(I&v)===v:(a&v)===v){v!==0&&v===ia&&(Bc=!0),S!==null&&(S=S.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var j=l,B=i;v=t;var rl=e;switch(B.tag){case 1:if(j=B.payload,typeof j=="function"){E=j.call(rl,E,v);break l}E=j;break l;case 3:j.flags=j.flags&-65537|128;case 0:if(j=B.payload,v=typeof j=="function"?j.call(rl,E,v):j,v==null)break l;E=U({},E,v);break l;case 2:ae=!0}}v=i.callback,v!==null&&(l.flags|=64,g&&(l.flags|=8192),g=u.callbacks,g===null?u.callbacks=[v]:g.push(v))}else g={lane:v,tag:i.tag,payload:i.payload,callback:i.callback,next:null},S===null?(y=S=g,f=E):S=S.next=g,c|=v;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;g=i,i=g.next,g.next=null,u.lastBaseUpdate=g,u.shared.pending=null}}while(!0);S===null&&(f=E),u.baseState=f,u.firstBaseUpdate=y,u.lastBaseUpdate=S,n===null&&(u.shared.lanes=0),oe|=c,l.lanes=c,l.memoizedState=E}}function Cs(l,t){if(typeof l!="function")throw Error(m(191,l));l.call(t)}function qs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;ln?n:8;var c=x.T,i={};x.T=i,ai(l,!1,t,e);try{var f=u(),y=x.S;if(y!==null&&y(i,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var S=Jm(f,a);Pa(l,t,S,ot(l))}else Pa(l,t,a,ot(l))}catch(E){Pa(l,t,{then:function(){},status:"rejected",reason:E},ot())}finally{O.p=n,c!==null&&i.types!==null&&(c.types=i.types),x.T=c}}function Im(){}function ti(l,t,e,a){if(l.tag!==5)throw Error(m(476));var u=vo(l).queue;yo(l,u,t,G,e===null?Im:function(){return ho(l),e(a)})}function vo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:G},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ho(l){var t=vo(l);t.next===null&&(t=l.alternate.memoizedState),Pa(l,t.next.queue,{},ot())}function ei(){return Xl(hu)}function go(){return Ol().memoizedState}function bo(){return Ol().memoizedState}function Pm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=ot();l=ue(e);var a=ne(t,l,e);a!==null&&(lt(a,t,e),Wa(a,t,e)),t={cache:Uc()},l.payload=t;return}t=t.return}}function lr(l,t,e){var a=ot();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},cn(l)?xo(t,e):(e=xc(l,t,e,a),e!==null&&(lt(e,l,a),po(e,t,a)))}function So(l,t,e){var a=ot();Pa(l,t,e,a)}function Pa(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(cn(l))xo(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var c=t.lastRenderedState,i=n(c,e);if(u.hasEagerState=!0,u.eagerState=i,ut(i,c))return Xu(l,t,u,0),vl===null&&Gu(),!1}catch{}finally{}if(e=xc(l,t,u,a),e!==null)return lt(e,l,a),po(e,t,a),!0}return!1}function ai(l,t,e,a){if(a={lane:2,revertLane:Ci(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},cn(l)){if(t)throw Error(m(479))}else t=xc(l,e,a,2),t!==null&<(t,l,2)}function cn(l){var t=l.alternate;return l===J||t!==null&&t===J}function xo(l,t){ma=Pu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function po(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Af(l,e)}}var lu={readContext:Xl,use:en,useCallback:El,useContext:El,useEffect:El,useImperativeHandle:El,useLayoutEffect:El,useInsertionEffect:El,useMemo:El,useReducer:El,useRef:El,useState:El,useDebugValue:El,useDeferredValue:El,useTransition:El,useSyncExternalStore:El,useId:El,useHostTransitionStatus:El,useFormState:El,useActionState:El,useOptimistic:El,useMemoCache:El,useCacheRefresh:El};lu.useEffectEvent=El;var To={readContext:Xl,use:en,useCallback:function(l,t){return Jl().memoizedState=[l,t===void 0?null:t],l},useContext:Xl,useEffect:uo,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,un(4194308,4,fo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return un(4194308,4,l,t)},useInsertionEffect:function(l,t){un(4,2,l,t)},useMemo:function(l,t){var e=Jl();t=t===void 0?null:t;var a=l();if(Ye){$t(!0);try{l()}finally{$t(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=Jl();if(e!==void 0){var u=e(t);if(Ye){$t(!0);try{e(t)}finally{$t(!1)}}}else u=t;return a.memoizedState=a.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},a.queue=l,l=l.dispatch=lr.bind(null,J,l),[a.memoizedState,l]},useRef:function(l){var t=Jl();return l={current:l},t.memoizedState=l},useState:function(l){l=$c(l);var t=l.queue,e=So.bind(null,J,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:Pc,useDeferredValue:function(l,t){var e=Jl();return li(e,l,t)},useTransition:function(){var l=$c(!1);return l=yo.bind(null,J,l.queue,!0,!1),Jl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=J,u=Jl();if(ll){if(e===void 0)throw Error(m(407));e=e()}else{if(e=t(),vl===null)throw Error(m(349));(I&127)!==0||Zs(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,uo(Vs.bind(null,a,n,l),[l]),a.flags|=2048,ya(9,{destroy:void 0},Ls.bind(null,a,n,e,t),null),e},useId:function(){var l=Jl(),t=vl.identifierPrefix;if(ll){var e=Ot,a=_t;e=(a&~(1<<32-at(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=ln++,0<\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?c.createElement(u,{is:a.is}):c.createElement(u)}}n[Bl]=t,n[Wl]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=n;l:switch(Zl(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Zt(t)}}return bl(t),gi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Zt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(m(166));if(l=k.current,na(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Gl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Bl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Q0(l.nodeValue,e)),l||te(t,!0)}else l=_n(l).createTextNode(a),l[Bl]=t,t.stateNode=l}return bl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=na(t),e!==null){if(l===null){if(!a)throw Error(m(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(m(557));l[Bl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),l=!1}else e=_c(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(it(t),t):(it(t),null);if((t.flags&128)!==0)throw Error(m(558))}return bl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=na(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(m(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(m(317));u[Bl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),u=!1}else u=_c(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(it(t),t):(it(t),null)}return it(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),mn(t,t.updateQueue),bl(t),null);case 4:return Nl(),l===null&&Gi(t.stateNode.containerInfo),bl(t),null;case 10:return Bt(t.type),bl(t),null;case 19:if(z(_l),a=t.memoizedState,a===null)return bl(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)eu(a,!1);else{if(zl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=Iu(l),n!==null){for(t.flags|=128,eu(a,!1),l=n.updateQueue,t.updateQueue=l,mn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)bs(e,l),e=e.sibling;return M(_l,_l.current&1|2),ll&&qt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&tt()>gn&&(t.flags|=128,u=!0,eu(a,!1),t.lanes=4194304)}else{if(!u)if(l=Iu(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,mn(t,l),eu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!ll)return bl(t),null}else 2*tt()-a.renderingStartTime>gn&&e!==536870912&&(t.flags|=128,u=!0,eu(a,!1),t.lanes=4194304);a.isBackwards?(n.sibling=t.child,t.child=n):(l=a.last,l!==null?l.sibling=n:t.child=n,a.last=n)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=tt(),l.sibling=null,e=_l.current,M(_l,u?e&1|2:e&1),ll&&qt(t,a.treeForkCount),l):(bl(t),null);case 22:case 23:return it(t),Xc(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(bl(t),t.subtreeFlags&6&&(t.flags|=8192)):bl(t),e=t.updateQueue,e!==null&&mn(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&z(Re),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Bt(Ml),bl(t),null;case 25:return null;case 30:return null}throw Error(m(156,t.tag))}function nr(l,t){switch(Ac(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Bt(Ml),Nl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Tu(t),null;case 31:if(t.memoizedState!==null){if(it(t),t.alternate===null)throw Error(m(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(it(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(m(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return z(_l),null;case 4:return Nl(),null;case 10:return Bt(t.type),null;case 22:case 23:return it(t),Xc(),l!==null&&z(Re),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Bt(Ml),null;case 25:return null;default:return null}}function Jo(l,t){switch(Ac(t),t.tag){case 3:Bt(Ml),Nl();break;case 26:case 27:case 5:Tu(t);break;case 4:Nl();break;case 31:t.memoizedState!==null&&it(t);break;case 13:it(t);break;case 19:z(_l);break;case 10:Bt(t.type);break;case 22:case 23:it(t),Xc(),l!==null&&z(Re);break;case 24:Bt(Ml)}}function au(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&l)===l){a=void 0;var n=e.create,c=e.inst;a=n(),c.destroy=a}e=e.next}while(e!==u)}}catch(i){fl(t,t.return,i)}}function fe(l,t,e){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&l)===l){var c=a.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=t;var f=e,y=i;try{y()}catch(S){fl(u,f,S)}}}a=a.next}while(a!==n)}}catch(S){fl(t,t.return,S)}}function wo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{qs(t,e)}catch(a){fl(l,l.return,a)}}}function Wo(l,t,e){e.props=Be(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){fl(l,t,a)}}function uu(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(u){fl(l,t,u)}}function Mt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){fl(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){fl(l,t,u)}else e.current=null}function ko(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){fl(l,l.return,u)}}function bi(l,t,e){try{var a=l.stateNode;_r(a,l.type,e,t),a[Wl]=t}catch(u){fl(l,l.return,u)}}function $o(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ve(l.type)||l.tag===4}function Si(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||$o(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&ve(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function xi(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=Rt));else if(a!==4&&(a===27&&ve(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(xi(l,t,e),l=l.sibling;l!==null;)xi(l,t,e),l=l.sibling}function rn(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&ve(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(rn(l,t,e),l=l.sibling;l!==null;)rn(l,t,e),l=l.sibling}function Fo(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Zl(t,a,e),t[Bl]=l,t[Wl]=e}catch(n){fl(l,l.return,n)}}var Lt=!1,jl=!1,pi=!1,Io=typeof WeakSet=="function"?WeakSet:Set,ql=null;function cr(l,t){if(l=l.containerInfo,Zi=Hn,l=ss(l),yc(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break l}var c=0,i=-1,f=-1,y=0,S=0,E=l,v=null;t:for(;;){for(var g;E!==e||u!==0&&E.nodeType!==3||(i=c+u),E!==n||a!==0&&E.nodeType!==3||(f=c+a),E.nodeType===3&&(c+=E.nodeValue.length),(g=E.firstChild)!==null;)v=E,E=g;for(;;){if(E===l)break t;if(v===e&&++y===u&&(i=c),v===n&&++S===a&&(f=c),(g=E.nextSibling)!==null)break;E=v,v=E.parentNode}E=g}e=i===-1||f===-1?null:{start:i,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(Li={focusedElem:l,selectionRange:e},Hn=!1,ql=t;ql!==null;)if(t=ql,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,ql=l;else for(;ql!==null;){switch(t=ql,n=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e title"))),Zl(n,a,e),n[Bl]=l,Cl(n),a=n;break l;case"link":var c=ud("link","href",u).get(a+(e.href||""));if(c){for(var i=0;irl&&(c=rl,rl=B,B=c);var d=is(i,B),s=is(i,rl);if(d&&s&&(g.rangeCount!==1||g.anchorNode!==d.node||g.anchorOffset!==d.offset||g.focusNode!==s.node||g.focusOffset!==s.offset)){var r=E.createRange();r.setStart(d.node,d.offset),g.removeAllRanges(),B>rl?(g.addRange(r),g.extend(s.node,s.offset)):(r.setEnd(s.node,s.offset),g.addRange(r))}}}}for(E=[],g=i;g=g.parentNode;)g.nodeType===1&&E.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;ie?32:e,x.T=null,e=Oi,Oi=null;var n=me,c=Wt;if(Rl=0,Sa=me=null,Wt=0,(nl&6)!==0)throw Error(m(331));var i=nl;if(nl|=4,s0(n.current),c0(n,n.current,c,e),nl=i,ou(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(Oa,n)}catch{}return!0}finally{O.p=u,x.T=a,_0(l,t)}}function M0(l,t,e){t=vt(e,t),t=ii(l.stateNode,t,2),l=ne(l,t,2),l!==null&&(Da(l,2),Dt(l))}function fl(l,t,e){if(l.tag===3)M0(l,l,e);else for(;t!==null;){if(t.tag===3){M0(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(de===null||!de.has(a))){l=vt(e,l),e=Do(2),a=ne(t,e,2),a!==null&&(Uo(e,a,t,l),Da(a,2),Dt(a));break}}t=t.return}}function ji(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new sr;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(e)||(zi=!0,u.add(e),l=yr.bind(null,l,t,e),t.then(l,l))}function yr(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,vl===l&&(I&e)===e&&(zl===4||zl===3&&(I&62914560)===I&&300>tt()-hn?(nl&2)===0&&xa(l,0):Ai|=e,ba===I&&(ba=0)),Dt(l)}function D0(l,t){t===0&&(t=Ef()),l=Oe(l,t),l!==null&&(Da(l,t),Dt(l))}function vr(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),D0(l,e)}function hr(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,u=l.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(m(314))}a!==null&&a.delete(t),D0(l,e)}function gr(l,t){return Kn(l,t)}var En=null,Ta=null,Ri=!1,zn=!1,Hi=!1,ye=0;function Dt(l){l!==Ta&&l.next===null&&(Ta===null?En=Ta=l:Ta=Ta.next=l),zn=!0,Ri||(Ri=!0,Sr())}function ou(l,t){if(!Hi&&zn){Hi=!0;do for(var e=!1,a=En;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var c=a.suspendedLanes,i=a.pingedLanes;n=(1<<31-at(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,H0(a,n))}else n=I,n=_u(a,a===vl?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ma(a,n)||(e=!0,H0(a,n));a=a.next}while(e);Hi=!1}}function br(){U0()}function U0(){zn=Ri=!1;var l=0;ye!==0&&Mr()&&(l=ye);for(var t=tt(),e=null,a=En;a!==null;){var u=a.next,n=j0(a,t);n===0?(a.next=null,e===null?En=u:e.next=u,u===null&&(Ta=e)):(e=a,(l!==0||(n&3)!==0)&&(zn=!0)),a=u}Rl!==0&&Rl!==5||ou(l),ye!==0&&(ye=0)}function j0(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0i)break;var S=f.transferSize,E=f.initiatorType;S&&Z0(E)&&(f=f.responseEnd,c+=S*(f"u"?null:document;function ld(l,t,e){var a=Ea;if(a&&typeof t=="string"&&t){var u=rt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),P0.has(u)||(P0.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Br(l){kt.D(l),ld("dns-prefetch",l,null)}function Gr(l,t){kt.C(l,t),ld("preconnect",l,t)}function Xr(l,t,e){kt.L(l,t,e);var a=Ea;if(a&&l&&t){var u='link[rel="preload"][as="'+rt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+rt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+rt(e.imageSizes)+'"]')):u+='[href="'+rt(l)+'"]';var n=u;switch(t){case"style":n=za(l);break;case"script":n=Aa(l)}pt.has(n)||(l=U({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),pt.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(yu(n))||t==="script"&&a.querySelector(vu(n))||(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Qr(l,t){kt.m(l,t);var e=Ea;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+rt(a)+'"][href="'+rt(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Aa(l)}if(!pt.has(n)&&(l=U({rel:"modulepreload",href:l},t),pt.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(vu(n)))return}a=e.createElement("link"),Zl(a,"link",l),Cl(a),e.head.appendChild(a)}}}function Zr(l,t,e){kt.S(l,t,e);var a=Ea;if(a&&l){var u=Je(a).hoistableStyles,n=za(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(yu(n)))i.loading=5;else{l=U({rel:"stylesheet",href:l,"data-precedence":t},e),(e=pt.get(n))&&$i(l,e);var f=c=a.createElement("link");Cl(f),Zl(f,"link",l),f._p=new Promise(function(y,S){f.onload=y,f.onerror=S}),f.addEventListener("load",function(){i.loading|=1}),f.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Mn(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Lr(l,t){kt.X(l,t);var e=Ea;if(e&&l){var a=Je(e).hoistableScripts,u=Aa(l),n=a.get(u);n||(n=e.querySelector(vu(u)),n||(l=U({src:l,async:!0},t),(t=pt.get(u))&&Fi(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Vr(l,t){kt.M(l,t);var e=Ea;if(e&&l){var a=Je(e).hoistableScripts,u=Aa(l),n=a.get(u);n||(n=e.querySelector(vu(u)),n||(l=U({src:l,async:!0,type:"module"},t),(t=pt.get(u))&&Fi(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function td(l,t,e,a){var u=(u=k.current)?On(u):null;if(!u)throw Error(m(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=za(e.href),e=Je(u).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=za(e.href);var n=Je(u).hoistableStyles,c=n.get(l);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,c),(n=u.querySelector(yu(l)))&&!n._p&&(c.instance=n,c.state.loading=5),pt.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},pt.set(l,e),n||Kr(u,l,e,c.state))),t&&a===null)throw Error(m(528,""));return c}if(t&&a!==null)throw Error(m(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Aa(e),e=Je(u).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,l))}}function za(l){return'href="'+rt(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function ed(l){return U({},l,{"data-precedence":l.precedence,precedence:null})}function Kr(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Zl(t,"link",e),Cl(t),l.head.appendChild(t))}function Aa(l){return'[src="'+rt(l)+'"]'}function vu(l){return"script[async]"+l}function ad(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+rt(e.href)+'"]');if(a)return t.instance=a,Cl(a),a;var u=U({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Cl(a),Zl(a,"style",u),Mn(a,e.precedence,l),t.instance=a;case"stylesheet":u=za(e.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,Cl(n),n;a=ed(e),(u=pt.get(u))&&$i(a,u),n=(l.ownerDocument||l).createElement("link"),Cl(n);var c=n;return c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Zl(n,"link",a),t.state.loading|=4,Mn(n,e.precedence,l),t.instance=n;case"script":return n=Aa(e.src),(u=l.querySelector(vu(n)))?(t.instance=u,Cl(u),u):(a=e,(u=pt.get(n))&&(a=U({},e),Fi(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),Cl(u),Zl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(m(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Mn(a,e.precedence,l));return t.instance}function Mn(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,c=0;c title"):null)}function Jr(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function cd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function wr(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=za(a.href),n=t.querySelector(yu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Un.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,Cl(n);return}n=t.ownerDocument||t,a=ed(a),(u=pt.get(u))&&$i(a,u),n=n.createElement("link"),Cl(n);var c=n;c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Zl(n,"link",a),e.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Un.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var Ii=0;function Wr(l,t){return l.stylesheets&&l.count===0&&Rn(l,l.stylesheets),0Ii?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Un(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Rn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var jn=null;function Rn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,jn=new Map,t.forEach(kr,l),jn=null,Un.call(l))}function kr(l,t){if(!(t.state.loading&4)){var e=jn.get(l);if(e)var a=e.get(null);else{e=new Map,jn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(N){console.error(N)}}return b(),ff.exports=dy(),ff.exports}var ry=my();const rf="ABCDEFGHIJKLMNOPQRSTUVWXYZ",yf="abcdefghijklmnopqrstuvwxyz",vf="0123456789",hf="!@#$%^&*()_+-=[]{}|;:,.<>?",Dd=rf+yf+vf+hf;function Qe(b){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"){const N=new Uint32Array(1);return crypto.getRandomValues(N),N[0]%b}return Math.floor(Math.random()*b)}function yy(b){for(let N=b.length-1;N>0;N--){const _=Qe(N+1);[b[N],b[_]]=[b[_],b[N]]}return b}function vy(b){const N=12+Qe(5),_=[rf[Qe(rf.length)],yf[Qe(yf.length)],vf[Qe(vf.length)],hf[Qe(hf.length)]];for(let m=4;m{if(!X.current)return;const W=performance.now(),ul=A.current+(W-C.current);N(ul),L.current=requestAnimationFrame(D)},[]),p=q.useCallback(()=>{X.current||(C.current=performance.now(),X.current=!0,m(!0),L.current=requestAnimationFrame(D))},[D]),V=q.useCallback(()=>{if(!X.current)return A.current;cancelAnimationFrame(L.current);const W=performance.now(),ul=A.current+(W-C.current);return A.current=ul,X.current=!1,m(!1),N(ul),ul},[]),U=q.useCallback(()=>{X.current&&cancelAnimationFrame(L.current),A.current=0,C.current=0,X.current=!1,m(!1),N(0)},[]);return q.useEffect(()=>()=>{L.current&&cancelAnimationFrame(L.current)},[]),{elapsed:b,isRunning:_,start:p,stop:V,reset:U}}function gy({elapsedMs:b}){const N=b/1e3,_=`${N.toFixed(2)}s`;return h.jsxs("div",{className:"bg-navy-800/50 rounded-lg p-4 border border-navy-700",children:[h.jsx("div",{className:"text-slate-400 text-sm uppercase tracking-wider mb-1",children:"Elapsed Time"}),h.jsx("time",{className:"text-3xl md:text-4xl font-mono font-semibold text-teal-400 tabular-nums",dateTime:`PT${N.toFixed(2)}S`,"aria-label":`${N.toFixed(2)} seconds elapsed`,children:_})]})}function by({onComplete:b}){const[N]=q.useState(()=>vy()),[_,m]=q.useState(""),A=q.useRef(null),C=q.useRef(!1),{elapsed:L,start:X,stop:D}=hy();q.useEffect(()=>{var U;(U=A.current)==null||U.focus()},[]);const p=_.length>0&&N.substring(0,_.length)!==_,V=q.useCallback(U=>{const W=U.target.value;if(m(W),C.current||(X(),C.current=!0),W===N){const ul=D();b(ul)}},[N,X,D,b]);return h.jsxs(h.Fragment,{children:[h.jsx("style",{children:` + @keyframes shake { + 0%, 100% { transform: translateX(0); } + 25% { transform: translateX(-4px); } + 75% { transform: translateX(4px); } + } + `}),h.jsxs("section",{className:"flex flex-col items-center justify-center min-h-[70vh] px-4 gap-8","aria-label":"Legacy Password Entry Challenge",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("h2",{className:"text-2xl font-semibold text-white",children:"Legacy Password Entry"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Type the password below as fast as you can"})]}),h.jsxs("div",{className:"bg-navy-800 rounded-xl px-8 py-4 border border-navy-700 text-center",children:[h.jsx("div",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Target Password"}),h.jsx("code",{className:"text-xl md:text-2xl font-mono text-white tracking-widest select-all break-all",children:N})]}),h.jsx(gy,{elapsedMs:L}),h.jsx("input",{ref:A,type:"text",value:_,onChange:V,placeholder:"Type the password above...",className:`bg-navy-800 border-2 rounded-lg px-4 py-3 text-lg font-mono text-white w-full max-w-md + focus:outline-none focus:border-teal-400 transition-colors + ${p?"border-red-500":"border-navy-700"}`,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,"aria-label":"Type the target password","aria-describedby":p?"password-mismatch-hint":void 0}),p&&h.jsx("p",{id:"password-mismatch-hint",className:"text-red-400 text-sm animate-[shake_300ms_ease-in-out]",role:"alert",children:"Characters don't match — keep typing!"})]})]})}function Sy(){return h.jsxs("svg",{viewBox:"0 0 120 120",fill:"none","aria-hidden":"true",className:"w-40 h-40 md:w-44 md:h-44",children:[h.jsx("circle",{cx:"60",cy:"55",r:"38",fill:"#1a2332",stroke:"#334155",strokeWidth:"1.5"}),h.jsx("path",{d:"M26 40 Q60 18 94 40",fill:"none",stroke:"#243447",strokeWidth:"3",strokeLinecap:"round"}),h.jsx("rect",{x:"26",y:"44",width:"26",height:"16",rx:"4",fill:"none",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("rect",{x:"68",y:"44",width:"26",height:"16",rx:"4",fill:"none",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("line",{x1:"52",y1:"52",x2:"68",y2:"52",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("circle",{cx:"39",cy:"52",r:"2",fill:"#94a3b8"}),h.jsx("circle",{cx:"81",cy:"52",r:"2",fill:"#94a3b8"}),h.jsx("path",{d:"M60 54 L60 66",stroke:"#334155",strokeWidth:"1",strokeLinecap:"round"}),h.jsx("path",{d:"M48 74 Q60 82 72 74",fill:"none",stroke:"#64748b",strokeWidth:"1.3",strokeLinecap:"round"}),h.jsx("ellipse",{cx:"22",cy:"55",rx:"4",ry:"6",fill:"#1a2332",stroke:"#334155",strokeWidth:"1"}),h.jsx("ellipse",{cx:"98",cy:"55",rx:"4",ry:"6",fill:"#1a2332",stroke:"#334155",strokeWidth:"1"})]})}const xy=` +@keyframes avatarReveal { + 0% { transform: scale(0.2); opacity: 0; } + 60% { transform: scale(1.08); opacity: 1; } + 100% { transform: scale(1); opacity: 1; } +} +`;function py({onComplete:b}){const[N,_]=q.useState("ready"),m=q.useRef(null),A=q.useCallback(()=>{_("playing")},[]);q.useEffect(()=>{if(N==="playing"){const L=m.current;L?L.play().catch(()=>{}):requestAnimationFrame(()=>{var X;return(X=m.current)==null?void 0:X.play().catch(()=>{})})}},[N]);const C=q.useCallback(()=>{_("result"),setTimeout(()=>{b()},2e3)},[b]);return h.jsxs("div",{className:"flex flex-col items-center min-h-[60vh] px-4",children:[h.jsx("style",{children:xy}),N==="ready"&&h.jsxs("div",{className:"flex flex-col items-center justify-center flex-1 gap-8",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("p",{className:"text-xs uppercase tracking-[0.25em] text-teal-400/70 font-semibold mb-1",children:"Secured by"}),h.jsx("h2",{className:"text-2xl md:text-3xl font-semibold text-white",children:"Ping Identity"}),h.jsx("p",{className:"text-slate-400 mt-1 text-sm md:text-base",children:"Facial Biometric Authentication"})]}),h.jsx("p",{className:"text-slate-300 text-base text-center max-w-xs",children:"Are you ready for the facial scan?"}),h.jsx("button",{type:"button",onClick:A,className:"px-10 py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-teal-400",children:"START"})]}),N==="playing"&&h.jsxs("div",{className:"flex flex-col flex-1 w-full max-w-2xl mx-auto py-4 gap-4",children:[h.jsx("div",{className:"text-center",children:h.jsx("p",{className:"text-xs uppercase tracking-[0.25em] text-teal-400/70 font-semibold",children:"Ping Identity — Facial Recognition Demo"})}),h.jsx("div",{className:"flex-1 rounded-2xl overflow-hidden bg-black border border-navy-700",children:h.jsx("video",{ref:m,src:"/ping/Ping_idv_demo.webm",muted:!0,playsInline:!0,preload:"auto",className:"w-full h-full object-contain",onEnded:C})}),h.jsx("p",{className:"text-center text-xs text-slate-500",children:"Playing demo — the video will proceed automatically"})]}),N==="result"&&h.jsxs("div",{className:"flex flex-col items-center justify-center flex-1 gap-6",children:[h.jsx("div",{style:{animation:"avatarReveal 600ms ease-out both"},children:h.jsx("div",{className:"bg-navy-900 rounded-full p-2 shadow-lg shadow-teal-400/10",children:h.jsx(Sy,{})})}),h.jsxs("div",{className:"text-center",children:[h.jsx("p",{className:"text-teal-400 text-lg font-semibold",children:"Facial biometric template created"}),h.jsx("p",{className:"text-slate-500 text-sm mt-1",children:"Your facial data is converted to a non-identifiable template"})]})]})]})}const mf="ping-speed-run-leaderboard",Ud="ping-speed-run-session",Ty=9e5;function Ey(){try{const b=localStorage.getItem(Ud);if(b)return b;const N=typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`;return localStorage.setItem(Ud,N),N}catch{return`ephemeral-${Math.random().toString(36).slice(2)}`}}function zy(b){try{const N=localStorage.getItem(b);if(!N)return[];const _=JSON.parse(N);return Array.isArray(_)?_.length>0&&typeof _[0]=="object"&&_[0]!==null&&"sessionId"in _[0]?_.filter(A=>typeof A.sessionId=="string"&&typeof A.timeSec=="number"&&!isNaN(A.timeSec)):_.filter(A=>typeof A=="number"&&!isNaN(A)).map((A,C)=>({sessionId:`ghost-${C}`,timeSec:A})):[]}catch{return[]}}function jd(b,N){try{localStorage.setItem(b,JSON.stringify(N))}catch{}}function Rd(b){return[...b].sort((N,_)=>N.timeSec-_.timeSec)}function Ay(b){return b.map(N=>N.timeSec)}function Ny(b,N){return b.length<10?!0:NRd(zy(mf))),[m,A]=q.useState(null),[C,L]=q.useState(0),X=q.useMemo(()=>Ay(N),[N]),D=q.useRef(N),p=q.useRef(X);q.useEffect(()=>{D.current=N},[N]),q.useEffect(()=>{p.current=X},[X]);const V="ping-speed-run-name",[U,W]=q.useState(()=>{try{return localStorage.getItem(V)??""}catch{return""}}),ul=q.useCallback(tl=>{W(tl);try{localStorage.setItem(V,tl)}catch{}const Al=D.current,Hl=b.current;if(Al.some(Z=>Z.sessionId===Hl)){const Z=Al.map(Tl=>Tl.sessionId===Hl?{...Tl,name:tl}:Tl);D.current=Z,_(Z),jd(mf,Z)}},[]),xl=q.useCallback(tl=>{const Al=D.current,Hl=b.current,Yl=Al.filter(dt=>dt.sessionId!==Hl),Z=pl.current,Tl=Rd([...Yl,{sessionId:Hl,timeSec:tl,name:Z||void 0}]);D.current=Tl,_(Tl),A(tl),jd(mf,Tl)},[]),sl=q.useCallback(tl=>Ny(p.current,tl),[]),Vl=q.useCallback(tl=>_y(p.current,tl),[]);q.useEffect(()=>{const tl=setInterval(()=>{D.current.length>10&&L(Al=>Al+1)},Ty);return()=>clearInterval(tl)},[]);const hl=q.useMemo(()=>{if(X.length<=10)return X;const tl=X.slice(0,5),Al=X.slice(5,10),Hl=Oy(Al,C);return[...tl,...Hl]},[X,C]),pl=q.useRef(U);return q.useEffect(()=>{pl.current=U},[U]),{topScores:X,displayScores:hl,scoreEntries:N,addScore:xl,lastAddedScore:m,isTopTen:sl,getRank:Vl,setPlayerName:ul,playerName:U}}function My(b){return`${b.toFixed(2)}s`}function Dy(b){return`${b.toFixed(1)}`}function Uy({legacyTimeMs:b,shotsRemaining:N,onTryAgain:_,onViewLeaderboard:m}){const A=b/1e3,C=.8,L=A-C,X=600,D=L*X/3600,p=Math.abs(A-C)<.01,V=p?1:A/C,{addScore:U,getRank:W}=Hd(),ul=W(A),xl=q.useRef(!1);q.useEffect(()=>{xl.current||(xl.current=!0,U(A))},[A,U]);const sl=Vl=>({animation:"resultsFadeInUp 300ms ease-out both",animationDelay:`${Vl}ms`});return h.jsxs(h.Fragment,{children:[h.jsx("style",{children:` + @keyframes resultsFadeInUp { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } + } + `}),h.jsxs("section",{className:"flex flex-col items-center gap-6 w-full max-w-3xl mx-auto px-4 py-8",children:[h.jsxs("div",{className:"flex flex-col md:flex-row gap-4 w-full",children:[h.jsxs("article",{className:"flex-1 bg-navy-800 border border-slate-700 rounded-xl p-5",style:sl(0),children:[h.jsxs("header",{className:"flex items-center justify-between mb-3",children:[h.jsx("h3",{className:"text-slate-300 text-sm font-medium uppercase tracking-wider",children:"Legacy Password"}),h.jsx("span",{className:"text-xs text-slate-500 font-mono",children:"Traditional Entry"})]}),h.jsx("time",{className:"text-4xl md:text-5xl font-mono font-semibold text-slate-300 tabular-nums",dateTime:`PT${A.toFixed(2)}S`,"aria-label":`${A.toFixed(2)} seconds`,children:My(A)})]}),h.jsxs("article",{className:"flex-1 border-2 border-teal-400 bg-teal-400/5 rounded-xl p-5 relative overflow-hidden",style:sl(150),children:[p?h.jsx("div",{className:"absolute top-3 right-3 bg-slate-400 text-navy-950 text-xs font-bold px-2.5 py-0.5 rounded-full",children:"Tie!"}):h.jsx("div",{className:"absolute top-3 right-3 bg-teal-400 text-navy-950 text-xs font-bold px-2.5 py-0.5 rounded-full",children:"Winner"}),h.jsxs("header",{className:"flex items-center justify-between mb-3",children:[h.jsx("h3",{className:"text-teal-400 text-sm font-medium uppercase tracking-wider",children:"Ping Biometrics"}),h.jsx("span",{className:"text-xs text-emerald-400 font-mono",children:"Instant Authentication"})]}),h.jsx("time",{className:"text-4xl md:text-5xl font-mono font-semibold text-teal-400 tabular-nums",dateTime:"PT0.80S","aria-label":"0.80 seconds",children:"0.80s"})]})]}),p&&h.jsxs("div",{className:"w-full bg-navy-800 border border-slate-400 rounded-lg p-4 text-center",style:sl(200),children:[h.jsx("span",{className:"text-slate-300 font-semibold text-lg",children:"It's a Tie!"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Your typing speed matched Ping's biometric scan. Impressive!"})]}),ul>0&&ul<=10&&h.jsxs("div",{className:"w-full rounded-xl p-5 text-center",style:{...sl(225),animation:"resultsFadeInUp 300ms ease-out both, rankGlow 1.5s ease-in-out infinite",animationDelay:"225ms, 525ms",background:"linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,179,0,0.08))",border:"1px solid rgba(255,193,7,0.3)"},children:[h.jsx("div",{className:"text-3xl mb-1",children:"🏆"}),h.jsxs("span",{className:"text-2xl font-bold text-gold-400 tracking-wide",children:["#",ul," on the Leaderboard!"]}),h.jsxs("p",{className:"text-slate-300 text-sm mt-2",children:["Come to the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth to claim your prize!"]})]}),h.jsxs("div",{className:"text-center",style:sl(200),children:[h.jsxs("span",{className:"text-slate-400 text-sm uppercase tracking-wider",children:["Shot ",3-N," of 3"]}),N>0&&h.jsxs("span",{className:"text-slate-500 text-sm ml-2",children:["— ",N," shot",N!==1?"s":""," left to improve your time"]}),N===0&&h.jsx("span",{className:"text-gold-400 text-sm ml-2 font-medium",children:"— Final result! Visit our booth to claim your reward"})]}),h.jsxs("dl",{className:"w-full grid grid-cols-1 sm:grid-cols-3 gap-4",style:sl(250),children:[h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Time Saved"}),h.jsx("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-emerald-400",children:p?"0.00s":`${L.toFixed(2)}s faster`})]}),h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Yearly Savings"}),h.jsxs("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-teal-400",children:[Dy(D)," hours"]}),h.jsxs("dd",{className:"text-slate-500 text-xs mt-1",children:["Based on ",X," logins per year"]})]}),h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Speed Multiplier"}),h.jsx("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-slate-300",children:p?"1.0x":`${V.toFixed(1)}x faster`})]})]}),h.jsx("div",{className:"w-full border-t border-navy-700 pt-6",style:sl(300),children:ul>0&&ul<=10?h.jsxs("div",{className:"flex flex-col items-center text-center gap-3",children:[h.jsxs("p",{className:"text-gold-400 text-lg font-bold",children:["🎉 YOU SAVED ",L.toFixed(2),"s!"]}),h.jsxs("p",{className:"text-slate-300 text-sm max-w-md",children:["Incredible speed! Come to the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth to claim your exclusive reward — we've got something special for our top performers."]})]}):h.jsxs("div",{className:"flex flex-col items-center text-center gap-3",children:[h.jsxs("div",{className:"inline-flex items-center gap-2 bg-teal-400/10 border border-teal-400/30 rounded-full px-5 py-2",children:[h.jsx("span",{className:"text-lg",children:"📍"}),h.jsx("span",{className:"text-teal-400 font-semibold text-sm tracking-wide",children:"VISIT OUR BOOTH"})]}),h.jsx("p",{className:"text-white text-lg font-semibold",children:A<5?"Lightning fast! Want to see what else Ping can do?":A<15?"Solid run! Curious how biometrics can speed things up?":"Great effort! Ready to experience true speed?"}),h.jsxs("p",{className:"text-slate-300 text-sm max-w-lg",children:["Come meet us at the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth! We'd love to show you how Ping Identity biometric authentication eliminates passwords entirely — and we've got swag for everyone who stops by."]})]})}),h.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs mx-auto pt-2",style:sl(400),children:[N>0&&_&&h.jsxs("button",{type:"button",onClick:_,className:`w-full px-6 py-3 border-2 border-slate-700 text-slate-300 rounded-lg font-medium + hover:border-slate-500 hover:text-white hover:bg-navy-700 + focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-navy-950 + transition-all duration-200`,children:["Try Again (",N," shot",N!==1?"s":""," left)"]}),h.jsx("button",{type:"button",onClick:m,className:`w-full px-6 py-3 border-2 border-navy-700 text-slate-400 rounded-lg font-medium + hover:border-slate-500 hover:text-white + focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-navy-950 + transition-all duration-200`,children:"🏆 View Leaderboard"})]})]})]})}function jy(b){return`${b.toFixed(2)}s`}function Ry(b){return b===1?"text-gold-400":b===2?"text-silver-400":b===3?"text-bronze-400":"text-slate-400"}function Hy(b){return b===1?"border-gold-400":b===2?"border-silver-400":b===3?"border-bronze-400":"border-transparent"}function Cy({entries:b,lastAdded:N,onPlayAgain:_}){return h.jsxs("div",{className:"flex flex-col items-center gap-6 py-8 px-4",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"text-4xl mb-2",children:"🏆"}),h.jsx("h2",{className:"text-2xl font-bold text-white",children:"Leaderboard"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Top scores from all players"})]}),b.length===0?h.jsx("p",{className:"text-slate-500 text-sm py-8",children:"No scores yet — be the first!"}):h.jsx("div",{className:"w-full max-w-sm bg-navy-800/50 border border-navy-700 rounded-xl p-3",children:b.map((m,A)=>{const C=m.timeSec===N;return h.jsxs("div",{className:`flex items-center justify-between px-3 py-2.5 rounded border-l-2 ${Hy(A+1)} ${C?"bg-teal-400/5":""}`,style:C?{animation:"leaderboardGlow 2s ease-in-out infinite"}:void 0,children:[h.jsxs("span",{className:`font-mono text-sm font-semibold ${Ry(A+1)}`,children:["#",A+1]}),h.jsx("span",{className:"flex-1 text-xs text-slate-500 px-2 truncate text-center",children:m.name||"Player"}),h.jsx("span",{className:"font-mono tabular-nums text-sm text-slate-300",children:jy(m.timeSec)})]},m.sessionId)})}),h.jsx("button",{type:"button",onClick:_,className:"px-10 py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200",children:"Play Again"})]})}function qy({onNameSubmit:b}){const[N,_]=q.useState(""),m=q.useRef(null);return q.useEffect(()=>{var A;(A=m.current)==null||A.focus()},[]),h.jsxs("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-6 px-4",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("h2",{className:"text-2xl font-bold text-white",children:"Welcome"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Enter your name for the leaderboard"})]}),h.jsxs("form",{onSubmit:A=>{A.preventDefault(),N.trim()&&b(N.trim())},className:"w-full max-w-xs flex flex-col gap-4",children:[h.jsx("input",{ref:m,type:"text",value:N,onChange:A=>_(A.target.value),placeholder:"Your name",maxLength:20,autoComplete:"off",className:"w-full bg-navy-800 border-2 border-navy-700 rounded-xl px-4 py-3.5 text-base text-white placeholder-slate-500 outline-none focus:border-teal-400 transition-colors text-center"}),h.jsx("button",{type:"submit",disabled:!N.trim(),className:"w-full py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200 disabled:opacity-30",children:"Start Challenge"})]}),h.jsx("p",{className:"text-xs text-slate-500 text-center max-w-xs",children:"Your name is saved locally and only used for the booth leaderboard"})]})}function Yy(){const{scoreEntries:b,lastAddedScore:N,setPlayerName:_,playerName:m}=Hd(),[A,C]=q.useState(m?"challenge":"name"),[L,X]=q.useState(null),[D,p]=q.useState(0),V=q.useRef(null),U=q.useCallback(hl=>{_(hl),C("challenge")},[_]),W=q.useCallback(hl=>{X(hl),C("scan")},[]),ul=q.useCallback(()=>{p(hl=>hl+1),C("result")},[]),xl=q.useCallback(()=>{C("challenge"),X(null),p(0)},[]),sl=q.useCallback(()=>{C("challenge"),X(null)},[]),Vl=q.useCallback(()=>{C("leaderboard")},[]);return q.useEffect(()=>{if(A==="challenge")return;const hl=setTimeout(()=>{var tl;const pl=(tl=V.current)==null?void 0:tl.querySelector("h2");pl instanceof HTMLElement&&(pl.setAttribute("tabindex","-1"),pl.focus())},100);return()=>clearTimeout(hl)},[A]),q.useEffect(()=>{if(A!=="result")return;const hl=setTimeout(()=>{xl()},45e3),pl=()=>clearTimeout(hl);return document.addEventListener("click",pl),document.addEventListener("touchstart",pl),document.addEventListener("keydown",pl),()=>{clearTimeout(hl),document.removeEventListener("click",pl),document.removeEventListener("touchstart",pl),document.removeEventListener("keydown",pl)}},[A,xl]),h.jsxs(h.Fragment,{children:[h.jsx("style",{children:` + @keyframes stepFadeIn { + from { opacity: 0; transform: translateY(8px); } + to { opacity: 1; transform: translateY(0); } + } + `}),h.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-teal-400 focus:text-navy-950 focus:rounded-lg focus:font-semibold",children:"Skip to main content"}),h.jsxs("main",{className:"min-h-screen flex flex-col bg-navy-950 text-slate-300 font-sans antialiased mx-auto w-full max-w-md lg:border-x lg:border-navy-800",children:[h.jsx("header",{className:"border-b border-navy-800",children:h.jsxs("div",{className:"px-4 py-4 flex items-center justify-between",children:[h.jsxs("h1",{className:"text-xl md:text-2xl font-bold",children:[h.jsx("span",{className:"text-teal-400",children:"Ping"}),h.jsx("span",{className:"text-white",children:" Speed-Run"})]}),A!=="leaderboard"&&h.jsxs("nav",{className:"flex items-center gap-2 text-sm","aria-label":"Progress",children:[h.jsx("span",{className:A==="challenge"?"text-teal-400 font-semibold":"text-slate-500",children:"1. Password"}),h.jsx("span",{className:"text-slate-600","aria-hidden":"true",children:"→"}),h.jsx("span",{className:A==="scan"?"text-teal-400 font-semibold":"text-slate-500",children:"2. Biometric"}),h.jsx("span",{className:"text-slate-600","aria-hidden":"true",children:"→"}),h.jsx("span",{className:A==="result"?"text-teal-400 font-semibold":"text-slate-500",children:"3. Results"})]})]})}),h.jsx("section",{id:"main-content",ref:V,className:"flex-1 px-4 py-8 md:py-16 w-full","aria-live":"polite","aria-label":"Current step content",tabIndex:-1,children:h.jsxs("div",{style:{animation:"stepFadeIn 300ms ease-out"},children:[A==="name"&&h.jsx(qy,{onNameSubmit:U}),A==="challenge"&&h.jsx(by,{onComplete:W}),A==="scan"&&h.jsx(py,{onComplete:ul}),A==="result"&&L!==null&&h.jsx(Uy,{legacyTimeMs:L,shotsRemaining:3-D,onTryAgain:D<3?sl:void 0,onViewLeaderboard:Vl}),A==="leaderboard"&&h.jsx(Cy,{entries:b,lastAdded:N,onPlayAgain:xl})]},A)}),h.jsx("footer",{className:"text-center py-6 text-slate-500 text-xs border-t border-navy-800",children:"Ping Biometric Speed-Run — Demonstrating the speed of biometric authentication"})]})]})}ry.createRoot(document.getElementById("root")).render(h.jsx(q.StrictMode,{children:h.jsx(Yy,{})})); diff --git a/ping/dist/index.html b/ping/dist/index.html new file mode 100644 index 0000000..f31695e --- /dev/null +++ b/ping/dist/index.html @@ -0,0 +1,20 @@ + + + + + + + Ping Biometric Speed-Run + + + + + + + + +
+ + diff --git a/ping/dist/vite.svg b/ping/dist/vite.svg new file mode 100644 index 0000000..219c082 --- /dev/null +++ b/ping/dist/vite.svg @@ -0,0 +1,4 @@ + + + P +