@trailheadai/chat 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- (function(ji,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],te):(ji=typeof globalThis<"u"?globalThis:ji||self,te(ji.TrailheadWidget={},ji.jsxRuntime,ji.React,ji.ReactDOM))})(this,(function(ji,te,Oe,f2){"use strict";var d2=document.createElement("style");d2.textContent=`@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-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight: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-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-800:oklch(44.8% .119 151.328);--color-blue-400:oklch(70.7% .165 254.624);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--container-xl:36rem;--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 ;--font-weight-medium:500;--font-weight-semibold:600;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--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)}}@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%;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]){appearance:button}::file-selector-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{.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.right-5{right:calc(var(--spacing)*5)}.bottom-5{bottom:calc(var(--spacing)*5)}.bottom-24{bottom:calc(var(--spacing)*24)}.z-9999{z-index:9999}.z-10000{z-index:10000}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-\\[14px\\]{height:14px}.h-\\[60px\\]{height:60px}.h-\\[600px\\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[calc\\(100vh-140px\\)\\]{max-height:calc(100vh - 140px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-\\[60px\\]{width:60px}.w-\\[400px\\]{width:400px}.w-full{width:100%}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[calc\\(100vw-40px\\)\\]{max-width:calc(100vw - 40px)}.max-w-xl{max-width:var(--container-xl)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-\\[4px\\]{gap:4px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-full\\!{border-radius:3.40282e38px!important}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.rounded-r-2xl{border-top-right-radius:var(--radius-2xl);border-bottom-right-radius:var(--radius-2xl)}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.border{border-style:var(--tw-border-style);border-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-600{border-color:var(--color-amber-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-600{border-color:var(--color-gray-600)}.border-red-200{border-color:var(--color-red-200)}.border-red-600{border-color:var(--color-red-600)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.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)}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-700{color:var(--color-amber-700)}.text-blue-400{color:var(--color-blue-400)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-400{color:var(--color-green-400)}.text-green-800{color:var(--color-green-800)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.italic{font-style:italic}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}@media(hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-amber-100:hover{background-color:var(--color-amber-100)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}}.focus\\:border-gray-300:focus{border-color:var(--color-gray-300)}.focus\\:border-indigo-500:focus{border-color:var(--color-indigo-500)}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\\:ring-2:focus{--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\\:ring-gray-500:focus{--tw-ring-color:var(--color-gray-500)}.focus\\:ring-indigo-500:focus{--tw-ring-color:var(--color-indigo-500)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:outline-none:focus,.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}}.trailhead-widget{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.trailhead-widget-button{color:#fff;cursor:pointer;z-index:9999;border:none;border-radius:9999px;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;transition:all .2s ease-in-out;display:flex;position:fixed;bottom:1rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.trailhead-widget-button:hover{transform:scale(1.05);box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.trailhead-widget-window{z-index:9999;border-radius:.75rem;flex-direction:column;width:23rem;height:32rem;animation:.2s ease-out slideUp;display:flex;position:fixed;bottom:1rem;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@keyframes slideUp{0%{opacity:0;transform:translateY(1rem)}to{opacity:1;transform:translateY(0)}}@media(max-width:640px){.trailhead-widget-window{width:calc(100vw - 2rem);height:calc(100vh - 2rem);bottom:1rem;left:1rem!important;right:1rem!important}}.trailhead-widget-header{color:#fff;justify-content:space-between;align-items:center;padding:1rem;display:flex}.trailhead-widget-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.25rem;transition:background-color .2s;display:flex}.trailhead-widget-close:hover{background-color:#ffffff1a}.trailhead-widget-messages{flex-direction:column;flex:1;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.trailhead-widget-messages::-webkit-scrollbar{width:.5rem}.trailhead-widget-messages::-webkit-scrollbar-track{background:0 0}.trailhead-widget-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:.25rem}.trailhead-widget-messages::-webkit-scrollbar-thumb:hover{background:#9ca3af}.trailhead-widget-message{animation:.2s ease-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:translateY(0)}}.trailhead-widget-message-user{justify-content:flex-end}.trailhead-widget-message-assistant{justify-content:flex-start}.trailhead-widget-message-content{border-radius:.75rem;max-width:75%;padding:.625rem .875rem;font-size:.875rem;line-height:1.5}.trailhead-widget-message-user .trailhead-widget-message-content{color:#fff}.trailhead-widget-message-assistant .trailhead-widget-message-content{color:#1f2937;background-color:#f3f4f6}.trailhead-widget-typing{gap:.25rem;padding:.25rem 0;display:flex}.trailhead-widget-typing span{background-color:#9ca3af;border-radius:50%;width:.5rem;height:.5rem;animation:1.4s infinite typing}.trailhead-widget-typing span:nth-child(2){animation-delay:.2s}.trailhead-widget-typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-.25rem)}}.trailhead-widget-input-container{border-top:1px solid #e5e7eb;align-items:center;gap:.5rem;padding:1rem;display:flex}.trailhead-widget-input{border:1px solid #d1d5db;border-radius:.5rem;outline:none;flex:1;padding:.625rem .875rem;font-size:.875rem;transition:border-color .2s}.trailhead-widget-input:focus{border-color:var(--tw-primary,#2563eb)}.trailhead-widget-input:disabled{opacity:.5;cursor:not-allowed}.trailhead-widget-send{cursor:pointer;background:0 0;border:none;border-radius:.5rem;justify-content:center;align-items:center;padding:.5rem;transition:background-color .2s;display:flex}.trailhead-widget-send:hover:not(:disabled){background-color:#2563eb1a}.trailhead-widget-send:disabled{opacity:.3;cursor:not-allowed}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{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:"<percentage>";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:"<percentage>";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:"<length>";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:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
2
- /*$vite$:1*/`,document.head.appendChild(d2);function sA(u){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(u){for(const d in u)if(d!=="default"){const h=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(c,d,h.get?h:{enumerable:!0,get:()=>u[d]})}}return c.default=u,Object.freeze(c)}const h2=sA(Oe);function fA(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var dg={exports:{}},em={},hg={exports:{}},o1={};var p2;function dA(){return p2||(p2=1,(function(u){function c(H,ee){var le=H.length;H.push(ee);e:for(;0<le;){var Me=le-1>>>1,Be=H[Me];if(0<g(Be,ee))H[Me]=ee,H[le]=Be,le=Me;else break e}}function d(H){return H.length===0?null:H[0]}function h(H){if(H.length===0)return null;var ee=H[0],le=H.pop();if(le!==ee){H[0]=le;e:for(var Me=0,Be=H.length,ga=Be>>>1;Me<ga;){var Tt=2*(Me+1)-1,ut=H[Tt],et=Tt+1,Ja=H[et];if(0>g(ut,le))et<Be&&0>g(Ja,ut)?(H[Me]=Ja,H[et]=le,Me=et):(H[Me]=ut,H[Tt]=le,Me=Tt);else if(et<Be&&0>g(Ja,le))H[Me]=Ja,H[et]=le,Me=et;else break e}}return ee}function g(H,ee){var le=H.sortIndex-ee.sortIndex;return le!==0?le:H.id-ee.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;u.unstable_now=function(){return b.now()}}else{var _=Date,z=_.now();u.unstable_now=function(){return _.now()-z}}var w=[],O=[],j=1,Y=null,ae=3,ne=!1,ce=!1,re=!1,se=!1,ue=typeof setTimeout=="function"?setTimeout:null,Ee=typeof clearTimeout=="function"?clearTimeout:null,ye=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var ee=d(O);ee!==null;){if(ee.callback===null)h(O);else if(ee.startTime<=H)h(O),ee.sortIndex=ee.expirationTime,c(w,ee);else break;ee=d(O)}}function Je(H){if(re=!1,F(H),!ce)if(d(w)!==null)ce=!0,je||(je=!0,De());else{var ee=d(O);ee!==null&&tn(Je,ee.startTime-H)}}var je=!1,Te=-1,ie=5,qe=-1;function de(){return se?!0:!(u.unstable_now()-qe<ie)}function zt(){if(se=!1,je){var H=u.unstable_now();qe=H;var ee=!0;try{e:{ce=!1,re&&(re=!1,Ee(Te),Te=-1),ne=!0;var le=ae;try{t:{for(F(H),Y=d(w);Y!==null&&!(Y.expirationTime>H&&de());){var Me=Y.callback;if(typeof Me=="function"){Y.callback=null,ae=Y.priorityLevel;var Be=Me(Y.expirationTime<=H);if(H=u.unstable_now(),typeof Be=="function"){Y.callback=Be,F(H),ee=!0;break t}Y===d(w)&&h(w),F(H)}else h(w);Y=d(w)}if(Y!==null)ee=!0;else{var ga=d(O);ga!==null&&tn(Je,ga.startTime-H),ee=!1}}break e}finally{Y=null,ae=le,ne=!1}ee=void 0}}finally{ee?De():je=!1}}}var De;if(typeof ye=="function")De=function(){ye(zt)};else if(typeof MessageChannel<"u"){var Fe=new MessageChannel,en=Fe.port2;Fe.port1.onmessage=zt,De=function(){en.postMessage(null)}}else De=function(){ue(zt,0)};function tn(H,ee){Te=ue(function(){H(u.unstable_now())},ee)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(H){H.callback=null},u.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<H?Math.floor(1e3/H):5},u.unstable_getCurrentPriorityLevel=function(){return ae},u.unstable_next=function(H){switch(ae){case 1:case 2:case 3:var ee=3;break;default:ee=ae}var le=ae;ae=ee;try{return H()}finally{ae=le}},u.unstable_requestPaint=function(){se=!0},u.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var le=ae;ae=H;try{return ee()}finally{ae=le}},u.unstable_scheduleCallback=function(H,ee,le){var Me=u.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?Me+le:Me):le=Me,H){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=le+Be,H={id:j++,callback:ee,priorityLevel:H,startTime:le,expirationTime:Be,sortIndex:-1},le>Me?(H.sortIndex=le,c(O,H),d(w)===null&&H===d(O)&&(re?(Ee(Te),Te=-1):re=!0,tn(Je,le-Me))):(H.sortIndex=Be,c(w,H),ce||ne||(ce=!0,je||(je=!0,De()))),H},u.unstable_shouldYield=de,u.unstable_wrapCallback=function(H){var ee=ae;return function(){var le=ae;ae=ee;try{return H.apply(this,arguments)}finally{ae=le}}}})(o1)),o1}var c1={};var m2;function hA(){return m2||(m2=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function c(){if(Je=!1,qe){var H=u.unstable_now();De=H;var ee=!0;try{e:{ye=!1,F&&(F=!1,Te(de),de=-1),Ee=!0;var le=ue;try{t:{for(_(H),se=h(ne);se!==null&&!(se.expirationTime>H&&w());){var Me=se.callback;if(typeof Me=="function"){se.callback=null,ue=se.priorityLevel;var Be=Me(se.expirationTime<=H);if(H=u.unstable_now(),typeof Be=="function"){se.callback=Be,_(H),ee=!0;break t}se===h(ne)&&g(ne),_(H)}else g(ne);se=h(ne)}if(se!==null)ee=!0;else{var ga=h(ce);ga!==null&&O(z,ga.startTime-H),ee=!1}}break e}finally{se=null,ue=le,Ee=!1}ee=void 0}}finally{ee?Fe():qe=!1}}}function d(H,ee){var le=H.length;H.push(ee);e:for(;0<le;){var Me=le-1>>>1,Be=H[Me];if(0<b(Be,ee))H[Me]=ee,H[le]=Be,le=Me;else break e}}function h(H){return H.length===0?null:H[0]}function g(H){if(H.length===0)return null;var ee=H[0],le=H.pop();if(le!==ee){H[0]=le;e:for(var Me=0,Be=H.length,ga=Be>>>1;Me<ga;){var Tt=2*(Me+1)-1,ut=H[Tt],et=Tt+1,Ja=H[et];if(0>b(ut,le))et<Be&&0>b(Ja,ut)?(H[Me]=Ja,H[et]=le,Me=et):(H[Me]=ut,H[Tt]=le,Me=Tt);else if(et<Be&&0>b(Ja,le))H[Me]=Ja,H[et]=le,Me=et;else break e}}return ee}function b(H,ee){var le=H.sortIndex-ee.sortIndex;return le!==0?le:H.id-ee.id}function _(H){for(var ee=h(ce);ee!==null;){if(ee.callback===null)g(ce);else if(ee.startTime<=H)g(ce),ee.sortIndex=ee.expirationTime,d(ne,ee);else break;ee=h(ce)}}function z(H){if(F=!1,_(H),!ye)if(h(ne)!==null)ye=!0,qe||(qe=!0,Fe());else{var ee=h(ce);ee!==null&&O(z,ee.startTime-H)}}function w(){return Je?!0:!(u.unstable_now()-De<zt)}function O(H,ee){de=je(function(){H(u.unstable_now())},ee)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var j=performance;u.unstable_now=function(){return j.now()}}else{var Y=Date,ae=Y.now();u.unstable_now=function(){return Y.now()-ae}}var ne=[],ce=[],re=1,se=null,ue=3,Ee=!1,ye=!1,F=!1,Je=!1,je=typeof setTimeout=="function"?setTimeout:null,Te=typeof clearTimeout=="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,qe=!1,de=-1,zt=5,De=-1;if(typeof ie=="function")var Fe=function(){ie(c)};else if(typeof MessageChannel<"u"){var en=new MessageChannel,tn=en.port2;en.port1.onmessage=c,Fe=function(){tn.postMessage(null)}}else Fe=function(){je(c,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(H){H.callback=null},u.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):zt=0<H?Math.floor(1e3/H):5},u.unstable_getCurrentPriorityLevel=function(){return ue},u.unstable_next=function(H){switch(ue){case 1:case 2:case 3:var ee=3;break;default:ee=ue}var le=ue;ue=ee;try{return H()}finally{ue=le}},u.unstable_requestPaint=function(){Je=!0},u.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var le=ue;ue=H;try{return ee()}finally{ue=le}},u.unstable_scheduleCallback=function(H,ee,le){var Me=u.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?Me+le:Me):le=Me,H){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=le+Be,H={id:re++,callback:ee,priorityLevel:H,startTime:le,expirationTime:Be,sortIndex:-1},le>Me?(H.sortIndex=le,d(ce,H),h(ne)===null&&H===h(ce)&&(F?(Te(de),de=-1):F=!0,O(z,le-Me))):(H.sortIndex=Be,d(ne,H),ye||Ee||(ye=!0,qe||(qe=!0,Fe()))),H},u.unstable_shouldYield=w,u.unstable_wrapCallback=function(H){var ee=ue;return function(){var le=ue;ue=ee;try{return H.apply(this,arguments)}finally{ue=le}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(c1)),c1}var y2;function g2(){return y2||(y2=1,process.env.NODE_ENV==="production"?hg.exports=dA():hg.exports=hA()),hg.exports}var v2;function pA(){if(v2)return em;v2=1;var u=g2(),c=Oe,d=f2;function h(a){var l="https://react.dev/errors/"+a;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function b(a){var l=a,i=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(i=l.return),a=l.return;while(a)}return l.tag===3?i:null}function _(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function z(a){if(a.tag===31){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function w(a){if(b(a)!==a)throw Error(h(188))}function O(a){var l=a.alternate;if(!l){if(l=b(a),l===null)throw Error(h(188));return l!==a?null:a}for(var i=a,r=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(r=p.return,r!==null){i=r;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return w(p),a;if(m===r)return w(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==r.return)i=p,r=m;else{for(var S=!1,A=p.child;A;){if(A===i){S=!0,i=p,r=m;break}if(A===r){S=!0,r=p,i=m;break}A=A.sibling}if(!S){for(A=m.child;A;){if(A===i){S=!0,i=m,r=p;break}if(A===r){S=!0,r=m,i=p;break}A=A.sibling}if(!S)throw Error(h(189))}}if(i.alternate!==r)throw Error(h(190))}if(i.tag!==3)throw Error(h(188));return i.stateNode.current===i?a:l}function j(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a;for(a=a.child;a!==null;){if(l=j(a),l!==null)return l;a=a.sibling}return null}var Y=Object.assign,ae=Symbol.for("react.element"),ne=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),Ee=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),qe=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),zt=Symbol.iterator;function De(a){return a===null||typeof a!="object"?null:(a=zt&&a[zt]||a["@@iterator"],typeof a=="function"?a:null)}var Fe=Symbol.for("react.client.reference");function en(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Fe?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case re:return"Fragment";case ue:return"Profiler";case se:return"StrictMode";case Je:return"Suspense";case je:return"SuspenseList";case qe:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case ce:return"Portal";case ye:return a.displayName||"Context";case Ee:return(a._context.displayName||"Context")+".Consumer";case F:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Te:return l=a.displayName||null,l!==null?l:en(a.type)||"Memo";case ie:l=a._payload,a=a._init;try{return en(a(l))}catch{}}return null}var tn=Array.isArray,H=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},Me=[],Be=-1;function ga(a){return{current:a}}function Tt(a){0>Be||(a.current=Me[Be],Me[Be]=null,Be--)}function ut(a,l){Be++,Me[Be]=a.current,a.current=l}var et=ga(null),Ja=ga(null),Yi=ga(null),xs=ga(null);function Cs(a,l){switch(ut(Yi,l),ut(Ja,a),ut(et,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?Wv(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=Wv(l),a=oy(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Tt(et),ut(et,a)}function ui(){Tt(et),Tt(Ja),Tt(Yi)}function fm(a){a.memoizedState!==null&&ut(xs,a);var l=et.current,i=oy(l,a.type);l!==i&&(ut(Ja,a),ut(et,i))}function pe(a){Ja.current===a&&(Tt(et),Tt(Ja)),xs.current===a&&(Tt(xs),kf._currentValue=le)}var Rs,Us;function du(a){if(Rs===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Rs=l&&l[1]||"",Us=-1<i.stack.indexOf(`
1
+ (function(ji,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],te):(ji=typeof globalThis<"u"?globalThis:ji||self,te(ji.TrailheadWidget={},ji.jsxRuntime,ji.React,ji.ReactDOM))})(this,(function(ji,te,Oe,d2){"use strict";var h2=document.createElement("style");h2.textContent=`@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-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight: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-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-800:oklch(44.8% .119 151.328);--color-blue-400:oklch(70.7% .165 254.624);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--container-xl:36rem;--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 ;--font-weight-medium:500;--font-weight-semibold:600;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--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)}}@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%;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]){appearance:button}::file-selector-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{.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.right-5{right:calc(var(--spacing)*5)}.bottom-5{bottom:calc(var(--spacing)*5)}.bottom-24{bottom:calc(var(--spacing)*24)}.z-9999{z-index:9999}.z-10000{z-index:10000}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-\\[14px\\]{height:14px}.h-\\[60px\\]{height:60px}.h-\\[600px\\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[calc\\(100vh-140px\\)\\]{max-height:calc(100vh - 140px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-\\[60px\\]{width:60px}.w-\\[400px\\]{width:400px}.w-full{width:100%}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[calc\\(100vw-40px\\)\\]{max-width:calc(100vw - 40px)}.max-w-xl{max-width:var(--container-xl)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-\\[4px\\]{gap:4px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-full\\!{border-radius:3.40282e38px!important}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.rounded-r-2xl{border-top-right-radius:var(--radius-2xl);border-bottom-right-radius:var(--radius-2xl)}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.border{border-style:var(--tw-border-style);border-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-600{border-color:var(--color-amber-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-600{border-color:var(--color-gray-600)}.border-red-200{border-color:var(--color-red-200)}.border-red-600{border-color:var(--color-red-600)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.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)}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-700{color:var(--color-amber-700)}.text-blue-400{color:var(--color-blue-400)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-400{color:var(--color-green-400)}.text-green-800{color:var(--color-green-800)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.italic{font-style:italic}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}@media(hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-amber-100:hover{background-color:var(--color-amber-100)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}}.focus\\:border-gray-300:focus{border-color:var(--color-gray-300)}.focus\\:border-indigo-500:focus{border-color:var(--color-indigo-500)}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\\:ring-2:focus{--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\\:ring-gray-500:focus{--tw-ring-color:var(--color-gray-500)}.focus\\:ring-indigo-500:focus{--tw-ring-color:var(--color-indigo-500)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:outline-none:focus,.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}}.trailhead-widget{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.trailhead-widget-button{color:#fff;cursor:pointer;z-index:9999;border:none;border-radius:9999px;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;transition:all .2s ease-in-out;display:flex;position:fixed;bottom:1rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.trailhead-widget-button:hover{transform:scale(1.05);box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.trailhead-widget-window{z-index:9999;border-radius:.75rem;flex-direction:column;width:23rem;height:32rem;animation:.2s ease-out slideUp;display:flex;position:fixed;bottom:1rem;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@keyframes slideUp{0%{opacity:0;transform:translateY(1rem)}to{opacity:1;transform:translateY(0)}}@media(max-width:640px){.trailhead-widget-window{width:calc(100vw - 2rem);height:calc(100vh - 2rem);bottom:1rem;left:1rem!important;right:1rem!important}}.trailhead-widget-header{color:#fff;justify-content:space-between;align-items:center;padding:1rem;display:flex}.trailhead-widget-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.25rem;transition:background-color .2s;display:flex}.trailhead-widget-close:hover{background-color:#ffffff1a}.trailhead-widget-messages{flex-direction:column;flex:1;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.trailhead-widget-messages::-webkit-scrollbar{width:.5rem}.trailhead-widget-messages::-webkit-scrollbar-track{background:0 0}.trailhead-widget-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:.25rem}.trailhead-widget-messages::-webkit-scrollbar-thumb:hover{background:#9ca3af}.trailhead-widget-message{animation:.2s ease-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:translateY(0)}}.trailhead-widget-message-user{justify-content:flex-end}.trailhead-widget-message-assistant{justify-content:flex-start}.trailhead-widget-message-content{border-radius:.75rem;max-width:75%;padding:.625rem .875rem;font-size:.875rem;line-height:1.5}.trailhead-widget-message-user .trailhead-widget-message-content{color:#fff}.trailhead-widget-message-assistant .trailhead-widget-message-content{color:#1f2937;background-color:#f3f4f6}.trailhead-widget-typing{gap:.25rem;padding:.25rem 0;display:flex}.trailhead-widget-typing span{background-color:#9ca3af;border-radius:50%;width:.5rem;height:.5rem;animation:1.4s infinite typing}.trailhead-widget-typing span:nth-child(2){animation-delay:.2s}.trailhead-widget-typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-.25rem)}}.trailhead-widget-input-container{border-top:1px solid #e5e7eb;align-items:center;gap:.5rem;padding:1rem;display:flex}.trailhead-widget-input{border:1px solid #d1d5db;border-radius:.5rem;outline:none;flex:1;padding:.625rem .875rem;font-size:.875rem;transition:border-color .2s}.trailhead-widget-input:focus{border-color:var(--tw-primary,#2563eb)}.trailhead-widget-input:disabled{opacity:.5;cursor:not-allowed}.trailhead-widget-send{cursor:pointer;background:0 0;border:none;border-radius:.5rem;justify-content:center;align-items:center;padding:.5rem;transition:background-color .2s;display:flex}.trailhead-widget-send:hover:not(:disabled){background-color:#2563eb1a}.trailhead-widget-send:disabled{opacity:.3;cursor:not-allowed}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{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:"<percentage>";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:"<percentage>";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:"<length>";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:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
2
+ /*$vite$:1*/`,document.head.appendChild(h2);function rA(u){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(u){for(const d in u)if(d!=="default"){const h=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(c,d,h.get?h:{enumerable:!0,get:()=>u[d]})}}return c.default=u,Object.freeze(c)}const p2=rA(Oe);function sA(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var dg={exports:{}},em={},hg={exports:{}},o1={};var m2;function fA(){return m2||(m2=1,(function(u){function c(H,ee){var le=H.length;H.push(ee);e:for(;0<le;){var Me=le-1>>>1,Be=H[Me];if(0<g(Be,ee))H[Me]=ee,H[le]=Be,le=Me;else break e}}function d(H){return H.length===0?null:H[0]}function h(H){if(H.length===0)return null;var ee=H[0],le=H.pop();if(le!==ee){H[0]=le;e:for(var Me=0,Be=H.length,ga=Be>>>1;Me<ga;){var Tt=2*(Me+1)-1,ut=H[Tt],et=Tt+1,Ja=H[et];if(0>g(ut,le))et<Be&&0>g(Ja,ut)?(H[Me]=Ja,H[et]=le,Me=et):(H[Me]=ut,H[Tt]=le,Me=Tt);else if(et<Be&&0>g(Ja,le))H[Me]=Ja,H[et]=le,Me=et;else break e}}return ee}function g(H,ee){var le=H.sortIndex-ee.sortIndex;return le!==0?le:H.id-ee.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;u.unstable_now=function(){return b.now()}}else{var _=Date,z=_.now();u.unstable_now=function(){return _.now()-z}}var w=[],O=[],j=1,Y=null,ae=3,ne=!1,ce=!1,re=!1,se=!1,ue=typeof setTimeout=="function"?setTimeout:null,Ee=typeof clearTimeout=="function"?clearTimeout:null,ye=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var ee=d(O);ee!==null;){if(ee.callback===null)h(O);else if(ee.startTime<=H)h(O),ee.sortIndex=ee.expirationTime,c(w,ee);else break;ee=d(O)}}function Je(H){if(re=!1,F(H),!ce)if(d(w)!==null)ce=!0,je||(je=!0,De());else{var ee=d(O);ee!==null&&tn(Je,ee.startTime-H)}}var je=!1,Te=-1,ie=5,qe=-1;function de(){return se?!0:!(u.unstable_now()-qe<ie)}function zt(){if(se=!1,je){var H=u.unstable_now();qe=H;var ee=!0;try{e:{ce=!1,re&&(re=!1,Ee(Te),Te=-1),ne=!0;var le=ae;try{t:{for(F(H),Y=d(w);Y!==null&&!(Y.expirationTime>H&&de());){var Me=Y.callback;if(typeof Me=="function"){Y.callback=null,ae=Y.priorityLevel;var Be=Me(Y.expirationTime<=H);if(H=u.unstable_now(),typeof Be=="function"){Y.callback=Be,F(H),ee=!0;break t}Y===d(w)&&h(w),F(H)}else h(w);Y=d(w)}if(Y!==null)ee=!0;else{var ga=d(O);ga!==null&&tn(Je,ga.startTime-H),ee=!1}}break e}finally{Y=null,ae=le,ne=!1}ee=void 0}}finally{ee?De():je=!1}}}var De;if(typeof ye=="function")De=function(){ye(zt)};else if(typeof MessageChannel<"u"){var Fe=new MessageChannel,en=Fe.port2;Fe.port1.onmessage=zt,De=function(){en.postMessage(null)}}else De=function(){ue(zt,0)};function tn(H,ee){Te=ue(function(){H(u.unstable_now())},ee)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(H){H.callback=null},u.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<H?Math.floor(1e3/H):5},u.unstable_getCurrentPriorityLevel=function(){return ae},u.unstable_next=function(H){switch(ae){case 1:case 2:case 3:var ee=3;break;default:ee=ae}var le=ae;ae=ee;try{return H()}finally{ae=le}},u.unstable_requestPaint=function(){se=!0},u.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var le=ae;ae=H;try{return ee()}finally{ae=le}},u.unstable_scheduleCallback=function(H,ee,le){var Me=u.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?Me+le:Me):le=Me,H){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=le+Be,H={id:j++,callback:ee,priorityLevel:H,startTime:le,expirationTime:Be,sortIndex:-1},le>Me?(H.sortIndex=le,c(O,H),d(w)===null&&H===d(O)&&(re?(Ee(Te),Te=-1):re=!0,tn(Je,le-Me))):(H.sortIndex=Be,c(w,H),ce||ne||(ce=!0,je||(je=!0,De()))),H},u.unstable_shouldYield=de,u.unstable_wrapCallback=function(H){var ee=ae;return function(){var le=ae;ae=ee;try{return H.apply(this,arguments)}finally{ae=le}}}})(o1)),o1}var c1={};var y2;function dA(){return y2||(y2=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function c(){if(Je=!1,qe){var H=u.unstable_now();De=H;var ee=!0;try{e:{ye=!1,F&&(F=!1,Te(de),de=-1),Ee=!0;var le=ue;try{t:{for(_(H),se=h(ne);se!==null&&!(se.expirationTime>H&&w());){var Me=se.callback;if(typeof Me=="function"){se.callback=null,ue=se.priorityLevel;var Be=Me(se.expirationTime<=H);if(H=u.unstable_now(),typeof Be=="function"){se.callback=Be,_(H),ee=!0;break t}se===h(ne)&&g(ne),_(H)}else g(ne);se=h(ne)}if(se!==null)ee=!0;else{var ga=h(ce);ga!==null&&O(z,ga.startTime-H),ee=!1}}break e}finally{se=null,ue=le,Ee=!1}ee=void 0}}finally{ee?Fe():qe=!1}}}function d(H,ee){var le=H.length;H.push(ee);e:for(;0<le;){var Me=le-1>>>1,Be=H[Me];if(0<b(Be,ee))H[Me]=ee,H[le]=Be,le=Me;else break e}}function h(H){return H.length===0?null:H[0]}function g(H){if(H.length===0)return null;var ee=H[0],le=H.pop();if(le!==ee){H[0]=le;e:for(var Me=0,Be=H.length,ga=Be>>>1;Me<ga;){var Tt=2*(Me+1)-1,ut=H[Tt],et=Tt+1,Ja=H[et];if(0>b(ut,le))et<Be&&0>b(Ja,ut)?(H[Me]=Ja,H[et]=le,Me=et):(H[Me]=ut,H[Tt]=le,Me=Tt);else if(et<Be&&0>b(Ja,le))H[Me]=Ja,H[et]=le,Me=et;else break e}}return ee}function b(H,ee){var le=H.sortIndex-ee.sortIndex;return le!==0?le:H.id-ee.id}function _(H){for(var ee=h(ce);ee!==null;){if(ee.callback===null)g(ce);else if(ee.startTime<=H)g(ce),ee.sortIndex=ee.expirationTime,d(ne,ee);else break;ee=h(ce)}}function z(H){if(F=!1,_(H),!ye)if(h(ne)!==null)ye=!0,qe||(qe=!0,Fe());else{var ee=h(ce);ee!==null&&O(z,ee.startTime-H)}}function w(){return Je?!0:!(u.unstable_now()-De<zt)}function O(H,ee){de=je(function(){H(u.unstable_now())},ee)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var j=performance;u.unstable_now=function(){return j.now()}}else{var Y=Date,ae=Y.now();u.unstable_now=function(){return Y.now()-ae}}var ne=[],ce=[],re=1,se=null,ue=3,Ee=!1,ye=!1,F=!1,Je=!1,je=typeof setTimeout=="function"?setTimeout:null,Te=typeof clearTimeout=="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,qe=!1,de=-1,zt=5,De=-1;if(typeof ie=="function")var Fe=function(){ie(c)};else if(typeof MessageChannel<"u"){var en=new MessageChannel,tn=en.port2;en.port1.onmessage=c,Fe=function(){tn.postMessage(null)}}else Fe=function(){je(c,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(H){H.callback=null},u.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):zt=0<H?Math.floor(1e3/H):5},u.unstable_getCurrentPriorityLevel=function(){return ue},u.unstable_next=function(H){switch(ue){case 1:case 2:case 3:var ee=3;break;default:ee=ue}var le=ue;ue=ee;try{return H()}finally{ue=le}},u.unstable_requestPaint=function(){Je=!0},u.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var le=ue;ue=H;try{return ee()}finally{ue=le}},u.unstable_scheduleCallback=function(H,ee,le){var Me=u.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?Me+le:Me):le=Me,H){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=le+Be,H={id:re++,callback:ee,priorityLevel:H,startTime:le,expirationTime:Be,sortIndex:-1},le>Me?(H.sortIndex=le,d(ce,H),h(ne)===null&&H===h(ce)&&(F?(Te(de),de=-1):F=!0,O(z,le-Me))):(H.sortIndex=Be,d(ne,H),ye||Ee||(ye=!0,qe||(qe=!0,Fe()))),H},u.unstable_shouldYield=w,u.unstable_wrapCallback=function(H){var ee=ue;return function(){var le=ue;ue=ee;try{return H.apply(this,arguments)}finally{ue=le}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(c1)),c1}var g2;function v2(){return g2||(g2=1,process.env.NODE_ENV==="production"?hg.exports=fA():hg.exports=dA()),hg.exports}var b2;function hA(){if(b2)return em;b2=1;var u=v2(),c=Oe,d=d2;function h(a){var l="https://react.dev/errors/"+a;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function b(a){var l=a,i=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(i=l.return),a=l.return;while(a)}return l.tag===3?i:null}function _(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function z(a){if(a.tag===31){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function w(a){if(b(a)!==a)throw Error(h(188))}function O(a){var l=a.alternate;if(!l){if(l=b(a),l===null)throw Error(h(188));return l!==a?null:a}for(var i=a,r=l;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(r=p.return,r!==null){i=r;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return w(p),a;if(m===r)return w(p),l;m=m.sibling}throw Error(h(188))}if(i.return!==r.return)i=p,r=m;else{for(var S=!1,A=p.child;A;){if(A===i){S=!0,i=p,r=m;break}if(A===r){S=!0,r=p,i=m;break}A=A.sibling}if(!S){for(A=m.child;A;){if(A===i){S=!0,i=m,r=p;break}if(A===r){S=!0,r=m,i=p;break}A=A.sibling}if(!S)throw Error(h(189))}}if(i.alternate!==r)throw Error(h(190))}if(i.tag!==3)throw Error(h(188));return i.stateNode.current===i?a:l}function j(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a;for(a=a.child;a!==null;){if(l=j(a),l!==null)return l;a=a.sibling}return null}var Y=Object.assign,ae=Symbol.for("react.element"),ne=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),Ee=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),qe=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),zt=Symbol.iterator;function De(a){return a===null||typeof a!="object"?null:(a=zt&&a[zt]||a["@@iterator"],typeof a=="function"?a:null)}var Fe=Symbol.for("react.client.reference");function en(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Fe?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case re:return"Fragment";case ue:return"Profiler";case se:return"StrictMode";case Je:return"Suspense";case je:return"SuspenseList";case qe:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case ce:return"Portal";case ye:return a.displayName||"Context";case Ee:return(a._context.displayName||"Context")+".Consumer";case F:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Te:return l=a.displayName||null,l!==null?l:en(a.type)||"Memo";case ie:l=a._payload,a=a._init;try{return en(a(l))}catch{}}return null}var tn=Array.isArray,H=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},Me=[],Be=-1;function ga(a){return{current:a}}function Tt(a){0>Be||(a.current=Me[Be],Me[Be]=null,Be--)}function ut(a,l){Be++,Me[Be]=a.current,a.current=l}var et=ga(null),Ja=ga(null),Yi=ga(null),xs=ga(null);function Cs(a,l){switch(ut(Yi,l),ut(Ja,a),ut(et,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?Wv(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=Wv(l),a=oy(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Tt(et),ut(et,a)}function ui(){Tt(et),Tt(Ja),Tt(Yi)}function fm(a){a.memoizedState!==null&&ut(xs,a);var l=et.current,i=oy(l,a.type);l!==i&&(ut(Ja,a),ut(et,i))}function pe(a){Ja.current===a&&(Tt(et),Tt(Ja)),xs.current===a&&(Tt(xs),kf._currentValue=le)}var Rs,Us;function du(a){if(Rs===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Rs=l&&l[1]||"",Us=-1<i.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+Rs+a+Us}var xo=!1;function At(a,l){if(!a||xo)return"";xo=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(l){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(J){var V=J}Reflect.construct(a,[],W)}else{try{W.call()}catch(J){V=J}a.call(W.prototype)}}else{try{throw Error()}catch(J){V=J}(W=a())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(J){if(J&&V&&typeof J.stack=="string")return[J.stack,V.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=r.DetermineComponentFrameRoot(),S=m[0],A=m[1];if(S&&A){var C=S.split(`
5
5
  `),L=A.split(`
6
6
  `);for(p=r=0;r<C.length&&!C[r].includes("DetermineComponentFrameRoot");)r++;for(;p<L.length&&!L[p].includes("DetermineComponentFrameRoot");)p++;if(r===C.length||p===L.length)for(r=C.length-1,p=L.length-1;1<=r&&0<=p&&C[r]!==L[p];)p--;for(;1<=r&&0<=p;r--,p--)if(C[r]!==L[p]){if(r!==1||p!==1)do if(r--,p--,0>p||C[r]!==L[p]){var $=`
7
7
  `+C[r].replace(" at new "," at ");return a.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",a.displayName)),$}while(1<=r&&0<=p);break}}}finally{xo=!1,Error.prepareStackTrace=i}return(i=a?a.displayName||a.name:"")?du(i):""}function dm(a,l){switch(a.tag){case 26:case 27:case 5:return du(a.type);case 16:return du("Lazy");case 13:return a.child!==l&&l!==null?du("Suspense Fallback"):du("Suspense");case 19:return du("SuspenseList");case 0:case 15:return At(a.type,!1);case 11:return At(a.type.render,!1);case 1:return At(a.type,!0);case 31:return du("Activity");default:return""}}function xd(a){try{var l="",i=null;do l+=dm(a,i),i=a,a=a.return;while(a);return l}catch(r){return`
8
8
  Error generating stack: `+r.message+`
9
- `+r.stack}}var hm=Object.prototype.hasOwnProperty,Ut=u.unstable_scheduleCallback,pm=u.unstable_cancelCallback,Co=u.unstable_shouldYield,Cd=u.unstable_requestPaint,$a=u.unstable_now,j1=u.unstable_getCurrentPriorityLevel,Rd=u.unstable_ImmediatePriority,Ud=u.unstable_UserBlockingPriority,Li=u.unstable_NormalPriority,B1=u.unstable_LowPriority,mm=u.unstable_IdlePriority,Hg=u.log,jg=u.unstable_setDisableYieldValue,Ro=null,Cn=null;function ii(a){if(typeof Hg=="function"&&jg(a),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Ro,a)}catch{}}var dn=Math.clz32?Math.clz32:ym,Bg=Math.log,qg=Math.LN2;function ym(a){return a>>>=0,a===0?32:31-(Bg(a)/qg|0)|0}var oi=256,Rl=262144,Vi=4194304;function pl(a){var l=a&42;if(l!==0)return l;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function sa(a,l,i){var r=a.pendingLanes;if(r===0)return 0;var p=0,m=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var A=r&134217727;return A!==0?(r=A&~m,r!==0?p=pl(r):(S&=A,S!==0?p=pl(S):i||(i=A&~a,i!==0&&(p=pl(i))))):(A=r&~m,A!==0?p=pl(A):S!==0?p=pl(S):i||(i=r&~a,i!==0&&(p=pl(i)))),p===0?0:l!==0&&l!==p&&(l&m)===0&&(m=p&-p,i=l&-l,m>=i||m===32&&(i&4194048)!==0)?l:p}function Ul(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function kc(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Uo(){var a=Vi;return Vi<<=1,(Vi&62914560)===0&&(Vi=4194304),a}function Ns(a){for(var l=[],i=0;31>i;i++)l.push(a);return l}function Kc(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Nd(a,l,i,r,p,m){var S=a.pendingLanes;a.pendingLanes=i,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=i,a.entangledLanes&=i,a.errorRecoveryDisabledLanes&=i,a.shellSuspendCounter=0;var A=a.entanglements,C=a.expirationTimes,L=a.hiddenUpdates;for(i=S&~i;0<i;){var $=31-dn(i),W=1<<$;A[$]=0,C[$]=-1;var V=L[$];if(V!==null)for(L[$]=null,$=0;$<V.length;$++){var J=V[$];J!==null&&(J.lane&=-536870913)}i&=~W}r!==0&&Zs(a,r,0),m!==0&&p===0&&a.tag!==0&&(a.suspendedLanes|=m&~(S&~l))}function Zs(a,l,i){a.pendingLanes|=l,a.suspendedLanes&=~l;var r=31-dn(l);a.entangledLanes|=l,a.entanglements[r]=a.entanglements[r]|1073741824|i&261930}function hu(a,l){var i=a.entangledLanes|=l;for(a=a.entanglements;i;){var r=31-dn(i),p=1<<r;p&l|a[r]&l&&(a[r]|=l),i&=~p}}function Gn(a,l){var i=l&-l;return i=(i&42)!==0?1:Zd(i),(i&(a.suspendedLanes|l))!==0?0:i}function Zd(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function gm(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function Hd(){var a=ee.p;return a!==0?a:(a=window.event,a===void 0?32:Kf(a.type))}function vm(a,l){var i=ee.p;try{return ee.p=a,l()}finally{ee.p=i}}var Nl=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Nl,hn="__reactProps$"+Nl,Gi="__reactContainer$"+Nl,jd="__reactEvents$"+Nl,bm="__reactListeners$"+Nl,Yg="__reactHandles$"+Nl,Sm="__reactResources$"+Nl,pu="__reactMarker$"+Nl;function Bd(a){delete a[Ot],delete a[hn],delete a[jd],delete a[bm],delete a[Yg]}function No(a){var l=a[Ot];if(l)return l;for(var i=a.parentNode;i;){if(l=i[Gi]||i[Ot]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(a=tu(a);a!==null;){if(i=a[Ot])return i;a=tu(a)}return l}a=i,i=a.parentNode}return null}function Zo(a){if(a=a[Ot]||a[Gi]){var l=a.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return a}return null}function Ic(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a.stateNode;throw Error(h(33))}function Ho(a){var l=a[Sm];return l||(l=a[Sm]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function vt(a){a[pu]=!0}var jo=new Set,Xi={};function Qi(a,l){mu(a,l),mu(a+"Capture",l)}function mu(a,l){for(Xi[a]=l,a=0;a<l.length;a++)jo.add(l[a])}var qd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Yd={},Fc={};function Wc(a){return hm.call(Fc,a)?!0:hm.call(Yd,a)?!1:qd.test(a)?Fc[a]=!0:(Yd[a]=!0,!1)}function Pc(a,l,i){if(Wc(l))if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":a.removeAttribute(l);return;case"boolean":var r=l.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){a.removeAttribute(l);return}}a.setAttribute(l,""+i)}}function Ld(a,l,i){if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttribute(l,""+i)}}function ci(a,l,i,r){if(r===null)a.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttributeNS(l,i,""+r)}}function Xn(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Vd(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function _m(a,l,i){var r=Object.getOwnPropertyDescriptor(a.constructor.prototype,l);if(!a.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var p=r.get,m=r.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return p.call(this)},set:function(S){i=""+S,m.call(this,S)}}),Object.defineProperty(a,l,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function Gd(a){if(!a._valueTracker){var l=Vd(a)?"checked":"value";a._valueTracker=_m(a,l,""+a[l])}}function Em(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var i=l.getValue(),r="";return a&&(r=Vd(a)?a.checked?"true":"false":a.value),a=r,a!==i?(l.setValue(a),!0):!1}function Hs(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var q1=/[\n"\\]/g;function Qn(a){return a.replace(q1,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function js(a,l,i,r,p,m,S,A){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.type=S:a.removeAttribute("type"),l!=null?S==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+Xn(l)):a.value!==""+Xn(l)&&(a.value=""+Xn(l)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),l!=null?Bo(a,S,Xn(l)):i!=null?Bo(a,S,Xn(i)):r!=null&&a.removeAttribute("value"),p==null&&m!=null&&(a.defaultChecked=!!m),p!=null&&(a.checked=p&&typeof p!="function"&&typeof p!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?a.name=""+Xn(A):a.removeAttribute("name")}function Bs(a,l,i,r,p,m,S,A){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(a.type=m),l!=null||i!=null){if(!(m!=="submit"&&m!=="reset"||l!=null)){Gd(a);return}i=i!=null?""+Xn(i):"",l=l!=null?""+Xn(l):i,A||l===a.value||(a.value=l),a.defaultValue=l}r=r??p,r=typeof r!="function"&&typeof r!="symbol"&&!!r,a.checked=A?a.checked:!!r,a.defaultChecked=!!r,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.name=S),Gd(a)}function Bo(a,l,i){l==="number"&&Hs(a.ownerDocument)===a||a.defaultValue===""+i||(a.defaultValue=""+i)}function er(a,l,i,r){if(a=a.options,l){l={};for(var p=0;p<i.length;p++)l["$"+i[p]]=!0;for(i=0;i<a.length;i++)p=l.hasOwnProperty("$"+a[i].value),a[i].selected!==p&&(a[i].selected=p),p&&r&&(a[i].defaultSelected=!0)}else{for(i=""+Xn(i),l=null,p=0;p<a.length;p++){if(a[p].value===i){a[p].selected=!0,r&&(a[p].defaultSelected=!0);return}l!==null||a[p].disabled||(l=a[p])}l!==null&&(l.selected=!0)}}function zm(a,l,i){if(l!=null&&(l=""+Xn(l),l!==a.value&&(a.value=l),i==null)){a.defaultValue!==l&&(a.defaultValue=l);return}a.defaultValue=i!=null?""+Xn(i):""}function Tm(a,l,i,r){if(l==null){if(r!=null){if(i!=null)throw Error(h(92));if(tn(r)){if(1<r.length)throw Error(h(93));r=r[0]}i=r}i==null&&(i=""),l=i}i=Xn(l),a.defaultValue=i,r=a.textContent,r===i&&r!==""&&r!==null&&(a.value=r),Gd(a)}function yu(a,l){if(l){var i=a.firstChild;if(i&&i===a.lastChild&&i.nodeType===3){i.nodeValue=l;return}}a.textContent=l}var Lg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Vg(a,l,i){var r=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?a.setProperty(l,""):l==="float"?a.cssFloat="":a[l]="":r?a.setProperty(l,i):typeof i!="number"||i===0||Lg.has(l)?l==="float"?a.cssFloat=i:a[l]=(""+i).trim():a[l]=i+"px"}function Gg(a,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(a=a.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||l!=null&&l.hasOwnProperty(r)||(r.indexOf("--")===0?a.setProperty(r,""):r==="float"?a.cssFloat="":a[r]="");for(var p in l)r=l[p],l.hasOwnProperty(p)&&i[p]!==r&&Vg(a,p,r)}else for(var m in l)l.hasOwnProperty(m)&&Vg(a,m,l[m])}function Am(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Y1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),qs=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ml(a){return qs.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Zl(){}var Xd=null;function Qd(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var gu=null,qo=null;function Ys(a){var l=Zo(a);if(l&&(a=l.stateNode)){var i=a[hn]||null;e:switch(a=l.stateNode,l.type){case"input":if(js(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=a;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Qn(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var r=i[l];if(r!==a&&r.form===a.form){var p=r[hn]||null;if(!p)throw Error(h(90));js(r,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)r=i[l],r.form===a.form&&Em(r)}break e;case"textarea":zm(a,i.value,i.defaultValue);break e;case"select":l=i.value,l!=null&&er(a,!!i.multiple,l,!1)}}}var tr=!1;function Om(a,l,i){if(tr)return a(l,i);tr=!0;try{var r=a(l);return r}finally{if(tr=!1,(gu!==null||qo!==null)&&(jr(),gu&&(l=gu,a=qo,qo=gu=null,Ys(l),a)))for(l=0;l<a.length;l++)Ys(a[l])}}function Ca(a,l){var i=a.stateNode;if(i===null)return null;var r=i[hn]||null;if(r===null)return null;i=r[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(a=a.type,r=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!r;break e;default:a=!1}if(a)return null;if(i&&typeof i!="function")throw Error(h(231,l,typeof i));return i}var ri=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ls=!1;if(ri)try{var ar={};Object.defineProperty(ar,"passive",{get:function(){Ls=!0}}),window.addEventListener("test",ar,ar),window.removeEventListener("test",ar,ar)}catch{Ls=!1}var si=null,wm=null,Jd=null;function Dm(){if(Jd)return Jd;var a,l=wm,i=l.length,r,p="value"in si?si.value:si.textContent,m=p.length;for(a=0;a<i&&l[a]===p[a];a++);var S=i-a;for(r=1;r<=S&&l[i-r]===p[m-r];r++);return Jd=p.slice(a,1<r?1-r:void 0)}function $d(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function Vs(){return!0}function Xg(){return!1}function ka(a){function l(i,r,p,m,S){this._reactName=i,this._targetInst=p,this.type=r,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var A in a)a.hasOwnProperty(A)&&(i=a[A],this[A]=i?i(m):m[A]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Vs:Xg,this.isPropagationStopped=Xg,this}return Y(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),l}var Ji={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gs=ka(Ji),nr=Y({},Ji,{view:0,detail:0}),L1=ka(nr),Mm,xm,Xs,kd=Y({},nr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yl,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Xs&&(Xs&&a.type==="mousemove"?(Mm=a.screenX-Xs.screenX,xm=a.screenY-Xs.screenY):xm=Mm=0,Xs=a),Mm)},movementY:function(a){return"movementY"in a?a.movementY:xm}}),lr=ka(kd),Qg=Y({},kd,{dataTransfer:0}),Jg=ka(Qg),$g=Y({},nr,{relatedTarget:0}),Kd=ka($g),Cm=Y({},Ji,{animationName:0,elapsedTime:0,pseudoElement:0}),kg=ka(Cm),Yo=Y({},Ji,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Lo=ka(Yo),Hl=Y({},Ji,{data:0}),Kg=ka(Hl),Rm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ig={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jl(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=Ig[a])?!!l[a]:!1}function yl(){return jl}var Id=Y({},nr,{key:function(a){if(a.key){var l=Rm[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=$d(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?vu[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yl,charCode:function(a){return a.type==="keypress"?$d(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?$d(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Fd=ka(Id),Um=Y({},kd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bl=ka(Um),V1=Y({},nr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yl}),Fg=ka(V1),Wg=Y({},Ji,{propertyName:0,elapsedTime:0,pseudoElement:0}),G1=ka(Wg),Nm=Y({},kd,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),X1=ka(Nm),Pg=Y({},Ji,{newState:0,oldState:0}),Zm=ka(Pg),Wd=[9,13,27,32],ur=ri&&"CompositionEvent"in window,Vo=null;ri&&"documentMode"in document&&(Vo=document.documentMode);var an=ri&&"TextEvent"in window&&!Vo,Hm=ri&&(!ur||Vo&&8<Vo&&11>=Vo),Qs=" ",$i=!1;function Pd(a,l){switch(a){case"keyup":return Wd.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jm(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Go=!1;function ev(a,l){switch(a){case"compositionend":return jm(l);case"keypress":return l.which!==32?null:($i=!0,Qs);case"textInput":return a=l.data,a===Qs&&$i?null:a;default:return null}}function Q1(a,l){if(Go)return a==="compositionend"||!ur&&Pd(a,l)?(a=Dm(),Jd=wm=si=null,Go=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Hm&&l.locale!=="ko"?null:l.data;default:return null}}var Bm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bu(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!Bm[a.type]:l==="textarea"}function qm(a,l,i,r){gu?qo?qo.push(r):qo=[r]:gu=r,l=Vf(l,"onChange"),0<l.length&&(i=new Gs("onChange","change",null,i,r),a.push({event:i,listeners:l}))}var Xo=null,ki=null;function Qo(a){Kv(a,0)}function ir(a){var l=Ic(a);if(Em(l))return a}function Ym(a,l){if(a==="change")return l}var eh=!1;if(ri){var pn;if(ri){var ql="oninput"in document;if(!ql){var Lm=document.createElement("div");Lm.setAttribute("oninput","return;"),ql=typeof Lm.oninput=="function"}pn=ql}else pn=!1;eh=pn&&(!document.documentMode||9<document.documentMode)}function th(){Xo&&(Xo.detachEvent("onpropertychange",ah),ki=Xo=null)}function ah(a){if(a.propertyName==="value"&&ir(ki)){var l=[];qm(l,ki,a,Qd(a)),Om(Qo,l)}}function tv(a,l,i){a==="focusin"?(th(),Xo=l,ki=i,Xo.attachEvent("onpropertychange",ah)):a==="focusout"&&th()}function av(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return ir(ki)}function Ki(a,l){if(a==="click")return ir(l)}function Jo(a,l){if(a==="input"||a==="change")return ir(l)}function nv(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var nn=typeof Object.is=="function"?Object.is:nv;function gl(a,l){if(nn(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var i=Object.keys(a),r=Object.keys(l);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var p=i[r];if(!hm.call(l,p)||!nn(a[p],l[p]))return!1}return!0}function Vm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Gm(a,l){var i=Vm(a);a=0;for(var r;i;){if(i.nodeType===3){if(r=a+i.textContent.length,a<=l&&r>=l)return{node:i,offset:l-a};a=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Vm(i)}}function $o(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?$o(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Ii(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=Hs(a.document);l instanceof a.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)a=l.contentWindow;else break;l=Hs(a.document)}return l}function Js(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var $s=ri&&"documentMode"in document&&11>=document.documentMode,Fi=null,or=null,vl=null,Yl=!1;function nh(a,l,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Yl||Fi==null||Fi!==Hs(r)||(r=Fi,"selectionStart"in r&&Js(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),vl&&gl(vl,r)||(vl=r,r=Vf(or,"onSelect"),0<r.length&&(l=new Gs("onSelect","select",null,l,i),a.push({event:l,listeners:r}),l.target=Fi)))}function fi(a,l){var i={};return i[a.toLowerCase()]=l.toLowerCase(),i["Webkit"+a]="webkit"+l,i["Moz"+a]="moz"+l,i}var Ll={animationend:fi("Animation","AnimationEnd"),animationiteration:fi("Animation","AnimationIteration"),animationstart:fi("Animation","AnimationStart"),transitionrun:fi("Transition","TransitionRun"),transitionstart:fi("Transition","TransitionStart"),transitioncancel:fi("Transition","TransitionCancel"),transitionend:fi("Transition","TransitionEnd")},cr={},Wi={};ri&&(Wi=document.createElement("div").style,"AnimationEvent"in window||(delete Ll.animationend.animation,delete Ll.animationiteration.animation,delete Ll.animationstart.animation),"TransitionEvent"in window||delete Ll.transitionend.transition);function pt(a){if(cr[a])return cr[a];if(!Ll[a])return a;var l=Ll[a],i;for(i in l)if(l.hasOwnProperty(i)&&i in Wi)return cr[a]=l[i];return a}var ks=pt("animationend"),Xm=pt("animationiteration"),lh=pt("animationstart"),ko=pt("transitionrun"),Ks=pt("transitionstart"),Su=pt("transitioncancel"),lv=pt("transitionend"),_u=new Map,rr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");rr.push("scrollEnd");function mn(a,l){_u.set(a,l),Qi(l,[a])}var Ko=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Vt=[],Ra=0,bl=0;function Jn(){for(var a=Ra,l=bl=Ra=0;l<a;){var i=Vt[l];Vt[l++]=null;var r=Vt[l];Vt[l++]=null;var p=Vt[l];Vt[l++]=null;var m=Vt[l];if(Vt[l++]=null,r!==null&&p!==null){var S=r.pending;S===null?p.next=p:(p.next=S.next,S.next=p),r.pending=p}m!==0&&uh(i,p,m)}}function $n(a,l,i,r){Vt[Ra++]=a,Vt[Ra++]=l,Vt[Ra++]=i,Vt[Ra++]=r,bl|=r,a.lanes|=r,a=a.alternate,a!==null&&(a.lanes|=r)}function Sl(a,l,i,r){return $n(a,l,i,r),Is(a)}function di(a,l){return $n(a,null,null,l),Is(a)}function uh(a,l,i){a.lanes|=i;var r=a.alternate;r!==null&&(r.lanes|=i);for(var p=!1,m=a.return;m!==null;)m.childLanes|=i,r=m.alternate,r!==null&&(r.childLanes|=i),m.tag===22&&(a=m.stateNode,a===null||a._visibility&1||(p=!0)),a=m,m=m.return;return a.tag===3?(m=a.stateNode,p&&l!==null&&(p=31-dn(i),a=m.hiddenUpdates,r=a[p],r===null?a[p]=[l]:r.push(l),l.lane=i|536870912),m):null}function Is(a){if(50<Hr)throw Hr=0,Uf=null,Error(h(185));for(var l=a.return;l!==null;)a=l,l=a.return;return a.tag===3?a.stateNode:null}var yn={};function uv(a,l,i,r){this.tag=a,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function na(a,l,i,r){return new uv(a,l,i,r)}function Io(a){return a=a.prototype,!(!a||!a.isReactComponent)}function hi(a,l){var i=a.alternate;return i===null?(i=na(a.tag,l,a.key,a.mode),i.elementType=a.elementType,i.type=a.type,i.stateNode=a.stateNode,i.alternate=a,a.alternate=i):(i.pendingProps=l,i.type=a.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=a.flags&65011712,i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,l=a.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=a.sibling,i.index=a.index,i.ref=a.ref,i.refCleanup=a.refCleanup,i}function Qm(a,l){a.flags&=65011714;var i=a.alternate;return i===null?(a.childLanes=0,a.lanes=l,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,l=i.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),a}function ih(a,l,i,r,p,m){var S=0;if(r=a,typeof a=="function")Io(a)&&(S=1);else if(typeof a=="string")S=py(a,i,et.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case qe:return a=na(31,i,l,p),a.elementType=qe,a.lanes=m,a;case re:return pi(i.children,p,m,l);case se:S=8,p|=24;break;case ue:return a=na(12,i,l,p|2),a.elementType=ue,a.lanes=m,a;case Je:return a=na(13,i,l,p),a.elementType=Je,a.lanes=m,a;case je:return a=na(19,i,l,p),a.elementType=je,a.lanes=m,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ye:S=10;break e;case Ee:S=9;break e;case F:S=11;break e;case Te:S=14;break e;case ie:S=16,r=null;break e}S=29,i=Error(h(130,a===null?"null":typeof a,"")),r=null}return l=na(S,i,l,p),l.elementType=a,l.type=r,l.lanes=m,l}function pi(a,l,i,r){return a=na(7,a,r,l),a.lanes=i,a}function sr(a,l,i){return a=na(6,a,null,l),a.lanes=i,a}function Jm(a){var l=na(18,null,null,0);return l.stateNode=a,l}function oh(a,l,i){return l=na(4,a.children!==null?a.children:[],a.key,l),l.lanes=i,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}var $m=new WeakMap;function kn(a,l){if(typeof a=="object"&&a!==null){var i=$m.get(a);return i!==void 0?i:(l={value:a,source:l,stack:xd(l)},$m.set(a,l),l)}return{value:a,source:l,stack:xd(l)}}var Kn=[],Fo=0,Fs=null,fa=0,Rn=[],gn=0,Vl=null,Un=1,Gl="";function _l(a,l){Kn[Fo++]=fa,Kn[Fo++]=Fs,Fs=a,fa=l}function km(a,l,i){Rn[gn++]=Un,Rn[gn++]=Gl,Rn[gn++]=Vl,Vl=a;var r=Un;a=Gl;var p=32-dn(r)-1;r&=~(1<<p),i+=1;var m=32-dn(l)+p;if(30<m){var S=p-p%5;m=(r&(1<<S)-1).toString(32),r>>=S,p-=S,Un=1<<32-dn(l)+p|i<<p|r,Gl=m+a}else Un=1<<m|i<<p|r,Gl=a}function fr(a){a.return!==null&&(_l(a,1),km(a,1,0))}function ch(a){for(;a===Fs;)Fs=Kn[--Fo],Kn[Fo]=null,fa=Kn[--Fo],Kn[Fo]=null;for(;a===Vl;)Vl=Rn[--gn],Rn[gn]=null,Gl=Rn[--gn],Rn[gn]=null,Un=Rn[--gn],Rn[gn]=null}function Ws(a,l){Rn[gn++]=Un,Rn[gn++]=Gl,Rn[gn++]=Vl,Un=l.id,Gl=l.overflow,Vl=a}var Ua=null,Nt=null,nt=!1,Eu=null,Ta=!1,zu=Error(h(519));function El(a){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hr(kn(l,a)),zu}function Ps(a){var l=a.stateNode,i=a.type,r=a.memoizedProps;switch(l[Ot]=a,l[hn]=r,i){case"dialog":tt("cancel",l),tt("close",l);break;case"iframe":case"object":case"embed":tt("load",l);break;case"video":case"audio":for(i=0;i<Vr.length;i++)tt(Vr[i],l);break;case"source":tt("error",l);break;case"img":case"image":case"link":tt("error",l),tt("load",l);break;case"details":tt("toggle",l);break;case"input":tt("invalid",l),Bs(l,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":tt("invalid",l);break;case"textarea":tt("invalid",l),Tm(l,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||r.suppressHydrationWarning===!0||ny(l.textContent,i)?(r.popover!=null&&(tt("beforetoggle",l),tt("toggle",l)),r.onScroll!=null&&tt("scroll",l),r.onScrollEnd!=null&&tt("scrollend",l),r.onClick!=null&&(l.onclick=Zl),l=!0):l=!1,l||El(a,!0)}function dr(a){for(Ua=a.return;Ua;)switch(Ua.tag){case 5:case 31:case 13:Ta=!1;return;case 27:case 3:Ta=!0;return;default:Ua=Ua.return}}function Tu(a){if(a!==Ua)return!1;if(!nt)return dr(a),nt=!0,!1;var l=a.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=a.type,i=!(i!=="form"&&i!=="button")||Xr(a.type,a.memoizedProps)),i=!i),i&&Nt&&El(a),dr(a),l===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(317));Nt=fp(a)}else if(l===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(317));Nt=fp(a)}else l===27?(l=Nt,eu(a.type)?(a=Qf,Qf=null,Nt=a):Nt=l):Nt=Ua?wn(a.stateNode.nextSibling):null;return!0}function Pi(){Nt=Ua=null,nt=!1}function Km(){var a=Eu;return a!==null&&(ea===null?ea=a:ea.push.apply(ea,a),Eu=null),a}function hr(a){Eu===null?Eu=[a]:Eu.push(a)}var rh=ga(null),mi=null,Xl=null;function vn(a,l,i){ut(rh,l._currentValue),l._currentValue=i}function Ql(a){a._currentValue=rh.current,Tt(rh)}function sh(a,l,i){for(;a!==null;){var r=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,r!==null&&(r.childLanes|=l)):r!==null&&(r.childLanes&l)!==l&&(r.childLanes|=l),a===i)break;a=a.return}}function Au(a,l,i,r){var p=a.child;for(p!==null&&(p.return=a);p!==null;){var m=p.dependencies;if(m!==null){var S=p.child;m=m.firstContext;e:for(;m!==null;){var A=m;m=p;for(var C=0;C<l.length;C++)if(A.context===l[C]){m.lanes|=i,A=m.alternate,A!==null&&(A.lanes|=i),sh(m.return,i,a),r||(S=null);break e}m=A.next}}else if(p.tag===18){if(S=p.return,S===null)throw Error(h(341));S.lanes|=i,m=S.alternate,m!==null&&(m.lanes|=i),sh(S,i,a),S=null}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===a){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}}function Na(a,l,i,r){a=null;for(var p=l,m=!1;p!==null;){if(!m){if((p.flags&524288)!==0)m=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var S=p.alternate;if(S===null)throw Error(h(387));if(S=S.memoizedProps,S!==null){var A=p.type;nn(p.pendingProps.value,S.value)||(a!==null?a.push(A):a=[A])}}else if(p===xs.current){if(S=p.alternate,S===null)throw Error(h(387));S.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(a!==null?a.push(kf):a=[kf])}p=p.return}a!==null&&Au(l,a,i,r),l.flags|=262144}function Wo(a){for(a=a.firstContext;a!==null;){if(!nn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Ne(a){mi=a,Xl=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function P(a){return ef(mi,a)}function yi(a,l){return mi===null&&Ne(a),ef(a,l)}function ef(a,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Xl===null){if(a===null)throw Error(h(308));Xl=l,a.dependencies={lanes:0,firstContext:l},a.flags|=524288}else Xl=Xl.next=l;return i}var la=typeof AbortController<"u"?AbortController:function(){var a=[],l=this.signal={aborted:!1,addEventListener:function(i,r){a.push(r)}};this.abort=function(){l.aborted=!0,a.forEach(function(i){return i()})}},Im=u.unstable_scheduleCallback,Fm=u.unstable_NormalPriority,da={$$typeof:ye,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tf(){return{controller:new la,data:new Map,refCount:0}}function af(a){a.refCount--,a.refCount===0&&Im(Fm,function(){a.controller.abort()})}var Po=null,nf=0,eo=0,va=null;function bt(a,l){if(Po===null){var i=Po=[];nf=0,eo=np(),va={status:"pending",value:void 0,then:function(r){i.push(r)}}}return nf++,l.then(lf,lf),l}function lf(){if(--nf===0&&Po!==null){va!==null&&(va.status="fulfilled");var a=Po;Po=null,eo=0,va=null;for(var l=0;l<a.length;l++)(0,a[l])()}}function uf(a,l){var i=[],r={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return a.then(function(){r.status="fulfilled",r.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(r.status="rejected",r.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),r}var gi=H.S;H.S=function(a,l){X0=$a(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&bt(a,l),gi!==null&&gi(a,l)};var In=ga(null);function Fn(){var a=In.current;return a!==null?a:Dt.pooledCache}function pr(a,l){l===null?ut(In,In.current):ut(In,l.pool)}function ec(){var a=Fn();return a===null?null:{parent:da._currentValue,pool:a}}var to=Error(h(460)),tc=Error(h(474)),mr=Error(h(542)),ac={then:function(){}};function Wm(a){return a=a.status,a==="fulfilled"||a==="rejected"}function Pm(a,l,i){switch(i=a[i],i===void 0?a.push(l):i!==l&&(l.then(Zl,Zl),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fh(a),a;default:if(typeof l.status=="string")l.then(Zl,Zl);else{if(a=Dt,a!==null&&100<a.shellSuspendCounter)throw Error(h(482));a=l,a.status="pending",a.then(function(r){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=r}},function(r){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=r}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fh(a),a}throw no=l,to}}function ao(a){try{var l=a._init;return l(a._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(no=i,to):i}}var no=null;function e0(){if(no===null)throw Error(h(459));var a=no;return no=null,a}function fh(a){if(a===to||a===mr)throw Error(h(483))}var lo=null,nc=0;function of(a){var l=nc;return nc+=1,lo===null&&(lo=[]),Pm(lo,a,l)}function yr(a,l){l=l.props.ref,a.ref=l!==void 0?l:null}function cf(a,l){throw l.$$typeof===ae?Error(h(525)):(a=Object.prototype.toString.call(l),Error(h(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a)))}function iv(a){function l(B,N){if(a){var q=B.deletions;q===null?(B.deletions=[N],B.flags|=16):q.push(N)}}function i(B,N){if(!a)return null;for(;N!==null;)l(B,N),N=N.sibling;return null}function r(B){for(var N=new Map;B!==null;)B.key!==null?N.set(B.key,B):N.set(B.index,B),B=B.sibling;return N}function p(B,N){return B=hi(B,N),B.index=0,B.sibling=null,B}function m(B,N,q){return B.index=q,a?(q=B.alternate,q!==null?(q=q.index,q<N?(B.flags|=67108866,N):q):(B.flags|=67108866,N)):(B.flags|=1048576,N)}function S(B){return a&&B.alternate===null&&(B.flags|=67108866),B}function A(B,N,q,I){return N===null||N.tag!==6?(N=sr(q,B.mode,I),N.return=B,N):(N=p(N,q),N.return=B,N)}function C(B,N,q,I){var _e=q.type;return _e===re?$(B,N,q.props.children,I,q.key):N!==null&&(N.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ie&&ao(_e)===N.type)?(N=p(N,q.props),yr(N,q),N.return=B,N):(N=ih(q.type,q.key,q.props,null,B.mode,I),yr(N,q),N.return=B,N)}function L(B,N,q,I){return N===null||N.tag!==4||N.stateNode.containerInfo!==q.containerInfo||N.stateNode.implementation!==q.implementation?(N=oh(q,B.mode,I),N.return=B,N):(N=p(N,q.children||[]),N.return=B,N)}function $(B,N,q,I,_e){return N===null||N.tag!==7?(N=pi(q,B.mode,I,_e),N.return=B,N):(N=p(N,q),N.return=B,N)}function W(B,N,q){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=sr(""+N,B.mode,q),N.return=B,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case ne:return q=ih(N.type,N.key,N.props,null,B.mode,q),yr(q,N),q.return=B,q;case ce:return N=oh(N,B.mode,q),N.return=B,N;case ie:return N=ao(N),W(B,N,q)}if(tn(N)||De(N))return N=pi(N,B.mode,q,null),N.return=B,N;if(typeof N.then=="function")return W(B,of(N),q);if(N.$$typeof===ye)return W(B,yi(B,N),q);cf(B,N)}return null}function V(B,N,q,I){var _e=N!==null?N.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return _e!==null?null:A(B,N,""+q,I);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case ne:return q.key===_e?C(B,N,q,I):null;case ce:return q.key===_e?L(B,N,q,I):null;case ie:return q=ao(q),V(B,N,q,I)}if(tn(q)||De(q))return _e!==null?null:$(B,N,q,I,null);if(typeof q.then=="function")return V(B,N,of(q),I);if(q.$$typeof===ye)return V(B,N,yi(B,q),I);cf(B,q)}return null}function J(B,N,q,I,_e){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return B=B.get(q)||null,A(N,B,""+I,_e);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case ne:return B=B.get(I.key===null?q:I.key)||null,C(N,B,I,_e);case ce:return B=B.get(I.key===null?q:I.key)||null,L(N,B,I,_e);case ie:return I=ao(I),J(B,N,q,I,_e)}if(tn(I)||De(I))return B=B.get(q)||null,$(N,B,I,_e,null);if(typeof I.then=="function")return J(B,N,q,of(I),_e);if(I.$$typeof===ye)return J(B,N,q,yi(N,I),_e);cf(N,I)}return null}function me(B,N,q,I){for(var _e=null,st=null,ge=N,Ye=N=0,Xe=null;ge!==null&&Ye<q.length;Ye++){ge.index>Ye?(Xe=ge,ge=null):Xe=ge.sibling;var ht=V(B,ge,q[Ye],I);if(ht===null){ge===null&&(ge=Xe);break}a&&ge&&ht.alternate===null&&l(B,ge),N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht,ge=Xe}if(Ye===q.length)return i(B,ge),nt&&_l(B,Ye),_e;if(ge===null){for(;Ye<q.length;Ye++)ge=W(B,q[Ye],I),ge!==null&&(N=m(ge,N,Ye),st===null?_e=ge:st.sibling=ge,st=ge);return nt&&_l(B,Ye),_e}for(ge=r(ge);Ye<q.length;Ye++)Xe=J(ge,B,Ye,q[Ye],I),Xe!==null&&(a&&Xe.alternate!==null&&ge.delete(Xe.key===null?Ye:Xe.key),N=m(Xe,N,Ye),st===null?_e=Xe:st.sibling=Xe,st=Xe);return a&&ge.forEach(function(nu){return l(B,nu)}),nt&&_l(B,Ye),_e}function we(B,N,q,I){if(q==null)throw Error(h(151));for(var _e=null,st=null,ge=N,Ye=N=0,Xe=null,ht=q.next();ge!==null&&!ht.done;Ye++,ht=q.next()){ge.index>Ye?(Xe=ge,ge=null):Xe=ge.sibling;var nu=V(B,ge,ht.value,I);if(nu===null){ge===null&&(ge=Xe);break}a&&ge&&nu.alternate===null&&l(B,ge),N=m(nu,N,Ye),st===null?_e=nu:st.sibling=nu,st=nu,ge=Xe}if(ht.done)return i(B,ge),nt&&_l(B,Ye),_e;if(ge===null){for(;!ht.done;Ye++,ht=q.next())ht=W(B,ht.value,I),ht!==null&&(N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht);return nt&&_l(B,Ye),_e}for(ge=r(ge);!ht.done;Ye++,ht=q.next())ht=J(ge,B,Ye,ht.value,I),ht!==null&&(a&&ht.alternate!==null&&ge.delete(ht.key===null?Ye:ht.key),N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht);return a&&ge.forEach(function(sb){return l(B,sb)}),nt&&_l(B,Ye),_e}function xt(B,N,q,I){if(typeof q=="object"&&q!==null&&q.type===re&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case ne:e:{for(var _e=q.key;N!==null;){if(N.key===_e){if(_e=q.type,_e===re){if(N.tag===7){i(B,N.sibling),I=p(N,q.props.children),I.return=B,B=I;break e}}else if(N.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ie&&ao(_e)===N.type){i(B,N.sibling),I=p(N,q.props),yr(I,q),I.return=B,B=I;break e}i(B,N);break}else l(B,N);N=N.sibling}q.type===re?(I=pi(q.props.children,B.mode,I,q.key),I.return=B,B=I):(I=ih(q.type,q.key,q.props,null,B.mode,I),yr(I,q),I.return=B,B=I)}return S(B);case ce:e:{for(_e=q.key;N!==null;){if(N.key===_e)if(N.tag===4&&N.stateNode.containerInfo===q.containerInfo&&N.stateNode.implementation===q.implementation){i(B,N.sibling),I=p(N,q.children||[]),I.return=B,B=I;break e}else{i(B,N);break}else l(B,N);N=N.sibling}I=oh(q,B.mode,I),I.return=B,B=I}return S(B);case ie:return q=ao(q),xt(B,N,q,I)}if(tn(q))return me(B,N,q,I);if(De(q)){if(_e=De(q),typeof _e!="function")throw Error(h(150));return q=_e.call(q),we(B,N,q,I)}if(typeof q.then=="function")return xt(B,N,of(q),I);if(q.$$typeof===ye)return xt(B,N,yi(B,q),I);cf(B,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,N!==null&&N.tag===6?(i(B,N.sibling),I=p(N,q),I.return=B,B=I):(i(B,N),I=sr(q,B.mode,I),I.return=B,B=I),S(B)):i(B,N)}return function(B,N,q,I){try{nc=0;var _e=xt(B,N,q,I);return lo=null,_e}catch(ge){if(ge===to||ge===mr)throw ge;var st=na(29,ge,null,B.mode);return st.lanes=I,st.return=B,st}}}var uo=iv(!0),t0=iv(!1),vi=!1;function rf(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dh(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function bi(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Wn(a,l,i){var r=a.updateQueue;if(r===null)return null;if(r=r.shared,(dt&2)!==0){var p=r.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),r.pending=l,l=Is(a),uh(a,null,i),l}return $n(a,r,l,i),Is(a)}function io(a,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var r=l.lanes;r&=a.pendingLanes,i|=r,l.lanes=i,hu(a,i)}}function hh(a,l){var i=a.updateQueue,r=a.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=S:m=m.next=S,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:r.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:r.shared,callbacks:r.callbacks},a.updateQueue=i;return}a=i.lastBaseUpdate,a===null?i.firstBaseUpdate=l:a.next=l,i.lastBaseUpdate=l}var a0=!1;function oo(){if(a0){var a=va;if(a!==null)throw a}}function Ou(a,l,i,r){a0=!1;var p=a.updateQueue;vi=!1;var m=p.firstBaseUpdate,S=p.lastBaseUpdate,A=p.shared.pending;if(A!==null){p.shared.pending=null;var C=A,L=C.next;C.next=null,S===null?m=L:S.next=L,S=C;var $=a.alternate;$!==null&&($=$.updateQueue,A=$.lastBaseUpdate,A!==S&&(A===null?$.firstBaseUpdate=L:A.next=L,$.lastBaseUpdate=C))}if(m!==null){var W=p.baseState;S=0,$=L=C=null,A=m;do{var V=A.lane&-536870913,J=V!==A.lane;if(J?(We&V)===V:(r&V)===V){V!==0&&V===eo&&(a0=!0),$!==null&&($=$.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var me=a,we=A;V=l;var xt=i;switch(we.tag){case 1:if(me=we.payload,typeof me=="function"){W=me.call(xt,W,V);break e}W=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=we.payload,V=typeof me=="function"?me.call(xt,W,V):me,V==null)break e;W=Y({},W,V);break e;case 2:vi=!0}}V=A.callback,V!==null&&(a.flags|=64,J&&(a.flags|=8192),J=p.callbacks,J===null?p.callbacks=[V]:J.push(V))}else J={lane:V,tag:A.tag,payload:A.payload,callback:A.callback,next:null},$===null?(L=$=J,C=W):$=$.next=J,S|=V;if(A=A.next,A===null){if(A=p.shared.pending,A===null)break;J=A,A=J.next,J.next=null,p.lastBaseUpdate=J,p.shared.pending=null}}while(!0);$===null&&(C=W),p.baseState=C,p.firstBaseUpdate=L,p.lastBaseUpdate=$,m===null&&(p.shared.lanes=0),Wl|=S,a.lanes=S,a.memoizedState=W}}function ph(a,l){if(typeof a!="function")throw Error(h(191,a));a.call(l)}function co(a,l){var i=a.callbacks;if(i!==null)for(a.callbacks=null,a=0;a<i.length;a++)ph(i[a],l)}var Aa=ga(null),lc=ga(0);function ov(a,l){a=Fl,ut(lc,a),ut(Aa,l),Fl=a|l.baseLanes}function sf(){ut(lc,Fl),ut(Aa,Aa.current)}function gr(){Fl=lc.current,Tt(Aa),Tt(lc)}var bn=ga(null),Pn=null;function wu(a){var l=a.alternate;ut(Gt,Gt.current&1),ut(bn,a),Pn===null&&(l===null||Aa.current!==null||l.memoizedState!==null)&&(Pn=a)}function vr(a){ut(Gt,Gt.current),ut(bn,a),Pn===null&&(Pn=a)}function mh(a){a.tag===22?(ut(Gt,Gt.current),ut(bn,a),Pn===null&&(Pn=a)):Jl()}function Jl(){ut(Gt,Gt.current),ut(bn,bn.current)}function Sn(a){Tt(bn),Pn===a&&(Pn=null),Tt(Gt)}var Gt=ga(0);function br(a){for(var l=a;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Ol(i)||_o(i)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Du=0,Le=null,St=null,ha=null,uc=!1,ic=!1,Si=!1,ff=0,Sr=0,ro=null,cv=0;function Wt(){throw Error(h(321))}function _i(a,l){if(l===null)return!1;for(var i=0;i<l.length&&i<a.length;i++)if(!nn(a[i],l[i]))return!1;return!0}function df(a,l,i,r,p,m){return Du=m,Le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,H.H=a===null||a.memoizedState===null?yv:Rh,Si=!1,m=i(r,p),Si=!1,ic&&(m=rv(l,i,r,p)),yh(a),m}function yh(a){H.H=_f;var l=St!==null&&St.next!==null;if(Du=0,ha=St=Le=null,uc=!1,Sr=0,ro=null,l)throw Error(h(300));a===null||pa||(a=a.dependencies,a!==null&&Wo(a)&&(pa=!0))}function rv(a,l,i,r){Le=a;var p=0;do{if(ic&&(ro=null),Sr=0,ic=!1,25<=p)throw Error(h(301));if(p+=1,ha=St=null,a.updateQueue!=null){var m=a.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}H.H=gv,m=l(i,r)}while(ic);return m}function J1(){var a=H.H,l=a.useState()[0];return l=typeof l.then=="function"?cc(l):l,a=a.useState()[0],(St!==null?St.memoizedState:null)!==a&&(Le.flags|=1024),l}function gh(){var a=ff!==0;return ff=0,a}function oc(a,l,i){l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~i}function hf(a){if(uc){for(a=a.memoizedState;a!==null;){var l=a.queue;l!==null&&(l.pending=null),a=a.next}uc=!1}Du=0,ha=St=Le=null,ic=!1,Sr=ff=0,ro=null}function Za(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ha===null?Le.memoizedState=ha=a:ha=ha.next=a,ha}function ua(){if(St===null){var a=Le.alternate;a=a!==null?a.memoizedState:null}else a=St.next;var l=ha===null?Le.memoizedState:ha.next;if(l!==null)ha=l,St=a;else{if(a===null)throw Le.alternate===null?Error(h(467)):Error(h(310));St=a,a={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},ha===null?Le.memoizedState=ha=a:ha=ha.next=a}return ha}function pf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function cc(a){var l=Sr;return Sr+=1,ro===null&&(ro=[]),a=Pm(ro,a,l),l=Le,(ha===null?l.memoizedState:ha.next)===null&&(l=l.alternate,H.H=l===null||l.memoizedState===null?yv:Rh),a}function _r(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return cc(a);if(a.$$typeof===ye)return P(a)}throw Error(h(438,String(a)))}function vh(a){var l=null,i=Le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var r=Le.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(l={data:r.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=pf(),Le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(a),r=0;r<a;r++)i[r]=de;return l.index++,i}function Mu(a,l){return typeof l=="function"?l(a):l}function xu(a){var l=ua();return bh(l,St,a)}function bh(a,l,i){var r=a.queue;if(r===null)throw Error(h(311));r.lastRenderedReducer=i;var p=a.baseQueue,m=r.pending;if(m!==null){if(p!==null){var S=p.next;p.next=m.next,m.next=S}l.baseQueue=p=m,r.pending=null}if(m=a.baseState,p===null)a.memoizedState=m;else{l=p.next;var A=S=null,C=null,L=l,$=!1;do{var W=L.lane&-536870913;if(W!==L.lane?(We&W)===W:(Du&W)===W){var V=L.revertLane;if(V===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),W===eo&&($=!0);else if((Du&V)===V){L=L.next,V===eo&&($=!0);continue}else W={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(A=C=W,S=m):C=C.next=W,Le.lanes|=V,Wl|=V;W=L.action,Si&&i(m,W),m=L.hasEagerState?L.eagerState:i(m,W)}else V={lane:W,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(A=C=V,S=m):C=C.next=V,Le.lanes|=W,Wl|=W;L=L.next}while(L!==null&&L!==l);if(C===null?S=m:C.next=A,!nn(m,a.memoizedState)&&(pa=!0,$&&(i=va,i!==null)))throw i;a.memoizedState=m,a.baseState=S,a.baseQueue=C,r.lastRenderedState=m}return p===null&&(r.lanes=0),[a.memoizedState,r.dispatch]}function Sh(a){var l=ua(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=a;var r=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var S=p=p.next;do m=a(m,S.action),S=S.next;while(S!==p);nn(m,l.memoizedState)||(pa=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,r]}function n0(a,l,i){var r=Le,p=ua(),m=nt;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var S=!nn((St||p).memoizedState,i);if(S&&(p.memoizedState=i,pa=!0),p=p.queue,Ah(_h.bind(null,r,p,a),[a]),p.getSnapshot!==l||S||ha!==null&&ha.memoizedState.tag&1){if(r.flags|=2048,sc(9,{destroy:void 0},l0.bind(null,r,p,i,l),null),Dt===null)throw Error(h(349));m||(Du&127)!==0||mf(r,l,i)}return i}function mf(a,l,i){a.flags|=16384,a={getSnapshot:l,value:i},l=Le.updateQueue,l===null?(l=pf(),Le.updateQueue=l,l.stores=[a]):(i=l.stores,i===null?l.stores=[a]:i.push(a))}function l0(a,l,i,r){l.value=i,l.getSnapshot=r,Eh(l)&&zh(a)}function _h(a,l,i){return i(function(){Eh(l)&&zh(a)})}function Eh(a){var l=a.getSnapshot;a=a.value;try{var i=l();return!nn(a,i)}catch{return!0}}function zh(a){var l=di(a,2);l!==null&&On(l,a,2)}function u0(a){var l=Za();if(typeof a=="function"){var i=a;if(a=i(),Si){ii(!0);try{i()}finally{ii(!1)}}}return l.memoizedState=l.baseState=a,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:a},l}function Ha(a,l,i,r){return a.baseState=i,bh(a,St,typeof r=="function"?r:Mu)}function sv(a,l,i,r,p){if(Sf(a))throw Error(h(485));if(a=l.action,a!==null){var m={payload:p,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){m.listeners.push(S)}};H.T!==null?i(!0):m.isTransition=!1,r(m),i=l.pending,i===null?(m.next=l.pending=m,i0(l,m)):(m.next=i.next,l.pending=i.next=m)}}function i0(a,l){var i=l.action,r=l.payload,p=a.state;if(l.isTransition){var m=H.T,S={};H.T=S;try{var A=i(p,r),C=H.S;C!==null&&C(S,A),o0(a,l,A)}catch(L){rc(a,l,L)}finally{m!==null&&S.types!==null&&(m.types=S.types),H.T=m}}else try{m=i(p,r),o0(a,l,m)}catch(L){rc(a,l,L)}}function o0(a,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){c0(a,l,r)},function(r){return rc(a,l,r)}):c0(a,l,i)}function c0(a,l,i){l.status="fulfilled",l.value=i,r0(l),a.state=i,l=a.pending,l!==null&&(i=l.next,i===l?a.pending=null:(i=i.next,l.next=i,i0(a,i)))}function rc(a,l,i){var r=a.pending;if(a.pending=null,r!==null){r=r.next;do l.status="rejected",l.reason=i,r0(l),l=l.next;while(l!==r)}a.action=null}function r0(a){a=a.listeners;for(var l=0;l<a.length;l++)(0,a[l])()}function yf(a,l){return l}function s0(a,l){if(nt){var i=Dt.formState;if(i!==null){e:{var r=Le;if(nt){if(Nt){t:{for(var p=Nt,m=Ta;p.nodeType!==8;){if(!m){p=null;break t}if(p=wn(p.nextSibling),p===null){p=null;break t}}m=p.data,p=m==="F!"||m==="F"?p:null}if(p){Nt=wn(p.nextSibling),r=p.data==="F!";break e}}El(r)}r=!1}r&&(l=i[0])}}return i=Za(),i.memoizedState=i.baseState=l,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yf,lastRenderedState:l},i.queue=r,i=xh.bind(null,Le,r),r.dispatch=i,r=u0(!1),m=so.bind(null,Le,!1,r.queue),r=Za(),p={state:l,dispatch:null,action:a,pending:null},r.queue=p,i=sv.bind(null,Le,p,m,i),p.dispatch=i,r.memoizedState=a,[l,i,!1]}function fv(a){var l=ua();return gf(l,St,a)}function gf(a,l,i){if(l=bh(a,l,yf)[0],a=xu(Mu)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var r=cc(l)}catch(S){throw S===to?mr:S}else r=l;l=ua();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(Le.flags|=2048,sc(9,{destroy:void 0},f0.bind(null,p,i),null)),[r,m,a]}function f0(a,l){a.action=l}function d0(a){var l=ua(),i=St;if(i!==null)return gf(l,i,a);ua(),l=l.memoizedState,i=ua();var r=i.queue.dispatch;return i.memoizedState=a,[l,r,!1]}function sc(a,l,i,r){return a={tag:a,create:i,deps:r,inst:l,next:null},l=Le.updateQueue,l===null&&(l=pf(),Le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=a.next=a:(r=i.next,i.next=a,a.next=r,l.lastEffect=a),a}function h0(){return ua().memoizedState}function Er(a,l,i,r){var p=Za();Le.flags|=a,p.memoizedState=sc(1|l,{destroy:void 0},i,r===void 0?null:r)}function zr(a,l,i,r){var p=ua();r=r===void 0?null:r;var m=p.memoizedState.inst;St!==null&&r!==null&&_i(r,St.memoizedState.deps)?p.memoizedState=sc(l,m,i,r):(Le.flags|=a,p.memoizedState=sc(1|l,m,i,r))}function Th(a,l){Er(8390656,8,a,l)}function Ah(a,l){zr(2048,8,a,l)}function p0(a){Le.flags|=4;var l=Le.updateQueue;if(l===null)l=pf(),Le.updateQueue=l,l.events=[a];else{var i=l.events;i===null?l.events=[a]:i.push(a)}}function vf(a){var l=ua().memoizedState;return p0({ref:l,nextImpl:a}),function(){if((dt&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function Oh(a,l){return zr(4,2,a,l)}function m0(a,l){return zr(4,4,a,l)}function wh(a,l){if(typeof l=="function"){a=a();var i=l(a);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function y0(a,l,i){i=i!=null?i.concat([a]):null,zr(4,4,wh.bind(null,l,a),i)}function $l(){}function Dh(a,l){var i=ua();l=l===void 0?null:l;var r=i.memoizedState;return l!==null&&_i(l,r[1])?r[0]:(i.memoizedState=[a,l],a)}function dv(a,l){var i=ua();l=l===void 0?null:l;var r=i.memoizedState;if(l!==null&&_i(l,r[1]))return r[0];if(r=a(),Si){ii(!0);try{a()}finally{ii(!1)}}return i.memoizedState=[r,l],r}function bf(a,l,i){return i===void 0||(Du&1073741824)!==0&&(We&261930)===0?a.memoizedState=l:(a.memoizedState=i,a=wv(),Le.lanes|=a,Wl|=a,i)}function Cu(a,l,i,r){return nn(i,l)?i:Aa.current!==null?(a=bf(a,i,r),nn(a,l)||(pa=!0),a):(Du&42)===0||(Du&1073741824)!==0&&(We&261930)===0?(pa=!0,a.memoizedState=i):(a=wv(),Le.lanes|=a,Wl|=a,l)}function Mh(a,l,i,r,p){var m=ee.p;ee.p=m!==0&&8>m?m:8;var S=H.T,A={};H.T=A,so(a,!1,l,i);try{var C=p(),L=H.S;if(L!==null&&L(A,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var $=uf(C,r);Ei(a,l,$,jn(a))}else Ei(a,l,r,jn(a))}catch(W){Ei(a,l,{then:function(){},status:"rejected",reason:W},jn())}finally{ee.p=m,S!==null&&A.types!==null&&(S.types=A.types),H.T=S}}function hv(){}function Tr(a,l,i,r){if(a.tag!==5)throw Error(h(476));var p=Ar(a).queue;Mh(a,p,l,le,i===null?hv:function(){return wt(a),i(r)})}function Ar(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:le},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:i},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function wt(a){var l=Ar(a);l.next===null&&(l=a.alternate.memoizedState),Ei(a,l.next.queue,{},jn())}function g0(){return P(kf)}function pv(){return ua().memoizedState}function v0(){return ua().memoizedState}function Ru(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var i=jn();a=bi(i);var r=Wn(l,a,i);r!==null&&(On(r,l,i),io(r,l,i)),l={cache:tf()},a.payload=l;return}l=l.return}}function mv(a,l,i){var r=jn();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Sf(a)?Ch(l,i):(i=Sl(a,l,i,r),i!==null&&(On(i,a,r),b0(i,l,r)))}function xh(a,l,i){var r=jn();Ei(a,l,i,r)}function Ei(a,l,i,r){var p={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Sf(a))Ch(l,p);else{var m=a.alternate;if(a.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var S=l.lastRenderedState,A=m(S,i);if(p.hasEagerState=!0,p.eagerState=A,nn(A,S))return $n(a,l,p,0),Dt===null&&Jn(),!1}catch{}if(i=Sl(a,l,p,r),i!==null)return On(i,a,r),b0(i,l,r),!0}return!1}function so(a,l,i,r){if(r={lane:2,revertLane:np(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Sf(a)){if(l)throw Error(h(479))}else l=Sl(a,i,r,2),l!==null&&On(l,a,2)}function Sf(a){var l=a.alternate;return a===Le||l!==null&&l===Le}function Ch(a,l){ic=uc=!0;var i=a.pending;i===null?l.next=l:(l.next=i.next,i.next=l),a.pending=l}function b0(a,l,i){if((i&4194048)!==0){var r=l.lanes;r&=a.pendingLanes,i|=r,l.lanes=i,hu(a,i)}}var _f={readContext:P,use:_r,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt};_f.useEffectEvent=Wt;var yv={readContext:P,use:_r,useCallback:function(a,l){return Za().memoizedState=[a,l===void 0?null:l],a},useContext:P,useEffect:Th,useImperativeHandle:function(a,l,i){i=i!=null?i.concat([a]):null,Er(4194308,4,wh.bind(null,l,a),i)},useLayoutEffect:function(a,l){return Er(4194308,4,a,l)},useInsertionEffect:function(a,l){Er(4,2,a,l)},useMemo:function(a,l){var i=Za();l=l===void 0?null:l;var r=a();if(Si){ii(!0);try{a()}finally{ii(!1)}}return i.memoizedState=[r,l],r},useReducer:function(a,l,i){var r=Za();if(i!==void 0){var p=i(l);if(Si){ii(!0);try{i(l)}finally{ii(!1)}}}else p=l;return r.memoizedState=r.baseState=p,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:p},r.queue=a,a=a.dispatch=mv.bind(null,Le,a),[r.memoizedState,a]},useRef:function(a){var l=Za();return a={current:a},l.memoizedState=a},useState:function(a){a=u0(a);var l=a.queue,i=xh.bind(null,Le,l);return l.dispatch=i,[a.memoizedState,i]},useDebugValue:$l,useDeferredValue:function(a,l){var i=Za();return bf(i,a,l)},useTransition:function(){var a=u0(!1);return a=Mh.bind(null,Le,a.queue,!0,!1),Za().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,i){var r=Le,p=Za();if(nt){if(i===void 0)throw Error(h(407));i=i()}else{if(i=l(),Dt===null)throw Error(h(349));(We&127)!==0||mf(r,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,Th(_h.bind(null,r,m,a),[a]),r.flags|=2048,sc(9,{destroy:void 0},l0.bind(null,r,m,i,l),null),i},useId:function(){var a=Za(),l=Dt.identifierPrefix;if(nt){var i=Gl,r=Un;i=(r&~(1<<32-dn(r)-1)).toString(32)+i,l="_"+l+"R_"+i,i=ff++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=cv++,l="_"+l+"r_"+i.toString(32)+"_";return a.memoizedState=l},useHostTransitionStatus:g0,useFormState:s0,useActionState:s0,useOptimistic:function(a){var l=Za();l.memoizedState=l.baseState=a;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=so.bind(null,Le,!0,i),i.dispatch=l,[a,l]},useMemoCache:vh,useCacheRefresh:function(){return Za().memoizedState=Ru.bind(null,Le)},useEffectEvent:function(a){var l=Za(),i={impl:a};return l.memoizedState=i,function(){if((dt&2)!==0)throw Error(h(440));return i.impl.apply(void 0,arguments)}}},Rh={readContext:P,use:_r,useCallback:Dh,useContext:P,useEffect:Ah,useImperativeHandle:y0,useInsertionEffect:Oh,useLayoutEffect:m0,useMemo:dv,useReducer:xu,useRef:h0,useState:function(){return xu(Mu)},useDebugValue:$l,useDeferredValue:function(a,l){var i=ua();return Cu(i,St.memoizedState,a,l)},useTransition:function(){var a=xu(Mu)[0],l=ua().memoizedState;return[typeof a=="boolean"?a:cc(a),l]},useSyncExternalStore:n0,useId:pv,useHostTransitionStatus:g0,useFormState:fv,useActionState:fv,useOptimistic:function(a,l){var i=ua();return Ha(i,St,a,l)},useMemoCache:vh,useCacheRefresh:v0};Rh.useEffectEvent=vf;var gv={readContext:P,use:_r,useCallback:Dh,useContext:P,useEffect:Ah,useImperativeHandle:y0,useInsertionEffect:Oh,useLayoutEffect:m0,useMemo:dv,useReducer:Sh,useRef:h0,useState:function(){return Sh(Mu)},useDebugValue:$l,useDeferredValue:function(a,l){var i=ua();return St===null?bf(i,a,l):Cu(i,St.memoizedState,a,l)},useTransition:function(){var a=Sh(Mu)[0],l=ua().memoizedState;return[typeof a=="boolean"?a:cc(a),l]},useSyncExternalStore:n0,useId:pv,useHostTransitionStatus:g0,useFormState:d0,useActionState:d0,useOptimistic:function(a,l){var i=ua();return St!==null?Ha(i,St,a,l):(i.baseState=a,[a,i.queue.dispatch])},useMemoCache:vh,useCacheRefresh:v0};gv.useEffectEvent=vf;function fc(a,l,i,r){l=a.memoizedState,i=i(r,l),i=i==null?l:Y({},l,i),a.memoizedState=i,a.lanes===0&&(a.updateQueue.baseState=i)}var zl={enqueueSetState:function(a,l,i){a=a._reactInternals;var r=jn(),p=bi(r);p.payload=l,i!=null&&(p.callback=i),l=Wn(a,p,r),l!==null&&(On(l,a,r),io(l,a,r))},enqueueReplaceState:function(a,l,i){a=a._reactInternals;var r=jn(),p=bi(r);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=Wn(a,p,r),l!==null&&(On(l,a,r),io(l,a,r))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var i=jn(),r=bi(i);r.tag=2,l!=null&&(r.callback=l),l=Wn(a,r,i),l!==null&&(On(l,a,i),io(l,a,i))}};function S0(a,l,i,r,p,m,S){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(r,m,S):l.prototype&&l.prototype.isPureReactComponent?!gl(i,r)||!gl(p,m):!0}function vv(a,l,i,r){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,r),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,r),l.state!==a&&zl.enqueueReplaceState(l,l.state,null)}function fo(a,l){var i=l;if("ref"in l){i={};for(var r in l)r!=="ref"&&(i[r]=l[r])}if(a=a.defaultProps){i===l&&(i=Y({},i));for(var p in a)i[p]===void 0&&(i[p]=a[p])}return i}function Uh(a){Ko(a)}function _0(a){console.error(a)}function Nh(a){Ko(a)}function Or(a,l){try{var i=a.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(r){setTimeout(function(){throw r})}}function Ef(a,l,i){try{var r=a.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function E0(a,l,i){return i=bi(i),i.tag=3,i.payload={element:null},i.callback=function(){Or(a,l)},i}function z0(a){return a=bi(a),a.tag=3,a}function T0(a,l,i,r){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=r.value;a.payload=function(){return p(m)},a.callback=function(){Ef(l,i,r)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){Ef(l,i,r),typeof p!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var A=r.stack;this.componentDidCatch(r.value,{componentStack:A!==null?A:""})})}function $1(a,l,i,r,p){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(l=i.alternate,l!==null&&Na(l,i,p,!0),i=bn.current,i!==null){switch(i.tag){case 31:case 13:return Pn===null?Ph():i.alternate===null&&Ht===0&&(Ht=3),i.flags&=-257,i.flags|=65536,i.lanes=p,r===ac?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([r]):l.add(r),Hf(a,r,p)),!1;case 22:return i.flags|=65536,r===ac?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([r]):i.add(r)),Hf(a,r,p)),!1}throw Error(h(435,i.tag))}return Hf(a,r,p),Ph(),!1}if(nt)return l=bn.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,r!==zu&&(a=Error(h(422),{cause:r}),hr(kn(a,i)))):(r!==zu&&(l=Error(h(423),{cause:r}),hr(kn(l,i))),a=a.current.alternate,a.flags|=65536,p&=-p,a.lanes|=p,r=kn(r,i),p=E0(a.stateNode,r,p),hh(a,p),Ht!==4&&(Ht=2)),!1;var m=Error(h(520),{cause:r});if(m=kn(m,i),Rf===null?Rf=[m]:Rf.push(m),Ht!==4&&(Ht=2),l===null)return!0;r=kn(r,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,a=p&-p,i.lanes|=a,a=E0(i.stateNode,r,a),hh(i,a),!1;case 1:if(l=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Xt===null||!Xt.has(m))))return i.flags|=65536,p&=-p,i.lanes|=p,p=z0(p),T0(p,a,i,r),hh(i,p),!1}i=i.return}while(i!==null);return!1}var Zh=Error(h(461)),pa=!1;function qt(a,l,i,r){l.child=a===null?t0(l,null,i,r):uo(l,a.child,i,r)}function A0(a,l,i,r,p){i=i.render;var m=l.ref;if("ref"in r){var S={};for(var A in r)A!=="ref"&&(S[A]=r[A])}else S=r;return Ne(l),r=df(a,l,i,S,m,p),A=gh(),a!==null&&!pa?(oc(a,l,p),al(a,l,p)):(nt&&A&&fr(l),l.flags|=1,qt(a,l,r,p),l.child)}function O0(a,l,i,r,p){if(a===null){var m=i.type;return typeof m=="function"&&!Io(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,w0(a,l,m,r,p)):(a=ih(i.type,null,r,l,l.mode,p),a.ref=l.ref,a.return=l,l.child=a)}if(m=a.child,!Bh(a,p)){var S=m.memoizedProps;if(i=i.compare,i=i!==null?i:gl,i(S,r)&&a.ref===l.ref)return al(a,l,p)}return l.flags|=1,a=hi(m,r),a.ref=l.ref,a.return=l,l.child=a}function w0(a,l,i,r,p){if(a!==null){var m=a.memoizedProps;if(gl(m,r)&&a.ref===l.ref)if(pa=!1,l.pendingProps=r=m,Bh(a,p))(a.flags&131072)!==0&&(pa=!0);else return l.lanes=a.lanes,al(a,l,p)}return Hh(a,l,i,r,p)}function bv(a,l,i,r){var p=r.children,m=a!==null?a.memoizedState:null;if(a===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,a!==null){for(r=l.child=a.child,p=0;r!==null;)p=p|r.lanes|r.childLanes,r=r.sibling;r=p&~m}else r=0,l.child=null;return _n(a,l,m,i,r)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},a!==null&&pr(l,m!==null?m.cachePool:null),m!==null?ov(l,m):sf(),mh(l);else return r=l.lanes=536870912,_n(a,l,m!==null?m.baseLanes|i:i,i,r)}else m!==null?(pr(l,m.cachePool),ov(l,m),Jl(),l.memoizedState=null):(a!==null&&pr(l,null),sf(),Jl());return qt(a,l,p,i),l.child}function ho(a,l){return a!==null&&a.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function _n(a,l,i,r,p){var m=Fn();return m=m===null?null:{parent:da._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},a!==null&&pr(l,null),sf(),mh(l),a!==null&&Na(a,l,r,!0),l.childLanes=p,null}function zf(a,l){return l=Of({mode:l.mode,children:l.children},a.mode),l.ref=a.ref,a.child=l,l.return=a,l}function En(a,l,i){return uo(l,a.child,null,i),a=zf(l,l.pendingProps),a.flags|=2,Sn(l),l.memoizedState=null,a}function Sv(a,l,i){var r=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,a===null){if(nt){if(r.mode==="hidden")return a=zf(l,r),l.lanes=536870912,ho(null,a);if(vr(l),(a=Nt)?(a=tb(a,Ta),a=a!==null&&a.data==="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:Vl!==null?{id:Un,overflow:Gl}:null,retryLane:536870912,hydrationErrors:null},i=Jm(a),i.return=l,l.child=i,Ua=l,Nt=null)):a=null,a===null)throw El(l);return l.lanes=536870912,null}return zf(l,r)}var m=a.memoizedState;if(m!==null){var S=m.dehydrated;if(vr(l),p)if(l.flags&256)l.flags&=-257,l=En(a,l,i);else if(l.memoizedState!==null)l.child=a.child,l.flags|=128,l=null;else throw Error(h(558));else if(pa||Na(a,l,i,!1),p=(i&a.childLanes)!==0,pa||p){if(r=Dt,r!==null&&(S=Gn(r,i),S!==0&&S!==m.retryLane))throw m.retryLane=S,di(a,S),On(r,a,S),Zh;Ph(),l=En(a,l,i)}else a=m.treeContext,Nt=wn(S.nextSibling),Ua=l,nt=!0,Eu=null,Ta=!1,a!==null&&Ws(l,a),l=zf(l,r),l.flags|=4096;return l}return a=hi(a.child,{mode:r.mode,children:r.children}),a.ref=l.ref,l.child=a,a.return=l,a}function el(a,l){var i=l.ref;if(i===null)a!==null&&a.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(h(284));(a===null||a.ref!==i)&&(l.flags|=4194816)}}function Hh(a,l,i,r,p){return Ne(l),i=df(a,l,i,r,void 0,p),r=gh(),a!==null&&!pa?(oc(a,l,p),al(a,l,p)):(nt&&r&&fr(l),l.flags|=1,qt(a,l,i,p),l.child)}function po(a,l,i,r,p,m){return Ne(l),l.updateQueue=null,i=rv(l,r,i,p),yh(a),r=gh(),a!==null&&!pa?(oc(a,l,m),al(a,l,m)):(nt&&r&&fr(l),l.flags|=1,qt(a,l,i,m),l.child)}function D0(a,l,i,r,p){if(Ne(l),l.stateNode===null){var m=yn,S=i.contextType;typeof S=="object"&&S!==null&&(m=P(S)),m=new i(r,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=zl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=r,m.state=l.memoizedState,m.refs={},rf(l),S=i.contextType,m.context=typeof S=="object"&&S!==null?P(S):yn,m.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(fc(l,i,S,r),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(S=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),S!==m.state&&zl.enqueueReplaceState(m,m.state,null),Ou(l,r,m,p),oo(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!0}else if(a===null){m=l.stateNode;var A=l.memoizedProps,C=fo(i,A);m.props=C;var L=m.context,$=i.contextType;S=yn,typeof $=="object"&&$!==null&&(S=P($));var W=i.getDerivedStateFromProps;$=typeof W=="function"||typeof m.getSnapshotBeforeUpdate=="function",A=l.pendingProps!==A,$||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(A||L!==S)&&vv(l,m,r,S),vi=!1;var V=l.memoizedState;m.state=V,Ou(l,r,m,p),oo(),L=l.memoizedState,A||V!==L||vi?(typeof W=="function"&&(fc(l,i,W,r),L=l.memoizedState),(C=vi||S0(l,i,C,r,V,L,S))?($||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(l.flags|=4194308)):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=r,l.memoizedState=L),m.props=r,m.state=L,m.context=S,r=C):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!1)}else{m=l.stateNode,dh(a,l),S=l.memoizedProps,$=fo(i,S),m.props=$,W=l.pendingProps,V=m.context,L=i.contextType,C=yn,typeof L=="object"&&L!==null&&(C=P(L)),A=i.getDerivedStateFromProps,(L=typeof A=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(S!==W||V!==C)&&vv(l,m,r,C),vi=!1,V=l.memoizedState,m.state=V,Ou(l,r,m,p),oo();var J=l.memoizedState;S!==W||V!==J||vi||a!==null&&a.dependencies!==null&&Wo(a.dependencies)?(typeof A=="function"&&(fc(l,i,A,r),J=l.memoizedState),($=vi||S0(l,i,$,r,V,J,C)||a!==null&&a.dependencies!==null&&Wo(a.dependencies))?(L||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(r,J,C),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(r,J,C)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=1024),l.memoizedProps=r,l.memoizedState=J),m.props=r,m.state=J,m.context=C,r=$):(typeof m.componentDidUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=1024),r=!1)}return m=r,el(a,l),r=(l.flags&128)!==0,m||r?(m=l.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,a!==null&&r?(l.child=uo(l,a.child,null,p),l.child=uo(l,null,i,p)):qt(a,l,i,p),l.memoizedState=m.state,a=l.child):a=al(a,l,p),a}function kl(a,l,i,r){return Pi(),l.flags|=256,qt(a,l,i,r),l.child}var Tf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Af(a){return{baseLanes:a,cachePool:ec()}}function tl(a,l,i){return a=a!==null?a.childLanes&~i:0,l&&(a|=An),a}function M0(a,l,i){var r=l.pendingProps,p=!1,m=(l.flags&128)!==0,S;if((S=m)||(S=a!==null&&a.memoizedState===null?!1:(Gt.current&2)!==0),S&&(p=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,a===null){if(nt){if(p?wu(l):Jl(),(a=Nt)?(a=tb(a,Ta),a=a!==null&&a.data!=="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:Vl!==null?{id:Un,overflow:Gl}:null,retryLane:536870912,hydrationErrors:null},i=Jm(a),i.return=l,l.child=i,Ua=l,Nt=null)):a=null,a===null)throw El(l);return _o(a)?l.lanes=32:l.lanes=536870912,null}var A=r.children;return r=r.fallback,p?(Jl(),p=l.mode,A=Of({mode:"hidden",children:A},p),r=pi(r,p,i,null),A.return=l,r.return=l,A.sibling=r,l.child=A,r=l.child,r.memoizedState=Af(i),r.childLanes=tl(a,S,i),l.memoizedState=Tf,ho(null,r)):(wu(l),mo(l,A))}var C=a.memoizedState;if(C!==null&&(A=C.dehydrated,A!==null)){if(m)l.flags&256?(wu(l),l.flags&=-257,l=dc(a,l,i)):l.memoizedState!==null?(Jl(),l.child=a.child,l.flags|=128,l=null):(Jl(),A=r.fallback,p=l.mode,r=Of({mode:"visible",children:r.children},p),A=pi(A,p,i,null),A.flags|=2,r.return=l,A.return=l,r.sibling=A,l.child=r,uo(l,a.child,null,i),r=l.child,r.memoizedState=Af(i),r.childLanes=tl(a,S,i),l.memoizedState=Tf,l=ho(null,r));else if(wu(l),_o(A)){if(S=A.nextSibling&&A.nextSibling.dataset,S)var L=S.dgst;S=L,r=Error(h(419)),r.stack="",r.digest=S,hr({value:r,source:null,stack:null}),l=dc(a,l,i)}else if(pa||Na(a,l,i,!1),S=(i&a.childLanes)!==0,pa||S){if(S=Dt,S!==null&&(r=Gn(S,i),r!==0&&r!==C.retryLane))throw C.retryLane=r,di(a,r),On(S,a,r),Zh;Ol(A)||Ph(),l=dc(a,l,i)}else Ol(A)?(l.flags|=192,l.child=a.child,l=null):(a=C.treeContext,Nt=wn(A.nextSibling),Ua=l,nt=!0,Eu=null,Ta=!1,a!==null&&Ws(l,a),l=mo(l,r.children),l.flags|=4096);return l}return p?(Jl(),A=r.fallback,p=l.mode,C=a.child,L=C.sibling,r=hi(C,{mode:"hidden",children:r.children}),r.subtreeFlags=C.subtreeFlags&65011712,L!==null?A=hi(L,A):(A=pi(A,p,i,null),A.flags|=2),A.return=l,r.return=l,r.sibling=A,l.child=r,ho(null,r),r=l.child,A=a.child.memoizedState,A===null?A=Af(i):(p=A.cachePool,p!==null?(C=da._currentValue,p=p.parent!==C?{parent:C,pool:C}:p):p=ec(),A={baseLanes:A.baseLanes|i,cachePool:p}),r.memoizedState=A,r.childLanes=tl(a,S,i),l.memoizedState=Tf,ho(a.child,r)):(wu(l),i=a.child,a=i.sibling,i=hi(i,{mode:"visible",children:r.children}),i.return=l,i.sibling=null,a!==null&&(S=l.deletions,S===null?(l.deletions=[a],l.flags|=16):S.push(a)),l.child=i,l.memoizedState=null,i)}function mo(a,l){return l=Of({mode:"visible",children:l},a.mode),l.return=a,a.child=l}function Of(a,l){return a=na(22,a,null,l),a.lanes=0,a}function dc(a,l,i){return uo(l,a.child,null,i),a=mo(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function hc(a,l,i){a.lanes|=l;var r=a.alternate;r!==null&&(r.lanes|=l),sh(a.return,l,i)}function jh(a,l,i,r,p,m){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:p,treeForkCount:m}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=r,S.tail=i,S.tailMode=p,S.treeForkCount=m)}function x0(a,l,i){var r=l.pendingProps,p=r.revealOrder,m=r.tail;r=r.children;var S=Gt.current,A=(S&2)!==0;if(A?(S=S&1|2,l.flags|=128):S&=1,ut(Gt,S),qt(a,l,r,i),r=nt?fa:0,!A&&a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&hc(a,i,l);else if(a.tag===19)hc(a,i,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(p){case"forwards":for(i=l.child,p=null;i!==null;)a=i.alternate,a!==null&&br(a)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),jh(l,!1,p,i,m,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(a=p.alternate,a!==null&&br(a)===null){l.child=p;break}a=p.sibling,p.sibling=i,i=p,p=a}jh(l,!0,i,null,m,r);break;case"together":jh(l,!1,null,null,void 0,r);break;default:l.memoizedState=null}return l.child}function al(a,l,i){if(a!==null&&(l.dependencies=a.dependencies),Wl|=l.lanes,(i&l.childLanes)===0)if(a!==null){if(Na(a,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(a!==null&&l.child!==a.child)throw Error(h(153));if(l.child!==null){for(a=l.child,i=hi(a,a.pendingProps),l.child=i,i.return=l;a.sibling!==null;)a=a.sibling,i=i.sibling=hi(a,a.pendingProps),i.return=l;i.sibling=null}return l.child}function Bh(a,l){return(a.lanes&l)!==0?!0:(a=a.dependencies,!!(a!==null&&Wo(a)))}function qh(a,l,i){switch(l.tag){case 3:Cs(l,l.stateNode.containerInfo),vn(l,da,a.memoizedState.cache),Pi();break;case 27:case 5:fm(l);break;case 4:Cs(l,l.stateNode.containerInfo);break;case 10:vn(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,vr(l),null;break;case 13:var r=l.memoizedState;if(r!==null)return r.dehydrated!==null?(wu(l),l.flags|=128,null):(i&l.child.childLanes)!==0?M0(a,l,i):(wu(l),a=al(a,l,i),a!==null?a.sibling:null);wu(l);break;case 19:var p=(a.flags&128)!==0;if(r=(i&l.childLanes)!==0,r||(Na(a,l,i,!1),r=(i&l.childLanes)!==0),p){if(r)return x0(a,l,i);l.flags|=128}if(p=l.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),ut(Gt,Gt.current),r)break;return null;case 22:return l.lanes=0,bv(a,l,i,l.pendingProps);case 24:vn(l,da,a.memoizedState.cache)}return al(a,l,i)}function C0(a,l,i){if(a!==null)if(a.memoizedProps!==l.pendingProps)pa=!0;else{if(!Bh(a,i)&&(l.flags&128)===0)return pa=!1,qh(a,l,i);pa=(a.flags&131072)!==0}else pa=!1,nt&&(l.flags&1048576)!==0&&km(l,fa,l.index);switch(l.lanes=0,l.tag){case 16:e:{var r=l.pendingProps;if(a=ao(l.elementType),l.type=a,typeof a=="function")Io(a)?(r=fo(a,r),l.tag=1,l=D0(null,l,a,r,i)):(l.tag=0,l=Hh(null,l,a,r,i));else{if(a!=null){var p=a.$$typeof;if(p===F){l.tag=11,l=A0(null,l,a,r,i);break e}else if(p===Te){l.tag=14,l=O0(null,l,a,r,i);break e}}throw l=en(a)||a,Error(h(306,l,""))}}return l;case 0:return Hh(a,l,l.type,l.pendingProps,i);case 1:return r=l.type,p=fo(r,l.pendingProps),D0(a,l,r,p,i);case 3:e:{if(Cs(l,l.stateNode.containerInfo),a===null)throw Error(h(387));r=l.pendingProps;var m=l.memoizedState;p=m.element,dh(a,l),Ou(l,r,null,i);var S=l.memoizedState;if(r=S.cache,vn(l,da,r),r!==m.cache&&Au(l,[da],i,!0),oo(),r=S.element,m.isDehydrated)if(m={element:r,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=kl(a,l,r,i);break e}else if(r!==p){p=kn(Error(h(424)),l),hr(p),l=kl(a,l,r,i);break e}else{switch(a=l.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Nt=wn(a.firstChild),Ua=l,nt=!0,Eu=null,Ta=!0,i=t0(l,null,r,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Pi(),r===p){l=al(a,l,i);break e}qt(a,l,r,i)}l=l.child}return l;case 26:return el(a,l),a===null?(i=kr(l.type,null,l.pendingProps,null))?l.memoizedState=i:nt||(i=l.type,a=l.pendingProps,r=So(Yi.current).createElement(i),r[Ot]=l,r[hn]=a,Ka(r,i,a),vt(r),l.stateNode=r):l.memoizedState=kr(l.type,a.memoizedProps,l.pendingProps,a.memoizedState),null;case 27:return fm(l),a===null&&nt&&(r=l.stateNode=Jr(l.type,l.pendingProps,Yi.current),Ua=l,Ta=!0,p=Nt,eu(l.type)?(Qf=p,Nt=wn(r.firstChild)):Nt=p),qt(a,l,l.pendingProps.children,i),el(a,l),a===null&&(l.flags|=4194304),l.child;case 5:return a===null&&nt&&((p=r=Nt)&&(r=I1(r,l.type,l.pendingProps,Ta),r!==null?(l.stateNode=r,Ua=l,Nt=wn(r.firstChild),Ta=!1,p=!0):p=!1),p||El(l)),fm(l),p=l.type,m=l.pendingProps,S=a!==null?a.memoizedProps:null,r=m.children,Xr(p,m)?r=null:S!==null&&Xr(p,S)&&(l.flags|=32),l.memoizedState!==null&&(p=df(a,l,J1,null,null,i),kf._currentValue=p),el(a,l),qt(a,l,r,i),l.child;case 6:return a===null&&nt&&((a=i=Nt)&&(i=$e(i,l.pendingProps,Ta),i!==null?(l.stateNode=i,Ua=l,Nt=null,a=!0):a=!1),a||El(l)),null;case 13:return M0(a,l,i);case 4:return Cs(l,l.stateNode.containerInfo),r=l.pendingProps,a===null?l.child=uo(l,null,r,i):qt(a,l,r,i),l.child;case 11:return A0(a,l,l.type,l.pendingProps,i);case 7:return qt(a,l,l.pendingProps,i),l.child;case 8:return qt(a,l,l.pendingProps.children,i),l.child;case 12:return qt(a,l,l.pendingProps.children,i),l.child;case 10:return r=l.pendingProps,vn(l,l.type,r.value),qt(a,l,r.children,i),l.child;case 9:return p=l.type._context,r=l.pendingProps.children,Ne(l),p=P(p),r=r(p),l.flags|=1,qt(a,l,r,i),l.child;case 14:return O0(a,l,l.type,l.pendingProps,i);case 15:return w0(a,l,l.type,l.pendingProps,i);case 19:return x0(a,l,i);case 31:return Sv(a,l,i);case 22:return bv(a,l,i,l.pendingProps);case 24:return Ne(l),r=P(da),a===null?(p=Fn(),p===null&&(p=Dt,m=tf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:r,cache:p},rf(l),vn(l,da,p)):((a.lanes&i)!==0&&(dh(a,l),Ou(l,null,null,i),oo()),p=a.memoizedState,m=l.memoizedState,p.parent!==r?(p={parent:r,cache:r},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),vn(l,da,r)):(r=m.cache,vn(l,da,r),r!==p.cache&&Au(l,[da],i,!0))),qt(a,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(h(156,l.tag))}function Uu(a){a.flags|=4}function R0(a,l,i,r,p){if((l=(a.mode&32)!==0)&&(l=!1),l){if(a.flags|=16777216,(p&335544128)===p)if(a.stateNode.complete)a.flags|=8192;else if(xv())a.flags|=8192;else throw no=ac,tc}else a.flags&=-16777217}function U0(a,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!qn(l))if(xv())a.flags|=8192;else throw no=ac,tc}function ln(a,l){l!==null&&(a.flags|=4),a.flags&16384&&(l=a.tag!==22?Uo():536870912,a.lanes|=l,Pt|=l)}function wr(a,l){if(!nt)switch(a.tailMode){case"hidden":l=a.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?a.tail=null:i.sibling=null;break;case"collapsed":i=a.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:r.sibling=null}}function Ue(a){var l=a.alternate!==null&&a.alternate.child===a.child,i=0,r=0;if(l)for(var p=a.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags&65011712,r|=p.flags&65011712,p.return=a,p=p.sibling;else for(p=a.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags,r|=p.flags,p.return=a,p=p.sibling;return a.subtreeFlags|=r,a.childLanes=i,l}function _v(a,l,i){var r=l.pendingProps;switch(ch(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(l),null;case 1:return Ue(l),null;case 3:return i=l.stateNode,r=null,a!==null&&(r=a.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),Ql(da),ui(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(a===null||a.child===null)&&(Tu(l)?Uu(l):a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Km())),Ue(l),null;case 26:var p=l.type,m=l.memoizedState;return a===null?(Uu(l),m!==null?(Ue(l),U0(l,m)):(Ue(l),R0(l,p,null,r,i))):m?m!==a.memoizedState?(Uu(l),Ue(l),U0(l,m)):(Ue(l),l.flags&=-16777217):(a=a.memoizedProps,a!==r&&Uu(l),Ue(l),R0(l,p,a,r,i)),null;case 27:if(pe(l),i=Yi.current,p=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ue(l),null}a=et.current,Tu(l)?Ps(l):(a=Jr(p,r,i),l.stateNode=a,Uu(l))}return Ue(l),null;case 5:if(pe(l),p=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ue(l),null}if(m=et.current,Tu(l))Ps(l);else{var S=So(Yi.current);switch(m){case 1:m=S.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=S.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=S.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=S.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=S.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof r.is=="string"?S.createElement("select",{is:r.is}):S.createElement("select"),r.multiple?m.multiple=!0:r.size&&(m.size=r.size);break;default:m=typeof r.is=="string"?S.createElement(p,{is:r.is}):S.createElement(p)}}m[Ot]=l,m[hn]=r;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)m.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=m;e:switch(Ka(m,p,r),p){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Uu(l)}}return Ue(l),R0(l,l.type,a===null?null:a.memoizedProps,l.pendingProps,i),null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(typeof r!="string"&&l.stateNode===null)throw Error(h(166));if(a=Yi.current,Tu(l)){if(a=l.stateNode,i=l.memoizedProps,r=null,p=Ua,p!==null)switch(p.tag){case 27:case 5:r=p.memoizedProps}a[Ot]=l,a=!!(a.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||ny(a.nodeValue,i)),a||El(l,!0)}else a=So(a).createTextNode(r),a[Ot]=l,l.stateNode=a}return Ue(l),null;case 31:if(i=l.memoizedState,a===null||a.memoizedState!==null){if(r=Tu(l),i!==null){if(a===null){if(!r)throw Error(h(318));if(a=l.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(557));a[Ot]=l}else Pi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ue(l),a=!1}else i=Km(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=i),a=!0;if(!a)return l.flags&256?(Sn(l),l):(Sn(l),null);if((l.flags&128)!==0)throw Error(h(558))}return Ue(l),null;case 13:if(r=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(p=Tu(l),r!==null&&r.dehydrated!==null){if(a===null){if(!p)throw Error(h(318));if(p=l.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[Ot]=l}else Pi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ue(l),p=!1}else p=Km(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=p),p=!0;if(!p)return l.flags&256?(Sn(l),l):(Sn(l),null)}return Sn(l),(l.flags&128)!==0?(l.lanes=i,l):(i=r!==null,a=a!==null&&a.memoizedState!==null,i&&(r=l.child,p=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(p=r.alternate.memoizedState.cachePool.pool),m=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(m=r.memoizedState.cachePool.pool),m!==p&&(r.flags|=2048)),i!==a&&i&&(l.child.flags|=8192),ln(l,l.updateQueue),Ue(l),null);case 4:return ui(),a===null&&Gr(l.stateNode.containerInfo),Ue(l),null;case 10:return Ql(l.type),Ue(l),null;case 19:if(Tt(Gt),r=l.memoizedState,r===null)return Ue(l),null;if(p=(l.flags&128)!==0,m=r.rendering,m===null)if(p)wr(r,!1);else{if(Ht!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(m=br(a),m!==null){for(l.flags|=128,wr(r,!1),a=m.updateQueue,l.updateQueue=a,ln(l,a),l.subtreeFlags=0,a=i,i=l.child;i!==null;)Qm(i,a),i=i.sibling;return ut(Gt,Gt.current&1|2),nt&&_l(l,r.treeForkCount),l.child}a=a.sibling}r.tail!==null&&$a()>mt&&(l.flags|=128,p=!0,wr(r,!1),l.lanes=4194304)}else{if(!p)if(a=br(m),a!==null){if(l.flags|=128,p=!0,a=a.updateQueue,l.updateQueue=a,ln(l,a),wr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!m.alternate&&!nt)return Ue(l),null}else 2*$a()-r.renderingStartTime>mt&&i!==536870912&&(l.flags|=128,p=!0,wr(r,!1),l.lanes=4194304);r.isBackwards?(m.sibling=l.child,l.child=m):(a=r.last,a!==null?a.sibling=m:l.child=m,r.last=m)}return r.tail!==null?(a=r.tail,r.rendering=a,r.tail=a.sibling,r.renderingStartTime=$a(),a.sibling=null,i=Gt.current,ut(Gt,p?i&1|2:i&1),nt&&_l(l,r.treeForkCount),a):(Ue(l),null);case 22:case 23:return Sn(l),gr(),r=l.memoizedState!==null,a!==null?a.memoizedState!==null!==r&&(l.flags|=8192):r&&(l.flags|=8192),r?(i&536870912)!==0&&(l.flags&128)===0&&(Ue(l),l.subtreeFlags&6&&(l.flags|=8192)):Ue(l),i=l.updateQueue,i!==null&&ln(l,i.retryQueue),i=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==i&&(l.flags|=2048),a!==null&&Tt(In),null;case 24:return i=null,a!==null&&(i=a.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),Ql(da),Ue(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Ev(a,l){switch(ch(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Ql(da),ui(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return pe(l),null;case 31:if(l.memoizedState!==null){if(Sn(l),l.alternate===null)throw Error(h(340));Pi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 13:if(Sn(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(h(340));Pi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return Tt(Gt),null;case 4:return ui(),null;case 10:return Ql(l.type),null;case 22:case 23:return Sn(l),gr(),a!==null&&Tt(In),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return Ql(da),null;case 25:return null;default:return null}}function zv(a,l){switch(ch(l),l.tag){case 3:Ql(da),ui();break;case 26:case 27:case 5:pe(l);break;case 4:ui();break;case 31:l.memoizedState!==null&&Sn(l);break;case 13:Sn(l);break;case 19:Tt(Gt);break;case 10:Ql(l.type);break;case 22:case 23:Sn(l),gr(),a!==null&&Tt(In);break;case 24:Ql(da)}}function Tl(a,l){try{var i=l.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var p=r.next;i=p;do{if((i.tag&a)===a){r=void 0;var m=i.create,S=i.inst;r=m(),S.destroy=r}i=i.next}while(i!==p)}}catch(A){Et(l,l.return,A)}}function nl(a,l,i){try{var r=l.updateQueue,p=r!==null?r.lastEffect:null;if(p!==null){var m=p.next;r=m;do{if((r.tag&a)===a){var S=r.inst,A=S.destroy;if(A!==void 0){S.destroy=void 0,p=l;var C=i,L=A;try{L()}catch($){Et(p,C,$)}}}r=r.next}while(r!==m)}}catch($){Et(l,l.return,$)}}function Yh(a){var l=a.updateQueue;if(l!==null){var i=a.stateNode;try{co(l,i)}catch(r){Et(a,a.return,r)}}}function yo(a,l,i){i.props=fo(a.type,a.memoizedProps),i.state=a.memoizedState;try{i.componentWillUnmount()}catch(r){Et(a,l,r)}}function Nu(a,l){try{var i=a.ref;if(i!==null){switch(a.tag){case 26:case 27:case 5:var r=a.stateNode;break;case 30:r=a.stateNode;break;default:r=a.stateNode}typeof i=="function"?a.refCleanup=i(r):i.current=r}}catch(p){Et(a,l,p)}}function Kl(a,l){var i=a.ref,r=a.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(p){Et(a,l,p)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(p){Et(a,l,p)}else i.current=null}function N0(a){var l=a.type,i=a.memoizedProps,r=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break e;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(p){Et(a,a.return,p)}}function Lh(a,l,i){try{var r=a.stateNode;uy(r,a.type,i,l),r[hn]=l}catch(p){Et(a,a.return,p)}}function Z0(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&eu(a.type)||a.tag===4}function Dr(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Z0(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&eu(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Mr(a,l,i){var r=a.tag;if(r===5||r===6)a=a.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(a,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(a),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=Zl));else if(r!==4&&(r===27&&eu(a.type)&&(i=a.stateNode,l=null),a=a.child,a!==null))for(Mr(a,l,i),a=a.sibling;a!==null;)Mr(a,l,i),a=a.sibling}function xr(a,l,i){var r=a.tag;if(r===5||r===6)a=a.stateNode,l?i.insertBefore(a,l):i.appendChild(a);else if(r!==4&&(r===27&&eu(a.type)&&(i=a.stateNode),a=a.child,a!==null))for(xr(a,l,i),a=a.sibling;a!==null;)xr(a,l,i),a=a.sibling}function H0(a){var l=a.stateNode,i=a.memoizedProps;try{for(var r=a.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);Ka(l,r,i),l[Ot]=a,l[hn]=i}catch(m){Et(a,a.return,m)}}var zi=!1,ba=!1,Vh=!1,j0=typeof WeakSet=="function"?WeakSet:Set,ja=null;function Cr(a,l){if(a=a.containerInfo,cp=wa,a=Ii(a),Js(a)){if("selectionStart"in a)var i={start:a.selectionStart,end:a.selectionEnd};else e:{i=(i=a.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var p=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var S=0,A=-1,C=-1,L=0,$=0,W=a,V=null;t:for(;;){for(var J;W!==i||p!==0&&W.nodeType!==3||(A=S+p),W!==m||r!==0&&W.nodeType!==3||(C=S+r),W.nodeType===3&&(S+=W.nodeValue.length),(J=W.firstChild)!==null;)V=W,W=J;for(;;){if(W===a)break t;if(V===i&&++L===p&&(A=S),V===m&&++$===r&&(C=S),(J=W.nextSibling)!==null)break;W=V,V=W.parentNode}W=J}i=A===-1||C===-1?null:{start:A,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;for(rp={focusedElem:a,selectionRange:i},wa=!1,ja=l;ja!==null;)if(l=ja,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,ja=a;else for(;ja!==null;){switch(l=ja,m=l.alternate,a=l.flags,l.tag){case 0:if((a&4)!==0&&(a=l.updateQueue,a=a!==null?a.events:null,a!==null))for(i=0;i<a.length;i++)p=a[i],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&m!==null){a=void 0,i=l,p=m.memoizedProps,m=m.memoizedState,r=i.stateNode;try{var me=fo(i.type,p);a=r.getSnapshotBeforeUpdate(me,m),r.__reactInternalSnapshotBeforeUpdate=a}catch(we){Et(i,i.return,we)}}break;case 3:if((a&1024)!==0){if(a=l.stateNode.containerInfo,i=a.nodeType,i===9)Xf(a);else if(i===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Xf(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(h(163))}if(a=l.sibling,a!==null){a.return=l.return,ja=a;break}ja=l.return}}function wf(a,l,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:Ti(a,i),r&4&&Tl(5,i);break;case 1:if(Ti(a,i),r&4)if(a=i.stateNode,l===null)try{a.componentDidMount()}catch(S){Et(i,i.return,S)}else{var p=fo(i.type,l.memoizedProps);l=l.memoizedState;try{a.componentDidUpdate(p,l,a.__reactInternalSnapshotBeforeUpdate)}catch(S){Et(i,i.return,S)}}r&64&&Yh(i),r&512&&Nu(i,i.return);break;case 3:if(Ti(a,i),r&64&&(a=i.updateQueue,a!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{co(a,l)}catch(S){Et(i,i.return,S)}}break;case 27:l===null&&r&4&&H0(i);case 26:case 5:Ti(a,i),l===null&&r&4&&N0(i),r&512&&Nu(i,i.return);break;case 12:Ti(a,i);break;case 31:Ti(a,i),r&4&&Tv(a,i);break;case 13:Ti(a,i),r&4&&Y0(a,i),r&64&&(a=i.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(i=ll.bind(null,i),Qr(a,i))));break;case 22:if(r=i.memoizedState!==null||zi,!r){l=l!==null&&l.memoizedState!==null||ba,p=zi;var m=ba;zi=r,(ba=l)&&!m?Il(a,i,(i.subtreeFlags&8772)!==0):Ti(a,i),zi=p,ba=m}break;case 30:break;default:Ti(a,i)}}function B0(a){var l=a.alternate;l!==null&&(a.alternate=null,B0(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&Bd(l)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var Zt=null,zn=!1;function Zu(a,l,i){for(i=i.child;i!==null;)q0(a,l,i),i=i.sibling}function q0(a,l,i){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ro,i)}catch{}switch(i.tag){case 26:ba||Kl(i,l),Zu(a,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:ba||Kl(i,l);var r=Zt,p=zn;eu(i.type)&&(Zt=i.stateNode,zn=!1),Zu(a,l,i),_c(i.stateNode),Zt=r,zn=p;break;case 5:ba||Kl(i,l);case 6:if(r=Zt,p=zn,Zt=null,Zu(a,l,i),Zt=r,zn=p,Zt!==null)if(zn)try{(Zt.nodeType===9?Zt.body:Zt.nodeName==="HTML"?Zt.ownerDocument.body:Zt).removeChild(i.stateNode)}catch(m){Et(i,l,m)}else try{Zt.removeChild(i.stateNode)}catch(m){Et(i,l,m)}break;case 18:Zt!==null&&(zn?(a=Zt,ry(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.stateNode),as(a)):ry(Zt,i.stateNode));break;case 4:r=Zt,p=zn,Zt=i.stateNode.containerInfo,zn=!0,Zu(a,l,i),Zt=r,zn=p;break;case 0:case 11:case 14:case 15:nl(2,i,l),ba||nl(4,i,l),Zu(a,l,i);break;case 1:ba||(Kl(i,l),r=i.stateNode,typeof r.componentWillUnmount=="function"&&yo(i,l,r)),Zu(a,l,i);break;case 21:Zu(a,l,i);break;case 22:ba=(r=ba)||i.memoizedState!==null,Zu(a,l,i),ba=r;break;default:Zu(a,l,i)}}function Tv(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{as(a)}catch(i){Et(l,l.return,i)}}}function Y0(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{as(a)}catch(i){Et(l,l.return,i)}}function Df(a){switch(a.tag){case 31:case 13:case 19:var l=a.stateNode;return l===null&&(l=a.stateNode=new j0),l;case 22:return a=a.stateNode,l=a._retryCache,l===null&&(l=a._retryCache=new j0),l;default:throw Error(h(435,a.tag))}}function Mf(a,l){var i=Df(a);l.forEach(function(r){if(!i.has(r)){i.add(r);var p=Qv.bind(null,a,r);r.then(p,p)}})}function Tn(a,l){var i=l.deletions;if(i!==null)for(var r=0;r<i.length;r++){var p=i[r],m=a,S=l,A=S;e:for(;A!==null;){switch(A.tag){case 27:if(eu(A.type)){Zt=A.stateNode,zn=!1;break e}break;case 5:Zt=A.stateNode,zn=!1;break e;case 3:case 4:Zt=A.stateNode.containerInfo,zn=!0;break e}A=A.return}if(Zt===null)throw Error(h(160));q0(m,S,p),Zt=null,zn=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Gh(l,a),l=l.sibling}var Ge=null;function Gh(a,l){var i=a.alternate,r=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Tn(l,a),Nn(a),r&4&&(nl(3,a,a.return),Tl(3,a),nl(5,a,a.return));break;case 1:Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),r&64&&zi&&(a=a.updateQueue,a!==null&&(r=a.callbacks,r!==null&&(i=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var p=Ge;if(Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),r&4){var m=i!==null?i.memoizedState:null;if(r=a.memoizedState,i===null)if(r===null)if(a.stateNode===null){e:{r=a.type,i=a.memoizedProps,p=p.ownerDocument||p;t:switch(r){case"title":m=p.getElementsByTagName("title")[0],(!m||m[pu]||m[Ot]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(r),p.head.insertBefore(m,p.querySelector("head > title"))),Ka(m,r,i),m[Ot]=a,vt(m),r=m;break e;case"link":var S=hy("link","href",p).get(r+(i.href||""));if(S){for(var A=0;A<S.length;A++)if(m=S[A],m.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&m.getAttribute("rel")===(i.rel==null?null:i.rel)&&m.getAttribute("title")===(i.title==null?null:i.title)&&m.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(A,1);break t}}m=p.createElement(r),Ka(m,r,i),p.head.appendChild(m);break;case"meta":if(S=hy("meta","content",p).get(r+(i.content||""))){for(A=0;A<S.length;A++)if(m=S[A],m.getAttribute("content")===(i.content==null?null:""+i.content)&&m.getAttribute("name")===(i.name==null?null:i.name)&&m.getAttribute("property")===(i.property==null?null:i.property)&&m.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&m.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(A,1);break t}}m=p.createElement(r),Ka(m,r,i),p.head.appendChild(m);break;default:throw Error(h(468,r))}m[Ot]=a,vt(m),r=m}a.stateNode=r}else pp(p,a.type,a.stateNode);else a.stateNode=dy(p,r,a.memoizedProps);else m!==r?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,r===null?pp(p,a.type,a.stateNode):dy(p,r,a.memoizedProps)):r===null&&a.stateNode!==null&&Lh(a,a.memoizedProps,i.memoizedProps)}break;case 27:Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),i!==null&&r&4&&Lh(a,a.memoizedProps,i.memoizedProps);break;case 5:if(Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),a.flags&32){p=a.stateNode;try{yu(p,"")}catch(me){Et(a,a.return,me)}}r&4&&a.stateNode!=null&&(p=a.memoizedProps,Lh(a,p,i!==null?i.memoizedProps:p)),r&1024&&(Vh=!0);break;case 6:if(Tn(l,a),Nn(a),r&4){if(a.stateNode===null)throw Error(h(162));r=a.memoizedProps,i=a.stateNode;try{i.nodeValue=r}catch(me){Et(a,a.return,me)}}break;case 3:if(Fr=null,p=Ge,Ge=un(l.containerInfo),Tn(l,a),Ge=p,Nn(a),r&4&&i!==null&&i.memoizedState.isDehydrated)try{as(l.containerInfo)}catch(me){Et(a,a.return,me)}Vh&&(Vh=!1,L0(a));break;case 4:r=Ge,Ge=un(a.stateNode.containerInfo),Tn(l,a),Nn(a),Ge=r;break;case 12:Tn(l,a),Nn(a);break;case 31:Tn(l,a),Nn(a),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 13:Tn(l,a),Nn(a),a.child.flags&8192&&a.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Pl=$a()),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 22:p=a.memoizedState!==null;var C=i!==null&&i.memoizedState!==null,L=zi,$=ba;if(zi=L||p,ba=$||C,Tn(l,a),ba=$,zi=L,Nn(a),r&8192)e:for(l=a.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||C||zi||ba||pc(a)),i=null,l=a;;){if(l.tag===5||l.tag===26){if(i===null){C=i=l;try{if(m=C.stateNode,p)S=m.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{A=C.stateNode;var W=C.memoizedProps.style,V=W!=null&&W.hasOwnProperty("display")?W.display:null;A.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(me){Et(C,C.return,me)}}}else if(l.tag===6){if(i===null){C=l;try{C.stateNode.nodeValue=p?"":C.memoizedProps}catch(me){Et(C,C.return,me)}}}else if(l.tag===18){if(i===null){C=l;try{var J=C.stateNode;p?ma(J,!0):ma(C.stateNode,!1)}catch(me){Et(C,C.return,me)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===a)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}r&4&&(r=a.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,Mf(a,i))));break;case 19:Tn(l,a),Nn(a),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 30:break;case 21:break;default:Tn(l,a),Nn(a)}}function Nn(a){var l=a.flags;if(l&2){try{for(var i,r=a.return;r!==null;){if(Z0(r)){i=r;break}r=r.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=Dr(a);xr(a,m,p);break;case 5:var S=i.stateNode;i.flags&32&&(yu(S,""),i.flags&=-33);var A=Dr(a);xr(a,A,S);break;case 3:case 4:var C=i.stateNode.containerInfo,L=Dr(a);Mr(a,L,C);break;default:throw Error(h(161))}}catch($){Et(a,a.return,$)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function L0(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var l=a;L0(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),a=a.sibling}}function Ti(a,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)wf(a,l.alternate,l),l=l.sibling}function pc(a){for(a=a.child;a!==null;){var l=a;switch(l.tag){case 0:case 11:case 14:case 15:nl(4,l,l.return),pc(l);break;case 1:Kl(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&yo(l,l.return,i),pc(l);break;case 27:_c(l.stateNode);case 26:case 5:Kl(l,l.return),pc(l);break;case 22:l.memoizedState===null&&pc(l);break;case 30:pc(l);break;default:pc(l)}a=a.sibling}}function Il(a,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var r=l.alternate,p=a,m=l,S=m.flags;switch(m.tag){case 0:case 11:case 15:Il(p,m,i),Tl(4,m);break;case 1:if(Il(p,m,i),r=m,p=r.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(L){Et(r,r.return,L)}if(r=m,p=r.updateQueue,p!==null){var A=r.stateNode;try{var C=p.shared.hiddenCallbacks;if(C!==null)for(p.shared.hiddenCallbacks=null,p=0;p<C.length;p++)ph(C[p],A)}catch(L){Et(r,r.return,L)}}i&&S&64&&Yh(m),Nu(m,m.return);break;case 27:H0(m);case 26:case 5:Il(p,m,i),i&&r===null&&S&4&&N0(m),Nu(m,m.return);break;case 12:Il(p,m,i);break;case 31:Il(p,m,i),i&&S&4&&Tv(p,m);break;case 13:Il(p,m,i),i&&S&4&&Y0(p,m);break;case 22:m.memoizedState===null&&Il(p,m,i),Nu(m,m.return);break;case 30:break;default:Il(p,m,i)}l=l.sibling}}function Xh(a,l){var i=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(a!=null&&a.refCount++,i!=null&&af(i))}function Qh(a,l){a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&af(a))}function Al(a,l,i,r){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Rr(a,l,i,r),l=l.sibling}function Rr(a,l,i,r){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Al(a,l,i,r),p&2048&&Tl(9,l);break;case 1:Al(a,l,i,r);break;case 3:Al(a,l,i,r),p&2048&&(a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&af(a)));break;case 12:if(p&2048){Al(a,l,i,r),a=l.stateNode;try{var m=l.memoizedProps,S=m.id,A=m.onPostCommit;typeof A=="function"&&A(S,l.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(C){Et(l,l.return,C)}}else Al(a,l,i,r);break;case 31:Al(a,l,i,r);break;case 13:Al(a,l,i,r);break;case 23:break;case 22:m=l.stateNode,S=l.alternate,l.memoizedState!==null?m._visibility&2?Al(a,l,i,r):xf(a,l):m._visibility&2?Al(a,l,i,r):(m._visibility|=2,Ur(a,l,i,r,(l.subtreeFlags&10256)!==0||!1)),p&2048&&Xh(S,l);break;case 24:Al(a,l,i,r),p&2048&&Qh(l.alternate,l);break;default:Al(a,l,i,r)}}function Ur(a,l,i,r,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=a,S=l,A=i,C=r,L=S.flags;switch(S.tag){case 0:case 11:case 15:Ur(m,S,A,C,p),Tl(8,S);break;case 23:break;case 22:var $=S.stateNode;S.memoizedState!==null?$._visibility&2?Ur(m,S,A,C,p):xf(m,S):($._visibility|=2,Ur(m,S,A,C,p)),p&&L&2048&&Xh(S.alternate,S);break;case 24:Ur(m,S,A,C,p),p&&L&2048&&Qh(S.alternate,S);break;default:Ur(m,S,A,C,p)}l=l.sibling}}function xf(a,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=a,r=l,p=r.flags;switch(r.tag){case 22:xf(i,r),p&2048&&Xh(r.alternate,r);break;case 24:xf(i,r),p&2048&&Qh(r.alternate,r);break;default:xf(i,r)}l=l.sibling}}var Zn=8192;function Hu(a,l,i){if(a.subtreeFlags&Zn)for(a=a.child;a!==null;)Av(a,l,i),a=a.sibling}function Av(a,l,i){switch(a.tag){case 26:Hu(a,l,i),a.flags&Zn&&a.memoizedState!==null&&Lu(i,Ge,a.memoizedState,a.memoizedProps);break;case 5:Hu(a,l,i);break;case 3:case 4:var r=Ge;Ge=un(a.stateNode.containerInfo),Hu(a,l,i),Ge=r;break;case 22:a.memoizedState===null&&(r=a.alternate,r!==null&&r.memoizedState!==null?(r=Zn,Zn=16777216,Hu(a,l,i),Zn=r):Hu(a,l,i));break;default:Hu(a,l,i)}}function Jh(a){var l=a.alternate;if(l!==null&&(a=l.child,a!==null)){l.child=null;do l=a.sibling,a.sibling=null,a=l;while(a!==null)}}function Nr(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];ja=r,$h(r,a)}Jh(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)V0(a),a=a.sibling}function V0(a){switch(a.tag){case 0:case 11:case 15:Nr(a),a.flags&2048&&nl(9,a,a.return);break;case 3:Nr(a);break;case 12:Nr(a);break;case 22:var l=a.stateNode;a.memoizedState!==null&&l._visibility&2&&(a.return===null||a.return.tag!==13)?(l._visibility&=-3,Cf(a)):Nr(a);break;default:Nr(a)}}function Cf(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];ja=r,$h(r,a)}Jh(a)}for(a=a.child;a!==null;){switch(l=a,l.tag){case 0:case 11:case 15:nl(8,l,l.return),Cf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Cf(l));break;default:Cf(l)}a=a.sibling}}function $h(a,l){for(;ja!==null;){var i=ja;switch(i.tag){case 0:case 11:case 15:nl(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:af(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,ja=r;else e:for(i=a;ja!==null;){r=ja;var p=r.sibling,m=r.return;if(B0(r),r===i){ja=null;break e}if(p!==null){p.return=m,ja=p;break e}ja=m}}}var Ov={getCacheForType:function(a){var l=P(da),i=l.data.get(a);return i===void 0&&(i=a(),l.data.set(a,i)),i},cacheSignal:function(){return P(da).controller.signal}},G0=typeof WeakMap=="function"?WeakMap:Map,dt=0,Dt=null,lt=null,We=0,_t=0,Ce=null,ju=!1,go=!1,kh=!1,Fl=0,Ht=0,Wl=0,mc=0,Kh=0,An=0,Pt=0,Rf=null,ea=null,Ih=!1,Pl=0,X0=0,mt=1/0,Zr=null,Xt=null,Oa=0,Ai=null,vo=null,Bu=0,Hn=0,Fh=null,Wh=null,Hr=0,Uf=null;function jn(){return(dt&2)!==0&&We!==0?We&-We:H.T!==null?np():Hd()}function wv(){if(An===0)if((We&536870912)===0||nt){var a=Rl;Rl<<=1,(Rl&3932160)===0&&(Rl=262144),An=a}else An=536870912;return a=bn.current,a!==null&&(a.flags|=32),An}function On(a,l,i){(a===Dt&&(_t===2||_t===9)||a.cancelPendingCommit!==null)&&(qu(a,0),Oi(a,We,An,!1)),Kc(a,i),((dt&2)===0||a!==Dt)&&(a===Dt&&((dt&2)===0&&(mc|=i),Ht===4&&Oi(a,We,An,!1)),Yu(a))}function Dv(a,l,i){if((dt&6)!==0)throw Error(h(327));var r=!i&&(l&127)===0&&(l&a.expiredLanes)===0||Ul(a,l),p=r?Uv(a,l):ep(a,l,!0),m=r;do{if(p===0){go&&!r&&Oi(a,l,0,!1);break}else{if(i=a.current.alternate,m&&!Mv(i)){p=ep(a,l,!1),m=!1;continue}if(p===2){if(m=l,a.errorRecoveryDisabledLanes&m)var S=0;else S=a.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;e:{var A=a;p=Rf;var C=A.current.memoizedState.isDehydrated;if(C&&(qu(A,S).flags|=256),S=ep(A,S,!1),S!==2){if(kh&&!C){A.errorRecoveryDisabledLanes|=m,mc|=m,p=4;break e}m=ea,ea=p,m!==null&&(ea===null?ea=m:ea.push.apply(ea,m))}p=S}if(m=!1,p!==2)continue}}if(p===1){qu(a,0),Oi(a,l,0,!0);break}e:{switch(r=a,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:Oi(r,l,An,!ju);break e;case 2:ea=null;break;case 3:case 5:break;default:throw Error(h(329))}if((l&62914560)===l&&(p=Pl+300-$a(),10<p)){if(Oi(r,l,An,!ju),sa(r,0,!0)!==0)break e;Bu=l,r.timeoutHandle=Gf(Nf.bind(null,r,i,ea,Zr,Ih,l,An,mc,Pt,ju,m,"Throttled",-0,0),p);break e}Nf(r,i,ea,Zr,Ih,l,An,mc,Pt,ju,m,null,-0,0)}}break}while(!0);Yu(a)}function Nf(a,l,i,r,p,m,S,A,C,L,$,W,V,J){if(a.timeoutHandle=-1,W=l.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zl},Av(l,m,W);var me=(m&62914560)===m?Pl-$a():(m&4194048)===m?X0-$a():0;if(me=my(W,me),me!==null){Bu=m,a.cancelPendingCommit=me(jv.bind(null,a,l,m,i,r,p,S,A,C,$,W,null,V,J)),Oi(a,m,S,!L);return}}jv(a,l,m,i,r,p,S,A,C)}function Mv(a){for(var l=a;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var r=0;r<i.length;r++){var p=i[r],m=p.getSnapshot;p=p.value;try{if(!nn(m(),p))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Oi(a,l,i,r){l&=~Kh,l&=~mc,a.suspendedLanes|=l,a.pingedLanes&=~l,r&&(a.warmLanes|=l),r=a.expirationTimes;for(var p=l;0<p;){var m=31-dn(p),S=1<<m;r[m]=-1,p&=~S}i!==0&&Zs(a,i,l)}function jr(){return(dt&6)===0?(Di(0),!1):!0}function Q0(){if(lt!==null){if(_t===0)var a=lt.return;else a=lt,Xl=mi=null,hf(a),lo=null,nc=0,a=lt;for(;a!==null;)zv(a.alternate,a),a=a.return;lt=null}}function qu(a,l){var i=a.timeoutHandle;i!==-1&&(a.timeoutHandle=-1,Pv(i)),i=a.cancelPendingCommit,i!==null&&(a.cancelPendingCommit=null,i()),Bu=0,Q0(),Dt=a,lt=i=hi(a.current,null),We=l,_t=0,Ce=null,ju=!1,go=Ul(a,l),kh=!1,Pt=An=Kh=mc=Wl=Ht=0,ea=Rf=null,Ih=!1,(l&8)!==0&&(l|=l&32);var r=a.entangledLanes;if(r!==0)for(a=a.entanglements,r&=l;0<r;){var p=31-dn(r),m=1<<p;l|=a[p],r&=~m}return Fl=l,Jn(),i}function Br(a,l){Le=null,H.H=_f,l===to||l===mr?(l=e0(),_t=3):l===tc?(l=e0(),_t=4):_t=l===Zh?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Ce=l,lt===null&&(Ht=1,Or(a,kn(l,a.current)))}function xv(){var a=bn.current;return a===null?!0:(We&4194048)===We?Pn===null:(We&62914560)===We||(We&536870912)!==0?a===Pn:!1}function Cv(){var a=H.H;return H.H=_f,a===null?_f:a}function Rv(){var a=H.A;return H.A=Ov,a}function Ph(){Ht=4,ju||(We&4194048)!==We&&bn.current!==null||(go=!0),(Wl&134217727)===0&&(mc&134217727)===0||Dt===null||Oi(Dt,We,An,!1)}function ep(a,l,i){var r=dt;dt|=2;var p=Cv(),m=Rv();(Dt!==a||We!==l)&&(Zr=null,qu(a,l)),l=!1;var S=Ht;e:do try{if(_t!==0&&lt!==null){var A=lt,C=Ce;switch(_t){case 8:Q0(),S=6;break e;case 3:case 2:case 9:case 6:bn.current===null&&(l=!0);var L=_t;if(_t=0,Ce=null,yc(a,A,C,L),i&&go){S=0;break e}break;default:L=_t,_t=0,Ce=null,yc(a,A,C,L)}}k1(),S=Ht;break}catch($){Br(a,$)}while(!0);return l&&a.shellSuspendCounter++,Xl=mi=null,dt=r,H.H=p,H.A=m,lt===null&&(Dt=null,We=0,Jn()),S}function k1(){for(;lt!==null;)Nv(lt)}function Uv(a,l){var i=dt;dt|=2;var r=Cv(),p=Rv();Dt!==a||We!==l?(Zr=null,mt=$a()+500,qu(a,l)):go=Ul(a,l);e:do try{if(_t!==0&&lt!==null){l=lt;var m=Ce;t:switch(_t){case 1:_t=0,Ce=null,yc(a,l,m,1);break;case 2:case 9:if(Wm(m)){_t=0,Ce=null,Zv(l);break}l=function(){_t!==2&&_t!==9||Dt!==a||(_t=7),Yu(a)},m.then(l,l);break e;case 3:_t=7;break e;case 4:_t=5;break e;case 7:Wm(m)?(_t=0,Ce=null,Zv(l)):(_t=0,Ce=null,yc(a,l,m,7));break;case 5:var S=null;switch(lt.tag){case 26:S=lt.memoizedState;case 5:case 27:var A=lt;if(S?qn(S):A.stateNode.complete){_t=0,Ce=null;var C=A.sibling;if(C!==null)lt=C;else{var L=A.return;L!==null?(lt=L,Zf(L)):lt=null}break t}}_t=0,Ce=null,yc(a,l,m,5);break;case 6:_t=0,Ce=null,yc(a,l,m,6);break;case 8:Q0(),Ht=6;break e;default:throw Error(h(462))}}bo();break}catch($){Br(a,$)}while(!0);return Xl=mi=null,H.H=r,H.A=p,dt=i,lt!==null?0:(Dt=null,We=0,Jn(),Ht)}function bo(){for(;lt!==null&&!Co();)Nv(lt)}function Nv(a){var l=C0(a.alternate,a,Fl);a.memoizedProps=a.pendingProps,l===null?Zf(a):lt=l}function Zv(a){var l=a,i=l.alternate;switch(l.tag){case 15:case 0:l=po(i,l,l.pendingProps,l.type,void 0,We);break;case 11:l=po(i,l,l.pendingProps,l.type.render,l.ref,We);break;case 5:hf(l);default:zv(i,l),l=lt=Qm(l,Fl),l=C0(i,l,Fl)}a.memoizedProps=a.pendingProps,l===null?Zf(a):lt=l}function yc(a,l,i,r){Xl=mi=null,hf(l),lo=null,nc=0;var p=l.return;try{if($1(a,p,l,i,We)){Ht=1,Or(a,kn(i,a.current)),lt=null;return}}catch(m){if(p!==null)throw lt=p,m;Ht=1,Or(a,kn(i,a.current)),lt=null;return}l.flags&32768?(nt||r===1?a=!0:go||(We&536870912)!==0?a=!1:(ju=a=!0,(r===2||r===9||r===3||r===6)&&(r=bn.current,r!==null&&r.tag===13&&(r.flags|=16384))),Hv(l,a)):Zf(l)}function Zf(a){var l=a;do{if((l.flags&32768)!==0){Hv(l,ju);return}a=l.return;var i=_v(l.alternate,l,Fl);if(i!==null){lt=i;return}if(l=l.sibling,l!==null){lt=l;return}lt=l=a}while(l!==null);Ht===0&&(Ht=5)}function Hv(a,l){do{var i=Ev(a.alternate,a);if(i!==null){i.flags&=32767,lt=i;return}if(i=a.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(a=a.sibling,a!==null)){lt=a;return}lt=a=i}while(a!==null);Ht=6,lt=null}function jv(a,l,i,r,p,m,S,A,C){a.cancelPendingCommit=null;do qr();while(Oa!==0);if((dt&6)!==0)throw Error(h(327));if(l!==null){if(l===a.current)throw Error(h(177));if(m=l.lanes|l.childLanes,m|=bl,Nd(a,i,m,S,A,C),a===Dt&&(lt=Dt=null,We=0),vo=l,Ai=a,Bu=i,Hn=m,Fh=p,Wh=r,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,Jv(Li,function(){return Vv(),null})):(a.callbackNode=null,a.callbackPriority=0),r=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||r){r=H.T,H.T=null,p=ee.p,ee.p=2,S=dt,dt|=4;try{Cr(a,l,i)}finally{dt=S,ee.p=p,H.T=r}}Oa=1,Bv(),qv(),Yv()}}function Bv(){if(Oa===1){Oa=0;var a=Ai,l=vo,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=H.T,H.T=null;var r=ee.p;ee.p=2;var p=dt;dt|=4;try{Gh(l,a);var m=rp,S=Ii(a.containerInfo),A=m.focusedElem,C=m.selectionRange;if(S!==A&&A&&A.ownerDocument&&$o(A.ownerDocument.documentElement,A)){if(C!==null&&Js(A)){var L=C.start,$=C.end;if($===void 0&&($=L),"selectionStart"in A)A.selectionStart=L,A.selectionEnd=Math.min($,A.value.length);else{var W=A.ownerDocument||document,V=W&&W.defaultView||window;if(V.getSelection){var J=V.getSelection(),me=A.textContent.length,we=Math.min(C.start,me),xt=C.end===void 0?we:Math.min(C.end,me);!J.extend&&we>xt&&(S=xt,xt=we,we=S);var B=Gm(A,we),N=Gm(A,xt);if(B&&N&&(J.rangeCount!==1||J.anchorNode!==B.node||J.anchorOffset!==B.offset||J.focusNode!==N.node||J.focusOffset!==N.offset)){var q=W.createRange();q.setStart(B.node,B.offset),J.removeAllRanges(),we>xt?(J.addRange(q),J.extend(N.node,N.offset)):(q.setEnd(N.node,N.offset),J.addRange(q))}}}}for(W=[],J=A;J=J.parentNode;)J.nodeType===1&&W.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<W.length;A++){var I=W[A];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}wa=!!cp,rp=cp=null}finally{dt=p,ee.p=r,H.T=i}}a.current=l,Oa=2}}function qv(){if(Oa===2){Oa=0;var a=Ai,l=vo,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=H.T,H.T=null;var r=ee.p;ee.p=2;var p=dt;dt|=4;try{wf(a,l.alternate,l)}finally{dt=p,ee.p=r,H.T=i}}Oa=3}}function Yv(){if(Oa===4||Oa===3){Oa=0,Cd();var a=Ai,l=vo,i=Bu,r=Wh;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Oa=5:(Oa=0,vo=Ai=null,Lv(a,a.pendingLanes));var p=a.pendingLanes;if(p===0&&(Xt=null),gm(i),l=l.stateNode,Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(Ro,l,void 0,(l.current.flags&128)===128)}catch{}if(r!==null){l=H.T,p=ee.p,ee.p=2,H.T=null;try{for(var m=a.onRecoverableError,S=0;S<r.length;S++){var A=r[S];m(A.value,{componentStack:A.stack})}}finally{H.T=l,ee.p=p}}(Bu&3)!==0&&qr(),Yu(a),p=a.pendingLanes,(i&261930)!==0&&(p&42)!==0?a===Uf?Hr++:(Hr=0,Uf=a):Hr=0,Di(0)}}function Lv(a,l){(a.pooledCacheLanes&=l)===0&&(l=a.pooledCache,l!=null&&(a.pooledCache=null,af(l)))}function qr(){return Bv(),qv(),Yv(),Vv()}function Vv(){if(Oa!==5)return!1;var a=Ai,l=Hn;Hn=0;var i=gm(Bu),r=H.T,p=ee.p;try{ee.p=32>i?32:i,H.T=null,i=Fh,Fh=null;var m=Ai,S=Bu;if(Oa=0,vo=Ai=null,Bu=0,(dt&6)!==0)throw Error(h(331));var A=dt;if(dt|=4,V0(m.current),Rr(m,m.current,S,i),dt=A,Di(0,!1),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Ro,m)}catch{}return!0}finally{ee.p=p,H.T=r,Lv(a,l)}}function Gv(a,l,i){l=kn(i,l),l=E0(a.stateNode,l,2),a=Wn(a,l,2),a!==null&&(Kc(a,2),Yu(a))}function Et(a,l,i){if(a.tag===3)Gv(a,a,i);else for(;l!==null;){if(l.tag===3){Gv(l,a,i);break}else if(l.tag===1){var r=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xt===null||!Xt.has(r))){a=kn(i,a),i=z0(2),r=Wn(l,i,2),r!==null&&(T0(i,r,l,a),Kc(r,2),Yu(r));break}}l=l.return}}function Hf(a,l,i){var r=a.pingCache;if(r===null){r=a.pingCache=new G0;var p=new Set;r.set(l,p)}else p=r.get(l),p===void 0&&(p=new Set,r.set(l,p));p.has(i)||(kh=!0,p.add(i),a=J0.bind(null,a,l,i),l.then(a,a))}function J0(a,l,i){var r=a.pingCache;r!==null&&r.delete(l),a.pingedLanes|=a.suspendedLanes&i,a.warmLanes&=~i,Dt===a&&(We&i)===i&&(Ht===4||Ht===3&&(We&62914560)===We&&300>$a()-Pl?(dt&2)===0&&qu(a,0):Kh|=i,Pt===We&&(Pt=0)),Yu(a)}function Xv(a,l){l===0&&(l=Uo()),a=di(a,l),a!==null&&(Kc(a,l),Yu(a))}function ll(a){var l=a.memoizedState,i=0;l!==null&&(i=l.retryLane),Xv(a,i)}function Qv(a,l){var i=0;switch(a.tag){case 31:case 13:var r=a.stateNode,p=a.memoizedState;p!==null&&(i=p.retryLane);break;case 19:r=a.stateNode;break;case 22:r=a.stateNode._retryCache;break;default:throw Error(h(314))}r!==null&&r.delete(l),Xv(a,i)}function Jv(a,l){return Ut(a,l)}var Yr=null,gc=null,$0=!1,tp=!1,k0=!1,wi=0;function Yu(a){a!==gc&&a.next===null&&(gc===null?Yr=gc=a:gc=gc.next=a),tp=!0,$0||($0=!0,Bf())}function Di(a,l){if(!k0&&tp){k0=!0;do for(var i=!1,r=Yr;r!==null;){if(a!==0){var p=r.pendingLanes;if(p===0)var m=0;else{var S=r.suspendedLanes,A=r.pingedLanes;m=(1<<31-dn(42|a)+1)-1,m&=p&~(S&~A),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,vc(r,m))}else m=We,m=sa(r,r===Dt?m:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(m&3)===0||Ul(r,m)||(i=!0,vc(r,m));r=r.next}while(i);k0=!1}}function ap(){K0()}function K0(){tp=$0=!1;var a=0;wi!==0&&K1()&&(a=wi);for(var l=$a(),i=null,r=Yr;r!==null;){var p=r.next,m=I0(r,l);m===0?(r.next=null,i===null?Yr=p:i.next=p,p===null&&(gc=i)):(i=r,(a!==0||(m&3)!==0)&&(tp=!0)),r=p}Oa!==0&&Oa!==5||Di(a),wi!==0&&(wi=0)}function I0(a,l){for(var i=a.suspendedLanes,r=a.pingedLanes,p=a.expirationTimes,m=a.pendingLanes&-62914561;0<m;){var S=31-dn(m),A=1<<S,C=p[S];C===-1?((A&i)===0||(A&r)!==0)&&(p[S]=kc(A,l)):C<=l&&(a.expiredLanes|=A),m&=~A}if(l=Dt,i=We,i=sa(a,a===l?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),r=a.callbackNode,i===0||a===l&&(_t===2||_t===9)||a.cancelPendingCommit!==null)return r!==null&&r!==null&&pm(r),a.callbackNode=null,a.callbackPriority=0;if((i&3)===0||Ul(a,i)){if(l=i&-i,l===a.callbackPriority)return l;switch(r!==null&&pm(r),gm(i)){case 2:case 8:i=Ud;break;case 32:i=Li;break;case 268435456:i=mm;break;default:i=Li}return r=jf.bind(null,a),i=Ut(i,r),a.callbackPriority=l,a.callbackNode=i,l}return r!==null&&r!==null&&pm(r),a.callbackPriority=2,a.callbackNode=null,2}function jf(a,l){if(Oa!==0&&Oa!==5)return a.callbackNode=null,a.callbackPriority=0,null;var i=a.callbackNode;if(qr()&&a.callbackNode!==i)return null;var r=We;return r=sa(a,a===Dt?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),r===0?null:(Dv(a,r,l),I0(a,$a()),a.callbackNode!=null&&a.callbackNode===i?jf.bind(null,a):null)}function vc(a,l){if(qr())return null;Dv(a,l,!0)}function Bf(){eb(function(){(dt&6)!==0?Ut(Rd,ap):K0()})}function np(){if(wi===0){var a=eo;a===0&&(a=oi,oi<<=1,(oi&261888)===0&&(oi=256)),wi=a}return wi}function $v(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:ml(""+a)}function bc(a,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,a.id&&i.setAttribute("form",a.id),l.parentNode.insertBefore(i,l),a=new FormData(a),i.parentNode.removeChild(i),a}function qf(a,l,i,r,p){if(l==="submit"&&i&&i.stateNode===p){var m=$v((p[hn]||null).action),S=r.submitter;S&&(l=(l=S[hn]||null)?$v(l.formAction):S.getAttribute("formAction"),l!==null&&(m=l,S=null));var A=new Gs("action","action",null,r,p);a.push({event:A,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(wi!==0){var C=S?bc(p,S):new FormData(p);Tr(i,{pending:!0,data:C,method:p.method,action:m},null,C)}}else typeof m=="function"&&(A.preventDefault(),C=S?bc(p,S):new FormData(p),Tr(i,{pending:!0,data:C,method:p.method,action:m},m,C))},currentTarget:p}]})}}for(var lp=0;lp<rr.length;lp++){var Lr=rr[lp],F0=Lr.toLowerCase(),W0=Lr[0].toUpperCase()+Lr.slice(1);mn(F0,"on"+W0)}mn(ks,"onAnimationEnd"),mn(Xm,"onAnimationIteration"),mn(lh,"onAnimationStart"),mn("dblclick","onDoubleClick"),mn("focusin","onFocus"),mn("focusout","onBlur"),mn(ko,"onTransitionRun"),mn(Ks,"onTransitionStart"),mn(Su,"onTransitionCancel"),mn(lv,"onTransitionEnd"),mu("onMouseEnter",["mouseout","mouseover"]),mu("onMouseLeave",["mouseout","mouseover"]),mu("onPointerEnter",["pointerout","pointerover"]),mu("onPointerLeave",["pointerout","pointerover"]),Qi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vr));function Kv(a,l){l=(l&4)!==0;for(var i=0;i<a.length;i++){var r=a[i],p=r.event;r=r.listeners;e:{var m=void 0;if(l)for(var S=r.length-1;0<=S;S--){var A=r[S],C=A.instance,L=A.currentTarget;if(A=A.listener,C!==m&&p.isPropagationStopped())break e;m=A,p.currentTarget=L;try{m(p)}catch($){Ko($)}p.currentTarget=null,m=C}else for(S=0;S<r.length;S++){if(A=r[S],C=A.instance,L=A.currentTarget,A=A.listener,C!==m&&p.isPropagationStopped())break e;m=A,p.currentTarget=L;try{m(p)}catch($){Ko($)}p.currentTarget=null,m=C}}}}function tt(a,l){var i=l[jd];i===void 0&&(i=l[jd]=new Set);var r=a+"__bubble";i.has(r)||(Yf(l,a,2,!1),i.add(r))}function P0(a,l,i){var r=0;l&&(r|=4),Yf(i,a,r,l)}var up="_reactListening"+Math.random().toString(36).slice(2);function Gr(a){if(!a[up]){a[up]=!0,jo.forEach(function(i){i!=="selectionchange"&&(kv.has(i)||P0(i,!1,a),P0(i,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[up]||(l[up]=!0,P0("selectionchange",!1,l))}}function Yf(a,l,i,r){switch(Kf(l)){case 2:var p=Vu;break;case 8:p=Gu;break;default:p=Ia}i=p.bind(null,l,i,a),p=void 0,!Ls||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),r?p!==void 0?a.addEventListener(l,i,{capture:!0,passive:p}):a.addEventListener(l,i,!0):p!==void 0?a.addEventListener(l,i,{passive:p}):a.addEventListener(l,i,!1)}function ey(a,l,i,r,p){var m=r;if((l&1)===0&&(l&2)===0&&r!==null)e:for(;;){if(r===null)return;var S=r.tag;if(S===3||S===4){var A=r.stateNode.containerInfo;if(A===p)break;if(S===4)for(S=r.return;S!==null;){var C=S.tag;if((C===3||C===4)&&S.stateNode.containerInfo===p)return;S=S.return}for(;A!==null;){if(S=No(A),S===null)return;if(C=S.tag,C===5||C===6||C===26||C===27){r=m=S;continue e}A=A.parentNode}}r=r.return}Om(function(){var L=m,$=Qd(i),W=[];e:{var V=_u.get(a);if(V!==void 0){var J=Gs,me=a;switch(a){case"keypress":if($d(i)===0)break e;case"keydown":case"keyup":J=Fd;break;case"focusin":me="focus",J=Kd;break;case"focusout":me="blur",J=Kd;break;case"beforeblur":case"afterblur":J=Kd;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=Jg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Fg;break;case ks:case Xm:case lh:J=kg;break;case lv:J=G1;break;case"scroll":case"scrollend":J=L1;break;case"wheel":J=X1;break;case"copy":case"cut":case"paste":J=Lo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Bl;break;case"toggle":case"beforetoggle":J=Zm}var we=(l&4)!==0,xt=!we&&(a==="scroll"||a==="scrollend"),B=we?V!==null?V+"Capture":null:V;we=[];for(var N=L,q;N!==null;){var I=N;if(q=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||q===null||B===null||(I=Ca(N,B),I!=null&&we.push(Lf(N,I,q))),xt)break;N=N.return}0<we.length&&(V=new J(V,me,null,i,$),W.push({event:V,listeners:we}))}}if((l&7)===0){e:{if(V=a==="mouseover"||a==="pointerover",J=a==="mouseout"||a==="pointerout",V&&i!==Xd&&(me=i.relatedTarget||i.fromElement)&&(No(me)||me[Gi]))break e;if((J||V)&&(V=$.window===$?$:(V=$.ownerDocument)?V.defaultView||V.parentWindow:window,J?(me=i.relatedTarget||i.toElement,J=L,me=me?No(me):null,me!==null&&(xt=b(me),we=me.tag,me!==xt||we!==5&&we!==27&&we!==6)&&(me=null)):(J=null,me=L),J!==me)){if(we=lr,I="onMouseLeave",B="onMouseEnter",N="mouse",(a==="pointerout"||a==="pointerover")&&(we=Bl,I="onPointerLeave",B="onPointerEnter",N="pointer"),xt=J==null?V:Ic(J),q=me==null?V:Ic(me),V=new we(I,N+"leave",J,i,$),V.target=xt,V.relatedTarget=q,I=null,No($)===L&&(we=new we(B,N+"enter",me,i,$),we.target=q,we.relatedTarget=xt,I=we),xt=I,J&&me)t:{for(we=Iv,B=J,N=me,q=0,I=B;I;I=we(I))q++;I=0;for(var _e=N;_e;_e=we(_e))I++;for(;0<q-I;)B=we(B),q--;for(;0<I-q;)N=we(N),I--;for(;q--;){if(B===N||N!==null&&B===N.alternate){we=B;break t}B=we(B),N=we(N)}we=null}else we=null;J!==null&&ip(W,V,J,we,!1),me!==null&&xt!==null&&ip(W,xt,me,we,!0)}}e:{if(V=L?Ic(L):window,J=V.nodeName&&V.nodeName.toLowerCase(),J==="select"||J==="input"&&V.type==="file")var st=Ym;else if(bu(V))if(eh)st=Jo;else{st=av;var ge=tv}else J=V.nodeName,!J||J.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?L&&Am(L.elementType)&&(st=Ym):st=Ki;if(st&&(st=st(a,L))){qm(W,st,i,$);break e}ge&&ge(a,V,L),a==="focusout"&&L&&V.type==="number"&&L.memoizedProps.value!=null&&Bo(V,"number",V.value)}switch(ge=L?Ic(L):window,a){case"focusin":(bu(ge)||ge.contentEditable==="true")&&(Fi=ge,or=L,vl=null);break;case"focusout":vl=or=Fi=null;break;case"mousedown":Yl=!0;break;case"contextmenu":case"mouseup":case"dragend":Yl=!1,nh(W,i,$);break;case"selectionchange":if($s)break;case"keydown":case"keyup":nh(W,i,$)}var Ye;if(ur)e:{switch(a){case"compositionstart":var Xe="onCompositionStart";break e;case"compositionend":Xe="onCompositionEnd";break e;case"compositionupdate":Xe="onCompositionUpdate";break e}Xe=void 0}else Go?Pd(a,i)&&(Xe="onCompositionEnd"):a==="keydown"&&i.keyCode===229&&(Xe="onCompositionStart");Xe&&(Hm&&i.locale!=="ko"&&(Go||Xe!=="onCompositionStart"?Xe==="onCompositionEnd"&&Go&&(Ye=Dm()):(si=$,wm="value"in si?si.value:si.textContent,Go=!0)),ge=Vf(L,Xe),0<ge.length&&(Xe=new Kg(Xe,a,null,i,$),W.push({event:Xe,listeners:ge}),Ye?Xe.data=Ye:(Ye=jm(i),Ye!==null&&(Xe.data=Ye)))),(Ye=an?ev(a,i):Q1(a,i))&&(Xe=Vf(L,"onBeforeInput"),0<Xe.length&&(ge=new Kg("onBeforeInput","beforeinput",null,i,$),W.push({event:ge,listeners:Xe}),ge.data=Ye)),qf(W,a,L,i,$)}Kv(W,l)})}function Lf(a,l,i){return{instance:a,listener:l,currentTarget:i}}function Vf(a,l){for(var i=l+"Capture",r=[];a!==null;){var p=a,m=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||m===null||(p=Ca(a,i),p!=null&&r.unshift(Lf(a,p,m)),p=Ca(a,l),p!=null&&r.push(Lf(a,p,m))),a.tag===3)return r;a=a.return}return[]}function Iv(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function ip(a,l,i,r,p){for(var m=l._reactName,S=[];i!==null&&i!==r;){var A=i,C=A.alternate,L=A.stateNode;if(A=A.tag,C!==null&&C===r)break;A!==5&&A!==26&&A!==27||L===null||(C=L,p?(L=Ca(i,m),L!=null&&S.unshift(Lf(i,L,C))):p||(L=Ca(i,m),L!=null&&S.push(Lf(i,L,C)))),i=i.return}S.length!==0&&a.push({event:l,listeners:S})}var Fv=/\r\n?/g,ty=/\u0000|\uFFFD/g;function ay(a){return(typeof a=="string"?a:""+a).replace(Fv,`
10
- `).replace(ty,"")}function ny(a,l){return l=ay(l),ay(a)===l}function Mt(a,l,i,r,p,m){switch(i){case"children":typeof r=="string"?l==="body"||l==="textarea"&&r===""||yu(a,r):(typeof r=="number"||typeof r=="bigint")&&l!=="body"&&yu(a,""+r);break;case"className":Ld(a,"class",r);break;case"tabIndex":Ld(a,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Ld(a,i,r);break;case"style":Gg(a,r,m);break;case"data":if(l!=="object"){Ld(a,"data",r);break}case"src":case"href":if(r===""&&(l!=="a"||i!=="href")){a.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){a.removeAttribute(i);break}r=ml(""+r),a.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){a.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(i==="formAction"?(l!=="input"&&Mt(a,l,"name",p.name,p,null),Mt(a,l,"formEncType",p.formEncType,p,null),Mt(a,l,"formMethod",p.formMethod,p,null),Mt(a,l,"formTarget",p.formTarget,p,null)):(Mt(a,l,"encType",p.encType,p,null),Mt(a,l,"method",p.method,p,null),Mt(a,l,"target",p.target,p,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){a.removeAttribute(i);break}r=ml(""+r),a.setAttribute(i,r);break;case"onClick":r!=null&&(a.onclick=Zl);break;case"onScroll":r!=null&&tt("scroll",a);break;case"onScrollEnd":r!=null&&tt("scrollend",a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));a.innerHTML=i}}break;case"multiple":a.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":a.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){a.removeAttribute("xlink:href");break}i=ml(""+r),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,""+r):a.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,""):a.removeAttribute(i);break;case"capture":case"download":r===!0?a.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,r):a.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?a.setAttribute(i,r):a.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?a.removeAttribute(i):a.setAttribute(i,r);break;case"popover":tt("beforetoggle",a),tt("toggle",a),Pc(a,"popover",r);break;case"xlinkActuate":ci(a,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ci(a,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ci(a,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ci(a,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ci(a,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ci(a,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ci(a,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ci(a,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ci(a,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Pc(a,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=Y1.get(i)||i,Pc(a,i,r))}}function ly(a,l,i,r,p,m){switch(i){case"style":Gg(a,r,m);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));a.innerHTML=i}}break;case"children":typeof r=="string"?yu(a,r):(typeof r=="number"||typeof r=="bigint")&&yu(a,""+r);break;case"onScroll":r!=null&&tt("scroll",a);break;case"onScrollEnd":r!=null&&tt("scrollend",a);break;case"onClick":r!=null&&(a.onclick=Zl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Xi.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),l=i.slice(2,p?i.length-7:void 0),m=a[hn]||null,m=m!=null?m[i]:null,typeof m=="function"&&a.removeEventListener(l,m,p),typeof r=="function")){typeof m!="function"&&m!==null&&(i in a?a[i]=null:a.hasAttribute(i)&&a.removeAttribute(i)),a.addEventListener(l,r,p);break e}i in a?a[i]=r:r===!0?a.setAttribute(i,""):Pc(a,i,r)}}}function Ka(a,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tt("error",a),tt("load",a);var r=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var S=i[m];if(S!=null)switch(m){case"src":r=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Mt(a,l,m,S,i,null)}}p&&Mt(a,l,"srcSet",i.srcSet,i,null),r&&Mt(a,l,"src",i.src,i,null);return;case"input":tt("invalid",a);var A=m=S=p=null,C=null,L=null;for(r in i)if(i.hasOwnProperty(r)){var $=i[r];if($!=null)switch(r){case"name":p=$;break;case"type":S=$;break;case"checked":C=$;break;case"defaultChecked":L=$;break;case"value":m=$;break;case"defaultValue":A=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(h(137,l));break;default:Mt(a,l,r,$,i,null)}}Bs(a,m,A,C,L,S,p,!1);return;case"select":tt("invalid",a),r=S=m=null;for(p in i)if(i.hasOwnProperty(p)&&(A=i[p],A!=null))switch(p){case"value":m=A;break;case"defaultValue":S=A;break;case"multiple":r=A;default:Mt(a,l,p,A,i,null)}l=m,i=S,a.multiple=!!r,l!=null?er(a,!!r,l,!1):i!=null&&er(a,!!r,i,!0);return;case"textarea":tt("invalid",a),m=p=r=null;for(S in i)if(i.hasOwnProperty(S)&&(A=i[S],A!=null))switch(S){case"value":r=A;break;case"defaultValue":p=A;break;case"children":m=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(h(91));break;default:Mt(a,l,S,A,i,null)}Tm(a,r,p,m);return;case"option":for(C in i)if(i.hasOwnProperty(C)&&(r=i[C],r!=null))switch(C){case"selected":a.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:Mt(a,l,C,r,i,null)}return;case"dialog":tt("beforetoggle",a),tt("toggle",a),tt("cancel",a),tt("close",a);break;case"iframe":case"object":tt("load",a);break;case"video":case"audio":for(r=0;r<Vr.length;r++)tt(Vr[r],a);break;case"image":tt("error",a),tt("load",a);break;case"details":tt("toggle",a);break;case"embed":case"source":case"link":tt("error",a),tt("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in i)if(i.hasOwnProperty(L)&&(r=i[L],r!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Mt(a,l,L,r,i,null)}return;default:if(Am(l)){for($ in i)i.hasOwnProperty($)&&(r=i[$],r!==void 0&&ly(a,l,$,r,i,void 0));return}}for(A in i)i.hasOwnProperty(A)&&(r=i[A],r!=null&&Mt(a,l,A,r,i,null))}function uy(a,l,i,r){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,m=null,S=null,A=null,C=null,L=null,$=null;for(J in i){var W=i[J];if(i.hasOwnProperty(J)&&W!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":C=W;default:r.hasOwnProperty(J)||Mt(a,l,J,null,r,W)}}for(var V in r){var J=r[V];if(W=i[V],r.hasOwnProperty(V)&&(J!=null||W!=null))switch(V){case"type":m=J;break;case"name":p=J;break;case"checked":L=J;break;case"defaultChecked":$=J;break;case"value":S=J;break;case"defaultValue":A=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(h(137,l));break;default:J!==W&&Mt(a,l,V,J,r,W)}}js(a,S,A,C,L,$,m,p);return;case"select":J=S=A=V=null;for(m in i)if(C=i[m],i.hasOwnProperty(m)&&C!=null)switch(m){case"value":break;case"multiple":J=C;default:r.hasOwnProperty(m)||Mt(a,l,m,null,r,C)}for(p in r)if(m=r[p],C=i[p],r.hasOwnProperty(p)&&(m!=null||C!=null))switch(p){case"value":V=m;break;case"defaultValue":A=m;break;case"multiple":S=m;default:m!==C&&Mt(a,l,p,m,r,C)}l=A,i=S,r=J,V!=null?er(a,!!i,V,!1):!!r!=!!i&&(l!=null?er(a,!!i,l,!0):er(a,!!i,i?[]:"",!1));return;case"textarea":J=V=null;for(A in i)if(p=i[A],i.hasOwnProperty(A)&&p!=null&&!r.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:Mt(a,l,A,null,r,p)}for(S in r)if(p=r[S],m=i[S],r.hasOwnProperty(S)&&(p!=null||m!=null))switch(S){case"value":V=p;break;case"defaultValue":J=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&Mt(a,l,S,p,r,m)}zm(a,V,J);return;case"option":for(var me in i)if(V=i[me],i.hasOwnProperty(me)&&V!=null&&!r.hasOwnProperty(me))switch(me){case"selected":a.selected=!1;break;default:Mt(a,l,me,null,r,V)}for(C in r)if(V=r[C],J=i[C],r.hasOwnProperty(C)&&V!==J&&(V!=null||J!=null))switch(C){case"selected":a.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Mt(a,l,C,V,r,J)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in i)V=i[we],i.hasOwnProperty(we)&&V!=null&&!r.hasOwnProperty(we)&&Mt(a,l,we,null,r,V);for(L in r)if(V=r[L],J=i[L],r.hasOwnProperty(L)&&V!==J&&(V!=null||J!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(h(137,l));break;default:Mt(a,l,L,V,r,J)}return;default:if(Am(l)){for(var xt in i)V=i[xt],i.hasOwnProperty(xt)&&V!==void 0&&!r.hasOwnProperty(xt)&&ly(a,l,xt,void 0,r,V);for($ in r)V=r[$],J=i[$],!r.hasOwnProperty($)||V===J||V===void 0&&J===void 0||ly(a,l,$,V,r,J);return}}for(var B in i)V=i[B],i.hasOwnProperty(B)&&V!=null&&!r.hasOwnProperty(B)&&Mt(a,l,B,null,r,V);for(W in r)V=r[W],J=i[W],!r.hasOwnProperty(W)||V===J||V==null&&J==null||Mt(a,l,W,V,r,J)}function op(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function iy(){if(typeof performance.getEntriesByType=="function"){for(var a=0,l=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var p=i[r],m=p.transferSize,S=p.initiatorType,A=p.duration;if(m&&A&&op(S)){for(S=0,A=p.responseEnd,r+=1;r<i.length;r++){var C=i[r],L=C.startTime;if(L>A)break;var $=C.transferSize,W=C.initiatorType;$&&op(W)&&(C=C.responseEnd,S+=$*(C<A?1:(A-L)/(C-L)))}if(--r,l+=8*(m+S)/(p.duration/1e3),a++,10<a)break}}if(0<a)return l/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var cp=null,rp=null;function So(a){return a.nodeType===9?a:a.ownerDocument}function Wv(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function oy(a,l){if(a===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&l==="foreignObject"?0:a}function Xr(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var sp=null;function K1(){var a=window.event;return a&&a.type==="popstate"?a===sp?!1:(sp=a,!0):(sp=null,!1)}var Gf=typeof setTimeout=="function"?setTimeout:void 0,Pv=typeof clearTimeout=="function"?clearTimeout:void 0,Sc=typeof Promise=="function"?Promise:void 0,eb=typeof queueMicrotask=="function"?queueMicrotask:typeof Sc<"u"?function(a){return Sc.resolve(null).then(a).catch(cy)}:Gf;function cy(a){setTimeout(function(){throw a})}function eu(a){return a==="head"}function ry(a,l){var i=l,r=0;do{var p=i.nextSibling;if(a.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(r===0){a.removeChild(p),as(l);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")_c(a.ownerDocument.documentElement);else if(i==="head"){i=a.ownerDocument.head,_c(i);for(var m=i.firstChild;m;){var S=m.nextSibling,A=m.nodeName;m[pu]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=S}}else i==="body"&&_c(a.ownerDocument.body);i=p}while(i);as(l)}function ma(a,l){var i=a;a=0;do{var r=i.nextSibling;if(i.nodeType===1?l?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(l?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(a===0)break;a--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||a++;i=r}while(i)}function Xf(a){var l=a.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Xf(i),Bd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}a.removeChild(i)}}function I1(a,l,i,r){for(;a.nodeType===1;){var p=i;if(a.nodeName.toLowerCase()!==l.toLowerCase()){if(!r&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(r){if(!a[pu])switch(l){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(m=a.getAttribute("rel"),m==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(m!==p.rel||a.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||a.getAttribute("title")!==(p.title==null?null:p.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(m=a.getAttribute("src"),(m!==(p.src==null?null:p.src)||a.getAttribute("type")!==(p.type==null?null:p.type)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&m&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(l==="input"&&a.type==="hidden"){var m=p.name==null?null:""+p.name;if(p.type==="hidden"&&a.getAttribute("name")===m)return a}else return a;if(a=wn(a.nextSibling),a===null)break}return null}function $e(a,l,i){if(l==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=wn(a.nextSibling),a===null))return null;return a}function tb(a,l){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=wn(a.nextSibling),a===null))return null;return a}function Ol(a){return a.data==="$?"||a.data==="$~"}function _o(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function Qr(a,l){var i=a.ownerDocument;if(a.data==="$~")a._reactRetry=l;else if(a.data!=="$?"||i.readyState!=="loading")l();else{var r=function(){l(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),a._reactRetry=r}}function wn(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return a}var Qf=null;function fp(a){a=a.nextSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="/$"||i==="/&"){if(l===0)return wn(a.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}a=a.nextSibling}return null}function tu(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(l===0)return a;l--}else i!=="/$"&&i!=="/&"||l++}a=a.previousSibling}return null}function Jr(a,l,i){switch(l=So(i),a){case"html":if(a=l.documentElement,!a)throw Error(h(452));return a;case"head":if(a=l.head,!a)throw Error(h(453));return a;case"body":if(a=l.body,!a)throw Error(h(454));return a;default:throw Error(h(451))}}function _c(a){for(var l=a.attributes;l.length;)a.removeAttributeNode(l[0]);Bd(a)}var Bn=new Map,Jf=new Set;function un(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var au=ee.d;ee.d={f:F1,r:ab,D:Q,C:yt,L:W1,m:sy,X:Mi,S:fy,M:Eo};function F1(){var a=au.f(),l=jr();return a||l}function ab(a){var l=Zo(a);l!==null&&l.tag===5&&l.type==="form"?wt(l):au.r(a)}var $r=typeof document>"u"?null:document;function Sa(a,l,i){var r=$r;if(r&&typeof l=="string"&&l){var p=Qn(l);p='link[rel="'+a+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),Jf.has(p)||(Jf.add(p),a={rel:a,crossOrigin:i,href:l},r.querySelector(p)===null&&(l=r.createElement("link"),Ka(l,"link",a),vt(l),r.head.appendChild(l)))}}function Q(a){au.D(a),Sa("dns-prefetch",a,null)}function yt(a,l){au.C(a,l),Sa("preconnect",a,l)}function W1(a,l,i){au.L(a,l,i);var r=$r;if(r&&a&&l){var p='link[rel="preload"][as="'+Qn(l)+'"]';l==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+Qn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+Qn(i.imageSizes)+'"]')):p+='[href="'+Qn(a)+'"]';var m=p;switch(l){case"style":m=ul(a);break;case"script":m=Ec(a)}Bn.has(m)||(a=Y({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:a,as:l},i),Bn.set(m,a),r.querySelector(p)!==null||l==="style"&&r.querySelector(zo(m))||l==="script"&&r.querySelector(Ir(m))||(l=r.createElement("link"),Ka(l,"link",a),vt(l),r.head.appendChild(l)))}}function sy(a,l){au.m(a,l);var i=$r;if(i&&a){var r=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+Qn(r)+'"][href="'+Qn(a)+'"]',m=p;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Ec(a)}if(!Bn.has(m)&&(a=Y({rel:"modulepreload",href:a},l),Bn.set(m,a),i.querySelector(p)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ir(m)))return}r=i.createElement("link"),Ka(r,"link",a),vt(r),i.head.appendChild(r)}}}function fy(a,l,i){au.S(a,l,i);var r=$r;if(r&&a){var p=Ho(r).hoistableStyles,m=ul(a);l=l||"default";var S=p.get(m);if(!S){var A={loading:0,preload:null};if(S=r.querySelector(zo(m)))A.loading=5;else{a=Y({rel:"stylesheet",href:a,"data-precedence":l},i),(i=Bn.get(m))&&dp(a,i);var C=S=r.createElement("link");vt(C),Ka(C,"link",a),C._p=new Promise(function(L,$){C.onload=L,C.onerror=$}),C.addEventListener("load",function(){A.loading|=1}),C.addEventListener("error",function(){A.loading|=2}),A.loading|=4,$f(S,l,r)}S={type:"stylesheet",instance:S,count:1,state:A},p.set(m,S)}}}function Mi(a,l){au.X(a,l);var i=$r;if(i&&a){var r=Ho(i).hoistableScripts,p=Ec(a),m=r.get(p);m||(m=i.querySelector(Ir(p)),m||(a=Y({src:a,async:!0},l),(l=Bn.get(p))&&hp(a,l),m=i.createElement("script"),vt(m),Ka(m,"link",a),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function Eo(a,l){au.M(a,l);var i=$r;if(i&&a){var r=Ho(i).hoistableScripts,p=Ec(a),m=r.get(p);m||(m=i.querySelector(Ir(p)),m||(a=Y({src:a,async:!0,type:"module"},l),(l=Bn.get(p))&&hp(a,l),m=i.createElement("script"),vt(m),Ka(m,"link",a),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function kr(a,l,i,r){var p=(p=Yi.current)?un(p):null;if(!p)throw Error(h(446));switch(a){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=ul(i.href),i=Ho(p).hoistableStyles,r=i.get(l),r||(r={type:"style",instance:null,count:0,state:null},i.set(l,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){a=ul(i.href);var m=Ho(p).hoistableStyles,S=m.get(a);if(S||(p=p.ownerDocument||p,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(a,S),(m=p.querySelector(zo(a)))&&!m._p&&(S.instance=m,S.state.loading=5),Bn.has(a)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(a,i),m||nb(p,a,i,S.state))),l&&r===null)throw Error(h(528,""));return S}if(l&&r!==null)throw Error(h(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ec(i),i=Ho(p).hoistableScripts,r=i.get(l),r||(r={type:"script",instance:null,count:0,state:null},i.set(l,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,a))}}function ul(a){return'href="'+Qn(a)+'"'}function zo(a){return'link[rel="stylesheet"]['+a+"]"}function Kr(a){return Y({},a,{"data-precedence":a.precedence,precedence:null})}function nb(a,l,i,r){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?r.loading=1:(l=a.createElement("link"),r.preload=l,l.addEventListener("load",function(){return r.loading|=1}),l.addEventListener("error",function(){return r.loading|=2}),Ka(l,"link",i),vt(l),a.head.appendChild(l))}function Ec(a){return'[src="'+Qn(a)+'"]'}function Ir(a){return"script[async]"+a}function dy(a,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var r=a.querySelector('style[data-href~="'+Qn(i.href)+'"]');if(r)return l.instance=r,vt(r),r;var p=Y({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(a.ownerDocument||a).createElement("style"),vt(r),Ka(r,"style",p),$f(r,i.precedence,a),l.instance=r;case"stylesheet":p=ul(i.href);var m=a.querySelector(zo(p));if(m)return l.state.loading|=4,l.instance=m,vt(m),m;r=Kr(i),(p=Bn.get(p))&&dp(r,p),m=(a.ownerDocument||a).createElement("link"),vt(m);var S=m;return S._p=new Promise(function(A,C){S.onload=A,S.onerror=C}),Ka(m,"link",r),l.state.loading|=4,$f(m,i.precedence,a),l.instance=m;case"script":return m=Ec(i.src),(p=a.querySelector(Ir(m)))?(l.instance=p,vt(p),p):(r=i,(p=Bn.get(m))&&(r=Y({},i),hp(r,p)),a=a.ownerDocument||a,p=a.createElement("script"),vt(p),Ka(p,"link",r),a.head.appendChild(p),l.instance=p);case"void":return null;default:throw Error(h(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(r=l.instance,l.state.loading|=4,$f(r,i.precedence,a));return l.instance}function $f(a,l,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=r.length?r[r.length-1]:null,m=p,S=0;S<r.length;S++){var A=r[S];if(A.dataset.precedence===l)m=A;else if(m!==p)break}m?m.parentNode.insertBefore(a,m.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(a,l.firstChild))}function dp(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.title==null&&(a.title=l.title)}function hp(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.integrity==null&&(a.integrity=l.integrity)}var Fr=null;function hy(a,l,i){if(Fr===null){var r=new Map,p=Fr=new Map;p.set(i,r)}else p=Fr,r=p.get(i),r||(r=new Map,p.set(i,r));if(r.has(a))return r;for(r.set(a,null),i=i.getElementsByTagName(a),p=0;p<i.length;p++){var m=i[p];if(!(m[pu]||m[Ot]||a==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var S=m.getAttribute(l)||"";S=a+S;var A=r.get(S);A?A.push(m):r.set(S,[m])}}return r}function pp(a,l,i){a=a.ownerDocument||a,a.head.insertBefore(i,l==="title"?a.querySelector("head > title"):null)}function py(a,l,i){if(i===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function qn(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function Lu(a,l,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=ul(r.href),m=l.querySelector(zo(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=mp.bind(a),l.then(a,a)),i.state.loading|=4,i.instance=m,vt(m);return}m=l.ownerDocument||l,r=Kr(r),(p=Bn.get(p))&&dp(r,p),m=m.createElement("link"),vt(m);var S=m;S._p=new Promise(function(A,C){S.onload=A,S.onerror=C}),Ka(m,"link",r),i.instance=m}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(a.count++,i=mp.bind(a),l.addEventListener("load",i),l.addEventListener("error",i))}}var il=0;function my(a,l){return a.stylesheets&&a.count===0&&gp(a,a.stylesheets),0<a.count||0<a.imgCount?function(i){var r=setTimeout(function(){if(a.stylesheets&&gp(a,a.stylesheets),a.unsuspend){var m=a.unsuspend;a.unsuspend=null,m()}},6e4+l);0<a.imgBytes&&il===0&&(il=62500*iy());var p=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&gp(a,a.stylesheets),a.unsuspend)){var m=a.unsuspend;a.unsuspend=null,m()}},(a.imgBytes>il?50:800)+l);return a.unsuspend=i,function(){a.unsuspend=null,clearTimeout(r),clearTimeout(p)}}:null}function mp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var yp=null;function gp(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,yp=new Map,l.forEach(Ba,a),yp=null,mp.call(a))}function Ba(a,l){if(!(l.state.loading&4)){var i=yp.get(a);if(i)var r=i.get(null);else{i=new Map,yp.set(a,i);for(var p=a.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var S=p[m];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),r=S)}r&&i.set(null,r)}p=l.instance,S=p.getAttribute("data-precedence"),m=i.get(S)||r,m===r&&i.set(null,p),i.set(S,p),this.count++,r=mp.bind(this),p.addEventListener("load",r),p.addEventListener("error",r),m?m.parentNode.insertBefore(p,m.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(p,a.firstChild)),l.state.loading|=4}}var kf={$$typeof:ye,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_threadCount:0};function yy(a,l,i,r,p,m,S,A,C){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ns(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ns(0),this.hiddenUpdates=Ns(null),this.identifierPrefix=r,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function vp(a,l,i,r,p,m,S,A,C,L,$,W){return a=new yy(a,l,i,S,C,L,$,W,A),l=1,m===!0&&(l|=24),m=na(3,null,null,l),a.current=m,m.stateNode=a,l=tf(),l.refCount++,a.pooledCache=l,l.refCount++,m.memoizedState={element:r,isDehydrated:i,cache:l},rf(m),a}function zc(a){return a?(a=yn,a):yn}function lb(a,l,i,r,p,m){p=zc(p),r.context===null?r.context=p:r.pendingContext=p,r=bi(l),r.payload={element:i},m=m===void 0?null:m,m!==null&&(r.callback=m),i=Wn(a,r,l),i!==null&&(On(i,a,l),io(i,a,l))}function bp(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var i=a.retryLane;a.retryLane=i!==0&&i<l?i:l}}function gy(a,l){bp(a,l),(a=a.alternate)&&bp(a,l)}function ub(a){if(a.tag===13||a.tag===31){var l=di(a,67108864);l!==null&&On(l,a,67108864),gy(a,67108864)}}function Tc(a){if(a.tag===13||a.tag===31){var l=jn();l=Zd(l);var i=di(a,l);i!==null&&On(i,a,l),gy(a,l)}}var wa=!0;function Vu(a,l,i,r){var p=H.T;H.T=null;var m=ee.p;try{ee.p=2,Ia(a,l,i,r)}finally{ee.p=m,H.T=p}}function Gu(a,l,i,r){var p=H.T;H.T=null;var m=ee.p;try{ee.p=8,Ia(a,l,i,r)}finally{ee.p=m,H.T=p}}function Ia(a,l,i,r){if(wa){var p=vy(r);if(p===null)ey(a,l,r,Sp,i),xi(a,r);else if(P1(p,a,l,i,r))r.stopPropagation();else if(xi(a,r),l&4&&-1<Dn.indexOf(a)){for(;p!==null;){var m=Zo(p);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var S=pl(m.pendingLanes);if(S!==0){var A=m;for(A.pendingLanes|=2,A.entangledLanes|=2;S;){var C=1<<31-dn(S);A.entanglements[1]|=C,S&=~C}Yu(m),(dt&6)===0&&(mt=$a()+500,Di(0))}}break;case 31:case 13:A=di(m,2),A!==null&&On(A,m,2),jr(),gy(m,2)}if(m=vy(r),m===null&&ey(a,l,r,Sp,i),m===p)break;p=m}p!==null&&r.stopPropagation()}else ey(a,l,r,null,i)}}function vy(a){return a=Qd(a),Wr(a)}var Sp=null;function Wr(a){if(Sp=null,a=No(a),a!==null){var l=b(a);if(l===null)a=null;else{var i=l.tag;if(i===13){if(a=_(l),a!==null)return a;a=null}else if(i===31){if(a=z(l),a!==null)return a;a=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null)}}return Sp=a,null}function Kf(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(j1()){case Rd:return 2;case Ud:return 8;case Li:case B1:return 32;case mm:return 268435456;default:return 32}default:return 32}}var Pr=!1,Da=null,Fa=null,on=null,To=new Map,wl=new Map,Qt=[],Dn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function xi(a,l){switch(a){case"focusin":case"focusout":Da=null;break;case"dragenter":case"dragleave":Fa=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":To.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":wl.delete(l.pointerId)}}function Ac(a,l,i,r,p,m){return a===null||a.nativeEvent!==m?(a={blockedOn:l,domEventName:i,eventSystemFlags:r,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Zo(l),l!==null&&ub(l)),a):(a.eventSystemFlags|=r,l=a.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),a)}function P1(a,l,i,r,p){switch(l){case"focusin":return Da=Ac(Da,a,l,i,r,p),!0;case"dragenter":return Fa=Ac(Fa,a,l,i,r,p),!0;case"mouseover":return on=Ac(on,a,l,i,r,p),!0;case"pointerover":var m=p.pointerId;return To.set(m,Ac(To.get(m)||null,a,l,i,r,p)),!0;case"gotpointercapture":return m=p.pointerId,wl.set(m,Ac(wl.get(m)||null,a,l,i,r,p)),!0}return!1}function ib(a){var l=No(a.target);if(l!==null){var i=b(l);if(i!==null){if(l=i.tag,l===13){if(l=_(i),l!==null){a.blockedOn=l,vm(a.priority,function(){Tc(i)});return}}else if(l===31){if(l=z(i),l!==null){a.blockedOn=l,vm(a.priority,function(){Tc(i)});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){a.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}a.blockedOn=null}function If(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var i=vy(a.nativeEvent);if(i===null){i=a.nativeEvent;var r=new i.constructor(i.type,i);Xd=r,i.target.dispatchEvent(r),Xd=null}else return l=Zo(i),l!==null&&ub(l),a.blockedOn=i,!1;l.shift()}return!0}function es(a,l,i){If(a)&&i.delete(l)}function ob(){Pr=!1,Da!==null&&If(Da)&&(Da=null),Fa!==null&&If(Fa)&&(Fa=null),on!==null&&If(on)&&(on=null),To.forEach(es),wl.forEach(es)}function Xu(a,l){a.blockedOn===l&&(a.blockedOn=null,Pr||(Pr=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,ob)))}var ts=null;function cb(a){ts!==a&&(ts=a,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){ts===a&&(ts=null);for(var l=0;l<a.length;l+=3){var i=a[l],r=a[l+1],p=a[l+2];if(typeof r!="function"){if(Wr(r||i)===null)continue;break}var m=Zo(i);m!==null&&(a.splice(l,3),l-=3,Tr(m,{pending:!0,data:p,method:i.method,action:r},r,p))}}))}function as(a){function l(C){return Xu(C,a)}Da!==null&&Xu(Da,a),Fa!==null&&Xu(Fa,a),on!==null&&Xu(on,a),To.forEach(l),wl.forEach(l);for(var i=0;i<Qt.length;i++){var r=Qt[i];r.blockedOn===a&&(r.blockedOn=null)}for(;0<Qt.length&&(i=Qt[0],i.blockedOn===null);)ib(i),i.blockedOn===null&&Qt.shift();if(i=(a.ownerDocument||a).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var p=i[r],m=i[r+1],S=p[hn]||null;if(typeof m=="function")S||cb(i);else if(S){var A=null;if(m&&m.hasAttribute("formAction")){if(p=m,S=m[hn]||null)A=S.formAction;else if(Wr(p)!==null)continue}else A=S.action;typeof A=="function"?i[r+1]=A:(i.splice(r,3),r-=3),cb(i)}}}function by(){function a(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(S){return p=S})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),r||setTimeout(i,20)}function i(){if(!r&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,p=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function _p(a){this._internalRoot=a}Ep.prototype.render=_p.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,r=jn();lb(i,r,a,l,null,null)},Ep.prototype.unmount=_p.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;lb(a.current,2,null,a,null,null),jr(),l[Gi]=null}};function Ep(a){this._internalRoot=a}Ep.prototype.unstable_scheduleHydration=function(a){if(a){var l=Hd();a={blockedOn:null,target:a,priority:l};for(var i=0;i<Qt.length&&l!==0&&l<Qt[i].priority;i++);Qt.splice(i,0,a),i===0&&ib(a)}};var Sy=c.version;if(Sy!=="19.2.3")throw Error(h(527,Sy,"19.2.3"));ee.findDOMNode=function(a){var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(h(188)):(a=Object.keys(a).join(","),Error(h(268,a)));return a=O(l),a=a!==null?j(a):null,a=a===null?null:a.stateNode,a};var rb={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&&Ff.supportsFiber)try{Ro=Ff.inject(rb),Cn=Ff}catch{}}return em.createRoot=function(a,l){if(!g(a))throw Error(h(299));var i=!1,r="",p=Uh,m=_0,S=Nh;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(r=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=vp(a,1,!1,null,null,i,r,null,p,m,S,by),a[Gi]=l.current,Gr(a),new _p(l)},em.hydrateRoot=function(a,l,i){if(!g(a))throw Error(h(299));var r=!1,p="",m=Uh,S=_0,A=Nh,C=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(A=i.onRecoverableError),i.formState!==void 0&&(C=i.formState)),l=vp(a,1,!0,l,i??null,r,p,C,m,S,A,by),l.context=zc(null),i=l.current,r=jn(),r=Zd(r),p=bi(r),p.callback=null,Wn(i,p,r),i=r,l.current.lanes=i,Kc(l,i),Yu(l),a[Gi]=l.current,Gr(a),new Ep(l)},em.version="19.2.3",em}var tm={};var b2;function mA(){return b2||(b2=1,process.env.NODE_ENV!=="production"&&(function(){function u(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function c(e,t,n,o){if(n>=t.length)return o;var s=t[n],f=Sa(e)?e.slice():$e({},e);return f[s]=c(e[s],t,n+1,o),f}function d(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<n.length-1;o++)if(t[o]!==n[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return h(e,t,n,0)}}function h(e,t,n,o){var s=t[o],f=Sa(e)?e.slice():$e({},e);return o+1===t.length?(f[n[o]]=f[s],Sa(f)?f.splice(s,1):delete f[s]):f[s]=h(e[s],t,n,o+1),f}function g(e,t,n){var o=t[n],s=Sa(e)?e.slice():$e({},e);return n+1===t.length?(Sa(s)?s.splice(o,1):delete s[o],s):(s[o]=g(e[o],t,n+1),s)}function b(){return!1}function _(){return null}function z(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function w(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function O(){}function j(){}function Y(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function ae(e,t,n,o){return new Q1(e,t,n,o)}function ne(e,t){e.context===is&&(ip(e.current,2,t,e,null,null),nl())}function ce(e,t){if($u!==null){var n=t.staleFamilies;t=t.updatedFamilies,Df(),ev(e.current,t,n),nl()}}function re(e){$u=e}function se(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ee(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ye(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function F(e){if(ue(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Je(e){var t=e.alternate;if(!t){if(t=ue(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(s===null)break;var f=s.alternate;if(f===null){if(o=s.return,o!==null){n=o;continue}break}if(s.child===f.child){for(f=s.child;f;){if(f===n)return F(s),e;if(f===o)return F(s),t;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==o.return)n=s,o=f;else{for(var y=!1,v=s.child;v;){if(v===n){y=!0,n=s,o=f;break}if(v===o){y=!0,o=s,n=f;break}v=v.sibling}if(!y){for(v=f.child;v;){if(v===n){y=!0,n=f,o=s;break}if(v===o){y=!0,o=f,n=s;break}v=v.sibling}if(!y)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function je(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=je(e),t!==null)return t;e=e.sibling}return null}function Te(e){return e===null||typeof e!="object"?null:(e=ab&&e[ab]||e["@@iterator"],typeof e=="function"?e:null)}function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===$r?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qr:return"Fragment";case Qf:return"Profiler";case wn:return"StrictMode";case _c:return"Suspense";case Bn:return"SuspenseList";case au:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case _o:return"Portal";case tu:return e.displayName||"Context";case fp:return(e._context.displayName||"Context")+".Consumer";case Jr:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jf:return t=e.displayName||null,t!==null?t:ie(e.type)||"Memo";case un:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}function qe(e){return typeof e.tag=="number"?de(e):typeof e.name=="string"?e.name:null}function de(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(t);case 8:return t===wn?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return de(e.return)}return null}function zt(e){return{current:e}}function De(e,t){0>Mi?console.error("Unexpected pop."):(t!==fy[Mi]&&console.error("Unexpected Fiber popped."),e.current=sy[Mi],sy[Mi]=null,fy[Mi]=null,Mi--)}function Fe(e,t,n){Mi++,sy[Mi]=e.current,fy[Mi]=n,e.current=t}function en(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function tn(e,t){Fe(ul,t,e),Fe(kr,e,e),Fe(Eo,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Mv(t):qc;break;default:if(n=t.tagName,t=t.namespaceURI)t=Mv(t),t=Oi(t,n);else switch(n){case"svg":t=Wp;break;case"math":t=e1;break;default:t=qc}}n=n.toLowerCase(),n=Em(null,n),n={context:t,ancestorInfo:n},De(Eo,e),Fe(Eo,n,e)}function H(e){De(Eo,e),De(kr,e),De(ul,e)}function ee(){return en(Eo.current)}function le(e){e.memoizedState!==null&&Fe(zo,e,e);var t=en(Eo.current),n=e.type,o=Oi(t.context,n);n=Em(t.ancestorInfo,n),o={context:o,ancestorInfo:n},t!==o&&(Fe(kr,e,e),Fe(Eo,o,e))}function Me(e){kr.current===e&&(De(Eo,e),De(kr,e)),zo.current===e&&(De(zo,e),rg._currentValue=Sd)}function Be(){}function ga(){if(Kr===0){nb=console.log,Ec=console.info,Ir=console.warn,dy=console.error,$f=console.group,dp=console.groupCollapsed,hp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Kr++}function Tt(){if(Kr--,Kr===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$e({},e,{value:nb}),info:$e({},e,{value:Ec}),warn:$e({},e,{value:Ir}),error:$e({},e,{value:dy}),group:$e({},e,{value:$f}),groupCollapsed:$e({},e,{value:dp}),groupEnd:$e({},e,{value:hp})})}0>Kr&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ut(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
9
+ `+r.stack}}var hm=Object.prototype.hasOwnProperty,Ut=u.unstable_scheduleCallback,pm=u.unstable_cancelCallback,Co=u.unstable_shouldYield,Cd=u.unstable_requestPaint,$a=u.unstable_now,B1=u.unstable_getCurrentPriorityLevel,Rd=u.unstable_ImmediatePriority,Ud=u.unstable_UserBlockingPriority,Li=u.unstable_NormalPriority,q1=u.unstable_LowPriority,mm=u.unstable_IdlePriority,Hg=u.log,jg=u.unstable_setDisableYieldValue,Ro=null,Cn=null;function ii(a){if(typeof Hg=="function"&&jg(a),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Ro,a)}catch{}}var dn=Math.clz32?Math.clz32:ym,Bg=Math.log,qg=Math.LN2;function ym(a){return a>>>=0,a===0?32:31-(Bg(a)/qg|0)|0}var oi=256,Rl=262144,Vi=4194304;function pl(a){var l=a&42;if(l!==0)return l;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function sa(a,l,i){var r=a.pendingLanes;if(r===0)return 0;var p=0,m=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var A=r&134217727;return A!==0?(r=A&~m,r!==0?p=pl(r):(S&=A,S!==0?p=pl(S):i||(i=A&~a,i!==0&&(p=pl(i))))):(A=r&~m,A!==0?p=pl(A):S!==0?p=pl(S):i||(i=r&~a,i!==0&&(p=pl(i)))),p===0?0:l!==0&&l!==p&&(l&m)===0&&(m=p&-p,i=l&-l,m>=i||m===32&&(i&4194048)!==0)?l:p}function Ul(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function kc(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Uo(){var a=Vi;return Vi<<=1,(Vi&62914560)===0&&(Vi=4194304),a}function Ns(a){for(var l=[],i=0;31>i;i++)l.push(a);return l}function Kc(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Nd(a,l,i,r,p,m){var S=a.pendingLanes;a.pendingLanes=i,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=i,a.entangledLanes&=i,a.errorRecoveryDisabledLanes&=i,a.shellSuspendCounter=0;var A=a.entanglements,C=a.expirationTimes,L=a.hiddenUpdates;for(i=S&~i;0<i;){var $=31-dn(i),W=1<<$;A[$]=0,C[$]=-1;var V=L[$];if(V!==null)for(L[$]=null,$=0;$<V.length;$++){var J=V[$];J!==null&&(J.lane&=-536870913)}i&=~W}r!==0&&Zs(a,r,0),m!==0&&p===0&&a.tag!==0&&(a.suspendedLanes|=m&~(S&~l))}function Zs(a,l,i){a.pendingLanes|=l,a.suspendedLanes&=~l;var r=31-dn(l);a.entangledLanes|=l,a.entanglements[r]=a.entanglements[r]|1073741824|i&261930}function hu(a,l){var i=a.entangledLanes|=l;for(a=a.entanglements;i;){var r=31-dn(i),p=1<<r;p&l|a[r]&l&&(a[r]|=l),i&=~p}}function Gn(a,l){var i=l&-l;return i=(i&42)!==0?1:Zd(i),(i&(a.suspendedLanes|l))!==0?0:i}function Zd(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function gm(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function Hd(){var a=ee.p;return a!==0?a:(a=window.event,a===void 0?32:Kf(a.type))}function vm(a,l){var i=ee.p;try{return ee.p=a,l()}finally{ee.p=i}}var Nl=Math.random().toString(36).slice(2),Ot="__reactFiber$"+Nl,hn="__reactProps$"+Nl,Gi="__reactContainer$"+Nl,jd="__reactEvents$"+Nl,bm="__reactListeners$"+Nl,Yg="__reactHandles$"+Nl,Sm="__reactResources$"+Nl,pu="__reactMarker$"+Nl;function Bd(a){delete a[Ot],delete a[hn],delete a[jd],delete a[bm],delete a[Yg]}function No(a){var l=a[Ot];if(l)return l;for(var i=a.parentNode;i;){if(l=i[Gi]||i[Ot]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(a=tu(a);a!==null;){if(i=a[Ot])return i;a=tu(a)}return l}a=i,i=a.parentNode}return null}function Zo(a){if(a=a[Ot]||a[Gi]){var l=a.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return a}return null}function Ic(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a.stateNode;throw Error(h(33))}function Ho(a){var l=a[Sm];return l||(l=a[Sm]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function vt(a){a[pu]=!0}var jo=new Set,Xi={};function Qi(a,l){mu(a,l),mu(a+"Capture",l)}function mu(a,l){for(Xi[a]=l,a=0;a<l.length;a++)jo.add(l[a])}var qd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Yd={},Fc={};function Wc(a){return hm.call(Fc,a)?!0:hm.call(Yd,a)?!1:qd.test(a)?Fc[a]=!0:(Yd[a]=!0,!1)}function Pc(a,l,i){if(Wc(l))if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":a.removeAttribute(l);return;case"boolean":var r=l.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){a.removeAttribute(l);return}}a.setAttribute(l,""+i)}}function Ld(a,l,i){if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttribute(l,""+i)}}function ci(a,l,i,r){if(r===null)a.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttributeNS(l,i,""+r)}}function Xn(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Vd(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function _m(a,l,i){var r=Object.getOwnPropertyDescriptor(a.constructor.prototype,l);if(!a.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var p=r.get,m=r.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return p.call(this)},set:function(S){i=""+S,m.call(this,S)}}),Object.defineProperty(a,l,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function Gd(a){if(!a._valueTracker){var l=Vd(a)?"checked":"value";a._valueTracker=_m(a,l,""+a[l])}}function Em(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var i=l.getValue(),r="";return a&&(r=Vd(a)?a.checked?"true":"false":a.value),a=r,a!==i?(l.setValue(a),!0):!1}function Hs(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Y1=/[\n"\\]/g;function Qn(a){return a.replace(Y1,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function js(a,l,i,r,p,m,S,A){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.type=S:a.removeAttribute("type"),l!=null?S==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+Xn(l)):a.value!==""+Xn(l)&&(a.value=""+Xn(l)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),l!=null?Bo(a,S,Xn(l)):i!=null?Bo(a,S,Xn(i)):r!=null&&a.removeAttribute("value"),p==null&&m!=null&&(a.defaultChecked=!!m),p!=null&&(a.checked=p&&typeof p!="function"&&typeof p!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?a.name=""+Xn(A):a.removeAttribute("name")}function Bs(a,l,i,r,p,m,S,A){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(a.type=m),l!=null||i!=null){if(!(m!=="submit"&&m!=="reset"||l!=null)){Gd(a);return}i=i!=null?""+Xn(i):"",l=l!=null?""+Xn(l):i,A||l===a.value||(a.value=l),a.defaultValue=l}r=r??p,r=typeof r!="function"&&typeof r!="symbol"&&!!r,a.checked=A?a.checked:!!r,a.defaultChecked=!!r,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.name=S),Gd(a)}function Bo(a,l,i){l==="number"&&Hs(a.ownerDocument)===a||a.defaultValue===""+i||(a.defaultValue=""+i)}function er(a,l,i,r){if(a=a.options,l){l={};for(var p=0;p<i.length;p++)l["$"+i[p]]=!0;for(i=0;i<a.length;i++)p=l.hasOwnProperty("$"+a[i].value),a[i].selected!==p&&(a[i].selected=p),p&&r&&(a[i].defaultSelected=!0)}else{for(i=""+Xn(i),l=null,p=0;p<a.length;p++){if(a[p].value===i){a[p].selected=!0,r&&(a[p].defaultSelected=!0);return}l!==null||a[p].disabled||(l=a[p])}l!==null&&(l.selected=!0)}}function zm(a,l,i){if(l!=null&&(l=""+Xn(l),l!==a.value&&(a.value=l),i==null)){a.defaultValue!==l&&(a.defaultValue=l);return}a.defaultValue=i!=null?""+Xn(i):""}function Tm(a,l,i,r){if(l==null){if(r!=null){if(i!=null)throw Error(h(92));if(tn(r)){if(1<r.length)throw Error(h(93));r=r[0]}i=r}i==null&&(i=""),l=i}i=Xn(l),a.defaultValue=i,r=a.textContent,r===i&&r!==""&&r!==null&&(a.value=r),Gd(a)}function yu(a,l){if(l){var i=a.firstChild;if(i&&i===a.lastChild&&i.nodeType===3){i.nodeValue=l;return}}a.textContent=l}var Lg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Vg(a,l,i){var r=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?a.setProperty(l,""):l==="float"?a.cssFloat="":a[l]="":r?a.setProperty(l,i):typeof i!="number"||i===0||Lg.has(l)?l==="float"?a.cssFloat=i:a[l]=(""+i).trim():a[l]=i+"px"}function Gg(a,l,i){if(l!=null&&typeof l!="object")throw Error(h(62));if(a=a.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||l!=null&&l.hasOwnProperty(r)||(r.indexOf("--")===0?a.setProperty(r,""):r==="float"?a.cssFloat="":a[r]="");for(var p in l)r=l[p],l.hasOwnProperty(p)&&i[p]!==r&&Vg(a,p,r)}else for(var m in l)l.hasOwnProperty(m)&&Vg(a,m,l[m])}function Am(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var L1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),qs=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ml(a){return qs.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Zl(){}var Xd=null;function Qd(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var gu=null,qo=null;function Ys(a){var l=Zo(a);if(l&&(a=l.stateNode)){var i=a[hn]||null;e:switch(a=l.stateNode,l.type){case"input":if(js(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=a;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Qn(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var r=i[l];if(r!==a&&r.form===a.form){var p=r[hn]||null;if(!p)throw Error(h(90));js(r,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(l=0;l<i.length;l++)r=i[l],r.form===a.form&&Em(r)}break e;case"textarea":zm(a,i.value,i.defaultValue);break e;case"select":l=i.value,l!=null&&er(a,!!i.multiple,l,!1)}}}var tr=!1;function Om(a,l,i){if(tr)return a(l,i);tr=!0;try{var r=a(l);return r}finally{if(tr=!1,(gu!==null||qo!==null)&&(jr(),gu&&(l=gu,a=qo,qo=gu=null,Ys(l),a)))for(l=0;l<a.length;l++)Ys(a[l])}}function Ca(a,l){var i=a.stateNode;if(i===null)return null;var r=i[hn]||null;if(r===null)return null;i=r[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(a=a.type,r=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!r;break e;default:a=!1}if(a)return null;if(i&&typeof i!="function")throw Error(h(231,l,typeof i));return i}var ri=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ls=!1;if(ri)try{var ar={};Object.defineProperty(ar,"passive",{get:function(){Ls=!0}}),window.addEventListener("test",ar,ar),window.removeEventListener("test",ar,ar)}catch{Ls=!1}var si=null,wm=null,Jd=null;function Dm(){if(Jd)return Jd;var a,l=wm,i=l.length,r,p="value"in si?si.value:si.textContent,m=p.length;for(a=0;a<i&&l[a]===p[a];a++);var S=i-a;for(r=1;r<=S&&l[i-r]===p[m-r];r++);return Jd=p.slice(a,1<r?1-r:void 0)}function $d(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function Vs(){return!0}function Xg(){return!1}function ka(a){function l(i,r,p,m,S){this._reactName=i,this._targetInst=p,this.type=r,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var A in a)a.hasOwnProperty(A)&&(i=a[A],this[A]=i?i(m):m[A]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Vs:Xg,this.isPropagationStopped=Xg,this}return Y(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),l}var Ji={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gs=ka(Ji),nr=Y({},Ji,{view:0,detail:0}),V1=ka(nr),Mm,xm,Xs,kd=Y({},nr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yl,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Xs&&(Xs&&a.type==="mousemove"?(Mm=a.screenX-Xs.screenX,xm=a.screenY-Xs.screenY):xm=Mm=0,Xs=a),Mm)},movementY:function(a){return"movementY"in a?a.movementY:xm}}),lr=ka(kd),Qg=Y({},kd,{dataTransfer:0}),Jg=ka(Qg),$g=Y({},nr,{relatedTarget:0}),Kd=ka($g),Cm=Y({},Ji,{animationName:0,elapsedTime:0,pseudoElement:0}),kg=ka(Cm),Yo=Y({},Ji,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Lo=ka(Yo),Hl=Y({},Ji,{data:0}),Kg=ka(Hl),Rm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ig={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jl(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=Ig[a])?!!l[a]:!1}function yl(){return jl}var Id=Y({},nr,{key:function(a){if(a.key){var l=Rm[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=$d(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?vu[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yl,charCode:function(a){return a.type==="keypress"?$d(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?$d(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Fd=ka(Id),Um=Y({},kd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bl=ka(Um),G1=Y({},nr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yl}),Fg=ka(G1),Wg=Y({},Ji,{propertyName:0,elapsedTime:0,pseudoElement:0}),X1=ka(Wg),Nm=Y({},kd,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Q1=ka(Nm),Pg=Y({},Ji,{newState:0,oldState:0}),Zm=ka(Pg),Wd=[9,13,27,32],ur=ri&&"CompositionEvent"in window,Vo=null;ri&&"documentMode"in document&&(Vo=document.documentMode);var an=ri&&"TextEvent"in window&&!Vo,Hm=ri&&(!ur||Vo&&8<Vo&&11>=Vo),Qs=" ",$i=!1;function Pd(a,l){switch(a){case"keyup":return Wd.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jm(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Go=!1;function ev(a,l){switch(a){case"compositionend":return jm(l);case"keypress":return l.which!==32?null:($i=!0,Qs);case"textInput":return a=l.data,a===Qs&&$i?null:a;default:return null}}function J1(a,l){if(Go)return a==="compositionend"||!ur&&Pd(a,l)?(a=Dm(),Jd=wm=si=null,Go=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Hm&&l.locale!=="ko"?null:l.data;default:return null}}var Bm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bu(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!Bm[a.type]:l==="textarea"}function qm(a,l,i,r){gu?qo?qo.push(r):qo=[r]:gu=r,l=Vf(l,"onChange"),0<l.length&&(i=new Gs("onChange","change",null,i,r),a.push({event:i,listeners:l}))}var Xo=null,ki=null;function Qo(a){Kv(a,0)}function ir(a){var l=Ic(a);if(Em(l))return a}function Ym(a,l){if(a==="change")return l}var eh=!1;if(ri){var pn;if(ri){var ql="oninput"in document;if(!ql){var Lm=document.createElement("div");Lm.setAttribute("oninput","return;"),ql=typeof Lm.oninput=="function"}pn=ql}else pn=!1;eh=pn&&(!document.documentMode||9<document.documentMode)}function th(){Xo&&(Xo.detachEvent("onpropertychange",ah),ki=Xo=null)}function ah(a){if(a.propertyName==="value"&&ir(ki)){var l=[];qm(l,ki,a,Qd(a)),Om(Qo,l)}}function tv(a,l,i){a==="focusin"?(th(),Xo=l,ki=i,Xo.attachEvent("onpropertychange",ah)):a==="focusout"&&th()}function av(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return ir(ki)}function Ki(a,l){if(a==="click")return ir(l)}function Jo(a,l){if(a==="input"||a==="change")return ir(l)}function nv(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var nn=typeof Object.is=="function"?Object.is:nv;function gl(a,l){if(nn(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var i=Object.keys(a),r=Object.keys(l);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var p=i[r];if(!hm.call(l,p)||!nn(a[p],l[p]))return!1}return!0}function Vm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Gm(a,l){var i=Vm(a);a=0;for(var r;i;){if(i.nodeType===3){if(r=a+i.textContent.length,a<=l&&r>=l)return{node:i,offset:l-a};a=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Vm(i)}}function $o(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?$o(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Ii(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=Hs(a.document);l instanceof a.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)a=l.contentWindow;else break;l=Hs(a.document)}return l}function Js(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var $s=ri&&"documentMode"in document&&11>=document.documentMode,Fi=null,or=null,vl=null,Yl=!1;function nh(a,l,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Yl||Fi==null||Fi!==Hs(r)||(r=Fi,"selectionStart"in r&&Js(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),vl&&gl(vl,r)||(vl=r,r=Vf(or,"onSelect"),0<r.length&&(l=new Gs("onSelect","select",null,l,i),a.push({event:l,listeners:r}),l.target=Fi)))}function fi(a,l){var i={};return i[a.toLowerCase()]=l.toLowerCase(),i["Webkit"+a]="webkit"+l,i["Moz"+a]="moz"+l,i}var Ll={animationend:fi("Animation","AnimationEnd"),animationiteration:fi("Animation","AnimationIteration"),animationstart:fi("Animation","AnimationStart"),transitionrun:fi("Transition","TransitionRun"),transitionstart:fi("Transition","TransitionStart"),transitioncancel:fi("Transition","TransitionCancel"),transitionend:fi("Transition","TransitionEnd")},cr={},Wi={};ri&&(Wi=document.createElement("div").style,"AnimationEvent"in window||(delete Ll.animationend.animation,delete Ll.animationiteration.animation,delete Ll.animationstart.animation),"TransitionEvent"in window||delete Ll.transitionend.transition);function pt(a){if(cr[a])return cr[a];if(!Ll[a])return a;var l=Ll[a],i;for(i in l)if(l.hasOwnProperty(i)&&i in Wi)return cr[a]=l[i];return a}var ks=pt("animationend"),Xm=pt("animationiteration"),lh=pt("animationstart"),ko=pt("transitionrun"),Ks=pt("transitionstart"),Su=pt("transitioncancel"),lv=pt("transitionend"),_u=new Map,rr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");rr.push("scrollEnd");function mn(a,l){_u.set(a,l),Qi(l,[a])}var Ko=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Vt=[],Ra=0,bl=0;function Jn(){for(var a=Ra,l=bl=Ra=0;l<a;){var i=Vt[l];Vt[l++]=null;var r=Vt[l];Vt[l++]=null;var p=Vt[l];Vt[l++]=null;var m=Vt[l];if(Vt[l++]=null,r!==null&&p!==null){var S=r.pending;S===null?p.next=p:(p.next=S.next,S.next=p),r.pending=p}m!==0&&uh(i,p,m)}}function $n(a,l,i,r){Vt[Ra++]=a,Vt[Ra++]=l,Vt[Ra++]=i,Vt[Ra++]=r,bl|=r,a.lanes|=r,a=a.alternate,a!==null&&(a.lanes|=r)}function Sl(a,l,i,r){return $n(a,l,i,r),Is(a)}function di(a,l){return $n(a,null,null,l),Is(a)}function uh(a,l,i){a.lanes|=i;var r=a.alternate;r!==null&&(r.lanes|=i);for(var p=!1,m=a.return;m!==null;)m.childLanes|=i,r=m.alternate,r!==null&&(r.childLanes|=i),m.tag===22&&(a=m.stateNode,a===null||a._visibility&1||(p=!0)),a=m,m=m.return;return a.tag===3?(m=a.stateNode,p&&l!==null&&(p=31-dn(i),a=m.hiddenUpdates,r=a[p],r===null?a[p]=[l]:r.push(l),l.lane=i|536870912),m):null}function Is(a){if(50<Hr)throw Hr=0,Uf=null,Error(h(185));for(var l=a.return;l!==null;)a=l,l=a.return;return a.tag===3?a.stateNode:null}var yn={};function uv(a,l,i,r){this.tag=a,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function na(a,l,i,r){return new uv(a,l,i,r)}function Io(a){return a=a.prototype,!(!a||!a.isReactComponent)}function hi(a,l){var i=a.alternate;return i===null?(i=na(a.tag,l,a.key,a.mode),i.elementType=a.elementType,i.type=a.type,i.stateNode=a.stateNode,i.alternate=a,a.alternate=i):(i.pendingProps=l,i.type=a.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=a.flags&65011712,i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,l=a.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=a.sibling,i.index=a.index,i.ref=a.ref,i.refCleanup=a.refCleanup,i}function Qm(a,l){a.flags&=65011714;var i=a.alternate;return i===null?(a.childLanes=0,a.lanes=l,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,l=i.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),a}function ih(a,l,i,r,p,m){var S=0;if(r=a,typeof a=="function")Io(a)&&(S=1);else if(typeof a=="string")S=py(a,i,et.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case qe:return a=na(31,i,l,p),a.elementType=qe,a.lanes=m,a;case re:return pi(i.children,p,m,l);case se:S=8,p|=24;break;case ue:return a=na(12,i,l,p|2),a.elementType=ue,a.lanes=m,a;case Je:return a=na(13,i,l,p),a.elementType=Je,a.lanes=m,a;case je:return a=na(19,i,l,p),a.elementType=je,a.lanes=m,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ye:S=10;break e;case Ee:S=9;break e;case F:S=11;break e;case Te:S=14;break e;case ie:S=16,r=null;break e}S=29,i=Error(h(130,a===null?"null":typeof a,"")),r=null}return l=na(S,i,l,p),l.elementType=a,l.type=r,l.lanes=m,l}function pi(a,l,i,r){return a=na(7,a,r,l),a.lanes=i,a}function sr(a,l,i){return a=na(6,a,null,l),a.lanes=i,a}function Jm(a){var l=na(18,null,null,0);return l.stateNode=a,l}function oh(a,l,i){return l=na(4,a.children!==null?a.children:[],a.key,l),l.lanes=i,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}var $m=new WeakMap;function kn(a,l){if(typeof a=="object"&&a!==null){var i=$m.get(a);return i!==void 0?i:(l={value:a,source:l,stack:xd(l)},$m.set(a,l),l)}return{value:a,source:l,stack:xd(l)}}var Kn=[],Fo=0,Fs=null,fa=0,Rn=[],gn=0,Vl=null,Un=1,Gl="";function _l(a,l){Kn[Fo++]=fa,Kn[Fo++]=Fs,Fs=a,fa=l}function km(a,l,i){Rn[gn++]=Un,Rn[gn++]=Gl,Rn[gn++]=Vl,Vl=a;var r=Un;a=Gl;var p=32-dn(r)-1;r&=~(1<<p),i+=1;var m=32-dn(l)+p;if(30<m){var S=p-p%5;m=(r&(1<<S)-1).toString(32),r>>=S,p-=S,Un=1<<32-dn(l)+p|i<<p|r,Gl=m+a}else Un=1<<m|i<<p|r,Gl=a}function fr(a){a.return!==null&&(_l(a,1),km(a,1,0))}function ch(a){for(;a===Fs;)Fs=Kn[--Fo],Kn[Fo]=null,fa=Kn[--Fo],Kn[Fo]=null;for(;a===Vl;)Vl=Rn[--gn],Rn[gn]=null,Gl=Rn[--gn],Rn[gn]=null,Un=Rn[--gn],Rn[gn]=null}function Ws(a,l){Rn[gn++]=Un,Rn[gn++]=Gl,Rn[gn++]=Vl,Un=l.id,Gl=l.overflow,Vl=a}var Ua=null,Nt=null,nt=!1,Eu=null,Ta=!1,zu=Error(h(519));function El(a){var l=Error(h(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hr(kn(l,a)),zu}function Ps(a){var l=a.stateNode,i=a.type,r=a.memoizedProps;switch(l[Ot]=a,l[hn]=r,i){case"dialog":tt("cancel",l),tt("close",l);break;case"iframe":case"object":case"embed":tt("load",l);break;case"video":case"audio":for(i=0;i<Vr.length;i++)tt(Vr[i],l);break;case"source":tt("error",l);break;case"img":case"image":case"link":tt("error",l),tt("load",l);break;case"details":tt("toggle",l);break;case"input":tt("invalid",l),Bs(l,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":tt("invalid",l);break;case"textarea":tt("invalid",l),Tm(l,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||r.suppressHydrationWarning===!0||ny(l.textContent,i)?(r.popover!=null&&(tt("beforetoggle",l),tt("toggle",l)),r.onScroll!=null&&tt("scroll",l),r.onScrollEnd!=null&&tt("scrollend",l),r.onClick!=null&&(l.onclick=Zl),l=!0):l=!1,l||El(a,!0)}function dr(a){for(Ua=a.return;Ua;)switch(Ua.tag){case 5:case 31:case 13:Ta=!1;return;case 27:case 3:Ta=!0;return;default:Ua=Ua.return}}function Tu(a){if(a!==Ua)return!1;if(!nt)return dr(a),nt=!0,!1;var l=a.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=a.type,i=!(i!=="form"&&i!=="button")||Xr(a.type,a.memoizedProps)),i=!i),i&&Nt&&El(a),dr(a),l===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(317));Nt=fp(a)}else if(l===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(317));Nt=fp(a)}else l===27?(l=Nt,eu(a.type)?(a=Qf,Qf=null,Nt=a):Nt=l):Nt=Ua?wn(a.stateNode.nextSibling):null;return!0}function Pi(){Nt=Ua=null,nt=!1}function Km(){var a=Eu;return a!==null&&(ea===null?ea=a:ea.push.apply(ea,a),Eu=null),a}function hr(a){Eu===null?Eu=[a]:Eu.push(a)}var rh=ga(null),mi=null,Xl=null;function vn(a,l,i){ut(rh,l._currentValue),l._currentValue=i}function Ql(a){a._currentValue=rh.current,Tt(rh)}function sh(a,l,i){for(;a!==null;){var r=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,r!==null&&(r.childLanes|=l)):r!==null&&(r.childLanes&l)!==l&&(r.childLanes|=l),a===i)break;a=a.return}}function Au(a,l,i,r){var p=a.child;for(p!==null&&(p.return=a);p!==null;){var m=p.dependencies;if(m!==null){var S=p.child;m=m.firstContext;e:for(;m!==null;){var A=m;m=p;for(var C=0;C<l.length;C++)if(A.context===l[C]){m.lanes|=i,A=m.alternate,A!==null&&(A.lanes|=i),sh(m.return,i,a),r||(S=null);break e}m=A.next}}else if(p.tag===18){if(S=p.return,S===null)throw Error(h(341));S.lanes|=i,m=S.alternate,m!==null&&(m.lanes|=i),sh(S,i,a),S=null}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===a){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}}function Na(a,l,i,r){a=null;for(var p=l,m=!1;p!==null;){if(!m){if((p.flags&524288)!==0)m=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var S=p.alternate;if(S===null)throw Error(h(387));if(S=S.memoizedProps,S!==null){var A=p.type;nn(p.pendingProps.value,S.value)||(a!==null?a.push(A):a=[A])}}else if(p===xs.current){if(S=p.alternate,S===null)throw Error(h(387));S.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(a!==null?a.push(kf):a=[kf])}p=p.return}a!==null&&Au(l,a,i,r),l.flags|=262144}function Wo(a){for(a=a.firstContext;a!==null;){if(!nn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Ne(a){mi=a,Xl=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function P(a){return ef(mi,a)}function yi(a,l){return mi===null&&Ne(a),ef(a,l)}function ef(a,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Xl===null){if(a===null)throw Error(h(308));Xl=l,a.dependencies={lanes:0,firstContext:l},a.flags|=524288}else Xl=Xl.next=l;return i}var la=typeof AbortController<"u"?AbortController:function(){var a=[],l=this.signal={aborted:!1,addEventListener:function(i,r){a.push(r)}};this.abort=function(){l.aborted=!0,a.forEach(function(i){return i()})}},Im=u.unstable_scheduleCallback,Fm=u.unstable_NormalPriority,da={$$typeof:ye,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tf(){return{controller:new la,data:new Map,refCount:0}}function af(a){a.refCount--,a.refCount===0&&Im(Fm,function(){a.controller.abort()})}var Po=null,nf=0,eo=0,va=null;function bt(a,l){if(Po===null){var i=Po=[];nf=0,eo=np(),va={status:"pending",value:void 0,then:function(r){i.push(r)}}}return nf++,l.then(lf,lf),l}function lf(){if(--nf===0&&Po!==null){va!==null&&(va.status="fulfilled");var a=Po;Po=null,eo=0,va=null;for(var l=0;l<a.length;l++)(0,a[l])()}}function uf(a,l){var i=[],r={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return a.then(function(){r.status="fulfilled",r.value=l;for(var p=0;p<i.length;p++)(0,i[p])(l)},function(p){for(r.status="rejected",r.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),r}var gi=H.S;H.S=function(a,l){X0=$a(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&bt(a,l),gi!==null&&gi(a,l)};var In=ga(null);function Fn(){var a=In.current;return a!==null?a:Dt.pooledCache}function pr(a,l){l===null?ut(In,In.current):ut(In,l.pool)}function ec(){var a=Fn();return a===null?null:{parent:da._currentValue,pool:a}}var to=Error(h(460)),tc=Error(h(474)),mr=Error(h(542)),ac={then:function(){}};function Wm(a){return a=a.status,a==="fulfilled"||a==="rejected"}function Pm(a,l,i){switch(i=a[i],i===void 0?a.push(l):i!==l&&(l.then(Zl,Zl),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fh(a),a;default:if(typeof l.status=="string")l.then(Zl,Zl);else{if(a=Dt,a!==null&&100<a.shellSuspendCounter)throw Error(h(482));a=l,a.status="pending",a.then(function(r){if(l.status==="pending"){var p=l;p.status="fulfilled",p.value=r}},function(r){if(l.status==="pending"){var p=l;p.status="rejected",p.reason=r}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fh(a),a}throw no=l,to}}function ao(a){try{var l=a._init;return l(a._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(no=i,to):i}}var no=null;function e0(){if(no===null)throw Error(h(459));var a=no;return no=null,a}function fh(a){if(a===to||a===mr)throw Error(h(483))}var lo=null,nc=0;function of(a){var l=nc;return nc+=1,lo===null&&(lo=[]),Pm(lo,a,l)}function yr(a,l){l=l.props.ref,a.ref=l!==void 0?l:null}function cf(a,l){throw l.$$typeof===ae?Error(h(525)):(a=Object.prototype.toString.call(l),Error(h(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a)))}function iv(a){function l(B,N){if(a){var q=B.deletions;q===null?(B.deletions=[N],B.flags|=16):q.push(N)}}function i(B,N){if(!a)return null;for(;N!==null;)l(B,N),N=N.sibling;return null}function r(B){for(var N=new Map;B!==null;)B.key!==null?N.set(B.key,B):N.set(B.index,B),B=B.sibling;return N}function p(B,N){return B=hi(B,N),B.index=0,B.sibling=null,B}function m(B,N,q){return B.index=q,a?(q=B.alternate,q!==null?(q=q.index,q<N?(B.flags|=67108866,N):q):(B.flags|=67108866,N)):(B.flags|=1048576,N)}function S(B){return a&&B.alternate===null&&(B.flags|=67108866),B}function A(B,N,q,I){return N===null||N.tag!==6?(N=sr(q,B.mode,I),N.return=B,N):(N=p(N,q),N.return=B,N)}function C(B,N,q,I){var _e=q.type;return _e===re?$(B,N,q.props.children,I,q.key):N!==null&&(N.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ie&&ao(_e)===N.type)?(N=p(N,q.props),yr(N,q),N.return=B,N):(N=ih(q.type,q.key,q.props,null,B.mode,I),yr(N,q),N.return=B,N)}function L(B,N,q,I){return N===null||N.tag!==4||N.stateNode.containerInfo!==q.containerInfo||N.stateNode.implementation!==q.implementation?(N=oh(q,B.mode,I),N.return=B,N):(N=p(N,q.children||[]),N.return=B,N)}function $(B,N,q,I,_e){return N===null||N.tag!==7?(N=pi(q,B.mode,I,_e),N.return=B,N):(N=p(N,q),N.return=B,N)}function W(B,N,q){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=sr(""+N,B.mode,q),N.return=B,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case ne:return q=ih(N.type,N.key,N.props,null,B.mode,q),yr(q,N),q.return=B,q;case ce:return N=oh(N,B.mode,q),N.return=B,N;case ie:return N=ao(N),W(B,N,q)}if(tn(N)||De(N))return N=pi(N,B.mode,q,null),N.return=B,N;if(typeof N.then=="function")return W(B,of(N),q);if(N.$$typeof===ye)return W(B,yi(B,N),q);cf(B,N)}return null}function V(B,N,q,I){var _e=N!==null?N.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return _e!==null?null:A(B,N,""+q,I);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case ne:return q.key===_e?C(B,N,q,I):null;case ce:return q.key===_e?L(B,N,q,I):null;case ie:return q=ao(q),V(B,N,q,I)}if(tn(q)||De(q))return _e!==null?null:$(B,N,q,I,null);if(typeof q.then=="function")return V(B,N,of(q),I);if(q.$$typeof===ye)return V(B,N,yi(B,q),I);cf(B,q)}return null}function J(B,N,q,I,_e){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return B=B.get(q)||null,A(N,B,""+I,_e);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case ne:return B=B.get(I.key===null?q:I.key)||null,C(N,B,I,_e);case ce:return B=B.get(I.key===null?q:I.key)||null,L(N,B,I,_e);case ie:return I=ao(I),J(B,N,q,I,_e)}if(tn(I)||De(I))return B=B.get(q)||null,$(N,B,I,_e,null);if(typeof I.then=="function")return J(B,N,q,of(I),_e);if(I.$$typeof===ye)return J(B,N,q,yi(N,I),_e);cf(N,I)}return null}function me(B,N,q,I){for(var _e=null,st=null,ge=N,Ye=N=0,Xe=null;ge!==null&&Ye<q.length;Ye++){ge.index>Ye?(Xe=ge,ge=null):Xe=ge.sibling;var ht=V(B,ge,q[Ye],I);if(ht===null){ge===null&&(ge=Xe);break}a&&ge&&ht.alternate===null&&l(B,ge),N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht,ge=Xe}if(Ye===q.length)return i(B,ge),nt&&_l(B,Ye),_e;if(ge===null){for(;Ye<q.length;Ye++)ge=W(B,q[Ye],I),ge!==null&&(N=m(ge,N,Ye),st===null?_e=ge:st.sibling=ge,st=ge);return nt&&_l(B,Ye),_e}for(ge=r(ge);Ye<q.length;Ye++)Xe=J(ge,B,Ye,q[Ye],I),Xe!==null&&(a&&Xe.alternate!==null&&ge.delete(Xe.key===null?Ye:Xe.key),N=m(Xe,N,Ye),st===null?_e=Xe:st.sibling=Xe,st=Xe);return a&&ge.forEach(function(nu){return l(B,nu)}),nt&&_l(B,Ye),_e}function we(B,N,q,I){if(q==null)throw Error(h(151));for(var _e=null,st=null,ge=N,Ye=N=0,Xe=null,ht=q.next();ge!==null&&!ht.done;Ye++,ht=q.next()){ge.index>Ye?(Xe=ge,ge=null):Xe=ge.sibling;var nu=V(B,ge,ht.value,I);if(nu===null){ge===null&&(ge=Xe);break}a&&ge&&nu.alternate===null&&l(B,ge),N=m(nu,N,Ye),st===null?_e=nu:st.sibling=nu,st=nu,ge=Xe}if(ht.done)return i(B,ge),nt&&_l(B,Ye),_e;if(ge===null){for(;!ht.done;Ye++,ht=q.next())ht=W(B,ht.value,I),ht!==null&&(N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht);return nt&&_l(B,Ye),_e}for(ge=r(ge);!ht.done;Ye++,ht=q.next())ht=J(ge,B,Ye,ht.value,I),ht!==null&&(a&&ht.alternate!==null&&ge.delete(ht.key===null?Ye:ht.key),N=m(ht,N,Ye),st===null?_e=ht:st.sibling=ht,st=ht);return a&&ge.forEach(function(sb){return l(B,sb)}),nt&&_l(B,Ye),_e}function xt(B,N,q,I){if(typeof q=="object"&&q!==null&&q.type===re&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case ne:e:{for(var _e=q.key;N!==null;){if(N.key===_e){if(_e=q.type,_e===re){if(N.tag===7){i(B,N.sibling),I=p(N,q.props.children),I.return=B,B=I;break e}}else if(N.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ie&&ao(_e)===N.type){i(B,N.sibling),I=p(N,q.props),yr(I,q),I.return=B,B=I;break e}i(B,N);break}else l(B,N);N=N.sibling}q.type===re?(I=pi(q.props.children,B.mode,I,q.key),I.return=B,B=I):(I=ih(q.type,q.key,q.props,null,B.mode,I),yr(I,q),I.return=B,B=I)}return S(B);case ce:e:{for(_e=q.key;N!==null;){if(N.key===_e)if(N.tag===4&&N.stateNode.containerInfo===q.containerInfo&&N.stateNode.implementation===q.implementation){i(B,N.sibling),I=p(N,q.children||[]),I.return=B,B=I;break e}else{i(B,N);break}else l(B,N);N=N.sibling}I=oh(q,B.mode,I),I.return=B,B=I}return S(B);case ie:return q=ao(q),xt(B,N,q,I)}if(tn(q))return me(B,N,q,I);if(De(q)){if(_e=De(q),typeof _e!="function")throw Error(h(150));return q=_e.call(q),we(B,N,q,I)}if(typeof q.then=="function")return xt(B,N,of(q),I);if(q.$$typeof===ye)return xt(B,N,yi(B,q),I);cf(B,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,N!==null&&N.tag===6?(i(B,N.sibling),I=p(N,q),I.return=B,B=I):(i(B,N),I=sr(q,B.mode,I),I.return=B,B=I),S(B)):i(B,N)}return function(B,N,q,I){try{nc=0;var _e=xt(B,N,q,I);return lo=null,_e}catch(ge){if(ge===to||ge===mr)throw ge;var st=na(29,ge,null,B.mode);return st.lanes=I,st.return=B,st}}}var uo=iv(!0),t0=iv(!1),vi=!1;function rf(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dh(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function bi(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Wn(a,l,i){var r=a.updateQueue;if(r===null)return null;if(r=r.shared,(dt&2)!==0){var p=r.pending;return p===null?l.next=l:(l.next=p.next,p.next=l),r.pending=l,l=Is(a),uh(a,null,i),l}return $n(a,r,l,i),Is(a)}function io(a,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var r=l.lanes;r&=a.pendingLanes,i|=r,l.lanes=i,hu(a,i)}}function hh(a,l){var i=a.updateQueue,r=a.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?p=m=S:m=m.next=S,i=i.next}while(i!==null);m===null?p=m=l:m=m.next=l}else p=m=l;i={baseState:r.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:r.shared,callbacks:r.callbacks},a.updateQueue=i;return}a=i.lastBaseUpdate,a===null?i.firstBaseUpdate=l:a.next=l,i.lastBaseUpdate=l}var a0=!1;function oo(){if(a0){var a=va;if(a!==null)throw a}}function Ou(a,l,i,r){a0=!1;var p=a.updateQueue;vi=!1;var m=p.firstBaseUpdate,S=p.lastBaseUpdate,A=p.shared.pending;if(A!==null){p.shared.pending=null;var C=A,L=C.next;C.next=null,S===null?m=L:S.next=L,S=C;var $=a.alternate;$!==null&&($=$.updateQueue,A=$.lastBaseUpdate,A!==S&&(A===null?$.firstBaseUpdate=L:A.next=L,$.lastBaseUpdate=C))}if(m!==null){var W=p.baseState;S=0,$=L=C=null,A=m;do{var V=A.lane&-536870913,J=V!==A.lane;if(J?(We&V)===V:(r&V)===V){V!==0&&V===eo&&(a0=!0),$!==null&&($=$.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var me=a,we=A;V=l;var xt=i;switch(we.tag){case 1:if(me=we.payload,typeof me=="function"){W=me.call(xt,W,V);break e}W=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=we.payload,V=typeof me=="function"?me.call(xt,W,V):me,V==null)break e;W=Y({},W,V);break e;case 2:vi=!0}}V=A.callback,V!==null&&(a.flags|=64,J&&(a.flags|=8192),J=p.callbacks,J===null?p.callbacks=[V]:J.push(V))}else J={lane:V,tag:A.tag,payload:A.payload,callback:A.callback,next:null},$===null?(L=$=J,C=W):$=$.next=J,S|=V;if(A=A.next,A===null){if(A=p.shared.pending,A===null)break;J=A,A=J.next,J.next=null,p.lastBaseUpdate=J,p.shared.pending=null}}while(!0);$===null&&(C=W),p.baseState=C,p.firstBaseUpdate=L,p.lastBaseUpdate=$,m===null&&(p.shared.lanes=0),Wl|=S,a.lanes=S,a.memoizedState=W}}function ph(a,l){if(typeof a!="function")throw Error(h(191,a));a.call(l)}function co(a,l){var i=a.callbacks;if(i!==null)for(a.callbacks=null,a=0;a<i.length;a++)ph(i[a],l)}var Aa=ga(null),lc=ga(0);function ov(a,l){a=Fl,ut(lc,a),ut(Aa,l),Fl=a|l.baseLanes}function sf(){ut(lc,Fl),ut(Aa,Aa.current)}function gr(){Fl=lc.current,Tt(Aa),Tt(lc)}var bn=ga(null),Pn=null;function wu(a){var l=a.alternate;ut(Gt,Gt.current&1),ut(bn,a),Pn===null&&(l===null||Aa.current!==null||l.memoizedState!==null)&&(Pn=a)}function vr(a){ut(Gt,Gt.current),ut(bn,a),Pn===null&&(Pn=a)}function mh(a){a.tag===22?(ut(Gt,Gt.current),ut(bn,a),Pn===null&&(Pn=a)):Jl()}function Jl(){ut(Gt,Gt.current),ut(bn,bn.current)}function Sn(a){Tt(bn),Pn===a&&(Pn=null),Tt(Gt)}var Gt=ga(0);function br(a){for(var l=a;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Ol(i)||_o(i)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Du=0,Le=null,St=null,ha=null,uc=!1,ic=!1,Si=!1,ff=0,Sr=0,ro=null,cv=0;function Wt(){throw Error(h(321))}function _i(a,l){if(l===null)return!1;for(var i=0;i<l.length&&i<a.length;i++)if(!nn(a[i],l[i]))return!1;return!0}function df(a,l,i,r,p,m){return Du=m,Le=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,H.H=a===null||a.memoizedState===null?yv:Rh,Si=!1,m=i(r,p),Si=!1,ic&&(m=rv(l,i,r,p)),yh(a),m}function yh(a){H.H=_f;var l=St!==null&&St.next!==null;if(Du=0,ha=St=Le=null,uc=!1,Sr=0,ro=null,l)throw Error(h(300));a===null||pa||(a=a.dependencies,a!==null&&Wo(a)&&(pa=!0))}function rv(a,l,i,r){Le=a;var p=0;do{if(ic&&(ro=null),Sr=0,ic=!1,25<=p)throw Error(h(301));if(p+=1,ha=St=null,a.updateQueue!=null){var m=a.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}H.H=gv,m=l(i,r)}while(ic);return m}function $1(){var a=H.H,l=a.useState()[0];return l=typeof l.then=="function"?cc(l):l,a=a.useState()[0],(St!==null?St.memoizedState:null)!==a&&(Le.flags|=1024),l}function gh(){var a=ff!==0;return ff=0,a}function oc(a,l,i){l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~i}function hf(a){if(uc){for(a=a.memoizedState;a!==null;){var l=a.queue;l!==null&&(l.pending=null),a=a.next}uc=!1}Du=0,ha=St=Le=null,ic=!1,Sr=ff=0,ro=null}function Za(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ha===null?Le.memoizedState=ha=a:ha=ha.next=a,ha}function ua(){if(St===null){var a=Le.alternate;a=a!==null?a.memoizedState:null}else a=St.next;var l=ha===null?Le.memoizedState:ha.next;if(l!==null)ha=l,St=a;else{if(a===null)throw Le.alternate===null?Error(h(467)):Error(h(310));St=a,a={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},ha===null?Le.memoizedState=ha=a:ha=ha.next=a}return ha}function pf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function cc(a){var l=Sr;return Sr+=1,ro===null&&(ro=[]),a=Pm(ro,a,l),l=Le,(ha===null?l.memoizedState:ha.next)===null&&(l=l.alternate,H.H=l===null||l.memoizedState===null?yv:Rh),a}function _r(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return cc(a);if(a.$$typeof===ye)return P(a)}throw Error(h(438,String(a)))}function vh(a){var l=null,i=Le.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var r=Le.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(l={data:r.data.map(function(p){return p.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=pf(),Le.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(a),r=0;r<a;r++)i[r]=de;return l.index++,i}function Mu(a,l){return typeof l=="function"?l(a):l}function xu(a){var l=ua();return bh(l,St,a)}function bh(a,l,i){var r=a.queue;if(r===null)throw Error(h(311));r.lastRenderedReducer=i;var p=a.baseQueue,m=r.pending;if(m!==null){if(p!==null){var S=p.next;p.next=m.next,m.next=S}l.baseQueue=p=m,r.pending=null}if(m=a.baseState,p===null)a.memoizedState=m;else{l=p.next;var A=S=null,C=null,L=l,$=!1;do{var W=L.lane&-536870913;if(W!==L.lane?(We&W)===W:(Du&W)===W){var V=L.revertLane;if(V===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),W===eo&&($=!0);else if((Du&V)===V){L=L.next,V===eo&&($=!0);continue}else W={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(A=C=W,S=m):C=C.next=W,Le.lanes|=V,Wl|=V;W=L.action,Si&&i(m,W),m=L.hasEagerState?L.eagerState:i(m,W)}else V={lane:W,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(A=C=V,S=m):C=C.next=V,Le.lanes|=W,Wl|=W;L=L.next}while(L!==null&&L!==l);if(C===null?S=m:C.next=A,!nn(m,a.memoizedState)&&(pa=!0,$&&(i=va,i!==null)))throw i;a.memoizedState=m,a.baseState=S,a.baseQueue=C,r.lastRenderedState=m}return p===null&&(r.lanes=0),[a.memoizedState,r.dispatch]}function Sh(a){var l=ua(),i=l.queue;if(i===null)throw Error(h(311));i.lastRenderedReducer=a;var r=i.dispatch,p=i.pending,m=l.memoizedState;if(p!==null){i.pending=null;var S=p=p.next;do m=a(m,S.action),S=S.next;while(S!==p);nn(m,l.memoizedState)||(pa=!0),l.memoizedState=m,l.baseQueue===null&&(l.baseState=m),i.lastRenderedState=m}return[m,r]}function n0(a,l,i){var r=Le,p=ua(),m=nt;if(m){if(i===void 0)throw Error(h(407));i=i()}else i=l();var S=!nn((St||p).memoizedState,i);if(S&&(p.memoizedState=i,pa=!0),p=p.queue,Ah(_h.bind(null,r,p,a),[a]),p.getSnapshot!==l||S||ha!==null&&ha.memoizedState.tag&1){if(r.flags|=2048,sc(9,{destroy:void 0},l0.bind(null,r,p,i,l),null),Dt===null)throw Error(h(349));m||(Du&127)!==0||mf(r,l,i)}return i}function mf(a,l,i){a.flags|=16384,a={getSnapshot:l,value:i},l=Le.updateQueue,l===null?(l=pf(),Le.updateQueue=l,l.stores=[a]):(i=l.stores,i===null?l.stores=[a]:i.push(a))}function l0(a,l,i,r){l.value=i,l.getSnapshot=r,Eh(l)&&zh(a)}function _h(a,l,i){return i(function(){Eh(l)&&zh(a)})}function Eh(a){var l=a.getSnapshot;a=a.value;try{var i=l();return!nn(a,i)}catch{return!0}}function zh(a){var l=di(a,2);l!==null&&On(l,a,2)}function u0(a){var l=Za();if(typeof a=="function"){var i=a;if(a=i(),Si){ii(!0);try{i()}finally{ii(!1)}}}return l.memoizedState=l.baseState=a,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:a},l}function Ha(a,l,i,r){return a.baseState=i,bh(a,St,typeof r=="function"?r:Mu)}function sv(a,l,i,r,p){if(Sf(a))throw Error(h(485));if(a=l.action,a!==null){var m={payload:p,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){m.listeners.push(S)}};H.T!==null?i(!0):m.isTransition=!1,r(m),i=l.pending,i===null?(m.next=l.pending=m,i0(l,m)):(m.next=i.next,l.pending=i.next=m)}}function i0(a,l){var i=l.action,r=l.payload,p=a.state;if(l.isTransition){var m=H.T,S={};H.T=S;try{var A=i(p,r),C=H.S;C!==null&&C(S,A),o0(a,l,A)}catch(L){rc(a,l,L)}finally{m!==null&&S.types!==null&&(m.types=S.types),H.T=m}}else try{m=i(p,r),o0(a,l,m)}catch(L){rc(a,l,L)}}function o0(a,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){c0(a,l,r)},function(r){return rc(a,l,r)}):c0(a,l,i)}function c0(a,l,i){l.status="fulfilled",l.value=i,r0(l),a.state=i,l=a.pending,l!==null&&(i=l.next,i===l?a.pending=null:(i=i.next,l.next=i,i0(a,i)))}function rc(a,l,i){var r=a.pending;if(a.pending=null,r!==null){r=r.next;do l.status="rejected",l.reason=i,r0(l),l=l.next;while(l!==r)}a.action=null}function r0(a){a=a.listeners;for(var l=0;l<a.length;l++)(0,a[l])()}function yf(a,l){return l}function s0(a,l){if(nt){var i=Dt.formState;if(i!==null){e:{var r=Le;if(nt){if(Nt){t:{for(var p=Nt,m=Ta;p.nodeType!==8;){if(!m){p=null;break t}if(p=wn(p.nextSibling),p===null){p=null;break t}}m=p.data,p=m==="F!"||m==="F"?p:null}if(p){Nt=wn(p.nextSibling),r=p.data==="F!";break e}}El(r)}r=!1}r&&(l=i[0])}}return i=Za(),i.memoizedState=i.baseState=l,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yf,lastRenderedState:l},i.queue=r,i=xh.bind(null,Le,r),r.dispatch=i,r=u0(!1),m=so.bind(null,Le,!1,r.queue),r=Za(),p={state:l,dispatch:null,action:a,pending:null},r.queue=p,i=sv.bind(null,Le,p,m,i),p.dispatch=i,r.memoizedState=a,[l,i,!1]}function fv(a){var l=ua();return gf(l,St,a)}function gf(a,l,i){if(l=bh(a,l,yf)[0],a=xu(Mu)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var r=cc(l)}catch(S){throw S===to?mr:S}else r=l;l=ua();var p=l.queue,m=p.dispatch;return i!==l.memoizedState&&(Le.flags|=2048,sc(9,{destroy:void 0},f0.bind(null,p,i),null)),[r,m,a]}function f0(a,l){a.action=l}function d0(a){var l=ua(),i=St;if(i!==null)return gf(l,i,a);ua(),l=l.memoizedState,i=ua();var r=i.queue.dispatch;return i.memoizedState=a,[l,r,!1]}function sc(a,l,i,r){return a={tag:a,create:i,deps:r,inst:l,next:null},l=Le.updateQueue,l===null&&(l=pf(),Le.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=a.next=a:(r=i.next,i.next=a,a.next=r,l.lastEffect=a),a}function h0(){return ua().memoizedState}function Er(a,l,i,r){var p=Za();Le.flags|=a,p.memoizedState=sc(1|l,{destroy:void 0},i,r===void 0?null:r)}function zr(a,l,i,r){var p=ua();r=r===void 0?null:r;var m=p.memoizedState.inst;St!==null&&r!==null&&_i(r,St.memoizedState.deps)?p.memoizedState=sc(l,m,i,r):(Le.flags|=a,p.memoizedState=sc(1|l,m,i,r))}function Th(a,l){Er(8390656,8,a,l)}function Ah(a,l){zr(2048,8,a,l)}function p0(a){Le.flags|=4;var l=Le.updateQueue;if(l===null)l=pf(),Le.updateQueue=l,l.events=[a];else{var i=l.events;i===null?l.events=[a]:i.push(a)}}function vf(a){var l=ua().memoizedState;return p0({ref:l,nextImpl:a}),function(){if((dt&2)!==0)throw Error(h(440));return l.impl.apply(void 0,arguments)}}function Oh(a,l){return zr(4,2,a,l)}function m0(a,l){return zr(4,4,a,l)}function wh(a,l){if(typeof l=="function"){a=a();var i=l(a);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function y0(a,l,i){i=i!=null?i.concat([a]):null,zr(4,4,wh.bind(null,l,a),i)}function $l(){}function Dh(a,l){var i=ua();l=l===void 0?null:l;var r=i.memoizedState;return l!==null&&_i(l,r[1])?r[0]:(i.memoizedState=[a,l],a)}function dv(a,l){var i=ua();l=l===void 0?null:l;var r=i.memoizedState;if(l!==null&&_i(l,r[1]))return r[0];if(r=a(),Si){ii(!0);try{a()}finally{ii(!1)}}return i.memoizedState=[r,l],r}function bf(a,l,i){return i===void 0||(Du&1073741824)!==0&&(We&261930)===0?a.memoizedState=l:(a.memoizedState=i,a=wv(),Le.lanes|=a,Wl|=a,i)}function Cu(a,l,i,r){return nn(i,l)?i:Aa.current!==null?(a=bf(a,i,r),nn(a,l)||(pa=!0),a):(Du&42)===0||(Du&1073741824)!==0&&(We&261930)===0?(pa=!0,a.memoizedState=i):(a=wv(),Le.lanes|=a,Wl|=a,l)}function Mh(a,l,i,r,p){var m=ee.p;ee.p=m!==0&&8>m?m:8;var S=H.T,A={};H.T=A,so(a,!1,l,i);try{var C=p(),L=H.S;if(L!==null&&L(A,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var $=uf(C,r);Ei(a,l,$,jn(a))}else Ei(a,l,r,jn(a))}catch(W){Ei(a,l,{then:function(){},status:"rejected",reason:W},jn())}finally{ee.p=m,S!==null&&A.types!==null&&(S.types=A.types),H.T=S}}function hv(){}function Tr(a,l,i,r){if(a.tag!==5)throw Error(h(476));var p=Ar(a).queue;Mh(a,p,l,le,i===null?hv:function(){return wt(a),i(r)})}function Ar(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:le},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:i},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function wt(a){var l=Ar(a);l.next===null&&(l=a.alternate.memoizedState),Ei(a,l.next.queue,{},jn())}function g0(){return P(kf)}function pv(){return ua().memoizedState}function v0(){return ua().memoizedState}function Ru(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var i=jn();a=bi(i);var r=Wn(l,a,i);r!==null&&(On(r,l,i),io(r,l,i)),l={cache:tf()},a.payload=l;return}l=l.return}}function mv(a,l,i){var r=jn();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Sf(a)?Ch(l,i):(i=Sl(a,l,i,r),i!==null&&(On(i,a,r),b0(i,l,r)))}function xh(a,l,i){var r=jn();Ei(a,l,i,r)}function Ei(a,l,i,r){var p={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Sf(a))Ch(l,p);else{var m=a.alternate;if(a.lanes===0&&(m===null||m.lanes===0)&&(m=l.lastRenderedReducer,m!==null))try{var S=l.lastRenderedState,A=m(S,i);if(p.hasEagerState=!0,p.eagerState=A,nn(A,S))return $n(a,l,p,0),Dt===null&&Jn(),!1}catch{}if(i=Sl(a,l,p,r),i!==null)return On(i,a,r),b0(i,l,r),!0}return!1}function so(a,l,i,r){if(r={lane:2,revertLane:np(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Sf(a)){if(l)throw Error(h(479))}else l=Sl(a,i,r,2),l!==null&&On(l,a,2)}function Sf(a){var l=a.alternate;return a===Le||l!==null&&l===Le}function Ch(a,l){ic=uc=!0;var i=a.pending;i===null?l.next=l:(l.next=i.next,i.next=l),a.pending=l}function b0(a,l,i){if((i&4194048)!==0){var r=l.lanes;r&=a.pendingLanes,i|=r,l.lanes=i,hu(a,i)}}var _f={readContext:P,use:_r,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt};_f.useEffectEvent=Wt;var yv={readContext:P,use:_r,useCallback:function(a,l){return Za().memoizedState=[a,l===void 0?null:l],a},useContext:P,useEffect:Th,useImperativeHandle:function(a,l,i){i=i!=null?i.concat([a]):null,Er(4194308,4,wh.bind(null,l,a),i)},useLayoutEffect:function(a,l){return Er(4194308,4,a,l)},useInsertionEffect:function(a,l){Er(4,2,a,l)},useMemo:function(a,l){var i=Za();l=l===void 0?null:l;var r=a();if(Si){ii(!0);try{a()}finally{ii(!1)}}return i.memoizedState=[r,l],r},useReducer:function(a,l,i){var r=Za();if(i!==void 0){var p=i(l);if(Si){ii(!0);try{i(l)}finally{ii(!1)}}}else p=l;return r.memoizedState=r.baseState=p,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:p},r.queue=a,a=a.dispatch=mv.bind(null,Le,a),[r.memoizedState,a]},useRef:function(a){var l=Za();return a={current:a},l.memoizedState=a},useState:function(a){a=u0(a);var l=a.queue,i=xh.bind(null,Le,l);return l.dispatch=i,[a.memoizedState,i]},useDebugValue:$l,useDeferredValue:function(a,l){var i=Za();return bf(i,a,l)},useTransition:function(){var a=u0(!1);return a=Mh.bind(null,Le,a.queue,!0,!1),Za().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,i){var r=Le,p=Za();if(nt){if(i===void 0)throw Error(h(407));i=i()}else{if(i=l(),Dt===null)throw Error(h(349));(We&127)!==0||mf(r,l,i)}p.memoizedState=i;var m={value:i,getSnapshot:l};return p.queue=m,Th(_h.bind(null,r,m,a),[a]),r.flags|=2048,sc(9,{destroy:void 0},l0.bind(null,r,m,i,l),null),i},useId:function(){var a=Za(),l=Dt.identifierPrefix;if(nt){var i=Gl,r=Un;i=(r&~(1<<32-dn(r)-1)).toString(32)+i,l="_"+l+"R_"+i,i=ff++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=cv++,l="_"+l+"r_"+i.toString(32)+"_";return a.memoizedState=l},useHostTransitionStatus:g0,useFormState:s0,useActionState:s0,useOptimistic:function(a){var l=Za();l.memoizedState=l.baseState=a;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=so.bind(null,Le,!0,i),i.dispatch=l,[a,l]},useMemoCache:vh,useCacheRefresh:function(){return Za().memoizedState=Ru.bind(null,Le)},useEffectEvent:function(a){var l=Za(),i={impl:a};return l.memoizedState=i,function(){if((dt&2)!==0)throw Error(h(440));return i.impl.apply(void 0,arguments)}}},Rh={readContext:P,use:_r,useCallback:Dh,useContext:P,useEffect:Ah,useImperativeHandle:y0,useInsertionEffect:Oh,useLayoutEffect:m0,useMemo:dv,useReducer:xu,useRef:h0,useState:function(){return xu(Mu)},useDebugValue:$l,useDeferredValue:function(a,l){var i=ua();return Cu(i,St.memoizedState,a,l)},useTransition:function(){var a=xu(Mu)[0],l=ua().memoizedState;return[typeof a=="boolean"?a:cc(a),l]},useSyncExternalStore:n0,useId:pv,useHostTransitionStatus:g0,useFormState:fv,useActionState:fv,useOptimistic:function(a,l){var i=ua();return Ha(i,St,a,l)},useMemoCache:vh,useCacheRefresh:v0};Rh.useEffectEvent=vf;var gv={readContext:P,use:_r,useCallback:Dh,useContext:P,useEffect:Ah,useImperativeHandle:y0,useInsertionEffect:Oh,useLayoutEffect:m0,useMemo:dv,useReducer:Sh,useRef:h0,useState:function(){return Sh(Mu)},useDebugValue:$l,useDeferredValue:function(a,l){var i=ua();return St===null?bf(i,a,l):Cu(i,St.memoizedState,a,l)},useTransition:function(){var a=Sh(Mu)[0],l=ua().memoizedState;return[typeof a=="boolean"?a:cc(a),l]},useSyncExternalStore:n0,useId:pv,useHostTransitionStatus:g0,useFormState:d0,useActionState:d0,useOptimistic:function(a,l){var i=ua();return St!==null?Ha(i,St,a,l):(i.baseState=a,[a,i.queue.dispatch])},useMemoCache:vh,useCacheRefresh:v0};gv.useEffectEvent=vf;function fc(a,l,i,r){l=a.memoizedState,i=i(r,l),i=i==null?l:Y({},l,i),a.memoizedState=i,a.lanes===0&&(a.updateQueue.baseState=i)}var zl={enqueueSetState:function(a,l,i){a=a._reactInternals;var r=jn(),p=bi(r);p.payload=l,i!=null&&(p.callback=i),l=Wn(a,p,r),l!==null&&(On(l,a,r),io(l,a,r))},enqueueReplaceState:function(a,l,i){a=a._reactInternals;var r=jn(),p=bi(r);p.tag=1,p.payload=l,i!=null&&(p.callback=i),l=Wn(a,p,r),l!==null&&(On(l,a,r),io(l,a,r))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var i=jn(),r=bi(i);r.tag=2,l!=null&&(r.callback=l),l=Wn(a,r,i),l!==null&&(On(l,a,i),io(l,a,i))}};function S0(a,l,i,r,p,m,S){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(r,m,S):l.prototype&&l.prototype.isPureReactComponent?!gl(i,r)||!gl(p,m):!0}function vv(a,l,i,r){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,r),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,r),l.state!==a&&zl.enqueueReplaceState(l,l.state,null)}function fo(a,l){var i=l;if("ref"in l){i={};for(var r in l)r!=="ref"&&(i[r]=l[r])}if(a=a.defaultProps){i===l&&(i=Y({},i));for(var p in a)i[p]===void 0&&(i[p]=a[p])}return i}function Uh(a){Ko(a)}function _0(a){console.error(a)}function Nh(a){Ko(a)}function Or(a,l){try{var i=a.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(r){setTimeout(function(){throw r})}}function Ef(a,l,i){try{var r=a.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function E0(a,l,i){return i=bi(i),i.tag=3,i.payload={element:null},i.callback=function(){Or(a,l)},i}function z0(a){return a=bi(a),a.tag=3,a}function T0(a,l,i,r){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var m=r.value;a.payload=function(){return p(m)},a.callback=function(){Ef(l,i,r)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){Ef(l,i,r),typeof p!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var A=r.stack;this.componentDidCatch(r.value,{componentStack:A!==null?A:""})})}function k1(a,l,i,r,p){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(l=i.alternate,l!==null&&Na(l,i,p,!0),i=bn.current,i!==null){switch(i.tag){case 31:case 13:return Pn===null?Ph():i.alternate===null&&Ht===0&&(Ht=3),i.flags&=-257,i.flags|=65536,i.lanes=p,r===ac?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([r]):l.add(r),Hf(a,r,p)),!1;case 22:return i.flags|=65536,r===ac?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([r]):i.add(r)),Hf(a,r,p)),!1}throw Error(h(435,i.tag))}return Hf(a,r,p),Ph(),!1}if(nt)return l=bn.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=p,r!==zu&&(a=Error(h(422),{cause:r}),hr(kn(a,i)))):(r!==zu&&(l=Error(h(423),{cause:r}),hr(kn(l,i))),a=a.current.alternate,a.flags|=65536,p&=-p,a.lanes|=p,r=kn(r,i),p=E0(a.stateNode,r,p),hh(a,p),Ht!==4&&(Ht=2)),!1;var m=Error(h(520),{cause:r});if(m=kn(m,i),Rf===null?Rf=[m]:Rf.push(m),Ht!==4&&(Ht=2),l===null)return!0;r=kn(r,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,a=p&-p,i.lanes|=a,a=E0(i.stateNode,r,a),hh(i,a),!1;case 1:if(l=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Xt===null||!Xt.has(m))))return i.flags|=65536,p&=-p,i.lanes|=p,p=z0(p),T0(p,a,i,r),hh(i,p),!1}i=i.return}while(i!==null);return!1}var Zh=Error(h(461)),pa=!1;function qt(a,l,i,r){l.child=a===null?t0(l,null,i,r):uo(l,a.child,i,r)}function A0(a,l,i,r,p){i=i.render;var m=l.ref;if("ref"in r){var S={};for(var A in r)A!=="ref"&&(S[A]=r[A])}else S=r;return Ne(l),r=df(a,l,i,S,m,p),A=gh(),a!==null&&!pa?(oc(a,l,p),al(a,l,p)):(nt&&A&&fr(l),l.flags|=1,qt(a,l,r,p),l.child)}function O0(a,l,i,r,p){if(a===null){var m=i.type;return typeof m=="function"&&!Io(m)&&m.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=m,w0(a,l,m,r,p)):(a=ih(i.type,null,r,l,l.mode,p),a.ref=l.ref,a.return=l,l.child=a)}if(m=a.child,!Bh(a,p)){var S=m.memoizedProps;if(i=i.compare,i=i!==null?i:gl,i(S,r)&&a.ref===l.ref)return al(a,l,p)}return l.flags|=1,a=hi(m,r),a.ref=l.ref,a.return=l,l.child=a}function w0(a,l,i,r,p){if(a!==null){var m=a.memoizedProps;if(gl(m,r)&&a.ref===l.ref)if(pa=!1,l.pendingProps=r=m,Bh(a,p))(a.flags&131072)!==0&&(pa=!0);else return l.lanes=a.lanes,al(a,l,p)}return Hh(a,l,i,r,p)}function bv(a,l,i,r){var p=r.children,m=a!==null?a.memoizedState:null;if(a===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((l.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,a!==null){for(r=l.child=a.child,p=0;r!==null;)p=p|r.lanes|r.childLanes,r=r.sibling;r=p&~m}else r=0,l.child=null;return _n(a,l,m,i,r)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},a!==null&&pr(l,m!==null?m.cachePool:null),m!==null?ov(l,m):sf(),mh(l);else return r=l.lanes=536870912,_n(a,l,m!==null?m.baseLanes|i:i,i,r)}else m!==null?(pr(l,m.cachePool),ov(l,m),Jl(),l.memoizedState=null):(a!==null&&pr(l,null),sf(),Jl());return qt(a,l,p,i),l.child}function ho(a,l){return a!==null&&a.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function _n(a,l,i,r,p){var m=Fn();return m=m===null?null:{parent:da._currentValue,pool:m},l.memoizedState={baseLanes:i,cachePool:m},a!==null&&pr(l,null),sf(),mh(l),a!==null&&Na(a,l,r,!0),l.childLanes=p,null}function zf(a,l){return l=Of({mode:l.mode,children:l.children},a.mode),l.ref=a.ref,a.child=l,l.return=a,l}function En(a,l,i){return uo(l,a.child,null,i),a=zf(l,l.pendingProps),a.flags|=2,Sn(l),l.memoizedState=null,a}function Sv(a,l,i){var r=l.pendingProps,p=(l.flags&128)!==0;if(l.flags&=-129,a===null){if(nt){if(r.mode==="hidden")return a=zf(l,r),l.lanes=536870912,ho(null,a);if(vr(l),(a=Nt)?(a=tb(a,Ta),a=a!==null&&a.data==="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:Vl!==null?{id:Un,overflow:Gl}:null,retryLane:536870912,hydrationErrors:null},i=Jm(a),i.return=l,l.child=i,Ua=l,Nt=null)):a=null,a===null)throw El(l);return l.lanes=536870912,null}return zf(l,r)}var m=a.memoizedState;if(m!==null){var S=m.dehydrated;if(vr(l),p)if(l.flags&256)l.flags&=-257,l=En(a,l,i);else if(l.memoizedState!==null)l.child=a.child,l.flags|=128,l=null;else throw Error(h(558));else if(pa||Na(a,l,i,!1),p=(i&a.childLanes)!==0,pa||p){if(r=Dt,r!==null&&(S=Gn(r,i),S!==0&&S!==m.retryLane))throw m.retryLane=S,di(a,S),On(r,a,S),Zh;Ph(),l=En(a,l,i)}else a=m.treeContext,Nt=wn(S.nextSibling),Ua=l,nt=!0,Eu=null,Ta=!1,a!==null&&Ws(l,a),l=zf(l,r),l.flags|=4096;return l}return a=hi(a.child,{mode:r.mode,children:r.children}),a.ref=l.ref,l.child=a,a.return=l,a}function el(a,l){var i=l.ref;if(i===null)a!==null&&a.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(h(284));(a===null||a.ref!==i)&&(l.flags|=4194816)}}function Hh(a,l,i,r,p){return Ne(l),i=df(a,l,i,r,void 0,p),r=gh(),a!==null&&!pa?(oc(a,l,p),al(a,l,p)):(nt&&r&&fr(l),l.flags|=1,qt(a,l,i,p),l.child)}function po(a,l,i,r,p,m){return Ne(l),l.updateQueue=null,i=rv(l,r,i,p),yh(a),r=gh(),a!==null&&!pa?(oc(a,l,m),al(a,l,m)):(nt&&r&&fr(l),l.flags|=1,qt(a,l,i,m),l.child)}function D0(a,l,i,r,p){if(Ne(l),l.stateNode===null){var m=yn,S=i.contextType;typeof S=="object"&&S!==null&&(m=P(S)),m=new i(r,m),l.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=zl,l.stateNode=m,m._reactInternals=l,m=l.stateNode,m.props=r,m.state=l.memoizedState,m.refs={},rf(l),S=i.contextType,m.context=typeof S=="object"&&S!==null?P(S):yn,m.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(fc(l,i,S,r),m.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(S=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),S!==m.state&&zl.enqueueReplaceState(m,m.state,null),Ou(l,r,m,p),oo(),m.state=l.memoizedState),typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!0}else if(a===null){m=l.stateNode;var A=l.memoizedProps,C=fo(i,A);m.props=C;var L=m.context,$=i.contextType;S=yn,typeof $=="object"&&$!==null&&(S=P($));var W=i.getDerivedStateFromProps;$=typeof W=="function"||typeof m.getSnapshotBeforeUpdate=="function",A=l.pendingProps!==A,$||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(A||L!==S)&&vv(l,m,r,S),vi=!1;var V=l.memoizedState;m.state=V,Ou(l,r,m,p),oo(),L=l.memoizedState,A||V!==L||vi?(typeof W=="function"&&(fc(l,i,W,r),L=l.memoizedState),(C=vi||S0(l,i,C,r,V,L,S))?($||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(l.flags|=4194308)):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=r,l.memoizedState=L),m.props=r,m.state=L,m.context=S,r=C):(typeof m.componentDidMount=="function"&&(l.flags|=4194308),r=!1)}else{m=l.stateNode,dh(a,l),S=l.memoizedProps,$=fo(i,S),m.props=$,W=l.pendingProps,V=m.context,L=i.contextType,C=yn,typeof L=="object"&&L!==null&&(C=P(L)),A=i.getDerivedStateFromProps,(L=typeof A=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(S!==W||V!==C)&&vv(l,m,r,C),vi=!1,V=l.memoizedState,m.state=V,Ou(l,r,m,p),oo();var J=l.memoizedState;S!==W||V!==J||vi||a!==null&&a.dependencies!==null&&Wo(a.dependencies)?(typeof A=="function"&&(fc(l,i,A,r),J=l.memoizedState),($=vi||S0(l,i,$,r,V,J,C)||a!==null&&a.dependencies!==null&&Wo(a.dependencies))?(L||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(r,J,C),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(r,J,C)),typeof m.componentDidUpdate=="function"&&(l.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof m.componentDidUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=1024),l.memoizedProps=r,l.memoizedState=J),m.props=r,m.state=J,m.context=C,r=$):(typeof m.componentDidUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&V===a.memoizedState||(l.flags|=1024),r=!1)}return m=r,el(a,l),r=(l.flags&128)!==0,m||r?(m=l.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:m.render(),l.flags|=1,a!==null&&r?(l.child=uo(l,a.child,null,p),l.child=uo(l,null,i,p)):qt(a,l,i,p),l.memoizedState=m.state,a=l.child):a=al(a,l,p),a}function kl(a,l,i,r){return Pi(),l.flags|=256,qt(a,l,i,r),l.child}var Tf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Af(a){return{baseLanes:a,cachePool:ec()}}function tl(a,l,i){return a=a!==null?a.childLanes&~i:0,l&&(a|=An),a}function M0(a,l,i){var r=l.pendingProps,p=!1,m=(l.flags&128)!==0,S;if((S=m)||(S=a!==null&&a.memoizedState===null?!1:(Gt.current&2)!==0),S&&(p=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,a===null){if(nt){if(p?wu(l):Jl(),(a=Nt)?(a=tb(a,Ta),a=a!==null&&a.data!=="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:Vl!==null?{id:Un,overflow:Gl}:null,retryLane:536870912,hydrationErrors:null},i=Jm(a),i.return=l,l.child=i,Ua=l,Nt=null)):a=null,a===null)throw El(l);return _o(a)?l.lanes=32:l.lanes=536870912,null}var A=r.children;return r=r.fallback,p?(Jl(),p=l.mode,A=Of({mode:"hidden",children:A},p),r=pi(r,p,i,null),A.return=l,r.return=l,A.sibling=r,l.child=A,r=l.child,r.memoizedState=Af(i),r.childLanes=tl(a,S,i),l.memoizedState=Tf,ho(null,r)):(wu(l),mo(l,A))}var C=a.memoizedState;if(C!==null&&(A=C.dehydrated,A!==null)){if(m)l.flags&256?(wu(l),l.flags&=-257,l=dc(a,l,i)):l.memoizedState!==null?(Jl(),l.child=a.child,l.flags|=128,l=null):(Jl(),A=r.fallback,p=l.mode,r=Of({mode:"visible",children:r.children},p),A=pi(A,p,i,null),A.flags|=2,r.return=l,A.return=l,r.sibling=A,l.child=r,uo(l,a.child,null,i),r=l.child,r.memoizedState=Af(i),r.childLanes=tl(a,S,i),l.memoizedState=Tf,l=ho(null,r));else if(wu(l),_o(A)){if(S=A.nextSibling&&A.nextSibling.dataset,S)var L=S.dgst;S=L,r=Error(h(419)),r.stack="",r.digest=S,hr({value:r,source:null,stack:null}),l=dc(a,l,i)}else if(pa||Na(a,l,i,!1),S=(i&a.childLanes)!==0,pa||S){if(S=Dt,S!==null&&(r=Gn(S,i),r!==0&&r!==C.retryLane))throw C.retryLane=r,di(a,r),On(S,a,r),Zh;Ol(A)||Ph(),l=dc(a,l,i)}else Ol(A)?(l.flags|=192,l.child=a.child,l=null):(a=C.treeContext,Nt=wn(A.nextSibling),Ua=l,nt=!0,Eu=null,Ta=!1,a!==null&&Ws(l,a),l=mo(l,r.children),l.flags|=4096);return l}return p?(Jl(),A=r.fallback,p=l.mode,C=a.child,L=C.sibling,r=hi(C,{mode:"hidden",children:r.children}),r.subtreeFlags=C.subtreeFlags&65011712,L!==null?A=hi(L,A):(A=pi(A,p,i,null),A.flags|=2),A.return=l,r.return=l,r.sibling=A,l.child=r,ho(null,r),r=l.child,A=a.child.memoizedState,A===null?A=Af(i):(p=A.cachePool,p!==null?(C=da._currentValue,p=p.parent!==C?{parent:C,pool:C}:p):p=ec(),A={baseLanes:A.baseLanes|i,cachePool:p}),r.memoizedState=A,r.childLanes=tl(a,S,i),l.memoizedState=Tf,ho(a.child,r)):(wu(l),i=a.child,a=i.sibling,i=hi(i,{mode:"visible",children:r.children}),i.return=l,i.sibling=null,a!==null&&(S=l.deletions,S===null?(l.deletions=[a],l.flags|=16):S.push(a)),l.child=i,l.memoizedState=null,i)}function mo(a,l){return l=Of({mode:"visible",children:l},a.mode),l.return=a,a.child=l}function Of(a,l){return a=na(22,a,null,l),a.lanes=0,a}function dc(a,l,i){return uo(l,a.child,null,i),a=mo(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function hc(a,l,i){a.lanes|=l;var r=a.alternate;r!==null&&(r.lanes|=l),sh(a.return,l,i)}function jh(a,l,i,r,p,m){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:p,treeForkCount:m}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=r,S.tail=i,S.tailMode=p,S.treeForkCount=m)}function x0(a,l,i){var r=l.pendingProps,p=r.revealOrder,m=r.tail;r=r.children;var S=Gt.current,A=(S&2)!==0;if(A?(S=S&1|2,l.flags|=128):S&=1,ut(Gt,S),qt(a,l,r,i),r=nt?fa:0,!A&&a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&hc(a,i,l);else if(a.tag===19)hc(a,i,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(p){case"forwards":for(i=l.child,p=null;i!==null;)a=i.alternate,a!==null&&br(a)===null&&(p=i),i=i.sibling;i=p,i===null?(p=l.child,l.child=null):(p=i.sibling,i.sibling=null),jh(l,!1,p,i,m,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=l.child,l.child=null;p!==null;){if(a=p.alternate,a!==null&&br(a)===null){l.child=p;break}a=p.sibling,p.sibling=i,i=p,p=a}jh(l,!0,i,null,m,r);break;case"together":jh(l,!1,null,null,void 0,r);break;default:l.memoizedState=null}return l.child}function al(a,l,i){if(a!==null&&(l.dependencies=a.dependencies),Wl|=l.lanes,(i&l.childLanes)===0)if(a!==null){if(Na(a,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(a!==null&&l.child!==a.child)throw Error(h(153));if(l.child!==null){for(a=l.child,i=hi(a,a.pendingProps),l.child=i,i.return=l;a.sibling!==null;)a=a.sibling,i=i.sibling=hi(a,a.pendingProps),i.return=l;i.sibling=null}return l.child}function Bh(a,l){return(a.lanes&l)!==0?!0:(a=a.dependencies,!!(a!==null&&Wo(a)))}function qh(a,l,i){switch(l.tag){case 3:Cs(l,l.stateNode.containerInfo),vn(l,da,a.memoizedState.cache),Pi();break;case 27:case 5:fm(l);break;case 4:Cs(l,l.stateNode.containerInfo);break;case 10:vn(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,vr(l),null;break;case 13:var r=l.memoizedState;if(r!==null)return r.dehydrated!==null?(wu(l),l.flags|=128,null):(i&l.child.childLanes)!==0?M0(a,l,i):(wu(l),a=al(a,l,i),a!==null?a.sibling:null);wu(l);break;case 19:var p=(a.flags&128)!==0;if(r=(i&l.childLanes)!==0,r||(Na(a,l,i,!1),r=(i&l.childLanes)!==0),p){if(r)return x0(a,l,i);l.flags|=128}if(p=l.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),ut(Gt,Gt.current),r)break;return null;case 22:return l.lanes=0,bv(a,l,i,l.pendingProps);case 24:vn(l,da,a.memoizedState.cache)}return al(a,l,i)}function C0(a,l,i){if(a!==null)if(a.memoizedProps!==l.pendingProps)pa=!0;else{if(!Bh(a,i)&&(l.flags&128)===0)return pa=!1,qh(a,l,i);pa=(a.flags&131072)!==0}else pa=!1,nt&&(l.flags&1048576)!==0&&km(l,fa,l.index);switch(l.lanes=0,l.tag){case 16:e:{var r=l.pendingProps;if(a=ao(l.elementType),l.type=a,typeof a=="function")Io(a)?(r=fo(a,r),l.tag=1,l=D0(null,l,a,r,i)):(l.tag=0,l=Hh(null,l,a,r,i));else{if(a!=null){var p=a.$$typeof;if(p===F){l.tag=11,l=A0(null,l,a,r,i);break e}else if(p===Te){l.tag=14,l=O0(null,l,a,r,i);break e}}throw l=en(a)||a,Error(h(306,l,""))}}return l;case 0:return Hh(a,l,l.type,l.pendingProps,i);case 1:return r=l.type,p=fo(r,l.pendingProps),D0(a,l,r,p,i);case 3:e:{if(Cs(l,l.stateNode.containerInfo),a===null)throw Error(h(387));r=l.pendingProps;var m=l.memoizedState;p=m.element,dh(a,l),Ou(l,r,null,i);var S=l.memoizedState;if(r=S.cache,vn(l,da,r),r!==m.cache&&Au(l,[da],i,!0),oo(),r=S.element,m.isDehydrated)if(m={element:r,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=m,l.memoizedState=m,l.flags&256){l=kl(a,l,r,i);break e}else if(r!==p){p=kn(Error(h(424)),l),hr(p),l=kl(a,l,r,i);break e}else{switch(a=l.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Nt=wn(a.firstChild),Ua=l,nt=!0,Eu=null,Ta=!0,i=t0(l,null,r,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Pi(),r===p){l=al(a,l,i);break e}qt(a,l,r,i)}l=l.child}return l;case 26:return el(a,l),a===null?(i=kr(l.type,null,l.pendingProps,null))?l.memoizedState=i:nt||(i=l.type,a=l.pendingProps,r=So(Yi.current).createElement(i),r[Ot]=l,r[hn]=a,Ka(r,i,a),vt(r),l.stateNode=r):l.memoizedState=kr(l.type,a.memoizedProps,l.pendingProps,a.memoizedState),null;case 27:return fm(l),a===null&&nt&&(r=l.stateNode=Jr(l.type,l.pendingProps,Yi.current),Ua=l,Ta=!0,p=Nt,eu(l.type)?(Qf=p,Nt=wn(r.firstChild)):Nt=p),qt(a,l,l.pendingProps.children,i),el(a,l),a===null&&(l.flags|=4194304),l.child;case 5:return a===null&&nt&&((p=r=Nt)&&(r=F1(r,l.type,l.pendingProps,Ta),r!==null?(l.stateNode=r,Ua=l,Nt=wn(r.firstChild),Ta=!1,p=!0):p=!1),p||El(l)),fm(l),p=l.type,m=l.pendingProps,S=a!==null?a.memoizedProps:null,r=m.children,Xr(p,m)?r=null:S!==null&&Xr(p,S)&&(l.flags|=32),l.memoizedState!==null&&(p=df(a,l,$1,null,null,i),kf._currentValue=p),el(a,l),qt(a,l,r,i),l.child;case 6:return a===null&&nt&&((a=i=Nt)&&(i=$e(i,l.pendingProps,Ta),i!==null?(l.stateNode=i,Ua=l,Nt=null,a=!0):a=!1),a||El(l)),null;case 13:return M0(a,l,i);case 4:return Cs(l,l.stateNode.containerInfo),r=l.pendingProps,a===null?l.child=uo(l,null,r,i):qt(a,l,r,i),l.child;case 11:return A0(a,l,l.type,l.pendingProps,i);case 7:return qt(a,l,l.pendingProps,i),l.child;case 8:return qt(a,l,l.pendingProps.children,i),l.child;case 12:return qt(a,l,l.pendingProps.children,i),l.child;case 10:return r=l.pendingProps,vn(l,l.type,r.value),qt(a,l,r.children,i),l.child;case 9:return p=l.type._context,r=l.pendingProps.children,Ne(l),p=P(p),r=r(p),l.flags|=1,qt(a,l,r,i),l.child;case 14:return O0(a,l,l.type,l.pendingProps,i);case 15:return w0(a,l,l.type,l.pendingProps,i);case 19:return x0(a,l,i);case 31:return Sv(a,l,i);case 22:return bv(a,l,i,l.pendingProps);case 24:return Ne(l),r=P(da),a===null?(p=Fn(),p===null&&(p=Dt,m=tf(),p.pooledCache=m,m.refCount++,m!==null&&(p.pooledCacheLanes|=i),p=m),l.memoizedState={parent:r,cache:p},rf(l),vn(l,da,p)):((a.lanes&i)!==0&&(dh(a,l),Ou(l,null,null,i),oo()),p=a.memoizedState,m=l.memoizedState,p.parent!==r?(p={parent:r,cache:r},l.memoizedState=p,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=p),vn(l,da,r)):(r=m.cache,vn(l,da,r),r!==p.cache&&Au(l,[da],i,!0))),qt(a,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(h(156,l.tag))}function Uu(a){a.flags|=4}function R0(a,l,i,r,p){if((l=(a.mode&32)!==0)&&(l=!1),l){if(a.flags|=16777216,(p&335544128)===p)if(a.stateNode.complete)a.flags|=8192;else if(xv())a.flags|=8192;else throw no=ac,tc}else a.flags&=-16777217}function U0(a,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!qn(l))if(xv())a.flags|=8192;else throw no=ac,tc}function ln(a,l){l!==null&&(a.flags|=4),a.flags&16384&&(l=a.tag!==22?Uo():536870912,a.lanes|=l,Pt|=l)}function wr(a,l){if(!nt)switch(a.tailMode){case"hidden":l=a.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?a.tail=null:i.sibling=null;break;case"collapsed":i=a.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:r.sibling=null}}function Ue(a){var l=a.alternate!==null&&a.alternate.child===a.child,i=0,r=0;if(l)for(var p=a.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags&65011712,r|=p.flags&65011712,p.return=a,p=p.sibling;else for(p=a.child;p!==null;)i|=p.lanes|p.childLanes,r|=p.subtreeFlags,r|=p.flags,p.return=a,p=p.sibling;return a.subtreeFlags|=r,a.childLanes=i,l}function _v(a,l,i){var r=l.pendingProps;switch(ch(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(l),null;case 1:return Ue(l),null;case 3:return i=l.stateNode,r=null,a!==null&&(r=a.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),Ql(da),ui(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(a===null||a.child===null)&&(Tu(l)?Uu(l):a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Km())),Ue(l),null;case 26:var p=l.type,m=l.memoizedState;return a===null?(Uu(l),m!==null?(Ue(l),U0(l,m)):(Ue(l),R0(l,p,null,r,i))):m?m!==a.memoizedState?(Uu(l),Ue(l),U0(l,m)):(Ue(l),l.flags&=-16777217):(a=a.memoizedProps,a!==r&&Uu(l),Ue(l),R0(l,p,a,r,i)),null;case 27:if(pe(l),i=Yi.current,p=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ue(l),null}a=et.current,Tu(l)?Ps(l):(a=Jr(p,r,i),l.stateNode=a,Uu(l))}return Ue(l),null;case 5:if(pe(l),p=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(!r){if(l.stateNode===null)throw Error(h(166));return Ue(l),null}if(m=et.current,Tu(l))Ps(l);else{var S=So(Yi.current);switch(m){case 1:m=S.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:m=S.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":m=S.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":m=S.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":m=S.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof r.is=="string"?S.createElement("select",{is:r.is}):S.createElement("select"),r.multiple?m.multiple=!0:r.size&&(m.size=r.size);break;default:m=typeof r.is=="string"?S.createElement(p,{is:r.is}):S.createElement(p)}}m[Ot]=l,m[hn]=r;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)m.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=m;e:switch(Ka(m,p,r),p){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Uu(l)}}return Ue(l),R0(l,l.type,a===null?null:a.memoizedProps,l.pendingProps,i),null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==r&&Uu(l);else{if(typeof r!="string"&&l.stateNode===null)throw Error(h(166));if(a=Yi.current,Tu(l)){if(a=l.stateNode,i=l.memoizedProps,r=null,p=Ua,p!==null)switch(p.tag){case 27:case 5:r=p.memoizedProps}a[Ot]=l,a=!!(a.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||ny(a.nodeValue,i)),a||El(l,!0)}else a=So(a).createTextNode(r),a[Ot]=l,l.stateNode=a}return Ue(l),null;case 31:if(i=l.memoizedState,a===null||a.memoizedState!==null){if(r=Tu(l),i!==null){if(a===null){if(!r)throw Error(h(318));if(a=l.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(h(557));a[Ot]=l}else Pi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ue(l),a=!1}else i=Km(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=i),a=!0;if(!a)return l.flags&256?(Sn(l),l):(Sn(l),null);if((l.flags&128)!==0)throw Error(h(558))}return Ue(l),null;case 13:if(r=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(p=Tu(l),r!==null&&r.dehydrated!==null){if(a===null){if(!p)throw Error(h(318));if(p=l.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[Ot]=l}else Pi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ue(l),p=!1}else p=Km(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=p),p=!0;if(!p)return l.flags&256?(Sn(l),l):(Sn(l),null)}return Sn(l),(l.flags&128)!==0?(l.lanes=i,l):(i=r!==null,a=a!==null&&a.memoizedState!==null,i&&(r=l.child,p=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(p=r.alternate.memoizedState.cachePool.pool),m=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(m=r.memoizedState.cachePool.pool),m!==p&&(r.flags|=2048)),i!==a&&i&&(l.child.flags|=8192),ln(l,l.updateQueue),Ue(l),null);case 4:return ui(),a===null&&Gr(l.stateNode.containerInfo),Ue(l),null;case 10:return Ql(l.type),Ue(l),null;case 19:if(Tt(Gt),r=l.memoizedState,r===null)return Ue(l),null;if(p=(l.flags&128)!==0,m=r.rendering,m===null)if(p)wr(r,!1);else{if(Ht!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(m=br(a),m!==null){for(l.flags|=128,wr(r,!1),a=m.updateQueue,l.updateQueue=a,ln(l,a),l.subtreeFlags=0,a=i,i=l.child;i!==null;)Qm(i,a),i=i.sibling;return ut(Gt,Gt.current&1|2),nt&&_l(l,r.treeForkCount),l.child}a=a.sibling}r.tail!==null&&$a()>mt&&(l.flags|=128,p=!0,wr(r,!1),l.lanes=4194304)}else{if(!p)if(a=br(m),a!==null){if(l.flags|=128,p=!0,a=a.updateQueue,l.updateQueue=a,ln(l,a),wr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!m.alternate&&!nt)return Ue(l),null}else 2*$a()-r.renderingStartTime>mt&&i!==536870912&&(l.flags|=128,p=!0,wr(r,!1),l.lanes=4194304);r.isBackwards?(m.sibling=l.child,l.child=m):(a=r.last,a!==null?a.sibling=m:l.child=m,r.last=m)}return r.tail!==null?(a=r.tail,r.rendering=a,r.tail=a.sibling,r.renderingStartTime=$a(),a.sibling=null,i=Gt.current,ut(Gt,p?i&1|2:i&1),nt&&_l(l,r.treeForkCount),a):(Ue(l),null);case 22:case 23:return Sn(l),gr(),r=l.memoizedState!==null,a!==null?a.memoizedState!==null!==r&&(l.flags|=8192):r&&(l.flags|=8192),r?(i&536870912)!==0&&(l.flags&128)===0&&(Ue(l),l.subtreeFlags&6&&(l.flags|=8192)):Ue(l),i=l.updateQueue,i!==null&&ln(l,i.retryQueue),i=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==i&&(l.flags|=2048),a!==null&&Tt(In),null;case 24:return i=null,a!==null&&(i=a.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),Ql(da),Ue(l),null;case 25:return null;case 30:return null}throw Error(h(156,l.tag))}function Ev(a,l){switch(ch(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Ql(da),ui(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return pe(l),null;case 31:if(l.memoizedState!==null){if(Sn(l),l.alternate===null)throw Error(h(340));Pi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 13:if(Sn(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(h(340));Pi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return Tt(Gt),null;case 4:return ui(),null;case 10:return Ql(l.type),null;case 22:case 23:return Sn(l),gr(),a!==null&&Tt(In),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return Ql(da),null;case 25:return null;default:return null}}function zv(a,l){switch(ch(l),l.tag){case 3:Ql(da),ui();break;case 26:case 27:case 5:pe(l);break;case 4:ui();break;case 31:l.memoizedState!==null&&Sn(l);break;case 13:Sn(l);break;case 19:Tt(Gt);break;case 10:Ql(l.type);break;case 22:case 23:Sn(l),gr(),a!==null&&Tt(In);break;case 24:Ql(da)}}function Tl(a,l){try{var i=l.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var p=r.next;i=p;do{if((i.tag&a)===a){r=void 0;var m=i.create,S=i.inst;r=m(),S.destroy=r}i=i.next}while(i!==p)}}catch(A){Et(l,l.return,A)}}function nl(a,l,i){try{var r=l.updateQueue,p=r!==null?r.lastEffect:null;if(p!==null){var m=p.next;r=m;do{if((r.tag&a)===a){var S=r.inst,A=S.destroy;if(A!==void 0){S.destroy=void 0,p=l;var C=i,L=A;try{L()}catch($){Et(p,C,$)}}}r=r.next}while(r!==m)}}catch($){Et(l,l.return,$)}}function Yh(a){var l=a.updateQueue;if(l!==null){var i=a.stateNode;try{co(l,i)}catch(r){Et(a,a.return,r)}}}function yo(a,l,i){i.props=fo(a.type,a.memoizedProps),i.state=a.memoizedState;try{i.componentWillUnmount()}catch(r){Et(a,l,r)}}function Nu(a,l){try{var i=a.ref;if(i!==null){switch(a.tag){case 26:case 27:case 5:var r=a.stateNode;break;case 30:r=a.stateNode;break;default:r=a.stateNode}typeof i=="function"?a.refCleanup=i(r):i.current=r}}catch(p){Et(a,l,p)}}function Kl(a,l){var i=a.ref,r=a.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(p){Et(a,l,p)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(p){Et(a,l,p)}else i.current=null}function N0(a){var l=a.type,i=a.memoizedProps,r=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break e;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(p){Et(a,a.return,p)}}function Lh(a,l,i){try{var r=a.stateNode;uy(r,a.type,i,l),r[hn]=l}catch(p){Et(a,a.return,p)}}function Z0(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&eu(a.type)||a.tag===4}function Dr(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Z0(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&eu(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Mr(a,l,i){var r=a.tag;if(r===5||r===6)a=a.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(a,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(a),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=Zl));else if(r!==4&&(r===27&&eu(a.type)&&(i=a.stateNode,l=null),a=a.child,a!==null))for(Mr(a,l,i),a=a.sibling;a!==null;)Mr(a,l,i),a=a.sibling}function xr(a,l,i){var r=a.tag;if(r===5||r===6)a=a.stateNode,l?i.insertBefore(a,l):i.appendChild(a);else if(r!==4&&(r===27&&eu(a.type)&&(i=a.stateNode),a=a.child,a!==null))for(xr(a,l,i),a=a.sibling;a!==null;)xr(a,l,i),a=a.sibling}function H0(a){var l=a.stateNode,i=a.memoizedProps;try{for(var r=a.type,p=l.attributes;p.length;)l.removeAttributeNode(p[0]);Ka(l,r,i),l[Ot]=a,l[hn]=i}catch(m){Et(a,a.return,m)}}var zi=!1,ba=!1,Vh=!1,j0=typeof WeakSet=="function"?WeakSet:Set,ja=null;function Cr(a,l){if(a=a.containerInfo,cp=wa,a=Ii(a),Js(a)){if("selectionStart"in a)var i={start:a.selectionStart,end:a.selectionEnd};else e:{i=(i=a.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var p=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var S=0,A=-1,C=-1,L=0,$=0,W=a,V=null;t:for(;;){for(var J;W!==i||p!==0&&W.nodeType!==3||(A=S+p),W!==m||r!==0&&W.nodeType!==3||(C=S+r),W.nodeType===3&&(S+=W.nodeValue.length),(J=W.firstChild)!==null;)V=W,W=J;for(;;){if(W===a)break t;if(V===i&&++L===p&&(A=S),V===m&&++$===r&&(C=S),(J=W.nextSibling)!==null)break;W=V,V=W.parentNode}W=J}i=A===-1||C===-1?null:{start:A,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;for(rp={focusedElem:a,selectionRange:i},wa=!1,ja=l;ja!==null;)if(l=ja,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,ja=a;else for(;ja!==null;){switch(l=ja,m=l.alternate,a=l.flags,l.tag){case 0:if((a&4)!==0&&(a=l.updateQueue,a=a!==null?a.events:null,a!==null))for(i=0;i<a.length;i++)p=a[i],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&m!==null){a=void 0,i=l,p=m.memoizedProps,m=m.memoizedState,r=i.stateNode;try{var me=fo(i.type,p);a=r.getSnapshotBeforeUpdate(me,m),r.__reactInternalSnapshotBeforeUpdate=a}catch(we){Et(i,i.return,we)}}break;case 3:if((a&1024)!==0){if(a=l.stateNode.containerInfo,i=a.nodeType,i===9)Xf(a);else if(i===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Xf(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(h(163))}if(a=l.sibling,a!==null){a.return=l.return,ja=a;break}ja=l.return}}function wf(a,l,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:Ti(a,i),r&4&&Tl(5,i);break;case 1:if(Ti(a,i),r&4)if(a=i.stateNode,l===null)try{a.componentDidMount()}catch(S){Et(i,i.return,S)}else{var p=fo(i.type,l.memoizedProps);l=l.memoizedState;try{a.componentDidUpdate(p,l,a.__reactInternalSnapshotBeforeUpdate)}catch(S){Et(i,i.return,S)}}r&64&&Yh(i),r&512&&Nu(i,i.return);break;case 3:if(Ti(a,i),r&64&&(a=i.updateQueue,a!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{co(a,l)}catch(S){Et(i,i.return,S)}}break;case 27:l===null&&r&4&&H0(i);case 26:case 5:Ti(a,i),l===null&&r&4&&N0(i),r&512&&Nu(i,i.return);break;case 12:Ti(a,i);break;case 31:Ti(a,i),r&4&&Tv(a,i);break;case 13:Ti(a,i),r&4&&Y0(a,i),r&64&&(a=i.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(i=ll.bind(null,i),Qr(a,i))));break;case 22:if(r=i.memoizedState!==null||zi,!r){l=l!==null&&l.memoizedState!==null||ba,p=zi;var m=ba;zi=r,(ba=l)&&!m?Il(a,i,(i.subtreeFlags&8772)!==0):Ti(a,i),zi=p,ba=m}break;case 30:break;default:Ti(a,i)}}function B0(a){var l=a.alternate;l!==null&&(a.alternate=null,B0(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&Bd(l)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var Zt=null,zn=!1;function Zu(a,l,i){for(i=i.child;i!==null;)q0(a,l,i),i=i.sibling}function q0(a,l,i){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ro,i)}catch{}switch(i.tag){case 26:ba||Kl(i,l),Zu(a,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:ba||Kl(i,l);var r=Zt,p=zn;eu(i.type)&&(Zt=i.stateNode,zn=!1),Zu(a,l,i),_c(i.stateNode),Zt=r,zn=p;break;case 5:ba||Kl(i,l);case 6:if(r=Zt,p=zn,Zt=null,Zu(a,l,i),Zt=r,zn=p,Zt!==null)if(zn)try{(Zt.nodeType===9?Zt.body:Zt.nodeName==="HTML"?Zt.ownerDocument.body:Zt).removeChild(i.stateNode)}catch(m){Et(i,l,m)}else try{Zt.removeChild(i.stateNode)}catch(m){Et(i,l,m)}break;case 18:Zt!==null&&(zn?(a=Zt,ry(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.stateNode),as(a)):ry(Zt,i.stateNode));break;case 4:r=Zt,p=zn,Zt=i.stateNode.containerInfo,zn=!0,Zu(a,l,i),Zt=r,zn=p;break;case 0:case 11:case 14:case 15:nl(2,i,l),ba||nl(4,i,l),Zu(a,l,i);break;case 1:ba||(Kl(i,l),r=i.stateNode,typeof r.componentWillUnmount=="function"&&yo(i,l,r)),Zu(a,l,i);break;case 21:Zu(a,l,i);break;case 22:ba=(r=ba)||i.memoizedState!==null,Zu(a,l,i),ba=r;break;default:Zu(a,l,i)}}function Tv(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{as(a)}catch(i){Et(l,l.return,i)}}}function Y0(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{as(a)}catch(i){Et(l,l.return,i)}}function Df(a){switch(a.tag){case 31:case 13:case 19:var l=a.stateNode;return l===null&&(l=a.stateNode=new j0),l;case 22:return a=a.stateNode,l=a._retryCache,l===null&&(l=a._retryCache=new j0),l;default:throw Error(h(435,a.tag))}}function Mf(a,l){var i=Df(a);l.forEach(function(r){if(!i.has(r)){i.add(r);var p=Qv.bind(null,a,r);r.then(p,p)}})}function Tn(a,l){var i=l.deletions;if(i!==null)for(var r=0;r<i.length;r++){var p=i[r],m=a,S=l,A=S;e:for(;A!==null;){switch(A.tag){case 27:if(eu(A.type)){Zt=A.stateNode,zn=!1;break e}break;case 5:Zt=A.stateNode,zn=!1;break e;case 3:case 4:Zt=A.stateNode.containerInfo,zn=!0;break e}A=A.return}if(Zt===null)throw Error(h(160));q0(m,S,p),Zt=null,zn=!1,m=p.alternate,m!==null&&(m.return=null),p.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Gh(l,a),l=l.sibling}var Ge=null;function Gh(a,l){var i=a.alternate,r=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Tn(l,a),Nn(a),r&4&&(nl(3,a,a.return),Tl(3,a),nl(5,a,a.return));break;case 1:Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),r&64&&zi&&(a=a.updateQueue,a!==null&&(r=a.callbacks,r!==null&&(i=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var p=Ge;if(Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),r&4){var m=i!==null?i.memoizedState:null;if(r=a.memoizedState,i===null)if(r===null)if(a.stateNode===null){e:{r=a.type,i=a.memoizedProps,p=p.ownerDocument||p;t:switch(r){case"title":m=p.getElementsByTagName("title")[0],(!m||m[pu]||m[Ot]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=p.createElement(r),p.head.insertBefore(m,p.querySelector("head > title"))),Ka(m,r,i),m[Ot]=a,vt(m),r=m;break e;case"link":var S=hy("link","href",p).get(r+(i.href||""));if(S){for(var A=0;A<S.length;A++)if(m=S[A],m.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&m.getAttribute("rel")===(i.rel==null?null:i.rel)&&m.getAttribute("title")===(i.title==null?null:i.title)&&m.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(A,1);break t}}m=p.createElement(r),Ka(m,r,i),p.head.appendChild(m);break;case"meta":if(S=hy("meta","content",p).get(r+(i.content||""))){for(A=0;A<S.length;A++)if(m=S[A],m.getAttribute("content")===(i.content==null?null:""+i.content)&&m.getAttribute("name")===(i.name==null?null:i.name)&&m.getAttribute("property")===(i.property==null?null:i.property)&&m.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&m.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(A,1);break t}}m=p.createElement(r),Ka(m,r,i),p.head.appendChild(m);break;default:throw Error(h(468,r))}m[Ot]=a,vt(m),r=m}a.stateNode=r}else pp(p,a.type,a.stateNode);else a.stateNode=dy(p,r,a.memoizedProps);else m!==r?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,r===null?pp(p,a.type,a.stateNode):dy(p,r,a.memoizedProps)):r===null&&a.stateNode!==null&&Lh(a,a.memoizedProps,i.memoizedProps)}break;case 27:Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),i!==null&&r&4&&Lh(a,a.memoizedProps,i.memoizedProps);break;case 5:if(Tn(l,a),Nn(a),r&512&&(ba||i===null||Kl(i,i.return)),a.flags&32){p=a.stateNode;try{yu(p,"")}catch(me){Et(a,a.return,me)}}r&4&&a.stateNode!=null&&(p=a.memoizedProps,Lh(a,p,i!==null?i.memoizedProps:p)),r&1024&&(Vh=!0);break;case 6:if(Tn(l,a),Nn(a),r&4){if(a.stateNode===null)throw Error(h(162));r=a.memoizedProps,i=a.stateNode;try{i.nodeValue=r}catch(me){Et(a,a.return,me)}}break;case 3:if(Fr=null,p=Ge,Ge=un(l.containerInfo),Tn(l,a),Ge=p,Nn(a),r&4&&i!==null&&i.memoizedState.isDehydrated)try{as(l.containerInfo)}catch(me){Et(a,a.return,me)}Vh&&(Vh=!1,L0(a));break;case 4:r=Ge,Ge=un(a.stateNode.containerInfo),Tn(l,a),Nn(a),Ge=r;break;case 12:Tn(l,a),Nn(a);break;case 31:Tn(l,a),Nn(a),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 13:Tn(l,a),Nn(a),a.child.flags&8192&&a.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Pl=$a()),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 22:p=a.memoizedState!==null;var C=i!==null&&i.memoizedState!==null,L=zi,$=ba;if(zi=L||p,ba=$||C,Tn(l,a),ba=$,zi=L,Nn(a),r&8192)e:for(l=a.stateNode,l._visibility=p?l._visibility&-2:l._visibility|1,p&&(i===null||C||zi||ba||pc(a)),i=null,l=a;;){if(l.tag===5||l.tag===26){if(i===null){C=i=l;try{if(m=C.stateNode,p)S=m.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{A=C.stateNode;var W=C.memoizedProps.style,V=W!=null&&W.hasOwnProperty("display")?W.display:null;A.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(me){Et(C,C.return,me)}}}else if(l.tag===6){if(i===null){C=l;try{C.stateNode.nodeValue=p?"":C.memoizedProps}catch(me){Et(C,C.return,me)}}}else if(l.tag===18){if(i===null){C=l;try{var J=C.stateNode;p?ma(J,!0):ma(C.stateNode,!1)}catch(me){Et(C,C.return,me)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===a)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}r&4&&(r=a.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,Mf(a,i))));break;case 19:Tn(l,a),Nn(a),r&4&&(r=a.updateQueue,r!==null&&(a.updateQueue=null,Mf(a,r)));break;case 30:break;case 21:break;default:Tn(l,a),Nn(a)}}function Nn(a){var l=a.flags;if(l&2){try{for(var i,r=a.return;r!==null;){if(Z0(r)){i=r;break}r=r.return}if(i==null)throw Error(h(160));switch(i.tag){case 27:var p=i.stateNode,m=Dr(a);xr(a,m,p);break;case 5:var S=i.stateNode;i.flags&32&&(yu(S,""),i.flags&=-33);var A=Dr(a);xr(a,A,S);break;case 3:case 4:var C=i.stateNode.containerInfo,L=Dr(a);Mr(a,L,C);break;default:throw Error(h(161))}}catch($){Et(a,a.return,$)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function L0(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var l=a;L0(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),a=a.sibling}}function Ti(a,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)wf(a,l.alternate,l),l=l.sibling}function pc(a){for(a=a.child;a!==null;){var l=a;switch(l.tag){case 0:case 11:case 14:case 15:nl(4,l,l.return),pc(l);break;case 1:Kl(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&yo(l,l.return,i),pc(l);break;case 27:_c(l.stateNode);case 26:case 5:Kl(l,l.return),pc(l);break;case 22:l.memoizedState===null&&pc(l);break;case 30:pc(l);break;default:pc(l)}a=a.sibling}}function Il(a,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var r=l.alternate,p=a,m=l,S=m.flags;switch(m.tag){case 0:case 11:case 15:Il(p,m,i),Tl(4,m);break;case 1:if(Il(p,m,i),r=m,p=r.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(L){Et(r,r.return,L)}if(r=m,p=r.updateQueue,p!==null){var A=r.stateNode;try{var C=p.shared.hiddenCallbacks;if(C!==null)for(p.shared.hiddenCallbacks=null,p=0;p<C.length;p++)ph(C[p],A)}catch(L){Et(r,r.return,L)}}i&&S&64&&Yh(m),Nu(m,m.return);break;case 27:H0(m);case 26:case 5:Il(p,m,i),i&&r===null&&S&4&&N0(m),Nu(m,m.return);break;case 12:Il(p,m,i);break;case 31:Il(p,m,i),i&&S&4&&Tv(p,m);break;case 13:Il(p,m,i),i&&S&4&&Y0(p,m);break;case 22:m.memoizedState===null&&Il(p,m,i),Nu(m,m.return);break;case 30:break;default:Il(p,m,i)}l=l.sibling}}function Xh(a,l){var i=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(a!=null&&a.refCount++,i!=null&&af(i))}function Qh(a,l){a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&af(a))}function Al(a,l,i,r){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Rr(a,l,i,r),l=l.sibling}function Rr(a,l,i,r){var p=l.flags;switch(l.tag){case 0:case 11:case 15:Al(a,l,i,r),p&2048&&Tl(9,l);break;case 1:Al(a,l,i,r);break;case 3:Al(a,l,i,r),p&2048&&(a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&af(a)));break;case 12:if(p&2048){Al(a,l,i,r),a=l.stateNode;try{var m=l.memoizedProps,S=m.id,A=m.onPostCommit;typeof A=="function"&&A(S,l.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(C){Et(l,l.return,C)}}else Al(a,l,i,r);break;case 31:Al(a,l,i,r);break;case 13:Al(a,l,i,r);break;case 23:break;case 22:m=l.stateNode,S=l.alternate,l.memoizedState!==null?m._visibility&2?Al(a,l,i,r):xf(a,l):m._visibility&2?Al(a,l,i,r):(m._visibility|=2,Ur(a,l,i,r,(l.subtreeFlags&10256)!==0||!1)),p&2048&&Xh(S,l);break;case 24:Al(a,l,i,r),p&2048&&Qh(l.alternate,l);break;default:Al(a,l,i,r)}}function Ur(a,l,i,r,p){for(p=p&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var m=a,S=l,A=i,C=r,L=S.flags;switch(S.tag){case 0:case 11:case 15:Ur(m,S,A,C,p),Tl(8,S);break;case 23:break;case 22:var $=S.stateNode;S.memoizedState!==null?$._visibility&2?Ur(m,S,A,C,p):xf(m,S):($._visibility|=2,Ur(m,S,A,C,p)),p&&L&2048&&Xh(S.alternate,S);break;case 24:Ur(m,S,A,C,p),p&&L&2048&&Qh(S.alternate,S);break;default:Ur(m,S,A,C,p)}l=l.sibling}}function xf(a,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=a,r=l,p=r.flags;switch(r.tag){case 22:xf(i,r),p&2048&&Xh(r.alternate,r);break;case 24:xf(i,r),p&2048&&Qh(r.alternate,r);break;default:xf(i,r)}l=l.sibling}}var Zn=8192;function Hu(a,l,i){if(a.subtreeFlags&Zn)for(a=a.child;a!==null;)Av(a,l,i),a=a.sibling}function Av(a,l,i){switch(a.tag){case 26:Hu(a,l,i),a.flags&Zn&&a.memoizedState!==null&&Lu(i,Ge,a.memoizedState,a.memoizedProps);break;case 5:Hu(a,l,i);break;case 3:case 4:var r=Ge;Ge=un(a.stateNode.containerInfo),Hu(a,l,i),Ge=r;break;case 22:a.memoizedState===null&&(r=a.alternate,r!==null&&r.memoizedState!==null?(r=Zn,Zn=16777216,Hu(a,l,i),Zn=r):Hu(a,l,i));break;default:Hu(a,l,i)}}function Jh(a){var l=a.alternate;if(l!==null&&(a=l.child,a!==null)){l.child=null;do l=a.sibling,a.sibling=null,a=l;while(a!==null)}}function Nr(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];ja=r,$h(r,a)}Jh(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)V0(a),a=a.sibling}function V0(a){switch(a.tag){case 0:case 11:case 15:Nr(a),a.flags&2048&&nl(9,a,a.return);break;case 3:Nr(a);break;case 12:Nr(a);break;case 22:var l=a.stateNode;a.memoizedState!==null&&l._visibility&2&&(a.return===null||a.return.tag!==13)?(l._visibility&=-3,Cf(a)):Nr(a);break;default:Nr(a)}}function Cf(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var r=l[i];ja=r,$h(r,a)}Jh(a)}for(a=a.child;a!==null;){switch(l=a,l.tag){case 0:case 11:case 15:nl(8,l,l.return),Cf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Cf(l));break;default:Cf(l)}a=a.sibling}}function $h(a,l){for(;ja!==null;){var i=ja;switch(i.tag){case 0:case 11:case 15:nl(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:af(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,ja=r;else e:for(i=a;ja!==null;){r=ja;var p=r.sibling,m=r.return;if(B0(r),r===i){ja=null;break e}if(p!==null){p.return=m,ja=p;break e}ja=m}}}var Ov={getCacheForType:function(a){var l=P(da),i=l.data.get(a);return i===void 0&&(i=a(),l.data.set(a,i)),i},cacheSignal:function(){return P(da).controller.signal}},G0=typeof WeakMap=="function"?WeakMap:Map,dt=0,Dt=null,lt=null,We=0,_t=0,Ce=null,ju=!1,go=!1,kh=!1,Fl=0,Ht=0,Wl=0,mc=0,Kh=0,An=0,Pt=0,Rf=null,ea=null,Ih=!1,Pl=0,X0=0,mt=1/0,Zr=null,Xt=null,Oa=0,Ai=null,vo=null,Bu=0,Hn=0,Fh=null,Wh=null,Hr=0,Uf=null;function jn(){return(dt&2)!==0&&We!==0?We&-We:H.T!==null?np():Hd()}function wv(){if(An===0)if((We&536870912)===0||nt){var a=Rl;Rl<<=1,(Rl&3932160)===0&&(Rl=262144),An=a}else An=536870912;return a=bn.current,a!==null&&(a.flags|=32),An}function On(a,l,i){(a===Dt&&(_t===2||_t===9)||a.cancelPendingCommit!==null)&&(qu(a,0),Oi(a,We,An,!1)),Kc(a,i),((dt&2)===0||a!==Dt)&&(a===Dt&&((dt&2)===0&&(mc|=i),Ht===4&&Oi(a,We,An,!1)),Yu(a))}function Dv(a,l,i){if((dt&6)!==0)throw Error(h(327));var r=!i&&(l&127)===0&&(l&a.expiredLanes)===0||Ul(a,l),p=r?Uv(a,l):ep(a,l,!0),m=r;do{if(p===0){go&&!r&&Oi(a,l,0,!1);break}else{if(i=a.current.alternate,m&&!Mv(i)){p=ep(a,l,!1),m=!1;continue}if(p===2){if(m=l,a.errorRecoveryDisabledLanes&m)var S=0;else S=a.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;e:{var A=a;p=Rf;var C=A.current.memoizedState.isDehydrated;if(C&&(qu(A,S).flags|=256),S=ep(A,S,!1),S!==2){if(kh&&!C){A.errorRecoveryDisabledLanes|=m,mc|=m,p=4;break e}m=ea,ea=p,m!==null&&(ea===null?ea=m:ea.push.apply(ea,m))}p=S}if(m=!1,p!==2)continue}}if(p===1){qu(a,0),Oi(a,l,0,!0);break}e:{switch(r=a,m=p,m){case 0:case 1:throw Error(h(345));case 4:if((l&4194048)!==l)break;case 6:Oi(r,l,An,!ju);break e;case 2:ea=null;break;case 3:case 5:break;default:throw Error(h(329))}if((l&62914560)===l&&(p=Pl+300-$a(),10<p)){if(Oi(r,l,An,!ju),sa(r,0,!0)!==0)break e;Bu=l,r.timeoutHandle=Gf(Nf.bind(null,r,i,ea,Zr,Ih,l,An,mc,Pt,ju,m,"Throttled",-0,0),p);break e}Nf(r,i,ea,Zr,Ih,l,An,mc,Pt,ju,m,null,-0,0)}}break}while(!0);Yu(a)}function Nf(a,l,i,r,p,m,S,A,C,L,$,W,V,J){if(a.timeoutHandle=-1,W=l.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zl},Av(l,m,W);var me=(m&62914560)===m?Pl-$a():(m&4194048)===m?X0-$a():0;if(me=my(W,me),me!==null){Bu=m,a.cancelPendingCommit=me(jv.bind(null,a,l,m,i,r,p,S,A,C,$,W,null,V,J)),Oi(a,m,S,!L);return}}jv(a,l,m,i,r,p,S,A,C)}function Mv(a){for(var l=a;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var r=0;r<i.length;r++){var p=i[r],m=p.getSnapshot;p=p.value;try{if(!nn(m(),p))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Oi(a,l,i,r){l&=~Kh,l&=~mc,a.suspendedLanes|=l,a.pingedLanes&=~l,r&&(a.warmLanes|=l),r=a.expirationTimes;for(var p=l;0<p;){var m=31-dn(p),S=1<<m;r[m]=-1,p&=~S}i!==0&&Zs(a,i,l)}function jr(){return(dt&6)===0?(Di(0),!1):!0}function Q0(){if(lt!==null){if(_t===0)var a=lt.return;else a=lt,Xl=mi=null,hf(a),lo=null,nc=0,a=lt;for(;a!==null;)zv(a.alternate,a),a=a.return;lt=null}}function qu(a,l){var i=a.timeoutHandle;i!==-1&&(a.timeoutHandle=-1,Pv(i)),i=a.cancelPendingCommit,i!==null&&(a.cancelPendingCommit=null,i()),Bu=0,Q0(),Dt=a,lt=i=hi(a.current,null),We=l,_t=0,Ce=null,ju=!1,go=Ul(a,l),kh=!1,Pt=An=Kh=mc=Wl=Ht=0,ea=Rf=null,Ih=!1,(l&8)!==0&&(l|=l&32);var r=a.entangledLanes;if(r!==0)for(a=a.entanglements,r&=l;0<r;){var p=31-dn(r),m=1<<p;l|=a[p],r&=~m}return Fl=l,Jn(),i}function Br(a,l){Le=null,H.H=_f,l===to||l===mr?(l=e0(),_t=3):l===tc?(l=e0(),_t=4):_t=l===Zh?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Ce=l,lt===null&&(Ht=1,Or(a,kn(l,a.current)))}function xv(){var a=bn.current;return a===null?!0:(We&4194048)===We?Pn===null:(We&62914560)===We||(We&536870912)!==0?a===Pn:!1}function Cv(){var a=H.H;return H.H=_f,a===null?_f:a}function Rv(){var a=H.A;return H.A=Ov,a}function Ph(){Ht=4,ju||(We&4194048)!==We&&bn.current!==null||(go=!0),(Wl&134217727)===0&&(mc&134217727)===0||Dt===null||Oi(Dt,We,An,!1)}function ep(a,l,i){var r=dt;dt|=2;var p=Cv(),m=Rv();(Dt!==a||We!==l)&&(Zr=null,qu(a,l)),l=!1;var S=Ht;e:do try{if(_t!==0&&lt!==null){var A=lt,C=Ce;switch(_t){case 8:Q0(),S=6;break e;case 3:case 2:case 9:case 6:bn.current===null&&(l=!0);var L=_t;if(_t=0,Ce=null,yc(a,A,C,L),i&&go){S=0;break e}break;default:L=_t,_t=0,Ce=null,yc(a,A,C,L)}}K1(),S=Ht;break}catch($){Br(a,$)}while(!0);return l&&a.shellSuspendCounter++,Xl=mi=null,dt=r,H.H=p,H.A=m,lt===null&&(Dt=null,We=0,Jn()),S}function K1(){for(;lt!==null;)Nv(lt)}function Uv(a,l){var i=dt;dt|=2;var r=Cv(),p=Rv();Dt!==a||We!==l?(Zr=null,mt=$a()+500,qu(a,l)):go=Ul(a,l);e:do try{if(_t!==0&&lt!==null){l=lt;var m=Ce;t:switch(_t){case 1:_t=0,Ce=null,yc(a,l,m,1);break;case 2:case 9:if(Wm(m)){_t=0,Ce=null,Zv(l);break}l=function(){_t!==2&&_t!==9||Dt!==a||(_t=7),Yu(a)},m.then(l,l);break e;case 3:_t=7;break e;case 4:_t=5;break e;case 7:Wm(m)?(_t=0,Ce=null,Zv(l)):(_t=0,Ce=null,yc(a,l,m,7));break;case 5:var S=null;switch(lt.tag){case 26:S=lt.memoizedState;case 5:case 27:var A=lt;if(S?qn(S):A.stateNode.complete){_t=0,Ce=null;var C=A.sibling;if(C!==null)lt=C;else{var L=A.return;L!==null?(lt=L,Zf(L)):lt=null}break t}}_t=0,Ce=null,yc(a,l,m,5);break;case 6:_t=0,Ce=null,yc(a,l,m,6);break;case 8:Q0(),Ht=6;break e;default:throw Error(h(462))}}bo();break}catch($){Br(a,$)}while(!0);return Xl=mi=null,H.H=r,H.A=p,dt=i,lt!==null?0:(Dt=null,We=0,Jn(),Ht)}function bo(){for(;lt!==null&&!Co();)Nv(lt)}function Nv(a){var l=C0(a.alternate,a,Fl);a.memoizedProps=a.pendingProps,l===null?Zf(a):lt=l}function Zv(a){var l=a,i=l.alternate;switch(l.tag){case 15:case 0:l=po(i,l,l.pendingProps,l.type,void 0,We);break;case 11:l=po(i,l,l.pendingProps,l.type.render,l.ref,We);break;case 5:hf(l);default:zv(i,l),l=lt=Qm(l,Fl),l=C0(i,l,Fl)}a.memoizedProps=a.pendingProps,l===null?Zf(a):lt=l}function yc(a,l,i,r){Xl=mi=null,hf(l),lo=null,nc=0;var p=l.return;try{if(k1(a,p,l,i,We)){Ht=1,Or(a,kn(i,a.current)),lt=null;return}}catch(m){if(p!==null)throw lt=p,m;Ht=1,Or(a,kn(i,a.current)),lt=null;return}l.flags&32768?(nt||r===1?a=!0:go||(We&536870912)!==0?a=!1:(ju=a=!0,(r===2||r===9||r===3||r===6)&&(r=bn.current,r!==null&&r.tag===13&&(r.flags|=16384))),Hv(l,a)):Zf(l)}function Zf(a){var l=a;do{if((l.flags&32768)!==0){Hv(l,ju);return}a=l.return;var i=_v(l.alternate,l,Fl);if(i!==null){lt=i;return}if(l=l.sibling,l!==null){lt=l;return}lt=l=a}while(l!==null);Ht===0&&(Ht=5)}function Hv(a,l){do{var i=Ev(a.alternate,a);if(i!==null){i.flags&=32767,lt=i;return}if(i=a.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(a=a.sibling,a!==null)){lt=a;return}lt=a=i}while(a!==null);Ht=6,lt=null}function jv(a,l,i,r,p,m,S,A,C){a.cancelPendingCommit=null;do qr();while(Oa!==0);if((dt&6)!==0)throw Error(h(327));if(l!==null){if(l===a.current)throw Error(h(177));if(m=l.lanes|l.childLanes,m|=bl,Nd(a,i,m,S,A,C),a===Dt&&(lt=Dt=null,We=0),vo=l,Ai=a,Bu=i,Hn=m,Fh=p,Wh=r,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,Jv(Li,function(){return Vv(),null})):(a.callbackNode=null,a.callbackPriority=0),r=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||r){r=H.T,H.T=null,p=ee.p,ee.p=2,S=dt,dt|=4;try{Cr(a,l,i)}finally{dt=S,ee.p=p,H.T=r}}Oa=1,Bv(),qv(),Yv()}}function Bv(){if(Oa===1){Oa=0;var a=Ai,l=vo,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=H.T,H.T=null;var r=ee.p;ee.p=2;var p=dt;dt|=4;try{Gh(l,a);var m=rp,S=Ii(a.containerInfo),A=m.focusedElem,C=m.selectionRange;if(S!==A&&A&&A.ownerDocument&&$o(A.ownerDocument.documentElement,A)){if(C!==null&&Js(A)){var L=C.start,$=C.end;if($===void 0&&($=L),"selectionStart"in A)A.selectionStart=L,A.selectionEnd=Math.min($,A.value.length);else{var W=A.ownerDocument||document,V=W&&W.defaultView||window;if(V.getSelection){var J=V.getSelection(),me=A.textContent.length,we=Math.min(C.start,me),xt=C.end===void 0?we:Math.min(C.end,me);!J.extend&&we>xt&&(S=xt,xt=we,we=S);var B=Gm(A,we),N=Gm(A,xt);if(B&&N&&(J.rangeCount!==1||J.anchorNode!==B.node||J.anchorOffset!==B.offset||J.focusNode!==N.node||J.focusOffset!==N.offset)){var q=W.createRange();q.setStart(B.node,B.offset),J.removeAllRanges(),we>xt?(J.addRange(q),J.extend(N.node,N.offset)):(q.setEnd(N.node,N.offset),J.addRange(q))}}}}for(W=[],J=A;J=J.parentNode;)J.nodeType===1&&W.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<W.length;A++){var I=W[A];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}wa=!!cp,rp=cp=null}finally{dt=p,ee.p=r,H.T=i}}a.current=l,Oa=2}}function qv(){if(Oa===2){Oa=0;var a=Ai,l=vo,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=H.T,H.T=null;var r=ee.p;ee.p=2;var p=dt;dt|=4;try{wf(a,l.alternate,l)}finally{dt=p,ee.p=r,H.T=i}}Oa=3}}function Yv(){if(Oa===4||Oa===3){Oa=0,Cd();var a=Ai,l=vo,i=Bu,r=Wh;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Oa=5:(Oa=0,vo=Ai=null,Lv(a,a.pendingLanes));var p=a.pendingLanes;if(p===0&&(Xt=null),gm(i),l=l.stateNode,Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(Ro,l,void 0,(l.current.flags&128)===128)}catch{}if(r!==null){l=H.T,p=ee.p,ee.p=2,H.T=null;try{for(var m=a.onRecoverableError,S=0;S<r.length;S++){var A=r[S];m(A.value,{componentStack:A.stack})}}finally{H.T=l,ee.p=p}}(Bu&3)!==0&&qr(),Yu(a),p=a.pendingLanes,(i&261930)!==0&&(p&42)!==0?a===Uf?Hr++:(Hr=0,Uf=a):Hr=0,Di(0)}}function Lv(a,l){(a.pooledCacheLanes&=l)===0&&(l=a.pooledCache,l!=null&&(a.pooledCache=null,af(l)))}function qr(){return Bv(),qv(),Yv(),Vv()}function Vv(){if(Oa!==5)return!1;var a=Ai,l=Hn;Hn=0;var i=gm(Bu),r=H.T,p=ee.p;try{ee.p=32>i?32:i,H.T=null,i=Fh,Fh=null;var m=Ai,S=Bu;if(Oa=0,vo=Ai=null,Bu=0,(dt&6)!==0)throw Error(h(331));var A=dt;if(dt|=4,V0(m.current),Rr(m,m.current,S,i),dt=A,Di(0,!1),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Ro,m)}catch{}return!0}finally{ee.p=p,H.T=r,Lv(a,l)}}function Gv(a,l,i){l=kn(i,l),l=E0(a.stateNode,l,2),a=Wn(a,l,2),a!==null&&(Kc(a,2),Yu(a))}function Et(a,l,i){if(a.tag===3)Gv(a,a,i);else for(;l!==null;){if(l.tag===3){Gv(l,a,i);break}else if(l.tag===1){var r=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xt===null||!Xt.has(r))){a=kn(i,a),i=z0(2),r=Wn(l,i,2),r!==null&&(T0(i,r,l,a),Kc(r,2),Yu(r));break}}l=l.return}}function Hf(a,l,i){var r=a.pingCache;if(r===null){r=a.pingCache=new G0;var p=new Set;r.set(l,p)}else p=r.get(l),p===void 0&&(p=new Set,r.set(l,p));p.has(i)||(kh=!0,p.add(i),a=J0.bind(null,a,l,i),l.then(a,a))}function J0(a,l,i){var r=a.pingCache;r!==null&&r.delete(l),a.pingedLanes|=a.suspendedLanes&i,a.warmLanes&=~i,Dt===a&&(We&i)===i&&(Ht===4||Ht===3&&(We&62914560)===We&&300>$a()-Pl?(dt&2)===0&&qu(a,0):Kh|=i,Pt===We&&(Pt=0)),Yu(a)}function Xv(a,l){l===0&&(l=Uo()),a=di(a,l),a!==null&&(Kc(a,l),Yu(a))}function ll(a){var l=a.memoizedState,i=0;l!==null&&(i=l.retryLane),Xv(a,i)}function Qv(a,l){var i=0;switch(a.tag){case 31:case 13:var r=a.stateNode,p=a.memoizedState;p!==null&&(i=p.retryLane);break;case 19:r=a.stateNode;break;case 22:r=a.stateNode._retryCache;break;default:throw Error(h(314))}r!==null&&r.delete(l),Xv(a,i)}function Jv(a,l){return Ut(a,l)}var Yr=null,gc=null,$0=!1,tp=!1,k0=!1,wi=0;function Yu(a){a!==gc&&a.next===null&&(gc===null?Yr=gc=a:gc=gc.next=a),tp=!0,$0||($0=!0,Bf())}function Di(a,l){if(!k0&&tp){k0=!0;do for(var i=!1,r=Yr;r!==null;){if(a!==0){var p=r.pendingLanes;if(p===0)var m=0;else{var S=r.suspendedLanes,A=r.pingedLanes;m=(1<<31-dn(42|a)+1)-1,m&=p&~(S&~A),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,vc(r,m))}else m=We,m=sa(r,r===Dt?m:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(m&3)===0||Ul(r,m)||(i=!0,vc(r,m));r=r.next}while(i);k0=!1}}function ap(){K0()}function K0(){tp=$0=!1;var a=0;wi!==0&&I1()&&(a=wi);for(var l=$a(),i=null,r=Yr;r!==null;){var p=r.next,m=I0(r,l);m===0?(r.next=null,i===null?Yr=p:i.next=p,p===null&&(gc=i)):(i=r,(a!==0||(m&3)!==0)&&(tp=!0)),r=p}Oa!==0&&Oa!==5||Di(a),wi!==0&&(wi=0)}function I0(a,l){for(var i=a.suspendedLanes,r=a.pingedLanes,p=a.expirationTimes,m=a.pendingLanes&-62914561;0<m;){var S=31-dn(m),A=1<<S,C=p[S];C===-1?((A&i)===0||(A&r)!==0)&&(p[S]=kc(A,l)):C<=l&&(a.expiredLanes|=A),m&=~A}if(l=Dt,i=We,i=sa(a,a===l?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),r=a.callbackNode,i===0||a===l&&(_t===2||_t===9)||a.cancelPendingCommit!==null)return r!==null&&r!==null&&pm(r),a.callbackNode=null,a.callbackPriority=0;if((i&3)===0||Ul(a,i)){if(l=i&-i,l===a.callbackPriority)return l;switch(r!==null&&pm(r),gm(i)){case 2:case 8:i=Ud;break;case 32:i=Li;break;case 268435456:i=mm;break;default:i=Li}return r=jf.bind(null,a),i=Ut(i,r),a.callbackPriority=l,a.callbackNode=i,l}return r!==null&&r!==null&&pm(r),a.callbackPriority=2,a.callbackNode=null,2}function jf(a,l){if(Oa!==0&&Oa!==5)return a.callbackNode=null,a.callbackPriority=0,null;var i=a.callbackNode;if(qr()&&a.callbackNode!==i)return null;var r=We;return r=sa(a,a===Dt?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),r===0?null:(Dv(a,r,l),I0(a,$a()),a.callbackNode!=null&&a.callbackNode===i?jf.bind(null,a):null)}function vc(a,l){if(qr())return null;Dv(a,l,!0)}function Bf(){eb(function(){(dt&6)!==0?Ut(Rd,ap):K0()})}function np(){if(wi===0){var a=eo;a===0&&(a=oi,oi<<=1,(oi&261888)===0&&(oi=256)),wi=a}return wi}function $v(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:ml(""+a)}function bc(a,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,a.id&&i.setAttribute("form",a.id),l.parentNode.insertBefore(i,l),a=new FormData(a),i.parentNode.removeChild(i),a}function qf(a,l,i,r,p){if(l==="submit"&&i&&i.stateNode===p){var m=$v((p[hn]||null).action),S=r.submitter;S&&(l=(l=S[hn]||null)?$v(l.formAction):S.getAttribute("formAction"),l!==null&&(m=l,S=null));var A=new Gs("action","action",null,r,p);a.push({event:A,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(wi!==0){var C=S?bc(p,S):new FormData(p);Tr(i,{pending:!0,data:C,method:p.method,action:m},null,C)}}else typeof m=="function"&&(A.preventDefault(),C=S?bc(p,S):new FormData(p),Tr(i,{pending:!0,data:C,method:p.method,action:m},m,C))},currentTarget:p}]})}}for(var lp=0;lp<rr.length;lp++){var Lr=rr[lp],F0=Lr.toLowerCase(),W0=Lr[0].toUpperCase()+Lr.slice(1);mn(F0,"on"+W0)}mn(ks,"onAnimationEnd"),mn(Xm,"onAnimationIteration"),mn(lh,"onAnimationStart"),mn("dblclick","onDoubleClick"),mn("focusin","onFocus"),mn("focusout","onBlur"),mn(ko,"onTransitionRun"),mn(Ks,"onTransitionStart"),mn(Su,"onTransitionCancel"),mn(lv,"onTransitionEnd"),mu("onMouseEnter",["mouseout","mouseover"]),mu("onMouseLeave",["mouseout","mouseover"]),mu("onPointerEnter",["pointerout","pointerover"]),mu("onPointerLeave",["pointerout","pointerover"]),Qi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vr));function Kv(a,l){l=(l&4)!==0;for(var i=0;i<a.length;i++){var r=a[i],p=r.event;r=r.listeners;e:{var m=void 0;if(l)for(var S=r.length-1;0<=S;S--){var A=r[S],C=A.instance,L=A.currentTarget;if(A=A.listener,C!==m&&p.isPropagationStopped())break e;m=A,p.currentTarget=L;try{m(p)}catch($){Ko($)}p.currentTarget=null,m=C}else for(S=0;S<r.length;S++){if(A=r[S],C=A.instance,L=A.currentTarget,A=A.listener,C!==m&&p.isPropagationStopped())break e;m=A,p.currentTarget=L;try{m(p)}catch($){Ko($)}p.currentTarget=null,m=C}}}}function tt(a,l){var i=l[jd];i===void 0&&(i=l[jd]=new Set);var r=a+"__bubble";i.has(r)||(Yf(l,a,2,!1),i.add(r))}function P0(a,l,i){var r=0;l&&(r|=4),Yf(i,a,r,l)}var up="_reactListening"+Math.random().toString(36).slice(2);function Gr(a){if(!a[up]){a[up]=!0,jo.forEach(function(i){i!=="selectionchange"&&(kv.has(i)||P0(i,!1,a),P0(i,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[up]||(l[up]=!0,P0("selectionchange",!1,l))}}function Yf(a,l,i,r){switch(Kf(l)){case 2:var p=Vu;break;case 8:p=Gu;break;default:p=Ia}i=p.bind(null,l,i,a),p=void 0,!Ls||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(p=!0),r?p!==void 0?a.addEventListener(l,i,{capture:!0,passive:p}):a.addEventListener(l,i,!0):p!==void 0?a.addEventListener(l,i,{passive:p}):a.addEventListener(l,i,!1)}function ey(a,l,i,r,p){var m=r;if((l&1)===0&&(l&2)===0&&r!==null)e:for(;;){if(r===null)return;var S=r.tag;if(S===3||S===4){var A=r.stateNode.containerInfo;if(A===p)break;if(S===4)for(S=r.return;S!==null;){var C=S.tag;if((C===3||C===4)&&S.stateNode.containerInfo===p)return;S=S.return}for(;A!==null;){if(S=No(A),S===null)return;if(C=S.tag,C===5||C===6||C===26||C===27){r=m=S;continue e}A=A.parentNode}}r=r.return}Om(function(){var L=m,$=Qd(i),W=[];e:{var V=_u.get(a);if(V!==void 0){var J=Gs,me=a;switch(a){case"keypress":if($d(i)===0)break e;case"keydown":case"keyup":J=Fd;break;case"focusin":me="focus",J=Kd;break;case"focusout":me="blur",J=Kd;break;case"beforeblur":case"afterblur":J=Kd;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=Jg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Fg;break;case ks:case Xm:case lh:J=kg;break;case lv:J=X1;break;case"scroll":case"scrollend":J=V1;break;case"wheel":J=Q1;break;case"copy":case"cut":case"paste":J=Lo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Bl;break;case"toggle":case"beforetoggle":J=Zm}var we=(l&4)!==0,xt=!we&&(a==="scroll"||a==="scrollend"),B=we?V!==null?V+"Capture":null:V;we=[];for(var N=L,q;N!==null;){var I=N;if(q=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||q===null||B===null||(I=Ca(N,B),I!=null&&we.push(Lf(N,I,q))),xt)break;N=N.return}0<we.length&&(V=new J(V,me,null,i,$),W.push({event:V,listeners:we}))}}if((l&7)===0){e:{if(V=a==="mouseover"||a==="pointerover",J=a==="mouseout"||a==="pointerout",V&&i!==Xd&&(me=i.relatedTarget||i.fromElement)&&(No(me)||me[Gi]))break e;if((J||V)&&(V=$.window===$?$:(V=$.ownerDocument)?V.defaultView||V.parentWindow:window,J?(me=i.relatedTarget||i.toElement,J=L,me=me?No(me):null,me!==null&&(xt=b(me),we=me.tag,me!==xt||we!==5&&we!==27&&we!==6)&&(me=null)):(J=null,me=L),J!==me)){if(we=lr,I="onMouseLeave",B="onMouseEnter",N="mouse",(a==="pointerout"||a==="pointerover")&&(we=Bl,I="onPointerLeave",B="onPointerEnter",N="pointer"),xt=J==null?V:Ic(J),q=me==null?V:Ic(me),V=new we(I,N+"leave",J,i,$),V.target=xt,V.relatedTarget=q,I=null,No($)===L&&(we=new we(B,N+"enter",me,i,$),we.target=q,we.relatedTarget=xt,I=we),xt=I,J&&me)t:{for(we=Iv,B=J,N=me,q=0,I=B;I;I=we(I))q++;I=0;for(var _e=N;_e;_e=we(_e))I++;for(;0<q-I;)B=we(B),q--;for(;0<I-q;)N=we(N),I--;for(;q--;){if(B===N||N!==null&&B===N.alternate){we=B;break t}B=we(B),N=we(N)}we=null}else we=null;J!==null&&ip(W,V,J,we,!1),me!==null&&xt!==null&&ip(W,xt,me,we,!0)}}e:{if(V=L?Ic(L):window,J=V.nodeName&&V.nodeName.toLowerCase(),J==="select"||J==="input"&&V.type==="file")var st=Ym;else if(bu(V))if(eh)st=Jo;else{st=av;var ge=tv}else J=V.nodeName,!J||J.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?L&&Am(L.elementType)&&(st=Ym):st=Ki;if(st&&(st=st(a,L))){qm(W,st,i,$);break e}ge&&ge(a,V,L),a==="focusout"&&L&&V.type==="number"&&L.memoizedProps.value!=null&&Bo(V,"number",V.value)}switch(ge=L?Ic(L):window,a){case"focusin":(bu(ge)||ge.contentEditable==="true")&&(Fi=ge,or=L,vl=null);break;case"focusout":vl=or=Fi=null;break;case"mousedown":Yl=!0;break;case"contextmenu":case"mouseup":case"dragend":Yl=!1,nh(W,i,$);break;case"selectionchange":if($s)break;case"keydown":case"keyup":nh(W,i,$)}var Ye;if(ur)e:{switch(a){case"compositionstart":var Xe="onCompositionStart";break e;case"compositionend":Xe="onCompositionEnd";break e;case"compositionupdate":Xe="onCompositionUpdate";break e}Xe=void 0}else Go?Pd(a,i)&&(Xe="onCompositionEnd"):a==="keydown"&&i.keyCode===229&&(Xe="onCompositionStart");Xe&&(Hm&&i.locale!=="ko"&&(Go||Xe!=="onCompositionStart"?Xe==="onCompositionEnd"&&Go&&(Ye=Dm()):(si=$,wm="value"in si?si.value:si.textContent,Go=!0)),ge=Vf(L,Xe),0<ge.length&&(Xe=new Kg(Xe,a,null,i,$),W.push({event:Xe,listeners:ge}),Ye?Xe.data=Ye:(Ye=jm(i),Ye!==null&&(Xe.data=Ye)))),(Ye=an?ev(a,i):J1(a,i))&&(Xe=Vf(L,"onBeforeInput"),0<Xe.length&&(ge=new Kg("onBeforeInput","beforeinput",null,i,$),W.push({event:ge,listeners:Xe}),ge.data=Ye)),qf(W,a,L,i,$)}Kv(W,l)})}function Lf(a,l,i){return{instance:a,listener:l,currentTarget:i}}function Vf(a,l){for(var i=l+"Capture",r=[];a!==null;){var p=a,m=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||m===null||(p=Ca(a,i),p!=null&&r.unshift(Lf(a,p,m)),p=Ca(a,l),p!=null&&r.push(Lf(a,p,m))),a.tag===3)return r;a=a.return}return[]}function Iv(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function ip(a,l,i,r,p){for(var m=l._reactName,S=[];i!==null&&i!==r;){var A=i,C=A.alternate,L=A.stateNode;if(A=A.tag,C!==null&&C===r)break;A!==5&&A!==26&&A!==27||L===null||(C=L,p?(L=Ca(i,m),L!=null&&S.unshift(Lf(i,L,C))):p||(L=Ca(i,m),L!=null&&S.push(Lf(i,L,C)))),i=i.return}S.length!==0&&a.push({event:l,listeners:S})}var Fv=/\r\n?/g,ty=/\u0000|\uFFFD/g;function ay(a){return(typeof a=="string"?a:""+a).replace(Fv,`
10
+ `).replace(ty,"")}function ny(a,l){return l=ay(l),ay(a)===l}function Mt(a,l,i,r,p,m){switch(i){case"children":typeof r=="string"?l==="body"||l==="textarea"&&r===""||yu(a,r):(typeof r=="number"||typeof r=="bigint")&&l!=="body"&&yu(a,""+r);break;case"className":Ld(a,"class",r);break;case"tabIndex":Ld(a,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Ld(a,i,r);break;case"style":Gg(a,r,m);break;case"data":if(l!=="object"){Ld(a,"data",r);break}case"src":case"href":if(r===""&&(l!=="a"||i!=="href")){a.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){a.removeAttribute(i);break}r=ml(""+r),a.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){a.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(i==="formAction"?(l!=="input"&&Mt(a,l,"name",p.name,p,null),Mt(a,l,"formEncType",p.formEncType,p,null),Mt(a,l,"formMethod",p.formMethod,p,null),Mt(a,l,"formTarget",p.formTarget,p,null)):(Mt(a,l,"encType",p.encType,p,null),Mt(a,l,"method",p.method,p,null),Mt(a,l,"target",p.target,p,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){a.removeAttribute(i);break}r=ml(""+r),a.setAttribute(i,r);break;case"onClick":r!=null&&(a.onclick=Zl);break;case"onScroll":r!=null&&tt("scroll",a);break;case"onScrollEnd":r!=null&&tt("scrollend",a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));a.innerHTML=i}}break;case"multiple":a.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":a.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){a.removeAttribute("xlink:href");break}i=ml(""+r),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,""+r):a.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,""):a.removeAttribute(i);break;case"capture":case"download":r===!0?a.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?a.setAttribute(i,r):a.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?a.setAttribute(i,r):a.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?a.removeAttribute(i):a.setAttribute(i,r);break;case"popover":tt("beforetoggle",a),tt("toggle",a),Pc(a,"popover",r);break;case"xlinkActuate":ci(a,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ci(a,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ci(a,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ci(a,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ci(a,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ci(a,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ci(a,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ci(a,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ci(a,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Pc(a,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=L1.get(i)||i,Pc(a,i,r))}}function ly(a,l,i,r,p,m){switch(i){case"style":Gg(a,r,m);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(h(61));if(i=r.__html,i!=null){if(p.children!=null)throw Error(h(60));a.innerHTML=i}}break;case"children":typeof r=="string"?yu(a,r):(typeof r=="number"||typeof r=="bigint")&&yu(a,""+r);break;case"onScroll":r!=null&&tt("scroll",a);break;case"onScrollEnd":r!=null&&tt("scrollend",a);break;case"onClick":r!=null&&(a.onclick=Zl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Xi.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),l=i.slice(2,p?i.length-7:void 0),m=a[hn]||null,m=m!=null?m[i]:null,typeof m=="function"&&a.removeEventListener(l,m,p),typeof r=="function")){typeof m!="function"&&m!==null&&(i in a?a[i]=null:a.hasAttribute(i)&&a.removeAttribute(i)),a.addEventListener(l,r,p);break e}i in a?a[i]=r:r===!0?a.setAttribute(i,""):Pc(a,i,r)}}}function Ka(a,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tt("error",a),tt("load",a);var r=!1,p=!1,m;for(m in i)if(i.hasOwnProperty(m)){var S=i[m];if(S!=null)switch(m){case"src":r=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Mt(a,l,m,S,i,null)}}p&&Mt(a,l,"srcSet",i.srcSet,i,null),r&&Mt(a,l,"src",i.src,i,null);return;case"input":tt("invalid",a);var A=m=S=p=null,C=null,L=null;for(r in i)if(i.hasOwnProperty(r)){var $=i[r];if($!=null)switch(r){case"name":p=$;break;case"type":S=$;break;case"checked":C=$;break;case"defaultChecked":L=$;break;case"value":m=$;break;case"defaultValue":A=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(h(137,l));break;default:Mt(a,l,r,$,i,null)}}Bs(a,m,A,C,L,S,p,!1);return;case"select":tt("invalid",a),r=S=m=null;for(p in i)if(i.hasOwnProperty(p)&&(A=i[p],A!=null))switch(p){case"value":m=A;break;case"defaultValue":S=A;break;case"multiple":r=A;default:Mt(a,l,p,A,i,null)}l=m,i=S,a.multiple=!!r,l!=null?er(a,!!r,l,!1):i!=null&&er(a,!!r,i,!0);return;case"textarea":tt("invalid",a),m=p=r=null;for(S in i)if(i.hasOwnProperty(S)&&(A=i[S],A!=null))switch(S){case"value":r=A;break;case"defaultValue":p=A;break;case"children":m=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(h(91));break;default:Mt(a,l,S,A,i,null)}Tm(a,r,p,m);return;case"option":for(C in i)if(i.hasOwnProperty(C)&&(r=i[C],r!=null))switch(C){case"selected":a.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:Mt(a,l,C,r,i,null)}return;case"dialog":tt("beforetoggle",a),tt("toggle",a),tt("cancel",a),tt("close",a);break;case"iframe":case"object":tt("load",a);break;case"video":case"audio":for(r=0;r<Vr.length;r++)tt(Vr[r],a);break;case"image":tt("error",a),tt("load",a);break;case"details":tt("toggle",a);break;case"embed":case"source":case"link":tt("error",a),tt("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in i)if(i.hasOwnProperty(L)&&(r=i[L],r!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(h(137,l));default:Mt(a,l,L,r,i,null)}return;default:if(Am(l)){for($ in i)i.hasOwnProperty($)&&(r=i[$],r!==void 0&&ly(a,l,$,r,i,void 0));return}}for(A in i)i.hasOwnProperty(A)&&(r=i[A],r!=null&&Mt(a,l,A,r,i,null))}function uy(a,l,i,r){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,m=null,S=null,A=null,C=null,L=null,$=null;for(J in i){var W=i[J];if(i.hasOwnProperty(J)&&W!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":C=W;default:r.hasOwnProperty(J)||Mt(a,l,J,null,r,W)}}for(var V in r){var J=r[V];if(W=i[V],r.hasOwnProperty(V)&&(J!=null||W!=null))switch(V){case"type":m=J;break;case"name":p=J;break;case"checked":L=J;break;case"defaultChecked":$=J;break;case"value":S=J;break;case"defaultValue":A=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(h(137,l));break;default:J!==W&&Mt(a,l,V,J,r,W)}}js(a,S,A,C,L,$,m,p);return;case"select":J=S=A=V=null;for(m in i)if(C=i[m],i.hasOwnProperty(m)&&C!=null)switch(m){case"value":break;case"multiple":J=C;default:r.hasOwnProperty(m)||Mt(a,l,m,null,r,C)}for(p in r)if(m=r[p],C=i[p],r.hasOwnProperty(p)&&(m!=null||C!=null))switch(p){case"value":V=m;break;case"defaultValue":A=m;break;case"multiple":S=m;default:m!==C&&Mt(a,l,p,m,r,C)}l=A,i=S,r=J,V!=null?er(a,!!i,V,!1):!!r!=!!i&&(l!=null?er(a,!!i,l,!0):er(a,!!i,i?[]:"",!1));return;case"textarea":J=V=null;for(A in i)if(p=i[A],i.hasOwnProperty(A)&&p!=null&&!r.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:Mt(a,l,A,null,r,p)}for(S in r)if(p=r[S],m=i[S],r.hasOwnProperty(S)&&(p!=null||m!=null))switch(S){case"value":V=p;break;case"defaultValue":J=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(h(91));break;default:p!==m&&Mt(a,l,S,p,r,m)}zm(a,V,J);return;case"option":for(var me in i)if(V=i[me],i.hasOwnProperty(me)&&V!=null&&!r.hasOwnProperty(me))switch(me){case"selected":a.selected=!1;break;default:Mt(a,l,me,null,r,V)}for(C in r)if(V=r[C],J=i[C],r.hasOwnProperty(C)&&V!==J&&(V!=null||J!=null))switch(C){case"selected":a.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Mt(a,l,C,V,r,J)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in i)V=i[we],i.hasOwnProperty(we)&&V!=null&&!r.hasOwnProperty(we)&&Mt(a,l,we,null,r,V);for(L in r)if(V=r[L],J=i[L],r.hasOwnProperty(L)&&V!==J&&(V!=null||J!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(h(137,l));break;default:Mt(a,l,L,V,r,J)}return;default:if(Am(l)){for(var xt in i)V=i[xt],i.hasOwnProperty(xt)&&V!==void 0&&!r.hasOwnProperty(xt)&&ly(a,l,xt,void 0,r,V);for($ in r)V=r[$],J=i[$],!r.hasOwnProperty($)||V===J||V===void 0&&J===void 0||ly(a,l,$,V,r,J);return}}for(var B in i)V=i[B],i.hasOwnProperty(B)&&V!=null&&!r.hasOwnProperty(B)&&Mt(a,l,B,null,r,V);for(W in r)V=r[W],J=i[W],!r.hasOwnProperty(W)||V===J||V==null&&J==null||Mt(a,l,W,V,r,J)}function op(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function iy(){if(typeof performance.getEntriesByType=="function"){for(var a=0,l=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var p=i[r],m=p.transferSize,S=p.initiatorType,A=p.duration;if(m&&A&&op(S)){for(S=0,A=p.responseEnd,r+=1;r<i.length;r++){var C=i[r],L=C.startTime;if(L>A)break;var $=C.transferSize,W=C.initiatorType;$&&op(W)&&(C=C.responseEnd,S+=$*(C<A?1:(A-L)/(C-L)))}if(--r,l+=8*(m+S)/(p.duration/1e3),a++,10<a)break}}if(0<a)return l/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var cp=null,rp=null;function So(a){return a.nodeType===9?a:a.ownerDocument}function Wv(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function oy(a,l){if(a===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&l==="foreignObject"?0:a}function Xr(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var sp=null;function I1(){var a=window.event;return a&&a.type==="popstate"?a===sp?!1:(sp=a,!0):(sp=null,!1)}var Gf=typeof setTimeout=="function"?setTimeout:void 0,Pv=typeof clearTimeout=="function"?clearTimeout:void 0,Sc=typeof Promise=="function"?Promise:void 0,eb=typeof queueMicrotask=="function"?queueMicrotask:typeof Sc<"u"?function(a){return Sc.resolve(null).then(a).catch(cy)}:Gf;function cy(a){setTimeout(function(){throw a})}function eu(a){return a==="head"}function ry(a,l){var i=l,r=0;do{var p=i.nextSibling;if(a.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(r===0){a.removeChild(p),as(l);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")_c(a.ownerDocument.documentElement);else if(i==="head"){i=a.ownerDocument.head,_c(i);for(var m=i.firstChild;m;){var S=m.nextSibling,A=m.nodeName;m[pu]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=S}}else i==="body"&&_c(a.ownerDocument.body);i=p}while(i);as(l)}function ma(a,l){var i=a;a=0;do{var r=i.nextSibling;if(i.nodeType===1?l?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(l?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(a===0)break;a--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||a++;i=r}while(i)}function Xf(a){var l=a.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Xf(i),Bd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}a.removeChild(i)}}function F1(a,l,i,r){for(;a.nodeType===1;){var p=i;if(a.nodeName.toLowerCase()!==l.toLowerCase()){if(!r&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(r){if(!a[pu])switch(l){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(m=a.getAttribute("rel"),m==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(m!==p.rel||a.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||a.getAttribute("title")!==(p.title==null?null:p.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(m=a.getAttribute("src"),(m!==(p.src==null?null:p.src)||a.getAttribute("type")!==(p.type==null?null:p.type)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&m&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(l==="input"&&a.type==="hidden"){var m=p.name==null?null:""+p.name;if(p.type==="hidden"&&a.getAttribute("name")===m)return a}else return a;if(a=wn(a.nextSibling),a===null)break}return null}function $e(a,l,i){if(l==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=wn(a.nextSibling),a===null))return null;return a}function tb(a,l){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=wn(a.nextSibling),a===null))return null;return a}function Ol(a){return a.data==="$?"||a.data==="$~"}function _o(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function Qr(a,l){var i=a.ownerDocument;if(a.data==="$~")a._reactRetry=l;else if(a.data!=="$?"||i.readyState!=="loading")l();else{var r=function(){l(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),a._reactRetry=r}}function wn(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return a}var Qf=null;function fp(a){a=a.nextSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="/$"||i==="/&"){if(l===0)return wn(a.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}a=a.nextSibling}return null}function tu(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(l===0)return a;l--}else i!=="/$"&&i!=="/&"||l++}a=a.previousSibling}return null}function Jr(a,l,i){switch(l=So(i),a){case"html":if(a=l.documentElement,!a)throw Error(h(452));return a;case"head":if(a=l.head,!a)throw Error(h(453));return a;case"body":if(a=l.body,!a)throw Error(h(454));return a;default:throw Error(h(451))}}function _c(a){for(var l=a.attributes;l.length;)a.removeAttributeNode(l[0]);Bd(a)}var Bn=new Map,Jf=new Set;function un(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var au=ee.d;ee.d={f:W1,r:ab,D:Q,C:yt,L:P1,m:sy,X:Mi,S:fy,M:Eo};function W1(){var a=au.f(),l=jr();return a||l}function ab(a){var l=Zo(a);l!==null&&l.tag===5&&l.type==="form"?wt(l):au.r(a)}var $r=typeof document>"u"?null:document;function Sa(a,l,i){var r=$r;if(r&&typeof l=="string"&&l){var p=Qn(l);p='link[rel="'+a+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),Jf.has(p)||(Jf.add(p),a={rel:a,crossOrigin:i,href:l},r.querySelector(p)===null&&(l=r.createElement("link"),Ka(l,"link",a),vt(l),r.head.appendChild(l)))}}function Q(a){au.D(a),Sa("dns-prefetch",a,null)}function yt(a,l){au.C(a,l),Sa("preconnect",a,l)}function P1(a,l,i){au.L(a,l,i);var r=$r;if(r&&a&&l){var p='link[rel="preload"][as="'+Qn(l)+'"]';l==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+Qn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+Qn(i.imageSizes)+'"]')):p+='[href="'+Qn(a)+'"]';var m=p;switch(l){case"style":m=ul(a);break;case"script":m=Ec(a)}Bn.has(m)||(a=Y({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:a,as:l},i),Bn.set(m,a),r.querySelector(p)!==null||l==="style"&&r.querySelector(zo(m))||l==="script"&&r.querySelector(Ir(m))||(l=r.createElement("link"),Ka(l,"link",a),vt(l),r.head.appendChild(l)))}}function sy(a,l){au.m(a,l);var i=$r;if(i&&a){var r=l&&typeof l.as=="string"?l.as:"script",p='link[rel="modulepreload"][as="'+Qn(r)+'"][href="'+Qn(a)+'"]',m=p;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Ec(a)}if(!Bn.has(m)&&(a=Y({rel:"modulepreload",href:a},l),Bn.set(m,a),i.querySelector(p)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ir(m)))return}r=i.createElement("link"),Ka(r,"link",a),vt(r),i.head.appendChild(r)}}}function fy(a,l,i){au.S(a,l,i);var r=$r;if(r&&a){var p=Ho(r).hoistableStyles,m=ul(a);l=l||"default";var S=p.get(m);if(!S){var A={loading:0,preload:null};if(S=r.querySelector(zo(m)))A.loading=5;else{a=Y({rel:"stylesheet",href:a,"data-precedence":l},i),(i=Bn.get(m))&&dp(a,i);var C=S=r.createElement("link");vt(C),Ka(C,"link",a),C._p=new Promise(function(L,$){C.onload=L,C.onerror=$}),C.addEventListener("load",function(){A.loading|=1}),C.addEventListener("error",function(){A.loading|=2}),A.loading|=4,$f(S,l,r)}S={type:"stylesheet",instance:S,count:1,state:A},p.set(m,S)}}}function Mi(a,l){au.X(a,l);var i=$r;if(i&&a){var r=Ho(i).hoistableScripts,p=Ec(a),m=r.get(p);m||(m=i.querySelector(Ir(p)),m||(a=Y({src:a,async:!0},l),(l=Bn.get(p))&&hp(a,l),m=i.createElement("script"),vt(m),Ka(m,"link",a),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function Eo(a,l){au.M(a,l);var i=$r;if(i&&a){var r=Ho(i).hoistableScripts,p=Ec(a),m=r.get(p);m||(m=i.querySelector(Ir(p)),m||(a=Y({src:a,async:!0,type:"module"},l),(l=Bn.get(p))&&hp(a,l),m=i.createElement("script"),vt(m),Ka(m,"link",a),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(p,m))}}function kr(a,l,i,r){var p=(p=Yi.current)?un(p):null;if(!p)throw Error(h(446));switch(a){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=ul(i.href),i=Ho(p).hoistableStyles,r=i.get(l),r||(r={type:"style",instance:null,count:0,state:null},i.set(l,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){a=ul(i.href);var m=Ho(p).hoistableStyles,S=m.get(a);if(S||(p=p.ownerDocument||p,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(a,S),(m=p.querySelector(zo(a)))&&!m._p&&(S.instance=m,S.state.loading=5),Bn.has(a)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(a,i),m||nb(p,a,i,S.state))),l&&r===null)throw Error(h(528,""));return S}if(l&&r!==null)throw Error(h(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ec(i),i=Ho(p).hoistableScripts,r=i.get(l),r||(r={type:"script",instance:null,count:0,state:null},i.set(l,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,a))}}function ul(a){return'href="'+Qn(a)+'"'}function zo(a){return'link[rel="stylesheet"]['+a+"]"}function Kr(a){return Y({},a,{"data-precedence":a.precedence,precedence:null})}function nb(a,l,i,r){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?r.loading=1:(l=a.createElement("link"),r.preload=l,l.addEventListener("load",function(){return r.loading|=1}),l.addEventListener("error",function(){return r.loading|=2}),Ka(l,"link",i),vt(l),a.head.appendChild(l))}function Ec(a){return'[src="'+Qn(a)+'"]'}function Ir(a){return"script[async]"+a}function dy(a,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var r=a.querySelector('style[data-href~="'+Qn(i.href)+'"]');if(r)return l.instance=r,vt(r),r;var p=Y({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(a.ownerDocument||a).createElement("style"),vt(r),Ka(r,"style",p),$f(r,i.precedence,a),l.instance=r;case"stylesheet":p=ul(i.href);var m=a.querySelector(zo(p));if(m)return l.state.loading|=4,l.instance=m,vt(m),m;r=Kr(i),(p=Bn.get(p))&&dp(r,p),m=(a.ownerDocument||a).createElement("link"),vt(m);var S=m;return S._p=new Promise(function(A,C){S.onload=A,S.onerror=C}),Ka(m,"link",r),l.state.loading|=4,$f(m,i.precedence,a),l.instance=m;case"script":return m=Ec(i.src),(p=a.querySelector(Ir(m)))?(l.instance=p,vt(p),p):(r=i,(p=Bn.get(m))&&(r=Y({},i),hp(r,p)),a=a.ownerDocument||a,p=a.createElement("script"),vt(p),Ka(p,"link",r),a.head.appendChild(p),l.instance=p);case"void":return null;default:throw Error(h(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(r=l.instance,l.state.loading|=4,$f(r,i.precedence,a));return l.instance}function $f(a,l,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=r.length?r[r.length-1]:null,m=p,S=0;S<r.length;S++){var A=r[S];if(A.dataset.precedence===l)m=A;else if(m!==p)break}m?m.parentNode.insertBefore(a,m.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(a,l.firstChild))}function dp(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.title==null&&(a.title=l.title)}function hp(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.integrity==null&&(a.integrity=l.integrity)}var Fr=null;function hy(a,l,i){if(Fr===null){var r=new Map,p=Fr=new Map;p.set(i,r)}else p=Fr,r=p.get(i),r||(r=new Map,p.set(i,r));if(r.has(a))return r;for(r.set(a,null),i=i.getElementsByTagName(a),p=0;p<i.length;p++){var m=i[p];if(!(m[pu]||m[Ot]||a==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var S=m.getAttribute(l)||"";S=a+S;var A=r.get(S);A?A.push(m):r.set(S,[m])}}return r}function pp(a,l,i){a=a.ownerDocument||a,a.head.insertBefore(i,l==="title"?a.querySelector("head > title"):null)}function py(a,l,i){if(i===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function qn(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function Lu(a,l,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=ul(r.href),m=l.querySelector(zo(p));if(m){l=m._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=mp.bind(a),l.then(a,a)),i.state.loading|=4,i.instance=m,vt(m);return}m=l.ownerDocument||l,r=Kr(r),(p=Bn.get(p))&&dp(r,p),m=m.createElement("link"),vt(m);var S=m;S._p=new Promise(function(A,C){S.onload=A,S.onerror=C}),Ka(m,"link",r),i.instance=m}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(a.count++,i=mp.bind(a),l.addEventListener("load",i),l.addEventListener("error",i))}}var il=0;function my(a,l){return a.stylesheets&&a.count===0&&gp(a,a.stylesheets),0<a.count||0<a.imgCount?function(i){var r=setTimeout(function(){if(a.stylesheets&&gp(a,a.stylesheets),a.unsuspend){var m=a.unsuspend;a.unsuspend=null,m()}},6e4+l);0<a.imgBytes&&il===0&&(il=62500*iy());var p=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&gp(a,a.stylesheets),a.unsuspend)){var m=a.unsuspend;a.unsuspend=null,m()}},(a.imgBytes>il?50:800)+l);return a.unsuspend=i,function(){a.unsuspend=null,clearTimeout(r),clearTimeout(p)}}:null}function mp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var yp=null;function gp(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,yp=new Map,l.forEach(Ba,a),yp=null,mp.call(a))}function Ba(a,l){if(!(l.state.loading&4)){var i=yp.get(a);if(i)var r=i.get(null);else{i=new Map,yp.set(a,i);for(var p=a.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<p.length;m++){var S=p[m];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),r=S)}r&&i.set(null,r)}p=l.instance,S=p.getAttribute("data-precedence"),m=i.get(S)||r,m===r&&i.set(null,p),i.set(S,p),this.count++,r=mp.bind(this),p.addEventListener("load",r),p.addEventListener("error",r),m?m.parentNode.insertBefore(p,m.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(p,a.firstChild)),l.state.loading|=4}}var kf={$$typeof:ye,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_threadCount:0};function yy(a,l,i,r,p,m,S,A,C){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ns(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ns(0),this.hiddenUpdates=Ns(null),this.identifierPrefix=r,this.onUncaughtError=p,this.onCaughtError=m,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function vp(a,l,i,r,p,m,S,A,C,L,$,W){return a=new yy(a,l,i,S,C,L,$,W,A),l=1,m===!0&&(l|=24),m=na(3,null,null,l),a.current=m,m.stateNode=a,l=tf(),l.refCount++,a.pooledCache=l,l.refCount++,m.memoizedState={element:r,isDehydrated:i,cache:l},rf(m),a}function zc(a){return a?(a=yn,a):yn}function lb(a,l,i,r,p,m){p=zc(p),r.context===null?r.context=p:r.pendingContext=p,r=bi(l),r.payload={element:i},m=m===void 0?null:m,m!==null&&(r.callback=m),i=Wn(a,r,l),i!==null&&(On(i,a,l),io(i,a,l))}function bp(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var i=a.retryLane;a.retryLane=i!==0&&i<l?i:l}}function gy(a,l){bp(a,l),(a=a.alternate)&&bp(a,l)}function ub(a){if(a.tag===13||a.tag===31){var l=di(a,67108864);l!==null&&On(l,a,67108864),gy(a,67108864)}}function Tc(a){if(a.tag===13||a.tag===31){var l=jn();l=Zd(l);var i=di(a,l);i!==null&&On(i,a,l),gy(a,l)}}var wa=!0;function Vu(a,l,i,r){var p=H.T;H.T=null;var m=ee.p;try{ee.p=2,Ia(a,l,i,r)}finally{ee.p=m,H.T=p}}function Gu(a,l,i,r){var p=H.T;H.T=null;var m=ee.p;try{ee.p=8,Ia(a,l,i,r)}finally{ee.p=m,H.T=p}}function Ia(a,l,i,r){if(wa){var p=vy(r);if(p===null)ey(a,l,r,Sp,i),xi(a,r);else if(eS(p,a,l,i,r))r.stopPropagation();else if(xi(a,r),l&4&&-1<Dn.indexOf(a)){for(;p!==null;){var m=Zo(p);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var S=pl(m.pendingLanes);if(S!==0){var A=m;for(A.pendingLanes|=2,A.entangledLanes|=2;S;){var C=1<<31-dn(S);A.entanglements[1]|=C,S&=~C}Yu(m),(dt&6)===0&&(mt=$a()+500,Di(0))}}break;case 31:case 13:A=di(m,2),A!==null&&On(A,m,2),jr(),gy(m,2)}if(m=vy(r),m===null&&ey(a,l,r,Sp,i),m===p)break;p=m}p!==null&&r.stopPropagation()}else ey(a,l,r,null,i)}}function vy(a){return a=Qd(a),Wr(a)}var Sp=null;function Wr(a){if(Sp=null,a=No(a),a!==null){var l=b(a);if(l===null)a=null;else{var i=l.tag;if(i===13){if(a=_(l),a!==null)return a;a=null}else if(i===31){if(a=z(l),a!==null)return a;a=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null)}}return Sp=a,null}function Kf(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(B1()){case Rd:return 2;case Ud:return 8;case Li:case q1:return 32;case mm:return 268435456;default:return 32}default:return 32}}var Pr=!1,Da=null,Fa=null,on=null,To=new Map,wl=new Map,Qt=[],Dn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function xi(a,l){switch(a){case"focusin":case"focusout":Da=null;break;case"dragenter":case"dragleave":Fa=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":To.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":wl.delete(l.pointerId)}}function Ac(a,l,i,r,p,m){return a===null||a.nativeEvent!==m?(a={blockedOn:l,domEventName:i,eventSystemFlags:r,nativeEvent:m,targetContainers:[p]},l!==null&&(l=Zo(l),l!==null&&ub(l)),a):(a.eventSystemFlags|=r,l=a.targetContainers,p!==null&&l.indexOf(p)===-1&&l.push(p),a)}function eS(a,l,i,r,p){switch(l){case"focusin":return Da=Ac(Da,a,l,i,r,p),!0;case"dragenter":return Fa=Ac(Fa,a,l,i,r,p),!0;case"mouseover":return on=Ac(on,a,l,i,r,p),!0;case"pointerover":var m=p.pointerId;return To.set(m,Ac(To.get(m)||null,a,l,i,r,p)),!0;case"gotpointercapture":return m=p.pointerId,wl.set(m,Ac(wl.get(m)||null,a,l,i,r,p)),!0}return!1}function ib(a){var l=No(a.target);if(l!==null){var i=b(l);if(i!==null){if(l=i.tag,l===13){if(l=_(i),l!==null){a.blockedOn=l,vm(a.priority,function(){Tc(i)});return}}else if(l===31){if(l=z(i),l!==null){a.blockedOn=l,vm(a.priority,function(){Tc(i)});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){a.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}a.blockedOn=null}function If(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var i=vy(a.nativeEvent);if(i===null){i=a.nativeEvent;var r=new i.constructor(i.type,i);Xd=r,i.target.dispatchEvent(r),Xd=null}else return l=Zo(i),l!==null&&ub(l),a.blockedOn=i,!1;l.shift()}return!0}function es(a,l,i){If(a)&&i.delete(l)}function ob(){Pr=!1,Da!==null&&If(Da)&&(Da=null),Fa!==null&&If(Fa)&&(Fa=null),on!==null&&If(on)&&(on=null),To.forEach(es),wl.forEach(es)}function Xu(a,l){a.blockedOn===l&&(a.blockedOn=null,Pr||(Pr=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,ob)))}var ts=null;function cb(a){ts!==a&&(ts=a,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){ts===a&&(ts=null);for(var l=0;l<a.length;l+=3){var i=a[l],r=a[l+1],p=a[l+2];if(typeof r!="function"){if(Wr(r||i)===null)continue;break}var m=Zo(i);m!==null&&(a.splice(l,3),l-=3,Tr(m,{pending:!0,data:p,method:i.method,action:r},r,p))}}))}function as(a){function l(C){return Xu(C,a)}Da!==null&&Xu(Da,a),Fa!==null&&Xu(Fa,a),on!==null&&Xu(on,a),To.forEach(l),wl.forEach(l);for(var i=0;i<Qt.length;i++){var r=Qt[i];r.blockedOn===a&&(r.blockedOn=null)}for(;0<Qt.length&&(i=Qt[0],i.blockedOn===null);)ib(i),i.blockedOn===null&&Qt.shift();if(i=(a.ownerDocument||a).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var p=i[r],m=i[r+1],S=p[hn]||null;if(typeof m=="function")S||cb(i);else if(S){var A=null;if(m&&m.hasAttribute("formAction")){if(p=m,S=m[hn]||null)A=S.formAction;else if(Wr(p)!==null)continue}else A=S.action;typeof A=="function"?i[r+1]=A:(i.splice(r,3),r-=3),cb(i)}}}function by(){function a(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(S){return p=S})},focusReset:"manual",scroll:"manual"})}function l(){p!==null&&(p(),p=null),r||setTimeout(i,20)}function i(){if(!r&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,p=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),p!==null&&(p(),p=null)}}}function _p(a){this._internalRoot=a}Ep.prototype.render=_p.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(h(409));var i=l.current,r=jn();lb(i,r,a,l,null,null)},Ep.prototype.unmount=_p.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;lb(a.current,2,null,a,null,null),jr(),l[Gi]=null}};function Ep(a){this._internalRoot=a}Ep.prototype.unstable_scheduleHydration=function(a){if(a){var l=Hd();a={blockedOn:null,target:a,priority:l};for(var i=0;i<Qt.length&&l!==0&&l<Qt[i].priority;i++);Qt.splice(i,0,a),i===0&&ib(a)}};var Sy=c.version;if(Sy!=="19.2.3")throw Error(h(527,Sy,"19.2.3"));ee.findDOMNode=function(a){var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(h(188)):(a=Object.keys(a).join(","),Error(h(268,a)));return a=O(l),a=a!==null?j(a):null,a=a===null?null:a.stateNode,a};var rb={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&&Ff.supportsFiber)try{Ro=Ff.inject(rb),Cn=Ff}catch{}}return em.createRoot=function(a,l){if(!g(a))throw Error(h(299));var i=!1,r="",p=Uh,m=_0,S=Nh;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(r=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(m=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=vp(a,1,!1,null,null,i,r,null,p,m,S,by),a[Gi]=l.current,Gr(a),new _p(l)},em.hydrateRoot=function(a,l,i){if(!g(a))throw Error(h(299));var r=!1,p="",m=Uh,S=_0,A=Nh,C=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(A=i.onRecoverableError),i.formState!==void 0&&(C=i.formState)),l=vp(a,1,!0,l,i??null,r,p,C,m,S,A,by),l.context=zc(null),i=l.current,r=jn(),r=Zd(r),p=bi(r),p.callback=null,Wn(i,p,r),i=r,l.current.lanes=i,Kc(l,i),Yu(l),a[Gi]=l.current,Gr(a),new Ep(l)},em.version="19.2.3",em}var tm={};var S2;function pA(){return S2||(S2=1,process.env.NODE_ENV!=="production"&&(function(){function u(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function c(e,t,n,o){if(n>=t.length)return o;var s=t[n],f=Sa(e)?e.slice():$e({},e);return f[s]=c(e[s],t,n+1,o),f}function d(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<n.length-1;o++)if(t[o]!==n[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return h(e,t,n,0)}}function h(e,t,n,o){var s=t[o],f=Sa(e)?e.slice():$e({},e);return o+1===t.length?(f[n[o]]=f[s],Sa(f)?f.splice(s,1):delete f[s]):f[s]=h(e[s],t,n,o+1),f}function g(e,t,n){var o=t[n],s=Sa(e)?e.slice():$e({},e);return n+1===t.length?(Sa(s)?s.splice(o,1):delete s[o],s):(s[o]=g(e[o],t,n+1),s)}function b(){return!1}function _(){return null}function z(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function w(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function O(){}function j(){}function Y(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function ae(e,t,n,o){return new J1(e,t,n,o)}function ne(e,t){e.context===is&&(ip(e.current,2,t,e,null,null),nl())}function ce(e,t){if($u!==null){var n=t.staleFamilies;t=t.updatedFamilies,Df(),ev(e.current,t,n),nl()}}function re(e){$u=e}function se(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ee(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ye(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function F(e){if(ue(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Je(e){var t=e.alternate;if(!t){if(t=ue(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(s===null)break;var f=s.alternate;if(f===null){if(o=s.return,o!==null){n=o;continue}break}if(s.child===f.child){for(f=s.child;f;){if(f===n)return F(s),e;if(f===o)return F(s),t;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==o.return)n=s,o=f;else{for(var y=!1,v=s.child;v;){if(v===n){y=!0,n=s,o=f;break}if(v===o){y=!0,o=s,n=f;break}v=v.sibling}if(!y){for(v=f.child;v;){if(v===n){y=!0,n=f,o=s;break}if(v===o){y=!0,o=f,n=s;break}v=v.sibling}if(!y)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function je(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=je(e),t!==null)return t;e=e.sibling}return null}function Te(e){return e===null||typeof e!="object"?null:(e=ab&&e[ab]||e["@@iterator"],typeof e=="function"?e:null)}function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===$r?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qr:return"Fragment";case Qf:return"Profiler";case wn:return"StrictMode";case _c:return"Suspense";case Bn:return"SuspenseList";case au:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case _o:return"Portal";case tu:return e.displayName||"Context";case fp:return(e._context.displayName||"Context")+".Consumer";case Jr:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jf:return t=e.displayName||null,t!==null?t:ie(e.type)||"Memo";case un:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}function qe(e){return typeof e.tag=="number"?de(e):typeof e.name=="string"?e.name:null}function de(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(t);case 8:return t===wn?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return de(e.return)}return null}function zt(e){return{current:e}}function De(e,t){0>Mi?console.error("Unexpected pop."):(t!==fy[Mi]&&console.error("Unexpected Fiber popped."),e.current=sy[Mi],sy[Mi]=null,fy[Mi]=null,Mi--)}function Fe(e,t,n){Mi++,sy[Mi]=e.current,fy[Mi]=n,e.current=t}function en(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function tn(e,t){Fe(ul,t,e),Fe(kr,e,e),Fe(Eo,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Mv(t):qc;break;default:if(n=t.tagName,t=t.namespaceURI)t=Mv(t),t=Oi(t,n);else switch(n){case"svg":t=Wp;break;case"math":t=e1;break;default:t=qc}}n=n.toLowerCase(),n=Em(null,n),n={context:t,ancestorInfo:n},De(Eo,e),Fe(Eo,n,e)}function H(e){De(Eo,e),De(kr,e),De(ul,e)}function ee(){return en(Eo.current)}function le(e){e.memoizedState!==null&&Fe(zo,e,e);var t=en(Eo.current),n=e.type,o=Oi(t.context,n);n=Em(t.ancestorInfo,n),o={context:o,ancestorInfo:n},t!==o&&(Fe(kr,e,e),Fe(Eo,o,e))}function Me(e){kr.current===e&&(De(Eo,e),De(kr,e)),zo.current===e&&(De(zo,e),rg._currentValue=Sd)}function Be(){}function ga(){if(Kr===0){nb=console.log,Ec=console.info,Ir=console.warn,dy=console.error,$f=console.group,dp=console.groupCollapsed,hp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Kr++}function Tt(){if(Kr--,Kr===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$e({},e,{value:nb}),info:$e({},e,{value:Ec}),warn:$e({},e,{value:Ir}),error:$e({},e,{value:dy}),group:$e({},e,{value:$f}),groupCollapsed:$e({},e,{value:dp}),groupEnd:$e({},e,{value:hp})})}0>Kr&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ut(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
11
11
  `)&&(e=e.slice(29)),t=e.indexOf(`
12
12
  `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
13
13
  `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function et(e){if(Fr===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fr=t&&t[1]||"",hy=-1<n.stack.indexOf(`
@@ -23,7 +23,7 @@ Error generating stack: `+oe.message+`
23
23
  `+s)}}else if(e.debugStack!=null){var f=e.debugStack;(e=e.owner)&&f&&(t+=`
24
24
  `+ut(f))}else break;var y=t}catch(v){y=`
25
25
  Error generating stack: `+v.message+`
26
- `+v.stack}return y}function pe(e,t,n,o,s,f,y){var v=qn;Rs(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,o,s,f,y)):t(n,o,s,f,y)}finally{Rs(v)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Rs(e){Q.getCurrentStack=e===null?null:fm,Lu=!1,qn=e}function Us(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function du(e){try{return xo(e),!1}catch{return!0}}function xo(e){return""+e}function At(e,t){if(du(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Us(e)),xo(e)}function dm(e,t){if(du(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Us(e)),xo(e)}function xd(e){if(du(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Us(e)),xo(e)}function hm(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Tc=t.inject(e),wa=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function Ut(e){if(typeof gy=="function"&&ub(e),wa&&typeof wa.setStrictMode=="function")try{wa.setStrictMode(Tc,e)}catch(t){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",t))}}function pm(e){return e>>>=0,e===0?32:31-(vy(e)/Sp|0)|0}function Co(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Cd(e,t,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,f=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var v=o&134217727;return v!==0?(o=v&~f,o!==0?s=Co(o):(y&=v,y!==0?s=Co(y):n||(n=v&~e,n!==0&&(s=Co(n))))):(v=o&~f,v!==0?s=Co(v):y!==0?s=Co(y):n||(n=o&~e,n!==0&&(s=Co(n)))),s===0?0:t!==0&&t!==s&&(t&f)===0&&(f=s&-s,n=t&-t,f>=n||f===32&&(n&4194048)!==0)?t:s}function $a(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function j1(e,t){switch(e){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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function Rd(){var e=Pr;return Pr<<=1,(Pr&62914560)===0&&(Pr=4194304),e}function Ud(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Li(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function B1(e,t,n,o,s,f){var y=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var v=e.entanglements,E=e.expirationTimes,T=e.hiddenUpdates;for(n=y&~n;0<n;){var U=31-Ia(n),Z=1<<U;v[U]=0,E[U]=-1;var M=T[U];if(M!==null)for(T[U]=null,U=0;U<M.length;U++){var G=M[U];G!==null&&(G.lane&=-536870913)}n&=~Z}o!==0&&mm(e,o,0),f!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=f&~(y&~t))}function mm(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Ia(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|n&261930}function Hg(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-Ia(n),s=1<<o;s&t|e[o]&t&&(e[o]|=t),n&=~s}}function jg(e,t){var n=t&-t;return n=(n&42)!==0?1:Ro(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ro(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Cn(e,t,n){if(Gu)for(e=e.pendingUpdatersLaneMap;0<n;){var o=31-Ia(n),s=1<<o;e[o].add(t),n&=~s}}function ii(e,t){if(Gu)for(var n=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var s=31-Ia(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(f){var y=f.alternate;y!==null&&o.has(y)||o.add(f)}),s.clear()),t&=~e}}function dn(e){return e&=-e,Da<e?Fa<e?(e&134217727)!==0?on:To:Fa:Da}function Bg(){var e=yt.p;return e!==0?e:(e=window.event,e===void 0?on:cp(e.type))}function qg(e,t){var n=yt.p;try{return yt.p=e,t()}finally{yt.p=n}}function ym(e){delete e[Qt],delete e[Dn],delete e[Ac],delete e[P1],delete e[ib]}function oi(e){var t=e[Qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xi]||n[Qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gc(e);e!==null;){if(n=e[Qt])return n;e=gc(e)}return t}e=n,n=e.parentNode}return null}function Rl(e){if(e=e[Qt]||e[xi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Vi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function pl(e){var t=e[If];return t||(t=e[If]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function sa(e){e[es]=!0}function Ul(e,t){kc(e,t),kc(e+"Capture",t)}function kc(e,t){Xu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xu[e]=t;var n=e.toLowerCase();for(ts[n]=e,e==="onDoubleClick"&&(ts.ondblclick=e),e=0;e<t.length;e++)ob.add(t[e])}function Uo(e,t){cb[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ns(e){return il.call(_p,e)?!0:il.call(by,e)?!1:as.test(e)?_p[e]=!0:(by[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Kc(e,t,n){if(Ns(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(At(n,t),e===""+n?n:e)}}function Nd(e,t,n){if(Ns(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}At(n,t),e.setAttribute(t,""+n)}}function Zs(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}At(n,t),e.setAttribute(t,""+n)}}function hu(e,t,n,o){if(o===null)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}At(o,n),e.setAttributeNS(t,n,""+o)}}function Gn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return xd(e),e;default:return""}}function Zd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gm(e,t,n){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var s=o.get,f=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(y){xd(y),n=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(y){xd(y),n=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hd(e){if(!e._valueTracker){var t=Zd(e)?"checked":"value";e._valueTracker=gm(e,t,""+e[t])}}function vm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=Zd(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Nl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ot(e){return e.replace(Ep,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hn(e,t){t.checked===void 0||t.defaultChecked===void 0||rb||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ui()||"A component",t.type),rb=!0),t.value===void 0||t.defaultValue===void 0||Sy||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ui()||"A component",t.type),Sy=!0)}function Gi(e,t,n,o,s,f,y,v){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(At(y,"type"),e.type=y):e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Gn(t)):e.value!==""+Gn(t)&&(e.value=""+Gn(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?bm(e,y,Gn(t)):n!=null?bm(e,y,Gn(n)):o!=null&&e.removeAttribute("value"),s==null&&f!=null&&(e.defaultChecked=!!f),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(At(v,"name"),e.name=""+Gn(v)):e.removeAttribute("name")}function jd(e,t,n,o,s,f,y,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(At(f,"type"),e.type=f),t!=null||n!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){Hd(e);return}n=n!=null?""+Gn(n):"",t=t!=null?""+Gn(t):n,v||t===e.value||(e.value=t),e.defaultValue=t}o=o??s,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=v?e.checked:!!o,e.defaultChecked=!!o,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(At(y,"name"),e.name=y),Hd(e)}function bm(e,t,n){t==="number"&&Nl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Yg(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Xf.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||a||(a=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Ff||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ff=!0)}function Sm(){var e=ui();return e?`
26
+ `+v.stack}return y}function pe(e,t,n,o,s,f,y){var v=qn;Rs(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,o,s,f,y)):t(n,o,s,f,y)}finally{Rs(v)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Rs(e){Q.getCurrentStack=e===null?null:fm,Lu=!1,qn=e}function Us(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function du(e){try{return xo(e),!1}catch{return!0}}function xo(e){return""+e}function At(e,t){if(du(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Us(e)),xo(e)}function dm(e,t){if(du(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Us(e)),xo(e)}function xd(e){if(du(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Us(e)),xo(e)}function hm(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Tc=t.inject(e),wa=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function Ut(e){if(typeof gy=="function"&&ub(e),wa&&typeof wa.setStrictMode=="function")try{wa.setStrictMode(Tc,e)}catch(t){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",t))}}function pm(e){return e>>>=0,e===0?32:31-(vy(e)/Sp|0)|0}function Co(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Cd(e,t,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,f=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var v=o&134217727;return v!==0?(o=v&~f,o!==0?s=Co(o):(y&=v,y!==0?s=Co(y):n||(n=v&~e,n!==0&&(s=Co(n))))):(v=o&~f,v!==0?s=Co(v):y!==0?s=Co(y):n||(n=o&~e,n!==0&&(s=Co(n)))),s===0?0:t!==0&&t!==s&&(t&f)===0&&(f=s&-s,n=t&-t,f>=n||f===32&&(n&4194048)!==0)?t:s}function $a(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function B1(e,t){switch(e){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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function Rd(){var e=Pr;return Pr<<=1,(Pr&62914560)===0&&(Pr=4194304),e}function Ud(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Li(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function q1(e,t,n,o,s,f){var y=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var v=e.entanglements,E=e.expirationTimes,T=e.hiddenUpdates;for(n=y&~n;0<n;){var U=31-Ia(n),Z=1<<U;v[U]=0,E[U]=-1;var M=T[U];if(M!==null)for(T[U]=null,U=0;U<M.length;U++){var G=M[U];G!==null&&(G.lane&=-536870913)}n&=~Z}o!==0&&mm(e,o,0),f!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=f&~(y&~t))}function mm(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Ia(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|n&261930}function Hg(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-Ia(n),s=1<<o;s&t|e[o]&t&&(e[o]|=t),n&=~s}}function jg(e,t){var n=t&-t;return n=(n&42)!==0?1:Ro(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ro(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Cn(e,t,n){if(Gu)for(e=e.pendingUpdatersLaneMap;0<n;){var o=31-Ia(n),s=1<<o;e[o].add(t),n&=~s}}function ii(e,t){if(Gu)for(var n=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var s=31-Ia(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(f){var y=f.alternate;y!==null&&o.has(y)||o.add(f)}),s.clear()),t&=~e}}function dn(e){return e&=-e,Da<e?Fa<e?(e&134217727)!==0?on:To:Fa:Da}function Bg(){var e=yt.p;return e!==0?e:(e=window.event,e===void 0?on:cp(e.type))}function qg(e,t){var n=yt.p;try{return yt.p=e,t()}finally{yt.p=n}}function ym(e){delete e[Qt],delete e[Dn],delete e[Ac],delete e[eS],delete e[ib]}function oi(e){var t=e[Qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xi]||n[Qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gc(e);e!==null;){if(n=e[Qt])return n;e=gc(e)}return t}e=n,n=e.parentNode}return null}function Rl(e){if(e=e[Qt]||e[xi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Vi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function pl(e){var t=e[If];return t||(t=e[If]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function sa(e){e[es]=!0}function Ul(e,t){kc(e,t),kc(e+"Capture",t)}function kc(e,t){Xu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xu[e]=t;var n=e.toLowerCase();for(ts[n]=e,e==="onDoubleClick"&&(ts.ondblclick=e),e=0;e<t.length;e++)ob.add(t[e])}function Uo(e,t){cb[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ns(e){return il.call(_p,e)?!0:il.call(by,e)?!1:as.test(e)?_p[e]=!0:(by[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Kc(e,t,n){if(Ns(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(At(n,t),e===""+n?n:e)}}function Nd(e,t,n){if(Ns(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}At(n,t),e.setAttribute(t,""+n)}}function Zs(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}At(n,t),e.setAttribute(t,""+n)}}function hu(e,t,n,o){if(o===null)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}At(o,n),e.setAttributeNS(t,n,""+o)}}function Gn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return xd(e),e;default:return""}}function Zd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gm(e,t,n){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var s=o.get,f=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(y){xd(y),n=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(y){xd(y),n=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hd(e){if(!e._valueTracker){var t=Zd(e)?"checked":"value";e._valueTracker=gm(e,t,""+e[t])}}function vm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=Zd(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Nl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ot(e){return e.replace(Ep,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hn(e,t){t.checked===void 0||t.defaultChecked===void 0||rb||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ui()||"A component",t.type),rb=!0),t.value===void 0||t.defaultValue===void 0||Sy||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ui()||"A component",t.type),Sy=!0)}function Gi(e,t,n,o,s,f,y,v){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(At(y,"type"),e.type=y):e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Gn(t)):e.value!==""+Gn(t)&&(e.value=""+Gn(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?bm(e,y,Gn(t)):n!=null?bm(e,y,Gn(n)):o!=null&&e.removeAttribute("value"),s==null&&f!=null&&(e.defaultChecked=!!f),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(At(v,"name"),e.name=""+Gn(v)):e.removeAttribute("name")}function jd(e,t,n,o,s,f,y,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(At(f,"type"),e.type=f),t!=null||n!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){Hd(e);return}n=n!=null?""+Gn(n):"",t=t!=null?""+Gn(t):n,v||t===e.value||(e.value=t),e.defaultValue=t}o=o??s,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=v?e.checked:!!o,e.defaultChecked=!!o,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(At(y,"name"),e.name=y),Hd(e)}function bm(e,t,n){t==="number"&&Nl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Yg(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Xf.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||a||(a=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Ff||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ff=!0)}function Sm(){var e=ui();return e?`
27
27
 
28
28
  Check the render method of \``+e+"`.":""}function pu(e,t,n,o){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&o&&(e[n].defaultSelected=!0)}else{for(n=""+Gn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,o&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Bd(e,t){for(e=0;e<r.length;e++){var n=r[e];if(t[n]!=null){var o=Sa(t[n]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Sm()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Sm())}}t.value===void 0||t.defaultValue===void 0||i||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),i=!0)}function No(e,t){t.value===void 0||t.defaultValue===void 0||p||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",ui()||"A component"),p=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Zo(e,t,n){if(t!=null&&(t=""+Gn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Gn(n):""}function Ic(e,t,n,o){if(t==null){if(o!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Sa(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}n=o}n==null&&(n=""),t=n}n=Gn(t),e.defaultValue=n,o=e.textContent,o===n&&o!==""&&o!==null&&(e.value=o),Hd(e)}function Ho(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ho(e.children[0],t):e}function vt(e){return" "+" ".repeat(e)}function jo(e){return"+ "+" ".repeat(e)}function Xi(e){return"- "+" ".repeat(e)}function Qi(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function mu(e,t){return m.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function qd(e,t,n){var o=120-2*n;if(t===null)return jo(n)+mu(e,o)+`
29
29
  `;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>o-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),jo(n)+mu(e,o)+`
@@ -56,14 +56,14 @@ Check the render method of \``+e+"`.":""}function pu(e,t,n,o){if(e=e.options,t){
56
56
  `),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)f=s[e],T=typeof f=="string"?T+(Xi(t)+mu(f,120-2*t)+`
57
57
  `):T+Pc(f.type,f.props,Xi(t));return n+o+T}function _m(e){try{return`
58
58
 
59
- `+Vd(e,0)}catch{return""}}function Gd(e,t,n){for(var o=t,s=null,f=0;o;)o===e&&(f=0),s={fiber:o,children:s!==null?[s]:[],serverProps:o===t?n:o===e?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return s!==null?_m(s).replaceAll(/^[+-]/gm,">"):""}function Em(e,t){var n=$e({},e||$),o={tag:t};return A.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),C.indexOf(t)!==-1&&(n.pTagInButtonScope=null),S.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=o,t==="form"&&(n.formTag=o),t==="a"&&(n.aTagInScope=o),t==="button"&&(n.buttonTagInScope=o),t==="nobr"&&(n.nobrTagInScope=o),t==="p"&&(n.pTagInButtonScope=o),t==="li"&&(n.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=o),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Hs(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return L.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function q1(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Qn(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function js(e,t){t=t||$;var n=t.current;if(t=(n=Hs(e,n&&n.tag,t.implicitRootScope)?null:n)?null:q1(e,t),t=n||t,!t)return!0;var o=t.tag;if(t=String(!!n)+"|"+e+"|"+o,W[t])return!1;W[t]=!0;var s=(t=qn)?Qn(t.return,o):null,f=t!==null&&s!==null?Gd(s,t,null):"",y="<"+e+">";return n?(n="",o==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
59
+ `+Vd(e,0)}catch{return""}}function Gd(e,t,n){for(var o=t,s=null,f=0;o;)o===e&&(f=0),s={fiber:o,children:s!==null?[s]:[],serverProps:o===t?n:o===e?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return s!==null?_m(s).replaceAll(/^[+-]/gm,">"):""}function Em(e,t){var n=$e({},e||$),o={tag:t};return A.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),C.indexOf(t)!==-1&&(n.pTagInButtonScope=null),S.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=o,t==="form"&&(n.formTag=o),t==="a"&&(n.aTagInScope=o),t==="button"&&(n.buttonTagInScope=o),t==="nobr"&&(n.nobrTagInScope=o),t==="p"&&(n.pTagInButtonScope=o),t==="li"&&(n.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=o),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Hs(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return L.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function Y1(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Qn(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function js(e,t){t=t||$;var n=t.current;if(t=(n=Hs(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Y1(e,t),t=n||t,!t)return!0;var o=t.tag;if(t=String(!!n)+"|"+e+"|"+o,W[t])return!1;W[t]=!0;var s=(t=qn)?Qn(t.return,o):null,f=t!==null&&s!==null?Gd(s,t,null):"",y="<"+e+">";return n?(n="",o==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
60
60
  This will cause a hydration error.%s`,y,o,n,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
61
61
  This will cause a hydration error.%s`,y,o,f),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||pe(s,function(){console.error(`<%s> cannot contain a nested %s.
62
62
  See this log for the ancestor stack trace.`,o,y)})),!1}function Bs(e,t,n){if(n||Hs("#text",t,!1))return!0;if(n="#text|"+t,W[n])return!1;W[n]=!0;var o=(n=qn)?Qn(n,t):null;return n=n!==null&&o!==null?Gd(o,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
63
63
  This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
64
- This will cause a hydration error.%s`,t,n),!1}function Bo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function er(e){return e.replace(B,function(t,n){return n.toUpperCase()})}function zm(e,t,n){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?q.hasOwnProperty(t)&&q[t]||(q[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,er(t.replace(xt,"ms-")))):we.test(t)?q.hasOwnProperty(t)&&q[t]||(q[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!N.test(n)||I.hasOwnProperty(n)&&I[n]||(I[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(N,""))),typeof n=="number"&&(isNaN(n)?_e||(_e=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||st||(st=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,n):typeof n!="number"||n===0||ge.has(t)?t==="float"?e.cssFloat=n:(dm(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Tm(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var o={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var f=V[s]||[s],y=0;y<f.length;y++)o[f[y]]=s}for(var v in t)if(t.hasOwnProperty(v)&&(!n||n[v]!==t[v]))for(s=V[v]||[v],f=0;f<s.length;f++)o[s[f]]=v;v={};for(var E in t)for(s=V[E]||[E],f=0;f<s.length;f++)v[s[f]]=E;E={};for(var T in o)if(s=o[T],(f=v[T])&&s!==f&&(y=s+","+f,!E[y])){E[y]=!0,y=console;var U=t[s];y.error.call(y,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",U==null||typeof U=="boolean"||U===""?"Removing":"Updating",s,f)}}for(var Z in n)!n.hasOwnProperty(Z)||t!=null&&t.hasOwnProperty(Z)||(Z.indexOf("--")===0?e.setProperty(Z,""):Z==="float"?e.cssFloat="":e[Z]="");for(var M in t)T=t[M],t.hasOwnProperty(M)&&n[M]!==T&&zm(e,M,T)}else for(o in t)t.hasOwnProperty(o)&&zm(e,o,t[o])}function yu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Lg(e){return ht.get(e)||e}function Vg(e,t){if(il.call(zp,t)&&zp[t])return!0;if(_M.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=sb.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),zp[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),zp[t]=!0}if(SM.test(t)){if(e=t.toLowerCase(),e=sb.hasOwnProperty(e)?e:null,e==null)return zp[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),zp[t]=!0)}return!0}function Gg(e,t){var n=[],o;for(o in t)Vg(e,o)||n.push(o);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Am(e,t,n,o){if(il.call(ol,t)&&ol[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ol[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(s)?e[s]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),ol[t]=!0;if(ez.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ol[t]=!0}else if(ez.test(t))return EM.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ol[t]=!0;if(zM.test(t)||TM.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ol[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ol[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),ol[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ol[t]=!0;if(nu.hasOwnProperty(s)){if(s=nu[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),ol[t]=!0}else if(t!==s)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),ol[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),ol[t]=!0)}case"function":case"symbol":return ol[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),ol[t]=!0}}return!0}function Y1(e,t,n){var o=[],s;for(s in t)Am(e,s,t[s],n)||o.push(s);t=o.map(function(f){return"`"+f+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function qs(e){return AM.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ml(){}function Zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Xd(e){var t=Rl(e);if(t&&(e=t.stateNode)){var n=e[Dn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Gi(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(At(t,"name"),n=n.querySelectorAll('input[name="'+Ot(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var s=o[Dn]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Gi(o,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)o=n[t],o.form===e.form&&vm(o)}break e;case"textarea":Zo(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&pu(e,!!n.multiple,t,!1)}}}function Qd(e,t,n){if(eS)return e(t,n);eS=!0;try{var o=e(t);return o}finally{if(eS=!1,(Tp!==null||Ap!==null)&&(nl(),Tp&&(t=Tp,e=Ap,Ap=Tp=null,Xd(t),e)))for(t=0;t<e.length;t++)Xd(e[t])}}function gu(e,t){var n=e.stateNode;if(n===null)return null;var o=n[Dn]||null;if(o===null)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function qo(){if(fb)return fb;var e,t=aS,n=t.length,o,s="value"in ns?ns.value:ns.textContent,f=s.length;for(e=0;e<n&&t[e]===s[e];e++);var y=n-e;for(o=1;o<=y&&t[n-o]===s[f-o];o++);return fb=s.slice(e,1<o?1-o:void 0)}function Ys(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function tr(){return!0}function Om(){return!1}function Ca(e){function t(n,o,s,f,y){this._reactName=n,this._targetInst=s,this.type=o,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(n=e[v],this[v]=n?n(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?tr:Om,this.isPropagationStopped=Om,this}return $e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=tr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),t}function ri(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=BM[e])?!!t[e]:!1}function Ls(){return ri}function ar(e,t){switch(e){case"keyup":return IM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==lz;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function si(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function wm(e,t){switch(e){case"compositionend":return si(t);case"keypress":return t.which!==iz?null:(cz=!0,oz);case"textInput":return e=t.data,e===oz&&cz?null:e;default:return null}}function Jd(e,t){if(Op)return e==="compositionend"||!iS&&ar(e,t)?(e=qo(),fb=aS=ns=null,Op=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return uz&&t.locale!=="ko"?null:t.data;default:return null}}function Dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WM[e.type]:t==="textarea"}function $d(e){if(!Ao)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Vs(e,t,n,o){Tp?Ap?Ap.push(o):Ap=[o]:Tp=o,t=Wl(t,"onChange"),0<t.length&&(n=new db("onChange","change",null,n,o),e.push({event:n,listeners:t}))}function Xg(e){_t(e,0)}function ka(e){var t=Vi(e);if(vm(t))return e}function Ji(e,t){if(e==="change")return t}function Gs(){Oy&&(Oy.detachEvent("onpropertychange",nr),wy=Oy=null)}function nr(e){if(e.propertyName==="value"&&ka(wy)){var t=[];Vs(t,wy,e,Zl(e)),Qd(Xg,t)}}function L1(e,t,n){e==="focusin"?(Gs(),Oy=t,wy=n,Oy.attachEvent("onpropertychange",nr)):e==="focusout"&&Gs()}function Mm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ka(wy)}function xm(e,t){if(e==="click")return ka(t)}function Xs(e,t){if(e==="input"||e==="change")return ka(t)}function kd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function lr(e,t){if(cl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var s=n[o];if(!il.call(t,s)||!cl(e[s],t[s]))return!1}return!0}function Qg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jg(e,t){var n=Qg(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qg(n)}}function $g(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$g(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Nl(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nl(e.document)}return t}function Cm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function kg(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cS||wp==null||wp!==Nl(o)||(o=wp,"selectionStart"in o&&Cm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Dy&&lr(Dy,o)||(Dy=o,o=Wl(oS,"onSelect"),0<o.length&&(t=new db("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=wp)))}function Yo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Lo(e){if(rS[e])return rS[e];if(!Dp[e])return e;var t=Dp[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in sz)return rS[e]=t[n];return e}function Hl(e,t){mz.set(e,t),Ul(t,[e])}function Kg(e){for(var t=pb,n=0;n<e.length;n++){var o=e[n];if(typeof o=="object"&&o!==null)if(Sa(o)&&o.length===2&&typeof o[0]=="string"){if(t!==pb&&t!==pS)return dS;t=pS}else return dS;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==pb&&t!==hS)return dS;t=hS}}return t}function Rm(e,t,n,o){for(var s in e)il.call(e,s)&&s[0]!=="_"&&vu(s,e[s],t,n,o)}function vu(e,t,n,o,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ol){var f=ie(t.type)||"…",y=t.key;t=t.props;var v=Object.keys(t),E=v.length;if(y==null&&E===0){t="<"+f+" />";break}if(3>o||E===1&&v[0]==="children"&&y==null){t="<"+f+" … />";break}n.push([s+"  ".repeat(o)+e,"<"+f]),y!==null&&vu("key",y,n,o+1,s),e=!1;for(var T in t)T==="children"?t.children!=null&&(!Sa(t.children)||0<t.children.length)&&(e=!0):il.call(t,T)&&T[0]!=="_"&&vu(T,t[T],n,o+1,s);n.push(["",e?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(t),f=f.slice(8,f.length-1),f==="Array"){if(T=Kg(t),T===hS||T===pb){t=JSON.stringify(t);break}else if(T===pS){for(n.push([s+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)f=t[e],vu(f[0],f[1],n,o+1,s);return}}if(f==="Promise"){if(t.status==="fulfilled"){if(f=n.length,vu(e,t.value,n,o,s),n.length>f){n=n[f],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(f=n.length,vu(e,t.reason,n,o,s),n.length>f)){n=n[f],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(o)+e,"Promise"]);return}f==="Object"&&(T=Object.getPrototypeOf(t))&&typeof T.constructor=="function"&&(f=T.constructor.name),n.push([s+"  ".repeat(o)+e,f==="Object"?3>o?"":"…":f]),3>o&&Rm(t,n,o+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===ux?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+"  ".repeat(o)+e,t])}function Ig(e,t,n,o){var s=!0;for(y in e)y in t||(n.push([mb+"  ".repeat(o)+y,"…"]),s=!1);for(var f in t)if(f in e){var y=e[f],v=t[f];if(y!==v){if(o===0&&f==="children")s="  ".repeat(o)+f,n.push([mb+s,"…"],[yb+s,"…"]);else{if(!(3<=o)){if(typeof y=="object"&&typeof v=="object"&&y!==null&&v!==null&&y.$$typeof===v.$$typeof)if(v.$$typeof===Ol){if(y.type===v.type&&y.key===v.key){y=ie(v.type)||"…",s="  ".repeat(o)+f,y="<"+y+" … />",n.push([mb+s,y],[yb+s,y]),s=!1;continue}}else{var E=Object.prototype.toString.call(y),T=Object.prototype.toString.call(v);if(E===T&&(T==="[object Object]"||T==="[object Array]")){E=[vz+"  ".repeat(o)+f,T==="[object Array]"?"Array":""],n.push(E),T=n.length,Ig(y,v,n,o+1)?T===n.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof y=="function"&&typeof v=="function"&&y.name===v.name&&y.length===v.length&&(E=Function.prototype.toString.call(y),T=Function.prototype.toString.call(v),E===T)){y=v.name===""?"() => {}":v.name+"() {}",n.push([vz+"  ".repeat(o)+f,y+" Referentially unequal function closure. Consider memoization."]);continue}}vu(f,y,n,o,mb),vu(f,v,n,o,yb)}s=!1}}else n.push([yb+"  ".repeat(o)+f,"…"]),s=!1;return s}function jl(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function yl(e,t,n,o){Jt&&(us.start=t,us.end=n,Oc.color="warning",Oc.tooltipText=o,Oc.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,us)):performance.measure(o,us))}function Id(e,t,n){yl(e,t,n,"Reconnect")}function Fd(e,t,n,o,s){var f=de(e);if(f!==null&&Jt){var y=e.alternate,v=e.actualDuration;if(y===null||y.child!==e.child)for(var E=e.child;E!==null;E=E.sibling)v-=E.actualDuration;o=.5>v?o?"tertiary-light":"primary-light":10>v?o?"tertiary":"primary":100>v?o?"tertiary-dark":"primary-dark":"error";var T=e.memoizedProps;v=e._debugTask,T!==null&&y!==null&&y.memoizedProps!==T?(E=[ix],T=Ig(y.memoizedProps,T,E,0),1<E.length&&(T&&!ls&&(y.lanes&s)===0&&100<e.actualDuration?(ls=!0,E[0]=ox,Oc.color="warning",Oc.tooltipText=bz):(Oc.color=o,Oc.tooltipText=f),Oc.properties=E,us.start=t,us.end=n,v!=null?v.run(performance.measure.bind(performance,"​"+f,us)):performance.measure("​"+f,us))):v!=null?v.run(console.timeStamp.bind(console,f,t,n,Qu,void 0,o)):console.timeStamp(f,t,n,Qu,void 0,o)}}function Um(e,t,n,o){if(Jt){var s=de(e);if(s!==null){for(var f=null,y=[],v=0;v<o.length;v++){var E=o[v];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,y.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}e.key!==null&&vu("key",e.key,y,0,""),e.memoizedProps!==null&&Rm(e.memoizedProps,y,0,""),f==null&&(f=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Qu,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:y}}},f?f.run(performance.measure.bind(performance,"​"+s,e)):performance.measure("​"+s,e)}}}function Bl(e,t,n,o,s){if(s!==null){if(Jt){var f=de(e);if(f!==null){o=[];for(var y=0;y<s.length;y++){var v=s[y].value;o.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e.key!==null&&vu("key",e.key,o,0,""),e.memoizedProps!==null&&Rm(e.memoizedProps,o,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Qu,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+f,t)):performance.measure("​"+f,t)}}}else f=de(e),f!==null&&Jt&&(s=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,f,t,n,Qu,void 0,s)):console.timeStamp(f,t,n,Qu,void 0,s))}function V1(e,t,n,o){if(Jt&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,n,e,t,rt,ot,s)):console.timeStamp(n,e,t,rt,ot,s)}}function Fg(e,t,n,o){!Jt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,ot,n)):console.timeStamp("Prewarm",e,t,rt,ot,n))}function Wg(e,t,n,o){!Jt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,ot,n)):console.timeStamp("Suspended",e,t,rt,ot,n))}function G1(e,t,n,o,s,f){if(Jt&&!(t<=e)){n=[];for(var y=0;y<o.length;y++){var v=o[y].value;n.push(["Recoverable Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:ot,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},f?f.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Nm(e,t,n,o){!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,ot,"error")):console.timeStamp("Errored",e,t,rt,ot,"error"))}function X1(e,t,n,o){!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,n,e,t,rt,ot,"secondary-light")):console.timeStamp(n,e,t,rt,ot,"secondary-light"))}function Pg(e,t,n,o,s){if(Jt&&!(t<=e)){for(var f=[],y=0;y<n.length;y++){var v=n[y].value;f.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:ot,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Zm(e,t,n){!Jt||t<=e||console.timeStamp("Animating",e,t,rt,ot,"secondary-dark")}function Wd(){for(var e=Mp,t=mS=Mp=0;t<e;){var n=Ju[t];Ju[t++]=null;var o=Ju[t];Ju[t++]=null;var s=Ju[t];Ju[t++]=null;var f=Ju[t];if(Ju[t++]=null,o!==null&&s!==null){var y=o.pending;y===null?s.next=s:(s.next=y.next,y.next=s),o.pending=s}f!==0&&Hm(n,s,f)}}function ur(e,t,n,o){Ju[Mp++]=e,Ju[Mp++]=t,Ju[Mp++]=n,Ju[Mp++]=o,mS|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Vo(e,t,n,o){return ur(e,t,n,o),Qs(e)}function an(e,t){return ur(e,null,null,t),Qs(e)}function Hm(e,t,n){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n);for(var s=!1,f=e.return;f!==null;)f.childLanes|=n,o=f.alternate,o!==null&&(o.childLanes|=n),f.tag===22&&(e=f.stateNode,e===null||e._visibility&My||(s=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,s&&t!==null&&(s=31-Ia(n),e=f.hiddenUpdates,o=e[s],o===null?e[s]=[t]:o.push(t),t.lane=n|536870912),f):null}function Qs(e){if(ag>zx)throw pd=ag=0,ng=kS=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");pd>Tx&&(pd=0,ng=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Al(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Al(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function $i(e){if($u===null)return e;var t=$u(e);return t===void 0?e:t.current}function Pd(e){if($u===null)return e;var t=$u(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=$i(e.render),e.render!==t)?(t={$$typeof:Jr,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function jm(e,t){if($u===null)return!1;var n=e.elementType;t=t.type;var o=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||s===un)&&(o=!0);break;case 11:(s===Jr||s===un)&&(o=!0);break;case 14:case 15:(s===Jf||s===un)&&(o=!0);break;default:return!1}return!!(o&&(e=$u(n),e!==void 0&&e===$u(t)))}function Go(e){$u!==null&&typeof WeakSet=="function"&&(xp===null&&(xp=new WeakSet),xp.add(e))}function ev(e,t,n){do{var o=e,s=o.alternate,f=o.child,y=o.sibling,v=o.tag;o=o.type;var E=null;switch(v){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if($u===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(o=!1,E!==null&&(E=$u(E),E!==void 0&&(n.has(E)?o=!0:t.has(E)&&(v===1?o=!0:T=!0))),xp!==null&&(xp.has(e)||s!==null&&xp.has(s))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||T)&&(s=an(e,2),s!==null&&Ue(s,e,2)),f===null||o||ev(f,t,n),y===null)break;e=y}while(!0)}function Q1(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Sz||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Bm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bu(e,t){var n=e.alternate;switch(n===null?(n=ae(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=$i(e.type);break;case 1:n.type=$i(e.type);break;case 11:n.type=Pd(e.type)}return n}function qm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Xo(e,t,n,o,s,f){var y=0,v=e;if(typeof e=="function")Bm(e)&&(y=1),v=$i(v);else if(typeof e=="string")y=ee(),y=Kv(e,n,y)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case au:return t=ae(31,n,t,s),t.elementType=au,t.lanes=f,t;case Qr:return Qo(n.children,s,f,t);case wn:y=8,s|=Yn,s|=Ci;break;case Qf:return e=n,o=s,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=ae(12,e,t,o|ke),t.elementType=Qf,t.lanes=f,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case _c:return t=ae(13,n,t,s),t.elementType=_c,t.lanes=f,t;case Bn:return t=ae(19,n,t,s),t.elementType=Bn,t.lanes=f,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tu:y=10;break e;case fp:y=9;break e;case Jr:y=11,v=Pd(v);break e;case Jf:y=14;break e;case un:y=16,v=null;break e}v="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Sa(e)?n="array":e!==void 0&&e.$$typeof===Ol?(n="<"+(ie(e.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(y=o?qe(o):null)&&(v+=`
64
+ This will cause a hydration error.%s`,t,n),!1}function Bo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function er(e){return e.replace(B,function(t,n){return n.toUpperCase()})}function zm(e,t,n){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?q.hasOwnProperty(t)&&q[t]||(q[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,er(t.replace(xt,"ms-")))):we.test(t)?q.hasOwnProperty(t)&&q[t]||(q[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!N.test(n)||I.hasOwnProperty(n)&&I[n]||(I[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(N,""))),typeof n=="number"&&(isNaN(n)?_e||(_e=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||st||(st=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,n):typeof n!="number"||n===0||ge.has(t)?t==="float"?e.cssFloat=n:(dm(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Tm(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var o={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var f=V[s]||[s],y=0;y<f.length;y++)o[f[y]]=s}for(var v in t)if(t.hasOwnProperty(v)&&(!n||n[v]!==t[v]))for(s=V[v]||[v],f=0;f<s.length;f++)o[s[f]]=v;v={};for(var E in t)for(s=V[E]||[E],f=0;f<s.length;f++)v[s[f]]=E;E={};for(var T in o)if(s=o[T],(f=v[T])&&s!==f&&(y=s+","+f,!E[y])){E[y]=!0,y=console;var U=t[s];y.error.call(y,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",U==null||typeof U=="boolean"||U===""?"Removing":"Updating",s,f)}}for(var Z in n)!n.hasOwnProperty(Z)||t!=null&&t.hasOwnProperty(Z)||(Z.indexOf("--")===0?e.setProperty(Z,""):Z==="float"?e.cssFloat="":e[Z]="");for(var M in t)T=t[M],t.hasOwnProperty(M)&&n[M]!==T&&zm(e,M,T)}else for(o in t)t.hasOwnProperty(o)&&zm(e,o,t[o])}function yu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Lg(e){return ht.get(e)||e}function Vg(e,t){if(il.call(zp,t)&&zp[t])return!0;if(EM.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=sb.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),zp[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),zp[t]=!0}if(_M.test(t)){if(e=t.toLowerCase(),e=sb.hasOwnProperty(e)?e:null,e==null)return zp[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),zp[t]=!0)}return!0}function Gg(e,t){var n=[],o;for(o in t)Vg(e,o)||n.push(o);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Am(e,t,n,o){if(il.call(ol,t)&&ol[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ol[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(s)?e[s]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),ol[t]=!0;if(PE.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ol[t]=!0}else if(PE.test(t))return zM.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ol[t]=!0;if(TM.test(t)||AM.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ol[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ol[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),ol[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ol[t]=!0;if(nu.hasOwnProperty(s)){if(s=nu[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),ol[t]=!0}else if(t!==s)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),ol[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),ol[t]=!0)}case"function":case"symbol":return ol[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),ol[t]=!0}}return!0}function L1(e,t,n){var o=[],s;for(s in t)Am(e,s,t[s],n)||o.push(s);t=o.map(function(f){return"`"+f+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function qs(e){return OM.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ml(){}function Zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Xd(e){var t=Rl(e);if(t&&(e=t.stateNode)){var n=e[Dn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Gi(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(At(t,"name"),n=n.querySelectorAll('input[name="'+Ot(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var s=o[Dn]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Gi(o,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)o=n[t],o.form===e.form&&vm(o)}break e;case"textarea":Zo(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&pu(e,!!n.multiple,t,!1)}}}function Qd(e,t,n){if(tS)return e(t,n);tS=!0;try{var o=e(t);return o}finally{if(tS=!1,(Tp!==null||Ap!==null)&&(nl(),Tp&&(t=Tp,e=Ap,Ap=Tp=null,Xd(t),e)))for(t=0;t<e.length;t++)Xd(e[t])}}function gu(e,t){var n=e.stateNode;if(n===null)return null;var o=n[Dn]||null;if(o===null)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function qo(){if(fb)return fb;var e,t=nS,n=t.length,o,s="value"in ns?ns.value:ns.textContent,f=s.length;for(e=0;e<n&&t[e]===s[e];e++);var y=n-e;for(o=1;o<=y&&t[n-o]===s[f-o];o++);return fb=s.slice(e,1<o?1-o:void 0)}function Ys(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function tr(){return!0}function Om(){return!1}function Ca(e){function t(n,o,s,f,y){this._reactName=n,this._targetInst=s,this.type=o,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(n=e[v],this[v]=n?n(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?tr:Om,this.isPropagationStopped=Om,this}return $e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=tr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),t}function ri(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qM[e])?!!t[e]:!1}function Ls(){return ri}function ar(e,t){switch(e){case"keyup":return FM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==nz;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function si(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function wm(e,t){switch(e){case"compositionend":return si(t);case"keypress":return t.which!==uz?null:(oz=!0,iz);case"textInput":return e=t.data,e===iz&&oz?null:e;default:return null}}function Jd(e,t){if(Op)return e==="compositionend"||!oS&&ar(e,t)?(e=qo(),fb=nS=ns=null,Op=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return lz&&t.locale!=="ko"?null:t.data;default:return null}}function Dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!PM[e.type]:t==="textarea"}function $d(e){if(!Ao)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Vs(e,t,n,o){Tp?Ap?Ap.push(o):Ap=[o]:Tp=o,t=Wl(t,"onChange"),0<t.length&&(n=new db("onChange","change",null,n,o),e.push({event:n,listeners:t}))}function Xg(e){_t(e,0)}function ka(e){var t=Vi(e);if(vm(t))return e}function Ji(e,t){if(e==="change")return t}function Gs(){Oy&&(Oy.detachEvent("onpropertychange",nr),wy=Oy=null)}function nr(e){if(e.propertyName==="value"&&ka(wy)){var t=[];Vs(t,wy,e,Zl(e)),Qd(Xg,t)}}function V1(e,t,n){e==="focusin"?(Gs(),Oy=t,wy=n,Oy.attachEvent("onpropertychange",nr)):e==="focusout"&&Gs()}function Mm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ka(wy)}function xm(e,t){if(e==="click")return ka(t)}function Xs(e,t){if(e==="input"||e==="change")return ka(t)}function kd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function lr(e,t){if(cl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var s=n[o];if(!il.call(t,s)||!cl(e[s],t[s]))return!1}return!0}function Qg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jg(e,t){var n=Qg(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qg(n)}}function $g(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$g(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Nl(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nl(e.document)}return t}function Cm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function kg(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rS||wp==null||wp!==Nl(o)||(o=wp,"selectionStart"in o&&Cm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Dy&&lr(Dy,o)||(Dy=o,o=Wl(cS,"onSelect"),0<o.length&&(t=new db("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=wp)))}function Yo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Lo(e){if(sS[e])return sS[e];if(!Dp[e])return e;var t=Dp[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in rz)return sS[e]=t[n];return e}function Hl(e,t){pz.set(e,t),Ul(t,[e])}function Kg(e){for(var t=pb,n=0;n<e.length;n++){var o=e[n];if(typeof o=="object"&&o!==null)if(Sa(o)&&o.length===2&&typeof o[0]=="string"){if(t!==pb&&t!==mS)return hS;t=mS}else return hS;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==pb&&t!==pS)return hS;t=pS}}return t}function Rm(e,t,n,o){for(var s in e)il.call(e,s)&&s[0]!=="_"&&vu(s,e[s],t,n,o)}function vu(e,t,n,o,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ol){var f=ie(t.type)||"…",y=t.key;t=t.props;var v=Object.keys(t),E=v.length;if(y==null&&E===0){t="<"+f+" />";break}if(3>o||E===1&&v[0]==="children"&&y==null){t="<"+f+" … />";break}n.push([s+"  ".repeat(o)+e,"<"+f]),y!==null&&vu("key",y,n,o+1,s),e=!1;for(var T in t)T==="children"?t.children!=null&&(!Sa(t.children)||0<t.children.length)&&(e=!0):il.call(t,T)&&T[0]!=="_"&&vu(T,t[T],n,o+1,s);n.push(["",e?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(t),f=f.slice(8,f.length-1),f==="Array"){if(T=Kg(t),T===pS||T===pb){t=JSON.stringify(t);break}else if(T===mS){for(n.push([s+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)f=t[e],vu(f[0],f[1],n,o+1,s);return}}if(f==="Promise"){if(t.status==="fulfilled"){if(f=n.length,vu(e,t.value,n,o,s),n.length>f){n=n[f],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(f=n.length,vu(e,t.reason,n,o,s),n.length>f)){n=n[f],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(o)+e,"Promise"]);return}f==="Object"&&(T=Object.getPrototypeOf(t))&&typeof T.constructor=="function"&&(f=T.constructor.name),n.push([s+"  ".repeat(o)+e,f==="Object"?3>o?"":"…":f]),3>o&&Rm(t,n,o+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===ix?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+"  ".repeat(o)+e,t])}function Ig(e,t,n,o){var s=!0;for(y in e)y in t||(n.push([mb+"  ".repeat(o)+y,"…"]),s=!1);for(var f in t)if(f in e){var y=e[f],v=t[f];if(y!==v){if(o===0&&f==="children")s="  ".repeat(o)+f,n.push([mb+s,"…"],[yb+s,"…"]);else{if(!(3<=o)){if(typeof y=="object"&&typeof v=="object"&&y!==null&&v!==null&&y.$$typeof===v.$$typeof)if(v.$$typeof===Ol){if(y.type===v.type&&y.key===v.key){y=ie(v.type)||"…",s="  ".repeat(o)+f,y="<"+y+" … />",n.push([mb+s,y],[yb+s,y]),s=!1;continue}}else{var E=Object.prototype.toString.call(y),T=Object.prototype.toString.call(v);if(E===T&&(T==="[object Object]"||T==="[object Array]")){E=[gz+"  ".repeat(o)+f,T==="[object Array]"?"Array":""],n.push(E),T=n.length,Ig(y,v,n,o+1)?T===n.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof y=="function"&&typeof v=="function"&&y.name===v.name&&y.length===v.length&&(E=Function.prototype.toString.call(y),T=Function.prototype.toString.call(v),E===T)){y=v.name===""?"() => {}":v.name+"() {}",n.push([gz+"  ".repeat(o)+f,y+" Referentially unequal function closure. Consider memoization."]);continue}}vu(f,y,n,o,mb),vu(f,v,n,o,yb)}s=!1}}else n.push([yb+"  ".repeat(o)+f,"…"]),s=!1;return s}function jl(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function yl(e,t,n,o){Jt&&(us.start=t,us.end=n,Oc.color="warning",Oc.tooltipText=o,Oc.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,us)):performance.measure(o,us))}function Id(e,t,n){yl(e,t,n,"Reconnect")}function Fd(e,t,n,o,s){var f=de(e);if(f!==null&&Jt){var y=e.alternate,v=e.actualDuration;if(y===null||y.child!==e.child)for(var E=e.child;E!==null;E=E.sibling)v-=E.actualDuration;o=.5>v?o?"tertiary-light":"primary-light":10>v?o?"tertiary":"primary":100>v?o?"tertiary-dark":"primary-dark":"error";var T=e.memoizedProps;v=e._debugTask,T!==null&&y!==null&&y.memoizedProps!==T?(E=[ox],T=Ig(y.memoizedProps,T,E,0),1<E.length&&(T&&!ls&&(y.lanes&s)===0&&100<e.actualDuration?(ls=!0,E[0]=cx,Oc.color="warning",Oc.tooltipText=vz):(Oc.color=o,Oc.tooltipText=f),Oc.properties=E,us.start=t,us.end=n,v!=null?v.run(performance.measure.bind(performance,"​"+f,us)):performance.measure("​"+f,us))):v!=null?v.run(console.timeStamp.bind(console,f,t,n,Qu,void 0,o)):console.timeStamp(f,t,n,Qu,void 0,o)}}function Um(e,t,n,o){if(Jt){var s=de(e);if(s!==null){for(var f=null,y=[],v=0;v<o.length;v++){var E=o[v];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,y.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}e.key!==null&&vu("key",e.key,y,0,""),e.memoizedProps!==null&&Rm(e.memoizedProps,y,0,""),f==null&&(f=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Qu,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:y}}},f?f.run(performance.measure.bind(performance,"​"+s,e)):performance.measure("​"+s,e)}}}function Bl(e,t,n,o,s){if(s!==null){if(Jt){var f=de(e);if(f!==null){o=[];for(var y=0;y<s.length;y++){var v=s[y].value;o.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e.key!==null&&vu("key",e.key,o,0,""),e.memoizedProps!==null&&Rm(e.memoizedProps,o,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Qu,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+f,t)):performance.measure("​"+f,t)}}}else f=de(e),f!==null&&Jt&&(s=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,f,t,n,Qu,void 0,s)):console.timeStamp(f,t,n,Qu,void 0,s))}function G1(e,t,n,o){if(Jt&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,n,e,t,rt,ot,s)):console.timeStamp(n,e,t,rt,ot,s)}}function Fg(e,t,n,o){!Jt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,ot,n)):console.timeStamp("Prewarm",e,t,rt,ot,n))}function Wg(e,t,n,o){!Jt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,ot,n)):console.timeStamp("Suspended",e,t,rt,ot,n))}function X1(e,t,n,o,s,f){if(Jt&&!(t<=e)){n=[];for(var y=0;y<o.length;y++){var v=o[y].value;n.push(["Recoverable Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:ot,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},f?f.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Nm(e,t,n,o){!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,ot,"error")):console.timeStamp("Errored",e,t,rt,ot,"error"))}function Q1(e,t,n,o){!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,n,e,t,rt,ot,"secondary-light")):console.timeStamp(n,e,t,rt,ot,"secondary-light"))}function Pg(e,t,n,o,s){if(Jt&&!(t<=e)){for(var f=[],y=0;y<n.length;y++){var v=n[y].value;f.push(["Error",typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:ot,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Zm(e,t,n){!Jt||t<=e||console.timeStamp("Animating",e,t,rt,ot,"secondary-dark")}function Wd(){for(var e=Mp,t=yS=Mp=0;t<e;){var n=Ju[t];Ju[t++]=null;var o=Ju[t];Ju[t++]=null;var s=Ju[t];Ju[t++]=null;var f=Ju[t];if(Ju[t++]=null,o!==null&&s!==null){var y=o.pending;y===null?s.next=s:(s.next=y.next,y.next=s),o.pending=s}f!==0&&Hm(n,s,f)}}function ur(e,t,n,o){Ju[Mp++]=e,Ju[Mp++]=t,Ju[Mp++]=n,Ju[Mp++]=o,yS|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Vo(e,t,n,o){return ur(e,t,n,o),Qs(e)}function an(e,t){return ur(e,null,null,t),Qs(e)}function Hm(e,t,n){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n);for(var s=!1,f=e.return;f!==null;)f.childLanes|=n,o=f.alternate,o!==null&&(o.childLanes|=n),f.tag===22&&(e=f.stateNode,e===null||e._visibility&My||(s=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,s&&t!==null&&(s=31-Ia(n),e=f.hiddenUpdates,o=e[s],o===null?e[s]=[t]:o.push(t),t.lane=n|536870912),f):null}function Qs(e){if(ag>Tx)throw pd=ag=0,ng=KS=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");pd>Ax&&(pd=0,ng=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Al(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Al(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function $i(e){if($u===null)return e;var t=$u(e);return t===void 0?e:t.current}function Pd(e){if($u===null)return e;var t=$u(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=$i(e.render),e.render!==t)?(t={$$typeof:Jr,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function jm(e,t){if($u===null)return!1;var n=e.elementType;t=t.type;var o=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||s===un)&&(o=!0);break;case 11:(s===Jr||s===un)&&(o=!0);break;case 14:case 15:(s===Jf||s===un)&&(o=!0);break;default:return!1}return!!(o&&(e=$u(n),e!==void 0&&e===$u(t)))}function Go(e){$u!==null&&typeof WeakSet=="function"&&(xp===null&&(xp=new WeakSet),xp.add(e))}function ev(e,t,n){do{var o=e,s=o.alternate,f=o.child,y=o.sibling,v=o.tag;o=o.type;var E=null;switch(v){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if($u===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(o=!1,E!==null&&(E=$u(E),E!==void 0&&(n.has(E)?o=!0:t.has(E)&&(v===1?o=!0:T=!0))),xp!==null&&(xp.has(e)||s!==null&&xp.has(s))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||T)&&(s=an(e,2),s!==null&&Ue(s,e,2)),f===null||o||ev(f,t,n),y===null)break;e=y}while(!0)}function J1(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,bz||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Bm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bu(e,t){var n=e.alternate;switch(n===null?(n=ae(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=$i(e.type);break;case 1:n.type=$i(e.type);break;case 11:n.type=Pd(e.type)}return n}function qm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Xo(e,t,n,o,s,f){var y=0,v=e;if(typeof e=="function")Bm(e)&&(y=1),v=$i(v);else if(typeof e=="string")y=ee(),y=Kv(e,n,y)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case au:return t=ae(31,n,t,s),t.elementType=au,t.lanes=f,t;case Qr:return Qo(n.children,s,f,t);case wn:y=8,s|=Yn,s|=Ci;break;case Qf:return e=n,o=s,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=ae(12,e,t,o|ke),t.elementType=Qf,t.lanes=f,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case _c:return t=ae(13,n,t,s),t.elementType=_c,t.lanes=f,t;case Bn:return t=ae(19,n,t,s),t.elementType=Bn,t.lanes=f,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tu:y=10;break e;case fp:y=9;break e;case Jr:y=11,v=Pd(v);break e;case Jf:y=14;break e;case un:y=16,v=null;break e}v="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Sa(e)?n="array":e!==void 0&&e.$$typeof===Ol?(n="<"+(ie(e.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(y=o?qe(o):null)&&(v+=`
65
65
 
66
- Check the render method of \``+y+"`."),y=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+v)),v=null}return t=ae(y,n,t,s),t.elementType=e,t.type=v,t.lanes=f,t._debugOwner=o,t}function ki(e,t,n){return t=Xo(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Qo(e,t,n,o){return e=ae(7,e,o,t),e.lanes=n,e}function ir(e,t,n){return e=ae(6,e,null,t),e.lanes=n,e}function Ym(e){var t=ae(18,null,null,Re);return t.stateNode=e,t}function eh(e,t,n){return t=ae(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pn(e,t){if(typeof e=="object"&&e!==null){var n=yS.get(e);return n!==void 0?n:(t={value:e,source:t,stack:xs(t)},yS.set(e,t),t)}return{value:e,source:t,stack:xs(t)}}function ql(e,t){Ki(),Cp[Rp++]=xy,Cp[Rp++]=gb,gb=e,xy=t}function Lm(e,t,n){Ki(),ku[Ku++]=Dc,ku[Ku++]=Mc,ku[Ku++]=Pf,Pf=e;var o=Dc;e=Mc;var s=32-Ia(o)-1;o&=~(1<<s),n+=1;var f=32-Ia(t)+s;if(30<f){var y=s-s%5;f=(o&(1<<y)-1).toString(32),o>>=y,s-=y,Dc=1<<32-Ia(t)+s|n<<s|o,Mc=f+e}else Dc=1<<f|n<<s|o,Mc=e}function th(e){Ki(),e.return!==null&&(ql(e,1),Lm(e,1,0))}function ah(e){for(;e===gb;)gb=Cp[--Rp],Cp[Rp]=null,xy=Cp[--Rp],Cp[Rp]=null;for(;e===Pf;)Pf=ku[--Ku],ku[Ku]=null,Mc=ku[--Ku],ku[Ku]=null,Dc=ku[--Ku],ku[Ku]=null}function tv(){return Ki(),Pf!==null?{id:Dc,overflow:Mc}:null}function av(e,t){Ki(),ku[Ku++]=Dc,ku[Ku++]=Mc,ku[Ku++]=Pf,Dc=t.id,Mc=t.overflow,Pf=e}function Ki(){it||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Jo(e,t){if(e.return===null){if(lu===null)lu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(lu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");lu.distanceFromLeaf>t&&(lu.distanceFromLeaf=t)}return lu}var n=Jo(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function nv(){it&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nn(e,t){Oo||(e=Jo(e,0),e.serverProps=null,t!==null&&(t=Qv(t),e.serverTail.push(t)))}function gl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",o=lu;throw o!==null&&(lu=null,n=_m(o)),$s(pn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
66
+ Check the render method of \``+y+"`."),y=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+v)),v=null}return t=ae(y,n,t,s),t.elementType=e,t.type=v,t.lanes=f,t._debugOwner=o,t}function ki(e,t,n){return t=Xo(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Qo(e,t,n,o){return e=ae(7,e,o,t),e.lanes=n,e}function ir(e,t,n){return e=ae(6,e,null,t),e.lanes=n,e}function Ym(e){var t=ae(18,null,null,Re);return t.stateNode=e,t}function eh(e,t,n){return t=ae(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pn(e,t){if(typeof e=="object"&&e!==null){var n=gS.get(e);return n!==void 0?n:(t={value:e,source:t,stack:xs(t)},gS.set(e,t),t)}return{value:e,source:t,stack:xs(t)}}function ql(e,t){Ki(),Cp[Rp++]=xy,Cp[Rp++]=gb,gb=e,xy=t}function Lm(e,t,n){Ki(),ku[Ku++]=Dc,ku[Ku++]=Mc,ku[Ku++]=Pf,Pf=e;var o=Dc;e=Mc;var s=32-Ia(o)-1;o&=~(1<<s),n+=1;var f=32-Ia(t)+s;if(30<f){var y=s-s%5;f=(o&(1<<y)-1).toString(32),o>>=y,s-=y,Dc=1<<32-Ia(t)+s|n<<s|o,Mc=f+e}else Dc=1<<f|n<<s|o,Mc=e}function th(e){Ki(),e.return!==null&&(ql(e,1),Lm(e,1,0))}function ah(e){for(;e===gb;)gb=Cp[--Rp],Cp[Rp]=null,xy=Cp[--Rp],Cp[Rp]=null;for(;e===Pf;)Pf=ku[--Ku],ku[Ku]=null,Mc=ku[--Ku],ku[Ku]=null,Dc=ku[--Ku],ku[Ku]=null}function tv(){return Ki(),Pf!==null?{id:Dc,overflow:Mc}:null}function av(e,t){Ki(),ku[Ku++]=Dc,ku[Ku++]=Mc,ku[Ku++]=Pf,Dc=t.id,Mc=t.overflow,Pf=e}function Ki(){it||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Jo(e,t){if(e.return===null){if(lu===null)lu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(lu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");lu.distanceFromLeaf>t&&(lu.distanceFromLeaf=t)}return lu}var n=Jo(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function nv(){it&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nn(e,t){Oo||(e=Jo(e,0),e.serverProps=null,t!==null&&(t=Qv(t),e.serverTail.push(t)))}function gl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",o=lu;throw o!==null&&(lu=null,n=_m(o)),$s(pn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
67
67
 
68
68
  - A server/client branch \`if (typeof window !== 'undefined')\`.
69
69
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -73,7 +73,7 @@ Check the render method of \``+y+"`."),y=29,n=Error("Element type is invalid: ex
73
73
 
74
74
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
75
75
 
76
- https://react.dev/link/hydration-mismatch`+n),e)),gS}function Vm(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[Qt]=e,t[Dn]=o,An(n,o),n){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(n=0;n<lg.length;n++)Ce(lg[n],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Uo("input",o),Ce("invalid",t),hn(t,o),jd(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":Yg(t,o);break;case"select":Uo("select",o),Ce("invalid",t),Bd(t,o);break;case"textarea":Uo("textarea",o),Ce("invalid",t),No(t,o),Ic(t,o.value,o.defaultValue,o.children)}n=o.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||o.suppressHydrationWarning===!0||X0(t.textContent,n)?(o.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),o.onScroll!=null&&Ce("scroll",t),o.onScrollEnd!=null&&Ce("scrollend",t),o.onClick!=null&&(t.onclick=ml),t=!0):t=!1,t||gl(e,!0)}function Gm(e){for(Mn=e.return;Mn;)switch(Mn.tag){case 5:case 31:case 13:Iu=!1;return;case 27:case 3:Iu=!0;return;default:Mn=Mn.return}}function $o(e){if(e!==Mn)return!1;if(!it)return Gm(e),it=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||jr(e.type,e.memoizedProps)),n=!n),n&&$t){for(n=$t;n;){var o=Jo(e,0),s=Qv(n);o.serverTail.push(s),n=s.type==="Suspense"?Yr(n):ll(n.nextSibling)}gl(e)}if(Gm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$t=Yr(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$t=Yr(e)}else t===27?(t=$t,bo(e.type)?(e=i2,i2=null,$t=e):$t=t):$t=Mn?ll(e.stateNode.nextSibling):null;return!0}function Ii(){$t=Mn=null,Oo=it=!1}function Js(){var e=os;return e!==null&&(dl===null?dl=e:dl.push.apply(dl,e),os=null),e}function $s(e){os===null?os=[e]:os.push(e)}function Fi(){var e=lu;if(e!==null){lu=null;for(var t=_m(e);0<e.children.length;)e=e.children[0];pe(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
76
+ https://react.dev/link/hydration-mismatch`+n),e)),vS}function Vm(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[Qt]=e,t[Dn]=o,An(n,o),n){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(n=0;n<lg.length;n++)Ce(lg[n],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Uo("input",o),Ce("invalid",t),hn(t,o),jd(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":Yg(t,o);break;case"select":Uo("select",o),Ce("invalid",t),Bd(t,o);break;case"textarea":Uo("textarea",o),Ce("invalid",t),No(t,o),Ic(t,o.value,o.defaultValue,o.children)}n=o.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||o.suppressHydrationWarning===!0||X0(t.textContent,n)?(o.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),o.onScroll!=null&&Ce("scroll",t),o.onScrollEnd!=null&&Ce("scrollend",t),o.onClick!=null&&(t.onclick=ml),t=!0):t=!1,t||gl(e,!0)}function Gm(e){for(Mn=e.return;Mn;)switch(Mn.tag){case 5:case 31:case 13:Iu=!1;return;case 27:case 3:Iu=!0;return;default:Mn=Mn.return}}function $o(e){if(e!==Mn)return!1;if(!it)return Gm(e),it=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||jr(e.type,e.memoizedProps)),n=!n),n&&$t){for(n=$t;n;){var o=Jo(e,0),s=Qv(n);o.serverTail.push(s),n=s.type==="Suspense"?Yr(n):ll(n.nextSibling)}gl(e)}if(Gm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$t=Yr(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$t=Yr(e)}else t===27?(t=$t,bo(e.type)?(e=o2,o2=null,$t=e):$t=t):$t=Mn?ll(e.stateNode.nextSibling):null;return!0}function Ii(){$t=Mn=null,Oo=it=!1}function Js(){var e=os;return e!==null&&(dl===null?dl=e:dl.push.apply(dl,e),os=null),e}function $s(e){os===null?os=[e]:os.push(e)}function Fi(){var e=lu;if(e!==null){lu=null;for(var t=_m(e);0<e.children.length;)e=e.children[0];pe(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
77
77
 
78
78
  - A server/client branch \`if (typeof window !== 'undefined')\`.
79
79
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -83,45 +83,45 @@ https://react.dev/link/hydration-mismatch`+n),e)),gS}function Vm(e){var t=e.stat
83
83
 
84
84
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
85
85
 
86
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function or(){Up=vb=null,Np=!1}function vl(e,t,n){Fe(vS,t._currentValue,e),t._currentValue=n,Fe(bS,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Ez&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Ez}function Yl(e,t){e._currentValue=vS.current;var n=bS.current;De(bS,t),e._currentRenderer=n,De(vS,t)}function nh(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function fi(e,t,n,o){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var f=s.dependencies;if(f!==null){var y=s.child;f=f.firstContext;e:for(;f!==null;){var v=f;f=s;for(var E=0;E<t.length;E++)if(v.context===t[E]){f.lanes|=n,v=f.alternate,v!==null&&(v.lanes|=n),nh(f.return,n,e),o||(y=null);break e}f=v.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");y.lanes|=n,f=y.alternate,f!==null&&(f.lanes|=n),nh(y,n,e),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===e){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function Ll(e,t,n,o){e=null;for(var s=t,f=!1;s!==null;){if(!f){if((s.flags&524288)!==0)f=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error("Should have a current fiber. This is a bug in React.");if(y=y.memoizedProps,y!==null){var v=s.type;cl(s.pendingProps.value,y.value)||(e!==null?e.push(v):e=[v])}}else if(s===zo.current){if(y=s.alternate,y===null)throw Error("Should have a current fiber. This is a bug in React.");y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(rg):e=[rg])}s=s.return}e!==null&&fi(t,e,n,o),t.flags|=262144}function cr(e){for(e=e.firstContext;e!==null;){if(!cl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Wi(e){vb=e,Up=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function pt(e){return Np&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Xm(vb,e)}function ks(e,t){return vb===null&&Wi(e),Xm(e,t)}function Xm(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Up===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Up=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Up=Up.next=t;return n}function lh(){return{controller:new sx,data:new Map,refCount:0}}function ko(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Ks(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&fx(dx,function(){e.controller.abort()})}function Su(e,t,n){(e&127)!==0?0>wo&&(wo=Ya(),Ry=bb(t),SS=t,n!=null&&(_S=de(n)),(ft&(Pa|ou))!==sn&&(ya=!0,rs=Cy),e=Br(),t=qu(),e!==Zp||t!==Uy?Zp=-1.1:t!==null&&(rs=Cy),ad=e,Uy=t):(e&4194048)!==0&&0>Fu&&(Fu=Ya(),Ny=bb(t),zz=t,n!=null&&(Tz=de(n)),0>Uc)&&(e=Br(),t=qu(),(e!==fs||t!==nd)&&(fs=-1.1),ss=e,nd=t)}function lv(e){if(0>wo){wo=Ya(),Ry=e._debugTask!=null?e._debugTask:null,(ft&(Pa|ou))!==sn&&(rs=Cy);var t=Br(),n=qu();t!==Zp||n!==Uy?Zp=-1.1:n!==null&&(rs=Cy),ad=t,Uy=n}0>Fu&&(Fu=Ya(),Ny=e._debugTask!=null?e._debugTask:null,0>Uc)&&(e=Br(),t=qu(),(e!==fs||t!==nd)&&(fs=-1.1),ss=e,nd=t)}function _u(){var e=ed;return ed=0,e}function rr(e){var t=ed;return ed=e,t}function mn(e){var t=ed;return ed+=e,t}function Ko(){xe=Ae=-1.1}function Vt(){var e=Ae;return Ae=-1.1,e}function Ra(e){0<=e&&(Ae=e)}function bl(){var e=ia;return ia=-0,e}function Jn(e){0<=e&&(ia=e)}function $n(){var e=ta;return ta=null,e}function Sl(){var e=ya;return ya=!1,e}function di(e){rl=Ya(),0>e.actualStartTime&&(e.actualStartTime=rl)}function uh(e){if(0<=rl){var t=Ya()-rl;e.actualDuration+=t,e.selfBaseDuration=t,rl=-1}}function Is(e){if(0<=rl){var t=Ya()-rl;e.actualDuration+=t,rl=-1}}function yn(){if(0<=rl){var e=Ya(),t=e-rl;rl=-1,ed+=t,ia+=t,xe=e}}function uv(e){ta===null&&(ta=[]),ta.push(e),Cc===null&&(Cc=[]),Cc.push(e)}function na(){rl=Ya(),0>Ae&&(Ae=rl)}function Io(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function hi(e,t){if(Hy===null){var n=Hy=[];zS=0,ld=G0(),Hp={status:"pending",value:void 0,then:function(o){n.push(o)}}}return zS++,t.then(Qm,Qm),t}function Qm(){if(--zS===0&&(-1<Fu||(Uc=-1.1),Hy!==null)){Hp!==null&&(Hp.status="fulfilled");var e=Hy;Hy=null,ld=0,Hp=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ih(e,t){var n=[],o={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(o.status="rejected",o.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),o}function pi(){var e=ud.current;return e!==null?e:Bt.pooledCache}function sr(e,t){t===null?Fe(ud,ud.current,e):Fe(ud,t.pool,e)}function Jm(){var e=pi();return e===null?null:{parent:qa._currentValue,pool:e}}function oh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function $m(e){return e=e.status,e==="fulfilled"||e==="rejected"}function kn(e,t,n){Q.actQueue!==null&&(Q.didUsePromise=!0);var o=e.thenables;if(n=o[n],n===void 0?o.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(ml,ml),t=n),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var s={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Fs(e),e;default:if(typeof t.status=="string")t.then(ml,ml);else{if(e=Bt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(f){if(t.status==="pending"){var y=t;y.status="fulfilled",y.value=f}},function(f){if(t.status==="pending"){var y=t;y.status="rejected",y.reason=f}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Fs(e),e}throw od=t,Gy=!0,jp}}function Kn(e){try{return gx(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(od=t,Gy=!0,jp):t}}function Fo(){if(od===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=od;return od=null,Gy=!1,e}function Fs(e){if(e===jp||e===wb)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fa(e){var t=Ke;return e!=null&&(Ke=t===null?e:t.concat(e)),t}function Rn(){var e=Ke;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function gn(e,t,n){for(var o=Object.keys(e.props),s=0;s<o.length;s++){var f=o[s];if(f!=="children"&&f!=="key"){t===null&&(t=ki(e,n.mode,0),t._debugInfo=Ke,t.return=n),pe(t,function(y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y)},f);break}}}function Vl(e){var t=Xy;return Xy+=1,Bp===null&&(Bp=oh()),kn(Bp,e,t)}function Un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Gl(e,t){throw t.$$typeof===tb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
86
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function or(){Up=vb=null,Np=!1}function vl(e,t,n){Fe(bS,t._currentValue,e),t._currentValue=n,Fe(SS,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==_z&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=_z}function Yl(e,t){e._currentValue=bS.current;var n=SS.current;De(SS,t),e._currentRenderer=n,De(bS,t)}function nh(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function fi(e,t,n,o){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var f=s.dependencies;if(f!==null){var y=s.child;f=f.firstContext;e:for(;f!==null;){var v=f;f=s;for(var E=0;E<t.length;E++)if(v.context===t[E]){f.lanes|=n,v=f.alternate,v!==null&&(v.lanes|=n),nh(f.return,n,e),o||(y=null);break e}f=v.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");y.lanes|=n,f=y.alternate,f!==null&&(f.lanes|=n),nh(y,n,e),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===e){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function Ll(e,t,n,o){e=null;for(var s=t,f=!1;s!==null;){if(!f){if((s.flags&524288)!==0)f=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error("Should have a current fiber. This is a bug in React.");if(y=y.memoizedProps,y!==null){var v=s.type;cl(s.pendingProps.value,y.value)||(e!==null?e.push(v):e=[v])}}else if(s===zo.current){if(y=s.alternate,y===null)throw Error("Should have a current fiber. This is a bug in React.");y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(rg):e=[rg])}s=s.return}e!==null&&fi(t,e,n,o),t.flags|=262144}function cr(e){for(e=e.firstContext;e!==null;){if(!cl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Wi(e){vb=e,Up=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function pt(e){return Np&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Xm(vb,e)}function ks(e,t){return vb===null&&Wi(e),Xm(e,t)}function Xm(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Up===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Up=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Up=Up.next=t;return n}function lh(){return{controller:new fx,data:new Map,refCount:0}}function ko(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Ks(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&dx(hx,function(){e.controller.abort()})}function Su(e,t,n){(e&127)!==0?0>wo&&(wo=Ya(),Ry=bb(t),_S=t,n!=null&&(ES=de(n)),(ft&(Pa|ou))!==sn&&(ya=!0,rs=Cy),e=Br(),t=qu(),e!==Zp||t!==Uy?Zp=-1.1:t!==null&&(rs=Cy),ad=e,Uy=t):(e&4194048)!==0&&0>Fu&&(Fu=Ya(),Ny=bb(t),Ez=t,n!=null&&(zz=de(n)),0>Uc)&&(e=Br(),t=qu(),(e!==fs||t!==nd)&&(fs=-1.1),ss=e,nd=t)}function lv(e){if(0>wo){wo=Ya(),Ry=e._debugTask!=null?e._debugTask:null,(ft&(Pa|ou))!==sn&&(rs=Cy);var t=Br(),n=qu();t!==Zp||n!==Uy?Zp=-1.1:n!==null&&(rs=Cy),ad=t,Uy=n}0>Fu&&(Fu=Ya(),Ny=e._debugTask!=null?e._debugTask:null,0>Uc)&&(e=Br(),t=qu(),(e!==fs||t!==nd)&&(fs=-1.1),ss=e,nd=t)}function _u(){var e=ed;return ed=0,e}function rr(e){var t=ed;return ed=e,t}function mn(e){var t=ed;return ed+=e,t}function Ko(){xe=Ae=-1.1}function Vt(){var e=Ae;return Ae=-1.1,e}function Ra(e){0<=e&&(Ae=e)}function bl(){var e=ia;return ia=-0,e}function Jn(e){0<=e&&(ia=e)}function $n(){var e=ta;return ta=null,e}function Sl(){var e=ya;return ya=!1,e}function di(e){rl=Ya(),0>e.actualStartTime&&(e.actualStartTime=rl)}function uh(e){if(0<=rl){var t=Ya()-rl;e.actualDuration+=t,e.selfBaseDuration=t,rl=-1}}function Is(e){if(0<=rl){var t=Ya()-rl;e.actualDuration+=t,rl=-1}}function yn(){if(0<=rl){var e=Ya(),t=e-rl;rl=-1,ed+=t,ia+=t,xe=e}}function uv(e){ta===null&&(ta=[]),ta.push(e),Cc===null&&(Cc=[]),Cc.push(e)}function na(){rl=Ya(),0>Ae&&(Ae=rl)}function Io(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function hi(e,t){if(Hy===null){var n=Hy=[];TS=0,ld=G0(),Hp={status:"pending",value:void 0,then:function(o){n.push(o)}}}return TS++,t.then(Qm,Qm),t}function Qm(){if(--TS===0&&(-1<Fu||(Uc=-1.1),Hy!==null)){Hp!==null&&(Hp.status="fulfilled");var e=Hy;Hy=null,ld=0,Hp=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ih(e,t){var n=[],o={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(o.status="rejected",o.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),o}function pi(){var e=ud.current;return e!==null?e:Bt.pooledCache}function sr(e,t){t===null?Fe(ud,ud.current,e):Fe(ud,t.pool,e)}function Jm(){var e=pi();return e===null?null:{parent:qa._currentValue,pool:e}}function oh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function $m(e){return e=e.status,e==="fulfilled"||e==="rejected"}function kn(e,t,n){Q.actQueue!==null&&(Q.didUsePromise=!0);var o=e.thenables;if(n=o[n],n===void 0?o.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(ml,ml),t=n),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var s={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Fs(e),e;default:if(typeof t.status=="string")t.then(ml,ml);else{if(e=Bt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(f){if(t.status==="pending"){var y=t;y.status="fulfilled",y.value=f}},function(f){if(t.status==="pending"){var y=t;y.status="rejected",y.reason=f}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Fs(e),e}throw od=t,Gy=!0,jp}}function Kn(e){try{return vx(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(od=t,Gy=!0,jp):t}}function Fo(){if(od===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=od;return od=null,Gy=!1,e}function Fs(e){if(e===jp||e===wb)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fa(e){var t=Ke;return e!=null&&(Ke=t===null?e:t.concat(e)),t}function Rn(){var e=Ke;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function gn(e,t,n){for(var o=Object.keys(e.props),s=0;s<o.length;s++){var f=o[s];if(f!=="children"&&f!=="key"){t===null&&(t=ki(e,n.mode,0),t._debugInfo=Ke,t.return=n),pe(t,function(y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y)},f);break}}}function Vl(e){var t=Xy;return Xy+=1,Bp===null&&(Bp=oh()),kn(Bp,e,t)}function Un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Gl(e,t){throw t.$$typeof===tb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
87
87
  - Multiple copies of the "react" package is used.
88
88
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
89
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function _l(e,t){var n=Rn();n!==null?n.run(Gl.bind(null,e,t)):Gl(e,t)}function km(e,t){var n=de(e)||"Component";Xz[n]||(Xz[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
89
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function _l(e,t){var n=Rn();n!==null?n.run(Gl.bind(null,e,t)):Gl(e,t)}function km(e,t){var n=de(e)||"Component";Gz[n]||(Gz[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
90
90
  root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
91
- <%s>{%s}</%s>`,t,t,n,t,n))}function fr(e,t){var n=Rn();n!==null?n.run(km.bind(null,e,t)):km(e,t)}function ch(e,t){var n=de(e)||"Component";Qz[n]||(Qz[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
91
+ <%s>{%s}</%s>`,t,t,n,t,n))}function fr(e,t){var n=Rn();n!==null?n.run(km.bind(null,e,t)):km(e,t)}function ch(e,t){var n=de(e)||"Component";Xz[n]||(Xz[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
92
92
  root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
93
- <%s>%s</%s>`,n,t,n))}function Ws(e,t){var n=Rn();n!==null?n.run(ch.bind(null,e,t)):ch(e,t)}function Ua(e){function t(D,x){if(e){var R=D.deletions;R===null?(D.deletions=[x],D.flags|=16):R.push(x)}}function n(D,x){if(!e)return null;for(;x!==null;)t(D,x),x=x.sibling;return null}function o(D){for(var x=new Map;D!==null;)D.key!==null?x.set(D.key,D):x.set(D.index,D),D=D.sibling;return x}function s(D,x){return D=bu(D,x),D.index=0,D.sibling=null,D}function f(D,x,R){return D.index=R,e?(R=D.alternate,R!==null?(R=R.index,R<x?(D.flags|=67108866,x):R):(D.flags|=67108866,x)):(D.flags|=1048576,x)}function y(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function v(D,x,R,k){return x===null||x.tag!==6?(x=ir(R,D.mode,k),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x):(x=s(x,R),x.return=D,x._debugInfo=Ke,x)}function E(D,x,R,k){var fe=R.type;return fe===Qr?(x=U(D,x,R.props.children,k,R.key),gn(R,x,D),x):x!==null&&(x.elementType===fe||jm(x,R)||typeof fe=="object"&&fe!==null&&fe.$$typeof===un&&Kn(fe)===x.type)?(x=s(x,R.props),Un(x,R),x.return=D,x._debugOwner=R._owner,x._debugInfo=Ke,x):(x=ki(R,D.mode,k),Un(x,R),x.return=D,x._debugInfo=Ke,x)}function T(D,x,R,k){return x===null||x.tag!==4||x.stateNode.containerInfo!==R.containerInfo||x.stateNode.implementation!==R.implementation?(x=eh(R,D.mode,k),x.return=D,x._debugInfo=Ke,x):(x=s(x,R.children||[]),x.return=D,x._debugInfo=Ke,x)}function U(D,x,R,k,fe){return x===null||x.tag!==7?(x=Qo(R,D.mode,k,fe),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x):(x=s(x,R),x.return=D,x._debugInfo=Ke,x)}function Z(D,x,R){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=ir(""+x,D.mode,R),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ol:return R=ki(x,D.mode,R),Un(R,x),R.return=D,D=fa(x._debugInfo),R._debugInfo=Ke,Ke=D,R;case _o:return x=eh(x,D.mode,R),x.return=D,x._debugInfo=Ke,x;case un:var k=fa(x._debugInfo);return x=Kn(x),D=Z(D,x,R),Ke=k,D}if(Sa(x)||Te(x))return R=Qo(x,D.mode,R,null),R.return=D,R._debugOwner=D,R._debugTask=D._debugTask,D=fa(x._debugInfo),R._debugInfo=Ke,Ke=D,R;if(typeof x.then=="function")return k=fa(x._debugInfo),D=Z(D,Vl(x),R),Ke=k,D;if(x.$$typeof===tu)return Z(D,ks(D,x),R);_l(D,x)}return typeof x=="function"&&fr(D,x),typeof x=="symbol"&&Ws(D,x),null}function M(D,x,R,k){var fe=x!==null?x.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return fe!==null?null:v(D,x,""+R,k);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case Ol:return R.key===fe?(fe=fa(R._debugInfo),D=E(D,x,R,k),Ke=fe,D):null;case _o:return R.key===fe?T(D,x,R,k):null;case un:return fe=fa(R._debugInfo),R=Kn(R),D=M(D,x,R,k),Ke=fe,D}if(Sa(R)||Te(R))return fe!==null?null:(fe=fa(R._debugInfo),D=U(D,x,R,k,null),Ke=fe,D);if(typeof R.then=="function")return fe=fa(R._debugInfo),D=M(D,x,Vl(R),k),Ke=fe,D;if(R.$$typeof===tu)return M(D,x,ks(D,R),k);_l(D,R)}return typeof R=="function"&&fr(D,R),typeof R=="symbol"&&Ws(D,R),null}function G(D,x,R,k,fe){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return D=D.get(R)||null,v(x,D,""+k,fe);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ol:return R=D.get(k.key===null?R:k.key)||null,D=fa(k._debugInfo),x=E(x,R,k,fe),Ke=D,x;case _o:return D=D.get(k.key===null?R:k.key)||null,T(x,D,k,fe);case un:var He=fa(k._debugInfo);return k=Kn(k),x=G(D,x,R,k,fe),Ke=He,x}if(Sa(k)||Te(k))return R=D.get(R)||null,D=fa(k._debugInfo),x=U(x,R,k,fe,null),Ke=D,x;if(typeof k.then=="function")return He=fa(k._debugInfo),x=G(D,x,R,Vl(k),fe),Ke=He,x;if(k.$$typeof===tu)return G(D,x,R,ks(x,k),fe);_l(x,k)}return typeof k=="function"&&fr(x,k),typeof k=="symbol"&&Ws(x,k),null}function oe(D,x,R,k){if(typeof R!="object"||R===null)return k;switch(R.$$typeof){case Ol:case _o:j(D,x,R);var fe=R.key;if(typeof fe!="string")break;if(k===null){k=new Set,k.add(fe);break}if(!k.has(fe)){k.add(fe);break}pe(x,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",fe)});break;case un:R=Kn(R),oe(D,x,R,k)}return k}function he(D,x,R,k){for(var fe=null,He=null,ze=null,be=x,Qe=x=0,kt=null;be!==null&&Qe<R.length;Qe++){be.index>Qe?(kt=be,be=null):kt=be.sibling;var xa=M(D,be,R[Qe],k);if(xa===null){be===null&&(be=kt);break}fe=oe(D,xa,R[Qe],fe),e&&be&&xa.alternate===null&&t(D,be),x=f(xa,x,Qe),ze===null?He=xa:ze.sibling=xa,ze=xa,be=kt}if(Qe===R.length)return n(D,be),it&&ql(D,Qe),He;if(be===null){for(;Qe<R.length;Qe++)be=Z(D,R[Qe],k),be!==null&&(fe=oe(D,be,R[Qe],fe),x=f(be,x,Qe),ze===null?He=be:ze.sibling=be,ze=be);return it&&ql(D,Qe),He}for(be=o(be);Qe<R.length;Qe++)kt=G(be,D,Qe,R[Qe],k),kt!==null&&(fe=oe(D,kt,R[Qe],fe),e&&kt.alternate!==null&&be.delete(kt.key===null?Qe:kt.key),x=f(kt,x,Qe),ze===null?He=kt:ze.sibling=kt,ze=kt);return e&&be.forEach(function(Lc){return t(D,Lc)}),it&&ql(D,Qe),He}function Yt(D,x,R,k){if(R==null)throw Error("An iterable object provided no iterator.");for(var fe=null,He=null,ze=x,be=x=0,Qe=null,kt=null,xa=R.next();ze!==null&&!xa.done;be++,xa=R.next()){ze.index>be?(Qe=ze,ze=null):Qe=ze.sibling;var Lc=M(D,ze,xa.value,k);if(Lc===null){ze===null&&(ze=Qe);break}kt=oe(D,Lc,xa.value,kt),e&&ze&&Lc.alternate===null&&t(D,ze),x=f(Lc,x,be),He===null?fe=Lc:He.sibling=Lc,He=Lc,ze=Qe}if(xa.done)return n(D,ze),it&&ql(D,be),fe;if(ze===null){for(;!xa.done;be++,xa=R.next())ze=Z(D,xa.value,k),ze!==null&&(kt=oe(D,ze,xa.value,kt),x=f(ze,x,be),He===null?fe=ze:He.sibling=ze,He=ze);return it&&ql(D,be),fe}for(ze=o(ze);!xa.done;be++,xa=R.next())Qe=G(ze,D,be,xa.value,k),Qe!==null&&(kt=oe(D,Qe,xa.value,kt),e&&Qe.alternate!==null&&ze.delete(Qe.key===null?be:Qe.key),x=f(Qe,x,be),He===null?fe=Qe:He.sibling=Qe,He=Qe);return e&&ze.forEach(function(Lx){return t(D,Lx)}),it&&ql(D,be),fe}function ct(D,x,R,k){if(typeof R=="object"&&R!==null&&R.type===Qr&&R.key===null&&(gn(R,null,D),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case Ol:var fe=fa(R._debugInfo);e:{for(var He=R.key;x!==null;){if(x.key===He){if(He=R.type,He===Qr){if(x.tag===7){n(D,x.sibling),k=s(x,R.props.children),k.return=D,k._debugOwner=R._owner,k._debugInfo=Ke,gn(R,k,D),D=k;break e}}else if(x.elementType===He||jm(x,R)||typeof He=="object"&&He!==null&&He.$$typeof===un&&Kn(He)===x.type){n(D,x.sibling),k=s(x,R.props),Un(k,R),k.return=D,k._debugOwner=R._owner,k._debugInfo=Ke,D=k;break e}n(D,x);break}else t(D,x);x=x.sibling}R.type===Qr?(k=Qo(R.props.children,D.mode,k,R.key),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,k._debugInfo=Ke,gn(R,k,D),D=k):(k=ki(R,D.mode,k),Un(k,R),k.return=D,k._debugInfo=Ke,D=k)}return D=y(D),Ke=fe,D;case _o:e:{for(fe=R,R=fe.key;x!==null;){if(x.key===R)if(x.tag===4&&x.stateNode.containerInfo===fe.containerInfo&&x.stateNode.implementation===fe.implementation){n(D,x.sibling),k=s(x,fe.children||[]),k.return=D,D=k;break e}else{n(D,x);break}else t(D,x);x=x.sibling}k=eh(fe,D.mode,k),k.return=D,D=k}return y(D);case un:return fe=fa(R._debugInfo),R=Kn(R),D=ct(D,x,R,k),Ke=fe,D}if(Sa(R))return fe=fa(R._debugInfo),D=he(D,x,R,k),Ke=fe,D;if(Te(R)){if(fe=fa(R._debugInfo),He=Te(R),typeof He!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ze=He.call(R);return ze===R?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ze)!=="[object Generator]")&&(Vz||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Vz=!0):R.entries!==He||wS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wS=!0),D=Yt(D,x,ze,k),Ke=fe,D}if(typeof R.then=="function")return fe=fa(R._debugInfo),D=ct(D,x,Vl(R),k),Ke=fe,D;if(R.$$typeof===tu)return ct(D,x,ks(D,R),k);_l(D,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(fe=""+R,x!==null&&x.tag===6?(n(D,x.sibling),k=s(x,fe),k.return=D,D=k):(n(D,x),k=ir(fe,D.mode,k),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,k._debugInfo=Ke,D=k),y(D)):(typeof R=="function"&&fr(D,R),typeof R=="symbol"&&Ws(D,R),n(D,x))}return function(D,x,R,k){var fe=Ke;Ke=null;try{Xy=0;var He=ct(D,x,R,k);return Bp=null,He}catch(kt){if(kt===jp||kt===wb)throw kt;var ze=ae(29,kt,null,D.mode);ze.lanes=k,ze.return=D;var be=ze._debugInfo=Ke;if(ze._debugOwner=D._debugOwner,ze._debugTask=D._debugTask,be!=null){for(var Qe=be.length-1;0<=Qe;Qe--)if(typeof be[Qe].stack=="string"){ze._debugOwner=be[Qe],ze._debugTask=be[Qe].debugTask;break}}return ze}finally{Ke=fe}}}function Nt(e,t){var n=Sa(e);return e=!n&&typeof Te(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function nt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ta(e){return{lane:e,tag:$z,payload:null,callback:null,next:null}}function zu(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,MS===o&&!Iz){var s=de(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
93
+ <%s>%s</%s>`,n,t,n))}function Ws(e,t){var n=Rn();n!==null?n.run(ch.bind(null,e,t)):ch(e,t)}function Ua(e){function t(D,x){if(e){var R=D.deletions;R===null?(D.deletions=[x],D.flags|=16):R.push(x)}}function n(D,x){if(!e)return null;for(;x!==null;)t(D,x),x=x.sibling;return null}function o(D){for(var x=new Map;D!==null;)D.key!==null?x.set(D.key,D):x.set(D.index,D),D=D.sibling;return x}function s(D,x){return D=bu(D,x),D.index=0,D.sibling=null,D}function f(D,x,R){return D.index=R,e?(R=D.alternate,R!==null?(R=R.index,R<x?(D.flags|=67108866,x):R):(D.flags|=67108866,x)):(D.flags|=1048576,x)}function y(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function v(D,x,R,k){return x===null||x.tag!==6?(x=ir(R,D.mode,k),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x):(x=s(x,R),x.return=D,x._debugInfo=Ke,x)}function E(D,x,R,k){var fe=R.type;return fe===Qr?(x=U(D,x,R.props.children,k,R.key),gn(R,x,D),x):x!==null&&(x.elementType===fe||jm(x,R)||typeof fe=="object"&&fe!==null&&fe.$$typeof===un&&Kn(fe)===x.type)?(x=s(x,R.props),Un(x,R),x.return=D,x._debugOwner=R._owner,x._debugInfo=Ke,x):(x=ki(R,D.mode,k),Un(x,R),x.return=D,x._debugInfo=Ke,x)}function T(D,x,R,k){return x===null||x.tag!==4||x.stateNode.containerInfo!==R.containerInfo||x.stateNode.implementation!==R.implementation?(x=eh(R,D.mode,k),x.return=D,x._debugInfo=Ke,x):(x=s(x,R.children||[]),x.return=D,x._debugInfo=Ke,x)}function U(D,x,R,k,fe){return x===null||x.tag!==7?(x=Qo(R,D.mode,k,fe),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x):(x=s(x,R),x.return=D,x._debugInfo=Ke,x)}function Z(D,x,R){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=ir(""+x,D.mode,R),x.return=D,x._debugOwner=D,x._debugTask=D._debugTask,x._debugInfo=Ke,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ol:return R=ki(x,D.mode,R),Un(R,x),R.return=D,D=fa(x._debugInfo),R._debugInfo=Ke,Ke=D,R;case _o:return x=eh(x,D.mode,R),x.return=D,x._debugInfo=Ke,x;case un:var k=fa(x._debugInfo);return x=Kn(x),D=Z(D,x,R),Ke=k,D}if(Sa(x)||Te(x))return R=Qo(x,D.mode,R,null),R.return=D,R._debugOwner=D,R._debugTask=D._debugTask,D=fa(x._debugInfo),R._debugInfo=Ke,Ke=D,R;if(typeof x.then=="function")return k=fa(x._debugInfo),D=Z(D,Vl(x),R),Ke=k,D;if(x.$$typeof===tu)return Z(D,ks(D,x),R);_l(D,x)}return typeof x=="function"&&fr(D,x),typeof x=="symbol"&&Ws(D,x),null}function M(D,x,R,k){var fe=x!==null?x.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return fe!==null?null:v(D,x,""+R,k);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case Ol:return R.key===fe?(fe=fa(R._debugInfo),D=E(D,x,R,k),Ke=fe,D):null;case _o:return R.key===fe?T(D,x,R,k):null;case un:return fe=fa(R._debugInfo),R=Kn(R),D=M(D,x,R,k),Ke=fe,D}if(Sa(R)||Te(R))return fe!==null?null:(fe=fa(R._debugInfo),D=U(D,x,R,k,null),Ke=fe,D);if(typeof R.then=="function")return fe=fa(R._debugInfo),D=M(D,x,Vl(R),k),Ke=fe,D;if(R.$$typeof===tu)return M(D,x,ks(D,R),k);_l(D,R)}return typeof R=="function"&&fr(D,R),typeof R=="symbol"&&Ws(D,R),null}function G(D,x,R,k,fe){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return D=D.get(R)||null,v(x,D,""+k,fe);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ol:return R=D.get(k.key===null?R:k.key)||null,D=fa(k._debugInfo),x=E(x,R,k,fe),Ke=D,x;case _o:return D=D.get(k.key===null?R:k.key)||null,T(x,D,k,fe);case un:var He=fa(k._debugInfo);return k=Kn(k),x=G(D,x,R,k,fe),Ke=He,x}if(Sa(k)||Te(k))return R=D.get(R)||null,D=fa(k._debugInfo),x=U(x,R,k,fe,null),Ke=D,x;if(typeof k.then=="function")return He=fa(k._debugInfo),x=G(D,x,R,Vl(k),fe),Ke=He,x;if(k.$$typeof===tu)return G(D,x,R,ks(x,k),fe);_l(x,k)}return typeof k=="function"&&fr(x,k),typeof k=="symbol"&&Ws(x,k),null}function oe(D,x,R,k){if(typeof R!="object"||R===null)return k;switch(R.$$typeof){case Ol:case _o:j(D,x,R);var fe=R.key;if(typeof fe!="string")break;if(k===null){k=new Set,k.add(fe);break}if(!k.has(fe)){k.add(fe);break}pe(x,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",fe)});break;case un:R=Kn(R),oe(D,x,R,k)}return k}function he(D,x,R,k){for(var fe=null,He=null,ze=null,be=x,Qe=x=0,kt=null;be!==null&&Qe<R.length;Qe++){be.index>Qe?(kt=be,be=null):kt=be.sibling;var xa=M(D,be,R[Qe],k);if(xa===null){be===null&&(be=kt);break}fe=oe(D,xa,R[Qe],fe),e&&be&&xa.alternate===null&&t(D,be),x=f(xa,x,Qe),ze===null?He=xa:ze.sibling=xa,ze=xa,be=kt}if(Qe===R.length)return n(D,be),it&&ql(D,Qe),He;if(be===null){for(;Qe<R.length;Qe++)be=Z(D,R[Qe],k),be!==null&&(fe=oe(D,be,R[Qe],fe),x=f(be,x,Qe),ze===null?He=be:ze.sibling=be,ze=be);return it&&ql(D,Qe),He}for(be=o(be);Qe<R.length;Qe++)kt=G(be,D,Qe,R[Qe],k),kt!==null&&(fe=oe(D,kt,R[Qe],fe),e&&kt.alternate!==null&&be.delete(kt.key===null?Qe:kt.key),x=f(kt,x,Qe),ze===null?He=kt:ze.sibling=kt,ze=kt);return e&&be.forEach(function(Lc){return t(D,Lc)}),it&&ql(D,Qe),He}function Yt(D,x,R,k){if(R==null)throw Error("An iterable object provided no iterator.");for(var fe=null,He=null,ze=x,be=x=0,Qe=null,kt=null,xa=R.next();ze!==null&&!xa.done;be++,xa=R.next()){ze.index>be?(Qe=ze,ze=null):Qe=ze.sibling;var Lc=M(D,ze,xa.value,k);if(Lc===null){ze===null&&(ze=Qe);break}kt=oe(D,Lc,xa.value,kt),e&&ze&&Lc.alternate===null&&t(D,ze),x=f(Lc,x,be),He===null?fe=Lc:He.sibling=Lc,He=Lc,ze=Qe}if(xa.done)return n(D,ze),it&&ql(D,be),fe;if(ze===null){for(;!xa.done;be++,xa=R.next())ze=Z(D,xa.value,k),ze!==null&&(kt=oe(D,ze,xa.value,kt),x=f(ze,x,be),He===null?fe=ze:He.sibling=ze,He=ze);return it&&ql(D,be),fe}for(ze=o(ze);!xa.done;be++,xa=R.next())Qe=G(ze,D,be,xa.value,k),Qe!==null&&(kt=oe(D,Qe,xa.value,kt),e&&Qe.alternate!==null&&ze.delete(Qe.key===null?be:Qe.key),x=f(Qe,x,be),He===null?fe=Qe:He.sibling=Qe,He=Qe);return e&&ze.forEach(function(Vx){return t(D,Vx)}),it&&ql(D,be),fe}function ct(D,x,R,k){if(typeof R=="object"&&R!==null&&R.type===Qr&&R.key===null&&(gn(R,null,D),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case Ol:var fe=fa(R._debugInfo);e:{for(var He=R.key;x!==null;){if(x.key===He){if(He=R.type,He===Qr){if(x.tag===7){n(D,x.sibling),k=s(x,R.props.children),k.return=D,k._debugOwner=R._owner,k._debugInfo=Ke,gn(R,k,D),D=k;break e}}else if(x.elementType===He||jm(x,R)||typeof He=="object"&&He!==null&&He.$$typeof===un&&Kn(He)===x.type){n(D,x.sibling),k=s(x,R.props),Un(k,R),k.return=D,k._debugOwner=R._owner,k._debugInfo=Ke,D=k;break e}n(D,x);break}else t(D,x);x=x.sibling}R.type===Qr?(k=Qo(R.props.children,D.mode,k,R.key),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,k._debugInfo=Ke,gn(R,k,D),D=k):(k=ki(R,D.mode,k),Un(k,R),k.return=D,k._debugInfo=Ke,D=k)}return D=y(D),Ke=fe,D;case _o:e:{for(fe=R,R=fe.key;x!==null;){if(x.key===R)if(x.tag===4&&x.stateNode.containerInfo===fe.containerInfo&&x.stateNode.implementation===fe.implementation){n(D,x.sibling),k=s(x,fe.children||[]),k.return=D,D=k;break e}else{n(D,x);break}else t(D,x);x=x.sibling}k=eh(fe,D.mode,k),k.return=D,D=k}return y(D);case un:return fe=fa(R._debugInfo),R=Kn(R),D=ct(D,x,R,k),Ke=fe,D}if(Sa(R))return fe=fa(R._debugInfo),D=he(D,x,R,k),Ke=fe,D;if(Te(R)){if(fe=fa(R._debugInfo),He=Te(R),typeof He!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ze=He.call(R);return ze===R?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ze)!=="[object Generator]")&&(Lz||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Lz=!0):R.entries!==He||DS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),DS=!0),D=Yt(D,x,ze,k),Ke=fe,D}if(typeof R.then=="function")return fe=fa(R._debugInfo),D=ct(D,x,Vl(R),k),Ke=fe,D;if(R.$$typeof===tu)return ct(D,x,ks(D,R),k);_l(D,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(fe=""+R,x!==null&&x.tag===6?(n(D,x.sibling),k=s(x,fe),k.return=D,D=k):(n(D,x),k=ir(fe,D.mode,k),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,k._debugInfo=Ke,D=k),y(D)):(typeof R=="function"&&fr(D,R),typeof R=="symbol"&&Ws(D,R),n(D,x))}return function(D,x,R,k){var fe=Ke;Ke=null;try{Xy=0;var He=ct(D,x,R,k);return Bp=null,He}catch(kt){if(kt===jp||kt===wb)throw kt;var ze=ae(29,kt,null,D.mode);ze.lanes=k,ze.return=D;var be=ze._debugInfo=Ke;if(ze._debugOwner=D._debugOwner,ze._debugTask=D._debugTask,be!=null){for(var Qe=be.length-1;0<=Qe;Qe--)if(typeof be[Qe].stack=="string"){ze._debugOwner=be[Qe],ze._debugTask=be[Qe].debugTask;break}}return ze}finally{Ke=fe}}}function Nt(e,t){var n=Sa(e);return e=!n&&typeof Te(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function nt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ta(e){return{lane:e,tag:Jz,payload:null,callback:null,next:null}}function zu(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,xS===o&&!Kz){var s=de(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
94
94
 
95
- Please update the following component: %s`,s),Iz=!0}return(ft&Pa)!==sn?(s=o.pending,s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,t=Qs(e),Hm(e,null,n),t):(ur(e,o,t,n),Qs(e))}function El(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Hg(e,n)}}function Ps(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var s=null,f=null;if(n=n.firstBaseUpdate,n!==null){do{var y={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};f===null?s=f=y:f=f.next=y,n=n.next}while(n!==null);f===null?s=f=t:f=f.next=t}else s=f=t;n={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function dr(){if(xS){var e=Hp;if(e!==null)throw e}}function Tu(e,t,n,o){xS=!1;var s=e.updateQueue;ds=!1,MS=s.shared;var f=s.firstBaseUpdate,y=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var E=v,T=E.next;E.next=null,y===null?f=T:y.next=T,y=E;var U=e.alternate;U!==null&&(U=U.updateQueue,v=U.lastBaseUpdate,v!==y&&(v===null?U.firstBaseUpdate=T:v.next=T,U.lastBaseUpdate=E))}if(f!==null){var Z=s.baseState;y=0,U=T=E=null,v=f;do{var M=v.lane&-536870913,G=M!==v.lane;if(G?(Ie&M)===M:(o&M)===M){M!==0&&M===ld&&(xS=!0),U!==null&&(U=U.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{M=e;var oe=v,he=t,Yt=n;switch(oe.tag){case kz:if(oe=oe.payload,typeof oe=="function"){Np=!0;var ct=oe.call(Yt,Z,he);if(M.mode&Yn){Ut(!0);try{oe.call(Yt,Z,he)}finally{Ut(!1)}}Np=!1,Z=ct;break e}Z=oe;break e;case DS:M.flags=M.flags&-65537|128;case $z:if(ct=oe.payload,typeof ct=="function"){if(Np=!0,oe=ct.call(Yt,Z,he),M.mode&Yn){Ut(!0);try{ct.call(Yt,Z,he)}finally{Ut(!1)}}Np=!1}else oe=ct;if(oe==null)break e;Z=$e({},Z,oe);break e;case Kz:ds=!0}}M=v.callback,M!==null&&(e.flags|=64,G&&(e.flags|=8192),G=s.callbacks,G===null?s.callbacks=[M]:G.push(M))}else G={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},U===null?(T=U=G,E=Z):U=U.next=G,y|=M;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;G=v,v=G.next,G.next=null,s.lastBaseUpdate=G,s.shared.pending=null}}while(!0);U===null&&(E=Z),s.baseState=E,s.firstBaseUpdate=T,s.lastBaseUpdate=U,f===null&&(s.shared.lanes=0),ms|=y,e.lanes=y,e.memoizedState=Z}MS=null}function Pi(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Km(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Pi(n[e],t)}function hr(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Pi(n[e],t)}function rh(e,t){var n=Mo;Fe(Mb,n,e),Fe(qp,t,e),Mo=n|t.baseLanes}function mi(e){Fe(Mb,Mo,e),Fe(qp,qp.current,e)}function Xl(e){Mo=Mb.current,De(qp,e),De(Mb,e)}function vn(e){var t=e.alternate;Fe(Ma,Ma.current&Yp,e),Fe(uu,e,e),Wu===null&&(t===null||qp.current!==null||t.memoizedState!==null)&&(Wu=e)}function Ql(e){Fe(Ma,Ma.current,e),Fe(uu,e,e),Wu===null&&(Wu=e)}function sh(e){e.tag===22?(Fe(Ma,Ma.current,e),Fe(uu,e,e),Wu===null&&(Wu=e)):Au(e)}function Au(e){Fe(Ma,Ma.current,e),Fe(uu,uu.current,e)}function Na(e){De(uu,e),Wu===e&&(Wu=null),De(Ma,e)}function Wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Hf(n)||J0(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ne(){var e=X;ei===null?ei=[e]:ei.push(e)}function P(){var e=X;if(ei!==null&&(Hc++,ei[Hc]!==e)){var t=de(Ze);if(!Fz.has(t)&&(Fz.add(t),ei!==null)){for(var n="",o=0;o<=Hc;o++){var s=ei[o],f=o===Hc?e:s;for(s=o+1+". "+s;30>s.length;)s+=" ";s+=f+`
95
+ Please update the following component: %s`,s),Kz=!0}return(ft&Pa)!==sn?(s=o.pending,s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,t=Qs(e),Hm(e,null,n),t):(ur(e,o,t,n),Qs(e))}function El(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Hg(e,n)}}function Ps(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var s=null,f=null;if(n=n.firstBaseUpdate,n!==null){do{var y={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};f===null?s=f=y:f=f.next=y,n=n.next}while(n!==null);f===null?s=f=t:f=f.next=t}else s=f=t;n={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function dr(){if(CS){var e=Hp;if(e!==null)throw e}}function Tu(e,t,n,o){CS=!1;var s=e.updateQueue;ds=!1,xS=s.shared;var f=s.firstBaseUpdate,y=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var E=v,T=E.next;E.next=null,y===null?f=T:y.next=T,y=E;var U=e.alternate;U!==null&&(U=U.updateQueue,v=U.lastBaseUpdate,v!==y&&(v===null?U.firstBaseUpdate=T:v.next=T,U.lastBaseUpdate=E))}if(f!==null){var Z=s.baseState;y=0,U=T=E=null,v=f;do{var M=v.lane&-536870913,G=M!==v.lane;if(G?(Ie&M)===M:(o&M)===M){M!==0&&M===ld&&(CS=!0),U!==null&&(U=U.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{M=e;var oe=v,he=t,Yt=n;switch(oe.tag){case $z:if(oe=oe.payload,typeof oe=="function"){Np=!0;var ct=oe.call(Yt,Z,he);if(M.mode&Yn){Ut(!0);try{oe.call(Yt,Z,he)}finally{Ut(!1)}}Np=!1,Z=ct;break e}Z=oe;break e;case MS:M.flags=M.flags&-65537|128;case Jz:if(ct=oe.payload,typeof ct=="function"){if(Np=!0,oe=ct.call(Yt,Z,he),M.mode&Yn){Ut(!0);try{ct.call(Yt,Z,he)}finally{Ut(!1)}}Np=!1}else oe=ct;if(oe==null)break e;Z=$e({},Z,oe);break e;case kz:ds=!0}}M=v.callback,M!==null&&(e.flags|=64,G&&(e.flags|=8192),G=s.callbacks,G===null?s.callbacks=[M]:G.push(M))}else G={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},U===null?(T=U=G,E=Z):U=U.next=G,y|=M;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;G=v,v=G.next,G.next=null,s.lastBaseUpdate=G,s.shared.pending=null}}while(!0);U===null&&(E=Z),s.baseState=E,s.firstBaseUpdate=T,s.lastBaseUpdate=U,f===null&&(s.shared.lanes=0),ms|=y,e.lanes=y,e.memoizedState=Z}xS=null}function Pi(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Km(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Pi(n[e],t)}function hr(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Pi(n[e],t)}function rh(e,t){var n=Mo;Fe(Mb,n,e),Fe(qp,t,e),Mo=n|t.baseLanes}function mi(e){Fe(Mb,Mo,e),Fe(qp,qp.current,e)}function Xl(e){Mo=Mb.current,De(qp,e),De(Mb,e)}function vn(e){var t=e.alternate;Fe(Ma,Ma.current&Yp,e),Fe(uu,e,e),Wu===null&&(t===null||qp.current!==null||t.memoizedState!==null)&&(Wu=e)}function Ql(e){Fe(Ma,Ma.current,e),Fe(uu,e,e),Wu===null&&(Wu=e)}function sh(e){e.tag===22?(Fe(Ma,Ma.current,e),Fe(uu,e,e),Wu===null&&(Wu=e)):Au(e)}function Au(e){Fe(Ma,Ma.current,e),Fe(uu,uu.current,e)}function Na(e){De(uu,e),Wu===e&&(Wu=null),De(Ma,e)}function Wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Hf(n)||J0(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ne(){var e=X;ei===null?ei=[e]:ei.push(e)}function P(){var e=X;if(ei!==null&&(Hc++,ei[Hc]!==e)){var t=de(Ze);if(!Iz.has(t)&&(Iz.add(t),ei!==null)){for(var n="",o=0;o<=Hc;o++){var s=ei[o],f=o===Hc?e:s;for(s=o+1+". "+s;30>s.length;)s+=" ";s+=f+`
96
96
  `,n+=s}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
97
97
 
98
98
  Previous render Next render
99
99
  ------------------------------------------------------
100
100
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
- `,t,n)}}}function yi(e){e==null||Sa(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",X,typeof e)}function ef(){var e=de(Ze);Pz.has(e)||(Pz.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function la(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
101
+ `,t,n)}}}function yi(e){e==null||Sa(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",X,typeof e)}function ef(){var e=de(Ze);Wz.has(e)||(Wz.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function la(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
102
102
  1. You might have mismatching versions of React and the renderer (such as React DOM)
103
103
  2. You might be breaking the Rules of Hooks
104
104
  3. You might have more than one copy of React in the same app
105
105
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Im(e,t){if($y)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",X),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
106
106
 
107
107
  Previous: %s
108
- Incoming: %s`,X,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!cl(e[n],t[n]))return!1;return!0}function Fm(e,t,n,o,s,f){Nc=f,Ze=t,ei=e!==null?e._debugHookTypes:null,Hc=-1,$y=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(f=de(Ze),CS.has(f)||(CS.add(f),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",f===null?"An unknown Component":"<"+f+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=e!==null&&e.memoizedState!==null?US:ei!==null?eT:RS,rd=f=(t.mode&Yn)!==Re;var y=TS(n,o,s);if(rd=!1,Vp&&(y=tf(t,n,o,s)),f){Ut(!0);try{y=tf(t,n,o,s)}finally{Ut(!1)}}return da(e,t),y}function da(e,t){t._debugHookTypes=ei,t.dependencies===null?Zc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Zc}):t.dependencies._debugThenableState=Zc,Q.H=ky;var n=jt!==null&&jt.next!==null;if(Nc=0,ei=X=La=jt=Ze=null,Hc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Cb=!1,Jy=0,Zc=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Va||(e=e.dependencies,e!==null&&cr(e)&&(Va=!0)),Gy?(Gy=!1,e=!0):e=!1,e&&(t=de(t)||"Unknown",Wz.has(t)||CS.has(t)||(Wz.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function tf(e,t,n,o){Ze=e;var s=0;do{if(Vp&&(Zc=null),Jy=0,Vp=!1,s>=bx)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,$y=!1,La=jt=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Hc=-1,Q.H=tT,f=TS(t,n,o)}while(Vp);return f}function af(){var e=Q.H,t=e.useState()[0];return t=typeof t.then=="function"?uf(t):t,e=e.useState()[0],(jt!==null?jt.memoizedState:null)!==e&&(Ze.flags|=1024),t}function Po(){var e=Rb!==0;return Rb=0,e}function nf(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ci)!==Re?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function eo(e){if(Cb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Cb=!1}Nc=0,ei=La=jt=Ze=null,Hc=-1,X=null,Vp=!1,Jy=Rb=0,Zc=null}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return La===null?Ze.memoizedState=La=e:La=La.next=e,La}function bt(){if(jt===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=jt.next;var t=La===null?Ze.memoizedState:La.next;if(t!==null)La=t,jt=e;else{if(e===null)throw Ze.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");jt=e,e={memoizedState:jt.memoizedState,baseState:jt.baseState,baseQueue:jt.baseQueue,queue:jt.queue,next:null},La===null?Ze.memoizedState=La=e:La=La.next=e}return La}function lf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function uf(e){var t=Jy;return Jy+=1,Zc===null&&(Zc=oh()),e=kn(Zc,e,t),t=Ze,(La===null?t.memoizedState:La.next)===null&&(t=t.alternate,Q.H=t!==null&&t.memoizedState!==null?US:RS),e}function gi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return uf(e);if(e.$$typeof===tu)return pt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function In(e){var t=null,n=Ze.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var o=Ze.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=lf(),Ze.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||$y)for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=F1;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Fn(e,t){return typeof t=="function"?t(e):t}function pr(e,t,n){var o=va();if(n!==void 0){var s=n(t);if(rd){Ut(!0);try{n(t)}finally{Ut(!1)}}}else s=t;return o.memoizedState=o.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},o.queue=e,e=e.dispatch=J1.bind(null,Ze,e),[o.memoizedState,e]}function ec(e){var t=bt();return to(t,jt,e)}function to(e,t,n){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=n;var s=e.baseQueue,f=o.pending;if(f!==null){if(s!==null){var y=s.next;s.next=f.next,f.next=y}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=f,o.pending=null}if(f=e.baseState,s===null)e.memoizedState=f;else{t=s.next;var v=y=null,E=null,T=t,U=!1;do{var Z=T.lane&-536870913;if(Z!==T.lane?(Ie&Z)===Z:(Nc&Z)===Z){var M=T.revertLane;if(M===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),Z===ld&&(U=!0);else if((Nc&M)===M){T=T.next,M===ld&&(U=!0);continue}else Z={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(v=E=Z,y=f):E=E.next=Z,Ze.lanes|=M,ms|=M;Z=T.action,rd&&n(f,Z),f=T.hasEagerState?T.eagerState:n(f,Z)}else M={lane:Z,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(v=E=M,y=f):E=E.next=M,Ze.lanes|=Z,ms|=Z;T=T.next}while(T!==null&&T!==t);if(E===null?y=f:E.next=v,!cl(f,e.memoizedState)&&(Va=!0,U&&(n=Hp,n!==null)))throw n;e.memoizedState=f,e.baseState=y,e.baseQueue=E,o.lastRenderedState=f}return s===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function tc(e){var t=bt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var o=n.dispatch,s=n.pending,f=t.memoizedState;if(s!==null){n.pending=null;var y=s=s.next;do f=e(f,y.action),y=y.next;while(y!==s);cl(f,t.memoizedState)||(Va=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),n.lastRenderedState=f}return[f,o]}function mr(e,t,n){var o=Ze,s=va();if(it){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=n();Lp||f===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Lp=!0)}else{if(f=t(),Lp||(n=t(),cl(f,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Lp=!0)),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ie&127)!==0||Wm(o,t,f)}return s.memoizedState=f,n={value:f,getSnapshot:t},s.queue=n,lc(ao.bind(null,o,n,e),[e]),o.flags|=2048,Ou(Pu|fl,{destroy:void 0},Pm.bind(null,o,n,f,t),null),f}function ac(e,t,n){var o=Ze,s=bt(),f=it;if(f){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Lp){var y=t();cl(n,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Lp=!0)}(y=!cl((jt||s).memoizedState,n))&&(s.memoizedState=n,Va=!0),s=s.queue;var v=ao.bind(null,o,s,e);if(Aa(2048,fl,v,[e]),s.getSnapshot!==t||y||La!==null&&La.memoizedState.tag&Pu){if(o.flags|=2048,Ou(Pu|fl,{destroy:void 0},Pm.bind(null,o,s,n,t),null),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Nc&127)!==0||Wm(o,t,n)}return n}function Wm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ze.updateQueue,t===null?(t=lf(),Ze.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Pm(e,t,n,o){t.value=n,t.getSnapshot=o,no(t)&&e0(e)}function ao(e,t,n){return n(function(){no(t)&&(Su(2,"updateSyncExternalStore()",e),e0(e))})}function no(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!cl(e,n)}catch{return!0}}function e0(e){var t=an(e,2);t!==null&&Ue(t,e,2)}function fh(e){var t=va();if(typeof e=="function"){var n=e;if(e=n(),rd){Ut(!0);try{n()}finally{Ut(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:e},t}function lo(e){e=fh(e);var t=e.queue,n=gh.bind(null,Ze,t);return t.dispatch=n,[e.memoizedState,n]}function nc(e){var t=va();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=hf.bind(null,Ze,!0,n),n.dispatch=t,[e,t]}function of(e,t){var n=bt();return yr(n,jt,e,t)}function yr(e,t,n,o){return e.baseState=n,to(e,jt,typeof o=="function"?o:Fn)}function cf(e,t){var n=bt();return jt!==null?yr(n,jt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function iv(e,t,n,o,s){if(Za(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var f={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};Q.T!==null?n(!0):f.isTransition=!1,o(f),n=t.pending,n===null?(f.next=t.pending=f,uo(t,f)):(f.next=n.next,t.pending=n.next=f)}}function uo(e,t){var n=t.action,o=t.payload,s=e.state;if(t.isTransition){var f=Q.T,y={};y._updatedFibers=new Set,Q.T=y;try{var v=n(s,o),E=Q.S;E!==null&&E(y,v),t0(e,t,v)}catch(T){rf(e,t,T)}finally{f!==null&&y.types!==null&&(f.types!==null&&f.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=y.types),Q.T=f,f===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{y=n(s,o),t0(e,t,y)}catch(T){rf(e,t,T)}}function t0(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(Q.asyncTransitions++,n.then(uc,uc),n.then(function(o){vi(e,t,o)},function(o){return rf(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):vi(e,t,n)}function vi(e,t,n){t.status="fulfilled",t.value=n,dh(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,uo(e,n)))}function rf(e,t,n){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=n,dh(t),t=t.next;while(t!==o)}e.action=null}function dh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bi(e,t){return t}function Wn(e,t){if(it){var n=Bt.formState;if(n!==null){e:{var o=Ze;if(it){if($t){t:{for(var s=$t,f=Iu;s.nodeType!==8;){if(!f){s=null;break t}if(s=ll(s.nextSibling),s===null){s=null;break t}}f=s.data,s=f===a2||f===YT?s:null}if(s){$t=ll(s.nextSibling),o=s.data===a2;break e}}gl(o)}o=!1}o&&(t=n[0])}}return n=va(),n.memoizedState=n.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:t},n.queue=o,n=gh.bind(null,Ze,o),o.dispatch=n,o=fh(!1),f=hf.bind(null,Ze,!1,o.queue),o=va(),s={state:t,dispatch:null,action:e,pending:null},o.queue=s,n=iv.bind(null,Ze,s,f,n),s.dispatch=n,o.memoizedState=e,[t,n,!1]}function io(e){var t=bt();return hh(t,jt,e)}function hh(e,t,n){if(t=to(e,t,bi)[0],e=ec(Fn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=uf(t)}catch(y){throw y===jp?wb:y}else o=t;t=bt();var s=t.queue,f=s.dispatch;return n!==t.memoizedState&&(Ze.flags|=2048,Ou(Pu|fl,{destroy:void 0},a0.bind(null,s,n),null)),[o,f,e]}function a0(e,t){e.action=t}function oo(e){var t=bt(),n=jt;if(n!==null)return hh(t,n,e);bt(),t=t.memoizedState,n=bt();var o=n.queue.dispatch;return n.memoizedState=e,[t,o,!1]}function Ou(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},t=Ze.updateQueue,t===null&&(t=lf(),Ze.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function ph(e){var t=va();return e={current:e},t.memoizedState=e}function co(e,t,n,o){var s=va();Ze.flags|=e,s.memoizedState=Ou(Pu|t,{destroy:void 0},n,o===void 0?null:o)}function Aa(e,t,n,o){var s=bt();o=o===void 0?null:o;var f=s.memoizedState.inst;jt!==null&&o!==null&&Im(o,jt.memoizedState.deps)?s.memoizedState=Ou(t,f,n,o):(Ze.flags|=e,s.memoizedState=Ou(Pu|t,f,n,o))}function lc(e,t){(Ze.mode&Ci)!==Re?co(276826112,fl,e,t):co(8390656,fl,e,t)}function ov(e){Ze.flags|=4;var t=Ze.updateQueue;if(t===null)t=lf(),Ze.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function sf(e){var t=va(),n={impl:e};return t.memoizedState=n,function(){if((ft&Pa)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function gr(e){var t=bt().memoizedState;return ov({ref:t,nextImpl:e}),function(){if((ft&Pa)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function bn(e,t){var n=4194308;return(Ze.mode&Ci)!==Re&&(n|=134217728),co(n,iu,e,t)}function Pn(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function wu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var o=4194308;(Ze.mode&Ci)!==Re&&(o|=134217728),co(o,iu,Pn.bind(null,t,e),n)}function vr(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Aa(4,iu,Pn.bind(null,t,e),n)}function mh(e,t){return va().memoizedState=[e,t===void 0?null:t],e}function Jl(e,t){var n=bt();t=t===void 0?null:t;var o=n.memoizedState;return t!==null&&Im(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function Sn(e,t){var n=va();t=t===void 0?null:t;var o=e();if(rd){Ut(!0);try{e()}finally{Ut(!1)}}return n.memoizedState=[o,t],o}function Gt(e,t){var n=bt();t=t===void 0?null:t;var o=n.memoizedState;if(t!==null&&Im(t,o[1]))return o[0];if(o=e(),rd){Ut(!0);try{e()}finally{Ut(!1)}}return n.memoizedState=[o,t],o}function br(e,t){var n=va();return St(n,e,t)}function Du(e,t){var n=bt();return ha(n,jt.memoizedState,e,t)}function Le(e,t){var n=bt();return jt===null?St(n,e,t):ha(n,jt.memoizedState,e,t)}function St(e,t,n){return n===void 0||(Nc&1073741824)!==0&&(Ie&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=wr(),Ze.lanes|=e,ms|=e,n)}function ha(e,t,n,o){return cl(n,t)?n:qp.current!==null?(e=St(e,n,o),cl(e,t)||(Va=!0),e):(Nc&42)===0||(Nc&1073741824)!==0&&(Ie&261930)===0?(Va=!0,e.memoizedState=n):(e=wr(),Ze.lanes|=e,ms|=e,t)}function uc(){Q.asyncTransitions--}function ic(e,t,n,o,s){var f=yt.p;yt.p=f!==0&&f<Fa?f:Fa;var y=Q.T,v={};v._updatedFibers=new Set,Q.T=v,hf(e,!1,t,n);try{var E=s(),T=Q.S;if(T!==null&&T(v,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){Q.asyncTransitions++,E.then(uc,uc);var U=ih(E,o);oc(e,t,U,ln(e))}else oc(e,t,o,ln(e))}catch(Z){oc(e,t,{then:function(){},status:"rejected",reason:Z},ln(e))}finally{yt.p=f,y!==null&&v.types!==null&&(y.types!==null&&y.types!==v.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=v.types),Q.T=y,y===null&&v._updatedFibers&&(e=v._updatedFibers.size,v._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Si(e,t,n,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=ff(e).queue;lv(e),ic(e,s,t,Sd,n===null?O:function(){return Sr(e),n(o)})}function ff(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Sd,baseState:Sd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:Sd},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Sr(e){Q.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ff(e);t.next===null&&(t=e.alternate.memoizedState),oc(e,t.next.queue,{},ln(e))}function ro(){var e=fh(!1);return e=ic.bind(null,Ze,e.queue,!0,!1),va().memoizedState=e,[!1,e]}function cv(){var e=ec(Fn)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:uf(e),t]}function Wt(){var e=tc(Fn)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:uf(e),t]}function _i(){return pt(rg)}function df(){var e=va(),t=Bt.identifierPrefix;if(it){var n=Mc,o=Dc;n=(o&~(1<<32-Ia(o)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Rb++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=vx++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function yh(){return va().memoizedState=rv.bind(null,Ze)}function rv(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var o=ln(n),s=Ta(o),f=zu(n,s,o);f!==null&&(Su(o,"refresh()",e),Ue(f,n,o),El(f,n,o)),e=lh(),t!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function J1(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ln(e);var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Za(e)?ua(t,s):(s=Vo(e,t,s,o),s!==null&&(Su(o,"dispatch()",e),Ue(s,e,o),pf(s,t,o)))}function gh(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ln(e),oc(e,t,n,o)&&Su(o,"setState()",e)}function oc(e,t,n,o){var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Za(e))ua(t,s);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null)){var y=Q.H;Q.H=Ui;try{var v=t.lastRenderedState,E=f(v,n);if(s.hasEagerState=!0,s.eagerState=E,cl(E,v))return ur(e,t,s,0),Bt===null&&Wd(),!1}catch{}finally{Q.H=y}}if(n=Vo(e,t,s,o),n!==null)return Ue(n,e,o),pf(n,t,o),!0}return!1}function hf(e,t,n,o){if(Q.T===null&&ld===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:G0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Za(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Vo(e,n,o,2),t!==null&&(Su(2,"setOptimistic()",e),Ue(t,e,2))}function Za(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function ua(e,t){Vp=Cb=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pf(e,t,n){if((n&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Hg(e,n)}}function cc(e){if(e!==null&&typeof e!="function"){var t=String(e);dT.has(t)||(dT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function _r(e,t,n,o){var s=e.memoizedState,f=n(o,s);if(e.mode&Yn){Ut(!0);try{f=n(o,s)}finally{Ut(!1)}}f===void 0&&(t=ie(t)||"Component",cT.has(t)||(cT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=f==null?s:$e({},s,f),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function vh(e,t,n,o,s,f,y){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){if(n=v.shouldComponentUpdate(o,f,y),e.mode&Yn){Ut(!0);try{n=v.shouldComponentUpdate(o,f,y)}finally{Ut(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ie(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!lr(n,o)||!lr(s,f):!0}function Mu(e,t,n,o){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==s&&(e=de(e)||"Component",nT.has(e)||(nT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),NS.enqueueReplaceState(t,t.state,null))}function xu(e,t){var n=t;if("ref"in t){n={};for(var o in t)o!=="ref"&&(n[o]=t[o])}if(e=e.defaultProps){n===t&&(n=$e({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function bh(e){fS(e),console.warn(`%s
108
+ Incoming: %s`,X,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!cl(e[n],t[n]))return!1;return!0}function Fm(e,t,n,o,s,f){Nc=f,Ze=t,ei=e!==null?e._debugHookTypes:null,Hc=-1,$y=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(f=de(Ze),RS.has(f)||(RS.add(f),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",f===null?"An unknown Component":"<"+f+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=e!==null&&e.memoizedState!==null?NS:ei!==null?Pz:US,rd=f=(t.mode&Yn)!==Re;var y=AS(n,o,s);if(rd=!1,Vp&&(y=tf(t,n,o,s)),f){Ut(!0);try{y=tf(t,n,o,s)}finally{Ut(!1)}}return da(e,t),y}function da(e,t){t._debugHookTypes=ei,t.dependencies===null?Zc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Zc}):t.dependencies._debugThenableState=Zc,Q.H=ky;var n=jt!==null&&jt.next!==null;if(Nc=0,ei=X=La=jt=Ze=null,Hc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Cb=!1,Jy=0,Zc=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Va||(e=e.dependencies,e!==null&&cr(e)&&(Va=!0)),Gy?(Gy=!1,e=!0):e=!1,e&&(t=de(t)||"Unknown",Fz.has(t)||RS.has(t)||(Fz.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function tf(e,t,n,o){Ze=e;var s=0;do{if(Vp&&(Zc=null),Jy=0,Vp=!1,s>=Sx)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,$y=!1,La=jt=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Hc=-1,Q.H=eT,f=AS(t,n,o)}while(Vp);return f}function af(){var e=Q.H,t=e.useState()[0];return t=typeof t.then=="function"?uf(t):t,e=e.useState()[0],(jt!==null?jt.memoizedState:null)!==e&&(Ze.flags|=1024),t}function Po(){var e=Rb!==0;return Rb=0,e}function nf(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ci)!==Re?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function eo(e){if(Cb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Cb=!1}Nc=0,ei=La=jt=Ze=null,Hc=-1,X=null,Vp=!1,Jy=Rb=0,Zc=null}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return La===null?Ze.memoizedState=La=e:La=La.next=e,La}function bt(){if(jt===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=jt.next;var t=La===null?Ze.memoizedState:La.next;if(t!==null)La=t,jt=e;else{if(e===null)throw Ze.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");jt=e,e={memoizedState:jt.memoizedState,baseState:jt.baseState,baseQueue:jt.baseQueue,queue:jt.queue,next:null},La===null?Ze.memoizedState=La=e:La=La.next=e}return La}function lf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function uf(e){var t=Jy;return Jy+=1,Zc===null&&(Zc=oh()),e=kn(Zc,e,t),t=Ze,(La===null?t.memoizedState:La.next)===null&&(t=t.alternate,Q.H=t!==null&&t.memoizedState!==null?NS:US),e}function gi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return uf(e);if(e.$$typeof===tu)return pt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function In(e){var t=null,n=Ze.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var o=Ze.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=lf(),Ze.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||$y)for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=W1;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Fn(e,t){return typeof t=="function"?t(e):t}function pr(e,t,n){var o=va();if(n!==void 0){var s=n(t);if(rd){Ut(!0);try{n(t)}finally{Ut(!1)}}}else s=t;return o.memoizedState=o.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},o.queue=e,e=e.dispatch=$1.bind(null,Ze,e),[o.memoizedState,e]}function ec(e){var t=bt();return to(t,jt,e)}function to(e,t,n){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=n;var s=e.baseQueue,f=o.pending;if(f!==null){if(s!==null){var y=s.next;s.next=f.next,f.next=y}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=f,o.pending=null}if(f=e.baseState,s===null)e.memoizedState=f;else{t=s.next;var v=y=null,E=null,T=t,U=!1;do{var Z=T.lane&-536870913;if(Z!==T.lane?(Ie&Z)===Z:(Nc&Z)===Z){var M=T.revertLane;if(M===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),Z===ld&&(U=!0);else if((Nc&M)===M){T=T.next,M===ld&&(U=!0);continue}else Z={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(v=E=Z,y=f):E=E.next=Z,Ze.lanes|=M,ms|=M;Z=T.action,rd&&n(f,Z),f=T.hasEagerState?T.eagerState:n(f,Z)}else M={lane:Z,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(v=E=M,y=f):E=E.next=M,Ze.lanes|=Z,ms|=Z;T=T.next}while(T!==null&&T!==t);if(E===null?y=f:E.next=v,!cl(f,e.memoizedState)&&(Va=!0,U&&(n=Hp,n!==null)))throw n;e.memoizedState=f,e.baseState=y,e.baseQueue=E,o.lastRenderedState=f}return s===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function tc(e){var t=bt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var o=n.dispatch,s=n.pending,f=t.memoizedState;if(s!==null){n.pending=null;var y=s=s.next;do f=e(f,y.action),y=y.next;while(y!==s);cl(f,t.memoizedState)||(Va=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),n.lastRenderedState=f}return[f,o]}function mr(e,t,n){var o=Ze,s=va();if(it){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=n();Lp||f===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Lp=!0)}else{if(f=t(),Lp||(n=t(),cl(f,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Lp=!0)),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ie&127)!==0||Wm(o,t,f)}return s.memoizedState=f,n={value:f,getSnapshot:t},s.queue=n,lc(ao.bind(null,o,n,e),[e]),o.flags|=2048,Ou(Pu|fl,{destroy:void 0},Pm.bind(null,o,n,f,t),null),f}function ac(e,t,n){var o=Ze,s=bt(),f=it;if(f){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Lp){var y=t();cl(n,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Lp=!0)}(y=!cl((jt||s).memoizedState,n))&&(s.memoizedState=n,Va=!0),s=s.queue;var v=ao.bind(null,o,s,e);if(Aa(2048,fl,v,[e]),s.getSnapshot!==t||y||La!==null&&La.memoizedState.tag&Pu){if(o.flags|=2048,Ou(Pu|fl,{destroy:void 0},Pm.bind(null,o,s,n,t),null),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Nc&127)!==0||Wm(o,t,n)}return n}function Wm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ze.updateQueue,t===null?(t=lf(),Ze.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Pm(e,t,n,o){t.value=n,t.getSnapshot=o,no(t)&&e0(e)}function ao(e,t,n){return n(function(){no(t)&&(Su(2,"updateSyncExternalStore()",e),e0(e))})}function no(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!cl(e,n)}catch{return!0}}function e0(e){var t=an(e,2);t!==null&&Ue(t,e,2)}function fh(e){var t=va();if(typeof e=="function"){var n=e;if(e=n(),rd){Ut(!0);try{n()}finally{Ut(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:e},t}function lo(e){e=fh(e);var t=e.queue,n=gh.bind(null,Ze,t);return t.dispatch=n,[e.memoizedState,n]}function nc(e){var t=va();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=hf.bind(null,Ze,!0,n),n.dispatch=t,[e,t]}function of(e,t){var n=bt();return yr(n,jt,e,t)}function yr(e,t,n,o){return e.baseState=n,to(e,jt,typeof o=="function"?o:Fn)}function cf(e,t){var n=bt();return jt!==null?yr(n,jt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function iv(e,t,n,o,s){if(Za(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var f={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};Q.T!==null?n(!0):f.isTransition=!1,o(f),n=t.pending,n===null?(f.next=t.pending=f,uo(t,f)):(f.next=n.next,t.pending=n.next=f)}}function uo(e,t){var n=t.action,o=t.payload,s=e.state;if(t.isTransition){var f=Q.T,y={};y._updatedFibers=new Set,Q.T=y;try{var v=n(s,o),E=Q.S;E!==null&&E(y,v),t0(e,t,v)}catch(T){rf(e,t,T)}finally{f!==null&&y.types!==null&&(f.types!==null&&f.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=y.types),Q.T=f,f===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{y=n(s,o),t0(e,t,y)}catch(T){rf(e,t,T)}}function t0(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(Q.asyncTransitions++,n.then(uc,uc),n.then(function(o){vi(e,t,o)},function(o){return rf(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):vi(e,t,n)}function vi(e,t,n){t.status="fulfilled",t.value=n,dh(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,uo(e,n)))}function rf(e,t,n){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=n,dh(t),t=t.next;while(t!==o)}e.action=null}function dh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bi(e,t){return t}function Wn(e,t){if(it){var n=Bt.formState;if(n!==null){e:{var o=Ze;if(it){if($t){t:{for(var s=$t,f=Iu;s.nodeType!==8;){if(!f){s=null;break t}if(s=ll(s.nextSibling),s===null){s=null;break t}}f=s.data,s=f===n2||f===qT?s:null}if(s){$t=ll(s.nextSibling),o=s.data===n2;break e}}gl(o)}o=!1}o&&(t=n[0])}}return n=va(),n.memoizedState=n.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:t},n.queue=o,n=gh.bind(null,Ze,o),o.dispatch=n,o=fh(!1),f=hf.bind(null,Ze,!1,o.queue),o=va(),s={state:t,dispatch:null,action:e,pending:null},o.queue=s,n=iv.bind(null,Ze,s,f,n),s.dispatch=n,o.memoizedState=e,[t,n,!1]}function io(e){var t=bt();return hh(t,jt,e)}function hh(e,t,n){if(t=to(e,t,bi)[0],e=ec(Fn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=uf(t)}catch(y){throw y===jp?wb:y}else o=t;t=bt();var s=t.queue,f=s.dispatch;return n!==t.memoizedState&&(Ze.flags|=2048,Ou(Pu|fl,{destroy:void 0},a0.bind(null,s,n),null)),[o,f,e]}function a0(e,t){e.action=t}function oo(e){var t=bt(),n=jt;if(n!==null)return hh(t,n,e);bt(),t=t.memoizedState,n=bt();var o=n.queue.dispatch;return n.memoizedState=e,[t,o,!1]}function Ou(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},t=Ze.updateQueue,t===null&&(t=lf(),Ze.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function ph(e){var t=va();return e={current:e},t.memoizedState=e}function co(e,t,n,o){var s=va();Ze.flags|=e,s.memoizedState=Ou(Pu|t,{destroy:void 0},n,o===void 0?null:o)}function Aa(e,t,n,o){var s=bt();o=o===void 0?null:o;var f=s.memoizedState.inst;jt!==null&&o!==null&&Im(o,jt.memoizedState.deps)?s.memoizedState=Ou(t,f,n,o):(Ze.flags|=e,s.memoizedState=Ou(Pu|t,f,n,o))}function lc(e,t){(Ze.mode&Ci)!==Re?co(276826112,fl,e,t):co(8390656,fl,e,t)}function ov(e){Ze.flags|=4;var t=Ze.updateQueue;if(t===null)t=lf(),Ze.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function sf(e){var t=va(),n={impl:e};return t.memoizedState=n,function(){if((ft&Pa)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function gr(e){var t=bt().memoizedState;return ov({ref:t,nextImpl:e}),function(){if((ft&Pa)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function bn(e,t){var n=4194308;return(Ze.mode&Ci)!==Re&&(n|=134217728),co(n,iu,e,t)}function Pn(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function wu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var o=4194308;(Ze.mode&Ci)!==Re&&(o|=134217728),co(o,iu,Pn.bind(null,t,e),n)}function vr(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Aa(4,iu,Pn.bind(null,t,e),n)}function mh(e,t){return va().memoizedState=[e,t===void 0?null:t],e}function Jl(e,t){var n=bt();t=t===void 0?null:t;var o=n.memoizedState;return t!==null&&Im(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function Sn(e,t){var n=va();t=t===void 0?null:t;var o=e();if(rd){Ut(!0);try{e()}finally{Ut(!1)}}return n.memoizedState=[o,t],o}function Gt(e,t){var n=bt();t=t===void 0?null:t;var o=n.memoizedState;if(t!==null&&Im(t,o[1]))return o[0];if(o=e(),rd){Ut(!0);try{e()}finally{Ut(!1)}}return n.memoizedState=[o,t],o}function br(e,t){var n=va();return St(n,e,t)}function Du(e,t){var n=bt();return ha(n,jt.memoizedState,e,t)}function Le(e,t){var n=bt();return jt===null?St(n,e,t):ha(n,jt.memoizedState,e,t)}function St(e,t,n){return n===void 0||(Nc&1073741824)!==0&&(Ie&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=wr(),Ze.lanes|=e,ms|=e,n)}function ha(e,t,n,o){return cl(n,t)?n:qp.current!==null?(e=St(e,n,o),cl(e,t)||(Va=!0),e):(Nc&42)===0||(Nc&1073741824)!==0&&(Ie&261930)===0?(Va=!0,e.memoizedState=n):(e=wr(),Ze.lanes|=e,ms|=e,t)}function uc(){Q.asyncTransitions--}function ic(e,t,n,o,s){var f=yt.p;yt.p=f!==0&&f<Fa?f:Fa;var y=Q.T,v={};v._updatedFibers=new Set,Q.T=v,hf(e,!1,t,n);try{var E=s(),T=Q.S;if(T!==null&&T(v,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){Q.asyncTransitions++,E.then(uc,uc);var U=ih(E,o);oc(e,t,U,ln(e))}else oc(e,t,o,ln(e))}catch(Z){oc(e,t,{then:function(){},status:"rejected",reason:Z},ln(e))}finally{yt.p=f,y!==null&&v.types!==null&&(y.types!==null&&y.types!==v.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=v.types),Q.T=y,y===null&&v._updatedFibers&&(e=v._updatedFibers.size,v._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Si(e,t,n,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=ff(e).queue;lv(e),ic(e,s,t,Sd,n===null?O:function(){return Sr(e),n(o)})}function ff(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Sd,baseState:Sd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:Sd},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Sr(e){Q.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ff(e);t.next===null&&(t=e.alternate.memoizedState),oc(e,t.next.queue,{},ln(e))}function ro(){var e=fh(!1);return e=ic.bind(null,Ze,e.queue,!0,!1),va().memoizedState=e,[!1,e]}function cv(){var e=ec(Fn)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:uf(e),t]}function Wt(){var e=tc(Fn)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:uf(e),t]}function _i(){return pt(rg)}function df(){var e=va(),t=Bt.identifierPrefix;if(it){var n=Mc,o=Dc;n=(o&~(1<<32-Ia(o)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Rb++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=bx++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function yh(){return va().memoizedState=rv.bind(null,Ze)}function rv(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var o=ln(n),s=Ta(o),f=zu(n,s,o);f!==null&&(Su(o,"refresh()",e),Ue(f,n,o),El(f,n,o)),e=lh(),t!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function $1(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ln(e);var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Za(e)?ua(t,s):(s=Vo(e,t,s,o),s!==null&&(Su(o,"dispatch()",e),Ue(s,e,o),pf(s,t,o)))}function gh(e,t,n){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ln(e),oc(e,t,n,o)&&Su(o,"setState()",e)}function oc(e,t,n,o){var s={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Za(e))ua(t,s);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null)){var y=Q.H;Q.H=Ui;try{var v=t.lastRenderedState,E=f(v,n);if(s.hasEagerState=!0,s.eagerState=E,cl(E,v))return ur(e,t,s,0),Bt===null&&Wd(),!1}catch{}finally{Q.H=y}}if(n=Vo(e,t,s,o),n!==null)return Ue(n,e,o),pf(n,t,o),!0}return!1}function hf(e,t,n,o){if(Q.T===null&&ld===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:G0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Za(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Vo(e,n,o,2),t!==null&&(Su(2,"setOptimistic()",e),Ue(t,e,2))}function Za(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function ua(e,t){Vp=Cb=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pf(e,t,n){if((n&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Hg(e,n)}}function cc(e){if(e!==null&&typeof e!="function"){var t=String(e);fT.has(t)||(fT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function _r(e,t,n,o){var s=e.memoizedState,f=n(o,s);if(e.mode&Yn){Ut(!0);try{f=n(o,s)}finally{Ut(!1)}}f===void 0&&(t=ie(t)||"Component",oT.has(t)||(oT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=f==null?s:$e({},s,f),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function vh(e,t,n,o,s,f,y){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){if(n=v.shouldComponentUpdate(o,f,y),e.mode&Yn){Ut(!0);try{n=v.shouldComponentUpdate(o,f,y)}finally{Ut(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ie(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!lr(n,o)||!lr(s,f):!0}function Mu(e,t,n,o){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==s&&(e=de(e)||"Component",aT.has(e)||(aT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ZS.enqueueReplaceState(t,t.state,null))}function xu(e,t){var n=t;if("ref"in t){n={};for(var o in t)o!=="ref"&&(n[o]=t[o])}if(e=e.defaultProps){n===t&&(n=$e({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function bh(e){dS(e),console.warn(`%s
109
109
 
110
110
  %s
111
111
  `,Gp?"An error occurred in the <"+Gp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
112
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Sh(e){var t=Gp?"The above error occurred in the <"+Gp+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((ZS||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
112
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Sh(e){var t=Gp?"The above error occurred in the <"+Gp+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((HS||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
113
113
 
114
114
  %s
115
115
 
116
116
  %s
117
- `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,kT+" "+e[0],KT,n1+o+n1,IT):e.splice(0,0,kT,KT,n1+o+n1,IT),e.unshift(console),o=qx.apply(console.error,e),o()}else console.error(`%o
117
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,$T+" "+e[0],kT,n1+o+n1,KT):e.splice(0,0,$T,kT,n1+o+n1,KT),e.unshift(console),o=Yx.apply(console.error,e),o()}else console.error(`%o
118
118
 
119
119
  %s
120
120
 
121
121
  %s
122
- `,e,t,n)}function n0(e){fS(e)}function mf(e,t){try{Gp=t.source?de(t.source):null,ZS=null;var n=t.value;if(Q.actQueue!==null)Q.thrownErrors.push(n);else{var o=e.onUncaughtError;o(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function l0(e,t,n){try{Gp=n.source?de(n.source):null,ZS=de(t);var o=e.onCaughtError;o(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function _h(e,t,n){return n=Ta(n),n.tag=DS,n.payload={element:null},n.callback=function(){pe(t.source,mf,e,t)},n}function Eh(e){return e=Ta(e),e.tag=DS,e}function zh(e,t,n,o){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var f=o.value;e.payload=function(){return s(f)},e.callback=function(){Go(n),pe(o.source,l0,t,n,o)}}var y=n.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Go(n),pe(o.source,l0,t,n,o),typeof s!="function"&&(gs===null?gs=new Set([this]):gs.add(this)),px(this,o),typeof s=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",de(n)||"Unknown")})}function u0(e,t,n,o,s){if(n.flags|=32768,Gu&&Rr(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=n.alternate,t!==null&&Ll(t,n,s,!0),it&&(Oo=!0),n=uu.current,n!==null){switch(n.tag){case 31:case 13:return Wu===null?Mr():n.alternate===null&&oa===Bc&&(oa=Zb),n.flags&=-257,n.flags|=65536,n.lanes=s,o===Db?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([o]):t.add(o),Gh(e,o,s)),!1;case 22:return n.flags|=65536,o===Db?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([o]):n.add(o)),Gh(e,o,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Gh(e,o,s),Mr(),!1}if(it)return Oo=!0,t=uu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,o!==gS&&$s(pn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),n))):(o!==gS&&$s(pn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,o=pn(o,n),s=_h(e.stateNode,o,s),Ps(e,s),oa!==hs&&(oa=sd)),!1;var f=pn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),n);if(eg===null?eg=[f]:eg.push(f),oa!==hs&&(oa=sd),t===null)return!0;o=pn(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=_h(n.stateNode,o,e),Ps(n,e),!1;case 1:if(t=n.type,f=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(gs===null||!gs.has(f))))return n.flags|=65536,s&=-s,n.lanes|=s,s=Eh(s),zh(s,e,n,o),Ps(n,s),!1}n=n.return}while(n!==null);return!1}function Ha(e,t,n,o){t.child=e===null?Jz(t,null,n,o):cd(t,e.child,n,o)}function sv(e,t,n,o,s){n=n.render;var f=t.ref;if("ref"in o){var y={};for(var v in o)v!=="ref"&&(y[v]=o[v])}else y=o;return Wi(t),o=Fm(e,t,n,y,f,s),v=Po(),e!==null&&!Va?(nf(e,t,s),$l(e,t,s)):(it&&v&&th(t),t.flags|=1,Ha(e,t,o,s),t.child)}function i0(e,t,n,o,s){if(e===null){var f=n.type;return typeof f=="function"&&!Bm(f)&&f.defaultProps===void 0&&n.compare===null?(n=$i(f),t.tag=15,t.type=n,Er(t,f),o0(e,t,n,o,s)):(e=Xo(n.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Dh(e,s)){var y=f.memoizedProps;if(n=n.compare,n=n!==null?n:lr,n(y,o)&&e.ref===t.ref)return $l(e,t,s)}return t.flags|=1,e=bu(f,o),e.ref=t.ref,e.return=t,t.child=e}function o0(e,t,n,o,s){if(e!==null){var f=e.memoizedProps;if(lr(f,o)&&e.ref===t.ref&&t.type===e.type)if(Va=!1,t.pendingProps=o=f,Dh(e,s))(e.flags&131072)!==0&&(Va=!0);else return t.lanes=e.lanes,$l(e,t,s)}return f0(e,t,n,o,s)}function c0(e,t,n,o){var s=o.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:My,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|n:n,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;o=s&~f}else o=0,t.child=null;return r0(e,t,f,n,o)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&sr(t,f!==null?f.cachePool:null),f!==null?rh(t,f):mi(t),sh(t);else return o=t.lanes=536870912,r0(e,t,f!==null?f.baseLanes|n:n,n,o)}else f!==null?(sr(t,f.cachePool),rh(t,f),Au(t),t.memoizedState=null):(e!==null&&sr(t,null),mi(t),Au(t));return Ha(e,t,s,n),t.child}function rc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:My,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function r0(e,t,n,o,s){var f=pi();return f=f===null?null:{parent:qa._currentValue,pool:f},t.memoizedState={baseLanes:n,cachePool:f},e!==null&&sr(t,null),mi(t),sh(t),e!==null&&Ll(e,t,o,!0),t.childLanes=s,null}function yf(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
122
+ `,e,t,n)}function n0(e){dS(e)}function mf(e,t){try{Gp=t.source?de(t.source):null,HS=null;var n=t.value;if(Q.actQueue!==null)Q.thrownErrors.push(n);else{var o=e.onUncaughtError;o(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function l0(e,t,n){try{Gp=n.source?de(n.source):null,HS=de(t);var o=e.onCaughtError;o(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function _h(e,t,n){return n=Ta(n),n.tag=MS,n.payload={element:null},n.callback=function(){pe(t.source,mf,e,t)},n}function Eh(e){return e=Ta(e),e.tag=MS,e}function zh(e,t,n,o){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var f=o.value;e.payload=function(){return s(f)},e.callback=function(){Go(n),pe(o.source,l0,t,n,o)}}var y=n.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Go(n),pe(o.source,l0,t,n,o),typeof s!="function"&&(gs===null?gs=new Set([this]):gs.add(this)),mx(this,o),typeof s=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",de(n)||"Unknown")})}function u0(e,t,n,o,s){if(n.flags|=32768,Gu&&Rr(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=n.alternate,t!==null&&Ll(t,n,s,!0),it&&(Oo=!0),n=uu.current,n!==null){switch(n.tag){case 31:case 13:return Wu===null?Mr():n.alternate===null&&oa===Bc&&(oa=Zb),n.flags&=-257,n.flags|=65536,n.lanes=s,o===Db?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([o]):t.add(o),Gh(e,o,s)),!1;case 22:return n.flags|=65536,o===Db?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([o]):n.add(o)),Gh(e,o,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Gh(e,o,s),Mr(),!1}if(it)return Oo=!0,t=uu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,o!==vS&&$s(pn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),n))):(o!==vS&&$s(pn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,o=pn(o,n),s=_h(e.stateNode,o,s),Ps(e,s),oa!==hs&&(oa=sd)),!1;var f=pn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),n);if(eg===null?eg=[f]:eg.push(f),oa!==hs&&(oa=sd),t===null)return!0;o=pn(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=_h(n.stateNode,o,e),Ps(n,e),!1;case 1:if(t=n.type,f=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(gs===null||!gs.has(f))))return n.flags|=65536,s&=-s,n.lanes|=s,s=Eh(s),zh(s,e,n,o),Ps(n,s),!1}n=n.return}while(n!==null);return!1}function Ha(e,t,n,o){t.child=e===null?Qz(t,null,n,o):cd(t,e.child,n,o)}function sv(e,t,n,o,s){n=n.render;var f=t.ref;if("ref"in o){var y={};for(var v in o)v!=="ref"&&(y[v]=o[v])}else y=o;return Wi(t),o=Fm(e,t,n,y,f,s),v=Po(),e!==null&&!Va?(nf(e,t,s),$l(e,t,s)):(it&&v&&th(t),t.flags|=1,Ha(e,t,o,s),t.child)}function i0(e,t,n,o,s){if(e===null){var f=n.type;return typeof f=="function"&&!Bm(f)&&f.defaultProps===void 0&&n.compare===null?(n=$i(f),t.tag=15,t.type=n,Er(t,f),o0(e,t,n,o,s)):(e=Xo(n.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Dh(e,s)){var y=f.memoizedProps;if(n=n.compare,n=n!==null?n:lr,n(y,o)&&e.ref===t.ref)return $l(e,t,s)}return t.flags|=1,e=bu(f,o),e.ref=t.ref,e.return=t,t.child=e}function o0(e,t,n,o,s){if(e!==null){var f=e.memoizedProps;if(lr(f,o)&&e.ref===t.ref&&t.type===e.type)if(Va=!1,t.pendingProps=o=f,Dh(e,s))(e.flags&131072)!==0&&(Va=!0);else return t.lanes=e.lanes,$l(e,t,s)}return f0(e,t,n,o,s)}function c0(e,t,n,o){var s=o.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:My,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|n:n,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;o=s&~f}else o=0,t.child=null;return r0(e,t,f,n,o)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&sr(t,f!==null?f.cachePool:null),f!==null?rh(t,f):mi(t),sh(t);else return o=t.lanes=536870912,r0(e,t,f!==null?f.baseLanes|n:n,n,o)}else f!==null?(sr(t,f.cachePool),rh(t,f),Au(t),t.memoizedState=null):(e!==null&&sr(t,null),mi(t),Au(t));return Ha(e,t,s,n),t.child}function rc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:My,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function r0(e,t,n,o,s){var f=pi();return f=f===null?null:{parent:qa._currentValue,pool:f},t.memoizedState={baseLanes:n,cachePool:f},e!==null&&sr(t,null),mi(t),sh(t),e!==null&&Ll(e,t,o,!0),t.childLanes=s,null}function yf(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
123
123
  - <Activity %s>
124
- + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=vf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function s0(e,t,n){return cd(t,e.child,null,n),e=yf(t,t.pendingProps),e.flags|=2,Na(t),t.memoizedState=null,e}function fv(e,t,n){var o=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(it){if(o.mode==="hidden")return e=yf(t,o),t.lanes=536870912,rc(null,e);if(Ql(t),(e=$t)?(n=Et(e,Iu),n=n!==null&&n.data===yd?n:null,n!==null&&(o={dehydrated:n,treeContext:tv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Ym(n),o.return=t,t.child=o,Mn=t,$t=null)):n=null,n===null)throw nn(t,e),gl(t);return t.lanes=536870912,null}return yf(t,o)}var f=e.memoizedState;if(f!==null){var y=f.dehydrated;if(Ql(t),s)if(t.flags&256)t.flags&=-257,t=s0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nv(),(n&536870912)!==0&&Dr(t),Va||Ll(e,t,n,!1),s=(n&e.childLanes)!==0,Va||s){if(o=Bt,o!==null&&(y=jg(o,n),y!==0&&y!==f.retryLane))throw f.retryLane=y,an(e,y),Ue(o,e,y),HS;Mr(),t=s0(e,t,n)}else e=f.treeContext,$t=ll(y.nextSibling),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!1,e!==null&&av(t,e),t=yf(t,o),t.flags|=4096;return t}return f=e.child,o={mode:o.mode,children:o.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Dr(t),e=bu(f,o),e.ref=t.ref,t.child=e,e.return=t,e}function gf(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function f0(e,t,n,o,s){if(n.prototype&&typeof n.prototype.render=="function"){var f=ie(n)||"Unknown";hT[f]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",f,f),hT[f]=!0)}return t.mode&Yn&&Ri.recordLegacyContextWarning(t,null),e===null&&(Er(t,t.type),n.contextTypes&&(f=ie(n)||"Unknown",mT[f]||(mT[f]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",f)))),Wi(t),n=Fm(e,t,n,o,void 0,s),o=Po(),e!==null&&!Va?(nf(e,t,s),$l(e,t,s)):(it&&o&&th(t),t.flags|=1,Ha(e,t,n,s),t.child)}function d0(e,t,n,o,s,f){return Wi(t),Hc=-1,$y=e!==null&&e.type!==t.type,t.updateQueue=null,n=tf(t,o,n,s),da(e,t),o=Po(),e!==null&&!Va?(nf(e,t,f),$l(e,t,f)):(it&&o&&th(t),t.flags|=1,Ha(e,t,n,f),t.child)}function sc(e,t,n,o,s){switch(_(t)){case!1:var f=t.stateNode,y=new t.type(t.memoizedProps,f.context).state;f.updater.enqueueSetState(f,y,null);break;case!0:t.flags|=128,t.flags|=65536,f=Error("Simulated error coming from DevTools");var v=s&-s;if(t.lanes|=v,y=Bt,y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");v=Eh(v),zh(v,y,t,pn(f,t)),Ps(t,v)}if(Wi(t),t.stateNode===null){if(y=is,f=n.contextType,"contextType"in n&&f!==null&&(f===void 0||f.$$typeof!==tu)&&!fT.has(n)&&(fT.add(n),v=f===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===fp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ie(n)||"Component",v)),typeof f=="object"&&f!==null&&(y=pt(f)),f=new n(o,y),t.mode&Yn){Ut(!0);try{f=new n(o,y)}finally{Ut(!1)}}if(y=t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=NS,t.stateNode=f,f._reactInternals=t,f._reactInternalInstance=aT,typeof n.getDerivedStateFromProps=="function"&&y===null&&(y=ie(n)||"Component",lT.has(y)||(lT.add(y),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",y,f.state===null?"null":"undefined",y))),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=v=y=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?y="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(y="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?v="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(v="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),y!==null||v!==null||E!==null){f=ie(n)||"Component";var T=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";iT.has(f)||(iT.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
124
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=vf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function s0(e,t,n){return cd(t,e.child,null,n),e=yf(t,t.pendingProps),e.flags|=2,Na(t),t.memoizedState=null,e}function fv(e,t,n){var o=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(it){if(o.mode==="hidden")return e=yf(t,o),t.lanes=536870912,rc(null,e);if(Ql(t),(e=$t)?(n=Et(e,Iu),n=n!==null&&n.data===yd?n:null,n!==null&&(o={dehydrated:n,treeContext:tv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Ym(n),o.return=t,t.child=o,Mn=t,$t=null)):n=null,n===null)throw nn(t,e),gl(t);return t.lanes=536870912,null}return yf(t,o)}var f=e.memoizedState;if(f!==null){var y=f.dehydrated;if(Ql(t),s)if(t.flags&256)t.flags&=-257,t=s0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nv(),(n&536870912)!==0&&Dr(t),Va||Ll(e,t,n,!1),s=(n&e.childLanes)!==0,Va||s){if(o=Bt,o!==null&&(y=jg(o,n),y!==0&&y!==f.retryLane))throw f.retryLane=y,an(e,y),Ue(o,e,y),jS;Mr(),t=s0(e,t,n)}else e=f.treeContext,$t=ll(y.nextSibling),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!1,e!==null&&av(t,e),t=yf(t,o),t.flags|=4096;return t}return f=e.child,o={mode:o.mode,children:o.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Dr(t),e=bu(f,o),e.ref=t.ref,t.child=e,e.return=t,e}function gf(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function f0(e,t,n,o,s){if(n.prototype&&typeof n.prototype.render=="function"){var f=ie(n)||"Unknown";dT[f]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",f,f),dT[f]=!0)}return t.mode&Yn&&Ri.recordLegacyContextWarning(t,null),e===null&&(Er(t,t.type),n.contextTypes&&(f=ie(n)||"Unknown",pT[f]||(pT[f]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",f)))),Wi(t),n=Fm(e,t,n,o,void 0,s),o=Po(),e!==null&&!Va?(nf(e,t,s),$l(e,t,s)):(it&&o&&th(t),t.flags|=1,Ha(e,t,n,s),t.child)}function d0(e,t,n,o,s,f){return Wi(t),Hc=-1,$y=e!==null&&e.type!==t.type,t.updateQueue=null,n=tf(t,o,n,s),da(e,t),o=Po(),e!==null&&!Va?(nf(e,t,f),$l(e,t,f)):(it&&o&&th(t),t.flags|=1,Ha(e,t,n,f),t.child)}function sc(e,t,n,o,s){switch(_(t)){case!1:var f=t.stateNode,y=new t.type(t.memoizedProps,f.context).state;f.updater.enqueueSetState(f,y,null);break;case!0:t.flags|=128,t.flags|=65536,f=Error("Simulated error coming from DevTools");var v=s&-s;if(t.lanes|=v,y=Bt,y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");v=Eh(v),zh(v,y,t,pn(f,t)),Ps(t,v)}if(Wi(t),t.stateNode===null){if(y=is,f=n.contextType,"contextType"in n&&f!==null&&(f===void 0||f.$$typeof!==tu)&&!sT.has(n)&&(sT.add(n),v=f===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===fp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ie(n)||"Component",v)),typeof f=="object"&&f!==null&&(y=pt(f)),f=new n(o,y),t.mode&Yn){Ut(!0);try{f=new n(o,y)}finally{Ut(!1)}}if(y=t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ZS,t.stateNode=f,f._reactInternals=t,f._reactInternalInstance=tT,typeof n.getDerivedStateFromProps=="function"&&y===null&&(y=ie(n)||"Component",nT.has(y)||(nT.add(y),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",y,f.state===null?"null":"undefined",y))),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=v=y=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?y="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(y="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?v="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(v="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),y!==null||v!==null||E!==null){f=ie(n)||"Component";var T=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";uT.has(f)||(uT.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
125
125
 
126
126
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
127
127
 
@@ -129,8 +129,8 @@ The above lifecycles should be removed. Learn more about this warning here:
129
129
  https://react.dev/link/unsafe-component-lifecycles`,f,T,y!==null?`
130
130
  `+y:"",v!==null?`
131
131
  `+v:"",E!==null?`
132
- `+E:""))}}f=t.stateNode,y=ie(n)||"Component",f.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",y):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",y)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),n.childContextTypes&&!sT.has(n)&&(sT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",y)),n.contextTypes&&!rT.has(n)&&(rT.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",y)),typeof f.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",y),n.prototype&&n.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ie(n)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof f.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",y),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y),v=f.props!==o,f.props!==void 0&&v&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y),f.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",y,y),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||uT.has(n)||(uT.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ie(n))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y),(v=f.state)&&(typeof v!="object"||Sa(v))&&console.error("%s.state: must be set to an object or null",y),typeof f.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y),f=t.stateNode,f.props=o,f.state=t.memoizedState,f.refs={},nt(t),y=n.contextType,f.context=typeof y=="object"&&y!==null?pt(y):is,f.state===o&&(y=ie(n)||"Component",oT.has(y)||(oT.add(y),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))),t.mode&Yn&&Ri.recordLegacyContextWarning(t,f),Ri.recordUnsafeLifecycleWarnings(t,f),f.state=t.memoizedState,y=n.getDerivedStateFromProps,typeof y=="function"&&(_r(t,n,y,o),f.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",de(t)||"Component"),NS.enqueueReplaceState(f,f.state,null)),Tu(t,o,f,s),dr(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),f=!0}else if(e===null){f=t.stateNode;var U=t.memoizedProps;v=xu(n,U),f.props=v;var Z=f.context;E=n.contextType,y=is,typeof E=="object"&&E!==null&&(y=pt(E)),T=n.getDerivedStateFromProps,E=typeof T=="function"||typeof f.getSnapshotBeforeUpdate=="function",U=t.pendingProps!==U,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(U||Z!==y)&&Mu(t,f,o,y),ds=!1;var M=t.memoizedState;f.state=M,Tu(t,o,f,s),dr(),Z=t.memoizedState,U||M!==Z||ds?(typeof T=="function"&&(_r(t,n,T,o),Z=t.memoizedState),(v=ds||vh(t,n,v,o,M,Z,y))?(E||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=Z),f.props=o,f.state=Z,f.context=y,f=v):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),f=!1)}else{f=t.stateNode,Eu(e,t),y=t.memoizedProps,E=xu(n,y),f.props=E,T=t.pendingProps,M=f.context,Z=n.contextType,v=is,typeof Z=="object"&&Z!==null&&(v=pt(Z)),U=n.getDerivedStateFromProps,(Z=typeof U=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==T||M!==v)&&Mu(t,f,o,v),ds=!1,M=t.memoizedState,f.state=M,Tu(t,o,f,s),dr();var G=t.memoizedState;y!==T||M!==G||ds||e!==null&&e.dependencies!==null&&cr(e.dependencies)?(typeof U=="function"&&(_r(t,n,U,o),G=t.memoizedState),(E=ds||vh(t,n,E,o,M,G,v)||e!==null&&e.dependencies!==null&&cr(e.dependencies))?(Z||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,G,v),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,G,v)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=G),f.props=o,f.state=G,f.context=v,f=E):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),f=!1)}if(v=f,gf(e,t),y=(t.flags&128)!==0,v||y){if(v=t.stateNode,Rs(t),y&&typeof n.getDerivedStateFromError!="function")n=null,rl=-1;else if(n=Rz(v),t.mode&Yn){Ut(!0);try{Rz(v)}finally{Ut(!1)}}t.flags|=1,e!==null&&y?(t.child=cd(t,e.child,null,s),t.child=cd(t,null,n,s)):Ha(e,t,n,s),t.memoizedState=v.state,e=t.child}else e=$l(e,t,s);return s=t.stateNode,f&&s.props!==o&&(Xp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",de(t)||"a component"),Xp=!0),e}function h0(e,t,n,o){return Ii(),t.flags|=256,Ha(e,t,n,o),t.child}function Er(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
133
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ie(t)||"Unknown",yT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),yT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ie(t)||"Unknown",pT[t]||(console.error("%s: Function components do not support contextType.",t),pT[t]=!0))}function zr(e){return{baseLanes:e,cachePool:Jm()}}function Th(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=xl),e}function Ah(e,t,n){var o,s=t.pendingProps;b(t)&&(t.flags|=128);var f=!1,y=(t.flags&128)!==0;if((o=y)||(o=e!==null&&e.memoizedState===null?!1:(Ma.current&Qy)!==0),o&&(f=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(it){if(f?vn(t):Au(t),(e=$t)?(n=Et(e,Iu),n=n!==null&&n.data!==yd?n:null,n!==null&&(o={dehydrated:n,treeContext:tv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Ym(n),o.return=t,t.child=o,Mn=t,$t=null)):n=null,n===null)throw nn(t,e),gl(t);return J0(n)?t.lanes=32:t.lanes=536870912,null}var v=s.children;if(s=s.fallback,f){Au(t);var E=t.mode;return v=vf({mode:"hidden",children:v},E),s=Qo(s,E,n,null),v.return=t,s.return=t,v.sibling=s,t.child=v,s=t.child,s.memoizedState=zr(n),s.childLanes=Th(e,o,n),t.memoizedState=jS,rc(null,s)}return vn(t),p0(t,v)}var T=e.memoizedState;if(T!==null){var U=T.dehydrated;if(U!==null){if(y)t.flags&256?(vn(t),t.flags&=-257,t=Oh(e,t,n)):t.memoizedState!==null?(Au(t),t.child=e.child,t.flags|=128,t=null):(Au(t),v=s.fallback,E=t.mode,s=vf({mode:"visible",children:s.children},E),v=Qo(v,E,n,null),v.flags|=2,s.return=t,v.return=t,s.sibling=v,t.child=s,cd(t,e.child,null,n),s=t.child,s.memoizedState=zr(n),s.childLanes=Th(e,o,n),t.memoizedState=jS,t=rc(null,s));else if(vn(t),nv(),(n&536870912)!==0&&Dr(t),J0(U)){if(o=U.nextSibling&&U.nextSibling.dataset,o){v=o.dgst;var Z=o.msg;E=o.stck;var M=o.cstck}f=Z,o=v,s=E,U=M,v=f,E=U,v=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),v.stack=s||"",v.digest=o,o=E===void 0?null:E,s={value:v,source:null,stack:o},typeof o=="string"&&yS.set(v,s),$s(s),t=Oh(e,t,n)}else if(Va||Ll(e,t,n,!1),o=(n&e.childLanes)!==0,Va||o){if(o=Bt,o!==null&&(s=jg(o,n),s!==0&&s!==T.retryLane))throw T.retryLane=s,an(e,s),Ue(o,e,s),HS;Hf(U)||Mr(),t=Oh(e,t,n)}else Hf(U)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,$t=ll(U.nextSibling),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!1,e!==null&&av(t,e),t=p0(t,s.children),t.flags|=4096);return t}}return f?(Au(t),v=s.fallback,E=t.mode,M=e.child,U=M.sibling,s=bu(M,{mode:"hidden",children:s.children}),s.subtreeFlags=M.subtreeFlags&65011712,U!==null?v=bu(U,v):(v=Qo(v,E,n,null),v.flags|=2),v.return=t,s.return=t,s.sibling=v,t.child=s,rc(null,s),s=t.child,v=e.child.memoizedState,v===null?v=zr(n):(E=v.cachePool,E!==null?(M=qa._currentValue,E=E.parent!==M?{parent:M,pool:M}:E):E=Jm(),v={baseLanes:v.baseLanes|n,cachePool:E}),s.memoizedState=v,s.childLanes=Th(e,o,n),t.memoizedState=jS,rc(e.child,s)):(T!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Dr(t),vn(t),n=e.child,e=n.sibling,n=bu(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function p0(e,t){return t=vf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function vf(e,t){return e=ae(22,e,null,t),e.lanes=0,e}function Oh(e,t,n){return cd(t,e.child,null,n),e=p0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function m0(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),nh(e.return,t,n)}function wh(e,t,n,o,s,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:s,treeForkCount:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=o,y.tail=n,y.tailMode=s,y.treeForkCount=f)}function y0(e,t,n){var o=t.pendingProps,s=o.revealOrder,f=o.tail,y=o.children,v=Ma.current;if((o=(v&Qy)!==0)?(v=v&Yp|Qy,t.flags|=128):v&=Yp,Fe(Ma,v,t),v=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!gT[v])if(gT[v]=!0,s==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(s==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof s=="string")switch(s.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',s,s.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);v=f??"null",Nb[v]||(f==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(Nb[v]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(Nb[v]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(Nb[v]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&y!==void 0&&y!==null&&y!==!1)if(Sa(y)){for(v=0;v<y.length;v++)if(!Nt(y[v],v))break e}else if(v=Te(y),typeof v=="function"){if(v=v.call(y))for(var E=v.next(),T=0;!E.done;E=v.next()){if(!Nt(E.value,T))break e;T++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',s);if(Ha(e,t,y,n),it?(Ki(),y=xy):y=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&m0(e,n,t);else if(e.tag===19)m0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Wo(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),wh(t,!1,s,n,f,y);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Wo(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}wh(t,!0,n,null,f,y);break;case"together":wh(t,!1,null,null,void 0,y);break;default:t.memoizedState=null}return t.child}function $l(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),rl=-1,ms|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ll(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=bu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=bu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&cr(e)))}function dv(e,t,n){switch(t.tag){case 3:tn(t,t.stateNode.containerInfo),vl(t,qa,e.memoizedState.cache),Ii();break;case 27:case 5:le(t);break;case 4:tn(t,t.stateNode.containerInfo);break;case 10:vl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ql(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(vn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Ah(e,t,n):(vn(t),e=$l(e,t,n),e!==null?e.sibling:null);vn(t);break;case 19:var s=(e.flags&128)!==0;if(o=(n&t.childLanes)!==0,o||(Ll(e,t,n,!1),o=(n&t.childLanes)!==0),s){if(o)return y0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Fe(Ma,Ma.current,t),o)break;return null;case 22:return t.lanes=0,c0(e,t,n,t.pendingProps);case 24:vl(t,qa,e.memoizedState.cache)}return $l(e,t,n)}function bf(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Xo(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===o.child)o.child=n;else{var s=o.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Va=!0;else{if(!Dh(e,n)&&(t.flags&128)===0)return Va=!1,dv(e,t,n);Va=(e.flags&131072)!==0}else Va=!1,(o=it)&&(Ki(),o=(t.flags&1048576)!==0),o&&(o=t.index,Ki(),Lm(t,xy,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Kn(t.elementType),t.type=e,typeof e=="function")Bm(e)?(o=xu(e,o),t.tag=1,t.type=e=$i(e),t=sc(null,t,e,o,n)):(t.tag=0,Er(t,e),t.type=e=$i(e),t=f0(null,t,e,o,n));else{if(e!=null){if(s=e.$$typeof,s===Jr){t.tag=11,t.type=e=Pd(e),t=sv(null,t,e,o,n);break e}else if(s===Jf){t.tag=14,t=i0(null,t,e,o,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===un&&(t=" Did you wrap a component in React.lazy() more than once?"),n=ie(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return f0(e,t,t.type,t.pendingProps,n);case 1:return o=t.type,s=xu(o,t.pendingProps),sc(e,t,o,s,n);case 3:e:{if(tn(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var f=t.memoizedState;s=f.element,Eu(e,t),Tu(t,o,null,n);var y=t.memoizedState;if(o=y.cache,vl(t,qa,o),o!==f.cache&&fi(t,[qa],n,!0),dr(),o=y.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=h0(e,t,o,n);break e}else if(o!==s){s=pn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),$s(s),t=h0(e,t,o,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($t=ll(e.firstChild),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!0,n=Jz(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ii(),o===s){t=$l(e,t,n);break e}Ha(e,t,o,n)}t=t.child}return t;case 26:return gf(e,t),e===null?(n=I0(t.type,null,t.pendingProps,null))?t.memoizedState=n:it||(n=t.type,e=t.pendingProps,o=en(ul.current),o=Nf(o).createElement(n),o[Qt]=t,o[Dn]=e,Xt(o,n,e),sa(o),t.stateNode=o):t.memoizedState=I0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return le(t),e===null&&it&&(o=en(ul.current),s=ee(),o=t.stateNode=wi(t.type,t.pendingProps,o,s,!1),Oo||(s=jn(o,t.type,t.pendingProps,s),s!==null&&(Jo(t,0).serverProps=s)),Mn=t,Iu=!0,s=$t,bo(t.type)?(i2=s,$t=ll(o.firstChild)):$t=s),Ha(e,t,t.pendingProps.children,n),gf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&it&&(f=ee(),o=js(t.type,f.ancestorInfo),s=$t,(y=!s)||(y=Vv(s,t.type,t.pendingProps,Iu),y!==null?(t.stateNode=y,Oo||(f=jn(y,t.type,t.pendingProps,f),f!==null&&(Jo(t,0).serverProps=f)),Mn=t,$t=ll(y.firstChild),Iu=!1,f=!0):f=!1,y=!f),y&&(o&&nn(t,s),gl(t))),le(t),s=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,o=f.children,jr(s,f)?o=null:y!==null&&jr(s,y)&&(t.flags|=32),t.memoizedState!==null&&(s=Fm(e,t,af,null,null,n),rg._currentValue=s),gf(e,t),Ha(e,t,o,n),t.child;case 6:return e===null&&it&&(n=t.pendingProps,e=ee(),o=e.ancestorInfo.current,n=o!=null?Bs(n,o.tag,e.ancestorInfo.implicitRootScope):!0,e=$t,(o=!e)||(o=Gv(e,t.pendingProps,Iu),o!==null?(t.stateNode=o,Mn=t,$t=null,o=!0):o=!1,o=!o),o&&(n&&nn(t,e),gl(t))),null;case 13:return Ah(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=cd(t,null,o,n):Ha(e,t,o,n),t.child;case 11:return sv(e,t,t.type,t.pendingProps,n);case 7:return Ha(e,t,t.pendingProps,n),t.child;case 8:return Ha(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Ha(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.type,s=t.pendingProps,f=s.value,"value"in s||vT||(vT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),vl(t,o,f),Ha(e,t,s.children,n),t.child;case 9:return s=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Wi(t),s=pt(s),o=TS(o,s,void 0),t.flags|=1,Ha(e,t,o,n),t.child;case 14:return i0(e,t,t.type,t.pendingProps,n);case 15:return o0(e,t,t.type,t.pendingProps,n);case 19:return y0(e,t,n);case 31:return fv(e,t,n);case 22:return c0(e,t,n,t.pendingProps);case 24:return Wi(t),o=pt(qa),e===null?(s=pi(),s===null&&(s=Bt,f=lh(),s.pooledCache=f,ko(f),f!==null&&(s.pooledCacheLanes|=n),s=f),t.memoizedState={parent:o,cache:s},nt(t),vl(t,qa,s)):((e.lanes&n)!==0&&(Eu(e,t),Tu(t,null,null,n),dr()),s=e.memoizedState,f=t.memoizedState,s.parent!==o?(s={parent:o,cache:o},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),vl(t,qa,o)):(o=f.cache,vl(t,qa,o),o!==s.cache&&fi(t,[qa],n,!0))),Ha(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Cu(e){e.flags|=4}function Mh(e,t,n,o,s){if((t=(e.mode&rx)!==Re)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(N0())e.flags|=8192;else throw od=Db,OS}else e.flags&=-16777217}function hv(e,t){if(t.type!=="stylesheet"||(t.state.loading&ti)!==bd)e.flags&=-16777217;else if(e.flags|=16777216,!tt(t))if(N0())e.flags|=8192;else throw od=Db,OS}function Tr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Rd():536870912,e.lanes|=t,hd|=t)}function Ar(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)if((e.mode&ke)!==Re){for(var s=e.selfBaseDuration,f=e.child;f!==null;)n|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,s+=f.treeBaseDuration,f=f.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags&65011712,o|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&ke)!==Re){s=e.actualDuration,f=e.selfBaseDuration;for(var y=e.child;y!==null;)n|=y.lanes|y.childLanes,o|=y.subtreeFlags,o|=y.flags,s+=y.actualDuration,f+=y.treeBaseDuration,y=y.sibling;e.actualDuration=s,e.treeBaseDuration=f}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags,o|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function g0(e,t,n){var o=t.pendingProps;switch(ah(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return wt(t),null;case 3:return n=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Yl(qa,t),H(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($o(t)?(Fi(),Cu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Js())),wt(t),null;case 26:var s=t.type,f=t.memoizedState;return e===null?(Cu(t),f!==null?(wt(t),hv(t,f)):(wt(t),Mh(t,s,null,o,n))):f?f!==e.memoizedState?(Cu(t),wt(t),hv(t,f)):(wt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Cu(t),wt(t),Mh(t,s,e,o,n)),null;case 27:if(Me(t),n=en(ul.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}e=ee(),$o(t)?Vm(t):(e=wi(s,o,n,e,!0),t.stateNode=e,Cu(t))}return wt(t),null;case 5:if(Me(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}var y=ee();if($o(t))Vm(t);else{switch(f=en(ul.current),js(s,y.ancestorInfo),y=y.context,f=Nf(f),y){case Wp:f=f.createElementNS(Xe,s);break;case e1:f=f.createElementNS(Ye,s);break;default:switch(s){case"svg":f=f.createElementNS(Xe,s);break;case"math":f=f.createElementNS(Ye,s);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(s,{is:o.is}):f.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||il.call(VT,s)||(VT[s]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",s)))}}f[Qt]=t,f[Dn]=o;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=f;e:switch(Xt(f,s,o),s){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Cu(t)}}return wt(t),Mh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=en(ul.current),n=ee(),$o(t)){if(e=t.stateNode,n=t.memoizedProps,s=!Oo,o=null,f=Mn,f!==null)switch(f.tag){case 3:s&&(s=Jv(e,n,o),s!==null&&(Jo(t,0).serverProps=s));break;case 27:case 5:o=f.memoizedProps,s&&(s=Jv(e,n,o),s!==null&&(Jo(t,0).serverProps=s))}e[Qt]=t,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||X0(e.nodeValue,n)),e||gl(t,!0)}else s=n.ancestorInfo.current,s!=null&&Bs(o,s.tag,n.ancestorInfo.implicitRootScope),e=Nf(e).createTextNode(o),e[Qt]=t,t.stateNode=e}return wt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(o=$o(t),n!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Qt]=t,wt(t),(t.mode&ke)!==Re&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Fi(),Ii(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,wt(t),(t.mode&ke)!==Re&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Js(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Na(t),t):(Na(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return wt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=o,f=$o(t),s!==null&&s.dehydrated!==null){if(e===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Qt]=t,wt(t),(t.mode&ke)!==Re&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else Fi(),Ii(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,wt(t),(t.mode&ke)!==Re&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=Js(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Na(t),t):(Na(t),null)}return Na(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&ke)!==Re&&Io(t),t):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=t.child,s=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(s=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==s&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Tr(t,t.updateQueue),wt(t),(t.mode&ke)!==Re&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return H(t),e===null&&go(t.stateNode.containerInfo),wt(t),null;case 10:return Yl(t.type,t),wt(t),null;case 19:if(De(Ma,t),o=t.memoizedState,o===null)return wt(t),null;if(s=(t.flags&128)!==0,f=o.rendering,f===null)if(s)Ar(o,!1);else{if(oa!==Bc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=Wo(e),f!==null){for(t.flags|=128,Ar(o,!1),e=f.updateQueue,t.updateQueue=e,Tr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)qm(n,e),n=n.sibling;return Fe(Ma,Ma.current&Yp|Qy,t),it&&ql(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&Ba()>Lb&&(t.flags|=128,s=!0,Ar(o,!1),t.lanes=4194304)}else{if(!s)if(e=Wo(f),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Tr(t,e),Ar(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!it)return wt(t),null}else 2*Ba()-o.renderingStartTime>Lb&&n!==536870912&&(t.flags|=128,s=!0,Ar(o,!1),t.lanes=4194304);o.isBackwards?(f.sibling=t.child,t.child=f):(e=o.last,e!==null?e.sibling=f:t.child=f,o.last=f)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ba(),e.sibling=null,n=Ma.current,n=s?n&Yp|Qy:n&Yp,Fe(Ma,n,t),it&&ql(t,o.treeForkCount),e):(wt(t),null);case 22:case 23:return Na(t),Xl(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(n&536870912)!==0&&(t.flags&128)===0&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),n=t.updateQueue,n!==null&&Tr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),e!==null&&De(ud,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Yl(qa,t),wt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pv(e,t){switch(ah(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 3:return Yl(qa,t),H(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Me(t),null;case 31:if(t.memoizedState!==null){if(Na(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 13:if(Na(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 19:return De(Ma,t),null;case 4:return H(t),null;case 10:return Yl(t.type,t),null;case 22:case 23:return Na(t),Xl(t),e!==null&&De(ud,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 24:return Yl(qa,t),null;case 25:return null;default:return null}}function v0(e,t){switch(ah(t),t.tag){case 3:Yl(qa,t),H(t);break;case 26:case 27:case 5:Me(t);break;case 4:H(t);break;case 31:t.memoizedState!==null&&Na(t);break;case 13:Na(t);break;case 19:De(Ma,t);break;case 10:Yl(t.type,t);break;case 22:case 23:Na(t),Xl(t),e!==null&&De(ud,t);break;case 24:Yl(qa,t)}}function Ru(e){return(e.mode&ke)!==Re}function mv(e,t){Ru(e)?(na(),Ei(t,e),yn()):Ei(t,e)}function xh(e,t,n){Ru(e)?(na(),so(n,e,t),yn()):so(n,e,t)}function Ei(e,t){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var s=o.next;n=s;do{if((n.tag&e)===e&&(o=void 0,(e&sl)!==xb&&(Kp=!0),o=pe(t,mx,n),(e&sl)!==xb&&(Kp=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(n.tag&iu)!==0?"useLayoutEffect":(n.tag&sl)!==0?"useInsertionEffect":"useEffect";var y=void 0;y=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
132
+ `+E:""))}}f=t.stateNode,y=ie(n)||"Component",f.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",y):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",y)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),n.childContextTypes&&!rT.has(n)&&(rT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",y)),n.contextTypes&&!cT.has(n)&&(cT.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",y)),typeof f.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",y),n.prototype&&n.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ie(n)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof f.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",y),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y),v=f.props!==o,f.props!==void 0&&v&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y),f.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",y,y),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||lT.has(n)||(lT.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ie(n))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y),(v=f.state)&&(typeof v!="object"||Sa(v))&&console.error("%s.state: must be set to an object or null",y),typeof f.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y),f=t.stateNode,f.props=o,f.state=t.memoizedState,f.refs={},nt(t),y=n.contextType,f.context=typeof y=="object"&&y!==null?pt(y):is,f.state===o&&(y=ie(n)||"Component",iT.has(y)||(iT.add(y),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))),t.mode&Yn&&Ri.recordLegacyContextWarning(t,f),Ri.recordUnsafeLifecycleWarnings(t,f),f.state=t.memoizedState,y=n.getDerivedStateFromProps,typeof y=="function"&&(_r(t,n,y,o),f.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",de(t)||"Component"),ZS.enqueueReplaceState(f,f.state,null)),Tu(t,o,f,s),dr(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),f=!0}else if(e===null){f=t.stateNode;var U=t.memoizedProps;v=xu(n,U),f.props=v;var Z=f.context;E=n.contextType,y=is,typeof E=="object"&&E!==null&&(y=pt(E)),T=n.getDerivedStateFromProps,E=typeof T=="function"||typeof f.getSnapshotBeforeUpdate=="function",U=t.pendingProps!==U,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(U||Z!==y)&&Mu(t,f,o,y),ds=!1;var M=t.memoizedState;f.state=M,Tu(t,o,f,s),dr(),Z=t.memoizedState,U||M!==Z||ds?(typeof T=="function"&&(_r(t,n,T,o),Z=t.memoizedState),(v=ds||vh(t,n,v,o,M,Z,y))?(E||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=Z),f.props=o,f.state=Z,f.context=y,f=v):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ci)!==Re&&(t.flags|=134217728),f=!1)}else{f=t.stateNode,Eu(e,t),y=t.memoizedProps,E=xu(n,y),f.props=E,T=t.pendingProps,M=f.context,Z=n.contextType,v=is,typeof Z=="object"&&Z!==null&&(v=pt(Z)),U=n.getDerivedStateFromProps,(Z=typeof U=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==T||M!==v)&&Mu(t,f,o,v),ds=!1,M=t.memoizedState,f.state=M,Tu(t,o,f,s),dr();var G=t.memoizedState;y!==T||M!==G||ds||e!==null&&e.dependencies!==null&&cr(e.dependencies)?(typeof U=="function"&&(_r(t,n,U,o),G=t.memoizedState),(E=ds||vh(t,n,E,o,M,G,v)||e!==null&&e.dependencies!==null&&cr(e.dependencies))?(Z||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,G,v),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,G,v)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=G),f.props=o,f.state=G,f.context=v,f=E):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),f=!1)}if(v=f,gf(e,t),y=(t.flags&128)!==0,v||y){if(v=t.stateNode,Rs(t),y&&typeof n.getDerivedStateFromError!="function")n=null,rl=-1;else if(n=Cz(v),t.mode&Yn){Ut(!0);try{Cz(v)}finally{Ut(!1)}}t.flags|=1,e!==null&&y?(t.child=cd(t,e.child,null,s),t.child=cd(t,null,n,s)):Ha(e,t,n,s),t.memoizedState=v.state,e=t.child}else e=$l(e,t,s);return s=t.stateNode,f&&s.props!==o&&(Xp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",de(t)||"a component"),Xp=!0),e}function h0(e,t,n,o){return Ii(),t.flags|=256,Ha(e,t,n,o),t.child}function Er(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
133
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ie(t)||"Unknown",mT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),mT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ie(t)||"Unknown",hT[t]||(console.error("%s: Function components do not support contextType.",t),hT[t]=!0))}function zr(e){return{baseLanes:e,cachePool:Jm()}}function Th(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=xl),e}function Ah(e,t,n){var o,s=t.pendingProps;b(t)&&(t.flags|=128);var f=!1,y=(t.flags&128)!==0;if((o=y)||(o=e!==null&&e.memoizedState===null?!1:(Ma.current&Qy)!==0),o&&(f=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(it){if(f?vn(t):Au(t),(e=$t)?(n=Et(e,Iu),n=n!==null&&n.data!==yd?n:null,n!==null&&(o={dehydrated:n,treeContext:tv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=Ym(n),o.return=t,t.child=o,Mn=t,$t=null)):n=null,n===null)throw nn(t,e),gl(t);return J0(n)?t.lanes=32:t.lanes=536870912,null}var v=s.children;if(s=s.fallback,f){Au(t);var E=t.mode;return v=vf({mode:"hidden",children:v},E),s=Qo(s,E,n,null),v.return=t,s.return=t,v.sibling=s,t.child=v,s=t.child,s.memoizedState=zr(n),s.childLanes=Th(e,o,n),t.memoizedState=BS,rc(null,s)}return vn(t),p0(t,v)}var T=e.memoizedState;if(T!==null){var U=T.dehydrated;if(U!==null){if(y)t.flags&256?(vn(t),t.flags&=-257,t=Oh(e,t,n)):t.memoizedState!==null?(Au(t),t.child=e.child,t.flags|=128,t=null):(Au(t),v=s.fallback,E=t.mode,s=vf({mode:"visible",children:s.children},E),v=Qo(v,E,n,null),v.flags|=2,s.return=t,v.return=t,s.sibling=v,t.child=s,cd(t,e.child,null,n),s=t.child,s.memoizedState=zr(n),s.childLanes=Th(e,o,n),t.memoizedState=BS,t=rc(null,s));else if(vn(t),nv(),(n&536870912)!==0&&Dr(t),J0(U)){if(o=U.nextSibling&&U.nextSibling.dataset,o){v=o.dgst;var Z=o.msg;E=o.stck;var M=o.cstck}f=Z,o=v,s=E,U=M,v=f,E=U,v=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),v.stack=s||"",v.digest=o,o=E===void 0?null:E,s={value:v,source:null,stack:o},typeof o=="string"&&gS.set(v,s),$s(s),t=Oh(e,t,n)}else if(Va||Ll(e,t,n,!1),o=(n&e.childLanes)!==0,Va||o){if(o=Bt,o!==null&&(s=jg(o,n),s!==0&&s!==T.retryLane))throw T.retryLane=s,an(e,s),Ue(o,e,s),jS;Hf(U)||Mr(),t=Oh(e,t,n)}else Hf(U)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,$t=ll(U.nextSibling),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!1,e!==null&&av(t,e),t=p0(t,s.children),t.flags|=4096);return t}}return f?(Au(t),v=s.fallback,E=t.mode,M=e.child,U=M.sibling,s=bu(M,{mode:"hidden",children:s.children}),s.subtreeFlags=M.subtreeFlags&65011712,U!==null?v=bu(U,v):(v=Qo(v,E,n,null),v.flags|=2),v.return=t,s.return=t,s.sibling=v,t.child=s,rc(null,s),s=t.child,v=e.child.memoizedState,v===null?v=zr(n):(E=v.cachePool,E!==null?(M=qa._currentValue,E=E.parent!==M?{parent:M,pool:M}:E):E=Jm(),v={baseLanes:v.baseLanes|n,cachePool:E}),s.memoizedState=v,s.childLanes=Th(e,o,n),t.memoizedState=BS,rc(e.child,s)):(T!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Dr(t),vn(t),n=e.child,e=n.sibling,n=bu(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function p0(e,t){return t=vf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function vf(e,t){return e=ae(22,e,null,t),e.lanes=0,e}function Oh(e,t,n){return cd(t,e.child,null,n),e=p0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function m0(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),nh(e.return,t,n)}function wh(e,t,n,o,s,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:s,treeForkCount:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=o,y.tail=n,y.tailMode=s,y.treeForkCount=f)}function y0(e,t,n){var o=t.pendingProps,s=o.revealOrder,f=o.tail,y=o.children,v=Ma.current;if((o=(v&Qy)!==0)?(v=v&Yp|Qy,t.flags|=128):v&=Yp,Fe(Ma,v,t),v=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!yT[v])if(yT[v]=!0,s==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(s==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof s=="string")switch(s.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',s,s.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);v=f??"null",Nb[v]||(f==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(Nb[v]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(Nb[v]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(Nb[v]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&y!==void 0&&y!==null&&y!==!1)if(Sa(y)){for(v=0;v<y.length;v++)if(!Nt(y[v],v))break e}else if(v=Te(y),typeof v=="function"){if(v=v.call(y))for(var E=v.next(),T=0;!E.done;E=v.next()){if(!Nt(E.value,T))break e;T++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',s);if(Ha(e,t,y,n),it?(Ki(),y=xy):y=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&m0(e,n,t);else if(e.tag===19)m0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Wo(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),wh(t,!1,s,n,f,y);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Wo(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}wh(t,!0,n,null,f,y);break;case"together":wh(t,!1,null,null,void 0,y);break;default:t.memoizedState=null}return t.child}function $l(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),rl=-1,ms|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ll(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=bu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=bu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&cr(e)))}function dv(e,t,n){switch(t.tag){case 3:tn(t,t.stateNode.containerInfo),vl(t,qa,e.memoizedState.cache),Ii();break;case 27:case 5:le(t);break;case 4:tn(t,t.stateNode.containerInfo);break;case 10:vl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ql(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(vn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Ah(e,t,n):(vn(t),e=$l(e,t,n),e!==null?e.sibling:null);vn(t);break;case 19:var s=(e.flags&128)!==0;if(o=(n&t.childLanes)!==0,o||(Ll(e,t,n,!1),o=(n&t.childLanes)!==0),s){if(o)return y0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Fe(Ma,Ma.current,t),o)break;return null;case 22:return t.lanes=0,c0(e,t,n,t.pendingProps);case 24:vl(t,qa,e.memoizedState.cache)}return $l(e,t,n)}function bf(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Xo(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===o.child)o.child=n;else{var s=o.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Va=!0;else{if(!Dh(e,n)&&(t.flags&128)===0)return Va=!1,dv(e,t,n);Va=(e.flags&131072)!==0}else Va=!1,(o=it)&&(Ki(),o=(t.flags&1048576)!==0),o&&(o=t.index,Ki(),Lm(t,xy,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Kn(t.elementType),t.type=e,typeof e=="function")Bm(e)?(o=xu(e,o),t.tag=1,t.type=e=$i(e),t=sc(null,t,e,o,n)):(t.tag=0,Er(t,e),t.type=e=$i(e),t=f0(null,t,e,o,n));else{if(e!=null){if(s=e.$$typeof,s===Jr){t.tag=11,t.type=e=Pd(e),t=sv(null,t,e,o,n);break e}else if(s===Jf){t.tag=14,t=i0(null,t,e,o,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===un&&(t=" Did you wrap a component in React.lazy() more than once?"),n=ie(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return f0(e,t,t.type,t.pendingProps,n);case 1:return o=t.type,s=xu(o,t.pendingProps),sc(e,t,o,s,n);case 3:e:{if(tn(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var f=t.memoizedState;s=f.element,Eu(e,t),Tu(t,o,null,n);var y=t.memoizedState;if(o=y.cache,vl(t,qa,o),o!==f.cache&&fi(t,[qa],n,!0),dr(),o=y.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=h0(e,t,o,n);break e}else if(o!==s){s=pn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),$s(s),t=h0(e,t,o,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($t=ll(e.firstChild),Mn=t,it=!0,os=null,Oo=!1,lu=null,Iu=!0,n=Qz(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ii(),o===s){t=$l(e,t,n);break e}Ha(e,t,o,n)}t=t.child}return t;case 26:return gf(e,t),e===null?(n=I0(t.type,null,t.pendingProps,null))?t.memoizedState=n:it||(n=t.type,e=t.pendingProps,o=en(ul.current),o=Nf(o).createElement(n),o[Qt]=t,o[Dn]=e,Xt(o,n,e),sa(o),t.stateNode=o):t.memoizedState=I0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return le(t),e===null&&it&&(o=en(ul.current),s=ee(),o=t.stateNode=wi(t.type,t.pendingProps,o,s,!1),Oo||(s=jn(o,t.type,t.pendingProps,s),s!==null&&(Jo(t,0).serverProps=s)),Mn=t,Iu=!0,s=$t,bo(t.type)?(o2=s,$t=ll(o.firstChild)):$t=s),Ha(e,t,t.pendingProps.children,n),gf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&it&&(f=ee(),o=js(t.type,f.ancestorInfo),s=$t,(y=!s)||(y=Vv(s,t.type,t.pendingProps,Iu),y!==null?(t.stateNode=y,Oo||(f=jn(y,t.type,t.pendingProps,f),f!==null&&(Jo(t,0).serverProps=f)),Mn=t,$t=ll(y.firstChild),Iu=!1,f=!0):f=!1,y=!f),y&&(o&&nn(t,s),gl(t))),le(t),s=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,o=f.children,jr(s,f)?o=null:y!==null&&jr(s,y)&&(t.flags|=32),t.memoizedState!==null&&(s=Fm(e,t,af,null,null,n),rg._currentValue=s),gf(e,t),Ha(e,t,o,n),t.child;case 6:return e===null&&it&&(n=t.pendingProps,e=ee(),o=e.ancestorInfo.current,n=o!=null?Bs(n,o.tag,e.ancestorInfo.implicitRootScope):!0,e=$t,(o=!e)||(o=Gv(e,t.pendingProps,Iu),o!==null?(t.stateNode=o,Mn=t,$t=null,o=!0):o=!1,o=!o),o&&(n&&nn(t,e),gl(t))),null;case 13:return Ah(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=cd(t,null,o,n):Ha(e,t,o,n),t.child;case 11:return sv(e,t,t.type,t.pendingProps,n);case 7:return Ha(e,t,t.pendingProps,n),t.child;case 8:return Ha(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Ha(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.type,s=t.pendingProps,f=s.value,"value"in s||gT||(gT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),vl(t,o,f),Ha(e,t,s.children,n),t.child;case 9:return s=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Wi(t),s=pt(s),o=AS(o,s,void 0),t.flags|=1,Ha(e,t,o,n),t.child;case 14:return i0(e,t,t.type,t.pendingProps,n);case 15:return o0(e,t,t.type,t.pendingProps,n);case 19:return y0(e,t,n);case 31:return fv(e,t,n);case 22:return c0(e,t,n,t.pendingProps);case 24:return Wi(t),o=pt(qa),e===null?(s=pi(),s===null&&(s=Bt,f=lh(),s.pooledCache=f,ko(f),f!==null&&(s.pooledCacheLanes|=n),s=f),t.memoizedState={parent:o,cache:s},nt(t),vl(t,qa,s)):((e.lanes&n)!==0&&(Eu(e,t),Tu(t,null,null,n),dr()),s=e.memoizedState,f=t.memoizedState,s.parent!==o?(s={parent:o,cache:o},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),vl(t,qa,o)):(o=f.cache,vl(t,qa,o),o!==s.cache&&fi(t,[qa],n,!0))),Ha(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Cu(e){e.flags|=4}function Mh(e,t,n,o,s){if((t=(e.mode&sx)!==Re)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(N0())e.flags|=8192;else throw od=Db,wS}else e.flags&=-16777217}function hv(e,t){if(t.type!=="stylesheet"||(t.state.loading&ti)!==bd)e.flags&=-16777217;else if(e.flags|=16777216,!tt(t))if(N0())e.flags|=8192;else throw od=Db,wS}function Tr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Rd():536870912,e.lanes|=t,hd|=t)}function Ar(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)if((e.mode&ke)!==Re){for(var s=e.selfBaseDuration,f=e.child;f!==null;)n|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,s+=f.treeBaseDuration,f=f.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags&65011712,o|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&ke)!==Re){s=e.actualDuration,f=e.selfBaseDuration;for(var y=e.child;y!==null;)n|=y.lanes|y.childLanes,o|=y.subtreeFlags,o|=y.flags,s+=y.actualDuration,f+=y.treeBaseDuration,y=y.sibling;e.actualDuration=s,e.treeBaseDuration=f}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags,o|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function g0(e,t,n){var o=t.pendingProps;switch(ah(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return wt(t),null;case 3:return n=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Yl(qa,t),H(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($o(t)?(Fi(),Cu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Js())),wt(t),null;case 26:var s=t.type,f=t.memoizedState;return e===null?(Cu(t),f!==null?(wt(t),hv(t,f)):(wt(t),Mh(t,s,null,o,n))):f?f!==e.memoizedState?(Cu(t),wt(t),hv(t,f)):(wt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Cu(t),wt(t),Mh(t,s,e,o,n)),null;case 27:if(Me(t),n=en(ul.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}e=ee(),$o(t)?Vm(t):(e=wi(s,o,n,e,!0),t.stateNode=e,Cu(t))}return wt(t),null;case 5:if(Me(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}var y=ee();if($o(t))Vm(t);else{switch(f=en(ul.current),js(s,y.ancestorInfo),y=y.context,f=Nf(f),y){case Wp:f=f.createElementNS(Xe,s);break;case e1:f=f.createElementNS(Ye,s);break;default:switch(s){case"svg":f=f.createElementNS(Xe,s);break;case"math":f=f.createElementNS(Ye,s);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(s,{is:o.is}):f.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||il.call(LT,s)||(LT[s]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",s)))}}f[Qt]=t,f[Dn]=o;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=f;e:switch(Xt(f,s,o),s){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Cu(t)}}return wt(t),Mh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Cu(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=en(ul.current),n=ee(),$o(t)){if(e=t.stateNode,n=t.memoizedProps,s=!Oo,o=null,f=Mn,f!==null)switch(f.tag){case 3:s&&(s=Jv(e,n,o),s!==null&&(Jo(t,0).serverProps=s));break;case 27:case 5:o=f.memoizedProps,s&&(s=Jv(e,n,o),s!==null&&(Jo(t,0).serverProps=s))}e[Qt]=t,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||X0(e.nodeValue,n)),e||gl(t,!0)}else s=n.ancestorInfo.current,s!=null&&Bs(o,s.tag,n.ancestorInfo.implicitRootScope),e=Nf(e).createTextNode(o),e[Qt]=t,t.stateNode=e}return wt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(o=$o(t),n!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Qt]=t,wt(t),(t.mode&ke)!==Re&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Fi(),Ii(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,wt(t),(t.mode&ke)!==Re&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Js(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Na(t),t):(Na(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return wt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=o,f=$o(t),s!==null&&s.dehydrated!==null){if(e===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Qt]=t,wt(t),(t.mode&ke)!==Re&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else Fi(),Ii(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,wt(t),(t.mode&ke)!==Re&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=Js(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Na(t),t):(Na(t),null)}return Na(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&ke)!==Re&&Io(t),t):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=t.child,s=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(s=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==s&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Tr(t,t.updateQueue),wt(t),(t.mode&ke)!==Re&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return H(t),e===null&&go(t.stateNode.containerInfo),wt(t),null;case 10:return Yl(t.type,t),wt(t),null;case 19:if(De(Ma,t),o=t.memoizedState,o===null)return wt(t),null;if(s=(t.flags&128)!==0,f=o.rendering,f===null)if(s)Ar(o,!1);else{if(oa!==Bc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=Wo(e),f!==null){for(t.flags|=128,Ar(o,!1),e=f.updateQueue,t.updateQueue=e,Tr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)qm(n,e),n=n.sibling;return Fe(Ma,Ma.current&Yp|Qy,t),it&&ql(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&Ba()>Lb&&(t.flags|=128,s=!0,Ar(o,!1),t.lanes=4194304)}else{if(!s)if(e=Wo(f),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Tr(t,e),Ar(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!it)return wt(t),null}else 2*Ba()-o.renderingStartTime>Lb&&n!==536870912&&(t.flags|=128,s=!0,Ar(o,!1),t.lanes=4194304);o.isBackwards?(f.sibling=t.child,t.child=f):(e=o.last,e!==null?e.sibling=f:t.child=f,o.last=f)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ba(),e.sibling=null,n=Ma.current,n=s?n&Yp|Qy:n&Yp,Fe(Ma,n,t),it&&ql(t,o.treeForkCount),e):(wt(t),null);case 22:case 23:return Na(t),Xl(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(n&536870912)!==0&&(t.flags&128)===0&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),n=t.updateQueue,n!==null&&Tr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),e!==null&&De(ud,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Yl(qa,t),wt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pv(e,t){switch(ah(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 3:return Yl(qa,t),H(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Me(t),null;case 31:if(t.memoizedState!==null){if(Na(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 13:if(Na(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 19:return De(Ma,t),null;case 4:return H(t),null;case 10:return Yl(t.type,t),null;case 22:case 23:return Na(t),Xl(t),e!==null&&De(ud,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ke)!==Re&&Io(t),t):null;case 24:return Yl(qa,t),null;case 25:return null;default:return null}}function v0(e,t){switch(ah(t),t.tag){case 3:Yl(qa,t),H(t);break;case 26:case 27:case 5:Me(t);break;case 4:H(t);break;case 31:t.memoizedState!==null&&Na(t);break;case 13:Na(t);break;case 19:De(Ma,t);break;case 10:Yl(t.type,t);break;case 22:case 23:Na(t),Xl(t),e!==null&&De(ud,t);break;case 24:Yl(qa,t)}}function Ru(e){return(e.mode&ke)!==Re}function mv(e,t){Ru(e)?(na(),Ei(t,e),yn()):Ei(t,e)}function xh(e,t,n){Ru(e)?(na(),so(n,e,t),yn()):so(n,e,t)}function Ei(e,t){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var s=o.next;n=s;do{if((n.tag&e)===e&&(o=void 0,(e&sl)!==xb&&(Kp=!0),o=pe(t,yx,n),(e&sl)!==xb&&(Kp=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(n.tag&iu)!==0?"useLayoutEffect":(n.tag&sl)!==0?"useInsertionEffect":"useEffect";var y=void 0;y=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
134
134
 
135
135
  It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
136
136
 
@@ -143,11 +143,11 @@ It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, w
143
143
  fetchData();
144
144
  }, [someId]); // Or [] if effect doesn't need props or state
145
145
 
146
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,pe(t,function(v,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,E)},f,y)}n=n.next}while(n!==s)}}catch(v){Ge(t,t.return,v)}}function so(e,t,n){try{var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var f=s.next;o=f;do{if((o.tag&e)===e){var y=o.inst,v=y.destroy;v!==void 0&&(y.destroy=void 0,(e&sl)!==xb&&(Kp=!0),s=t,pe(s,yx,s,n,v),(e&sl)!==xb&&(Kp=!1))}o=o.next}while(o!==f)}}catch(E){Ge(t,t.return,E)}}function Sf(e,t){Ru(e)?(na(),Ei(t,e),yn()):Ei(t,e)}function Ch(e,t,n){Ru(e)?(na(),so(n,e,t),yn()):so(n,e,t)}function b0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Xp||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(e)||"instance"));try{pe(e,hr,t,n)}catch(o){Ge(e,e.return,o)}}}function _f(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function yv(e,t){var n=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Xp||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(e)||"instance"));try{var s=xu(e.type,n),f=pe(e,_f,t,s,o);n=bT,f!==void 0||n.has(e.type)||(n.add(e.type),pe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",de(e))})),t.__reactInternalSnapshotBeforeUpdate=f}catch(y){Ge(e,e.return,y)}}function Rh(e,t,n){n.props=xu(e.type,e.memoizedProps),n.state=e.memoizedState,Ru(e)?(na(),pe(e,Bz,e,t,n),yn()):pe(e,Bz,e,t,n)}function gv(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Ru(e))try{na(),e.refCleanup=t(n)}finally{yn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",de(e)),t.current=n}}function fc(e,t){try{pe(e,gv,e)}catch(n){Ge(e,t,n)}}function zl(e,t){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{if(Ru(e))try{na(),pe(e,o)}finally{yn(e)}else pe(e,o)}catch(s){Ge(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Ru(e))try{na(),pe(e,n,null)}finally{yn(e)}else pe(e,n,null)}catch(s){Ge(e,t,s)}else n.current=null}function S0(e,t,n,o){var s=e.memoizedProps,f=s.id,y=s.onCommit;s=s.onRender,t=t===null?"mount":"update",Tb&&(t="nested-update"),typeof s=="function"&&s(f,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof y=="function"&&y(f,t,o,n)}function vv(e,t,n,o){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",Tb&&(t="nested-update"),typeof s=="function"&&s(e,t,o,n)}function fo(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{pe(e,Cv,o,t,n,e)}catch(s){Ge(e,e.return,s)}}function Uh(e,t,n){try{pe(e,Ph,e.stateNode,e.type,n,t,e)}catch(o){Ge(e,e.return,o)}}function _0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&bo(e.type)||e.tag===4}function Nh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&bo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Or(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(Uv(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Uv(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ml));else if(o!==4&&(o===27&&bo(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Or(e,t,n),e=e.sibling;e!==null;)Or(e,t,n),e=e.sibling}function Ef(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(o===27&&bo(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ef(e,t,n),e=e.sibling;e!==null;)Ef(e,t,n),e=e.sibling}function E0(e){for(var t,n=e.return;n!==null;){if(_0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Nh(e),Ef(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(ep(n),t.flags&=-33),t=Nh(e),Ef(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Nh(e),Or(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function z0(e){var t=e.stateNode,n=e.memoizedProps;try{pe(e,Yu,e.type,n,t,e)}catch(o){Ge(e,e.return,o)}}function T0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function $1(e,t){if(e=e.containerInfo,n2=l1,e=Kd(e),Cm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var s=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{n.nodeType,f.nodeType}catch{n=null;break e}var y=0,v=-1,E=-1,T=0,U=0,Z=e,M=null;t:for(;;){for(var G;Z!==n||s!==0&&Z.nodeType!==3||(v=y+s),Z!==f||o!==0&&Z.nodeType!==3||(E=y+o),Z.nodeType===3&&(y+=Z.nodeValue.length),(G=Z.firstChild)!==null;)M=Z,Z=G;for(;;){if(Z===e)break t;if(M===n&&++T===s&&(v=y),M===f&&++U===o&&(E=y),(G=Z.nextSibling)!==null)break;Z=M,M=Z.parentNode}Z=G}n=v===-1||E===-1?null:{start:v,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(l2={focusedElem:e,selectionRange:n},l1=!1,rn=t;rn!==null;)if(t=rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rn=e;else for(;rn!==null;){switch(e=t=rn,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&yv(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)qr(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":qr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,rn=e;break}rn=t.return}}function Zh(e,t,n){var o=Vt(),s=bl(),f=$n(),y=Sl(),v=n.flags;switch(n.tag){case 0:case 11:case 15:el(e,n),v&4&&mv(n,iu|Pu);break;case 1:if(el(e,n),v&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Xp||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(n)||"instance")),Ru(n)?(na(),pe(n,AS,n,e),yn()):pe(n,AS,n,e);else{var E=xu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Xp||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(n)||"instance")),Ru(n)?(na(),pe(n,Zz,n,e,E,t,e.__reactInternalSnapshotBeforeUpdate),yn()):pe(n,Zz,n,e,E,t,e.__reactInternalSnapshotBeforeUpdate)}v&64&&b0(n),v&512&&fc(n,n.return);break;case 3:if(t=_u(),el(e,n),v&64&&(v=n.updateQueue,v!==null)){if(E=null,n.child!==null)switch(n.child.tag){case 27:case 5:E=n.child.stateNode;break;case 1:E=n.child.stateNode}try{pe(n,hr,v,E)}catch(U){Ge(n,n.return,U)}}e.effectDuration+=rr(t);break;case 27:t===null&&v&4&&z0(n);case 26:case 5:if(el(e,n),t===null){if(v&4)fo(n);else if(v&64){e=n.type,t=n.memoizedProps,E=n.stateNode;try{pe(n,Rv,E,e,t,n)}catch(U){Ge(n,n.return,U)}}}v&512&&fc(n,n.return);break;case 12:if(v&4){v=_u(),el(e,n),e=n.stateNode,e.effectDuration+=mn(v);try{pe(n,S0,n,t,cs,e.effectDuration)}catch(U){Ge(n,n.return,U)}}else el(e,n);break;case 31:el(e,n),v&4&&O0(e,n);break;case 13:el(e,n),v&4&&w0(e,n),v&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(v=Ti.bind(null,n),Xv(e,v))));break;case 22:if(v=n.memoizedState!==null||jc,!v){t=t!==null&&t.memoizedState!==null||Ga,E=jc;var T=Ga;jc=v,(Ga=t)&&!T?(kl(e,n,(n.subtreeFlags&8772)!==0),(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&Id(n,Ae,xe)):el(e,n),jc=E,Ga=T}break;case 30:break;default:el(e,n)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<xe-Ae&&(T0(n.return.alternate,n.return)||yl(n,Ae,xe,"Mount"))),Ra(o),Jn(s),ta=f,ya=y}function pa(e){var t=e.alternate;t!==null&&(e.alternate=null,pa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ym(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qt(e,t,n){for(n=n.child;n!==null;)A0(e,t,n),n=n.sibling}function A0(e,t,n){if(wa&&typeof wa.onCommitFiberUnmount=="function")try{wa.onCommitFiberUnmount(Tc,n)}catch(T){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",T))}var o=Vt(),s=bl(),f=$n(),y=Sl();switch(n.tag){case 26:Ga||zl(n,t),qt(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Ga||zl(n,t);var v=Xa,E=Dl;bo(n.type)&&(Xa=n.stateNode,Dl=!1),qt(e,t,n),pe(n,Di,n.stateNode),Xa=v,Dl=E;break;case 5:Ga||zl(n,t);case 6:if(v=Xa,E=Dl,Xa=null,qt(e,t,n),Xa=v,Dl=E,Xa!==null)if(Dl)try{pe(n,Zv,Xa,n.stateNode)}catch(T){Ge(n,t,T)}else try{pe(n,Nv,Xa,n.stateNode)}catch(T){Ge(n,t,T)}break;case 18:Xa!==null&&(Dl?(e=Xa,yc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Sc(e)):yc(Xa,n.stateNode));break;case 4:v=Xa,E=Dl,Xa=n.stateNode.containerInfo,Dl=!0,qt(e,t,n),Xa=v,Dl=E;break;case 0:case 11:case 14:case 15:so(sl,n,t),Ga||xh(n,t,iu),qt(e,t,n);break;case 1:Ga||(zl(n,t),v=n.stateNode,typeof v.componentWillUnmount=="function"&&Rh(n,t,v)),qt(e,t,n);break;case 21:qt(e,t,n);break;case 22:Ga=(v=Ga)||n.memoizedState!==null,qt(e,t,n),Ga=v;break;default:qt(e,t,n)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),Ra(o),Jn(s),ta=f,ya=y}function O0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{pe(t,tp,e)}catch(n){Ge(t,t.return,n)}}}function w0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pe(t,k0,e)}catch(n){Ge(t,t.return,n)}}function bv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ST),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ST),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function ho(e,t){var n=bv(e);t.forEach(function(o){if(!n.has(o)){if(n.add(o),Gu)if(Qp!==null&&Jp!==null)Rr(Jp,Qp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=pc.bind(null,e,o);o.then(s,s)}})}function _n(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var s=e,f=t,y=n[o],v=Vt(),E=f;e:for(;E!==null;){switch(E.tag){case 27:if(bo(E.type)){Xa=E.stateNode,Dl=!1;break e}break;case 5:Xa=E.stateNode,Dl=!1;break e;case 3:case 4:Xa=E.stateNode.containerInfo,Dl=!0;break e}E=E.return}if(Xa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");A0(s,f,y),Xa=null,Dl=!1,(y.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(y,Ae,xe,"Unmount"),Ra(v),s=y,f=s.alternate,f!==null&&(f.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)zf(t,e),t=t.sibling}function zf(e,t){var n=Vt(),o=bl(),s=$n(),f=Sl(),y=e.alternate,v=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_n(t,e),En(e),v&4&&(so(sl|Pu,e,e.return),Ei(sl|Pu,e),xh(e,e.return,iu|Pu));break;case 1:if(_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),v&64&&jc&&(v=e.updateQueue,v!==null&&(y=v.callbacks,y!==null))){var E=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=E===null?y:E.concat(y)}break;case 26:if(E=Ni,_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),v&4){var T=y!==null?y.memoizedState:null;if(v=e.memoizedState,y===null)if(v===null)if(e.stateNode===null){e:{v=e.type,y=e.memoizedProps,E=E.ownerDocument||E;t:switch(v){case"title":T=E.getElementsByTagName("title")[0],(!T||T[es]||T[Qt]||T.namespaceURI===Xe||T.hasAttribute("itemprop"))&&(T=E.createElement(v),E.head.insertBefore(T,E.querySelector("head > title"))),Xt(T,v,y),T[Qt]=e,sa(T),v=T;break e;case"link":var U=Vr("link","href",E).get(v+(y.href||""));if(U){for(var Z=0;Z<U.length;Z++)if(T=U[Z],T.getAttribute("href")===(y.href==null||y.href===""?null:y.href)&&T.getAttribute("rel")===(y.rel==null?null:y.rel)&&T.getAttribute("title")===(y.title==null?null:y.title)&&T.getAttribute("crossorigin")===(y.crossOrigin==null?null:y.crossOrigin)){U.splice(Z,1);break t}}T=E.createElement(v),Xt(T,v,y),E.head.appendChild(T);break;case"meta":if(U=Vr("meta","content",E).get(v+(y.content||""))){for(Z=0;Z<U.length;Z++)if(T=U[Z],At(y.content,"content"),T.getAttribute("content")===(y.content==null?null:""+y.content)&&T.getAttribute("name")===(y.name==null?null:y.name)&&T.getAttribute("property")===(y.property==null?null:y.property)&&T.getAttribute("http-equiv")===(y.httpEquiv==null?null:y.httpEquiv)&&T.getAttribute("charset")===(y.charSet==null?null:y.charSet)){U.splice(Z,1);break t}}T=E.createElement(v),Xt(T,v,y),E.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+v+'". This is a bug in React.')}T[Qt]=e,sa(T),v=T}e.stateNode=v}else kv(E,e.type,e.stateNode);else e.stateNode=lp(E,v,e.memoizedProps);else T!==v?(T===null?y.stateNode!==null&&(y=y.stateNode,y.parentNode.removeChild(y)):T.count--,v===null?kv(E,e.type,e.stateNode):lp(E,v,e.memoizedProps)):v===null&&e.stateNode!==null&&Uh(e,e.memoizedProps,y.memoizedProps)}break;case 27:_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),y!==null&&v&4&&Uh(e,e.memoizedProps,y.memoizedProps);break;case 5:if(_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),e.flags&32){E=e.stateNode;try{pe(e,ep,E)}catch(he){Ge(e,e.return,he)}}v&4&&e.stateNode!=null&&(E=e.memoizedProps,Uh(e,E,y!==null?y.memoizedProps:E)),v&1024&&(BS=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(_n(t,e),En(e),v&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");v=e.memoizedProps,y=y!==null?y.memoizedProps:v,E=e.stateNode;try{pe(e,k1,E,y,v)}catch(he){Ge(e,e.return,he)}}break;case 3:if(E=_u(),t1=null,T=Ni,Ni=ap(t.containerInfo),_n(t,e),Ni=T,En(e),v&4&&y!==null&&y.memoizedState.isDehydrated)try{pe(e,$0,t.containerInfo)}catch(he){Ge(e,e.return,he)}BS&&(BS=!1,Sv(e)),t.effectDuration+=rr(E);break;case 4:v=Ni,Ni=ap(e.stateNode.containerInfo),_n(t,e),En(e),Ni=v;break;case 12:v=_u(),_n(t,e),En(e),e.stateNode.effectDuration+=mn(v);break;case 31:_n(t,e),En(e),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 13:_n(t,e),En(e),e.child.flags&8192&&e.memoizedState!==null!=(y!==null&&y.memoizedState!==null)&&(Yb=Ba()),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 22:E=e.memoizedState!==null;var M=y!==null&&y.memoizedState!==null,G=jc,oe=Ga;if(jc=G||E,Ga=oe||M,_n(t,e),Ga=oe,jc=G,M&&!E&&!G&&!oe&&(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&Id(e,Ae,xe),En(e),v&8192)e:for(t=e.stateNode,t._visibility=E?t._visibility&~My:t._visibility|My,!E||y===null||M||jc||Ga||(po(e),(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(e,Ae,xe,"Disconnect")),y=null,t=e;;){if(t.tag===5||t.tag===26){if(y===null){M=y=t;try{T=M.stateNode,E?pe(M,jv,T):pe(M,Yv,M.stateNode,M.memoizedProps)}catch(he){Ge(M,M.return,he)}}}else if(t.tag===6){if(y===null){M=t;try{U=M.stateNode,E?pe(M,Bv,U):pe(M,Lv,U,M.memoizedProps)}catch(he){Ge(M,M.return,he)}}}else if(t.tag===18){if(y===null){M=t;try{Z=M.stateNode,E?pe(M,Hv,Z):pe(M,qv,M.stateNode)}catch(he){Ge(M,M.return,he)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;y===t&&(y=null),t=t.return}y===t&&(y=null),t.sibling.return=t.return,t=t.sibling}v&4&&(v=e.updateQueue,v!==null&&(y=v.retryQueue,y!==null&&(v.retryQueue=null,ho(e,y))));break;case 19:_n(t,e),En(e),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 30:break;case 21:break;default:_n(t,e),En(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<xe-Ae&&(T0(e.return.alternate,e.return)||yl(e,Ae,xe,"Mount"))),Ra(n),Jn(o),ta=s,ya=f}function En(e){var t=e.flags;if(t&2){try{pe(e,E0,e)}catch(n){Ge(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Sv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function el(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Zh(e,t.alternate,t),t=t.sibling}function Hh(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 14:case 15:xh(e,e.return,iu),po(e);break;case 1:zl(e,e.return);var f=e.stateNode;typeof f.componentWillUnmount=="function"&&Rh(e,e.return,f),po(e);break;case 27:pe(e,Di,e.stateNode);case 26:case 5:zl(e,e.return),po(e);break;case 22:e.memoizedState===null&&po(e);break;case 30:po(e);break;default:po(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ta=o,ya=s}function po(e){for(e=e.child;e!==null;)Hh(e),e=e.sibling}function D0(e,t,n,o){var s=Vt(),f=bl(),y=$n(),v=Sl(),E=n.flags;switch(n.tag){case 0:case 11:case 15:kl(e,n,o),mv(n,iu);break;case 1:if(kl(e,n,o),t=n.stateNode,typeof t.componentDidMount=="function"&&pe(n,AS,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{pe(n,Km,t,e)}catch(T){Ge(n,n.return,T)}}o&&E&64&&b0(n),fc(n,n.return);break;case 27:z0(n);case 26:case 5:kl(e,n,o),o&&t===null&&E&4&&fo(n),fc(n,n.return);break;case 12:if(o&&E&4){E=_u(),kl(e,n,o),o=n.stateNode,o.effectDuration+=mn(E);try{pe(n,S0,n,t,cs,o.effectDuration)}catch(T){Ge(n,n.return,T)}}else kl(e,n,o);break;case 31:kl(e,n,o),o&&E&4&&O0(e,n);break;case 13:kl(e,n,o),o&&E&4&&w0(e,n);break;case 22:n.memoizedState===null&&kl(e,n,o),fc(n,n.return);break;case 30:break;default:kl(e,n,o)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),Ra(s),Jn(f),ta=y,ya=v}function kl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)D0(e,t.alternate,t,n),t=t.sibling}function Tf(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ko(e),n!=null&&Ks(n))}function Af(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ko(t),e!=null&&Ks(e))}function tl(e,t,n,o,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var f=t.sibling;M0(e,t,n,o,f!==null?f.actualStartTime:s),t=f}}function M0(e,t,n,o,s){var f=Vt(),y=bl(),v=$n(),E=Sl(),T=ls,U=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&Fd(t,t.actualStartTime,s,Wa,n),tl(e,t,n,o,s),U&2048&&Sf(t,fl|Pu);break;case 1:(t.mode&ke)!==Re&&0<t.actualStartTime&&((t.flags&128)!==0?Um(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&Fd(t,t.actualStartTime,s,Wa,n)),tl(e,t,n,o,s);break;case 3:var Z=_u(),M=Wa;Wa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,tl(e,t,n,o,s),Wa=M,U&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==n&&(ko(o),n!=null&&Ks(n))),e.passiveEffectDuration+=rr(Z);break;case 12:if(U&2048){U=_u(),tl(e,t,n,o,s),e=t.stateNode,e.passiveEffectDuration+=mn(U);try{pe(t,vv,t,t.alternate,cs,e.passiveEffectDuration)}catch(G){Ge(t,t.return,G)}}else tl(e,t,n,o,s);break;case 31:U=Wa,Z=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,Z!==null&&M===null?(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(Wa=!1,Z=Z.hydrationErrors,Z!==null&&Um(t,t.actualStartTime,s,Z)):Wa=!0):Wa=!1,tl(e,t,n,o,s),Wa=U;break;case 13:U=Wa,Z=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,Z===null||Z.dehydrated===null||M!==null&&M.dehydrated!==null?Wa=!1:(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(Wa=!1,Z=Z.hydrationErrors,Z!==null&&Um(t,t.actualStartTime,s,Z)):Wa=!0),tl(e,t,n,o,s),Wa=U;break;case 23:break;case 22:M=t.stateNode,Z=t.alternate,t.memoizedState!==null?M._visibility&wc?tl(e,t,n,o,s):dc(e,t,n,o,s):M._visibility&wc?tl(e,t,n,o,s):(M._visibility|=wc,mo(e,t,n,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&ke)===Re||Wa||(e=t.actualStartTime,0<=e&&.05<s-e&&Id(t,e,s),0<=Ae&&0<=xe&&.05<xe-Ae&&Id(t,Ae,xe))),U&2048&&Tf(Z,t);break;case 24:tl(e,t,n,o,s),U&2048&&Af(t.alternate,t);break;default:tl(e,t,n,o,s)}(t.mode&ke)!==Re&&((e=!Wa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&yl(t,n,s,"Mount")),0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(t,Ae,xe,ia,ta),e&&.05<xe-Ae&&yl(t,Ae,xe,"Mount"))),Ra(f),Jn(y),ta=v,ya=E,ls=T}function mo(e,t,n,o,s,f){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var y=t.sibling;Of(e,t,n,o,s,y!==null?y.actualStartTime:f),t=y}}function Of(e,t,n,o,s,f){var y=Vt(),v=bl(),E=$n(),T=Sl(),U=ls;s&&(t.mode&ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&Fd(t,t.actualStartTime,f,Wa,n);var Z=t.flags;switch(t.tag){case 0:case 11:case 15:mo(e,t,n,o,s,f),Sf(t,fl);break;case 23:break;case 22:var M=t.stateNode;t.memoizedState!==null?M._visibility&wc?mo(e,t,n,o,s,f):dc(e,t,n,o,f):(M._visibility|=wc,mo(e,t,n,o,s,f)),s&&Z&2048&&Tf(t.alternate,t);break;case 24:mo(e,t,n,o,s,f),s&&Z&2048&&Af(t.alternate,t);break;default:mo(e,t,n,o,s,f)}(t.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(t,Ae,xe,ia,ta),Ra(y),Jn(v),ta=E,ya=T,ls=U}function dc(e,t,n,o,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var f=t.child;f!==null;){t=f.sibling;var y=e,v=n,E=o,T=t!==null?t.actualStartTime:s,U=ls;(f.mode&ke)!==Re&&0<f.actualStartTime&&(f.flags&1)!==0&&Fd(f,f.actualStartTime,T,Wa,v);var Z=f.flags;switch(f.tag){case 22:dc(y,f,v,E,T),Z&2048&&Tf(f.alternate,f);break;case 24:dc(y,f,v,E,T),Z&2048&&Af(f.alternate,f);break;default:dc(y,f,v,E,T)}ls=U,f=t}}function hc(e,t,n){if(e.subtreeFlags&Ky)for(e=e.child;e!==null;)jh(e,t,n),e=e.sibling}function jh(e,t,n){switch(e.tag){case 26:hc(e,t,n),e.flags&Ky&&e.memoizedState!==null&&P0(n,Ni,e.memoizedState,e.memoizedProps);break;case 5:hc(e,t,n);break;case 3:case 4:var o=Ni;Ni=ap(e.stateNode.containerInfo),hc(e,t,n),Ni=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Ky,Ky=16777216,hc(e,t,n),Ky=o):hc(e,t,n));break;default:hc(e,t,n)}}function x0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function al(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],s=Vt();rn=o,Uu(o,e),(o.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(o,Ae,xe,"Unmount"),Ra(s)}x0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bh(e),e=e.sibling}function Bh(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 15:al(e),e.flags&2048&&Ch(e,e.return,fl|Pu);break;case 3:var f=_u();al(e),e.stateNode.passiveEffectDuration+=rr(f);break;case 12:f=_u(),al(e),e.stateNode.passiveEffectDuration+=mn(f);break;case 22:f=e.stateNode,e.memoizedState!==null&&f._visibility&wc&&(e.return===null||e.return.tag!==13)?(f._visibility&=~wc,qh(e),(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(e,Ae,xe,"Disconnect")):al(e);break;default:al(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ya=s,ta=o}function qh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],s=Vt();rn=o,Uu(o,e),(o.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(o,Ae,xe,"Unmount"),Ra(s)}x0(e)}for(e=e.child;e!==null;)C0(e),e=e.sibling}function C0(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 15:Ch(e,e.return,fl),qh(e);break;case 22:var f=e.stateNode;f._visibility&wc&&(f._visibility&=~wc,qh(e));break;default:qh(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ya=s,ta=o}function Uu(e,t){for(;rn!==null;){var n=rn,o=n,s=t,f=Vt(),y=bl(),v=$n(),E=Sl();switch(o.tag){case 0:case 11:case 15:Ch(o,s,fl);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(s=o.memoizedState.cachePool.pool,s!=null&&ko(s));break;case 24:Ks(o.memoizedState.cache)}if((o.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(o,Ae,xe,ia,ta),Ra(f),Jn(y),ya=E,ta=v,o=n.child,o!==null)o.return=n,rn=o;else e:for(n=e;rn!==null;){if(o=rn,f=o.sibling,y=o.return,pa(o),o===n){rn=null;break e}if(f!==null){f.return=y,rn=f;break e}rn=y}}}function R0(){_x.forEach(function(e){return e()})}function U0(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Q.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ln(e){if((ft&Pa)!==sn&&Ie!==0)return Ie&-Ie;var t=Q.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),G0()):Bg()}function wr(){if(xl===0)if((Ie&536870912)===0||it){var e=Kf;Kf<<=1,(Kf&3932160)===0&&(Kf=262144),xl=e}else xl=536870912;return e=uu.current,e!==null&&(e.flags|=32),xl}function Ue(e,t,n){if(Kp&&console.error("useInsertionEffect must not schedule updates."),KS&&(Xb=!0),(e===Bt&&(Ct===fd||Ct===dd)||e.cancelPendingCommit!==null)&&(Nu(e,0),Tl(e,Ie,xl,!1)),Li(e,n),(ft&Pa)!==sn&&e===Bt){if(Lu)switch(t.tag){case 0:case 11:case 15:e=Pe&&de(Pe)||"Unknown",ZT.has(e)||(ZT.add(e),t=de(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:NT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),NT=!0)}}else Gu&&Cn(e,t,n),xf(t),e===Bt&&((ft&Pa)===sn&&(ys|=n),oa===hs&&Tl(e,Ie,xl,!1)),Zn(e)}function _v(e,t,n){if((ft&(Pa|ou))!==sn)throw Error("Should not already be working.");if(Ie!==0&&Pe!==null){var o=Pe,s=Ba();switch(wz){case Wy:case fd:var f=Zy;Jt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,s,Qu,void 0,"primary-light")):console.timeStamp("Suspended",f,s,Qu,void 0,"primary-light"));break;case dd:f=Zy,Jt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,s,Qu,void 0,"primary-light")):console.timeStamp("Action",f,s,Qu,void 0,"primary-light"));break;default:Jt&&(o=s-Zy,3>o||console.timeStamp("Blocked",Zy,s,Qu,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||$a(e,t))?zi(e,t):xr(e,t,!0);var y=n;do{if(f===Bc){$p&&!n&&Tl(e,t,0,!1),t=Ct,Zy=Ya(),wz=t;break}else{if(o=Ba(),s=e.current.alternate,y&&!zv(s)){jl(t),s=cn,f=o,!Jt||f<=s||(_a?_a.run(console.timeStamp.bind(console,"Teared Render",s,f,rt,ot,"error")):console.timeStamp("Teared Render",s,f,rt,ot,"error")),yo(t,o),f=xr(e,t,!1),y=!1;continue}if(f===sd){if(y=t,e.errorRecoveryDisabledLanes&y)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){jl(t),Nm(cn,o,t,_a),yo(t,o),t=v;e:{o=e,f=y,y=eg;var E=o.current.memoizedState.isDehydrated;if(E&&(Nu(o,v).flags|=256),v=xr(o,v,!1),v!==sd){if(LS&&!E){o.errorRecoveryDisabledLanes|=f,ys|=f,f=hs;break e}o=dl,dl=y,o!==null&&(dl===null?dl=o:dl.push.apply(dl,o))}f=v}if(y=!1,f!==sd)continue;o=Ba()}}if(f===Fy){jl(t),Nm(cn,o,t,_a),yo(t,o),Nu(e,0),Tl(e,t,0,!0);break}e:{switch(n=e,f){case Bc:case Fy:throw Error("Root did not complete. This is a bug in React.");case hs:if((t&4194048)!==t)break;case Hb:jl(t),Fg(cn,o,t,_a),yo(t,o),s=t,(s&127)!==0?_b=o:(s&4194048)!==0&&(Eb=o),Tl(n,t,xl,!ps);break e;case sd:dl=null;break;case Zb:case _T:break;default:throw Error("Unknown root exit status.")}if(Q.actQueue!==null)Zt(n,s,t,dl,tg,qb,xl,ys,hd,f,null,null,cn,o);else{if((t&62914560)===t&&(y=Yb+TT-Ba(),10<y)){if(Tl(n,t,xl,!ps),Cd(n,0,!0)!==0)break e;Zi=t,n.timeoutHandle=GT(Ev.bind(null,n,s,dl,tg,qb,t,xl,ys,hd,ps,f,"Throttled",cn,o),y);break e}Ev(n,s,dl,tg,qb,t,xl,ys,hd,ps,f,null,cn,o)}}}break}while(!0);Zn(e)}function Ev(e,t,n,o,s,f,y,v,E,T,U,Z,M,G){e.timeoutHandle=vd;var oe=t.subtreeFlags,he=null;if((oe&8192||(oe&16785408)===16785408)&&(he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ml},jh(t,f,he),oe=(f&62914560)===f?Yb-Ba():(f&4194048)===f?zT-Ba():0,oe=up(he,oe),oe!==null)){Zi=f,e.cancelPendingCommit=oe(Zt.bind(null,e,t,f,n,o,s,y,v,E,U,he,he.waitingForViewTransition?"Waiting for the previous Animation":0<he.count?0<he.imgCount?"Suspended on CSS and Images":"Suspended on CSS":he.imgCount===1?"Suspended on an Image":0<he.imgCount?"Suspended on Images":null,M,G)),Tl(e,f,y,!T);return}Zt(e,t,f,n,o,s,y,v,E,U,he,Z,M,G)}function zv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var o=0;o<n.length;o++){var s=n[o],f=s.getSnapshot;s=s.value;try{if(!cl(f(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Tl(e,t,n,o){t&=~VS,t&=~ys,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var s=t;0<s;){var f=31-Ia(s),y=1<<f;o[f]=-1,s&=~y}n!==0&&mm(e,n,t)}function nl(){return(ft&(Pa|ou))===sn?(Hu(0),!1):!0}function Yh(){if(Pe!==null){if(Ct===Ml)var e=Pe.return;else e=Pe,or(),eo(e),Bp=null,Xy=0,e=Pe;for(;e!==null;)v0(e.alternate,e),e=e.return;Pe=null}}function yo(e,t){(e&127)!==0&&(td=t),(e&4194048)!==0&&(Rc=t),(e&62914560)!==0&&(Az=t),(e&2080374784)!==0&&(Oz=t)}function Nu(e,t){Jt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ot,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ot,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ot,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ot,"primary-light"));var n=cn;if(cn=Ya(),Ie!==0&&0<n){if(jl(Ie),oa===Zb||oa===hs)Fg(n,cn,t,_a);else{var o=cn,s=_a;if(Jt&&!(o<=n)){var f=(t&738197653)===t?"tertiary-dark":"primary-dark",y=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,y,n,o,rt,ot,f)):console.timeStamp(y,n,o,rt,ot,f)}}yo(Ie,cn)}if(n=_a,_a=null,(t&127)!==0){_a=Ry,s=0<=wo&&wo<td?td:wo,o=0<=ad&&ad<td?td:ad,f=0<=o?o:0<=s?s:cn,0<=_b?(jl(2),Wg(_b,f,t,n)):zb&127,n=s;var v=o,E=Uy,T=0<Zp,U=rs===Cy,Z=rs===Sb;if(s=cn,o=Ry,f=SS,y=_S,Jt){if(rt="Blocking",0<n?n>s&&(n=s):n=s,0<v?v>n&&(v=n):v=n,E!==null&&n>v){var M=T?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+E,v,n,rt,ot,M)):console.timeStamp(T?"Consecutive":"Event: "+E,v,n,rt,ot,M)}s>n&&(v=U?"error":(t&738197653)===t?"tertiary-light":"primary-light",U=Z?"Promise Resolved":U?"Cascading Update":5<s-n?"Update Blocked":"Update",Z=[],y!=null&&Z.push(["Component name",y]),f!=null&&Z.push(["Method name",f]),n={start:n,end:s,detail:{devtools:{properties:Z,track:rt,trackGroup:ot,color:v}}},o?o.run(performance.measure.bind(performance,U,n)):performance.measure(U,n))}wo=-1.1,rs=0,_S=SS=null,_b=-1.1,Zp=ad,ad=-1.1,td=Ya()}if((t&4194048)!==0&&(_a=Ny,s=0<=Uc&&Uc<Rc?Rc:Uc,n=0<=Fu&&Fu<Rc?Rc:Fu,o=0<=ss&&ss<Rc?Rc:ss,f=0<=o?o:0<=n?n:cn,0<=Eb?(jl(256),Wg(Eb,f,t,_a)):zb&4194048,Z=o,v=nd,E=0<fs,T=ES===Sb,f=cn,o=Ny,y=zz,U=Tz,Jt&&(rt="Transition",0<n?n>f&&(n=f):n=f,0<s?s>n&&(s=n):s=n,0<Z?Z>s&&(Z=s):Z=s,s>Z&&v!==null&&(M=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+v,Z,s,rt,ot,M)):console.timeStamp(E?"Consecutive":"Event: "+v,Z,s,rt,ot,M)),n>s&&(o?o.run(console.timeStamp.bind(console,"Action",s,n,rt,ot,"primary-dark")):console.timeStamp("Action",s,n,rt,ot,"primary-dark")),f>n&&(s=T?"Promise Resolved":5<f-n?"Update Blocked":"Update",Z=[],U!=null&&Z.push(["Component name",U]),y!=null&&Z.push(["Method name",y]),n={start:n,end:f,detail:{devtools:{properties:Z,track:rt,trackGroup:ot,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Fu=Uc=-1.1,ES=0,Eb=-1.1,fs=ss,ss=-1.1,Rc=Ya()),(t&62914560)!==0&&(zb&62914560)!==0&&(jl(4194304),Zm(Az,cn)),(t&2080374784)!==0&&(zb&2080374784)!==0&&(jl(268435456),Zm(Oz,cn)),n=e.timeoutHandle,n!==vd&&(e.timeoutHandle=vd,Nx(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Zi=0,Yh(),Bt=e,Pe=n=bu(e.current,null),Ie=t,Ct=Ml,cu=null,ps=!1,$p=$a(e,t),LS=!1,oa=Bc,hd=xl=VS=ys=ms=0,dl=eg=null,qb=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)s=31-Ia(o),f=1<<s,t|=e[s],o&=~f;return Mo=t,Wd(),e=gz(),1e3<e-yz&&(Q.recentlyCreatedOwnerStacks=0,yz=e),Ri.discardPendingWarnings(),n}function Kl(e,t){Ze=null,Q.H=ky,Q.getCurrentStack=null,Lu=!1,qn=null,t===jp||t===wb?(t=Fo(),Ct=Wy):t===OS?(t=Fo(),Ct=ET):Ct=t===HS?YS:t!==null&&typeof t=="object"&&typeof t.then=="function"?Py:jb,cu=t;var n=Pe;n===null?(oa=Fy,mf(e,pn(t,e.current))):n.mode&ke&&uh(n)}function N0(){var e=uu.current;return e===null?!0:(Ie&4194048)===Ie?Wu===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?e===Wu:!1}function Lh(){var e=Q.H;return Q.H=ky,e===null?ky:e}function Z0(){var e=Q.A;return Q.A=Sx,e}function Dr(e){_a===null&&(_a=e._debugTask==null?null:e._debugTask)}function Mr(){oa=hs,ps||(Ie&4194048)!==Ie&&uu.current!==null||($p=!0),(ms&134217727)===0&&(ys&134217727)===0||Bt===null||Tl(Bt,Ie,xl,!1)}function xr(e,t,n){var o=ft;ft|=Pa;var s=Lh(),f=Z0();if(Bt!==e||Ie!==t){if(Gu){var y=e.memoizedUpdaters;0<y.size&&(Rr(e,Ie),y.clear()),ii(e,t)}tg=null,Nu(e,t)}t=!1,y=oa;e:do try{if(Ct!==Ml&&Pe!==null){var v=Pe,E=cu;switch(Ct){case YS:Yh(),y=Hb;break e;case Wy:case fd:case dd:case Py:uu.current===null&&(t=!0);var T=Ct;if(Ct=Ml,cu=null,Cr(e,v,E,T),n&&$p){y=Bc;break e}break;default:T=Ct,Ct=Ml,cu=null,Cr(e,v,E,T)}}H0(),y=oa;break}catch(U){Kl(e,U)}while(!0);return t&&e.shellSuspendCounter++,or(),ft=o,Q.H=s,Q.A=f,Pe===null&&(Bt=null,Ie=0,Wd()),y}function H0(){for(;Pe!==null;)Vh(Pe)}function zi(e,t){var n=ft;ft|=Pa;var o=Lh(),s=Z0();if(Bt!==e||Ie!==t){if(Gu){var f=e.memoizedUpdaters;0<f.size&&(Rr(e,Ie),f.clear()),ii(e,t)}tg=null,Lb=Ba()+AT,Nu(e,t)}else $p=$a(e,t);e:do try{if(Ct!==Ml&&Pe!==null)t:switch(t=Pe,f=cu,Ct){case jb:Ct=Ml,cu=null,Cr(e,t,f,jb);break;case fd:case dd:if($m(f)){Ct=Ml,cu=null,j0(t);break}t=function(){Ct!==fd&&Ct!==dd||Bt!==e||(Ct=Bb),Zn(e)},f.then(t,t);break e;case Wy:Ct=Bb;break e;case ET:Ct=qS;break e;case Bb:$m(f)?(Ct=Ml,cu=null,j0(t)):(Ct=Ml,cu=null,Cr(e,t,f,Bb));break;case qS:var y=null;switch(Pe.tag){case 26:y=Pe.memoizedState;case 5:case 27:var v=Pe;if(y?tt(y):v.stateNode.complete){Ct=Ml,cu=null;var E=v.sibling;if(E!==null)Pe=E;else{var T=v.return;T!==null?(Pe=T,wf(T)):Pe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ct=Ml,cu=null,Cr(e,t,f,qS);break;case Py:Ct=Ml,cu=null,Cr(e,t,f,Py);break;case YS:Yh(),oa=Hb;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Q.actQueue!==null?H0():ba();break}catch(U){Kl(e,U)}while(!0);return or(),Q.H=o,Q.A=s,ft=n,Pe!==null?Bc:(Bt=null,Ie=0,Wd(),oa)}function ba(){for(;Pe!==null&&!yp();)Vh(Pe)}function Vh(e){var t=e.alternate;(e.mode&ke)!==Re?(di(e),t=pe(e,bf,t,e,Mo),uh(e)):t=pe(e,bf,t,e,Mo),e.memoizedProps=e.pendingProps,t===null?wf(e):Pe=t}function j0(e){var t=pe(e,ja,e);e.memoizedProps=e.pendingProps,t===null?wf(e):Pe=t}function ja(e){var t=e.alternate,n=(e.mode&ke)!==Re;switch(n&&di(e),e.tag){case 15:case 0:t=d0(t,e,e.pendingProps,e.type,void 0,Ie);break;case 11:t=d0(t,e,e.pendingProps,e.type.render,e.ref,Ie);break;case 5:eo(e);default:v0(t,e),e=Pe=qm(e,Mo),t=bf(t,e,Mo)}return n&&uh(e),t}function Cr(e,t,n,o){or(),eo(t),Bp=null,Xy=0;var s=t.return;try{if(u0(e,s,t,n,Ie)){oa=Fy,mf(e,pn(n,e.current)),Pe=null;return}}catch(f){if(s!==null)throw Pe=s,f;oa=Fy,mf(e,pn(n,e.current)),Pe=null;return}t.flags&32768?(it||o===jb?e=!0:$p||(Ie&536870912)!==0?e=!1:(ps=e=!0,(o===fd||o===dd||o===Wy||o===Py)&&(o=uu.current,o!==null&&o.tag===13&&(o.flags|=16384))),B0(t,e)):wf(t)}function wf(e){var t=e;do{if((t.flags&32768)!==0){B0(t,ps);return}var n=t.alternate;if(e=t.return,di(t),n=pe(t,g0,n,t,Mo),(t.mode&ke)!==Re&&Is(t),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);oa===Bc&&(oa=_T)}function B0(e,t){do{var n=pv(e.alternate,e);if(n!==null){n.flags&=32767,Pe=n;return}if((e.mode&ke)!==Re){Is(e),n=e.actualDuration;for(var o=e.child;o!==null;)n+=o.actualDuration,o=o.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Pe=e;return}Pe=e=n}while(e!==null);oa=Hb,Pe=null}function Zt(e,t,n,o,s,f,y,v,E,T,U,Z,M,G){e.cancelPendingCommit=null;do Df();while(Qa!==vs);if(Ri.flushLegacyContextWarning(),Ri.flushPendingUnsafeLifecycleWarnings(),(ft&(Pa|ou))!==sn)throw Error("Should not already be working.");if(jl(n),T===sd?Nm(M,G,n,_a):o!==null?G1(M,G,n,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,_a):V1(M,G,n,_a),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(f=t.lanes|t.childLanes,f|=mS,B1(e,n,f,y,v,E),e===Bt&&(Pe=Bt=null,Ie=0),kp=t,bs=e,Zi=n,QS=f,$S=s,CT=o,JS=G,RT=Z,Hi=Vb,UT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ur(zc,function(){return og=window.event,Hi===Vb&&(Hi=XS),Mf(),null})):(e.callbackNode=null,e.callbackPriority=0),Cc=null,cs=Ya(),Z!==null&&X1(G,cs,Z,_a),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=Q.T,Q.T=null,s=yt.p,yt.p=Da,y=ft,ft|=ou;try{$1(e,t,n)}finally{ft=y,yt.p=s,Q.T=o}}Qa=wT,zn(),Zu(),q0()}}function zn(){if(Qa===wT){Qa=vs;var e=bs,t=kp,n=Zi,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Q.T,Q.T=null;var s=yt.p;yt.p=Da;var f=ft;ft|=ou;try{Qp=n,Jp=e,Ko(),zf(t,e),Jp=Qp=null,n=l2;var y=Kd(e.containerInfo),v=n.focusedElem,E=n.selectionRange;if(y!==v&&v&&v.ownerDocument&&$g(v.ownerDocument.documentElement,v)){if(E!==null&&Cm(v)){var T=E.start,U=E.end;if(U===void 0&&(U=T),"selectionStart"in v)v.selectionStart=T,v.selectionEnd=Math.min(U,v.value.length);else{var Z=v.ownerDocument||document,M=Z&&Z.defaultView||window;if(M.getSelection){var G=M.getSelection(),oe=v.textContent.length,he=Math.min(E.start,oe),Yt=E.end===void 0?he:Math.min(E.end,oe);!G.extend&&he>Yt&&(y=Yt,Yt=he,he=y);var ct=Jg(v,he),D=Jg(v,Yt);if(ct&&D&&(G.rangeCount!==1||G.anchorNode!==ct.node||G.anchorOffset!==ct.offset||G.focusNode!==D.node||G.focusOffset!==D.offset)){var x=Z.createRange();x.setStart(ct.node,ct.offset),G.removeAllRanges(),he>Yt?(G.addRange(x),G.extend(D.node,D.offset)):(x.setEnd(D.node,D.offset),G.addRange(x))}}}}for(Z=[],G=v;G=G.parentNode;)G.nodeType===1&&Z.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Z.length;v++){var R=Z[v];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}l1=!!n2,l2=n2=null}finally{ft=f,yt.p=s,Q.T=o}}e.current=t,Qa=DT}}function Zu(){if(Qa===DT){Qa=vs;var e=UT;if(e!==null){cs=Ya();var t=xc,n=cs;!Jt||n<=t||console.timeStamp(e,t,n,rt,ot,"secondary-light")}e=bs,t=kp,n=Zi;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Q.T,Q.T=null;var s=yt.p;yt.p=Da;var f=ft;ft|=ou;try{Qp=n,Jp=e,Ko(),Zh(e,t.alternate,t),Jp=Qp=null}finally{ft=f,yt.p=s,Q.T=o}}e=JS,t=RT,xc=Ya(),e=t===null?e:cs,t=xc,n=Hi===GS,o=_a,Cc!==null?Pg(e,t,Cc,!1,o):!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,rt,ot,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,rt,ot,n?"error":"secondary-dark")),Qa=MT}}function q0(){if(Qa===xT||Qa===MT){if(Qa===xT){var e=xc;xc=Ya();var t=xc,n=Hi===GS;!Jt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,rt,ot,n?" error":"secondary-light"),Hi!==GS&&(Hi=OT)}Qa=vs,gp(),e=bs;var o=kp;t=Zi,n=CT;var s=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;s?Qa=Gb:(Qa=vs,kp=bs=null,Y0(e,e.pendingLanes),pd=0,ng=null);var f=e.pendingLanes;if(f===0&&(gs=null),s||Qh(e),f=dn(t),o=o.stateNode,wa&&typeof wa.onCommitFiberRoot=="function")try{var y=(o.current.flags&128)===128;switch(f){case Da:var v=yy;break;case Fa:v=vp;break;case on:v=zc;break;case To:v=bp;break;default:v=zc}wa.onCommitFiberRoot(Tc,o,v,y)}catch(Z){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",Z))}if(Gu&&e.memoizedUpdaters.clear(),R0(),n!==null){y=Q.T,v=yt.p,yt.p=Da,Q.T=null;try{var E=e.onRecoverableError;for(o=0;o<n.length;o++){var T=n[o],U=Tv(T.stack);pe(T.source,E,T.value,U)}}finally{Q.T=y,yt.p=v}}(Zi&3)!==0&&Df(),Zn(e),f=e.pendingLanes,(t&261930)!==0&&(f&42)!==0?(Ab=!0,e===kS?ag++:(ag=0,kS=e)):ag=0,s||yo(t,xc),Hu(0)}}function Tv(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Y0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ks(t)))}function Df(){return zn(),Zu(),q0(),Mf()}function Mf(){if(Qa!==Gb)return!1;var e=bs,t=QS;QS=0;var n=dn(Zi),o=on>n?on:n;n=Q.T;var s=yt.p;try{yt.p=o,Q.T=null;var f=$S;$S=null,o=bs;var y=Zi;if(Qa=vs,kp=bs=null,Zi=0,(ft&(Pa|ou))!==sn)throw Error("Cannot flush passive effects while already rendering.");jl(y),KS=!0,Xb=!1;var v=0;if(Cc=null,v=Ba(),Hi===OT)Zm(xc,v,hx);else{var E=xc,T=v,U=Hi===XS;!Jt||T<=E||(_a?_a.run(console.timeStamp.bind(console,U?"Waiting for Paint":"Waiting",E,T,rt,ot,"secondary-light")):console.timeStamp(U?"Waiting for Paint":"Waiting",E,T,rt,ot,"secondary-light"))}E=ft,ft|=ou;var Z=o.current;Ko(),Bh(Z);var M=o.current;Z=JS,Ko(),M0(o,M,y,f,Z),Qh(o),ft=E;var G=Ba();if(M=v,Z=_a,Cc!==null?Pg(M,G,Cc,!0,Z):!Jt||G<=M||(Z?Z.run(console.timeStamp.bind(console,"Remaining Effects",M,G,rt,ot,"secondary-dark")):console.timeStamp("Remaining Effects",M,G,rt,ot,"secondary-dark")),yo(y,G),Hu(0,!1),Xb?o===ng?pd++:(pd=0,ng=o):pd=0,Xb=KS=!1,wa&&typeof wa.onPostCommitFiberRoot=="function")try{wa.onPostCommitFiberRoot(Tc,o)}catch(he){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",he))}var oe=o.current.stateNode;return oe.effectDuration=0,oe.passiveEffectDuration=0,!0}finally{yt.p=s,Q.T=n,Y0(e,t)}}function Tn(e,t,n){t=pn(n,t),uv(t),t=_h(e.stateNode,t,2),e=zu(e,t,2),e!==null&&(Li(e,2),Zn(e))}function Ge(e,t,n){if(Kp=!1,e.tag===3)Tn(e,e,n);else{for(;t!==null;){if(t.tag===3){Tn(t,e,n);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(gs===null||!gs.has(o))){e=pn(n,e),uv(e),n=Eh(2),o=zu(t,n,2),o!==null&&(zh(n,o,t,e),Li(o,2),Zn(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
146
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,pe(t,function(v,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,E)},f,y)}n=n.next}while(n!==s)}}catch(v){Ge(t,t.return,v)}}function so(e,t,n){try{var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var f=s.next;o=f;do{if((o.tag&e)===e){var y=o.inst,v=y.destroy;v!==void 0&&(y.destroy=void 0,(e&sl)!==xb&&(Kp=!0),s=t,pe(s,gx,s,n,v),(e&sl)!==xb&&(Kp=!1))}o=o.next}while(o!==f)}}catch(E){Ge(t,t.return,E)}}function Sf(e,t){Ru(e)?(na(),Ei(t,e),yn()):Ei(t,e)}function Ch(e,t,n){Ru(e)?(na(),so(n,e,t),yn()):so(n,e,t)}function b0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Xp||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(e)||"instance"));try{pe(e,hr,t,n)}catch(o){Ge(e,e.return,o)}}}function _f(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function yv(e,t){var n=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Xp||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(e)||"instance"));try{var s=xu(e.type,n),f=pe(e,_f,t,s,o);n=vT,f!==void 0||n.has(e.type)||(n.add(e.type),pe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",de(e))})),t.__reactInternalSnapshotBeforeUpdate=f}catch(y){Ge(e,e.return,y)}}function Rh(e,t,n){n.props=xu(e.type,e.memoizedProps),n.state=e.memoizedState,Ru(e)?(na(),pe(e,jz,e,t,n),yn()):pe(e,jz,e,t,n)}function gv(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Ru(e))try{na(),e.refCleanup=t(n)}finally{yn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",de(e)),t.current=n}}function fc(e,t){try{pe(e,gv,e)}catch(n){Ge(e,t,n)}}function zl(e,t){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{if(Ru(e))try{na(),pe(e,o)}finally{yn(e)}else pe(e,o)}catch(s){Ge(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Ru(e))try{na(),pe(e,n,null)}finally{yn(e)}else pe(e,n,null)}catch(s){Ge(e,t,s)}else n.current=null}function S0(e,t,n,o){var s=e.memoizedProps,f=s.id,y=s.onCommit;s=s.onRender,t=t===null?"mount":"update",Tb&&(t="nested-update"),typeof s=="function"&&s(f,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof y=="function"&&y(f,t,o,n)}function vv(e,t,n,o){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",Tb&&(t="nested-update"),typeof s=="function"&&s(e,t,o,n)}function fo(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{pe(e,Cv,o,t,n,e)}catch(s){Ge(e,e.return,s)}}function Uh(e,t,n){try{pe(e,Ph,e.stateNode,e.type,n,t,e)}catch(o){Ge(e,e.return,o)}}function _0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&bo(e.type)||e.tag===4}function Nh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&bo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Or(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(Uv(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Uv(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ml));else if(o!==4&&(o===27&&bo(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Or(e,t,n),e=e.sibling;e!==null;)Or(e,t,n),e=e.sibling}function Ef(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(o===27&&bo(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ef(e,t,n),e=e.sibling;e!==null;)Ef(e,t,n),e=e.sibling}function E0(e){for(var t,n=e.return;n!==null;){if(_0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Nh(e),Ef(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(ep(n),t.flags&=-33),t=Nh(e),Ef(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Nh(e),Or(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function z0(e){var t=e.stateNode,n=e.memoizedProps;try{pe(e,Yu,e.type,n,t,e)}catch(o){Ge(e,e.return,o)}}function T0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function k1(e,t){if(e=e.containerInfo,l2=l1,e=Kd(e),Cm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var s=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{n.nodeType,f.nodeType}catch{n=null;break e}var y=0,v=-1,E=-1,T=0,U=0,Z=e,M=null;t:for(;;){for(var G;Z!==n||s!==0&&Z.nodeType!==3||(v=y+s),Z!==f||o!==0&&Z.nodeType!==3||(E=y+o),Z.nodeType===3&&(y+=Z.nodeValue.length),(G=Z.firstChild)!==null;)M=Z,Z=G;for(;;){if(Z===e)break t;if(M===n&&++T===s&&(v=y),M===f&&++U===o&&(E=y),(G=Z.nextSibling)!==null)break;Z=M,M=Z.parentNode}Z=G}n=v===-1||E===-1?null:{start:v,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(u2={focusedElem:e,selectionRange:n},l1=!1,rn=t;rn!==null;)if(t=rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rn=e;else for(;rn!==null;){switch(e=t=rn,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&yv(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)qr(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":qr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,rn=e;break}rn=t.return}}function Zh(e,t,n){var o=Vt(),s=bl(),f=$n(),y=Sl(),v=n.flags;switch(n.tag){case 0:case 11:case 15:el(e,n),v&4&&mv(n,iu|Pu);break;case 1:if(el(e,n),v&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Xp||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(n)||"instance")),Ru(n)?(na(),pe(n,OS,n,e),yn()):pe(n,OS,n,e);else{var E=xu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Xp||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",de(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",de(n)||"instance")),Ru(n)?(na(),pe(n,Nz,n,e,E,t,e.__reactInternalSnapshotBeforeUpdate),yn()):pe(n,Nz,n,e,E,t,e.__reactInternalSnapshotBeforeUpdate)}v&64&&b0(n),v&512&&fc(n,n.return);break;case 3:if(t=_u(),el(e,n),v&64&&(v=n.updateQueue,v!==null)){if(E=null,n.child!==null)switch(n.child.tag){case 27:case 5:E=n.child.stateNode;break;case 1:E=n.child.stateNode}try{pe(n,hr,v,E)}catch(U){Ge(n,n.return,U)}}e.effectDuration+=rr(t);break;case 27:t===null&&v&4&&z0(n);case 26:case 5:if(el(e,n),t===null){if(v&4)fo(n);else if(v&64){e=n.type,t=n.memoizedProps,E=n.stateNode;try{pe(n,Rv,E,e,t,n)}catch(U){Ge(n,n.return,U)}}}v&512&&fc(n,n.return);break;case 12:if(v&4){v=_u(),el(e,n),e=n.stateNode,e.effectDuration+=mn(v);try{pe(n,S0,n,t,cs,e.effectDuration)}catch(U){Ge(n,n.return,U)}}else el(e,n);break;case 31:el(e,n),v&4&&O0(e,n);break;case 13:el(e,n),v&4&&w0(e,n),v&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(v=Ti.bind(null,n),Xv(e,v))));break;case 22:if(v=n.memoizedState!==null||jc,!v){t=t!==null&&t.memoizedState!==null||Ga,E=jc;var T=Ga;jc=v,(Ga=t)&&!T?(kl(e,n,(n.subtreeFlags&8772)!==0),(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&Id(n,Ae,xe)):el(e,n),jc=E,Ga=T}break;case 30:break;default:el(e,n)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<xe-Ae&&(T0(n.return.alternate,n.return)||yl(n,Ae,xe,"Mount"))),Ra(o),Jn(s),ta=f,ya=y}function pa(e){var t=e.alternate;t!==null&&(e.alternate=null,pa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ym(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qt(e,t,n){for(n=n.child;n!==null;)A0(e,t,n),n=n.sibling}function A0(e,t,n){if(wa&&typeof wa.onCommitFiberUnmount=="function")try{wa.onCommitFiberUnmount(Tc,n)}catch(T){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",T))}var o=Vt(),s=bl(),f=$n(),y=Sl();switch(n.tag){case 26:Ga||zl(n,t),qt(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Ga||zl(n,t);var v=Xa,E=Dl;bo(n.type)&&(Xa=n.stateNode,Dl=!1),qt(e,t,n),pe(n,Di,n.stateNode),Xa=v,Dl=E;break;case 5:Ga||zl(n,t);case 6:if(v=Xa,E=Dl,Xa=null,qt(e,t,n),Xa=v,Dl=E,Xa!==null)if(Dl)try{pe(n,Zv,Xa,n.stateNode)}catch(T){Ge(n,t,T)}else try{pe(n,Nv,Xa,n.stateNode)}catch(T){Ge(n,t,T)}break;case 18:Xa!==null&&(Dl?(e=Xa,yc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Sc(e)):yc(Xa,n.stateNode));break;case 4:v=Xa,E=Dl,Xa=n.stateNode.containerInfo,Dl=!0,qt(e,t,n),Xa=v,Dl=E;break;case 0:case 11:case 14:case 15:so(sl,n,t),Ga||xh(n,t,iu),qt(e,t,n);break;case 1:Ga||(zl(n,t),v=n.stateNode,typeof v.componentWillUnmount=="function"&&Rh(n,t,v)),qt(e,t,n);break;case 21:qt(e,t,n);break;case 22:Ga=(v=Ga)||n.memoizedState!==null,qt(e,t,n),Ga=v;break;default:qt(e,t,n)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),Ra(o),Jn(s),ta=f,ya=y}function O0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{pe(t,tp,e)}catch(n){Ge(t,t.return,n)}}}function w0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pe(t,k0,e)}catch(n){Ge(t,t.return,n)}}function bv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new bT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new bT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function ho(e,t){var n=bv(e);t.forEach(function(o){if(!n.has(o)){if(n.add(o),Gu)if(Qp!==null&&Jp!==null)Rr(Jp,Qp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=pc.bind(null,e,o);o.then(s,s)}})}function _n(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var s=e,f=t,y=n[o],v=Vt(),E=f;e:for(;E!==null;){switch(E.tag){case 27:if(bo(E.type)){Xa=E.stateNode,Dl=!1;break e}break;case 5:Xa=E.stateNode,Dl=!1;break e;case 3:case 4:Xa=E.stateNode.containerInfo,Dl=!0;break e}E=E.return}if(Xa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");A0(s,f,y),Xa=null,Dl=!1,(y.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(y,Ae,xe,"Unmount"),Ra(v),s=y,f=s.alternate,f!==null&&(f.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)zf(t,e),t=t.sibling}function zf(e,t){var n=Vt(),o=bl(),s=$n(),f=Sl(),y=e.alternate,v=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_n(t,e),En(e),v&4&&(so(sl|Pu,e,e.return),Ei(sl|Pu,e),xh(e,e.return,iu|Pu));break;case 1:if(_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),v&64&&jc&&(v=e.updateQueue,v!==null&&(y=v.callbacks,y!==null))){var E=v.shared.hiddenCallbacks;v.shared.hiddenCallbacks=E===null?y:E.concat(y)}break;case 26:if(E=Ni,_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),v&4){var T=y!==null?y.memoizedState:null;if(v=e.memoizedState,y===null)if(v===null)if(e.stateNode===null){e:{v=e.type,y=e.memoizedProps,E=E.ownerDocument||E;t:switch(v){case"title":T=E.getElementsByTagName("title")[0],(!T||T[es]||T[Qt]||T.namespaceURI===Xe||T.hasAttribute("itemprop"))&&(T=E.createElement(v),E.head.insertBefore(T,E.querySelector("head > title"))),Xt(T,v,y),T[Qt]=e,sa(T),v=T;break e;case"link":var U=Vr("link","href",E).get(v+(y.href||""));if(U){for(var Z=0;Z<U.length;Z++)if(T=U[Z],T.getAttribute("href")===(y.href==null||y.href===""?null:y.href)&&T.getAttribute("rel")===(y.rel==null?null:y.rel)&&T.getAttribute("title")===(y.title==null?null:y.title)&&T.getAttribute("crossorigin")===(y.crossOrigin==null?null:y.crossOrigin)){U.splice(Z,1);break t}}T=E.createElement(v),Xt(T,v,y),E.head.appendChild(T);break;case"meta":if(U=Vr("meta","content",E).get(v+(y.content||""))){for(Z=0;Z<U.length;Z++)if(T=U[Z],At(y.content,"content"),T.getAttribute("content")===(y.content==null?null:""+y.content)&&T.getAttribute("name")===(y.name==null?null:y.name)&&T.getAttribute("property")===(y.property==null?null:y.property)&&T.getAttribute("http-equiv")===(y.httpEquiv==null?null:y.httpEquiv)&&T.getAttribute("charset")===(y.charSet==null?null:y.charSet)){U.splice(Z,1);break t}}T=E.createElement(v),Xt(T,v,y),E.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+v+'". This is a bug in React.')}T[Qt]=e,sa(T),v=T}e.stateNode=v}else kv(E,e.type,e.stateNode);else e.stateNode=lp(E,v,e.memoizedProps);else T!==v?(T===null?y.stateNode!==null&&(y=y.stateNode,y.parentNode.removeChild(y)):T.count--,v===null?kv(E,e.type,e.stateNode):lp(E,v,e.memoizedProps)):v===null&&e.stateNode!==null&&Uh(e,e.memoizedProps,y.memoizedProps)}break;case 27:_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),y!==null&&v&4&&Uh(e,e.memoizedProps,y.memoizedProps);break;case 5:if(_n(t,e),En(e),v&512&&(Ga||y===null||zl(y,y.return)),e.flags&32){E=e.stateNode;try{pe(e,ep,E)}catch(he){Ge(e,e.return,he)}}v&4&&e.stateNode!=null&&(E=e.memoizedProps,Uh(e,E,y!==null?y.memoizedProps:E)),v&1024&&(qS=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(_n(t,e),En(e),v&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");v=e.memoizedProps,y=y!==null?y.memoizedProps:v,E=e.stateNode;try{pe(e,K1,E,y,v)}catch(he){Ge(e,e.return,he)}}break;case 3:if(E=_u(),t1=null,T=Ni,Ni=ap(t.containerInfo),_n(t,e),Ni=T,En(e),v&4&&y!==null&&y.memoizedState.isDehydrated)try{pe(e,$0,t.containerInfo)}catch(he){Ge(e,e.return,he)}qS&&(qS=!1,Sv(e)),t.effectDuration+=rr(E);break;case 4:v=Ni,Ni=ap(e.stateNode.containerInfo),_n(t,e),En(e),Ni=v;break;case 12:v=_u(),_n(t,e),En(e),e.stateNode.effectDuration+=mn(v);break;case 31:_n(t,e),En(e),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 13:_n(t,e),En(e),e.child.flags&8192&&e.memoizedState!==null!=(y!==null&&y.memoizedState!==null)&&(Yb=Ba()),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 22:E=e.memoizedState!==null;var M=y!==null&&y.memoizedState!==null,G=jc,oe=Ga;if(jc=G||E,Ga=oe||M,_n(t,e),Ga=oe,jc=G,M&&!E&&!G&&!oe&&(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&Id(e,Ae,xe),En(e),v&8192)e:for(t=e.stateNode,t._visibility=E?t._visibility&~My:t._visibility|My,!E||y===null||M||jc||Ga||(po(e),(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(e,Ae,xe,"Disconnect")),y=null,t=e;;){if(t.tag===5||t.tag===26){if(y===null){M=y=t;try{T=M.stateNode,E?pe(M,jv,T):pe(M,Yv,M.stateNode,M.memoizedProps)}catch(he){Ge(M,M.return,he)}}}else if(t.tag===6){if(y===null){M=t;try{U=M.stateNode,E?pe(M,Bv,U):pe(M,Lv,U,M.memoizedProps)}catch(he){Ge(M,M.return,he)}}}else if(t.tag===18){if(y===null){M=t;try{Z=M.stateNode,E?pe(M,Hv,Z):pe(M,qv,M.stateNode)}catch(he){Ge(M,M.return,he)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;y===t&&(y=null),t=t.return}y===t&&(y=null),t.sibling.return=t.return,t=t.sibling}v&4&&(v=e.updateQueue,v!==null&&(y=v.retryQueue,y!==null&&(v.retryQueue=null,ho(e,y))));break;case 19:_n(t,e),En(e),v&4&&(v=e.updateQueue,v!==null&&(e.updateQueue=null,ho(e,v)));break;case 30:break;case 21:break;default:_n(t,e),En(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<xe-Ae&&(T0(e.return.alternate,e.return)||yl(e,Ae,xe,"Mount"))),Ra(n),Jn(o),ta=s,ya=f}function En(e){var t=e.flags;if(t&2){try{pe(e,E0,e)}catch(n){Ge(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Sv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function el(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Zh(e,t.alternate,t),t=t.sibling}function Hh(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 14:case 15:xh(e,e.return,iu),po(e);break;case 1:zl(e,e.return);var f=e.stateNode;typeof f.componentWillUnmount=="function"&&Rh(e,e.return,f),po(e);break;case 27:pe(e,Di,e.stateNode);case 26:case 5:zl(e,e.return),po(e);break;case 22:e.memoizedState===null&&po(e);break;case 30:po(e);break;default:po(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ta=o,ya=s}function po(e){for(e=e.child;e!==null;)Hh(e),e=e.sibling}function D0(e,t,n,o){var s=Vt(),f=bl(),y=$n(),v=Sl(),E=n.flags;switch(n.tag){case 0:case 11:case 15:kl(e,n,o),mv(n,iu);break;case 1:if(kl(e,n,o),t=n.stateNode,typeof t.componentDidMount=="function"&&pe(n,OS,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{pe(n,Km,t,e)}catch(T){Ge(n,n.return,T)}}o&&E&64&&b0(n),fc(n,n.return);break;case 27:z0(n);case 26:case 5:kl(e,n,o),o&&t===null&&E&4&&fo(n),fc(n,n.return);break;case 12:if(o&&E&4){E=_u(),kl(e,n,o),o=n.stateNode,o.effectDuration+=mn(E);try{pe(n,S0,n,t,cs,o.effectDuration)}catch(T){Ge(n,n.return,T)}}else kl(e,n,o);break;case 31:kl(e,n,o),o&&E&4&&O0(e,n);break;case 13:kl(e,n,o),o&&E&4&&w0(e,n);break;case 22:n.memoizedState===null&&kl(e,n,o),fc(n,n.return);break;case 30:break;default:kl(e,n,o)}(n.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(n,Ae,xe,ia,ta),Ra(s),Jn(f),ta=y,ya=v}function kl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)D0(e,t.alternate,t,n),t=t.sibling}function Tf(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ko(e),n!=null&&Ks(n))}function Af(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ko(t),e!=null&&Ks(e))}function tl(e,t,n,o,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var f=t.sibling;M0(e,t,n,o,f!==null?f.actualStartTime:s),t=f}}function M0(e,t,n,o,s){var f=Vt(),y=bl(),v=$n(),E=Sl(),T=ls,U=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&Fd(t,t.actualStartTime,s,Wa,n),tl(e,t,n,o,s),U&2048&&Sf(t,fl|Pu);break;case 1:(t.mode&ke)!==Re&&0<t.actualStartTime&&((t.flags&128)!==0?Um(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&Fd(t,t.actualStartTime,s,Wa,n)),tl(e,t,n,o,s);break;case 3:var Z=_u(),M=Wa;Wa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,tl(e,t,n,o,s),Wa=M,U&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==n&&(ko(o),n!=null&&Ks(n))),e.passiveEffectDuration+=rr(Z);break;case 12:if(U&2048){U=_u(),tl(e,t,n,o,s),e=t.stateNode,e.passiveEffectDuration+=mn(U);try{pe(t,vv,t,t.alternate,cs,e.passiveEffectDuration)}catch(G){Ge(t,t.return,G)}}else tl(e,t,n,o,s);break;case 31:U=Wa,Z=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,Z!==null&&M===null?(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(Wa=!1,Z=Z.hydrationErrors,Z!==null&&Um(t,t.actualStartTime,s,Z)):Wa=!0):Wa=!1,tl(e,t,n,o,s),Wa=U;break;case 13:U=Wa,Z=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,Z===null||Z.dehydrated===null||M!==null&&M.dehydrated!==null?Wa=!1:(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(Wa=!1,Z=Z.hydrationErrors,Z!==null&&Um(t,t.actualStartTime,s,Z)):Wa=!0),tl(e,t,n,o,s),Wa=U;break;case 23:break;case 22:M=t.stateNode,Z=t.alternate,t.memoizedState!==null?M._visibility&wc?tl(e,t,n,o,s):dc(e,t,n,o,s):M._visibility&wc?tl(e,t,n,o,s):(M._visibility|=wc,mo(e,t,n,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&ke)===Re||Wa||(e=t.actualStartTime,0<=e&&.05<s-e&&Id(t,e,s),0<=Ae&&0<=xe&&.05<xe-Ae&&Id(t,Ae,xe))),U&2048&&Tf(Z,t);break;case 24:tl(e,t,n,o,s),U&2048&&Af(t.alternate,t);break;default:tl(e,t,n,o,s)}(t.mode&ke)!==Re&&((e=!Wa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&yl(t,n,s,"Mount")),0<=Ae&&0<=xe&&((ya||.05<ia)&&Bl(t,Ae,xe,ia,ta),e&&.05<xe-Ae&&yl(t,Ae,xe,"Mount"))),Ra(f),Jn(y),ta=v,ya=E,ls=T}function mo(e,t,n,o,s,f){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var y=t.sibling;Of(e,t,n,o,s,y!==null?y.actualStartTime:f),t=y}}function Of(e,t,n,o,s,f){var y=Vt(),v=bl(),E=$n(),T=Sl(),U=ls;s&&(t.mode&ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&Fd(t,t.actualStartTime,f,Wa,n);var Z=t.flags;switch(t.tag){case 0:case 11:case 15:mo(e,t,n,o,s,f),Sf(t,fl);break;case 23:break;case 22:var M=t.stateNode;t.memoizedState!==null?M._visibility&wc?mo(e,t,n,o,s,f):dc(e,t,n,o,f):(M._visibility|=wc,mo(e,t,n,o,s,f)),s&&Z&2048&&Tf(t.alternate,t);break;case 24:mo(e,t,n,o,s,f),s&&Z&2048&&Af(t.alternate,t);break;default:mo(e,t,n,o,s,f)}(t.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(t,Ae,xe,ia,ta),Ra(y),Jn(v),ta=E,ya=T,ls=U}function dc(e,t,n,o,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var f=t.child;f!==null;){t=f.sibling;var y=e,v=n,E=o,T=t!==null?t.actualStartTime:s,U=ls;(f.mode&ke)!==Re&&0<f.actualStartTime&&(f.flags&1)!==0&&Fd(f,f.actualStartTime,T,Wa,v);var Z=f.flags;switch(f.tag){case 22:dc(y,f,v,E,T),Z&2048&&Tf(f.alternate,f);break;case 24:dc(y,f,v,E,T),Z&2048&&Af(f.alternate,f);break;default:dc(y,f,v,E,T)}ls=U,f=t}}function hc(e,t,n){if(e.subtreeFlags&Ky)for(e=e.child;e!==null;)jh(e,t,n),e=e.sibling}function jh(e,t,n){switch(e.tag){case 26:hc(e,t,n),e.flags&Ky&&e.memoizedState!==null&&P0(n,Ni,e.memoizedState,e.memoizedProps);break;case 5:hc(e,t,n);break;case 3:case 4:var o=Ni;Ni=ap(e.stateNode.containerInfo),hc(e,t,n),Ni=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Ky,Ky=16777216,hc(e,t,n),Ky=o):hc(e,t,n));break;default:hc(e,t,n)}}function x0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function al(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],s=Vt();rn=o,Uu(o,e),(o.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(o,Ae,xe,"Unmount"),Ra(s)}x0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bh(e),e=e.sibling}function Bh(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 15:al(e),e.flags&2048&&Ch(e,e.return,fl|Pu);break;case 3:var f=_u();al(e),e.stateNode.passiveEffectDuration+=rr(f);break;case 12:f=_u(),al(e),e.stateNode.passiveEffectDuration+=mn(f);break;case 22:f=e.stateNode,e.memoizedState!==null&&f._visibility&wc&&(e.return===null||e.return.tag!==13)?(f._visibility&=~wc,qh(e),(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(e,Ae,xe,"Disconnect")):al(e);break;default:al(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ya=s,ta=o}function qh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var o=t[n],s=Vt();rn=o,Uu(o,e),(o.mode&ke)!==Re&&0<=Ae&&0<=xe&&.05<xe-Ae&&yl(o,Ae,xe,"Unmount"),Ra(s)}x0(e)}for(e=e.child;e!==null;)C0(e),e=e.sibling}function C0(e){var t=Vt(),n=bl(),o=$n(),s=Sl();switch(e.tag){case 0:case 11:case 15:Ch(e,e.return,fl),qh(e);break;case 22:var f=e.stateNode;f._visibility&wc&&(f._visibility&=~wc,qh(e));break;default:qh(e)}(e.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(e,Ae,xe,ia,ta),Ra(t),Jn(n),ya=s,ta=o}function Uu(e,t){for(;rn!==null;){var n=rn,o=n,s=t,f=Vt(),y=bl(),v=$n(),E=Sl();switch(o.tag){case 0:case 11:case 15:Ch(o,s,fl);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(s=o.memoizedState.cachePool.pool,s!=null&&ko(s));break;case 24:Ks(o.memoizedState.cache)}if((o.mode&ke)!==Re&&0<=Ae&&0<=xe&&(ya||.05<ia)&&Bl(o,Ae,xe,ia,ta),Ra(f),Jn(y),ya=E,ta=v,o=n.child,o!==null)o.return=n,rn=o;else e:for(n=e;rn!==null;){if(o=rn,f=o.sibling,y=o.return,pa(o),o===n){rn=null;break e}if(f!==null){f.return=y,rn=f;break e}rn=y}}}function R0(){Ex.forEach(function(e){return e()})}function U0(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Q.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ln(e){if((ft&Pa)!==sn&&Ie!==0)return Ie&-Ie;var t=Q.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),G0()):Bg()}function wr(){if(xl===0)if((Ie&536870912)===0||it){var e=Kf;Kf<<=1,(Kf&3932160)===0&&(Kf=262144),xl=e}else xl=536870912;return e=uu.current,e!==null&&(e.flags|=32),xl}function Ue(e,t,n){if(Kp&&console.error("useInsertionEffect must not schedule updates."),IS&&(Xb=!0),(e===Bt&&(Ct===fd||Ct===dd)||e.cancelPendingCommit!==null)&&(Nu(e,0),Tl(e,Ie,xl,!1)),Li(e,n),(ft&Pa)!==sn&&e===Bt){if(Lu)switch(t.tag){case 0:case 11:case 15:e=Pe&&de(Pe)||"Unknown",NT.has(e)||(NT.add(e),t=de(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:UT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),UT=!0)}}else Gu&&Cn(e,t,n),xf(t),e===Bt&&((ft&Pa)===sn&&(ys|=n),oa===hs&&Tl(e,Ie,xl,!1)),Zn(e)}function _v(e,t,n){if((ft&(Pa|ou))!==sn)throw Error("Should not already be working.");if(Ie!==0&&Pe!==null){var o=Pe,s=Ba();switch(Oz){case Wy:case fd:var f=Zy;Jt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,s,Qu,void 0,"primary-light")):console.timeStamp("Suspended",f,s,Qu,void 0,"primary-light"));break;case dd:f=Zy,Jt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,s,Qu,void 0,"primary-light")):console.timeStamp("Action",f,s,Qu,void 0,"primary-light"));break;default:Jt&&(o=s-Zy,3>o||console.timeStamp("Blocked",Zy,s,Qu,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||$a(e,t))?zi(e,t):xr(e,t,!0);var y=n;do{if(f===Bc){$p&&!n&&Tl(e,t,0,!1),t=Ct,Zy=Ya(),Oz=t;break}else{if(o=Ba(),s=e.current.alternate,y&&!zv(s)){jl(t),s=cn,f=o,!Jt||f<=s||(_a?_a.run(console.timeStamp.bind(console,"Teared Render",s,f,rt,ot,"error")):console.timeStamp("Teared Render",s,f,rt,ot,"error")),yo(t,o),f=xr(e,t,!1),y=!1;continue}if(f===sd){if(y=t,e.errorRecoveryDisabledLanes&y)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){jl(t),Nm(cn,o,t,_a),yo(t,o),t=v;e:{o=e,f=y,y=eg;var E=o.current.memoizedState.isDehydrated;if(E&&(Nu(o,v).flags|=256),v=xr(o,v,!1),v!==sd){if(VS&&!E){o.errorRecoveryDisabledLanes|=f,ys|=f,f=hs;break e}o=dl,dl=y,o!==null&&(dl===null?dl=o:dl.push.apply(dl,o))}f=v}if(y=!1,f!==sd)continue;o=Ba()}}if(f===Fy){jl(t),Nm(cn,o,t,_a),yo(t,o),Nu(e,0),Tl(e,t,0,!0);break}e:{switch(n=e,f){case Bc:case Fy:throw Error("Root did not complete. This is a bug in React.");case hs:if((t&4194048)!==t)break;case Hb:jl(t),Fg(cn,o,t,_a),yo(t,o),s=t,(s&127)!==0?_b=o:(s&4194048)!==0&&(Eb=o),Tl(n,t,xl,!ps);break e;case sd:dl=null;break;case Zb:case ST:break;default:throw Error("Unknown root exit status.")}if(Q.actQueue!==null)Zt(n,s,t,dl,tg,qb,xl,ys,hd,f,null,null,cn,o);else{if((t&62914560)===t&&(y=Yb+zT-Ba(),10<y)){if(Tl(n,t,xl,!ps),Cd(n,0,!0)!==0)break e;Zi=t,n.timeoutHandle=VT(Ev.bind(null,n,s,dl,tg,qb,t,xl,ys,hd,ps,f,"Throttled",cn,o),y);break e}Ev(n,s,dl,tg,qb,t,xl,ys,hd,ps,f,null,cn,o)}}}break}while(!0);Zn(e)}function Ev(e,t,n,o,s,f,y,v,E,T,U,Z,M,G){e.timeoutHandle=vd;var oe=t.subtreeFlags,he=null;if((oe&8192||(oe&16785408)===16785408)&&(he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ml},jh(t,f,he),oe=(f&62914560)===f?Yb-Ba():(f&4194048)===f?ET-Ba():0,oe=up(he,oe),oe!==null)){Zi=f,e.cancelPendingCommit=oe(Zt.bind(null,e,t,f,n,o,s,y,v,E,U,he,he.waitingForViewTransition?"Waiting for the previous Animation":0<he.count?0<he.imgCount?"Suspended on CSS and Images":"Suspended on CSS":he.imgCount===1?"Suspended on an Image":0<he.imgCount?"Suspended on Images":null,M,G)),Tl(e,f,y,!T);return}Zt(e,t,f,n,o,s,y,v,E,U,he,Z,M,G)}function zv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var o=0;o<n.length;o++){var s=n[o],f=s.getSnapshot;s=s.value;try{if(!cl(f(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Tl(e,t,n,o){t&=~GS,t&=~ys,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var s=t;0<s;){var f=31-Ia(s),y=1<<f;o[f]=-1,s&=~y}n!==0&&mm(e,n,t)}function nl(){return(ft&(Pa|ou))===sn?(Hu(0),!1):!0}function Yh(){if(Pe!==null){if(Ct===Ml)var e=Pe.return;else e=Pe,or(),eo(e),Bp=null,Xy=0,e=Pe;for(;e!==null;)v0(e.alternate,e),e=e.return;Pe=null}}function yo(e,t){(e&127)!==0&&(td=t),(e&4194048)!==0&&(Rc=t),(e&62914560)!==0&&(Tz=t),(e&2080374784)!==0&&(Az=t)}function Nu(e,t){Jt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ot,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ot,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ot,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ot,"primary-light"));var n=cn;if(cn=Ya(),Ie!==0&&0<n){if(jl(Ie),oa===Zb||oa===hs)Fg(n,cn,t,_a);else{var o=cn,s=_a;if(Jt&&!(o<=n)){var f=(t&738197653)===t?"tertiary-dark":"primary-dark",y=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,y,n,o,rt,ot,f)):console.timeStamp(y,n,o,rt,ot,f)}}yo(Ie,cn)}if(n=_a,_a=null,(t&127)!==0){_a=Ry,s=0<=wo&&wo<td?td:wo,o=0<=ad&&ad<td?td:ad,f=0<=o?o:0<=s?s:cn,0<=_b?(jl(2),Wg(_b,f,t,n)):zb&127,n=s;var v=o,E=Uy,T=0<Zp,U=rs===Cy,Z=rs===Sb;if(s=cn,o=Ry,f=_S,y=ES,Jt){if(rt="Blocking",0<n?n>s&&(n=s):n=s,0<v?v>n&&(v=n):v=n,E!==null&&n>v){var M=T?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+E,v,n,rt,ot,M)):console.timeStamp(T?"Consecutive":"Event: "+E,v,n,rt,ot,M)}s>n&&(v=U?"error":(t&738197653)===t?"tertiary-light":"primary-light",U=Z?"Promise Resolved":U?"Cascading Update":5<s-n?"Update Blocked":"Update",Z=[],y!=null&&Z.push(["Component name",y]),f!=null&&Z.push(["Method name",f]),n={start:n,end:s,detail:{devtools:{properties:Z,track:rt,trackGroup:ot,color:v}}},o?o.run(performance.measure.bind(performance,U,n)):performance.measure(U,n))}wo=-1.1,rs=0,ES=_S=null,_b=-1.1,Zp=ad,ad=-1.1,td=Ya()}if((t&4194048)!==0&&(_a=Ny,s=0<=Uc&&Uc<Rc?Rc:Uc,n=0<=Fu&&Fu<Rc?Rc:Fu,o=0<=ss&&ss<Rc?Rc:ss,f=0<=o?o:0<=n?n:cn,0<=Eb?(jl(256),Wg(Eb,f,t,_a)):zb&4194048,Z=o,v=nd,E=0<fs,T=zS===Sb,f=cn,o=Ny,y=Ez,U=zz,Jt&&(rt="Transition",0<n?n>f&&(n=f):n=f,0<s?s>n&&(s=n):s=n,0<Z?Z>s&&(Z=s):Z=s,s>Z&&v!==null&&(M=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+v,Z,s,rt,ot,M)):console.timeStamp(E?"Consecutive":"Event: "+v,Z,s,rt,ot,M)),n>s&&(o?o.run(console.timeStamp.bind(console,"Action",s,n,rt,ot,"primary-dark")):console.timeStamp("Action",s,n,rt,ot,"primary-dark")),f>n&&(s=T?"Promise Resolved":5<f-n?"Update Blocked":"Update",Z=[],U!=null&&Z.push(["Component name",U]),y!=null&&Z.push(["Method name",y]),n={start:n,end:f,detail:{devtools:{properties:Z,track:rt,trackGroup:ot,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Fu=Uc=-1.1,zS=0,Eb=-1.1,fs=ss,ss=-1.1,Rc=Ya()),(t&62914560)!==0&&(zb&62914560)!==0&&(jl(4194304),Zm(Tz,cn)),(t&2080374784)!==0&&(zb&2080374784)!==0&&(jl(268435456),Zm(Az,cn)),n=e.timeoutHandle,n!==vd&&(e.timeoutHandle=vd,Zx(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Zi=0,Yh(),Bt=e,Pe=n=bu(e.current,null),Ie=t,Ct=Ml,cu=null,ps=!1,$p=$a(e,t),VS=!1,oa=Bc,hd=xl=GS=ys=ms=0,dl=eg=null,qb=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)s=31-Ia(o),f=1<<s,t|=e[s],o&=~f;return Mo=t,Wd(),e=yz(),1e3<e-mz&&(Q.recentlyCreatedOwnerStacks=0,mz=e),Ri.discardPendingWarnings(),n}function Kl(e,t){Ze=null,Q.H=ky,Q.getCurrentStack=null,Lu=!1,qn=null,t===jp||t===wb?(t=Fo(),Ct=Wy):t===wS?(t=Fo(),Ct=_T):Ct=t===jS?LS:t!==null&&typeof t=="object"&&typeof t.then=="function"?Py:jb,cu=t;var n=Pe;n===null?(oa=Fy,mf(e,pn(t,e.current))):n.mode&ke&&uh(n)}function N0(){var e=uu.current;return e===null?!0:(Ie&4194048)===Ie?Wu===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?e===Wu:!1}function Lh(){var e=Q.H;return Q.H=ky,e===null?ky:e}function Z0(){var e=Q.A;return Q.A=_x,e}function Dr(e){_a===null&&(_a=e._debugTask==null?null:e._debugTask)}function Mr(){oa=hs,ps||(Ie&4194048)!==Ie&&uu.current!==null||($p=!0),(ms&134217727)===0&&(ys&134217727)===0||Bt===null||Tl(Bt,Ie,xl,!1)}function xr(e,t,n){var o=ft;ft|=Pa;var s=Lh(),f=Z0();if(Bt!==e||Ie!==t){if(Gu){var y=e.memoizedUpdaters;0<y.size&&(Rr(e,Ie),y.clear()),ii(e,t)}tg=null,Nu(e,t)}t=!1,y=oa;e:do try{if(Ct!==Ml&&Pe!==null){var v=Pe,E=cu;switch(Ct){case LS:Yh(),y=Hb;break e;case Wy:case fd:case dd:case Py:uu.current===null&&(t=!0);var T=Ct;if(Ct=Ml,cu=null,Cr(e,v,E,T),n&&$p){y=Bc;break e}break;default:T=Ct,Ct=Ml,cu=null,Cr(e,v,E,T)}}H0(),y=oa;break}catch(U){Kl(e,U)}while(!0);return t&&e.shellSuspendCounter++,or(),ft=o,Q.H=s,Q.A=f,Pe===null&&(Bt=null,Ie=0,Wd()),y}function H0(){for(;Pe!==null;)Vh(Pe)}function zi(e,t){var n=ft;ft|=Pa;var o=Lh(),s=Z0();if(Bt!==e||Ie!==t){if(Gu){var f=e.memoizedUpdaters;0<f.size&&(Rr(e,Ie),f.clear()),ii(e,t)}tg=null,Lb=Ba()+TT,Nu(e,t)}else $p=$a(e,t);e:do try{if(Ct!==Ml&&Pe!==null)t:switch(t=Pe,f=cu,Ct){case jb:Ct=Ml,cu=null,Cr(e,t,f,jb);break;case fd:case dd:if($m(f)){Ct=Ml,cu=null,j0(t);break}t=function(){Ct!==fd&&Ct!==dd||Bt!==e||(Ct=Bb),Zn(e)},f.then(t,t);break e;case Wy:Ct=Bb;break e;case _T:Ct=YS;break e;case Bb:$m(f)?(Ct=Ml,cu=null,j0(t)):(Ct=Ml,cu=null,Cr(e,t,f,Bb));break;case YS:var y=null;switch(Pe.tag){case 26:y=Pe.memoizedState;case 5:case 27:var v=Pe;if(y?tt(y):v.stateNode.complete){Ct=Ml,cu=null;var E=v.sibling;if(E!==null)Pe=E;else{var T=v.return;T!==null?(Pe=T,wf(T)):Pe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ct=Ml,cu=null,Cr(e,t,f,YS);break;case Py:Ct=Ml,cu=null,Cr(e,t,f,Py);break;case LS:Yh(),oa=Hb;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Q.actQueue!==null?H0():ba();break}catch(U){Kl(e,U)}while(!0);return or(),Q.H=o,Q.A=s,ft=n,Pe!==null?Bc:(Bt=null,Ie=0,Wd(),oa)}function ba(){for(;Pe!==null&&!yp();)Vh(Pe)}function Vh(e){var t=e.alternate;(e.mode&ke)!==Re?(di(e),t=pe(e,bf,t,e,Mo),uh(e)):t=pe(e,bf,t,e,Mo),e.memoizedProps=e.pendingProps,t===null?wf(e):Pe=t}function j0(e){var t=pe(e,ja,e);e.memoizedProps=e.pendingProps,t===null?wf(e):Pe=t}function ja(e){var t=e.alternate,n=(e.mode&ke)!==Re;switch(n&&di(e),e.tag){case 15:case 0:t=d0(t,e,e.pendingProps,e.type,void 0,Ie);break;case 11:t=d0(t,e,e.pendingProps,e.type.render,e.ref,Ie);break;case 5:eo(e);default:v0(t,e),e=Pe=qm(e,Mo),t=bf(t,e,Mo)}return n&&uh(e),t}function Cr(e,t,n,o){or(),eo(t),Bp=null,Xy=0;var s=t.return;try{if(u0(e,s,t,n,Ie)){oa=Fy,mf(e,pn(n,e.current)),Pe=null;return}}catch(f){if(s!==null)throw Pe=s,f;oa=Fy,mf(e,pn(n,e.current)),Pe=null;return}t.flags&32768?(it||o===jb?e=!0:$p||(Ie&536870912)!==0?e=!1:(ps=e=!0,(o===fd||o===dd||o===Wy||o===Py)&&(o=uu.current,o!==null&&o.tag===13&&(o.flags|=16384))),B0(t,e)):wf(t)}function wf(e){var t=e;do{if((t.flags&32768)!==0){B0(t,ps);return}var n=t.alternate;if(e=t.return,di(t),n=pe(t,g0,n,t,Mo),(t.mode&ke)!==Re&&Is(t),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);oa===Bc&&(oa=ST)}function B0(e,t){do{var n=pv(e.alternate,e);if(n!==null){n.flags&=32767,Pe=n;return}if((e.mode&ke)!==Re){Is(e),n=e.actualDuration;for(var o=e.child;o!==null;)n+=o.actualDuration,o=o.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Pe=e;return}Pe=e=n}while(e!==null);oa=Hb,Pe=null}function Zt(e,t,n,o,s,f,y,v,E,T,U,Z,M,G){e.cancelPendingCommit=null;do Df();while(Qa!==vs);if(Ri.flushLegacyContextWarning(),Ri.flushPendingUnsafeLifecycleWarnings(),(ft&(Pa|ou))!==sn)throw Error("Should not already be working.");if(jl(n),T===sd?Nm(M,G,n,_a):o!==null?X1(M,G,n,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,_a):G1(M,G,n,_a),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(f=t.lanes|t.childLanes,f|=yS,q1(e,n,f,y,v,E),e===Bt&&(Pe=Bt=null,Ie=0),kp=t,bs=e,Zi=n,JS=f,kS=s,xT=o,$S=G,CT=Z,Hi=Vb,RT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ur(zc,function(){return og=window.event,Hi===Vb&&(Hi=QS),Mf(),null})):(e.callbackNode=null,e.callbackPriority=0),Cc=null,cs=Ya(),Z!==null&&Q1(G,cs,Z,_a),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=Q.T,Q.T=null,s=yt.p,yt.p=Da,y=ft,ft|=ou;try{k1(e,t,n)}finally{ft=y,yt.p=s,Q.T=o}}Qa=OT,zn(),Zu(),q0()}}function zn(){if(Qa===OT){Qa=vs;var e=bs,t=kp,n=Zi,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Q.T,Q.T=null;var s=yt.p;yt.p=Da;var f=ft;ft|=ou;try{Qp=n,Jp=e,Ko(),zf(t,e),Jp=Qp=null,n=u2;var y=Kd(e.containerInfo),v=n.focusedElem,E=n.selectionRange;if(y!==v&&v&&v.ownerDocument&&$g(v.ownerDocument.documentElement,v)){if(E!==null&&Cm(v)){var T=E.start,U=E.end;if(U===void 0&&(U=T),"selectionStart"in v)v.selectionStart=T,v.selectionEnd=Math.min(U,v.value.length);else{var Z=v.ownerDocument||document,M=Z&&Z.defaultView||window;if(M.getSelection){var G=M.getSelection(),oe=v.textContent.length,he=Math.min(E.start,oe),Yt=E.end===void 0?he:Math.min(E.end,oe);!G.extend&&he>Yt&&(y=Yt,Yt=he,he=y);var ct=Jg(v,he),D=Jg(v,Yt);if(ct&&D&&(G.rangeCount!==1||G.anchorNode!==ct.node||G.anchorOffset!==ct.offset||G.focusNode!==D.node||G.focusOffset!==D.offset)){var x=Z.createRange();x.setStart(ct.node,ct.offset),G.removeAllRanges(),he>Yt?(G.addRange(x),G.extend(D.node,D.offset)):(x.setEnd(D.node,D.offset),G.addRange(x))}}}}for(Z=[],G=v;G=G.parentNode;)G.nodeType===1&&Z.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Z.length;v++){var R=Z[v];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}l1=!!l2,u2=l2=null}finally{ft=f,yt.p=s,Q.T=o}}e.current=t,Qa=wT}}function Zu(){if(Qa===wT){Qa=vs;var e=RT;if(e!==null){cs=Ya();var t=xc,n=cs;!Jt||n<=t||console.timeStamp(e,t,n,rt,ot,"secondary-light")}e=bs,t=kp,n=Zi;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Q.T,Q.T=null;var s=yt.p;yt.p=Da;var f=ft;ft|=ou;try{Qp=n,Jp=e,Ko(),Zh(e,t.alternate,t),Jp=Qp=null}finally{ft=f,yt.p=s,Q.T=o}}e=$S,t=CT,xc=Ya(),e=t===null?e:cs,t=xc,n=Hi===XS,o=_a,Cc!==null?Pg(e,t,Cc,!1,o):!Jt||t<=e||(o?o.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,rt,ot,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,rt,ot,n?"error":"secondary-dark")),Qa=DT}}function q0(){if(Qa===MT||Qa===DT){if(Qa===MT){var e=xc;xc=Ya();var t=xc,n=Hi===XS;!Jt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,rt,ot,n?" error":"secondary-light"),Hi!==XS&&(Hi=AT)}Qa=vs,gp(),e=bs;var o=kp;t=Zi,n=xT;var s=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;s?Qa=Gb:(Qa=vs,kp=bs=null,Y0(e,e.pendingLanes),pd=0,ng=null);var f=e.pendingLanes;if(f===0&&(gs=null),s||Qh(e),f=dn(t),o=o.stateNode,wa&&typeof wa.onCommitFiberRoot=="function")try{var y=(o.current.flags&128)===128;switch(f){case Da:var v=yy;break;case Fa:v=vp;break;case on:v=zc;break;case To:v=bp;break;default:v=zc}wa.onCommitFiberRoot(Tc,o,v,y)}catch(Z){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",Z))}if(Gu&&e.memoizedUpdaters.clear(),R0(),n!==null){y=Q.T,v=yt.p,yt.p=Da,Q.T=null;try{var E=e.onRecoverableError;for(o=0;o<n.length;o++){var T=n[o],U=Tv(T.stack);pe(T.source,E,T.value,U)}}finally{Q.T=y,yt.p=v}}(Zi&3)!==0&&Df(),Zn(e),f=e.pendingLanes,(t&261930)!==0&&(f&42)!==0?(Ab=!0,e===KS?ag++:(ag=0,KS=e)):ag=0,s||yo(t,xc),Hu(0)}}function Tv(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Y0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ks(t)))}function Df(){return zn(),Zu(),q0(),Mf()}function Mf(){if(Qa!==Gb)return!1;var e=bs,t=JS;JS=0;var n=dn(Zi),o=on>n?on:n;n=Q.T;var s=yt.p;try{yt.p=o,Q.T=null;var f=kS;kS=null,o=bs;var y=Zi;if(Qa=vs,kp=bs=null,Zi=0,(ft&(Pa|ou))!==sn)throw Error("Cannot flush passive effects while already rendering.");jl(y),IS=!0,Xb=!1;var v=0;if(Cc=null,v=Ba(),Hi===AT)Zm(xc,v,px);else{var E=xc,T=v,U=Hi===QS;!Jt||T<=E||(_a?_a.run(console.timeStamp.bind(console,U?"Waiting for Paint":"Waiting",E,T,rt,ot,"secondary-light")):console.timeStamp(U?"Waiting for Paint":"Waiting",E,T,rt,ot,"secondary-light"))}E=ft,ft|=ou;var Z=o.current;Ko(),Bh(Z);var M=o.current;Z=$S,Ko(),M0(o,M,y,f,Z),Qh(o),ft=E;var G=Ba();if(M=v,Z=_a,Cc!==null?Pg(M,G,Cc,!0,Z):!Jt||G<=M||(Z?Z.run(console.timeStamp.bind(console,"Remaining Effects",M,G,rt,ot,"secondary-dark")):console.timeStamp("Remaining Effects",M,G,rt,ot,"secondary-dark")),yo(y,G),Hu(0,!1),Xb?o===ng?pd++:(pd=0,ng=o):pd=0,Xb=IS=!1,wa&&typeof wa.onPostCommitFiberRoot=="function")try{wa.onPostCommitFiberRoot(Tc,o)}catch(he){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",he))}var oe=o.current.stateNode;return oe.effectDuration=0,oe.passiveEffectDuration=0,!0}finally{yt.p=s,Q.T=n,Y0(e,t)}}function Tn(e,t,n){t=pn(n,t),uv(t),t=_h(e.stateNode,t,2),e=zu(e,t,2),e!==null&&(Li(e,2),Zn(e))}function Ge(e,t,n){if(Kp=!1,e.tag===3)Tn(e,e,n);else{for(;t!==null;){if(t.tag===3){Tn(t,e,n);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(gs===null||!gs.has(o))){e=pn(n,e),uv(e),n=Eh(2),o=zu(t,n,2),o!==null&&(zh(n,o,t,e),Li(o,2),Zn(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
147
147
 
148
148
  Error message:
149
149
 
150
- %s`,n)}}function Gh(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new Ex;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(n)||(LS=!0,s.add(n),o=Nn.bind(null,e,t,n),Gu&&Rr(e,n),t.then(o,o))}function Nn(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>wo&&(td=wo=Ya(),Ry=bb("Promise Resolved"),rs=Sb):(n&4194048)!==0&&0>Fu&&(Rc=Fu=Ya(),Ny=bb("Promise Resolved"),ES=Sb),U0()&&Q.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
150
+ %s`,n)}}function Gh(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new zx;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(n)||(VS=!0,s.add(n),o=Nn.bind(null,e,t,n),Gu&&Rr(e,n),t.then(o,o))}function Nn(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>wo&&(td=wo=Ya(),Ry=bb("Promise Resolved"),rs=Sb):(n&4194048)!==0&&0>Fu&&(Rc=Fu=Ya(),Ny=bb("Promise Resolved"),zS=Sb),U0()&&Q.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
151
151
 
152
152
  When testing, code that resolves suspended data should be wrapped into act(...):
153
153
 
@@ -156,7 +156,7 @@ act(() => {
156
156
  });
157
157
  /* assert on the output */
158
158
 
159
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Bt===e&&(Ie&n)===n&&(oa===hs||oa===Zb&&(Ie&62914560)===Ie&&Ba()-Yb<TT?(ft&Pa)===sn&&Nu(e,0):VS|=n,hd===Ie&&(hd=0)),Zn(e)}function L0(e,t){t===0&&(t=Rd()),e=an(e,t),e!==null&&(Li(e,t),Zn(e))}function Ti(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),L0(e,n)}function pc(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),L0(e,n)}function Il(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,s=t,f=s.type===wn;f=n||f,s.tag!==22?s.flags&67108864?f&&pe(s,Xh,o,s):Il(o,s,f):s.memoizedState===null&&(f&&s.flags&8192?pe(s,Xh,o,s):s.subtreeFlags&67108864&&pe(s,Il,o,s,f)),t=t.sibling}}function Xh(e,t){Ut(!0);try{Hh(t),C0(t),D0(e,t.alternate,t,!1),Of(e,t,0,null,!1,0)}finally{Ut(!1)}}function Qh(e){var t=!0;e.current.mode&(Yn|Ci)||(t=!1),Il(e,e.current,t)}function Al(e){if((ft&Pa)===sn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=de(e)||"ReactComponent",Qb!==null){if(Qb.has(t))return;Qb.add(t)}else Qb=new Set([t]);pe(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Rr(e,t){Gu&&e.memoizedUpdaters.forEach(function(n){Cn(e,n,t)})}function Ur(e,t){var n=Q.actQueue;return n!==null?(n.push(t),Ax):my(e,t)}function xf(e){U0()&&Q.actQueue===null&&pe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
159
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Bt===e&&(Ie&n)===n&&(oa===hs||oa===Zb&&(Ie&62914560)===Ie&&Ba()-Yb<zT?(ft&Pa)===sn&&Nu(e,0):GS|=n,hd===Ie&&(hd=0)),Zn(e)}function L0(e,t){t===0&&(t=Rd()),e=an(e,t),e!==null&&(Li(e,t),Zn(e))}function Ti(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),L0(e,n)}function pc(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),L0(e,n)}function Il(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,s=t,f=s.type===wn;f=n||f,s.tag!==22?s.flags&67108864?f&&pe(s,Xh,o,s):Il(o,s,f):s.memoizedState===null&&(f&&s.flags&8192?pe(s,Xh,o,s):s.subtreeFlags&67108864&&pe(s,Il,o,s,f)),t=t.sibling}}function Xh(e,t){Ut(!0);try{Hh(t),C0(t),D0(e,t.alternate,t,!1),Of(e,t,0,null,!1,0)}finally{Ut(!1)}}function Qh(e){var t=!0;e.current.mode&(Yn|Ci)||(t=!1),Il(e,e.current,t)}function Al(e){if((ft&Pa)===sn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=de(e)||"ReactComponent",Qb!==null){if(Qb.has(t))return;Qb.add(t)}else Qb=new Set([t]);pe(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Rr(e,t){Gu&&e.memoizedUpdaters.forEach(function(n){Cn(e,n,t)})}function Ur(e,t){var n=Q.actQueue;return n!==null?(n.push(t),Ox):my(e,t)}function xf(e){U0()&&Q.actQueue===null&&pe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
160
160
 
161
161
  When testing, code that causes React state updates should be wrapped into act(...):
162
162
 
@@ -165,16 +165,16 @@ act(() => {
165
165
  });
166
166
  /* assert on the output */
167
167
 
168
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,de(e))})}function Zn(e){e!==Ip&&e.next===null&&(Ip===null?Jb=Ip=e:Ip=Ip.next=e),$b=!0,Q.actQueue!==null?FS||(FS=!0,Ov()):IS||(IS=!0,Ov())}function Hu(e,t){if(!WS&&$b){WS=!0;do for(var n=!1,o=Jb;o!==null;){if(e!==0){var s=o.pendingLanes;if(s===0)var f=0;else{var y=o.suspendedLanes,v=o.pingedLanes;f=(1<<31-Ia(42|e)+1)-1,f&=s&~(y&~v),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(n=!0,Cf(o,f))}else f=Ie,f=Cd(o,o===Bt?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==vd),(f&3)===0||$a(o,f)||(n=!0,Cf(o,f));o=o.next}while(n);WS=!1}}function Av(){og=window.event,Jh()}function Jh(){$b=FS=IS=!1;var e=0;Ss!==0&&Q0()&&(e=Ss);for(var t=Ba(),n=null,o=Jb;o!==null;){var s=o.next,f=Nr(o,t);f===0?(o.next=null,n===null?Jb=s:n.next=s,s===null&&(Ip=n)):(n=o,(e!==0||(f&3)!==0)&&($b=!0)),o=s}Qa!==vs&&Qa!==Gb||Hu(e),Ss!==0&&(Ss=0)}function Nr(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var y=31-Ia(f),v=1<<y,E=s[y];E===-1?((v&n)===0||(v&o)!==0)&&(s[y]=j1(v,t)):E<=t&&(e.expiredLanes|=v),f&=~v}if(t=Bt,n=Ie,n=Cd(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==vd),o=e.callbackNode,n===0||e===t&&(Ct===fd||Ct===dd)||e.cancelPendingCommit!==null)return o!==null&&$h(o),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||$a(e,n)){if(t=n&-n,t!==e.callbackPriority||Q.actQueue!==null&&o!==PS)$h(o);else return t;switch(dn(n)){case Da:case Fa:n=vp;break;case on:n=zc;break;case To:n=bp;break;default:n=zc}return o=V0.bind(null,e),Q.actQueue!==null?(Q.actQueue.push(o),n=PS):n=my(n,o),e.callbackPriority=t,e.callbackNode=n,t}return o!==null&&$h(o),e.callbackPriority=2,e.callbackNode=null,2}function V0(e,t){if(Ab=Tb=!1,og=window.event,Qa!==vs&&Qa!==Gb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hi===Vb&&(Hi=XS),Df()&&e.callbackNode!==n)return null;var o=Ie;return o=Cd(e,e===Bt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==vd),o===0?null:(_v(e,o,t),Nr(e,Ba()),e.callbackNode!=null&&e.callbackNode===n?V0.bind(null,e):null)}function Cf(e,t){if(Df())return null;Tb=Ab,Ab=!1,_v(e,t,!0)}function $h(e){e!==PS&&e!==null&&mp(e)}function Ov(){Q.actQueue!==null&&Q.actQueue.push(function(){return Jh(),null}),Zx(function(){(ft&(Pa|ou))!==sn?my(yy,Av):Jh()})}function G0(){if(Ss===0){var e=ld;e===0&&(e=Wr,Wr<<=1,(Wr&261888)===0&&(Wr=256)),Ss=e}return Ss}function dt(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(At(e,"action"),qs(""+e))}function Dt(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function lt(e,t,n,o,s){if(t==="submit"&&n&&n.stateNode===s){var f=dt((s[Dn]||null).action),y=o.submitter;y&&(t=(t=y[Dn]||null)?dt(t.formAction):y.getAttribute("formAction"),t!==null&&(f=t,y=null));var v=new db("action","action",null,o,s);e.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ss!==0){var E=y?Dt(s,y):new FormData(s),T={pending:!0,data:E,method:s.method,action:f};Object.freeze(T),Si(n,T,null,E)}}else typeof f=="function"&&(v.preventDefault(),E=y?Dt(s,y):new FormData(s),T={pending:!0,data:E,method:s.method,action:f},Object.freeze(T),Si(n,T,f,E))},currentTarget:s}]})}}function We(e,t,n){e.currentTarget=n;try{t(e)}catch(o){fS(o)}e.currentTarget=null}function _t(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n];e:{var s=void 0,f=o.event;if(o=o.listeners,t)for(var y=o.length-1;0<=y;y--){var v=o[y],E=v.instance,T=v.currentTarget;if(v=v.listener,E!==s&&f.isPropagationStopped())break e;E!==null?pe(E,We,f,v,T):We(f,v,T),s=E}else for(y=0;y<o.length;y++){if(v=o[y],E=v.instance,T=v.currentTarget,v=v.listener,E!==s&&f.isPropagationStopped())break e;E!==null?pe(E,We,f,v,T):We(f,v,T),s=E}}}}function Ce(e,t){e2.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ac];n===void 0&&(n=t[Ac]=new Set);var o=e+"__bubble";n.has(o)||(kh(t,e,2,!1),n.add(o))}function ju(e,t,n){e2.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),kh(n,e,o,t)}function go(e){if(!e[kb]){e[kb]=!0,ob.forEach(function(n){n!=="selectionchange"&&(e2.has(n)||ju(n,!1,e),ju(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kb]||(t[kb]=!0,ju("selectionchange",!1,t))}}function kh(e,t,n,o){switch(cp(t)){case Da:var s=ly;break;case Fa:s=Ka;break;default:s=uy}n=s.bind(null,t,n,e),s=void 0,!tS||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),o?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Fl(e,t,n,o,s){var f=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var v=o.stateNode.containerInfo;if(v===s)break;if(y===4)for(y=o.return;y!==null;){var E=y.tag;if((E===3||E===4)&&y.stateNode.containerInfo===s)return;y=y.return}for(;v!==null;){if(y=oi(v),y===null)return;if(E=y.tag,E===5||E===6||E===26||E===27){o=f=y;continue e}v=v.parentNode}}o=o.return}Qd(function(){var T=f,U=Zl(n),Z=[];e:{var M=mz.get(e);if(M!==void 0){var G=db,oe=e;switch(e){case"keypress":if(Ys(n)===0)break e;case"keydown":case"keyup":G=YM;break;case"focusin":oe="focus",G=uS;break;case"focusout":oe="blur",G=uS;break;case"beforeblur":case"afterblur":G=uS;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=tz;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=DM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=GM;break;case fz:case dz:case hz:G=CM;break;case pz:G=QM;break;case"scroll":case"scrollend":G=OM;break;case"wheel":G=$M;break;case"copy":case"cut":case"paste":G=UM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=nz;break;case"toggle":case"beforetoggle":G=KM}var he=(t&4)!==0,Yt=!he&&(e==="scroll"||e==="scrollend"),ct=he?M!==null?M+"Capture":null:M;he=[];for(var D=T,x;D!==null;){var R=D;if(x=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||x===null||ct===null||(R=gu(D,ct),R!=null&&he.push(Ht(D,R,x))),Yt)break;D=D.return}0<he.length&&(M=new G(M,oe,null,n,U),Z.push({event:M,listeners:he}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",M&&n!==_y&&(oe=n.relatedTarget||n.fromElement)&&(oi(oe)||oe[xi]))break e;if((G||M)&&(M=U.window===U?U:(M=U.ownerDocument)?M.defaultView||M.parentWindow:window,G?(oe=n.relatedTarget||n.toElement,G=T,oe=oe?oi(oe):null,oe!==null&&(Yt=ue(oe),he=oe.tag,oe!==Yt||he!==5&&he!==27&&he!==6)&&(oe=null)):(G=null,oe=T),G!==oe)){if(he=tz,R="onMouseLeave",ct="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(he=nz,R="onPointerLeave",ct="onPointerEnter",D="pointer"),Yt=G==null?M:Vi(G),x=oe==null?M:Vi(oe),M=new he(R,D+"leave",G,n,U),M.target=Yt,M.relatedTarget=x,R=null,oi(U)===T&&(he=new he(ct,D+"enter",oe,n,U),he.target=x,he.relatedTarget=Yt,R=he),Yt=R,G&&oe)t:{for(he=mc,ct=G,D=oe,x=0,R=ct;R;R=he(R))x++;R=0;for(var k=D;k;k=he(k))R++;for(;0<x-R;)ct=he(ct),x--;for(;0<R-x;)D=he(D),R--;for(;x--;){if(ct===D||D!==null&&ct===D.alternate){he=ct;break t}ct=he(ct),D=he(D)}he=null}else he=null;G!==null&&Kh(Z,M,G,he,!1),oe!==null&&Yt!==null&&Kh(Z,Yt,oe,he,!0)}}e:{if(M=T?Vi(T):window,G=M.nodeName&&M.nodeName.toLowerCase(),G==="select"||G==="input"&&M.type==="file")var fe=Ji;else if(Dm(M))if(rz)fe=Xs;else{fe=Mm;var He=L1}else G=M.nodeName,!G||G.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?T&&yu(T.elementType)&&(fe=Ji):fe=xm;if(fe&&(fe=fe(e,T))){Vs(Z,fe,n,U);break e}He&&He(e,M,T),e==="focusout"&&T&&M.type==="number"&&T.memoizedProps.value!=null&&bm(M,"number",M.value)}switch(He=T?Vi(T):window,e){case"focusin":(Dm(He)||He.contentEditable==="true")&&(wp=He,oS=T,Dy=null);break;case"focusout":Dy=oS=wp=null;break;case"mousedown":cS=!0;break;case"contextmenu":case"mouseup":case"dragend":cS=!1,kg(Z,n,U);break;case"selectionchange":if(PM)break;case"keydown":case"keyup":kg(Z,n,U)}var ze;if(iS)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else Op?ar(e,n)&&(be="onCompositionEnd"):e==="keydown"&&n.keyCode===lz&&(be="onCompositionStart");be&&(uz&&n.locale!=="ko"&&(Op||be!=="onCompositionStart"?be==="onCompositionEnd"&&Op&&(ze=qo()):(ns=U,aS="value"in ns?ns.value:ns.textContent,Op=!0)),He=Wl(T,be),0<He.length&&(be=new az(be,e,null,n,U),Z.push({event:be,listeners:He}),ze?be.data=ze:(ze=si(n),ze!==null&&(be.data=ze)))),(ze=FM?wm(e,n):Jd(e,n))&&(be=Wl(T,"onBeforeInput"),0<be.length&&(He=new ZM("onBeforeInput","beforeinput",null,n,U),Z.push({event:He,listeners:be}),He.data=ze)),lt(Z,e,T,n,U)}_t(Z,t)})}function Ht(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wl(e,t){for(var n=t+"Capture",o=[];e!==null;){var s=e,f=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||f===null||(s=gu(e,n),s!=null&&o.unshift(Ht(e,s,f)),s=gu(e,t),s!=null&&o.push(Ht(e,s,f))),e.tag===3)return o;e=e.return}return[]}function mc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kh(e,t,n,o,s){for(var f=t._reactName,y=[];n!==null&&n!==o;){var v=n,E=v.alternate,T=v.stateNode;if(v=v.tag,E!==null&&E===o)break;v!==5&&v!==26&&v!==27||T===null||(E=T,s?(T=gu(n,f),T!=null&&y.unshift(Ht(n,T,E))):s||(T=gu(n,f),T!=null&&y.push(Ht(n,T,E)))),n=n.return}y.length!==0&&e.push({event:t,listeners:y})}function An(e,t){Gg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||PE||(PE=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Xu,possibleRegistrationNames:ts};yu(e)||typeof t.is=="string"||Y1(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Pt(e,t,n,o){t!==n&&(n=Pl(n),Pl(t)!==n&&(o[e]=t))}function Rf(e,t,n){t.forEach(function(o){n[Ai(o)]=o==="style"?vo(e):e.getAttribute(o)})}function ea(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Ih(e,t){return e=e.namespaceURI===Ye||e.namespaceURI===Xe?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Pl(e){return du(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Us(e)),xo(e)),(typeof e=="string"?e:""+e).replace(Ox,`
169
- `).replace(wx,"")}function X0(e,t){return t=Pl(t),Pl(e)===t}function mt(e,t,n,o,s,f){switch(n){case"children":typeof o=="string"?(Bs(o,t,!1),t==="body"||t==="textarea"&&o===""||Bo(e,o)):(typeof o=="number"||typeof o=="bigint")&&(Bs(""+o,t,!1),t!=="body"&&Bo(e,""+o));break;case"className":Zs(e,"class",o);break;case"tabIndex":Zs(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Zs(e,n,o);break;case"style":Tm(e,o,f);break;case"data":if(t!=="object"){Zs(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}At(o,n),o=qs(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(s.encType==null&&s.method==null||Fb||(Fb=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),s.target==null||Ib||(Ib=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||Kb?t!=="button"||s.type==null||s.type==="submit"||Kb?typeof o=="function"&&(s.name==null||BT||(BT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),s.formEncType==null&&s.formMethod==null||Fb||(Fb=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),s.formTarget==null||Ib||(Ib=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Kb=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Kb=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(n==="formAction"?(t!=="input"&&mt(e,t,"name",s.name,s,null),mt(e,t,"formEncType",s.formEncType,s,null),mt(e,t,"formMethod",s.formMethod,s,null),mt(e,t,"formTarget",s.formTarget,s,null)):(mt(e,t,"encType",s.encType,s,null),mt(e,t,"method",s.method,s,null),mt(e,t,"target",s.target,s,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}At(o,n),o=qs(""+o),e.setAttribute(n,o);break;case"onClick":o!=null&&(typeof o!="function"&&ea(n,o),e.onclick=ml);break;case"onScroll":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}At(o,n),n=qs(""+o),e.setAttributeNS(md,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(At(o,n),e.setAttribute(n,""+o)):e.removeAttribute(n);break;case"inert":o!==""||Wb[n]||(Wb[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":o===!0?e.setAttribute(n,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(At(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(At(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(n):(At(o,n),e.setAttribute(n,o));break;case"popover":Ce("beforetoggle",e),Ce("toggle",e),Nd(e,"popover",o);break;case"xlinkActuate":hu(e,md,"xlink:actuate",o);break;case"xlinkArcrole":hu(e,md,"xlink:arcrole",o);break;case"xlinkRole":hu(e,md,"xlink:role",o);break;case"xlinkShow":hu(e,md,"xlink:show",o);break;case"xlinkTitle":hu(e,md,"xlink:title",o);break;case"xlinkType":hu(e,md,"xlink:type",o);break;case"xmlBase":hu(e,t2,"xml:base",o);break;case"xmlLang":hu(e,t2,"xml:lang",o);break;case"xmlSpace":hu(e,t2,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Nd(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":qT||o==null||typeof o!="object"||(qT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Lg(n),Nd(e,n,o)):Xu.hasOwnProperty(n)&&o!=null&&typeof o!="function"&&ea(n,o)}}function Zr(e,t,n,o,s,f){switch(n){case"style":Tm(e,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof o=="string"?Bo(e,o):(typeof o=="number"||typeof o=="bigint")&&Bo(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&ea(n,o),e.onclick=ml);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Xu.hasOwnProperty(n))o!=null&&typeof o!="function"&&ea(n,o);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),f=e[Dn]||null,f=f!=null?f[n]:null,typeof f=="function"&&e.removeEventListener(t,f,s),typeof o=="function")){typeof f!="function"&&f!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,s);break e}n in e?e[n]=o:o===!0?e.setAttribute(n,""):Nd(e,n,o)}}}function Xt(e,t,n){switch(An(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var o=!1,s=!1,f;for(f in n)if(n.hasOwnProperty(f)){var y=n[f];if(y!=null)switch(f){case"src":o=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,f,y,n,null)}}s&&mt(e,t,"srcSet",n.srcSet,n,null),o&&mt(e,t,"src",n.src,n,null);return;case"input":Uo("input",n),Ce("invalid",e);var v=f=y=s=null,E=null,T=null;for(o in n)if(n.hasOwnProperty(o)){var U=n[o];if(U!=null)switch(o){case"name":s=U;break;case"type":y=U;break;case"checked":E=U;break;case"defaultChecked":T=U;break;case"value":f=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,U,n,null)}}hn(e,n),jd(e,f,v,E,T,y,s,!1);return;case"select":Uo("select",n),Ce("invalid",e),o=y=f=null;for(s in n)if(n.hasOwnProperty(s)&&(v=n[s],v!=null))switch(s){case"value":f=v;break;case"defaultValue":y=v;break;case"multiple":o=v;default:mt(e,t,s,v,n,null)}Bd(e,n),t=f,n=y,e.multiple=!!o,t!=null?pu(e,!!o,t,!1):n!=null&&pu(e,!!o,n,!0);return;case"textarea":Uo("textarea",n),Ce("invalid",e),f=s=o=null;for(y in n)if(n.hasOwnProperty(y)&&(v=n[y],v!=null))switch(y){case"value":o=v;break;case"defaultValue":s=v;break;case"children":f=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,y,v,n,null)}No(e,n),Ic(e,o,s,f);return;case"option":Yg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(o=n[E],o!=null))switch(E){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:mt(e,t,E,o,n,null)}return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(o=0;o<lg.length;o++)Ce(lg[o],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in n)if(n.hasOwnProperty(T)&&(o=n[T],o!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,T,o,n,null)}return;default:if(yu(t)){for(U in n)n.hasOwnProperty(U)&&(o=n[U],o!==void 0&&Zr(e,t,U,o,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(o=n[v],o!=null&&mt(e,t,v,o,n,null))}function Oa(e,t,n,o){switch(An(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,f=null,y=null,v=null,E=null,T=null,U=null;for(G in n){var Z=n[G];if(n.hasOwnProperty(G)&&Z!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":E=Z;default:o.hasOwnProperty(G)||mt(e,t,G,null,o,Z)}}for(var M in o){var G=o[M];if(Z=n[M],o.hasOwnProperty(M)&&(G!=null||Z!=null))switch(M){case"type":f=G;break;case"name":s=G;break;case"checked":T=G;break;case"defaultChecked":U=G;break;case"value":y=G;break;case"defaultValue":v=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==Z&&mt(e,t,M,G,o,Z)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||jT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),jT=!0),!t||o||HT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),HT=!0),Gi(e,y,v,E,T,U,f,s);return;case"select":G=y=v=M=null;for(f in n)if(E=n[f],n.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":G=E;default:o.hasOwnProperty(f)||mt(e,t,f,null,o,E)}for(s in o)if(f=o[s],E=n[s],o.hasOwnProperty(s)&&(f!=null||E!=null))switch(s){case"value":M=f;break;case"defaultValue":v=f;break;case"multiple":y=f;default:f!==E&&mt(e,t,s,f,o,E)}o=v,t=y,n=G,M!=null?pu(e,!!t,M,!1):!!n!=!!t&&(o!=null?pu(e,!!t,o,!0):pu(e,!!t,t?[]:"",!1));return;case"textarea":G=M=null;for(v in n)if(s=n[v],n.hasOwnProperty(v)&&s!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:mt(e,t,v,null,o,s)}for(y in o)if(s=o[y],f=n[y],o.hasOwnProperty(y)&&(s!=null||f!=null))switch(y){case"value":M=s;break;case"defaultValue":G=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==f&&mt(e,t,y,s,o,f)}Zo(e,M,G);return;case"option":for(var oe in n)if(M=n[oe],n.hasOwnProperty(oe)&&M!=null&&!o.hasOwnProperty(oe))switch(oe){case"selected":e.selected=!1;break;default:mt(e,t,oe,null,o,M)}for(E in o)if(M=o[E],G=n[E],o.hasOwnProperty(E)&&M!==G&&(M!=null||G!=null))switch(E){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:mt(e,t,E,M,o,G)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in n)M=n[he],n.hasOwnProperty(he)&&M!=null&&!o.hasOwnProperty(he)&&mt(e,t,he,null,o,M);for(T in o)if(M=o[T],G=n[T],o.hasOwnProperty(T)&&M!==G&&(M!=null||G!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,T,M,o,G)}return;default:if(yu(t)){for(var Yt in n)M=n[Yt],n.hasOwnProperty(Yt)&&M!==void 0&&!o.hasOwnProperty(Yt)&&Zr(e,t,Yt,void 0,o,M);for(U in o)M=o[U],G=n[U],!o.hasOwnProperty(U)||M===G||M===void 0&&G===void 0||Zr(e,t,U,M,o,G);return}}for(var ct in n)M=n[ct],n.hasOwnProperty(ct)&&M!=null&&!o.hasOwnProperty(ct)&&mt(e,t,ct,null,o,M);for(Z in o)M=o[Z],G=n[Z],!o.hasOwnProperty(Z)||M===G||M==null&&G==null||mt(e,t,Z,M,o,G)}function Ai(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function vo(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var o=e[n];t[o]=e.getPropertyValue(o)}return t}function Bu(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,s=o="",f;for(f in t)if(t.hasOwnProperty(f)){var y=t[f];y!=null&&typeof y!="boolean"&&y!==""&&(f.indexOf("--")===0?(dm(y,f),o+=s+f+":"+(""+y).trim()):typeof y!="number"||y===0||ge.has(f)?(dm(y,f),o+=s+f.replace(J,"-$1").toLowerCase().replace(me,"-ms-")+":"+(""+y).trim()):o+=s+f.replace(J,"-$1").toLowerCase().replace(me,"-ms-")+":"+y+"px",s=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=Pl(o),Pl(t)!==o&&(n.style=vo(e)))}}function Hn(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(At(o,t),e===""+o)return}Pt(t,e,o,f)}function Fh(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}Pt(t,e,o,f)}function Wh(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(At(o,n),e===""+o)return}Pt(t,e,o,f)}function Hr(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(At(o,t),e===""+o))return}Pt(t,e,o,f)}function Uf(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(At(o,t),n=qs(""+o),e===n)return}Pt(t,e,o,f)}function jn(e,t,n,o){for(var s={},f=new Set,y=e.attributes,v=0;v<y.length;v++)switch(y[v].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(y[v].name)}if(yu(t)){for(var E in n)if(n.hasOwnProperty(E)){var T=n[E];if(T!=null){if(Xu.hasOwnProperty(E))typeof T!="function"&&ea(E,T);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof T!="string"&&typeof T!="number"||Pt("children",e.textContent,T,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=Ih(e,T),Pt(E,y,T,s));continue;case"style":f.delete(E),Bu(e,T,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),y=Kc(e,"class",T),Pt("className",y,T,s);continue;default:o.context===qc&&t!=="svg"&&t!=="math"?f.delete(E.toLowerCase()):f.delete(E),y=Kc(e,E,T),Pt(E,y,T,s)}}}}else for(T in n)if(n.hasOwnProperty(T)&&(E=n[T],E!=null)){if(Xu.hasOwnProperty(T))typeof E!="function"&&ea(T,E);else if(n.suppressHydrationWarning!==!0)switch(T){case"children":typeof E!="string"&&typeof E!="number"||Pt("children",e.textContent,E,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=Ih(e,E),y!==E&&(s[T]={__html:y}));continue;case"className":Hn(e,T,"class",E,f,s);continue;case"tabIndex":Hn(e,T,"tabindex",E,f,s);continue;case"style":f.delete(T),Bu(e,E,s);continue;case"multiple":f.delete(T),Pt(T,e.multiple,E,s);continue;case"muted":f.delete(T),Pt(T,e.muted,E,s);continue;case"autoFocus":f.delete("autofocus"),Pt(T,e.autofocus,E,s);continue;case"data":if(t!=="object"){f.delete(T),y=e.getAttribute("data"),Pt(T,y,E,s);continue}case"src":case"href":if(!(E!==""||t==="a"&&T==="href"||t==="object"&&T==="data")){console.error(T==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}Uf(e,T,T,E,f,s);continue;case"action":case"formAction":if(y=e.getAttribute(T),typeof E=="function"){f.delete(T.toLowerCase()),T==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(y===Dx){f.delete(T.toLowerCase()),Pt(T,"function",E,s);continue}Uf(e,T,T.toLowerCase(),E,f,s);continue;case"xlinkHref":Uf(e,T,"xlink:href",E,f,s);continue;case"contentEditable":Wh(e,T,"contenteditable",E,f,s);continue;case"spellCheck":Wh(e,T,"spellcheck",E,f,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Wh(e,T,T,E,f,s);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Fh(e,T,T.toLowerCase(),E,f,s);continue;case"capture":case"download":e:{v=e;var U=y=T,Z=s;if(f.delete(U),v=v.getAttribute(U),v===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&v==="")break e;break;default:if(At(E,y),v===""+E)break e}Pt(y,v,E,Z)}continue;case"cols":case"rows":case"size":case"span":e:{if(v=e,U=y=T,Z=s,f.delete(U),v=v.getAttribute(U),v===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(At(E,y),v===""+E))break e}Pt(y,v,E,Z)}continue;case"rowSpan":Hr(e,T,"rowspan",E,f,s);continue;case"start":Hr(e,T,T,E,f,s);continue;case"xHeight":Hn(e,T,"x-height",E,f,s);continue;case"xlinkActuate":Hn(e,T,"xlink:actuate",E,f,s);continue;case"xlinkArcrole":Hn(e,T,"xlink:arcrole",E,f,s);continue;case"xlinkRole":Hn(e,T,"xlink:role",E,f,s);continue;case"xlinkShow":Hn(e,T,"xlink:show",E,f,s);continue;case"xlinkTitle":Hn(e,T,"xlink:title",E,f,s);continue;case"xlinkType":Hn(e,T,"xlink:type",E,f,s);continue;case"xmlBase":Hn(e,T,"xml:base",E,f,s);continue;case"xmlLang":Hn(e,T,"xml:lang",E,f,s);continue;case"xmlSpace":Hn(e,T,"xml:space",E,f,s);continue;case"inert":E!==""||Wb[T]||(Wb[T]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",T)),Fh(e,T,T,E,f,s);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){v=Lg(T),y=!1,o.context===qc&&t!=="svg"&&t!=="math"?f.delete(v.toLowerCase()):(U=T.toLowerCase(),U=nu.hasOwnProperty(U)&&nu[U]||null,U!==null&&U!==T&&(y=!0,f.delete(U)),f.delete(v));e:if(U=e,Z=v,v=E,Ns(Z))if(U.hasAttribute(Z))U=U.getAttribute(Z),At(v,Z),v=U===""+v?v:U;else{switch(typeof v){case"function":case"symbol":break e;case"boolean":if(U=Z.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break e}v=v===void 0?void 0:null}else v=void 0;y||Pt(T,v,E,s)}}}return 0<f.size&&n.suppressHydrationWarning!==!0&&Rf(e,f,s),Object.keys(s).length===0?null:s}function wv(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function On(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Dv(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),o=0;o<n.length;o++){var s=n[o],f=s.transferSize,y=s.initiatorType,v=s.duration;if(f&&v&&On(y)){for(y=0,v=s.responseEnd,o+=1;o<n.length;o++){var E=n[o],T=E.startTime;if(T>v)break;var U=E.transferSize,Z=E.initiatorType;U&&On(Z)&&(E=E.responseEnd,y+=U*(E<v?1:(v-T)/(E-T)))}if(--o,t+=8*(f+y)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Nf(e){return e.nodeType===9?e:e.ownerDocument}function Mv(e){switch(e){case Xe:return Wp;case Ye:return e1;default:return qc}}function Oi(e,t){if(e===qc)switch(t){case"svg":return Wp;case"math":return e1;default:return qc}return e===Wp&&t==="foreignObject"?qc:e}function jr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Q0(){var e=window.event;return e&&e.type==="popstate"?e===u2?!1:(u2=e,!0):(u2=null,!1)}function qu(){var e=window.event;return e&&e!==og?e.type:null}function Br(){var e=window.event;return e&&e!==og?e.timeStamp:-1.1}function xv(e){setTimeout(function(){throw e})}function Cv(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Rv(){}function Ph(e,t,n,o){Oa(e,t,n,o),e[Dn]=o}function ep(e){Bo(e,"")}function k1(e,t,n){e.nodeValue=n}function Uv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Dn]||null;if(t!==null){var n=Rl(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,pe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,pe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function bo(e){return e==="head"}function Nv(e,t){e.removeChild(t)}function Zv(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function yc(e,t){var n=t,o=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===ig||n===Pb){if(o===0){e.removeChild(s),Sc(t);return}o--}else if(n===ug||n===_s||n===gd||n===Fp||n===yd)o++;else if(n===xx)Di(e.ownerDocument.documentElement);else if(n===Rx){n=e.ownerDocument.head,Di(n);for(var f=n.firstChild;f;){var y=f.nextSibling,v=f.nodeName;f[es]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||n.removeChild(f),f=y}}else n===Cx&&Di(e.ownerDocument.body);n=s}while(n);Sc(t)}function Zf(e,t){var n=e;e=0;do{var o=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),o&&o.nodeType===8)if(n=o.data,n===ig){if(e===0)break;e--}else n!==ug&&n!==_s&&n!==gd&&n!==Fp||e++;n=o}while(n)}function Hv(e){Zf(e,!0)}function jv(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Bv(e){e.nodeValue=""}function qv(e){Zf(e,!1)}function Yv(e,t){t=t[Ux],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Lv(e,t){e.nodeValue=t}function qr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":qr(n),ym(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Vv(e,t,n,o){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[es])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){At(s.name,"name");var f=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=ll(e.nextSibling),e===null)break}return null}function Gv(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=ll(e.nextSibling),e===null))return null;return e}function Et(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=ll(e.nextSibling),e===null))return null;return e}function Hf(e){return e.data===_s||e.data===gd}function J0(e){return e.data===Fp||e.data===_s&&e.ownerDocument.readyState!==LT}function Xv(e,t){var n=e.ownerDocument;if(e.data===gd)e._reactRetry=t;else if(e.data!==_s||n.readyState!==LT)t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function ll(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===ug||t===Fp||t===_s||t===gd||t===yd||t===a2||t===YT)break;if(t===ig||t===Pb)return null}}return e}function Qv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},o=e.attributes,s=0;s<o.length;s++){var f=o[s];n[Ai(f.name)]=f.name.toLowerCase()==="style"?vo(e):f.value}return{type:t,props:n}}return e.nodeType===8?e.data===yd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Jv(e,t,n){return n===null||n[Mx]!==!0?(e.nodeValue===t?e=null:(t=Pl(t),e=Pl(e.nodeValue)===t?null:e.nodeValue),e):null}function Yr(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===ig||n===Pb){if(t===0)return ll(e.nextSibling);t--}else n!==ug&&n!==Fp&&n!==_s&&n!==gd&&n!==yd||t++}e=e.nextSibling}return null}function gc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===ug||n===Fp||n===_s||n===gd||n===yd){if(t===0)return e;t--}else n!==ig&&n!==Pb||t++}e=e.previousSibling}return null}function $0(e){Sc(e)}function tp(e){Sc(e)}function k0(e){Sc(e)}function wi(e,t,n,o,s){switch(s&&js(e,o.ancestorInfo),t=Nf(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Yu(e,t,n,o){if(!n[xi]&&Rl(n)){var s=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",s,s,s)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Xt(n,e,t),n[Qt]=o,n[Dn]=t}function Di(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ym(e)}function ap(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function K0(e,t,n){var o=Pp;if(o&&typeof t=="string"&&t){var s=Ot(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),$T.has(s)||($T.add(s),e={rel:e,crossOrigin:n,href:t},o.querySelector(s)===null&&(t=o.createElement("link"),Xt(t,"link",e),sa(t),o.head.appendChild(t)))}}function I0(e,t,n,o){var s=(s=ul.current)?ap(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=vc(n.href),t=pl(s).hoistableStyles,o=t.get(n),o||(o={type:"style",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=vc(n.href);var f=pl(s).hoistableStyles,y=f.get(e);if(!y&&(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:bd,preload:null}},f.set(e,y),(f=s.querySelector(Bf(e)))&&!f._p&&(y.instance=f,y.state.loading=cg|ti),!ai.has(e))){var v={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};ai.set(e,v),f||$v(s,e,v,y.state)}if(t&&o===null)throw n=`
168
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,de(e))})}function Zn(e){e!==Ip&&e.next===null&&(Ip===null?Jb=Ip=e:Ip=Ip.next=e),$b=!0,Q.actQueue!==null?WS||(WS=!0,Ov()):FS||(FS=!0,Ov())}function Hu(e,t){if(!PS&&$b){PS=!0;do for(var n=!1,o=Jb;o!==null;){if(e!==0){var s=o.pendingLanes;if(s===0)var f=0;else{var y=o.suspendedLanes,v=o.pingedLanes;f=(1<<31-Ia(42|e)+1)-1,f&=s&~(y&~v),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(n=!0,Cf(o,f))}else f=Ie,f=Cd(o,o===Bt?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==vd),(f&3)===0||$a(o,f)||(n=!0,Cf(o,f));o=o.next}while(n);PS=!1}}function Av(){og=window.event,Jh()}function Jh(){$b=WS=FS=!1;var e=0;Ss!==0&&Q0()&&(e=Ss);for(var t=Ba(),n=null,o=Jb;o!==null;){var s=o.next,f=Nr(o,t);f===0?(o.next=null,n===null?Jb=s:n.next=s,s===null&&(Ip=n)):(n=o,(e!==0||(f&3)!==0)&&($b=!0)),o=s}Qa!==vs&&Qa!==Gb||Hu(e),Ss!==0&&(Ss=0)}function Nr(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var y=31-Ia(f),v=1<<y,E=s[y];E===-1?((v&n)===0||(v&o)!==0)&&(s[y]=B1(v,t)):E<=t&&(e.expiredLanes|=v),f&=~v}if(t=Bt,n=Ie,n=Cd(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==vd),o=e.callbackNode,n===0||e===t&&(Ct===fd||Ct===dd)||e.cancelPendingCommit!==null)return o!==null&&$h(o),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||$a(e,n)){if(t=n&-n,t!==e.callbackPriority||Q.actQueue!==null&&o!==e2)$h(o);else return t;switch(dn(n)){case Da:case Fa:n=vp;break;case on:n=zc;break;case To:n=bp;break;default:n=zc}return o=V0.bind(null,e),Q.actQueue!==null?(Q.actQueue.push(o),n=e2):n=my(n,o),e.callbackPriority=t,e.callbackNode=n,t}return o!==null&&$h(o),e.callbackPriority=2,e.callbackNode=null,2}function V0(e,t){if(Ab=Tb=!1,og=window.event,Qa!==vs&&Qa!==Gb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hi===Vb&&(Hi=QS),Df()&&e.callbackNode!==n)return null;var o=Ie;return o=Cd(e,e===Bt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==vd),o===0?null:(_v(e,o,t),Nr(e,Ba()),e.callbackNode!=null&&e.callbackNode===n?V0.bind(null,e):null)}function Cf(e,t){if(Df())return null;Tb=Ab,Ab=!1,_v(e,t,!0)}function $h(e){e!==e2&&e!==null&&mp(e)}function Ov(){Q.actQueue!==null&&Q.actQueue.push(function(){return Jh(),null}),Hx(function(){(ft&(Pa|ou))!==sn?my(yy,Av):Jh()})}function G0(){if(Ss===0){var e=ld;e===0&&(e=Wr,Wr<<=1,(Wr&261888)===0&&(Wr=256)),Ss=e}return Ss}function dt(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(At(e,"action"),qs(""+e))}function Dt(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function lt(e,t,n,o,s){if(t==="submit"&&n&&n.stateNode===s){var f=dt((s[Dn]||null).action),y=o.submitter;y&&(t=(t=y[Dn]||null)?dt(t.formAction):y.getAttribute("formAction"),t!==null&&(f=t,y=null));var v=new db("action","action",null,o,s);e.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ss!==0){var E=y?Dt(s,y):new FormData(s),T={pending:!0,data:E,method:s.method,action:f};Object.freeze(T),Si(n,T,null,E)}}else typeof f=="function"&&(v.preventDefault(),E=y?Dt(s,y):new FormData(s),T={pending:!0,data:E,method:s.method,action:f},Object.freeze(T),Si(n,T,f,E))},currentTarget:s}]})}}function We(e,t,n){e.currentTarget=n;try{t(e)}catch(o){dS(o)}e.currentTarget=null}function _t(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n];e:{var s=void 0,f=o.event;if(o=o.listeners,t)for(var y=o.length-1;0<=y;y--){var v=o[y],E=v.instance,T=v.currentTarget;if(v=v.listener,E!==s&&f.isPropagationStopped())break e;E!==null?pe(E,We,f,v,T):We(f,v,T),s=E}else for(y=0;y<o.length;y++){if(v=o[y],E=v.instance,T=v.currentTarget,v=v.listener,E!==s&&f.isPropagationStopped())break e;E!==null?pe(E,We,f,v,T):We(f,v,T),s=E}}}}function Ce(e,t){t2.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ac];n===void 0&&(n=t[Ac]=new Set);var o=e+"__bubble";n.has(o)||(kh(t,e,2,!1),n.add(o))}function ju(e,t,n){t2.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),kh(n,e,o,t)}function go(e){if(!e[kb]){e[kb]=!0,ob.forEach(function(n){n!=="selectionchange"&&(t2.has(n)||ju(n,!1,e),ju(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kb]||(t[kb]=!0,ju("selectionchange",!1,t))}}function kh(e,t,n,o){switch(cp(t)){case Da:var s=ly;break;case Fa:s=Ka;break;default:s=uy}n=s.bind(null,t,n,e),s=void 0,!aS||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),o?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Fl(e,t,n,o,s){var f=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var v=o.stateNode.containerInfo;if(v===s)break;if(y===4)for(y=o.return;y!==null;){var E=y.tag;if((E===3||E===4)&&y.stateNode.containerInfo===s)return;y=y.return}for(;v!==null;){if(y=oi(v),y===null)return;if(E=y.tag,E===5||E===6||E===26||E===27){o=f=y;continue e}v=v.parentNode}}o=o.return}Qd(function(){var T=f,U=Zl(n),Z=[];e:{var M=pz.get(e);if(M!==void 0){var G=db,oe=e;switch(e){case"keypress":if(Ys(n)===0)break e;case"keydown":case"keyup":G=LM;break;case"focusin":oe="focus",G=iS;break;case"focusout":oe="blur",G=iS;break;case"beforeblur":case"afterblur":G=iS;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=ez;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=MM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=XM;break;case sz:case fz:case dz:G=RM;break;case hz:G=JM;break;case"scroll":case"scrollend":G=wM;break;case"wheel":G=kM;break;case"copy":case"cut":case"paste":G=NM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=az;break;case"toggle":case"beforetoggle":G=IM}var he=(t&4)!==0,Yt=!he&&(e==="scroll"||e==="scrollend"),ct=he?M!==null?M+"Capture":null:M;he=[];for(var D=T,x;D!==null;){var R=D;if(x=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||x===null||ct===null||(R=gu(D,ct),R!=null&&he.push(Ht(D,R,x))),Yt)break;D=D.return}0<he.length&&(M=new G(M,oe,null,n,U),Z.push({event:M,listeners:he}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",M&&n!==_y&&(oe=n.relatedTarget||n.fromElement)&&(oi(oe)||oe[xi]))break e;if((G||M)&&(M=U.window===U?U:(M=U.ownerDocument)?M.defaultView||M.parentWindow:window,G?(oe=n.relatedTarget||n.toElement,G=T,oe=oe?oi(oe):null,oe!==null&&(Yt=ue(oe),he=oe.tag,oe!==Yt||he!==5&&he!==27&&he!==6)&&(oe=null)):(G=null,oe=T),G!==oe)){if(he=ez,R="onMouseLeave",ct="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(he=az,R="onPointerLeave",ct="onPointerEnter",D="pointer"),Yt=G==null?M:Vi(G),x=oe==null?M:Vi(oe),M=new he(R,D+"leave",G,n,U),M.target=Yt,M.relatedTarget=x,R=null,oi(U)===T&&(he=new he(ct,D+"enter",oe,n,U),he.target=x,he.relatedTarget=Yt,R=he),Yt=R,G&&oe)t:{for(he=mc,ct=G,D=oe,x=0,R=ct;R;R=he(R))x++;R=0;for(var k=D;k;k=he(k))R++;for(;0<x-R;)ct=he(ct),x--;for(;0<R-x;)D=he(D),R--;for(;x--;){if(ct===D||D!==null&&ct===D.alternate){he=ct;break t}ct=he(ct),D=he(D)}he=null}else he=null;G!==null&&Kh(Z,M,G,he,!1),oe!==null&&Yt!==null&&Kh(Z,Yt,oe,he,!0)}}e:{if(M=T?Vi(T):window,G=M.nodeName&&M.nodeName.toLowerCase(),G==="select"||G==="input"&&M.type==="file")var fe=Ji;else if(Dm(M))if(cz)fe=Xs;else{fe=Mm;var He=V1}else G=M.nodeName,!G||G.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?T&&yu(T.elementType)&&(fe=Ji):fe=xm;if(fe&&(fe=fe(e,T))){Vs(Z,fe,n,U);break e}He&&He(e,M,T),e==="focusout"&&T&&M.type==="number"&&T.memoizedProps.value!=null&&bm(M,"number",M.value)}switch(He=T?Vi(T):window,e){case"focusin":(Dm(He)||He.contentEditable==="true")&&(wp=He,cS=T,Dy=null);break;case"focusout":Dy=cS=wp=null;break;case"mousedown":rS=!0;break;case"contextmenu":case"mouseup":case"dragend":rS=!1,kg(Z,n,U);break;case"selectionchange":if(ex)break;case"keydown":case"keyup":kg(Z,n,U)}var ze;if(oS)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else Op?ar(e,n)&&(be="onCompositionEnd"):e==="keydown"&&n.keyCode===nz&&(be="onCompositionStart");be&&(lz&&n.locale!=="ko"&&(Op||be!=="onCompositionStart"?be==="onCompositionEnd"&&Op&&(ze=qo()):(ns=U,nS="value"in ns?ns.value:ns.textContent,Op=!0)),He=Wl(T,be),0<He.length&&(be=new tz(be,e,null,n,U),Z.push({event:be,listeners:He}),ze?be.data=ze:(ze=si(n),ze!==null&&(be.data=ze)))),(ze=WM?wm(e,n):Jd(e,n))&&(be=Wl(T,"onBeforeInput"),0<be.length&&(He=new HM("onBeforeInput","beforeinput",null,n,U),Z.push({event:He,listeners:be}),He.data=ze)),lt(Z,e,T,n,U)}_t(Z,t)})}function Ht(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wl(e,t){for(var n=t+"Capture",o=[];e!==null;){var s=e,f=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||f===null||(s=gu(e,n),s!=null&&o.unshift(Ht(e,s,f)),s=gu(e,t),s!=null&&o.push(Ht(e,s,f))),e.tag===3)return o;e=e.return}return[]}function mc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kh(e,t,n,o,s){for(var f=t._reactName,y=[];n!==null&&n!==o;){var v=n,E=v.alternate,T=v.stateNode;if(v=v.tag,E!==null&&E===o)break;v!==5&&v!==26&&v!==27||T===null||(E=T,s?(T=gu(n,f),T!=null&&y.unshift(Ht(n,T,E))):s||(T=gu(n,f),T!=null&&y.push(Ht(n,T,E)))),n=n.return}y.length!==0&&e.push({event:t,listeners:y})}function An(e,t){Gg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||WE||(WE=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Xu,possibleRegistrationNames:ts};yu(e)||typeof t.is=="string"||L1(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Pt(e,t,n,o){t!==n&&(n=Pl(n),Pl(t)!==n&&(o[e]=t))}function Rf(e,t,n){t.forEach(function(o){n[Ai(o)]=o==="style"?vo(e):e.getAttribute(o)})}function ea(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Ih(e,t){return e=e.namespaceURI===Ye||e.namespaceURI===Xe?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Pl(e){return du(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Us(e)),xo(e)),(typeof e=="string"?e:""+e).replace(wx,`
169
+ `).replace(Dx,"")}function X0(e,t){return t=Pl(t),Pl(e)===t}function mt(e,t,n,o,s,f){switch(n){case"children":typeof o=="string"?(Bs(o,t,!1),t==="body"||t==="textarea"&&o===""||Bo(e,o)):(typeof o=="number"||typeof o=="bigint")&&(Bs(""+o,t,!1),t!=="body"&&Bo(e,""+o));break;case"className":Zs(e,"class",o);break;case"tabIndex":Zs(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Zs(e,n,o);break;case"style":Tm(e,o,f);break;case"data":if(t!=="object"){Zs(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}At(o,n),o=qs(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(s.encType==null&&s.method==null||Fb||(Fb=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),s.target==null||Ib||(Ib=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||Kb?t!=="button"||s.type==null||s.type==="submit"||Kb?typeof o=="function"&&(s.name==null||jT||(jT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),s.formEncType==null&&s.formMethod==null||Fb||(Fb=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),s.formTarget==null||Ib||(Ib=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Kb=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Kb=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(n==="formAction"?(t!=="input"&&mt(e,t,"name",s.name,s,null),mt(e,t,"formEncType",s.formEncType,s,null),mt(e,t,"formMethod",s.formMethod,s,null),mt(e,t,"formTarget",s.formTarget,s,null)):(mt(e,t,"encType",s.encType,s,null),mt(e,t,"method",s.method,s,null),mt(e,t,"target",s.target,s,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(n);break}At(o,n),o=qs(""+o),e.setAttribute(n,o);break;case"onClick":o!=null&&(typeof o!="function"&&ea(n,o),e.onclick=ml);break;case"onScroll":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}At(o,n),n=qs(""+o),e.setAttributeNS(md,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(At(o,n),e.setAttribute(n,""+o)):e.removeAttribute(n);break;case"inert":o!==""||Wb[n]||(Wb[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":o===!0?e.setAttribute(n,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(At(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(At(o,n),e.setAttribute(n,o)):e.removeAttribute(n);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(n):(At(o,n),e.setAttribute(n,o));break;case"popover":Ce("beforetoggle",e),Ce("toggle",e),Nd(e,"popover",o);break;case"xlinkActuate":hu(e,md,"xlink:actuate",o);break;case"xlinkArcrole":hu(e,md,"xlink:arcrole",o);break;case"xlinkRole":hu(e,md,"xlink:role",o);break;case"xlinkShow":hu(e,md,"xlink:show",o);break;case"xlinkTitle":hu(e,md,"xlink:title",o);break;case"xlinkType":hu(e,md,"xlink:type",o);break;case"xmlBase":hu(e,a2,"xml:base",o);break;case"xmlLang":hu(e,a2,"xml:lang",o);break;case"xmlSpace":hu(e,a2,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Nd(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":BT||o==null||typeof o!="object"||(BT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Lg(n),Nd(e,n,o)):Xu.hasOwnProperty(n)&&o!=null&&typeof o!="function"&&ea(n,o)}}function Zr(e,t,n,o,s,f){switch(n){case"style":Tm(e,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=o.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof o=="string"?Bo(e,o):(typeof o=="number"||typeof o=="bigint")&&Bo(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&ea(n,o),Ce("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&ea(n,o),e.onclick=ml);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Xu.hasOwnProperty(n))o!=null&&typeof o!="function"&&ea(n,o);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),f=e[Dn]||null,f=f!=null?f[n]:null,typeof f=="function"&&e.removeEventListener(t,f,s),typeof o=="function")){typeof f!="function"&&f!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,s);break e}n in e?e[n]=o:o===!0?e.setAttribute(n,""):Nd(e,n,o)}}}function Xt(e,t,n){switch(An(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var o=!1,s=!1,f;for(f in n)if(n.hasOwnProperty(f)){var y=n[f];if(y!=null)switch(f){case"src":o=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,f,y,n,null)}}s&&mt(e,t,"srcSet",n.srcSet,n,null),o&&mt(e,t,"src",n.src,n,null);return;case"input":Uo("input",n),Ce("invalid",e);var v=f=y=s=null,E=null,T=null;for(o in n)if(n.hasOwnProperty(o)){var U=n[o];if(U!=null)switch(o){case"name":s=U;break;case"type":y=U;break;case"checked":E=U;break;case"defaultChecked":T=U;break;case"value":f=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,U,n,null)}}hn(e,n),jd(e,f,v,E,T,y,s,!1);return;case"select":Uo("select",n),Ce("invalid",e),o=y=f=null;for(s in n)if(n.hasOwnProperty(s)&&(v=n[s],v!=null))switch(s){case"value":f=v;break;case"defaultValue":y=v;break;case"multiple":o=v;default:mt(e,t,s,v,n,null)}Bd(e,n),t=f,n=y,e.multiple=!!o,t!=null?pu(e,!!o,t,!1):n!=null&&pu(e,!!o,n,!0);return;case"textarea":Uo("textarea",n),Ce("invalid",e),f=s=o=null;for(y in n)if(n.hasOwnProperty(y)&&(v=n[y],v!=null))switch(y){case"value":o=v;break;case"defaultValue":s=v;break;case"children":f=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,y,v,n,null)}No(e,n),Ic(e,o,s,f);return;case"option":Yg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(o=n[E],o!=null))switch(E){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:mt(e,t,E,o,n,null)}return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(o=0;o<lg.length;o++)Ce(lg[o],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in n)if(n.hasOwnProperty(T)&&(o=n[T],o!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,T,o,n,null)}return;default:if(yu(t)){for(U in n)n.hasOwnProperty(U)&&(o=n[U],o!==void 0&&Zr(e,t,U,o,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(o=n[v],o!=null&&mt(e,t,v,o,n,null))}function Oa(e,t,n,o){switch(An(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,f=null,y=null,v=null,E=null,T=null,U=null;for(G in n){var Z=n[G];if(n.hasOwnProperty(G)&&Z!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":E=Z;default:o.hasOwnProperty(G)||mt(e,t,G,null,o,Z)}}for(var M in o){var G=o[M];if(Z=n[M],o.hasOwnProperty(M)&&(G!=null||Z!=null))switch(M){case"type":f=G;break;case"name":s=G;break;case"checked":T=G;break;case"defaultChecked":U=G;break;case"value":y=G;break;case"defaultValue":v=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==Z&&mt(e,t,M,G,o,Z)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||HT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),HT=!0),!t||o||ZT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),ZT=!0),Gi(e,y,v,E,T,U,f,s);return;case"select":G=y=v=M=null;for(f in n)if(E=n[f],n.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":G=E;default:o.hasOwnProperty(f)||mt(e,t,f,null,o,E)}for(s in o)if(f=o[s],E=n[s],o.hasOwnProperty(s)&&(f!=null||E!=null))switch(s){case"value":M=f;break;case"defaultValue":v=f;break;case"multiple":y=f;default:f!==E&&mt(e,t,s,f,o,E)}o=v,t=y,n=G,M!=null?pu(e,!!t,M,!1):!!n!=!!t&&(o!=null?pu(e,!!t,o,!0):pu(e,!!t,t?[]:"",!1));return;case"textarea":G=M=null;for(v in n)if(s=n[v],n.hasOwnProperty(v)&&s!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:mt(e,t,v,null,o,s)}for(y in o)if(s=o[y],f=n[y],o.hasOwnProperty(y)&&(s!=null||f!=null))switch(y){case"value":M=s;break;case"defaultValue":G=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==f&&mt(e,t,y,s,o,f)}Zo(e,M,G);return;case"option":for(var oe in n)if(M=n[oe],n.hasOwnProperty(oe)&&M!=null&&!o.hasOwnProperty(oe))switch(oe){case"selected":e.selected=!1;break;default:mt(e,t,oe,null,o,M)}for(E in o)if(M=o[E],G=n[E],o.hasOwnProperty(E)&&M!==G&&(M!=null||G!=null))switch(E){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:mt(e,t,E,M,o,G)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in n)M=n[he],n.hasOwnProperty(he)&&M!=null&&!o.hasOwnProperty(he)&&mt(e,t,he,null,o,M);for(T in o)if(M=o[T],G=n[T],o.hasOwnProperty(T)&&M!==G&&(M!=null||G!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,T,M,o,G)}return;default:if(yu(t)){for(var Yt in n)M=n[Yt],n.hasOwnProperty(Yt)&&M!==void 0&&!o.hasOwnProperty(Yt)&&Zr(e,t,Yt,void 0,o,M);for(U in o)M=o[U],G=n[U],!o.hasOwnProperty(U)||M===G||M===void 0&&G===void 0||Zr(e,t,U,M,o,G);return}}for(var ct in n)M=n[ct],n.hasOwnProperty(ct)&&M!=null&&!o.hasOwnProperty(ct)&&mt(e,t,ct,null,o,M);for(Z in o)M=o[Z],G=n[Z],!o.hasOwnProperty(Z)||M===G||M==null&&G==null||mt(e,t,Z,M,o,G)}function Ai(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function vo(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var o=e[n];t[o]=e.getPropertyValue(o)}return t}function Bu(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,s=o="",f;for(f in t)if(t.hasOwnProperty(f)){var y=t[f];y!=null&&typeof y!="boolean"&&y!==""&&(f.indexOf("--")===0?(dm(y,f),o+=s+f+":"+(""+y).trim()):typeof y!="number"||y===0||ge.has(f)?(dm(y,f),o+=s+f.replace(J,"-$1").toLowerCase().replace(me,"-ms-")+":"+(""+y).trim()):o+=s+f.replace(J,"-$1").toLowerCase().replace(me,"-ms-")+":"+y+"px",s=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=Pl(o),Pl(t)!==o&&(n.style=vo(e)))}}function Hn(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(At(o,t),e===""+o)return}Pt(t,e,o,f)}function Fh(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}Pt(t,e,o,f)}function Wh(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(At(o,n),e===""+o)return}Pt(t,e,o,f)}function Hr(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(At(o,t),e===""+o))return}Pt(t,e,o,f)}function Uf(e,t,n,o,s,f){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(At(o,t),n=qs(""+o),e===n)return}Pt(t,e,o,f)}function jn(e,t,n,o){for(var s={},f=new Set,y=e.attributes,v=0;v<y.length;v++)switch(y[v].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(y[v].name)}if(yu(t)){for(var E in n)if(n.hasOwnProperty(E)){var T=n[E];if(T!=null){if(Xu.hasOwnProperty(E))typeof T!="function"&&ea(E,T);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof T!="string"&&typeof T!="number"||Pt("children",e.textContent,T,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=Ih(e,T),Pt(E,y,T,s));continue;case"style":f.delete(E),Bu(e,T,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),y=Kc(e,"class",T),Pt("className",y,T,s);continue;default:o.context===qc&&t!=="svg"&&t!=="math"?f.delete(E.toLowerCase()):f.delete(E),y=Kc(e,E,T),Pt(E,y,T,s)}}}}else for(T in n)if(n.hasOwnProperty(T)&&(E=n[T],E!=null)){if(Xu.hasOwnProperty(T))typeof E!="function"&&ea(T,E);else if(n.suppressHydrationWarning!==!0)switch(T){case"children":typeof E!="string"&&typeof E!="number"||Pt("children",e.textContent,E,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=Ih(e,E),y!==E&&(s[T]={__html:y}));continue;case"className":Hn(e,T,"class",E,f,s);continue;case"tabIndex":Hn(e,T,"tabindex",E,f,s);continue;case"style":f.delete(T),Bu(e,E,s);continue;case"multiple":f.delete(T),Pt(T,e.multiple,E,s);continue;case"muted":f.delete(T),Pt(T,e.muted,E,s);continue;case"autoFocus":f.delete("autofocus"),Pt(T,e.autofocus,E,s);continue;case"data":if(t!=="object"){f.delete(T),y=e.getAttribute("data"),Pt(T,y,E,s);continue}case"src":case"href":if(!(E!==""||t==="a"&&T==="href"||t==="object"&&T==="data")){console.error(T==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}Uf(e,T,T,E,f,s);continue;case"action":case"formAction":if(y=e.getAttribute(T),typeof E=="function"){f.delete(T.toLowerCase()),T==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(y===Mx){f.delete(T.toLowerCase()),Pt(T,"function",E,s);continue}Uf(e,T,T.toLowerCase(),E,f,s);continue;case"xlinkHref":Uf(e,T,"xlink:href",E,f,s);continue;case"contentEditable":Wh(e,T,"contenteditable",E,f,s);continue;case"spellCheck":Wh(e,T,"spellcheck",E,f,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Wh(e,T,T,E,f,s);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Fh(e,T,T.toLowerCase(),E,f,s);continue;case"capture":case"download":e:{v=e;var U=y=T,Z=s;if(f.delete(U),v=v.getAttribute(U),v===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&v==="")break e;break;default:if(At(E,y),v===""+E)break e}Pt(y,v,E,Z)}continue;case"cols":case"rows":case"size":case"span":e:{if(v=e,U=y=T,Z=s,f.delete(U),v=v.getAttribute(U),v===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(At(E,y),v===""+E))break e}Pt(y,v,E,Z)}continue;case"rowSpan":Hr(e,T,"rowspan",E,f,s);continue;case"start":Hr(e,T,T,E,f,s);continue;case"xHeight":Hn(e,T,"x-height",E,f,s);continue;case"xlinkActuate":Hn(e,T,"xlink:actuate",E,f,s);continue;case"xlinkArcrole":Hn(e,T,"xlink:arcrole",E,f,s);continue;case"xlinkRole":Hn(e,T,"xlink:role",E,f,s);continue;case"xlinkShow":Hn(e,T,"xlink:show",E,f,s);continue;case"xlinkTitle":Hn(e,T,"xlink:title",E,f,s);continue;case"xlinkType":Hn(e,T,"xlink:type",E,f,s);continue;case"xmlBase":Hn(e,T,"xml:base",E,f,s);continue;case"xmlLang":Hn(e,T,"xml:lang",E,f,s);continue;case"xmlSpace":Hn(e,T,"xml:space",E,f,s);continue;case"inert":E!==""||Wb[T]||(Wb[T]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",T)),Fh(e,T,T,E,f,s);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){v=Lg(T),y=!1,o.context===qc&&t!=="svg"&&t!=="math"?f.delete(v.toLowerCase()):(U=T.toLowerCase(),U=nu.hasOwnProperty(U)&&nu[U]||null,U!==null&&U!==T&&(y=!0,f.delete(U)),f.delete(v));e:if(U=e,Z=v,v=E,Ns(Z))if(U.hasAttribute(Z))U=U.getAttribute(Z),At(v,Z),v=U===""+v?v:U;else{switch(typeof v){case"function":case"symbol":break e;case"boolean":if(U=Z.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break e}v=v===void 0?void 0:null}else v=void 0;y||Pt(T,v,E,s)}}}return 0<f.size&&n.suppressHydrationWarning!==!0&&Rf(e,f,s),Object.keys(s).length===0?null:s}function wv(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function On(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Dv(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),o=0;o<n.length;o++){var s=n[o],f=s.transferSize,y=s.initiatorType,v=s.duration;if(f&&v&&On(y)){for(y=0,v=s.responseEnd,o+=1;o<n.length;o++){var E=n[o],T=E.startTime;if(T>v)break;var U=E.transferSize,Z=E.initiatorType;U&&On(Z)&&(E=E.responseEnd,y+=U*(E<v?1:(v-T)/(E-T)))}if(--o,t+=8*(f+y)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Nf(e){return e.nodeType===9?e:e.ownerDocument}function Mv(e){switch(e){case Xe:return Wp;case Ye:return e1;default:return qc}}function Oi(e,t){if(e===qc)switch(t){case"svg":return Wp;case"math":return e1;default:return qc}return e===Wp&&t==="foreignObject"?qc:e}function jr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Q0(){var e=window.event;return e&&e.type==="popstate"?e===i2?!1:(i2=e,!0):(i2=null,!1)}function qu(){var e=window.event;return e&&e!==og?e.type:null}function Br(){var e=window.event;return e&&e!==og?e.timeStamp:-1.1}function xv(e){setTimeout(function(){throw e})}function Cv(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Rv(){}function Ph(e,t,n,o){Oa(e,t,n,o),e[Dn]=o}function ep(e){Bo(e,"")}function K1(e,t,n){e.nodeValue=n}function Uv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Dn]||null;if(t!==null){var n=Rl(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,pe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,pe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function bo(e){return e==="head"}function Nv(e,t){e.removeChild(t)}function Zv(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function yc(e,t){var n=t,o=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===ig||n===Pb){if(o===0){e.removeChild(s),Sc(t);return}o--}else if(n===ug||n===_s||n===gd||n===Fp||n===yd)o++;else if(n===Cx)Di(e.ownerDocument.documentElement);else if(n===Ux){n=e.ownerDocument.head,Di(n);for(var f=n.firstChild;f;){var y=f.nextSibling,v=f.nodeName;f[es]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&f.rel.toLowerCase()==="stylesheet"||n.removeChild(f),f=y}}else n===Rx&&Di(e.ownerDocument.body);n=s}while(n);Sc(t)}function Zf(e,t){var n=e;e=0;do{var o=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),o&&o.nodeType===8)if(n=o.data,n===ig){if(e===0)break;e--}else n!==ug&&n!==_s&&n!==gd&&n!==Fp||e++;n=o}while(n)}function Hv(e){Zf(e,!0)}function jv(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Bv(e){e.nodeValue=""}function qv(e){Zf(e,!1)}function Yv(e,t){t=t[Nx],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Lv(e,t){e.nodeValue=t}function qr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":qr(n),ym(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Vv(e,t,n,o){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[es])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){At(s.name,"name");var f=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=ll(e.nextSibling),e===null)break}return null}function Gv(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=ll(e.nextSibling),e===null))return null;return e}function Et(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=ll(e.nextSibling),e===null))return null;return e}function Hf(e){return e.data===_s||e.data===gd}function J0(e){return e.data===Fp||e.data===_s&&e.ownerDocument.readyState!==YT}function Xv(e,t){var n=e.ownerDocument;if(e.data===gd)e._reactRetry=t;else if(e.data!==_s||n.readyState!==YT)t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function ll(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===ug||t===Fp||t===_s||t===gd||t===yd||t===n2||t===qT)break;if(t===ig||t===Pb)return null}}return e}function Qv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},o=e.attributes,s=0;s<o.length;s++){var f=o[s];n[Ai(f.name)]=f.name.toLowerCase()==="style"?vo(e):f.value}return{type:t,props:n}}return e.nodeType===8?e.data===yd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Jv(e,t,n){return n===null||n[xx]!==!0?(e.nodeValue===t?e=null:(t=Pl(t),e=Pl(e.nodeValue)===t?null:e.nodeValue),e):null}function Yr(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===ig||n===Pb){if(t===0)return ll(e.nextSibling);t--}else n!==ug&&n!==Fp&&n!==_s&&n!==gd&&n!==yd||t++}e=e.nextSibling}return null}function gc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===ug||n===Fp||n===_s||n===gd||n===yd){if(t===0)return e;t--}else n!==ig&&n!==Pb||t++}e=e.previousSibling}return null}function $0(e){Sc(e)}function tp(e){Sc(e)}function k0(e){Sc(e)}function wi(e,t,n,o,s){switch(s&&js(e,o.ancestorInfo),t=Nf(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Yu(e,t,n,o){if(!n[xi]&&Rl(n)){var s=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",s,s,s)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Xt(n,e,t),n[Qt]=o,n[Dn]=t}function Di(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ym(e)}function ap(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function K0(e,t,n){var o=Pp;if(o&&typeof t=="string"&&t){var s=Ot(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),JT.has(s)||(JT.add(s),e={rel:e,crossOrigin:n,href:t},o.querySelector(s)===null&&(t=o.createElement("link"),Xt(t,"link",e),sa(t),o.head.appendChild(t)))}}function I0(e,t,n,o){var s=(s=ul.current)?ap(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=vc(n.href),t=pl(s).hoistableStyles,o=t.get(n),o||(o={type:"style",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=vc(n.href);var f=pl(s).hoistableStyles,y=f.get(e);if(!y&&(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:bd,preload:null}},f.set(e,y),(f=s.querySelector(Bf(e)))&&!f._p&&(y.instance=f,y.state.loading=cg|ti),!ai.has(e))){var v={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};ai.set(e,v),f||$v(s,e,v,y.state)}if(t&&o===null)throw n=`
170
170
 
171
171
  - `+jf(t)+`
172
172
  + `+jf(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return y}if(t&&o!==null)throw n=`
173
173
 
174
174
  - `+jf(t)+`
175
- + `+jf(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=bc(n),t=pl(s).hoistableScripts,o=t.get(n),o||(o={type:"script",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function jf(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):il.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):il.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):il.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function vc(e){return'href="'+Ot(e)+'"'}function Bf(e){return'link[rel="stylesheet"]['+e+"]"}function np(e){return $e({},e,{"data-precedence":e.precedence,precedence:null})}function $v(e,t,n,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=cg:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=cg}),t.addEventListener("error",function(){return o.loading|=QT}),Xt(t,"link",n),sa(t),e.head.appendChild(t))}function bc(e){return'[src="'+Ot(e)+'"]'}function qf(e){return"script[async]"+e}function lp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+Ot(n.href)+'"]');if(o)return t.instance=o,sa(o),o;var s=$e({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),sa(o),Xt(o,"style",s),Lr(o,n.precedence,e),t.instance=o;case"stylesheet":s=vc(n.href);var f=e.querySelector(Bf(s));if(f)return t.state.loading|=ti,t.instance=f,sa(f),f;o=np(n),(s=ai.get(s))&&F0(o,s),f=(e.ownerDocument||e).createElement("link"),sa(f);var y=f;return y._p=new Promise(function(v,E){y.onload=v,y.onerror=E}),Xt(f,"link",o),t.state.loading|=ti,Lr(f,n.precedence,e),t.instance=f;case"script":return f=bc(n.src),(s=e.querySelector(qf(f)))?(t.instance=s,sa(s),s):(o=n,(s=ai.get(f))&&(o=$e({},n),W0(o,s)),e=e.ownerDocument||e,s=e.createElement("script"),sa(s),Xt(s,"link",o),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&ti)===bd&&(o=t.instance,t.state.loading|=ti,Lr(o,n.precedence,e));return t.instance}function Lr(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=o.length?o[o.length-1]:null,f=s,y=0;y<o.length;y++){var v=o[y];if(v.dataset.precedence===t)f=v;else if(f!==s)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function F0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function W0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Vr(e,t,n){if(t1===null){var o=new Map,s=t1=new Map;s.set(n,o)}else s=t1,o=s.get(n),o||(o=new Map,s.set(n,o));if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var f=n[s];if(!(f[es]||f[Qt]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==Xe){var y=f.getAttribute(t)||"";y=e+y;var v=o.get(y);v?v.push(f):o.set(y,[f])}}return o}function kv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Kv(e,t,n){var o=!n.ancestorInfo.containerTagInScope;if(n.context===Wp||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var s=t.onError,f=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),f!=null&&n.push("`disabled`"),s=wv(n,"and"),s+=n.length===1?" prop":" props",f=n.length===1?"an "+s:"the "+s,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,f,s)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function tt(e){return!(e.type==="stylesheet"&&(e.state.loading&JT)===bd)}function P0(e,t,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&ti)===bd){if(n.instance===null){var s=vc(o.href),f=t.querySelector(Bf(s));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Gr.bind(e),t.then(e,e)),n.state.loading|=ti,n.instance=f,sa(f);return}f=t.ownerDocument||t,o=np(o),(s=ai.get(s))&&F0(o,s),f=f.createElement("link"),sa(f);var y=f;y._p=new Promise(function(v,E){y.onload=v,y.onerror=E}),Xt(f,"link",o),n.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&JT)===bd&&(e.count++,n=Gr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function up(e,t){return e.stylesheets&&e.count===0&&Yf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var o=setTimeout(function(){if(e.stylesheets&&Yf(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},Hx+t);0<e.imgBytes&&o2===0&&(o2=125*Dv()*Bx);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yf(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>o2?50:jx)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(s)}}:null}function Gr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Yf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,a1=new Map,t.forEach(ey,e),a1=null,Gr.call(e))}function ey(e,t){if(!(t.state.loading&ti)){var n=a1.get(e);if(n)var o=n.get(c2);else{n=new Map,a1.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<s.length;f++){var y=s[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(n.set(y.dataset.precedence,y),o=y)}o&&n.set(c2,o)}s=t.instance,y=s.getAttribute("data-precedence"),f=n.get(y)||o,f===o&&n.set(c2,s),n.set(y,s),this.count++,o=Gr.bind(this),s.addEventListener("load",o),s.addEventListener("error",o),f?f.parentNode.insertBefore(s,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ti}}function Lf(e,t,n,o,s,f,y,v,E){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=vd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ud(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ud(0),this.hiddenUpdates=Ud(null),this.identifierPrefix=o,this.onUncaughtError=s,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Vf(e,t,n,o,s,f,y,v,E,T,U,Z){return e=new Lf(e,t,n,y,E,T,U,Z,v),t=cx,f===!0&&(t|=Yn|Ci),t|=ke,f=ae(3,null,null,t),e.current=f,f.stateNode=e,t=lh(),ko(t),e.pooledCache=t,ko(t),f.memoizedState={element:o,isDehydrated:n,cache:t},nt(f),e}function Iv(e){return e?(e=is,e):is}function ip(e,t,n,o,s,f){if(wa&&typeof wa.onScheduleFiberRoot=="function")try{wa.onScheduleFiberRoot(Tc,o,n)}catch(y){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",y))}s=Iv(s),o.context===null?o.context=s:o.pendingContext=s,Lu&&qn!==null&&!FT&&(FT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
175
+ + `+jf(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=bc(n),t=pl(s).hoistableScripts,o=t.get(n),o||(o={type:"script",instance:null,count:0,state:null},t.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function jf(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):il.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):il.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):il.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function vc(e){return'href="'+Ot(e)+'"'}function Bf(e){return'link[rel="stylesheet"]['+e+"]"}function np(e){return $e({},e,{"data-precedence":e.precedence,precedence:null})}function $v(e,t,n,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=cg:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=cg}),t.addEventListener("error",function(){return o.loading|=XT}),Xt(t,"link",n),sa(t),e.head.appendChild(t))}function bc(e){return'[src="'+Ot(e)+'"]'}function qf(e){return"script[async]"+e}function lp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+Ot(n.href)+'"]');if(o)return t.instance=o,sa(o),o;var s=$e({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),sa(o),Xt(o,"style",s),Lr(o,n.precedence,e),t.instance=o;case"stylesheet":s=vc(n.href);var f=e.querySelector(Bf(s));if(f)return t.state.loading|=ti,t.instance=f,sa(f),f;o=np(n),(s=ai.get(s))&&F0(o,s),f=(e.ownerDocument||e).createElement("link"),sa(f);var y=f;return y._p=new Promise(function(v,E){y.onload=v,y.onerror=E}),Xt(f,"link",o),t.state.loading|=ti,Lr(f,n.precedence,e),t.instance=f;case"script":return f=bc(n.src),(s=e.querySelector(qf(f)))?(t.instance=s,sa(s),s):(o=n,(s=ai.get(f))&&(o=$e({},n),W0(o,s)),e=e.ownerDocument||e,s=e.createElement("script"),sa(s),Xt(s,"link",o),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&ti)===bd&&(o=t.instance,t.state.loading|=ti,Lr(o,n.precedence,e));return t.instance}function Lr(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=o.length?o[o.length-1]:null,f=s,y=0;y<o.length;y++){var v=o[y];if(v.dataset.precedence===t)f=v;else if(f!==s)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function F0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function W0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Vr(e,t,n){if(t1===null){var o=new Map,s=t1=new Map;s.set(n,o)}else s=t1,o=s.get(n),o||(o=new Map,s.set(n,o));if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var f=n[s];if(!(f[es]||f[Qt]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==Xe){var y=f.getAttribute(t)||"";y=e+y;var v=o.get(y);v?v.push(f):o.set(y,[f])}}return o}function kv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Kv(e,t,n){var o=!n.ancestorInfo.containerTagInScope;if(n.context===Wp||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var s=t.onError,f=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),f!=null&&n.push("`disabled`"),s=wv(n,"and"),s+=n.length===1?" prop":" props",f=n.length===1?"an "+s:"the "+s,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,f,s)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function tt(e){return!(e.type==="stylesheet"&&(e.state.loading&QT)===bd)}function P0(e,t,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&ti)===bd){if(n.instance===null){var s=vc(o.href),f=t.querySelector(Bf(s));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Gr.bind(e),t.then(e,e)),n.state.loading|=ti,n.instance=f,sa(f);return}f=t.ownerDocument||t,o=np(o),(s=ai.get(s))&&F0(o,s),f=f.createElement("link"),sa(f);var y=f;y._p=new Promise(function(v,E){y.onload=v,y.onerror=E}),Xt(f,"link",o),n.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&QT)===bd&&(e.count++,n=Gr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function up(e,t){return e.stylesheets&&e.count===0&&Yf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var o=setTimeout(function(){if(e.stylesheets&&Yf(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},jx+t);0<e.imgBytes&&c2===0&&(c2=125*Dv()*qx);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yf(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>c2?50:Bx)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(s)}}:null}function Gr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Yf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,a1=new Map,t.forEach(ey,e),a1=null,Gr.call(e))}function ey(e,t){if(!(t.state.loading&ti)){var n=a1.get(e);if(n)var o=n.get(r2);else{n=new Map,a1.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<s.length;f++){var y=s[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(n.set(y.dataset.precedence,y),o=y)}o&&n.set(r2,o)}s=t.instance,y=s.getAttribute("data-precedence"),f=n.get(y)||o,f===o&&n.set(r2,s),n.set(y,s),this.count++,o=Gr.bind(this),s.addEventListener("load",o),s.addEventListener("error",o),f?f.parentNode.insertBefore(s,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ti}}function Lf(e,t,n,o,s,f,y,v,E){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=vd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ud(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ud(0),this.hiddenUpdates=Ud(null),this.identifierPrefix=o,this.onUncaughtError=s,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Vf(e,t,n,o,s,f,y,v,E,T,U,Z){return e=new Lf(e,t,n,y,E,T,U,Z,v),t=rx,f===!0&&(t|=Yn|Ci),t|=ke,f=ae(3,null,null,t),e.current=f,f.stateNode=e,t=lh(),ko(t),e.pooledCache=t,ko(t),f.memoizedState={element:o,isDehydrated:n,cache:t},nt(f),e}function Iv(e){return e?(e=is,e):is}function ip(e,t,n,o,s,f){if(wa&&typeof wa.onScheduleFiberRoot=="function")try{wa.onScheduleFiberRoot(Tc,o,n)}catch(y){Vu||(Vu=!0,console.error("React instrumentation encountered an error: %o",y))}s=Iv(s),o.context===null?o.context=s:o.pendingContext=s,Lu&&qn!==null&&!IT&&(IT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
176
176
 
177
- Check the render method of %s.`,de(qn)||"Unknown")),o=Ta(t),o.payload={element:n},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),n=zu(e,o,t),n!==null&&(Su(t,"root.render()",null),Ue(n,e,t),El(n,e,t))}function Fv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ty(e,t){Fv(e,t),(e=e.alternate)&&Fv(e,t)}function ay(e){if(e.tag===13||e.tag===31){var t=an(e,67108864);t!==null&&Ue(t,e,67108864),ty(e,67108864)}}function ny(e){if(e.tag===13||e.tag===31){var t=ln(e);t=Ro(t);var n=an(e,t);n!==null&&Ue(n,e,t),ty(e,t)}}function Mt(){return qn}function ly(e,t,n,o){var s=Q.T;Q.T=null;var f=yt.p;try{yt.p=Da,uy(e,t,n,o)}finally{yt.p=f,Q.T=s}}function Ka(e,t,n,o){var s=Q.T;Q.T=null;var f=yt.p;try{yt.p=Fa,uy(e,t,n,o)}finally{yt.p=f,Q.T=s}}function uy(e,t,n,o){if(l1){var s=op(o);if(s===null)Fl(e,t,o,u1,n),rp(e,o);else if(Wv(s,e,t,n,o))o.stopPropagation();else if(rp(e,o),t&4&&-1<Yx.indexOf(e)){for(;s!==null;){var f=Rl(s);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=Co(f.pendingLanes);if(y!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var E=1<<31-Ia(y);v.entanglements[1]|=E,y&=~E}Zn(f),(ft&(Pa|ou))===sn&&(Lb=Ba()+AT,Hu(0))}}break;case 31:case 13:v=an(f,2),v!==null&&Ue(v,f,2),nl(),ty(f,2)}if(f=op(o),f===null&&Fl(e,t,o,u1,n),f===s)break;s=f}s!==null&&o.stopPropagation()}else Fl(e,t,o,null,n)}}function op(e){return e=Zl(e),iy(e)}function iy(e){if(u1=null,e=oi(e),e!==null){var t=ue(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Ee(t),e!==null)return e;e=null}else if(n===31){if(e=ye(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return u1=e,null}function cp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Da;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Fa;case"message":switch(kf()){case yy:return Da;case vp:return Fa;case zc:case lb:return on;case bp:return To;default:return on}default:return on}}function rp(e,t){switch(e){case"focusin":case"focusout":Es=null;break;case"dragenter":case"dragleave":zs=null;break;case"mouseover":case"mouseout":Ts=null;break;case"pointerover":case"pointerout":sg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fg.delete(t.pointerId)}}function So(e,t,n,o,s,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:f,targetContainers:[s]},t!==null&&(t=Rl(t),t!==null&&ay(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Wv(e,t,n,o,s){switch(t){case"focusin":return Es=So(Es,e,t,n,o,s),!0;case"dragenter":return zs=So(zs,e,t,n,o,s),!0;case"mouseover":return Ts=So(Ts,e,t,n,o,s),!0;case"pointerover":var f=s.pointerId;return sg.set(f,So(sg.get(f)||null,e,t,n,o,s)),!0;case"gotpointercapture":return f=s.pointerId,fg.set(f,So(fg.get(f)||null,e,t,n,o,s)),!0}return!1}function oy(e){var t=oi(e.target);if(t!==null){var n=ue(t);if(n!==null){if(t=n.tag,t===13){if(t=Ee(n),t!==null){e.blockedOn=t,qg(e.priority,function(){ny(n)});return}}else if(t===31){if(t=ye(n),t!==null){e.blockedOn=t,qg(e.priority,function(){ny(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=op(e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n),s=o;_y!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),_y=s,n.target.dispatchEvent(o),_y===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),_y=null}else return t=Rl(n),t!==null&&ay(t),e.blockedOn=n,!1;t.shift()}return!0}function sp(e,t,n){Xr(e)&&n.delete(t)}function K1(){r2=!1,Es!==null&&Xr(Es)&&(Es=null),zs!==null&&Xr(zs)&&(zs=null),Ts!==null&&Xr(Ts)&&(Ts=null),sg.forEach(sp),fg.forEach(sp)}function Gf(e,t){e.blockedOn===t&&(e.blockedOn=null,r2||(r2=!0,ma.unstable_scheduleCallback(ma.unstable_NormalPriority,K1)))}function Pv(e){i1!==e&&(i1=e,ma.unstable_scheduleCallback(ma.unstable_NormalPriority,function(){i1===e&&(i1=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],s=e[t+2];if(typeof o!="function"){if(iy(o||n)===null)continue;break}var f=Rl(n);f!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:o},Object.freeze(n),Si(f,n,o,s))}}))}function Sc(e){function t(E){return Gf(E,e)}Es!==null&&Gf(Es,e),zs!==null&&Gf(zs,e),Ts!==null&&Gf(Ts,e),sg.forEach(t),fg.forEach(t);for(var n=0;n<As.length;n++){var o=As[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<As.length&&(n=As[0],n.blockedOn===null);)oy(n),n.blockedOn===null&&As.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(o=0;o<n.length;o+=3){var s=n[o],f=n[o+1],y=s[Dn]||null;if(typeof f=="function")y||Pv(n);else if(y){var v=null;if(f&&f.hasAttribute("formAction")){if(s=f,y=f[Dn]||null)v=y.formAction;else if(iy(s)!==null)continue}else v=y.action;typeof v=="function"?n[o+1]=v:(n.splice(o,3),o-=3),Pv(n)}}}function eb(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return s=y})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),o||setTimeout(n,20)}function n(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function cy(e){this._internalRoot=e}function eu(e){this._internalRoot=e}function ry(e){e[xi]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ma=g2(),Xf=Oe,I1=f2,$e=Object.assign,tb=Symbol.for("react.element"),Ol=Symbol.for("react.transitional.element"),_o=Symbol.for("react.portal"),Qr=Symbol.for("react.fragment"),wn=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),fp=Symbol.for("react.consumer"),tu=Symbol.for("react.context"),Jr=Symbol.for("react.forward_ref"),_c=Symbol.for("react.suspense"),Bn=Symbol.for("react.suspense_list"),Jf=Symbol.for("react.memo"),un=Symbol.for("react.lazy"),au=Symbol.for("react.activity"),F1=Symbol.for("react.memo_cache_sentinel"),ab=Symbol.iterator,$r=Symbol.for("react.client.reference"),Sa=Array.isArray,Q=Xf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt=I1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W1=Object.freeze({pending:!1,data:null,method:null,action:null}),sy=[],fy=[],Mi=-1,Eo=zt(null),kr=zt(null),ul=zt(null),zo=zt(null),Kr=0,nb,Ec,Ir,dy,$f,dp,hp;Be.__reactDisabledLog=!0;var Fr,hy,pp=!1,py=new(typeof WeakMap=="function"?WeakMap:Map),qn=null,Lu=!1,il=Object.prototype.hasOwnProperty,my=ma.unstable_scheduleCallback,mp=ma.unstable_cancelCallback,yp=ma.unstable_shouldYield,gp=ma.unstable_requestPaint,Ba=ma.unstable_now,kf=ma.unstable_getCurrentPriorityLevel,yy=ma.unstable_ImmediatePriority,vp=ma.unstable_UserBlockingPriority,zc=ma.unstable_NormalPriority,lb=ma.unstable_LowPriority,bp=ma.unstable_IdlePriority,gy=ma.log,ub=ma.unstable_setDisableYieldValue,Tc=null,wa=null,Vu=!1,Gu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ia=Math.clz32?Math.clz32:pm,vy=Math.log,Sp=Math.LN2,Wr=256,Kf=262144,Pr=4194304,Da=2,Fa=8,on=32,To=268435456,wl=Math.random().toString(36).slice(2),Qt="__reactFiber$"+wl,Dn="__reactProps$"+wl,xi="__reactContainer$"+wl,Ac="__reactEvents$"+wl,P1="__reactListeners$"+wl,ib="__reactHandles$"+wl,If="__reactResources$"+wl,es="__reactMarker$"+wl,ob=new Set,Xu={},ts={},cb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},as=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),by={},_p={},Ep=/[\n"\\]/g,Sy=!1,rb=!1,Ff=!1,a=!1,l=!1,i=!1,r=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,S="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),A="applet caption html table td th marquee object template foreignObject desc title".split(" "),C=A.concat(["button"]),L="dd dt li option optgroup p rp rt".split(" "),$={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},W={},V={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},J=/([A-Z])/g,me=/^ms-/,we=/^(?:webkit|moz|o)[A-Z]/,xt=/^-ms-/,B=/-(.)/g,N=/;\s*$/,q={},I={},_e=!1,st=!1,ge=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ye="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",ht=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),nu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},sb={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},zp={},SM=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),_M=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),PE=!1,ol={},ez=/^on./,EM=/^on[^A-Z]/,zM=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),TM=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),AM=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,_y=null,Tp=null,Ap=null,eS=!1,Ao=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tS=!1;if(Ao)try{var Ey={};Object.defineProperty(Ey,"passive",{get:function(){tS=!0}}),window.addEventListener("test",Ey,Ey),window.removeEventListener("test",Ey,Ey)}catch{tS=!1}var ns=null,aS=null,fb=null,Wf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},db=Ca(Wf),zy=$e({},Wf,{view:0,detail:0}),OM=Ca(zy),nS,lS,Ty,hb=$e({},zy,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ls,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ty&&(Ty&&e.type==="mousemove"?(nS=e.screenX-Ty.screenX,lS=e.screenY-Ty.screenY):lS=nS=0,Ty=e),nS)},movementY:function(e){return"movementY"in e?e.movementY:lS}}),tz=Ca(hb),wM=$e({},hb,{dataTransfer:0}),DM=Ca(wM),MM=$e({},zy,{relatedTarget:0}),uS=Ca(MM),xM=$e({},Wf,{animationName:0,elapsedTime:0,pseudoElement:0}),CM=Ca(xM),RM=$e({},Wf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),UM=Ca(RM),NM=$e({},Wf,{data:0}),az=Ca(NM),ZM=az,HM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jM={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},BM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},qM=$e({},zy,{key:function(e){if(e.key){var t=HM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ys(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?jM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ls,charCode:function(e){return e.type==="keypress"?Ys(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ys(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),YM=Ca(qM),LM=$e({},hb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nz=Ca(LM),VM=$e({},zy,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ls}),GM=Ca(VM),XM=$e({},Wf,{propertyName:0,elapsedTime:0,pseudoElement:0}),QM=Ca(XM),JM=$e({},hb,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),$M=Ca(JM),kM=$e({},Wf,{newState:0,oldState:0}),KM=Ca(kM),IM=[9,13,27,32],lz=229,iS=Ao&&"CompositionEvent"in window,Ay=null;Ao&&"documentMode"in document&&(Ay=document.documentMode);var FM=Ao&&"TextEvent"in window&&!Ay,uz=Ao&&(!iS||Ay&&8<Ay&&11>=Ay),iz=32,oz=String.fromCharCode(iz),cz=!1,Op=!1,WM={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Oy=null,wy=null,rz=!1;Ao&&(rz=$d("input")&&(!document.documentMode||9<document.documentMode));var cl=typeof Object.is=="function"?Object.is:kd,PM=Ao&&"documentMode"in document&&11>=document.documentMode,wp=null,oS=null,Dy=null,cS=!1,Dp={animationend:Yo("Animation","AnimationEnd"),animationiteration:Yo("Animation","AnimationIteration"),animationstart:Yo("Animation","AnimationStart"),transitionrun:Yo("Transition","TransitionRun"),transitionstart:Yo("Transition","TransitionStart"),transitioncancel:Yo("Transition","TransitionCancel"),transitionend:Yo("Transition","TransitionEnd")},rS={},sz={};Ao&&(sz=document.createElement("div").style,"AnimationEvent"in window||(delete Dp.animationend.animation,delete Dp.animationiteration.animation,delete Dp.animationstart.animation),"TransitionEvent"in window||delete Dp.transitionend.transition);var fz=Lo("animationend"),dz=Lo("animationiteration"),hz=Lo("animationstart"),ex=Lo("transitionrun"),tx=Lo("transitionstart"),ax=Lo("transitioncancel"),pz=Lo("transitionend"),mz=new Map,sS="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sS.push("scrollEnd");var yz=0;if(typeof performance=="object"&&typeof performance.now=="function")var nx=performance,gz=function(){return nx.now()};else{var lx=Date;gz=function(){return lx.now()}}var fS=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ux="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",pb=0,dS=1,hS=2,pS=3,mb="– ",yb="+ ",vz="  ",Jt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Qu="Components ⚛",ot="Scheduler ⚛",rt="Blocking",ls=!1,Oc={color:"primary",properties:null,tooltipText:"",track:Qu},us={start:-0,end:-0,detail:{devtools:Oc}},ix=["Changed Props",""],bz="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",ox=["Changed Props",bz],My=1,wc=2,Ju=[],Mp=0,mS=0,is={};Object.freeze(is);var $u=null,xp=null,Re=0,cx=1,ke=2,Yn=8,Ci=16,rx=32,Sz=!1;try{var _z=Object.preventExtensions({})}catch{Sz=!0}var yS=new WeakMap,Cp=[],Rp=0,gb=null,xy=0,ku=[],Ku=0,Pf=null,Dc=1,Mc="",Mn=null,$t=null,it=!1,Oo=!1,lu=null,os=null,Iu=!1,gS=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),vS=zt(null),bS=zt(null),Ez={},vb=null,Up=null,Np=!1,sx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},fx=ma.unstable_scheduleCallback,dx=ma.unstable_NormalPriority,qa={$$typeof:tu,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ya=ma.unstable_now,bb=console.createTask?console.createTask:function(){return null},Cy=1,Sb=2,cn=-0,cs=-0,xc=-0,Cc=null,rl=-1.1,ed=-0,ia=-0,Ae=-1.1,xe=-1.1,ta=null,ya=!1,td=-0,wo=-1.1,Ry=null,rs=0,SS=null,_S=null,ad=-1.1,Uy=null,Zp=-1.1,_b=-1.1,Rc=-0,Uc=-1.1,Fu=-1.1,ES=0,Ny=null,zz=null,Tz=null,ss=-1.1,nd=null,fs=-1.1,Eb=-1.1,Az=-0,Oz=-0,zb=0,hx=null,wz=0,Zy=-1.1,Tb=!1,Ab=!1,Hy=null,zS=0,ld=0,Hp=null,Dz=Q.S;Q.S=function(e,t){if(zT=Ba(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Uc&&0>Fu){Uc=Ya();var n=Br(),o=qu();(n!==fs||o!==nd)&&(fs=-1.1),ss=n,nd=o}hi(e,t)}Dz!==null&&Dz(e,t)};var ud=zt(null),Ri={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},jy=[],By=[],qy=[],Yy=[],Ly=[],Vy=[],id=new Set;Ri.recordUnsafeLifecycleWarnings=function(e,t){id.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&jy.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillMount=="function"&&By.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&qy.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Yy.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ly.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Vy.push(e))},Ri.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<jy.length&&(jy.forEach(function(v){e.add(de(v)||"Component"),id.add(v.type)}),jy=[]);var t=new Set;0<By.length&&(By.forEach(function(v){t.add(de(v)||"Component"),id.add(v.type)}),By=[]);var n=new Set;0<qy.length&&(qy.forEach(function(v){n.add(de(v)||"Component"),id.add(v.type)}),qy=[]);var o=new Set;0<Yy.length&&(Yy.forEach(function(v){o.add(de(v)||"Component"),id.add(v.type)}),Yy=[]);var s=new Set;0<Ly.length&&(Ly.forEach(function(v){s.add(de(v)||"Component"),id.add(v.type)}),Ly=[]);var f=new Set;if(0<Vy.length&&(Vy.forEach(function(v){f.add(de(v)||"Component"),id.add(v.type)}),Vy=[]),0<t.size){var y=Y(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
177
+ Check the render method of %s.`,de(qn)||"Unknown")),o=Ta(t),o.payload={element:n},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),n=zu(e,o,t),n!==null&&(Su(t,"root.render()",null),Ue(n,e,t),El(n,e,t))}function Fv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ty(e,t){Fv(e,t),(e=e.alternate)&&Fv(e,t)}function ay(e){if(e.tag===13||e.tag===31){var t=an(e,67108864);t!==null&&Ue(t,e,67108864),ty(e,67108864)}}function ny(e){if(e.tag===13||e.tag===31){var t=ln(e);t=Ro(t);var n=an(e,t);n!==null&&Ue(n,e,t),ty(e,t)}}function Mt(){return qn}function ly(e,t,n,o){var s=Q.T;Q.T=null;var f=yt.p;try{yt.p=Da,uy(e,t,n,o)}finally{yt.p=f,Q.T=s}}function Ka(e,t,n,o){var s=Q.T;Q.T=null;var f=yt.p;try{yt.p=Fa,uy(e,t,n,o)}finally{yt.p=f,Q.T=s}}function uy(e,t,n,o){if(l1){var s=op(o);if(s===null)Fl(e,t,o,u1,n),rp(e,o);else if(Wv(s,e,t,n,o))o.stopPropagation();else if(rp(e,o),t&4&&-1<Lx.indexOf(e)){for(;s!==null;){var f=Rl(s);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=Co(f.pendingLanes);if(y!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var E=1<<31-Ia(y);v.entanglements[1]|=E,y&=~E}Zn(f),(ft&(Pa|ou))===sn&&(Lb=Ba()+TT,Hu(0))}}break;case 31:case 13:v=an(f,2),v!==null&&Ue(v,f,2),nl(),ty(f,2)}if(f=op(o),f===null&&Fl(e,t,o,u1,n),f===s)break;s=f}s!==null&&o.stopPropagation()}else Fl(e,t,o,null,n)}}function op(e){return e=Zl(e),iy(e)}function iy(e){if(u1=null,e=oi(e),e!==null){var t=ue(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Ee(t),e!==null)return e;e=null}else if(n===31){if(e=ye(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return u1=e,null}function cp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Da;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Fa;case"message":switch(kf()){case yy:return Da;case vp:return Fa;case zc:case lb:return on;case bp:return To;default:return on}default:return on}}function rp(e,t){switch(e){case"focusin":case"focusout":Es=null;break;case"dragenter":case"dragleave":zs=null;break;case"mouseover":case"mouseout":Ts=null;break;case"pointerover":case"pointerout":sg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fg.delete(t.pointerId)}}function So(e,t,n,o,s,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:f,targetContainers:[s]},t!==null&&(t=Rl(t),t!==null&&ay(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Wv(e,t,n,o,s){switch(t){case"focusin":return Es=So(Es,e,t,n,o,s),!0;case"dragenter":return zs=So(zs,e,t,n,o,s),!0;case"mouseover":return Ts=So(Ts,e,t,n,o,s),!0;case"pointerover":var f=s.pointerId;return sg.set(f,So(sg.get(f)||null,e,t,n,o,s)),!0;case"gotpointercapture":return f=s.pointerId,fg.set(f,So(fg.get(f)||null,e,t,n,o,s)),!0}return!1}function oy(e){var t=oi(e.target);if(t!==null){var n=ue(t);if(n!==null){if(t=n.tag,t===13){if(t=Ee(n),t!==null){e.blockedOn=t,qg(e.priority,function(){ny(n)});return}}else if(t===31){if(t=ye(n),t!==null){e.blockedOn=t,qg(e.priority,function(){ny(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=op(e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n),s=o;_y!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),_y=s,n.target.dispatchEvent(o),_y===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),_y=null}else return t=Rl(n),t!==null&&ay(t),e.blockedOn=n,!1;t.shift()}return!0}function sp(e,t,n){Xr(e)&&n.delete(t)}function I1(){s2=!1,Es!==null&&Xr(Es)&&(Es=null),zs!==null&&Xr(zs)&&(zs=null),Ts!==null&&Xr(Ts)&&(Ts=null),sg.forEach(sp),fg.forEach(sp)}function Gf(e,t){e.blockedOn===t&&(e.blockedOn=null,s2||(s2=!0,ma.unstable_scheduleCallback(ma.unstable_NormalPriority,I1)))}function Pv(e){i1!==e&&(i1=e,ma.unstable_scheduleCallback(ma.unstable_NormalPriority,function(){i1===e&&(i1=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],s=e[t+2];if(typeof o!="function"){if(iy(o||n)===null)continue;break}var f=Rl(n);f!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:o},Object.freeze(n),Si(f,n,o,s))}}))}function Sc(e){function t(E){return Gf(E,e)}Es!==null&&Gf(Es,e),zs!==null&&Gf(zs,e),Ts!==null&&Gf(Ts,e),sg.forEach(t),fg.forEach(t);for(var n=0;n<As.length;n++){var o=As[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<As.length&&(n=As[0],n.blockedOn===null);)oy(n),n.blockedOn===null&&As.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(o=0;o<n.length;o+=3){var s=n[o],f=n[o+1],y=s[Dn]||null;if(typeof f=="function")y||Pv(n);else if(y){var v=null;if(f&&f.hasAttribute("formAction")){if(s=f,y=f[Dn]||null)v=y.formAction;else if(iy(s)!==null)continue}else v=y.action;typeof v=="function"?n[o+1]=v:(n.splice(o,3),o-=3),Pv(n)}}}function eb(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return s=y})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),o||setTimeout(n,20)}function n(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function cy(e){this._internalRoot=e}function eu(e){this._internalRoot=e}function ry(e){e[xi]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ma=v2(),Xf=Oe,F1=d2,$e=Object.assign,tb=Symbol.for("react.element"),Ol=Symbol.for("react.transitional.element"),_o=Symbol.for("react.portal"),Qr=Symbol.for("react.fragment"),wn=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),fp=Symbol.for("react.consumer"),tu=Symbol.for("react.context"),Jr=Symbol.for("react.forward_ref"),_c=Symbol.for("react.suspense"),Bn=Symbol.for("react.suspense_list"),Jf=Symbol.for("react.memo"),un=Symbol.for("react.lazy"),au=Symbol.for("react.activity"),W1=Symbol.for("react.memo_cache_sentinel"),ab=Symbol.iterator,$r=Symbol.for("react.client.reference"),Sa=Array.isArray,Q=Xf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt=F1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P1=Object.freeze({pending:!1,data:null,method:null,action:null}),sy=[],fy=[],Mi=-1,Eo=zt(null),kr=zt(null),ul=zt(null),zo=zt(null),Kr=0,nb,Ec,Ir,dy,$f,dp,hp;Be.__reactDisabledLog=!0;var Fr,hy,pp=!1,py=new(typeof WeakMap=="function"?WeakMap:Map),qn=null,Lu=!1,il=Object.prototype.hasOwnProperty,my=ma.unstable_scheduleCallback,mp=ma.unstable_cancelCallback,yp=ma.unstable_shouldYield,gp=ma.unstable_requestPaint,Ba=ma.unstable_now,kf=ma.unstable_getCurrentPriorityLevel,yy=ma.unstable_ImmediatePriority,vp=ma.unstable_UserBlockingPriority,zc=ma.unstable_NormalPriority,lb=ma.unstable_LowPriority,bp=ma.unstable_IdlePriority,gy=ma.log,ub=ma.unstable_setDisableYieldValue,Tc=null,wa=null,Vu=!1,Gu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ia=Math.clz32?Math.clz32:pm,vy=Math.log,Sp=Math.LN2,Wr=256,Kf=262144,Pr=4194304,Da=2,Fa=8,on=32,To=268435456,wl=Math.random().toString(36).slice(2),Qt="__reactFiber$"+wl,Dn="__reactProps$"+wl,xi="__reactContainer$"+wl,Ac="__reactEvents$"+wl,eS="__reactListeners$"+wl,ib="__reactHandles$"+wl,If="__reactResources$"+wl,es="__reactMarker$"+wl,ob=new Set,Xu={},ts={},cb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},as=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),by={},_p={},Ep=/[\n"\\]/g,Sy=!1,rb=!1,Ff=!1,a=!1,l=!1,i=!1,r=["value","defaultValue"],p=!1,m=/["'&<>\n\t]|^\s|\s$/,S="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),A="applet caption html table td th marquee object template foreignObject desc title".split(" "),C=A.concat(["button"]),L="dd dt li option optgroup p rp rt".split(" "),$={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},W={},V={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},J=/([A-Z])/g,me=/^ms-/,we=/^(?:webkit|moz|o)[A-Z]/,xt=/^-ms-/,B=/-(.)/g,N=/;\s*$/,q={},I={},_e=!1,st=!1,ge=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ye="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",ht=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),nu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},sb={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},zp={},_M=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),EM=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),WE=!1,ol={},PE=/^on./,zM=/^on[^A-Z]/,TM=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),AM=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),OM=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,_y=null,Tp=null,Ap=null,tS=!1,Ao=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aS=!1;if(Ao)try{var Ey={};Object.defineProperty(Ey,"passive",{get:function(){aS=!0}}),window.addEventListener("test",Ey,Ey),window.removeEventListener("test",Ey,Ey)}catch{aS=!1}var ns=null,nS=null,fb=null,Wf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},db=Ca(Wf),zy=$e({},Wf,{view:0,detail:0}),wM=Ca(zy),lS,uS,Ty,hb=$e({},zy,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ls,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ty&&(Ty&&e.type==="mousemove"?(lS=e.screenX-Ty.screenX,uS=e.screenY-Ty.screenY):uS=lS=0,Ty=e),lS)},movementY:function(e){return"movementY"in e?e.movementY:uS}}),ez=Ca(hb),DM=$e({},hb,{dataTransfer:0}),MM=Ca(DM),xM=$e({},zy,{relatedTarget:0}),iS=Ca(xM),CM=$e({},Wf,{animationName:0,elapsedTime:0,pseudoElement:0}),RM=Ca(CM),UM=$e({},Wf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NM=Ca(UM),ZM=$e({},Wf,{data:0}),tz=Ca(ZM),HM=tz,jM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BM={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},YM=$e({},zy,{key:function(e){if(e.key){var t=jM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ys(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?BM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ls,charCode:function(e){return e.type==="keypress"?Ys(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ys(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),LM=Ca(YM),VM=$e({},hb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),az=Ca(VM),GM=$e({},zy,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ls}),XM=Ca(GM),QM=$e({},Wf,{propertyName:0,elapsedTime:0,pseudoElement:0}),JM=Ca(QM),$M=$e({},hb,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kM=Ca($M),KM=$e({},Wf,{newState:0,oldState:0}),IM=Ca(KM),FM=[9,13,27,32],nz=229,oS=Ao&&"CompositionEvent"in window,Ay=null;Ao&&"documentMode"in document&&(Ay=document.documentMode);var WM=Ao&&"TextEvent"in window&&!Ay,lz=Ao&&(!oS||Ay&&8<Ay&&11>=Ay),uz=32,iz=String.fromCharCode(uz),oz=!1,Op=!1,PM={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Oy=null,wy=null,cz=!1;Ao&&(cz=$d("input")&&(!document.documentMode||9<document.documentMode));var cl=typeof Object.is=="function"?Object.is:kd,ex=Ao&&"documentMode"in document&&11>=document.documentMode,wp=null,cS=null,Dy=null,rS=!1,Dp={animationend:Yo("Animation","AnimationEnd"),animationiteration:Yo("Animation","AnimationIteration"),animationstart:Yo("Animation","AnimationStart"),transitionrun:Yo("Transition","TransitionRun"),transitionstart:Yo("Transition","TransitionStart"),transitioncancel:Yo("Transition","TransitionCancel"),transitionend:Yo("Transition","TransitionEnd")},sS={},rz={};Ao&&(rz=document.createElement("div").style,"AnimationEvent"in window||(delete Dp.animationend.animation,delete Dp.animationiteration.animation,delete Dp.animationstart.animation),"TransitionEvent"in window||delete Dp.transitionend.transition);var sz=Lo("animationend"),fz=Lo("animationiteration"),dz=Lo("animationstart"),tx=Lo("transitionrun"),ax=Lo("transitionstart"),nx=Lo("transitioncancel"),hz=Lo("transitionend"),pz=new Map,fS="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");fS.push("scrollEnd");var mz=0;if(typeof performance=="object"&&typeof performance.now=="function")var lx=performance,yz=function(){return lx.now()};else{var ux=Date;yz=function(){return ux.now()}}var dS=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ix="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",pb=0,hS=1,pS=2,mS=3,mb="– ",yb="+ ",gz="  ",Jt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Qu="Components ⚛",ot="Scheduler ⚛",rt="Blocking",ls=!1,Oc={color:"primary",properties:null,tooltipText:"",track:Qu},us={start:-0,end:-0,detail:{devtools:Oc}},ox=["Changed Props",""],vz="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",cx=["Changed Props",vz],My=1,wc=2,Ju=[],Mp=0,yS=0,is={};Object.freeze(is);var $u=null,xp=null,Re=0,rx=1,ke=2,Yn=8,Ci=16,sx=32,bz=!1;try{var Sz=Object.preventExtensions({})}catch{bz=!0}var gS=new WeakMap,Cp=[],Rp=0,gb=null,xy=0,ku=[],Ku=0,Pf=null,Dc=1,Mc="",Mn=null,$t=null,it=!1,Oo=!1,lu=null,os=null,Iu=!1,vS=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),bS=zt(null),SS=zt(null),_z={},vb=null,Up=null,Np=!1,fx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},dx=ma.unstable_scheduleCallback,hx=ma.unstable_NormalPriority,qa={$$typeof:tu,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ya=ma.unstable_now,bb=console.createTask?console.createTask:function(){return null},Cy=1,Sb=2,cn=-0,cs=-0,xc=-0,Cc=null,rl=-1.1,ed=-0,ia=-0,Ae=-1.1,xe=-1.1,ta=null,ya=!1,td=-0,wo=-1.1,Ry=null,rs=0,_S=null,ES=null,ad=-1.1,Uy=null,Zp=-1.1,_b=-1.1,Rc=-0,Uc=-1.1,Fu=-1.1,zS=0,Ny=null,Ez=null,zz=null,ss=-1.1,nd=null,fs=-1.1,Eb=-1.1,Tz=-0,Az=-0,zb=0,px=null,Oz=0,Zy=-1.1,Tb=!1,Ab=!1,Hy=null,TS=0,ld=0,Hp=null,wz=Q.S;Q.S=function(e,t){if(ET=Ba(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Uc&&0>Fu){Uc=Ya();var n=Br(),o=qu();(n!==fs||o!==nd)&&(fs=-1.1),ss=n,nd=o}hi(e,t)}wz!==null&&wz(e,t)};var ud=zt(null),Ri={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},jy=[],By=[],qy=[],Yy=[],Ly=[],Vy=[],id=new Set;Ri.recordUnsafeLifecycleWarnings=function(e,t){id.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&jy.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillMount=="function"&&By.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&qy.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Yy.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ly.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Vy.push(e))},Ri.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<jy.length&&(jy.forEach(function(v){e.add(de(v)||"Component"),id.add(v.type)}),jy=[]);var t=new Set;0<By.length&&(By.forEach(function(v){t.add(de(v)||"Component"),id.add(v.type)}),By=[]);var n=new Set;0<qy.length&&(qy.forEach(function(v){n.add(de(v)||"Component"),id.add(v.type)}),qy=[]);var o=new Set;0<Yy.length&&(Yy.forEach(function(v){o.add(de(v)||"Component"),id.add(v.type)}),Yy=[]);var s=new Set;0<Ly.length&&(Ly.forEach(function(v){s.add(de(v)||"Component"),id.add(v.type)}),Ly=[]);var f=new Set;if(0<Vy.length&&(Vy.forEach(function(v){f.add(de(v)||"Component"),id.add(v.type)}),Vy=[]),0<t.size){var y=Y(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
178
178
 
179
179
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
180
180
 
@@ -203,32 +203,32 @@ Please update the following components: %s`,y)),0<s.size&&(y=Y(s),console.warn(`
203
203
  * Move data fetching code or side effects to componentDidUpdate.
204
204
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
205
205
 
206
- Please update the following components: %s`,y))};var Ob=new Map,Mz=new Set;Ri.recordLegacyContextWarning=function(e,t){for(var n=null,o=e;o!==null;)o.mode&Yn&&(n=o),o=o.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Mz.has(e.type)&&(o=Ob.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ob.set(n,o)),o.push(e))},Ri.flushLegacyContextWarning=function(){Ob.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(de(s)||"Component"),Mz.add(s.type)});var o=Y(n);pe(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
206
+ Please update the following components: %s`,y))};var Ob=new Map,Dz=new Set;Ri.recordLegacyContextWarning=function(e,t){for(var n=null,o=e;o!==null;)o.mode&Yn&&(n=o),o=o.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Dz.has(e.type)&&(o=Ob.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ob.set(n,o)),o.push(e))},Ri.flushLegacyContextWarning=function(){Ob.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(de(s)||"Component"),Dz.add(s.type)});var o=Y(n);pe(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
207
207
 
208
208
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
209
209
 
210
210
  Please update the following components: %s
211
211
 
212
- Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Ri.discardPendingWarnings=function(){jy=[],By=[],qy=[],Yy=[],Ly=[],Vy=[],Ob=new Map};var xz={react_stack_bottom_frame:function(e,t,n){var o=Lu;Lu=!0;try{return e(t,n)}finally{Lu=o}}},TS=xz.react_stack_bottom_frame.bind(xz),Cz={react_stack_bottom_frame:function(e){var t=Lu;Lu=!0;try{return e.render()}finally{Lu=t}}},Rz=Cz.react_stack_bottom_frame.bind(Cz),Uz={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Ge(e,e.return,n)}}},AS=Uz.react_stack_bottom_frame.bind(Uz),Nz={react_stack_bottom_frame:function(e,t,n,o,s){try{t.componentDidUpdate(n,o,s)}catch(f){Ge(e,e.return,f)}}},Zz=Nz.react_stack_bottom_frame.bind(Nz),Hz={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},px=Hz.react_stack_bottom_frame.bind(Hz),jz={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(o){Ge(e,t,o)}}},Bz=jz.react_stack_bottom_frame.bind(jz),qz={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},mx=qz.react_stack_bottom_frame.bind(qz),Yz={react_stack_bottom_frame:function(e,t,n){try{n()}catch(o){Ge(e,t,o)}}},yx=Yz.react_stack_bottom_frame.bind(Yz),Lz={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},gx=Lz.react_stack_bottom_frame.bind(Lz),jp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),OS=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),wb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Db={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},od=null,Gy=!1,Bp=null,Xy=0,Ke=null,wS,Vz=wS=!1,Gz={},Xz={},Qz={};j=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var o=de(e),s=o||"null";if(!Gz[s]){Gz[s]=!0,n=n._owner,e=e._debugOwner;var f="";e&&typeof e.tag=="number"&&(s=de(e))&&(f=`
212
+ Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Ri.discardPendingWarnings=function(){jy=[],By=[],qy=[],Yy=[],Ly=[],Vy=[],Ob=new Map};var Mz={react_stack_bottom_frame:function(e,t,n){var o=Lu;Lu=!0;try{return e(t,n)}finally{Lu=o}}},AS=Mz.react_stack_bottom_frame.bind(Mz),xz={react_stack_bottom_frame:function(e){var t=Lu;Lu=!0;try{return e.render()}finally{Lu=t}}},Cz=xz.react_stack_bottom_frame.bind(xz),Rz={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Ge(e,e.return,n)}}},OS=Rz.react_stack_bottom_frame.bind(Rz),Uz={react_stack_bottom_frame:function(e,t,n,o,s){try{t.componentDidUpdate(n,o,s)}catch(f){Ge(e,e.return,f)}}},Nz=Uz.react_stack_bottom_frame.bind(Uz),Zz={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},mx=Zz.react_stack_bottom_frame.bind(Zz),Hz={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(o){Ge(e,t,o)}}},jz=Hz.react_stack_bottom_frame.bind(Hz),Bz={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},yx=Bz.react_stack_bottom_frame.bind(Bz),qz={react_stack_bottom_frame:function(e,t,n){try{n()}catch(o){Ge(e,t,o)}}},gx=qz.react_stack_bottom_frame.bind(qz),Yz={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},vx=Yz.react_stack_bottom_frame.bind(Yz),jp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),wS=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),wb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Db={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},od=null,Gy=!1,Bp=null,Xy=0,Ke=null,DS,Lz=DS=!1,Vz={},Gz={},Xz={};j=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var o=de(e),s=o||"null";if(!Vz[s]){Vz[s]=!0,n=n._owner,e=e._debugOwner;var f="";e&&typeof e.tag=="number"&&(s=de(e))&&(f=`
213
213
 
214
214
  Check the render method of \``+s+"`."),f||o&&(f=`
215
215
 
216
- Check the top-level render call using <`+o+">.");var y="";n!=null&&e!==n&&(o=null,typeof n.tag=="number"?o=de(n):typeof n.name=="string"&&(o=n.name),o&&(y=" It was passed a child from "+o+".")),pe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',f,y)})}}};var cd=Ua(!0),Jz=Ua(!1),$z=0,kz=1,Kz=2,DS=3,ds=!1,Iz=!1,MS=null,xS=!1,qp=zt(null),Mb=zt(0),uu=zt(null),Wu=null,Yp=1,Qy=2,Ma=zt(0),xb=0,Pu=1,sl=2,iu=4,fl=8,Lp,Fz=new Set,Wz=new Set,CS=new Set,Pz=new Set,Nc=0,Ze=null,jt=null,La=null,Cb=!1,Vp=!1,rd=!1,Rb=0,Jy=0,Zc=null,vx=0,bx=25,X=null,ei=null,Hc=-1,$y=!1,ky={readContext:pt,use:gi,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useLayoutEffect:la,useInsertionEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useDeferredValue:la,useTransition:la,useSyncExternalStore:la,useId:la,useHostTransitionStatus:la,useFormState:la,useActionState:la,useOptimistic:la,useMemoCache:la,useCacheRefresh:la};ky.useEffectEvent=la;var RS=null,eT=null,US=null,tT=null,Do=null,Ui=null,Ub=null;RS={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",Ne(),yi(t),mh(e,t)},useContext:function(e){return X="useContext",Ne(),pt(e)},useEffect:function(e,t){return X="useEffect",Ne(),yi(t),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",Ne(),yi(n),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",Ne(),yi(t),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",Ne(),yi(t),bn(e,t)},useMemo:function(e,t){X="useMemo",Ne(),yi(t);var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",Ne();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",Ne(),ph(e)},useState:function(e){X="useState",Ne();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",Ne()},useDeferredValue:function(e,t){return X="useDeferredValue",Ne(),br(e,t)},useTransition:function(){return X="useTransition",Ne(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",Ne(),mr(e,t,n)},useId:function(){return X="useId",Ne(),df()},useFormState:function(e,t){return X="useFormState",Ne(),ef(),Wn(e,t)},useActionState:function(e,t){return X="useActionState",Ne(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",Ne(),nc(e)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",Ne(),yh()},useEffectEvent:function(e){return X="useEffectEvent",Ne(),sf(e)}},eT={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),mh(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){return X="useEffect",P(),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",P(),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),bn(e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",P(),ph(e)},useState:function(e){X="useState",P();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),br(e,t)},useTransition:function(){return X="useTransition",P(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),mr(e,t,n)},useId:function(){return X="useId",P(),df()},useActionState:function(e,t){return X="useActionState",P(),Wn(e,t)},useFormState:function(e,t){return X="useFormState",P(),ef(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",P(),nc(e)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),yh()},useEffectEvent:function(e){return X="useEffectEvent",P(),sf(e)}},US={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),Jl(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){X="useEffect",P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Ui;try{return ec(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",P(),bt().memoizedState},useState:function(){X="useState",P();var e=Q.H;Q.H=Ui;try{return ec(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),Du(e,t)},useTransition:function(){return X="useTransition",P(),cv()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),ac(e,t,n)},useId:function(){return X="useId",P(),bt().memoizedState},useFormState:function(e){return X="useFormState",P(),ef(),io(e)},useActionState:function(e){return X="useActionState",P(),io(e)},useOptimistic:function(e,t){return X="useOptimistic",P(),of(e,t)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",P(),gr(e)}},tT={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),Jl(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){X="useEffect",P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Ub;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Ub;try{return tc(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",P(),bt().memoizedState},useState:function(){X="useState",P();var e=Q.H;Q.H=Ub;try{return tc(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),Le(e,t)},useTransition:function(){return X="useTransition",P(),Wt()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),ac(e,t,n)},useId:function(){return X="useId",P(),bt().memoizedState},useFormState:function(e){return X="useFormState",P(),ef(),oo(e)},useActionState:function(e){return X="useActionState",P(),oo(e)},useOptimistic:function(e,t){return X="useOptimistic",P(),cf(e,t)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",P(),gr(e)}},Do={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),Ne(),mh(e,t)},useContext:function(e){return X="useContext",z(),Ne(),pt(e)},useEffect:function(e,t){return X="useEffect",z(),Ne(),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),Ne(),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",z(),Ne(),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),Ne(),bn(e,t)},useMemo:function(e,t){X="useMemo",z(),Ne();var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),Ne();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",z(),Ne(),ph(e)},useState:function(e){X="useState",z(),Ne();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",z(),Ne()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),Ne(),br(e,t)},useTransition:function(){return X="useTransition",z(),Ne(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),Ne(),mr(e,t,n)},useId:function(){return X="useId",z(),Ne(),df()},useFormState:function(e,t){return X="useFormState",z(),Ne(),Wn(e,t)},useActionState:function(e,t){return X="useActionState",z(),Ne(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",z(),Ne(),nc(e)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",Ne(),yh()},useEffectEvent:function(e){return X="useEffectEvent",z(),Ne(),sf(e)}},Ui={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),P(),Jl(e,t)},useContext:function(e){return X="useContext",z(),P(),pt(e)},useEffect:function(e,t){X="useEffect",z(),P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",z(),P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",z(),P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),P();var o=Q.H;Q.H=Ui;try{return ec(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",z(),P(),bt().memoizedState},useState:function(){X="useState",z(),P();var e=Q.H;Q.H=Ui;try{return ec(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",z(),P()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),P(),Du(e,t)},useTransition:function(){return X="useTransition",z(),P(),cv()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),P(),ac(e,t,n)},useId:function(){return X="useId",z(),P(),bt().memoizedState},useFormState:function(e){return X="useFormState",z(),P(),io(e)},useActionState:function(e){return X="useActionState",z(),P(),io(e)},useOptimistic:function(e,t){return X="useOptimistic",z(),P(),of(e,t)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",z(),P(),gr(e)}},Ub={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),P(),Jl(e,t)},useContext:function(e){return X="useContext",z(),P(),pt(e)},useEffect:function(e,t){X="useEffect",z(),P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",z(),P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",z(),P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),P();var o=Q.H;Q.H=Ui;try{return tc(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",z(),P(),bt().memoizedState},useState:function(){X="useState",z(),P();var e=Q.H;Q.H=Ui;try{return tc(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",z(),P()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),P(),Le(e,t)},useTransition:function(){return X="useTransition",z(),P(),Wt()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),P(),ac(e,t,n)},useId:function(){return X="useId",z(),P(),bt().memoizedState},useFormState:function(e){return X="useFormState",z(),P(),oo(e)},useActionState:function(e){return X="useActionState",z(),P(),oo(e)},useOptimistic:function(e,t){return X="useOptimistic",z(),P(),cf(e,t)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",z(),P(),gr(e)}};var aT={},nT=new Set,lT=new Set,uT=new Set,iT=new Set,oT=new Set,cT=new Set,rT=new Set,sT=new Set,fT=new Set,dT=new Set;Object.freeze(aT);var NS={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=ln(e),s=Ta(o);s.payload=t,n!=null&&(cc(n),s.callback=n),t=zu(e,s,o),t!==null&&(Su(o,"this.setState()",e),Ue(t,e,o),El(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=ln(e),s=Ta(o);s.tag=kz,s.payload=t,n!=null&&(cc(n),s.callback=n),t=zu(e,s,o),t!==null&&(Su(o,"this.replaceState()",e),Ue(t,e,o),El(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ln(e),o=Ta(n);o.tag=Kz,t!=null&&(cc(t),o.callback=t),t=zu(e,o,n),t!==null&&(Su(n,"this.forceUpdate()",e),Ue(t,e,n),El(t,e,n))}},Gp=null,ZS=null,HS=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Va=!1,hT={},pT={},mT={},yT={},Xp=!1,gT={},Nb={},jS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},vT=!1,bT=null;bT=new Set;var jc=!1,Ga=!1,BS=!1,ST=typeof WeakSet=="function"?WeakSet:Set,rn=null,Qp=null,Jp=null,Xa=null,Dl=!1,Ni=null,Wa=!1,Ky=8192,Sx={getCacheForType:function(e){var t=pt(qa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return pt(qa).controller.signal},getOwner:function(){return qn}};if(typeof Symbol=="function"&&Symbol.for){var Iy=Symbol.for;Iy("selector.component"),Iy("selector.has_pseudo_class"),Iy("selector.role"),Iy("selector.test_id"),Iy("selector.text")}var _x=[],Ex=typeof WeakMap=="function"?WeakMap:Map,sn=0,Pa=2,ou=4,Bc=0,Fy=1,sd=2,Zb=3,hs=4,Hb=6,_T=5,ft=sn,Bt=null,Pe=null,Ie=0,Ml=0,jb=1,fd=2,Wy=3,ET=4,qS=5,Py=6,Bb=7,YS=8,dd=9,Ct=Ml,cu=null,ps=!1,$p=!1,LS=!1,Mo=0,oa=Bc,ms=0,ys=0,VS=0,xl=0,hd=0,eg=null,dl=null,qb=!1,Yb=0,zT=0,TT=300,Lb=1/0,AT=500,tg=null,_a=null,gs=null,Vb=0,GS=1,XS=2,OT=3,vs=0,wT=1,DT=2,MT=3,xT=4,Gb=5,Qa=0,bs=null,kp=null,Zi=0,QS=0,JS=-0,$S=null,CT=null,RT=null,Hi=Vb,UT=null,zx=50,ag=0,kS=null,KS=!1,Xb=!1,Tx=50,pd=0,ng=null,Kp=!1,Qb=null,NT=!1,ZT=new Set,Ax={},Jb=null,Ip=null,IS=!1,FS=!1,$b=!1,WS=!1,Ss=0,PS={};(function(){for(var e=0;e<sS.length;e++){var t=sS[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Hl(n,"on"+t)}Hl(fz,"onAnimationEnd"),Hl(dz,"onAnimationIteration"),Hl(hz,"onAnimationStart"),Hl("dblclick","onDoubleClick"),Hl("focusin","onFocus"),Hl("focusout","onBlur"),Hl(ex,"onTransitionRun"),Hl(tx,"onTransitionStart"),Hl(ax,"onTransitionCancel"),Hl(pz,"onTransitionEnd")})(),kc("onMouseEnter",["mouseout","mouseover"]),kc("onMouseLeave",["mouseout","mouseover"]),kc("onPointerEnter",["pointerout","pointerover"]),kc("onPointerLeave",["pointerout","pointerover"]),Ul("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ul("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ul("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ul("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lg="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),e2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lg)),kb="_reactListening"+Math.random().toString(36).slice(2),HT=!1,jT=!1,Kb=!1,BT=!1,Ib=!1,Fb=!1,qT=!1,Wb={},Ox=/\r\n?/g,wx=/\u0000|\uFFFD/g,md="http://www.w3.org/1999/xlink",t2="http://www.w3.org/XML/1998/namespace",Dx="javascript:throw new Error('React form unexpectedly submitted.')",Mx="suppressHydrationWarning",yd="&",Pb="/&",ug="$",ig="/$",_s="$?",gd="$~",Fp="$!",xx="html",Cx="body",Rx="head",a2="F!",YT="F",LT="loading",Ux="style",qc=0,Wp=1,e1=2,n2=null,l2=null,VT={dialog:!0,webview:!0},u2=null,og=void 0,GT=typeof setTimeout=="function"?setTimeout:void 0,Nx=typeof clearTimeout=="function"?clearTimeout:void 0,vd=-1,XT=typeof Promise=="function"?Promise:void 0,Zx=typeof queueMicrotask=="function"?queueMicrotask:typeof XT<"u"?function(e){return XT.resolve(null).then(e).catch(xv)}:GT,i2=null,bd=0,cg=1,QT=2,JT=3,ti=4,ai=new Map,$T=new Set,Yc=yt.d;yt.d={f:function(){var e=Yc.f(),t=nl();return e||t},r:function(e){var t=Rl(e);t!==null&&t.tag===5&&t.type==="form"?Sr(t):Yc.r(e)},D:function(e){Yc.D(e),K0("dns-prefetch",e,null)},C:function(e,t){Yc.C(e,t),K0("preconnect",e,t)},L:function(e,t,n){Yc.L(e,t,n);var o=Pp;if(o&&e&&t){var s='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Ot(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Ot(n.imageSizes)+'"]')):s+='[href="'+Ot(e)+'"]';var f=s;switch(t){case"style":f=vc(e);break;case"script":f=bc(e)}ai.has(f)||(e=$e({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ai.set(f,e),o.querySelector(s)!==null||t==="style"&&o.querySelector(Bf(f))||t==="script"&&o.querySelector(qf(f))||(t=o.createElement("link"),Xt(t,"link",e),sa(t),o.head.appendChild(t)))}},m:function(e,t){Yc.m(e,t);var n=Pp;if(n&&e){var o=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Ot(o)+'"][href="'+Ot(e)+'"]',f=s;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=bc(e)}if(!ai.has(f)&&(e=$e({rel:"modulepreload",href:e},t),ai.set(f,e),n.querySelector(s)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(qf(f)))return}o=n.createElement("link"),Xt(o,"link",e),sa(o),n.head.appendChild(o)}}},X:function(e,t){Yc.X(e,t);var n=Pp;if(n&&e){var o=pl(n).hoistableScripts,s=bc(e),f=o.get(s);f||(f=n.querySelector(qf(s)),f||(e=$e({src:e,async:!0},t),(t=ai.get(s))&&W0(e,t),f=n.createElement("script"),sa(f),Xt(f,"link",e),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(s,f))}},S:function(e,t,n){Yc.S(e,t,n);var o=Pp;if(o&&e){var s=pl(o).hoistableStyles,f=vc(e);t=t||"default";var y=s.get(f);if(!y){var v={loading:bd,preload:null};if(y=o.querySelector(Bf(f)))v.loading=cg|ti;else{e=$e({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ai.get(f))&&F0(e,n);var E=y=o.createElement("link");sa(E),Xt(E,"link",e),E._p=new Promise(function(T,U){E.onload=T,E.onerror=U}),E.addEventListener("load",function(){v.loading|=cg}),E.addEventListener("error",function(){v.loading|=QT}),v.loading|=ti,Lr(y,t,o)}y={type:"stylesheet",instance:y,count:1,state:v},s.set(f,y)}}},M:function(e,t){Yc.M(e,t);var n=Pp;if(n&&e){var o=pl(n).hoistableScripts,s=bc(e),f=o.get(s);f||(f=n.querySelector(qf(s)),f||(e=$e({src:e,async:!0,type:"module"},t),(t=ai.get(s))&&W0(e,t),f=n.createElement("script"),sa(f),Xt(f,"link",e),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(s,f))}}};var Pp=typeof document>"u"?null:document,t1=null,Hx=6e4,jx=800,Bx=500,o2=0,c2=null,a1=null,Sd=W1,rg={$$typeof:tu,Provider:null,Consumer:null,_currentValue:Sd,_currentValue2:Sd,_threadCount:0},kT="%c%s%c",KT="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",IT="",n1=" ",qx=Function.prototype.bind,FT=!1,WT=null,PT=null,eA=null,tA=null,aA=null,nA=null,lA=null,uA=null,iA=null,oA=null;WT=function(e,t,n,o){t=u(e,t),t!==null&&(n=c(t.memoizedState,n,0,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},PT=function(e,t,n){t=u(e,t),t!==null&&(n=g(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},eA=function(e,t,n,o){t=u(e,t),t!==null&&(n=d(t.memoizedState,n,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},tA=function(e,t,n){e.pendingProps=c(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},aA=function(e,t){e.pendingProps=g(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},nA=function(e,t,n){e.pendingProps=d(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},lA=function(e){var t=an(e,2);t!==null&&Ue(t,e,2)},uA=function(e){var t=Rd(),n=an(e,t);n!==null&&Ue(n,e,t)},iA=function(e){_=e},oA=function(e){b=e};var l1=!0,u1=null,r2=!1,Es=null,zs=null,Ts=null,sg=new Map,fg=new Map,As=[],Yx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),i1=null;if(eu.prototype.render=cy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):se(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var o=t.current,s=ln(o);ip(o,s,n,t,null,null)},eu.prototype.unmount=cy.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(ft&(Pa|ou))!==sn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ip(e.current,2,null,e,null,null),nl(),t[xi]=null}},eu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<As.length&&t!==0&&t<As[n].priority;n++);As.splice(n,0,e),n===0&&oy(e)}},(function(){var e=Xf.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
216
+ Check the top-level render call using <`+o+">.");var y="";n!=null&&e!==n&&(o=null,typeof n.tag=="number"?o=de(n):typeof n.name=="string"&&(o=n.name),o&&(y=" It was passed a child from "+o+".")),pe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',f,y)})}}};var cd=Ua(!0),Qz=Ua(!1),Jz=0,$z=1,kz=2,MS=3,ds=!1,Kz=!1,xS=null,CS=!1,qp=zt(null),Mb=zt(0),uu=zt(null),Wu=null,Yp=1,Qy=2,Ma=zt(0),xb=0,Pu=1,sl=2,iu=4,fl=8,Lp,Iz=new Set,Fz=new Set,RS=new Set,Wz=new Set,Nc=0,Ze=null,jt=null,La=null,Cb=!1,Vp=!1,rd=!1,Rb=0,Jy=0,Zc=null,bx=0,Sx=25,X=null,ei=null,Hc=-1,$y=!1,ky={readContext:pt,use:gi,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useLayoutEffect:la,useInsertionEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useDeferredValue:la,useTransition:la,useSyncExternalStore:la,useId:la,useHostTransitionStatus:la,useFormState:la,useActionState:la,useOptimistic:la,useMemoCache:la,useCacheRefresh:la};ky.useEffectEvent=la;var US=null,Pz=null,NS=null,eT=null,Do=null,Ui=null,Ub=null;US={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",Ne(),yi(t),mh(e,t)},useContext:function(e){return X="useContext",Ne(),pt(e)},useEffect:function(e,t){return X="useEffect",Ne(),yi(t),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",Ne(),yi(n),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",Ne(),yi(t),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",Ne(),yi(t),bn(e,t)},useMemo:function(e,t){X="useMemo",Ne(),yi(t);var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",Ne();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",Ne(),ph(e)},useState:function(e){X="useState",Ne();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",Ne()},useDeferredValue:function(e,t){return X="useDeferredValue",Ne(),br(e,t)},useTransition:function(){return X="useTransition",Ne(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",Ne(),mr(e,t,n)},useId:function(){return X="useId",Ne(),df()},useFormState:function(e,t){return X="useFormState",Ne(),ef(),Wn(e,t)},useActionState:function(e,t){return X="useActionState",Ne(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",Ne(),nc(e)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",Ne(),yh()},useEffectEvent:function(e){return X="useEffectEvent",Ne(),sf(e)}},Pz={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),mh(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){return X="useEffect",P(),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",P(),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),bn(e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",P(),ph(e)},useState:function(e){X="useState",P();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),br(e,t)},useTransition:function(){return X="useTransition",P(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),mr(e,t,n)},useId:function(){return X="useId",P(),df()},useActionState:function(e,t){return X="useActionState",P(),Wn(e,t)},useFormState:function(e,t){return X="useFormState",P(),ef(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",P(),nc(e)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),yh()},useEffectEvent:function(e){return X="useEffectEvent",P(),sf(e)}},NS={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),Jl(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){X="useEffect",P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Ui;try{return ec(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",P(),bt().memoizedState},useState:function(){X="useState",P();var e=Q.H;Q.H=Ui;try{return ec(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),Du(e,t)},useTransition:function(){return X="useTransition",P(),cv()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),ac(e,t,n)},useId:function(){return X="useId",P(),bt().memoizedState},useFormState:function(e){return X="useFormState",P(),ef(),io(e)},useActionState:function(e){return X="useActionState",P(),io(e)},useOptimistic:function(e,t){return X="useOptimistic",P(),of(e,t)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",P(),gr(e)}},eT={readContext:function(e){return pt(e)},use:gi,useCallback:function(e,t){return X="useCallback",P(),Jl(e,t)},useContext:function(e){return X="useContext",P(),pt(e)},useEffect:function(e,t){X="useEffect",P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",P();var n=Q.H;Q.H=Ub;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",P();var o=Q.H;Q.H=Ub;try{return tc(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",P(),bt().memoizedState},useState:function(){X="useState",P();var e=Q.H;Q.H=Ub;try{return tc(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",P()},useDeferredValue:function(e,t){return X="useDeferredValue",P(),Le(e,t)},useTransition:function(){return X="useTransition",P(),Wt()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",P(),ac(e,t,n)},useId:function(){return X="useId",P(),bt().memoizedState},useFormState:function(e){return X="useFormState",P(),ef(),oo(e)},useActionState:function(e){return X="useActionState",P(),oo(e)},useOptimistic:function(e,t){return X="useOptimistic",P(),cf(e,t)},useHostTransitionStatus:_i,useMemoCache:In,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",P(),gr(e)}},Do={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),Ne(),mh(e,t)},useContext:function(e){return X="useContext",z(),Ne(),pt(e)},useEffect:function(e,t){return X="useEffect",z(),Ne(),lc(e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),Ne(),wu(e,t,n)},useInsertionEffect:function(e,t){X="useInsertionEffect",z(),Ne(),co(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),Ne(),bn(e,t)},useMemo:function(e,t){X="useMemo",z(),Ne();var n=Q.H;Q.H=Do;try{return Sn(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),Ne();var o=Q.H;Q.H=Do;try{return pr(e,t,n)}finally{Q.H=o}},useRef:function(e){return X="useRef",z(),Ne(),ph(e)},useState:function(e){X="useState",z(),Ne();var t=Q.H;Q.H=Do;try{return lo(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",z(),Ne()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),Ne(),br(e,t)},useTransition:function(){return X="useTransition",z(),Ne(),ro()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),Ne(),mr(e,t,n)},useId:function(){return X="useId",z(),Ne(),df()},useFormState:function(e,t){return X="useFormState",z(),Ne(),Wn(e,t)},useActionState:function(e,t){return X="useActionState",z(),Ne(),Wn(e,t)},useOptimistic:function(e){return X="useOptimistic",z(),Ne(),nc(e)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",Ne(),yh()},useEffectEvent:function(e){return X="useEffectEvent",z(),Ne(),sf(e)}},Ui={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),P(),Jl(e,t)},useContext:function(e){return X="useContext",z(),P(),pt(e)},useEffect:function(e,t){X="useEffect",z(),P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",z(),P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",z(),P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),P();var o=Q.H;Q.H=Ui;try{return ec(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",z(),P(),bt().memoizedState},useState:function(){X="useState",z(),P();var e=Q.H;Q.H=Ui;try{return ec(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",z(),P()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),P(),Du(e,t)},useTransition:function(){return X="useTransition",z(),P(),cv()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),P(),ac(e,t,n)},useId:function(){return X="useId",z(),P(),bt().memoizedState},useFormState:function(e){return X="useFormState",z(),P(),io(e)},useActionState:function(e){return X="useActionState",z(),P(),io(e)},useOptimistic:function(e,t){return X="useOptimistic",z(),P(),of(e,t)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",z(),P(),gr(e)}},Ub={readContext:function(e){return w(),pt(e)},use:function(e){return z(),gi(e)},useCallback:function(e,t){return X="useCallback",z(),P(),Jl(e,t)},useContext:function(e){return X="useContext",z(),P(),pt(e)},useEffect:function(e,t){X="useEffect",z(),P(),Aa(2048,fl,e,t)},useImperativeHandle:function(e,t,n){return X="useImperativeHandle",z(),P(),vr(e,t,n)},useInsertionEffect:function(e,t){return X="useInsertionEffect",z(),P(),Aa(4,sl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",z(),P(),Aa(4,iu,e,t)},useMemo:function(e,t){X="useMemo",z(),P();var n=Q.H;Q.H=Ui;try{return Gt(e,t)}finally{Q.H=n}},useReducer:function(e,t,n){X="useReducer",z(),P();var o=Q.H;Q.H=Ui;try{return tc(e,t,n)}finally{Q.H=o}},useRef:function(){return X="useRef",z(),P(),bt().memoizedState},useState:function(){X="useState",z(),P();var e=Q.H;Q.H=Ui;try{return tc(Fn)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",z(),P()},useDeferredValue:function(e,t){return X="useDeferredValue",z(),P(),Le(e,t)},useTransition:function(){return X="useTransition",z(),P(),Wt()},useSyncExternalStore:function(e,t,n){return X="useSyncExternalStore",z(),P(),ac(e,t,n)},useId:function(){return X="useId",z(),P(),bt().memoizedState},useFormState:function(e){return X="useFormState",z(),P(),oo(e)},useActionState:function(e){return X="useActionState",z(),P(),oo(e)},useOptimistic:function(e,t){return X="useOptimistic",z(),P(),cf(e,t)},useMemoCache:function(e){return z(),In(e)},useHostTransitionStatus:_i,useCacheRefresh:function(){return X="useCacheRefresh",P(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",z(),P(),gr(e)}};var tT={},aT=new Set,nT=new Set,lT=new Set,uT=new Set,iT=new Set,oT=new Set,cT=new Set,rT=new Set,sT=new Set,fT=new Set;Object.freeze(tT);var ZS={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=ln(e),s=Ta(o);s.payload=t,n!=null&&(cc(n),s.callback=n),t=zu(e,s,o),t!==null&&(Su(o,"this.setState()",e),Ue(t,e,o),El(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=ln(e),s=Ta(o);s.tag=$z,s.payload=t,n!=null&&(cc(n),s.callback=n),t=zu(e,s,o),t!==null&&(Su(o,"this.replaceState()",e),Ue(t,e,o),El(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ln(e),o=Ta(n);o.tag=kz,t!=null&&(cc(t),o.callback=t),t=zu(e,o,n),t!==null&&(Su(n,"this.forceUpdate()",e),Ue(t,e,n),El(t,e,n))}},Gp=null,HS=null,jS=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Va=!1,dT={},hT={},pT={},mT={},Xp=!1,yT={},Nb={},BS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gT=!1,vT=null;vT=new Set;var jc=!1,Ga=!1,qS=!1,bT=typeof WeakSet=="function"?WeakSet:Set,rn=null,Qp=null,Jp=null,Xa=null,Dl=!1,Ni=null,Wa=!1,Ky=8192,_x={getCacheForType:function(e){var t=pt(qa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return pt(qa).controller.signal},getOwner:function(){return qn}};if(typeof Symbol=="function"&&Symbol.for){var Iy=Symbol.for;Iy("selector.component"),Iy("selector.has_pseudo_class"),Iy("selector.role"),Iy("selector.test_id"),Iy("selector.text")}var Ex=[],zx=typeof WeakMap=="function"?WeakMap:Map,sn=0,Pa=2,ou=4,Bc=0,Fy=1,sd=2,Zb=3,hs=4,Hb=6,ST=5,ft=sn,Bt=null,Pe=null,Ie=0,Ml=0,jb=1,fd=2,Wy=3,_T=4,YS=5,Py=6,Bb=7,LS=8,dd=9,Ct=Ml,cu=null,ps=!1,$p=!1,VS=!1,Mo=0,oa=Bc,ms=0,ys=0,GS=0,xl=0,hd=0,eg=null,dl=null,qb=!1,Yb=0,ET=0,zT=300,Lb=1/0,TT=500,tg=null,_a=null,gs=null,Vb=0,XS=1,QS=2,AT=3,vs=0,OT=1,wT=2,DT=3,MT=4,Gb=5,Qa=0,bs=null,kp=null,Zi=0,JS=0,$S=-0,kS=null,xT=null,CT=null,Hi=Vb,RT=null,Tx=50,ag=0,KS=null,IS=!1,Xb=!1,Ax=50,pd=0,ng=null,Kp=!1,Qb=null,UT=!1,NT=new Set,Ox={},Jb=null,Ip=null,FS=!1,WS=!1,$b=!1,PS=!1,Ss=0,e2={};(function(){for(var e=0;e<fS.length;e++){var t=fS[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Hl(n,"on"+t)}Hl(sz,"onAnimationEnd"),Hl(fz,"onAnimationIteration"),Hl(dz,"onAnimationStart"),Hl("dblclick","onDoubleClick"),Hl("focusin","onFocus"),Hl("focusout","onBlur"),Hl(tx,"onTransitionRun"),Hl(ax,"onTransitionStart"),Hl(nx,"onTransitionCancel"),Hl(hz,"onTransitionEnd")})(),kc("onMouseEnter",["mouseout","mouseover"]),kc("onMouseLeave",["mouseout","mouseover"]),kc("onPointerEnter",["pointerout","pointerover"]),kc("onPointerLeave",["pointerout","pointerover"]),Ul("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ul("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ul("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ul("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lg="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),t2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lg)),kb="_reactListening"+Math.random().toString(36).slice(2),ZT=!1,HT=!1,Kb=!1,jT=!1,Ib=!1,Fb=!1,BT=!1,Wb={},wx=/\r\n?/g,Dx=/\u0000|\uFFFD/g,md="http://www.w3.org/1999/xlink",a2="http://www.w3.org/XML/1998/namespace",Mx="javascript:throw new Error('React form unexpectedly submitted.')",xx="suppressHydrationWarning",yd="&",Pb="/&",ug="$",ig="/$",_s="$?",gd="$~",Fp="$!",Cx="html",Rx="body",Ux="head",n2="F!",qT="F",YT="loading",Nx="style",qc=0,Wp=1,e1=2,l2=null,u2=null,LT={dialog:!0,webview:!0},i2=null,og=void 0,VT=typeof setTimeout=="function"?setTimeout:void 0,Zx=typeof clearTimeout=="function"?clearTimeout:void 0,vd=-1,GT=typeof Promise=="function"?Promise:void 0,Hx=typeof queueMicrotask=="function"?queueMicrotask:typeof GT<"u"?function(e){return GT.resolve(null).then(e).catch(xv)}:VT,o2=null,bd=0,cg=1,XT=2,QT=3,ti=4,ai=new Map,JT=new Set,Yc=yt.d;yt.d={f:function(){var e=Yc.f(),t=nl();return e||t},r:function(e){var t=Rl(e);t!==null&&t.tag===5&&t.type==="form"?Sr(t):Yc.r(e)},D:function(e){Yc.D(e),K0("dns-prefetch",e,null)},C:function(e,t){Yc.C(e,t),K0("preconnect",e,t)},L:function(e,t,n){Yc.L(e,t,n);var o=Pp;if(o&&e&&t){var s='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Ot(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Ot(n.imageSizes)+'"]')):s+='[href="'+Ot(e)+'"]';var f=s;switch(t){case"style":f=vc(e);break;case"script":f=bc(e)}ai.has(f)||(e=$e({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ai.set(f,e),o.querySelector(s)!==null||t==="style"&&o.querySelector(Bf(f))||t==="script"&&o.querySelector(qf(f))||(t=o.createElement("link"),Xt(t,"link",e),sa(t),o.head.appendChild(t)))}},m:function(e,t){Yc.m(e,t);var n=Pp;if(n&&e){var o=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Ot(o)+'"][href="'+Ot(e)+'"]',f=s;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=bc(e)}if(!ai.has(f)&&(e=$e({rel:"modulepreload",href:e},t),ai.set(f,e),n.querySelector(s)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(qf(f)))return}o=n.createElement("link"),Xt(o,"link",e),sa(o),n.head.appendChild(o)}}},X:function(e,t){Yc.X(e,t);var n=Pp;if(n&&e){var o=pl(n).hoistableScripts,s=bc(e),f=o.get(s);f||(f=n.querySelector(qf(s)),f||(e=$e({src:e,async:!0},t),(t=ai.get(s))&&W0(e,t),f=n.createElement("script"),sa(f),Xt(f,"link",e),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(s,f))}},S:function(e,t,n){Yc.S(e,t,n);var o=Pp;if(o&&e){var s=pl(o).hoistableStyles,f=vc(e);t=t||"default";var y=s.get(f);if(!y){var v={loading:bd,preload:null};if(y=o.querySelector(Bf(f)))v.loading=cg|ti;else{e=$e({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ai.get(f))&&F0(e,n);var E=y=o.createElement("link");sa(E),Xt(E,"link",e),E._p=new Promise(function(T,U){E.onload=T,E.onerror=U}),E.addEventListener("load",function(){v.loading|=cg}),E.addEventListener("error",function(){v.loading|=XT}),v.loading|=ti,Lr(y,t,o)}y={type:"stylesheet",instance:y,count:1,state:v},s.set(f,y)}}},M:function(e,t){Yc.M(e,t);var n=Pp;if(n&&e){var o=pl(n).hoistableScripts,s=bc(e),f=o.get(s);f||(f=n.querySelector(qf(s)),f||(e=$e({src:e,async:!0,type:"module"},t),(t=ai.get(s))&&W0(e,t),f=n.createElement("script"),sa(f),Xt(f,"link",e),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(s,f))}}};var Pp=typeof document>"u"?null:document,t1=null,jx=6e4,Bx=800,qx=500,c2=0,r2=null,a1=null,Sd=P1,rg={$$typeof:tu,Provider:null,Consumer:null,_currentValue:Sd,_currentValue2:Sd,_threadCount:0},$T="%c%s%c",kT="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",KT="",n1=" ",Yx=Function.prototype.bind,IT=!1,FT=null,WT=null,PT=null,eA=null,tA=null,aA=null,nA=null,lA=null,uA=null,iA=null;FT=function(e,t,n,o){t=u(e,t),t!==null&&(n=c(t.memoizedState,n,0,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},WT=function(e,t,n){t=u(e,t),t!==null&&(n=g(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},PT=function(e,t,n,o){t=u(e,t),t!==null&&(n=d(t.memoizedState,n,o),t.memoizedState=n,t.baseState=n,e.memoizedProps=$e({},e.memoizedProps),n=an(e,2),n!==null&&Ue(n,e,2))},eA=function(e,t,n){e.pendingProps=c(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},tA=function(e,t){e.pendingProps=g(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},aA=function(e,t,n){e.pendingProps=d(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=an(e,2),t!==null&&Ue(t,e,2)},nA=function(e){var t=an(e,2);t!==null&&Ue(t,e,2)},lA=function(e){var t=Rd(),n=an(e,t);n!==null&&Ue(n,e,t)},uA=function(e){_=e},iA=function(e){b=e};var l1=!0,u1=null,s2=!1,Es=null,zs=null,Ts=null,sg=new Map,fg=new Map,As=[],Lx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),i1=null;if(eu.prototype.render=cy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):se(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var o=t.current,s=ln(o);ip(o,s,n,t,null,null)},eu.prototype.unmount=cy.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(ft&(Pa|ou))!==sn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ip(e.current,2,null,e,null,null),nl(),t[xi]=null}},eu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<As.length&&t!==0&&t<As[n].priority;n++);As.splice(n,0,e),n===0&&oy(e)}},(function(){var e=Xf.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
217
217
  - react: `+(e+`
218
218
  - react-dom: 19.2.3
219
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),yt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Je(t),e=e!==null?je(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.2.3"};return e.overrideHookState=WT,e.overrideHookStateDeletePath=PT,e.overrideHookStateRenamePath=eA,e.overrideProps=tA,e.overridePropsDeletePath=aA,e.overridePropsRenamePath=nA,e.scheduleUpdate=lA,e.scheduleRetry=uA,e.setErrorHandler=iA,e.setSuspenseHandler=oA,e.scheduleRefresh=ce,e.scheduleRoot=ne,e.setRefreshHandler=re,e.getCurrentFiber=Mt,hm(e)})()&&Ao&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var cA=window.location.protocol;/^(https?|file):$/.test(cA)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(cA==="file:"?`
219
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),yt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Je(t),e=e!==null?je(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.2.3"};return e.overrideHookState=FT,e.overrideHookStateDeletePath=WT,e.overrideHookStateRenamePath=PT,e.overrideProps=eA,e.overridePropsDeletePath=tA,e.overridePropsRenamePath=aA,e.scheduleUpdate=nA,e.scheduleRetry=lA,e.setErrorHandler=uA,e.setSuspenseHandler=iA,e.scheduleRefresh=ce,e.scheduleRoot=ne,e.setRefreshHandler=re,e.getCurrentFiber=Mt,hm(e)})()&&Ao&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var oA=window.location.protocol;/^(https?|file):$/.test(oA)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(oA==="file:"?`
220
220
  You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}tm.createRoot=function(e,t){if(!se(e))throw Error("Target container is not a DOM element.");ry(e);var n=!1,o="",s=bh,f=Sh,y=n0;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ol&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
221
221
 
222
222
  let root = createRoot(domContainer);
223
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Vf(e,1,!1,null,null,n,o,null,s,f,y,eb),e[xi]=t.current,go(e),new cy(t)},tm.hydrateRoot=function(e,t,n){if(!se(e))throw Error("Target container is not a DOM element.");ry(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,s="",f=bh,y=Sh,v=n0,E=null;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(y=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(E=n.formState)),t=Vf(e,1,!0,t,n??null,o,s,E,f,y,v,eb),t.context=Iv(null),n=t.current,o=ln(n),o=Ro(o),s=Ta(o),s.callback=null,zu(n,s,o),Su(o,"hydrateRoot()",null),n=o,t.current.lanes=n,Li(t,n),Zn(t),e[xi]=t.current,go(e),new eu(t)},tm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),tm}var S2;function yA(){if(S2)return dg.exports;S2=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}}return process.env.NODE_ENV==="production"?(u(),dg.exports=pA()):dg.exports=mA(),dg.exports}var gA=yA();function _2({className:u,style:c}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:c,children:te.jsx("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})})}function E2({className:u,style:c}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:c,children:te.jsx("path",{d:"M18 6l-12 12M6 6l12 12"})})}function vA({className:u}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3.05h16.94a2 2 0 0 0 1.71-3.05l-8.47-14.14a2 2 0 0 0-3.42 0zM12 9v6M12 21h.01"})})}function bA({className:u}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("polyline",{points:"20 6 9 17 4 12"})})}function SA({className:u}){return te.jsxs("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[te.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),te.jsx("polyline",{points:"5 12 12 5 19 12"})]})}var z2="vercel.ai.error",_A=Symbol.for(z2),T2,EA=class rA extends Error{constructor({name:c,message:d,cause:h}){super(d),this[T2]=!0,this.name=c,this.cause=h}static isInstance(c){return rA.hasMarker(c,z2)}static hasMarker(c,d){const h=Symbol.for(d);return c!=null&&typeof c=="object"&&h in c&&typeof c[h]=="boolean"&&c[h]===!0}};T2=_A;var Vc=EA;function A2(u){return u==null?"unknown error":typeof u=="string"?u:u instanceof Error?u.message:JSON.stringify(u)}var O2="AI_InvalidArgumentError",w2=`vercel.ai.error.${O2}`,zA=Symbol.for(w2),D2,TA=class extends Vc{constructor({message:u,cause:c,argument:d}){super({name:O2,message:u,cause:c}),this[D2]=!0,this.argument=d}static isInstance(u){return Vc.hasMarker(u,w2)}};D2=zA;var M2="AI_JSONParseError",x2=`vercel.ai.error.${M2}`,AA=Symbol.for(x2),C2,R2=class extends Vc{constructor({text:u,cause:c}){super({name:M2,message:`JSON parsing failed: Text: ${u}.
224
- Error message: ${A2(c)}`,cause:c}),this[C2]=!0,this.text=u}static isInstance(u){return Vc.hasMarker(u,x2)}};C2=AA;var U2="AI_TypeValidationError",N2=`vercel.ai.error.${U2}`,OA=Symbol.for(N2),Z2,wA=class s2 extends Vc{constructor({value:c,cause:d}){super({name:U2,message:`Type validation failed: Value: ${JSON.stringify(c)}.
225
- Error message: ${A2(d)}`,cause:d}),this[Z2]=!0,this.value=c}static isInstance(c){return Vc.hasMarker(c,N2)}static wrap({value:c,cause:d}){return s2.isInstance(d)&&d.value===c?d:new s2({value:c,cause:d})}};Z2=OA;var pg=wA;class H2 extends Error{constructor(c,d){super(c),this.name="ParseError",this.type=d.type,this.field=d.field,this.value=d.value,this.line=d.line}}function r1(u){}function DA(u){if(typeof u=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:c=r1,onError:d=r1,onRetry:h=r1,onComment:g}=u;let b="",_=!0,z,w="",O="";function j(re){const se=_?re.replace(/^\xEF\xBB\xBF/,""):re,[ue,Ee]=MA(`${b}${se}`);for(const ye of ue)Y(ye);b=Ee,_=!1}function Y(re){if(re===""){ne();return}if(re.startsWith(":")){g&&g(re.slice(re.startsWith(": ")?2:1));return}const se=re.indexOf(":");if(se!==-1){const ue=re.slice(0,se),Ee=re[se+1]===" "?2:1,ye=re.slice(se+Ee);ae(ue,ye,re);return}ae(re,"",re)}function ae(re,se,ue){switch(re){case"event":O=se;break;case"data":w=`${w}${se}
223
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Vf(e,1,!1,null,null,n,o,null,s,f,y,eb),e[xi]=t.current,go(e),new cy(t)},tm.hydrateRoot=function(e,t,n){if(!se(e))throw Error("Target container is not a DOM element.");ry(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,s="",f=bh,y=Sh,v=n0,E=null;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(y=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(E=n.formState)),t=Vf(e,1,!0,t,n??null,o,s,E,f,y,v,eb),t.context=Iv(null),n=t.current,o=ln(n),o=Ro(o),s=Ta(o),s.callback=null,zu(n,s,o),Su(o,"hydrateRoot()",null),n=o,t.current.lanes=n,Li(t,n),Zn(t),e[xi]=t.current,go(e),new eu(t)},tm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),tm}var _2;function mA(){if(_2)return dg.exports;_2=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}}return process.env.NODE_ENV==="production"?(u(),dg.exports=hA()):dg.exports=pA(),dg.exports}var yA=mA();function gA({className:u,style:c}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:c,children:te.jsx("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})})}function vA({className:u,style:c}){return te.jsxs("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:c,children:[te.jsx("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"}),te.jsx("line",{x1:"-2",y1:"-2",x2:"26",y2:"26",stroke:"white",strokeWidth:"4",strokeLinecap:"round"}),te.jsx("line",{x1:"-2",y1:"-2",x2:"26",y2:"26"})]})}function E2({className:u,style:c}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:c,children:te.jsx("path",{d:"M18 6l-12 12M6 6l12 12"})})}function bA({className:u}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3.05h16.94a2 2 0 0 0 1.71-3.05l-8.47-14.14a2 2 0 0 0-3.42 0zM12 9v6M12 21h.01"})})}function SA({className:u}){return te.jsx("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("polyline",{points:"20 6 9 17 4 12"})})}function _A({className:u}){return te.jsxs("svg",{className:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[te.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),te.jsx("polyline",{points:"5 12 12 5 19 12"})]})}var z2="vercel.ai.error",EA=Symbol.for(z2),T2,zA=class cA extends Error{constructor({name:c,message:d,cause:h}){super(d),this[T2]=!0,this.name=c,this.cause=h}static isInstance(c){return cA.hasMarker(c,z2)}static hasMarker(c,d){const h=Symbol.for(d);return c!=null&&typeof c=="object"&&h in c&&typeof c[h]=="boolean"&&c[h]===!0}};T2=EA;var Vc=zA;function A2(u){return u==null?"unknown error":typeof u=="string"?u:u instanceof Error?u.message:JSON.stringify(u)}var O2="AI_InvalidArgumentError",w2=`vercel.ai.error.${O2}`,TA=Symbol.for(w2),D2,AA=class extends Vc{constructor({message:u,cause:c,argument:d}){super({name:O2,message:u,cause:c}),this[D2]=!0,this.argument=d}static isInstance(u){return Vc.hasMarker(u,w2)}};D2=TA;var M2="AI_JSONParseError",x2=`vercel.ai.error.${M2}`,OA=Symbol.for(x2),C2,R2=class extends Vc{constructor({text:u,cause:c}){super({name:M2,message:`JSON parsing failed: Text: ${u}.
224
+ Error message: ${A2(c)}`,cause:c}),this[C2]=!0,this.text=u}static isInstance(u){return Vc.hasMarker(u,x2)}};C2=OA;var U2="AI_TypeValidationError",N2=`vercel.ai.error.${U2}`,wA=Symbol.for(N2),Z2,DA=class f2 extends Vc{constructor({value:c,cause:d}){super({name:U2,message:`Type validation failed: Value: ${JSON.stringify(c)}.
225
+ Error message: ${A2(d)}`,cause:d}),this[Z2]=!0,this.value=c}static isInstance(c){return Vc.hasMarker(c,N2)}static wrap({value:c,cause:d}){return f2.isInstance(d)&&d.value===c?d:new f2({value:c,cause:d})}};Z2=wA;var pg=DA;class H2 extends Error{constructor(c,d){super(c),this.name="ParseError",this.type=d.type,this.field=d.field,this.value=d.value,this.line=d.line}}function r1(u){}function MA(u){if(typeof u=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:c=r1,onError:d=r1,onRetry:h=r1,onComment:g}=u;let b="",_=!0,z,w="",O="";function j(re){const se=_?re.replace(/^\xEF\xBB\xBF/,""):re,[ue,Ee]=xA(`${b}${se}`);for(const ye of ue)Y(ye);b=Ee,_=!1}function Y(re){if(re===""){ne();return}if(re.startsWith(":")){g&&g(re.slice(re.startsWith(": ")?2:1));return}const se=re.indexOf(":");if(se!==-1){const ue=re.slice(0,se),Ee=re[se+1]===" "?2:1,ye=re.slice(se+Ee);ae(ue,ye,re);return}ae(re,"",re)}function ae(re,se,ue){switch(re){case"event":O=se;break;case"data":w=`${w}${se}
226
226
  `;break;case"id":z=se.includes("\0")?void 0:se;break;case"retry":/^\d+$/.test(se)?h(parseInt(se,10)):d(new H2(`Invalid \`retry\` value: "${se}"`,{type:"invalid-retry",value:se,line:ue}));break;default:d(new H2(`Unknown field "${re.length>20?`${re.slice(0,20)}…`:re}"`,{type:"unknown-field",field:re,value:se,line:ue}));break}}function ne(){w.length>0&&c({id:z,event:O||void 0,data:w.endsWith(`
227
- `)?w.slice(0,-1):w}),z=void 0,w="",O=""}function ce(re={}){b&&re.consume&&Y(b),_=!0,z=void 0,w="",O="",b=""}return{feed:j,reset:ce}}function MA(u){const c=[];let d="",h=0;for(;h<u.length;){const g=u.indexOf("\r",h),b=u.indexOf(`
227
+ `)?w.slice(0,-1):w}),z=void 0,w="",O=""}function ce(re={}){b&&re.consume&&Y(b),_=!0,z=void 0,w="",O="",b=""}return{feed:j,reset:ce}}function xA(u){const c=[];let d="",h=0;for(;h<u.length;){const g=u.indexOf("\r",h),b=u.indexOf(`
228
228
  `,h);let _=-1;if(g!==-1&&b!==-1?_=Math.min(g,b):g!==-1?g===u.length-1?_=-1:_=g:b!==-1&&(_=b),_===-1){d=u.slice(h);break}else{const z=u.slice(h,_);c.push(z),h=_+1,u[h-1]==="\r"&&u[h]===`
229
- `&&h++}}return[c,d]}class xA extends TransformStream{constructor({onError:c,onRetry:d,onComment:h}={}){let g;super({start(b){g=DA({onEvent:_=>{b.enqueue(_)},onError(_){c==="terminate"?b.error(_):typeof c=="function"&&c(_)},onRetry:d,onComment:h})},transform(b){g.feed(b)}})}}function K(u,c,d){function h(z,w){if(z._zod||Object.defineProperty(z,"_zod",{value:{def:w,constr:_,traits:new Set},enumerable:!1}),z._zod.traits.has(u))return;z._zod.traits.add(u),c(z,w);const O=_.prototype,j=Object.keys(O);for(let Y=0;Y<j.length;Y++){const ae=j[Y];ae in z||(z[ae]=O[ae].bind(z))}}const g=d?.Parent??Object;class b extends g{}Object.defineProperty(b,"name",{value:u});function _(z){var w;const O=d?.Parent?new b:this;h(O,z),(w=O._zod).deferred??(w.deferred=[]);for(const j of O._zod.deferred)j();return O}return Object.defineProperty(_,"init",{value:h}),Object.defineProperty(_,Symbol.hasInstance,{value:z=>d?.Parent&&z instanceof d.Parent?!0:z?._zod?.traits?.has(u)}),Object.defineProperty(_,"name",{value:u}),_}class _d extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class j2 extends Error{constructor(c){super(`Encountered unidirectional transform during encode: ${c}`),this.name="ZodEncodeError"}}const B2={};function Gc(u){return B2}function q2(u){const c=Object.values(u).filter(h=>typeof h=="number");return Object.entries(u).filter(([h,g])=>c.indexOf(+h)===-1).map(([h,g])=>g)}function s1(u,c){return typeof c=="bigint"?c.toString():c}function mg(u){return{get value(){{const c=u();return Object.defineProperty(this,"value",{value:c}),c}}}}function f1(u){return u==null}function d1(u){const c=u.startsWith("^")?1:0,d=u.endsWith("$")?u.length-1:u.length;return u.slice(c,d)}function CA(u,c){const d=(u.toString().split(".")[1]||"").length,h=c.toString();let g=(h.split(".")[1]||"").length;if(g===0&&/\d?e-\d?/.test(h)){const w=h.match(/\d?e-(\d?)/);w?.[1]&&(g=Number.parseInt(w[1]))}const b=d>g?d:g,_=Number.parseInt(u.toFixed(b).replace(".","")),z=Number.parseInt(c.toFixed(b).replace(".",""));return _%z/10**b}const Y2=Symbol("evaluating");function gt(u,c,d){let h;Object.defineProperty(u,c,{get(){if(h!==Y2)return h===void 0&&(h=Y2,h=d()),h},set(g){Object.defineProperty(u,c,{value:g})},configurable:!0})}function Os(u,c,d){Object.defineProperty(u,c,{value:d,writable:!0,enumerable:!0,configurable:!0})}function ws(...u){const c={};for(const d of u){const h=Object.getOwnPropertyDescriptors(d);Object.assign(c,h)}return Object.defineProperties({},c)}function L2(u){return JSON.stringify(u)}function RA(u){return u.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const V2="captureStackTrace"in Error?Error.captureStackTrace:(...u)=>{};function am(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}const UA=mg(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const u=Function;return new u(""),!0}catch{return!1}});function Ed(u){if(am(u)===!1)return!1;const c=u.constructor;if(c===void 0||typeof c!="function")return!0;const d=c.prototype;return!(am(d)===!1||Object.prototype.hasOwnProperty.call(d,"isPrototypeOf")===!1)}function G2(u){return Ed(u)?{...u}:Array.isArray(u)?[...u]:u}const NA=new Set(["string","number","symbol"]);function zd(u){return u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xc(u,c,d){const h=new u._zod.constr(c??u._zod.def);return(!c||d?.parent)&&(h._zod.parent=u),h}function Se(u){const c=u;if(!c)return{};if(typeof c=="string")return{error:()=>c};if(c?.message!==void 0){if(c?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");c.error=c.message}return delete c.message,typeof c.error=="string"?{...c,error:()=>c.error}:c}function ZA(u){return Object.keys(u).filter(c=>u[c]._zod.optin==="optional"&&u[c]._zod.optout==="optional")}const HA={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function jA(u,c){const d=u._zod.def,h=ws(u._zod.def,{get shape(){const g={};for(const b in c){if(!(b in d.shape))throw new Error(`Unrecognized key: "${b}"`);c[b]&&(g[b]=d.shape[b])}return Os(this,"shape",g),g},checks:[]});return Xc(u,h)}function BA(u,c){const d=u._zod.def,h=ws(u._zod.def,{get shape(){const g={...u._zod.def.shape};for(const b in c){if(!(b in d.shape))throw new Error(`Unrecognized key: "${b}"`);c[b]&&delete g[b]}return Os(this,"shape",g),g},checks:[]});return Xc(u,h)}function qA(u,c){if(!Ed(c))throw new Error("Invalid input to extend: expected a plain object");const d=u._zod.def.checks;if(d&&d.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const g=ws(u._zod.def,{get shape(){const b={...u._zod.def.shape,...c};return Os(this,"shape",b),b},checks:[]});return Xc(u,g)}function YA(u,c){if(!Ed(c))throw new Error("Invalid input to safeExtend: expected a plain object");const d={...u._zod.def,get shape(){const h={...u._zod.def.shape,...c};return Os(this,"shape",h),h},checks:u._zod.def.checks};return Xc(u,d)}function LA(u,c){const d=ws(u._zod.def,{get shape(){const h={...u._zod.def.shape,...c._zod.def.shape};return Os(this,"shape",h),h},get catchall(){return c._zod.def.catchall},checks:[]});return Xc(u,d)}function VA(u,c,d){const h=ws(c._zod.def,{get shape(){const g=c._zod.def.shape,b={...g};if(d)for(const _ in d){if(!(_ in g))throw new Error(`Unrecognized key: "${_}"`);d[_]&&(b[_]=u?new u({type:"optional",innerType:g[_]}):g[_])}else for(const _ in g)b[_]=u?new u({type:"optional",innerType:g[_]}):g[_];return Os(this,"shape",b),b},checks:[]});return Xc(c,h)}function GA(u,c,d){const h=ws(c._zod.def,{get shape(){const g=c._zod.def.shape,b={...g};if(d)for(const _ in d){if(!(_ in b))throw new Error(`Unrecognized key: "${_}"`);d[_]&&(b[_]=new u({type:"nonoptional",innerType:g[_]}))}else for(const _ in g)b[_]=new u({type:"nonoptional",innerType:g[_]});return Os(this,"shape",b),b},checks:[]});return Xc(c,h)}function Td(u,c=0){if(u.aborted===!0)return!0;for(let d=c;d<u.issues.length;d++)if(u.issues[d]?.continue!==!0)return!0;return!1}function Ad(u,c){return c.map(d=>{var h;return(h=d).path??(h.path=[]),d.path.unshift(u),d})}function yg(u){return typeof u=="string"?u:u?.message}function Qc(u,c,d){const h={...u,path:u.path??[]};if(!u.message){const g=yg(u.inst?._zod.def?.error?.(u))??yg(c?.error?.(u))??yg(d.customError?.(u))??yg(d.localeError?.(u))??"Invalid input";h.message=g}return delete h.inst,delete h.continue,c?.reportInput||delete h.input,h}function h1(u){return Array.isArray(u)?"array":typeof u=="string"?"string":"unknown"}function nm(...u){const[c,d,h]=u;return typeof c=="string"?{message:c,code:"custom",input:d,inst:h}:{...c}}const X2=(u,c)=>{u.name="$ZodError",Object.defineProperty(u,"_zod",{value:u._zod,enumerable:!1}),Object.defineProperty(u,"issues",{value:c,enumerable:!1}),u.message=JSON.stringify(c,s1,2),Object.defineProperty(u,"toString",{value:()=>u.message,enumerable:!1})},Q2=K("$ZodError",X2),J2=K("$ZodError",X2,{Parent:Error});function XA(u,c=d=>d.message){const d={},h=[];for(const g of u.issues)g.path.length>0?(d[g.path[0]]=d[g.path[0]]||[],d[g.path[0]].push(c(g))):h.push(c(g));return{formErrors:h,fieldErrors:d}}function QA(u,c=d=>d.message){const d={_errors:[]},h=g=>{for(const b of g.issues)if(b.code==="invalid_union"&&b.errors.length)b.errors.map(_=>h({issues:_}));else if(b.code==="invalid_key")h({issues:b.issues});else if(b.code==="invalid_element")h({issues:b.issues});else if(b.path.length===0)d._errors.push(c(b));else{let _=d,z=0;for(;z<b.path.length;){const w=b.path[z];z===b.path.length-1?(_[w]=_[w]||{_errors:[]},_[w]._errors.push(c(b))):_[w]=_[w]||{_errors:[]},_=_[w],z++}}};return h(u),d}const p1=u=>(c,d,h,g)=>{const b=h?Object.assign(h,{async:!1}):{async:!1},_=c._zod.run({value:d,issues:[]},b);if(_ instanceof Promise)throw new _d;if(_.issues.length){const z=new(g?.Err??u)(_.issues.map(w=>Qc(w,b,Gc())));throw V2(z,g?.callee),z}return _.value},m1=u=>async(c,d,h,g)=>{const b=h?Object.assign(h,{async:!0}):{async:!0};let _=c._zod.run({value:d,issues:[]},b);if(_ instanceof Promise&&(_=await _),_.issues.length){const z=new(g?.Err??u)(_.issues.map(w=>Qc(w,b,Gc())));throw V2(z,g?.callee),z}return _.value},gg=u=>(c,d,h)=>{const g=h?{...h,async:!1}:{async:!1},b=c._zod.run({value:d,issues:[]},g);if(b instanceof Promise)throw new _d;return b.issues.length?{success:!1,error:new(u??Q2)(b.issues.map(_=>Qc(_,g,Gc())))}:{success:!0,data:b.value}},JA=gg(J2),vg=u=>async(c,d,h)=>{const g=h?Object.assign(h,{async:!0}):{async:!0};let b=c._zod.run({value:d,issues:[]},g);return b instanceof Promise&&(b=await b),b.issues.length?{success:!1,error:new u(b.issues.map(_=>Qc(_,g,Gc())))}:{success:!0,data:b.value}},$A=vg(J2),kA=u=>(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return p1(u)(c,d,g)},KA=u=>(c,d,h)=>p1(u)(c,d,h),IA=u=>async(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return m1(u)(c,d,g)},FA=u=>async(c,d,h)=>m1(u)(c,d,h),WA=u=>(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return gg(u)(c,d,g)},PA=u=>(c,d,h)=>gg(u)(c,d,h),e4=u=>async(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return vg(u)(c,d,g)},t4=u=>async(c,d,h)=>vg(u)(c,d,h),a4=/^[cC][^\s-]{8,}$/,n4=/^[0-9a-z]+$/,l4=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,u4=/^[0-9a-vA-V]{20}$/,i4=/^[A-Za-z0-9]{27}$/,o4=/^[a-zA-Z0-9_-]{21}$/,c4=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,r4=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,$2=u=>u?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${u}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,s4=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,f4="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function d4(){return new RegExp(f4,"u")}const h4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,p4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,m4=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,y4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,g4=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,k2=/^[A-Za-z0-9_-]*$/,v4=/^\+(?:[0-9]){6,14}[0-9]$/,K2="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",b4=new RegExp(`^${K2}$`);function I2(u){const c="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof u.precision=="number"?u.precision===-1?`${c}`:u.precision===0?`${c}:[0-5]\\d`:`${c}:[0-5]\\d\\.\\d{${u.precision}}`:`${c}(?::[0-5]\\d(?:\\.\\d+)?)?`}function S4(u){return new RegExp(`^${I2(u)}$`)}function _4(u){const c=I2({precision:u.precision}),d=["Z"];u.local&&d.push(""),u.offset&&d.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const h=`${c}(?:${d.join("|")})`;return new RegExp(`^${K2}T(?:${h})$`)}const E4=u=>{const c=u?`[\\s\\S]{${u?.minimum??0},${u?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${c}$`)},z4=/^-?\d+$/,T4=/^-?\d+(?:\.\d+)?/,A4=/^(?:true|false)$/i,O4=/^null$/i,w4=/^[^A-Z]*$/,D4=/^[^a-z]*$/,hl=K("$ZodCheck",(u,c)=>{var d;u._zod??(u._zod={}),u._zod.def=c,(d=u._zod).onattach??(d.onattach=[])}),F2={number:"number",bigint:"bigint",object:"date"},W2=K("$ZodCheckLessThan",(u,c)=>{hl.init(u,c);const d=F2[typeof c.value];u._zod.onattach.push(h=>{const g=h._zod.bag,b=(c.inclusive?g.maximum:g.exclusiveMaximum)??Number.POSITIVE_INFINITY;c.value<b&&(c.inclusive?g.maximum=c.value:g.exclusiveMaximum=c.value)}),u._zod.check=h=>{(c.inclusive?h.value<=c.value:h.value<c.value)||h.issues.push({origin:d,code:"too_big",maximum:c.value,input:h.value,inclusive:c.inclusive,inst:u,continue:!c.abort})}}),P2=K("$ZodCheckGreaterThan",(u,c)=>{hl.init(u,c);const d=F2[typeof c.value];u._zod.onattach.push(h=>{const g=h._zod.bag,b=(c.inclusive?g.minimum:g.exclusiveMinimum)??Number.NEGATIVE_INFINITY;c.value>b&&(c.inclusive?g.minimum=c.value:g.exclusiveMinimum=c.value)}),u._zod.check=h=>{(c.inclusive?h.value>=c.value:h.value>c.value)||h.issues.push({origin:d,code:"too_small",minimum:c.value,input:h.value,inclusive:c.inclusive,inst:u,continue:!c.abort})}}),M4=K("$ZodCheckMultipleOf",(u,c)=>{hl.init(u,c),u._zod.onattach.push(d=>{var h;(h=d._zod.bag).multipleOf??(h.multipleOf=c.value)}),u._zod.check=d=>{if(typeof d.value!=typeof c.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof d.value=="bigint"?d.value%c.value===BigInt(0):CA(d.value,c.value)===0)||d.issues.push({origin:typeof d.value,code:"not_multiple_of",divisor:c.value,input:d.value,inst:u,continue:!c.abort})}}),x4=K("$ZodCheckNumberFormat",(u,c)=>{hl.init(u,c),c.format=c.format||"float64";const d=c.format?.includes("int"),h=d?"int":"number",[g,b]=HA[c.format];u._zod.onattach.push(_=>{const z=_._zod.bag;z.format=c.format,z.minimum=g,z.maximum=b,d&&(z.pattern=z4)}),u._zod.check=_=>{const z=_.value;if(d){if(!Number.isInteger(z)){_.issues.push({expected:h,format:c.format,code:"invalid_type",continue:!1,input:z,inst:u});return}if(!Number.isSafeInteger(z)){z>0?_.issues.push({input:z,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:u,origin:h,continue:!c.abort}):_.issues.push({input:z,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:u,origin:h,continue:!c.abort});return}}z<g&&_.issues.push({origin:"number",input:z,code:"too_small",minimum:g,inclusive:!0,inst:u,continue:!c.abort}),z>b&&_.issues.push({origin:"number",input:z,code:"too_big",maximum:b,inst:u})}}),C4=K("$ZodCheckMaxLength",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag.maximum??Number.POSITIVE_INFINITY;c.maximum<g&&(h._zod.bag.maximum=c.maximum)}),u._zod.check=h=>{const g=h.value;if(g.length<=c.maximum)return;const _=h1(g);h.issues.push({origin:_,code:"too_big",maximum:c.maximum,inclusive:!0,input:g,inst:u,continue:!c.abort})}}),R4=K("$ZodCheckMinLength",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag.minimum??Number.NEGATIVE_INFINITY;c.minimum>g&&(h._zod.bag.minimum=c.minimum)}),u._zod.check=h=>{const g=h.value;if(g.length>=c.minimum)return;const _=h1(g);h.issues.push({origin:_,code:"too_small",minimum:c.minimum,inclusive:!0,input:g,inst:u,continue:!c.abort})}}),U4=K("$ZodCheckLengthEquals",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag;g.minimum=c.length,g.maximum=c.length,g.length=c.length}),u._zod.check=h=>{const g=h.value,b=g.length;if(b===c.length)return;const _=h1(g),z=b>c.length;h.issues.push({origin:_,...z?{code:"too_big",maximum:c.length}:{code:"too_small",minimum:c.length},inclusive:!0,exact:!0,input:h.value,inst:u,continue:!c.abort})}}),bg=K("$ZodCheckStringFormat",(u,c)=>{var d,h;hl.init(u,c),u._zod.onattach.push(g=>{const b=g._zod.bag;b.format=c.format,c.pattern&&(b.patterns??(b.patterns=new Set),b.patterns.add(c.pattern))}),c.pattern?(d=u._zod).check??(d.check=g=>{c.pattern.lastIndex=0,!c.pattern.test(g.value)&&g.issues.push({origin:"string",code:"invalid_format",format:c.format,input:g.value,...c.pattern?{pattern:c.pattern.toString()}:{},inst:u,continue:!c.abort})}):(h=u._zod).check??(h.check=()=>{})}),N4=K("$ZodCheckRegex",(u,c)=>{bg.init(u,c),u._zod.check=d=>{c.pattern.lastIndex=0,!c.pattern.test(d.value)&&d.issues.push({origin:"string",code:"invalid_format",format:"regex",input:d.value,pattern:c.pattern.toString(),inst:u,continue:!c.abort})}}),Z4=K("$ZodCheckLowerCase",(u,c)=>{c.pattern??(c.pattern=w4),bg.init(u,c)}),H4=K("$ZodCheckUpperCase",(u,c)=>{c.pattern??(c.pattern=D4),bg.init(u,c)}),j4=K("$ZodCheckIncludes",(u,c)=>{hl.init(u,c);const d=zd(c.includes),h=new RegExp(typeof c.position=="number"?`^.{${c.position}}${d}`:d);c.pattern=h,u._zod.onattach.push(g=>{const b=g._zod.bag;b.patterns??(b.patterns=new Set),b.patterns.add(h)}),u._zod.check=g=>{g.value.includes(c.includes,c.position)||g.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:c.includes,input:g.value,inst:u,continue:!c.abort})}}),B4=K("$ZodCheckStartsWith",(u,c)=>{hl.init(u,c);const d=new RegExp(`^${zd(c.prefix)}.*`);c.pattern??(c.pattern=d),u._zod.onattach.push(h=>{const g=h._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(d)}),u._zod.check=h=>{h.value.startsWith(c.prefix)||h.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:c.prefix,input:h.value,inst:u,continue:!c.abort})}}),q4=K("$ZodCheckEndsWith",(u,c)=>{hl.init(u,c);const d=new RegExp(`.*${zd(c.suffix)}$`);c.pattern??(c.pattern=d),u._zod.onattach.push(h=>{const g=h._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(d)}),u._zod.check=h=>{h.value.endsWith(c.suffix)||h.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:c.suffix,input:h.value,inst:u,continue:!c.abort})}}),Y4=K("$ZodCheckOverwrite",(u,c)=>{hl.init(u,c),u._zod.check=d=>{d.value=c.tx(d.value)}});class L4{constructor(c=[]){this.content=[],this.indent=0,this&&(this.args=c)}indented(c){this.indent+=1,c(this),this.indent-=1}write(c){if(typeof c=="function"){c(this,{execution:"sync"}),c(this,{execution:"async"});return}const h=c.split(`
229
+ `&&h++}}return[c,d]}class CA extends TransformStream{constructor({onError:c,onRetry:d,onComment:h}={}){let g;super({start(b){g=MA({onEvent:_=>{b.enqueue(_)},onError(_){c==="terminate"?b.error(_):typeof c=="function"&&c(_)},onRetry:d,onComment:h})},transform(b){g.feed(b)}})}}function K(u,c,d){function h(z,w){if(z._zod||Object.defineProperty(z,"_zod",{value:{def:w,constr:_,traits:new Set},enumerable:!1}),z._zod.traits.has(u))return;z._zod.traits.add(u),c(z,w);const O=_.prototype,j=Object.keys(O);for(let Y=0;Y<j.length;Y++){const ae=j[Y];ae in z||(z[ae]=O[ae].bind(z))}}const g=d?.Parent??Object;class b extends g{}Object.defineProperty(b,"name",{value:u});function _(z){var w;const O=d?.Parent?new b:this;h(O,z),(w=O._zod).deferred??(w.deferred=[]);for(const j of O._zod.deferred)j();return O}return Object.defineProperty(_,"init",{value:h}),Object.defineProperty(_,Symbol.hasInstance,{value:z=>d?.Parent&&z instanceof d.Parent?!0:z?._zod?.traits?.has(u)}),Object.defineProperty(_,"name",{value:u}),_}class _d extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class j2 extends Error{constructor(c){super(`Encountered unidirectional transform during encode: ${c}`),this.name="ZodEncodeError"}}const B2={};function Gc(u){return B2}function q2(u){const c=Object.values(u).filter(h=>typeof h=="number");return Object.entries(u).filter(([h,g])=>c.indexOf(+h)===-1).map(([h,g])=>g)}function s1(u,c){return typeof c=="bigint"?c.toString():c}function mg(u){return{get value(){{const c=u();return Object.defineProperty(this,"value",{value:c}),c}}}}function f1(u){return u==null}function d1(u){const c=u.startsWith("^")?1:0,d=u.endsWith("$")?u.length-1:u.length;return u.slice(c,d)}function RA(u,c){const d=(u.toString().split(".")[1]||"").length,h=c.toString();let g=(h.split(".")[1]||"").length;if(g===0&&/\d?e-\d?/.test(h)){const w=h.match(/\d?e-(\d?)/);w?.[1]&&(g=Number.parseInt(w[1]))}const b=d>g?d:g,_=Number.parseInt(u.toFixed(b).replace(".","")),z=Number.parseInt(c.toFixed(b).replace(".",""));return _%z/10**b}const Y2=Symbol("evaluating");function gt(u,c,d){let h;Object.defineProperty(u,c,{get(){if(h!==Y2)return h===void 0&&(h=Y2,h=d()),h},set(g){Object.defineProperty(u,c,{value:g})},configurable:!0})}function Os(u,c,d){Object.defineProperty(u,c,{value:d,writable:!0,enumerable:!0,configurable:!0})}function ws(...u){const c={};for(const d of u){const h=Object.getOwnPropertyDescriptors(d);Object.assign(c,h)}return Object.defineProperties({},c)}function L2(u){return JSON.stringify(u)}function UA(u){return u.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const V2="captureStackTrace"in Error?Error.captureStackTrace:(...u)=>{};function am(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}const NA=mg(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const u=Function;return new u(""),!0}catch{return!1}});function Ed(u){if(am(u)===!1)return!1;const c=u.constructor;if(c===void 0||typeof c!="function")return!0;const d=c.prototype;return!(am(d)===!1||Object.prototype.hasOwnProperty.call(d,"isPrototypeOf")===!1)}function G2(u){return Ed(u)?{...u}:Array.isArray(u)?[...u]:u}const ZA=new Set(["string","number","symbol"]);function zd(u){return u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xc(u,c,d){const h=new u._zod.constr(c??u._zod.def);return(!c||d?.parent)&&(h._zod.parent=u),h}function Se(u){const c=u;if(!c)return{};if(typeof c=="string")return{error:()=>c};if(c?.message!==void 0){if(c?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");c.error=c.message}return delete c.message,typeof c.error=="string"?{...c,error:()=>c.error}:c}function HA(u){return Object.keys(u).filter(c=>u[c]._zod.optin==="optional"&&u[c]._zod.optout==="optional")}const jA={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function BA(u,c){const d=u._zod.def,h=ws(u._zod.def,{get shape(){const g={};for(const b in c){if(!(b in d.shape))throw new Error(`Unrecognized key: "${b}"`);c[b]&&(g[b]=d.shape[b])}return Os(this,"shape",g),g},checks:[]});return Xc(u,h)}function qA(u,c){const d=u._zod.def,h=ws(u._zod.def,{get shape(){const g={...u._zod.def.shape};for(const b in c){if(!(b in d.shape))throw new Error(`Unrecognized key: "${b}"`);c[b]&&delete g[b]}return Os(this,"shape",g),g},checks:[]});return Xc(u,h)}function YA(u,c){if(!Ed(c))throw new Error("Invalid input to extend: expected a plain object");const d=u._zod.def.checks;if(d&&d.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const g=ws(u._zod.def,{get shape(){const b={...u._zod.def.shape,...c};return Os(this,"shape",b),b},checks:[]});return Xc(u,g)}function LA(u,c){if(!Ed(c))throw new Error("Invalid input to safeExtend: expected a plain object");const d={...u._zod.def,get shape(){const h={...u._zod.def.shape,...c};return Os(this,"shape",h),h},checks:u._zod.def.checks};return Xc(u,d)}function VA(u,c){const d=ws(u._zod.def,{get shape(){const h={...u._zod.def.shape,...c._zod.def.shape};return Os(this,"shape",h),h},get catchall(){return c._zod.def.catchall},checks:[]});return Xc(u,d)}function GA(u,c,d){const h=ws(c._zod.def,{get shape(){const g=c._zod.def.shape,b={...g};if(d)for(const _ in d){if(!(_ in g))throw new Error(`Unrecognized key: "${_}"`);d[_]&&(b[_]=u?new u({type:"optional",innerType:g[_]}):g[_])}else for(const _ in g)b[_]=u?new u({type:"optional",innerType:g[_]}):g[_];return Os(this,"shape",b),b},checks:[]});return Xc(c,h)}function XA(u,c,d){const h=ws(c._zod.def,{get shape(){const g=c._zod.def.shape,b={...g};if(d)for(const _ in d){if(!(_ in b))throw new Error(`Unrecognized key: "${_}"`);d[_]&&(b[_]=new u({type:"nonoptional",innerType:g[_]}))}else for(const _ in g)b[_]=new u({type:"nonoptional",innerType:g[_]});return Os(this,"shape",b),b},checks:[]});return Xc(c,h)}function Td(u,c=0){if(u.aborted===!0)return!0;for(let d=c;d<u.issues.length;d++)if(u.issues[d]?.continue!==!0)return!0;return!1}function Ad(u,c){return c.map(d=>{var h;return(h=d).path??(h.path=[]),d.path.unshift(u),d})}function yg(u){return typeof u=="string"?u:u?.message}function Qc(u,c,d){const h={...u,path:u.path??[]};if(!u.message){const g=yg(u.inst?._zod.def?.error?.(u))??yg(c?.error?.(u))??yg(d.customError?.(u))??yg(d.localeError?.(u))??"Invalid input";h.message=g}return delete h.inst,delete h.continue,c?.reportInput||delete h.input,h}function h1(u){return Array.isArray(u)?"array":typeof u=="string"?"string":"unknown"}function nm(...u){const[c,d,h]=u;return typeof c=="string"?{message:c,code:"custom",input:d,inst:h}:{...c}}const X2=(u,c)=>{u.name="$ZodError",Object.defineProperty(u,"_zod",{value:u._zod,enumerable:!1}),Object.defineProperty(u,"issues",{value:c,enumerable:!1}),u.message=JSON.stringify(c,s1,2),Object.defineProperty(u,"toString",{value:()=>u.message,enumerable:!1})},Q2=K("$ZodError",X2),J2=K("$ZodError",X2,{Parent:Error});function QA(u,c=d=>d.message){const d={},h=[];for(const g of u.issues)g.path.length>0?(d[g.path[0]]=d[g.path[0]]||[],d[g.path[0]].push(c(g))):h.push(c(g));return{formErrors:h,fieldErrors:d}}function JA(u,c=d=>d.message){const d={_errors:[]},h=g=>{for(const b of g.issues)if(b.code==="invalid_union"&&b.errors.length)b.errors.map(_=>h({issues:_}));else if(b.code==="invalid_key")h({issues:b.issues});else if(b.code==="invalid_element")h({issues:b.issues});else if(b.path.length===0)d._errors.push(c(b));else{let _=d,z=0;for(;z<b.path.length;){const w=b.path[z];z===b.path.length-1?(_[w]=_[w]||{_errors:[]},_[w]._errors.push(c(b))):_[w]=_[w]||{_errors:[]},_=_[w],z++}}};return h(u),d}const p1=u=>(c,d,h,g)=>{const b=h?Object.assign(h,{async:!1}):{async:!1},_=c._zod.run({value:d,issues:[]},b);if(_ instanceof Promise)throw new _d;if(_.issues.length){const z=new(g?.Err??u)(_.issues.map(w=>Qc(w,b,Gc())));throw V2(z,g?.callee),z}return _.value},m1=u=>async(c,d,h,g)=>{const b=h?Object.assign(h,{async:!0}):{async:!0};let _=c._zod.run({value:d,issues:[]},b);if(_ instanceof Promise&&(_=await _),_.issues.length){const z=new(g?.Err??u)(_.issues.map(w=>Qc(w,b,Gc())));throw V2(z,g?.callee),z}return _.value},gg=u=>(c,d,h)=>{const g=h?{...h,async:!1}:{async:!1},b=c._zod.run({value:d,issues:[]},g);if(b instanceof Promise)throw new _d;return b.issues.length?{success:!1,error:new(u??Q2)(b.issues.map(_=>Qc(_,g,Gc())))}:{success:!0,data:b.value}},$A=gg(J2),vg=u=>async(c,d,h)=>{const g=h?Object.assign(h,{async:!0}):{async:!0};let b=c._zod.run({value:d,issues:[]},g);return b instanceof Promise&&(b=await b),b.issues.length?{success:!1,error:new u(b.issues.map(_=>Qc(_,g,Gc())))}:{success:!0,data:b.value}},kA=vg(J2),KA=u=>(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return p1(u)(c,d,g)},IA=u=>(c,d,h)=>p1(u)(c,d,h),FA=u=>async(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return m1(u)(c,d,g)},WA=u=>async(c,d,h)=>m1(u)(c,d,h),PA=u=>(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return gg(u)(c,d,g)},e4=u=>(c,d,h)=>gg(u)(c,d,h),t4=u=>async(c,d,h)=>{const g=h?Object.assign(h,{direction:"backward"}):{direction:"backward"};return vg(u)(c,d,g)},a4=u=>async(c,d,h)=>vg(u)(c,d,h),n4=/^[cC][^\s-]{8,}$/,l4=/^[0-9a-z]+$/,u4=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,i4=/^[0-9a-vA-V]{20}$/,o4=/^[A-Za-z0-9]{27}$/,c4=/^[a-zA-Z0-9_-]{21}$/,r4=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,s4=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,$2=u=>u?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${u}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,f4=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,d4="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function h4(){return new RegExp(d4,"u")}const p4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,m4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,y4=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,g4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,v4=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,k2=/^[A-Za-z0-9_-]*$/,b4=/^\+(?:[0-9]){6,14}[0-9]$/,K2="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",S4=new RegExp(`^${K2}$`);function I2(u){const c="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof u.precision=="number"?u.precision===-1?`${c}`:u.precision===0?`${c}:[0-5]\\d`:`${c}:[0-5]\\d\\.\\d{${u.precision}}`:`${c}(?::[0-5]\\d(?:\\.\\d+)?)?`}function _4(u){return new RegExp(`^${I2(u)}$`)}function E4(u){const c=I2({precision:u.precision}),d=["Z"];u.local&&d.push(""),u.offset&&d.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const h=`${c}(?:${d.join("|")})`;return new RegExp(`^${K2}T(?:${h})$`)}const z4=u=>{const c=u?`[\\s\\S]{${u?.minimum??0},${u?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${c}$`)},T4=/^-?\d+$/,A4=/^-?\d+(?:\.\d+)?/,O4=/^(?:true|false)$/i,w4=/^null$/i,D4=/^[^A-Z]*$/,M4=/^[^a-z]*$/,hl=K("$ZodCheck",(u,c)=>{var d;u._zod??(u._zod={}),u._zod.def=c,(d=u._zod).onattach??(d.onattach=[])}),F2={number:"number",bigint:"bigint",object:"date"},W2=K("$ZodCheckLessThan",(u,c)=>{hl.init(u,c);const d=F2[typeof c.value];u._zod.onattach.push(h=>{const g=h._zod.bag,b=(c.inclusive?g.maximum:g.exclusiveMaximum)??Number.POSITIVE_INFINITY;c.value<b&&(c.inclusive?g.maximum=c.value:g.exclusiveMaximum=c.value)}),u._zod.check=h=>{(c.inclusive?h.value<=c.value:h.value<c.value)||h.issues.push({origin:d,code:"too_big",maximum:c.value,input:h.value,inclusive:c.inclusive,inst:u,continue:!c.abort})}}),P2=K("$ZodCheckGreaterThan",(u,c)=>{hl.init(u,c);const d=F2[typeof c.value];u._zod.onattach.push(h=>{const g=h._zod.bag,b=(c.inclusive?g.minimum:g.exclusiveMinimum)??Number.NEGATIVE_INFINITY;c.value>b&&(c.inclusive?g.minimum=c.value:g.exclusiveMinimum=c.value)}),u._zod.check=h=>{(c.inclusive?h.value>=c.value:h.value>c.value)||h.issues.push({origin:d,code:"too_small",minimum:c.value,input:h.value,inclusive:c.inclusive,inst:u,continue:!c.abort})}}),x4=K("$ZodCheckMultipleOf",(u,c)=>{hl.init(u,c),u._zod.onattach.push(d=>{var h;(h=d._zod.bag).multipleOf??(h.multipleOf=c.value)}),u._zod.check=d=>{if(typeof d.value!=typeof c.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof d.value=="bigint"?d.value%c.value===BigInt(0):RA(d.value,c.value)===0)||d.issues.push({origin:typeof d.value,code:"not_multiple_of",divisor:c.value,input:d.value,inst:u,continue:!c.abort})}}),C4=K("$ZodCheckNumberFormat",(u,c)=>{hl.init(u,c),c.format=c.format||"float64";const d=c.format?.includes("int"),h=d?"int":"number",[g,b]=jA[c.format];u._zod.onattach.push(_=>{const z=_._zod.bag;z.format=c.format,z.minimum=g,z.maximum=b,d&&(z.pattern=T4)}),u._zod.check=_=>{const z=_.value;if(d){if(!Number.isInteger(z)){_.issues.push({expected:h,format:c.format,code:"invalid_type",continue:!1,input:z,inst:u});return}if(!Number.isSafeInteger(z)){z>0?_.issues.push({input:z,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:u,origin:h,continue:!c.abort}):_.issues.push({input:z,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:u,origin:h,continue:!c.abort});return}}z<g&&_.issues.push({origin:"number",input:z,code:"too_small",minimum:g,inclusive:!0,inst:u,continue:!c.abort}),z>b&&_.issues.push({origin:"number",input:z,code:"too_big",maximum:b,inst:u})}}),R4=K("$ZodCheckMaxLength",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag.maximum??Number.POSITIVE_INFINITY;c.maximum<g&&(h._zod.bag.maximum=c.maximum)}),u._zod.check=h=>{const g=h.value;if(g.length<=c.maximum)return;const _=h1(g);h.issues.push({origin:_,code:"too_big",maximum:c.maximum,inclusive:!0,input:g,inst:u,continue:!c.abort})}}),U4=K("$ZodCheckMinLength",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag.minimum??Number.NEGATIVE_INFINITY;c.minimum>g&&(h._zod.bag.minimum=c.minimum)}),u._zod.check=h=>{const g=h.value;if(g.length>=c.minimum)return;const _=h1(g);h.issues.push({origin:_,code:"too_small",minimum:c.minimum,inclusive:!0,input:g,inst:u,continue:!c.abort})}}),N4=K("$ZodCheckLengthEquals",(u,c)=>{var d;hl.init(u,c),(d=u._zod.def).when??(d.when=h=>{const g=h.value;return!f1(g)&&g.length!==void 0}),u._zod.onattach.push(h=>{const g=h._zod.bag;g.minimum=c.length,g.maximum=c.length,g.length=c.length}),u._zod.check=h=>{const g=h.value,b=g.length;if(b===c.length)return;const _=h1(g),z=b>c.length;h.issues.push({origin:_,...z?{code:"too_big",maximum:c.length}:{code:"too_small",minimum:c.length},inclusive:!0,exact:!0,input:h.value,inst:u,continue:!c.abort})}}),bg=K("$ZodCheckStringFormat",(u,c)=>{var d,h;hl.init(u,c),u._zod.onattach.push(g=>{const b=g._zod.bag;b.format=c.format,c.pattern&&(b.patterns??(b.patterns=new Set),b.patterns.add(c.pattern))}),c.pattern?(d=u._zod).check??(d.check=g=>{c.pattern.lastIndex=0,!c.pattern.test(g.value)&&g.issues.push({origin:"string",code:"invalid_format",format:c.format,input:g.value,...c.pattern?{pattern:c.pattern.toString()}:{},inst:u,continue:!c.abort})}):(h=u._zod).check??(h.check=()=>{})}),Z4=K("$ZodCheckRegex",(u,c)=>{bg.init(u,c),u._zod.check=d=>{c.pattern.lastIndex=0,!c.pattern.test(d.value)&&d.issues.push({origin:"string",code:"invalid_format",format:"regex",input:d.value,pattern:c.pattern.toString(),inst:u,continue:!c.abort})}}),H4=K("$ZodCheckLowerCase",(u,c)=>{c.pattern??(c.pattern=D4),bg.init(u,c)}),j4=K("$ZodCheckUpperCase",(u,c)=>{c.pattern??(c.pattern=M4),bg.init(u,c)}),B4=K("$ZodCheckIncludes",(u,c)=>{hl.init(u,c);const d=zd(c.includes),h=new RegExp(typeof c.position=="number"?`^.{${c.position}}${d}`:d);c.pattern=h,u._zod.onattach.push(g=>{const b=g._zod.bag;b.patterns??(b.patterns=new Set),b.patterns.add(h)}),u._zod.check=g=>{g.value.includes(c.includes,c.position)||g.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:c.includes,input:g.value,inst:u,continue:!c.abort})}}),q4=K("$ZodCheckStartsWith",(u,c)=>{hl.init(u,c);const d=new RegExp(`^${zd(c.prefix)}.*`);c.pattern??(c.pattern=d),u._zod.onattach.push(h=>{const g=h._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(d)}),u._zod.check=h=>{h.value.startsWith(c.prefix)||h.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:c.prefix,input:h.value,inst:u,continue:!c.abort})}}),Y4=K("$ZodCheckEndsWith",(u,c)=>{hl.init(u,c);const d=new RegExp(`.*${zd(c.suffix)}$`);c.pattern??(c.pattern=d),u._zod.onattach.push(h=>{const g=h._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(d)}),u._zod.check=h=>{h.value.endsWith(c.suffix)||h.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:c.suffix,input:h.value,inst:u,continue:!c.abort})}}),L4=K("$ZodCheckOverwrite",(u,c)=>{hl.init(u,c),u._zod.check=d=>{d.value=c.tx(d.value)}});class V4{constructor(c=[]){this.content=[],this.indent=0,this&&(this.args=c)}indented(c){this.indent+=1,c(this),this.indent-=1}write(c){if(typeof c=="function"){c(this,{execution:"sync"}),c(this,{execution:"async"});return}const h=c.split(`
230
230
  `).filter(_=>_),g=Math.min(...h.map(_=>_.length-_.trimStart().length)),b=h.map(_=>_.slice(g)).map(_=>" ".repeat(this.indent*2)+_);for(const _ of b)this.content.push(_)}compile(){const c=Function,d=this?.args,g=[...(this?.content??[""]).map(b=>` ${b}`)];return new c(...d,g.join(`
231
- `))}}const V4={major:4,minor:2,patch:1},Lt=K("$ZodType",(u,c)=>{var d;u??(u={}),u._zod.def=c,u._zod.bag=u._zod.bag||{},u._zod.version=V4;const h=[...u._zod.def.checks??[]];u._zod.traits.has("$ZodCheck")&&h.unshift(u);for(const g of h)for(const b of g._zod.onattach)b(u);if(h.length===0)(d=u._zod).deferred??(d.deferred=[]),u._zod.deferred?.push(()=>{u._zod.run=u._zod.parse});else{const g=(_,z,w)=>{let O=Td(_),j;for(const Y of z){if(Y._zod.def.when){if(!Y._zod.def.when(_))continue}else if(O)continue;const ae=_.issues.length,ne=Y._zod.check(_);if(ne instanceof Promise&&w?.async===!1)throw new _d;if(j||ne instanceof Promise)j=(j??Promise.resolve()).then(async()=>{await ne,_.issues.length!==ae&&(O||(O=Td(_,ae)))});else{if(_.issues.length===ae)continue;O||(O=Td(_,ae))}}return j?j.then(()=>_):_},b=(_,z,w)=>{if(Td(_))return _.aborted=!0,_;const O=g(z,h,w);if(O instanceof Promise){if(w.async===!1)throw new _d;return O.then(j=>u._zod.parse(j,w))}return u._zod.parse(O,w)};u._zod.run=(_,z)=>{if(z.skipChecks)return u._zod.parse(_,z);if(z.direction==="backward"){const O=u._zod.parse({value:_.value,issues:[]},{...z,skipChecks:!0});return O instanceof Promise?O.then(j=>b(j,_,z)):b(O,_,z)}const w=u._zod.parse(_,z);if(w instanceof Promise){if(z.async===!1)throw new _d;return w.then(O=>g(O,h,z))}return g(w,h,z)}}u["~standard"]={validate:g=>{try{const b=JA(u,g);return b.success?{value:b.data}:{issues:b.error?.issues}}catch{return $A(u,g).then(_=>_.success?{value:_.data}:{issues:_.error?.issues})}},vendor:"zod",version:1}}),y1=K("$ZodString",(u,c)=>{Lt.init(u,c),u._zod.pattern=[...u?._zod.bag?.patterns??[]].pop()??E4(u._zod.bag),u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=String(d.value)}catch{}return typeof d.value=="string"||d.issues.push({expected:"string",code:"invalid_type",input:d.value,inst:u}),d}}),aa=K("$ZodStringFormat",(u,c)=>{bg.init(u,c),y1.init(u,c)}),G4=K("$ZodGUID",(u,c)=>{c.pattern??(c.pattern=r4),aa.init(u,c)}),X4=K("$ZodUUID",(u,c)=>{if(c.version){const h={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[c.version];if(h===void 0)throw new Error(`Invalid UUID version: "${c.version}"`);c.pattern??(c.pattern=$2(h))}else c.pattern??(c.pattern=$2());aa.init(u,c)}),Q4=K("$ZodEmail",(u,c)=>{c.pattern??(c.pattern=s4),aa.init(u,c)}),J4=K("$ZodURL",(u,c)=>{aa.init(u,c),u._zod.check=d=>{try{const h=d.value.trim(),g=new URL(h);c.hostname&&(c.hostname.lastIndex=0,c.hostname.test(g.hostname)||d.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:c.hostname.source,input:d.value,inst:u,continue:!c.abort})),c.protocol&&(c.protocol.lastIndex=0,c.protocol.test(g.protocol.endsWith(":")?g.protocol.slice(0,-1):g.protocol)||d.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:c.protocol.source,input:d.value,inst:u,continue:!c.abort})),c.normalize?d.value=g.href:d.value=h;return}catch{d.issues.push({code:"invalid_format",format:"url",input:d.value,inst:u,continue:!c.abort})}}}),$4=K("$ZodEmoji",(u,c)=>{c.pattern??(c.pattern=d4()),aa.init(u,c)}),k4=K("$ZodNanoID",(u,c)=>{c.pattern??(c.pattern=o4),aa.init(u,c)}),K4=K("$ZodCUID",(u,c)=>{c.pattern??(c.pattern=a4),aa.init(u,c)}),I4=K("$ZodCUID2",(u,c)=>{c.pattern??(c.pattern=n4),aa.init(u,c)}),F4=K("$ZodULID",(u,c)=>{c.pattern??(c.pattern=l4),aa.init(u,c)}),W4=K("$ZodXID",(u,c)=>{c.pattern??(c.pattern=u4),aa.init(u,c)}),P4=K("$ZodKSUID",(u,c)=>{c.pattern??(c.pattern=i4),aa.init(u,c)}),e3=K("$ZodISODateTime",(u,c)=>{c.pattern??(c.pattern=_4(c)),aa.init(u,c)}),t3=K("$ZodISODate",(u,c)=>{c.pattern??(c.pattern=b4),aa.init(u,c)}),a3=K("$ZodISOTime",(u,c)=>{c.pattern??(c.pattern=S4(c)),aa.init(u,c)}),n3=K("$ZodISODuration",(u,c)=>{c.pattern??(c.pattern=c4),aa.init(u,c)}),l3=K("$ZodIPv4",(u,c)=>{c.pattern??(c.pattern=h4),aa.init(u,c),u._zod.bag.format="ipv4"}),u3=K("$ZodIPv6",(u,c)=>{c.pattern??(c.pattern=p4),aa.init(u,c),u._zod.bag.format="ipv6",u._zod.check=d=>{try{new URL(`http://[${d.value}]`)}catch{d.issues.push({code:"invalid_format",format:"ipv6",input:d.value,inst:u,continue:!c.abort})}}}),i3=K("$ZodCIDRv4",(u,c)=>{c.pattern??(c.pattern=m4),aa.init(u,c)}),o3=K("$ZodCIDRv6",(u,c)=>{c.pattern??(c.pattern=y4),aa.init(u,c),u._zod.check=d=>{const h=d.value.split("/");try{if(h.length!==2)throw new Error;const[g,b]=h;if(!b)throw new Error;const _=Number(b);if(`${_}`!==b)throw new Error;if(_<0||_>128)throw new Error;new URL(`http://[${g}]`)}catch{d.issues.push({code:"invalid_format",format:"cidrv6",input:d.value,inst:u,continue:!c.abort})}}});function e_(u){if(u==="")return!0;if(u.length%4!==0)return!1;try{return atob(u),!0}catch{return!1}}const c3=K("$ZodBase64",(u,c)=>{c.pattern??(c.pattern=g4),aa.init(u,c),u._zod.bag.contentEncoding="base64",u._zod.check=d=>{e_(d.value)||d.issues.push({code:"invalid_format",format:"base64",input:d.value,inst:u,continue:!c.abort})}});function r3(u){if(!k2.test(u))return!1;const c=u.replace(/[-_]/g,h=>h==="-"?"+":"/"),d=c.padEnd(Math.ceil(c.length/4)*4,"=");return e_(d)}const s3=K("$ZodBase64URL",(u,c)=>{c.pattern??(c.pattern=k2),aa.init(u,c),u._zod.bag.contentEncoding="base64url",u._zod.check=d=>{r3(d.value)||d.issues.push({code:"invalid_format",format:"base64url",input:d.value,inst:u,continue:!c.abort})}}),f3=K("$ZodE164",(u,c)=>{c.pattern??(c.pattern=v4),aa.init(u,c)});function d3(u,c=null){try{const d=u.split(".");if(d.length!==3)return!1;const[h]=d;if(!h)return!1;const g=JSON.parse(atob(h));return!("typ"in g&&g?.typ!=="JWT"||!g.alg||c&&(!("alg"in g)||g.alg!==c))}catch{return!1}}const h3=K("$ZodJWT",(u,c)=>{aa.init(u,c),u._zod.check=d=>{d3(d.value,c.alg)||d.issues.push({code:"invalid_format",format:"jwt",input:d.value,inst:u,continue:!c.abort})}}),t_=K("$ZodNumber",(u,c)=>{Lt.init(u,c),u._zod.pattern=u._zod.bag.pattern??T4,u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=Number(d.value)}catch{}const g=d.value;if(typeof g=="number"&&!Number.isNaN(g)&&Number.isFinite(g))return d;const b=typeof g=="number"?Number.isNaN(g)?"NaN":Number.isFinite(g)?void 0:"Infinity":void 0;return d.issues.push({expected:"number",code:"invalid_type",input:g,inst:u,...b?{received:b}:{}}),d}}),p3=K("$ZodNumberFormat",(u,c)=>{x4.init(u,c),t_.init(u,c)}),m3=K("$ZodBoolean",(u,c)=>{Lt.init(u,c),u._zod.pattern=A4,u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=!!d.value}catch{}const g=d.value;return typeof g=="boolean"||d.issues.push({expected:"boolean",code:"invalid_type",input:g,inst:u}),d}}),y3=K("$ZodNull",(u,c)=>{Lt.init(u,c),u._zod.pattern=O4,u._zod.values=new Set([null]),u._zod.parse=(d,h)=>{const g=d.value;return g===null||d.issues.push({expected:"null",code:"invalid_type",input:g,inst:u}),d}}),g3=K("$ZodAny",(u,c)=>{Lt.init(u,c),u._zod.parse=d=>d}),v3=K("$ZodUnknown",(u,c)=>{Lt.init(u,c),u._zod.parse=d=>d}),b3=K("$ZodNever",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>(d.issues.push({expected:"never",code:"invalid_type",input:d.value,inst:u}),d)});function a_(u,c,d){u.issues.length&&c.issues.push(...Ad(d,u.issues)),c.value[d]=u.value}const S3=K("$ZodArray",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value;if(!Array.isArray(g))return d.issues.push({expected:"array",code:"invalid_type",input:g,inst:u}),d;d.value=Array(g.length);const b=[];for(let _=0;_<g.length;_++){const z=g[_],w=c.element._zod.run({value:z,issues:[]},h);w instanceof Promise?b.push(w.then(O=>a_(O,d,_))):a_(w,d,_)}return b.length?Promise.all(b).then(()=>d):d}});function Sg(u,c,d,h){u.issues.length&&c.issues.push(...Ad(d,u.issues)),u.value===void 0?d in h&&(c.value[d]=void 0):c.value[d]=u.value}function n_(u){const c=Object.keys(u.shape);for(const h of c)if(!u.shape?.[h]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${h}": expected a Zod schema`);const d=ZA(u.shape);return{...u,keys:c,keySet:new Set(c),numKeys:c.length,optionalKeys:new Set(d)}}function l_(u,c,d,h,g,b){const _=[],z=g.keySet,w=g.catchall._zod,O=w.def.type;for(const j in c){if(z.has(j))continue;if(O==="never"){_.push(j);continue}const Y=w.run({value:c[j],issues:[]},h);Y instanceof Promise?u.push(Y.then(ae=>Sg(ae,d,j,c))):Sg(Y,d,j,c)}return _.length&&d.issues.push({code:"unrecognized_keys",keys:_,input:c,inst:b}),u.length?Promise.all(u).then(()=>d):d}const _3=K("$ZodObject",(u,c)=>{if(Lt.init(u,c),!Object.getOwnPropertyDescriptor(c,"shape")?.get){const z=c.shape;Object.defineProperty(c,"shape",{get:()=>{const w={...z};return Object.defineProperty(c,"shape",{value:w}),w}})}const h=mg(()=>n_(c));gt(u._zod,"propValues",()=>{const z=c.shape,w={};for(const O in z){const j=z[O]._zod;if(j.values){w[O]??(w[O]=new Set);for(const Y of j.values)w[O].add(Y)}}return w});const g=am,b=c.catchall;let _;u._zod.parse=(z,w)=>{_??(_=h.value);const O=z.value;if(!g(O))return z.issues.push({expected:"object",code:"invalid_type",input:O,inst:u}),z;z.value={};const j=[],Y=_.shape;for(const ae of _.keys){const ce=Y[ae]._zod.run({value:O[ae],issues:[]},w);ce instanceof Promise?j.push(ce.then(re=>Sg(re,z,ae,O))):Sg(ce,z,ae,O)}return b?l_(j,O,z,w,h.value,u):j.length?Promise.all(j).then(()=>z):z}}),E3=K("$ZodObjectJIT",(u,c)=>{_3.init(u,c);const d=u._zod.parse,h=mg(()=>n_(c)),g=ae=>{const ne=new L4(["shape","payload","ctx"]),ce=h.value,re=ye=>{const F=L2(ye);return`shape[${F}]._zod.run({ value: input[${F}], issues: [] }, ctx)`};ne.write("const input = payload.value;");const se=Object.create(null);let ue=0;for(const ye of ce.keys)se[ye]=`key_${ue++}`;ne.write("const newResult = {};");for(const ye of ce.keys){const F=se[ye],Je=L2(ye);ne.write(`const ${F} = ${re(ye)};`),ne.write(`
231
+ `))}}const G4={major:4,minor:2,patch:1},Lt=K("$ZodType",(u,c)=>{var d;u??(u={}),u._zod.def=c,u._zod.bag=u._zod.bag||{},u._zod.version=G4;const h=[...u._zod.def.checks??[]];u._zod.traits.has("$ZodCheck")&&h.unshift(u);for(const g of h)for(const b of g._zod.onattach)b(u);if(h.length===0)(d=u._zod).deferred??(d.deferred=[]),u._zod.deferred?.push(()=>{u._zod.run=u._zod.parse});else{const g=(_,z,w)=>{let O=Td(_),j;for(const Y of z){if(Y._zod.def.when){if(!Y._zod.def.when(_))continue}else if(O)continue;const ae=_.issues.length,ne=Y._zod.check(_);if(ne instanceof Promise&&w?.async===!1)throw new _d;if(j||ne instanceof Promise)j=(j??Promise.resolve()).then(async()=>{await ne,_.issues.length!==ae&&(O||(O=Td(_,ae)))});else{if(_.issues.length===ae)continue;O||(O=Td(_,ae))}}return j?j.then(()=>_):_},b=(_,z,w)=>{if(Td(_))return _.aborted=!0,_;const O=g(z,h,w);if(O instanceof Promise){if(w.async===!1)throw new _d;return O.then(j=>u._zod.parse(j,w))}return u._zod.parse(O,w)};u._zod.run=(_,z)=>{if(z.skipChecks)return u._zod.parse(_,z);if(z.direction==="backward"){const O=u._zod.parse({value:_.value,issues:[]},{...z,skipChecks:!0});return O instanceof Promise?O.then(j=>b(j,_,z)):b(O,_,z)}const w=u._zod.parse(_,z);if(w instanceof Promise){if(z.async===!1)throw new _d;return w.then(O=>g(O,h,z))}return g(w,h,z)}}u["~standard"]={validate:g=>{try{const b=$A(u,g);return b.success?{value:b.data}:{issues:b.error?.issues}}catch{return kA(u,g).then(_=>_.success?{value:_.data}:{issues:_.error?.issues})}},vendor:"zod",version:1}}),y1=K("$ZodString",(u,c)=>{Lt.init(u,c),u._zod.pattern=[...u?._zod.bag?.patterns??[]].pop()??z4(u._zod.bag),u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=String(d.value)}catch{}return typeof d.value=="string"||d.issues.push({expected:"string",code:"invalid_type",input:d.value,inst:u}),d}}),aa=K("$ZodStringFormat",(u,c)=>{bg.init(u,c),y1.init(u,c)}),X4=K("$ZodGUID",(u,c)=>{c.pattern??(c.pattern=s4),aa.init(u,c)}),Q4=K("$ZodUUID",(u,c)=>{if(c.version){const h={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[c.version];if(h===void 0)throw new Error(`Invalid UUID version: "${c.version}"`);c.pattern??(c.pattern=$2(h))}else c.pattern??(c.pattern=$2());aa.init(u,c)}),J4=K("$ZodEmail",(u,c)=>{c.pattern??(c.pattern=f4),aa.init(u,c)}),$4=K("$ZodURL",(u,c)=>{aa.init(u,c),u._zod.check=d=>{try{const h=d.value.trim(),g=new URL(h);c.hostname&&(c.hostname.lastIndex=0,c.hostname.test(g.hostname)||d.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:c.hostname.source,input:d.value,inst:u,continue:!c.abort})),c.protocol&&(c.protocol.lastIndex=0,c.protocol.test(g.protocol.endsWith(":")?g.protocol.slice(0,-1):g.protocol)||d.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:c.protocol.source,input:d.value,inst:u,continue:!c.abort})),c.normalize?d.value=g.href:d.value=h;return}catch{d.issues.push({code:"invalid_format",format:"url",input:d.value,inst:u,continue:!c.abort})}}}),k4=K("$ZodEmoji",(u,c)=>{c.pattern??(c.pattern=h4()),aa.init(u,c)}),K4=K("$ZodNanoID",(u,c)=>{c.pattern??(c.pattern=c4),aa.init(u,c)}),I4=K("$ZodCUID",(u,c)=>{c.pattern??(c.pattern=n4),aa.init(u,c)}),F4=K("$ZodCUID2",(u,c)=>{c.pattern??(c.pattern=l4),aa.init(u,c)}),W4=K("$ZodULID",(u,c)=>{c.pattern??(c.pattern=u4),aa.init(u,c)}),P4=K("$ZodXID",(u,c)=>{c.pattern??(c.pattern=i4),aa.init(u,c)}),e3=K("$ZodKSUID",(u,c)=>{c.pattern??(c.pattern=o4),aa.init(u,c)}),t3=K("$ZodISODateTime",(u,c)=>{c.pattern??(c.pattern=E4(c)),aa.init(u,c)}),a3=K("$ZodISODate",(u,c)=>{c.pattern??(c.pattern=S4),aa.init(u,c)}),n3=K("$ZodISOTime",(u,c)=>{c.pattern??(c.pattern=_4(c)),aa.init(u,c)}),l3=K("$ZodISODuration",(u,c)=>{c.pattern??(c.pattern=r4),aa.init(u,c)}),u3=K("$ZodIPv4",(u,c)=>{c.pattern??(c.pattern=p4),aa.init(u,c),u._zod.bag.format="ipv4"}),i3=K("$ZodIPv6",(u,c)=>{c.pattern??(c.pattern=m4),aa.init(u,c),u._zod.bag.format="ipv6",u._zod.check=d=>{try{new URL(`http://[${d.value}]`)}catch{d.issues.push({code:"invalid_format",format:"ipv6",input:d.value,inst:u,continue:!c.abort})}}}),o3=K("$ZodCIDRv4",(u,c)=>{c.pattern??(c.pattern=y4),aa.init(u,c)}),c3=K("$ZodCIDRv6",(u,c)=>{c.pattern??(c.pattern=g4),aa.init(u,c),u._zod.check=d=>{const h=d.value.split("/");try{if(h.length!==2)throw new Error;const[g,b]=h;if(!b)throw new Error;const _=Number(b);if(`${_}`!==b)throw new Error;if(_<0||_>128)throw new Error;new URL(`http://[${g}]`)}catch{d.issues.push({code:"invalid_format",format:"cidrv6",input:d.value,inst:u,continue:!c.abort})}}});function e_(u){if(u==="")return!0;if(u.length%4!==0)return!1;try{return atob(u),!0}catch{return!1}}const r3=K("$ZodBase64",(u,c)=>{c.pattern??(c.pattern=v4),aa.init(u,c),u._zod.bag.contentEncoding="base64",u._zod.check=d=>{e_(d.value)||d.issues.push({code:"invalid_format",format:"base64",input:d.value,inst:u,continue:!c.abort})}});function s3(u){if(!k2.test(u))return!1;const c=u.replace(/[-_]/g,h=>h==="-"?"+":"/"),d=c.padEnd(Math.ceil(c.length/4)*4,"=");return e_(d)}const f3=K("$ZodBase64URL",(u,c)=>{c.pattern??(c.pattern=k2),aa.init(u,c),u._zod.bag.contentEncoding="base64url",u._zod.check=d=>{s3(d.value)||d.issues.push({code:"invalid_format",format:"base64url",input:d.value,inst:u,continue:!c.abort})}}),d3=K("$ZodE164",(u,c)=>{c.pattern??(c.pattern=b4),aa.init(u,c)});function h3(u,c=null){try{const d=u.split(".");if(d.length!==3)return!1;const[h]=d;if(!h)return!1;const g=JSON.parse(atob(h));return!("typ"in g&&g?.typ!=="JWT"||!g.alg||c&&(!("alg"in g)||g.alg!==c))}catch{return!1}}const p3=K("$ZodJWT",(u,c)=>{aa.init(u,c),u._zod.check=d=>{h3(d.value,c.alg)||d.issues.push({code:"invalid_format",format:"jwt",input:d.value,inst:u,continue:!c.abort})}}),t_=K("$ZodNumber",(u,c)=>{Lt.init(u,c),u._zod.pattern=u._zod.bag.pattern??A4,u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=Number(d.value)}catch{}const g=d.value;if(typeof g=="number"&&!Number.isNaN(g)&&Number.isFinite(g))return d;const b=typeof g=="number"?Number.isNaN(g)?"NaN":Number.isFinite(g)?void 0:"Infinity":void 0;return d.issues.push({expected:"number",code:"invalid_type",input:g,inst:u,...b?{received:b}:{}}),d}}),m3=K("$ZodNumberFormat",(u,c)=>{C4.init(u,c),t_.init(u,c)}),y3=K("$ZodBoolean",(u,c)=>{Lt.init(u,c),u._zod.pattern=O4,u._zod.parse=(d,h)=>{if(c.coerce)try{d.value=!!d.value}catch{}const g=d.value;return typeof g=="boolean"||d.issues.push({expected:"boolean",code:"invalid_type",input:g,inst:u}),d}}),g3=K("$ZodNull",(u,c)=>{Lt.init(u,c),u._zod.pattern=w4,u._zod.values=new Set([null]),u._zod.parse=(d,h)=>{const g=d.value;return g===null||d.issues.push({expected:"null",code:"invalid_type",input:g,inst:u}),d}}),v3=K("$ZodAny",(u,c)=>{Lt.init(u,c),u._zod.parse=d=>d}),b3=K("$ZodUnknown",(u,c)=>{Lt.init(u,c),u._zod.parse=d=>d}),S3=K("$ZodNever",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>(d.issues.push({expected:"never",code:"invalid_type",input:d.value,inst:u}),d)});function a_(u,c,d){u.issues.length&&c.issues.push(...Ad(d,u.issues)),c.value[d]=u.value}const _3=K("$ZodArray",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value;if(!Array.isArray(g))return d.issues.push({expected:"array",code:"invalid_type",input:g,inst:u}),d;d.value=Array(g.length);const b=[];for(let _=0;_<g.length;_++){const z=g[_],w=c.element._zod.run({value:z,issues:[]},h);w instanceof Promise?b.push(w.then(O=>a_(O,d,_))):a_(w,d,_)}return b.length?Promise.all(b).then(()=>d):d}});function Sg(u,c,d,h){u.issues.length&&c.issues.push(...Ad(d,u.issues)),u.value===void 0?d in h&&(c.value[d]=void 0):c.value[d]=u.value}function n_(u){const c=Object.keys(u.shape);for(const h of c)if(!u.shape?.[h]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${h}": expected a Zod schema`);const d=HA(u.shape);return{...u,keys:c,keySet:new Set(c),numKeys:c.length,optionalKeys:new Set(d)}}function l_(u,c,d,h,g,b){const _=[],z=g.keySet,w=g.catchall._zod,O=w.def.type;for(const j in c){if(z.has(j))continue;if(O==="never"){_.push(j);continue}const Y=w.run({value:c[j],issues:[]},h);Y instanceof Promise?u.push(Y.then(ae=>Sg(ae,d,j,c))):Sg(Y,d,j,c)}return _.length&&d.issues.push({code:"unrecognized_keys",keys:_,input:c,inst:b}),u.length?Promise.all(u).then(()=>d):d}const E3=K("$ZodObject",(u,c)=>{if(Lt.init(u,c),!Object.getOwnPropertyDescriptor(c,"shape")?.get){const z=c.shape;Object.defineProperty(c,"shape",{get:()=>{const w={...z};return Object.defineProperty(c,"shape",{value:w}),w}})}const h=mg(()=>n_(c));gt(u._zod,"propValues",()=>{const z=c.shape,w={};for(const O in z){const j=z[O]._zod;if(j.values){w[O]??(w[O]=new Set);for(const Y of j.values)w[O].add(Y)}}return w});const g=am,b=c.catchall;let _;u._zod.parse=(z,w)=>{_??(_=h.value);const O=z.value;if(!g(O))return z.issues.push({expected:"object",code:"invalid_type",input:O,inst:u}),z;z.value={};const j=[],Y=_.shape;for(const ae of _.keys){const ce=Y[ae]._zod.run({value:O[ae],issues:[]},w);ce instanceof Promise?j.push(ce.then(re=>Sg(re,z,ae,O))):Sg(ce,z,ae,O)}return b?l_(j,O,z,w,h.value,u):j.length?Promise.all(j).then(()=>z):z}}),z3=K("$ZodObjectJIT",(u,c)=>{E3.init(u,c);const d=u._zod.parse,h=mg(()=>n_(c)),g=ae=>{const ne=new V4(["shape","payload","ctx"]),ce=h.value,re=ye=>{const F=L2(ye);return`shape[${F}]._zod.run({ value: input[${F}], issues: [] }, ctx)`};ne.write("const input = payload.value;");const se=Object.create(null);let ue=0;for(const ye of ce.keys)se[ye]=`key_${ue++}`;ne.write("const newResult = {};");for(const ye of ce.keys){const F=se[ye],Je=L2(ye);ne.write(`const ${F} = ${re(ye)};`),ne.write(`
232
232
  if (${F}.issues.length) {
233
233
  payload.issues = payload.issues.concat(${F}.issues.map(iss => ({
234
234
  ...iss,
@@ -245,17 +245,17 @@ Error message: ${A2(d)}`,cause:d}),this[Z2]=!0,this.value=c}static isInstance(c)
245
245
  newResult[${Je}] = ${F}.value;
246
246
  }
247
247
 
248
- `)}ne.write("payload.value = newResult;"),ne.write("return payload;");const Ee=ne.compile();return(ye,F)=>Ee(ae,ye,F)};let b;const _=am,z=!B2.jitless,O=z&&UA.value,j=c.catchall;let Y;u._zod.parse=(ae,ne)=>{Y??(Y=h.value);const ce=ae.value;return _(ce)?z&&O&&ne?.async===!1&&ne.jitless!==!0?(b||(b=g(c.shape)),ae=b(ae,ne),j?l_([],ce,ae,ne,Y,u):ae):d(ae,ne):(ae.issues.push({expected:"object",code:"invalid_type",input:ce,inst:u}),ae)}});function u_(u,c,d,h){for(const b of u)if(b.issues.length===0)return c.value=b.value,c;const g=u.filter(b=>!Td(b));return g.length===1?(c.value=g[0].value,g[0]):(c.issues.push({code:"invalid_union",input:c.value,inst:d,errors:u.map(b=>b.issues.map(_=>Qc(_,h,Gc())))}),c)}const i_=K("$ZodUnion",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.options.some(g=>g._zod.optin==="optional")?"optional":void 0),gt(u._zod,"optout",()=>c.options.some(g=>g._zod.optout==="optional")?"optional":void 0),gt(u._zod,"values",()=>{if(c.options.every(g=>g._zod.values))return new Set(c.options.flatMap(g=>Array.from(g._zod.values)))}),gt(u._zod,"pattern",()=>{if(c.options.every(g=>g._zod.pattern)){const g=c.options.map(b=>b._zod.pattern);return new RegExp(`^(${g.map(b=>d1(b.source)).join("|")})$`)}});const d=c.options.length===1,h=c.options[0]._zod.run;u._zod.parse=(g,b)=>{if(d)return h(g,b);let _=!1;const z=[];for(const w of c.options){const O=w._zod.run({value:g.value,issues:[]},b);if(O instanceof Promise)z.push(O),_=!0;else{if(O.issues.length===0)return O;z.push(O)}}return _?Promise.all(z).then(w=>u_(w,g,u,b)):u_(z,g,u,b)}}),z3=K("$ZodDiscriminatedUnion",(u,c)=>{c.inclusive=!1,i_.init(u,c);const d=u._zod.parse;gt(u._zod,"propValues",()=>{const g={};for(const b of c.options){const _=b._zod.propValues;if(!_||Object.keys(_).length===0)throw new Error(`Invalid discriminated union option at index "${c.options.indexOf(b)}"`);for(const[z,w]of Object.entries(_)){g[z]||(g[z]=new Set);for(const O of w)g[z].add(O)}}return g});const h=mg(()=>{const g=c.options,b=new Map;for(const _ of g){const z=_._zod.propValues?.[c.discriminator];if(!z||z.size===0)throw new Error(`Invalid discriminated union option at index "${c.options.indexOf(_)}"`);for(const w of z){if(b.has(w))throw new Error(`Duplicate discriminator value "${String(w)}"`);b.set(w,_)}}return b});u._zod.parse=(g,b)=>{const _=g.value;if(!am(_))return g.issues.push({code:"invalid_type",expected:"object",input:_,inst:u}),g;const z=h.value.get(_?.[c.discriminator]);return z?z._zod.run(g,b):c.unionFallback?d(g,b):(g.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:c.discriminator,input:_,path:[c.discriminator],inst:u}),g)}}),T3=K("$ZodIntersection",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value,b=c.left._zod.run({value:g,issues:[]},h),_=c.right._zod.run({value:g,issues:[]},h);return b instanceof Promise||_ instanceof Promise?Promise.all([b,_]).then(([w,O])=>o_(d,w,O)):o_(d,b,_)}});function g1(u,c){if(u===c)return{valid:!0,data:u};if(u instanceof Date&&c instanceof Date&&+u==+c)return{valid:!0,data:u};if(Ed(u)&&Ed(c)){const d=Object.keys(c),h=Object.keys(u).filter(b=>d.indexOf(b)!==-1),g={...u,...c};for(const b of h){const _=g1(u[b],c[b]);if(!_.valid)return{valid:!1,mergeErrorPath:[b,..._.mergeErrorPath]};g[b]=_.data}return{valid:!0,data:g}}if(Array.isArray(u)&&Array.isArray(c)){if(u.length!==c.length)return{valid:!1,mergeErrorPath:[]};const d=[];for(let h=0;h<u.length;h++){const g=u[h],b=c[h],_=g1(g,b);if(!_.valid)return{valid:!1,mergeErrorPath:[h,..._.mergeErrorPath]};d.push(_.data)}return{valid:!0,data:d}}return{valid:!1,mergeErrorPath:[]}}function o_(u,c,d){if(c.issues.length&&u.issues.push(...c.issues),d.issues.length&&u.issues.push(...d.issues),Td(u))return u;const h=g1(c.value,d.value);if(!h.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(h.mergeErrorPath)}`);return u.value=h.data,u}const A3=K("$ZodRecord",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value;if(!Ed(g))return d.issues.push({expected:"record",code:"invalid_type",input:g,inst:u}),d;const b=[],_=c.keyType._zod.values;if(_){d.value={};const z=new Set;for(const O of _)if(typeof O=="string"||typeof O=="number"||typeof O=="symbol"){z.add(typeof O=="number"?O.toString():O);const j=c.valueType._zod.run({value:g[O],issues:[]},h);j instanceof Promise?b.push(j.then(Y=>{Y.issues.length&&d.issues.push(...Ad(O,Y.issues)),d.value[O]=Y.value})):(j.issues.length&&d.issues.push(...Ad(O,j.issues)),d.value[O]=j.value)}let w;for(const O in g)z.has(O)||(w=w??[],w.push(O));w&&w.length>0&&d.issues.push({code:"unrecognized_keys",input:g,inst:u,keys:w})}else{d.value={};for(const z of Reflect.ownKeys(g)){if(z==="__proto__")continue;const w=c.keyType._zod.run({value:z,issues:[]},h);if(w instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(w.issues.length){c.mode==="loose"?d.value[z]=g[z]:d.issues.push({code:"invalid_key",origin:"record",issues:w.issues.map(j=>Qc(j,h,Gc())),input:z,path:[z],inst:u});continue}const O=c.valueType._zod.run({value:g[z],issues:[]},h);O instanceof Promise?b.push(O.then(j=>{j.issues.length&&d.issues.push(...Ad(z,j.issues)),d.value[w.value]=j.value})):(O.issues.length&&d.issues.push(...Ad(z,O.issues)),d.value[w.value]=O.value)}}return b.length?Promise.all(b).then(()=>d):d}}),O3=K("$ZodEnum",(u,c)=>{Lt.init(u,c);const d=q2(c.entries),h=new Set(d);u._zod.values=h,u._zod.pattern=new RegExp(`^(${d.filter(g=>NA.has(typeof g)).map(g=>typeof g=="string"?zd(g):g.toString()).join("|")})$`),u._zod.parse=(g,b)=>{const _=g.value;return h.has(_)||g.issues.push({code:"invalid_value",values:d,input:_,inst:u}),g}}),w3=K("$ZodLiteral",(u,c)=>{if(Lt.init(u,c),c.values.length===0)throw new Error("Cannot create literal schema with no valid values");const d=new Set(c.values);u._zod.values=d,u._zod.pattern=new RegExp(`^(${c.values.map(h=>typeof h=="string"?zd(h):h?zd(h.toString()):String(h)).join("|")})$`),u._zod.parse=(h,g)=>{const b=h.value;return d.has(b)||h.issues.push({code:"invalid_value",values:c.values,input:b,inst:u}),h}}),D3=K("$ZodTransform",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{if(h.direction==="backward")throw new j2(u.constructor.name);const g=c.transform(d.value,d);if(h.async)return(g instanceof Promise?g:Promise.resolve(g)).then(_=>(d.value=_,d));if(g instanceof Promise)throw new _d;return d.value=g,d}});function c_(u,c){return u.issues.length&&c===void 0?{issues:[],value:void 0}:u}const M3=K("$ZodOptional",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",u._zod.optout="optional",gt(u._zod,"values",()=>c.innerType._zod.values?new Set([...c.innerType._zod.values,void 0]):void 0),gt(u._zod,"pattern",()=>{const d=c.innerType._zod.pattern;return d?new RegExp(`^(${d1(d.source)})?$`):void 0}),u._zod.parse=(d,h)=>{if(c.innerType._zod.optin==="optional"){const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>c_(b,d.value)):c_(g,d.value)}return d.value===void 0?d:c.innerType._zod.run(d,h)}}),x3=K("$ZodNullable",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.innerType._zod.optin),gt(u._zod,"optout",()=>c.innerType._zod.optout),gt(u._zod,"pattern",()=>{const d=c.innerType._zod.pattern;return d?new RegExp(`^(${d1(d.source)}|null)$`):void 0}),gt(u._zod,"values",()=>c.innerType._zod.values?new Set([...c.innerType._zod.values,null]):void 0),u._zod.parse=(d,h)=>d.value===null?d:c.innerType._zod.run(d,h)}),C3=K("$ZodDefault",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);if(d.value===void 0)return d.value=c.defaultValue,d;const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>r_(b,c)):r_(g,c)}});function r_(u,c){return u.value===void 0&&(u.value=c.defaultValue),u}const R3=K("$ZodPrefault",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>(h.direction==="backward"||d.value===void 0&&(d.value=c.defaultValue),c.innerType._zod.run(d,h))}),U3=K("$ZodNonOptional",(u,c)=>{Lt.init(u,c),gt(u._zod,"values",()=>{const d=c.innerType._zod.values;return d?new Set([...d].filter(h=>h!==void 0)):void 0}),u._zod.parse=(d,h)=>{const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>s_(b,u)):s_(g,u)}});function s_(u,c){return!u.issues.length&&u.value===void 0&&u.issues.push({code:"invalid_type",expected:"nonoptional",input:u.value,inst:c}),u}const N3=K("$ZodCatch",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.innerType._zod.optin),gt(u._zod,"optout",()=>c.innerType._zod.optout),gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>(d.value=b.value,b.issues.length&&(d.value=c.catchValue({...d,error:{issues:b.issues.map(_=>Qc(_,h,Gc()))},input:d.value}),d.issues=[]),d)):(d.value=g.value,g.issues.length&&(d.value=c.catchValue({...d,error:{issues:g.issues.map(b=>Qc(b,h,Gc()))},input:d.value}),d.issues=[]),d)}}),Z3=K("$ZodPipe",(u,c)=>{Lt.init(u,c),gt(u._zod,"values",()=>c.in._zod.values),gt(u._zod,"optin",()=>c.in._zod.optin),gt(u._zod,"optout",()=>c.out._zod.optout),gt(u._zod,"propValues",()=>c.in._zod.propValues),u._zod.parse=(d,h)=>{if(h.direction==="backward"){const b=c.out._zod.run(d,h);return b instanceof Promise?b.then(_=>_g(_,c.in,h)):_g(b,c.in,h)}const g=c.in._zod.run(d,h);return g instanceof Promise?g.then(b=>_g(b,c.out,h)):_g(g,c.out,h)}});function _g(u,c,d){return u.issues.length?(u.aborted=!0,u):c._zod.run({value:u.value,issues:u.issues},d)}const H3=K("$ZodReadonly",(u,c)=>{Lt.init(u,c),gt(u._zod,"propValues",()=>c.innerType._zod.propValues),gt(u._zod,"values",()=>c.innerType._zod.values),gt(u._zod,"optin",()=>c.innerType?._zod?.optin),gt(u._zod,"optout",()=>c.innerType?._zod?.optout),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(f_):f_(g)}});function f_(u){return u.value=Object.freeze(u.value),u}const j3=K("$ZodLazy",(u,c)=>{Lt.init(u,c),gt(u._zod,"innerType",()=>c.getter()),gt(u._zod,"pattern",()=>u._zod.innerType?._zod?.pattern),gt(u._zod,"propValues",()=>u._zod.innerType?._zod?.propValues),gt(u._zod,"optin",()=>u._zod.innerType?._zod?.optin??void 0),gt(u._zod,"optout",()=>u._zod.innerType?._zod?.optout??void 0),u._zod.parse=(d,h)=>u._zod.innerType._zod.run(d,h)}),B3=K("$ZodCustom",(u,c)=>{hl.init(u,c),Lt.init(u,c),u._zod.parse=(d,h)=>d,u._zod.check=d=>{const h=d.value,g=c.fn(h);if(g instanceof Promise)return g.then(b=>d_(b,d,h,u));d_(g,d,h,u)}});function d_(u,c,d,h){if(!u){const g={code:"custom",input:d,inst:h,path:[...h._zod.def.path??[]],continue:!h._zod.def.abort};h._zod.def.params&&(g.params=h._zod.def.params),c.issues.push(nm(g))}}var h_;class q3{constructor(){this._map=new WeakMap,this._idmap=new Map}add(c,...d){const h=d[0];if(this._map.set(c,h),h&&typeof h=="object"&&"id"in h){if(this._idmap.has(h.id))throw new Error(`ID ${h.id} already exists in the registry`);this._idmap.set(h.id,c)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(c){const d=this._map.get(c);return d&&typeof d=="object"&&"id"in d&&this._idmap.delete(d.id),this._map.delete(c),this}get(c){const d=c._zod.parent;if(d){const h={...this.get(d)??{}};delete h.id;const g={...h,...this._map.get(c)};return Object.keys(g).length?g:void 0}return this._map.get(c)}has(c){return this._map.has(c)}}function Y3(){return new q3}(h_=globalThis).__zod_globalRegistry??(h_.__zod_globalRegistry=Y3());const lm=globalThis.__zod_globalRegistry;function L3(u,c){return new u({type:"string",...Se(c)})}function V3(u,c){return new u({type:"string",format:"email",check:"string_format",abort:!1,...Se(c)})}function p_(u,c){return new u({type:"string",format:"guid",check:"string_format",abort:!1,...Se(c)})}function G3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(c)})}function X3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(c)})}function Q3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(c)})}function J3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(c)})}function $3(u,c){return new u({type:"string",format:"url",check:"string_format",abort:!1,...Se(c)})}function k3(u,c){return new u({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(c)})}function K3(u,c){return new u({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(c)})}function I3(u,c){return new u({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(c)})}function F3(u,c){return new u({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(c)})}function W3(u,c){return new u({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(c)})}function P3(u,c){return new u({type:"string",format:"xid",check:"string_format",abort:!1,...Se(c)})}function eO(u,c){return new u({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(c)})}function tO(u,c){return new u({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(c)})}function aO(u,c){return new u({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(c)})}function nO(u,c){return new u({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(c)})}function lO(u,c){return new u({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(c)})}function uO(u,c){return new u({type:"string",format:"base64",check:"string_format",abort:!1,...Se(c)})}function iO(u,c){return new u({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(c)})}function oO(u,c){return new u({type:"string",format:"e164",check:"string_format",abort:!1,...Se(c)})}function cO(u,c){return new u({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(c)})}function rO(u,c){return new u({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(c)})}function sO(u,c){return new u({type:"string",format:"date",check:"string_format",...Se(c)})}function fO(u,c){return new u({type:"string",format:"time",check:"string_format",precision:null,...Se(c)})}function dO(u,c){return new u({type:"string",format:"duration",check:"string_format",...Se(c)})}function hO(u,c){return new u({type:"number",checks:[],...Se(c)})}function pO(u,c){return new u({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(c)})}function mO(u,c){return new u({type:"boolean",...Se(c)})}function yO(u,c){return new u({type:"null",...Se(c)})}function gO(u){return new u({type:"any"})}function vO(u){return new u({type:"unknown"})}function bO(u,c){return new u({type:"never",...Se(c)})}function m_(u,c){return new W2({check:"less_than",...Se(c),value:u,inclusive:!1})}function v1(u,c){return new W2({check:"less_than",...Se(c),value:u,inclusive:!0})}function y_(u,c){return new P2({check:"greater_than",...Se(c),value:u,inclusive:!1})}function b1(u,c){return new P2({check:"greater_than",...Se(c),value:u,inclusive:!0})}function g_(u,c){return new M4({check:"multiple_of",...Se(c),value:u})}function v_(u,c){return new C4({check:"max_length",...Se(c),maximum:u})}function Eg(u,c){return new R4({check:"min_length",...Se(c),minimum:u})}function b_(u,c){return new U4({check:"length_equals",...Se(c),length:u})}function SO(u,c){return new N4({check:"string_format",format:"regex",...Se(c),pattern:u})}function _O(u){return new Z4({check:"string_format",format:"lowercase",...Se(u)})}function EO(u){return new H4({check:"string_format",format:"uppercase",...Se(u)})}function zO(u,c){return new j4({check:"string_format",format:"includes",...Se(c),includes:u})}function TO(u,c){return new B4({check:"string_format",format:"starts_with",...Se(c),prefix:u})}function AO(u,c){return new q4({check:"string_format",format:"ends_with",...Se(c),suffix:u})}function Od(u){return new Y4({check:"overwrite",tx:u})}function OO(u){return Od(c=>c.normalize(u))}function wO(){return Od(u=>u.trim())}function DO(){return Od(u=>u.toLowerCase())}function MO(){return Od(u=>u.toUpperCase())}function xO(){return Od(u=>RA(u))}function CO(u,c,d){return new u({type:"array",element:c,...Se(d)})}function RO(u,c,d){const h=Se(d);return h.abort??(h.abort=!0),new u({type:"custom",check:"custom",fn:c,...h})}function UO(u,c,d){return new u({type:"custom",check:"custom",fn:c,...Se(d)})}function NO(u){const c=ZO(d=>(d.addIssue=h=>{if(typeof h=="string")d.issues.push(nm(h,d.value,c._zod.def));else{const g=h;g.fatal&&(g.continue=!1),g.code??(g.code="custom"),g.input??(g.input=d.value),g.inst??(g.inst=c),g.continue??(g.continue=!c._zod.def.abort),d.issues.push(nm(g))}},u(d.value,d)));return c}function ZO(u,c){const d=new hl({check:"custom",...Se(c)});return d._zod.check=u,d}function zg(u){let c=u?.target??"draft-2020-12";return c==="draft-4"&&(c="draft-04"),c==="draft-7"&&(c="draft-07"),{processors:u.processors??{},metadataRegistry:u?.metadata??lm,target:c,unrepresentable:u?.unrepresentable??"throw",override:u?.override??(()=>{}),io:u?.io??"output",counter:0,seen:new Map,cycles:u?.cycles??"ref",reused:u?.reused??"inline",external:u?.external??void 0}}function Kt(u,c,d={path:[],schemaPath:[]}){var h;const g=u._zod.def,b=c.seen.get(u);if(b)return b.count++,d.schemaPath.includes(u)&&(b.cycle=d.path),b.schema;const _={schema:{},count:1,cycle:void 0,path:d.path};c.seen.set(u,_);const z=u._zod.toJSONSchema?.();if(z)_.schema=z;else{const j={...d,schemaPath:[...d.schemaPath,u],path:d.path},Y=u._zod.parent;if(Y)_.ref=Y,Kt(Y,c,j),c.seen.get(Y).isParent=!0;else if(u._zod.processJSONSchema)u._zod.processJSONSchema(c,_.schema,j);else{const ae=_.schema,ne=c.processors[g.type];if(!ne)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${g.type}`);ne(u,c,ae,j)}}const w=c.metadataRegistry.get(u);return w&&Object.assign(_.schema,w),c.io==="input"&&Ln(u)&&(delete _.schema.examples,delete _.schema.default),c.io==="input"&&_.schema._prefault&&((h=_.schema).default??(h.default=_.schema._prefault)),delete _.schema._prefault,c.seen.get(u).schema}function Tg(u,c){const d=u.seen.get(c);if(!d)throw new Error("Unprocessed schema. This is a bug in Zod.");const h=b=>{const _=u.target==="draft-2020-12"?"$defs":"definitions";if(u.external){const j=u.external.registry.get(b[0])?.id,Y=u.external.uri??(ne=>ne);if(j)return{ref:Y(j)};const ae=b[1].defId??b[1].schema.id??`schema${u.counter++}`;return b[1].defId=ae,{defId:ae,ref:`${Y("__shared")}#/${_}/${ae}`}}if(b[1]===d)return{ref:"#"};const w=`#/${_}/`,O=b[1].schema.id??`__schema${u.counter++}`;return{defId:O,ref:w+O}},g=b=>{if(b[1].schema.$ref)return;const _=b[1],{ref:z,defId:w}=h(b);_.def={..._.schema},w&&(_.defId=w);const O=_.schema;for(const j in O)delete O[j];O.$ref=z};if(u.cycles==="throw")for(const b of u.seen.entries()){const _=b[1];if(_.cycle)throw new Error(`Cycle detected: #/${_.cycle?.join("/")}/<root>
248
+ `)}ne.write("payload.value = newResult;"),ne.write("return payload;");const Ee=ne.compile();return(ye,F)=>Ee(ae,ye,F)};let b;const _=am,z=!B2.jitless,O=z&&NA.value,j=c.catchall;let Y;u._zod.parse=(ae,ne)=>{Y??(Y=h.value);const ce=ae.value;return _(ce)?z&&O&&ne?.async===!1&&ne.jitless!==!0?(b||(b=g(c.shape)),ae=b(ae,ne),j?l_([],ce,ae,ne,Y,u):ae):d(ae,ne):(ae.issues.push({expected:"object",code:"invalid_type",input:ce,inst:u}),ae)}});function u_(u,c,d,h){for(const b of u)if(b.issues.length===0)return c.value=b.value,c;const g=u.filter(b=>!Td(b));return g.length===1?(c.value=g[0].value,g[0]):(c.issues.push({code:"invalid_union",input:c.value,inst:d,errors:u.map(b=>b.issues.map(_=>Qc(_,h,Gc())))}),c)}const i_=K("$ZodUnion",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.options.some(g=>g._zod.optin==="optional")?"optional":void 0),gt(u._zod,"optout",()=>c.options.some(g=>g._zod.optout==="optional")?"optional":void 0),gt(u._zod,"values",()=>{if(c.options.every(g=>g._zod.values))return new Set(c.options.flatMap(g=>Array.from(g._zod.values)))}),gt(u._zod,"pattern",()=>{if(c.options.every(g=>g._zod.pattern)){const g=c.options.map(b=>b._zod.pattern);return new RegExp(`^(${g.map(b=>d1(b.source)).join("|")})$`)}});const d=c.options.length===1,h=c.options[0]._zod.run;u._zod.parse=(g,b)=>{if(d)return h(g,b);let _=!1;const z=[];for(const w of c.options){const O=w._zod.run({value:g.value,issues:[]},b);if(O instanceof Promise)z.push(O),_=!0;else{if(O.issues.length===0)return O;z.push(O)}}return _?Promise.all(z).then(w=>u_(w,g,u,b)):u_(z,g,u,b)}}),T3=K("$ZodDiscriminatedUnion",(u,c)=>{c.inclusive=!1,i_.init(u,c);const d=u._zod.parse;gt(u._zod,"propValues",()=>{const g={};for(const b of c.options){const _=b._zod.propValues;if(!_||Object.keys(_).length===0)throw new Error(`Invalid discriminated union option at index "${c.options.indexOf(b)}"`);for(const[z,w]of Object.entries(_)){g[z]||(g[z]=new Set);for(const O of w)g[z].add(O)}}return g});const h=mg(()=>{const g=c.options,b=new Map;for(const _ of g){const z=_._zod.propValues?.[c.discriminator];if(!z||z.size===0)throw new Error(`Invalid discriminated union option at index "${c.options.indexOf(_)}"`);for(const w of z){if(b.has(w))throw new Error(`Duplicate discriminator value "${String(w)}"`);b.set(w,_)}}return b});u._zod.parse=(g,b)=>{const _=g.value;if(!am(_))return g.issues.push({code:"invalid_type",expected:"object",input:_,inst:u}),g;const z=h.value.get(_?.[c.discriminator]);return z?z._zod.run(g,b):c.unionFallback?d(g,b):(g.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:c.discriminator,input:_,path:[c.discriminator],inst:u}),g)}}),A3=K("$ZodIntersection",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value,b=c.left._zod.run({value:g,issues:[]},h),_=c.right._zod.run({value:g,issues:[]},h);return b instanceof Promise||_ instanceof Promise?Promise.all([b,_]).then(([w,O])=>o_(d,w,O)):o_(d,b,_)}});function g1(u,c){if(u===c)return{valid:!0,data:u};if(u instanceof Date&&c instanceof Date&&+u==+c)return{valid:!0,data:u};if(Ed(u)&&Ed(c)){const d=Object.keys(c),h=Object.keys(u).filter(b=>d.indexOf(b)!==-1),g={...u,...c};for(const b of h){const _=g1(u[b],c[b]);if(!_.valid)return{valid:!1,mergeErrorPath:[b,..._.mergeErrorPath]};g[b]=_.data}return{valid:!0,data:g}}if(Array.isArray(u)&&Array.isArray(c)){if(u.length!==c.length)return{valid:!1,mergeErrorPath:[]};const d=[];for(let h=0;h<u.length;h++){const g=u[h],b=c[h],_=g1(g,b);if(!_.valid)return{valid:!1,mergeErrorPath:[h,..._.mergeErrorPath]};d.push(_.data)}return{valid:!0,data:d}}return{valid:!1,mergeErrorPath:[]}}function o_(u,c,d){if(c.issues.length&&u.issues.push(...c.issues),d.issues.length&&u.issues.push(...d.issues),Td(u))return u;const h=g1(c.value,d.value);if(!h.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(h.mergeErrorPath)}`);return u.value=h.data,u}const O3=K("$ZodRecord",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{const g=d.value;if(!Ed(g))return d.issues.push({expected:"record",code:"invalid_type",input:g,inst:u}),d;const b=[],_=c.keyType._zod.values;if(_){d.value={};const z=new Set;for(const O of _)if(typeof O=="string"||typeof O=="number"||typeof O=="symbol"){z.add(typeof O=="number"?O.toString():O);const j=c.valueType._zod.run({value:g[O],issues:[]},h);j instanceof Promise?b.push(j.then(Y=>{Y.issues.length&&d.issues.push(...Ad(O,Y.issues)),d.value[O]=Y.value})):(j.issues.length&&d.issues.push(...Ad(O,j.issues)),d.value[O]=j.value)}let w;for(const O in g)z.has(O)||(w=w??[],w.push(O));w&&w.length>0&&d.issues.push({code:"unrecognized_keys",input:g,inst:u,keys:w})}else{d.value={};for(const z of Reflect.ownKeys(g)){if(z==="__proto__")continue;const w=c.keyType._zod.run({value:z,issues:[]},h);if(w instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(w.issues.length){c.mode==="loose"?d.value[z]=g[z]:d.issues.push({code:"invalid_key",origin:"record",issues:w.issues.map(j=>Qc(j,h,Gc())),input:z,path:[z],inst:u});continue}const O=c.valueType._zod.run({value:g[z],issues:[]},h);O instanceof Promise?b.push(O.then(j=>{j.issues.length&&d.issues.push(...Ad(z,j.issues)),d.value[w.value]=j.value})):(O.issues.length&&d.issues.push(...Ad(z,O.issues)),d.value[w.value]=O.value)}}return b.length?Promise.all(b).then(()=>d):d}}),w3=K("$ZodEnum",(u,c)=>{Lt.init(u,c);const d=q2(c.entries),h=new Set(d);u._zod.values=h,u._zod.pattern=new RegExp(`^(${d.filter(g=>ZA.has(typeof g)).map(g=>typeof g=="string"?zd(g):g.toString()).join("|")})$`),u._zod.parse=(g,b)=>{const _=g.value;return h.has(_)||g.issues.push({code:"invalid_value",values:d,input:_,inst:u}),g}}),D3=K("$ZodLiteral",(u,c)=>{if(Lt.init(u,c),c.values.length===0)throw new Error("Cannot create literal schema with no valid values");const d=new Set(c.values);u._zod.values=d,u._zod.pattern=new RegExp(`^(${c.values.map(h=>typeof h=="string"?zd(h):h?zd(h.toString()):String(h)).join("|")})$`),u._zod.parse=(h,g)=>{const b=h.value;return d.has(b)||h.issues.push({code:"invalid_value",values:c.values,input:b,inst:u}),h}}),M3=K("$ZodTransform",(u,c)=>{Lt.init(u,c),u._zod.parse=(d,h)=>{if(h.direction==="backward")throw new j2(u.constructor.name);const g=c.transform(d.value,d);if(h.async)return(g instanceof Promise?g:Promise.resolve(g)).then(_=>(d.value=_,d));if(g instanceof Promise)throw new _d;return d.value=g,d}});function c_(u,c){return u.issues.length&&c===void 0?{issues:[],value:void 0}:u}const x3=K("$ZodOptional",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",u._zod.optout="optional",gt(u._zod,"values",()=>c.innerType._zod.values?new Set([...c.innerType._zod.values,void 0]):void 0),gt(u._zod,"pattern",()=>{const d=c.innerType._zod.pattern;return d?new RegExp(`^(${d1(d.source)})?$`):void 0}),u._zod.parse=(d,h)=>{if(c.innerType._zod.optin==="optional"){const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>c_(b,d.value)):c_(g,d.value)}return d.value===void 0?d:c.innerType._zod.run(d,h)}}),C3=K("$ZodNullable",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.innerType._zod.optin),gt(u._zod,"optout",()=>c.innerType._zod.optout),gt(u._zod,"pattern",()=>{const d=c.innerType._zod.pattern;return d?new RegExp(`^(${d1(d.source)}|null)$`):void 0}),gt(u._zod,"values",()=>c.innerType._zod.values?new Set([...c.innerType._zod.values,null]):void 0),u._zod.parse=(d,h)=>d.value===null?d:c.innerType._zod.run(d,h)}),R3=K("$ZodDefault",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);if(d.value===void 0)return d.value=c.defaultValue,d;const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>r_(b,c)):r_(g,c)}});function r_(u,c){return u.value===void 0&&(u.value=c.defaultValue),u}const U3=K("$ZodPrefault",(u,c)=>{Lt.init(u,c),u._zod.optin="optional",gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>(h.direction==="backward"||d.value===void 0&&(d.value=c.defaultValue),c.innerType._zod.run(d,h))}),N3=K("$ZodNonOptional",(u,c)=>{Lt.init(u,c),gt(u._zod,"values",()=>{const d=c.innerType._zod.values;return d?new Set([...d].filter(h=>h!==void 0)):void 0}),u._zod.parse=(d,h)=>{const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>s_(b,u)):s_(g,u)}});function s_(u,c){return!u.issues.length&&u.value===void 0&&u.issues.push({code:"invalid_type",expected:"nonoptional",input:u.value,inst:c}),u}const Z3=K("$ZodCatch",(u,c)=>{Lt.init(u,c),gt(u._zod,"optin",()=>c.innerType._zod.optin),gt(u._zod,"optout",()=>c.innerType._zod.optout),gt(u._zod,"values",()=>c.innerType._zod.values),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(b=>(d.value=b.value,b.issues.length&&(d.value=c.catchValue({...d,error:{issues:b.issues.map(_=>Qc(_,h,Gc()))},input:d.value}),d.issues=[]),d)):(d.value=g.value,g.issues.length&&(d.value=c.catchValue({...d,error:{issues:g.issues.map(b=>Qc(b,h,Gc()))},input:d.value}),d.issues=[]),d)}}),H3=K("$ZodPipe",(u,c)=>{Lt.init(u,c),gt(u._zod,"values",()=>c.in._zod.values),gt(u._zod,"optin",()=>c.in._zod.optin),gt(u._zod,"optout",()=>c.out._zod.optout),gt(u._zod,"propValues",()=>c.in._zod.propValues),u._zod.parse=(d,h)=>{if(h.direction==="backward"){const b=c.out._zod.run(d,h);return b instanceof Promise?b.then(_=>_g(_,c.in,h)):_g(b,c.in,h)}const g=c.in._zod.run(d,h);return g instanceof Promise?g.then(b=>_g(b,c.out,h)):_g(g,c.out,h)}});function _g(u,c,d){return u.issues.length?(u.aborted=!0,u):c._zod.run({value:u.value,issues:u.issues},d)}const j3=K("$ZodReadonly",(u,c)=>{Lt.init(u,c),gt(u._zod,"propValues",()=>c.innerType._zod.propValues),gt(u._zod,"values",()=>c.innerType._zod.values),gt(u._zod,"optin",()=>c.innerType?._zod?.optin),gt(u._zod,"optout",()=>c.innerType?._zod?.optout),u._zod.parse=(d,h)=>{if(h.direction==="backward")return c.innerType._zod.run(d,h);const g=c.innerType._zod.run(d,h);return g instanceof Promise?g.then(f_):f_(g)}});function f_(u){return u.value=Object.freeze(u.value),u}const B3=K("$ZodLazy",(u,c)=>{Lt.init(u,c),gt(u._zod,"innerType",()=>c.getter()),gt(u._zod,"pattern",()=>u._zod.innerType?._zod?.pattern),gt(u._zod,"propValues",()=>u._zod.innerType?._zod?.propValues),gt(u._zod,"optin",()=>u._zod.innerType?._zod?.optin??void 0),gt(u._zod,"optout",()=>u._zod.innerType?._zod?.optout??void 0),u._zod.parse=(d,h)=>u._zod.innerType._zod.run(d,h)}),q3=K("$ZodCustom",(u,c)=>{hl.init(u,c),Lt.init(u,c),u._zod.parse=(d,h)=>d,u._zod.check=d=>{const h=d.value,g=c.fn(h);if(g instanceof Promise)return g.then(b=>d_(b,d,h,u));d_(g,d,h,u)}});function d_(u,c,d,h){if(!u){const g={code:"custom",input:d,inst:h,path:[...h._zod.def.path??[]],continue:!h._zod.def.abort};h._zod.def.params&&(g.params=h._zod.def.params),c.issues.push(nm(g))}}var h_;class Y3{constructor(){this._map=new WeakMap,this._idmap=new Map}add(c,...d){const h=d[0];if(this._map.set(c,h),h&&typeof h=="object"&&"id"in h){if(this._idmap.has(h.id))throw new Error(`ID ${h.id} already exists in the registry`);this._idmap.set(h.id,c)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(c){const d=this._map.get(c);return d&&typeof d=="object"&&"id"in d&&this._idmap.delete(d.id),this._map.delete(c),this}get(c){const d=c._zod.parent;if(d){const h={...this.get(d)??{}};delete h.id;const g={...h,...this._map.get(c)};return Object.keys(g).length?g:void 0}return this._map.get(c)}has(c){return this._map.has(c)}}function L3(){return new Y3}(h_=globalThis).__zod_globalRegistry??(h_.__zod_globalRegistry=L3());const lm=globalThis.__zod_globalRegistry;function V3(u,c){return new u({type:"string",...Se(c)})}function G3(u,c){return new u({type:"string",format:"email",check:"string_format",abort:!1,...Se(c)})}function p_(u,c){return new u({type:"string",format:"guid",check:"string_format",abort:!1,...Se(c)})}function X3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(c)})}function Q3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(c)})}function J3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(c)})}function $3(u,c){return new u({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(c)})}function k3(u,c){return new u({type:"string",format:"url",check:"string_format",abort:!1,...Se(c)})}function K3(u,c){return new u({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(c)})}function I3(u,c){return new u({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(c)})}function F3(u,c){return new u({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(c)})}function W3(u,c){return new u({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(c)})}function P3(u,c){return new u({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(c)})}function eO(u,c){return new u({type:"string",format:"xid",check:"string_format",abort:!1,...Se(c)})}function tO(u,c){return new u({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(c)})}function aO(u,c){return new u({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(c)})}function nO(u,c){return new u({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(c)})}function lO(u,c){return new u({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(c)})}function uO(u,c){return new u({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(c)})}function iO(u,c){return new u({type:"string",format:"base64",check:"string_format",abort:!1,...Se(c)})}function oO(u,c){return new u({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(c)})}function cO(u,c){return new u({type:"string",format:"e164",check:"string_format",abort:!1,...Se(c)})}function rO(u,c){return new u({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(c)})}function sO(u,c){return new u({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(c)})}function fO(u,c){return new u({type:"string",format:"date",check:"string_format",...Se(c)})}function dO(u,c){return new u({type:"string",format:"time",check:"string_format",precision:null,...Se(c)})}function hO(u,c){return new u({type:"string",format:"duration",check:"string_format",...Se(c)})}function pO(u,c){return new u({type:"number",checks:[],...Se(c)})}function mO(u,c){return new u({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(c)})}function yO(u,c){return new u({type:"boolean",...Se(c)})}function gO(u,c){return new u({type:"null",...Se(c)})}function vO(u){return new u({type:"any"})}function bO(u){return new u({type:"unknown"})}function SO(u,c){return new u({type:"never",...Se(c)})}function m_(u,c){return new W2({check:"less_than",...Se(c),value:u,inclusive:!1})}function v1(u,c){return new W2({check:"less_than",...Se(c),value:u,inclusive:!0})}function y_(u,c){return new P2({check:"greater_than",...Se(c),value:u,inclusive:!1})}function b1(u,c){return new P2({check:"greater_than",...Se(c),value:u,inclusive:!0})}function g_(u,c){return new x4({check:"multiple_of",...Se(c),value:u})}function v_(u,c){return new R4({check:"max_length",...Se(c),maximum:u})}function Eg(u,c){return new U4({check:"min_length",...Se(c),minimum:u})}function b_(u,c){return new N4({check:"length_equals",...Se(c),length:u})}function _O(u,c){return new Z4({check:"string_format",format:"regex",...Se(c),pattern:u})}function EO(u){return new H4({check:"string_format",format:"lowercase",...Se(u)})}function zO(u){return new j4({check:"string_format",format:"uppercase",...Se(u)})}function TO(u,c){return new B4({check:"string_format",format:"includes",...Se(c),includes:u})}function AO(u,c){return new q4({check:"string_format",format:"starts_with",...Se(c),prefix:u})}function OO(u,c){return new Y4({check:"string_format",format:"ends_with",...Se(c),suffix:u})}function Od(u){return new L4({check:"overwrite",tx:u})}function wO(u){return Od(c=>c.normalize(u))}function DO(){return Od(u=>u.trim())}function MO(){return Od(u=>u.toLowerCase())}function xO(){return Od(u=>u.toUpperCase())}function CO(){return Od(u=>UA(u))}function RO(u,c,d){return new u({type:"array",element:c,...Se(d)})}function UO(u,c,d){const h=Se(d);return h.abort??(h.abort=!0),new u({type:"custom",check:"custom",fn:c,...h})}function NO(u,c,d){return new u({type:"custom",check:"custom",fn:c,...Se(d)})}function ZO(u){const c=HO(d=>(d.addIssue=h=>{if(typeof h=="string")d.issues.push(nm(h,d.value,c._zod.def));else{const g=h;g.fatal&&(g.continue=!1),g.code??(g.code="custom"),g.input??(g.input=d.value),g.inst??(g.inst=c),g.continue??(g.continue=!c._zod.def.abort),d.issues.push(nm(g))}},u(d.value,d)));return c}function HO(u,c){const d=new hl({check:"custom",...Se(c)});return d._zod.check=u,d}function zg(u){let c=u?.target??"draft-2020-12";return c==="draft-4"&&(c="draft-04"),c==="draft-7"&&(c="draft-07"),{processors:u.processors??{},metadataRegistry:u?.metadata??lm,target:c,unrepresentable:u?.unrepresentable??"throw",override:u?.override??(()=>{}),io:u?.io??"output",counter:0,seen:new Map,cycles:u?.cycles??"ref",reused:u?.reused??"inline",external:u?.external??void 0}}function Kt(u,c,d={path:[],schemaPath:[]}){var h;const g=u._zod.def,b=c.seen.get(u);if(b)return b.count++,d.schemaPath.includes(u)&&(b.cycle=d.path),b.schema;const _={schema:{},count:1,cycle:void 0,path:d.path};c.seen.set(u,_);const z=u._zod.toJSONSchema?.();if(z)_.schema=z;else{const j={...d,schemaPath:[...d.schemaPath,u],path:d.path},Y=u._zod.parent;if(Y)_.ref=Y,Kt(Y,c,j),c.seen.get(Y).isParent=!0;else if(u._zod.processJSONSchema)u._zod.processJSONSchema(c,_.schema,j);else{const ae=_.schema,ne=c.processors[g.type];if(!ne)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${g.type}`);ne(u,c,ae,j)}}const w=c.metadataRegistry.get(u);return w&&Object.assign(_.schema,w),c.io==="input"&&Ln(u)&&(delete _.schema.examples,delete _.schema.default),c.io==="input"&&_.schema._prefault&&((h=_.schema).default??(h.default=_.schema._prefault)),delete _.schema._prefault,c.seen.get(u).schema}function Tg(u,c){const d=u.seen.get(c);if(!d)throw new Error("Unprocessed schema. This is a bug in Zod.");const h=b=>{const _=u.target==="draft-2020-12"?"$defs":"definitions";if(u.external){const j=u.external.registry.get(b[0])?.id,Y=u.external.uri??(ne=>ne);if(j)return{ref:Y(j)};const ae=b[1].defId??b[1].schema.id??`schema${u.counter++}`;return b[1].defId=ae,{defId:ae,ref:`${Y("__shared")}#/${_}/${ae}`}}if(b[1]===d)return{ref:"#"};const w=`#/${_}/`,O=b[1].schema.id??`__schema${u.counter++}`;return{defId:O,ref:w+O}},g=b=>{if(b[1].schema.$ref)return;const _=b[1],{ref:z,defId:w}=h(b);_.def={..._.schema},w&&(_.defId=w);const O=_.schema;for(const j in O)delete O[j];O.$ref=z};if(u.cycles==="throw")for(const b of u.seen.entries()){const _=b[1];if(_.cycle)throw new Error(`Cycle detected: #/${_.cycle?.join("/")}/<root>
249
249
 
250
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const b of u.seen.entries()){const _=b[1];if(c===b[0]){g(b);continue}if(u.external){const w=u.external.registry.get(b[0])?.id;if(c!==b[0]&&w){g(b);continue}}if(u.metadataRegistry.get(b[0])?.id){g(b);continue}if(_.cycle){g(b);continue}if(_.count>1&&u.reused==="ref"){g(b);continue}}}function Ag(u,c){const d=u.seen.get(c);if(!d)throw new Error("Unprocessed schema. This is a bug in Zod.");const h=_=>{const z=u.seen.get(_),w=z.def??z.schema,O={...w};if(z.ref===null)return;const j=z.ref;if(z.ref=null,j){h(j);const Y=u.seen.get(j).schema;Y.$ref&&(u.target==="draft-07"||u.target==="draft-04"||u.target==="openapi-3.0")?(w.allOf=w.allOf??[],w.allOf.push(Y)):(Object.assign(w,Y),Object.assign(w,O))}z.isParent||u.override({zodSchema:_,jsonSchema:w,path:z.path??[]})};for(const _ of[...u.seen.entries()].reverse())h(_[0]);const g={};if(u.target==="draft-2020-12"?g.$schema="https://json-schema.org/draft/2020-12/schema":u.target==="draft-07"?g.$schema="http://json-schema.org/draft-07/schema#":u.target==="draft-04"?g.$schema="http://json-schema.org/draft-04/schema#":u.target,u.external?.uri){const _=u.external.registry.get(c)?.id;if(!_)throw new Error("Schema is missing an `id` property");g.$id=u.external.uri(_)}Object.assign(g,d.def??d.schema);const b=u.external?.defs??{};for(const _ of u.seen.entries()){const z=_[1];z.def&&z.defId&&(b[z.defId]=z.def)}u.external||Object.keys(b).length>0&&(u.target==="draft-2020-12"?g.$defs=b:g.definitions=b);try{const _=JSON.parse(JSON.stringify(g));return Object.defineProperty(_,"~standard",{value:{...c["~standard"],jsonSchema:{input:Og(c,"input"),output:Og(c,"output")}},enumerable:!1,writable:!1}),_}catch{throw new Error("Error converting schema to JSON.")}}function Ln(u,c){const d=c??{seen:new Set};if(d.seen.has(u))return!1;d.seen.add(u);const h=u._zod.def;if(h.type==="transform")return!0;if(h.type==="array")return Ln(h.element,d);if(h.type==="set")return Ln(h.valueType,d);if(h.type==="lazy")return Ln(h.getter(),d);if(h.type==="promise"||h.type==="optional"||h.type==="nonoptional"||h.type==="nullable"||h.type==="readonly"||h.type==="default"||h.type==="prefault")return Ln(h.innerType,d);if(h.type==="intersection")return Ln(h.left,d)||Ln(h.right,d);if(h.type==="record"||h.type==="map")return Ln(h.keyType,d)||Ln(h.valueType,d);if(h.type==="pipe")return Ln(h.in,d)||Ln(h.out,d);if(h.type==="object"){for(const g in h.shape)if(Ln(h.shape[g],d))return!0;return!1}if(h.type==="union"){for(const g of h.options)if(Ln(g,d))return!0;return!1}if(h.type==="tuple"){for(const g of h.items)if(Ln(g,d))return!0;return!!(h.rest&&Ln(h.rest,d))}return!1}const HO=(u,c={})=>d=>{const h=zg({...d,processors:c});return Kt(u,h),Tg(h,u),Ag(h,u)},Og=(u,c)=>d=>{const{libraryOptions:h,target:g}=d??{},b=zg({...h??{},target:g,io:c,processors:{}});return Kt(u,b),Tg(b,u),Ag(b,u)},jO={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},S_=(u,c,d,h)=>{const g=d;g.type="string";const{minimum:b,maximum:_,format:z,patterns:w,contentEncoding:O}=u._zod.bag;if(typeof b=="number"&&(g.minLength=b),typeof _=="number"&&(g.maxLength=_),z&&(g.format=jO[z]??z,g.format===""&&delete g.format),O&&(g.contentEncoding=O),w&&w.size>0){const j=[...w];j.length===1?g.pattern=j[0].source:j.length>1&&(g.allOf=[...j.map(Y=>({...c.target==="draft-07"||c.target==="draft-04"||c.target==="openapi-3.0"?{type:"string"}:{},pattern:Y.source}))])}},__=(u,c,d,h)=>{const g=d,{minimum:b,maximum:_,format:z,multipleOf:w,exclusiveMaximum:O,exclusiveMinimum:j}=u._zod.bag;typeof z=="string"&&z.includes("int")?g.type="integer":g.type="number",typeof j=="number"&&(c.target==="draft-04"||c.target==="openapi-3.0"?(g.minimum=j,g.exclusiveMinimum=!0):g.exclusiveMinimum=j),typeof b=="number"&&(g.minimum=b,typeof j=="number"&&c.target!=="draft-04"&&(j>=b?delete g.minimum:delete g.exclusiveMinimum)),typeof O=="number"&&(c.target==="draft-04"||c.target==="openapi-3.0"?(g.maximum=O,g.exclusiveMaximum=!0):g.exclusiveMaximum=O),typeof _=="number"&&(g.maximum=_,typeof O=="number"&&c.target!=="draft-04"&&(O<=_?delete g.maximum:delete g.exclusiveMaximum)),typeof w=="number"&&(g.multipleOf=w)},E_=(u,c,d,h)=>{d.type="boolean"},BO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},qO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},z_=(u,c,d,h)=>{c.target==="openapi-3.0"?(d.type="string",d.nullable=!0,d.enum=[null]):d.type="null"},YO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},LO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},T_=(u,c,d,h)=>{d.not={}},A_=(u,c,d,h)=>{},O_=(u,c,d,h)=>{},VO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},w_=(u,c,d,h)=>{const g=u._zod.def,b=q2(g.entries);b.every(_=>typeof _=="number")&&(d.type="number"),b.every(_=>typeof _=="string")&&(d.type="string"),d.enum=b},D_=(u,c,d,h)=>{const g=u._zod.def,b=[];for(const _ of g.values)if(_===void 0){if(c.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof _=="bigint"){if(c.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");b.push(Number(_))}else b.push(_);if(b.length!==0)if(b.length===1){const _=b[0];d.type=_===null?"null":typeof _,c.target==="draft-04"||c.target==="openapi-3.0"?d.enum=[_]:d.const=_}else b.every(_=>typeof _=="number")&&(d.type="number"),b.every(_=>typeof _=="string")&&(d.type="string"),b.every(_=>typeof _=="boolean")&&(d.type="boolean"),b.every(_=>_===null)&&(d.type="null"),d.enum=b},GO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},XO=(u,c,d,h)=>{const g=d,b=u._zod.pattern;if(!b)throw new Error("Pattern not found in template literal");g.type="string",g.pattern=b.source},QO=(u,c,d,h)=>{const g=d,b={type:"string",format:"binary",contentEncoding:"binary"},{minimum:_,maximum:z,mime:w}=u._zod.bag;_!==void 0&&(b.minLength=_),z!==void 0&&(b.maxLength=z),w?w.length===1?(b.contentMediaType=w[0],Object.assign(g,b)):g.anyOf=w.map(O=>({...b,contentMediaType:O})):Object.assign(g,b)},JO=(u,c,d,h)=>{d.type="boolean"},M_=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},$O=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},x_=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},kO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},KO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},C_=(u,c,d,h)=>{const g=d,b=u._zod.def,{minimum:_,maximum:z}=u._zod.bag;typeof _=="number"&&(g.minItems=_),typeof z=="number"&&(g.maxItems=z),g.type="array",g.items=Kt(b.element,c,{...h,path:[...h.path,"items"]})},R_=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="object",g.properties={};const _=b.shape;for(const O in _)g.properties[O]=Kt(_[O],c,{...h,path:[...h.path,"properties",O]});const z=new Set(Object.keys(_)),w=new Set([...z].filter(O=>{const j=b.shape[O]._zod;return c.io==="input"?j.optin===void 0:j.optout===void 0}));w.size>0&&(g.required=Array.from(w)),b.catchall?._zod.def.type==="never"?g.additionalProperties=!1:b.catchall?b.catchall&&(g.additionalProperties=Kt(b.catchall,c,{...h,path:[...h.path,"additionalProperties"]})):c.io==="output"&&(g.additionalProperties=!1)},U_=(u,c,d,h)=>{const g=u._zod.def,b=g.inclusive===!1,_=g.options.map((z,w)=>Kt(z,c,{...h,path:[...h.path,b?"oneOf":"anyOf",w]}));b?d.oneOf=_:d.anyOf=_},N_=(u,c,d,h)=>{const g=u._zod.def,b=Kt(g.left,c,{...h,path:[...h.path,"allOf",0]}),_=Kt(g.right,c,{...h,path:[...h.path,"allOf",1]}),z=O=>"allOf"in O&&Object.keys(O).length===1,w=[...z(b)?b.allOf:[b],...z(_)?_.allOf:[_]];d.allOf=w},IO=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="array";const _=c.target==="draft-2020-12"?"prefixItems":"items",z=c.target==="draft-2020-12"||c.target==="openapi-3.0"?"items":"additionalItems",w=b.items.map((ae,ne)=>Kt(ae,c,{...h,path:[...h.path,_,ne]})),O=b.rest?Kt(b.rest,c,{...h,path:[...h.path,z,...c.target==="openapi-3.0"?[b.items.length]:[]]}):null;c.target==="draft-2020-12"?(g.prefixItems=w,O&&(g.items=O)):c.target==="openapi-3.0"?(g.items={anyOf:w},O&&g.items.anyOf.push(O),g.minItems=w.length,O||(g.maxItems=w.length)):(g.items=w,O&&(g.additionalItems=O));const{minimum:j,maximum:Y}=u._zod.bag;typeof j=="number"&&(g.minItems=j),typeof Y=="number"&&(g.maxItems=Y)},Z_=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="object",(c.target==="draft-07"||c.target==="draft-2020-12")&&(g.propertyNames=Kt(b.keyType,c,{...h,path:[...h.path,"propertyNames"]})),g.additionalProperties=Kt(b.valueType,c,{...h,path:[...h.path,"additionalProperties"]})},H_=(u,c,d,h)=>{const g=u._zod.def,b=Kt(g.innerType,c,h),_=c.seen.get(u);c.target==="openapi-3.0"?(_.ref=g.innerType,d.nullable=!0):d.anyOf=[b,{type:"null"}]},j_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},B_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,d.default=JSON.parse(JSON.stringify(g.defaultValue))},q_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,c.io==="input"&&(d._prefault=JSON.parse(JSON.stringify(g.defaultValue)))},Y_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType;let _;try{_=g.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}d.default=_},L_=(u,c,d,h)=>{const g=u._zod.def,b=c.io==="input"?g.in._zod.def.type==="transform"?g.out:g.in:g.out;Kt(b,c,h);const _=c.seen.get(u);_.ref=b},V_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,d.readOnly=!0},FO=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},G_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},X_=(u,c,d,h)=>{const g=u._zod.innerType;Kt(g,c,h);const b=c.seen.get(u);b.ref=g},Q_={string:S_,number:__,boolean:E_,bigint:BO,symbol:qO,null:z_,undefined:YO,void:LO,never:T_,any:A_,unknown:O_,date:VO,enum:w_,literal:D_,nan:GO,template_literal:XO,file:QO,success:JO,custom:M_,function:$O,transform:x_,map:kO,set:KO,array:C_,object:R_,union:U_,intersection:N_,tuple:IO,record:Z_,nullable:H_,nonoptional:j_,default:B_,prefault:q_,catch:Y_,pipe:L_,readonly:V_,promise:FO,optional:G_,lazy:X_};function WO(u,c){if("_idmap"in u){const h=u,g=zg({...c,processors:Q_}),b={};for(const w of h._idmap.entries()){const[O,j]=w;Kt(j,g)}const _={},z={registry:h,uri:c?.uri,defs:b};g.external=z;for(const w of h._idmap.entries()){const[O,j]=w;Tg(g,j),_[O]=Ag(g,j)}if(Object.keys(b).length>0){const w=g.target==="draft-2020-12"?"$defs":"definitions";_.__shared={[w]:b}}return{schemas:_}}const d=zg({...c,processors:Q_});return Kt(u,d),Tg(d,u),Ag(d,u)}const PO=K("ZodISODateTime",(u,c)=>{e3.init(u,c),ca.init(u,c)});function ew(u){return rO(PO,u)}const tw=K("ZodISODate",(u,c)=>{t3.init(u,c),ca.init(u,c)});function aw(u){return sO(tw,u)}const nw=K("ZodISOTime",(u,c)=>{a3.init(u,c),ca.init(u,c)});function lw(u){return fO(nw,u)}const uw=K("ZodISODuration",(u,c)=>{n3.init(u,c),ca.init(u,c)});function iw(u){return dO(uw,u)}const ru=K("ZodError",(u,c)=>{Q2.init(u,c),u.name="ZodError",Object.defineProperties(u,{format:{value:d=>QA(u,d)},flatten:{value:d=>XA(u,d)},addIssue:{value:d=>{u.issues.push(d),u.message=JSON.stringify(u.issues,s1,2)}},addIssues:{value:d=>{u.issues.push(...d),u.message=JSON.stringify(u.issues,s1,2)}},isEmpty:{get(){return u.issues.length===0}}})},{Parent:Error}),ow=p1(ru),cw=m1(ru),rw=gg(ru),J_=vg(ru),sw=kA(ru),fw=KA(ru),dw=IA(ru),hw=FA(ru),pw=WA(ru),mw=PA(ru),yw=e4(ru),gw=t4(ru),It=K("ZodType",(u,c)=>(Lt.init(u,c),Object.assign(u["~standard"],{jsonSchema:{input:Og(u,"input"),output:Og(u,"output")}}),u.toJSONSchema=HO(u,{}),u.def=c,u.type=c.type,Object.defineProperty(u,"_def",{value:c}),u.check=(...d)=>u.clone(ws(c,{checks:[...c.checks??[],...d.map(h=>typeof h=="function"?{_zod:{check:h,def:{check:"custom"},onattach:[]}}:h)]})),u.clone=(d,h)=>Xc(u,d,h),u.brand=()=>u,u.register=((d,h)=>(d.add(u,h),u)),u.parse=(d,h)=>ow(u,d,h,{callee:u.parse}),u.safeParse=(d,h)=>rw(u,d,h),u.parseAsync=async(d,h)=>cw(u,d,h,{callee:u.parseAsync}),u.safeParseAsync=async(d,h)=>J_(u,d,h),u.spa=u.safeParseAsync,u.encode=(d,h)=>sw(u,d,h),u.decode=(d,h)=>fw(u,d,h),u.encodeAsync=async(d,h)=>dw(u,d,h),u.decodeAsync=async(d,h)=>hw(u,d,h),u.safeEncode=(d,h)=>pw(u,d,h),u.safeDecode=(d,h)=>mw(u,d,h),u.safeEncodeAsync=async(d,h)=>yw(u,d,h),u.safeDecodeAsync=async(d,h)=>gw(u,d,h),u.refine=(d,h)=>u.check(fD(d,h)),u.superRefine=d=>u.check(dD(d)),u.overwrite=d=>u.check(Od(d)),u.optional=()=>aE(u),u.nullable=()=>nE(u),u.nullish=()=>aE(nE(u)),u.nonoptional=d=>nD(u,d),u.array=()=>Jc(u),u.or=d=>su([u,d]),u.and=d=>$w(u,d),u.transform=d=>uE(u,Fw(d)),u.default=d=>eD(u,d),u.prefault=d=>aD(u,d),u.catch=d=>uD(u,d),u.pipe=d=>uE(u,d),u.readonly=()=>cD(u),u.describe=d=>{const h=u.clone();return lm.add(h,{description:d}),h},Object.defineProperty(u,"description",{get(){return lm.get(u)?.description},configurable:!0}),u.meta=(...d)=>{if(d.length===0)return lm.get(u);const h=u.clone();return lm.add(h,d[0]),h},u.isOptional=()=>u.safeParse(void 0).success,u.isNullable=()=>u.safeParse(null).success,u)),$_=K("_ZodString",(u,c)=>{y1.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>S_(u,h,g);const d=u._zod.bag;u.format=d.format??null,u.minLength=d.minimum??null,u.maxLength=d.maximum??null,u.regex=(...h)=>u.check(SO(...h)),u.includes=(...h)=>u.check(zO(...h)),u.startsWith=(...h)=>u.check(TO(...h)),u.endsWith=(...h)=>u.check(AO(...h)),u.min=(...h)=>u.check(Eg(...h)),u.max=(...h)=>u.check(v_(...h)),u.length=(...h)=>u.check(b_(...h)),u.nonempty=(...h)=>u.check(Eg(1,...h)),u.lowercase=h=>u.check(_O(h)),u.uppercase=h=>u.check(EO(h)),u.trim=()=>u.check(wO()),u.normalize=(...h)=>u.check(OO(...h)),u.toLowerCase=()=>u.check(DO()),u.toUpperCase=()=>u.check(MO()),u.slugify=()=>u.check(xO())}),vw=K("ZodString",(u,c)=>{y1.init(u,c),$_.init(u,c),u.email=d=>u.check(V3(bw,d)),u.url=d=>u.check($3(Sw,d)),u.jwt=d=>u.check(cO(Zw,d)),u.emoji=d=>u.check(k3(_w,d)),u.guid=d=>u.check(p_(k_,d)),u.uuid=d=>u.check(G3(wg,d)),u.uuidv4=d=>u.check(X3(wg,d)),u.uuidv6=d=>u.check(Q3(wg,d)),u.uuidv7=d=>u.check(J3(wg,d)),u.nanoid=d=>u.check(K3(Ew,d)),u.guid=d=>u.check(p_(k_,d)),u.cuid=d=>u.check(I3(zw,d)),u.cuid2=d=>u.check(F3(Tw,d)),u.ulid=d=>u.check(W3(Aw,d)),u.base64=d=>u.check(uO(Rw,d)),u.base64url=d=>u.check(iO(Uw,d)),u.xid=d=>u.check(P3(Ow,d)),u.ksuid=d=>u.check(eO(ww,d)),u.ipv4=d=>u.check(tO(Dw,d)),u.ipv6=d=>u.check(aO(Mw,d)),u.cidrv4=d=>u.check(nO(xw,d)),u.cidrv6=d=>u.check(lO(Cw,d)),u.e164=d=>u.check(oO(Nw,d)),u.datetime=d=>u.check(ew(d)),u.date=d=>u.check(aw(d)),u.time=d=>u.check(lw(d)),u.duration=d=>u.check(iw(d))});function ve(u){return L3(vw,u)}const ca=K("ZodStringFormat",(u,c)=>{aa.init(u,c),$_.init(u,c)}),bw=K("ZodEmail",(u,c)=>{Q4.init(u,c),ca.init(u,c)}),k_=K("ZodGUID",(u,c)=>{G4.init(u,c),ca.init(u,c)}),wg=K("ZodUUID",(u,c)=>{X4.init(u,c),ca.init(u,c)}),Sw=K("ZodURL",(u,c)=>{J4.init(u,c),ca.init(u,c)}),_w=K("ZodEmoji",(u,c)=>{$4.init(u,c),ca.init(u,c)}),Ew=K("ZodNanoID",(u,c)=>{k4.init(u,c),ca.init(u,c)}),zw=K("ZodCUID",(u,c)=>{K4.init(u,c),ca.init(u,c)}),Tw=K("ZodCUID2",(u,c)=>{I4.init(u,c),ca.init(u,c)}),Aw=K("ZodULID",(u,c)=>{F4.init(u,c),ca.init(u,c)}),Ow=K("ZodXID",(u,c)=>{W4.init(u,c),ca.init(u,c)}),ww=K("ZodKSUID",(u,c)=>{P4.init(u,c),ca.init(u,c)}),Dw=K("ZodIPv4",(u,c)=>{l3.init(u,c),ca.init(u,c)}),Mw=K("ZodIPv6",(u,c)=>{u3.init(u,c),ca.init(u,c)}),xw=K("ZodCIDRv4",(u,c)=>{i3.init(u,c),ca.init(u,c)}),Cw=K("ZodCIDRv6",(u,c)=>{o3.init(u,c),ca.init(u,c)}),Rw=K("ZodBase64",(u,c)=>{c3.init(u,c),ca.init(u,c)}),Uw=K("ZodBase64URL",(u,c)=>{s3.init(u,c),ca.init(u,c)}),Nw=K("ZodE164",(u,c)=>{f3.init(u,c),ca.init(u,c)}),Zw=K("ZodJWT",(u,c)=>{h3.init(u,c),ca.init(u,c)}),K_=K("ZodNumber",(u,c)=>{t_.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>__(u,h,g),u.gt=(h,g)=>u.check(y_(h,g)),u.gte=(h,g)=>u.check(b1(h,g)),u.min=(h,g)=>u.check(b1(h,g)),u.lt=(h,g)=>u.check(m_(h,g)),u.lte=(h,g)=>u.check(v1(h,g)),u.max=(h,g)=>u.check(v1(h,g)),u.int=h=>u.check(F_(h)),u.safe=h=>u.check(F_(h)),u.positive=h=>u.check(y_(0,h)),u.nonnegative=h=>u.check(b1(0,h)),u.negative=h=>u.check(m_(0,h)),u.nonpositive=h=>u.check(v1(0,h)),u.multipleOf=(h,g)=>u.check(g_(h,g)),u.step=(h,g)=>u.check(g_(h,g)),u.finite=()=>u;const d=u._zod.bag;u.minValue=Math.max(d.minimum??Number.NEGATIVE_INFINITY,d.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,u.maxValue=Math.min(d.maximum??Number.POSITIVE_INFINITY,d.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,u.isInt=(d.format??"").includes("int")||Number.isSafeInteger(d.multipleOf??.5),u.isFinite=!0,u.format=d.format??null});function I_(u){return hO(K_,u)}const Hw=K("ZodNumberFormat",(u,c)=>{p3.init(u,c),K_.init(u,c)});function F_(u){return pO(Hw,u)}const jw=K("ZodBoolean",(u,c)=>{m3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>E_(u,d,h)});function xn(u){return mO(jw,u)}const Bw=K("ZodNull",(u,c)=>{y3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>z_(u,d,h)});function qw(u){return yO(Bw,u)}const Yw=K("ZodAny",(u,c)=>{g3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>A_()});function S1(){return gO(Yw)}const Lw=K("ZodUnknown",(u,c)=>{v3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>O_()});function Bi(){return vO(Lw)}const Vw=K("ZodNever",(u,c)=>{b3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>T_(u,d,h)});function W_(u){return bO(Vw,u)}const Gw=K("ZodArray",(u,c)=>{S3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>C_(u,d,h,g),u.element=c.element,u.min=(d,h)=>u.check(Eg(d,h)),u.nonempty=d=>u.check(Eg(1,d)),u.max=(d,h)=>u.check(v_(d,h)),u.length=(d,h)=>u.check(b_(d,h)),u.unwrap=()=>u.element});function Jc(u,c){return CO(Gw,u,c)}const P_=K("ZodObject",(u,c)=>{E3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>R_(u,d,h,g),gt(u,"shape",()=>c.shape),u.keyof=()=>z1(Object.keys(u._zod.def.shape)),u.catchall=d=>u.clone({...u._zod.def,catchall:d}),u.passthrough=()=>u.clone({...u._zod.def,catchall:Bi()}),u.loose=()=>u.clone({...u._zod.def,catchall:Bi()}),u.strict=()=>u.clone({...u._zod.def,catchall:W_()}),u.strip=()=>u.clone({...u._zod.def,catchall:void 0}),u.extend=d=>qA(u,d),u.safeExtend=d=>YA(u,d),u.merge=d=>LA(u,d),u.pick=d=>jA(u,d),u.omit=d=>BA(u,d),u.partial=(...d)=>VA(tE,u,d[0]),u.required=(...d)=>GA(lE,u,d[0])});function Ea(u,c){const d={type:"object",shape:u??{},...Se(c)};return new P_(d)}function ra(u,c){return new P_({type:"object",shape:u,catchall:W_(),...Se(c)})}const eE=K("ZodUnion",(u,c)=>{i_.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>U_(u,d,h,g),u.options=c.options});function su(u,c){return new eE({type:"union",options:u,...Se(c)})}const Xw=K("ZodDiscriminatedUnion",(u,c)=>{eE.init(u,c),z3.init(u,c)});function Qw(u,c,d){return new Xw({type:"union",options:c,discriminator:u,...Se(d)})}const Jw=K("ZodIntersection",(u,c)=>{T3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>N_(u,d,h,g)});function $w(u,c){return new Jw({type:"intersection",left:u,right:c})}const kw=K("ZodRecord",(u,c)=>{A3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>Z_(u,d,h,g),u.keyType=c.keyType,u.valueType=c.valueType});function _1(u,c,d){return new kw({type:"record",keyType:u,valueType:c,...Se(d)})}const E1=K("ZodEnum",(u,c)=>{O3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>w_(u,h,g),u.enum=c.entries,u.options=Object.values(c.entries);const d=new Set(Object.keys(c.entries));u.extract=(h,g)=>{const b={};for(const _ of h)if(d.has(_))b[_]=c.entries[_];else throw new Error(`Key ${_} not found in enum`);return new E1({...c,checks:[],...Se(g),entries:b})},u.exclude=(h,g)=>{const b={...c.entries};for(const _ of h)if(d.has(_))delete b[_];else throw new Error(`Key ${_} not found in enum`);return new E1({...c,checks:[],...Se(g),entries:b})}});function z1(u,c){const d=Array.isArray(u)?Object.fromEntries(u.map(h=>[h,h])):u;return new E1({type:"enum",entries:d,...Se(c)})}const Kw=K("ZodLiteral",(u,c)=>{w3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>D_(u,d,h),u.values=new Set(c.values),Object.defineProperty(u,"value",{get(){if(c.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return c.values[0]}})});function at(u,c){return new Kw({type:"literal",values:Array.isArray(u)?u:[u],...Se(c)})}const Iw=K("ZodTransform",(u,c)=>{D3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>x_(u,d),u._zod.parse=(d,h)=>{if(h.direction==="backward")throw new j2(u.constructor.name);d.addIssue=b=>{if(typeof b=="string")d.issues.push(nm(b,d.value,c));else{const _=b;_.fatal&&(_.continue=!1),_.code??(_.code="custom"),_.input??(_.input=d.value),_.inst??(_.inst=u),d.issues.push(nm(_))}};const g=c.transform(d.value,d);return g instanceof Promise?g.then(b=>(d.value=b,d)):(d.value=g,d)}});function Fw(u){return new Iw({type:"transform",transform:u})}const tE=K("ZodOptional",(u,c)=>{M3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>G_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function aE(u){return new tE({type:"optional",innerType:u})}const Ww=K("ZodNullable",(u,c)=>{x3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>H_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function nE(u){return new Ww({type:"nullable",innerType:u})}const Pw=K("ZodDefault",(u,c)=>{C3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>B_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType,u.removeDefault=u.unwrap});function eD(u,c){return new Pw({type:"default",innerType:u,get defaultValue(){return typeof c=="function"?c():G2(c)}})}const tD=K("ZodPrefault",(u,c)=>{R3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>q_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function aD(u,c){return new tD({type:"prefault",innerType:u,get defaultValue(){return typeof c=="function"?c():G2(c)}})}const lE=K("ZodNonOptional",(u,c)=>{U3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>j_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function nD(u,c){return new lE({type:"nonoptional",innerType:u,...Se(c)})}const lD=K("ZodCatch",(u,c)=>{N3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>Y_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType,u.removeCatch=u.unwrap});function uD(u,c){return new lD({type:"catch",innerType:u,catchValue:typeof c=="function"?c:()=>c})}const iD=K("ZodPipe",(u,c)=>{Z3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>L_(u,d,h,g),u.in=c.in,u.out=c.out});function uE(u,c){return new iD({type:"pipe",in:u,out:c})}const oD=K("ZodReadonly",(u,c)=>{H3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>V_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function cD(u){return new oD({type:"readonly",innerType:u})}const rD=K("ZodLazy",(u,c)=>{j3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>X_(u,d,h,g),u.unwrap=()=>u._zod.def.getter()});function sD(u){return new rD({type:"lazy",getter:u})}const T1=K("ZodCustom",(u,c)=>{B3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>M_(u,d)});function iE(u,c){return RO(T1,u??(()=>!0),c)}function fD(u,c={}){return UO(T1,u,c)}function dD(u){return NO(u)}function Dg(u,c={error:`Input not instance of ${u.name}`}){const d=new T1({type:"custom",check:"custom",fn:h=>h instanceof u,abort:!0,...Se(c)});return d._zod.bag.Class=u,d}var um;(function(u){u.assertEqual=g=>{};function c(g){}u.assertIs=c;function d(g){throw new Error}u.assertNever=d,u.arrayToEnum=g=>{const b={};for(const _ of g)b[_]=_;return b},u.getValidEnumValues=g=>{const b=u.objectKeys(g).filter(z=>typeof g[g[z]]!="number"),_={};for(const z of b)_[z]=g[z];return u.objectValues(_)},u.objectValues=g=>u.objectKeys(g).map(function(b){return g[b]}),u.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const b=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&b.push(_);return b},u.find=(g,b)=>{for(const _ of g)if(b(_))return _},u.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function h(g,b=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(b)}u.joinValues=h,u.jsonStringifyReplacer=(g,b)=>typeof b=="bigint"?b.toString():b})(um||(um={}));var oE;(function(u){u.mergeShapes=(c,d)=>({...c,...d})})(oE||(oE={})),um.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),um.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Mg extends Error{get errors(){return this.issues}constructor(c){super(),this.issues=[],this.addIssue=h=>{this.issues=[...this.issues,h]},this.addIssues=(h=[])=>{this.issues=[...this.issues,...h]};const d=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,d):this.__proto__=d,this.name="ZodError",this.issues=c}format(c){const d=c||function(b){return b.message},h={_errors:[]},g=b=>{for(const _ of b.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)h._errors.push(d(_));else{let z=h,w=0;for(;w<_.path.length;){const O=_.path[w];w===_.path.length-1?(z[O]=z[O]||{_errors:[]},z[O]._errors.push(d(_))):z[O]=z[O]||{_errors:[]},z=z[O],w++}}};return g(this),h}static assert(c){if(!(c instanceof Mg))throw new Error(`Not a ZodError: ${c}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,um.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(c=d=>d.message){const d=Object.create(null),h=[];for(const g of this.issues)if(g.path.length>0){const b=g.path[0];d[b]=d[b]||[],d[b].push(c(g))}else h.push(c(g));return{formErrors:h,fieldErrors:d}}get formErrors(){return this.flatten()}}Mg.create=u=>new Mg(u);var cE;(function(u){u.errToObj=c=>typeof c=="string"?{message:c}:c||{},u.toString=c=>typeof c=="string"?c:c?.message})(cE||(cE={}));var Ve;(function(u){u.ZodString="ZodString",u.ZodNumber="ZodNumber",u.ZodNaN="ZodNaN",u.ZodBigInt="ZodBigInt",u.ZodBoolean="ZodBoolean",u.ZodDate="ZodDate",u.ZodSymbol="ZodSymbol",u.ZodUndefined="ZodUndefined",u.ZodNull="ZodNull",u.ZodAny="ZodAny",u.ZodUnknown="ZodUnknown",u.ZodNever="ZodNever",u.ZodVoid="ZodVoid",u.ZodArray="ZodArray",u.ZodObject="ZodObject",u.ZodUnion="ZodUnion",u.ZodDiscriminatedUnion="ZodDiscriminatedUnion",u.ZodIntersection="ZodIntersection",u.ZodTuple="ZodTuple",u.ZodRecord="ZodRecord",u.ZodMap="ZodMap",u.ZodSet="ZodSet",u.ZodFunction="ZodFunction",u.ZodLazy="ZodLazy",u.ZodLiteral="ZodLiteral",u.ZodEnum="ZodEnum",u.ZodEffects="ZodEffects",u.ZodNativeEnum="ZodNativeEnum",u.ZodOptional="ZodOptional",u.ZodNullable="ZodNullable",u.ZodDefault="ZodDefault",u.ZodCatch="ZodCatch",u.ZodPromise="ZodPromise",u.ZodBranded="ZodBranded",u.ZodPipeline="ZodPipeline",u.ZodReadonly="ZodReadonly"})(Ve||(Ve={}));var im=({prefix:u,size:c=16,alphabet:d="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:h="-"}={})=>{const g=()=>{const b=d.length,_=new Array(c);for(let z=0;z<c;z++)_[z]=d[Math.random()*b|0];return _.join("")};if(u==null)return g;if(d.includes(h))throw new TA({argument:"separator",message:`The separator "${h}" must not be part of the alphabet "${d}".`});return()=>`${u}${h}${g()}`},hD=im();function rE(u=globalThis){var c,d,h;return u.window?"runtime/browser":(c=u.navigator)!=null&&c.userAgent?`runtime/${u.navigator.userAgent.toLowerCase()}`:(h=(d=u.process)==null?void 0:d.versions)!=null&&h.node?`runtime/node.js/${u.process.version.substring(0)}`:u.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function Ds(u){if(u==null)return{};const c={};if(u instanceof Headers)u.forEach((d,h)=>{c[h.toLowerCase()]=d});else{Array.isArray(u)||(u=Object.entries(u));for(const[d,h]of u)h!=null&&(c[d.toLowerCase()]=h)}return c}function sE(u,...c){const d=new Headers(Ds(u)),h=d.get("user-agent")||"";return d.set("user-agent",[h,...c].filter(Boolean).join(" ")),Object.fromEntries(d.entries())}var pD=/"__proto__"\s*:/,mD=/"constructor"\s*:/;function fE(u){const c=JSON.parse(u);return c===null||typeof c!="object"||pD.test(u)===!1&&mD.test(u)===!1?c:yD(c)}function yD(u){let c=[u];for(;c.length;){const d=c;c=[];for(const h of d){if(Object.prototype.hasOwnProperty.call(h,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(h,"constructor")&&Object.prototype.hasOwnProperty.call(h.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const g in h){const b=h[g];b&&typeof b=="object"&&c.push(b)}}}return u}function gD(u){const{stackTraceLimit:c}=Error;try{Error.stackTraceLimit=0}catch{return fE(u)}try{return fE(u)}finally{Error.stackTraceLimit=c}}var xg=Symbol.for("vercel.ai.validator");function vD(u){return{[xg]:!0,validate:u}}function bD(u){return typeof u=="object"&&u!==null&&xg in u&&u[xg]===!0&&"validate"in u}function SD(u){let c;return()=>(c==null&&(c=u()),c)}function _D(u){return bD(u)?u:typeof u=="function"?u():ED(u)}function ED(u){return vD(async c=>{const d=await u["~standard"].validate(c);return d.issues==null?{success:!0,value:d.value}:{success:!1,error:new pg({value:c,cause:d.issues})}})}async function dE({value:u,schema:c}){const d=await A1({value:u,schema:c});if(!d.success)throw pg.wrap({value:u,cause:d.error});return d.value}async function A1({value:u,schema:c}){const d=_D(c);try{if(d.validate==null)return{success:!0,value:u,rawValue:u};const h=await d.validate(u);return h.success?{success:!0,value:h.value,rawValue:u}:{success:!1,error:pg.wrap({value:u,cause:h.error}),rawValue:u}}catch(h){return{success:!1,error:pg.wrap({value:u,cause:h}),rawValue:u}}}async function Cg({text:u,schema:c}){try{const d=gD(u);return c==null?{success:!0,value:d,rawValue:d}:await A1({value:d,schema:c})}catch(d){return{success:!1,error:R2.isInstance(d)?d:new R2({text:u,cause:d}),rawValue:void 0}}}function zD({stream:u,schema:c}){return u.pipeThrough(new TextDecoderStream).pipeThrough(new xA).pipeThrough(new TransformStream({async transform({data:d},h){d!=="[DONE]"&&h.enqueue(await Cg({text:d,schema:c}))}}))}async function wd(u){return typeof u=="function"&&(u=u()),Promise.resolve(u)}function Rg(u){if(u.type==="object"){u.additionalProperties=!1;const c=u.properties;if(c!=null)for(const d in c)c[d]=Rg(c[d])}return u.type==="array"&&u.items!=null&&(Array.isArray(u.items)?u.items=u.items.map(c=>Rg(c)):u.items=Rg(u.items)),u}var TD=(u,c)=>{let d=0;for(;d<u.length&&d<c.length&&u[d]===c[d];d++);return[(u.length-d).toString(),...c.slice(d)].join("/")},AD=Symbol("Let zodToJsonSchema decide on which parser to use"),hE={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},OD=u=>typeof u=="string"?{...hE,name:u}:{...hE,...u};function Cl(){return{}}function wD(u,c){var d,h,g;const b={type:"array"};return(d=u.type)!=null&&d._def&&((g=(h=u.type)==null?void 0:h._def)==null?void 0:g.typeName)!==Ve.ZodAny&&(b.items=Rt(u.type._def,{...c,currentPath:[...c.currentPath,"items"]})),u.minLength&&(b.minItems=u.minLength.value),u.maxLength&&(b.maxItems=u.maxLength.value),u.exactLength&&(b.minItems=u.exactLength.value,b.maxItems=u.exactLength.value),b}function DD(u){const c={type:"integer",format:"int64"};if(!u.checks)return c;for(const d of u.checks)switch(d.kind){case"min":d.inclusive?c.minimum=d.value:c.exclusiveMinimum=d.value;break;case"max":d.inclusive?c.maximum=d.value:c.exclusiveMaximum=d.value;break;case"multipleOf":c.multipleOf=d.value;break}return c}function MD(){return{type:"boolean"}}function pE(u,c){return Rt(u.type._def,c)}var xD=(u,c)=>Rt(u.innerType._def,c);function mE(u,c,d){const h=d??c.dateStrategy;if(Array.isArray(h))return{anyOf:h.map((g,b)=>mE(u,c,g))};switch(h){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return CD(u)}}var CD=u=>{const c={type:"integer",format:"unix-time"};for(const d of u.checks)switch(d.kind){case"min":c.minimum=d.value;break;case"max":c.maximum=d.value;break}return c};function RD(u,c){return{...Rt(u.innerType._def,c),default:u.defaultValue()}}function UD(u,c){return c.effectStrategy==="input"?Rt(u.schema._def,c):Cl()}function ND(u){return{type:"string",enum:Array.from(u.values)}}var ZD=u=>"type"in u&&u.type==="string"?!1:"allOf"in u;function HD(u,c){const d=[Rt(u.left._def,{...c,currentPath:[...c.currentPath,"allOf","0"]}),Rt(u.right._def,{...c,currentPath:[...c.currentPath,"allOf","1"]})].filter(g=>!!g),h=[];return d.forEach(g=>{if(ZD(g))h.push(...g.allOf);else{let b=g;if("additionalProperties"in g&&g.additionalProperties===!1){const{additionalProperties:_,...z}=g;b=z}h.push(b)}}),h.length?{allOf:h}:void 0}function jD(u){const c=typeof u.value;return c!=="bigint"&&c!=="number"&&c!=="boolean"&&c!=="string"?{type:Array.isArray(u.value)?"array":"object"}:{type:c==="bigint"?"integer":c,const:u.value}}var O1=void 0,ni={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(O1===void 0&&(O1=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),O1),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function yE(u,c){const d={type:"string"};if(u.checks)for(const h of u.checks)switch(h.kind){case"min":d.minLength=typeof d.minLength=="number"?Math.max(d.minLength,h.value):h.value;break;case"max":d.maxLength=typeof d.maxLength=="number"?Math.min(d.maxLength,h.value):h.value;break;case"email":switch(c.emailStrategy){case"format:email":li(d,"email",h.message,c);break;case"format:idn-email":li(d,"idn-email",h.message,c);break;case"pattern:zod":Vn(d,ni.email,h.message,c);break}break;case"url":li(d,"uri",h.message,c);break;case"uuid":li(d,"uuid",h.message,c);break;case"regex":Vn(d,h.regex,h.message,c);break;case"cuid":Vn(d,ni.cuid,h.message,c);break;case"cuid2":Vn(d,ni.cuid2,h.message,c);break;case"startsWith":Vn(d,RegExp(`^${w1(h.value,c)}`),h.message,c);break;case"endsWith":Vn(d,RegExp(`${w1(h.value,c)}$`),h.message,c);break;case"datetime":li(d,"date-time",h.message,c);break;case"date":li(d,"date",h.message,c);break;case"time":li(d,"time",h.message,c);break;case"duration":li(d,"duration",h.message,c);break;case"length":d.minLength=typeof d.minLength=="number"?Math.max(d.minLength,h.value):h.value,d.maxLength=typeof d.maxLength=="number"?Math.min(d.maxLength,h.value):h.value;break;case"includes":{Vn(d,RegExp(w1(h.value,c)),h.message,c);break}case"ip":{h.version!=="v6"&&li(d,"ipv4",h.message,c),h.version!=="v4"&&li(d,"ipv6",h.message,c);break}case"base64url":Vn(d,ni.base64url,h.message,c);break;case"jwt":Vn(d,ni.jwt,h.message,c);break;case"cidr":{h.version!=="v6"&&Vn(d,ni.ipv4Cidr,h.message,c),h.version!=="v4"&&Vn(d,ni.ipv6Cidr,h.message,c);break}case"emoji":Vn(d,ni.emoji(),h.message,c);break;case"ulid":{Vn(d,ni.ulid,h.message,c);break}case"base64":{switch(c.base64Strategy){case"format:binary":{li(d,"binary",h.message,c);break}case"contentEncoding:base64":{d.contentEncoding="base64";break}case"pattern:zod":{Vn(d,ni.base64,h.message,c);break}}break}case"nanoid":Vn(d,ni.nanoid,h.message,c)}return d}function w1(u,c){return c.patternStrategy==="escape"?qD(u):u}var BD=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function qD(u){let c="";for(let d=0;d<u.length;d++)BD.has(u[d])||(c+="\\"),c+=u[d];return c}function li(u,c,d,h){var g;u.format||(g=u.anyOf)!=null&&g.some(b=>b.format)?(u.anyOf||(u.anyOf=[]),u.format&&(u.anyOf.push({format:u.format}),delete u.format),u.anyOf.push({format:c,...d&&h.errorMessages&&{errorMessage:{format:d}}})):u.format=c}function Vn(u,c,d,h){var g;u.pattern||(g=u.allOf)!=null&&g.some(b=>b.pattern)?(u.allOf||(u.allOf=[]),u.pattern&&(u.allOf.push({pattern:u.pattern}),delete u.pattern),u.allOf.push({pattern:gE(c,h),...d&&h.errorMessages&&{errorMessage:{pattern:d}}})):u.pattern=gE(c,h)}function gE(u,c){var d;if(!c.applyRegexFlags||!u.flags)return u.source;const h={i:u.flags.includes("i"),m:u.flags.includes("m"),s:u.flags.includes("s")},g=h.i?u.source.toLowerCase():u.source;let b="",_=!1,z=!1,w=!1;for(let O=0;O<g.length;O++){if(_){b+=g[O],_=!1;continue}if(h.i){if(z){if(g[O].match(/[a-z]/)){w?(b+=g[O],b+=`${g[O-2]}-${g[O]}`.toUpperCase(),w=!1):g[O+1]==="-"&&((d=g[O+2])!=null&&d.match(/[a-z]/))?(b+=g[O],w=!0):b+=`${g[O]}${g[O].toUpperCase()}`;continue}}else if(g[O].match(/[a-z]/)){b+=`[${g[O]}${g[O].toUpperCase()}]`;continue}}if(h.m){if(g[O]==="^"){b+=`(^|(?<=[\r
250
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const b of u.seen.entries()){const _=b[1];if(c===b[0]){g(b);continue}if(u.external){const w=u.external.registry.get(b[0])?.id;if(c!==b[0]&&w){g(b);continue}}if(u.metadataRegistry.get(b[0])?.id){g(b);continue}if(_.cycle){g(b);continue}if(_.count>1&&u.reused==="ref"){g(b);continue}}}function Ag(u,c){const d=u.seen.get(c);if(!d)throw new Error("Unprocessed schema. This is a bug in Zod.");const h=_=>{const z=u.seen.get(_),w=z.def??z.schema,O={...w};if(z.ref===null)return;const j=z.ref;if(z.ref=null,j){h(j);const Y=u.seen.get(j).schema;Y.$ref&&(u.target==="draft-07"||u.target==="draft-04"||u.target==="openapi-3.0")?(w.allOf=w.allOf??[],w.allOf.push(Y)):(Object.assign(w,Y),Object.assign(w,O))}z.isParent||u.override({zodSchema:_,jsonSchema:w,path:z.path??[]})};for(const _ of[...u.seen.entries()].reverse())h(_[0]);const g={};if(u.target==="draft-2020-12"?g.$schema="https://json-schema.org/draft/2020-12/schema":u.target==="draft-07"?g.$schema="http://json-schema.org/draft-07/schema#":u.target==="draft-04"?g.$schema="http://json-schema.org/draft-04/schema#":u.target,u.external?.uri){const _=u.external.registry.get(c)?.id;if(!_)throw new Error("Schema is missing an `id` property");g.$id=u.external.uri(_)}Object.assign(g,d.def??d.schema);const b=u.external?.defs??{};for(const _ of u.seen.entries()){const z=_[1];z.def&&z.defId&&(b[z.defId]=z.def)}u.external||Object.keys(b).length>0&&(u.target==="draft-2020-12"?g.$defs=b:g.definitions=b);try{const _=JSON.parse(JSON.stringify(g));return Object.defineProperty(_,"~standard",{value:{...c["~standard"],jsonSchema:{input:Og(c,"input"),output:Og(c,"output")}},enumerable:!1,writable:!1}),_}catch{throw new Error("Error converting schema to JSON.")}}function Ln(u,c){const d=c??{seen:new Set};if(d.seen.has(u))return!1;d.seen.add(u);const h=u._zod.def;if(h.type==="transform")return!0;if(h.type==="array")return Ln(h.element,d);if(h.type==="set")return Ln(h.valueType,d);if(h.type==="lazy")return Ln(h.getter(),d);if(h.type==="promise"||h.type==="optional"||h.type==="nonoptional"||h.type==="nullable"||h.type==="readonly"||h.type==="default"||h.type==="prefault")return Ln(h.innerType,d);if(h.type==="intersection")return Ln(h.left,d)||Ln(h.right,d);if(h.type==="record"||h.type==="map")return Ln(h.keyType,d)||Ln(h.valueType,d);if(h.type==="pipe")return Ln(h.in,d)||Ln(h.out,d);if(h.type==="object"){for(const g in h.shape)if(Ln(h.shape[g],d))return!0;return!1}if(h.type==="union"){for(const g of h.options)if(Ln(g,d))return!0;return!1}if(h.type==="tuple"){for(const g of h.items)if(Ln(g,d))return!0;return!!(h.rest&&Ln(h.rest,d))}return!1}const jO=(u,c={})=>d=>{const h=zg({...d,processors:c});return Kt(u,h),Tg(h,u),Ag(h,u)},Og=(u,c)=>d=>{const{libraryOptions:h,target:g}=d??{},b=zg({...h??{},target:g,io:c,processors:{}});return Kt(u,b),Tg(b,u),Ag(b,u)},BO={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},S_=(u,c,d,h)=>{const g=d;g.type="string";const{minimum:b,maximum:_,format:z,patterns:w,contentEncoding:O}=u._zod.bag;if(typeof b=="number"&&(g.minLength=b),typeof _=="number"&&(g.maxLength=_),z&&(g.format=BO[z]??z,g.format===""&&delete g.format),O&&(g.contentEncoding=O),w&&w.size>0){const j=[...w];j.length===1?g.pattern=j[0].source:j.length>1&&(g.allOf=[...j.map(Y=>({...c.target==="draft-07"||c.target==="draft-04"||c.target==="openapi-3.0"?{type:"string"}:{},pattern:Y.source}))])}},__=(u,c,d,h)=>{const g=d,{minimum:b,maximum:_,format:z,multipleOf:w,exclusiveMaximum:O,exclusiveMinimum:j}=u._zod.bag;typeof z=="string"&&z.includes("int")?g.type="integer":g.type="number",typeof j=="number"&&(c.target==="draft-04"||c.target==="openapi-3.0"?(g.minimum=j,g.exclusiveMinimum=!0):g.exclusiveMinimum=j),typeof b=="number"&&(g.minimum=b,typeof j=="number"&&c.target!=="draft-04"&&(j>=b?delete g.minimum:delete g.exclusiveMinimum)),typeof O=="number"&&(c.target==="draft-04"||c.target==="openapi-3.0"?(g.maximum=O,g.exclusiveMaximum=!0):g.exclusiveMaximum=O),typeof _=="number"&&(g.maximum=_,typeof O=="number"&&c.target!=="draft-04"&&(O<=_?delete g.maximum:delete g.exclusiveMaximum)),typeof w=="number"&&(g.multipleOf=w)},E_=(u,c,d,h)=>{d.type="boolean"},qO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},YO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},z_=(u,c,d,h)=>{c.target==="openapi-3.0"?(d.type="string",d.nullable=!0,d.enum=[null]):d.type="null"},LO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},VO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},T_=(u,c,d,h)=>{d.not={}},A_=(u,c,d,h)=>{},O_=(u,c,d,h)=>{},GO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},w_=(u,c,d,h)=>{const g=u._zod.def,b=q2(g.entries);b.every(_=>typeof _=="number")&&(d.type="number"),b.every(_=>typeof _=="string")&&(d.type="string"),d.enum=b},D_=(u,c,d,h)=>{const g=u._zod.def,b=[];for(const _ of g.values)if(_===void 0){if(c.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof _=="bigint"){if(c.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");b.push(Number(_))}else b.push(_);if(b.length!==0)if(b.length===1){const _=b[0];d.type=_===null?"null":typeof _,c.target==="draft-04"||c.target==="openapi-3.0"?d.enum=[_]:d.const=_}else b.every(_=>typeof _=="number")&&(d.type="number"),b.every(_=>typeof _=="string")&&(d.type="string"),b.every(_=>typeof _=="boolean")&&(d.type="boolean"),b.every(_=>_===null)&&(d.type="null"),d.enum=b},XO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},QO=(u,c,d,h)=>{const g=d,b=u._zod.pattern;if(!b)throw new Error("Pattern not found in template literal");g.type="string",g.pattern=b.source},JO=(u,c,d,h)=>{const g=d,b={type:"string",format:"binary",contentEncoding:"binary"},{minimum:_,maximum:z,mime:w}=u._zod.bag;_!==void 0&&(b.minLength=_),z!==void 0&&(b.maxLength=z),w?w.length===1?(b.contentMediaType=w[0],Object.assign(g,b)):g.anyOf=w.map(O=>({...b,contentMediaType:O})):Object.assign(g,b)},$O=(u,c,d,h)=>{d.type="boolean"},M_=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},kO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},x_=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},KO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},IO=(u,c,d,h)=>{if(c.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},C_=(u,c,d,h)=>{const g=d,b=u._zod.def,{minimum:_,maximum:z}=u._zod.bag;typeof _=="number"&&(g.minItems=_),typeof z=="number"&&(g.maxItems=z),g.type="array",g.items=Kt(b.element,c,{...h,path:[...h.path,"items"]})},R_=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="object",g.properties={};const _=b.shape;for(const O in _)g.properties[O]=Kt(_[O],c,{...h,path:[...h.path,"properties",O]});const z=new Set(Object.keys(_)),w=new Set([...z].filter(O=>{const j=b.shape[O]._zod;return c.io==="input"?j.optin===void 0:j.optout===void 0}));w.size>0&&(g.required=Array.from(w)),b.catchall?._zod.def.type==="never"?g.additionalProperties=!1:b.catchall?b.catchall&&(g.additionalProperties=Kt(b.catchall,c,{...h,path:[...h.path,"additionalProperties"]})):c.io==="output"&&(g.additionalProperties=!1)},U_=(u,c,d,h)=>{const g=u._zod.def,b=g.inclusive===!1,_=g.options.map((z,w)=>Kt(z,c,{...h,path:[...h.path,b?"oneOf":"anyOf",w]}));b?d.oneOf=_:d.anyOf=_},N_=(u,c,d,h)=>{const g=u._zod.def,b=Kt(g.left,c,{...h,path:[...h.path,"allOf",0]}),_=Kt(g.right,c,{...h,path:[...h.path,"allOf",1]}),z=O=>"allOf"in O&&Object.keys(O).length===1,w=[...z(b)?b.allOf:[b],...z(_)?_.allOf:[_]];d.allOf=w},FO=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="array";const _=c.target==="draft-2020-12"?"prefixItems":"items",z=c.target==="draft-2020-12"||c.target==="openapi-3.0"?"items":"additionalItems",w=b.items.map((ae,ne)=>Kt(ae,c,{...h,path:[...h.path,_,ne]})),O=b.rest?Kt(b.rest,c,{...h,path:[...h.path,z,...c.target==="openapi-3.0"?[b.items.length]:[]]}):null;c.target==="draft-2020-12"?(g.prefixItems=w,O&&(g.items=O)):c.target==="openapi-3.0"?(g.items={anyOf:w},O&&g.items.anyOf.push(O),g.minItems=w.length,O||(g.maxItems=w.length)):(g.items=w,O&&(g.additionalItems=O));const{minimum:j,maximum:Y}=u._zod.bag;typeof j=="number"&&(g.minItems=j),typeof Y=="number"&&(g.maxItems=Y)},Z_=(u,c,d,h)=>{const g=d,b=u._zod.def;g.type="object",(c.target==="draft-07"||c.target==="draft-2020-12")&&(g.propertyNames=Kt(b.keyType,c,{...h,path:[...h.path,"propertyNames"]})),g.additionalProperties=Kt(b.valueType,c,{...h,path:[...h.path,"additionalProperties"]})},H_=(u,c,d,h)=>{const g=u._zod.def,b=Kt(g.innerType,c,h),_=c.seen.get(u);c.target==="openapi-3.0"?(_.ref=g.innerType,d.nullable=!0):d.anyOf=[b,{type:"null"}]},j_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},B_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,d.default=JSON.parse(JSON.stringify(g.defaultValue))},q_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,c.io==="input"&&(d._prefault=JSON.parse(JSON.stringify(g.defaultValue)))},Y_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType;let _;try{_=g.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}d.default=_},L_=(u,c,d,h)=>{const g=u._zod.def,b=c.io==="input"?g.in._zod.def.type==="transform"?g.out:g.in:g.out;Kt(b,c,h);const _=c.seen.get(u);_.ref=b},V_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType,d.readOnly=!0},WO=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},G_=(u,c,d,h)=>{const g=u._zod.def;Kt(g.innerType,c,h);const b=c.seen.get(u);b.ref=g.innerType},X_=(u,c,d,h)=>{const g=u._zod.innerType;Kt(g,c,h);const b=c.seen.get(u);b.ref=g},Q_={string:S_,number:__,boolean:E_,bigint:qO,symbol:YO,null:z_,undefined:LO,void:VO,never:T_,any:A_,unknown:O_,date:GO,enum:w_,literal:D_,nan:XO,template_literal:QO,file:JO,success:$O,custom:M_,function:kO,transform:x_,map:KO,set:IO,array:C_,object:R_,union:U_,intersection:N_,tuple:FO,record:Z_,nullable:H_,nonoptional:j_,default:B_,prefault:q_,catch:Y_,pipe:L_,readonly:V_,promise:WO,optional:G_,lazy:X_};function PO(u,c){if("_idmap"in u){const h=u,g=zg({...c,processors:Q_}),b={};for(const w of h._idmap.entries()){const[O,j]=w;Kt(j,g)}const _={},z={registry:h,uri:c?.uri,defs:b};g.external=z;for(const w of h._idmap.entries()){const[O,j]=w;Tg(g,j),_[O]=Ag(g,j)}if(Object.keys(b).length>0){const w=g.target==="draft-2020-12"?"$defs":"definitions";_.__shared={[w]:b}}return{schemas:_}}const d=zg({...c,processors:Q_});return Kt(u,d),Tg(d,u),Ag(d,u)}const ew=K("ZodISODateTime",(u,c)=>{t3.init(u,c),ca.init(u,c)});function tw(u){return sO(ew,u)}const aw=K("ZodISODate",(u,c)=>{a3.init(u,c),ca.init(u,c)});function nw(u){return fO(aw,u)}const lw=K("ZodISOTime",(u,c)=>{n3.init(u,c),ca.init(u,c)});function uw(u){return dO(lw,u)}const iw=K("ZodISODuration",(u,c)=>{l3.init(u,c),ca.init(u,c)});function ow(u){return hO(iw,u)}const ru=K("ZodError",(u,c)=>{Q2.init(u,c),u.name="ZodError",Object.defineProperties(u,{format:{value:d=>JA(u,d)},flatten:{value:d=>QA(u,d)},addIssue:{value:d=>{u.issues.push(d),u.message=JSON.stringify(u.issues,s1,2)}},addIssues:{value:d=>{u.issues.push(...d),u.message=JSON.stringify(u.issues,s1,2)}},isEmpty:{get(){return u.issues.length===0}}})},{Parent:Error}),cw=p1(ru),rw=m1(ru),sw=gg(ru),J_=vg(ru),fw=KA(ru),dw=IA(ru),hw=FA(ru),pw=WA(ru),mw=PA(ru),yw=e4(ru),gw=t4(ru),vw=a4(ru),It=K("ZodType",(u,c)=>(Lt.init(u,c),Object.assign(u["~standard"],{jsonSchema:{input:Og(u,"input"),output:Og(u,"output")}}),u.toJSONSchema=jO(u,{}),u.def=c,u.type=c.type,Object.defineProperty(u,"_def",{value:c}),u.check=(...d)=>u.clone(ws(c,{checks:[...c.checks??[],...d.map(h=>typeof h=="function"?{_zod:{check:h,def:{check:"custom"},onattach:[]}}:h)]})),u.clone=(d,h)=>Xc(u,d,h),u.brand=()=>u,u.register=((d,h)=>(d.add(u,h),u)),u.parse=(d,h)=>cw(u,d,h,{callee:u.parse}),u.safeParse=(d,h)=>sw(u,d,h),u.parseAsync=async(d,h)=>rw(u,d,h,{callee:u.parseAsync}),u.safeParseAsync=async(d,h)=>J_(u,d,h),u.spa=u.safeParseAsync,u.encode=(d,h)=>fw(u,d,h),u.decode=(d,h)=>dw(u,d,h),u.encodeAsync=async(d,h)=>hw(u,d,h),u.decodeAsync=async(d,h)=>pw(u,d,h),u.safeEncode=(d,h)=>mw(u,d,h),u.safeDecode=(d,h)=>yw(u,d,h),u.safeEncodeAsync=async(d,h)=>gw(u,d,h),u.safeDecodeAsync=async(d,h)=>vw(u,d,h),u.refine=(d,h)=>u.check(dD(d,h)),u.superRefine=d=>u.check(hD(d)),u.overwrite=d=>u.check(Od(d)),u.optional=()=>aE(u),u.nullable=()=>nE(u),u.nullish=()=>aE(nE(u)),u.nonoptional=d=>lD(u,d),u.array=()=>Jc(u),u.or=d=>su([u,d]),u.and=d=>kw(u,d),u.transform=d=>uE(u,Ww(d)),u.default=d=>tD(u,d),u.prefault=d=>nD(u,d),u.catch=d=>iD(u,d),u.pipe=d=>uE(u,d),u.readonly=()=>rD(u),u.describe=d=>{const h=u.clone();return lm.add(h,{description:d}),h},Object.defineProperty(u,"description",{get(){return lm.get(u)?.description},configurable:!0}),u.meta=(...d)=>{if(d.length===0)return lm.get(u);const h=u.clone();return lm.add(h,d[0]),h},u.isOptional=()=>u.safeParse(void 0).success,u.isNullable=()=>u.safeParse(null).success,u)),$_=K("_ZodString",(u,c)=>{y1.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>S_(u,h,g);const d=u._zod.bag;u.format=d.format??null,u.minLength=d.minimum??null,u.maxLength=d.maximum??null,u.regex=(...h)=>u.check(_O(...h)),u.includes=(...h)=>u.check(TO(...h)),u.startsWith=(...h)=>u.check(AO(...h)),u.endsWith=(...h)=>u.check(OO(...h)),u.min=(...h)=>u.check(Eg(...h)),u.max=(...h)=>u.check(v_(...h)),u.length=(...h)=>u.check(b_(...h)),u.nonempty=(...h)=>u.check(Eg(1,...h)),u.lowercase=h=>u.check(EO(h)),u.uppercase=h=>u.check(zO(h)),u.trim=()=>u.check(DO()),u.normalize=(...h)=>u.check(wO(...h)),u.toLowerCase=()=>u.check(MO()),u.toUpperCase=()=>u.check(xO()),u.slugify=()=>u.check(CO())}),bw=K("ZodString",(u,c)=>{y1.init(u,c),$_.init(u,c),u.email=d=>u.check(G3(Sw,d)),u.url=d=>u.check(k3(_w,d)),u.jwt=d=>u.check(rO(Hw,d)),u.emoji=d=>u.check(K3(Ew,d)),u.guid=d=>u.check(p_(k_,d)),u.uuid=d=>u.check(X3(wg,d)),u.uuidv4=d=>u.check(Q3(wg,d)),u.uuidv6=d=>u.check(J3(wg,d)),u.uuidv7=d=>u.check($3(wg,d)),u.nanoid=d=>u.check(I3(zw,d)),u.guid=d=>u.check(p_(k_,d)),u.cuid=d=>u.check(F3(Tw,d)),u.cuid2=d=>u.check(W3(Aw,d)),u.ulid=d=>u.check(P3(Ow,d)),u.base64=d=>u.check(iO(Uw,d)),u.base64url=d=>u.check(oO(Nw,d)),u.xid=d=>u.check(eO(ww,d)),u.ksuid=d=>u.check(tO(Dw,d)),u.ipv4=d=>u.check(aO(Mw,d)),u.ipv6=d=>u.check(nO(xw,d)),u.cidrv4=d=>u.check(lO(Cw,d)),u.cidrv6=d=>u.check(uO(Rw,d)),u.e164=d=>u.check(cO(Zw,d)),u.datetime=d=>u.check(tw(d)),u.date=d=>u.check(nw(d)),u.time=d=>u.check(uw(d)),u.duration=d=>u.check(ow(d))});function ve(u){return V3(bw,u)}const ca=K("ZodStringFormat",(u,c)=>{aa.init(u,c),$_.init(u,c)}),Sw=K("ZodEmail",(u,c)=>{J4.init(u,c),ca.init(u,c)}),k_=K("ZodGUID",(u,c)=>{X4.init(u,c),ca.init(u,c)}),wg=K("ZodUUID",(u,c)=>{Q4.init(u,c),ca.init(u,c)}),_w=K("ZodURL",(u,c)=>{$4.init(u,c),ca.init(u,c)}),Ew=K("ZodEmoji",(u,c)=>{k4.init(u,c),ca.init(u,c)}),zw=K("ZodNanoID",(u,c)=>{K4.init(u,c),ca.init(u,c)}),Tw=K("ZodCUID",(u,c)=>{I4.init(u,c),ca.init(u,c)}),Aw=K("ZodCUID2",(u,c)=>{F4.init(u,c),ca.init(u,c)}),Ow=K("ZodULID",(u,c)=>{W4.init(u,c),ca.init(u,c)}),ww=K("ZodXID",(u,c)=>{P4.init(u,c),ca.init(u,c)}),Dw=K("ZodKSUID",(u,c)=>{e3.init(u,c),ca.init(u,c)}),Mw=K("ZodIPv4",(u,c)=>{u3.init(u,c),ca.init(u,c)}),xw=K("ZodIPv6",(u,c)=>{i3.init(u,c),ca.init(u,c)}),Cw=K("ZodCIDRv4",(u,c)=>{o3.init(u,c),ca.init(u,c)}),Rw=K("ZodCIDRv6",(u,c)=>{c3.init(u,c),ca.init(u,c)}),Uw=K("ZodBase64",(u,c)=>{r3.init(u,c),ca.init(u,c)}),Nw=K("ZodBase64URL",(u,c)=>{f3.init(u,c),ca.init(u,c)}),Zw=K("ZodE164",(u,c)=>{d3.init(u,c),ca.init(u,c)}),Hw=K("ZodJWT",(u,c)=>{p3.init(u,c),ca.init(u,c)}),K_=K("ZodNumber",(u,c)=>{t_.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>__(u,h,g),u.gt=(h,g)=>u.check(y_(h,g)),u.gte=(h,g)=>u.check(b1(h,g)),u.min=(h,g)=>u.check(b1(h,g)),u.lt=(h,g)=>u.check(m_(h,g)),u.lte=(h,g)=>u.check(v1(h,g)),u.max=(h,g)=>u.check(v1(h,g)),u.int=h=>u.check(F_(h)),u.safe=h=>u.check(F_(h)),u.positive=h=>u.check(y_(0,h)),u.nonnegative=h=>u.check(b1(0,h)),u.negative=h=>u.check(m_(0,h)),u.nonpositive=h=>u.check(v1(0,h)),u.multipleOf=(h,g)=>u.check(g_(h,g)),u.step=(h,g)=>u.check(g_(h,g)),u.finite=()=>u;const d=u._zod.bag;u.minValue=Math.max(d.minimum??Number.NEGATIVE_INFINITY,d.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,u.maxValue=Math.min(d.maximum??Number.POSITIVE_INFINITY,d.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,u.isInt=(d.format??"").includes("int")||Number.isSafeInteger(d.multipleOf??.5),u.isFinite=!0,u.format=d.format??null});function I_(u){return pO(K_,u)}const jw=K("ZodNumberFormat",(u,c)=>{m3.init(u,c),K_.init(u,c)});function F_(u){return mO(jw,u)}const Bw=K("ZodBoolean",(u,c)=>{y3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>E_(u,d,h)});function xn(u){return yO(Bw,u)}const qw=K("ZodNull",(u,c)=>{g3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>z_(u,d,h)});function Yw(u){return gO(qw,u)}const Lw=K("ZodAny",(u,c)=>{v3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>A_()});function S1(){return vO(Lw)}const Vw=K("ZodUnknown",(u,c)=>{b3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>O_()});function Bi(){return bO(Vw)}const Gw=K("ZodNever",(u,c)=>{S3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>T_(u,d,h)});function W_(u){return SO(Gw,u)}const Xw=K("ZodArray",(u,c)=>{_3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>C_(u,d,h,g),u.element=c.element,u.min=(d,h)=>u.check(Eg(d,h)),u.nonempty=d=>u.check(Eg(1,d)),u.max=(d,h)=>u.check(v_(d,h)),u.length=(d,h)=>u.check(b_(d,h)),u.unwrap=()=>u.element});function Jc(u,c){return RO(Xw,u,c)}const P_=K("ZodObject",(u,c)=>{z3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>R_(u,d,h,g),gt(u,"shape",()=>c.shape),u.keyof=()=>z1(Object.keys(u._zod.def.shape)),u.catchall=d=>u.clone({...u._zod.def,catchall:d}),u.passthrough=()=>u.clone({...u._zod.def,catchall:Bi()}),u.loose=()=>u.clone({...u._zod.def,catchall:Bi()}),u.strict=()=>u.clone({...u._zod.def,catchall:W_()}),u.strip=()=>u.clone({...u._zod.def,catchall:void 0}),u.extend=d=>YA(u,d),u.safeExtend=d=>LA(u,d),u.merge=d=>VA(u,d),u.pick=d=>BA(u,d),u.omit=d=>qA(u,d),u.partial=(...d)=>GA(tE,u,d[0]),u.required=(...d)=>XA(lE,u,d[0])});function Ea(u,c){const d={type:"object",shape:u??{},...Se(c)};return new P_(d)}function ra(u,c){return new P_({type:"object",shape:u,catchall:W_(),...Se(c)})}const eE=K("ZodUnion",(u,c)=>{i_.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>U_(u,d,h,g),u.options=c.options});function su(u,c){return new eE({type:"union",options:u,...Se(c)})}const Qw=K("ZodDiscriminatedUnion",(u,c)=>{eE.init(u,c),T3.init(u,c)});function Jw(u,c,d){return new Qw({type:"union",options:c,discriminator:u,...Se(d)})}const $w=K("ZodIntersection",(u,c)=>{A3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>N_(u,d,h,g)});function kw(u,c){return new $w({type:"intersection",left:u,right:c})}const Kw=K("ZodRecord",(u,c)=>{O3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>Z_(u,d,h,g),u.keyType=c.keyType,u.valueType=c.valueType});function _1(u,c,d){return new Kw({type:"record",keyType:u,valueType:c,...Se(d)})}const E1=K("ZodEnum",(u,c)=>{w3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(h,g,b)=>w_(u,h,g),u.enum=c.entries,u.options=Object.values(c.entries);const d=new Set(Object.keys(c.entries));u.extract=(h,g)=>{const b={};for(const _ of h)if(d.has(_))b[_]=c.entries[_];else throw new Error(`Key ${_} not found in enum`);return new E1({...c,checks:[],...Se(g),entries:b})},u.exclude=(h,g)=>{const b={...c.entries};for(const _ of h)if(d.has(_))delete b[_];else throw new Error(`Key ${_} not found in enum`);return new E1({...c,checks:[],...Se(g),entries:b})}});function z1(u,c){const d=Array.isArray(u)?Object.fromEntries(u.map(h=>[h,h])):u;return new E1({type:"enum",entries:d,...Se(c)})}const Iw=K("ZodLiteral",(u,c)=>{D3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>D_(u,d,h),u.values=new Set(c.values),Object.defineProperty(u,"value",{get(){if(c.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return c.values[0]}})});function at(u,c){return new Iw({type:"literal",values:Array.isArray(u)?u:[u],...Se(c)})}const Fw=K("ZodTransform",(u,c)=>{M3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>x_(u,d),u._zod.parse=(d,h)=>{if(h.direction==="backward")throw new j2(u.constructor.name);d.addIssue=b=>{if(typeof b=="string")d.issues.push(nm(b,d.value,c));else{const _=b;_.fatal&&(_.continue=!1),_.code??(_.code="custom"),_.input??(_.input=d.value),_.inst??(_.inst=u),d.issues.push(nm(_))}};const g=c.transform(d.value,d);return g instanceof Promise?g.then(b=>(d.value=b,d)):(d.value=g,d)}});function Ww(u){return new Fw({type:"transform",transform:u})}const tE=K("ZodOptional",(u,c)=>{x3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>G_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function aE(u){return new tE({type:"optional",innerType:u})}const Pw=K("ZodNullable",(u,c)=>{C3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>H_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function nE(u){return new Pw({type:"nullable",innerType:u})}const eD=K("ZodDefault",(u,c)=>{R3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>B_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType,u.removeDefault=u.unwrap});function tD(u,c){return new eD({type:"default",innerType:u,get defaultValue(){return typeof c=="function"?c():G2(c)}})}const aD=K("ZodPrefault",(u,c)=>{U3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>q_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function nD(u,c){return new aD({type:"prefault",innerType:u,get defaultValue(){return typeof c=="function"?c():G2(c)}})}const lE=K("ZodNonOptional",(u,c)=>{N3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>j_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function lD(u,c){return new lE({type:"nonoptional",innerType:u,...Se(c)})}const uD=K("ZodCatch",(u,c)=>{Z3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>Y_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType,u.removeCatch=u.unwrap});function iD(u,c){return new uD({type:"catch",innerType:u,catchValue:typeof c=="function"?c:()=>c})}const oD=K("ZodPipe",(u,c)=>{H3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>L_(u,d,h,g),u.in=c.in,u.out=c.out});function uE(u,c){return new oD({type:"pipe",in:u,out:c})}const cD=K("ZodReadonly",(u,c)=>{j3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>V_(u,d,h,g),u.unwrap=()=>u._zod.def.innerType});function rD(u){return new cD({type:"readonly",innerType:u})}const sD=K("ZodLazy",(u,c)=>{B3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>X_(u,d,h,g),u.unwrap=()=>u._zod.def.getter()});function fD(u){return new sD({type:"lazy",getter:u})}const T1=K("ZodCustom",(u,c)=>{q3.init(u,c),It.init(u,c),u._zod.processJSONSchema=(d,h,g)=>M_(u,d)});function iE(u,c){return UO(T1,u??(()=>!0),c)}function dD(u,c={}){return NO(T1,u,c)}function hD(u){return ZO(u)}function Dg(u,c={error:`Input not instance of ${u.name}`}){const d=new T1({type:"custom",check:"custom",fn:h=>h instanceof u,abort:!0,...Se(c)});return d._zod.bag.Class=u,d}var um;(function(u){u.assertEqual=g=>{};function c(g){}u.assertIs=c;function d(g){throw new Error}u.assertNever=d,u.arrayToEnum=g=>{const b={};for(const _ of g)b[_]=_;return b},u.getValidEnumValues=g=>{const b=u.objectKeys(g).filter(z=>typeof g[g[z]]!="number"),_={};for(const z of b)_[z]=g[z];return u.objectValues(_)},u.objectValues=g=>u.objectKeys(g).map(function(b){return g[b]}),u.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const b=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&b.push(_);return b},u.find=(g,b)=>{for(const _ of g)if(b(_))return _},u.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function h(g,b=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(b)}u.joinValues=h,u.jsonStringifyReplacer=(g,b)=>typeof b=="bigint"?b.toString():b})(um||(um={}));var oE;(function(u){u.mergeShapes=(c,d)=>({...c,...d})})(oE||(oE={})),um.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),um.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Mg extends Error{get errors(){return this.issues}constructor(c){super(),this.issues=[],this.addIssue=h=>{this.issues=[...this.issues,h]},this.addIssues=(h=[])=>{this.issues=[...this.issues,...h]};const d=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,d):this.__proto__=d,this.name="ZodError",this.issues=c}format(c){const d=c||function(b){return b.message},h={_errors:[]},g=b=>{for(const _ of b.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)h._errors.push(d(_));else{let z=h,w=0;for(;w<_.path.length;){const O=_.path[w];w===_.path.length-1?(z[O]=z[O]||{_errors:[]},z[O]._errors.push(d(_))):z[O]=z[O]||{_errors:[]},z=z[O],w++}}};return g(this),h}static assert(c){if(!(c instanceof Mg))throw new Error(`Not a ZodError: ${c}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,um.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(c=d=>d.message){const d=Object.create(null),h=[];for(const g of this.issues)if(g.path.length>0){const b=g.path[0];d[b]=d[b]||[],d[b].push(c(g))}else h.push(c(g));return{formErrors:h,fieldErrors:d}}get formErrors(){return this.flatten()}}Mg.create=u=>new Mg(u);var cE;(function(u){u.errToObj=c=>typeof c=="string"?{message:c}:c||{},u.toString=c=>typeof c=="string"?c:c?.message})(cE||(cE={}));var Ve;(function(u){u.ZodString="ZodString",u.ZodNumber="ZodNumber",u.ZodNaN="ZodNaN",u.ZodBigInt="ZodBigInt",u.ZodBoolean="ZodBoolean",u.ZodDate="ZodDate",u.ZodSymbol="ZodSymbol",u.ZodUndefined="ZodUndefined",u.ZodNull="ZodNull",u.ZodAny="ZodAny",u.ZodUnknown="ZodUnknown",u.ZodNever="ZodNever",u.ZodVoid="ZodVoid",u.ZodArray="ZodArray",u.ZodObject="ZodObject",u.ZodUnion="ZodUnion",u.ZodDiscriminatedUnion="ZodDiscriminatedUnion",u.ZodIntersection="ZodIntersection",u.ZodTuple="ZodTuple",u.ZodRecord="ZodRecord",u.ZodMap="ZodMap",u.ZodSet="ZodSet",u.ZodFunction="ZodFunction",u.ZodLazy="ZodLazy",u.ZodLiteral="ZodLiteral",u.ZodEnum="ZodEnum",u.ZodEffects="ZodEffects",u.ZodNativeEnum="ZodNativeEnum",u.ZodOptional="ZodOptional",u.ZodNullable="ZodNullable",u.ZodDefault="ZodDefault",u.ZodCatch="ZodCatch",u.ZodPromise="ZodPromise",u.ZodBranded="ZodBranded",u.ZodPipeline="ZodPipeline",u.ZodReadonly="ZodReadonly"})(Ve||(Ve={}));var im=({prefix:u,size:c=16,alphabet:d="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:h="-"}={})=>{const g=()=>{const b=d.length,_=new Array(c);for(let z=0;z<c;z++)_[z]=d[Math.random()*b|0];return _.join("")};if(u==null)return g;if(d.includes(h))throw new AA({argument:"separator",message:`The separator "${h}" must not be part of the alphabet "${d}".`});return()=>`${u}${h}${g()}`},pD=im();function rE(u=globalThis){var c,d,h;return u.window?"runtime/browser":(c=u.navigator)!=null&&c.userAgent?`runtime/${u.navigator.userAgent.toLowerCase()}`:(h=(d=u.process)==null?void 0:d.versions)!=null&&h.node?`runtime/node.js/${u.process.version.substring(0)}`:u.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function Ds(u){if(u==null)return{};const c={};if(u instanceof Headers)u.forEach((d,h)=>{c[h.toLowerCase()]=d});else{Array.isArray(u)||(u=Object.entries(u));for(const[d,h]of u)h!=null&&(c[d.toLowerCase()]=h)}return c}function sE(u,...c){const d=new Headers(Ds(u)),h=d.get("user-agent")||"";return d.set("user-agent",[h,...c].filter(Boolean).join(" ")),Object.fromEntries(d.entries())}var mD=/"__proto__"\s*:/,yD=/"constructor"\s*:/;function fE(u){const c=JSON.parse(u);return c===null||typeof c!="object"||mD.test(u)===!1&&yD.test(u)===!1?c:gD(c)}function gD(u){let c=[u];for(;c.length;){const d=c;c=[];for(const h of d){if(Object.prototype.hasOwnProperty.call(h,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(h,"constructor")&&Object.prototype.hasOwnProperty.call(h.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const g in h){const b=h[g];b&&typeof b=="object"&&c.push(b)}}}return u}function vD(u){const{stackTraceLimit:c}=Error;try{Error.stackTraceLimit=0}catch{return fE(u)}try{return fE(u)}finally{Error.stackTraceLimit=c}}var xg=Symbol.for("vercel.ai.validator");function bD(u){return{[xg]:!0,validate:u}}function SD(u){return typeof u=="object"&&u!==null&&xg in u&&u[xg]===!0&&"validate"in u}function _D(u){let c;return()=>(c==null&&(c=u()),c)}function ED(u){return SD(u)?u:typeof u=="function"?u():zD(u)}function zD(u){return bD(async c=>{const d=await u["~standard"].validate(c);return d.issues==null?{success:!0,value:d.value}:{success:!1,error:new pg({value:c,cause:d.issues})}})}async function dE({value:u,schema:c}){const d=await A1({value:u,schema:c});if(!d.success)throw pg.wrap({value:u,cause:d.error});return d.value}async function A1({value:u,schema:c}){const d=ED(c);try{if(d.validate==null)return{success:!0,value:u,rawValue:u};const h=await d.validate(u);return h.success?{success:!0,value:h.value,rawValue:u}:{success:!1,error:pg.wrap({value:u,cause:h.error}),rawValue:u}}catch(h){return{success:!1,error:pg.wrap({value:u,cause:h}),rawValue:u}}}async function Cg({text:u,schema:c}){try{const d=vD(u);return c==null?{success:!0,value:d,rawValue:d}:await A1({value:d,schema:c})}catch(d){return{success:!1,error:R2.isInstance(d)?d:new R2({text:u,cause:d}),rawValue:void 0}}}function TD({stream:u,schema:c}){return u.pipeThrough(new TextDecoderStream).pipeThrough(new CA).pipeThrough(new TransformStream({async transform({data:d},h){d!=="[DONE]"&&h.enqueue(await Cg({text:d,schema:c}))}}))}async function wd(u){return typeof u=="function"&&(u=u()),Promise.resolve(u)}function Rg(u){if(u.type==="object"){u.additionalProperties=!1;const c=u.properties;if(c!=null)for(const d in c)c[d]=Rg(c[d])}return u.type==="array"&&u.items!=null&&(Array.isArray(u.items)?u.items=u.items.map(c=>Rg(c)):u.items=Rg(u.items)),u}var AD=(u,c)=>{let d=0;for(;d<u.length&&d<c.length&&u[d]===c[d];d++);return[(u.length-d).toString(),...c.slice(d)].join("/")},OD=Symbol("Let zodToJsonSchema decide on which parser to use"),hE={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},wD=u=>typeof u=="string"?{...hE,name:u}:{...hE,...u};function Cl(){return{}}function DD(u,c){var d,h,g;const b={type:"array"};return(d=u.type)!=null&&d._def&&((g=(h=u.type)==null?void 0:h._def)==null?void 0:g.typeName)!==Ve.ZodAny&&(b.items=Rt(u.type._def,{...c,currentPath:[...c.currentPath,"items"]})),u.minLength&&(b.minItems=u.minLength.value),u.maxLength&&(b.maxItems=u.maxLength.value),u.exactLength&&(b.minItems=u.exactLength.value,b.maxItems=u.exactLength.value),b}function MD(u){const c={type:"integer",format:"int64"};if(!u.checks)return c;for(const d of u.checks)switch(d.kind){case"min":d.inclusive?c.minimum=d.value:c.exclusiveMinimum=d.value;break;case"max":d.inclusive?c.maximum=d.value:c.exclusiveMaximum=d.value;break;case"multipleOf":c.multipleOf=d.value;break}return c}function xD(){return{type:"boolean"}}function pE(u,c){return Rt(u.type._def,c)}var CD=(u,c)=>Rt(u.innerType._def,c);function mE(u,c,d){const h=d??c.dateStrategy;if(Array.isArray(h))return{anyOf:h.map((g,b)=>mE(u,c,g))};switch(h){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return RD(u)}}var RD=u=>{const c={type:"integer",format:"unix-time"};for(const d of u.checks)switch(d.kind){case"min":c.minimum=d.value;break;case"max":c.maximum=d.value;break}return c};function UD(u,c){return{...Rt(u.innerType._def,c),default:u.defaultValue()}}function ND(u,c){return c.effectStrategy==="input"?Rt(u.schema._def,c):Cl()}function ZD(u){return{type:"string",enum:Array.from(u.values)}}var HD=u=>"type"in u&&u.type==="string"?!1:"allOf"in u;function jD(u,c){const d=[Rt(u.left._def,{...c,currentPath:[...c.currentPath,"allOf","0"]}),Rt(u.right._def,{...c,currentPath:[...c.currentPath,"allOf","1"]})].filter(g=>!!g),h=[];return d.forEach(g=>{if(HD(g))h.push(...g.allOf);else{let b=g;if("additionalProperties"in g&&g.additionalProperties===!1){const{additionalProperties:_,...z}=g;b=z}h.push(b)}}),h.length?{allOf:h}:void 0}function BD(u){const c=typeof u.value;return c!=="bigint"&&c!=="number"&&c!=="boolean"&&c!=="string"?{type:Array.isArray(u.value)?"array":"object"}:{type:c==="bigint"?"integer":c,const:u.value}}var O1=void 0,ni={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(O1===void 0&&(O1=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),O1),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function yE(u,c){const d={type:"string"};if(u.checks)for(const h of u.checks)switch(h.kind){case"min":d.minLength=typeof d.minLength=="number"?Math.max(d.minLength,h.value):h.value;break;case"max":d.maxLength=typeof d.maxLength=="number"?Math.min(d.maxLength,h.value):h.value;break;case"email":switch(c.emailStrategy){case"format:email":li(d,"email",h.message,c);break;case"format:idn-email":li(d,"idn-email",h.message,c);break;case"pattern:zod":Vn(d,ni.email,h.message,c);break}break;case"url":li(d,"uri",h.message,c);break;case"uuid":li(d,"uuid",h.message,c);break;case"regex":Vn(d,h.regex,h.message,c);break;case"cuid":Vn(d,ni.cuid,h.message,c);break;case"cuid2":Vn(d,ni.cuid2,h.message,c);break;case"startsWith":Vn(d,RegExp(`^${w1(h.value,c)}`),h.message,c);break;case"endsWith":Vn(d,RegExp(`${w1(h.value,c)}$`),h.message,c);break;case"datetime":li(d,"date-time",h.message,c);break;case"date":li(d,"date",h.message,c);break;case"time":li(d,"time",h.message,c);break;case"duration":li(d,"duration",h.message,c);break;case"length":d.minLength=typeof d.minLength=="number"?Math.max(d.minLength,h.value):h.value,d.maxLength=typeof d.maxLength=="number"?Math.min(d.maxLength,h.value):h.value;break;case"includes":{Vn(d,RegExp(w1(h.value,c)),h.message,c);break}case"ip":{h.version!=="v6"&&li(d,"ipv4",h.message,c),h.version!=="v4"&&li(d,"ipv6",h.message,c);break}case"base64url":Vn(d,ni.base64url,h.message,c);break;case"jwt":Vn(d,ni.jwt,h.message,c);break;case"cidr":{h.version!=="v6"&&Vn(d,ni.ipv4Cidr,h.message,c),h.version!=="v4"&&Vn(d,ni.ipv6Cidr,h.message,c);break}case"emoji":Vn(d,ni.emoji(),h.message,c);break;case"ulid":{Vn(d,ni.ulid,h.message,c);break}case"base64":{switch(c.base64Strategy){case"format:binary":{li(d,"binary",h.message,c);break}case"contentEncoding:base64":{d.contentEncoding="base64";break}case"pattern:zod":{Vn(d,ni.base64,h.message,c);break}}break}case"nanoid":Vn(d,ni.nanoid,h.message,c)}return d}function w1(u,c){return c.patternStrategy==="escape"?YD(u):u}var qD=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function YD(u){let c="";for(let d=0;d<u.length;d++)qD.has(u[d])||(c+="\\"),c+=u[d];return c}function li(u,c,d,h){var g;u.format||(g=u.anyOf)!=null&&g.some(b=>b.format)?(u.anyOf||(u.anyOf=[]),u.format&&(u.anyOf.push({format:u.format}),delete u.format),u.anyOf.push({format:c,...d&&h.errorMessages&&{errorMessage:{format:d}}})):u.format=c}function Vn(u,c,d,h){var g;u.pattern||(g=u.allOf)!=null&&g.some(b=>b.pattern)?(u.allOf||(u.allOf=[]),u.pattern&&(u.allOf.push({pattern:u.pattern}),delete u.pattern),u.allOf.push({pattern:gE(c,h),...d&&h.errorMessages&&{errorMessage:{pattern:d}}})):u.pattern=gE(c,h)}function gE(u,c){var d;if(!c.applyRegexFlags||!u.flags)return u.source;const h={i:u.flags.includes("i"),m:u.flags.includes("m"),s:u.flags.includes("s")},g=h.i?u.source.toLowerCase():u.source;let b="",_=!1,z=!1,w=!1;for(let O=0;O<g.length;O++){if(_){b+=g[O],_=!1;continue}if(h.i){if(z){if(g[O].match(/[a-z]/)){w?(b+=g[O],b+=`${g[O-2]}-${g[O]}`.toUpperCase(),w=!1):g[O+1]==="-"&&((d=g[O+2])!=null&&d.match(/[a-z]/))?(b+=g[O],w=!0):b+=`${g[O]}${g[O].toUpperCase()}`;continue}}else if(g[O].match(/[a-z]/)){b+=`[${g[O]}${g[O].toUpperCase()}]`;continue}}if(h.m){if(g[O]==="^"){b+=`(^|(?<=[\r
251
251
  ]))`;continue}else if(g[O]==="$"){b+=`($|(?=[\r
252
252
  ]))`;continue}}if(h.s&&g[O]==="."){b+=z?`${g[O]}\r
253
253
  `:`[${g[O]}\r
254
- ]`;continue}b+=g[O],g[O]==="\\"?_=!0:z&&g[O]==="]"?z=!1:!z&&g[O]==="["&&(z=!0)}try{new RegExp(b)}catch{return console.warn(`Could not convert regex pattern at ${c.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),u.source}return b}function vE(u,c){var d,h,g,b,_,z;const w={type:"object",additionalProperties:(d=Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"additionalProperties"]}))!=null?d:c.allowedAdditionalProperties};if(((h=u.keyType)==null?void 0:h._def.typeName)===Ve.ZodString&&((g=u.keyType._def.checks)!=null&&g.length)){const{type:O,...j}=yE(u.keyType._def,c);return{...w,propertyNames:j}}else{if(((b=u.keyType)==null?void 0:b._def.typeName)===Ve.ZodEnum)return{...w,propertyNames:{enum:u.keyType._def.values}};if(((_=u.keyType)==null?void 0:_._def.typeName)===Ve.ZodBranded&&u.keyType._def.type._def.typeName===Ve.ZodString&&((z=u.keyType._def.type._def.checks)!=null&&z.length)){const{type:O,...j}=pE(u.keyType._def,c);return{...w,propertyNames:j}}}return w}function YD(u,c){if(c.mapStrategy==="record")return vE(u,c);const d=Rt(u.keyType._def,{...c,currentPath:[...c.currentPath,"items","items","0"]})||Cl(),h=Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"items","items","1"]})||Cl();return{type:"array",maxItems:125,items:{type:"array",items:[d,h],minItems:2,maxItems:2}}}function LD(u){const c=u.values,h=Object.keys(u.values).filter(b=>typeof c[c[b]]!="number").map(b=>c[b]),g=Array.from(new Set(h.map(b=>typeof b)));return{type:g.length===1?g[0]==="string"?"string":"number":["string","number"],enum:h}}function VD(){return{not:Cl()}}function GD(){return{type:"null"}}var D1={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function XD(u,c){const d=u.options instanceof Map?Array.from(u.options.values()):u.options;if(d.every(h=>h._def.typeName in D1&&(!h._def.checks||!h._def.checks.length))){const h=d.reduce((g,b)=>{const _=D1[b._def.typeName];return _&&!g.includes(_)?[...g,_]:g},[]);return{type:h.length>1?h:h[0]}}else if(d.every(h=>h._def.typeName==="ZodLiteral"&&!h.description)){const h=d.reduce((g,b)=>{const _=typeof b._def.value;switch(_){case"string":case"number":case"boolean":return[...g,_];case"bigint":return[...g,"integer"];case"object":if(b._def.value===null)return[...g,"null"];case"symbol":case"undefined":case"function":default:return g}},[]);if(h.length===d.length){const g=h.filter((b,_,z)=>z.indexOf(b)===_);return{type:g.length>1?g:g[0],enum:d.reduce((b,_)=>b.includes(_._def.value)?b:[...b,_._def.value],[])}}}else if(d.every(h=>h._def.typeName==="ZodEnum"))return{type:"string",enum:d.reduce((h,g)=>[...h,...g._def.values.filter(b=>!h.includes(b))],[])};return QD(u,c)}var QD=(u,c)=>{const d=(u.options instanceof Map?Array.from(u.options.values()):u.options).map((h,g)=>Rt(h._def,{...c,currentPath:[...c.currentPath,"anyOf",`${g}`]})).filter(h=>!!h&&(!c.strictUnions||typeof h=="object"&&Object.keys(h).length>0));return d.length?{anyOf:d}:void 0};function JD(u,c){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(u.innerType._def.typeName)&&(!u.innerType._def.checks||!u.innerType._def.checks.length))return{type:[D1[u.innerType._def.typeName],"null"]};const d=Rt(u.innerType._def,{...c,currentPath:[...c.currentPath,"anyOf","0"]});return d&&{anyOf:[d,{type:"null"}]}}function $D(u){const c={type:"number"};if(!u.checks)return c;for(const d of u.checks)switch(d.kind){case"int":c.type="integer";break;case"min":d.inclusive?c.minimum=d.value:c.exclusiveMinimum=d.value;break;case"max":d.inclusive?c.maximum=d.value:c.exclusiveMaximum=d.value;break;case"multipleOf":c.multipleOf=d.value;break}return c}function kD(u,c){const d={type:"object",properties:{}},h=[],g=u.shape();for(const _ in g){let z=g[_];if(z===void 0||z._def===void 0)continue;const w=ID(z),O=Rt(z._def,{...c,currentPath:[...c.currentPath,"properties",_],propertyPath:[...c.currentPath,"properties",_]});O!==void 0&&(d.properties[_]=O,w||h.push(_))}h.length&&(d.required=h);const b=KD(u,c);return b!==void 0&&(d.additionalProperties=b),d}function KD(u,c){if(u.catchall._def.typeName!=="ZodNever")return Rt(u.catchall._def,{...c,currentPath:[...c.currentPath,"additionalProperties"]});switch(u.unknownKeys){case"passthrough":return c.allowedAdditionalProperties;case"strict":return c.rejectedAdditionalProperties;case"strip":return c.removeAdditionalStrategy==="strict"?c.allowedAdditionalProperties:c.rejectedAdditionalProperties}}function ID(u){try{return u.isOptional()}catch{return!0}}var FD=(u,c)=>{var d;if(c.currentPath.toString()===((d=c.propertyPath)==null?void 0:d.toString()))return Rt(u.innerType._def,c);const h=Rt(u.innerType._def,{...c,currentPath:[...c.currentPath,"anyOf","1"]});return h?{anyOf:[{not:Cl()},h]}:Cl()},WD=(u,c)=>{if(c.pipeStrategy==="input")return Rt(u.in._def,c);if(c.pipeStrategy==="output")return Rt(u.out._def,c);const d=Rt(u.in._def,{...c,currentPath:[...c.currentPath,"allOf","0"]}),h=Rt(u.out._def,{...c,currentPath:[...c.currentPath,"allOf",d?"1":"0"]});return{allOf:[d,h].filter(g=>g!==void 0)}};function PD(u,c){return Rt(u.type._def,c)}function e6(u,c){const h={type:"array",uniqueItems:!0,items:Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"items"]})};return u.minSize&&(h.minItems=u.minSize.value),u.maxSize&&(h.maxItems=u.maxSize.value),h}function t6(u,c){return u.rest?{type:"array",minItems:u.items.length,items:u.items.map((d,h)=>Rt(d._def,{...c,currentPath:[...c.currentPath,"items",`${h}`]})).reduce((d,h)=>h===void 0?d:[...d,h],[]),additionalItems:Rt(u.rest._def,{...c,currentPath:[...c.currentPath,"additionalItems"]})}:{type:"array",minItems:u.items.length,maxItems:u.items.length,items:u.items.map((d,h)=>Rt(d._def,{...c,currentPath:[...c.currentPath,"items",`${h}`]})).reduce((d,h)=>h===void 0?d:[...d,h],[])}}function a6(){return{not:Cl()}}function n6(){return Cl()}var l6=(u,c)=>Rt(u.innerType._def,c),u6=(u,c,d)=>{switch(c){case Ve.ZodString:return yE(u,d);case Ve.ZodNumber:return $D(u);case Ve.ZodObject:return kD(u,d);case Ve.ZodBigInt:return DD(u);case Ve.ZodBoolean:return MD();case Ve.ZodDate:return mE(u,d);case Ve.ZodUndefined:return a6();case Ve.ZodNull:return GD();case Ve.ZodArray:return wD(u,d);case Ve.ZodUnion:case Ve.ZodDiscriminatedUnion:return XD(u,d);case Ve.ZodIntersection:return HD(u,d);case Ve.ZodTuple:return t6(u,d);case Ve.ZodRecord:return vE(u,d);case Ve.ZodLiteral:return jD(u);case Ve.ZodEnum:return ND(u);case Ve.ZodNativeEnum:return LD(u);case Ve.ZodNullable:return JD(u,d);case Ve.ZodOptional:return FD(u,d);case Ve.ZodMap:return YD(u,d);case Ve.ZodSet:return e6(u,d);case Ve.ZodLazy:return()=>u.getter()._def;case Ve.ZodPromise:return PD(u,d);case Ve.ZodNaN:case Ve.ZodNever:return VD();case Ve.ZodEffects:return UD(u,d);case Ve.ZodAny:return Cl();case Ve.ZodUnknown:return n6();case Ve.ZodDefault:return RD(u,d);case Ve.ZodBranded:return pE(u,d);case Ve.ZodReadonly:return l6(u,d);case Ve.ZodCatch:return xD(u,d);case Ve.ZodPipeline:return WD(u,d);case Ve.ZodFunction:case Ve.ZodVoid:case Ve.ZodSymbol:return;default:return(h=>{})()}};function Rt(u,c,d=!1){var h;const g=c.seen.get(u);if(c.override){const w=(h=c.override)==null?void 0:h.call(c,u,c,g,d);if(w!==AD)return w}if(g&&!d){const w=i6(g,c);if(w!==void 0)return w}const b={def:u,path:c.currentPath,jsonSchema:void 0};c.seen.set(u,b);const _=u6(u,u.typeName,c),z=typeof _=="function"?Rt(_(),c):_;if(z&&o6(u,c,z),c.postProcess){const w=c.postProcess(z,u,c);return b.jsonSchema=z,w}return b.jsonSchema=z,z}var i6=(u,c)=>{switch(c.$refStrategy){case"root":return{$ref:u.path.join("/")};case"relative":return{$ref:TD(c.currentPath,u.path)};case"none":case"seen":return u.path.length<c.currentPath.length&&u.path.every((d,h)=>c.currentPath[h]===d)?(console.warn(`Recursive reference detected at ${c.currentPath.join("/")}! Defaulting to any`),Cl()):c.$refStrategy==="seen"?Cl():void 0}},o6=(u,c,d)=>(u.description&&(d.description=u.description),d),c6=u=>{const c=OD(u),d=c.name!==void 0?[...c.basePath,c.definitionPath,c.name]:c.basePath;return{...c,currentPath:d,propertyPath:void 0,seen:new Map(Object.entries(c.definitions).map(([h,g])=>[g._def,{def:g._def,path:[...c.basePath,c.definitionPath,h],jsonSchema:void 0}]))}},r6=(u,c)=>{var d;const h=c6(c);let g=typeof c=="object"&&c.definitions?Object.entries(c.definitions).reduce((O,[j,Y])=>{var ae;return{...O,[j]:(ae=Rt(Y._def,{...h,currentPath:[...h.basePath,h.definitionPath,j]},!0))!=null?ae:Cl()}},{}):void 0;const b=typeof c=="string"?c:c?.nameStrategy==="title"?void 0:c?.name,_=(d=Rt(u._def,b===void 0?h:{...h,currentPath:[...h.basePath,h.definitionPath,b]},!1))!=null?d:Cl(),z=typeof c=="object"&&c.name!==void 0&&c.nameStrategy==="title"?c.name:void 0;z!==void 0&&(_.title=z);const w=b===void 0?g?{..._,[h.definitionPath]:g}:_:{$ref:[...h.$refStrategy==="relative"?[]:h.basePath,h.definitionPath,b].join("/"),[h.definitionPath]:{...g,[b]:_}};return w.$schema="http://json-schema.org/draft-07/schema#",w},s6=r6;function f6(u,c){var d;const h=(d=void 0)!=null?d:!1;return x1(()=>s6(u,{$refStrategy:h?"root":"none"}),{validate:async g=>{const b=await u.safeParseAsync(g);return b.success?{success:!0,value:b.data}:{success:!1,error:b.error}}})}function d6(u,c){var d;const h=(d=void 0)!=null?d:!1;return x1(()=>Rg(WO(u,{target:"draft-7",io:"input",reused:h?"ref":"inline"})),{validate:async g=>{const b=await J_(u,g);return b.success?{success:!0,value:b.data}:{success:!1,error:b.error}}})}function h6(u){return"_zod"in u}function bE(u,c){return h6(u)?d6(u):f6(u)}var M1=Symbol.for("vercel.ai.schema");function x1(u,{validate:c}={}){return{[M1]:!0,_type:void 0,[xg]:!0,get jsonSchema(){return typeof u=="function"&&(u=u()),u},validate:c}}function p6(u){return typeof u=="object"&&u!==null&&M1 in u&&u[M1]===!0&&"jsonSchema"in u&&"validate"in u}function m6(u){return u==null?x1({properties:{},additionalProperties:!1}):p6(u)?u:typeof u=="function"?u():bE(u)}var y6=Object.defineProperty,g6=(u,c)=>{for(var d in c)y6(u,d,{get:c[d],enumerable:!0})},SE="AI_NoObjectGeneratedError",_E=`vercel.ai.error.${SE}`,v6=Symbol.for(_E),EE,zE=class extends Vc{constructor({message:u="No object generated.",cause:c,text:d,response:h,usage:g,finishReason:b}){super({name:SE,message:u,cause:c}),this[EE]=!0,this.text=d,this.response=h,this.usage=g,this.finishReason=b}static isInstance(u){return Vc.hasMarker(u,_E)}};EE=v6;var TE="5.0.114",AE=su([ve(),Dg(Uint8Array),Dg(ArrayBuffer),iE(u=>{var c,d;return(d=(c=globalThis.Buffer)==null?void 0:c.isBuffer(u))!=null?d:!1},{message:"Must be a Buffer"})]),om=sD(()=>su([qw(),ve(),I_(),xn(),_1(ve(),om),Jc(om)])),za=_1(ve(),_1(ve(),om)),OE=Ea({type:at("text"),text:ve(),providerOptions:za.optional()}),b6=Ea({type:at("image"),image:su([AE,Dg(URL)]),mediaType:ve().optional(),providerOptions:za.optional()}),wE=Ea({type:at("file"),data:su([AE,Dg(URL)]),filename:ve().optional(),mediaType:ve(),providerOptions:za.optional()}),S6=Ea({type:at("reasoning"),text:ve(),providerOptions:za.optional()}),_6=Ea({type:at("tool-call"),toolCallId:ve(),toolName:ve(),input:Bi(),providerOptions:za.optional(),providerExecuted:xn().optional()}),E6=Qw("type",[Ea({type:at("text"),value:ve()}),Ea({type:at("json"),value:om}),Ea({type:at("error-text"),value:ve()}),Ea({type:at("error-json"),value:om}),Ea({type:at("content"),value:Jc(su([Ea({type:at("text"),text:ve()}),Ea({type:at("media"),data:ve(),mediaType:ve()})]))})]),DE=Ea({type:at("tool-result"),toolCallId:ve(),toolName:ve(),output:E6,providerOptions:za.optional()}),z6=Ea({role:at("system"),content:ve(),providerOptions:za.optional()}),T6=Ea({role:at("user"),content:su([ve(),Jc(su([OE,b6,wE]))]),providerOptions:za.optional()}),A6=Ea({role:at("assistant"),content:su([ve(),Jc(su([OE,wE,S6,_6,DE]))]),providerOptions:za.optional()}),O6=Ea({role:at("tool"),content:Jc(DE),providerOptions:za.optional()});su([z6,T6,A6,O6]),im({prefix:"aitxt",size:24}),class extends TransformStream{constructor(){super({transform(u,c){c.enqueue(`data: ${JSON.stringify(u)}
254
+ ]`;continue}b+=g[O],g[O]==="\\"?_=!0:z&&g[O]==="]"?z=!1:!z&&g[O]==="["&&(z=!0)}try{new RegExp(b)}catch{return console.warn(`Could not convert regex pattern at ${c.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),u.source}return b}function vE(u,c){var d,h,g,b,_,z;const w={type:"object",additionalProperties:(d=Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"additionalProperties"]}))!=null?d:c.allowedAdditionalProperties};if(((h=u.keyType)==null?void 0:h._def.typeName)===Ve.ZodString&&((g=u.keyType._def.checks)!=null&&g.length)){const{type:O,...j}=yE(u.keyType._def,c);return{...w,propertyNames:j}}else{if(((b=u.keyType)==null?void 0:b._def.typeName)===Ve.ZodEnum)return{...w,propertyNames:{enum:u.keyType._def.values}};if(((_=u.keyType)==null?void 0:_._def.typeName)===Ve.ZodBranded&&u.keyType._def.type._def.typeName===Ve.ZodString&&((z=u.keyType._def.type._def.checks)!=null&&z.length)){const{type:O,...j}=pE(u.keyType._def,c);return{...w,propertyNames:j}}}return w}function LD(u,c){if(c.mapStrategy==="record")return vE(u,c);const d=Rt(u.keyType._def,{...c,currentPath:[...c.currentPath,"items","items","0"]})||Cl(),h=Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"items","items","1"]})||Cl();return{type:"array",maxItems:125,items:{type:"array",items:[d,h],minItems:2,maxItems:2}}}function VD(u){const c=u.values,h=Object.keys(u.values).filter(b=>typeof c[c[b]]!="number").map(b=>c[b]),g=Array.from(new Set(h.map(b=>typeof b)));return{type:g.length===1?g[0]==="string"?"string":"number":["string","number"],enum:h}}function GD(){return{not:Cl()}}function XD(){return{type:"null"}}var D1={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function QD(u,c){const d=u.options instanceof Map?Array.from(u.options.values()):u.options;if(d.every(h=>h._def.typeName in D1&&(!h._def.checks||!h._def.checks.length))){const h=d.reduce((g,b)=>{const _=D1[b._def.typeName];return _&&!g.includes(_)?[...g,_]:g},[]);return{type:h.length>1?h:h[0]}}else if(d.every(h=>h._def.typeName==="ZodLiteral"&&!h.description)){const h=d.reduce((g,b)=>{const _=typeof b._def.value;switch(_){case"string":case"number":case"boolean":return[...g,_];case"bigint":return[...g,"integer"];case"object":if(b._def.value===null)return[...g,"null"];case"symbol":case"undefined":case"function":default:return g}},[]);if(h.length===d.length){const g=h.filter((b,_,z)=>z.indexOf(b)===_);return{type:g.length>1?g:g[0],enum:d.reduce((b,_)=>b.includes(_._def.value)?b:[...b,_._def.value],[])}}}else if(d.every(h=>h._def.typeName==="ZodEnum"))return{type:"string",enum:d.reduce((h,g)=>[...h,...g._def.values.filter(b=>!h.includes(b))],[])};return JD(u,c)}var JD=(u,c)=>{const d=(u.options instanceof Map?Array.from(u.options.values()):u.options).map((h,g)=>Rt(h._def,{...c,currentPath:[...c.currentPath,"anyOf",`${g}`]})).filter(h=>!!h&&(!c.strictUnions||typeof h=="object"&&Object.keys(h).length>0));return d.length?{anyOf:d}:void 0};function $D(u,c){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(u.innerType._def.typeName)&&(!u.innerType._def.checks||!u.innerType._def.checks.length))return{type:[D1[u.innerType._def.typeName],"null"]};const d=Rt(u.innerType._def,{...c,currentPath:[...c.currentPath,"anyOf","0"]});return d&&{anyOf:[d,{type:"null"}]}}function kD(u){const c={type:"number"};if(!u.checks)return c;for(const d of u.checks)switch(d.kind){case"int":c.type="integer";break;case"min":d.inclusive?c.minimum=d.value:c.exclusiveMinimum=d.value;break;case"max":d.inclusive?c.maximum=d.value:c.exclusiveMaximum=d.value;break;case"multipleOf":c.multipleOf=d.value;break}return c}function KD(u,c){const d={type:"object",properties:{}},h=[],g=u.shape();for(const _ in g){let z=g[_];if(z===void 0||z._def===void 0)continue;const w=FD(z),O=Rt(z._def,{...c,currentPath:[...c.currentPath,"properties",_],propertyPath:[...c.currentPath,"properties",_]});O!==void 0&&(d.properties[_]=O,w||h.push(_))}h.length&&(d.required=h);const b=ID(u,c);return b!==void 0&&(d.additionalProperties=b),d}function ID(u,c){if(u.catchall._def.typeName!=="ZodNever")return Rt(u.catchall._def,{...c,currentPath:[...c.currentPath,"additionalProperties"]});switch(u.unknownKeys){case"passthrough":return c.allowedAdditionalProperties;case"strict":return c.rejectedAdditionalProperties;case"strip":return c.removeAdditionalStrategy==="strict"?c.allowedAdditionalProperties:c.rejectedAdditionalProperties}}function FD(u){try{return u.isOptional()}catch{return!0}}var WD=(u,c)=>{var d;if(c.currentPath.toString()===((d=c.propertyPath)==null?void 0:d.toString()))return Rt(u.innerType._def,c);const h=Rt(u.innerType._def,{...c,currentPath:[...c.currentPath,"anyOf","1"]});return h?{anyOf:[{not:Cl()},h]}:Cl()},PD=(u,c)=>{if(c.pipeStrategy==="input")return Rt(u.in._def,c);if(c.pipeStrategy==="output")return Rt(u.out._def,c);const d=Rt(u.in._def,{...c,currentPath:[...c.currentPath,"allOf","0"]}),h=Rt(u.out._def,{...c,currentPath:[...c.currentPath,"allOf",d?"1":"0"]});return{allOf:[d,h].filter(g=>g!==void 0)}};function e6(u,c){return Rt(u.type._def,c)}function t6(u,c){const h={type:"array",uniqueItems:!0,items:Rt(u.valueType._def,{...c,currentPath:[...c.currentPath,"items"]})};return u.minSize&&(h.minItems=u.minSize.value),u.maxSize&&(h.maxItems=u.maxSize.value),h}function a6(u,c){return u.rest?{type:"array",minItems:u.items.length,items:u.items.map((d,h)=>Rt(d._def,{...c,currentPath:[...c.currentPath,"items",`${h}`]})).reduce((d,h)=>h===void 0?d:[...d,h],[]),additionalItems:Rt(u.rest._def,{...c,currentPath:[...c.currentPath,"additionalItems"]})}:{type:"array",minItems:u.items.length,maxItems:u.items.length,items:u.items.map((d,h)=>Rt(d._def,{...c,currentPath:[...c.currentPath,"items",`${h}`]})).reduce((d,h)=>h===void 0?d:[...d,h],[])}}function n6(){return{not:Cl()}}function l6(){return Cl()}var u6=(u,c)=>Rt(u.innerType._def,c),i6=(u,c,d)=>{switch(c){case Ve.ZodString:return yE(u,d);case Ve.ZodNumber:return kD(u);case Ve.ZodObject:return KD(u,d);case Ve.ZodBigInt:return MD(u);case Ve.ZodBoolean:return xD();case Ve.ZodDate:return mE(u,d);case Ve.ZodUndefined:return n6();case Ve.ZodNull:return XD();case Ve.ZodArray:return DD(u,d);case Ve.ZodUnion:case Ve.ZodDiscriminatedUnion:return QD(u,d);case Ve.ZodIntersection:return jD(u,d);case Ve.ZodTuple:return a6(u,d);case Ve.ZodRecord:return vE(u,d);case Ve.ZodLiteral:return BD(u);case Ve.ZodEnum:return ZD(u);case Ve.ZodNativeEnum:return VD(u);case Ve.ZodNullable:return $D(u,d);case Ve.ZodOptional:return WD(u,d);case Ve.ZodMap:return LD(u,d);case Ve.ZodSet:return t6(u,d);case Ve.ZodLazy:return()=>u.getter()._def;case Ve.ZodPromise:return e6(u,d);case Ve.ZodNaN:case Ve.ZodNever:return GD();case Ve.ZodEffects:return ND(u,d);case Ve.ZodAny:return Cl();case Ve.ZodUnknown:return l6();case Ve.ZodDefault:return UD(u,d);case Ve.ZodBranded:return pE(u,d);case Ve.ZodReadonly:return u6(u,d);case Ve.ZodCatch:return CD(u,d);case Ve.ZodPipeline:return PD(u,d);case Ve.ZodFunction:case Ve.ZodVoid:case Ve.ZodSymbol:return;default:return(h=>{})()}};function Rt(u,c,d=!1){var h;const g=c.seen.get(u);if(c.override){const w=(h=c.override)==null?void 0:h.call(c,u,c,g,d);if(w!==OD)return w}if(g&&!d){const w=o6(g,c);if(w!==void 0)return w}const b={def:u,path:c.currentPath,jsonSchema:void 0};c.seen.set(u,b);const _=i6(u,u.typeName,c),z=typeof _=="function"?Rt(_(),c):_;if(z&&c6(u,c,z),c.postProcess){const w=c.postProcess(z,u,c);return b.jsonSchema=z,w}return b.jsonSchema=z,z}var o6=(u,c)=>{switch(c.$refStrategy){case"root":return{$ref:u.path.join("/")};case"relative":return{$ref:AD(c.currentPath,u.path)};case"none":case"seen":return u.path.length<c.currentPath.length&&u.path.every((d,h)=>c.currentPath[h]===d)?(console.warn(`Recursive reference detected at ${c.currentPath.join("/")}! Defaulting to any`),Cl()):c.$refStrategy==="seen"?Cl():void 0}},c6=(u,c,d)=>(u.description&&(d.description=u.description),d),r6=u=>{const c=wD(u),d=c.name!==void 0?[...c.basePath,c.definitionPath,c.name]:c.basePath;return{...c,currentPath:d,propertyPath:void 0,seen:new Map(Object.entries(c.definitions).map(([h,g])=>[g._def,{def:g._def,path:[...c.basePath,c.definitionPath,h],jsonSchema:void 0}]))}},s6=(u,c)=>{var d;const h=r6(c);let g=typeof c=="object"&&c.definitions?Object.entries(c.definitions).reduce((O,[j,Y])=>{var ae;return{...O,[j]:(ae=Rt(Y._def,{...h,currentPath:[...h.basePath,h.definitionPath,j]},!0))!=null?ae:Cl()}},{}):void 0;const b=typeof c=="string"?c:c?.nameStrategy==="title"?void 0:c?.name,_=(d=Rt(u._def,b===void 0?h:{...h,currentPath:[...h.basePath,h.definitionPath,b]},!1))!=null?d:Cl(),z=typeof c=="object"&&c.name!==void 0&&c.nameStrategy==="title"?c.name:void 0;z!==void 0&&(_.title=z);const w=b===void 0?g?{..._,[h.definitionPath]:g}:_:{$ref:[...h.$refStrategy==="relative"?[]:h.basePath,h.definitionPath,b].join("/"),[h.definitionPath]:{...g,[b]:_}};return w.$schema="http://json-schema.org/draft-07/schema#",w},f6=s6;function d6(u,c){var d;const h=(d=void 0)!=null?d:!1;return x1(()=>f6(u,{$refStrategy:h?"root":"none"}),{validate:async g=>{const b=await u.safeParseAsync(g);return b.success?{success:!0,value:b.data}:{success:!1,error:b.error}}})}function h6(u,c){var d;const h=(d=void 0)!=null?d:!1;return x1(()=>Rg(PO(u,{target:"draft-7",io:"input",reused:h?"ref":"inline"})),{validate:async g=>{const b=await J_(u,g);return b.success?{success:!0,value:b.data}:{success:!1,error:b.error}}})}function p6(u){return"_zod"in u}function bE(u,c){return p6(u)?h6(u):d6(u)}var M1=Symbol.for("vercel.ai.schema");function x1(u,{validate:c}={}){return{[M1]:!0,_type:void 0,[xg]:!0,get jsonSchema(){return typeof u=="function"&&(u=u()),u},validate:c}}function m6(u){return typeof u=="object"&&u!==null&&M1 in u&&u[M1]===!0&&"jsonSchema"in u&&"validate"in u}function y6(u){return u==null?x1({properties:{},additionalProperties:!1}):m6(u)?u:typeof u=="function"?u():bE(u)}var g6=Object.defineProperty,v6=(u,c)=>{for(var d in c)g6(u,d,{get:c[d],enumerable:!0})},SE="AI_NoObjectGeneratedError",_E=`vercel.ai.error.${SE}`,b6=Symbol.for(_E),EE,zE=class extends Vc{constructor({message:u="No object generated.",cause:c,text:d,response:h,usage:g,finishReason:b}){super({name:SE,message:u,cause:c}),this[EE]=!0,this.text=d,this.response=h,this.usage=g,this.finishReason=b}static isInstance(u){return Vc.hasMarker(u,_E)}};EE=b6;var TE="5.0.114",AE=su([ve(),Dg(Uint8Array),Dg(ArrayBuffer),iE(u=>{var c,d;return(d=(c=globalThis.Buffer)==null?void 0:c.isBuffer(u))!=null?d:!1},{message:"Must be a Buffer"})]),om=fD(()=>su([Yw(),ve(),I_(),xn(),_1(ve(),om),Jc(om)])),za=_1(ve(),_1(ve(),om)),OE=Ea({type:at("text"),text:ve(),providerOptions:za.optional()}),S6=Ea({type:at("image"),image:su([AE,Dg(URL)]),mediaType:ve().optional(),providerOptions:za.optional()}),wE=Ea({type:at("file"),data:su([AE,Dg(URL)]),filename:ve().optional(),mediaType:ve(),providerOptions:za.optional()}),_6=Ea({type:at("reasoning"),text:ve(),providerOptions:za.optional()}),E6=Ea({type:at("tool-call"),toolCallId:ve(),toolName:ve(),input:Bi(),providerOptions:za.optional(),providerExecuted:xn().optional()}),z6=Jw("type",[Ea({type:at("text"),value:ve()}),Ea({type:at("json"),value:om}),Ea({type:at("error-text"),value:ve()}),Ea({type:at("error-json"),value:om}),Ea({type:at("content"),value:Jc(su([Ea({type:at("text"),text:ve()}),Ea({type:at("media"),data:ve(),mediaType:ve()})]))})]),DE=Ea({type:at("tool-result"),toolCallId:ve(),toolName:ve(),output:z6,providerOptions:za.optional()}),T6=Ea({role:at("system"),content:ve(),providerOptions:za.optional()}),A6=Ea({role:at("user"),content:su([ve(),Jc(su([OE,S6,wE]))]),providerOptions:za.optional()}),O6=Ea({role:at("assistant"),content:su([ve(),Jc(su([OE,wE,_6,E6,DE]))]),providerOptions:za.optional()}),w6=Ea({role:at("tool"),content:Jc(DE),providerOptions:za.optional()});su([T6,A6,O6,w6]),im({prefix:"aitxt",size:24}),class extends TransformStream{constructor(){super({transform(u,c){c.enqueue(`data: ${JSON.stringify(u)}
255
255
 
256
256
  `)},flush(u){u.enqueue(`data: [DONE]
257
257
 
258
- `)}})}};var w6=SD(()=>bE(su([ra({type:at("text-start"),id:ve(),providerMetadata:za.optional()}),ra({type:at("text-delta"),id:ve(),delta:ve(),providerMetadata:za.optional()}),ra({type:at("text-end"),id:ve(),providerMetadata:za.optional()}),ra({type:at("error"),errorText:ve()}),ra({type:at("tool-input-start"),toolCallId:ve(),toolName:ve(),providerExecuted:xn().optional(),dynamic:xn().optional()}),ra({type:at("tool-input-delta"),toolCallId:ve(),inputTextDelta:ve()}),ra({type:at("tool-input-available"),toolCallId:ve(),toolName:ve(),input:Bi(),providerExecuted:xn().optional(),providerMetadata:za.optional(),dynamic:xn().optional()}),ra({type:at("tool-input-error"),toolCallId:ve(),toolName:ve(),input:Bi(),providerExecuted:xn().optional(),providerMetadata:za.optional(),dynamic:xn().optional(),errorText:ve()}),ra({type:at("tool-output-available"),toolCallId:ve(),output:Bi(),providerExecuted:xn().optional(),dynamic:xn().optional(),preliminary:xn().optional()}),ra({type:at("tool-output-error"),toolCallId:ve(),errorText:ve(),providerExecuted:xn().optional(),dynamic:xn().optional()}),ra({type:at("reasoning-start"),id:ve(),providerMetadata:za.optional()}),ra({type:at("reasoning-delta"),id:ve(),delta:ve(),providerMetadata:za.optional()}),ra({type:at("reasoning-end"),id:ve(),providerMetadata:za.optional()}),ra({type:at("source-url"),sourceId:ve(),url:ve(),title:ve().optional(),providerMetadata:za.optional()}),ra({type:at("source-document"),sourceId:ve(),mediaType:ve(),title:ve(),filename:ve().optional(),providerMetadata:za.optional()}),ra({type:at("file"),url:ve(),mediaType:ve(),providerMetadata:za.optional()}),ra({type:iE(u=>typeof u=="string"&&u.startsWith("data-"),{message:'Type must start with "data-"'}),id:ve().optional(),data:Bi(),transient:xn().optional()}),ra({type:at("start-step")}),ra({type:at("finish-step")}),ra({type:at("start"),messageId:ve().optional(),messageMetadata:Bi().optional()}),ra({type:at("finish"),finishReason:z1(["stop","length","content-filter","tool-calls","error","other","unknown"]).optional(),messageMetadata:Bi().optional()}),ra({type:at("abort")}),ra({type:at("message-metadata"),messageMetadata:Bi()})])));function D6(u){return u.type.startsWith("data-")}function ME(u,c){if(u===void 0&&c===void 0)return;if(u===void 0)return c;if(c===void 0)return u;const d={...u};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)){const g=c[h];if(g===void 0)continue;const b=h in u?u[h]:void 0,_=g!==null&&typeof g=="object"&&!Array.isArray(g)&&!(g instanceof Date)&&!(g instanceof RegExp),z=b!=null&&typeof b=="object"&&!Array.isArray(b)&&!(b instanceof Date)&&!(b instanceof RegExp);_&&z?d[h]=ME(b,g):d[h]=g}return d}function M6(u){const c=["ROOT"];let d=-1,h=null;function g(w,O,j){switch(w){case'"':{d=O,c.pop(),c.push(j),c.push("INSIDE_STRING");break}case"f":case"t":case"n":{d=O,h=O,c.pop(),c.push(j),c.push("INSIDE_LITERAL");break}case"-":{c.pop(),c.push(j),c.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{d=O,c.pop(),c.push(j),c.push("INSIDE_NUMBER");break}case"{":{d=O,c.pop(),c.push(j),c.push("INSIDE_OBJECT_START");break}case"[":{d=O,c.pop(),c.push(j),c.push("INSIDE_ARRAY_START");break}}}function b(w,O){switch(w){case",":{c.pop(),c.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{d=O,c.pop();break}}}function _(w,O){switch(w){case",":{c.pop(),c.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{d=O,c.pop();break}}}for(let w=0;w<u.length;w++){const O=u[w];switch(c[c.length-1]){case"ROOT":g(O,w,"FINISH");break;case"INSIDE_OBJECT_START":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_KEY");break}case"}":{d=w,c.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_KEY");break}}break}case"INSIDE_OBJECT_KEY":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_AFTER_KEY");break}}break}case"INSIDE_OBJECT_AFTER_KEY":{switch(O){case":":{c.pop(),c.push("INSIDE_OBJECT_BEFORE_VALUE");break}}break}case"INSIDE_OBJECT_BEFORE_VALUE":{g(O,w,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{b(O,w);break}case"INSIDE_STRING":{switch(O){case'"':{c.pop(),d=w;break}case"\\":{c.push("INSIDE_STRING_ESCAPE");break}default:d=w}break}case"INSIDE_ARRAY_START":{switch(O){case"]":{d=w,c.pop();break}default:{d=w,g(O,w,"INSIDE_ARRAY_AFTER_VALUE");break}}break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(O){case",":{c.pop(),c.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{d=w,c.pop();break}default:{d=w;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{g(O,w,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{c.pop(),d=w;break}case"INSIDE_NUMBER":{switch(O){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{d=w;break}case"e":case"E":case"-":case".":break;case",":{c.pop(),c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&b(O,w);break}case"}":{c.pop(),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&b(O,w);break}case"]":{c.pop(),c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w);break}default:{c.pop();break}}break}case"INSIDE_LITERAL":{const Y=u.substring(h,w+1);!"false".startsWith(Y)&&!"true".startsWith(Y)&&!"null".startsWith(Y)?(c.pop(),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?b(O,w):c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w)):d=w;break}}}let z=u.slice(0,d+1);for(let w=c.length-1;w>=0;w--)switch(c[w]){case"INSIDE_STRING":{z+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{z+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{z+="]";break}case"INSIDE_LITERAL":{const j=u.substring(h,u.length);"true".startsWith(j)?z+="true".slice(j.length):"false".startsWith(j)?z+="false".slice(j.length):"null".startsWith(j)&&(z+="null".slice(j.length))}}return z}async function xE(u){if(u===void 0)return{value:void 0,state:"undefined-input"};let c=await Cg({text:u});return c.success?{value:c.value,state:"successful-parse"}:(c=await Cg({text:M6(u)}),c.success?{value:c.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}function Ug(u){return u.type.startsWith("tool-")}function x6(u){return u.type==="dynamic-tool"}function CE(u){return Ug(u)||x6(u)}function RE(u){return u.type.split("-").slice(1).join("-")}function C6({lastMessage:u,messageId:c}){return{message:u?.role==="assistant"?u:{id:c,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function R6({stream:u,messageMetadataSchema:c,dataPartSchemas:d,runUpdateMessageJob:h,onError:g,onToolCall:b,onData:_}){return u.pipeThrough(new TransformStream({async transform(z,w){await h(async({state:O,write:j})=>{var Y,ae,ne,ce;function re(F){const je=O.message.parts.filter(Ug).find(Te=>Te.toolCallId===F);if(je==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return je}function se(F){const je=O.message.parts.filter(Te=>Te.type==="dynamic-tool").find(Te=>Te.toolCallId===F);if(je==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return je}function ue(F){var Je;const je=O.message.parts.find(qe=>Ug(qe)&&qe.toolCallId===F.toolCallId),Te=F,ie=je;je!=null?(je.state=F.state,ie.input=Te.input,ie.output=Te.output,ie.errorText=Te.errorText,ie.rawInput=Te.rawInput,ie.preliminary=Te.preliminary,ie.providerExecuted=(Je=Te.providerExecuted)!=null?Je:je.providerExecuted,Te.providerMetadata!=null&&je.state==="input-available"&&(je.callProviderMetadata=Te.providerMetadata)):O.message.parts.push({type:`tool-${F.toolName}`,toolCallId:F.toolCallId,state:F.state,input:Te.input,output:Te.output,rawInput:Te.rawInput,errorText:Te.errorText,providerExecuted:Te.providerExecuted,preliminary:Te.preliminary,...Te.providerMetadata!=null?{callProviderMetadata:Te.providerMetadata}:{}})}function Ee(F){var Je,je;const Te=O.message.parts.find(de=>de.type==="dynamic-tool"&&de.toolCallId===F.toolCallId),ie=F,qe=Te;Te!=null?(Te.state=F.state,qe.toolName=F.toolName,qe.input=ie.input,qe.output=ie.output,qe.errorText=ie.errorText,qe.rawInput=(Je=ie.rawInput)!=null?Je:qe.rawInput,qe.preliminary=ie.preliminary,qe.providerExecuted=(je=ie.providerExecuted)!=null?je:Te.providerExecuted,ie.providerMetadata!=null&&Te.state==="input-available"&&(Te.callProviderMetadata=ie.providerMetadata)):O.message.parts.push({type:"dynamic-tool",toolName:F.toolName,toolCallId:F.toolCallId,state:F.state,input:ie.input,output:ie.output,errorText:ie.errorText,preliminary:ie.preliminary,providerExecuted:ie.providerExecuted,...ie.providerMetadata!=null?{callProviderMetadata:ie.providerMetadata}:{}})}async function ye(F){if(F!=null){const Je=O.message.metadata!=null?ME(O.message.metadata,F):F;c!=null&&await dE({value:Je,schema:c}),O.message.metadata=Je}}switch(z.type){case"text-start":{const F={type:"text",text:"",providerMetadata:z.providerMetadata,state:"streaming"};O.activeTextParts[z.id]=F,O.message.parts.push(F),j();break}case"text-delta":{const F=O.activeTextParts[z.id];F.text+=z.delta,F.providerMetadata=(Y=z.providerMetadata)!=null?Y:F.providerMetadata,j();break}case"text-end":{const F=O.activeTextParts[z.id];F.state="done",F.providerMetadata=(ae=z.providerMetadata)!=null?ae:F.providerMetadata,delete O.activeTextParts[z.id],j();break}case"reasoning-start":{const F={type:"reasoning",text:"",providerMetadata:z.providerMetadata,state:"streaming"};O.activeReasoningParts[z.id]=F,O.message.parts.push(F),j();break}case"reasoning-delta":{const F=O.activeReasoningParts[z.id];F.text+=z.delta,F.providerMetadata=(ne=z.providerMetadata)!=null?ne:F.providerMetadata,j();break}case"reasoning-end":{const F=O.activeReasoningParts[z.id];F.providerMetadata=(ce=z.providerMetadata)!=null?ce:F.providerMetadata,F.state="done",delete O.activeReasoningParts[z.id],j();break}case"file":{O.message.parts.push({type:"file",mediaType:z.mediaType,url:z.url}),j();break}case"source-url":{O.message.parts.push({type:"source-url",sourceId:z.sourceId,url:z.url,title:z.title,providerMetadata:z.providerMetadata}),j();break}case"source-document":{O.message.parts.push({type:"source-document",sourceId:z.sourceId,mediaType:z.mediaType,title:z.title,filename:z.filename,providerMetadata:z.providerMetadata}),j();break}case"tool-input-start":{const F=O.message.parts.filter(Ug);O.partialToolCalls[z.toolCallId]={text:"",toolName:z.toolName,index:F.length,dynamic:z.dynamic},z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-streaming",input:void 0,providerExecuted:z.providerExecuted}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-streaming",input:void 0,providerExecuted:z.providerExecuted}),j();break}case"tool-input-delta":{const F=O.partialToolCalls[z.toolCallId];F.text+=z.inputTextDelta;const{value:Je}=await xE(F.text);F.dynamic?Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"input-streaming",input:Je}):ue({toolCallId:z.toolCallId,toolName:F.toolName,state:"input-streaming",input:Je}),j();break}case"tool-input-available":{z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-available",input:z.input,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-available",input:z.input,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}),j(),b&&!z.providerExecuted&&await b({toolCall:z});break}case"tool-input-error":{z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"output-error",input:z.input,errorText:z.errorText,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"output-error",input:void 0,rawInput:z.input,errorText:z.errorText,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}),j();break}case"tool-output-available":{if(z.dynamic){const F=se(z.toolCallId);Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"output-available",input:F.input,output:z.output,preliminary:z.preliminary})}else{const F=re(z.toolCallId);ue({toolCallId:z.toolCallId,toolName:RE(F),state:"output-available",input:F.input,output:z.output,providerExecuted:z.providerExecuted,preliminary:z.preliminary})}j();break}case"tool-output-error":{if(z.dynamic){const F=se(z.toolCallId);Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"output-error",input:F.input,errorText:z.errorText,providerExecuted:z.providerExecuted})}else{const F=re(z.toolCallId);ue({toolCallId:z.toolCallId,toolName:RE(F),state:"output-error",input:F.input,rawInput:F.rawInput,errorText:z.errorText,providerExecuted:z.providerExecuted})}j();break}case"start-step":{O.message.parts.push({type:"step-start"});break}case"finish-step":{O.activeTextParts={},O.activeReasoningParts={};break}case"start":{z.messageId!=null&&(O.message.id=z.messageId),await ye(z.messageMetadata),(z.messageId!=null||z.messageMetadata!=null)&&j();break}case"finish":{z.finishReason!=null&&(O.finishReason=z.finishReason),await ye(z.messageMetadata),z.messageMetadata!=null&&j();break}case"message-metadata":{await ye(z.messageMetadata),z.messageMetadata!=null&&j();break}case"error":{g?.(new Error(z.errorText));break}default:if(D6(z)){d?.[z.type]!=null&&await dE({value:z.data,schema:d[z.type]});const F=z;if(F.transient){_?.(F);break}const Je=F.id!=null?O.message.parts.find(je=>F.type===je.type&&F.id===je.id):void 0;Je!=null?Je.data=F.data:O.message.parts.push(F),_?.(F),j()}}w.enqueue(z)})}}))}async function U6({stream:u,onError:c}){const d=u.getReader();try{for(;;){const{done:h}=await d.read();if(h)break}}catch(h){c?.(h)}finally{d.releaseLock()}}im({prefix:"aitxt",size:24}),im({prefix:"aiobj",size:24});var N6=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(u){return new Promise((c,d)=>{this.queue.push(async()=>{try{await u(),c()}catch(h){d(h)}}),this.processQueue()})}};im({prefix:"aiobj",size:24});var Z6={};g6(Z6,{object:()=>j6,text:()=>H6});var H6=()=>({type:"text",responseFormat:{type:"text"},async parsePartial({text:u}){return{partial:u}},async parseOutput({text:u}){return u}}),j6=({schema:u})=>{const c=m6(u);return{type:"object",responseFormat:{type:"json",schema:c.jsonSchema},async parsePartial({text:d}){const h=await xE(d);switch(h.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:h.value};default:{const g=h.state;throw new Error(`Unsupported parse state: ${g}`)}}},async parseOutput({text:d},h){const g=await Cg({text:d});if(!g.success)throw new zE({message:"No object generated: could not parse the response.",cause:g.error,text:d,response:h.response,usage:h.usage,finishReason:h.finishReason});const b=await A1({value:g.value,schema:c});if(!b.success)throw new zE({message:"No object generated: response did not match schema.",cause:b.error,text:d,response:h.response,usage:h.usage,finishReason:h.finishReason});return b.value}}};async function B6(u){if(u==null)return[];if(!globalThis.FileList||!(u instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(u).map(async c=>{const{name:d,type:h}=c,g=await new Promise((b,_)=>{const z=new FileReader;z.onload=w=>{var O;b((O=w.target)==null?void 0:O.result)},z.onerror=w=>_(w),z.readAsDataURL(c)});return{type:"file",mediaType:h,filename:d,url:g}}))}var q6=class{constructor({api:u="/api/chat",credentials:c,headers:d,body:h,fetch:g,prepareSendMessagesRequest:b,prepareReconnectToStreamRequest:_}){this.api=u,this.credentials=c,this.headers=d,this.body=h,this.fetch=g,this.prepareSendMessagesRequest=b,this.prepareReconnectToStreamRequest=_}async sendMessages({abortSignal:u,...c}){var d,h,g,b,_;const z=await wd(this.body),w=await wd(this.headers),O=await wd(this.credentials),j={...Ds(w),...Ds(c.headers)},Y=await((d=this.prepareSendMessagesRequest)==null?void 0:d.call(this,{api:this.api,id:c.chatId,messages:c.messages,body:{...z,...c.body},headers:j,credentials:O,requestMetadata:c.metadata,trigger:c.trigger,messageId:c.messageId})),ae=(h=Y?.api)!=null?h:this.api,ne=Y?.headers!==void 0?Ds(Y.headers):j,ce=Y?.body!==void 0?Y.body:{...z,...c.body,id:c.chatId,messages:c.messages,trigger:c.trigger,messageId:c.messageId},re=(g=Y?.credentials)!=null?g:O,ue=await((b=this.fetch)!=null?b:globalThis.fetch)(ae,{method:"POST",headers:sE({"Content-Type":"application/json",...ne},`ai-sdk/${TE}`,rE()),body:JSON.stringify(ce),credentials:re,signal:u});if(!ue.ok)throw new Error((_=await ue.text())!=null?_:"Failed to fetch the chat response.");if(!ue.body)throw new Error("The response body is empty.");return this.processResponseStream(ue.body)}async reconnectToStream(u){var c,d,h,g,b;const _=await wd(this.body),z=await wd(this.headers),w=await wd(this.credentials),O={...Ds(z),...Ds(u.headers)},j=await((c=this.prepareReconnectToStreamRequest)==null?void 0:c.call(this,{api:this.api,id:u.chatId,body:{..._,...u.body},headers:O,credentials:w,requestMetadata:u.metadata})),Y=(d=j?.api)!=null?d:`${this.api}/${u.chatId}/stream`,ae=j?.headers!==void 0?Ds(j.headers):O,ne=(h=j?.credentials)!=null?h:w,re=await((g=this.fetch)!=null?g:globalThis.fetch)(Y,{method:"GET",headers:sE(ae,`ai-sdk/${TE}`,rE()),credentials:ne});if(re.status===204)return null;if(!re.ok)throw new Error((b=await re.text())!=null?b:"Failed to fetch the chat response.");if(!re.body)throw new Error("The response body is empty.");return this.processResponseStream(re.body)}},UE=class extends q6{constructor(u={}){super(u)}processResponseStream(u){return zD({stream:u,schema:w6}).pipeThrough(new TransformStream({async transform(c,d){if(!c.success)throw c.error;d.enqueue(c.value)}}))}},Y6=class{constructor({generateId:u=hD,id:c=u(),transport:d=new UE,messageMetadataSchema:h,dataPartSchemas:g,state:b,onError:_,onToolCall:z,onFinish:w,onData:O,sendAutomaticallyWhen:j}){this.activeResponse=void 0,this.jobExecutor=new N6,this.sendMessage=async(Y,ae)=>{var ne,ce,re,se;if(Y==null){await this.makeRequest({trigger:"submit-message",messageId:(ne=this.lastMessage)==null?void 0:ne.id,...ae});return}let ue;if("text"in Y||"files"in Y?ue={parts:[...Array.isArray(Y.files)?Y.files:await B6(Y.files),..."text"in Y&&Y.text!=null?[{type:"text",text:Y.text}]:[]]}:ue=Y,Y.messageId!=null){const Ee=this.state.messages.findIndex(ye=>ye.id===Y.messageId);if(Ee===-1)throw new Error(`message with id ${Y.messageId} not found`);if(this.state.messages[Ee].role!=="user")throw new Error(`message with id ${Y.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,Ee+1),this.state.replaceMessage(Ee,{...ue,id:Y.messageId,role:(ce=ue.role)!=null?ce:"user",metadata:Y.metadata})}else this.state.pushMessage({...ue,id:(re=ue.id)!=null?re:this.generateId(),role:(se=ue.role)!=null?se:"user",metadata:Y.metadata});await this.makeRequest({trigger:"submit-message",messageId:Y.messageId,...ae})},this.regenerate=async({messageId:Y,...ae}={})=>{const ne=Y==null?this.state.messages.length-1:this.state.messages.findIndex(ce=>ce.id===Y);if(ne===-1)throw new Error(`message ${Y} not found`);this.state.messages=this.state.messages.slice(0,this.messages[ne].role==="assistant"?ne:ne+1),await this.makeRequest({trigger:"regenerate-message",messageId:Y,...ae})},this.resumeStream=async(Y={})=>{await this.makeRequest({trigger:"resume-stream",...Y})},this.clearError=()=>{this.status==="error"&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolOutput=async({state:Y="output-available",tool:ae,toolCallId:ne,output:ce,errorText:re})=>this.jobExecutor.run(async()=>{var se,ue;const Ee=this.state.messages,ye=Ee[Ee.length-1];this.state.replaceMessage(Ee.length-1,{...ye,parts:ye.parts.map(F=>CE(F)&&F.toolCallId===ne?{...F,state:Y,output:ce,errorText:re}:F)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(F=>CE(F)&&F.toolCallId===ne?{...F,state:Y,output:ce,errorText:re}:F)),this.status!=="streaming"&&this.status!=="submitted"&&((se=this.sendAutomaticallyWhen)!=null&&se.call(this,{messages:this.state.messages}))&&this.makeRequest({trigger:"submit-message",messageId:(ue=this.lastMessage)==null?void 0:ue.id})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{var Y;this.status!=="streaming"&&this.status!=="submitted"||(Y=this.activeResponse)!=null&&Y.abortController&&this.activeResponse.abortController.abort()},this.id=c,this.transport=d,this.generateId=u,this.messageMetadataSchema=h,this.dataPartSchemas=g,this.state=b,this.onError=_,this.onToolCall=z,this.onFinish=w,this.onData=O,this.sendAutomaticallyWhen=j}get status(){return this.state.status}setStatus({status:u,error:c}){this.status!==u&&(this.state.status=u,this.state.error=c)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(u){this.state.messages=u}async makeRequest({trigger:u,metadata:c,headers:d,body:h,messageId:g}){var b,_,z,w;this.setStatus({status:"submitted",error:void 0});const O=this.lastMessage;let j=!1,Y=!1,ae=!1;try{const ne={state:C6({lastMessage:this.state.snapshot(O),messageId:this.generateId()}),abortController:new AbortController};ne.abortController.signal.addEventListener("abort",()=>{j=!0}),this.activeResponse=ne;let ce;if(u==="resume-stream"){const se=await this.transport.reconnectToStream({chatId:this.id,metadata:c,headers:d,body:h});if(se==null){this.setStatus({status:"ready"});return}ce=se}else ce=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:ne.abortController.signal,metadata:c,headers:d,body:h,trigger:u,messageId:g});const re=se=>this.jobExecutor.run(()=>se({state:ne.state,write:()=>{var ue;this.setStatus({status:"streaming"}),ne.state.message.id===((ue=this.lastMessage)==null?void 0:ue.id)?this.state.replaceMessage(this.state.messages.length-1,ne.state.message):this.state.pushMessage(ne.state.message)}}));await U6({stream:R6({stream:ce,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:re,onError:se=>{throw se}}),onError:se=>{throw se}}),this.setStatus({status:"ready"})}catch(ne){if(j||ne.name==="AbortError")return j=!0,this.setStatus({status:"ready"}),null;ae=!0,ne instanceof TypeError&&(ne.message.toLowerCase().includes("fetch")||ne.message.toLowerCase().includes("network"))&&(Y=!0),this.onError&&ne instanceof Error&&this.onError(ne),this.setStatus({status:"error",error:ne})}finally{try{(_=this.onFinish)==null||_.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:j,isDisconnect:Y,isError:ae,finishReason:(b=this.activeResponse)==null?void 0:b.state.finishReason})}catch(ne){console.error(ne)}this.activeResponse=void 0}(z=this.sendAutomaticallyWhen)!=null&&z.call(this,{messages:this.state.messages})&&!ae&&await this.makeRequest({trigger:"submit-message",messageId:(w=this.lastMessage)==null?void 0:w.id,metadata:c,headers:d,body:h})}},C1,NE;function L6(){if(NE)return C1;NE=1;function u(c,d){if(typeof c!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof c}\`.`);let h,g=0;return function(..._){clearTimeout(h);const z=Date.now(),w=z-g,O=d-w;O<=0?(g=z,c.apply(this,_)):h=setTimeout(()=>{g=Date.now(),c.apply(this,_)},O)}}return C1=u,C1}var V6=L6();const G6=fA(V6);var ZE=(u,c,d)=>{if(!c.has(u))throw TypeError("Cannot "+d)},Ft=(u,c,d)=>(ZE(u,c,"read from private field"),d?d.call(u):c.get(u)),qi=(u,c,d)=>{if(c.has(u))throw TypeError("Cannot add the same private member more than once");c instanceof WeakSet?c.add(u):c.set(u,d)},$c=(u,c,d,h)=>(ZE(u,c,"write to private field"),c.set(u,d),d);function X6(u,c){return c!=null?G6(u,c):u}var fu,Ng,Zg,cm,rm,sm,Dd,R1,U1,Q6=class{constructor(u=[]){qi(this,fu,void 0),qi(this,Ng,"ready"),qi(this,Zg,void 0),qi(this,cm,new Set),qi(this,rm,new Set),qi(this,sm,new Set),this.pushMessage=c=>{$c(this,fu,Ft(this,fu).concat(c)),Ft(this,Dd).call(this)},this.popMessage=()=>{$c(this,fu,Ft(this,fu).slice(0,-1)),Ft(this,Dd).call(this)},this.replaceMessage=(c,d)=>{$c(this,fu,[...Ft(this,fu).slice(0,c),this.snapshot(d),...Ft(this,fu).slice(c+1)]),Ft(this,Dd).call(this)},this.snapshot=c=>structuredClone(c),this["~registerMessagesCallback"]=(c,d)=>{const h=d?X6(c,d):c;return Ft(this,cm).add(h),()=>{Ft(this,cm).delete(h)}},this["~registerStatusCallback"]=c=>(Ft(this,rm).add(c),()=>{Ft(this,rm).delete(c)}),this["~registerErrorCallback"]=c=>(Ft(this,sm).add(c),()=>{Ft(this,sm).delete(c)}),qi(this,Dd,()=>{Ft(this,cm).forEach(c=>c())}),qi(this,R1,()=>{Ft(this,rm).forEach(c=>c())}),qi(this,U1,()=>{Ft(this,sm).forEach(c=>c())}),$c(this,fu,u)}get status(){return Ft(this,Ng)}set status(u){$c(this,Ng,u),Ft(this,R1).call(this)}get error(){return Ft(this,Zg)}set error(u){$c(this,Zg,u),Ft(this,U1).call(this)}get messages(){return Ft(this,fu)}set messages(u){$c(this,fu,[...u]),Ft(this,Dd).call(this)}};fu=new WeakMap,Ng=new WeakMap,Zg=new WeakMap,cm=new WeakMap,rm=new WeakMap,sm=new WeakMap,Dd=new WeakMap,R1=new WeakMap,U1=new WeakMap;var Md,HE=class extends Y6{constructor({messages:c,...d}){const h=new Q6(c);super({...d,state:h}),qi(this,Md,void 0),this["~registerMessagesCallback"]=(g,b)=>Ft(this,Md)["~registerMessagesCallback"](g,b),this["~registerStatusCallback"]=g=>Ft(this,Md)["~registerStatusCallback"](g),this["~registerErrorCallback"]=g=>Ft(this,Md)["~registerErrorCallback"](g),$c(this,Md,h)}};Md=new WeakMap;function J6({experimental_throttle:u,resume:c=!1,...d}={}){const h=Oe.useRef("chat"in d?d.chat:new HE(d));("chat"in d&&d.chat!==h.current||"id"in d&&h.current.id!==d.id)&&(h.current="chat"in d?d.chat:new HE(d));const b=Oe.useCallback(j=>h.current["~registerMessagesCallback"](j,u),[u,h.current.id]),_=Oe.useSyncExternalStore(b,()=>h.current.messages,()=>h.current.messages),z=Oe.useSyncExternalStore(h.current["~registerStatusCallback"],()=>h.current.status,()=>h.current.status),w=Oe.useSyncExternalStore(h.current["~registerErrorCallback"],()=>h.current.error,()=>h.current.error),O=Oe.useCallback(j=>{typeof j=="function"&&(j=j(h.current.messages)),h.current.messages=j},[h]);return Oe.useEffect(()=>{c&&h.current.resumeStream()},[c,h]),{id:h.current.id,messages:_,setMessages:O,sendMessage:h.current.sendMessage,regenerate:h.current.regenerate,clearError:h.current.clearError,stop:h.current.stop,error:w,resumeStream:h.current.resumeStream,status:z,addToolResult:h.current.addToolOutput,addToolOutput:h.current.addToolOutput}}const fn=[];for(let u=0;u<256;++u)fn.push((u+256).toString(16).slice(1));function $6(u,c=0){return(fn[u[c+0]]+fn[u[c+1]]+fn[u[c+2]]+fn[u[c+3]]+"-"+fn[u[c+4]]+fn[u[c+5]]+"-"+fn[u[c+6]]+fn[u[c+7]]+"-"+fn[u[c+8]]+fn[u[c+9]]+"-"+fn[u[c+10]]+fn[u[c+11]]+fn[u[c+12]]+fn[u[c+13]]+fn[u[c+14]]+fn[u[c+15]]).toLowerCase()}let N1;const k6=new Uint8Array(16);function K6(){if(!N1){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");N1=crypto.getRandomValues.bind(crypto)}return N1(k6)}const jE={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function I6(u,c,d){u=u||{};const h=u.random??u.rng?.()??K6();if(h.length<16)throw new Error("Random bytes length must be >= 16");return h[6]=h[6]&15|64,h[8]=h[8]&63|128,$6(h)}function F6(u,c,d){return jE.randomUUID&&!u?jE.randomUUID():I6(u)}console.log("TH_API_URL","https://trailhead-production.up.railway.app");const Z1="https://trailhead-production.up.railway.app",W6=Ea({role:z1(["user","assistant"]),content:ve()}),P6=Ea({sessionId:ve(),welcomeMessages:Jc(ve()).nullable().optional(),messages:Jc(W6).nullable().optional(),completed:xn().default(!1),name:ve(),color:ve(),imageUrl:ve().nullable(),formData:S1().nullable(),maxMessages:I_(),formFields:S1()}),BE=Ea({session:P6,token:ve()}),qE=Ea({success:xn(),message:ve(),data:S1().nullable()}),eM={session:null,token:null,isLoading:!0,isFetching:!1,error:null,refetch:async()=>{}},H1=Oe.createContext(eM);function tM({projectId:u,children:c}){const[d,h]=Oe.useState(!0),[g,b]=Oe.useState(!1),[_,z]=Oe.useState(null),[w,O]=Oe.useState(null),[j,Y]=Oe.useState(null),ae=Oe.useEffectEvent(async()=>{const re=new URL(`${Z1}/session/new?project_id=${u}`),se=await fetch(re.toString()),ue=await se.json();if(!se.ok)throw new Error(ue.error);const{success:Ee,data:ye}=BE.safeParse(ue);if(!Ee)throw console.error("Invalid session data: ",_),new Error("Invalid session data");return localStorage.setItem(`th__token_${ye.session.sessionId}`,ye.token??""),Y(ye.token??""),ye.session}),ne=Oe.useEffectEvent(async re=>{const se=new URL(`${Z1}/session`),ue=await fetch(se.toString(),{headers:{Authorization:`Bearer ${re}`}}),Ee=await ue.json();if(!ue.ok)throw new Error(Ee.error);const{success:ye,data:F}=BE.safeParse(Ee);if(!ye)throw console.error("Invalid session data: ",_),new Error("Invalid session data");return F}),ce=Oe.useCallback(async()=>{b(!0);try{const re=localStorage.getItem(`th__token_${u}`);let se=null;if(re)try{const{session:ue}=await ne(re);Y(re),se=ue}catch{console.warn("Failed to get session, creating new one"),se=await ae()}else se=await ae();O(se)}catch(re){console.error(re),z(re)}finally{h(!1),b(!1)}},[u]);return Oe.useEffect(()=>{ce()},[]),te.jsx(H1.Provider,{value:{session:w,token:j,isLoading:d,isFetching:g,error:_,refetch:ce},children:c})}function YE(){const u=Oe.useContext(H1);if(!u)throw new Error("useSession must be used within a SessionProvider");if(!u.session||!u.token)throw new Error("Session not found");return{session:u.session,token:u.token,refetch:u.refetch}}function aM(){const u=Oe.useContext(H1);if(!u)throw new Error("useMaybeSession must be used within a SessionProvider");return u}const LE=Oe.createContext(null);function nM(){const u=Oe.useContext(LE);if(!u)throw new Error("useChatContext must be used within a ChatProvider");return u}function VE({children:u}){const{token:c,session:{sessionId:d,messages:h}}=YE(),{messages:g,setMessages:b,sendMessage:_,status:z,error:w}=J6({transport:new UE({api:`${Z1}/chat`,body:{session_id:d},headers:c?{Authorization:`Bearer ${c}`}:void 0}),messages:h?.map(O=>({id:F6(),role:O.role,content:O.content,parts:[{type:"text",text:O.content}],metadata:{isLoading:!1}}))});return te.jsx(LE.Provider,{value:{messages:g,setMessages:b,sendMessage:_,status:z,error:w??null},children:u})}function lM(u){if(u.includes("email"))return"your@email.com";if(u.includes("website")||u.includes("portfolio")||u.includes("github")||u.includes("url")||u.includes("twitter")||u.includes("blog"))return"Share a link...";if(u.includes("looking for"))return"What you're looking for...";if(u.includes("great at"))return"Your key strengths...";if(u.includes("avoid"))return"What to avoid...";if(u.includes("location")||u.includes("based"))return"Your location..."}function GE(u){var c,d,h="";if(typeof u=="string"||typeof u=="number")h+=u;else if(typeof u=="object")if(Array.isArray(u)){var g=u.length;for(c=0;c<g;c++)u[c]&&(d=GE(u[c]))&&(h&&(h+=" "),h+=d)}else for(d in u)u[d]&&(h&&(h+=" "),h+=d);return h}function uM(){for(var u,c,d=0,h="",g=arguments.length;d<g;d++)(u=arguments[d])&&(c=GE(u))&&(h&&(h+=" "),h+=c);return h}function Ms(...u){return uM(u)}const XE=h2.forwardRef(({className:u,size:c="default",...d},h)=>{const g={sm:"h-8 px-3 text-xs",default:"h-9 px-4",icon:"h-9 w-9 rounded-lg"};return te.jsx("button",{className:Ms("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 cursor-pointer",g[c],u),ref:h,...d})});XE.displayName="Button";const QE=h2.forwardRef(({className:u,...c},d)=>te.jsx("textarea",{className:Ms("w-full rounded-lg bg-gray-50 border border-gray-200 focus:border-gray-300 focus:ring-0 px-3 py-2 min-h-[38px] text-gray-900 placeholder:text-gray-400 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 leading-6",u),ref:d,...c}));QE.displayName="Textarea";function JE({className:u,...c}){return te.jsxs("svg",{className:Ms("size-4 animate-spin text-gray-400",u),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",role:"status","aria-label":"Loading",...c,children:[te.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),te.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function iM({message:u,className:c="h-full"}){return te.jsx("div",{className:`flex items-center justify-center ${c}`,children:te.jsxs("div",{className:"text-center",children:[te.jsx(JE,{className:"size-6 mx-auto mb-3"}),u&&te.jsx("p",{className:"text-gray-500",children:u})]})})}function oM({variant:u="narrow",speed:c=1,className:d,color:h="muted"}){const g=u==="wide"?48:24,b=24,z={light:"text-gray-300",muted:"text-gray-400",dark:"text-gray-700"}[h];return te.jsx("svg",{width:g,height:b,viewBox:`0 0 ${g} ${b}`,xmlns:"http://www.w3.org/2000/svg",className:Ms("inline-block",z,d),style:{overflow:"hidden"},"aria-label":"Loading",children:te.jsx("g",{children:te.jsx("path",{d:"M-16,12 Q-12,4 -8,12 Q-4,20 0,12 Q4,4 8,12 Q12,20 16,12 Q20,4 24,12 Q28,20 32,12 Q36,4 40,12 Q44,20 48,12 Q52,4 56,12 Q60,20 64,12",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("animateTransform",{attributeName:"transform",type:"translate",from:"0 0",to:"16 0",dur:`${c}s`,repeatCount:"indefinite"})})})})}function cM(u){const c=u.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)||u.match(/^#?([a-f\d])([a-f\d])([a-f\d])$/i);if(!c)return null;let[,d,h,g]=c;return d.length===1&&(d=d+d,h=h+h,g=g+g),[parseInt(d,16),parseInt(h,16),parseInt(g,16)]}function rM(u){const c=u.match(/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/);return c?[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]:null}function sM([u,c,d]){const[h,g,b]=[u,c,d].map(_=>(_=_/255,_<=.03928?_/12.92:Math.pow((_+.055)/1.055,2.4)));return .2126*h+.7152*g+.0722*b}function fM(u){const c=cM(u)||rM(u)||[255,255,255];return sM(c)>.2}function $E(u){return fM(u)?"#121212":"#fafafa"}function dM({onSend:u,disabled:c,placeholder:d="Type your message...",color:h}){const[g,b]=Oe.useState(""),_=Oe.useRef(null);Oe.useEffect(()=>{_.current&&(_.current.style.height="48px",g&&(_.current.style.height=`${Math.min(_.current.scrollHeight,200)}px`))},[g]),Oe.useEffect(()=>{!c&&_.current&&_.current.focus()},[c,g]);const z=j=>{j.preventDefault(),g.trim()&&!c&&(u(g.trim()),b(""))},w=j=>{j.key==="Enter"&&!j.shiftKey&&(j.preventDefault(),z(j))},O=Oe.useMemo(()=>$E(h),[h]);return te.jsxs(te.Fragment,{children:[te.jsx("style",{children:`
258
+ `)}})}};var D6=_D(()=>bE(su([ra({type:at("text-start"),id:ve(),providerMetadata:za.optional()}),ra({type:at("text-delta"),id:ve(),delta:ve(),providerMetadata:za.optional()}),ra({type:at("text-end"),id:ve(),providerMetadata:za.optional()}),ra({type:at("error"),errorText:ve()}),ra({type:at("tool-input-start"),toolCallId:ve(),toolName:ve(),providerExecuted:xn().optional(),dynamic:xn().optional()}),ra({type:at("tool-input-delta"),toolCallId:ve(),inputTextDelta:ve()}),ra({type:at("tool-input-available"),toolCallId:ve(),toolName:ve(),input:Bi(),providerExecuted:xn().optional(),providerMetadata:za.optional(),dynamic:xn().optional()}),ra({type:at("tool-input-error"),toolCallId:ve(),toolName:ve(),input:Bi(),providerExecuted:xn().optional(),providerMetadata:za.optional(),dynamic:xn().optional(),errorText:ve()}),ra({type:at("tool-output-available"),toolCallId:ve(),output:Bi(),providerExecuted:xn().optional(),dynamic:xn().optional(),preliminary:xn().optional()}),ra({type:at("tool-output-error"),toolCallId:ve(),errorText:ve(),providerExecuted:xn().optional(),dynamic:xn().optional()}),ra({type:at("reasoning-start"),id:ve(),providerMetadata:za.optional()}),ra({type:at("reasoning-delta"),id:ve(),delta:ve(),providerMetadata:za.optional()}),ra({type:at("reasoning-end"),id:ve(),providerMetadata:za.optional()}),ra({type:at("source-url"),sourceId:ve(),url:ve(),title:ve().optional(),providerMetadata:za.optional()}),ra({type:at("source-document"),sourceId:ve(),mediaType:ve(),title:ve(),filename:ve().optional(),providerMetadata:za.optional()}),ra({type:at("file"),url:ve(),mediaType:ve(),providerMetadata:za.optional()}),ra({type:iE(u=>typeof u=="string"&&u.startsWith("data-"),{message:'Type must start with "data-"'}),id:ve().optional(),data:Bi(),transient:xn().optional()}),ra({type:at("start-step")}),ra({type:at("finish-step")}),ra({type:at("start"),messageId:ve().optional(),messageMetadata:Bi().optional()}),ra({type:at("finish"),finishReason:z1(["stop","length","content-filter","tool-calls","error","other","unknown"]).optional(),messageMetadata:Bi().optional()}),ra({type:at("abort")}),ra({type:at("message-metadata"),messageMetadata:Bi()})])));function M6(u){return u.type.startsWith("data-")}function ME(u,c){if(u===void 0&&c===void 0)return;if(u===void 0)return c;if(c===void 0)return u;const d={...u};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)){const g=c[h];if(g===void 0)continue;const b=h in u?u[h]:void 0,_=g!==null&&typeof g=="object"&&!Array.isArray(g)&&!(g instanceof Date)&&!(g instanceof RegExp),z=b!=null&&typeof b=="object"&&!Array.isArray(b)&&!(b instanceof Date)&&!(b instanceof RegExp);_&&z?d[h]=ME(b,g):d[h]=g}return d}function x6(u){const c=["ROOT"];let d=-1,h=null;function g(w,O,j){switch(w){case'"':{d=O,c.pop(),c.push(j),c.push("INSIDE_STRING");break}case"f":case"t":case"n":{d=O,h=O,c.pop(),c.push(j),c.push("INSIDE_LITERAL");break}case"-":{c.pop(),c.push(j),c.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{d=O,c.pop(),c.push(j),c.push("INSIDE_NUMBER");break}case"{":{d=O,c.pop(),c.push(j),c.push("INSIDE_OBJECT_START");break}case"[":{d=O,c.pop(),c.push(j),c.push("INSIDE_ARRAY_START");break}}}function b(w,O){switch(w){case",":{c.pop(),c.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{d=O,c.pop();break}}}function _(w,O){switch(w){case",":{c.pop(),c.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{d=O,c.pop();break}}}for(let w=0;w<u.length;w++){const O=u[w];switch(c[c.length-1]){case"ROOT":g(O,w,"FINISH");break;case"INSIDE_OBJECT_START":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_KEY");break}case"}":{d=w,c.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_KEY");break}}break}case"INSIDE_OBJECT_KEY":{switch(O){case'"':{c.pop(),c.push("INSIDE_OBJECT_AFTER_KEY");break}}break}case"INSIDE_OBJECT_AFTER_KEY":{switch(O){case":":{c.pop(),c.push("INSIDE_OBJECT_BEFORE_VALUE");break}}break}case"INSIDE_OBJECT_BEFORE_VALUE":{g(O,w,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{b(O,w);break}case"INSIDE_STRING":{switch(O){case'"':{c.pop(),d=w;break}case"\\":{c.push("INSIDE_STRING_ESCAPE");break}default:d=w}break}case"INSIDE_ARRAY_START":{switch(O){case"]":{d=w,c.pop();break}default:{d=w,g(O,w,"INSIDE_ARRAY_AFTER_VALUE");break}}break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(O){case",":{c.pop(),c.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{d=w,c.pop();break}default:{d=w;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{g(O,w,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{c.pop(),d=w;break}case"INSIDE_NUMBER":{switch(O){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{d=w;break}case"e":case"E":case"-":case".":break;case",":{c.pop(),c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&b(O,w);break}case"}":{c.pop(),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&b(O,w);break}case"]":{c.pop(),c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w);break}default:{c.pop();break}}break}case"INSIDE_LITERAL":{const Y=u.substring(h,w+1);!"false".startsWith(Y)&&!"true".startsWith(Y)&&!"null".startsWith(Y)?(c.pop(),c[c.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?b(O,w):c[c.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&_(O,w)):d=w;break}}}let z=u.slice(0,d+1);for(let w=c.length-1;w>=0;w--)switch(c[w]){case"INSIDE_STRING":{z+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{z+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{z+="]";break}case"INSIDE_LITERAL":{const j=u.substring(h,u.length);"true".startsWith(j)?z+="true".slice(j.length):"false".startsWith(j)?z+="false".slice(j.length):"null".startsWith(j)&&(z+="null".slice(j.length))}}return z}async function xE(u){if(u===void 0)return{value:void 0,state:"undefined-input"};let c=await Cg({text:u});return c.success?{value:c.value,state:"successful-parse"}:(c=await Cg({text:x6(u)}),c.success?{value:c.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}function Ug(u){return u.type.startsWith("tool-")}function C6(u){return u.type==="dynamic-tool"}function CE(u){return Ug(u)||C6(u)}function RE(u){return u.type.split("-").slice(1).join("-")}function R6({lastMessage:u,messageId:c}){return{message:u?.role==="assistant"?u:{id:c,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function U6({stream:u,messageMetadataSchema:c,dataPartSchemas:d,runUpdateMessageJob:h,onError:g,onToolCall:b,onData:_}){return u.pipeThrough(new TransformStream({async transform(z,w){await h(async({state:O,write:j})=>{var Y,ae,ne,ce;function re(F){const je=O.message.parts.filter(Ug).find(Te=>Te.toolCallId===F);if(je==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return je}function se(F){const je=O.message.parts.filter(Te=>Te.type==="dynamic-tool").find(Te=>Te.toolCallId===F);if(je==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return je}function ue(F){var Je;const je=O.message.parts.find(qe=>Ug(qe)&&qe.toolCallId===F.toolCallId),Te=F,ie=je;je!=null?(je.state=F.state,ie.input=Te.input,ie.output=Te.output,ie.errorText=Te.errorText,ie.rawInput=Te.rawInput,ie.preliminary=Te.preliminary,ie.providerExecuted=(Je=Te.providerExecuted)!=null?Je:je.providerExecuted,Te.providerMetadata!=null&&je.state==="input-available"&&(je.callProviderMetadata=Te.providerMetadata)):O.message.parts.push({type:`tool-${F.toolName}`,toolCallId:F.toolCallId,state:F.state,input:Te.input,output:Te.output,rawInput:Te.rawInput,errorText:Te.errorText,providerExecuted:Te.providerExecuted,preliminary:Te.preliminary,...Te.providerMetadata!=null?{callProviderMetadata:Te.providerMetadata}:{}})}function Ee(F){var Je,je;const Te=O.message.parts.find(de=>de.type==="dynamic-tool"&&de.toolCallId===F.toolCallId),ie=F,qe=Te;Te!=null?(Te.state=F.state,qe.toolName=F.toolName,qe.input=ie.input,qe.output=ie.output,qe.errorText=ie.errorText,qe.rawInput=(Je=ie.rawInput)!=null?Je:qe.rawInput,qe.preliminary=ie.preliminary,qe.providerExecuted=(je=ie.providerExecuted)!=null?je:Te.providerExecuted,ie.providerMetadata!=null&&Te.state==="input-available"&&(Te.callProviderMetadata=ie.providerMetadata)):O.message.parts.push({type:"dynamic-tool",toolName:F.toolName,toolCallId:F.toolCallId,state:F.state,input:ie.input,output:ie.output,errorText:ie.errorText,preliminary:ie.preliminary,providerExecuted:ie.providerExecuted,...ie.providerMetadata!=null?{callProviderMetadata:ie.providerMetadata}:{}})}async function ye(F){if(F!=null){const Je=O.message.metadata!=null?ME(O.message.metadata,F):F;c!=null&&await dE({value:Je,schema:c}),O.message.metadata=Je}}switch(z.type){case"text-start":{const F={type:"text",text:"",providerMetadata:z.providerMetadata,state:"streaming"};O.activeTextParts[z.id]=F,O.message.parts.push(F),j();break}case"text-delta":{const F=O.activeTextParts[z.id];F.text+=z.delta,F.providerMetadata=(Y=z.providerMetadata)!=null?Y:F.providerMetadata,j();break}case"text-end":{const F=O.activeTextParts[z.id];F.state="done",F.providerMetadata=(ae=z.providerMetadata)!=null?ae:F.providerMetadata,delete O.activeTextParts[z.id],j();break}case"reasoning-start":{const F={type:"reasoning",text:"",providerMetadata:z.providerMetadata,state:"streaming"};O.activeReasoningParts[z.id]=F,O.message.parts.push(F),j();break}case"reasoning-delta":{const F=O.activeReasoningParts[z.id];F.text+=z.delta,F.providerMetadata=(ne=z.providerMetadata)!=null?ne:F.providerMetadata,j();break}case"reasoning-end":{const F=O.activeReasoningParts[z.id];F.providerMetadata=(ce=z.providerMetadata)!=null?ce:F.providerMetadata,F.state="done",delete O.activeReasoningParts[z.id],j();break}case"file":{O.message.parts.push({type:"file",mediaType:z.mediaType,url:z.url}),j();break}case"source-url":{O.message.parts.push({type:"source-url",sourceId:z.sourceId,url:z.url,title:z.title,providerMetadata:z.providerMetadata}),j();break}case"source-document":{O.message.parts.push({type:"source-document",sourceId:z.sourceId,mediaType:z.mediaType,title:z.title,filename:z.filename,providerMetadata:z.providerMetadata}),j();break}case"tool-input-start":{const F=O.message.parts.filter(Ug);O.partialToolCalls[z.toolCallId]={text:"",toolName:z.toolName,index:F.length,dynamic:z.dynamic},z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-streaming",input:void 0,providerExecuted:z.providerExecuted}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-streaming",input:void 0,providerExecuted:z.providerExecuted}),j();break}case"tool-input-delta":{const F=O.partialToolCalls[z.toolCallId];F.text+=z.inputTextDelta;const{value:Je}=await xE(F.text);F.dynamic?Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"input-streaming",input:Je}):ue({toolCallId:z.toolCallId,toolName:F.toolName,state:"input-streaming",input:Je}),j();break}case"tool-input-available":{z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-available",input:z.input,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"input-available",input:z.input,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}),j(),b&&!z.providerExecuted&&await b({toolCall:z});break}case"tool-input-error":{z.dynamic?Ee({toolCallId:z.toolCallId,toolName:z.toolName,state:"output-error",input:z.input,errorText:z.errorText,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}):ue({toolCallId:z.toolCallId,toolName:z.toolName,state:"output-error",input:void 0,rawInput:z.input,errorText:z.errorText,providerExecuted:z.providerExecuted,providerMetadata:z.providerMetadata}),j();break}case"tool-output-available":{if(z.dynamic){const F=se(z.toolCallId);Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"output-available",input:F.input,output:z.output,preliminary:z.preliminary})}else{const F=re(z.toolCallId);ue({toolCallId:z.toolCallId,toolName:RE(F),state:"output-available",input:F.input,output:z.output,providerExecuted:z.providerExecuted,preliminary:z.preliminary})}j();break}case"tool-output-error":{if(z.dynamic){const F=se(z.toolCallId);Ee({toolCallId:z.toolCallId,toolName:F.toolName,state:"output-error",input:F.input,errorText:z.errorText,providerExecuted:z.providerExecuted})}else{const F=re(z.toolCallId);ue({toolCallId:z.toolCallId,toolName:RE(F),state:"output-error",input:F.input,rawInput:F.rawInput,errorText:z.errorText,providerExecuted:z.providerExecuted})}j();break}case"start-step":{O.message.parts.push({type:"step-start"});break}case"finish-step":{O.activeTextParts={},O.activeReasoningParts={};break}case"start":{z.messageId!=null&&(O.message.id=z.messageId),await ye(z.messageMetadata),(z.messageId!=null||z.messageMetadata!=null)&&j();break}case"finish":{z.finishReason!=null&&(O.finishReason=z.finishReason),await ye(z.messageMetadata),z.messageMetadata!=null&&j();break}case"message-metadata":{await ye(z.messageMetadata),z.messageMetadata!=null&&j();break}case"error":{g?.(new Error(z.errorText));break}default:if(M6(z)){d?.[z.type]!=null&&await dE({value:z.data,schema:d[z.type]});const F=z;if(F.transient){_?.(F);break}const Je=F.id!=null?O.message.parts.find(je=>F.type===je.type&&F.id===je.id):void 0;Je!=null?Je.data=F.data:O.message.parts.push(F),_?.(F),j()}}w.enqueue(z)})}}))}async function N6({stream:u,onError:c}){const d=u.getReader();try{for(;;){const{done:h}=await d.read();if(h)break}}catch(h){c?.(h)}finally{d.releaseLock()}}im({prefix:"aitxt",size:24}),im({prefix:"aiobj",size:24});var Z6=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(u){return new Promise((c,d)=>{this.queue.push(async()=>{try{await u(),c()}catch(h){d(h)}}),this.processQueue()})}};im({prefix:"aiobj",size:24});var H6={};v6(H6,{object:()=>B6,text:()=>j6});var j6=()=>({type:"text",responseFormat:{type:"text"},async parsePartial({text:u}){return{partial:u}},async parseOutput({text:u}){return u}}),B6=({schema:u})=>{const c=y6(u);return{type:"object",responseFormat:{type:"json",schema:c.jsonSchema},async parsePartial({text:d}){const h=await xE(d);switch(h.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:h.value};default:{const g=h.state;throw new Error(`Unsupported parse state: ${g}`)}}},async parseOutput({text:d},h){const g=await Cg({text:d});if(!g.success)throw new zE({message:"No object generated: could not parse the response.",cause:g.error,text:d,response:h.response,usage:h.usage,finishReason:h.finishReason});const b=await A1({value:g.value,schema:c});if(!b.success)throw new zE({message:"No object generated: response did not match schema.",cause:b.error,text:d,response:h.response,usage:h.usage,finishReason:h.finishReason});return b.value}}};async function q6(u){if(u==null)return[];if(!globalThis.FileList||!(u instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(u).map(async c=>{const{name:d,type:h}=c,g=await new Promise((b,_)=>{const z=new FileReader;z.onload=w=>{var O;b((O=w.target)==null?void 0:O.result)},z.onerror=w=>_(w),z.readAsDataURL(c)});return{type:"file",mediaType:h,filename:d,url:g}}))}var Y6=class{constructor({api:u="/api/chat",credentials:c,headers:d,body:h,fetch:g,prepareSendMessagesRequest:b,prepareReconnectToStreamRequest:_}){this.api=u,this.credentials=c,this.headers=d,this.body=h,this.fetch=g,this.prepareSendMessagesRequest=b,this.prepareReconnectToStreamRequest=_}async sendMessages({abortSignal:u,...c}){var d,h,g,b,_;const z=await wd(this.body),w=await wd(this.headers),O=await wd(this.credentials),j={...Ds(w),...Ds(c.headers)},Y=await((d=this.prepareSendMessagesRequest)==null?void 0:d.call(this,{api:this.api,id:c.chatId,messages:c.messages,body:{...z,...c.body},headers:j,credentials:O,requestMetadata:c.metadata,trigger:c.trigger,messageId:c.messageId})),ae=(h=Y?.api)!=null?h:this.api,ne=Y?.headers!==void 0?Ds(Y.headers):j,ce=Y?.body!==void 0?Y.body:{...z,...c.body,id:c.chatId,messages:c.messages,trigger:c.trigger,messageId:c.messageId},re=(g=Y?.credentials)!=null?g:O,ue=await((b=this.fetch)!=null?b:globalThis.fetch)(ae,{method:"POST",headers:sE({"Content-Type":"application/json",...ne},`ai-sdk/${TE}`,rE()),body:JSON.stringify(ce),credentials:re,signal:u});if(!ue.ok)throw new Error((_=await ue.text())!=null?_:"Failed to fetch the chat response.");if(!ue.body)throw new Error("The response body is empty.");return this.processResponseStream(ue.body)}async reconnectToStream(u){var c,d,h,g,b;const _=await wd(this.body),z=await wd(this.headers),w=await wd(this.credentials),O={...Ds(z),...Ds(u.headers)},j=await((c=this.prepareReconnectToStreamRequest)==null?void 0:c.call(this,{api:this.api,id:u.chatId,body:{..._,...u.body},headers:O,credentials:w,requestMetadata:u.metadata})),Y=(d=j?.api)!=null?d:`${this.api}/${u.chatId}/stream`,ae=j?.headers!==void 0?Ds(j.headers):O,ne=(h=j?.credentials)!=null?h:w,re=await((g=this.fetch)!=null?g:globalThis.fetch)(Y,{method:"GET",headers:sE(ae,`ai-sdk/${TE}`,rE()),credentials:ne});if(re.status===204)return null;if(!re.ok)throw new Error((b=await re.text())!=null?b:"Failed to fetch the chat response.");if(!re.body)throw new Error("The response body is empty.");return this.processResponseStream(re.body)}},UE=class extends Y6{constructor(u={}){super(u)}processResponseStream(u){return TD({stream:u,schema:D6}).pipeThrough(new TransformStream({async transform(c,d){if(!c.success)throw c.error;d.enqueue(c.value)}}))}},L6=class{constructor({generateId:u=pD,id:c=u(),transport:d=new UE,messageMetadataSchema:h,dataPartSchemas:g,state:b,onError:_,onToolCall:z,onFinish:w,onData:O,sendAutomaticallyWhen:j}){this.activeResponse=void 0,this.jobExecutor=new Z6,this.sendMessage=async(Y,ae)=>{var ne,ce,re,se;if(Y==null){await this.makeRequest({trigger:"submit-message",messageId:(ne=this.lastMessage)==null?void 0:ne.id,...ae});return}let ue;if("text"in Y||"files"in Y?ue={parts:[...Array.isArray(Y.files)?Y.files:await q6(Y.files),..."text"in Y&&Y.text!=null?[{type:"text",text:Y.text}]:[]]}:ue=Y,Y.messageId!=null){const Ee=this.state.messages.findIndex(ye=>ye.id===Y.messageId);if(Ee===-1)throw new Error(`message with id ${Y.messageId} not found`);if(this.state.messages[Ee].role!=="user")throw new Error(`message with id ${Y.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,Ee+1),this.state.replaceMessage(Ee,{...ue,id:Y.messageId,role:(ce=ue.role)!=null?ce:"user",metadata:Y.metadata})}else this.state.pushMessage({...ue,id:(re=ue.id)!=null?re:this.generateId(),role:(se=ue.role)!=null?se:"user",metadata:Y.metadata});await this.makeRequest({trigger:"submit-message",messageId:Y.messageId,...ae})},this.regenerate=async({messageId:Y,...ae}={})=>{const ne=Y==null?this.state.messages.length-1:this.state.messages.findIndex(ce=>ce.id===Y);if(ne===-1)throw new Error(`message ${Y} not found`);this.state.messages=this.state.messages.slice(0,this.messages[ne].role==="assistant"?ne:ne+1),await this.makeRequest({trigger:"regenerate-message",messageId:Y,...ae})},this.resumeStream=async(Y={})=>{await this.makeRequest({trigger:"resume-stream",...Y})},this.clearError=()=>{this.status==="error"&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolOutput=async({state:Y="output-available",tool:ae,toolCallId:ne,output:ce,errorText:re})=>this.jobExecutor.run(async()=>{var se,ue;const Ee=this.state.messages,ye=Ee[Ee.length-1];this.state.replaceMessage(Ee.length-1,{...ye,parts:ye.parts.map(F=>CE(F)&&F.toolCallId===ne?{...F,state:Y,output:ce,errorText:re}:F)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(F=>CE(F)&&F.toolCallId===ne?{...F,state:Y,output:ce,errorText:re}:F)),this.status!=="streaming"&&this.status!=="submitted"&&((se=this.sendAutomaticallyWhen)!=null&&se.call(this,{messages:this.state.messages}))&&this.makeRequest({trigger:"submit-message",messageId:(ue=this.lastMessage)==null?void 0:ue.id})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{var Y;this.status!=="streaming"&&this.status!=="submitted"||(Y=this.activeResponse)!=null&&Y.abortController&&this.activeResponse.abortController.abort()},this.id=c,this.transport=d,this.generateId=u,this.messageMetadataSchema=h,this.dataPartSchemas=g,this.state=b,this.onError=_,this.onToolCall=z,this.onFinish=w,this.onData=O,this.sendAutomaticallyWhen=j}get status(){return this.state.status}setStatus({status:u,error:c}){this.status!==u&&(this.state.status=u,this.state.error=c)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(u){this.state.messages=u}async makeRequest({trigger:u,metadata:c,headers:d,body:h,messageId:g}){var b,_,z,w;this.setStatus({status:"submitted",error:void 0});const O=this.lastMessage;let j=!1,Y=!1,ae=!1;try{const ne={state:R6({lastMessage:this.state.snapshot(O),messageId:this.generateId()}),abortController:new AbortController};ne.abortController.signal.addEventListener("abort",()=>{j=!0}),this.activeResponse=ne;let ce;if(u==="resume-stream"){const se=await this.transport.reconnectToStream({chatId:this.id,metadata:c,headers:d,body:h});if(se==null){this.setStatus({status:"ready"});return}ce=se}else ce=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:ne.abortController.signal,metadata:c,headers:d,body:h,trigger:u,messageId:g});const re=se=>this.jobExecutor.run(()=>se({state:ne.state,write:()=>{var ue;this.setStatus({status:"streaming"}),ne.state.message.id===((ue=this.lastMessage)==null?void 0:ue.id)?this.state.replaceMessage(this.state.messages.length-1,ne.state.message):this.state.pushMessage(ne.state.message)}}));await N6({stream:U6({stream:ce,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:re,onError:se=>{throw se}}),onError:se=>{throw se}}),this.setStatus({status:"ready"})}catch(ne){if(j||ne.name==="AbortError")return j=!0,this.setStatus({status:"ready"}),null;ae=!0,ne instanceof TypeError&&(ne.message.toLowerCase().includes("fetch")||ne.message.toLowerCase().includes("network"))&&(Y=!0),this.onError&&ne instanceof Error&&this.onError(ne),this.setStatus({status:"error",error:ne})}finally{try{(_=this.onFinish)==null||_.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:j,isDisconnect:Y,isError:ae,finishReason:(b=this.activeResponse)==null?void 0:b.state.finishReason})}catch(ne){console.error(ne)}this.activeResponse=void 0}(z=this.sendAutomaticallyWhen)!=null&&z.call(this,{messages:this.state.messages})&&!ae&&await this.makeRequest({trigger:"submit-message",messageId:(w=this.lastMessage)==null?void 0:w.id,metadata:c,headers:d,body:h})}},C1,NE;function V6(){if(NE)return C1;NE=1;function u(c,d){if(typeof c!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof c}\`.`);let h,g=0;return function(..._){clearTimeout(h);const z=Date.now(),w=z-g,O=d-w;O<=0?(g=z,c.apply(this,_)):h=setTimeout(()=>{g=Date.now(),c.apply(this,_)},O)}}return C1=u,C1}var G6=V6();const X6=sA(G6);var ZE=(u,c,d)=>{if(!c.has(u))throw TypeError("Cannot "+d)},Ft=(u,c,d)=>(ZE(u,c,"read from private field"),d?d.call(u):c.get(u)),qi=(u,c,d)=>{if(c.has(u))throw TypeError("Cannot add the same private member more than once");c instanceof WeakSet?c.add(u):c.set(u,d)},$c=(u,c,d,h)=>(ZE(u,c,"write to private field"),c.set(u,d),d);function Q6(u,c){return c!=null?X6(u,c):u}var fu,Ng,Zg,cm,rm,sm,Dd,R1,U1,J6=class{constructor(u=[]){qi(this,fu,void 0),qi(this,Ng,"ready"),qi(this,Zg,void 0),qi(this,cm,new Set),qi(this,rm,new Set),qi(this,sm,new Set),this.pushMessage=c=>{$c(this,fu,Ft(this,fu).concat(c)),Ft(this,Dd).call(this)},this.popMessage=()=>{$c(this,fu,Ft(this,fu).slice(0,-1)),Ft(this,Dd).call(this)},this.replaceMessage=(c,d)=>{$c(this,fu,[...Ft(this,fu).slice(0,c),this.snapshot(d),...Ft(this,fu).slice(c+1)]),Ft(this,Dd).call(this)},this.snapshot=c=>structuredClone(c),this["~registerMessagesCallback"]=(c,d)=>{const h=d?Q6(c,d):c;return Ft(this,cm).add(h),()=>{Ft(this,cm).delete(h)}},this["~registerStatusCallback"]=c=>(Ft(this,rm).add(c),()=>{Ft(this,rm).delete(c)}),this["~registerErrorCallback"]=c=>(Ft(this,sm).add(c),()=>{Ft(this,sm).delete(c)}),qi(this,Dd,()=>{Ft(this,cm).forEach(c=>c())}),qi(this,R1,()=>{Ft(this,rm).forEach(c=>c())}),qi(this,U1,()=>{Ft(this,sm).forEach(c=>c())}),$c(this,fu,u)}get status(){return Ft(this,Ng)}set status(u){$c(this,Ng,u),Ft(this,R1).call(this)}get error(){return Ft(this,Zg)}set error(u){$c(this,Zg,u),Ft(this,U1).call(this)}get messages(){return Ft(this,fu)}set messages(u){$c(this,fu,[...u]),Ft(this,Dd).call(this)}};fu=new WeakMap,Ng=new WeakMap,Zg=new WeakMap,cm=new WeakMap,rm=new WeakMap,sm=new WeakMap,Dd=new WeakMap,R1=new WeakMap,U1=new WeakMap;var Md,HE=class extends L6{constructor({messages:c,...d}){const h=new J6(c);super({...d,state:h}),qi(this,Md,void 0),this["~registerMessagesCallback"]=(g,b)=>Ft(this,Md)["~registerMessagesCallback"](g,b),this["~registerStatusCallback"]=g=>Ft(this,Md)["~registerStatusCallback"](g),this["~registerErrorCallback"]=g=>Ft(this,Md)["~registerErrorCallback"](g),$c(this,Md,h)}};Md=new WeakMap;function $6({experimental_throttle:u,resume:c=!1,...d}={}){const h=Oe.useRef("chat"in d?d.chat:new HE(d));("chat"in d&&d.chat!==h.current||"id"in d&&h.current.id!==d.id)&&(h.current="chat"in d?d.chat:new HE(d));const b=Oe.useCallback(j=>h.current["~registerMessagesCallback"](j,u),[u,h.current.id]),_=Oe.useSyncExternalStore(b,()=>h.current.messages,()=>h.current.messages),z=Oe.useSyncExternalStore(h.current["~registerStatusCallback"],()=>h.current.status,()=>h.current.status),w=Oe.useSyncExternalStore(h.current["~registerErrorCallback"],()=>h.current.error,()=>h.current.error),O=Oe.useCallback(j=>{typeof j=="function"&&(j=j(h.current.messages)),h.current.messages=j},[h]);return Oe.useEffect(()=>{c&&h.current.resumeStream()},[c,h]),{id:h.current.id,messages:_,setMessages:O,sendMessage:h.current.sendMessage,regenerate:h.current.regenerate,clearError:h.current.clearError,stop:h.current.stop,error:w,resumeStream:h.current.resumeStream,status:z,addToolResult:h.current.addToolOutput,addToolOutput:h.current.addToolOutput}}const fn=[];for(let u=0;u<256;++u)fn.push((u+256).toString(16).slice(1));function k6(u,c=0){return(fn[u[c+0]]+fn[u[c+1]]+fn[u[c+2]]+fn[u[c+3]]+"-"+fn[u[c+4]]+fn[u[c+5]]+"-"+fn[u[c+6]]+fn[u[c+7]]+"-"+fn[u[c+8]]+fn[u[c+9]]+"-"+fn[u[c+10]]+fn[u[c+11]]+fn[u[c+12]]+fn[u[c+13]]+fn[u[c+14]]+fn[u[c+15]]).toLowerCase()}let N1;const K6=new Uint8Array(16);function I6(){if(!N1){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");N1=crypto.getRandomValues.bind(crypto)}return N1(K6)}const jE={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function F6(u,c,d){u=u||{};const h=u.random??u.rng?.()??I6();if(h.length<16)throw new Error("Random bytes length must be >= 16");return h[6]=h[6]&15|64,h[8]=h[8]&63|128,k6(h)}function W6(u,c,d){return jE.randomUUID&&!u?jE.randomUUID():F6(u)}const Z1="https://trailhead-production.up.railway.app",P6=Ea({role:z1(["user","assistant"]),content:ve()}),eM=Ea({sessionId:ve(),welcomeMessages:Jc(ve()).nullable().optional(),messages:Jc(P6).nullable().optional(),completed:xn().default(!1),name:ve(),color:ve(),imageUrl:ve().nullable(),formData:S1().nullable(),maxMessages:I_(),formFields:S1()}),BE=Ea({session:eM,token:ve()}),qE=Ea({success:xn(),message:ve(),data:S1().nullable()}),tM={session:null,token:null,isLoading:!0,isFetching:!1,error:null,refetch:async()=>{}},H1=Oe.createContext(tM);function aM({projectId:u,children:c}){const[d,h]=Oe.useState(!0),[g,b]=Oe.useState(!1),[_,z]=Oe.useState(null),[w,O]=Oe.useState(null),[j,Y]=Oe.useState(null),ae=Oe.useEffectEvent(async()=>{const re=new URL(`${Z1}/session/new?project_id=${u}`),se=await fetch(re.toString()),ue=await se.json();if(!se.ok)throw new Error(ue.error);const{success:Ee,data:ye}=BE.safeParse(ue);if(!Ee)throw console.error("Invalid session data: ",_),new Error("Invalid session data");return localStorage.setItem(`th__token_${ye.session.sessionId}`,ye.token??""),Y(ye.token??""),ye.session}),ne=Oe.useEffectEvent(async re=>{const se=new URL(`${Z1}/session`),ue=await fetch(se.toString(),{headers:{Authorization:`Bearer ${re}`}}),Ee=await ue.json();if(!ue.ok)throw new Error(Ee.error);const{success:ye,data:F}=BE.safeParse(Ee);if(!ye)throw console.error("Invalid session data: ",_),new Error("Invalid session data");return F}),ce=Oe.useCallback(async()=>{b(!0);try{const re=localStorage.getItem(`th__token_${u}`);let se=null;if(re)try{const{session:ue}=await ne(re);Y(re),se=ue}catch{console.warn("Failed to get session, creating new one"),se=await ae()}else se=await ae();O(se)}catch(re){console.error(re),z(re)}finally{h(!1),b(!1)}},[u]);return Oe.useEffect(()=>{ce()},[]),te.jsx(H1.Provider,{value:{session:w,token:j,isLoading:d,isFetching:g,error:_,refetch:ce},children:c})}function YE(){const u=Oe.useContext(H1);if(!u)throw new Error("useSession must be used within a SessionProvider");if(!u.session||!u.token)throw new Error("Session not found");return{session:u.session,token:u.token,refetch:u.refetch}}function nM(){const u=Oe.useContext(H1);if(!u)throw new Error("useMaybeSession must be used within a SessionProvider");return u}const LE=Oe.createContext(null);function lM(){const u=Oe.useContext(LE);if(!u)throw new Error("useChatContext must be used within a ChatProvider");return u}function VE({children:u}){const{token:c,session:{sessionId:d,messages:h}}=YE(),{messages:g,setMessages:b,sendMessage:_,status:z,error:w}=$6({transport:new UE({api:`${Z1}/chat`,body:{session_id:d},headers:c?{Authorization:`Bearer ${c}`}:void 0}),messages:h?.map(O=>({id:W6(),role:O.role,content:O.content,parts:[{type:"text",text:O.content}],metadata:{isLoading:!1}}))});return te.jsx(LE.Provider,{value:{messages:g,setMessages:b,sendMessage:_,status:z,error:w??null},children:u})}function uM(u){if(u.includes("email"))return"your@email.com";if(u.includes("website")||u.includes("portfolio")||u.includes("github")||u.includes("url")||u.includes("twitter")||u.includes("blog"))return"Share a link...";if(u.includes("looking for"))return"What you're looking for...";if(u.includes("great at"))return"Your key strengths...";if(u.includes("avoid"))return"What to avoid...";if(u.includes("location")||u.includes("based"))return"Your location..."}function GE(u){var c,d,h="";if(typeof u=="string"||typeof u=="number")h+=u;else if(typeof u=="object")if(Array.isArray(u)){var g=u.length;for(c=0;c<g;c++)u[c]&&(d=GE(u[c]))&&(h&&(h+=" "),h+=d)}else for(d in u)u[d]&&(h&&(h+=" "),h+=d);return h}function iM(){for(var u,c,d=0,h="",g=arguments.length;d<g;d++)(u=arguments[d])&&(c=GE(u))&&(h&&(h+=" "),h+=c);return h}function Ms(...u){return iM(u)}const j1=p2.forwardRef(({className:u,size:c="default",...d},h)=>{const g={sm:"h-8 px-3 text-xs",default:"h-9 px-4",icon:"h-9 w-9 rounded-lg"};return te.jsx("button",{className:Ms("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 cursor-pointer",g[c],u),ref:h,...d})});j1.displayName="Button";const XE=p2.forwardRef(({className:u,...c},d)=>te.jsx("textarea",{className:Ms("w-full rounded-lg bg-gray-50 border border-gray-200 focus:border-gray-300 focus:ring-0 px-3 py-2 min-h-[38px] text-gray-900 placeholder:text-gray-400 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 leading-6",u),ref:d,...c}));XE.displayName="Textarea";function QE({className:u,...c}){return te.jsxs("svg",{className:Ms("size-4 animate-spin text-gray-400",u),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",role:"status","aria-label":"Loading",...c,children:[te.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),te.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function oM({message:u,className:c="h-full"}){return te.jsx("div",{className:`flex items-center justify-center ${c}`,children:te.jsxs("div",{className:"text-center",children:[te.jsx(QE,{className:"size-6 mx-auto mb-3"}),u&&te.jsx("p",{className:"text-gray-500",children:u})]})})}function cM({variant:u="narrow",speed:c=1,className:d,color:h="muted"}){const g=u==="wide"?48:24,b=24,z={light:"text-gray-300",muted:"text-gray-400",dark:"text-gray-700"}[h];return te.jsx("svg",{width:g,height:b,viewBox:`0 0 ${g} ${b}`,xmlns:"http://www.w3.org/2000/svg",className:Ms("inline-block",z,d),style:{overflow:"hidden"},"aria-label":"Loading",children:te.jsx("g",{children:te.jsx("path",{d:"M-16,12 Q-12,4 -8,12 Q-4,20 0,12 Q4,4 8,12 Q12,20 16,12 Q20,4 24,12 Q28,20 32,12 Q36,4 40,12 Q44,20 48,12 Q52,4 56,12 Q60,20 64,12",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:te.jsx("animateTransform",{attributeName:"transform",type:"translate",from:"0 0",to:"16 0",dur:`${c}s`,repeatCount:"indefinite"})})})})}function rM(u){const c=u.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)||u.match(/^#?([a-f\d])([a-f\d])([a-f\d])$/i);if(!c)return null;let[,d,h,g]=c;return d.length===1&&(d=d+d,h=h+h,g=g+g),[parseInt(d,16),parseInt(h,16),parseInt(g,16)]}function sM(u){const c=u.match(/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/);return c?[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]:null}function fM([u,c,d]){const[h,g,b]=[u,c,d].map(_=>(_=_/255,_<=.03928?_/12.92:Math.pow((_+.055)/1.055,2.4)));return .2126*h+.7152*g+.0722*b}function dM(u){const c=rM(u)||sM(u)||[255,255,255];return fM(c)>.2}function JE(u){return dM(u)?"#121212":"#fafafa"}function hM({onSend:u,disabled:c,placeholder:d="Type your message...",color:h}){const[g,b]=Oe.useState(""),_=Oe.useRef(null);Oe.useEffect(()=>{_.current&&(_.current.style.height="48px",g&&(_.current.style.height=`${Math.min(_.current.scrollHeight,200)}px`))},[g]),Oe.useEffect(()=>{!c&&_.current&&_.current.focus()},[c,g]);const z=j=>{j.preventDefault(),g.trim()&&!c&&(u(g.trim()),b(""))},w=j=>{j.key==="Enter"&&!j.shiftKey&&(j.preventDefault(),z(j))},O=Oe.useMemo(()=>JE(h),[h]);return te.jsxs(te.Fragment,{children:[te.jsx("style",{children:`
259
259
  @keyframes bounceIn {
260
260
  0% {
261
261
  opacity: 0;
@@ -312,7 +312,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
312
312
  .form-slide-up {
313
313
  animation: slideUp 0.4s cubic-bezier(0.34, 1.15, 0.64, 1);
314
314
  }
315
- `}),te.jsx("form",{onSubmit:z,className:"form-slide-up",style:{touchAction:"manipulation"},children:te.jsxs("div",{className:"max-w-xl mx-auto px-4 py-3 flex items-end gap-2 rounded-full",children:[te.jsx(QE,{ref:_,id:"chat-message-input",name:"message",value:g,onChange:j=>b(j.target.value),onKeyDown:w,disabled:c,placeholder:d,autoFocus:!0,className:"input-transition flex-1 px-4 py-3 rounded-xl h-12 max-h-[200px] resize-none overflow-hidden",style:{touchAction:"manipulation"}}),te.jsx(XE,{type:"submit",size:"icon",disabled:c||!g.trim(),className:"h-12 w-12 rounded-full!",style:{backgroundColor:h,color:O},"aria-label":"Send message",children:te.jsx(SA,{className:"h-5 w-5"})})]})})]})}const hM=u=>u.isBot?u.isStandalone?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:u.isFirstInGroup?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:u.isMiddle?{borderTopLeftRadius:"8px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:{borderTopLeftRadius:"8px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"24px"}:u.isStandalone?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:u.isFirstInGroup?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:u.isMiddle?{borderTopLeftRadius:"24px",borderTopRightRadius:"8px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:{borderTopLeftRadius:"24px",borderTopRightRadius:"8px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"24px"};function pM({role:u,color:c,content:d,shouldTypeOut:h=!1,isLoading:g=!1,isFirstInGroup:b=!0,isLastInGroup:_=!0}){const z=u==="assistant",[w,O]=Oe.useState(h?"":d),[j,Y]=Oe.useState(g),[ae,ne]=Oe.useState(!1);Oe.useEffect(()=>{const Ee=setTimeout(()=>ne(!0),200);return()=>clearTimeout(Ee)},[]),Oe.useEffect(()=>{if(!h){O(d);return}let Ee=0;O("");const ye=setInterval(()=>{Ee<d.length?(O(d.slice(0,Ee+1)),Ee++):clearInterval(ye)},10);return()=>clearInterval(ye)},[d,h]),Oe.useEffect(()=>{if(!g&&!j){const Ee=setTimeout(()=>Y(!0),50);return()=>clearTimeout(Ee)}},[g,j]);const se=hM({isBot:z,isStandalone:b&&_,isFirstInGroup:b,isMiddle:!b&&!_}),ue=Oe.useMemo(()=>$E(c),[c]);return te.jsx("div",{className:Ms("flex w-full",z?"justify-start":"justify-end"),children:te.jsx("div",{className:Ms("max-w-[80%] px-4 py-3",z?"bg-gray-100 text-gray-800":""),style:{animation:ae?void 0:"slideUp 0.15s ease-out",transition:"border-radius 0.2s ease-out",...se,...z?{}:{backgroundColor:c,color:ue}},children:te.jsx("div",{className:"text-base whitespace-pre-wrap wrap-break-word",children:w})})})}function mM({state:u,onSubmitSuccess:c,onSubmitError:d}){const h=u==="input-available"||u==="input-streaming",g=u==="output-error",b=g?"error":u==="output-warning"?"warning":"success",_={success:{bg:"bg-green-100",text:"text-green-800"},error:{bg:"bg-red-100",text:"text-red-800"},warning:{bg:"bg-yellow-100",text:"text-yellow-800"}},z=h?"bg-muted":_[b].bg,w=h?"text-muted-foreground":_[b].text;return Oe.useEffect(()=>{u==="output-success"?c?.():u==="output-error"&&d?.("Error submitting interest")},[u,c,d]),te.jsx("div",{className:"flex justify-center w-full my-2",children:te.jsxs("span",{className:Ms("pl-3 pr-4 py-3 rounded-full text-xs font-medium inline-flex items-center gap-2",z,w),style:{animation:"slideUp 0.15s ease-out",transition:"background-color 0.4s ease-out, color 0.4s ease-out"},children:[te.jsxs("span",{className:"relative inline-flex items-center justify-center shrink-0",style:{width:"12px",height:"12px"},children:[te.jsx("span",{style:{position:"absolute",opacity:h?1:0,transition:"opacity 0.3s ease-out"},children:te.jsx(JE,{className:"h-3 w-3"})}),te.jsx("span",{style:{position:"absolute",opacity:h?0:1,transition:"opacity 0.3s ease-out 0.1s"},children:g?te.jsx(E2,{className:"h-3 w-3"}):te.jsx(bA,{className:"h-3 w-3"})})]}),te.jsx("span",{style:{transition:h?"opacity 0.4s ease-out 0.15s, transform 0.4s ease-out 0.15s":"none"},children:h?"Submitting...":g?"Error submitting":te.jsx("div",{children:"Thank you! we'll be in touch soon."})})]})})}function yM({messages:u,isLoading:c,color:d="#ff0000"}){const h=u[u.length-1],b=h?.parts[h?.parts.length-1]?.type.startsWith("tool-");return te.jsxs("div",{className:"flex flex-col gap-[4px]",children:[u.map((_,z)=>_.parts.map((w,O)=>{const j=`${_.id}-${O}`;if(w.type==="text"){const Y=w.text.trim();if(Y===""||Y.length===1&&Y.startsWith("<")||Y.length>1&&Y.startsWith("<C"))return null;const ae=Y.replace(/<C[\w_>]*\W/g,""),ne=_.id?.startsWith("welcome-")&&z<3,ce=_.role==="system";let re=!0,se=!0;if(!ce){let ue=z-1;for(;ue>=0;){const Je=u[ue].role,je=u[ue].parts.find(Te=>Te.type==="text")?.text;if(je&&je.trim()!==""&&Je!=="system")break;ue--}const Ee=ue>=0?u[ue]:null;re=!Ee||Ee.role!==_.role;let ye=z+1;for(;ye<u.length;){const Je=u[ye].role,je=u[ye].parts.find(Te=>Te.type==="text")?.text;if(je&&je.trim()!==""&&Je!=="system")break;ye++}const F=ye<u.length?u[ye]:null;se=!F||F.role!==_.role}return te.jsx(pM,{role:_.role,color:d,content:ae,isStreaming:c&&z===u.length-1&&_.role==="assistant",shouldTypeOut:ne,isLoading:_.metadata?.isLoading,isFirstInGroup:re,isLastInGroup:se},j)}return w.type==="tool-end_conversation"?te.jsx(mM,{state:w.state},j):null})),(c||b)&&te.jsx("div",{className:"flex w-full justify-start",children:te.jsx("div",{className:"px-4 py-3 rounded-t-2xl bg-gray-100 text-gray-800 rounded-r-2xl rounded-bl-[8px]",style:{animation:"slideUp 0.15s ease-out"},children:te.jsx("div",{className:"h-[14px] flex items-center",children:te.jsx(oM,{variant:"narrow",speed:1,color:"light"})})})})]})}function kE({onSubmit:u,onError:c,onFormUpdated:d}){const{session:{color:h,messages:g,welcomeMessages:b,completed:_,maxMessages:z,imageUrl:w}}=YE(),[O,j]=Oe.useState(_??!1),[Y,ae]=Oe.useState(!!g?.length),ne=Oe.useMemo(()=>b?.map(ie=>({id:`welcome-${Date.now()}`,role:"assistant",parts:[{type:"text",text:ie}],metadata:{isLoading:!1}}))??[],[b]),{messages:ce,setMessages:re,sendMessage:se,status:ue,error:Ee}=nM(),ye=Oe.useMemo(()=>{const ie=ce[ce.length-1]?.parts??[],qe=ie[ie.length-1],de=ue==="streaming"&&qe?.type!=="text";return ue==="submitted"||de},[ce,ue]);Oe.useEffect(()=>{Ee&&c?.(Ee)},[Ee]),Oe.useEffect(()=>{if(ce.length===0||!d)return;const ie=ce[ce.length-1];if(ie.role!=="assistant")return;const qe=ie.parts[ie.parts.length-1];if(qe.type!=="tool-update_data"||qe.state!=="output-available")return;const{data:de,success:zt,error:De}=qE.safeParse(qe.output);if(!zt){c?.(new Error("Invalid form update data response")),console.error("Invalid form update data response: ",De);return}if(!de.success){c?.(new Error("Failed to update form data")),console.error("Invalid form update data response: ",De);return}d?.(de.data)},[ce]),Oe.useEffect(()=>{if(O||!u||ce.length===0)return;const ie=ce[ce.length-1];if(ie.role!=="assistant")return;const qe=ie.parts[ie.parts.length-1];if(qe.type!=="tool-end_conversation"||qe.state!=="output-available")return;const{data:de,success:zt,error:De}=qE.safeParse(qe.output);if(!zt){c?.(new Error("Invalid form update data response")),console.error("Invalid form update data response: ",De);return}if(!de.success){c?.(new Error("Failed to update form data")),console.error("Invalid form update data response: ",De);return}j(!0),ae(!1),u?.(de.data)},[ce]);const F=Oe.useCallback((ie,qe="success",de=!1)=>{const zt={id:`system-${Date.now()}-${qe}`,role:"system",parts:[{type:"text",text:ie}],metadata:{variant:qe,isLoading:de}};return re(De=>[...De,zt]),zt.id},[]);Oe.useEffect(()=>{if((g?.length??0)>0||_)return;if(ne.length===0){ae(!0);return}const ie=[],qe=50;let de=qe;const zt=setTimeout(()=>{for(let De=0;De<ne.length;De++){const Fe=De>0?ne[De-1]:null,en=ne[De],tn=Fe?.parts.find(le=>le.type==="text")?.text||"",H=Fe?.role==="assistant"?tn.length*10+200:0;de+=H;const ee=setTimeout(()=>{re(le=>[...le,en]),De===ne.length-1&&ie.push(setTimeout(()=>{ae(!0)},H))},de);ie.push(ee)}},qe);return ie.push(zt),()=>{ie.forEach(De=>clearTimeout(De))}},[g,ne,_]);const Je=async ie=>{if(ce.length>=z){F("Max chat length reached.","warning");return}await se({text:ie})},je=Oe.useRef(null),Te=Oe.useMemo(()=>{if(ye)return"Waiting for response...";const ie=ce.filter(de=>de.role==="assistant").slice(-1)[0];if(!ie)return;const qe=ie.parts.find(de=>de.type==="text")?.text?.toLowerCase()||"";return lM(qe)??"Type your message..."},[ce]);return Oe.useEffect(()=>{je.current&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{je.current&&(je.current.scrollTop=je.current.scrollHeight)})})},[ce]),te.jsxs(te.Fragment,{children:[te.jsx("style",{children:`
315
+ `}),te.jsx("form",{onSubmit:z,className:"form-slide-up",style:{touchAction:"manipulation"},children:te.jsxs("div",{className:"max-w-xl mx-auto px-4 py-3 flex items-end gap-2 rounded-full",children:[te.jsx(XE,{ref:_,id:"chat-message-input",name:"message",value:g,onChange:j=>b(j.target.value),onKeyDown:w,disabled:c,placeholder:d,autoFocus:!0,className:"input-transition flex-1 px-4 py-3 rounded-xl h-12 max-h-[200px] resize-none overflow-hidden",style:{touchAction:"manipulation"}}),te.jsx(j1,{type:"submit",size:"icon",disabled:c||!g.trim(),className:"h-12 w-12 rounded-full!",style:{backgroundColor:h,color:O},"aria-label":"Send message",children:te.jsx(_A,{className:"h-5 w-5"})})]})})]})}const pM=u=>u.isBot?u.isStandalone?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:u.isFirstInGroup?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:u.isMiddle?{borderTopLeftRadius:"8px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"8px"}:{borderTopLeftRadius:"8px",borderTopRightRadius:"24px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"24px"}:u.isStandalone?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:u.isFirstInGroup?{borderTopLeftRadius:"24px",borderTopRightRadius:"24px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:u.isMiddle?{borderTopLeftRadius:"24px",borderTopRightRadius:"8px",borderBottomRightRadius:"8px",borderBottomLeftRadius:"24px"}:{borderTopLeftRadius:"24px",borderTopRightRadius:"8px",borderBottomRightRadius:"24px",borderBottomLeftRadius:"24px"};function mM({role:u,color:c,content:d,shouldTypeOut:h=!1,isLoading:g=!1,isFirstInGroup:b=!0,isLastInGroup:_=!0}){const z=u==="assistant",[w,O]=Oe.useState(h?"":d),[j,Y]=Oe.useState(g),[ae,ne]=Oe.useState(!1);Oe.useEffect(()=>{const Ee=setTimeout(()=>ne(!0),200);return()=>clearTimeout(Ee)},[]),Oe.useEffect(()=>{if(!h){O(d);return}let Ee=0;O("");const ye=setInterval(()=>{Ee<d.length?(O(d.slice(0,Ee+1)),Ee++):clearInterval(ye)},10);return()=>clearInterval(ye)},[d,h]),Oe.useEffect(()=>{if(!g&&!j){const Ee=setTimeout(()=>Y(!0),50);return()=>clearTimeout(Ee)}},[g,j]);const se=pM({isBot:z,isStandalone:b&&_,isFirstInGroup:b,isMiddle:!b&&!_}),ue=Oe.useMemo(()=>JE(c),[c]);return te.jsx("div",{className:Ms("flex w-full",z?"justify-start":"justify-end"),children:te.jsx("div",{className:Ms("max-w-[80%] px-4 py-3",z?"bg-gray-100 text-gray-800":""),style:{animation:ae?void 0:"slideUp 0.15s ease-out",transition:"border-radius 0.2s ease-out",...se,...z?{}:{backgroundColor:c,color:ue}},children:te.jsx("div",{className:"text-base whitespace-pre-wrap wrap-break-word",children:w})})})}function yM({state:u,onSubmitSuccess:c,onSubmitError:d}){const h=u==="input-available"||u==="input-streaming",g=u==="output-error",b=g?"error":u==="output-warning"?"warning":"success",_={success:{bg:"bg-green-100",text:"text-green-800"},error:{bg:"bg-red-100",text:"text-red-800"},warning:{bg:"bg-yellow-100",text:"text-yellow-800"}},z=h?"bg-muted":_[b].bg,w=h?"text-muted-foreground":_[b].text;return Oe.useEffect(()=>{u==="output-success"?c?.():u==="output-error"&&d?.("Error submitting interest")},[u,c,d]),te.jsx("div",{className:"flex justify-center w-full my-2",children:te.jsxs("span",{className:Ms("pl-3 pr-4 py-3 rounded-full text-xs font-medium inline-flex items-center gap-2",z,w),style:{animation:"slideUp 0.15s ease-out",transition:"background-color 0.4s ease-out, color 0.4s ease-out"},children:[te.jsxs("span",{className:"relative inline-flex items-center justify-center shrink-0",style:{width:"12px",height:"12px"},children:[te.jsx("span",{style:{position:"absolute",opacity:h?1:0,transition:"opacity 0.3s ease-out"},children:te.jsx(QE,{className:"h-3 w-3"})}),te.jsx("span",{style:{position:"absolute",opacity:h?0:1,transition:"opacity 0.3s ease-out 0.1s"},children:g?te.jsx(E2,{className:"h-3 w-3"}):te.jsx(SA,{className:"h-3 w-3"})})]}),te.jsx("span",{style:{transition:h?"opacity 0.4s ease-out 0.15s, transform 0.4s ease-out 0.15s":"none"},children:h?"Submitting...":g?"Error submitting":te.jsx("div",{children:"Thank you! we'll be in touch soon."})})]})})}function gM({messages:u,isLoading:c,color:d="#ff0000"}){const h=u[u.length-1],b=h?.parts[h?.parts.length-1]?.type.startsWith("tool-");return te.jsxs("div",{className:"flex flex-col gap-[4px]",children:[u.map((_,z)=>_.parts.map((w,O)=>{const j=`${_.id}-${O}`;if(w.type==="text"){const Y=w.text.trim();if(Y===""||Y.length===1&&Y.startsWith("<")||Y.length>1&&Y.startsWith("<C"))return null;const ae=Y.replace(/<C[\w_>]*\W/g,""),ne=_.id?.startsWith("welcome-")&&z<3,ce=_.role==="system";let re=!0,se=!0;if(!ce){let ue=z-1;for(;ue>=0;){const Je=u[ue].role,je=u[ue].parts.find(Te=>Te.type==="text")?.text;if(je&&je.trim()!==""&&Je!=="system")break;ue--}const Ee=ue>=0?u[ue]:null;re=!Ee||Ee.role!==_.role;let ye=z+1;for(;ye<u.length;){const Je=u[ye].role,je=u[ye].parts.find(Te=>Te.type==="text")?.text;if(je&&je.trim()!==""&&Je!=="system")break;ye++}const F=ye<u.length?u[ye]:null;se=!F||F.role!==_.role}return te.jsx(mM,{role:_.role,color:d,content:ae,isStreaming:c&&z===u.length-1&&_.role==="assistant",shouldTypeOut:ne,isLoading:_.metadata?.isLoading,isFirstInGroup:re,isLastInGroup:se},j)}return w.type==="tool-end_conversation"?te.jsx(yM,{state:w.state},j):null})),(c||b)&&te.jsx("div",{className:"flex w-full justify-start",children:te.jsx("div",{className:"px-4 py-3 rounded-t-2xl bg-gray-100 text-gray-800 rounded-r-2xl rounded-bl-[8px]",style:{animation:"slideUp 0.15s ease-out"},children:te.jsx("div",{className:"h-[14px] flex items-center",children:te.jsx(cM,{variant:"narrow",speed:1,color:"light"})})})})]})}function $E({onSubmit:u,onError:c,onFormUpdated:d}){const{session:{color:h,messages:g,welcomeMessages:b,completed:_,maxMessages:z,imageUrl:w}}=YE(),[O,j]=Oe.useState(_??!1),[Y,ae]=Oe.useState(!!g?.length),ne=Oe.useMemo(()=>b?.map(ie=>({id:`welcome-${Date.now()}`,role:"assistant",parts:[{type:"text",text:ie}],metadata:{isLoading:!1}}))??[],[b]),{messages:ce,setMessages:re,sendMessage:se,status:ue,error:Ee}=lM(),ye=Oe.useMemo(()=>{const ie=ce[ce.length-1]?.parts??[],qe=ie[ie.length-1],de=ue==="streaming"&&qe?.type!=="text";return ue==="submitted"||de},[ce,ue]);Oe.useEffect(()=>{Ee&&c?.(Ee)},[Ee]),Oe.useEffect(()=>{if(ce.length===0||!d)return;const ie=ce[ce.length-1];if(ie.role!=="assistant")return;const qe=ie.parts[ie.parts.length-1];if(qe.type!=="tool-update_data"||qe.state!=="output-available")return;const{data:de,success:zt,error:De}=qE.safeParse(qe.output);if(!zt){c?.(new Error("Invalid form update data response")),console.error("Invalid form update data response: ",De);return}if(!de.success){c?.(new Error("Failed to update form data")),console.error("Invalid form update data response: ",De);return}d?.(de.data)},[ce]),Oe.useEffect(()=>{if(O||!u||ce.length===0)return;const ie=ce[ce.length-1];if(ie.role!=="assistant")return;const qe=ie.parts[ie.parts.length-1];if(qe.type!=="tool-end_conversation"||qe.state!=="output-available")return;const{data:de,success:zt,error:De}=qE.safeParse(qe.output);if(!zt){c?.(new Error("Invalid form update data response")),console.error("Invalid form update data response: ",De);return}if(!de.success){c?.(new Error("Failed to update form data")),console.error("Invalid form update data response: ",De);return}j(!0),ae(!1),u?.(de.data)},[ce]);const F=Oe.useCallback((ie,qe="success",de=!1)=>{const zt={id:`system-${Date.now()}-${qe}`,role:"system",parts:[{type:"text",text:ie}],metadata:{variant:qe,isLoading:de}};return re(De=>[...De,zt]),zt.id},[]);Oe.useEffect(()=>{if((g?.length??0)>0||_)return;if(ne.length===0){ae(!0);return}const ie=[],qe=50;let de=qe;const zt=setTimeout(()=>{for(let De=0;De<ne.length;De++){const Fe=De>0?ne[De-1]:null,en=ne[De],tn=Fe?.parts.find(le=>le.type==="text")?.text||"",H=Fe?.role==="assistant"?tn.length*10+200:0;de+=H;const ee=setTimeout(()=>{re(le=>[...le,en]),De===ne.length-1&&ie.push(setTimeout(()=>{ae(!0)},H))},de);ie.push(ee)}},qe);return ie.push(zt),()=>{ie.forEach(De=>clearTimeout(De))}},[g,ne,_]);const Je=async ie=>{if(ce.length>=z){F("Max chat length reached.","warning");return}await se({text:ie})},je=Oe.useRef(null),Te=Oe.useMemo(()=>{if(ye)return"Waiting for response...";const ie=ce.filter(de=>de.role==="assistant").slice(-1)[0];if(!ie)return;const qe=ie.parts.find(de=>de.type==="text")?.text?.toLowerCase()||"";return uM(qe)??"Type your message..."},[ce]);return Oe.useEffect(()=>{je.current&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{je.current&&(je.current.scrollTop=je.current.scrollHeight)})})},[ce]),te.jsxs(te.Fragment,{children:[te.jsx("style",{children:`
316
316
  @keyframes slideUp {
317
317
  from {
318
318
  opacity: 0;
@@ -335,4 +335,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
335
335
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
336
336
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
337
337
  }
338
- `}),te.jsxs("div",{className:"h-full flex flex-col pt-4",children:[te.jsx("div",{ref:je,className:"flex-1 overflow-y-auto",children:te.jsxs("div",{className:"max-w-xl mx-auto px-4 pt-8 pb-4",children:[w&&te.jsx("div",{className:"flex justify-center py-8",children:te.jsx("img",{src:w,alt:"Avatar",className:"h-8 logo-enter rounded-full"})}),te.jsx(yM,{messages:ce,isLoading:ye,color:h})]})}),Y&&te.jsx("div",{className:"shrink-0 bg-background ",children:te.jsx(dM,{onSend:Je,disabled:ye||!Y||O||ce.length>=z,placeholder:O?"Conversation ended.":ce.length>=z?"Max chat length reached.":Te,color:h})})]})]})}function KE({error:u,onRetry:c}){return te.jsx("div",{className:"flex-1 flex items-center justify-center p-6",children:te.jsxs("div",{className:"text-center",children:[te.jsx("div",{className:"w-12 h-12 rounded-full bg-red-100 flex items-center justify-center mx-auto mb-4",children:te.jsx(vA,{className:"w-6 h-6 text-red-600"})}),te.jsx("p",{className:"text-red-600 font-medium mb-1",children:"Failed to load chat"}),te.jsx("p",{className:"text-gray-500 text-sm mb-4",children:u.message}),c&&te.jsx("button",{onClick:c,className:"px-4 py-2 text-sm font-medium text-white bg-indigo-600 rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500",children:"Try Again"})]})})}function IE(){return te.jsx("div",{className:"flex-1 flex items-center justify-center p-6",children:te.jsxs("div",{className:"text-center",children:[te.jsx("div",{className:"w-12 h-12 rounded-full bg-gray-100 flex items-center justify-center mx-auto mb-4",children:te.jsx(_2,{className:"w-6 h-6 text-gray-400"})}),te.jsx("p",{className:"text-gray-600 font-medium mb-1",children:"Chat unavailable"}),te.jsx("p",{className:"text-gray-500 text-sm",children:"Unable to start a session"})]})})}function FE({projectId:u,type:c="bubble",onFormUpdated:d,onReady:h,onSubmit:g,onError:b}){return te.jsx(tM,{projectId:u,children:te.jsx(gM,{projectId:u,type:c,onFormUpdated:d,onReady:h,onSubmit:g,onError:b})})}function gM({type:u="bubble",onFormUpdated:c,onReady:d,onSubmit:h,onError:g}){const{session:b,isLoading:_,error:z,refetch:w}=aM(),O=Oe.useRef(!1);Oe.useEffect(()=>{b&&d&&!O.current&&(d({sessionId:b.sessionId,completed:b.completed??!1,messages:b.messages??[],formData:b.formData??null}),O.current=!0)},[b]),Oe.useEffect(()=>{z&&(console.error("Error in TrailheadChat:",z),g?.(z))},[z]);const j={onFormUpdated:c,onSubmit:h,onError:g};return u==="bubble"?te.jsx(bM,{...j,isLoading:_,error:z,session:b,onRetry:w}):_?te.jsx(iM,{}):z?te.jsx(KE,{error:z,onRetry:w}):b?te.jsx(vM,{...j},"embedded"):te.jsx(IE,{})}function vM(u){return te.jsx(VE,{children:te.jsx(kE,{...u})})}function bM({isLoading:u,error:c,session:d,onRetry:h,...g}){const[b,_]=Oe.useState(!1);if(u)return null;const z=()=>c?te.jsx(KE,{error:c,onRetry:h}):d?te.jsx(VE,{children:te.jsx(kE,{...g})}):te.jsx(IE,{});return te.jsxs(te.Fragment,{children:[b&&te.jsx("div",{className:"absolute bottom-24 right-5 w-[400px] h-[600px] max-w-[calc(100vw-40px)] max-h-[calc(100vh-140px)] shadow-2xl bg-white rounded-xl z-9999 flex flex-col overflow-hidden animate-in fade-in slide-in-from-bottom-4 duration-300",children:z()}),te.jsx("button",{onClick:()=>_(!b),className:"absolute bottom-5 right-5 w-[60px] h-[60px] rounded-full border-none cursor-pointer flex items-center shadow-sm justify-center z-10000 transition-all hover:scale-105 animate-in fade-in zoom-in-50 animate-in fade-in slide-in-from-bottom-4 duration-300",style:{backgroundColor:d?.color??"#252525"},"aria-label":b?"Close chat":"Open chat",children:te.jsxs("div",{className:"relative w-7 h-7",children:[te.jsx(E2,{className:"w-7 h-7 text-white absolute inset-0 transition-all duration-300",style:{opacity:b?1:0,transform:b?"rotate(0deg) scale(1)":"rotate(-90deg) scale(0.5)",pointerEvents:b?"auto":"none"}}),te.jsx(_2,{className:"w-7 h-7 text-white absolute inset-0 transition-all duration-300",style:{opacity:b?0:1,transform:b?"rotate(90deg) scale(0.5)":"rotate(0deg) scale(1)",pointerEvents:b?"none":"auto"}})]})})]})}function WE(u,c){const d=document.getElementById(u);if(!d)throw new Error(`Element with id "${u}" not found`);const h=gA.createRoot(d);return h.render(te.jsx(Oe.StrictMode,{children:te.jsx(FE,{...c})})),{unmount:()=>h.unmount()}}if(typeof window<"u"){const u=document.currentScript;if(u){const c=u.getAttribute("data-project-id"),d=u.getAttribute("data-type")||"bubble",h=u.getAttribute("data-auto-init")!=="false";if(c&&h){const g=document.createElement("div");g.id="trailhead-widget-root",document.body.appendChild(g),WE("trailhead-widget-root",{projectId:c,type:d})}}}ji.TrailheadChat=FE,ji.initTrailheadWidget=WE,Object.defineProperty(ji,Symbol.toStringTag,{value:"Module"})}));
338
+ `}),te.jsxs("div",{className:"h-full flex flex-col pt-4",children:[te.jsx("div",{ref:je,className:"flex-1 overflow-y-auto",children:te.jsxs("div",{className:"max-w-xl mx-auto px-4 pt-8 pb-4",children:[w&&te.jsx("div",{className:"flex justify-center py-8",children:te.jsx("img",{src:w,alt:"Avatar",className:"h-8 logo-enter rounded-full"})}),te.jsx(gM,{messages:ce,isLoading:ye,color:h})]})}),Y&&te.jsx("div",{className:"shrink-0 bg-background ",children:te.jsx(hM,{onSend:Je,disabled:ye||!Y||O||ce.length>=z,placeholder:O?"Conversation ended.":ce.length>=z?"Max chat length reached.":Te,color:h})})]})]})}function kE({error:u,onRetry:c}){return te.jsx("div",{className:"flex-1 flex items-center justify-center p-6",children:te.jsxs("div",{className:"text-center",children:[te.jsx("div",{className:"w-12 h-12 flex items-center justify-center mx-auto mb-2",children:te.jsx(bA,{className:"w-8 h-8 text-red-600"})}),te.jsx("p",{className:"text-red-600 font-medium mb-1",children:"Failed to load chat"}),te.jsx("p",{className:"text-gray-500 text-sm mb-4",children:u.message}),c&&te.jsx(j1,{onClick:c,size:"sm",className:"bg-slate-800 text-white hover:bg-slate-700",children:"Try Again"})]})})}function KE(){return te.jsx("div",{className:"flex-1 flex items-center justify-center p-6",children:te.jsxs("div",{className:"text-center",children:[te.jsx("div",{className:"w-12 h-12 flex items-center justify-center mx-auto mb-2",children:te.jsx(vA,{className:"w-6 h-6 text-gray-400"})}),te.jsx("p",{className:"text-gray-600 font-medium mb-1",children:"Chat unavailable"}),te.jsx("p",{className:"text-gray-500 text-sm",children:"Unable to start a session"})]})})}function IE({projectId:u,type:c="bubble",onFormUpdated:d,onReady:h,onSubmit:g,onError:b}){return te.jsx(aM,{projectId:u,children:te.jsx(vM,{projectId:u,type:c,onFormUpdated:d,onReady:h,onSubmit:g,onError:b})})}function vM({type:u="bubble",onFormUpdated:c,onReady:d,onSubmit:h,onError:g}){const{session:b,isLoading:_,error:z,refetch:w}=nM(),O=Oe.useRef(!1);Oe.useEffect(()=>{b&&d&&!O.current&&(d({sessionId:b.sessionId,completed:b.completed??!1,messages:b.messages??[],formData:b.formData??null}),O.current=!0)},[b]),Oe.useEffect(()=>{z&&(console.error("Error in TrailheadChat:",z),g?.(z))},[z]);const j={onFormUpdated:c,onSubmit:h,onError:g};return u==="bubble"?te.jsx(SM,{...j,isLoading:_,error:z,session:b,onRetry:w}):_?te.jsx(oM,{}):z?te.jsx(kE,{error:z,onRetry:w}):b?te.jsx(bM,{...j},"embedded"):te.jsx(KE,{})}function bM(u){return te.jsx(VE,{children:te.jsx($E,{...u})})}function SM({isLoading:u,error:c,session:d,onRetry:h,...g}){const[b,_]=Oe.useState(!1);if(u)return null;const z=()=>c?te.jsx(kE,{error:c,onRetry:h}):d?te.jsx(VE,{children:te.jsx($E,{...g})}):te.jsx(KE,{});return te.jsxs(te.Fragment,{children:[b&&te.jsx("div",{className:"absolute bottom-24 right-5 w-[400px] h-[600px] max-w-[calc(100vw-40px)] max-h-[calc(100vh-140px)] shadow-2xl bg-white rounded-xl z-9999 flex flex-col overflow-hidden animate-in fade-in slide-in-from-bottom-4 duration-300",children:z()}),te.jsx("button",{onClick:()=>_(!b),className:"absolute bottom-5 right-5 w-[60px] h-[60px] rounded-full border-none cursor-pointer flex items-center shadow-sm justify-center z-10000 transition-all hover:scale-105 animate-in fade-in zoom-in-50 animate-in fade-in slide-in-from-bottom-4 duration-300",style:{backgroundColor:d?.color??"#252525"},"aria-label":b?"Close chat":"Open chat",children:te.jsxs("div",{className:"relative w-7 h-7",children:[te.jsx(E2,{className:"w-7 h-7 text-white absolute inset-0 transition-all duration-300",style:{opacity:b?1:0,transform:b?"rotate(0deg) scale(1)":"rotate(-90deg) scale(0.5)",pointerEvents:b?"auto":"none"}}),te.jsx(gA,{className:"w-7 h-7 text-white absolute inset-0 transition-all duration-300",style:{opacity:b?0:1,transform:b?"rotate(90deg) scale(0.5)":"rotate(0deg) scale(1)",pointerEvents:b?"none":"auto"}})]})})]})}function FE(u,c){const d=document.getElementById(u);if(!d)throw new Error(`Element with id "${u}" not found`);const h=yA.createRoot(d);return h.render(te.jsx(Oe.StrictMode,{children:te.jsx(IE,{...c})})),{unmount:()=>h.unmount()}}if(typeof window<"u"){const u=document.currentScript;if(u){const c=u.getAttribute("data-project-id"),d=u.getAttribute("data-type")||"bubble",h=u.getAttribute("data-auto-init")!=="false";if(c&&h){const g=document.createElement("div");g.id="trailhead-widget-root",document.body.appendChild(g),FE("trailhead-widget-root",{projectId:c,type:d})}}}ji.TrailheadChat=IE,ji.initTrailheadWidget=FE,Object.defineProperty(ji,Symbol.toStringTag,{value:"Module"})}));