From 806e1e9ffc037f0f0b8d47741dbad83b4a18e0b7 Mon Sep 17 00:00:00 2001 From: Kakabay <2kakabayashyrberdyew@gmail.com> Date: Thu, 30 Jan 2025 16:33:20 +0500 Subject: [PATCH] build --- dist/assets/index-BHOM3x3M.css | 1 - .../{index-BU7bs_df.js => index-BP2sU5bt.js} | 69 ++++++++++--------- dist/assets/index-hJDObhN5.css | 1 + dist/contacts/email.svg | 8 +-- dist/contacts/fax.svg | 8 +-- dist/contacts/location.svg | 5 +- dist/contacts/mail.svg | 5 +- dist/contacts/map.svg | 9 +++ dist/contacts/mobile.svg | 5 +- dist/contacts/phone.svg | 8 +-- dist/index.html | 4 +- src/components/shared/forms/contacts-form.tsx | 1 - 12 files changed, 67 insertions(+), 57 deletions(-) delete mode 100644 dist/assets/index-BHOM3x3M.css rename dist/assets/{index-BU7bs_df.js => index-BP2sU5bt.js} (61%) create mode 100644 dist/assets/index-hJDObhN5.css create mode 100644 dist/contacts/map.svg diff --git a/dist/assets/index-BHOM3x3M.css b/dist/assets/index-BHOM3x3M.css deleted file mode 100644 index 308c244..0000000 --- a/dist/assets/index-BHOM3x3M.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Gilroy-Regular;src:local("Gilroy-Regular"),url(../fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400}@font-face{font-family:Gilroy-Medium;src:local("Gilroy-Medium"),url(../fonts/Gilroy-Medium.woff2) format("woff2");font-weight:500}@font-face{font-family:Gilroy-Semibold;src:local("Gilroy-Semibold"),url(../fonts/Gilroy-Semibold.woff2) format("woff2");font-weight:600}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{box-sizing:border-box}body{font-family:Gilroy-Medium;--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-5{bottom:-1.25rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/3{left:33.333333%}.left-2\.5{left:.625rem}.left-\[20\%\]{left:20%}.right-0{right:0}.right-4{right:1rem}.right-\[17\%\]{right:17%}.top-0{top:0}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-8{top:2rem}.top-\[55\%\]{top:55%}.-z-10,.-z-\[10\]{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[3\]{z-index:3}.z-\[5\]{z-index:5}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[120px\]{margin-bottom:120px}.ml-3{margin-left:.75rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-5{width:1.25rem;height:1.25rem}.size-\[184px\]{width:184px;height:184px}.size-full{width:100%;height:100%}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-40{height:10rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[124px\]{height:124px}.h-\[160px\]{height:160px}.h-\[216px\]{height:216px}.h-\[296px\]{height:296px}.h-full{height:100%}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-3\/4{width:75%}.w-4{width:1rem}.w-9{width:2.25rem}.w-\[160px\]{width:160px}.w-\[18px\]{width:18px}.w-\[20\%\]{width:20%}.w-\[300px\]{width:300px}.w-\[75\%\]{width:75%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[444px\]{max-width:444px}.max-w-\[808px\]{max-width:808px}.max-w-\[828px\]{max-width:828px}.flex-\[0_0_184px\]{flex:0 0 184px}.flex-\[0_0_288px\]{flex:0 0 288px}.flex-\[0_0_300px\]{flex:0 0 300px}.flex-auto{flex:1 1 auto}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-pointer{cursor:pointer!important}.cursor-pointer{cursor:pointer}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded-\[2px\]{border-radius:2px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-\[2px\]{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.border{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[\#BA1A1A\]{--tw-border-opacity: 1;border-color:rgb(186 26 26 / var(--tw-border-opacity, 1))}.border-on_surface{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.border-outline{--tw-border-opacity: 1;border-color:rgb(161 167 178 / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.border-primary_outline_reverse{--tw-border-opacity: 1;border-color:rgb(120 155 219 / var(--tw-border-opacity, 1))}.border-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-primary_container{--tw-bg-opacity: 1 !important;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))!important}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-\[\#D0D3D8\]{--tw-bg-opacity: 1;background-color:rgb(208 211 216 / var(--tw-bg-opacity, 1))}.bg-\[\#D9D9D9\]{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-\[\#FDE8C4\]{--tw-bg-opacity: 1;background-color:rgb(253 232 196 / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.bg-bg_surface_container{--tw-bg-opacity: 1;background-color:rgb(238 237 244 / var(--tw-bg-opacity, 1))}.bg-black\/80{background-color:#000c}.bg-primary,.bg-primary_09{--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.bg-reverse_primary{--tw-bg-opacity: 1;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))}.bg-secondary_container{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.bg-surface_container{--tw-bg-opacity: 1;background-color:rgb(240 239 239 / var(--tw-bg-opacity, 1))}.bg-surface_high{--tw-bg-opacity: 1;background-color:rgb(232 231 239 / var(--tw-bg-opacity, 1))}.bg-teritary{--tw-bg-opacity: 1;background-color:rgb(241 112 13 / var(--tw-bg-opacity, 1))}.bg-teritary_04{--tw-bg-opacity: 1;background-color:rgb(255 206 127 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-primary{--tw-gradient-from: #99101D var(--tw-gradient-from-position);--tw-gradient-to: rgb(153 16 29 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-25\%{--tw-gradient-from-position: 25%}.to-primary\/20{--tw-gradient-to: rgb(153 16 29 / .2) var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-20{padding-bottom:5rem}.pb-\[120px\]{padding-bottom:120px}.pl-8{padding-left:2rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[18px\]{font-size:18px}.text-\[32px\]{font-size:32px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-\[130\%\]{line-height:130%}.leading-\[140\%\]{line-height:140%}.leading-none{line-height:1}.\!text-on_primary{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.\!text-primary_09{--tw-text-opacity: 1 !important;color:rgb(153 16 29 / var(--tw-text-opacity, 1))!important}.text-\[\#171717\]{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-\[\#454545\]{--tw-text-opacity: 1;color:rgb(69 69 69 / var(--tw-text-opacity, 1))}.text-\[\#BA1A1A\]{--tw-text-opacity: 1;color:rgb(186 26 26 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-on_primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-on_secondary_container{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.text-on_surface{--tw-text-opacity: 1;color:rgb(44 40 40 / var(--tw-text-opacity, 1))}.text-on_surface_v{--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}.text-on_teritary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-primary_03{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-primary_09{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-teritary_04{--tw-text-opacity: 1;color:rgb(255 206 127 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: #F9F9FA}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.normal{font-family:Gilroy-Regular;font-weight:400}.semibold{font-family:Gilroy-Semibold;font-weight:600}.h1{font-size:28px;font-weight:500;line-height:130%}.h2{font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:1.875rem;line-height:2.25rem}}.p{font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.p{font-size:1.125rem;line-height:1.75rem}}@layer utilities{.text-18{font-family:Gilroy-Regular;font-weight:400}}.text-18{font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1));font-family:Gilroy-Regular;font-weight:400}.nav-btn{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.progress-circle{z-index:10;width:3.5rem;height:3.5rem;border-radius:9999px;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(95 102 116 / var(--tw-text-opacity, 1))}.file\:w-fit::file-selector-button{width:-moz-fit-content;width:fit-content}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-secondary_container::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-on_secondary_container::file-selector-button{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.file\:outline-none::file-selector-button{outline:2px solid transparent;outline-offset:2px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-left-3:before{content:var(--tw-content);left:-.75rem}.before\:-top-3:before{content:var(--tw-content);top:-.75rem}.before\:size-10:before{content:var(--tw-content);width:2.5rem;height:2.5rem}.before\:scale-0:before{content:var(--tw-content);--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-on_surface\/\[8\%\]:before{content:var(--tw-content);background-color:#2c282814}.before\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:size-\[9px\]:after{content:var(--tw-content);width:9px;height:9px}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.after\:bg-opacity-0:after{content:var(--tw-content);--tw-bg-opacity: 0}.hover\:border-on_surface:hover{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:#99101de6}.hover\:bg-reverse_primary\/90:hover{background-color:#f6b2b8e6}.hover\:bg-secondary_container\/80:hover{background-color:#ddcbcdcc}.hover\:bg-teritary\/90:hover{background-color:#f1700de6}.hover\:bg-teritary_surface_container:hover{--tw-bg-opacity: 1;background-color:rgb(255 243 224 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/90:hover{background-color:#ffffffe6}.hover\:opacity-100:hover{opacity:1}.hover\:before\:scale-100:hover:before{content:var(--tw-content);--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:border-\[3px\]:focus{border-width:3px}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:rgb(73 95 137 / var(--tw-bg-opacity, 1))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:text-left{text-align:left}.sm\:text-center{text-align:center}}@media (min-width: 768px){.md\:left-1\/2{left:50%}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-3{margin-bottom:.75rem}.md\:mb-\[120px\]{margin-bottom:120px}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:size-\[84px\]{width:84px;height:84px}.md\:h-\[224px\]{height:224px}.md\:h-\[38px\]{height:38px}.md\:w-1{width:.25rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:flex-\[0_0_600px\]{flex:0 0 600px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-20{padding-top:5rem;padding-bottom:5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:py-\[160px\]{padding-top:160px;padding-bottom:160px}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-\[88px\]{height:88px}.lg\:max-h-\[600px\]{max-height:600px}.lg\:min-h-\[320px\]{min-height:320px}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:hidden{display:none}.xl\:w-\[650px\]{width:650px}.xl\:max-w-\[496px\]{max-width:496px}}@media (min-width: 1536px){.\32xl\:w-\[850px\]{width:850px}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/dist/assets/index-BU7bs_df.js b/dist/assets/index-BP2sU5bt.js similarity index 61% rename from dist/assets/index-BU7bs_df.js rename to dist/assets/index-BP2sU5bt.js index 5c1e323..da4a957 100644 --- a/dist/assets/index-BU7bs_df.js +++ b/dist/assets/index-BP2sU5bt.js @@ -1,4 +1,4 @@ -function B1(e,t){for(var n=0;ns[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Mu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function I0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lf={exports:{}},va={},Mf={exports:{}},st={};/** +function B1(e,t){for(var n=0;ns[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Mu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var If={exports:{}},va={},Vf={exports:{}},st={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function B1(e,t){for(var n=0;n>>1,K=Y[L];if(0>>1;Lo(Be,ie))$eo(be,Be)?(Y[L]=be,Y[$e]=ie,L=$e):(Y[L]=Be,Y[Oe]=ie,L=Oe);else if($eo(be,ie))Y[L]=be,Y[$e]=ie,L=$e;else break e}}return ue}function o(Y,ue){var ie=Y.sortIndex-ue.sortIndex;return ie!==0?ie:Y.id-ue.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var f=[],h=[],m=1,g=null,v=3,b=!1,w=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(Y){for(var ue=n(h);ue!==null;){if(ue.callback===null)s(h);else if(ue.startTime<=Y)s(h),ue.sortIndex=ue.expirationTime,t(f,ue);else break;ue=n(h)}}function I(Y){if(S=!1,N(Y),!w)if(n(f)!==null)w=!0,De(T);else{var ue=n(h);ue!==null&&me(I,ue.startTime-Y)}}function T(Y,ue){w=!1,S&&(S=!1,E(O),O=-1),b=!0;var ie=v;try{for(N(ue),g=n(f);g!==null&&(!(g.expirationTime>ue)||Y&&!pe());){var L=g.callback;if(typeof L=="function"){g.callback=null,v=g.priorityLevel;var K=L(g.expirationTime<=ue);ue=e.unstable_now(),typeof K=="function"?g.callback=K:g===n(f)&&s(f),N(ue)}else s(f);g=n(f)}if(g!==null)var Le=!0;else{var Oe=n(h);Oe!==null&&me(I,Oe.startTime-ue),Le=!1}return Le}finally{g=null,v=ie,b=!1}}var F=!1,z=null,O=-1,q=5,te=-1;function pe(){return!(e.unstable_now()-teY||125L?(Y.sortIndex=ie,t(h,Y),n(f)===null&&Y===n(h)&&(S?(E(O),O=-1):S=!0,me(I,ie-L))):(Y.sortIndex=K,t(f,Y),w||b||(w=!0,De(T))),Y},e.unstable_shouldYield=pe,e.unstable_wrapCallback=function(Y){var ue=v;return function(){var ie=v;v=ue;try{return Y.apply(this,arguments)}finally{v=ie}}}}(If)),If}var tv;function G1(){return tv||(tv=1,Ff.exports=H1()),Ff.exports}/** + */var tv;function H1(){return tv||(tv=1,function(e){function t(Y,ue){var ie=Y.length;Y.push(ue);e:for(;0>>1,K=Y[L];if(0>>1;Lo(Be,ie))Weo(be,Be)?(Y[L]=be,Y[We]=ie,L=We):(Y[L]=Be,Y[Oe]=ie,L=Oe);else if(Weo(be,ie))Y[L]=be,Y[We]=ie,L=We;else break e}}return ue}function o(Y,ue){var ie=Y.sortIndex-ue.sortIndex;return ie!==0?ie:Y.id-ue.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var f=[],h=[],m=1,g=null,v=3,b=!1,w=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(Y){for(var ue=n(h);ue!==null;){if(ue.callback===null)s(h);else if(ue.startTime<=Y)s(h),ue.sortIndex=ue.expirationTime,t(f,ue);else break;ue=n(h)}}function I(Y){if(S=!1,N(Y),!w)if(n(f)!==null)w=!0,De(T);else{var ue=n(h);ue!==null&&me(I,ue.startTime-Y)}}function T(Y,ue){w=!1,S&&(S=!1,E(O),O=-1),b=!0;var ie=v;try{for(N(ue),g=n(f);g!==null&&(!(g.expirationTime>ue)||Y&&!pe());){var L=g.callback;if(typeof L=="function"){g.callback=null,v=g.priorityLevel;var K=L(g.expirationTime<=ue);ue=e.unstable_now(),typeof K=="function"?g.callback=K:g===n(f)&&s(f),N(ue)}else s(f);g=n(f)}if(g!==null)var Le=!0;else{var Oe=n(h);Oe!==null&&me(I,Oe.startTime-ue),Le=!1}return Le}finally{g=null,v=ie,b=!1}}var F=!1,z=null,O=-1,q=5,te=-1;function pe(){return!(e.unstable_now()-teY||125L?(Y.sortIndex=ie,t(h,Y),n(f)===null&&Y===n(h)&&(S?(E(O),O=-1):S=!0,me(I,ie-L))):(Y.sortIndex=K,t(f,Y),w||b||(w=!0,De(T))),Y},e.unstable_shouldYield=pe,e.unstable_wrapCallback=function(Y){var ue=v;return function(){var ie=v;v=ue;try{return Y.apply(this,arguments)}finally{v=ie}}}}(Uf)),Uf}var nv;function G1(){return nv||(nv=1,zf.exports=H1()),zf.exports}/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function B1(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[: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]*$/,m={},g={};function v(r){return f.call(g,r)?!0:f.call(m,r)?!1:h.test(r)?g[r]=!0:(m[r]=!0,!1)}function b(r,i,l,d){if(l!==null&&l.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function w(r,i,l,d){if(i===null||typeof i>"u"||b(r,i,l,d))return!0;if(d)return!1;if(l!==null)switch(l.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function S(r,i,l,d,p,y,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=r,this.type=i,this.sanitizeURL=y,this.removeEmptyString=k}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){C[r]=new S(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];C[i]=new S(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){C[r]=new S(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){C[r]=new S(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){C[r]=new S(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){C[r]=new S(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){C[r]=new S(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){C[r]=new S(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){C[r]=new S(r,5,!1,r.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function R(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){C[r]=new S(r,1,!1,r.toLowerCase(),null,!1,!1)}),C.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){C[r]=new S(r,1,!1,r.toLowerCase(),null,!0,!0)});function N(r,i,l,d){var p=C.hasOwnProperty(i)?C[i]:null;(p!==null?p.type!==0:d||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[: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]*$/,m={},g={};function v(r){return f.call(g,r)?!0:f.call(m,r)?!1:h.test(r)?g[r]=!0:(m[r]=!0,!1)}function b(r,i,l,d){if(l!==null&&l.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function w(r,i,l,d){if(i===null||typeof i>"u"||b(r,i,l,d))return!0;if(d)return!1;if(l!==null)switch(l.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function S(r,i,l,d,p,y,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=r,this.type=i,this.sanitizeURL=y,this.removeEmptyString=k}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){C[r]=new S(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];C[i]=new S(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){C[r]=new S(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){C[r]=new S(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){C[r]=new S(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){C[r]=new S(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){C[r]=new S(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){C[r]=new S(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){C[r]=new S(r,5,!1,r.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function R(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(E,R);C[i]=new S(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){C[r]=new S(r,1,!1,r.toLowerCase(),null,!1,!1)}),C.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){C[r]=new S(r,1,!1,r.toLowerCase(),null,!0,!0)});function N(r,i,l,d){var p=C.hasOwnProperty(i)?C[i]:null;(p!==null?p.type!==0:d||!(2P||p[k]!==y[P]){var j=` -`+p[k].replace(" at new "," at ");return r.displayName&&j.includes("")&&(j=j.replace("",r.displayName)),j}while(1<=k&&0<=P);break}}}finally{Le=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?K(r):""}function Be(r){switch(r.tag){case 5:return K(r.type);case 16:return K("Lazy");case 13:return K("Suspense");case 19:return K("SuspenseList");case 0:case 2:case 15:return r=Oe(r.type,!1),r;case 11:return r=Oe(r.type.render,!1),r;case 1:return r=Oe(r.type,!0),r;default:return""}}function $e(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case z:return"Fragment";case F:return"Portal";case q:return"Profiler";case O:return"StrictMode";case de:return"Suspense";case ke:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case pe:return(r.displayName||"Context")+".Consumer";case te:return(r._context.displayName||"Context")+".Provider";case X:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case we:return i=r.displayName||null,i!==null?i:$e(r.type)||"Memo";case De:i=r._payload,r=r._init;try{return $e(r(i))}catch{}}return null}function be(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $e(i);case 8:return i===O?"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 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Pe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Me(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function rt(r){var i=Me(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),d=""+r[i];if(!r.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var p=l.get,y=l.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return p.call(this)},set:function(k){d=""+k,y.call(this,k)}}),Object.defineProperty(r,i,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function at(r){r._valueTracker||(r._valueTracker=rt(r))}function Ee(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var l=i.getValue(),d="";return r&&(d=Me(r)?r.checked?"true":"false":r.value),r=d,r!==l?(i.setValue(r),!0):!1}function Ye(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function mt(r,i){var l=i.checked;return ie({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function It(r,i){var l=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;l=Pe(i.value!=null?i.value:l),r._wrapperState={initialChecked:d,initialValue:l,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Jt(r,i){i=i.checked,i!=null&&N(r,"checked",i,!1)}function an(r,i){Jt(r,i);var l=Pe(i.value),d=i.type;if(l!=null)d==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?U(r,i.type,l):i.hasOwnProperty("defaultValue")&&U(r,i.type,Pe(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function A(r,i,l){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,l||i===r.value||(r.value=i),r.defaultValue=i}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function U(r,i,l){(i!=="number"||Ye(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var H=Array.isArray;function oe(r,i,l,d){if(r=r.options,i){i={};for(var p=0;p"+i.valueOf().toString()+"",i=Wt.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function bt(r,i){if(i){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=i;return}}r.textContent=i}var ln={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tr=["Webkit","ms","Moz","O"];Object.keys(ln).forEach(function(r){Tr.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),ln[i]=ln[r]})});function On(r,i,l){return i==null||typeof i=="boolean"||i===""?"":l||typeof i!="number"||i===0||ln.hasOwnProperty(r)&&ln[r]?(""+i).trim():i+"px"}function ms(r,i){r=r.style;for(var l in i)if(i.hasOwnProperty(l)){var d=l.indexOf("--")===0,p=On(l,i[l],d);l==="float"&&(l="cssFloat"),d?r.setProperty(l,p):r[l]=p}}var Gr=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rr(r,i){if(i){if(Gr[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function gs(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){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 Zr=null;function ys(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var vs=null,ar=null,Kn=null;function Pr(r){if(r=ra(r)){if(typeof vs!="function")throw Error(n(280));var i=r.stateNode;i&&(i=Yl(i),vs(r.stateNode,r.type,i))}}function Kr(r){ar?Kn?Kn.push(r):Kn=[r]:ar=r}function ri(){if(ar){var r=ar,i=Kn;if(Kn=ar=null,Pr(r),i)for(r=0;r>>=0,r===0?32:31-(rE(r)/sE|0)|0}var jl=64,Dl=4194304;function Vo(r){switch(r&-r){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: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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ll(r,i){var l=r.pendingLanes;if(l===0)return 0;var d=0,p=r.suspendedLanes,y=r.pingedLanes,k=l&268435455;if(k!==0){var P=k&~p;P!==0?d=Vo(P):(y&=k,y!==0&&(d=Vo(y)))}else k=l&~p,k!==0?d=Vo(k):y!==0&&(d=Vo(y));if(d===0)return 0;if(i!==0&&i!==d&&!(i&p)&&(p=d&-d,y=i&-i,p>=y||p===16&&(y&4194240)!==0))return i;if(d&4&&(d|=l&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=d;0l;l++)i.push(r);return i}function Bo(r,i,l){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-ur(i),r[i]=l}function lE(r,i){var l=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0=Ko),$m=" ",Wm=!1;function Hm(r,i){switch(r){case"keyup":return OE.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gm(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Hi=!1;function IE(r,i){switch(r){case"compositionend":return Gm(i);case"keypress":return i.which!==32?null:(Wm=!0,$m);case"textInput":return r=i.data,r===$m&&Wm?null:r;default:return null}}function VE(r,i){if(Hi)return r==="compositionend"||!hd&&Hm(r,i)?(r=Fm(),Vl=ad=Cs=null,Hi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:l,offset:i-r};r=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Jm(l)}}function tg(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?tg(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function ng(){for(var r=window,i=Ye();i instanceof r.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)r=i.contentWindow;else break;i=Ye(r.document)}return i}function gd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function KE(r){var i=ng(),l=r.focusedElem,d=r.selectionRange;if(i!==l&&l&&l.ownerDocument&&tg(l.ownerDocument.documentElement,l)){if(d!==null&&gd(l)){if(i=d.start,r=d.end,r===void 0&&(r=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(r,l.value.length);else if(r=(i=l.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var p=l.textContent.length,y=Math.min(d.start,p);d=d.end===void 0?y:Math.min(d.end,p),!r.extend&&y>d&&(p=d,d=y,y=p),p=eg(l,y);var k=eg(l,d);p&&k&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==k.node||r.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(p.node,p.offset),r.removeAllRanges(),y>d?(r.addRange(i),r.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),r.addRange(i)))}}for(i=[],r=l;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,Gi=null,yd=null,Qo=null,vd=!1;function rg(r,i,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;vd||Gi==null||Gi!==Ye(d)||(d=Gi,"selectionStart"in d&&gd(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Qo&&Xo(Qo,d)||(Qo=d,d=Zl(yd,"onSelect"),0Xi||(r.current=Nd[Xi],Nd[Xi]=null,Xi--)}function St(r,i){Xi++,Nd[Xi]=r.current,r.current=i}var Ps={},un=Rs(Ps),En=Rs(!1),ai=Ps;function Qi(r,i){var l=r.type.contextTypes;if(!l)return Ps;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var p={},y;for(y in l)p[y]=i[y];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=p),p}function Cn(r){return r=r.childContextTypes,r!=null}function Xl(){Et(En),Et(un)}function vg(r,i,l){if(un.current!==Ps)throw Error(n(168));St(un,i),St(En,l)}function xg(r,i,l){var d=r.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return l;d=d.getChildContext();for(var p in d)if(!(p in i))throw Error(n(108,be(r)||"Unknown",p));return ie({},l,d)}function Ql(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Ps,ai=un.current,St(un,r),St(En,En.current),!0}function wg(r,i,l){var d=r.stateNode;if(!d)throw Error(n(169));l?(r=xg(r,i,ai),d.__reactInternalMemoizedMergedChildContext=r,Et(En),Et(un),St(un,r)):Et(En),St(En,l)}var Qr=null,Jl=!1,Ad=!1;function Sg(r){Qr===null?Qr=[r]:Qr.push(r)}function o1(r){Jl=!0,Sg(r)}function Ns(){if(!Ad&&Qr!==null){Ad=!0;var r=0,i=gt;try{var l=Qr;for(gt=1;r>=k,p-=k,Jr=1<<32-ur(i)+p|l<Ze?(Qt=Ve,Ve=null):Qt=Ve.sibling;var dt=Q(B,Ve,$[Ze],le);if(dt===null){Ve===null&&(Ve=Qt);break}r&&Ve&&dt.alternate===null&&i(B,Ve),M=y(dt,M,Ze),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt,Ve=Qt}if(Ze===$.length)return l(B,Ve),Tt&&ui(B,Ze),Ae;if(Ve===null){for(;Ze<$.length;Ze++)Ve=ne(B,$[Ze],le),Ve!==null&&(M=y(Ve,M,Ze),Ie===null?Ae=Ve:Ie.sibling=Ve,Ie=Ve);return Tt&&ui(B,Ze),Ae}for(Ve=d(B,Ve);Ze<$.length;Ze++)Qt=ye(Ve,B,Ze,$[Ze],le),Qt!==null&&(r&&Qt.alternate!==null&&Ve.delete(Qt.key===null?Ze:Qt.key),M=y(Qt,M,Ze),Ie===null?Ae=Qt:Ie.sibling=Qt,Ie=Qt);return r&&Ve.forEach(function(Vs){return i(B,Vs)}),Tt&&ui(B,Ze),Ae}function Te(B,M,$,le){var Ae=ue($);if(typeof Ae!="function")throw Error(n(150));if($=Ae.call($),$==null)throw Error(n(151));for(var Ie=Ae=null,Ve=M,Ze=M=0,Qt=null,dt=$.next();Ve!==null&&!dt.done;Ze++,dt=$.next()){Ve.index>Ze?(Qt=Ve,Ve=null):Qt=Ve.sibling;var Vs=Q(B,Ve,dt.value,le);if(Vs===null){Ve===null&&(Ve=Qt);break}r&&Ve&&Vs.alternate===null&&i(B,Ve),M=y(Vs,M,Ze),Ie===null?Ae=Vs:Ie.sibling=Vs,Ie=Vs,Ve=Qt}if(dt.done)return l(B,Ve),Tt&&ui(B,Ze),Ae;if(Ve===null){for(;!dt.done;Ze++,dt=$.next())dt=ne(B,dt.value,le),dt!==null&&(M=y(dt,M,Ze),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt);return Tt&&ui(B,Ze),Ae}for(Ve=d(B,Ve);!dt.done;Ze++,dt=$.next())dt=ye(Ve,B,Ze,dt.value,le),dt!==null&&(r&&dt.alternate!==null&&Ve.delete(dt.key===null?Ze:dt.key),M=y(dt,M,Ze),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt);return r&&Ve.forEach(function(V1){return i(B,V1)}),Tt&&ui(B,Ze),Ae}function Vt(B,M,$,le){if(typeof $=="object"&&$!==null&&$.type===z&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case T:e:{for(var Ae=$.key,Ie=M;Ie!==null;){if(Ie.key===Ae){if(Ae=$.type,Ae===z){if(Ie.tag===7){l(B,Ie.sibling),M=p(Ie,$.props.children),M.return=B,B=M;break e}}else if(Ie.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===De&&Tg(Ae)===Ie.type){l(B,Ie.sibling),M=p(Ie,$.props),M.ref=sa(B,Ie,$),M.return=B,B=M;break e}l(B,Ie);break}else i(B,Ie);Ie=Ie.sibling}$.type===z?(M=yi($.props.children,B.mode,le,$.key),M.return=B,B=M):(le=Tu($.type,$.key,$.props,null,B.mode,le),le.ref=sa(B,M,$),le.return=B,B=le)}return k(B);case F:e:{for(Ie=$.key;M!==null;){if(M.key===Ie)if(M.tag===4&&M.stateNode.containerInfo===$.containerInfo&&M.stateNode.implementation===$.implementation){l(B,M.sibling),M=p(M,$.children||[]),M.return=B,B=M;break e}else{l(B,M);break}else i(B,M);M=M.sibling}M=Pf($,B.mode,le),M.return=B,B=M}return k(B);case De:return Ie=$._init,Vt(B,M,Ie($._payload),le)}if(H($))return _e(B,M,$,le);if(ue($))return Te(B,M,$,le);ru(B,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,M!==null&&M.tag===6?(l(B,M.sibling),M=p(M,$),M.return=B,B=M):(l(B,M),M=Rf($,B.mode,le),M.return=B,B=M),k(B)):l(B,M)}return Vt}var no=Rg(!0),Pg=Rg(!1),su=Rs(null),iu=null,ro=null,Fd=null;function Id(){Fd=ro=iu=null}function Vd(r){var i=su.current;Et(su),r._currentValue=i}function Bd(r,i,l){for(;r!==null;){var d=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),r===l)break;r=r.return}}function so(r,i){iu=r,Fd=ro=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&i&&(kn=!0),r.firstContext=null)}function Qn(r){var i=r._currentValue;if(Fd!==r)if(r={context:r,memoizedValue:i,next:null},ro===null){if(iu===null)throw Error(n(308));ro=r,iu.dependencies={lanes:0,firstContext:r}}else ro=ro.next=r;return i}var ci=null;function zd(r){ci===null?ci=[r]:ci.push(r)}function Ng(r,i,l,d){var p=i.interleaved;return p===null?(l.next=l,zd(i)):(l.next=p.next,p.next=l),i.interleaved=l,ts(r,d)}function ts(r,i){r.lanes|=i;var l=r.alternate;for(l!==null&&(l.lanes|=i),l=r,r=r.return;r!==null;)r.childLanes|=i,l=r.alternate,l!==null&&(l.childLanes|=i),l=r,r=r.return;return l.tag===3?l.stateNode:null}var As=!1;function Ud(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ag(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function ns(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function js(r,i,l){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,ct&2){var p=d.pending;return p===null?i.next=i:(i.next=p.next,p.next=i),d.pending=i,ts(r,l)}return p=d.interleaved,p===null?(i.next=i,zd(d)):(i.next=p.next,p.next=i),d.interleaved=i,ts(r,l)}function ou(r,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194240)!==0)){var d=i.lanes;d&=r.pendingLanes,l|=d,i.lanes=l,nd(r,l)}}function jg(r,i){var l=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var p=null,y=null;if(l=l.firstBaseUpdate,l!==null){do{var k={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};y===null?p=y=k:y=y.next=k,l=l.next}while(l!==null);y===null?p=y=i:y=y.next=i}else p=y=i;l={baseState:d.baseState,firstBaseUpdate:p,lastBaseUpdate:y,shared:d.shared,effects:d.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=i:r.next=i,l.lastBaseUpdate=i}function au(r,i,l,d){var p=r.updateQueue;As=!1;var y=p.firstBaseUpdate,k=p.lastBaseUpdate,P=p.shared.pending;if(P!==null){p.shared.pending=null;var j=P,W=j.next;j.next=null,k===null?y=W:k.next=W,k=j;var ee=r.alternate;ee!==null&&(ee=ee.updateQueue,P=ee.lastBaseUpdate,P!==k&&(P===null?ee.firstBaseUpdate=W:P.next=W,ee.lastBaseUpdate=j))}if(y!==null){var ne=p.baseState;k=0,ee=W=j=null,P=y;do{var Q=P.lane,ye=P.eventTime;if((d&Q)===Q){ee!==null&&(ee=ee.next={eventTime:ye,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var _e=r,Te=P;switch(Q=i,ye=l,Te.tag){case 1:if(_e=Te.payload,typeof _e=="function"){ne=_e.call(ye,ne,Q);break e}ne=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Te.payload,Q=typeof _e=="function"?_e.call(ye,ne,Q):_e,Q==null)break e;ne=ie({},ne,Q);break e;case 2:As=!0}}P.callback!==null&&P.lane!==0&&(r.flags|=64,Q=p.effects,Q===null?p.effects=[P]:Q.push(P))}else ye={eventTime:ye,lane:Q,tag:P.tag,payload:P.payload,callback:P.callback,next:null},ee===null?(W=ee=ye,j=ne):ee=ee.next=ye,k|=Q;if(P=P.next,P===null){if(P=p.shared.pending,P===null)break;Q=P,P=Q.next,Q.next=null,p.lastBaseUpdate=Q,p.shared.pending=null}}while(!0);if(ee===null&&(j=ne),p.baseState=j,p.firstBaseUpdate=W,p.lastBaseUpdate=ee,i=p.shared.interleaved,i!==null){p=i;do k|=p.lane,p=p.next;while(p!==i)}else y===null&&(p.shared.lanes=0);hi|=k,r.lanes=k,r.memoizedState=ne}}function Dg(r,i,l){if(r=i.effects,i.effects=null,r!==null)for(i=0;il?l:4,r(!0);var d=Zd.transition;Zd.transition={};try{r(!1),i()}finally{gt=l,Zd.transition=d}}function Qg(){return Jn().memoizedState}function c1(r,i,l){var d=Os(r);if(l={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null},Jg(r))ey(i,l);else if(l=Ng(r,i,l,d),l!==null){var p=vn();mr(l,r,d,p),ty(l,i,d)}}function d1(r,i,l){var d=Os(r),p={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null};if(Jg(r))ey(i,p);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var k=i.lastRenderedState,P=y(k,l);if(p.hasEagerState=!0,p.eagerState=P,cr(P,k)){var j=i.interleaved;j===null?(p.next=p,zd(i)):(p.next=j.next,j.next=p),i.interleaved=p;return}}catch{}finally{}l=Ng(r,i,p,d),l!==null&&(p=vn(),mr(l,r,d,p),ty(l,i,d))}}function Jg(r){var i=r.alternate;return r===Nt||i!==null&&i===Nt}function ey(r,i){la=cu=!0;var l=r.pending;l===null?i.next=i:(i.next=l.next,l.next=i),r.pending=i}function ty(r,i,l){if(l&4194240){var d=i.lanes;d&=r.pendingLanes,l|=d,i.lanes=l,nd(r,l)}}var hu={readContext:Qn,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useInsertionEffect:cn,useLayoutEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useMutableSource:cn,useSyncExternalStore:cn,useId:cn,unstable_isNewReconciler:!1},f1={readContext:Qn,useCallback:function(r,i){return jr().memoizedState=[r,i===void 0?null:i],r},useContext:Qn,useEffect:Wg,useImperativeHandle:function(r,i,l){return l=l!=null?l.concat([r]):null,du(4194308,4,Zg.bind(null,i,r),l)},useLayoutEffect:function(r,i){return du(4194308,4,r,i)},useInsertionEffect:function(r,i){return du(4,2,r,i)},useMemo:function(r,i){var l=jr();return i=i===void 0?null:i,r=r(),l.memoizedState=[r,i],r},useReducer:function(r,i,l){var d=jr();return i=l!==void 0?l(i):i,d.memoizedState=d.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},d.queue=r,r=r.dispatch=c1.bind(null,Nt,r),[d.memoizedState,r]},useRef:function(r){var i=jr();return r={current:r},i.memoizedState=r},useState:Ug,useDebugValue:ef,useDeferredValue:function(r){return jr().memoizedState=r},useTransition:function(){var r=Ug(!1),i=r[0];return r=u1.bind(null,r[1]),jr().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,l){var d=Nt,p=jr();if(Tt){if(l===void 0)throw Error(n(407));l=l()}else{if(l=i(),Xt===null)throw Error(n(349));fi&30||Fg(d,i,l)}p.memoizedState=l;var y={value:l,getSnapshot:i};return p.queue=y,Wg(Vg.bind(null,d,y,r),[r]),d.flags|=2048,da(9,Ig.bind(null,d,y,l,i),void 0,null),l},useId:function(){var r=jr(),i=Xt.identifierPrefix;if(Tt){var l=es,d=Jr;l=(d&~(1<<32-ur(d)-1)).toString(32)+l,i=":"+i+"R"+l,l=ua++,0")&&(j=j.replace("",r.displayName)),j}while(1<=k&&0<=P);break}}}finally{Le=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?K(r):""}function Be(r){switch(r.tag){case 5:return K(r.type);case 16:return K("Lazy");case 13:return K("Suspense");case 19:return K("SuspenseList");case 0:case 2:case 15:return r=Oe(r.type,!1),r;case 11:return r=Oe(r.type.render,!1),r;case 1:return r=Oe(r.type,!0),r;default:return""}}function We(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case z:return"Fragment";case F:return"Portal";case q:return"Profiler";case O:return"StrictMode";case de:return"Suspense";case ke:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case pe:return(r.displayName||"Context")+".Consumer";case te:return(r._context.displayName||"Context")+".Provider";case X:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case we:return i=r.displayName||null,i!==null?i:We(r.type)||"Memo";case De:i=r._payload,r=r._init;try{return We(r(i))}catch{}}return null}function be(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return We(i);case 8:return i===O?"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 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Pe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Me(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function rt(r){var i=Me(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),d=""+r[i];if(!r.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var p=l.get,y=l.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return p.call(this)},set:function(k){d=""+k,y.call(this,k)}}),Object.defineProperty(r,i,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function at(r){r._valueTracker||(r._valueTracker=rt(r))}function Ee(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var l=i.getValue(),d="";return r&&(d=Me(r)?r.checked?"true":"false":r.value),r=d,r!==l?(i.setValue(r),!0):!1}function Xe(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function mt(r,i){var l=i.checked;return ie({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function It(r,i){var l=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;l=Pe(i.value!=null?i.value:l),r._wrapperState={initialChecked:d,initialValue:l,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function en(r,i){i=i.checked,i!=null&&N(r,"checked",i,!1)}function an(r,i){en(r,i);var l=Pe(i.value),d=i.type;if(l!=null)d==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?U(r,i.type,l):i.hasOwnProperty("defaultValue")&&U(r,i.type,Pe(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function A(r,i,l){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,l||i===r.value||(r.value=i),r.defaultValue=i}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function U(r,i,l){(i!=="number"||Xe(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var H=Array.isArray;function oe(r,i,l,d){if(r=r.options,i){i={};for(var p=0;p"+i.valueOf().toString()+"",i=Wt.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function bt(r,i){if(i){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=i;return}}r.textContent=i}var ln={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tr=["Webkit","ms","Moz","O"];Object.keys(ln).forEach(function(r){Tr.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),ln[i]=ln[r]})});function Fn(r,i,l){return i==null||typeof i=="boolean"||i===""?"":l||typeof i!="number"||i===0||ln.hasOwnProperty(r)&&ln[r]?(""+i).trim():i+"px"}function ms(r,i){r=r.style;for(var l in i)if(i.hasOwnProperty(l)){var d=l.indexOf("--")===0,p=Fn(l,i[l],d);l==="float"&&(l="cssFloat"),d?r.setProperty(l,p):r[l]=p}}var Gr=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rr(r,i){if(i){if(Gr[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function gs(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){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 Zr=null;function ys(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var vs=null,ar=null,Kn=null;function Pr(r){if(r=ra(r)){if(typeof vs!="function")throw Error(n(280));var i=r.stateNode;i&&(i=Yl(i),vs(r.stateNode,r.type,i))}}function Kr(r){ar?Kn?Kn.push(r):Kn=[r]:ar=r}function ri(){if(ar){var r=ar,i=Kn;if(Kn=ar=null,Pr(r),i)for(r=0;r>>=0,r===0?32:31-(rE(r)/sE|0)|0}var jl=64,Dl=4194304;function Vo(r){switch(r&-r){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: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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ll(r,i){var l=r.pendingLanes;if(l===0)return 0;var d=0,p=r.suspendedLanes,y=r.pingedLanes,k=l&268435455;if(k!==0){var P=k&~p;P!==0?d=Vo(P):(y&=k,y!==0&&(d=Vo(y)))}else k=l&~p,k!==0?d=Vo(k):y!==0&&(d=Vo(y));if(d===0)return 0;if(i!==0&&i!==d&&!(i&p)&&(p=d&-d,y=i&-i,p>=y||p===16&&(y&4194240)!==0))return i;if(d&4&&(d|=l&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=d;0l;l++)i.push(r);return i}function Bo(r,i,l){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-ur(i),r[i]=l}function lE(r,i){var l=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0=Ko),Wm=" ",Hm=!1;function Gm(r,i){switch(r){case"keyup":return OE.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zm(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Gi=!1;function IE(r,i){switch(r){case"compositionend":return Zm(i);case"keypress":return i.which!==32?null:(Hm=!0,Wm);case"textInput":return r=i.data,r===Wm&&Hm?null:r;default:return null}}function VE(r,i){if(Gi)return r==="compositionend"||!yd&&Gm(r,i)?(r=Im(),Vl=dd=Cs=null,Gi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:l,offset:i-r};r=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=eg(l)}}function ng(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?ng(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function rg(){for(var r=window,i=Xe();i instanceof r.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)r=i.contentWindow;else break;i=Xe(r.document)}return i}function wd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function KE(r){var i=rg(),l=r.focusedElem,d=r.selectionRange;if(i!==l&&l&&l.ownerDocument&&ng(l.ownerDocument.documentElement,l)){if(d!==null&&wd(l)){if(i=d.start,r=d.end,r===void 0&&(r=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(r,l.value.length);else if(r=(i=l.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var p=l.textContent.length,y=Math.min(d.start,p);d=d.end===void 0?y:Math.min(d.end,p),!r.extend&&y>d&&(p=d,d=y,y=p),p=tg(l,y);var k=tg(l,d);p&&k&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==k.node||r.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(p.node,p.offset),r.removeAllRanges(),y>d?(r.addRange(i),r.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),r.addRange(i)))}}for(i=[],r=l;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,Zi=null,Sd=null,Qo=null,bd=!1;function sg(r,i,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;bd||Zi==null||Zi!==Xe(d)||(d=Zi,"selectionStart"in d&&wd(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Qo&&Xo(Qo,d)||(Qo=d,d=Zl(Sd,"onSelect"),0Qi||(r.current=Ld[Qi],Ld[Qi]=null,Qi--)}function St(r,i){Qi++,Ld[Qi]=r.current,r.current=i}var Ps={},un=Rs(Ps),En=Rs(!1),ai=Ps;function Ji(r,i){var l=r.type.contextTypes;if(!l)return Ps;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var p={},y;for(y in l)p[y]=i[y];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=p),p}function Cn(r){return r=r.childContextTypes,r!=null}function Xl(){Et(En),Et(un)}function xg(r,i,l){if(un.current!==Ps)throw Error(n(168));St(un,i),St(En,l)}function wg(r,i,l){var d=r.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return l;d=d.getChildContext();for(var p in d)if(!(p in i))throw Error(n(108,be(r)||"Unknown",p));return ie({},l,d)}function Ql(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Ps,ai=un.current,St(un,r),St(En,En.current),!0}function Sg(r,i,l){var d=r.stateNode;if(!d)throw Error(n(169));l?(r=wg(r,i,ai),d.__reactInternalMemoizedMergedChildContext=r,Et(En),Et(un),St(un,r)):Et(En),St(En,l)}var Qr=null,Jl=!1,Md=!1;function bg(r){Qr===null?Qr=[r]:Qr.push(r)}function o1(r){Jl=!0,bg(r)}function Ns(){if(!Md&&Qr!==null){Md=!0;var r=0,i=gt;try{var l=Qr;for(gt=1;r>=k,p-=k,Jr=1<<32-ur(i)+p|l<Ke?(Qt=Ve,Ve=null):Qt=Ve.sibling;var dt=Q(B,Ve,$[Ke],le);if(dt===null){Ve===null&&(Ve=Qt);break}r&&Ve&&dt.alternate===null&&i(B,Ve),M=y(dt,M,Ke),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt,Ve=Qt}if(Ke===$.length)return l(B,Ve),Tt&&ui(B,Ke),Ae;if(Ve===null){for(;Ke<$.length;Ke++)Ve=ne(B,$[Ke],le),Ve!==null&&(M=y(Ve,M,Ke),Ie===null?Ae=Ve:Ie.sibling=Ve,Ie=Ve);return Tt&&ui(B,Ke),Ae}for(Ve=d(B,Ve);Ke<$.length;Ke++)Qt=ye(Ve,B,Ke,$[Ke],le),Qt!==null&&(r&&Qt.alternate!==null&&Ve.delete(Qt.key===null?Ke:Qt.key),M=y(Qt,M,Ke),Ie===null?Ae=Qt:Ie.sibling=Qt,Ie=Qt);return r&&Ve.forEach(function(Vs){return i(B,Vs)}),Tt&&ui(B,Ke),Ae}function Te(B,M,$,le){var Ae=ue($);if(typeof Ae!="function")throw Error(n(150));if($=Ae.call($),$==null)throw Error(n(151));for(var Ie=Ae=null,Ve=M,Ke=M=0,Qt=null,dt=$.next();Ve!==null&&!dt.done;Ke++,dt=$.next()){Ve.index>Ke?(Qt=Ve,Ve=null):Qt=Ve.sibling;var Vs=Q(B,Ve,dt.value,le);if(Vs===null){Ve===null&&(Ve=Qt);break}r&&Ve&&Vs.alternate===null&&i(B,Ve),M=y(Vs,M,Ke),Ie===null?Ae=Vs:Ie.sibling=Vs,Ie=Vs,Ve=Qt}if(dt.done)return l(B,Ve),Tt&&ui(B,Ke),Ae;if(Ve===null){for(;!dt.done;Ke++,dt=$.next())dt=ne(B,dt.value,le),dt!==null&&(M=y(dt,M,Ke),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt);return Tt&&ui(B,Ke),Ae}for(Ve=d(B,Ve);!dt.done;Ke++,dt=$.next())dt=ye(Ve,B,Ke,dt.value,le),dt!==null&&(r&&dt.alternate!==null&&Ve.delete(dt.key===null?Ke:dt.key),M=y(dt,M,Ke),Ie===null?Ae=dt:Ie.sibling=dt,Ie=dt);return r&&Ve.forEach(function(V1){return i(B,V1)}),Tt&&ui(B,Ke),Ae}function Vt(B,M,$,le){if(typeof $=="object"&&$!==null&&$.type===z&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case T:e:{for(var Ae=$.key,Ie=M;Ie!==null;){if(Ie.key===Ae){if(Ae=$.type,Ae===z){if(Ie.tag===7){l(B,Ie.sibling),M=p(Ie,$.props.children),M.return=B,B=M;break e}}else if(Ie.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===De&&Rg(Ae)===Ie.type){l(B,Ie.sibling),M=p(Ie,$.props),M.ref=sa(B,Ie,$),M.return=B,B=M;break e}l(B,Ie);break}else i(B,Ie);Ie=Ie.sibling}$.type===z?(M=yi($.props.children,B.mode,le,$.key),M.return=B,B=M):(le=Tu($.type,$.key,$.props,null,B.mode,le),le.ref=sa(B,M,$),le.return=B,B=le)}return k(B);case F:e:{for(Ie=$.key;M!==null;){if(M.key===Ie)if(M.tag===4&&M.stateNode.containerInfo===$.containerInfo&&M.stateNode.implementation===$.implementation){l(B,M.sibling),M=p(M,$.children||[]),M.return=B,B=M;break e}else{l(B,M);break}else i(B,M);M=M.sibling}M=Df($,B.mode,le),M.return=B,B=M}return k(B);case De:return Ie=$._init,Vt(B,M,Ie($._payload),le)}if(H($))return _e(B,M,$,le);if(ue($))return Te(B,M,$,le);ru(B,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,M!==null&&M.tag===6?(l(B,M.sibling),M=p(M,$),M.return=B,B=M):(l(B,M),M=jf($,B.mode,le),M.return=B,B=M),k(B)):l(B,M)}return Vt}var ro=Pg(!0),Ng=Pg(!1),su=Rs(null),iu=null,so=null,zd=null;function Ud(){zd=so=iu=null}function $d(r){var i=su.current;Et(su),r._currentValue=i}function Wd(r,i,l){for(;r!==null;){var d=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),r===l)break;r=r.return}}function io(r,i){iu=r,zd=so=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&i&&(kn=!0),r.firstContext=null)}function Qn(r){var i=r._currentValue;if(zd!==r)if(r={context:r,memoizedValue:i,next:null},so===null){if(iu===null)throw Error(n(308));so=r,iu.dependencies={lanes:0,firstContext:r}}else so=so.next=r;return i}var ci=null;function Hd(r){ci===null?ci=[r]:ci.push(r)}function Ag(r,i,l,d){var p=i.interleaved;return p===null?(l.next=l,Hd(i)):(l.next=p.next,p.next=l),i.interleaved=l,ts(r,d)}function ts(r,i){r.lanes|=i;var l=r.alternate;for(l!==null&&(l.lanes|=i),l=r,r=r.return;r!==null;)r.childLanes|=i,l=r.alternate,l!==null&&(l.childLanes|=i),l=r,r=r.return;return l.tag===3?l.stateNode:null}var As=!1;function Gd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jg(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function ns(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function js(r,i,l){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,ct&2){var p=d.pending;return p===null?i.next=i:(i.next=p.next,p.next=i),d.pending=i,ts(r,l)}return p=d.interleaved,p===null?(i.next=i,Hd(d)):(i.next=p.next,p.next=i),d.interleaved=i,ts(r,l)}function ou(r,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194240)!==0)){var d=i.lanes;d&=r.pendingLanes,l|=d,i.lanes=l,od(r,l)}}function Dg(r,i){var l=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var p=null,y=null;if(l=l.firstBaseUpdate,l!==null){do{var k={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};y===null?p=y=k:y=y.next=k,l=l.next}while(l!==null);y===null?p=y=i:y=y.next=i}else p=y=i;l={baseState:d.baseState,firstBaseUpdate:p,lastBaseUpdate:y,shared:d.shared,effects:d.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=i:r.next=i,l.lastBaseUpdate=i}function au(r,i,l,d){var p=r.updateQueue;As=!1;var y=p.firstBaseUpdate,k=p.lastBaseUpdate,P=p.shared.pending;if(P!==null){p.shared.pending=null;var j=P,W=j.next;j.next=null,k===null?y=W:k.next=W,k=j;var ee=r.alternate;ee!==null&&(ee=ee.updateQueue,P=ee.lastBaseUpdate,P!==k&&(P===null?ee.firstBaseUpdate=W:P.next=W,ee.lastBaseUpdate=j))}if(y!==null){var ne=p.baseState;k=0,ee=W=j=null,P=y;do{var Q=P.lane,ye=P.eventTime;if((d&Q)===Q){ee!==null&&(ee=ee.next={eventTime:ye,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var _e=r,Te=P;switch(Q=i,ye=l,Te.tag){case 1:if(_e=Te.payload,typeof _e=="function"){ne=_e.call(ye,ne,Q);break e}ne=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Te.payload,Q=typeof _e=="function"?_e.call(ye,ne,Q):_e,Q==null)break e;ne=ie({},ne,Q);break e;case 2:As=!0}}P.callback!==null&&P.lane!==0&&(r.flags|=64,Q=p.effects,Q===null?p.effects=[P]:Q.push(P))}else ye={eventTime:ye,lane:Q,tag:P.tag,payload:P.payload,callback:P.callback,next:null},ee===null?(W=ee=ye,j=ne):ee=ee.next=ye,k|=Q;if(P=P.next,P===null){if(P=p.shared.pending,P===null)break;Q=P,P=Q.next,Q.next=null,p.lastBaseUpdate=Q,p.shared.pending=null}}while(!0);if(ee===null&&(j=ne),p.baseState=j,p.firstBaseUpdate=W,p.lastBaseUpdate=ee,i=p.shared.interleaved,i!==null){p=i;do k|=p.lane,p=p.next;while(p!==i)}else y===null&&(p.shared.lanes=0);hi|=k,r.lanes=k,r.memoizedState=ne}}function Lg(r,i,l){if(r=i.effects,i.effects=null,r!==null)for(i=0;il?l:4,r(!0);var d=Xd.transition;Xd.transition={};try{r(!1),i()}finally{gt=l,Xd.transition=d}}function Jg(){return Jn().memoizedState}function c1(r,i,l){var d=Os(r);if(l={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null},ey(r))ty(i,l);else if(l=Ag(r,i,l,d),l!==null){var p=vn();mr(l,r,d,p),ny(l,i,d)}}function d1(r,i,l){var d=Os(r),p={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null};if(ey(r))ty(i,p);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var k=i.lastRenderedState,P=y(k,l);if(p.hasEagerState=!0,p.eagerState=P,cr(P,k)){var j=i.interleaved;j===null?(p.next=p,Hd(i)):(p.next=j.next,j.next=p),i.interleaved=p;return}}catch{}finally{}l=Ag(r,i,p,d),l!==null&&(p=vn(),mr(l,r,d,p),ny(l,i,d))}}function ey(r){var i=r.alternate;return r===Nt||i!==null&&i===Nt}function ty(r,i){la=cu=!0;var l=r.pending;l===null?i.next=i:(i.next=l.next,l.next=i),r.pending=i}function ny(r,i,l){if(l&4194240){var d=i.lanes;d&=r.pendingLanes,l|=d,i.lanes=l,od(r,l)}}var hu={readContext:Qn,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useInsertionEffect:cn,useLayoutEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useMutableSource:cn,useSyncExternalStore:cn,useId:cn,unstable_isNewReconciler:!1},f1={readContext:Qn,useCallback:function(r,i){return jr().memoizedState=[r,i===void 0?null:i],r},useContext:Qn,useEffect:Hg,useImperativeHandle:function(r,i,l){return l=l!=null?l.concat([r]):null,du(4194308,4,Kg.bind(null,i,r),l)},useLayoutEffect:function(r,i){return du(4194308,4,r,i)},useInsertionEffect:function(r,i){return du(4,2,r,i)},useMemo:function(r,i){var l=jr();return i=i===void 0?null:i,r=r(),l.memoizedState=[r,i],r},useReducer:function(r,i,l){var d=jr();return i=l!==void 0?l(i):i,d.memoizedState=d.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},d.queue=r,r=r.dispatch=c1.bind(null,Nt,r),[d.memoizedState,r]},useRef:function(r){var i=jr();return r={current:r},i.memoizedState=r},useState:$g,useDebugValue:sf,useDeferredValue:function(r){return jr().memoizedState=r},useTransition:function(){var r=$g(!1),i=r[0];return r=u1.bind(null,r[1]),jr().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,l){var d=Nt,p=jr();if(Tt){if(l===void 0)throw Error(n(407));l=l()}else{if(l=i(),Xt===null)throw Error(n(349));fi&30||Ig(d,i,l)}p.memoizedState=l;var y={value:l,getSnapshot:i};return p.queue=y,Hg(Bg.bind(null,d,y,r),[r]),d.flags|=2048,da(9,Vg.bind(null,d,y,l,i),void 0,null),l},useId:function(){var r=jr(),i=Xt.identifierPrefix;if(Tt){var l=es,d=Jr;l=(d&~(1<<32-ur(d)-1)).toString(32)+l,i=":"+i+"R"+l,l=ua++,0<\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=k.createElement(l,{is:d.is}):(r=k.createElement(l),l==="select"&&(k=r,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):r=k.createElementNS(r,l),r[Nr]=i,r[na]=d,Sy(r,i,!1,!1),i.stateNode=r;e:{switch(k=gs(l,d),l){case"dialog":_t("cancel",r),_t("close",r),p=d;break;case"iframe":case"object":case"embed":_t("load",r),p=d;break;case"video":case"audio":for(p=0;puo&&(i.flags|=128,d=!0,fa(y,!1),i.lanes=4194304)}else{if(!d)if(r=lu(k),r!==null){if(i.flags|=128,d=!0,l=r.updateQueue,l!==null&&(i.updateQueue=l,i.flags|=4),fa(y,!0),y.tail===null&&y.tailMode==="hidden"&&!k.alternate&&!Tt)return dn(i),null}else 2*wt()-y.renderingStartTime>uo&&l!==1073741824&&(i.flags|=128,d=!0,fa(y,!1),i.lanes=4194304);y.isBackwards?(k.sibling=i.child,i.child=k):(l=y.last,l!==null?l.sibling=k:i.child=k,y.last=k)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=wt(),i.sibling=null,l=Pt.current,St(Pt,d?l&1|2:l&1),i):(dn(i),null);case 22:case 23:return Cf(),d=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Un&1073741824&&(dn(i),i.subtreeFlags&6&&(i.flags|=8192)):dn(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function w1(r,i){switch(Dd(i),i.tag){case 1:return Cn(i.type)&&Xl(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return io(),Et(En),Et(un),Gd(),r=i.flags,r&65536&&!(r&128)?(i.flags=r&-65537|128,i):null;case 5:return Wd(i),null;case 13:if(Et(Pt),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));to()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return Et(Pt),null;case 4:return io(),null;case 10:return Vd(i.type._context),null;case 22:case 23:return Cf(),null;case 24:return null;default:return null}}var yu=!1,fn=!1,S1=typeof WeakSet=="function"?WeakSet:Set,Se=null;function ao(r,i){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(d){Mt(r,i,d)}else l.current=null}function hf(r,i,l){try{l()}catch(d){Mt(r,i,d)}}var Ey=!1;function b1(r,i){if(Ed=Fl,r=ng(),gd(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var p=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{l.nodeType,y.nodeType}catch{l=null;break e}var k=0,P=-1,j=-1,W=0,ee=0,ne=r,Q=null;t:for(;;){for(var ye;ne!==l||p!==0&&ne.nodeType!==3||(P=k+p),ne!==y||d!==0&&ne.nodeType!==3||(j=k+d),ne.nodeType===3&&(k+=ne.nodeValue.length),(ye=ne.firstChild)!==null;)Q=ne,ne=ye;for(;;){if(ne===r)break t;if(Q===l&&++W===p&&(P=k),Q===y&&++ee===d&&(j=k),(ye=ne.nextSibling)!==null)break;ne=Q,Q=ne.parentNode}ne=ye}l=P===-1||j===-1?null:{start:P,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for(Cd={focusedElem:r,selectionRange:l},Fl=!1,Se=i;Se!==null;)if(i=Se,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,Se=r;else for(;Se!==null;){i=Se;try{var _e=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var Te=_e.memoizedProps,Vt=_e.memoizedState,B=i.stateNode,M=B.getSnapshotBeforeUpdate(i.elementType===i.type?Te:fr(i.type,Te),Vt);B.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var $=i.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(le){Mt(i,i.return,le)}if(r=i.sibling,r!==null){r.return=i.return,Se=r;break}Se=i.return}return _e=Ey,Ey=!1,_e}function ha(r,i,l){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&r)===r){var y=p.destroy;p.destroy=void 0,y!==void 0&&hf(i,l,y)}p=p.next}while(p!==d)}}function vu(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var l=i=i.next;do{if((l.tag&r)===r){var d=l.create;l.destroy=d()}l=l.next}while(l!==i)}}function pf(r){var i=r.ref;if(i!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof i=="function"?i(r):i.current=r}}function Cy(r){var i=r.alternate;i!==null&&(r.alternate=null,Cy(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[Nr],delete i[na],delete i[Pd],delete i[s1],delete i[i1])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function ky(r){return r.tag===5||r.tag===3||r.tag===4}function Ty(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||ky(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function mf(r,i,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?l.nodeType===8?l.parentNode.insertBefore(r,i):l.insertBefore(r,i):(l.nodeType===8?(i=l.parentNode,i.insertBefore(r,l)):(i=l,i.appendChild(r)),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=ql));else if(d!==4&&(r=r.child,r!==null))for(mf(r,i,l),r=r.sibling;r!==null;)mf(r,i,l),r=r.sibling}function gf(r,i,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?l.insertBefore(r,i):l.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(gf(r,i,l),r=r.sibling;r!==null;)gf(r,i,l),r=r.sibling}var en=null,hr=!1;function Ds(r,i,l){for(l=l.child;l!==null;)Ry(r,i,l),l=l.sibling}function Ry(r,i,l){if(In&&typeof In.onCommitFiberUnmount=="function")try{In.onCommitFiberUnmount(lr,l)}catch{}switch(l.tag){case 5:fn||ao(l,i);case 6:var d=en,p=hr;en=null,Ds(r,i,l),en=d,hr=p,en!==null&&(hr?(r=en,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):en.removeChild(l.stateNode));break;case 18:en!==null&&(hr?(r=en,l=l.stateNode,r.nodeType===8?Rd(r.parentNode,l):r.nodeType===1&&Rd(r,l),Ho(r)):Rd(en,l.stateNode));break;case 4:d=en,p=hr,en=l.stateNode.containerInfo,hr=!0,Ds(r,i,l),en=d,hr=p;break;case 0:case 11:case 14:case 15:if(!fn&&(d=l.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){p=d=d.next;do{var y=p,k=y.destroy;y=y.tag,k!==void 0&&(y&2||y&4)&&hf(l,i,k),p=p.next}while(p!==d)}Ds(r,i,l);break;case 1:if(!fn&&(ao(l,i),d=l.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=l.memoizedProps,d.state=l.memoizedState,d.componentWillUnmount()}catch(P){Mt(l,i,P)}Ds(r,i,l);break;case 21:Ds(r,i,l);break;case 22:l.mode&1?(fn=(d=fn)||l.memoizedState!==null,Ds(r,i,l),fn=d):Ds(r,i,l);break;default:Ds(r,i,l)}}function Py(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new S1),i.forEach(function(d){var p=A1.bind(null,r,d);l.has(d)||(l.add(d),d.then(p,p))})}}function pr(r,i){var l=i.deletions;if(l!==null)for(var d=0;dp&&(p=k),d&=~y}if(d=p,d=wt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*E1(d/1960))-d,10r?16:r,Ms===null)var d=!1;else{if(r=Ms,Ms=null,_u=0,ct&6)throw Error(n(331));var p=ct;for(ct|=4,Se=r.current;Se!==null;){var y=Se,k=y.child;if(Se.flags&16){var P=y.deletions;if(P!==null){for(var j=0;jwt()-xf?mi(r,0):vf|=l),Rn(r,i)}function Uy(r,i){i===0&&(r.mode&1?(i=Dl,Dl<<=1,!(Dl&130023424)&&(Dl=4194304)):i=1);var l=vn();r=ts(r,i),r!==null&&(Bo(r,i,l),Rn(r,l))}function N1(r){var i=r.memoizedState,l=0;i!==null&&(l=i.retryLane),Uy(r,l)}function A1(r,i){var l=0;switch(r.tag){case 13:var d=r.stateNode,p=r.memoizedState;p!==null&&(l=p.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Uy(r,l)}var $y;$y=function(r,i,l){if(r!==null)if(r.memoizedProps!==i.pendingProps||En.current)kn=!0;else{if(!(r.lanes&l)&&!(i.flags&128))return kn=!1,v1(r,i,l);kn=!!(r.flags&131072)}else kn=!1,Tt&&i.flags&1048576&&bg(i,tu,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;gu(r,i),r=i.pendingProps;var p=Qi(i,un.current);so(i,l),p=qd(null,i,d,r,p,l);var y=Yd();return i.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Cn(d)?(y=!0,Ql(i)):y=!1,i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Ud(i),p.updater=pu,i.stateNode=p,p._reactInternals=i,nf(i,d,r,l),i=af(null,i,d,!0,y,l)):(i.tag=0,Tt&&y&&jd(i),yn(null,i,p,l),i=i.child),i;case 16:d=i.elementType;e:{switch(gu(r,i),r=i.pendingProps,p=d._init,d=p(d._payload),i.type=d,p=i.tag=D1(d),r=fr(d,r),p){case 0:i=of(null,i,d,r,l);break e;case 1:i=my(null,i,d,r,l);break e;case 11:i=cy(null,i,d,r,l);break e;case 14:i=dy(null,i,d,fr(d.type,r),l);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),of(r,i,d,p,l);case 1:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),my(r,i,d,p,l);case 3:e:{if(gy(i),r===null)throw Error(n(387));d=i.pendingProps,y=i.memoizedState,p=y.element,Ag(r,i),au(i,d,null,l);var k=i.memoizedState;if(d=k.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){p=oo(Error(n(423)),i),i=yy(r,i,d,l,p);break e}else if(d!==p){p=oo(Error(n(424)),i),i=yy(r,i,d,l,p);break e}else for(zn=Ts(i.stateNode.containerInfo.firstChild),Bn=i,Tt=!0,dr=null,l=Pg(i,null,d,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(to(),d===p){i=rs(r,i,l);break e}yn(r,i,d,l)}i=i.child}return i;case 5:return Lg(i),r===null&&Md(i),d=i.type,p=i.pendingProps,y=r!==null?r.memoizedProps:null,k=p.children,kd(d,p)?k=null:y!==null&&kd(d,y)&&(i.flags|=32),py(r,i),yn(r,i,k,l),i.child;case 6:return r===null&&Md(i),null;case 13:return vy(r,i,l);case 4:return $d(i,i.stateNode.containerInfo),d=i.pendingProps,r===null?i.child=no(i,null,d,l):yn(r,i,d,l),i.child;case 11:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),cy(r,i,d,p,l);case 7:return yn(r,i,i.pendingProps,l),i.child;case 8:return yn(r,i,i.pendingProps.children,l),i.child;case 12:return yn(r,i,i.pendingProps.children,l),i.child;case 10:e:{if(d=i.type._context,p=i.pendingProps,y=i.memoizedProps,k=p.value,St(su,d._currentValue),d._currentValue=k,y!==null)if(cr(y.value,k)){if(y.children===p.children&&!En.current){i=rs(r,i,l);break e}}else for(y=i.child,y!==null&&(y.return=i);y!==null;){var P=y.dependencies;if(P!==null){k=y.child;for(var j=P.firstContext;j!==null;){if(j.context===d){if(y.tag===1){j=ns(-1,l&-l),j.tag=2;var W=y.updateQueue;if(W!==null){W=W.shared;var ee=W.pending;ee===null?j.next=j:(j.next=ee.next,ee.next=j),W.pending=j}}y.lanes|=l,j=y.alternate,j!==null&&(j.lanes|=l),Bd(y.return,l,i),P.lanes|=l;break}j=j.next}}else if(y.tag===10)k=y.type===i.type?null:y.child;else if(y.tag===18){if(k=y.return,k===null)throw Error(n(341));k.lanes|=l,P=k.alternate,P!==null&&(P.lanes|=l),Bd(k,l,i),k=y.sibling}else k=y.child;if(k!==null)k.return=y;else for(k=y;k!==null;){if(k===i){k=null;break}if(y=k.sibling,y!==null){y.return=k.return,k=y;break}k=k.return}y=k}yn(r,i,p.children,l),i=i.child}return i;case 9:return p=i.type,d=i.pendingProps.children,so(i,l),p=Qn(p),d=d(p),i.flags|=1,yn(r,i,d,l),i.child;case 14:return d=i.type,p=fr(d,i.pendingProps),p=fr(d.type,p),dy(r,i,d,p,l);case 15:return fy(r,i,i.type,i.pendingProps,l);case 17:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),gu(r,i),i.tag=1,Cn(d)?(r=!0,Ql(i)):r=!1,so(i,l),ry(i,d,p),nf(i,d,p,l),af(null,i,d,!0,r,l);case 19:return wy(r,i,l);case 22:return hy(r,i,l)}throw Error(n(156,i.tag))};function Wy(r,i){return Fn(r,i)}function j1(r,i,l,d){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tr(r,i,l,d){return new j1(r,i,l,d)}function Tf(r){return r=r.prototype,!(!r||!r.isReactComponent)}function D1(r){if(typeof r=="function")return Tf(r)?1:0;if(r!=null){if(r=r.$$typeof,r===X)return 11;if(r===we)return 14}return 2}function Is(r,i){var l=r.alternate;return l===null?(l=tr(r.tag,i,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=i,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,i=r.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function Tu(r,i,l,d,p,y){var k=2;if(d=r,typeof r=="function")Tf(r)&&(k=1);else if(typeof r=="string")k=5;else e:switch(r){case z:return yi(l.children,p,y,i);case O:k=8,p|=8;break;case q:return r=tr(12,l,i,p|2),r.elementType=q,r.lanes=y,r;case de:return r=tr(13,l,i,p),r.elementType=de,r.lanes=y,r;case ke:return r=tr(19,l,i,p),r.elementType=ke,r.lanes=y,r;case me:return Ru(l,p,y,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case te:k=10;break e;case pe:k=9;break e;case X:k=11;break e;case we:k=14;break e;case De:k=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=tr(k,l,i,p),i.elementType=r,i.type=d,i.lanes=y,i}function yi(r,i,l,d){return r=tr(7,r,d,i),r.lanes=l,r}function Ru(r,i,l,d){return r=tr(22,r,d,i),r.elementType=me,r.lanes=l,r.stateNode={isHidden:!1},r}function Rf(r,i,l){return r=tr(6,r,null,i),r.lanes=l,r}function Pf(r,i,l){return i=tr(4,r.children!==null?r.children:[],r.key,i),i.lanes=l,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function L1(r,i,l,d,p){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=td(0),this.expirationTimes=td(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=td(0),this.identifierPrefix=d,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Nf(r,i,l,d,p,y,k,P,j){return r=new L1(r,i,l,P,j),i===1?(i=1,y===!0&&(i|=8)):i=0,y=tr(3,null,null,i),r.current=y,y.stateNode=r,y.memoizedState={element:d,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ud(y),r}function M1(r,i,l){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Of.exports=Z1(),Of.exports}var sv;function K1(){if(sv)return Ou;sv=1;var e=V0();return Ou.createRoot=e.createRoot,Ou.hydrateRoot=e.hydrateRoot,Ou}var q1=K1(),xa={},iv;function Y1(){if(iv)return xa;iv=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.parse=u,xa.serialize=h;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,a=(()=>{const v=function(){};return v.prototype=Object.create(null),v})();function u(v,b){const w=new a,S=v.length;if(S<2)return w;const C=(b==null?void 0:b.decode)||m;let E=0;do{const R=v.indexOf("=",E);if(R===-1)break;const N=v.indexOf(";",E),I=N===-1?S:N;if(R>I){E=v.lastIndexOf(";",R-1)+1;continue}const T=c(v,E,R),F=f(v,R,T),z=v.slice(T,F);if(w[z]===void 0){let O=c(v,R+1,I),q=f(v,I,O);const te=C(v.slice(O,q));w[z]=te}E=I+1}while(Ew;){const S=v.charCodeAt(--b);if(S!==32&&S!==9)return b+1}return w}function h(v,b,w){const S=(w==null?void 0:w.encode)||encodeURIComponent;if(!e.test(v))throw new TypeError(`argument name is invalid: ${v}`);const C=S(b);if(!t.test(C))throw new TypeError(`argument val is invalid: ${b}`);let E=v+"="+C;if(!w)return E;if(w.maxAge!==void 0){if(!Number.isInteger(w.maxAge))throw new TypeError(`option maxAge is invalid: ${w.maxAge}`);E+="; Max-Age="+w.maxAge}if(w.domain){if(!n.test(w.domain))throw new TypeError(`option domain is invalid: ${w.domain}`);E+="; Domain="+w.domain}if(w.path){if(!s.test(w.path))throw new TypeError(`option path is invalid: ${w.path}`);E+="; Path="+w.path}if(w.expires){if(!g(w.expires)||!Number.isFinite(w.expires.valueOf()))throw new TypeError(`option expires is invalid: ${w.expires}`);E+="; Expires="+w.expires.toUTCString()}if(w.httpOnly&&(E+="; HttpOnly"),w.secure&&(E+="; Secure"),w.partitioned&&(E+="; Partitioned"),w.priority)switch(typeof w.priority=="string"?w.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${w.priority}`)}if(w.sameSite)switch(typeof w.sameSite=="string"?w.sameSite.toLowerCase():w.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${w.sameSite}`)}return E}function m(v){if(v.indexOf("%")===-1)return v;try{return decodeURIComponent(v)}catch{return v}}function g(v){return o.call(v)==="[object Date]"}return xa}Y1();/** +`+y.stack}return{value:r,source:i,stack:p,digest:null}}function lf(r,i,l){return{value:r,source:null,stack:l??null,digest:i??null}}function uf(r,i){try{console.error(i.value)}catch(l){setTimeout(function(){throw l})}}var m1=typeof WeakMap=="function"?WeakMap:Map;function oy(r,i,l){l=ns(-1,l),l.tag=3,l.payload={element:null};var d=i.value;return l.callback=function(){Su||(Su=!0,Ef=d),uf(r,i)},l}function ay(r,i,l){l=ns(-1,l),l.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var p=i.value;l.payload=function(){return d(p)},l.callback=function(){uf(r,i)}}var y=r.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(l.callback=function(){uf(r,i),typeof d!="function"&&(Ls===null?Ls=new Set([this]):Ls.add(this));var k=i.stack;this.componentDidCatch(i.value,{componentStack:k!==null?k:""})}),l}function ly(r,i,l){var d=r.pingCache;if(d===null){d=r.pingCache=new m1;var p=new Set;d.set(i,p)}else p=d.get(i),p===void 0&&(p=new Set,d.set(i,p));p.has(l)||(p.add(l),r=P1.bind(null,r,i,l),i.then(r,r))}function uy(r){do{var i;if((i=r.tag===13)&&(i=r.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return r;r=r.return}while(r!==null);return null}function cy(r,i,l,d,p){return r.mode&1?(r.flags|=65536,r.lanes=p,r):(r===i?r.flags|=65536:(r.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(i=ns(-1,1),i.tag=2,js(l,i,1))),l.lanes|=1),r)}var g1=I.ReactCurrentOwner,kn=!1;function yn(r,i,l,d){i.child=r===null?Ng(i,null,l,d):ro(i,r.child,l,d)}function dy(r,i,l,d,p){l=l.render;var y=i.ref;return io(i,p),d=Jd(r,i,l,d,y,p),l=ef(),r!==null&&!kn?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~p,rs(r,i,p)):(Tt&&l&&Od(i),i.flags|=1,yn(r,i,d,p),i.child)}function fy(r,i,l,d,p){if(r===null){var y=l.type;return typeof y=="function"&&!Af(y)&&y.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(i.tag=15,i.type=y,hy(r,i,y,d,p)):(r=Tu(l.type,null,d,i,i.mode,p),r.ref=i.ref,r.return=i,i.child=r)}if(y=r.child,!(r.lanes&p)){var k=y.memoizedProps;if(l=l.compare,l=l!==null?l:Xo,l(k,d)&&r.ref===i.ref)return rs(r,i,p)}return i.flags|=1,r=Is(y,d),r.ref=i.ref,r.return=i,i.child=r}function hy(r,i,l,d,p){if(r!==null){var y=r.memoizedProps;if(Xo(y,d)&&r.ref===i.ref)if(kn=!1,i.pendingProps=d=y,(r.lanes&p)!==0)r.flags&131072&&(kn=!0);else return i.lanes=r.lanes,rs(r,i,p)}return cf(r,i,l,d,p)}function py(r,i,l){var d=i.pendingProps,p=d.children,y=r!==null?r.memoizedState:null;if(d.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},St(uo,$n),$n|=l;else{if(!(l&1073741824))return r=y!==null?y.baseLanes|l:l,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:r,cachePool:null,transitions:null},i.updateQueue=null,St(uo,$n),$n|=r,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=y!==null?y.baseLanes:l,St(uo,$n),$n|=d}else y!==null?(d=y.baseLanes|l,i.memoizedState=null):d=l,St(uo,$n),$n|=d;return yn(r,i,p,l),i.child}function my(r,i){var l=i.ref;(r===null&&l!==null||r!==null&&r.ref!==l)&&(i.flags|=512,i.flags|=2097152)}function cf(r,i,l,d,p){var y=Cn(l)?ai:un.current;return y=Ji(i,y),io(i,p),l=Jd(r,i,l,d,y,p),d=ef(),r!==null&&!kn?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~p,rs(r,i,p)):(Tt&&d&&Od(i),i.flags|=1,yn(r,i,l,p),i.child)}function gy(r,i,l,d,p){if(Cn(l)){var y=!0;Ql(i)}else y=!1;if(io(i,p),i.stateNode===null)gu(r,i),sy(i,l,d),af(i,l,d,p),d=!0;else if(r===null){var k=i.stateNode,P=i.memoizedProps;k.props=P;var j=k.context,W=l.contextType;typeof W=="object"&&W!==null?W=Qn(W):(W=Cn(l)?ai:un.current,W=Ji(i,W));var ee=l.getDerivedStateFromProps,ne=typeof ee=="function"||typeof k.getSnapshotBeforeUpdate=="function";ne||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(P!==d||j!==W)&&iy(i,k,d,W),As=!1;var Q=i.memoizedState;k.state=Q,au(i,d,k,p),j=i.memoizedState,P!==d||Q!==j||En.current||As?(typeof ee=="function"&&(of(i,l,ee,d),j=i.memoizedState),(P=As||ry(i,l,P,d,Q,j,W))?(ne||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(i.flags|=4194308)):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=j),k.props=d,k.state=j,k.context=W,d=P):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{k=i.stateNode,jg(r,i),P=i.memoizedProps,W=i.type===i.elementType?P:fr(i.type,P),k.props=W,ne=i.pendingProps,Q=k.context,j=l.contextType,typeof j=="object"&&j!==null?j=Qn(j):(j=Cn(l)?ai:un.current,j=Ji(i,j));var ye=l.getDerivedStateFromProps;(ee=typeof ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(P!==ne||Q!==j)&&iy(i,k,d,j),As=!1,Q=i.memoizedState,k.state=Q,au(i,d,k,p);var _e=i.memoizedState;P!==ne||Q!==_e||En.current||As?(typeof ye=="function"&&(of(i,l,ye,d),_e=i.memoizedState),(W=As||ry(i,l,W,d,Q,_e,j)||!1)?(ee||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(d,_e,j),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(d,_e,j)),typeof k.componentDidUpdate=="function"&&(i.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof k.componentDidUpdate!="function"||P===r.memoizedProps&&Q===r.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||P===r.memoizedProps&&Q===r.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=_e),k.props=d,k.state=_e,k.context=j,d=W):(typeof k.componentDidUpdate!="function"||P===r.memoizedProps&&Q===r.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||P===r.memoizedProps&&Q===r.memoizedState||(i.flags|=1024),d=!1)}return df(r,i,l,d,y,p)}function df(r,i,l,d,p,y){my(r,i);var k=(i.flags&128)!==0;if(!d&&!k)return p&&Sg(i,l,!1),rs(r,i,y);d=i.stateNode,g1.current=i;var P=k&&typeof l.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,r!==null&&k?(i.child=ro(i,r.child,null,y),i.child=ro(i,null,P,y)):yn(r,i,P,y),i.memoizedState=d.state,p&&Sg(i,l,!0),i.child}function yy(r){var i=r.stateNode;i.pendingContext?xg(r,i.pendingContext,i.pendingContext!==i.context):i.context&&xg(r,i.context,!1),Zd(r,i.containerInfo)}function vy(r,i,l,d,p){return no(),Bd(p),i.flags|=256,yn(r,i,l,d),i.child}var ff={dehydrated:null,treeContext:null,retryLane:0};function hf(r){return{baseLanes:r,cachePool:null,transitions:null}}function xy(r,i,l){var d=i.pendingProps,p=Pt.current,y=!1,k=(i.flags&128)!==0,P;if((P=k)||(P=r!==null&&r.memoizedState===null?!1:(p&2)!==0),P?(y=!0,i.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),St(Pt,p&1),r===null)return Vd(i),r=i.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?(i.mode&1?r.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(k=d.children,r=d.fallback,y?(d=i.mode,y=i.child,k={mode:"hidden",children:k},!(d&1)&&y!==null?(y.childLanes=0,y.pendingProps=k):y=Ru(k,d,0,null),r=yi(r,d,l,null),y.return=i,r.return=i,y.sibling=r,i.child=y,i.child.memoizedState=hf(l),i.memoizedState=ff,r):pf(i,k));if(p=r.memoizedState,p!==null&&(P=p.dehydrated,P!==null))return y1(r,i,k,d,P,p,l);if(y){y=d.fallback,k=i.mode,p=r.child,P=p.sibling;var j={mode:"hidden",children:d.children};return!(k&1)&&i.child!==p?(d=i.child,d.childLanes=0,d.pendingProps=j,i.deletions=null):(d=Is(p,j),d.subtreeFlags=p.subtreeFlags&14680064),P!==null?y=Is(P,y):(y=yi(y,k,l,null),y.flags|=2),y.return=i,d.return=i,d.sibling=y,i.child=d,d=y,y=i.child,k=r.child.memoizedState,k=k===null?hf(l):{baseLanes:k.baseLanes|l,cachePool:null,transitions:k.transitions},y.memoizedState=k,y.childLanes=r.childLanes&~l,i.memoizedState=ff,d}return y=r.child,r=y.sibling,d=Is(y,{mode:"visible",children:d.children}),!(i.mode&1)&&(d.lanes=l),d.return=i,d.sibling=null,r!==null&&(l=i.deletions,l===null?(i.deletions=[r],i.flags|=16):l.push(r)),i.child=d,i.memoizedState=null,d}function pf(r,i){return i=Ru({mode:"visible",children:i},r.mode,0,null),i.return=r,r.child=i}function mu(r,i,l,d){return d!==null&&Bd(d),ro(i,r.child,null,l),r=pf(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function y1(r,i,l,d,p,y,k){if(l)return i.flags&256?(i.flags&=-257,d=lf(Error(n(422))),mu(r,i,k,d)):i.memoizedState!==null?(i.child=r.child,i.flags|=128,null):(y=d.fallback,p=i.mode,d=Ru({mode:"visible",children:d.children},p,0,null),y=yi(y,p,k,null),y.flags|=2,d.return=i,y.return=i,d.sibling=y,i.child=d,i.mode&1&&ro(i,r.child,null,k),i.child.memoizedState=hf(k),i.memoizedState=ff,y);if(!(i.mode&1))return mu(r,i,k,null);if(p.data==="$!"){if(d=p.nextSibling&&p.nextSibling.dataset,d)var P=d.dgst;return d=P,y=Error(n(419)),d=lf(y,d,void 0),mu(r,i,k,d)}if(P=(k&r.childLanes)!==0,kn||P){if(d=Xt,d!==null){switch(k&-k){case 4:p=2;break;case 16:p=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:p=32;break;case 536870912:p=268435456;break;default:p=0}p=p&(d.suspendedLanes|k)?0:p,p!==0&&p!==y.retryLane&&(y.retryLane=p,ts(r,p),mr(d,r,p,-1))}return Nf(),d=lf(Error(n(421))),mu(r,i,k,d)}return p.data==="$?"?(i.flags|=128,i.child=r.child,i=N1.bind(null,r),p._reactRetry=i,null):(r=y.treeContext,Un=Ts(p.nextSibling),zn=i,Tt=!0,dr=null,r!==null&&(Yn[Xn++]=Jr,Yn[Xn++]=es,Yn[Xn++]=li,Jr=r.id,es=r.overflow,li=i),i=pf(i,d.children),i.flags|=4096,i)}function wy(r,i,l){r.lanes|=i;var d=r.alternate;d!==null&&(d.lanes|=i),Wd(r.return,i,l)}function mf(r,i,l,d,p){var y=r.memoizedState;y===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:p}:(y.isBackwards=i,y.rendering=null,y.renderingStartTime=0,y.last=d,y.tail=l,y.tailMode=p)}function Sy(r,i,l){var d=i.pendingProps,p=d.revealOrder,y=d.tail;if(yn(r,i,d.children,l),d=Pt.current,d&2)d=d&1|2,i.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&wy(r,l,i);else if(r.tag===19)wy(r,l,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}if(St(Pt,d),!(i.mode&1))i.memoizedState=null;else switch(p){case"forwards":for(l=i.child,p=null;l!==null;)r=l.alternate,r!==null&&lu(r)===null&&(p=l),l=l.sibling;l=p,l===null?(p=i.child,i.child=null):(p=l.sibling,l.sibling=null),mf(i,!1,p,l,y);break;case"backwards":for(l=null,p=i.child,i.child=null;p!==null;){if(r=p.alternate,r!==null&&lu(r)===null){i.child=p;break}r=p.sibling,p.sibling=l,l=p,p=r}mf(i,!0,l,null,y);break;case"together":mf(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function gu(r,i){!(i.mode&1)&&r!==null&&(r.alternate=null,i.alternate=null,i.flags|=2)}function rs(r,i,l){if(r!==null&&(i.dependencies=r.dependencies),hi|=i.lanes,!(l&i.childLanes))return null;if(r!==null&&i.child!==r.child)throw Error(n(153));if(i.child!==null){for(r=i.child,l=Is(r,r.pendingProps),i.child=l,l.return=i;r.sibling!==null;)r=r.sibling,l=l.sibling=Is(r,r.pendingProps),l.return=i;l.sibling=null}return i.child}function v1(r,i,l){switch(i.tag){case 3:yy(i),no();break;case 5:Mg(i);break;case 1:Cn(i.type)&&Ql(i);break;case 4:Zd(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,p=i.memoizedProps.value;St(su,d._currentValue),d._currentValue=p;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(St(Pt,Pt.current&1),i.flags|=128,null):l&i.child.childLanes?xy(r,i,l):(St(Pt,Pt.current&1),r=rs(r,i,l),r!==null?r.sibling:null);St(Pt,Pt.current&1);break;case 19:if(d=(l&i.childLanes)!==0,r.flags&128){if(d)return Sy(r,i,l);i.flags|=128}if(p=i.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),St(Pt,Pt.current),d)break;return null;case 22:case 23:return i.lanes=0,py(r,i,l)}return rs(r,i,l)}var by,gf,_y,Ey;by=function(r,i){for(var l=i.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},gf=function(){},_y=function(r,i,l,d){var p=r.memoizedProps;if(p!==d){r=i.stateNode,di(Ar.current);var y=null;switch(l){case"input":p=mt(r,p),d=mt(r,d),y=[];break;case"select":p=ie({},p,{value:void 0}),d=ie({},d,{value:void 0}),y=[];break;case"textarea":p=ae(r,p),d=ae(r,d),y=[];break;default:typeof p.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=ql)}Rr(l,d);var k;l=null;for(W in p)if(!d.hasOwnProperty(W)&&p.hasOwnProperty(W)&&p[W]!=null)if(W==="style"){var P=p[W];for(k in P)P.hasOwnProperty(k)&&(l||(l={}),l[k]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(o.hasOwnProperty(W)?y||(y=[]):(y=y||[]).push(W,null));for(W in d){var j=d[W];if(P=p!=null?p[W]:void 0,d.hasOwnProperty(W)&&j!==P&&(j!=null||P!=null))if(W==="style")if(P){for(k in P)!P.hasOwnProperty(k)||j&&j.hasOwnProperty(k)||(l||(l={}),l[k]="");for(k in j)j.hasOwnProperty(k)&&P[k]!==j[k]&&(l||(l={}),l[k]=j[k])}else l||(y||(y=[]),y.push(W,l)),l=j;else W==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,P=P?P.__html:void 0,j!=null&&P!==j&&(y=y||[]).push(W,j)):W==="children"?typeof j!="string"&&typeof j!="number"||(y=y||[]).push(W,""+j):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(o.hasOwnProperty(W)?(j!=null&&W==="onScroll"&&_t("scroll",r),y||P===j||(y=[])):(y=y||[]).push(W,j))}l&&(y=y||[]).push("style",l);var W=y;(i.updateQueue=W)&&(i.flags|=4)}},Ey=function(r,i,l,d){l!==d&&(i.flags|=4)};function fa(r,i){if(!Tt)switch(r.tailMode){case"hidden":i=r.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function dn(r){var i=r.alternate!==null&&r.alternate.child===r.child,l=0,d=0;if(i)for(var p=r.child;p!==null;)l|=p.lanes|p.childLanes,d|=p.subtreeFlags&14680064,d|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)l|=p.lanes|p.childLanes,d|=p.subtreeFlags,d|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=d,r.childLanes=l,i}function x1(r,i,l){var d=i.pendingProps;switch(Fd(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dn(i),null;case 1:return Cn(i.type)&&Xl(),dn(i),null;case 3:return d=i.stateNode,oo(),Et(En),Et(un),Yd(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(nu(i)?i.flags|=4:r===null||r.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,dr!==null&&(Tf(dr),dr=null))),gf(r,i),dn(i),null;case 5:Kd(i);var p=di(aa.current);if(l=i.type,r!==null&&i.stateNode!=null)_y(r,i,l,d,p),r.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return dn(i),null}if(r=di(Ar.current),nu(i)){d=i.stateNode,l=i.type;var y=i.memoizedProps;switch(d[Nr]=i,d[na]=y,r=(i.mode&1)!==0,l){case"dialog":_t("cancel",d),_t("close",d);break;case"iframe":case"object":case"embed":_t("load",d);break;case"video":case"audio":for(p=0;p<\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=k.createElement(l,{is:d.is}):(r=k.createElement(l),l==="select"&&(k=r,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):r=k.createElementNS(r,l),r[Nr]=i,r[na]=d,by(r,i,!1,!1),i.stateNode=r;e:{switch(k=gs(l,d),l){case"dialog":_t("cancel",r),_t("close",r),p=d;break;case"iframe":case"object":case"embed":_t("load",r),p=d;break;case"video":case"audio":for(p=0;pco&&(i.flags|=128,d=!0,fa(y,!1),i.lanes=4194304)}else{if(!d)if(r=lu(k),r!==null){if(i.flags|=128,d=!0,l=r.updateQueue,l!==null&&(i.updateQueue=l,i.flags|=4),fa(y,!0),y.tail===null&&y.tailMode==="hidden"&&!k.alternate&&!Tt)return dn(i),null}else 2*wt()-y.renderingStartTime>co&&l!==1073741824&&(i.flags|=128,d=!0,fa(y,!1),i.lanes=4194304);y.isBackwards?(k.sibling=i.child,i.child=k):(l=y.last,l!==null?l.sibling=k:i.child=k,y.last=k)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=wt(),i.sibling=null,l=Pt.current,St(Pt,d?l&1|2:l&1),i):(dn(i),null);case 22:case 23:return Pf(),d=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?$n&1073741824&&(dn(i),i.subtreeFlags&6&&(i.flags|=8192)):dn(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function w1(r,i){switch(Fd(i),i.tag){case 1:return Cn(i.type)&&Xl(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return oo(),Et(En),Et(un),Yd(),r=i.flags,r&65536&&!(r&128)?(i.flags=r&-65537|128,i):null;case 5:return Kd(i),null;case 13:if(Et(Pt),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));no()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return Et(Pt),null;case 4:return oo(),null;case 10:return $d(i.type._context),null;case 22:case 23:return Pf(),null;case 24:return null;default:return null}}var yu=!1,fn=!1,S1=typeof WeakSet=="function"?WeakSet:Set,Se=null;function lo(r,i){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(d){Ot(r,i,d)}else l.current=null}function yf(r,i,l){try{l()}catch(d){Ot(r,i,d)}}var Cy=!1;function b1(r,i){if(Rd=Fl,r=rg(),wd(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var p=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{l.nodeType,y.nodeType}catch{l=null;break e}var k=0,P=-1,j=-1,W=0,ee=0,ne=r,Q=null;t:for(;;){for(var ye;ne!==l||p!==0&&ne.nodeType!==3||(P=k+p),ne!==y||d!==0&&ne.nodeType!==3||(j=k+d),ne.nodeType===3&&(k+=ne.nodeValue.length),(ye=ne.firstChild)!==null;)Q=ne,ne=ye;for(;;){if(ne===r)break t;if(Q===l&&++W===p&&(P=k),Q===y&&++ee===d&&(j=k),(ye=ne.nextSibling)!==null)break;ne=Q,Q=ne.parentNode}ne=ye}l=P===-1||j===-1?null:{start:P,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for(Pd={focusedElem:r,selectionRange:l},Fl=!1,Se=i;Se!==null;)if(i=Se,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,Se=r;else for(;Se!==null;){i=Se;try{var _e=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var Te=_e.memoizedProps,Vt=_e.memoizedState,B=i.stateNode,M=B.getSnapshotBeforeUpdate(i.elementType===i.type?Te:fr(i.type,Te),Vt);B.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var $=i.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(le){Ot(i,i.return,le)}if(r=i.sibling,r!==null){r.return=i.return,Se=r;break}Se=i.return}return _e=Cy,Cy=!1,_e}function ha(r,i,l){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&r)===r){var y=p.destroy;p.destroy=void 0,y!==void 0&&yf(i,l,y)}p=p.next}while(p!==d)}}function vu(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var l=i=i.next;do{if((l.tag&r)===r){var d=l.create;l.destroy=d()}l=l.next}while(l!==i)}}function vf(r){var i=r.ref;if(i!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof i=="function"?i(r):i.current=r}}function ky(r){var i=r.alternate;i!==null&&(r.alternate=null,ky(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[Nr],delete i[na],delete i[Dd],delete i[s1],delete i[i1])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Ty(r){return r.tag===5||r.tag===3||r.tag===4}function Ry(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Ty(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function xf(r,i,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?l.nodeType===8?l.parentNode.insertBefore(r,i):l.insertBefore(r,i):(l.nodeType===8?(i=l.parentNode,i.insertBefore(r,l)):(i=l,i.appendChild(r)),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=ql));else if(d!==4&&(r=r.child,r!==null))for(xf(r,i,l),r=r.sibling;r!==null;)xf(r,i,l),r=r.sibling}function wf(r,i,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?l.insertBefore(r,i):l.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(wf(r,i,l),r=r.sibling;r!==null;)wf(r,i,l),r=r.sibling}var tn=null,hr=!1;function Ds(r,i,l){for(l=l.child;l!==null;)Py(r,i,l),l=l.sibling}function Py(r,i,l){if(Vn&&typeof Vn.onCommitFiberUnmount=="function")try{Vn.onCommitFiberUnmount(lr,l)}catch{}switch(l.tag){case 5:fn||lo(l,i);case 6:var d=tn,p=hr;tn=null,Ds(r,i,l),tn=d,hr=p,tn!==null&&(hr?(r=tn,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):tn.removeChild(l.stateNode));break;case 18:tn!==null&&(hr?(r=tn,l=l.stateNode,r.nodeType===8?jd(r.parentNode,l):r.nodeType===1&&jd(r,l),Ho(r)):jd(tn,l.stateNode));break;case 4:d=tn,p=hr,tn=l.stateNode.containerInfo,hr=!0,Ds(r,i,l),tn=d,hr=p;break;case 0:case 11:case 14:case 15:if(!fn&&(d=l.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){p=d=d.next;do{var y=p,k=y.destroy;y=y.tag,k!==void 0&&(y&2||y&4)&&yf(l,i,k),p=p.next}while(p!==d)}Ds(r,i,l);break;case 1:if(!fn&&(lo(l,i),d=l.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=l.memoizedProps,d.state=l.memoizedState,d.componentWillUnmount()}catch(P){Ot(l,i,P)}Ds(r,i,l);break;case 21:Ds(r,i,l);break;case 22:l.mode&1?(fn=(d=fn)||l.memoizedState!==null,Ds(r,i,l),fn=d):Ds(r,i,l);break;default:Ds(r,i,l)}}function Ny(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new S1),i.forEach(function(d){var p=A1.bind(null,r,d);l.has(d)||(l.add(d),d.then(p,p))})}}function pr(r,i){var l=i.deletions;if(l!==null)for(var d=0;dp&&(p=k),d&=~y}if(d=p,d=wt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*E1(d/1960))-d,10r?16:r,Ms===null)var d=!1;else{if(r=Ms,Ms=null,_u=0,ct&6)throw Error(n(331));var p=ct;for(ct|=4,Se=r.current;Se!==null;){var y=Se,k=y.child;if(Se.flags&16){var P=y.deletions;if(P!==null){for(var j=0;jwt()-_f?mi(r,0):bf|=l),Rn(r,i)}function $y(r,i){i===0&&(r.mode&1?(i=Dl,Dl<<=1,!(Dl&130023424)&&(Dl=4194304)):i=1);var l=vn();r=ts(r,i),r!==null&&(Bo(r,i,l),Rn(r,l))}function N1(r){var i=r.memoizedState,l=0;i!==null&&(l=i.retryLane),$y(r,l)}function A1(r,i){var l=0;switch(r.tag){case 13:var d=r.stateNode,p=r.memoizedState;p!==null&&(l=p.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),$y(r,l)}var Wy;Wy=function(r,i,l){if(r!==null)if(r.memoizedProps!==i.pendingProps||En.current)kn=!0;else{if(!(r.lanes&l)&&!(i.flags&128))return kn=!1,v1(r,i,l);kn=!!(r.flags&131072)}else kn=!1,Tt&&i.flags&1048576&&_g(i,tu,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;gu(r,i),r=i.pendingProps;var p=Ji(i,un.current);io(i,l),p=Jd(null,i,d,r,p,l);var y=ef();return i.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Cn(d)?(y=!0,Ql(i)):y=!1,i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Gd(i),p.updater=pu,i.stateNode=p,p._reactInternals=i,af(i,d,r,l),i=df(null,i,d,!0,y,l)):(i.tag=0,Tt&&y&&Od(i),yn(null,i,p,l),i=i.child),i;case 16:d=i.elementType;e:{switch(gu(r,i),r=i.pendingProps,p=d._init,d=p(d._payload),i.type=d,p=i.tag=D1(d),r=fr(d,r),p){case 0:i=cf(null,i,d,r,l);break e;case 1:i=gy(null,i,d,r,l);break e;case 11:i=dy(null,i,d,r,l);break e;case 14:i=fy(null,i,d,fr(d.type,r),l);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),cf(r,i,d,p,l);case 1:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),gy(r,i,d,p,l);case 3:e:{if(yy(i),r===null)throw Error(n(387));d=i.pendingProps,y=i.memoizedState,p=y.element,jg(r,i),au(i,d,null,l);var k=i.memoizedState;if(d=k.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){p=ao(Error(n(423)),i),i=vy(r,i,d,l,p);break e}else if(d!==p){p=ao(Error(n(424)),i),i=vy(r,i,d,l,p);break e}else for(Un=Ts(i.stateNode.containerInfo.firstChild),zn=i,Tt=!0,dr=null,l=Ng(i,null,d,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(no(),d===p){i=rs(r,i,l);break e}yn(r,i,d,l)}i=i.child}return i;case 5:return Mg(i),r===null&&Vd(i),d=i.type,p=i.pendingProps,y=r!==null?r.memoizedProps:null,k=p.children,Nd(d,p)?k=null:y!==null&&Nd(d,y)&&(i.flags|=32),my(r,i),yn(r,i,k,l),i.child;case 6:return r===null&&Vd(i),null;case 13:return xy(r,i,l);case 4:return Zd(i,i.stateNode.containerInfo),d=i.pendingProps,r===null?i.child=ro(i,null,d,l):yn(r,i,d,l),i.child;case 11:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),dy(r,i,d,p,l);case 7:return yn(r,i,i.pendingProps,l),i.child;case 8:return yn(r,i,i.pendingProps.children,l),i.child;case 12:return yn(r,i,i.pendingProps.children,l),i.child;case 10:e:{if(d=i.type._context,p=i.pendingProps,y=i.memoizedProps,k=p.value,St(su,d._currentValue),d._currentValue=k,y!==null)if(cr(y.value,k)){if(y.children===p.children&&!En.current){i=rs(r,i,l);break e}}else for(y=i.child,y!==null&&(y.return=i);y!==null;){var P=y.dependencies;if(P!==null){k=y.child;for(var j=P.firstContext;j!==null;){if(j.context===d){if(y.tag===1){j=ns(-1,l&-l),j.tag=2;var W=y.updateQueue;if(W!==null){W=W.shared;var ee=W.pending;ee===null?j.next=j:(j.next=ee.next,ee.next=j),W.pending=j}}y.lanes|=l,j=y.alternate,j!==null&&(j.lanes|=l),Wd(y.return,l,i),P.lanes|=l;break}j=j.next}}else if(y.tag===10)k=y.type===i.type?null:y.child;else if(y.tag===18){if(k=y.return,k===null)throw Error(n(341));k.lanes|=l,P=k.alternate,P!==null&&(P.lanes|=l),Wd(k,l,i),k=y.sibling}else k=y.child;if(k!==null)k.return=y;else for(k=y;k!==null;){if(k===i){k=null;break}if(y=k.sibling,y!==null){y.return=k.return,k=y;break}k=k.return}y=k}yn(r,i,p.children,l),i=i.child}return i;case 9:return p=i.type,d=i.pendingProps.children,io(i,l),p=Qn(p),d=d(p),i.flags|=1,yn(r,i,d,l),i.child;case 14:return d=i.type,p=fr(d,i.pendingProps),p=fr(d.type,p),fy(r,i,d,p,l);case 15:return hy(r,i,i.type,i.pendingProps,l);case 17:return d=i.type,p=i.pendingProps,p=i.elementType===d?p:fr(d,p),gu(r,i),i.tag=1,Cn(d)?(r=!0,Ql(i)):r=!1,io(i,l),sy(i,d,p),af(i,d,p,l),df(null,i,d,!0,r,l);case 19:return Sy(r,i,l);case 22:return py(r,i,l)}throw Error(n(156,i.tag))};function Hy(r,i){return In(r,i)}function j1(r,i,l,d){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tr(r,i,l,d){return new j1(r,i,l,d)}function Af(r){return r=r.prototype,!(!r||!r.isReactComponent)}function D1(r){if(typeof r=="function")return Af(r)?1:0;if(r!=null){if(r=r.$$typeof,r===X)return 11;if(r===we)return 14}return 2}function Is(r,i){var l=r.alternate;return l===null?(l=tr(r.tag,i,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=i,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,i=r.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function Tu(r,i,l,d,p,y){var k=2;if(d=r,typeof r=="function")Af(r)&&(k=1);else if(typeof r=="string")k=5;else e:switch(r){case z:return yi(l.children,p,y,i);case O:k=8,p|=8;break;case q:return r=tr(12,l,i,p|2),r.elementType=q,r.lanes=y,r;case de:return r=tr(13,l,i,p),r.elementType=de,r.lanes=y,r;case ke:return r=tr(19,l,i,p),r.elementType=ke,r.lanes=y,r;case me:return Ru(l,p,y,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case te:k=10;break e;case pe:k=9;break e;case X:k=11;break e;case we:k=14;break e;case De:k=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=tr(k,l,i,p),i.elementType=r,i.type=d,i.lanes=y,i}function yi(r,i,l,d){return r=tr(7,r,d,i),r.lanes=l,r}function Ru(r,i,l,d){return r=tr(22,r,d,i),r.elementType=me,r.lanes=l,r.stateNode={isHidden:!1},r}function jf(r,i,l){return r=tr(6,r,null,i),r.lanes=l,r}function Df(r,i,l){return i=tr(4,r.children!==null?r.children:[],r.key,i),i.lanes=l,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function L1(r,i,l,d,p){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=id(0),this.expirationTimes=id(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=id(0),this.identifierPrefix=d,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Lf(r,i,l,d,p,y,k,P,j){return r=new L1(r,i,l,P,j),i===1?(i=1,y===!0&&(i|=8)):i=0,y=tr(3,null,null,i),r.current=y,y.stateNode=r,y.memoizedState={element:d,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gd(y),r}function M1(r,i,l){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Bf.exports=Z1(),Bf.exports}var iv;function K1(){if(iv)return Ou;iv=1;var e=B0();return Ou.createRoot=e.createRoot,Ou.hydrateRoot=e.hydrateRoot,Ou}var q1=K1(),xa={},ov;function Y1(){if(ov)return xa;ov=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.parse=u,xa.serialize=h;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,a=(()=>{const v=function(){};return v.prototype=Object.create(null),v})();function u(v,b){const w=new a,S=v.length;if(S<2)return w;const C=(b==null?void 0:b.decode)||m;let E=0;do{const R=v.indexOf("=",E);if(R===-1)break;const N=v.indexOf(";",E),I=N===-1?S:N;if(R>I){E=v.lastIndexOf(";",R-1)+1;continue}const T=c(v,E,R),F=f(v,R,T),z=v.slice(T,F);if(w[z]===void 0){let O=c(v,R+1,I),q=f(v,I,O);const te=C(v.slice(O,q));w[z]=te}E=I+1}while(Ew;){const S=v.charCodeAt(--b);if(S!==32&&S!==9)return b+1}return w}function h(v,b,w){const S=(w==null?void 0:w.encode)||encodeURIComponent;if(!e.test(v))throw new TypeError(`argument name is invalid: ${v}`);const C=S(b);if(!t.test(C))throw new TypeError(`argument val is invalid: ${b}`);let E=v+"="+C;if(!w)return E;if(w.maxAge!==void 0){if(!Number.isInteger(w.maxAge))throw new TypeError(`option maxAge is invalid: ${w.maxAge}`);E+="; Max-Age="+w.maxAge}if(w.domain){if(!n.test(w.domain))throw new TypeError(`option domain is invalid: ${w.domain}`);E+="; Domain="+w.domain}if(w.path){if(!s.test(w.path))throw new TypeError(`option path is invalid: ${w.path}`);E+="; Path="+w.path}if(w.expires){if(!g(w.expires)||!Number.isFinite(w.expires.valueOf()))throw new TypeError(`option expires is invalid: ${w.expires}`);E+="; Expires="+w.expires.toUTCString()}if(w.httpOnly&&(E+="; HttpOnly"),w.secure&&(E+="; Secure"),w.partitioned&&(E+="; Partitioned"),w.priority)switch(typeof w.priority=="string"?w.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${w.priority}`)}if(w.sameSite)switch(typeof w.sameSite=="string"?w.sameSite.toLowerCase():w.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${w.sameSite}`)}return E}function m(v){if(v.indexOf("%")===-1)return v;try{return decodeURIComponent(v)}catch{return v}}function g(v){return o.call(v)==="[object Date]"}return xa}Y1();/** * react-router v7.1.3 * * Copyright (c) Remix Software Inc. @@ -46,10 +46,10 @@ Error generating stack: `+y.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var ov="popstate";function X1(e={}){function t(s,o){let{pathname:a,search:u,hash:c}=s.location;return Wa("",{pathname:a,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(s,o){return typeof o=="string"?o:Zs(o)}return J1(t,n,null,e)}function ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function rn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Q1(){return Math.random().toString(36).substring(2,10)}function av(e,t){return{usr:e.state,key:e.key,idx:t}}function Wa(e,t,n=null,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ti(t):t,state:n,key:t&&t.key||s||Q1()}}function Zs({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function ti(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let s=e.indexOf("?");s>=0&&(t.search=e.substring(s),e=e.substring(0,s)),e&&(t.pathname=e)}return t}function J1(e,t,n,s={}){let{window:o=document.defaultView,v5Compat:a=!1}=s,u=o.history,c="POP",f=null,h=m();h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function m(){return(u.state||{idx:null}).idx}function g(){c="POP";let C=m(),E=C==null?null:C-h;h=C,f&&f({action:c,location:S.location,delta:E})}function v(C,E){c="PUSH";let R=Wa(S.location,C,E);h=m()+1;let N=av(R,h),I=S.createHref(R);try{u.pushState(N,"",I)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(I)}a&&f&&f({action:c,location:S.location,delta:1})}function b(C,E){c="REPLACE";let R=Wa(S.location,C,E);h=m();let N=av(R,h),I=S.createHref(R);u.replaceState(N,"",I),a&&f&&f({action:c,location:S.location,delta:0})}function w(C){let E=o.location.origin!=="null"?o.location.origin:o.location.href,R=typeof C=="string"?C:Zs(C);return R=R.replace(/ $/,"%20"),ot(E,`No window.location.(origin|href) available to create URL for href: ${R}`),new URL(R,E)}let S={get action(){return c},get location(){return e(o,u)},listen(C){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(ov,g),f=C,()=>{o.removeEventListener(ov,g),f=null}},createHref(C){return t(o,C)},createURL:w,encodeLocation(C){let E=w(C);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:v,replace:b,go(C){return u.go(C)}};return S}var eC=new Set(["lazy","caseSensitive","path","id","index","children"]);function tC(e){return e.index===!0}function ac(e,t,n=[],s={}){return e.map((o,a)=>{let u=[...n,String(a)],c=typeof o.id=="string"?o.id:u.join("-");if(ot(o.index!==!0||!o.children,"Cannot specify children on an index route"),ot(!s[c],`Found a route id collision on id "${c}". Route id's must be globally unique within Data Router usages`),tC(o)){let f={...o,...t(o),id:c};return s[c]=f,f}else{let f={...o,...t(o),id:c,children:void 0};return s[c]=f,o.children&&(f.children=ac(o.children,t,u,s)),f}})}function Hs(e,t,n="/"){return Ku(e,t,n,!1)}function Ku(e,t,n,s){let o=typeof t=="string"?ti(t):t,a=br(o.pathname||"/",n);if(a==null)return null;let u=B0(e);rC(u);let c=null;for(let f=0;c==null&&f{let f={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};f.relativePath.startsWith("/")&&(ot(f.relativePath.startsWith(s),`Absolute route path "${f.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(s.length));let h=Ir([s,f.relativePath]),m=n.concat(f);a.children&&a.children.length>0&&(ot(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),B0(a.children,t,m,h)),!(a.path==null&&!a.index)&&t.push({path:h,score:cC(h,a.index),routesMeta:m})};return e.forEach((a,u)=>{var c;if(a.path===""||!((c=a.path)!=null&&c.includes("?")))o(a,u);else for(let f of z0(a.path))o(a,u,f)}),t}function z0(e){let t=e.split("/");if(t.length===0)return[];let[n,...s]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(s.length===0)return o?[a,""]:[a];let u=z0(s.join("/")),c=[];return c.push(...u.map(f=>f===""?a:[a,f].join("/"))),o&&c.push(...u),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function rC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:dC(t.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}var sC=/^:[\w-]+$/,iC=3,oC=2,aC=1,lC=10,uC=-2,lv=e=>e==="*";function cC(e,t){let n=e.split("/"),s=n.length;return n.some(lv)&&(s+=uC),t&&(s+=oC),n.filter(o=>!lv(o)).reduce((o,a)=>o+(sC.test(a)?iC:a===""?aC:lC),s)}function dC(e,t){return e.length===t.length&&e.slice(0,-1).every((s,o)=>s===t[o])?e[e.length-1]-t[t.length-1]:0}function fC(e,t,n=!1){let{routesMeta:s}=e,o={},a="/",u=[];for(let c=0;c{if(m==="*"){let w=c[v]||"";u=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const b=c[v];return g&&!b?h[m]=void 0:h[m]=(b||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:u,pattern:e}}function hC(e,t=!1,n=!0){rn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let s=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,f)=>(s.push({paramName:c,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),s]}function pC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return rn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function br(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,s=e.charAt(n);return s&&s!=="/"?null:e.slice(n)||"/"}function mC(e,t="/"){let{pathname:n,search:s="",hash:o=""}=typeof e=="string"?ti(e):e;return{pathname:n?n.startsWith("/")?n:gC(n,t):t,search:vC(s),hash:xC(o)}}function gC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Vf(e,t,n,s){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function U0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function op(e){let t=U0(e);return t.map((n,s)=>s===t.length-1?n.pathname:n.pathnameBase)}function ap(e,t,n,s=!1){let o;typeof e=="string"?o=ti(e):(o={...e},ot(!o.pathname||!o.pathname.includes("?"),Vf("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),Vf("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),Vf("#","search","hash",o)));let a=e===""||o.pathname==="",u=a?"/":o.pathname,c;if(u==null)c=n;else{let g=t.length-1;if(!s&&u.startsWith("..")){let v=u.split("/");for(;v[0]==="..";)v.shift(),g-=1;o.pathname=v.join("/")}c=g>=0?t[g]:"/"}let f=mC(o,c),h=u&&u!=="/"&&u.endsWith("/"),m=(a||u===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var Ir=e=>e.join("/").replace(/\/\/+/g,"/"),yC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,uc=class{constructor(e,t,n,s=!1){this.status=e,this.statusText=t||"",this.internal=s,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Ac(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var $0=["POST","PUT","PATCH","DELETE"],wC=new Set($0),SC=["GET",...$0],bC=new Set(SC),_C=new Set([301,302,303,307,308]),EC=new Set([307,308]),Bf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},CC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},wa={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},lp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kC=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),W0="remix-router-transitions",H0=Symbol("ResetLoaderData");function TC(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";ot(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=e.mapRouteProperties||kC,o={},a=ac(e.routes,s,void 0,o),u,c=e.basename||"/",f=e.dataStrategy||jC,h=e.patchRoutesOnNavigation,m={...e.future},g=null,v=new Set,b=null,w=null,S=null,C=e.hydrationData!=null,E=Hs(a,e.history.location,c),R=null;if(E==null&&!h){let D=sr(404,{pathname:e.history.location.pathname}),{matches:V,route:G}=xv(a);E=V,R={[G.id]:D}}E&&!e.hydrationData&&Pr(E,a,e.history.location.pathname).active&&(E=null);let N;if(E)if(E.some(D=>D.route.lazy))N=!1;else if(!E.some(D=>D.route.loader))N=!0;else{let D=e.hydrationData?e.hydrationData.loaderData:null,V=e.hydrationData?e.hydrationData.errors:null;if(V){let G=E.findIndex(J=>V[J.route.id]!==void 0);N=E.slice(0,G+1).every(J=>!wh(J.route,D,V))}else N=E.every(G=>!wh(G.route,D,V))}else{N=!1,E=[];let D=Pr(null,a,e.history.location.pathname);D.active&&D.matches&&(E=D.matches)}let I,T={historyAction:e.history.action,location:e.history.location,matches:E,initialized:N,navigation:Bf,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},F="POP",z=!1,O,q=!1,te=new Map,pe=null,X=!1,de=!1,ke=new Set,we=new Map,De=0,me=-1,Y=new Map,ue=new Set,ie=new Map,L=new Map,K=new Set,Le=new Map,Oe,Be=null;function $e(){if(g=e.history.listen(({action:D,location:V,delta:G})=>{if(Oe){Oe(),Oe=void 0;return}rn(Le.size===0||G!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let J=gs({currentLocation:T.location,nextLocation:V,historyAction:D});if(J&&G!=null){let ge=new Promise(Ne=>{Oe=Ne});e.history.go(G*-1),Rr(J,{state:"blocked",location:V,proceed(){Rr(J,{state:"proceeding",proceed:void 0,reset:void 0,location:V}),ge.then(()=>e.history.go(G))},reset(){let Ne=new Map(T.blockers);Ne.set(J,wa),Me({blockers:Ne})}});return}return Ye(D,V)}),n){$C(t,te);let D=()=>WC(t,te);t.addEventListener("pagehide",D),pe=()=>t.removeEventListener("pagehide",D)}return T.initialized||Ye("POP",T.location,{initialHydration:!0}),I}function be(){g&&g(),pe&&pe(),v.clear(),O&&O.abort(),T.fetchers.forEach((D,V)=>Wt(V)),T.blockers.forEach((D,V)=>Gr(V))}function Pe(D){return v.add(D),()=>v.delete(D)}function Me(D,V={}){T={...T,...D};let G=[],J=[];T.fetchers.forEach((ge,Ne)=>{ge.state==="idle"&&(K.has(Ne)?G.push(Ne):J.push(Ne))}),K.forEach(ge=>{!T.fetchers.has(ge)&&!we.has(ge)&&G.push(ge)}),[...v].forEach(ge=>ge(T,{deletedFetchers:G,viewTransitionOpts:V.viewTransitionOpts,flushSync:V.flushSync===!0})),G.forEach(ge=>Wt(ge)),J.forEach(ge=>T.fetchers.delete(ge))}function rt(D,V,{flushSync:G}={}){var fe,Ge;let J=T.actionData!=null&&T.navigation.formMethod!=null&&yr(T.navigation.formMethod)&&T.navigation.state==="loading"&&((fe=D.state)==null?void 0:fe._isRedirect)!==!0,ge;V.actionData?Object.keys(V.actionData).length>0?ge=V.actionData:ge=null:J?ge=T.actionData:ge=null;let Ne=V.loaderData?yv(T.loaderData,V.loaderData,V.matches||[],V.errors):T.loaderData,He=T.blockers;He.size>0&&(He=new Map(He),He.forEach((et,xt)=>He.set(xt,wa)));let xe=z===!0||T.navigation.formMethod!=null&&yr(T.navigation.formMethod)&&((Ge=D.state)==null?void 0:Ge._isRedirect)!==!0;u&&(a=u,u=void 0),X||F==="POP"||(F==="PUSH"?e.history.push(D,D.state):F==="REPLACE"&&e.history.replace(D,D.state));let Ce;if(F==="POP"){let et=te.get(T.location.pathname);et&&et.has(D.pathname)?Ce={currentLocation:T.location,nextLocation:D}:te.has(D.pathname)&&(Ce={currentLocation:D,nextLocation:T.location})}else if(q){let et=te.get(T.location.pathname);et?et.add(D.pathname):(et=new Set([D.pathname]),te.set(T.location.pathname,et)),Ce={currentLocation:T.location,nextLocation:D}}Me({...V,actionData:ge,loaderData:Ne,historyAction:F,location:D,initialized:!0,navigation:Bf,revalidation:"idle",restoreScrollPosition:Kn(D,V.matches||T.matches),preventScrollReset:xe,blockers:He},{viewTransitionOpts:Ce,flushSync:G===!0}),F="POP",z=!1,q=!1,X=!1,de=!1,Be==null||Be.resolve(),Be=null}async function at(D,V){if(typeof D=="number"){e.history.go(D);return}let G=xh(T.location,T.matches,c,D,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:J,submission:ge,error:Ne}=uv(!1,G,V),He=T.location,xe=Wa(T.location,J,V&&V.state);xe={...xe,...e.history.encodeLocation(xe)};let Ce=V&&V.replace!=null?V.replace:void 0,fe="PUSH";Ce===!0?fe="REPLACE":Ce===!1||ge!=null&&yr(ge.formMethod)&&ge.formAction===T.location.pathname+T.location.search&&(fe="REPLACE");let Ge=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,et=(V&&V.flushSync)===!0,xt=gs({currentLocation:He,nextLocation:xe,historyAction:fe});if(xt){Rr(xt,{state:"blocked",location:xe,proceed(){Rr(xt,{state:"proceeding",proceed:void 0,reset:void 0,location:xe}),at(D,V)},reset(){let Ht=new Map(T.blockers);Ht.set(xt,wa),Me({blockers:Ht})}});return}await Ye(fe,xe,{submission:ge,pendingError:Ne,preventScrollReset:Ge,replace:V&&V.replace,enableViewTransition:V&&V.viewTransition,flushSync:et})}function Ee(){Be||(Be=HC()),Re(),Me({revalidation:"loading"});let D=Be.promise;return T.navigation.state==="submitting"?D:T.navigation.state==="idle"?(Ye(T.historyAction,T.location,{startUninterruptedRevalidation:!0}),D):(Ye(F||T.historyAction,T.navigation.location,{overrideNavigation:T.navigation,enableViewTransition:q===!0}),D)}async function Ye(D,V,G){O&&O.abort(),O=null,F=D,X=(G&&G.startUninterruptedRevalidation)===!0,ar(T.location,T.matches),z=(G&&G.preventScrollReset)===!0,q=(G&&G.enableViewTransition)===!0;let J=u||a,ge=G&&G.overrideNavigation,Ne=Hs(J,V,c),He=(G&&G.flushSync)===!0,xe=Pr(Ne,J,V.pathname);if(xe.active&&xe.matches&&(Ne=xe.matches),!Ne){let{error:ft,notFoundMatches:vt,route:Lt}=Zr(V.pathname);rt(V,{matches:vt,loaderData:{},errors:{[Lt.id]:ft}},{flushSync:He});return}if(T.initialized&&!de&&IC(T.location,V)&&!(G&&G.submission&&yr(G.submission.formMethod))){rt(V,{matches:Ne},{flushSync:He});return}O=new AbortController;let Ce=fo(e.history,V,O.signal,G&&G.submission),fe;if(G&&G.pendingError)fe=[Si(Ne).route.id,{type:"error",error:G.pendingError}];else if(G&&G.submission&&yr(G.submission.formMethod)){let ft=await mt(Ce,V,G.submission,Ne,xe.active,{replace:G.replace,flushSync:He});if(ft.shortCircuited)return;if(ft.pendingActionResult){let[vt,Lt]=ft.pendingActionResult;if($n(Lt)&&Ac(Lt.error)&&Lt.error.status===404){O=null,rt(V,{matches:ft.matches,loaderData:{},errors:{[vt]:Lt.error}});return}}Ne=ft.matches||Ne,fe=ft.pendingActionResult,ge=zf(V,G.submission),He=!1,xe.active=!1,Ce=fo(e.history,Ce.url,Ce.signal)}let{shortCircuited:Ge,matches:et,loaderData:xt,errors:Ht}=await It(Ce,V,Ne,xe.active,ge,G&&G.submission,G&&G.fetcherSubmission,G&&G.replace,G&&G.initialHydration===!0,He,fe);Ge||(O=null,rt(V,{matches:et||Ne,...vv(fe),loaderData:xt,errors:Ht}))}async function mt(D,V,G,J,ge,Ne={}){Re();let He=zC(V,G);if(Me({navigation:He},{flushSync:Ne.flushSync===!0}),ge){let fe=await Kr(J,V.pathname,D.signal);if(fe.type==="aborted")return{shortCircuited:!0};if(fe.type==="error"){let Ge=Si(fe.partialMatches).route.id;return{matches:fe.partialMatches,pendingActionResult:[Ge,{type:"error",error:fe.error}]}}else if(fe.matches)J=fe.matches;else{let{notFoundMatches:Ge,error:et,route:xt}=Zr(V.pathname);return{matches:Ge,pendingActionResult:[xt.id,{type:"error",error:et}]}}}let xe,Ce=Pa(J,V);if(!Ce.route.action&&!Ce.route.lazy)xe={type:"error",error:sr(405,{method:D.method,pathname:V.pathname,routeId:Ce.route.id})};else if(xe=(await ae("action",T,D,[Ce],J,null))[Ce.route.id],D.signal.aborted)return{shortCircuited:!0};if(bi(xe)){let fe;return Ne&&Ne.replace!=null?fe=Ne.replace:fe=pv(xe.response.headers.get("Location"),new URL(D.url),c)===T.location.pathname+T.location.search,await oe(D,xe,!0,{submission:G,replace:fe}),{shortCircuited:!0}}if($n(xe)){let fe=Si(J,Ce.route.id);return(Ne&&Ne.replace)!==!0&&(F="PUSH"),{matches:J,pendingActionResult:[fe.route.id,xe]}}return{matches:J,pendingActionResult:[Ce.route.id,xe]}}async function It(D,V,G,J,ge,Ne,He,xe,Ce,fe,Ge){let et=ge||zf(V,Ne),xt=Ne||He||Sv(et),Ht=!X&&!Ce;if(J){if(Ht){let Gt=Jt(Ge);Me({navigation:et,...Gt!==void 0?{actionData:Gt}:{}},{flushSync:fe})}let ht=await Kr(G,V.pathname,D.signal);if(ht.type==="aborted")return{shortCircuited:!0};if(ht.type==="error"){let Gt=Si(ht.partialMatches).route.id;return{matches:ht.partialMatches,loaderData:{},errors:{[Gt]:ht.error}}}else if(ht.matches)G=ht.matches;else{let{error:Gt,notFoundMatches:Yr,route:ii}=Zr(V.pathname);return{matches:Yr,loaderData:{},errors:{[ii.id]:Gt}}}}let ft=u||a,[vt,Lt]=dv(e.history,T,G,xt,V,Ce===!0,de,ke,K,ie,ue,ft,c,Ge);if(me=++De,vt.length===0&&Lt.length===0){let ht=Tr();return rt(V,{matches:G,loaderData:{},errors:Ge&&$n(Ge[1])?{[Ge[0]]:Ge[1].error}:null,...vv(Ge),...ht?{fetchers:new Map(T.fetchers)}:{}},{flushSync:fe}),{shortCircuited:!0}}if(Ht){let ht={};if(!J){ht.navigation=et;let Gt=Jt(Ge);Gt!==void 0&&(ht.actionData=Gt)}Lt.length>0&&(ht.fetchers=an(Lt)),Me(ht,{flushSync:fe})}Lt.forEach(ht=>{bt(ht.key),ht.controller&&we.set(ht.key,ht.controller)});let xs=()=>Lt.forEach(ht=>bt(ht.key));O&&O.signal.addEventListener("abort",xs);let{loaderResults:ws,fetcherResults:qn}=await se(T,G,vt,Lt,D);if(D.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener("abort",xs),Lt.forEach(ht=>we.delete(ht.key));let Fn=Fu(ws);if(Fn)return await oe(D,Fn.result,!0,{replace:xe}),{shortCircuited:!0};if(Fn=Fu(qn),Fn)return ue.add(Fn.key),await oe(D,Fn.result,!0,{replace:xe}),{shortCircuited:!0};let{loaderData:zi,errors:si}=gv(T,G,ws,Ge,Lt,qn);Ce&&T.errors&&(si={...T.errors,...si});let qr=Tr(),wt=On(me),Ui=qr||wt||Lt.length>0;return{matches:G,loaderData:zi,errors:si,...Ui?{fetchers:new Map(T.fetchers)}:{}}}function Jt(D){if(D&&!$n(D[1]))return{[D[0]]:D[1].data};if(T.actionData)return Object.keys(T.actionData).length===0?null:T.actionData}function an(D){return D.forEach(V=>{let G=T.fetchers.get(V.key),J=Sa(void 0,G?G.data:void 0);T.fetchers.set(V.key,J)}),new Map(T.fetchers)}async function A(D,V,G,J){bt(D);let ge=(J&&J.flushSync)===!0,Ne=u||a,He=xh(T.location,T.matches,c,G,V,J==null?void 0:J.relative),xe=Hs(Ne,He,c),Ce=Pr(xe,Ne,He);if(Ce.active&&Ce.matches&&(xe=Ce.matches),!xe){ut(D,V,sr(404,{pathname:He}),{flushSync:ge});return}let{path:fe,submission:Ge,error:et}=uv(!0,He,J);if(et){ut(D,V,et,{flushSync:ge});return}let xt=Pa(xe,fe),Ht=(J&&J.preventScrollReset)===!0;if(Ge&&yr(Ge.formMethod)){await U(D,V,fe,xt,xe,Ce.active,ge,Ht,Ge);return}ie.set(D,{routeId:V,path:fe}),await H(D,V,fe,xt,xe,Ce.active,ge,Ht,Ge)}async function U(D,V,G,J,ge,Ne,He,xe,Ce){Re(),ie.delete(D);function fe(Rt){if(!Rt.route.action&&!Rt.route.lazy){let lr=sr(405,{method:Ce.formMethod,pathname:G,routeId:V});return ut(D,V,lr,{flushSync:He}),!0}return!1}if(!Ne&&fe(J))return;let Ge=T.fetchers.get(D);Fe(D,UC(Ce,Ge),{flushSync:He});let et=new AbortController,xt=fo(e.history,G,et.signal,Ce);if(Ne){let Rt=await Kr(ge,G,xt.signal);if(Rt.type==="aborted")return;if(Rt.type==="error"){ut(D,V,Rt.error,{flushSync:He});return}else if(Rt.matches){if(ge=Rt.matches,J=Pa(ge,G),fe(J))return}else{ut(D,V,sr(404,{pathname:G}),{flushSync:He});return}}we.set(D,et);let Ht=De,vt=(await ae("action",T,xt,[J],ge,D))[J.route.id];if(xt.signal.aborted){we.get(D)===et&&we.delete(D);return}if(K.has(D)){if(bi(vt)||$n(vt)){Fe(D,Us(void 0));return}}else{if(bi(vt))if(we.delete(D),me>Ht){Fe(D,Us(void 0));return}else return ue.add(D),Fe(D,Sa(Ce)),oe(xt,vt,!1,{fetcherSubmission:Ce,preventScrollReset:xe});if($n(vt)){ut(D,V,vt.error);return}}let Lt=T.navigation.location||T.location,xs=fo(e.history,Lt,et.signal),ws=u||a,qn=T.navigation.state!=="idle"?Hs(ws,T.navigation.location,c):T.matches;ot(qn,"Didn't find any matches after fetcher action");let Fn=++De;Y.set(D,Fn);let zi=Sa(Ce,vt.data);T.fetchers.set(D,zi);let[si,qr]=dv(e.history,T,qn,Ce,Lt,!1,de,ke,K,ie,ue,ws,c,[J.route.id,vt]);qr.filter(Rt=>Rt.key!==D).forEach(Rt=>{let lr=Rt.key,In=T.fetchers.get(lr),Jc=Sa(void 0,In?In.data:void 0);T.fetchers.set(lr,Jc),bt(lr),Rt.controller&&we.set(lr,Rt.controller)}),Me({fetchers:new Map(T.fetchers)});let wt=()=>qr.forEach(Rt=>bt(Rt.key));et.signal.addEventListener("abort",wt);let{loaderResults:Ui,fetcherResults:ht}=await se(T,qn,si,qr,xs);if(et.signal.aborted)return;et.signal.removeEventListener("abort",wt),Y.delete(D),we.delete(D),qr.forEach(Rt=>we.delete(Rt.key));let Gt=Fu(Ui);if(Gt)return oe(xs,Gt.result,!1,{preventScrollReset:xe});if(Gt=Fu(ht),Gt)return ue.add(Gt.key),oe(xs,Gt.result,!1,{preventScrollReset:xe});let{loaderData:Yr,errors:ii}=gv(T,qn,Ui,void 0,qr,ht);if(T.fetchers.has(D)){let Rt=Us(vt.data);T.fetchers.set(D,Rt)}On(Fn),T.navigation.state==="loading"&&Fn>me?(ot(F,"Expected pending action"),O&&O.abort(),rt(T.navigation.location,{matches:qn,loaderData:Yr,errors:ii,fetchers:new Map(T.fetchers)})):(Me({errors:ii,loaderData:yv(T.loaderData,Yr,qn,ii),fetchers:new Map(T.fetchers)}),de=!1)}async function H(D,V,G,J,ge,Ne,He,xe,Ce){let fe=T.fetchers.get(D);Fe(D,Sa(Ce,fe?fe.data:void 0),{flushSync:He});let Ge=new AbortController,et=fo(e.history,G,Ge.signal);if(Ne){let vt=await Kr(ge,G,et.signal);if(vt.type==="aborted")return;if(vt.type==="error"){ut(D,V,vt.error,{flushSync:He});return}else if(vt.matches)ge=vt.matches,J=Pa(ge,G);else{ut(D,V,sr(404,{pathname:G}),{flushSync:He});return}}we.set(D,Ge);let xt=De,ft=(await ae("loader",T,et,[J],ge,D))[J.route.id];if(we.get(D)===Ge&&we.delete(D),!et.signal.aborted){if(K.has(D)){Fe(D,Us(void 0));return}if(bi(ft))if(me>xt){Fe(D,Us(void 0));return}else{ue.add(D),await oe(et,ft,!1,{preventScrollReset:xe});return}if($n(ft)){ut(D,V,ft.error);return}Fe(D,Us(ft.data))}}async function oe(D,V,G,{submission:J,fetcherSubmission:ge,preventScrollReset:Ne,replace:He}={}){V.response.headers.has("X-Remix-Revalidate")&&(de=!0);let xe=V.response.headers.get("Location");ot(xe,"Expected a Location header on the redirect Response"),xe=pv(xe,new URL(D.url),c);let Ce=Wa(T.location,xe,{_isRedirect:!0});if(n){let ft=!1;if(V.response.headers.has("X-Remix-Reload-Document"))ft=!0;else if(lp.test(xe)){const vt=e.history.createURL(xe);ft=vt.origin!==t.location.origin||br(vt.pathname,c)==null}if(ft){He?t.location.replace(xe):t.location.assign(xe);return}}O=null;let fe=He===!0||V.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ge,formAction:et,formEncType:xt}=T.navigation;!J&&!ge&&Ge&&et&&xt&&(J=Sv(T.navigation));let Ht=J||ge;if(EC.has(V.response.status)&&Ht&&yr(Ht.formMethod))await Ye(fe,Ce,{submission:{...Ht,formAction:xe},preventScrollReset:Ne||z,enableViewTransition:G?q:void 0});else{let ft=zf(Ce,J);await Ye(fe,Ce,{overrideNavigation:ft,fetcherSubmission:ge,preventScrollReset:Ne||z,enableViewTransition:G?q:void 0})}}async function ae(D,V,G,J,ge,Ne){let He,xe={};try{He=await DC(f,D,V,G,J,ge,Ne,o,s)}catch(Ce){return J.forEach(fe=>{xe[fe.route.id]={type:"error",error:Ce}}),xe}for(let[Ce,fe]of Object.entries(He))if(VC(fe)){let Ge=fe.result;xe[Ce]={type:"redirect",response:OC(Ge,G,Ce,ge,c)}}else xe[Ce]=await MC(fe);return xe}async function se(D,V,G,J,ge){let Ne=ae("loader",D,ge,G,V,null),He=Promise.all(J.map(async fe=>{if(fe.matches&&fe.match&&fe.controller){let et=(await ae("loader",D,fo(e.history,fe.path,fe.controller.signal),[fe.match],fe.matches,fe.key))[fe.match.route.id];return{[fe.key]:et}}else return Promise.resolve({[fe.key]:{type:"error",error:sr(404,{pathname:fe.path})}})})),xe=await Ne,Ce=(await He).reduce((fe,Ge)=>Object.assign(fe,Ge),{});return{loaderResults:xe,fetcherResults:Ce}}function Re(){de=!0,ie.forEach((D,V)=>{we.has(V)&&ke.add(V),bt(V)})}function Fe(D,V,G={}){T.fetchers.set(D,V),Me({fetchers:new Map(T.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function ut(D,V,G,J={}){let ge=Si(T.matches,V);Wt(D),Me({errors:{[ge.route.id]:G},fetchers:new Map(T.fetchers)},{flushSync:(J&&J.flushSync)===!0})}function yt(D){return L.set(D,(L.get(D)||0)+1),K.has(D)&&K.delete(D),T.fetchers.get(D)||CC}function Wt(D){let V=T.fetchers.get(D);we.has(D)&&!(V&&V.state==="loading"&&Y.has(D))&&bt(D),ie.delete(D),Y.delete(D),ue.delete(D),K.delete(D),ke.delete(D),T.fetchers.delete(D)}function kr(D){let V=(L.get(D)||0)-1;V<=0?(L.delete(D),K.add(D)):L.set(D,V),Me({fetchers:new Map(T.fetchers)})}function bt(D){let V=we.get(D);V&&(V.abort(),we.delete(D))}function ln(D){for(let V of D){let G=yt(V),J=Us(G.data);T.fetchers.set(V,J)}}function Tr(){let D=[],V=!1;for(let G of ue){let J=T.fetchers.get(G);ot(J,`Expected fetcher: ${G}`),J.state==="loading"&&(ue.delete(G),D.push(G),V=!0)}return ln(D),V}function On(D){let V=[];for(let[G,J]of Y)if(J0}function ms(D,V){let G=T.blockers.get(D)||wa;return Le.get(D)!==V&&Le.set(D,V),G}function Gr(D){T.blockers.delete(D),Le.delete(D)}function Rr(D,V){let G=T.blockers.get(D)||wa;ot(G.state==="unblocked"&&V.state==="blocked"||G.state==="blocked"&&V.state==="blocked"||G.state==="blocked"&&V.state==="proceeding"||G.state==="blocked"&&V.state==="unblocked"||G.state==="proceeding"&&V.state==="unblocked",`Invalid blocker state transition: ${G.state} -> ${V.state}`);let J=new Map(T.blockers);J.set(D,V),Me({blockers:J})}function gs({currentLocation:D,nextLocation:V,historyAction:G}){if(Le.size===0)return;Le.size>1&&rn(!1,"A router only supports one blocker at a time");let J=Array.from(Le.entries()),[ge,Ne]=J[J.length-1],He=T.blockers.get(ge);if(!(He&&He.state==="proceeding")&&Ne({currentLocation:D,nextLocation:V,historyAction:G}))return ge}function Zr(D){let V=sr(404,{pathname:D}),G=u||a,{matches:J,route:ge}=xv(G);return{notFoundMatches:J,route:ge,error:V}}function ys(D,V,G){if(b=D,S=V,w=G||null,!C&&T.navigation===Bf){C=!0;let J=Kn(T.location,T.matches);J!=null&&Me({restoreScrollPosition:J})}return()=>{b=null,S=null,w=null}}function vs(D,V){return w&&w(D,V.map(J=>nC(J,T.loaderData)))||D.key}function ar(D,V){if(b&&S){let G=vs(D,V);b[G]=S()}}function Kn(D,V){if(b){let G=vs(D,V),J=b[G];if(typeof J=="number")return J}return null}function Pr(D,V,G){if(h)if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:Ku(V,G,c,!0)}}else return{active:!0,matches:Ku(V,G,c,!0)||[]};return{active:!1,matches:null}}async function Kr(D,V,G){if(!h)return{type:"success",matches:D};let J=D;for(;;){let ge=u==null,Ne=u||a,He=o;try{await h({path:V,matches:J,patch:(fe,Ge)=>{G.aborted||hv(fe,Ge,Ne,He,s)}})}catch(fe){return{type:"error",error:fe,partialMatches:J}}finally{ge&&!G.aborted&&(a=[...a])}if(G.aborted)return{type:"aborted"};let xe=Hs(Ne,V,c);if(xe)return{type:"success",matches:xe};let Ce=Ku(Ne,V,c,!0);if(!Ce||J.length===Ce.length&&J.every((fe,Ge)=>fe.route.id===Ce[Ge].route.id))return{type:"success",matches:null};J=Ce}}function ri(D){o={},u=ac(D,s,void 0,o)}function Bi(D,V){let G=u==null;hv(D,V,u||a,o,s),G&&(a=[...a],Me({}))}return I={get basename(){return c},get future(){return m},get state(){return T},get routes(){return a},get window(){return t},initialize:$e,subscribe:Pe,enableScrollRestoration:ys,navigate:at,fetch:A,revalidate:Ee,createHref:D=>e.history.createHref(D),encodeLocation:D=>e.history.encodeLocation(D),getFetcher:yt,deleteFetcher:kr,dispose:be,getBlocker:ms,deleteBlocker:Gr,patchRoutes:Bi,_internalFetchControllers:we,_internalSetRoutes:ri},I}function RC(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function xh(e,t,n,s,o,a){let u,c;if(o){u=[];for(let h of t)if(u.push(h),h.route.id===o){c=h;break}}else u=t,c=t[t.length-1];let f=ap(s||".",op(u),br(e.pathname,n)||e.pathname,a==="path");if(s==null&&(f.search=e.search,f.hash=e.hash),(s==null||s===""||s===".")&&c){let h=up(f.search);if(c.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&h){let m=new URLSearchParams(f.search),g=m.getAll("index");m.delete("index"),g.filter(b=>b).forEach(b=>m.append("index",b));let v=m.toString();f.search=v?`?${v}`:""}}return n!=="/"&&(f.pathname=f.pathname==="/"?n:Ir([n,f.pathname])),Zs(f)}function uv(e,t,n){if(!n||!RC(n))return{path:t};if(n.formMethod&&!BC(n.formMethod))return{path:t,error:sr(405,{method:n.formMethod})};let s=()=>({path:t,error:sr(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),u=Z0(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!yr(a))return s();let g=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((v,[b,w])=>`${v}${b}=${w} -`,""):String(n.body);return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:g}}}else if(n.formEncType==="application/json"){if(!yr(a))return s();try{let g=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:g,text:void 0}}}catch{return s()}}}ot(typeof FormData=="function","FormData is not available in this environment");let c,f;if(n.formData)c=Sh(n.formData),f=n.formData;else if(n.body instanceof FormData)c=Sh(n.body),f=n.body;else if(n.body instanceof URLSearchParams)c=n.body,f=mv(c);else if(n.body==null)c=new URLSearchParams,f=new FormData;else try{c=new URLSearchParams(n.body),f=mv(c)}catch{return s()}let h={formMethod:a,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:f,json:void 0,text:void 0};if(yr(h.formMethod))return{path:t,submission:h};let m=ti(t);return e&&m.search&&up(m.search)&&c.append("index",""),m.search=`?${c}`,{path:Zs(m),submission:h}}function cv(e,t,n=!1){let s=e.findIndex(o=>o.route.id===t);return s>=0?e.slice(0,n?s+1:s):e}function dv(e,t,n,s,o,a,u,c,f,h,m,g,v,b){let w=b?$n(b[1])?b[1].error:b[1].data:void 0,S=e.createURL(t.location),C=e.createURL(o),E=n;a&&t.errors?E=cv(n,Object.keys(t.errors)[0],!0):b&&$n(b[1])&&(E=cv(n,b[0]));let R=b?b[1].statusCode:void 0,N=R&&R>=400,I=E.filter((F,z)=>{let{route:O}=F;if(O.lazy)return!0;if(O.loader==null)return!1;if(a)return wh(O,t.loaderData,t.errors);if(PC(t.loaderData,t.matches[z],F))return!0;let q=t.matches[z],te=F;return fv(F,{currentUrl:S,currentParams:q.params,nextUrl:C,nextParams:te.params,...s,actionResult:w,actionStatus:R,defaultShouldRevalidate:N?!1:u||S.pathname+S.search===C.pathname+C.search||S.search!==C.search||NC(q,te)})}),T=[];return h.forEach((F,z)=>{if(a||!n.some(X=>X.route.id===F.routeId)||f.has(z))return;let O=Hs(g,F.path,v);if(!O){T.push({key:z,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let q=t.fetchers.get(z),te=Pa(O,F.path),pe=!1;m.has(z)?pe=!1:c.has(z)?(c.delete(z),pe=!0):q&&q.state!=="idle"&&q.data===void 0?pe=u:pe=fv(te,{currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:C,nextParams:n[n.length-1].params,...s,actionResult:w,actionStatus:R,defaultShouldRevalidate:N?!1:u}),pe&&T.push({key:z,routeId:F.routeId,path:F.path,matches:O,match:te,controller:new AbortController})}),[I,T]}function wh(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let s=t!=null&&t[e.id]!==void 0,o=n!=null&&n[e.id]!==void 0;return!s&&o?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!s&&!o}function PC(e,t,n){let s=!t||n.route.id!==t.route.id,o=!e.hasOwnProperty(n.route.id);return s||o}function NC(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function fv(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function hv(e,t,n,s,o){let a;if(e){let f=s[e];ot(f,`No route found to patch children into: routeId = ${e}`),f.children||(f.children=[]),a=f.children}else a=n;let u=t.filter(f=>!a.some(h=>G0(f,h))),c=ac(u,o,[e||"_","patch",String((a==null?void 0:a.length)||"0")],s);a.push(...c)}function G0(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,s)=>{var o;return(o=t.children)==null?void 0:o.some(a=>G0(n,a))}):!1}async function AC(e,t,n){if(!e.lazy)return;let s=await e.lazy();if(!e.lazy)return;let o=n[e.id];ot(o,"No route found in manifest");let a={};for(let u in s){let f=o[u]!==void 0&&u!=="hasErrorBoundary";rn(!f,`Route "${o.id}" has a static property "${u}" defined but its lazy function is also returning a value for this property. The lazy route property "${u}" will be ignored.`),!f&&!eC.has(u)&&(a[u]=s[u])}Object.assign(o,a),Object.assign(o,{...t(o),lazy:void 0})}async function jC({matches:e}){let t=e.filter(s=>s.shouldLoad);return(await Promise.all(t.map(s=>s.resolve()))).reduce((s,o,a)=>Object.assign(s,{[t[a].route.id]:o}),{})}async function DC(e,t,n,s,o,a,u,c,f,h){let m=a.map(b=>b.route.lazy?AC(b.route,f,c):void 0),g=a.map((b,w)=>{let S=m[w],C=o.some(R=>R.route.id===b.route.id);return{...b,shouldLoad:C,resolve:async R=>(R&&s.method==="GET"&&(b.route.lazy||b.route.loader)&&(C=!0),C?LC(t,s,b,S,R,h):Promise.resolve({type:"data",result:void 0}))}}),v=await e({matches:g,request:s,params:a[0].params,fetcherKey:u,context:h});try{await Promise.all(m)}catch{}return v}async function LC(e,t,n,s,o,a){let u,c,f=h=>{let m,g=new Promise((w,S)=>m=S);c=()=>m(),t.signal.addEventListener("abort",c);let v=w=>typeof h!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${e}" [routeId: ${n.route.id}]`)):h({request:t,params:n.params,context:a},...w!==void 0?[w]:[]),b=(async()=>{try{return{type:"data",result:await(o?o(S=>v(S)):v())}}catch(w){return{type:"error",result:w}}})();return Promise.race([b,g])};try{let h=n.route[e];if(s)if(h){let m,[g]=await Promise.all([f(h).catch(v=>{m=v}),s]);if(m!==void 0)throw m;u=g}else if(await s,h=n.route[e],h)u=await f(h);else if(e==="action"){let m=new URL(t.url),g=m.pathname+m.search;throw sr(405,{method:t.method,pathname:g,routeId:n.route.id})}else return{type:"data",result:void 0};else if(h)u=await f(h);else{let m=new URL(t.url),g=m.pathname+m.search;throw sr(404,{pathname:g})}}catch(h){return{type:"error",result:h}}finally{c&&t.signal.removeEventListener("abort",c)}return u}async function MC(e){var s,o,a,u;let{result:t,type:n}=e;if(K0(t)){let c;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(f){return{type:"error",error:f}}return n==="error"?{type:"error",error:new uc(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:"data",data:c,statusCode:t.status,headers:t.headers}}if(n==="error"){if(wv(t)){if(t.data instanceof Error)return{type:"error",error:t.data,statusCode:(s=t.init)==null?void 0:s.status};t=new uc(((o=t.init)==null?void 0:o.status)||500,void 0,t.data)}return{type:"error",error:t,statusCode:Ac(t)?t.status:void 0}}return wv(t)?{type:"data",data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function OC(e,t,n,s,o){let a=e.headers.get("Location");if(ot(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!lp.test(a)){let u=s.slice(0,s.findIndex(c=>c.route.id===n)+1);a=xh(new URL(t.url),u,o,a),e.headers.set("Location",a)}return e}function pv(e,t,n){if(lp.test(e)){let s=e,o=s.startsWith("//")?new URL(t.protocol+s):new URL(s),a=br(o.pathname,n)!=null;if(o.origin===t.origin&&a)return o.pathname+o.search+o.hash}return e}function fo(e,t,n,s){let o=e.createURL(Z0(t)).toString(),a={signal:n};if(s&&yr(s.formMethod)){let{formMethod:u,formEncType:c}=s;a.method=u.toUpperCase(),c==="application/json"?(a.headers=new Headers({"Content-Type":c}),a.body=JSON.stringify(s.json)):c==="text/plain"?a.body=s.text:c==="application/x-www-form-urlencoded"&&s.formData?a.body=Sh(s.formData):a.body=s.formData}return new Request(o,a)}function Sh(e){let t=new URLSearchParams;for(let[n,s]of e.entries())t.append(n,typeof s=="string"?s:s.name);return t}function mv(e){let t=new FormData;for(let[n,s]of e.entries())t.append(n,s);return t}function FC(e,t,n,s=!1,o=!1){let a={},u=null,c,f=!1,h={},m=n&&$n(n[1])?n[1].error:void 0;return e.forEach(g=>{if(!(g.route.id in t))return;let v=g.route.id,b=t[v];if(ot(!bi(b),"Cannot handle redirect results in processLoaderData"),$n(b)){let w=b.error;if(m!==void 0&&(w=m,m=void 0),u=u||{},o)u[v]=w;else{let S=Si(e,v);u[S.route.id]==null&&(u[S.route.id]=w)}s||(a[v]=H0),f||(f=!0,c=Ac(b.error)?b.error.status:500),b.headers&&(h[v]=b.headers)}else a[v]=b.data,b.statusCode&&b.statusCode!==200&&!f&&(c=b.statusCode),b.headers&&(h[v]=b.headers)}),m!==void 0&&n&&(u={[n[0]]:m},a[n[0]]=void 0),{loaderData:a,errors:u,statusCode:c||200,loaderHeaders:h}}function gv(e,t,n,s,o,a){let{loaderData:u,errors:c}=FC(t,n,s);return o.forEach(f=>{let{key:h,match:m,controller:g}=f,v=a[h];if(ot(v,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if($n(v)){let b=Si(e.matches,m==null?void 0:m.route.id);c&&c[b.route.id]||(c={...c,[b.route.id]:v.error}),e.fetchers.delete(h)}else if(bi(v))ot(!1,"Unhandled fetcher revalidation redirect");else{let b=Us(v.data);e.fetchers.set(h,b)}}),{loaderData:u,errors:c}}function yv(e,t,n,s){let o=Object.entries(t).filter(([,a])=>a!==H0).reduce((a,[u,c])=>(a[u]=c,a),{});for(let a of n){let u=a.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&a.route.loader&&(o[u]=e[u]),s&&s.hasOwnProperty(u))break}return o}function vv(e){return e?$n(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Si(e,t){return(t?e.slice(0,e.findIndex(s=>s.route.id===t)+1):[...e]).reverse().find(s=>s.route.hasErrorBoundary===!0)||e[0]}function xv(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function sr(e,{pathname:t,routeId:n,method:s,type:o,message:a}={}){let u="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(u="Bad Request",s&&t&&n?c=`You made a ${s} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:o==="invalid-body"&&(c="Unable to encode submission body")):e===403?(u="Forbidden",c=`Route "${n}" does not match URL "${t}"`):e===404?(u="Not Found",c=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",s&&t&&n?c=`You made a ${s.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:s&&(c=`Invalid request method "${s.toUpperCase()}"`)),new uc(e||500,u,new Error(c),!0)}function Fu(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[s,o]=t[n];if(bi(o))return{key:s,result:o}}}function Z0(e){let t=typeof e=="string"?ti(e):e;return Zs({...t,hash:""})}function IC(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function VC(e){return K0(e.result)&&_C.has(e.result.status)}function $n(e){return e.type==="error"}function bi(e){return(e&&e.type)==="redirect"}function wv(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function K0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function BC(e){return bC.has(e.toUpperCase())}function yr(e){return wC.has(e.toUpperCase())}function up(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Pa(e,t){let n=typeof t=="string"?ti(t).search:t.search;if(e[e.length-1].route.index&&up(n||""))return e[e.length-1];let s=U0(e);return s[s.length-1]}function Sv(e){let{formMethod:t,formAction:n,formEncType:s,text:o,formData:a,json:u}=e;if(!(!t||!n||!s)){if(o!=null)return{formMethod:t,formAction:n,formEncType:s,formData:void 0,json:void 0,text:o};if(a!=null)return{formMethod:t,formAction:n,formEncType:s,formData:a,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:s,formData:void 0,json:u,text:void 0}}}function zf(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zC(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Sa(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function UC(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Us(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function $C(e,t){try{let n=e.sessionStorage.getItem(W0);if(n){let s=JSON.parse(n);for(let[o,a]of Object.entries(s||{}))a&&Array.isArray(a)&&t.set(o,new Set(a||[]))}}catch{}}function WC(e,t){if(t.size>0){let n={};for(let[s,o]of t)n[s]=[...o];try{e.sessionStorage.setItem(W0,JSON.stringify(n))}catch(s){rn(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function HC(){let e,t,n=new Promise((s,o)=>{e=async a=>{s(a);try{await n}catch{}},t=async a=>{o(a);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var Oi=_.createContext(null);Oi.displayName="DataRouter";var yl=_.createContext(null);yl.displayName="DataRouterState";var cp=_.createContext({isTransitioning:!1});cp.displayName="ViewTransition";var q0=_.createContext(new Map);q0.displayName="Fetchers";var GC=_.createContext(null);GC.displayName="Await";var Wr=_.createContext(null);Wr.displayName="Navigation";var jc=_.createContext(null);jc.displayName="Location";var Hr=_.createContext({outlet:null,matches:[],isDataRoute:!1});Hr.displayName="Route";var dp=_.createContext(null);dp.displayName="RouteError";function ZC(e,{relative:t}={}){ot(vl(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:s}=_.useContext(Wr),{hash:o,pathname:a,search:u}=xl(e,{relative:t}),c=a;return n!=="/"&&(c=a==="/"?n:Ir([n,a])),s.createHref({pathname:c,search:u,hash:o})}function vl(){return _.useContext(jc)!=null}function Fi(){return ot(vl(),"useLocation() may be used only in the context of a component."),_.useContext(jc).location}var Y0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function X0(e){_.useContext(Wr).static||_.useLayoutEffect(e)}function KC(){let{isDataRoute:e}=_.useContext(Hr);return e?uk():qC()}function qC(){ot(vl(),"useNavigate() may be used only in the context of a component.");let e=_.useContext(Oi),{basename:t,navigator:n}=_.useContext(Wr),{matches:s}=_.useContext(Hr),{pathname:o}=Fi(),a=JSON.stringify(op(s)),u=_.useRef(!1);return X0(()=>{u.current=!0}),_.useCallback((f,h={})=>{if(rn(u.current,Y0),!u.current)return;if(typeof f=="number"){n.go(f);return}let m=ap(f,JSON.parse(a),o,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Ir([t,m.pathname])),(h.replace?n.replace:n.push)(m,h.state,h)},[t,n,a,o,e])}var YC=_.createContext(null);function XC(e){let t=_.useContext(Hr).outlet;return t&&_.createElement(YC.Provider,{value:e},t)}function xl(e,{relative:t}={}){let{matches:n}=_.useContext(Hr),{pathname:s}=Fi(),o=JSON.stringify(op(n));return _.useMemo(()=>ap(e,JSON.parse(o),s,t==="path"),[e,o,s,t])}function QC(e,t,n,s){ot(vl(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=_.useContext(Wr),{matches:a}=_.useContext(Hr),u=a[a.length-1],c=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",m=u&&u.route;{let E=m&&m.path||"";Q0(f,!m||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + */var av="popstate";function X1(e={}){function t(s,o){let{pathname:a,search:u,hash:c}=s.location;return Wa("",{pathname:a,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(s,o){return typeof o=="string"?o:Zs(o)}return J1(t,n,null,e)}function ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function sn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Q1(){return Math.random().toString(36).substring(2,10)}function lv(e,t){return{usr:e.state,key:e.key,idx:t}}function Wa(e,t,n=null,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ti(t):t,state:n,key:t&&t.key||s||Q1()}}function Zs({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function ti(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let s=e.indexOf("?");s>=0&&(t.search=e.substring(s),e=e.substring(0,s)),e&&(t.pathname=e)}return t}function J1(e,t,n,s={}){let{window:o=document.defaultView,v5Compat:a=!1}=s,u=o.history,c="POP",f=null,h=m();h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function m(){return(u.state||{idx:null}).idx}function g(){c="POP";let C=m(),E=C==null?null:C-h;h=C,f&&f({action:c,location:S.location,delta:E})}function v(C,E){c="PUSH";let R=Wa(S.location,C,E);h=m()+1;let N=lv(R,h),I=S.createHref(R);try{u.pushState(N,"",I)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(I)}a&&f&&f({action:c,location:S.location,delta:1})}function b(C,E){c="REPLACE";let R=Wa(S.location,C,E);h=m();let N=lv(R,h),I=S.createHref(R);u.replaceState(N,"",I),a&&f&&f({action:c,location:S.location,delta:0})}function w(C){let E=o.location.origin!=="null"?o.location.origin:o.location.href,R=typeof C=="string"?C:Zs(C);return R=R.replace(/ $/,"%20"),ot(E,`No window.location.(origin|href) available to create URL for href: ${R}`),new URL(R,E)}let S={get action(){return c},get location(){return e(o,u)},listen(C){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(av,g),f=C,()=>{o.removeEventListener(av,g),f=null}},createHref(C){return t(o,C)},createURL:w,encodeLocation(C){let E=w(C);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:v,replace:b,go(C){return u.go(C)}};return S}var eC=new Set(["lazy","caseSensitive","path","id","index","children"]);function tC(e){return e.index===!0}function ac(e,t,n=[],s={}){return e.map((o,a)=>{let u=[...n,String(a)],c=typeof o.id=="string"?o.id:u.join("-");if(ot(o.index!==!0||!o.children,"Cannot specify children on an index route"),ot(!s[c],`Found a route id collision on id "${c}". Route id's must be globally unique within Data Router usages`),tC(o)){let f={...o,...t(o),id:c};return s[c]=f,f}else{let f={...o,...t(o),id:c,children:void 0};return s[c]=f,o.children&&(f.children=ac(o.children,t,u,s)),f}})}function Hs(e,t,n="/"){return Ku(e,t,n,!1)}function Ku(e,t,n,s){let o=typeof t=="string"?ti(t):t,a=br(o.pathname||"/",n);if(a==null)return null;let u=z0(e);rC(u);let c=null;for(let f=0;c==null&&f{let f={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};f.relativePath.startsWith("/")&&(ot(f.relativePath.startsWith(s),`Absolute route path "${f.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(s.length));let h=Ir([s,f.relativePath]),m=n.concat(f);a.children&&a.children.length>0&&(ot(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),z0(a.children,t,m,h)),!(a.path==null&&!a.index)&&t.push({path:h,score:cC(h,a.index),routesMeta:m})};return e.forEach((a,u)=>{var c;if(a.path===""||!((c=a.path)!=null&&c.includes("?")))o(a,u);else for(let f of U0(a.path))o(a,u,f)}),t}function U0(e){let t=e.split("/");if(t.length===0)return[];let[n,...s]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(s.length===0)return o?[a,""]:[a];let u=U0(s.join("/")),c=[];return c.push(...u.map(f=>f===""?a:[a,f].join("/"))),o&&c.push(...u),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function rC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:dC(t.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}var sC=/^:[\w-]+$/,iC=3,oC=2,aC=1,lC=10,uC=-2,uv=e=>e==="*";function cC(e,t){let n=e.split("/"),s=n.length;return n.some(uv)&&(s+=uC),t&&(s+=oC),n.filter(o=>!uv(o)).reduce((o,a)=>o+(sC.test(a)?iC:a===""?aC:lC),s)}function dC(e,t){return e.length===t.length&&e.slice(0,-1).every((s,o)=>s===t[o])?e[e.length-1]-t[t.length-1]:0}function fC(e,t,n=!1){let{routesMeta:s}=e,o={},a="/",u=[];for(let c=0;c{if(m==="*"){let w=c[v]||"";u=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const b=c[v];return g&&!b?h[m]=void 0:h[m]=(b||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:u,pattern:e}}function hC(e,t=!1,n=!0){sn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let s=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,f)=>(s.push({paramName:c,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),s]}function pC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return sn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function br(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,s=e.charAt(n);return s&&s!=="/"?null:e.slice(n)||"/"}function mC(e,t="/"){let{pathname:n,search:s="",hash:o=""}=typeof e=="string"?ti(e):e;return{pathname:n?n.startsWith("/")?n:gC(n,t):t,search:vC(s),hash:xC(o)}}function gC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function $f(e,t,n,s){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function $0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function cp(e){let t=$0(e);return t.map((n,s)=>s===t.length-1?n.pathname:n.pathnameBase)}function dp(e,t,n,s=!1){let o;typeof e=="string"?o=ti(e):(o={...e},ot(!o.pathname||!o.pathname.includes("?"),$f("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),$f("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),$f("#","search","hash",o)));let a=e===""||o.pathname==="",u=a?"/":o.pathname,c;if(u==null)c=n;else{let g=t.length-1;if(!s&&u.startsWith("..")){let v=u.split("/");for(;v[0]==="..";)v.shift(),g-=1;o.pathname=v.join("/")}c=g>=0?t[g]:"/"}let f=mC(o,c),h=u&&u!=="/"&&u.endsWith("/"),m=(a||u===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var Ir=e=>e.join("/").replace(/\/\/+/g,"/"),yC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,uc=class{constructor(e,t,n,s=!1){this.status=e,this.statusText=t||"",this.internal=s,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Ac(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var W0=["POST","PUT","PATCH","DELETE"],wC=new Set(W0),SC=["GET",...W0],bC=new Set(SC),_C=new Set([301,302,303,307,308]),EC=new Set([307,308]),Wf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},CC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},wa={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},fp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kC=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),H0="remix-router-transitions",G0=Symbol("ResetLoaderData");function TC(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";ot(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=e.mapRouteProperties||kC,o={},a=ac(e.routes,s,void 0,o),u,c=e.basename||"/",f=e.dataStrategy||jC,h=e.patchRoutesOnNavigation,m={...e.future},g=null,v=new Set,b=null,w=null,S=null,C=e.hydrationData!=null,E=Hs(a,e.history.location,c),R=null;if(E==null&&!h){let D=sr(404,{pathname:e.history.location.pathname}),{matches:V,route:G}=wv(a);E=V,R={[G.id]:D}}E&&!e.hydrationData&&Pr(E,a,e.history.location.pathname).active&&(E=null);let N;if(E)if(E.some(D=>D.route.lazy))N=!1;else if(!E.some(D=>D.route.loader))N=!0;else{let D=e.hydrationData?e.hydrationData.loaderData:null,V=e.hydrationData?e.hydrationData.errors:null;if(V){let G=E.findIndex(J=>V[J.route.id]!==void 0);N=E.slice(0,G+1).every(J=>!Eh(J.route,D,V))}else N=E.every(G=>!Eh(G.route,D,V))}else{N=!1,E=[];let D=Pr(null,a,e.history.location.pathname);D.active&&D.matches&&(E=D.matches)}let I,T={historyAction:e.history.action,location:e.history.location,matches:E,initialized:N,navigation:Wf,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},F="POP",z=!1,O,q=!1,te=new Map,pe=null,X=!1,de=!1,ke=new Set,we=new Map,De=0,me=-1,Y=new Map,ue=new Set,ie=new Map,L=new Map,K=new Set,Le=new Map,Oe,Be=null;function We(){if(g=e.history.listen(({action:D,location:V,delta:G})=>{if(Oe){Oe(),Oe=void 0;return}sn(Le.size===0||G!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let J=gs({currentLocation:T.location,nextLocation:V,historyAction:D});if(J&&G!=null){let ge=new Promise(Ne=>{Oe=Ne});e.history.go(G*-1),Rr(J,{state:"blocked",location:V,proceed(){Rr(J,{state:"proceeding",proceed:void 0,reset:void 0,location:V}),ge.then(()=>e.history.go(G))},reset(){let Ne=new Map(T.blockers);Ne.set(J,wa),Me({blockers:Ne})}});return}return Xe(D,V)}),n){$C(t,te);let D=()=>WC(t,te);t.addEventListener("pagehide",D),pe=()=>t.removeEventListener("pagehide",D)}return T.initialized||Xe("POP",T.location,{initialHydration:!0}),I}function be(){g&&g(),pe&&pe(),v.clear(),O&&O.abort(),T.fetchers.forEach((D,V)=>Wt(V)),T.blockers.forEach((D,V)=>Gr(V))}function Pe(D){return v.add(D),()=>v.delete(D)}function Me(D,V={}){T={...T,...D};let G=[],J=[];T.fetchers.forEach((ge,Ne)=>{ge.state==="idle"&&(K.has(Ne)?G.push(Ne):J.push(Ne))}),K.forEach(ge=>{!T.fetchers.has(ge)&&!we.has(ge)&&G.push(ge)}),[...v].forEach(ge=>ge(T,{deletedFetchers:G,viewTransitionOpts:V.viewTransitionOpts,flushSync:V.flushSync===!0})),G.forEach(ge=>Wt(ge)),J.forEach(ge=>T.fetchers.delete(ge))}function rt(D,V,{flushSync:G}={}){var fe,Ze;let J=T.actionData!=null&&T.navigation.formMethod!=null&&yr(T.navigation.formMethod)&&T.navigation.state==="loading"&&((fe=D.state)==null?void 0:fe._isRedirect)!==!0,ge;V.actionData?Object.keys(V.actionData).length>0?ge=V.actionData:ge=null:J?ge=T.actionData:ge=null;let Ne=V.loaderData?vv(T.loaderData,V.loaderData,V.matches||[],V.errors):T.loaderData,Ge=T.blockers;Ge.size>0&&(Ge=new Map(Ge),Ge.forEach((tt,xt)=>Ge.set(xt,wa)));let xe=z===!0||T.navigation.formMethod!=null&&yr(T.navigation.formMethod)&&((Ze=D.state)==null?void 0:Ze._isRedirect)!==!0;u&&(a=u,u=void 0),X||F==="POP"||(F==="PUSH"?e.history.push(D,D.state):F==="REPLACE"&&e.history.replace(D,D.state));let Ce;if(F==="POP"){let tt=te.get(T.location.pathname);tt&&tt.has(D.pathname)?Ce={currentLocation:T.location,nextLocation:D}:te.has(D.pathname)&&(Ce={currentLocation:D,nextLocation:T.location})}else if(q){let tt=te.get(T.location.pathname);tt?tt.add(D.pathname):(tt=new Set([D.pathname]),te.set(T.location.pathname,tt)),Ce={currentLocation:T.location,nextLocation:D}}Me({...V,actionData:ge,loaderData:Ne,historyAction:F,location:D,initialized:!0,navigation:Wf,revalidation:"idle",restoreScrollPosition:Kn(D,V.matches||T.matches),preventScrollReset:xe,blockers:Ge},{viewTransitionOpts:Ce,flushSync:G===!0}),F="POP",z=!1,q=!1,X=!1,de=!1,Be==null||Be.resolve(),Be=null}async function at(D,V){if(typeof D=="number"){e.history.go(D);return}let G=_h(T.location,T.matches,c,D,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:J,submission:ge,error:Ne}=cv(!1,G,V),Ge=T.location,xe=Wa(T.location,J,V&&V.state);xe={...xe,...e.history.encodeLocation(xe)};let Ce=V&&V.replace!=null?V.replace:void 0,fe="PUSH";Ce===!0?fe="REPLACE":Ce===!1||ge!=null&&yr(ge.formMethod)&&ge.formAction===T.location.pathname+T.location.search&&(fe="REPLACE");let Ze=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,tt=(V&&V.flushSync)===!0,xt=gs({currentLocation:Ge,nextLocation:xe,historyAction:fe});if(xt){Rr(xt,{state:"blocked",location:xe,proceed(){Rr(xt,{state:"proceeding",proceed:void 0,reset:void 0,location:xe}),at(D,V)},reset(){let Ht=new Map(T.blockers);Ht.set(xt,wa),Me({blockers:Ht})}});return}await Xe(fe,xe,{submission:ge,pendingError:Ne,preventScrollReset:Ze,replace:V&&V.replace,enableViewTransition:V&&V.viewTransition,flushSync:tt})}function Ee(){Be||(Be=HC()),Re(),Me({revalidation:"loading"});let D=Be.promise;return T.navigation.state==="submitting"?D:T.navigation.state==="idle"?(Xe(T.historyAction,T.location,{startUninterruptedRevalidation:!0}),D):(Xe(F||T.historyAction,T.navigation.location,{overrideNavigation:T.navigation,enableViewTransition:q===!0}),D)}async function Xe(D,V,G){O&&O.abort(),O=null,F=D,X=(G&&G.startUninterruptedRevalidation)===!0,ar(T.location,T.matches),z=(G&&G.preventScrollReset)===!0,q=(G&&G.enableViewTransition)===!0;let J=u||a,ge=G&&G.overrideNavigation,Ne=Hs(J,V,c),Ge=(G&&G.flushSync)===!0,xe=Pr(Ne,J,V.pathname);if(xe.active&&xe.matches&&(Ne=xe.matches),!Ne){let{error:ft,notFoundMatches:vt,route:Mt}=Zr(V.pathname);rt(V,{matches:vt,loaderData:{},errors:{[Mt.id]:ft}},{flushSync:Ge});return}if(T.initialized&&!de&&IC(T.location,V)&&!(G&&G.submission&&yr(G.submission.formMethod))){rt(V,{matches:Ne},{flushSync:Ge});return}O=new AbortController;let Ce=ho(e.history,V,O.signal,G&&G.submission),fe;if(G&&G.pendingError)fe=[Si(Ne).route.id,{type:"error",error:G.pendingError}];else if(G&&G.submission&&yr(G.submission.formMethod)){let ft=await mt(Ce,V,G.submission,Ne,xe.active,{replace:G.replace,flushSync:Ge});if(ft.shortCircuited)return;if(ft.pendingActionResult){let[vt,Mt]=ft.pendingActionResult;if(Wn(Mt)&&Ac(Mt.error)&&Mt.error.status===404){O=null,rt(V,{matches:ft.matches,loaderData:{},errors:{[vt]:Mt.error}});return}}Ne=ft.matches||Ne,fe=ft.pendingActionResult,ge=Hf(V,G.submission),Ge=!1,xe.active=!1,Ce=ho(e.history,Ce.url,Ce.signal)}let{shortCircuited:Ze,matches:tt,loaderData:xt,errors:Ht}=await It(Ce,V,Ne,xe.active,ge,G&&G.submission,G&&G.fetcherSubmission,G&&G.replace,G&&G.initialHydration===!0,Ge,fe);Ze||(O=null,rt(V,{matches:tt||Ne,...xv(fe),loaderData:xt,errors:Ht}))}async function mt(D,V,G,J,ge,Ne={}){Re();let Ge=zC(V,G);if(Me({navigation:Ge},{flushSync:Ne.flushSync===!0}),ge){let fe=await Kr(J,V.pathname,D.signal);if(fe.type==="aborted")return{shortCircuited:!0};if(fe.type==="error"){let Ze=Si(fe.partialMatches).route.id;return{matches:fe.partialMatches,pendingActionResult:[Ze,{type:"error",error:fe.error}]}}else if(fe.matches)J=fe.matches;else{let{notFoundMatches:Ze,error:tt,route:xt}=Zr(V.pathname);return{matches:Ze,pendingActionResult:[xt.id,{type:"error",error:tt}]}}}let xe,Ce=Pa(J,V);if(!Ce.route.action&&!Ce.route.lazy)xe={type:"error",error:sr(405,{method:D.method,pathname:V.pathname,routeId:Ce.route.id})};else if(xe=(await ae("action",T,D,[Ce],J,null))[Ce.route.id],D.signal.aborted)return{shortCircuited:!0};if(bi(xe)){let fe;return Ne&&Ne.replace!=null?fe=Ne.replace:fe=mv(xe.response.headers.get("Location"),new URL(D.url),c)===T.location.pathname+T.location.search,await oe(D,xe,!0,{submission:G,replace:fe}),{shortCircuited:!0}}if(Wn(xe)){let fe=Si(J,Ce.route.id);return(Ne&&Ne.replace)!==!0&&(F="PUSH"),{matches:J,pendingActionResult:[fe.route.id,xe]}}return{matches:J,pendingActionResult:[Ce.route.id,xe]}}async function It(D,V,G,J,ge,Ne,Ge,xe,Ce,fe,Ze){let tt=ge||Hf(V,Ne),xt=Ne||Ge||bv(tt),Ht=!X&&!Ce;if(J){if(Ht){let Gt=en(Ze);Me({navigation:tt,...Gt!==void 0?{actionData:Gt}:{}},{flushSync:fe})}let ht=await Kr(G,V.pathname,D.signal);if(ht.type==="aborted")return{shortCircuited:!0};if(ht.type==="error"){let Gt=Si(ht.partialMatches).route.id;return{matches:ht.partialMatches,loaderData:{},errors:{[Gt]:ht.error}}}else if(ht.matches)G=ht.matches;else{let{error:Gt,notFoundMatches:Yr,route:ii}=Zr(V.pathname);return{matches:Yr,loaderData:{},errors:{[ii.id]:Gt}}}}let ft=u||a,[vt,Mt]=fv(e.history,T,G,xt,V,Ce===!0,de,ke,K,ie,ue,ft,c,Ze);if(me=++De,vt.length===0&&Mt.length===0){let ht=Tr();return rt(V,{matches:G,loaderData:{},errors:Ze&&Wn(Ze[1])?{[Ze[0]]:Ze[1].error}:null,...xv(Ze),...ht?{fetchers:new Map(T.fetchers)}:{}},{flushSync:fe}),{shortCircuited:!0}}if(Ht){let ht={};if(!J){ht.navigation=tt;let Gt=en(Ze);Gt!==void 0&&(ht.actionData=Gt)}Mt.length>0&&(ht.fetchers=an(Mt)),Me(ht,{flushSync:fe})}Mt.forEach(ht=>{bt(ht.key),ht.controller&&we.set(ht.key,ht.controller)});let xs=()=>Mt.forEach(ht=>bt(ht.key));O&&O.signal.addEventListener("abort",xs);let{loaderResults:ws,fetcherResults:qn}=await se(T,G,vt,Mt,D);if(D.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener("abort",xs),Mt.forEach(ht=>we.delete(ht.key));let In=Fu(ws);if(In)return await oe(D,In.result,!0,{replace:xe}),{shortCircuited:!0};if(In=Fu(qn),In)return ue.add(In.key),await oe(D,In.result,!0,{replace:xe}),{shortCircuited:!0};let{loaderData:Ui,errors:si}=yv(T,G,ws,Ze,Mt,qn);Ce&&T.errors&&(si={...T.errors,...si});let qr=Tr(),wt=Fn(me),$i=qr||wt||Mt.length>0;return{matches:G,loaderData:Ui,errors:si,...$i?{fetchers:new Map(T.fetchers)}:{}}}function en(D){if(D&&!Wn(D[1]))return{[D[0]]:D[1].data};if(T.actionData)return Object.keys(T.actionData).length===0?null:T.actionData}function an(D){return D.forEach(V=>{let G=T.fetchers.get(V.key),J=Sa(void 0,G?G.data:void 0);T.fetchers.set(V.key,J)}),new Map(T.fetchers)}async function A(D,V,G,J){bt(D);let ge=(J&&J.flushSync)===!0,Ne=u||a,Ge=_h(T.location,T.matches,c,G,V,J==null?void 0:J.relative),xe=Hs(Ne,Ge,c),Ce=Pr(xe,Ne,Ge);if(Ce.active&&Ce.matches&&(xe=Ce.matches),!xe){ut(D,V,sr(404,{pathname:Ge}),{flushSync:ge});return}let{path:fe,submission:Ze,error:tt}=cv(!0,Ge,J);if(tt){ut(D,V,tt,{flushSync:ge});return}let xt=Pa(xe,fe),Ht=(J&&J.preventScrollReset)===!0;if(Ze&&yr(Ze.formMethod)){await U(D,V,fe,xt,xe,Ce.active,ge,Ht,Ze);return}ie.set(D,{routeId:V,path:fe}),await H(D,V,fe,xt,xe,Ce.active,ge,Ht,Ze)}async function U(D,V,G,J,ge,Ne,Ge,xe,Ce){Re(),ie.delete(D);function fe(Rt){if(!Rt.route.action&&!Rt.route.lazy){let lr=sr(405,{method:Ce.formMethod,pathname:G,routeId:V});return ut(D,V,lr,{flushSync:Ge}),!0}return!1}if(!Ne&&fe(J))return;let Ze=T.fetchers.get(D);Fe(D,UC(Ce,Ze),{flushSync:Ge});let tt=new AbortController,xt=ho(e.history,G,tt.signal,Ce);if(Ne){let Rt=await Kr(ge,G,xt.signal);if(Rt.type==="aborted")return;if(Rt.type==="error"){ut(D,V,Rt.error,{flushSync:Ge});return}else if(Rt.matches){if(ge=Rt.matches,J=Pa(ge,G),fe(J))return}else{ut(D,V,sr(404,{pathname:G}),{flushSync:Ge});return}}we.set(D,tt);let Ht=De,vt=(await ae("action",T,xt,[J],ge,D))[J.route.id];if(xt.signal.aborted){we.get(D)===tt&&we.delete(D);return}if(K.has(D)){if(bi(vt)||Wn(vt)){Fe(D,Us(void 0));return}}else{if(bi(vt))if(we.delete(D),me>Ht){Fe(D,Us(void 0));return}else return ue.add(D),Fe(D,Sa(Ce)),oe(xt,vt,!1,{fetcherSubmission:Ce,preventScrollReset:xe});if(Wn(vt)){ut(D,V,vt.error);return}}let Mt=T.navigation.location||T.location,xs=ho(e.history,Mt,tt.signal),ws=u||a,qn=T.navigation.state!=="idle"?Hs(ws,T.navigation.location,c):T.matches;ot(qn,"Didn't find any matches after fetcher action");let In=++De;Y.set(D,In);let Ui=Sa(Ce,vt.data);T.fetchers.set(D,Ui);let[si,qr]=fv(e.history,T,qn,Ce,Mt,!1,de,ke,K,ie,ue,ws,c,[J.route.id,vt]);qr.filter(Rt=>Rt.key!==D).forEach(Rt=>{let lr=Rt.key,Vn=T.fetchers.get(lr),rd=Sa(void 0,Vn?Vn.data:void 0);T.fetchers.set(lr,rd),bt(lr),Rt.controller&&we.set(lr,Rt.controller)}),Me({fetchers:new Map(T.fetchers)});let wt=()=>qr.forEach(Rt=>bt(Rt.key));tt.signal.addEventListener("abort",wt);let{loaderResults:$i,fetcherResults:ht}=await se(T,qn,si,qr,xs);if(tt.signal.aborted)return;tt.signal.removeEventListener("abort",wt),Y.delete(D),we.delete(D),qr.forEach(Rt=>we.delete(Rt.key));let Gt=Fu($i);if(Gt)return oe(xs,Gt.result,!1,{preventScrollReset:xe});if(Gt=Fu(ht),Gt)return ue.add(Gt.key),oe(xs,Gt.result,!1,{preventScrollReset:xe});let{loaderData:Yr,errors:ii}=yv(T,qn,$i,void 0,qr,ht);if(T.fetchers.has(D)){let Rt=Us(vt.data);T.fetchers.set(D,Rt)}Fn(In),T.navigation.state==="loading"&&In>me?(ot(F,"Expected pending action"),O&&O.abort(),rt(T.navigation.location,{matches:qn,loaderData:Yr,errors:ii,fetchers:new Map(T.fetchers)})):(Me({errors:ii,loaderData:vv(T.loaderData,Yr,qn,ii),fetchers:new Map(T.fetchers)}),de=!1)}async function H(D,V,G,J,ge,Ne,Ge,xe,Ce){let fe=T.fetchers.get(D);Fe(D,Sa(Ce,fe?fe.data:void 0),{flushSync:Ge});let Ze=new AbortController,tt=ho(e.history,G,Ze.signal);if(Ne){let vt=await Kr(ge,G,tt.signal);if(vt.type==="aborted")return;if(vt.type==="error"){ut(D,V,vt.error,{flushSync:Ge});return}else if(vt.matches)ge=vt.matches,J=Pa(ge,G);else{ut(D,V,sr(404,{pathname:G}),{flushSync:Ge});return}}we.set(D,Ze);let xt=De,ft=(await ae("loader",T,tt,[J],ge,D))[J.route.id];if(we.get(D)===Ze&&we.delete(D),!tt.signal.aborted){if(K.has(D)){Fe(D,Us(void 0));return}if(bi(ft))if(me>xt){Fe(D,Us(void 0));return}else{ue.add(D),await oe(tt,ft,!1,{preventScrollReset:xe});return}if(Wn(ft)){ut(D,V,ft.error);return}Fe(D,Us(ft.data))}}async function oe(D,V,G,{submission:J,fetcherSubmission:ge,preventScrollReset:Ne,replace:Ge}={}){V.response.headers.has("X-Remix-Revalidate")&&(de=!0);let xe=V.response.headers.get("Location");ot(xe,"Expected a Location header on the redirect Response"),xe=mv(xe,new URL(D.url),c);let Ce=Wa(T.location,xe,{_isRedirect:!0});if(n){let ft=!1;if(V.response.headers.has("X-Remix-Reload-Document"))ft=!0;else if(fp.test(xe)){const vt=e.history.createURL(xe);ft=vt.origin!==t.location.origin||br(vt.pathname,c)==null}if(ft){Ge?t.location.replace(xe):t.location.assign(xe);return}}O=null;let fe=Ge===!0||V.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ze,formAction:tt,formEncType:xt}=T.navigation;!J&&!ge&&Ze&&tt&&xt&&(J=bv(T.navigation));let Ht=J||ge;if(EC.has(V.response.status)&&Ht&&yr(Ht.formMethod))await Xe(fe,Ce,{submission:{...Ht,formAction:xe},preventScrollReset:Ne||z,enableViewTransition:G?q:void 0});else{let ft=Hf(Ce,J);await Xe(fe,Ce,{overrideNavigation:ft,fetcherSubmission:ge,preventScrollReset:Ne||z,enableViewTransition:G?q:void 0})}}async function ae(D,V,G,J,ge,Ne){let Ge,xe={};try{Ge=await DC(f,D,V,G,J,ge,Ne,o,s)}catch(Ce){return J.forEach(fe=>{xe[fe.route.id]={type:"error",error:Ce}}),xe}for(let[Ce,fe]of Object.entries(Ge))if(VC(fe)){let Ze=fe.result;xe[Ce]={type:"redirect",response:OC(Ze,G,Ce,ge,c)}}else xe[Ce]=await MC(fe);return xe}async function se(D,V,G,J,ge){let Ne=ae("loader",D,ge,G,V,null),Ge=Promise.all(J.map(async fe=>{if(fe.matches&&fe.match&&fe.controller){let tt=(await ae("loader",D,ho(e.history,fe.path,fe.controller.signal),[fe.match],fe.matches,fe.key))[fe.match.route.id];return{[fe.key]:tt}}else return Promise.resolve({[fe.key]:{type:"error",error:sr(404,{pathname:fe.path})}})})),xe=await Ne,Ce=(await Ge).reduce((fe,Ze)=>Object.assign(fe,Ze),{});return{loaderResults:xe,fetcherResults:Ce}}function Re(){de=!0,ie.forEach((D,V)=>{we.has(V)&&ke.add(V),bt(V)})}function Fe(D,V,G={}){T.fetchers.set(D,V),Me({fetchers:new Map(T.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function ut(D,V,G,J={}){let ge=Si(T.matches,V);Wt(D),Me({errors:{[ge.route.id]:G},fetchers:new Map(T.fetchers)},{flushSync:(J&&J.flushSync)===!0})}function yt(D){return L.set(D,(L.get(D)||0)+1),K.has(D)&&K.delete(D),T.fetchers.get(D)||CC}function Wt(D){let V=T.fetchers.get(D);we.has(D)&&!(V&&V.state==="loading"&&Y.has(D))&&bt(D),ie.delete(D),Y.delete(D),ue.delete(D),K.delete(D),ke.delete(D),T.fetchers.delete(D)}function kr(D){let V=(L.get(D)||0)-1;V<=0?(L.delete(D),K.add(D)):L.set(D,V),Me({fetchers:new Map(T.fetchers)})}function bt(D){let V=we.get(D);V&&(V.abort(),we.delete(D))}function ln(D){for(let V of D){let G=yt(V),J=Us(G.data);T.fetchers.set(V,J)}}function Tr(){let D=[],V=!1;for(let G of ue){let J=T.fetchers.get(G);ot(J,`Expected fetcher: ${G}`),J.state==="loading"&&(ue.delete(G),D.push(G),V=!0)}return ln(D),V}function Fn(D){let V=[];for(let[G,J]of Y)if(J0}function ms(D,V){let G=T.blockers.get(D)||wa;return Le.get(D)!==V&&Le.set(D,V),G}function Gr(D){T.blockers.delete(D),Le.delete(D)}function Rr(D,V){let G=T.blockers.get(D)||wa;ot(G.state==="unblocked"&&V.state==="blocked"||G.state==="blocked"&&V.state==="blocked"||G.state==="blocked"&&V.state==="proceeding"||G.state==="blocked"&&V.state==="unblocked"||G.state==="proceeding"&&V.state==="unblocked",`Invalid blocker state transition: ${G.state} -> ${V.state}`);let J=new Map(T.blockers);J.set(D,V),Me({blockers:J})}function gs({currentLocation:D,nextLocation:V,historyAction:G}){if(Le.size===0)return;Le.size>1&&sn(!1,"A router only supports one blocker at a time");let J=Array.from(Le.entries()),[ge,Ne]=J[J.length-1],Ge=T.blockers.get(ge);if(!(Ge&&Ge.state==="proceeding")&&Ne({currentLocation:D,nextLocation:V,historyAction:G}))return ge}function Zr(D){let V=sr(404,{pathname:D}),G=u||a,{matches:J,route:ge}=wv(G);return{notFoundMatches:J,route:ge,error:V}}function ys(D,V,G){if(b=D,S=V,w=G||null,!C&&T.navigation===Wf){C=!0;let J=Kn(T.location,T.matches);J!=null&&Me({restoreScrollPosition:J})}return()=>{b=null,S=null,w=null}}function vs(D,V){return w&&w(D,V.map(J=>nC(J,T.loaderData)))||D.key}function ar(D,V){if(b&&S){let G=vs(D,V);b[G]=S()}}function Kn(D,V){if(b){let G=vs(D,V),J=b[G];if(typeof J=="number")return J}return null}function Pr(D,V,G){if(h)if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:Ku(V,G,c,!0)}}else return{active:!0,matches:Ku(V,G,c,!0)||[]};return{active:!1,matches:null}}async function Kr(D,V,G){if(!h)return{type:"success",matches:D};let J=D;for(;;){let ge=u==null,Ne=u||a,Ge=o;try{await h({path:V,matches:J,patch:(fe,Ze)=>{G.aborted||pv(fe,Ze,Ne,Ge,s)}})}catch(fe){return{type:"error",error:fe,partialMatches:J}}finally{ge&&!G.aborted&&(a=[...a])}if(G.aborted)return{type:"aborted"};let xe=Hs(Ne,V,c);if(xe)return{type:"success",matches:xe};let Ce=Ku(Ne,V,c,!0);if(!Ce||J.length===Ce.length&&J.every((fe,Ze)=>fe.route.id===Ce[Ze].route.id))return{type:"success",matches:null};J=Ce}}function ri(D){o={},u=ac(D,s,void 0,o)}function zi(D,V){let G=u==null;pv(D,V,u||a,o,s),G&&(a=[...a],Me({}))}return I={get basename(){return c},get future(){return m},get state(){return T},get routes(){return a},get window(){return t},initialize:We,subscribe:Pe,enableScrollRestoration:ys,navigate:at,fetch:A,revalidate:Ee,createHref:D=>e.history.createHref(D),encodeLocation:D=>e.history.encodeLocation(D),getFetcher:yt,deleteFetcher:kr,dispose:be,getBlocker:ms,deleteBlocker:Gr,patchRoutes:zi,_internalFetchControllers:we,_internalSetRoutes:ri},I}function RC(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function _h(e,t,n,s,o,a){let u,c;if(o){u=[];for(let h of t)if(u.push(h),h.route.id===o){c=h;break}}else u=t,c=t[t.length-1];let f=dp(s||".",cp(u),br(e.pathname,n)||e.pathname,a==="path");if(s==null&&(f.search=e.search,f.hash=e.hash),(s==null||s===""||s===".")&&c){let h=hp(f.search);if(c.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&h){let m=new URLSearchParams(f.search),g=m.getAll("index");m.delete("index"),g.filter(b=>b).forEach(b=>m.append("index",b));let v=m.toString();f.search=v?`?${v}`:""}}return n!=="/"&&(f.pathname=f.pathname==="/"?n:Ir([n,f.pathname])),Zs(f)}function cv(e,t,n){if(!n||!RC(n))return{path:t};if(n.formMethod&&!BC(n.formMethod))return{path:t,error:sr(405,{method:n.formMethod})};let s=()=>({path:t,error:sr(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),u=K0(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!yr(a))return s();let g=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((v,[b,w])=>`${v}${b}=${w} +`,""):String(n.body);return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:g}}}else if(n.formEncType==="application/json"){if(!yr(a))return s();try{let g=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:g,text:void 0}}}catch{return s()}}}ot(typeof FormData=="function","FormData is not available in this environment");let c,f;if(n.formData)c=Ch(n.formData),f=n.formData;else if(n.body instanceof FormData)c=Ch(n.body),f=n.body;else if(n.body instanceof URLSearchParams)c=n.body,f=gv(c);else if(n.body==null)c=new URLSearchParams,f=new FormData;else try{c=new URLSearchParams(n.body),f=gv(c)}catch{return s()}let h={formMethod:a,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:f,json:void 0,text:void 0};if(yr(h.formMethod))return{path:t,submission:h};let m=ti(t);return e&&m.search&&hp(m.search)&&c.append("index",""),m.search=`?${c}`,{path:Zs(m),submission:h}}function dv(e,t,n=!1){let s=e.findIndex(o=>o.route.id===t);return s>=0?e.slice(0,n?s+1:s):e}function fv(e,t,n,s,o,a,u,c,f,h,m,g,v,b){let w=b?Wn(b[1])?b[1].error:b[1].data:void 0,S=e.createURL(t.location),C=e.createURL(o),E=n;a&&t.errors?E=dv(n,Object.keys(t.errors)[0],!0):b&&Wn(b[1])&&(E=dv(n,b[0]));let R=b?b[1].statusCode:void 0,N=R&&R>=400,I=E.filter((F,z)=>{let{route:O}=F;if(O.lazy)return!0;if(O.loader==null)return!1;if(a)return Eh(O,t.loaderData,t.errors);if(PC(t.loaderData,t.matches[z],F))return!0;let q=t.matches[z],te=F;return hv(F,{currentUrl:S,currentParams:q.params,nextUrl:C,nextParams:te.params,...s,actionResult:w,actionStatus:R,defaultShouldRevalidate:N?!1:u||S.pathname+S.search===C.pathname+C.search||S.search!==C.search||NC(q,te)})}),T=[];return h.forEach((F,z)=>{if(a||!n.some(X=>X.route.id===F.routeId)||f.has(z))return;let O=Hs(g,F.path,v);if(!O){T.push({key:z,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let q=t.fetchers.get(z),te=Pa(O,F.path),pe=!1;m.has(z)?pe=!1:c.has(z)?(c.delete(z),pe=!0):q&&q.state!=="idle"&&q.data===void 0?pe=u:pe=hv(te,{currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:C,nextParams:n[n.length-1].params,...s,actionResult:w,actionStatus:R,defaultShouldRevalidate:N?!1:u}),pe&&T.push({key:z,routeId:F.routeId,path:F.path,matches:O,match:te,controller:new AbortController})}),[I,T]}function Eh(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let s=t!=null&&t[e.id]!==void 0,o=n!=null&&n[e.id]!==void 0;return!s&&o?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!s&&!o}function PC(e,t,n){let s=!t||n.route.id!==t.route.id,o=!e.hasOwnProperty(n.route.id);return s||o}function NC(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function hv(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function pv(e,t,n,s,o){let a;if(e){let f=s[e];ot(f,`No route found to patch children into: routeId = ${e}`),f.children||(f.children=[]),a=f.children}else a=n;let u=t.filter(f=>!a.some(h=>Z0(f,h))),c=ac(u,o,[e||"_","patch",String((a==null?void 0:a.length)||"0")],s);a.push(...c)}function Z0(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,s)=>{var o;return(o=t.children)==null?void 0:o.some(a=>Z0(n,a))}):!1}async function AC(e,t,n){if(!e.lazy)return;let s=await e.lazy();if(!e.lazy)return;let o=n[e.id];ot(o,"No route found in manifest");let a={};for(let u in s){let f=o[u]!==void 0&&u!=="hasErrorBoundary";sn(!f,`Route "${o.id}" has a static property "${u}" defined but its lazy function is also returning a value for this property. The lazy route property "${u}" will be ignored.`),!f&&!eC.has(u)&&(a[u]=s[u])}Object.assign(o,a),Object.assign(o,{...t(o),lazy:void 0})}async function jC({matches:e}){let t=e.filter(s=>s.shouldLoad);return(await Promise.all(t.map(s=>s.resolve()))).reduce((s,o,a)=>Object.assign(s,{[t[a].route.id]:o}),{})}async function DC(e,t,n,s,o,a,u,c,f,h){let m=a.map(b=>b.route.lazy?AC(b.route,f,c):void 0),g=a.map((b,w)=>{let S=m[w],C=o.some(R=>R.route.id===b.route.id);return{...b,shouldLoad:C,resolve:async R=>(R&&s.method==="GET"&&(b.route.lazy||b.route.loader)&&(C=!0),C?LC(t,s,b,S,R,h):Promise.resolve({type:"data",result:void 0}))}}),v=await e({matches:g,request:s,params:a[0].params,fetcherKey:u,context:h});try{await Promise.all(m)}catch{}return v}async function LC(e,t,n,s,o,a){let u,c,f=h=>{let m,g=new Promise((w,S)=>m=S);c=()=>m(),t.signal.addEventListener("abort",c);let v=w=>typeof h!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${e}" [routeId: ${n.route.id}]`)):h({request:t,params:n.params,context:a},...w!==void 0?[w]:[]),b=(async()=>{try{return{type:"data",result:await(o?o(S=>v(S)):v())}}catch(w){return{type:"error",result:w}}})();return Promise.race([b,g])};try{let h=n.route[e];if(s)if(h){let m,[g]=await Promise.all([f(h).catch(v=>{m=v}),s]);if(m!==void 0)throw m;u=g}else if(await s,h=n.route[e],h)u=await f(h);else if(e==="action"){let m=new URL(t.url),g=m.pathname+m.search;throw sr(405,{method:t.method,pathname:g,routeId:n.route.id})}else return{type:"data",result:void 0};else if(h)u=await f(h);else{let m=new URL(t.url),g=m.pathname+m.search;throw sr(404,{pathname:g})}}catch(h){return{type:"error",result:h}}finally{c&&t.signal.removeEventListener("abort",c)}return u}async function MC(e){var s,o,a,u;let{result:t,type:n}=e;if(q0(t)){let c;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(f){return{type:"error",error:f}}return n==="error"?{type:"error",error:new uc(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:"data",data:c,statusCode:t.status,headers:t.headers}}if(n==="error"){if(Sv(t)){if(t.data instanceof Error)return{type:"error",error:t.data,statusCode:(s=t.init)==null?void 0:s.status};t=new uc(((o=t.init)==null?void 0:o.status)||500,void 0,t.data)}return{type:"error",error:t,statusCode:Ac(t)?t.status:void 0}}return Sv(t)?{type:"data",data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function OC(e,t,n,s,o){let a=e.headers.get("Location");if(ot(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!fp.test(a)){let u=s.slice(0,s.findIndex(c=>c.route.id===n)+1);a=_h(new URL(t.url),u,o,a),e.headers.set("Location",a)}return e}function mv(e,t,n){if(fp.test(e)){let s=e,o=s.startsWith("//")?new URL(t.protocol+s):new URL(s),a=br(o.pathname,n)!=null;if(o.origin===t.origin&&a)return o.pathname+o.search+o.hash}return e}function ho(e,t,n,s){let o=e.createURL(K0(t)).toString(),a={signal:n};if(s&&yr(s.formMethod)){let{formMethod:u,formEncType:c}=s;a.method=u.toUpperCase(),c==="application/json"?(a.headers=new Headers({"Content-Type":c}),a.body=JSON.stringify(s.json)):c==="text/plain"?a.body=s.text:c==="application/x-www-form-urlencoded"&&s.formData?a.body=Ch(s.formData):a.body=s.formData}return new Request(o,a)}function Ch(e){let t=new URLSearchParams;for(let[n,s]of e.entries())t.append(n,typeof s=="string"?s:s.name);return t}function gv(e){let t=new FormData;for(let[n,s]of e.entries())t.append(n,s);return t}function FC(e,t,n,s=!1,o=!1){let a={},u=null,c,f=!1,h={},m=n&&Wn(n[1])?n[1].error:void 0;return e.forEach(g=>{if(!(g.route.id in t))return;let v=g.route.id,b=t[v];if(ot(!bi(b),"Cannot handle redirect results in processLoaderData"),Wn(b)){let w=b.error;if(m!==void 0&&(w=m,m=void 0),u=u||{},o)u[v]=w;else{let S=Si(e,v);u[S.route.id]==null&&(u[S.route.id]=w)}s||(a[v]=G0),f||(f=!0,c=Ac(b.error)?b.error.status:500),b.headers&&(h[v]=b.headers)}else a[v]=b.data,b.statusCode&&b.statusCode!==200&&!f&&(c=b.statusCode),b.headers&&(h[v]=b.headers)}),m!==void 0&&n&&(u={[n[0]]:m},a[n[0]]=void 0),{loaderData:a,errors:u,statusCode:c||200,loaderHeaders:h}}function yv(e,t,n,s,o,a){let{loaderData:u,errors:c}=FC(t,n,s);return o.forEach(f=>{let{key:h,match:m,controller:g}=f,v=a[h];if(ot(v,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(Wn(v)){let b=Si(e.matches,m==null?void 0:m.route.id);c&&c[b.route.id]||(c={...c,[b.route.id]:v.error}),e.fetchers.delete(h)}else if(bi(v))ot(!1,"Unhandled fetcher revalidation redirect");else{let b=Us(v.data);e.fetchers.set(h,b)}}),{loaderData:u,errors:c}}function vv(e,t,n,s){let o=Object.entries(t).filter(([,a])=>a!==G0).reduce((a,[u,c])=>(a[u]=c,a),{});for(let a of n){let u=a.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&a.route.loader&&(o[u]=e[u]),s&&s.hasOwnProperty(u))break}return o}function xv(e){return e?Wn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Si(e,t){return(t?e.slice(0,e.findIndex(s=>s.route.id===t)+1):[...e]).reverse().find(s=>s.route.hasErrorBoundary===!0)||e[0]}function wv(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function sr(e,{pathname:t,routeId:n,method:s,type:o,message:a}={}){let u="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(u="Bad Request",s&&t&&n?c=`You made a ${s} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:o==="invalid-body"&&(c="Unable to encode submission body")):e===403?(u="Forbidden",c=`Route "${n}" does not match URL "${t}"`):e===404?(u="Not Found",c=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",s&&t&&n?c=`You made a ${s.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:s&&(c=`Invalid request method "${s.toUpperCase()}"`)),new uc(e||500,u,new Error(c),!0)}function Fu(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[s,o]=t[n];if(bi(o))return{key:s,result:o}}}function K0(e){let t=typeof e=="string"?ti(e):e;return Zs({...t,hash:""})}function IC(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function VC(e){return q0(e.result)&&_C.has(e.result.status)}function Wn(e){return e.type==="error"}function bi(e){return(e&&e.type)==="redirect"}function Sv(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function q0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function BC(e){return bC.has(e.toUpperCase())}function yr(e){return wC.has(e.toUpperCase())}function hp(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Pa(e,t){let n=typeof t=="string"?ti(t).search:t.search;if(e[e.length-1].route.index&&hp(n||""))return e[e.length-1];let s=$0(e);return s[s.length-1]}function bv(e){let{formMethod:t,formAction:n,formEncType:s,text:o,formData:a,json:u}=e;if(!(!t||!n||!s)){if(o!=null)return{formMethod:t,formAction:n,formEncType:s,formData:void 0,json:void 0,text:o};if(a!=null)return{formMethod:t,formAction:n,formEncType:s,formData:a,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:s,formData:void 0,json:u,text:void 0}}}function Hf(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zC(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Sa(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function UC(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Us(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function $C(e,t){try{let n=e.sessionStorage.getItem(H0);if(n){let s=JSON.parse(n);for(let[o,a]of Object.entries(s||{}))a&&Array.isArray(a)&&t.set(o,new Set(a||[]))}}catch{}}function WC(e,t){if(t.size>0){let n={};for(let[s,o]of t)n[s]=[...o];try{e.sessionStorage.setItem(H0,JSON.stringify(n))}catch(s){sn(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function HC(){let e,t,n=new Promise((s,o)=>{e=async a=>{s(a);try{await n}catch{}},t=async a=>{o(a);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var Oi=_.createContext(null);Oi.displayName="DataRouter";var yl=_.createContext(null);yl.displayName="DataRouterState";var pp=_.createContext({isTransitioning:!1});pp.displayName="ViewTransition";var Y0=_.createContext(new Map);Y0.displayName="Fetchers";var GC=_.createContext(null);GC.displayName="Await";var Wr=_.createContext(null);Wr.displayName="Navigation";var jc=_.createContext(null);jc.displayName="Location";var Hr=_.createContext({outlet:null,matches:[],isDataRoute:!1});Hr.displayName="Route";var mp=_.createContext(null);mp.displayName="RouteError";function ZC(e,{relative:t}={}){ot(vl(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:s}=_.useContext(Wr),{hash:o,pathname:a,search:u}=xl(e,{relative:t}),c=a;return n!=="/"&&(c=a==="/"?n:Ir([n,a])),s.createHref({pathname:c,search:u,hash:o})}function vl(){return _.useContext(jc)!=null}function Fi(){return ot(vl(),"useLocation() may be used only in the context of a component."),_.useContext(jc).location}var X0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q0(e){_.useContext(Wr).static||_.useLayoutEffect(e)}function KC(){let{isDataRoute:e}=_.useContext(Hr);return e?uk():qC()}function qC(){ot(vl(),"useNavigate() may be used only in the context of a component.");let e=_.useContext(Oi),{basename:t,navigator:n}=_.useContext(Wr),{matches:s}=_.useContext(Hr),{pathname:o}=Fi(),a=JSON.stringify(cp(s)),u=_.useRef(!1);return Q0(()=>{u.current=!0}),_.useCallback((f,h={})=>{if(sn(u.current,X0),!u.current)return;if(typeof f=="number"){n.go(f);return}let m=dp(f,JSON.parse(a),o,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Ir([t,m.pathname])),(h.replace?n.replace:n.push)(m,h.state,h)},[t,n,a,o,e])}var YC=_.createContext(null);function XC(e){let t=_.useContext(Hr).outlet;return t&&_.createElement(YC.Provider,{value:e},t)}function xl(e,{relative:t}={}){let{matches:n}=_.useContext(Hr),{pathname:s}=Fi(),o=JSON.stringify(cp(n));return _.useMemo(()=>dp(e,JSON.parse(o),s,t==="path"),[e,o,s,t])}function QC(e,t,n,s){ot(vl(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=_.useContext(Wr),{matches:a}=_.useContext(Hr),u=a[a.length-1],c=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",m=u&&u.route;{let E=m&&m.path||"";J0(f,!m||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let g=Fi(),v;v=g;let b=v.pathname||"/",w=b;if(h!=="/"){let E=h.replace(/^\//,"").split("/");w="/"+b.replace(/^\//,"").split("/").slice(E.length).join("/")}let S=Hs(e,{pathname:w});return rn(m||S!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),rn(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`),rk(S&&S.map(E=>Object.assign({},E,{params:Object.assign({},c,E.params),pathname:Ir([h,o.encodeLocation?o.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:Ir([h,o.encodeLocation?o.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),a,n,s)}function JC(){let e=lk(),t=Ac(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},a={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:a},"ErrorBoundary")," or"," ",_.createElement("code",{style:a},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:o},n):null,u)}var ek=_.createElement(JC,null),tk=class extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?_.createElement(Hr.Provider,{value:this.props.routeContext},_.createElement(dp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function nk({routeContext:e,match:t,children:n}){let s=_.useContext(Oi);return s&&s.static&&s.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(Hr.Provider,{value:e},n)}function rk(e,t=[],n=null,s=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=n==null?void 0:n.errors;if(a!=null){let f=o.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);ot(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,c=-1;if(n)for(let f=0;f=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((f,h,m)=>{let g,v=!1,b=null,w=null;n&&(g=a&&h.route.id?a[h.route.id]:void 0,b=h.route.errorElement||ek,u&&(c<0&&m===0?(Q0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,w=null):c===m&&(v=!0,w=h.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,m+1)),C=()=>{let E;return g?E=b:v?E=w:h.route.Component?E=_.createElement(h.route.Component,null):h.route.element?E=h.route.element:E=f,_.createElement(nk,{match:h,routeContext:{outlet:f,matches:S,isDataRoute:n!=null},children:E})};return n&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?_.createElement(tk,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:C(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):C()},null)}function fp(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sk(e){let t=_.useContext(Oi);return ot(t,fp(e)),t}function ik(e){let t=_.useContext(yl);return ot(t,fp(e)),t}function ok(e){let t=_.useContext(Hr);return ot(t,fp(e)),t}function hp(e){let t=ok(e),n=t.matches[t.matches.length-1];return ot(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function ak(){return hp("useRouteId")}function lk(){var s;let e=_.useContext(dp),t=ik("useRouteError"),n=hp("useRouteError");return e!==void 0?e:(s=t.errors)==null?void 0:s[n]}function uk(){let{router:e}=sk("useNavigate"),t=hp("useNavigate"),n=_.useRef(!1);return X0(()=>{n.current=!0}),_.useCallback(async(o,a={})=>{rn(n.current,Y0),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...a}))},[e,t])}var bv={};function Q0(e,t,n){!t&&!bv[e]&&(bv[e]=!0,rn(!1,n))}var _v={};function Ev(e,t){!e&&!_v[t]&&(_v[t]=!0,console.warn(t))}function ck(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&rn(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:_.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&rn(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&rn(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var dk=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",t(n))}})}};function fk({router:e,flushSync:t}){let[n,s]=_.useState(e.state),[o,a]=_.useState(),[u,c]=_.useState({isTransitioning:!1}),[f,h]=_.useState(),[m,g]=_.useState(),[v,b]=_.useState(),w=_.useRef(new Map),S=_.useCallback((N,{deletedFetchers:I,flushSync:T,viewTransitionOpts:F})=>{N.fetchers.forEach((O,q)=>{O.data!==void 0&&w.current.set(q,O.data)}),I.forEach(O=>w.current.delete(O)),Ev(T===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let z=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(Ev(F==null||z,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!F||!z){t&&T?t(()=>s(N)):_.startTransition(()=>s(N));return}if(t&&T){t(()=>{m&&(f&&f.resolve(),m.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:F.currentLocation,nextLocation:F.nextLocation})});let O=e.window.document.startViewTransition(()=>{t(()=>s(N))});O.finished.finally(()=>{t(()=>{h(void 0),g(void 0),a(void 0),c({isTransitioning:!1})})}),t(()=>g(O));return}m?(f&&f.resolve(),m.skipTransition(),b({state:N,currentLocation:F.currentLocation,nextLocation:F.nextLocation})):(a(N),c({isTransitioning:!0,flushSync:!1,currentLocation:F.currentLocation,nextLocation:F.nextLocation}))},[e.window,t,m,f]);_.useLayoutEffect(()=>e.subscribe(S),[e,S]),_.useEffect(()=>{u.isTransitioning&&!u.flushSync&&h(new dk)},[u]),_.useEffect(()=>{if(f&&o&&e.window){let N=o,I=f.promise,T=e.window.document.startViewTransition(async()=>{_.startTransition(()=>s(N)),await I});T.finished.finally(()=>{h(void 0),g(void 0),a(void 0),c({isTransitioning:!1})}),g(T)}},[o,f,e.window]),_.useEffect(()=>{f&&o&&n.location.key===o.location.key&&f.resolve()},[f,m,n.location,o]),_.useEffect(()=>{!u.isTransitioning&&v&&(a(v.state),c({isTransitioning:!0,flushSync:!1,currentLocation:v.currentLocation,nextLocation:v.nextLocation}),b(void 0))},[u.isTransitioning,v]);let C=_.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:N=>e.navigate(N),push:(N,I,T)=>e.navigate(N,{state:I,preventScrollReset:T==null?void 0:T.preventScrollReset}),replace:(N,I,T)=>e.navigate(N,{replace:!0,state:I,preventScrollReset:T==null?void 0:T.preventScrollReset})}),[e]),E=e.basename||"/",R=_.useMemo(()=>({router:e,navigator:C,static:!1,basename:E}),[e,C,E]);return _.createElement(_.Fragment,null,_.createElement(Oi.Provider,{value:R},_.createElement(yl.Provider,{value:n},_.createElement(q0.Provider,{value:w.current},_.createElement(cp.Provider,{value:u},_.createElement(gk,{basename:E,location:n.location,navigationType:n.historyAction,navigator:C},_.createElement(hk,{routes:e.routes,future:e.future,state:n})))))),null)}var hk=_.memo(pk);function pk({routes:e,future:t,state:n}){return QC(e,void 0,n,t)}function mk(e){return XC(e.context)}function gk({basename:e="/",children:t=null,location:n,navigationType:s="POP",navigator:o,static:a=!1}){ot(!vl(),"You cannot render a inside another . You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),c=_.useMemo(()=>({basename:u,navigator:o,static:a,future:{}}),[u,o,a]);typeof n=="string"&&(n=ti(n));let{pathname:f="/",search:h="",hash:m="",state:g=null,key:v="default"}=n,b=_.useMemo(()=>{let w=br(f,u);return w==null?null:{location:{pathname:w,search:h,hash:m,state:g,key:v},navigationType:s}},[u,f,h,m,g,v,s]);return rn(b!=null,` is not able to match the URL "${f}${h}${m}" because it does not start with the basename, so the won't render anything.`),b==null?null:_.createElement(Wr.Provider,{value:c},_.createElement(jc.Provider,{children:t,value:b}))}var qu="get",Yu="application/x-www-form-urlencoded";function Dc(e){return e!=null&&typeof e.tagName=="string"}function yk(e){return Dc(e)&&e.tagName.toLowerCase()==="button"}function vk(e){return Dc(e)&&e.tagName.toLowerCase()==="form"}function xk(e){return Dc(e)&&e.tagName.toLowerCase()==="input"}function wk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Sk(e,t){return e.button===0&&(!t||t==="_self")&&!wk(e)}var Iu=null;function bk(){if(Iu===null)try{new FormData(document.createElement("form"),0),Iu=!1}catch{Iu=!0}return Iu}var _k=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Uf(e){return e!=null&&!_k.has(e)?(rn(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Yu}"`),null):e}function Ek(e,t){let n,s,o,a,u;if(vk(e)){let c=e.getAttribute("action");s=c?br(c,t):null,n=e.getAttribute("method")||qu,o=Uf(e.getAttribute("enctype"))||Yu,a=new FormData(e)}else if(yk(e)||xk(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a