diff --git a/.gitignore b/.gitignore index a547bf3..251ce6d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ pnpm-debug.log* lerna-debug.log* node_modules -dist dist-ssr *.local diff --git a/dist/CTA.png b/dist/CTA.png new file mode 100644 index 0000000..b4f75b0 Binary files /dev/null and b/dist/CTA.png differ diff --git a/dist/about-card-bg.svg b/dist/about-card-bg.svg new file mode 100644 index 0000000..ecfbda8 --- /dev/null +++ b/dist/about-card-bg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dist/assets/index-BiBG5z8_.css b/dist/assets/index-BiBG5z8_.css new file mode 100644 index 0000000..4509f3c --- /dev/null +++ b/dist/assets/index-BiBG5z8_.css @@ -0,0 +1 @@ +@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}.-left-12{left:-3rem}.-right-12{right:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-2\.5{left:.625rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.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}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.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-20{height:5rem}.h-3\.5{height:.875rem}.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-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-9{width:2.25rem}.w-\[18px\]{width:18px}.w-\[300px\]{width:300px}.w-full{width:100%}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[444px\]{max-width:444px}.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-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))}.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-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))}.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-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.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-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-teritary_surface_container{--tw-bg-opacity: 1 !important;background-color:rgb(255 243 224 / 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-\[\#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-\[\#FFAE2A\]{--tw-bg-opacity: 1;background-color:rgb(255 174 42 / 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-on_secondary_container{--tw-bg-opacity: 1;background-color:rgb(29 38 55 / var(--tw-bg-opacity, 1))}.bg-primary{--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_08{--tw-bg-opacity: 1;background-color:rgb(212 132 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.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)}.fill-primary{fill:#99101d}.object-cover{-o-object-fit:cover;object-fit:cover}.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{padding-top:.25rem;padding-bottom:.25rem}.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-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-20{padding-bottom:5rem}.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}.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-\[\#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-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,.text-reverse_primary{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.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}.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))}}.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))}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.hover\:bg-\[\#FFAE2A\]\/90:hover{background-color:#ffae2ae6}.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-secondary_container\/90:hover{background-color:#ddcbcde6}.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\:opacity-100:hover{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\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-3{margin-bottom:.75rem}.md\:mt-6{margin-top:1.5rem}.md\:size-20{width:5rem;height:5rem}.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))}}.\[\&_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-C2eZCOOU.js b/dist/assets/index-C2eZCOOU.js new file mode 100644 index 0000000..a163fee --- /dev/null +++ b/dist/assets/index-C2eZCOOU.js @@ -0,0 +1,145 @@ +function sg(n,o){for(var i=0;is[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const c of u)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(u){const c={};return u.integrity&&(c.integrity=u.integrity),u.referrerPolicy&&(c.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?c.credentials="include":u.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(u){if(u.ep)return;u.ep=!0;const c=i(u);fetch(u.href,c)}})();function rp(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Bs={exports:{}},dl={},$s={exports:{}},je={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ld;function ug(){if(ld)return je;ld=1;var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=Symbol.iterator;function y(j){return j===null||typeof j!="object"?null:(j=S&&j[S]||j["@@iterator"],typeof j=="function"?j:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,w={};function R(j,U,pe){this.props=j,this.context=U,this.refs=w,this.updater=pe||P}R.prototype.isReactComponent={},R.prototype.setState=function(j,U){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,U,"setState")},R.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=R.prototype;function O(j,U,pe){this.props=j,this.context=U,this.refs=w,this.updater=pe||P}var I=O.prototype=new E;I.constructor=O,N(I,R.prototype),I.isPureReactComponent=!0;var B=Array.isArray,_=Object.prototype.hasOwnProperty,Q={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function G(j,U,pe){var he,Ce={},_e=null,Ne=null;if(U!=null)for(he in U.ref!==void 0&&(Ne=U.ref),U.key!==void 0&&(_e=""+U.key),U)_.call(U,he)&&!$.hasOwnProperty(he)&&(Ce[he]=U[he]);var xe=arguments.length-2;if(xe===1)Ce.children=pe;else if(1>>1,U=Y[j];if(0>>1;ju(Ce,J))_eu(Ne,Ce)?(Y[j]=Ne,Y[_e]=J,j=_e):(Y[j]=Ce,Y[he]=J,j=he);else if(_eu(Ne,J))Y[j]=Ne,Y[_e]=J,j=_e;else break e}}return ee}function u(Y,ee){var J=Y.sortIndex-ee.sortIndex;return J!==0?J:Y.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var d=Date,p=d.now();n.unstable_now=function(){return d.now()-p}}var h=[],g=[],x=1,S=null,y=3,P=!1,N=!1,w=!1,R=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(Y){for(var ee=i(g);ee!==null;){if(ee.callback===null)s(g);else if(ee.startTime<=Y)s(g),ee.sortIndex=ee.expirationTime,o(h,ee);else break;ee=i(g)}}function B(Y){if(w=!1,I(Y),!N)if(i(h)!==null)N=!0,Ie(_);else{var ee=i(g);ee!==null&&Re(B,ee.startTime-Y)}}function _(Y,ee){N=!1,w&&(w=!1,E(G),G=-1),P=!0;var J=y;try{for(I(ee),S=i(h);S!==null&&(!(S.expirationTime>ee)||Y&&!ve());){var j=S.callback;if(typeof j=="function"){S.callback=null,y=S.priorityLevel;var U=j(S.expirationTime<=ee);ee=n.unstable_now(),typeof U=="function"?S.callback=U:S===i(h)&&s(h),I(ee)}else s(h);S=i(h)}if(S!==null)var pe=!0;else{var he=i(g);he!==null&&Re(B,he.startTime-ee),pe=!1}return pe}finally{S=null,y=J,P=!1}}var Q=!1,$=null,G=-1,Z=5,ue=-1;function ve(){return!(n.unstable_now()-ueY||125j?(Y.sortIndex=J,o(g,Y),i(h)===null&&Y===i(g)&&(w?(E(G),G=-1):w=!0,Re(B,J-j))):(Y.sortIndex=U,o(h,Y),N||P||(N=!0,Ie(_))),Y},n.unstable_shouldYield=ve,n.unstable_wrapCallback=function(Y){var ee=y;return function(){var J=y;y=ee;try{return Y.apply(this,arguments)}finally{y=J}}}}(Hs)),Hs}var cd;function mg(){return cd||(cd=1,Ws.exports=hg()),Ws.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var fd;function gg(){if(fd)return It;fd=1;var n=hu(),o=mg();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,g=/^[: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]*$/,x={},S={};function y(e){return h.call(S,e)?!0:h.call(x,e)?!1:g.test(e)?S[e]=!0:(x[e]=!0,!1)}function P(e,t,r,l){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return l?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N(e,t,r,l){if(t===null||typeof t>"u"||P(e,t,r,l))return!0;if(l)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function w(e,t,r,l,a,f,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=l,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=m}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){R[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];R[t]=new w(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){R[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){R[e]=new w(e,2,!1,e,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(e){R[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){R[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){R[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){R[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){R[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function O(e){return e[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(e){var t=e.replace(E,O);R[t]=new w(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,O);R[t]=new w(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,O);R[t]=new w(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){R[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),R.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){R[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});function I(e,t,r,l){var a=R.hasOwnProperty(t)?R[t]:null;(a!==null?a.type!==0:l||!(2C||a[m]!==f[C]){var L=` +`+a[m].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=m&&0<=C);break}}}finally{pe=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?U(e):""}function Ce(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=he(e.type,!1),e;case 11:return e=he(e.type.render,!1),e;case 1:return e=he(e.type,!0),e;default:return""}}function _e(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $:return"Fragment";case Q:return"Portal";case Z:return"Profiler";case G:return"StrictMode";case be:return"Suspense";case ze:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case ue:return(e._context.displayName||"Context")+".Provider";case de:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ke:return t=e.displayName||null,t!==null?t:_e(e.type)||"Memo";case Ie:t=e._payload,e=e._init;try{return _e(e(t))}catch{}}return null}function Ne(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(t);case 8:return t===G?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Me(e){var t=ye(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,f=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(m){l=""+m,f.call(this,m)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(m){l=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fe(e){e._valueTracker||(e._valueTracker=Me(e))}function se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),l="";return e&&(l=ye(e)?e.checked?"true":"false":e.value),e=l,e!==r?(t.setValue(e),!0):!1}function Te(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function We(e,t){var r=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function it(e,t){var r=t.defaultValue==null?"":t.defaultValue,l=t.checked!=null?t.checked:t.defaultChecked;r=xe(t.value!=null?t.value:r),e._wrapperState={initialChecked:l,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function wt(e,t){t=t.checked,t!=null&&I(e,"checked",t,!1)}function Nt(e,t){wt(e,t);var r=xe(t.value),l=t.type;if(r!=null)l==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lt(e,t.type,r):t.hasOwnProperty("defaultValue")&&Lt(e,t.type,xe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qt(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var l=t.type;if(!(l!=="submit"&&l!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Lt(e,t,r){(t!=="number"||Te(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Pt=Array.isArray;function at(e,t,r,l){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=wn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ot(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Kt={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},Xn=["Webkit","ms","Moz","O"];Object.keys(Kt).forEach(function(e){Xn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kt[t]=Kt[e]})});function Sn(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Kt.hasOwnProperty(e)&&Kt[e]?(""+t).trim():t+"px"}function Zr(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var l=r.indexOf("--")===0,a=Sn(r,t[r],l);r==="float"&&(r="cssFloat"),l?e.setProperty(r,a):e[r]=a}}var qr=J({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 En(e,t){if(t){if(qr[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function Jn(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var On=null;function Zn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qn=null,an=null,Yt=null;function Cn(e){if(e=Jo(e)){if(typeof qn!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Yl(t),qn(e.stateNode,e.type,t))}}function zn(e){an?Yt?Yt.push(e):Yt=[e]:an=e}function Lr(){if(an){var e=an,t=Yt;if(Yt=an=null,Cn(e),t)for(e=0;e>>=0,e===0?32:31-(Nh(e)/Ph|0)|0}var jl=64,bl=4194304;function Do(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dl(e,t){var r=e.pendingLanes;if(r===0)return 0;var l=0,a=e.suspendedLanes,f=e.pingedLanes,m=r&268435455;if(m!==0){var C=m&~a;C!==0?l=Do(C):(f&=m,f!==0&&(l=Do(f)))}else m=r&~a,m!==0?l=Do(m):f!==0&&(l=Do(f));if(l===0)return 0;if(t!==0&&t!==l&&!(t&a)&&(a=l&-l,f=t&-t,a>=f||a===16&&(f&4194240)!==0))return t;if(l&4&&(l|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=l;0r;r++)t.push(e);return t}function Mo(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-un(t),e[t]=r}function Th(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0=$o),Ju=" ",Zu=!1;function qu(e,t){switch(e){case"keyup":return om.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ec(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lo=!1;function im(e,t){switch(e){case"compositionend":return ec(t);case"keypress":return t.which!==32?null:(Zu=!0,Ju);case"textInput":return e=t.data,e===Ju&&Zu?null:e;default:return null}}function am(e,t){if(lo)return e==="compositionend"||!Sa&&qu(e,t)?(e=Hu(),Al=ma=ir=null,lo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ac(r)}}function uc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cc(){for(var e=window,t=Te();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Te(e.document)}return t}function ka(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function gm(e){var t=cc(),r=e.focusedElem,l=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uc(r.ownerDocument.documentElement,r)){if(l!==null&&ka(r)){if(t=l.start,e=l.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,f=Math.min(l.start,a);l=l.end===void 0?f:Math.min(l.end,a),!e.extend&&f>l&&(a=l,l=f,f=a),a=sc(r,f);var m=sc(r,l);a&&m&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),f>l?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,io=null,Na=null,Go=null,Pa=!1;function fc(e,t,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Pa||io==null||io!==Te(l)||(l=io,"selectionStart"in l&&ka(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Go&&Ho(Go,l)||(Go=l,l=Gl(Na,"onSelect"),0fo||(e.current=Aa[fo],Aa[fo]=null,fo--)}function Qe(e,t){fo++,Aa[fo]=e.current,e.current=t}var cr={},St=ur(cr),bt=ur(!1),Dr=cr;function po(e,t){var r=e.type.contextTypes;if(!r)return cr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===t)return l.__reactInternalMemoizedMaskedChildContext;var a={},f;for(f in r)a[f]=t[f];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Dt(e){return e=e.childContextTypes,e!=null}function Xl(){Ye(bt),Ye(St)}function Pc(e,t,r){if(St.current!==cr)throw Error(i(168));Qe(St,t),Qe(bt,r)}function Rc(e,t,r){var l=e.stateNode;if(t=t.childContextTypes,typeof l.getChildContext!="function")return r;l=l.getChildContext();for(var a in l)if(!(a in t))throw Error(i(108,Ne(e)||"Unknown",a));return J({},r,l)}function Jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cr,Dr=St.current,Qe(St,e),Qe(bt,bt.current),!0}function _c(e,t,r){var l=e.stateNode;if(!l)throw Error(i(169));r?(e=Rc(e,t,Dr),l.__reactInternalMemoizedMergedChildContext=e,Ye(bt),Ye(St),Qe(St,e)):Ye(bt),Qe(bt,r)}var Un=null,Zl=!1,Fa=!1;function Lc(e){Un===null?Un=[e]:Un.push(e)}function _m(e){Zl=!0,Lc(e)}function fr(){if(!Fa&&Un!==null){Fa=!0;var e=0,t=$e;try{var r=Un;for($e=1;e>=m,a-=m,Bn=1<<32-un(t)+a|r<Ee?(gt=ge,ge=null):gt=ge.sibling;var Ae=V(M,ge,z[Ee],X);if(Ae===null){ge===null&&(ge=gt);break}e&&ge&&Ae.alternate===null&&t(M,ge),b=f(Ae,b,Ee),me===null?fe=Ae:me.sibling=Ae,me=Ae,ge=gt}if(Ee===z.length)return r(M,ge),Je&&Or(M,Ee),fe;if(ge===null){for(;EeEe?(gt=ge,ge=null):gt=ge.sibling;var wr=V(M,ge,Ae.value,X);if(wr===null){ge===null&&(ge=gt);break}e&&ge&&wr.alternate===null&&t(M,ge),b=f(wr,b,Ee),me===null?fe=wr:me.sibling=wr,me=wr,ge=gt}if(Ae.done)return r(M,ge),Je&&Or(M,Ee),fe;if(ge===null){for(;!Ae.done;Ee++,Ae=z.next())Ae=K(M,Ae.value,X),Ae!==null&&(b=f(Ae,b,Ee),me===null?fe=Ae:me.sibling=Ae,me=Ae);return Je&&Or(M,Ee),fe}for(ge=l(M,ge);!Ae.done;Ee++,Ae=z.next())Ae=ne(ge,M,Ee,Ae.value,X),Ae!==null&&(e&&Ae.alternate!==null&&ge.delete(Ae.key===null?Ee:Ae.key),b=f(Ae,b,Ee),me===null?fe=Ae:me.sibling=Ae,me=Ae);return e&&ge.forEach(function(ag){return t(M,ag)}),Je&&Or(M,Ee),fe}function lt(M,b,z,X){if(typeof z=="object"&&z!==null&&z.type===$&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case _:e:{for(var fe=z.key,me=b;me!==null;){if(me.key===fe){if(fe=z.type,fe===$){if(me.tag===7){r(M,me.sibling),b=a(me,z.props.children),b.return=M,M=b;break e}}else if(me.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===Ie&&Oc(fe)===me.type){r(M,me.sibling),b=a(me,z.props),b.ref=Zo(M,me,z),b.return=M,M=b;break e}r(M,me);break}else t(M,me);me=me.sibling}z.type===$?(b=Vr(z.props.children,M.mode,X,z.key),b.return=M,M=b):(X=Pi(z.type,z.key,z.props,null,M.mode,X),X.ref=Zo(M,b,z),X.return=M,M=X)}return m(M);case Q:e:{for(me=z.key;b!==null;){if(b.key===me)if(b.tag===4&&b.stateNode.containerInfo===z.containerInfo&&b.stateNode.implementation===z.implementation){r(M,b.sibling),b=a(b,z.children||[]),b.return=M,M=b;break e}else{r(M,b);break}else t(M,b);b=b.sibling}b=zs(z,M.mode,X),b.return=M,M=b}return m(M);case Ie:return me=z._init,lt(M,b,me(z._payload),X)}if(Pt(z))return le(M,b,z,X);if(ee(z))return ae(M,b,z,X);ni(M,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,b!==null&&b.tag===6?(r(M,b.sibling),b=a(b,z),b.return=M,M=b):(r(M,b),b=Os(z,M.mode,X),b.return=M,M=b),m(M)):r(M,b)}return lt}var vo=zc(!0),Ic=zc(!1),ri=ur(null),oi=null,yo=null,Ha=null;function Ga(){Ha=yo=oi=null}function Qa(e){var t=ri.current;Ye(ri),e._currentValue=t}function Ka(e,t,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===r)break;e=e.return}}function xo(e,t){oi=e,Ha=yo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Mt=!0),e.firstContext=null)}function qt(e){var t=e._currentValue;if(Ha!==e)if(e={context:e,memoizedValue:t,next:null},yo===null){if(oi===null)throw Error(i(308));yo=e,oi.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var zr=null;function Ya(e){zr===null?zr=[e]:zr.push(e)}function Ac(e,t,r,l){var a=t.interleaved;return a===null?(r.next=r,Ya(t)):(r.next=a.next,a.next=r),t.interleaved=r,Vn(e,l)}function Vn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var dr=!1;function Xa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Wn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pr(e,t,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,Oe&2){var a=l.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t,Vn(e,r)}return a=l.interleaved,a===null?(t.next=t,Ya(l)):(t.next=a.next,a.next=t),l.interleaved=t,Vn(e,r)}function li(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,ca(e,r)}}function Uc(e,t){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var a=null,f=null;if(r=r.firstBaseUpdate,r!==null){do{var m={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};f===null?a=f=m:f=f.next=m,r=r.next}while(r!==null);f===null?a=f=t:f=f.next=t}else a=f=t;r={baseState:l.baseState,firstBaseUpdate:a,lastBaseUpdate:f,shared:l.shared,effects:l.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function ii(e,t,r,l){var a=e.updateQueue;dr=!1;var f=a.firstBaseUpdate,m=a.lastBaseUpdate,C=a.shared.pending;if(C!==null){a.shared.pending=null;var L=C,A=L.next;L.next=null,m===null?f=A:m.next=A,m=L;var H=e.alternate;H!==null&&(H=H.updateQueue,C=H.lastBaseUpdate,C!==m&&(C===null?H.firstBaseUpdate=A:C.next=A,H.lastBaseUpdate=L))}if(f!==null){var K=a.baseState;m=0,H=A=L=null,C=f;do{var V=C.lane,ne=C.eventTime;if((l&V)===V){H!==null&&(H=H.next={eventTime:ne,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var le=e,ae=C;switch(V=t,ne=r,ae.tag){case 1:if(le=ae.payload,typeof le=="function"){K=le.call(ne,K,V);break e}K=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ae.payload,V=typeof le=="function"?le.call(ne,K,V):le,V==null)break e;K=J({},K,V);break e;case 2:dr=!0}}C.callback!==null&&C.lane!==0&&(e.flags|=64,V=a.effects,V===null?a.effects=[C]:V.push(C))}else ne={eventTime:ne,lane:V,tag:C.tag,payload:C.payload,callback:C.callback,next:null},H===null?(A=H=ne,L=K):H=H.next=ne,m|=V;if(C=C.next,C===null){if(C=a.shared.pending,C===null)break;V=C,C=V.next,V.next=null,a.lastBaseUpdate=V,a.shared.pending=null}}while(!0);if(H===null&&(L=K),a.baseState=L,a.firstBaseUpdate=A,a.lastBaseUpdate=H,t=a.shared.interleaved,t!==null){a=t;do m|=a.lane,a=a.next;while(a!==t)}else f===null&&(a.shared.lanes=0);Fr|=m,e.lanes=m,e.memoizedState=K}}function Bc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var l=ts.transition;ts.transition={};try{e(!1),t()}finally{$e=r,ts.transition=l}}function af(){return en().memoizedState}function bm(e,t,r){var l=vr(e);if(r={lane:l,action:r,hasEagerState:!1,eagerState:null,next:null},sf(e))uf(t,r);else if(r=Ac(e,t,r,l),r!==null){var a=_t();mn(r,e,l,a),cf(r,t,l)}}function Dm(e,t,r){var l=vr(e),a={lane:l,action:r,hasEagerState:!1,eagerState:null,next:null};if(sf(e))uf(t,a);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var m=t.lastRenderedState,C=f(m,r);if(a.hasEagerState=!0,a.eagerState=C,cn(C,m)){var L=t.interleaved;L===null?(a.next=a,Ya(t)):(a.next=L.next,L.next=a),t.interleaved=a;return}}catch{}finally{}r=Ac(e,t,a,l),r!==null&&(a=_t(),mn(r,e,l,a),cf(r,t,l))}}function sf(e){var t=e.alternate;return e===et||t!==null&&t===et}function uf(e,t){nl=ui=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function cf(e,t,r){if(r&4194240){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,ca(e,r)}}var di={readContext:qt,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},Mm={readContext:qt,useCallback:function(e,t){return Pn().memoizedState=[e,t===void 0?null:t],e},useContext:qt,useEffect:Zc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ci(4194308,4,tf.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ci(4194308,4,e,t)},useInsertionEffect:function(e,t){return ci(4,2,e,t)},useMemo:function(e,t){var r=Pn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var l=Pn();return t=r!==void 0?r(t):t,l.memoizedState=l.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},l.queue=e,e=e.dispatch=bm.bind(null,et,e),[l.memoizedState,e]},useRef:function(e){var t=Pn();return e={current:e},t.memoizedState=e},useState:Xc,useDebugValue:ss,useDeferredValue:function(e){return Pn().memoizedState=e},useTransition:function(){var e=Xc(!1),t=e[0];return e=jm.bind(null,e[1]),Pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var l=et,a=Pn();if(Je){if(r===void 0)throw Error(i(407));r=r()}else{if(r=t(),mt===null)throw Error(i(349));Ar&30||Hc(l,t,r)}a.memoizedState=r;var f={value:r,getSnapshot:t};return a.queue=f,Zc(Qc.bind(null,l,f,e),[e]),l.flags|=2048,ll(9,Gc.bind(null,l,f,r,t),void 0,null),r},useId:function(){var e=Pn(),t=mt.identifierPrefix;if(Je){var r=$n,l=Bn;r=(l&~(1<<32-un(l)-1)).toString(32)+r,t=":"+t+"R"+r,r=rl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=m.createElement(r,{is:l.is}):(e=m.createElement(r),r==="select"&&(m=e,l.multiple?m.multiple=!0:l.size&&(m.size=l.size))):e=m.createElementNS(e,r),e[kn]=t,e[Xo]=l,Tf(e,t,!1,!1),t.stateNode=e;e:{switch(m=Jn(r,l),r){case"dialog":Ke("cancel",e),Ke("close",e),a=l;break;case"iframe":case"object":case"embed":Ke("load",e),a=l;break;case"video":case"audio":for(a=0;ako&&(t.flags|=128,l=!0,il(f,!1),t.lanes=4194304)}else{if(!l)if(e=ai(m),e!==null){if(t.flags|=128,l=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),il(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!Je)return Ct(t),null}else 2*Ge()-f.renderingStartTime>ko&&r!==1073741824&&(t.flags|=128,l=!0,il(f,!1),t.lanes=4194304);f.isBackwards?(m.sibling=t.child,t.child=m):(r=f.last,r!==null?r.sibling=m:t.child=m,f.last=m)}return f.tail!==null?(t=f.tail,f.rendering=t,f.tail=t.sibling,f.renderingStartTime=Ge(),t.sibling=null,r=qe.current,Qe(qe,l?r&1|2:r&1),t):(Ct(t),null);case 22:case 23:return bs(),l=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(t.flags|=8192),l&&t.mode&1?Ht&1073741824&&(Ct(t),t.subtreeFlags&6&&(t.flags|=8192)):Ct(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function $m(e,t){switch(Ba(t),t.tag){case 1:return Dt(t.type)&&Xl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Ye(bt),Ye(St),es(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Za(t),null;case 13:if(Ye(qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));go()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ye(qe),null;case 4:return wo(),null;case 10:return Qa(t.type._context),null;case 22:case 23:return bs(),null;case 24:return null;default:return null}}var gi=!1,kt=!1,Vm=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Eo(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(l){rt(e,t,l)}else r.current=null}function ws(e,t,r){try{r()}catch(l){rt(e,t,l)}}var Df=!1;function Wm(e,t){if(ba=zl,e=cc(),ka(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var a=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{r.nodeType,f.nodeType}catch{r=null;break e}var m=0,C=-1,L=-1,A=0,H=0,K=e,V=null;t:for(;;){for(var ne;K!==r||a!==0&&K.nodeType!==3||(C=m+a),K!==f||l!==0&&K.nodeType!==3||(L=m+l),K.nodeType===3&&(m+=K.nodeValue.length),(ne=K.firstChild)!==null;)V=K,K=ne;for(;;){if(K===e)break t;if(V===r&&++A===a&&(C=m),V===f&&++H===l&&(L=m),(ne=K.nextSibling)!==null)break;K=V,V=K.parentNode}K=ne}r=C===-1||L===-1?null:{start:C,end:L}}else r=null}r=r||{start:0,end:0}}else r=null;for(Da={focusedElem:e,selectionRange:r},zl=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var le=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var ae=le.memoizedProps,lt=le.memoizedState,M=t.stateNode,b=M.getSnapshotBeforeUpdate(t.elementType===t.type?ae:dn(t.type,ae),lt);M.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var z=t.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(X){rt(t,t.return,X)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return le=Df,Df=!1,le}function al(e,t,r){var l=t.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var a=l=l.next;do{if((a.tag&e)===e){var f=a.destroy;a.destroy=void 0,f!==void 0&&ws(t,r,f)}a=a.next}while(a!==l)}}function vi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var l=r.create;r.destroy=l()}r=r.next}while(r!==t)}}function Ss(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Mf(e){var t=e.alternate;t!==null&&(e.alternate=null,Mf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[kn],delete t[Xo],delete t[Ia],delete t[Pm],delete t[Rm])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Of(e){return e.tag===5||e.tag===3||e.tag===4}function zf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Of(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Es(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Kl));else if(l!==4&&(e=e.child,e!==null))for(Es(e,t,r),e=e.sibling;e!==null;)Es(e,t,r),e=e.sibling}function Cs(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(Cs(e,t,r),e=e.sibling;e!==null;)Cs(e,t,r),e=e.sibling}var vt=null,pn=!1;function hr(e,t,r){for(r=r.child;r!==null;)If(e,t,r),r=r.sibling}function If(e,t,r){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(sn,r)}catch{}switch(r.tag){case 5:kt||Eo(r,t);case 6:var l=vt,a=pn;vt=null,hr(e,t,r),vt=l,pn=a,vt!==null&&(pn?(e=vt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):vt.removeChild(r.stateNode));break;case 18:vt!==null&&(pn?(e=vt,r=r.stateNode,e.nodeType===8?za(e.parentNode,r):e.nodeType===1&&za(e,r),Fo(e)):za(vt,r.stateNode));break;case 4:l=vt,a=pn,vt=r.stateNode.containerInfo,pn=!0,hr(e,t,r),vt=l,pn=a;break;case 0:case 11:case 14:case 15:if(!kt&&(l=r.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){a=l=l.next;do{var f=a,m=f.destroy;f=f.tag,m!==void 0&&(f&2||f&4)&&ws(r,t,m),a=a.next}while(a!==l)}hr(e,t,r);break;case 1:if(!kt&&(Eo(r,t),l=r.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=r.memoizedProps,l.state=r.memoizedState,l.componentWillUnmount()}catch(C){rt(r,t,C)}hr(e,t,r);break;case 21:hr(e,t,r);break;case 22:r.mode&1?(kt=(l=kt)||r.memoizedState!==null,hr(e,t,r),kt=l):hr(e,t,r);break;default:hr(e,t,r)}}function Af(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Vm),t.forEach(function(l){var a=qm.bind(null,e,l);r.has(l)||(r.add(l),l.then(a,a))})}}function hn(e,t){var r=t.deletions;if(r!==null)for(var l=0;la&&(a=m),l&=~f}if(l=a,l=Ge()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*Gm(l/1960))-l,10e?16:e,gr===null)var l=!1;else{if(e=gr,gr=null,Ei=0,Oe&6)throw Error(i(331));var a=Oe;for(Oe|=4,oe=e.current;oe!==null;){var f=oe,m=f.child;if(oe.flags&16){var C=f.deletions;if(C!==null){for(var L=0;LGe()-Ps?Br(e,0):Ns|=r),zt(e,t)}function Jf(e,t){t===0&&(e.mode&1?(t=bl,bl<<=1,!(bl&130023424)&&(bl=4194304)):t=1);var r=_t();e=Vn(e,t),e!==null&&(Mo(e,t,r),zt(e,r))}function Zm(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Jf(e,r)}function qm(e,t){var r=0;switch(e.tag){case 13:var l=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(i(314))}l!==null&&l.delete(t),Jf(e,r)}var Zf;Zf=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Mt=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Mt=!1,Um(e,t,r);Mt=!!(e.flags&131072)}else Mt=!1,Je&&t.flags&1048576&&Tc(t,ei,t.index);switch(t.lanes=0,t.tag){case 2:var l=t.type;mi(e,t),e=t.pendingProps;var a=po(t,St.current);xo(t,r),a=rs(null,t,l,e,a,r);var f=os();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(l)?(f=!0,Jl(t)):f=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Xa(t),a.updater=pi,t.stateNode=a,a._reactInternals=t,cs(t,l,e,r),t=hs(null,t,l,!0,f,r)):(t.tag=0,Je&&f&&Ua(t),Rt(null,t,a,r),t=t.child),t;case 16:l=t.elementType;e:{switch(mi(e,t),e=t.pendingProps,a=l._init,l=a(l._payload),t.type=l,a=t.tag=tg(l),e=dn(l,e),a){case 0:t=ps(null,t,l,e,r);break e;case 1:t=kf(null,t,l,e,r);break e;case 11:t=xf(null,t,l,e,r);break e;case 14:t=wf(null,t,l,dn(l.type,e),r);break e}throw Error(i(306,l,""))}return t;case 0:return l=t.type,a=t.pendingProps,a=t.elementType===l?a:dn(l,a),ps(e,t,l,a,r);case 1:return l=t.type,a=t.pendingProps,a=t.elementType===l?a:dn(l,a),kf(e,t,l,a,r);case 3:e:{if(Nf(t),e===null)throw Error(i(387));l=t.pendingProps,f=t.memoizedState,a=f.element,Fc(e,t),ii(t,l,null,r);var m=t.memoizedState;if(l=m.element,f.isDehydrated)if(f={element:l,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){a=So(Error(i(423)),t),t=Pf(e,t,l,r,a);break e}else if(l!==a){a=So(Error(i(424)),t),t=Pf(e,t,l,r,a);break e}else for(Wt=sr(t.stateNode.containerInfo.firstChild),Vt=t,Je=!0,fn=null,r=Ic(t,null,l,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(go(),l===a){t=Hn(e,t,r);break e}Rt(e,t,l,r)}t=t.child}return t;case 5:return $c(t),e===null&&Va(t),l=t.type,a=t.pendingProps,f=e!==null?e.memoizedProps:null,m=a.children,Ma(l,a)?m=null:f!==null&&Ma(l,f)&&(t.flags|=32),Cf(e,t),Rt(e,t,m,r),t.child;case 6:return e===null&&Va(t),null;case 13:return Rf(e,t,r);case 4:return Ja(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=vo(t,null,l,r):Rt(e,t,l,r),t.child;case 11:return l=t.type,a=t.pendingProps,a=t.elementType===l?a:dn(l,a),xf(e,t,l,a,r);case 7:return Rt(e,t,t.pendingProps,r),t.child;case 8:return Rt(e,t,t.pendingProps.children,r),t.child;case 12:return Rt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(l=t.type._context,a=t.pendingProps,f=t.memoizedProps,m=a.value,Qe(ri,l._currentValue),l._currentValue=m,f!==null)if(cn(f.value,m)){if(f.children===a.children&&!bt.current){t=Hn(e,t,r);break e}}else for(f=t.child,f!==null&&(f.return=t);f!==null;){var C=f.dependencies;if(C!==null){m=f.child;for(var L=C.firstContext;L!==null;){if(L.context===l){if(f.tag===1){L=Wn(-1,r&-r),L.tag=2;var A=f.updateQueue;if(A!==null){A=A.shared;var H=A.pending;H===null?L.next=L:(L.next=H.next,H.next=L),A.pending=L}}f.lanes|=r,L=f.alternate,L!==null&&(L.lanes|=r),Ka(f.return,r,t),C.lanes|=r;break}L=L.next}}else if(f.tag===10)m=f.type===t.type?null:f.child;else if(f.tag===18){if(m=f.return,m===null)throw Error(i(341));m.lanes|=r,C=m.alternate,C!==null&&(C.lanes|=r),Ka(m,r,t),m=f.sibling}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===t){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}Rt(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,l=t.pendingProps.children,xo(t,r),a=qt(a),l=l(a),t.flags|=1,Rt(e,t,l,r),t.child;case 14:return l=t.type,a=dn(l,t.pendingProps),a=dn(l.type,a),wf(e,t,l,a,r);case 15:return Sf(e,t,t.type,t.pendingProps,r);case 17:return l=t.type,a=t.pendingProps,a=t.elementType===l?a:dn(l,a),mi(e,t),t.tag=1,Dt(l)?(e=!0,Jl(t)):e=!1,xo(t,r),df(t,l,a),cs(t,l,a,r),hs(null,t,l,!0,e,r);case 19:return Lf(e,t,r);case 22:return Ef(e,t,r)}throw Error(i(156,t.tag))};function qf(e,t){return Ut(e,t)}function eg(e,t,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,r,l){return new eg(e,t,r,l)}function Ms(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tg(e){if(typeof e=="function")return Ms(e)?1:0;if(e!=null){if(e=e.$$typeof,e===de)return 11;if(e===ke)return 14}return 2}function xr(e,t){var r=e.alternate;return r===null?(r=nn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Pi(e,t,r,l,a,f){var m=2;if(l=e,typeof e=="function")Ms(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case $:return Vr(r.children,a,f,t);case G:m=8,a|=8;break;case Z:return e=nn(12,r,t,a|2),e.elementType=Z,e.lanes=f,e;case be:return e=nn(13,r,t,a),e.elementType=be,e.lanes=f,e;case ze:return e=nn(19,r,t,a),e.elementType=ze,e.lanes=f,e;case Re:return Ri(r,a,f,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ue:m=10;break e;case ve:m=9;break e;case de:m=11;break e;case ke:m=14;break e;case Ie:m=16,l=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=nn(m,r,t,a),t.elementType=e,t.type=l,t.lanes=f,t}function Vr(e,t,r,l){return e=nn(7,e,l,t),e.lanes=r,e}function Ri(e,t,r,l){return e=nn(22,e,l,t),e.elementType=Re,e.lanes=r,e.stateNode={isHidden:!1},e}function Os(e,t,r){return e=nn(6,e,null,t),e.lanes=r,e}function zs(e,t,r){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ng(e,t,r,l,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ua(0),this.expirationTimes=ua(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ua(0),this.identifierPrefix=l,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Is(e,t,r,l,a,f,m,C,L){return e=new ng(e,t,r,C,L),t===1?(t=1,f===!0&&(t|=8)):t=0,f=nn(3,null,null,t),e.current=f,f.stateNode=e,f.memoizedState={element:l,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xa(f),e}function rg(e,t,r){var l=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(o){console.error(o)}}return n(),Vs.exports=gg(),Vs.exports}var pd;function vg(){if(pd)return Mi;pd=1;var n=op();return Mi.createRoot=n.createRoot,Mi.hydrateRoot=n.hydrateRoot,Mi}var yg=vg(),pl={},hd;function xg(){if(hd)return pl;hd=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.parse=d,pl.serialize=g;const n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,o=/^[\u0021-\u003A\u003C-\u007E]*$/,i=/^([.]?[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]*$/,u=Object.prototype.toString,c=(()=>{const y=function(){};return y.prototype=Object.create(null),y})();function d(y,P){const N=new c,w=y.length;if(w<2)return N;const R=(P==null?void 0:P.decode)||x;let E=0;do{const O=y.indexOf("=",E);if(O===-1)break;const I=y.indexOf(";",E),B=I===-1?w:I;if(O>B){E=y.lastIndexOf(";",O-1)+1;continue}const _=p(y,E,O),Q=h(y,O,_),$=y.slice(_,Q);if(N[$]===void 0){let G=p(y,O+1,B),Z=h(y,B,G);const ue=R(y.slice(G,Z));N[$]=ue}E=B+1}while(EN;){const w=y.charCodeAt(--P);if(w!==32&&w!==9)return P+1}return N}function g(y,P,N){const w=(N==null?void 0:N.encode)||encodeURIComponent;if(!n.test(y))throw new TypeError(`argument name is invalid: ${y}`);const R=w(P);if(!o.test(R))throw new TypeError(`argument val is invalid: ${P}`);let E=y+"="+R;if(!N)return E;if(N.maxAge!==void 0){if(!Number.isInteger(N.maxAge))throw new TypeError(`option maxAge is invalid: ${N.maxAge}`);E+="; Max-Age="+N.maxAge}if(N.domain){if(!i.test(N.domain))throw new TypeError(`option domain is invalid: ${N.domain}`);E+="; Domain="+N.domain}if(N.path){if(!s.test(N.path))throw new TypeError(`option path is invalid: ${N.path}`);E+="; Path="+N.path}if(N.expires){if(!S(N.expires)||!Number.isFinite(N.expires.valueOf()))throw new TypeError(`option expires is invalid: ${N.expires}`);E+="; Expires="+N.expires.toUTCString()}if(N.httpOnly&&(E+="; HttpOnly"),N.secure&&(E+="; Secure"),N.partitioned&&(E+="; Partitioned"),N.priority)switch(typeof N.priority=="string"?N.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: ${N.priority}`)}if(N.sameSite)switch(typeof N.sameSite=="string"?N.sameSite.toLowerCase():N.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: ${N.sameSite}`)}return E}function x(y){if(y.indexOf("%")===-1)return y;try{return decodeURIComponent(y)}catch{return y}}function S(y){return u.call(y)==="[object Date]"}return pl}xg();/** + * react-router v7.1.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var md="popstate";function wg(n={}){function o(s,u){let{pathname:c,search:d,hash:p}=s.location;return El("",{pathname:c,search:d,hash:p},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function i(s,u){return typeof u=="string"?u:Rr(u)}return Eg(o,i,null,n)}function De(n,o){if(n===!1||n===null||typeof n>"u")throw new Error(o)}function xt(n,o){if(!n){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function Sg(){return Math.random().toString(36).substring(2,10)}function gd(n,o){return{usr:n.state,key:n.key,idx:o}}function El(n,o,i=null,s){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof o=="string"?_r(o):o,state:i,key:o&&o.key||s||Sg()}}function Rr({pathname:n="/",search:o="",hash:i=""}){return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function _r(n){let o={};if(n){let i=n.indexOf("#");i>=0&&(o.hash=n.substring(i),n=n.substring(0,i));let s=n.indexOf("?");s>=0&&(o.search=n.substring(s),n=n.substring(0,s)),n&&(o.pathname=n)}return o}function Eg(n,o,i,s={}){let{window:u=document.defaultView,v5Compat:c=!1}=s,d=u.history,p="POP",h=null,g=x();g==null&&(g=0,d.replaceState({...d.state,idx:g},""));function x(){return(d.state||{idx:null}).idx}function S(){p="POP";let R=x(),E=R==null?null:R-g;g=R,h&&h({action:p,location:w.location,delta:E})}function y(R,E){p="PUSH";let O=El(w.location,R,E);g=x()+1;let I=gd(O,g),B=w.createHref(O);try{d.pushState(I,"",B)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;u.location.assign(B)}c&&h&&h({action:p,location:w.location,delta:1})}function P(R,E){p="REPLACE";let O=El(w.location,R,E);g=x();let I=gd(O,g),B=w.createHref(O);d.replaceState(I,"",B),c&&h&&h({action:p,location:w.location,delta:0})}function N(R){let E=u.location.origin!=="null"?u.location.origin:u.location.href,O=typeof R=="string"?R:Rr(R);return O=O.replace(/ $/,"%20"),De(E,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,E)}let w={get action(){return p},get location(){return n(u,d)},listen(R){if(h)throw new Error("A history only accepts one active listener");return u.addEventListener(md,S),h=R,()=>{u.removeEventListener(md,S),h=null}},createHref(R){return o(u,R)},createURL:N,encodeLocation(R){let E=N(R);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:y,replace:P,go(R){return d.go(R)}};return w}var Cg=new Set(["lazy","caseSensitive","path","id","index","children"]);function kg(n){return n.index===!0}function Qi(n,o,i=[],s={}){return n.map((u,c)=>{let d=[...i,String(c)],p=typeof u.id=="string"?u.id:d.join("-");if(De(u.index!==!0||!u.children,"Cannot specify children on an index route"),De(!s[p],`Found a route id collision on id "${p}". Route id's must be globally unique within Data Router usages`),kg(u)){let h={...u,...o(u),id:p};return s[p]=h,h}else{let h={...u,...o(u),id:p,children:void 0};return s[p]=h,u.children&&(h.children=Qi(u.children,o,d,s)),h}})}function Nr(n,o,i="/"){return $i(n,o,i,!1)}function $i(n,o,i,s){let u=typeof o=="string"?_r(o):o,c=yn(u.pathname||"/",i);if(c==null)return null;let d=lp(n);Pg(d);let p=null;for(let h=0;p==null&&h{let h={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};h.relativePath.startsWith("/")&&(De(h.relativePath.startsWith(s),`Absolute route path "${h.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(s.length));let g=Ln([s,h.relativePath]),x=i.concat(h);c.children&&c.children.length>0&&(De(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),lp(c.children,o,x,g)),!(c.path==null&&!c.index)&&o.push({path:g,score:Dg(g,c.index),routesMeta:x})};return n.forEach((c,d)=>{var p;if(c.path===""||!((p=c.path)!=null&&p.includes("?")))u(c,d);else for(let h of ip(c.path))u(c,d,h)}),o}function ip(n){let o=n.split("/");if(o.length===0)return[];let[i,...s]=o,u=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return u?[c,""]:[c];let d=ip(s.join("/")),p=[];return p.push(...d.map(h=>h===""?c:[c,h].join("/"))),u&&p.push(...d),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function Pg(n){n.sort((o,i)=>o.score!==i.score?i.score-o.score:Mg(o.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var Rg=/^:[\w-]+$/,_g=3,Lg=2,Tg=1,jg=10,bg=-2,vd=n=>n==="*";function Dg(n,o){let i=n.split("/"),s=i.length;return i.some(vd)&&(s+=bg),o&&(s+=Lg),i.filter(u=>!vd(u)).reduce((u,c)=>u+(Rg.test(c)?_g:c===""?Tg:jg),s)}function Mg(n,o){return n.length===o.length&&n.slice(0,-1).every((s,u)=>s===o[u])?n[n.length-1]-o[o.length-1]:0}function Og(n,o,i=!1){let{routesMeta:s}=n,u={},c="/",d=[];for(let p=0;p{if(x==="*"){let N=p[y]||"";d=c.slice(0,c.length-N.length).replace(/(.)\/+$/,"$1")}const P=p[y];return S&&!P?g[x]=void 0:g[x]=(P||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:d,pattern:n}}function zg(n,o=!1,i=!0){xt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let s=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,p,h)=>(s.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(s.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,o?void 0:"i"),s]}function Ig(n){try{return n.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return xt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${o}).`),n}}function yn(n,o){if(o==="/")return n;if(!n.toLowerCase().startsWith(o.toLowerCase()))return null;let i=o.endsWith("/")?o.length-1:o.length,s=n.charAt(i);return s&&s!=="/"?null:n.slice(i)||"/"}function Ag(n,o="/"){let{pathname:i,search:s="",hash:u=""}=typeof n=="string"?_r(n):n;return{pathname:i?i.startsWith("/")?i:Fg(i,o):o,search:Bg(s),hash:$g(u)}}function Fg(n,o){let i=o.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?i.length>1&&i.pop():u!=="."&&i.push(u)}),i.length>1?i.join("/"):"/"}function Gs(n,o,i,s){return`Cannot include a '${n}' character in a manually specified \`to.${o}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function ap(n){return n.filter((o,i)=>i===0||o.route.path&&o.route.path.length>0)}function mu(n){let o=ap(n);return o.map((i,s)=>s===o.length-1?i.pathname:i.pathnameBase)}function gu(n,o,i,s=!1){let u;typeof n=="string"?u=_r(n):(u={...n},De(!u.pathname||!u.pathname.includes("?"),Gs("?","pathname","search",u)),De(!u.pathname||!u.pathname.includes("#"),Gs("#","pathname","hash",u)),De(!u.search||!u.search.includes("#"),Gs("#","search","hash",u)));let c=n===""||u.pathname==="",d=c?"/":u.pathname,p;if(d==null)p=i;else{let S=o.length-1;if(!s&&d.startsWith("..")){let y=d.split("/");for(;y[0]==="..";)y.shift(),S-=1;u.pathname=y.join("/")}p=S>=0?o[S]:"/"}let h=Ag(u,p),g=d&&d!=="/"&&d.endsWith("/"),x=(c||d===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(g||x)&&(h.pathname+="/"),h}var Ln=n=>n.join("/").replace(/\/\/+/g,"/"),Ug=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Bg=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,$g=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Yi=class{constructor(n,o,i,s=!1){this.status=n,this.statusText=o||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function qi(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}var sp=["POST","PUT","PATCH","DELETE"],Vg=new Set(sp),Wg=["GET",...sp],Hg=new Set(Wg),Gg=new Set([301,302,303,307,308]),Qg=new Set([307,308]),Qs={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Kg={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},hl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},vu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yg=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),up="remix-router-transitions",cp=Symbol("ResetLoaderData");function Xg(n){const o=n.window?n.window:typeof window<"u"?window:void 0,i=typeof o<"u"&&typeof o.document<"u"&&typeof o.document.createElement<"u";De(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=n.mapRouteProperties||Yg,u={},c=Qi(n.routes,s,void 0,u),d,p=n.basename||"/",h=n.dataStrategy||tv,g=n.patchRoutesOnNavigation,x={...n.future},S=null,y=new Set,P=null,N=null,w=null,R=n.hydrationData!=null,E=Nr(c,n.history.location,p),O=null;if(E==null&&!g){let T=rn(404,{pathname:n.history.location.pathname}),{matches:D,route:F}=_d(c);E=D,O={[F.id]:T}}E&&!n.hydrationData&&Cn(E,c,n.history.location.pathname).active&&(E=null);let I;if(E)if(E.some(T=>T.route.lazy))I=!1;else if(!E.some(T=>T.route.loader))I=!0;else{let T=n.hydrationData?n.hydrationData.loaderData:null,D=n.hydrationData?n.hydrationData.errors:null;if(D){let F=E.findIndex(W=>D[W.route.id]!==void 0);I=E.slice(0,F+1).every(W=>!iu(W.route,T,D))}else I=E.every(F=>!iu(F.route,T,D))}else{I=!1,E=[];let T=Cn(null,c,n.history.location.pathname);T.active&&T.matches&&(E=T.matches)}let B,_={historyAction:n.history.action,location:n.history.location,matches:E,initialized:I,navigation:Qs,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||O,fetchers:new Map,blockers:new Map},Q="POP",$=!1,G,Z=!1,ue=new Map,ve=null,de=!1,be=!1,ze=new Set,ke=new Map,Ie=0,Re=-1,Y=new Map,ee=new Set,J=new Map,j=new Map,U=new Set,pe=new Map,he,Ce=null;function _e(){if(S=n.history.listen(({action:T,location:D,delta:F})=>{if(he){he(),he=void 0;return}xt(pe.size===0||F!=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 W=Jn({currentLocation:_.location,nextLocation:D,historyAction:T});if(W&&F!=null){let te=new Promise(ce=>{he=ce});n.history.go(F*-1),En(W,{state:"blocked",location:D,proceed(){En(W,{state:"proceeding",proceed:void 0,reset:void 0,location:D}),te.then(()=>n.history.go(F))},reset(){let ce=new Map(_.blockers);ce.set(W,hl),ye({blockers:ce})}});return}return Te(T,D)}),i){dv(o,ue);let T=()=>pv(o,ue);o.addEventListener("pagehide",T),ve=()=>o.removeEventListener("pagehide",T)}return _.initialized||Te("POP",_.location,{initialHydration:!0}),B}function Ne(){S&&S(),ve&&ve(),y.clear(),G&&G.abort(),_.fetchers.forEach((T,D)=>wn(D)),_.blockers.forEach((T,D)=>qr(D))}function xe(T){return y.add(T),()=>y.delete(T)}function ye(T,D={}){_={..._,...T};let F=[],W=[];_.fetchers.forEach((te,ce)=>{te.state==="idle"&&(U.has(ce)?F.push(ce):W.push(ce))}),U.forEach(te=>{!_.fetchers.has(te)&&!ke.has(te)&&F.push(te)}),[...y].forEach(te=>te(_,{deletedFetchers:F,viewTransitionOpts:D.viewTransitionOpts,flushSync:D.flushSync===!0})),F.forEach(te=>wn(te)),W.forEach(te=>_.fetchers.delete(te))}function Me(T,D,{flushSync:F}={}){var q,Se;let W=_.actionData!=null&&_.navigation.formMethod!=null&&gn(_.navigation.formMethod)&&_.navigation.state==="loading"&&((q=T.state)==null?void 0:q._isRedirect)!==!0,te;D.actionData?Object.keys(D.actionData).length>0?te=D.actionData:te=null:W?te=_.actionData:te=null;let ce=D.loaderData?Pd(_.loaderData,D.loaderData,D.matches||[],D.errors):_.loaderData,we=_.blockers;we.size>0&&(we=new Map(we),we.forEach((Le,He)=>we.set(He,hl)));let re=$===!0||_.navigation.formMethod!=null&&gn(_.navigation.formMethod)&&((Se=T.state)==null?void 0:Se._isRedirect)!==!0;d&&(c=d,d=void 0),de||Q==="POP"||(Q==="PUSH"?n.history.push(T,T.state):Q==="REPLACE"&&n.history.replace(T,T.state));let ie;if(Q==="POP"){let Le=ue.get(_.location.pathname);Le&&Le.has(T.pathname)?ie={currentLocation:_.location,nextLocation:T}:ue.has(T.pathname)&&(ie={currentLocation:T,nextLocation:_.location})}else if(Z){let Le=ue.get(_.location.pathname);Le?Le.add(T.pathname):(Le=new Set([T.pathname]),ue.set(_.location.pathname,Le)),ie={currentLocation:_.location,nextLocation:T}}ye({...D,actionData:te,loaderData:ce,historyAction:Q,location:T,initialized:!0,navigation:Qs,revalidation:"idle",restoreScrollPosition:Yt(T,D.matches||_.matches),preventScrollReset:re,blockers:we},{viewTransitionOpts:ie,flushSync:F===!0}),Q="POP",$=!1,Z=!1,de=!1,be=!1,Ce==null||Ce.resolve(),Ce=null}async function Fe(T,D){if(typeof T=="number"){n.history.go(T);return}let F=lu(_.location,_.matches,p,T,D==null?void 0:D.fromRouteId,D==null?void 0:D.relative),{path:W,submission:te,error:ce}=yd(!1,F,D),we=_.location,re=El(_.location,W,D&&D.state);re={...re,...n.history.encodeLocation(re)};let ie=D&&D.replace!=null?D.replace:void 0,q="PUSH";ie===!0?q="REPLACE":ie===!1||te!=null&&gn(te.formMethod)&&te.formAction===_.location.pathname+_.location.search&&(q="REPLACE");let Se=D&&"preventScrollReset"in D?D.preventScrollReset===!0:void 0,Le=(D&&D.flushSync)===!0,He=Jn({currentLocation:we,nextLocation:re,historyAction:q});if(He){En(He,{state:"blocked",location:re,proceed(){En(He,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),Fe(T,D)},reset(){let ut=new Map(_.blockers);ut.set(He,hl),ye({blockers:ut})}});return}await Te(q,re,{submission:te,pendingError:ce,preventScrollReset:Se,replace:D&&D.replace,enableViewTransition:D&&D.viewTransition,flushSync:Le})}function se(){Ce||(Ce=hv()),Dn(),ye({revalidation:"loading"});let T=Ce.promise;return _.navigation.state==="submitting"?T:_.navigation.state==="idle"?(Te(_.historyAction,_.location,{startUninterruptedRevalidation:!0}),T):(Te(Q||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation,enableViewTransition:Z===!0}),T)}async function Te(T,D,F){G&&G.abort(),G=null,Q=T,de=(F&&F.startUninterruptedRevalidation)===!0,an(_.location,_.matches),$=(F&&F.preventScrollReset)===!0,Z=(F&&F.enableViewTransition)===!0;let W=d||c,te=F&&F.overrideNavigation,ce=Nr(W,D,p),we=(F&&F.flushSync)===!0,re=Cn(ce,W,D.pathname);if(re.active&&re.matches&&(ce=re.matches),!ce){let{error:Ue,notFoundMatches:Ve,route:nt}=On(D.pathname);Me(D,{matches:Ve,loaderData:{},errors:{[nt.id]:Ue}},{flushSync:we});return}if(_.initialized&&!be&&av(_.location,D)&&!(F&&F.submission&&gn(F.submission.formMethod))){Me(D,{matches:ce},{flushSync:we});return}G=new AbortController;let ie=Po(n.history,D,G.signal,F&&F.submission),q;if(F&&F.pendingError)q=[Wr(ce).route.id,{type:"error",error:F.pendingError}];else if(F&&F.submission&&gn(F.submission.formMethod)){let Ue=await We(ie,D,F.submission,ce,re.active,{replace:F.replace,flushSync:we});if(Ue.shortCircuited)return;if(Ue.pendingActionResult){let[Ve,nt]=Ue.pendingActionResult;if(Gt(nt)&&qi(nt.error)&&nt.error.status===404){G=null,Me(D,{matches:Ue.matches,loaderData:{},errors:{[Ve]:nt.error}});return}}ce=Ue.matches||ce,q=Ue.pendingActionResult,te=Ks(D,F.submission),we=!1,re.active=!1,ie=Po(n.history,ie.url,ie.signal)}let{shortCircuited:Se,matches:Le,loaderData:He,errors:ut}=await it(ie,D,ce,re.active,te,F&&F.submission,F&&F.fetcherSubmission,F&&F.replace,F&&F.initialHydration===!0,we,q);Se||(G=null,Me(D,{matches:Le||ce,...Rd(q),loaderData:He,errors:ut}))}async function We(T,D,F,W,te,ce={}){Dn();let we=cv(D,F);if(ye({navigation:we},{flushSync:ce.flushSync===!0}),te){let q=await zn(W,D.pathname,T.signal);if(q.type==="aborted")return{shortCircuited:!0};if(q.type==="error"){let Se=Wr(q.partialMatches).route.id;return{matches:q.partialMatches,pendingActionResult:[Se,{type:"error",error:q.error}]}}else if(q.matches)W=q.matches;else{let{notFoundMatches:Se,error:Le,route:He}=On(D.pathname);return{matches:Se,pendingActionResult:[He.id,{type:"error",error:Le}]}}}let re,ie=xl(W,D);if(!ie.route.action&&!ie.route.lazy)re={type:"error",error:rn(405,{method:T.method,pathname:D.pathname,routeId:ie.route.id})};else if(re=(await Ft("action",_,T,[ie],W,null))[ie.route.id],T.signal.aborted)return{shortCircuited:!0};if(Hr(re)){let q;return ce&&ce.replace!=null?q=ce.replace:q=Cd(re.response.headers.get("Location"),new URL(T.url),p)===_.location.pathname+_.location.search,await at(T,re,!0,{submission:F,replace:q}),{shortCircuited:!0}}if(Gt(re)){let q=Wr(W,ie.route.id);return(ce&&ce.replace)!==!0&&(Q="PUSH"),{matches:W,pendingActionResult:[q.route.id,re]}}return{matches:W,pendingActionResult:[ie.route.id,re]}}async function it(T,D,F,W,te,ce,we,re,ie,q,Se){let Le=te||Ks(D,ce),He=ce||we||Td(Le),ut=!de&&!ie;if(W){if(ut){let ct=wt(Se);ye({navigation:Le,...ct!==void 0?{actionData:ct}:{}},{flushSync:q})}let Be=await zn(F,D.pathname,T.signal);if(Be.type==="aborted")return{shortCircuited:!0};if(Be.type==="error"){let ct=Wr(Be.partialMatches).route.id;return{matches:Be.partialMatches,loaderData:{},errors:{[ct]:Be.error}}}else if(Be.matches)F=Be.matches;else{let{error:ct,notFoundMatches:An,route:jr}=On(D.pathname);return{matches:An,loaderData:{},errors:{[jr.id]:ct}}}}let Ue=d||c,[Ve,nt]=wd(n.history,_,F,He,D,ie===!0,be,ze,U,J,ee,Ue,p,Se);if(Re=++Ie,Ve.length===0&&nt.length===0){let Be=Xn();return Me(D,{matches:F,loaderData:{},errors:Se&&Gt(Se[1])?{[Se[0]]:Se[1].error}:null,...Rd(Se),...Be?{fetchers:new Map(_.fetchers)}:{}},{flushSync:q}),{shortCircuited:!0}}if(ut){let Be={};if(!W){Be.navigation=Le;let ct=wt(Se);ct!==void 0&&(Be.actionData=ct)}nt.length>0&&(Be.fetchers=Nt(nt)),ye(Be,{flushSync:q})}nt.forEach(Be=>{ot(Be.key),Be.controller&&ke.set(Be.key,Be.controller)});let er=()=>nt.forEach(Be=>ot(Be.key));G&&G.signal.addEventListener("abort",er);let{loaderResults:tr,fetcherResults:Xt}=await bn(_,F,Ve,nt,T);if(T.signal.aborted)return{shortCircuited:!0};G&&G.signal.removeEventListener("abort",er),nt.forEach(Be=>ke.delete(Be.key));let Ut=Oi(tr);if(Ut)return await at(T,Ut.result,!0,{replace:re}),{shortCircuited:!0};if(Ut=Oi(Xt),Ut)return ee.add(Ut.key),await at(T,Ut.result,!0,{replace:re}),{shortCircuited:!0};let{loaderData:to,errors:Tr}=Nd(_,F,tr,Se,nt,Xt);ie&&_.errors&&(Tr={..._.errors,...Tr});let In=Xn(),Ge=Sn(Re),no=In||Ge||nt.length>0;return{matches:F,loaderData:to,errors:Tr,...no?{fetchers:new Map(_.fetchers)}:{}}}function wt(T){if(T&&!Gt(T[1]))return{[T[0]]:T[1].data};if(_.actionData)return Object.keys(_.actionData).length===0?null:_.actionData}function Nt(T){return T.forEach(D=>{let F=_.fetchers.get(D.key),W=ml(void 0,F?F.data:void 0);_.fetchers.set(D.key,W)}),new Map(_.fetchers)}async function Qt(T,D,F,W){ot(T);let te=(W&&W.flushSync)===!0,ce=d||c,we=lu(_.location,_.matches,p,F,D,W==null?void 0:W.relative),re=Nr(ce,we,p),ie=Cn(re,ce,we);if(ie.active&&ie.matches&&(re=ie.matches),!re){jt(T,D,rn(404,{pathname:we}),{flushSync:te});return}let{path:q,submission:Se,error:Le}=yd(!0,we,W);if(Le){jt(T,D,Le,{flushSync:te});return}let He=xl(re,q),ut=(W&&W.preventScrollReset)===!0;if(Se&&gn(Se.formMethod)){await Lt(T,D,q,He,re,ie.active,te,ut,Se);return}J.set(T,{routeId:D,path:q}),await Pt(T,D,q,He,re,ie.active,te,ut,Se)}async function Lt(T,D,F,W,te,ce,we,re,ie){Dn(),J.delete(T);function q(Ze){if(!Ze.route.action&&!Ze.route.lazy){let sn=rn(405,{method:ie.formMethod,pathname:F,routeId:D});return jt(T,D,sn,{flushSync:we}),!0}return!1}if(!ce&&q(W))return;let Se=_.fetchers.get(T);Tt(T,fv(ie,Se),{flushSync:we});let Le=new AbortController,He=Po(n.history,F,Le.signal,ie);if(ce){let Ze=await zn(te,F,He.signal);if(Ze.type==="aborted")return;if(Ze.type==="error"){jt(T,D,Ze.error,{flushSync:we});return}else if(Ze.matches){if(te=Ze.matches,W=xl(te,F),q(W))return}else{jt(T,D,rn(404,{pathname:F}),{flushSync:we});return}}ke.set(T,Le);let ut=Ie,Ve=(await Ft("action",_,He,[W],te,T))[W.route.id];if(He.signal.aborted){ke.get(T)===Le&&ke.delete(T);return}if(U.has(T)){if(Hr(Ve)||Gt(Ve)){Tt(T,Cr(void 0));return}}else{if(Hr(Ve))if(ke.delete(T),Re>ut){Tt(T,Cr(void 0));return}else return ee.add(T),Tt(T,ml(ie)),at(He,Ve,!1,{fetcherSubmission:ie,preventScrollReset:re});if(Gt(Ve)){jt(T,D,Ve.error);return}}let nt=_.navigation.location||_.location,er=Po(n.history,nt,Le.signal),tr=d||c,Xt=_.navigation.state!=="idle"?Nr(tr,_.navigation.location,p):_.matches;De(Xt,"Didn't find any matches after fetcher action");let Ut=++Ie;Y.set(T,Ut);let to=ml(ie,Ve.data);_.fetchers.set(T,to);let[Tr,In]=wd(n.history,_,Xt,ie,nt,!1,be,ze,U,J,ee,tr,p,[W.route.id,Ve]);In.filter(Ze=>Ze.key!==T).forEach(Ze=>{let sn=Ze.key,Bt=_.fetchers.get(sn),aa=ml(void 0,Bt?Bt.data:void 0);_.fetchers.set(sn,aa),ot(sn),Ze.controller&&ke.set(sn,Ze.controller)}),ye({fetchers:new Map(_.fetchers)});let Ge=()=>In.forEach(Ze=>ot(Ze.key));Le.signal.addEventListener("abort",Ge);let{loaderResults:no,fetcherResults:Be}=await bn(_,Xt,Tr,In,er);if(Le.signal.aborted)return;Le.signal.removeEventListener("abort",Ge),Y.delete(T),ke.delete(T),In.forEach(Ze=>ke.delete(Ze.key));let ct=Oi(no);if(ct)return at(er,ct.result,!1,{preventScrollReset:re});if(ct=Oi(Be),ct)return ee.add(ct.key),at(er,ct.result,!1,{preventScrollReset:re});let{loaderData:An,errors:jr}=Nd(_,Xt,no,void 0,In,Be);if(_.fetchers.has(T)){let Ze=Cr(Ve.data);_.fetchers.set(T,Ze)}Sn(Ut),_.navigation.state==="loading"&&Ut>Re?(De(Q,"Expected pending action"),G&&G.abort(),Me(_.navigation.location,{matches:Xt,loaderData:An,errors:jr,fetchers:new Map(_.fetchers)})):(ye({errors:jr,loaderData:Pd(_.loaderData,An,Xt,jr),fetchers:new Map(_.fetchers)}),be=!1)}async function Pt(T,D,F,W,te,ce,we,re,ie){let q=_.fetchers.get(T);Tt(T,ml(ie,q?q.data:void 0),{flushSync:we});let Se=new AbortController,Le=Po(n.history,F,Se.signal);if(ce){let Ve=await zn(te,F,Le.signal);if(Ve.type==="aborted")return;if(Ve.type==="error"){jt(T,D,Ve.error,{flushSync:we});return}else if(Ve.matches)te=Ve.matches,W=xl(te,F);else{jt(T,D,rn(404,{pathname:F}),{flushSync:we});return}}ke.set(T,Se);let He=Ie,Ue=(await Ft("loader",_,Le,[W],te,T))[W.route.id];if(ke.get(T)===Se&&ke.delete(T),!Le.signal.aborted){if(U.has(T)){Tt(T,Cr(void 0));return}if(Hr(Ue))if(Re>He){Tt(T,Cr(void 0));return}else{ee.add(T),await at(Le,Ue,!1,{preventScrollReset:re});return}if(Gt(Ue)){jt(T,D,Ue.error);return}Tt(T,Cr(Ue.data))}}async function at(T,D,F,{submission:W,fetcherSubmission:te,preventScrollReset:ce,replace:we}={}){D.response.headers.has("X-Remix-Revalidate")&&(be=!0);let re=D.response.headers.get("Location");De(re,"Expected a Location header on the redirect Response"),re=Cd(re,new URL(T.url),p);let ie=El(_.location,re,{_isRedirect:!0});if(i){let Ue=!1;if(D.response.headers.has("X-Remix-Reload-Document"))Ue=!0;else if(vu.test(re)){const Ve=n.history.createURL(re);Ue=Ve.origin!==o.location.origin||yn(Ve.pathname,p)==null}if(Ue){we?o.location.replace(re):o.location.assign(re);return}}G=null;let q=we===!0||D.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Se,formAction:Le,formEncType:He}=_.navigation;!W&&!te&&Se&&Le&&He&&(W=Td(_.navigation));let ut=W||te;if(Qg.has(D.response.status)&&ut&&gn(ut.formMethod))await Te(q,ie,{submission:{...ut,formAction:re},preventScrollReset:ce||$,enableViewTransition:F?Z:void 0});else{let Ue=Ks(ie,W);await Te(q,ie,{overrideNavigation:Ue,fetcherSubmission:te,preventScrollReset:ce||$,enableViewTransition:F?Z:void 0})}}async function Ft(T,D,F,W,te,ce){let we,re={};try{we=await nv(h,T,D,F,W,te,ce,u,s)}catch(ie){return W.forEach(q=>{re[q.route.id]={type:"error",error:ie}}),re}for(let[ie,q]of Object.entries(we))if(sv(q)){let Se=q.result;re[ie]={type:"redirect",response:lv(Se,F,ie,te,p)}}else re[ie]=await ov(q);return re}async function bn(T,D,F,W,te){let ce=Ft("loader",T,te,F,D,null),we=Promise.all(W.map(async q=>{if(q.matches&&q.match&&q.controller){let Le=(await Ft("loader",T,Po(n.history,q.path,q.controller.signal),[q.match],q.matches,q.key))[q.match.route.id];return{[q.key]:Le}}else return Promise.resolve({[q.key]:{type:"error",error:rn(404,{pathname:q.path})}})})),re=await ce,ie=(await we).reduce((q,Se)=>Object.assign(q,Se),{});return{loaderResults:re,fetcherResults:ie}}function Dn(){be=!0,J.forEach((T,D)=>{ke.has(D)&&ze.add(D),ot(D)})}function Tt(T,D,F={}){_.fetchers.set(T,D),ye({fetchers:new Map(_.fetchers)},{flushSync:(F&&F.flushSync)===!0})}function jt(T,D,F,W={}){let te=Wr(_.matches,D);wn(T),ye({errors:{[te.route.id]:F},fetchers:new Map(_.fetchers)},{flushSync:(W&&W.flushSync)===!0})}function Mn(T){return j.set(T,(j.get(T)||0)+1),U.has(T)&&U.delete(T),_.fetchers.get(T)||Kg}function wn(T){let D=_.fetchers.get(T);ke.has(T)&&!(D&&D.state==="loading"&&Y.has(T))&&ot(T),J.delete(T),Y.delete(T),ee.delete(T),U.delete(T),ze.delete(T),_.fetchers.delete(T)}function Yn(T){let D=(j.get(T)||0)-1;D<=0?(j.delete(T),U.add(T)):j.set(T,D),ye({fetchers:new Map(_.fetchers)})}function ot(T){let D=ke.get(T);D&&(D.abort(),ke.delete(T))}function Kt(T){for(let D of T){let F=Mn(D),W=Cr(F.data);_.fetchers.set(D,W)}}function Xn(){let T=[],D=!1;for(let F of ee){let W=_.fetchers.get(F);De(W,`Expected fetcher: ${F}`),W.state==="loading"&&(ee.delete(F),T.push(F),D=!0)}return Kt(T),D}function Sn(T){let D=[];for(let[F,W]of Y)if(W0}function Zr(T,D){let F=_.blockers.get(T)||hl;return pe.get(T)!==D&&pe.set(T,D),F}function qr(T){_.blockers.delete(T),pe.delete(T)}function En(T,D){let F=_.blockers.get(T)||hl;De(F.state==="unblocked"&&D.state==="blocked"||F.state==="blocked"&&D.state==="blocked"||F.state==="blocked"&&D.state==="proceeding"||F.state==="blocked"&&D.state==="unblocked"||F.state==="proceeding"&&D.state==="unblocked",`Invalid blocker state transition: ${F.state} -> ${D.state}`);let W=new Map(_.blockers);W.set(T,D),ye({blockers:W})}function Jn({currentLocation:T,nextLocation:D,historyAction:F}){if(pe.size===0)return;pe.size>1&&xt(!1,"A router only supports one blocker at a time");let W=Array.from(pe.entries()),[te,ce]=W[W.length-1],we=_.blockers.get(te);if(!(we&&we.state==="proceeding")&&ce({currentLocation:T,nextLocation:D,historyAction:F}))return te}function On(T){let D=rn(404,{pathname:T}),F=d||c,{matches:W,route:te}=_d(F);return{notFoundMatches:W,route:te,error:D}}function Zn(T,D,F){if(P=T,w=D,N=F||null,!R&&_.navigation===Qs){R=!0;let W=Yt(_.location,_.matches);W!=null&&ye({restoreScrollPosition:W})}return()=>{P=null,w=null,N=null}}function qn(T,D){return N&&N(T,D.map(W=>Ng(W,_.loaderData)))||T.key}function an(T,D){if(P&&w){let F=qn(T,D);P[F]=w()}}function Yt(T,D){if(P){let F=qn(T,D),W=P[F];if(typeof W=="number")return W}return null}function Cn(T,D,F){if(g)if(T){if(Object.keys(T[0].params).length>0)return{active:!0,matches:$i(D,F,p,!0)}}else return{active:!0,matches:$i(D,F,p,!0)||[]};return{active:!1,matches:null}}async function zn(T,D,F){if(!g)return{type:"success",matches:T};let W=T;for(;;){let te=d==null,ce=d||c,we=u;try{await g({path:D,matches:W,patch:(q,Se)=>{F.aborted||Ed(q,Se,ce,we,s)}})}catch(q){return{type:"error",error:q,partialMatches:W}}finally{te&&!F.aborted&&(c=[...c])}if(F.aborted)return{type:"aborted"};let re=Nr(ce,D,p);if(re)return{type:"success",matches:re};let ie=$i(ce,D,p,!0);if(!ie||W.length===ie.length&&W.every((q,Se)=>q.route.id===ie[Se].route.id))return{type:"success",matches:null};W=ie}}function Lr(T){u={},d=Qi(T,s,void 0,u)}function eo(T,D){let F=d==null;Ed(T,D,d||c,u,s),F&&(c=[...c],ye({}))}return B={get basename(){return p},get future(){return x},get state(){return _},get routes(){return c},get window(){return o},initialize:_e,subscribe:xe,enableScrollRestoration:Zn,navigate:Fe,fetch:Qt,revalidate:se,createHref:T=>n.history.createHref(T),encodeLocation:T=>n.history.encodeLocation(T),getFetcher:Mn,deleteFetcher:Yn,dispose:Ne,getBlocker:Zr,deleteBlocker:qr,patchRoutes:eo,_internalFetchControllers:ke,_internalSetRoutes:Lr},B}function Jg(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function lu(n,o,i,s,u,c){let d,p;if(u){d=[];for(let g of o)if(d.push(g),g.route.id===u){p=g;break}}else d=o,p=o[o.length-1];let h=gu(s||".",mu(d),yn(n.pathname,i)||n.pathname,c==="path");if(s==null&&(h.search=n.search,h.hash=n.hash),(s==null||s===""||s===".")&&p){let g=yu(h.search);if(p.route.index&&!g)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!p.route.index&&g){let x=new URLSearchParams(h.search),S=x.getAll("index");x.delete("index"),S.filter(P=>P).forEach(P=>x.append("index",P));let y=x.toString();h.search=y?`?${y}`:""}}return i!=="/"&&(h.pathname=h.pathname==="/"?i:Ln([i,h.pathname])),Rr(h)}function yd(n,o,i){if(!i||!Jg(i))return{path:o};if(i.formMethod&&!uv(i.formMethod))return{path:o,error:rn(405,{method:i.formMethod})};let s=()=>({path:o,error:rn(400,{type:"invalid-body"})}),c=(i.formMethod||"get").toUpperCase(),d=dp(o);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!gn(c))return s();let S=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((y,[P,N])=>`${y}${P}=${N} +`,""):String(i.body);return{path:o,submission:{formMethod:c,formAction:d,formEncType:i.formEncType,formData:void 0,json:void 0,text:S}}}else if(i.formEncType==="application/json"){if(!gn(c))return s();try{let S=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:o,submission:{formMethod:c,formAction:d,formEncType:i.formEncType,formData:void 0,json:S,text:void 0}}}catch{return s()}}}De(typeof FormData=="function","FormData is not available in this environment");let p,h;if(i.formData)p=au(i.formData),h=i.formData;else if(i.body instanceof FormData)p=au(i.body),h=i.body;else if(i.body instanceof URLSearchParams)p=i.body,h=kd(p);else if(i.body==null)p=new URLSearchParams,h=new FormData;else try{p=new URLSearchParams(i.body),h=kd(p)}catch{return s()}let g={formMethod:c,formAction:d,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(gn(g.formMethod))return{path:o,submission:g};let x=_r(o);return n&&x.search&&yu(x.search)&&p.append("index",""),x.search=`?${p}`,{path:Rr(x),submission:g}}function xd(n,o,i=!1){let s=n.findIndex(u=>u.route.id===o);return s>=0?n.slice(0,i?s+1:s):n}function wd(n,o,i,s,u,c,d,p,h,g,x,S,y,P){let N=P?Gt(P[1])?P[1].error:P[1].data:void 0,w=n.createURL(o.location),R=n.createURL(u),E=i;c&&o.errors?E=xd(i,Object.keys(o.errors)[0],!0):P&&Gt(P[1])&&(E=xd(i,P[0]));let O=P?P[1].statusCode:void 0,I=O&&O>=400,B=E.filter((Q,$)=>{let{route:G}=Q;if(G.lazy)return!0;if(G.loader==null)return!1;if(c)return iu(G,o.loaderData,o.errors);if(Zg(o.loaderData,o.matches[$],Q))return!0;let Z=o.matches[$],ue=Q;return Sd(Q,{currentUrl:w,currentParams:Z.params,nextUrl:R,nextParams:ue.params,...s,actionResult:N,actionStatus:O,defaultShouldRevalidate:I?!1:d||w.pathname+w.search===R.pathname+R.search||w.search!==R.search||qg(Z,ue)})}),_=[];return g.forEach((Q,$)=>{if(c||!i.some(de=>de.route.id===Q.routeId)||h.has($))return;let G=Nr(S,Q.path,y);if(!G){_.push({key:$,routeId:Q.routeId,path:Q.path,matches:null,match:null,controller:null});return}let Z=o.fetchers.get($),ue=xl(G,Q.path),ve=!1;x.has($)?ve=!1:p.has($)?(p.delete($),ve=!0):Z&&Z.state!=="idle"&&Z.data===void 0?ve=d:ve=Sd(ue,{currentUrl:w,currentParams:o.matches[o.matches.length-1].params,nextUrl:R,nextParams:i[i.length-1].params,...s,actionResult:N,actionStatus:O,defaultShouldRevalidate:I?!1:d}),ve&&_.push({key:$,routeId:Q.routeId,path:Q.path,matches:G,match:ue,controller:new AbortController})}),[B,_]}function iu(n,o,i){if(n.lazy)return!0;if(!n.loader)return!1;let s=o!=null&&o[n.id]!==void 0,u=i!=null&&i[n.id]!==void 0;return!s&&u?!1:typeof n.loader=="function"&&n.loader.hydrate===!0?!0:!s&&!u}function Zg(n,o,i){let s=!o||i.route.id!==o.route.id,u=!n.hasOwnProperty(i.route.id);return s||u}function qg(n,o){let i=n.route.path;return n.pathname!==o.pathname||i!=null&&i.endsWith("*")&&n.params["*"]!==o.params["*"]}function Sd(n,o){if(n.route.shouldRevalidate){let i=n.route.shouldRevalidate(o);if(typeof i=="boolean")return i}return o.defaultShouldRevalidate}function Ed(n,o,i,s,u){let c;if(n){let h=s[n];De(h,`No route found to patch children into: routeId = ${n}`),h.children||(h.children=[]),c=h.children}else c=i;let d=o.filter(h=>!c.some(g=>fp(h,g))),p=Qi(d,u,[n||"_","patch",String((c==null?void 0:c.length)||"0")],s);c.push(...p)}function fp(n,o){return"id"in n&&"id"in o&&n.id===o.id?!0:n.index===o.index&&n.path===o.path&&n.caseSensitive===o.caseSensitive?(!n.children||n.children.length===0)&&(!o.children||o.children.length===0)?!0:n.children.every((i,s)=>{var u;return(u=o.children)==null?void 0:u.some(c=>fp(i,c))}):!1}async function ev(n,o,i){if(!n.lazy)return;let s=await n.lazy();if(!n.lazy)return;let u=i[n.id];De(u,"No route found in manifest");let c={};for(let d in s){let h=u[d]!==void 0&&d!=="hasErrorBoundary";xt(!h,`Route "${u.id}" has a static property "${d}" defined but its lazy function is also returning a value for this property. The lazy route property "${d}" will be ignored.`),!h&&!Cg.has(d)&&(c[d]=s[d])}Object.assign(u,c),Object.assign(u,{...o(u),lazy:void 0})}async function tv({matches:n}){let o=n.filter(s=>s.shouldLoad);return(await Promise.all(o.map(s=>s.resolve()))).reduce((s,u,c)=>Object.assign(s,{[o[c].route.id]:u}),{})}async function nv(n,o,i,s,u,c,d,p,h,g){let x=c.map(P=>P.route.lazy?ev(P.route,h,p):void 0),S=c.map((P,N)=>{let w=x[N],R=u.some(O=>O.route.id===P.route.id);return{...P,shouldLoad:R,resolve:async O=>(O&&s.method==="GET"&&(P.route.lazy||P.route.loader)&&(R=!0),R?rv(o,s,P,w,O,g):Promise.resolve({type:"data",result:void 0}))}}),y=await n({matches:S,request:s,params:c[0].params,fetcherKey:d,context:g});try{await Promise.all(x)}catch{}return y}async function rv(n,o,i,s,u,c){let d,p,h=g=>{let x,S=new Promise((N,w)=>x=w);p=()=>x(),o.signal.addEventListener("abort",p);let y=N=>typeof g!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${n}" [routeId: ${i.route.id}]`)):g({request:o,params:i.params,context:c},...N!==void 0?[N]:[]),P=(async()=>{try{return{type:"data",result:await(u?u(w=>y(w)):y())}}catch(N){return{type:"error",result:N}}})();return Promise.race([P,S])};try{let g=i.route[n];if(s)if(g){let x,[S]=await Promise.all([h(g).catch(y=>{x=y}),s]);if(x!==void 0)throw x;d=S}else if(await s,g=i.route[n],g)d=await h(g);else if(n==="action"){let x=new URL(o.url),S=x.pathname+x.search;throw rn(405,{method:o.method,pathname:S,routeId:i.route.id})}else return{type:"data",result:void 0};else if(g)d=await h(g);else{let x=new URL(o.url),S=x.pathname+x.search;throw rn(404,{pathname:S})}}catch(g){return{type:"error",result:g}}finally{p&&o.signal.removeEventListener("abort",p)}return d}async function ov(n){var s,u,c,d;let{result:o,type:i}=n;if(pp(o)){let p;try{let h=o.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?o.body==null?p=null:p=await o.json():p=await o.text()}catch(h){return{type:"error",error:h}}return i==="error"?{type:"error",error:new Yi(o.status,o.statusText,p),statusCode:o.status,headers:o.headers}:{type:"data",data:p,statusCode:o.status,headers:o.headers}}if(i==="error"){if(Ld(o)){if(o.data instanceof Error)return{type:"error",error:o.data,statusCode:(s=o.init)==null?void 0:s.status};o=new Yi(((u=o.init)==null?void 0:u.status)||500,void 0,o.data)}return{type:"error",error:o,statusCode:qi(o)?o.status:void 0}}return Ld(o)?{type:"data",data:o.data,statusCode:(c=o.init)==null?void 0:c.status,headers:(d=o.init)!=null&&d.headers?new Headers(o.init.headers):void 0}:{type:"data",data:o}}function lv(n,o,i,s,u){let c=n.headers.get("Location");if(De(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!vu.test(c)){let d=s.slice(0,s.findIndex(p=>p.route.id===i)+1);c=lu(new URL(o.url),d,u,c),n.headers.set("Location",c)}return n}function Cd(n,o,i){if(vu.test(n)){let s=n,u=s.startsWith("//")?new URL(o.protocol+s):new URL(s),c=yn(u.pathname,i)!=null;if(u.origin===o.origin&&c)return u.pathname+u.search+u.hash}return n}function Po(n,o,i,s){let u=n.createURL(dp(o)).toString(),c={signal:i};if(s&&gn(s.formMethod)){let{formMethod:d,formEncType:p}=s;c.method=d.toUpperCase(),p==="application/json"?(c.headers=new Headers({"Content-Type":p}),c.body=JSON.stringify(s.json)):p==="text/plain"?c.body=s.text:p==="application/x-www-form-urlencoded"&&s.formData?c.body=au(s.formData):c.body=s.formData}return new Request(u,c)}function au(n){let o=new URLSearchParams;for(let[i,s]of n.entries())o.append(i,typeof s=="string"?s:s.name);return o}function kd(n){let o=new FormData;for(let[i,s]of n.entries())o.append(i,s);return o}function iv(n,o,i,s=!1,u=!1){let c={},d=null,p,h=!1,g={},x=i&&Gt(i[1])?i[1].error:void 0;return n.forEach(S=>{if(!(S.route.id in o))return;let y=S.route.id,P=o[y];if(De(!Hr(P),"Cannot handle redirect results in processLoaderData"),Gt(P)){let N=P.error;if(x!==void 0&&(N=x,x=void 0),d=d||{},u)d[y]=N;else{let w=Wr(n,y);d[w.route.id]==null&&(d[w.route.id]=N)}s||(c[y]=cp),h||(h=!0,p=qi(P.error)?P.error.status:500),P.headers&&(g[y]=P.headers)}else c[y]=P.data,P.statusCode&&P.statusCode!==200&&!h&&(p=P.statusCode),P.headers&&(g[y]=P.headers)}),x!==void 0&&i&&(d={[i[0]]:x},c[i[0]]=void 0),{loaderData:c,errors:d,statusCode:p||200,loaderHeaders:g}}function Nd(n,o,i,s,u,c){let{loaderData:d,errors:p}=iv(o,i,s);return u.forEach(h=>{let{key:g,match:x,controller:S}=h,y=c[g];if(De(y,"Did not find corresponding fetcher result"),!(S&&S.signal.aborted))if(Gt(y)){let P=Wr(n.matches,x==null?void 0:x.route.id);p&&p[P.route.id]||(p={...p,[P.route.id]:y.error}),n.fetchers.delete(g)}else if(Hr(y))De(!1,"Unhandled fetcher revalidation redirect");else{let P=Cr(y.data);n.fetchers.set(g,P)}}),{loaderData:d,errors:p}}function Pd(n,o,i,s){let u=Object.entries(o).filter(([,c])=>c!==cp).reduce((c,[d,p])=>(c[d]=p,c),{});for(let c of i){let d=c.route.id;if(!o.hasOwnProperty(d)&&n.hasOwnProperty(d)&&c.route.loader&&(u[d]=n[d]),s&&s.hasOwnProperty(d))break}return u}function Rd(n){return n?Gt(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function Wr(n,o){return(o?n.slice(0,n.findIndex(s=>s.route.id===o)+1):[...n]).reverse().find(s=>s.route.hasErrorBoundary===!0)||n[0]}function _d(n){let o=n.length===1?n[0]:n.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:o}],route:o}}function rn(n,{pathname:o,routeId:i,method:s,type:u,message:c}={}){let d="Unknown Server Error",p="Unknown @remix-run/router error";return n===400?(d="Bad Request",s&&o&&i?p=`You made a ${s} request to "${o}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:u==="invalid-body"&&(p="Unable to encode submission body")):n===403?(d="Forbidden",p=`Route "${i}" does not match URL "${o}"`):n===404?(d="Not Found",p=`No route matches URL "${o}"`):n===405&&(d="Method Not Allowed",s&&o&&i?p=`You made a ${s.toUpperCase()} request to "${o}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:s&&(p=`Invalid request method "${s.toUpperCase()}"`)),new Yi(n||500,d,new Error(p),!0)}function Oi(n){let o=Object.entries(n);for(let i=o.length-1;i>=0;i--){let[s,u]=o[i];if(Hr(u))return{key:s,result:u}}}function dp(n){let o=typeof n=="string"?_r(n):n;return Rr({...o,hash:""})}function av(n,o){return n.pathname!==o.pathname||n.search!==o.search?!1:n.hash===""?o.hash!=="":n.hash===o.hash?!0:o.hash!==""}function sv(n){return pp(n.result)&&Gg.has(n.result.status)}function Gt(n){return n.type==="error"}function Hr(n){return(n&&n.type)==="redirect"}function Ld(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function pp(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function uv(n){return Hg.has(n.toUpperCase())}function gn(n){return Vg.has(n.toUpperCase())}function yu(n){return new URLSearchParams(n).getAll("index").some(o=>o==="")}function xl(n,o){let i=typeof o=="string"?_r(o).search:o.search;if(n[n.length-1].route.index&&yu(i||""))return n[n.length-1];let s=ap(n);return s[s.length-1]}function Td(n){let{formMethod:o,formAction:i,formEncType:s,text:u,formData:c,json:d}=n;if(!(!o||!i||!s)){if(u!=null)return{formMethod:o,formAction:i,formEncType:s,formData:void 0,json:void 0,text:u};if(c!=null)return{formMethod:o,formAction:i,formEncType:s,formData:c,json:void 0,text:void 0};if(d!==void 0)return{formMethod:o,formAction:i,formEncType:s,formData:void 0,json:d,text:void 0}}}function Ks(n,o){return o?{state:"loading",location:n,formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text}:{state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function cv(n,o){return{state:"submitting",location:n,formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text}}function ml(n,o){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:o}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:o}}function fv(n,o){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:o?o.data:void 0}}function Cr(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function dv(n,o){try{let i=n.sessionStorage.getItem(up);if(i){let s=JSON.parse(i);for(let[u,c]of Object.entries(s||{}))c&&Array.isArray(c)&&o.set(u,new Set(c||[]))}}catch{}}function pv(n,o){if(o.size>0){let i={};for(let[s,u]of o)i[s]=[...u];try{n.sessionStorage.setItem(up,JSON.stringify(i))}catch(s){xt(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function hv(){let n,o,i=new Promise((s,u)=>{n=async c=>{s(c);try{await i}catch{}},o=async c=>{u(c);try{await i}catch{}}});return{promise:i,resolve:n,reject:o}}var Yr=v.createContext(null);Yr.displayName="DataRouter";var Pl=v.createContext(null);Pl.displayName="DataRouterState";var xu=v.createContext({isTransitioning:!1});xu.displayName="ViewTransition";var hp=v.createContext(new Map);hp.displayName="Fetchers";var mv=v.createContext(null);mv.displayName="Await";var Tn=v.createContext(null);Tn.displayName="Navigation";var ea=v.createContext(null);ea.displayName="Location";var jn=v.createContext({outlet:null,matches:[],isDataRoute:!1});jn.displayName="Route";var wu=v.createContext(null);wu.displayName="RouteError";function gv(n,{relative:o}={}){De(Rl(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:s}=v.useContext(Tn),{hash:u,pathname:c,search:d}=_l(n,{relative:o}),p=c;return i!=="/"&&(p=c==="/"?i:Ln([i,c])),s.createHref({pathname:p,search:d,hash:u})}function Rl(){return v.useContext(ea)!=null}function Xr(){return De(Rl(),"useLocation() may be used only in the context of a component."),v.useContext(ea).location}var mp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function gp(n){v.useContext(Tn).static||v.useLayoutEffect(n)}function vv(){let{isDataRoute:n}=v.useContext(jn);return n?bv():yv()}function yv(){De(Rl(),"useNavigate() may be used only in the context of a component.");let n=v.useContext(Yr),{basename:o,navigator:i}=v.useContext(Tn),{matches:s}=v.useContext(jn),{pathname:u}=Xr(),c=JSON.stringify(mu(s)),d=v.useRef(!1);return gp(()=>{d.current=!0}),v.useCallback((h,g={})=>{if(xt(d.current,mp),!d.current)return;if(typeof h=="number"){i.go(h);return}let x=gu(h,JSON.parse(c),u,g.relative==="path");n==null&&o!=="/"&&(x.pathname=x.pathname==="/"?o:Ln([o,x.pathname])),(g.replace?i.replace:i.push)(x,g.state,g)},[o,i,c,u,n])}var xv=v.createContext(null);function wv(n){let o=v.useContext(jn).outlet;return o&&v.createElement(xv.Provider,{value:n},o)}function _l(n,{relative:o}={}){let{matches:i}=v.useContext(jn),{pathname:s}=Xr(),u=JSON.stringify(mu(i));return v.useMemo(()=>gu(n,JSON.parse(u),s,o==="path"),[n,u,s,o])}function Sv(n,o,i,s){De(Rl(),"useRoutes() may be used only in the context of a component.");let{navigator:u}=v.useContext(Tn),{matches:c}=v.useContext(jn),d=c[c.length-1],p=d?d.params:{},h=d?d.pathname:"/",g=d?d.pathnameBase:"/",x=d&&d.route;{let E=x&&x.path||"";vp(h,!x||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${h}" (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 S=Xr(),y;y=S;let P=y.pathname||"/",N=P;if(g!=="/"){let E=g.replace(/^\//,"").split("/");N="/"+P.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=Nr(n,{pathname:N});return xt(x||w!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),xt(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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.`),Pv(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},p,E.params),pathname:Ln([g,u.encodeLocation?u.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?g:Ln([g,u.encodeLocation?u.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),c,i,s)}function Ev(){let n=jv(),o=qi(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:c},"ErrorBoundary")," or"," ",v.createElement("code",{style:c},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},o),i?v.createElement("pre",{style:u},i):null,d)}var Cv=v.createElement(Ev,null),kv=class extends v.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,o){return o.location!==n.location||o.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:o.error,location:o.location,revalidation:n.revalidation||o.revalidation}}componentDidCatch(n,o){console.error("React Router caught the following error during render",n,o)}render(){return this.state.error!==void 0?v.createElement(jn.Provider,{value:this.props.routeContext},v.createElement(wu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Nv({routeContext:n,match:o,children:i}){let s=v.useContext(Yr);return s&&s.static&&s.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=o.route.id),v.createElement(jn.Provider,{value:n},i)}function Pv(n,o=[],i=null,s=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(o.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let u=n,c=i==null?void 0:i.errors;if(c!=null){let h=u.findIndex(g=>g.route.id&&(c==null?void 0:c[g.route.id])!==void 0);De(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),u=u.slice(0,Math.min(u.length,h+1))}let d=!1,p=-1;if(i)for(let h=0;h=0?u=u.slice(0,p+1):u=[u[0]];break}}}return u.reduceRight((h,g,x)=>{let S,y=!1,P=null,N=null;i&&(S=c&&g.route.id?c[g.route.id]:void 0,P=g.route.errorElement||Cv,d&&(p<0&&x===0?(vp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,N=null):p===x&&(y=!0,N=g.route.hydrateFallbackElement||null)));let w=o.concat(u.slice(0,x+1)),R=()=>{let E;return S?E=P:y?E=N:g.route.Component?E=v.createElement(g.route.Component,null):g.route.element?E=g.route.element:E=h,v.createElement(Nv,{match:g,routeContext:{outlet:h,matches:w,isDataRoute:i!=null},children:E})};return i&&(g.route.ErrorBoundary||g.route.errorElement||x===0)?v.createElement(kv,{location:i.location,revalidation:i.revalidation,component:P,error:S,children:R(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):R()},null)}function Su(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rv(n){let o=v.useContext(Yr);return De(o,Su(n)),o}function _v(n){let o=v.useContext(Pl);return De(o,Su(n)),o}function Lv(n){let o=v.useContext(jn);return De(o,Su(n)),o}function Eu(n){let o=Lv(n),i=o.matches[o.matches.length-1];return De(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function Tv(){return Eu("useRouteId")}function jv(){var s;let n=v.useContext(wu),o=_v("useRouteError"),i=Eu("useRouteError");return n!==void 0?n:(s=o.errors)==null?void 0:s[i]}function bv(){let{router:n}=Rv("useNavigate"),o=Eu("useNavigate"),i=v.useRef(!1);return gp(()=>{i.current=!0}),v.useCallback(async(u,c={})=>{xt(i.current,mp),i.current&&(typeof u=="number"?n.navigate(u):await n.navigate(u,{fromRouteId:o,...c}))},[n,o])}var jd={};function vp(n,o,i){!o&&!jd[n]&&(jd[n]=!0,xt(!1,i))}var bd={};function Dd(n,o){!n&&!bd[o]&&(bd[o]=!0,console.warn(o))}function Dv(n){let o={hasErrorBoundary:n.hasErrorBoundary||n.ErrorBoundary!=null||n.errorElement!=null};return n.Component&&(n.element&&xt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(o,{element:v.createElement(n.Component),Component:void 0})),n.HydrateFallback&&(n.hydrateFallbackElement&&xt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(o,{hydrateFallbackElement:v.createElement(n.HydrateFallback),HydrateFallback:void 0})),n.ErrorBoundary&&(n.errorElement&&xt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(o,{errorElement:v.createElement(n.ErrorBoundary),ErrorBoundary:void 0})),o}var Mv=class{constructor(){this.status="pending",this.promise=new Promise((n,o)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",n(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",o(i))}})}};function Ov({router:n,flushSync:o}){let[i,s]=v.useState(n.state),[u,c]=v.useState(),[d,p]=v.useState({isTransitioning:!1}),[h,g]=v.useState(),[x,S]=v.useState(),[y,P]=v.useState(),N=v.useRef(new Map),w=v.useCallback((I,{deletedFetchers:B,flushSync:_,viewTransitionOpts:Q})=>{I.fetchers.forEach((G,Z)=>{G.data!==void 0&&N.current.set(Z,G.data)}),B.forEach(G=>N.current.delete(G)),Dd(_===!1||o!=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 $=n.window!=null&&n.window.document!=null&&typeof n.window.document.startViewTransition=="function";if(Dd(Q==null||$,"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."),!Q||!$){o&&_?o(()=>s(I)):v.startTransition(()=>s(I));return}if(o&&_){o(()=>{x&&(h&&h.resolve(),x.skipTransition()),p({isTransitioning:!0,flushSync:!0,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})});let G=n.window.document.startViewTransition(()=>{o(()=>s(I))});G.finished.finally(()=>{o(()=>{g(void 0),S(void 0),c(void 0),p({isTransitioning:!1})})}),o(()=>S(G));return}x?(h&&h.resolve(),x.skipTransition(),P({state:I,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})):(c(I),p({isTransitioning:!0,flushSync:!1,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation}))},[n.window,o,x,h]);v.useLayoutEffect(()=>n.subscribe(w),[n,w]),v.useEffect(()=>{d.isTransitioning&&!d.flushSync&&g(new Mv)},[d]),v.useEffect(()=>{if(h&&u&&n.window){let I=u,B=h.promise,_=n.window.document.startViewTransition(async()=>{v.startTransition(()=>s(I)),await B});_.finished.finally(()=>{g(void 0),S(void 0),c(void 0),p({isTransitioning:!1})}),S(_)}},[u,h,n.window]),v.useEffect(()=>{h&&u&&i.location.key===u.location.key&&h.resolve()},[h,x,i.location,u]),v.useEffect(()=>{!d.isTransitioning&&y&&(c(y.state),p({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),P(void 0))},[d.isTransitioning,y]);let R=v.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:I=>n.navigate(I),push:(I,B,_)=>n.navigate(I,{state:B,preventScrollReset:_==null?void 0:_.preventScrollReset}),replace:(I,B,_)=>n.navigate(I,{replace:!0,state:B,preventScrollReset:_==null?void 0:_.preventScrollReset})}),[n]),E=n.basename||"/",O=v.useMemo(()=>({router:n,navigator:R,static:!1,basename:E}),[n,R,E]);return v.createElement(v.Fragment,null,v.createElement(Yr.Provider,{value:O},v.createElement(Pl.Provider,{value:i},v.createElement(hp.Provider,{value:N.current},v.createElement(xu.Provider,{value:d},v.createElement(Fv,{basename:E,location:i.location,navigationType:i.historyAction,navigator:R},v.createElement(zv,{routes:n.routes,future:n.future,state:i})))))),null)}var zv=v.memo(Iv);function Iv({routes:n,future:o,state:i}){return Sv(n,void 0,i,o)}function Av(n){return wv(n.context)}function Fv({basename:n="/",children:o=null,location:i,navigationType:s="POP",navigator:u,static:c=!1}){De(!Rl(),"You cannot render a inside another . You should never have more than one in your app.");let d=n.replace(/^\/*/,"/"),p=v.useMemo(()=>({basename:d,navigator:u,static:c,future:{}}),[d,u,c]);typeof i=="string"&&(i=_r(i));let{pathname:h="/",search:g="",hash:x="",state:S=null,key:y="default"}=i,P=v.useMemo(()=>{let N=yn(h,d);return N==null?null:{location:{pathname:N,search:g,hash:x,state:S,key:y},navigationType:s}},[d,h,g,x,S,y,s]);return xt(P!=null,` is not able to match the URL "${h}${g}${x}" because it does not start with the basename, so the won't render anything.`),P==null?null:v.createElement(Tn.Provider,{value:p},v.createElement(ea.Provider,{children:o,value:P}))}var Vi="get",Wi="application/x-www-form-urlencoded";function ta(n){return n!=null&&typeof n.tagName=="string"}function Uv(n){return ta(n)&&n.tagName.toLowerCase()==="button"}function Bv(n){return ta(n)&&n.tagName.toLowerCase()==="form"}function $v(n){return ta(n)&&n.tagName.toLowerCase()==="input"}function Vv(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function Wv(n,o){return n.button===0&&(!o||o==="_self")&&!Vv(n)}var zi=null;function Hv(){if(zi===null)try{new FormData(document.createElement("form"),0),zi=!1}catch{zi=!0}return zi}var Gv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ys(n){return n!=null&&!Gv.has(n)?(xt(!1,`"${n}" is not a valid \`encType\` for \`\`/\`\` and will default to "${Wi}"`),null):n}function Qv(n,o){let i,s,u,c,d;if(Bv(n)){let p=n.getAttribute("action");s=p?yn(p,o):null,i=n.getAttribute("method")||Vi,u=Ys(n.getAttribute("enctype"))||Wi,c=new FormData(n)}else if(Uv(n)||$v(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a or without a ');let h=n.getAttribute("formaction")||p.getAttribute("action");if(s=h?yn(h,o):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Vi,u=Ys(n.getAttribute("formenctype"))||Ys(p.getAttribute("enctype"))||Wi,c=new FormData(p,n),!Hv()){let{name:g,type:x,value:S}=n;if(x==="image"){let y=g?`${g}.`:"";c.append(`${y}x`,"0"),c.append(`${y}y`,"0")}else g&&c.append(g,S)}}else{if(ta(n))throw new Error('Cannot submit element that is not , , or ');i=Vi,s=null,u=Wi,d=n}return c&&u==="text/plain"&&(d=c,c=void 0),{action:s,method:i.toLowerCase(),encType:u,formData:c,body:d}}function Cu(n,o){if(n===!1||n===null||typeof n>"u")throw new Error(o)}async function Kv(n,o){if(n.id in o)return o[n.id];try{let i=await import(n.module);return o[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Yv(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function Xv(n,o,i){let s=await Promise.all(n.map(async u=>{let c=o.routes[u.route.id];if(c){let d=await Kv(c,i);return d.links?d.links():[]}return[]}));return ey(s.flat(1).filter(Yv).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function Md(n,o,i,s,u,c){let d=(h,g)=>i[g]?h.route.id!==i[g].route.id:!0,p=(h,g)=>{var x;return i[g].pathname!==h.pathname||((x=i[g].route.path)==null?void 0:x.endsWith("*"))&&i[g].params["*"]!==h.params["*"]};return c==="assets"?o.filter((h,g)=>d(h,g)||p(h,g)):c==="data"?o.filter((h,g)=>{var S;let x=s.routes[h.route.id];if(!x||!x.hasLoader)return!1;if(d(h,g)||p(h,g))return!0;if(h.route.shouldRevalidate){let y=h.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:((S=i[0])==null?void 0:S.params)||{},nextUrl:new URL(n,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function Jv(n,o){return Zv(n.map(i=>{let s=o.routes[i.route.id];if(!s)return[];let u=[s.module];return s.imports&&(u=u.concat(s.imports)),u}).flat(1))}function Zv(n){return[...new Set(n)]}function qv(n){let o={},i=Object.keys(n).sort();for(let s of i)o[s]=n[s];return o}function ey(n,o){let i=new Set;return new Set(o),n.reduce((s,u)=>{let c=JSON.stringify(qv(u));return i.has(c)||(i.add(c),s.push({key:c,link:u})),s},[])}function ty(n){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return o.pathname==="/"?o.pathname="_root.data":o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function ny(){let n=v.useContext(Yr);return Cu(n,"You must render this element inside a element"),n}function ry(){let n=v.useContext(Pl);return Cu(n,"You must render this element inside a element"),n}var ku=v.createContext(void 0);ku.displayName="FrameworkContext";function yp(){let n=v.useContext(ku);return Cu(n,"You must render this element inside a element"),n}function oy(n,o){let i=v.useContext(ku),[s,u]=v.useState(!1),[c,d]=v.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:g,onMouseLeave:x,onTouchStart:S}=o,y=v.useRef(null);v.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let w=E=>{E.forEach(O=>{d(O.isIntersecting)})},R=new IntersectionObserver(w,{threshold:.5});return y.current&&R.observe(y.current),()=>{R.disconnect()}}},[n]),v.useEffect(()=>{if(s){let w=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(w)}}},[s]);let P=()=>{u(!0)},N=()=>{u(!1),d(!1)};return i?n!=="intent"?[c,y,{}]:[c,y,{onFocus:gl(p,P),onBlur:gl(h,N),onMouseEnter:gl(g,P),onMouseLeave:gl(x,N),onTouchStart:gl(S,P)}]:[!1,y,{}]}function gl(n,o){return i=>{n&&n(i),i.defaultPrevented||o(i)}}function ly({page:n,...o}){let{router:i}=ny(),s=v.useMemo(()=>Nr(i.routes,n,i.basename),[i.routes,n,i.basename]);return s?v.createElement(ay,{page:n,matches:s,...o}):null}function iy(n){let{manifest:o,routeModules:i}=yp(),[s,u]=v.useState([]);return v.useEffect(()=>{let c=!1;return Xv(n,o,i).then(d=>{c||u(d)}),()=>{c=!0}},[n,o,i]),s}function ay({page:n,matches:o,...i}){let s=Xr(),{manifest:u,routeModules:c}=yp(),{loaderData:d,matches:p}=ry(),h=v.useMemo(()=>Md(n,o,p,u,s,"data"),[n,o,p,u,s]),g=v.useMemo(()=>Md(n,o,p,u,s,"assets"),[n,o,p,u,s]),x=v.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let P=new Set,N=!1;if(o.forEach(R=>{var O;let E=u.routes[R.route.id];!E||!E.hasLoader||(!h.some(I=>I.route.id===R.route.id)&&R.route.id in d&&((O=c[R.route.id])!=null&&O.shouldRevalidate)||E.hasClientLoader?N=!0:P.add(R.route.id))}),P.size===0)return[];let w=ty(n);return N&&P.size>0&&w.searchParams.set("_routes",o.filter(R=>P.has(R.route.id)).map(R=>R.route.id).join(",")),[w.pathname+w.search]},[d,s,u,h,o,n,c]),S=v.useMemo(()=>Jv(g,u),[g,u]),y=iy(g);return v.createElement(v.Fragment,null,x.map(P=>v.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...i})),S.map(P=>v.createElement("link",{key:P,rel:"modulepreload",href:P,...i})),y.map(({key:P,link:N})=>v.createElement("link",{key:P,...N})))}function sy(...n){return o=>{n.forEach(i=>{typeof i=="function"?i(o):i!=null&&(i.current=o)})}}var xp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xp&&(window.__reactRouterVersion="7.1.3")}catch{}function uy(n,o){return Xg({basename:o==null?void 0:o.basename,future:o==null?void 0:o.future,history:wg({window:o==null?void 0:o.window}),hydrationData:cy(),routes:n,mapRouteProperties:Dv,dataStrategy:o==null?void 0:o.dataStrategy,patchRoutesOnNavigation:o==null?void 0:o.patchRoutesOnNavigation,window:o==null?void 0:o.window}).initialize()}function cy(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:fy(n.errors)}),n}function fy(n){if(!n)return null;let o=Object.entries(n),i={};for(let[s,u]of o)if(u&&u.__type==="RouteErrorResponse")i[s]=new Yi(u.status,u.statusText,u.data,u.internal===!0);else if(u&&u.__type==="Error"){if(u.__subType){let c=window[u.__subType];if(typeof c=="function")try{let d=new c(u.message);d.stack="",i[s]=d}catch{}}if(i[s]==null){let c=new Error(u.message);c.stack="",i[s]=c}}else i[s]=u;return i}var wp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,At=v.forwardRef(function({onClick:o,discover:i="render",prefetch:s="none",relative:u,reloadDocument:c,replace:d,state:p,target:h,to:g,preventScrollReset:x,viewTransition:S,...y},P){let{basename:N}=v.useContext(Tn),w=typeof g=="string"&&wp.test(g),R,E=!1;if(typeof g=="string"&&w&&(R=g,xp))try{let Z=new URL(window.location.href),ue=g.startsWith("//")?new URL(Z.protocol+g):new URL(g),ve=yn(ue.pathname,N);ue.origin===Z.origin&&ve!=null?g=ve+ue.search+ue.hash:E=!0}catch{xt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=gv(g,{relative:u}),[I,B,_]=oy(s,y),Q=my(g,{replace:d,state:p,target:h,preventScrollReset:x,relative:u,viewTransition:S});function $(Z){o&&o(Z),Z.defaultPrevented||Q(Z)}let G=v.createElement("a",{...y,..._,href:R||O,onClick:E||c?o:$,ref:sy(P,B),target:h,"data-discover":!w&&i==="render"?"true":void 0});return I&&!w?v.createElement(v.Fragment,null,G,v.createElement(ly,{page:O})):G});At.displayName="Link";var dy=v.forwardRef(function({"aria-current":o="page",caseSensitive:i=!1,className:s="",end:u=!1,style:c,to:d,viewTransition:p,children:h,...g},x){let S=_l(d,{relative:g.relative}),y=Xr(),P=v.useContext(Pl),{navigator:N,basename:w}=v.useContext(Tn),R=P!=null&&wy(S)&&p===!0,E=N.encodeLocation?N.encodeLocation(S).pathname:S.pathname,O=y.pathname,I=P&&P.navigation&&P.navigation.location?P.navigation.location.pathname:null;i||(O=O.toLowerCase(),I=I?I.toLowerCase():null,E=E.toLowerCase()),I&&w&&(I=yn(I,w)||I);const B=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let _=O===E||!u&&O.startsWith(E)&&O.charAt(B)==="/",Q=I!=null&&(I===E||!u&&I.startsWith(E)&&I.charAt(E.length)==="/"),$={isActive:_,isPending:Q,isTransitioning:R},G=_?o:void 0,Z;typeof s=="function"?Z=s($):Z=[s,_?"active":null,Q?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let ue=typeof c=="function"?c($):c;return v.createElement(At,{...g,"aria-current":G,className:Z,ref:x,style:ue,to:d,viewTransition:p},typeof h=="function"?h($):h)});dy.displayName="NavLink";var py=v.forwardRef(({discover:n="render",fetcherKey:o,navigate:i,reloadDocument:s,replace:u,state:c,method:d=Vi,action:p,onSubmit:h,relative:g,preventScrollReset:x,viewTransition:S,...y},P)=>{let N=yy(),w=xy(p,{relative:g}),R=d.toLowerCase()==="get"?"get":"post",E=typeof p=="string"&&wp.test(p),O=I=>{if(h&&h(I),I.defaultPrevented)return;I.preventDefault();let B=I.nativeEvent.submitter,_=(B==null?void 0:B.getAttribute("formmethod"))||d;N(B||I.currentTarget,{fetcherKey:o,method:_,navigate:i,replace:u,state:c,relative:g,preventScrollReset:x,viewTransition:S})};return v.createElement("form",{ref:P,method:R,action:w,onSubmit:s?h:O,...y,"data-discover":!E&&n==="render"?"true":void 0})});py.displayName="Form";function hy(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Sp(n){let o=v.useContext(Yr);return De(o,hy(n)),o}function my(n,{target:o,replace:i,state:s,preventScrollReset:u,relative:c,viewTransition:d}={}){let p=vv(),h=Xr(),g=_l(n,{relative:c});return v.useCallback(x=>{if(Wv(x,o)){x.preventDefault();let S=i!==void 0?i:Rr(h)===Rr(g);p(n,{replace:S,state:s,preventScrollReset:u,relative:c,viewTransition:d})}},[h,p,g,i,s,o,n,u,c,d])}var gy=0,vy=()=>`__${String(++gy)}__`;function yy(){let{router:n}=Sp("useSubmit"),{basename:o}=v.useContext(Tn),i=Tv();return v.useCallback(async(s,u={})=>{let{action:c,method:d,encType:p,formData:h,body:g}=Qv(s,o);if(u.navigate===!1){let x=u.fetcherKey||vy();await n.fetch(x,i,u.action||c,{preventScrollReset:u.preventScrollReset,formData:h,body:g,formMethod:u.method||d,formEncType:u.encType||p,flushSync:u.flushSync})}else await n.navigate(u.action||c,{preventScrollReset:u.preventScrollReset,formData:h,body:g,formMethod:u.method||d,formEncType:u.encType||p,replace:u.replace,state:u.state,fromRouteId:i,flushSync:u.flushSync,viewTransition:u.viewTransition})},[n,o,i])}function xy(n,{relative:o}={}){let{basename:i}=v.useContext(Tn),s=v.useContext(jn);De(s,"useFormAction must be used inside a RouteContext");let[u]=s.matches.slice(-1),c={..._l(n||".",{relative:o})},d=Xr();if(n==null){c.search=d.search;let p=new URLSearchParams(c.search),h=p.getAll("index");if(h.some(x=>x==="")){p.delete("index"),h.filter(S=>S).forEach(S=>p.append("index",S));let x=p.toString();c.search=x?`?${x}`:""}}return(!n||n===".")&&u.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:Ln([i,c.pathname])),Rr(c)}function wy(n,o={}){let i=v.useContext(xu);De(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Sp("useViewTransitionState"),u=_l(n,{relative:o.relative});if(!i.isTransitioning)return!1;let c=yn(i.currentLocation.pathname,s)||i.currentLocation.pathname,d=yn(i.nextLocation.pathname,s)||i.nextLocation.pathname;return Ki(u.pathname,d)!=null||Ki(u.pathname,c)!=null}new TextEncoder;var Nu=op();const Sy=rp(Nu);/** + * react-router v7.1.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ey(n){return v.createElement(Ov,{flushSync:Nu.flushSync,...n})}function Pr(n,o,{checkForDefaultPrevented:i=!0}={}){return function(u){if(n==null||n(u),i===!1||!u.defaultPrevented)return o==null?void 0:o(u)}}function Od(n,o){if(typeof n=="function")return n(o);n!=null&&(n.current=o)}function Ep(...n){return o=>{let i=!1;const s=n.map(u=>{const c=Od(u,o);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let u=0;u{const{children:d,...p}=c,h=v.useMemo(()=>p,Object.values(p));return k.jsx(i.Provider,{value:h,children:d})};s.displayName=n+"Provider";function u(c){const d=v.useContext(i);if(d)return d;if(o!==void 0)return o;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[s,u]}function ky(n,o=[]){let i=[];function s(c,d){const p=v.createContext(d),h=i.length;i=[...i,d];const g=S=>{var E;const{scope:y,children:P,...N}=S,w=((E=y==null?void 0:y[n])==null?void 0:E[h])||p,R=v.useMemo(()=>N,Object.values(N));return k.jsx(w.Provider,{value:R,children:P})};g.displayName=c+"Provider";function x(S,y){var w;const P=((w=y==null?void 0:y[n])==null?void 0:w[h])||p,N=v.useContext(P);if(N)return N;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${c}\``)}return[g,x]}const u=()=>{const c=i.map(d=>v.createContext(d));return function(p){const h=(p==null?void 0:p[n])||c;return v.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return u.scopeName=n,[s,Ny(u,...o)]}function Ny(...n){const o=n[0];if(n.length===1)return o;const i=()=>{const s=n.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(c){const d=s.reduce((p,{useScope:h,scopeName:g})=>{const S=h(c)[`__scope${g}`];return{...p,...S}},{});return v.useMemo(()=>({[`__scope${o.scopeName}`]:d}),[d])}};return i.scopeName=o.scopeName,i}var Xi=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Py=pg.useId||(()=>{}),Ry=0;function Xs(n){const[o,i]=v.useState(Py());return Xi(()=>{n||i(s=>s??String(Ry++))},[n]),n||(o?`radix-${o}`:"")}function Gr(n){const o=v.useRef(n);return v.useEffect(()=>{o.current=n}),v.useMemo(()=>(...i)=>{var s;return(s=o.current)==null?void 0:s.call(o,...i)},[])}function _y({prop:n,defaultProp:o,onChange:i=()=>{}}){const[s,u]=Ly({defaultProp:o,onChange:i}),c=n!==void 0,d=c?n:s,p=Gr(i),h=v.useCallback(g=>{if(c){const S=typeof g=="function"?g(n):g;S!==n&&p(S)}else u(g)},[c,n,u,p]);return[d,h]}function Ly({defaultProp:n,onChange:o}){const i=v.useState(n),[s]=i,u=v.useRef(s),c=Gr(o);return v.useEffect(()=>{u.current!==s&&(c(s),u.current=s)},[s,u,c]),i}var na=v.forwardRef((n,o)=>{const{children:i,...s}=n,u=v.Children.toArray(i),c=u.find(jy);if(c){const d=c.props.children,p=u.map(h=>h===c?v.Children.count(d)>1?v.Children.only(null):v.isValidElement(d)?d.props.children:null:h);return k.jsx(su,{...s,ref:o,children:v.isValidElement(d)?v.cloneElement(d,void 0,p):null})}return k.jsx(su,{...s,ref:o,children:i})});na.displayName="Slot";var su=v.forwardRef((n,o)=>{const{children:i,...s}=n;if(v.isValidElement(i)){const u=Dy(i);return v.cloneElement(i,{...by(s,i.props),ref:o?Ep(o,u):u})}return v.Children.count(i)>1?v.Children.only(null):null});su.displayName="SlotClone";var Ty=({children:n})=>k.jsx(k.Fragment,{children:n});function jy(n){return v.isValidElement(n)&&n.type===Ty}function by(n,o){const i={...o};for(const s in o){const u=n[s],c=o[s];/^on[A-Z]/.test(s)?u&&c?i[s]=(...p)=>{c(...p),u(...p)}:u&&(i[s]=u):s==="style"?i[s]={...u,...c}:s==="className"&&(i[s]=[u,c].filter(Boolean).join(" "))}return{...n,...i}}function Dy(n){var s,u;let o=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=o&&"isReactWarning"in o&&o.isReactWarning;return i?n.ref:(o=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,i=o&&"isReactWarning"in o&&o.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var My=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Kn=My.reduce((n,o)=>{const i=v.forwardRef((s,u)=>{const{asChild:c,...d}=s,p=c?na:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(p,{...d,ref:u})});return i.displayName=`Primitive.${o}`,{...n,[o]:i}},{});function Oy(n,o){n&&Nu.flushSync(()=>n.dispatchEvent(o))}function zy(n,o=globalThis==null?void 0:globalThis.document){const i=Gr(n);v.useEffect(()=>{const s=u=>{u.key==="Escape"&&i(u)};return o.addEventListener("keydown",s,{capture:!0}),()=>o.removeEventListener("keydown",s,{capture:!0})},[i,o])}var Iy="DismissableLayer",uu="dismissableLayer.update",Ay="dismissableLayer.pointerDownOutside",Fy="dismissableLayer.focusOutside",zd,Cp=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kp=v.forwardRef((n,o)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,onDismiss:p,...h}=n,g=v.useContext(Cp),[x,S]=v.useState(null),y=(x==null?void 0:x.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,P]=v.useState({}),N=Jr(o,$=>S($)),w=Array.from(g.layers),[R]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),E=w.indexOf(R),O=x?w.indexOf(x):-1,I=g.layersWithOutsidePointerEventsDisabled.size>0,B=O>=E,_=$y($=>{const G=$.target,Z=[...g.branches].some(ue=>ue.contains(G));!B||Z||(u==null||u($),d==null||d($),$.defaultPrevented||p==null||p())},y),Q=Vy($=>{const G=$.target;[...g.branches].some(ue=>ue.contains(G))||(c==null||c($),d==null||d($),$.defaultPrevented||p==null||p())},y);return zy($=>{O===g.layers.size-1&&(s==null||s($),!$.defaultPrevented&&p&&($.preventDefault(),p()))},y),v.useEffect(()=>{if(x)return i&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(zd=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(x)),g.layers.add(x),Id(),()=>{i&&g.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=zd)}},[x,y,i,g]),v.useEffect(()=>()=>{x&&(g.layers.delete(x),g.layersWithOutsidePointerEventsDisabled.delete(x),Id())},[x,g]),v.useEffect(()=>{const $=()=>P({});return document.addEventListener(uu,$),()=>document.removeEventListener(uu,$)},[]),k.jsx(Kn.div,{...h,ref:N,style:{pointerEvents:I?B?"auto":"none":void 0,...n.style},onFocusCapture:Pr(n.onFocusCapture,Q.onFocusCapture),onBlurCapture:Pr(n.onBlurCapture,Q.onBlurCapture),onPointerDownCapture:Pr(n.onPointerDownCapture,_.onPointerDownCapture)})});kp.displayName=Iy;var Uy="DismissableLayerBranch",By=v.forwardRef((n,o)=>{const i=v.useContext(Cp),s=v.useRef(null),u=Jr(o,s);return v.useEffect(()=>{const c=s.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),k.jsx(Kn.div,{...n,ref:u})});By.displayName=Uy;function $y(n,o=globalThis==null?void 0:globalThis.document){const i=Gr(n),s=v.useRef(!1),u=v.useRef(()=>{});return v.useEffect(()=>{const c=p=>{if(p.target&&!s.current){let h=function(){Np(Ay,i,g,{discrete:!0})};const g={originalEvent:p};p.pointerType==="touch"?(o.removeEventListener("click",u.current),u.current=h,o.addEventListener("click",u.current,{once:!0})):h()}else o.removeEventListener("click",u.current);s.current=!1},d=window.setTimeout(()=>{o.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(d),o.removeEventListener("pointerdown",c),o.removeEventListener("click",u.current)}},[o,i]),{onPointerDownCapture:()=>s.current=!0}}function Vy(n,o=globalThis==null?void 0:globalThis.document){const i=Gr(n),s=v.useRef(!1);return v.useEffect(()=>{const u=c=>{c.target&&!s.current&&Np(Fy,i,{originalEvent:c},{discrete:!1})};return o.addEventListener("focusin",u),()=>o.removeEventListener("focusin",u)},[o,i]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Id(){const n=new CustomEvent(uu);document.dispatchEvent(n)}function Np(n,o,i,{discrete:s}){const u=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});o&&u.addEventListener(n,o,{once:!0}),s?Oy(u,c):u.dispatchEvent(c)}var Js="focusScope.autoFocusOnMount",Zs="focusScope.autoFocusOnUnmount",Ad={bubbles:!1,cancelable:!0},Wy="FocusScope",Pp=v.forwardRef((n,o)=>{const{loop:i=!1,trapped:s=!1,onMountAutoFocus:u,onUnmountAutoFocus:c,...d}=n,[p,h]=v.useState(null),g=Gr(u),x=Gr(c),S=v.useRef(null),y=Jr(o,w=>h(w)),P=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(s){let w=function(I){if(P.paused||!p)return;const B=I.target;p.contains(B)?S.current=B:kr(S.current,{select:!0})},R=function(I){if(P.paused||!p)return;const B=I.relatedTarget;B!==null&&(p.contains(B)||kr(S.current,{select:!0}))},E=function(I){if(document.activeElement===document.body)for(const _ of I)_.removedNodes.length>0&&kr(p)};document.addEventListener("focusin",w),document.addEventListener("focusout",R);const O=new MutationObserver(E);return p&&O.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",R),O.disconnect()}}},[s,p,P.paused]),v.useEffect(()=>{if(p){Ud.add(P);const w=document.activeElement;if(!p.contains(w)){const E=new CustomEvent(Js,Ad);p.addEventListener(Js,g),p.dispatchEvent(E),E.defaultPrevented||(Hy(Xy(Rp(p)),{select:!0}),document.activeElement===w&&kr(p))}return()=>{p.removeEventListener(Js,g),setTimeout(()=>{const E=new CustomEvent(Zs,Ad);p.addEventListener(Zs,x),p.dispatchEvent(E),E.defaultPrevented||kr(w??document.body,{select:!0}),p.removeEventListener(Zs,x),Ud.remove(P)},0)}}},[p,g,x,P]);const N=v.useCallback(w=>{if(!i&&!s||P.paused)return;const R=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,E=document.activeElement;if(R&&E){const O=w.currentTarget,[I,B]=Gy(O);I&&B?!w.shiftKey&&E===B?(w.preventDefault(),i&&kr(I,{select:!0})):w.shiftKey&&E===I&&(w.preventDefault(),i&&kr(B,{select:!0})):E===O&&w.preventDefault()}},[i,s,P.paused]);return k.jsx(Kn.div,{tabIndex:-1,...d,ref:y,onKeyDown:N})});Pp.displayName=Wy;function Hy(n,{select:o=!1}={}){const i=document.activeElement;for(const s of n)if(kr(s,{select:o}),document.activeElement!==i)return}function Gy(n){const o=Rp(n),i=Fd(o,n),s=Fd(o.reverse(),n);return[i,s]}function Rp(n){const o=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const u=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||u?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)o.push(i.currentNode);return o}function Fd(n,o){for(const i of n)if(!Qy(i,{upTo:o}))return i}function Qy(n,{upTo:o}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(o!==void 0&&n===o)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function Ky(n){return n instanceof HTMLInputElement&&"select"in n}function kr(n,{select:o=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&Ky(n)&&o&&n.select()}}var Ud=Yy();function Yy(){let n=[];return{add(o){const i=n[0];o!==i&&(i==null||i.pause()),n=Bd(n,o),n.unshift(o)},remove(o){var i;n=Bd(n,o),(i=n[0])==null||i.resume()}}}function Bd(n,o){const i=[...n],s=i.indexOf(o);return s!==-1&&i.splice(s,1),i}function Xy(n){return n.filter(o=>o.tagName!=="A")}var Jy="Portal",_p=v.forwardRef((n,o)=>{var p;const{container:i,...s}=n,[u,c]=v.useState(!1);Xi(()=>c(!0),[]);const d=i||u&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return d?Sy.createPortal(k.jsx(Kn.div,{...s,ref:o}),d):null});_p.displayName=Jy;function Zy(n,o){return v.useReducer((i,s)=>o[i][s]??i,n)}var ra=n=>{const{present:o,children:i}=n,s=qy(o),u=typeof i=="function"?i({present:s.isPresent}):v.Children.only(i),c=Jr(s.ref,ex(u));return typeof i=="function"||s.isPresent?v.cloneElement(u,{ref:c}):null};ra.displayName="Presence";function qy(n){const[o,i]=v.useState(),s=v.useRef({}),u=v.useRef(n),c=v.useRef("none"),d=n?"mounted":"unmounted",[p,h]=Zy(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const g=Ii(s.current);c.current=p==="mounted"?g:"none"},[p]),Xi(()=>{const g=s.current,x=u.current;if(x!==n){const y=c.current,P=Ii(g);n?h("MOUNT"):P==="none"||(g==null?void 0:g.display)==="none"?h("UNMOUNT"):h(x&&y!==P?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,h]),Xi(()=>{if(o){let g;const x=o.ownerDocument.defaultView??window,S=P=>{const w=Ii(s.current).includes(P.animationName);if(P.target===o&&w&&(h("ANIMATION_END"),!u.current)){const R=o.style.animationFillMode;o.style.animationFillMode="forwards",g=x.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=R)})}},y=P=>{P.target===o&&(c.current=Ii(s.current))};return o.addEventListener("animationstart",y),o.addEventListener("animationcancel",S),o.addEventListener("animationend",S),()=>{x.clearTimeout(g),o.removeEventListener("animationstart",y),o.removeEventListener("animationcancel",S),o.removeEventListener("animationend",S)}}else h("ANIMATION_END")},[o,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:v.useCallback(g=>{g&&(s.current=getComputedStyle(g)),i(g)},[])}}function Ii(n){return(n==null?void 0:n.animationName)||"none"}function ex(n){var s,u;let o=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=o&&"isReactWarning"in o&&o.isReactWarning;return i?n.ref:(o=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,i=o&&"isReactWarning"in o&&o.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var qs=0;function tx(){v.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??$d()),document.body.insertAdjacentElement("beforeend",n[1]??$d()),qs++,()=>{qs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),qs--}},[])}function $d(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var _n=function(){return _n=Object.assign||function(o){for(var i,s=1,u=arguments.length;s"u")return yx;var o=xx(n),i=document.documentElement.clientWidth,s=window.innerWidth;return{left:o[0],top:o[1],right:o[2],gap:Math.max(0,s-i+o[2]-o[0])}},Sx=bp(),To="data-scroll-locked",Ex=function(n,o,i,s){var u=n.left,c=n.top,d=n.right,p=n.gap;return i===void 0&&(i="margin"),` + .`.concat(rx,` { + overflow: hidden `).concat(s,`; + padding-right: `).concat(p,"px ").concat(s,`; + } + body[`).concat(To,`] { + overflow: hidden `).concat(s,`; + overscroll-behavior: contain; + `).concat([o&&"position: relative ".concat(s,";"),i==="margin"&&` + padding-left: `.concat(u,`px; + padding-top: `).concat(c,`px; + padding-right: `).concat(d,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(p,"px ").concat(s,`; + `),i==="padding"&&"padding-right: ".concat(p,"px ").concat(s,";")].filter(Boolean).join(""),` + } + + .`).concat(Hi,` { + right: `).concat(p,"px ").concat(s,`; + } + + .`).concat(Gi,` { + margin-right: `).concat(p,"px ").concat(s,`; + } + + .`).concat(Hi," .").concat(Hi,` { + right: 0 `).concat(s,`; + } + + .`).concat(Gi," .").concat(Gi,` { + margin-right: 0 `).concat(s,`; + } + + body[`).concat(To,`] { + `).concat(ox,": ").concat(p,`px; + } +`)},Wd=function(){var n=parseInt(document.body.getAttribute(To)||"0",10);return isFinite(n)?n:0},Cx=function(){v.useEffect(function(){return document.body.setAttribute(To,(Wd()+1).toString()),function(){var n=Wd()-1;n<=0?document.body.removeAttribute(To):document.body.setAttribute(To,n.toString())}},[])},kx=function(n){var o=n.noRelative,i=n.noImportant,s=n.gapMode,u=s===void 0?"margin":s;Cx();var c=v.useMemo(function(){return wx(u)},[u]);return v.createElement(Sx,{styles:Ex(c,!o,u,i?"":"!important")})},cu=!1;if(typeof window<"u")try{var Ai=Object.defineProperty({},"passive",{get:function(){return cu=!0,!0}});window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{cu=!1}var Ro=cu?{passive:!1}:!1,Nx=function(n){return n.tagName==="TEXTAREA"},Dp=function(n,o){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[o]!=="hidden"&&!(i.overflowY===i.overflowX&&!Nx(n)&&i[o]==="visible")},Px=function(n){return Dp(n,"overflowY")},Rx=function(n){return Dp(n,"overflowX")},Hd=function(n,o){var i=o.ownerDocument,s=o;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var u=Mp(n,s);if(u){var c=Op(n,s),d=c[1],p=c[2];if(d>p)return!0}s=s.parentNode}while(s&&s!==i.body);return!1},_x=function(n){var o=n.scrollTop,i=n.scrollHeight,s=n.clientHeight;return[o,i,s]},Lx=function(n){var o=n.scrollLeft,i=n.scrollWidth,s=n.clientWidth;return[o,i,s]},Mp=function(n,o){return n==="v"?Px(o):Rx(o)},Op=function(n,o){return n==="v"?_x(o):Lx(o)},Tx=function(n,o){return n==="h"&&o==="rtl"?-1:1},jx=function(n,o,i,s,u){var c=Tx(n,window.getComputedStyle(o).direction),d=c*s,p=i.target,h=o.contains(p),g=!1,x=d>0,S=0,y=0;do{var P=Op(n,p),N=P[0],w=P[1],R=P[2],E=w-R-c*N;(N||E)&&Mp(n,p)&&(S+=E,y+=N),p instanceof ShadowRoot?p=p.host:p=p.parentNode}while(!h&&p!==document.body||h&&(o.contains(p)||o===p));return(x&&Math.abs(S)<1||!x&&Math.abs(y)<1)&&(g=!0),g},Fi=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Gd=function(n){return[n.deltaX,n.deltaY]},Qd=function(n){return n&&"current"in n?n.current:n},bx=function(n,o){return n[0]===o[0]&&n[1]===o[1]},Dx=function(n){return` + .block-interactivity-`.concat(n,` {pointer-events: none;} + .allow-interactivity-`).concat(n,` {pointer-events: all;} +`)},Mx=0,_o=[];function Ox(n){var o=v.useRef([]),i=v.useRef([0,0]),s=v.useRef(),u=v.useState(Mx++)[0],c=v.useState(bp)[0],d=v.useRef(n);v.useEffect(function(){d.current=n},[n]),v.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(u));var w=nx([n.lockRef.current],(n.shards||[]).map(Qd),!0).filter(Boolean);return w.forEach(function(R){return R.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),w.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(u))})}}},[n.inert,n.lockRef.current,n.shards]);var p=v.useCallback(function(w,R){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!d.current.allowPinchZoom;var E=Fi(w),O=i.current,I="deltaX"in w?w.deltaX:O[0]-E[0],B="deltaY"in w?w.deltaY:O[1]-E[1],_,Q=w.target,$=Math.abs(I)>Math.abs(B)?"h":"v";if("touches"in w&&$==="h"&&Q.type==="range")return!1;var G=Hd($,Q);if(!G)return!0;if(G?_=$:(_=$==="v"?"h":"v",G=Hd($,Q)),!G)return!1;if(!s.current&&"changedTouches"in w&&(I||B)&&(s.current=_),!_)return!0;var Z=s.current||_;return jx(Z,R,w,Z==="h"?I:B)},[]),h=v.useCallback(function(w){var R=w;if(!(!_o.length||_o[_o.length-1]!==c)){var E="deltaY"in R?Gd(R):Fi(R),O=o.current.filter(function(_){return _.name===R.type&&(_.target===R.target||R.target===_.shadowParent)&&bx(_.delta,E)})[0];if(O&&O.should){R.cancelable&&R.preventDefault();return}if(!O){var I=(d.current.shards||[]).map(Qd).filter(Boolean).filter(function(_){return _.contains(R.target)}),B=I.length>0?p(R,I[0]):!d.current.noIsolation;B&&R.cancelable&&R.preventDefault()}}},[]),g=v.useCallback(function(w,R,E,O){var I={name:w,delta:R,target:E,should:O,shadowParent:zx(E)};o.current.push(I),setTimeout(function(){o.current=o.current.filter(function(B){return B!==I})},1)},[]),x=v.useCallback(function(w){i.current=Fi(w),s.current=void 0},[]),S=v.useCallback(function(w){g(w.type,Gd(w),w.target,p(w,n.lockRef.current))},[]),y=v.useCallback(function(w){g(w.type,Fi(w),w.target,p(w,n.lockRef.current))},[]);v.useEffect(function(){return _o.push(c),n.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:y}),document.addEventListener("wheel",h,Ro),document.addEventListener("touchmove",h,Ro),document.addEventListener("touchstart",x,Ro),function(){_o=_o.filter(function(w){return w!==c}),document.removeEventListener("wheel",h,Ro),document.removeEventListener("touchmove",h,Ro),document.removeEventListener("touchstart",x,Ro)}},[]);var P=n.removeScrollBar,N=n.inert;return v.createElement(v.Fragment,null,N?v.createElement(c,{styles:Dx(u)}):null,P?v.createElement(kx,{gapMode:n.gapMode}):null)}function zx(n){for(var o=null;n!==null;)n instanceof ShadowRoot&&(o=n.host,n=n.host),n=n.parentNode;return o}const Ix=fx(jp,Ox);var zp=v.forwardRef(function(n,o){return v.createElement(oa,_n({},n,{ref:o,sideCar:Ix}))});zp.classNames=oa.classNames;var Ax=function(n){if(typeof document>"u")return null;var o=Array.isArray(n)?n[0]:n;return o.ownerDocument.body},Lo=new WeakMap,Ui=new WeakMap,Bi={},ru=0,Ip=function(n){return n&&(n.host||Ip(n.parentNode))},Fx=function(n,o){return o.map(function(i){if(n.contains(i))return i;var s=Ip(i);return s&&n.contains(s)?s:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},Ux=function(n,o,i,s){var u=Fx(o,Array.isArray(n)?n:[n]);Bi[i]||(Bi[i]=new WeakMap);var c=Bi[i],d=[],p=new Set,h=new Set(u),g=function(S){!S||p.has(S)||(p.add(S),g(S.parentNode))};u.forEach(g);var x=function(S){!S||h.has(S)||Array.prototype.forEach.call(S.children,function(y){if(p.has(y))x(y);else try{var P=y.getAttribute(s),N=P!==null&&P!=="false",w=(Lo.get(y)||0)+1,R=(c.get(y)||0)+1;Lo.set(y,w),c.set(y,R),d.push(y),w===1&&N&&Ui.set(y,!0),R===1&&y.setAttribute(i,"true"),N||y.setAttribute(s,"true")}catch(E){console.error("aria-hidden: cannot operate on ",y,E)}})};return x(o),p.clear(),ru++,function(){d.forEach(function(S){var y=Lo.get(S)-1,P=c.get(S)-1;Lo.set(S,y),c.set(S,P),y||(Ui.has(S)||S.removeAttribute(s),Ui.delete(S)),P||S.removeAttribute(i)}),ru--,ru||(Lo=new WeakMap,Lo=new WeakMap,Ui=new WeakMap,Bi={})}},Bx=function(n,o,i){i===void 0&&(i="data-aria-hidden");var s=Array.from(Array.isArray(n)?n:[n]),u=Ax(n);return u?(s.push.apply(s,Array.from(u.querySelectorAll("[aria-live]"))),Ux(s,u,i,"aria-hidden")):function(){return null}},Pu="Dialog",[Ap,e1]=ky(Pu),[$x,xn]=Ap(Pu),Fp=n=>{const{__scopeDialog:o,children:i,open:s,defaultOpen:u,onOpenChange:c,modal:d=!0}=n,p=v.useRef(null),h=v.useRef(null),[g=!1,x]=_y({prop:s,defaultProp:u,onChange:c});return k.jsx($x,{scope:o,triggerRef:p,contentRef:h,contentId:Xs(),titleId:Xs(),descriptionId:Xs(),open:g,onOpenChange:x,onOpenToggle:v.useCallback(()=>x(S=>!S),[x]),modal:d,children:i})};Fp.displayName=Pu;var Up="DialogTrigger",Bp=v.forwardRef((n,o)=>{const{__scopeDialog:i,...s}=n,u=xn(Up,i),c=Jr(o,u.triggerRef);return k.jsx(Kn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":Lu(u.open),...s,ref:c,onClick:Pr(n.onClick,u.onOpenToggle)})});Bp.displayName=Up;var Ru="DialogPortal",[Vx,$p]=Ap(Ru,{forceMount:void 0}),Vp=n=>{const{__scopeDialog:o,forceMount:i,children:s,container:u}=n,c=xn(Ru,o);return k.jsx(Vx,{scope:o,forceMount:i,children:v.Children.map(s,d=>k.jsx(ra,{present:i||c.open,children:k.jsx(_p,{asChild:!0,container:u,children:d})}))})};Vp.displayName=Ru;var Ji="DialogOverlay",Wp=v.forwardRef((n,o)=>{const i=$p(Ji,n.__scopeDialog),{forceMount:s=i.forceMount,...u}=n,c=xn(Ji,n.__scopeDialog);return c.modal?k.jsx(ra,{present:s||c.open,children:k.jsx(Wx,{...u,ref:o})}):null});Wp.displayName=Ji;var Wx=v.forwardRef((n,o)=>{const{__scopeDialog:i,...s}=n,u=xn(Ji,i);return k.jsx(zp,{as:na,allowPinchZoom:!0,shards:[u.contentRef],children:k.jsx(Kn.div,{"data-state":Lu(u.open),...s,ref:o,style:{pointerEvents:"auto",...s.style}})})}),Qr="DialogContent",Hp=v.forwardRef((n,o)=>{const i=$p(Qr,n.__scopeDialog),{forceMount:s=i.forceMount,...u}=n,c=xn(Qr,n.__scopeDialog);return k.jsx(ra,{present:s||c.open,children:c.modal?k.jsx(Hx,{...u,ref:o}):k.jsx(Gx,{...u,ref:o})})});Hp.displayName=Qr;var Hx=v.forwardRef((n,o)=>{const i=xn(Qr,n.__scopeDialog),s=v.useRef(null),u=Jr(o,i.contentRef,s);return v.useEffect(()=>{const c=s.current;if(c)return Bx(c)},[]),k.jsx(Gp,{...n,ref:u,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pr(n.onCloseAutoFocus,c=>{var d;c.preventDefault(),(d=i.triggerRef.current)==null||d.focus()}),onPointerDownOutside:Pr(n.onPointerDownOutside,c=>{const d=c.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0;(d.button===2||p)&&c.preventDefault()}),onFocusOutside:Pr(n.onFocusOutside,c=>c.preventDefault())})}),Gx=v.forwardRef((n,o)=>{const i=xn(Qr,n.__scopeDialog),s=v.useRef(!1),u=v.useRef(!1);return k.jsx(Gp,{...n,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var d,p;(d=n.onCloseAutoFocus)==null||d.call(n,c),c.defaultPrevented||(s.current||(p=i.triggerRef.current)==null||p.focus(),c.preventDefault()),s.current=!1,u.current=!1},onInteractOutside:c=>{var h,g;(h=n.onInteractOutside)==null||h.call(n,c),c.defaultPrevented||(s.current=!0,c.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const d=c.target;((g=i.triggerRef.current)==null?void 0:g.contains(d))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&u.current&&c.preventDefault()}})}),Gp=v.forwardRef((n,o)=>{const{__scopeDialog:i,trapFocus:s,onOpenAutoFocus:u,onCloseAutoFocus:c,...d}=n,p=xn(Qr,i),h=v.useRef(null),g=Jr(o,h);return tx(),k.jsxs(k.Fragment,{children:[k.jsx(Pp,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:u,onUnmountAutoFocus:c,children:k.jsx(kp,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":Lu(p.open),...d,ref:g,onDismiss:()=>p.onOpenChange(!1)})}),k.jsxs(k.Fragment,{children:[k.jsx(Qx,{titleId:p.titleId}),k.jsx(Yx,{contentRef:h,descriptionId:p.descriptionId})]})]})}),_u="DialogTitle",Qp=v.forwardRef((n,o)=>{const{__scopeDialog:i,...s}=n,u=xn(_u,i);return k.jsx(Kn.h2,{id:u.titleId,...s,ref:o})});Qp.displayName=_u;var Kp="DialogDescription",Yp=v.forwardRef((n,o)=>{const{__scopeDialog:i,...s}=n,u=xn(Kp,i);return k.jsx(Kn.p,{id:u.descriptionId,...s,ref:o})});Yp.displayName=Kp;var Xp="DialogClose",Jp=v.forwardRef((n,o)=>{const{__scopeDialog:i,...s}=n,u=xn(Xp,i);return k.jsx(Kn.button,{type:"button",...s,ref:o,onClick:Pr(n.onClick,()=>u.onOpenChange(!1))})});Jp.displayName=Xp;function Lu(n){return n?"open":"closed"}var Zp="DialogTitleWarning",[t1,qp]=Cy(Zp,{contentName:Qr,titleName:_u,docsSlug:"dialog"}),Qx=({titleId:n})=>{const o=qp(Zp),i=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return v.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},Kx="DialogDescriptionWarning",Yx=({contentRef:n,descriptionId:o})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qp(Kx).contentName}}.`;return v.useEffect(()=>{var c;const u=(c=n.current)==null?void 0:c.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(s))},[s,n,o]),null},Xx=Fp,Jx=Bp,Zx=Vp,eh=Wp,th=Hp,nh=Qp,rh=Yp,oh=Jp;function lh(n){var o,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(o=0;otypeof n=="boolean"?`${n}`:n===0?"0":n,Yd=ih,ah=(n,o)=>i=>{var s;if((o==null?void 0:o.variants)==null)return Yd(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:u,defaultVariants:c}=o,d=Object.keys(u).map(g=>{const x=i==null?void 0:i[g],S=c==null?void 0:c[g];if(x===null)return null;const y=Kd(x)||Kd(S);return u[g][y]}),p=i&&Object.entries(i).reduce((g,x)=>{let[S,y]=x;return y===void 0||(g[S]=y),g},{}),h=o==null||(s=o.compoundVariants)===null||s===void 0?void 0:s.reduce((g,x)=>{let{class:S,className:y,...P}=x;return Object.entries(P).every(N=>{let[w,R]=N;return Array.isArray(R)?R.includes({...c,...p}[w]):{...c,...p}[w]===R})?[...g,S,y]:g},[]);return Yd(n,d,h,i==null?void 0:i.class,i==null?void 0:i.className)};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qx=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),sh=(...n)=>n.filter((o,i,s)=>!!o&&o.trim()!==""&&s.indexOf(o)===i).join(" ").trim();/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var e0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const t0=v.forwardRef(({color:n="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:c,iconNode:d,...p},h)=>v.createElement("svg",{ref:h,...e0,width:o,height:o,stroke:n,strokeWidth:s?Number(i)*24/Number(o):i,className:sh("lucide",u),...p},[...d.map(([g,x])=>v.createElement(g,x)),...Array.isArray(c)?c:[c]]));/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const la=(n,o)=>{const i=v.forwardRef(({className:s,...u},c)=>v.createElement(t0,{ref:c,iconNode:o,className:sh(`lucide-${qx(n)}`,s),...u}));return i.displayName=`${n}`,i};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const n0=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],uh=la("ArrowUpRight",n0);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const r0=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],o0=la("MapPin",r0);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const l0=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],i0=la("Smartphone",l0);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const a0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],s0=la("X",a0),Tu="-",u0=n=>{const o=f0(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=n;return{getClassGroupId:d=>{const p=d.split(Tu);return p[0]===""&&p.length!==1&&p.shift(),ch(p,o)||c0(d)},getConflictingClassGroupIds:(d,p)=>{const h=i[d]||[];return p&&s[d]?[...h,...s[d]]:h}}},ch=(n,o)=>{var d;if(n.length===0)return o.classGroupId;const i=n[0],s=o.nextPart.get(i),u=s?ch(n.slice(1),s):void 0;if(u)return u;if(o.validators.length===0)return;const c=n.join(Tu);return(d=o.validators.find(({validator:p})=>p(c)))==null?void 0:d.classGroupId},Xd=/^\[(.+)\]$/,c0=n=>{if(Xd.test(n)){const o=Xd.exec(n)[1],i=o==null?void 0:o.substring(0,o.indexOf(":"));if(i)return"arbitrary.."+i}},f0=n=>{const{theme:o,prefix:i}=n,s={nextPart:new Map,validators:[]};return p0(Object.entries(n.classGroups),i).forEach(([c,d])=>{fu(d,s,c,o)}),s},fu=(n,o,i,s)=>{n.forEach(u=>{if(typeof u=="string"){const c=u===""?o:Jd(o,u);c.classGroupId=i;return}if(typeof u=="function"){if(d0(u)){fu(u(s),o,i,s);return}o.validators.push({validator:u,classGroupId:i});return}Object.entries(u).forEach(([c,d])=>{fu(d,Jd(o,c),i,s)})})},Jd=(n,o)=>{let i=n;return o.split(Tu).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},d0=n=>n.isThemeGetter,p0=(n,o)=>o?n.map(([i,s])=>{const u=s.map(c=>typeof c=="string"?o+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([d,p])=>[o+d,p])):c);return[i,u]}):n,h0=n=>{if(n<1)return{get:()=>{},set:()=>{}};let o=0,i=new Map,s=new Map;const u=(c,d)=>{i.set(c,d),o++,o>n&&(o=0,s=i,i=new Map)};return{get(c){let d=i.get(c);if(d!==void 0)return d;if((d=s.get(c))!==void 0)return u(c,d),d},set(c,d){i.has(c)?i.set(c,d):u(c,d)}}},fh="!",m0=n=>{const{separator:o,experimentalParseClassName:i}=n,s=o.length===1,u=o[0],c=o.length,d=p=>{const h=[];let g=0,x=0,S;for(let R=0;Rx?S-x:void 0;return{modifiers:h,hasImportantModifier:P,baseClassName:N,maybePostfixModifierPosition:w}};return i?p=>i({className:p,parseClassName:d}):d},g0=n=>{if(n.length<=1)return n;const o=[];let i=[];return n.forEach(s=>{s[0]==="["?(o.push(...i.sort(),s),i=[]):i.push(s)}),o.push(...i.sort()),o},v0=n=>({cache:h0(n.cacheSize),parseClassName:m0(n),...u0(n)}),y0=/\s+/,x0=(n,o)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:u}=o,c=[],d=n.trim().split(y0);let p="";for(let h=d.length-1;h>=0;h-=1){const g=d[h],{modifiers:x,hasImportantModifier:S,baseClassName:y,maybePostfixModifierPosition:P}=i(g);let N=!!P,w=s(N?y.substring(0,P):y);if(!w){if(!N){p=g+(p.length>0?" "+p:p);continue}if(w=s(y),!w){p=g+(p.length>0?" "+p:p);continue}N=!1}const R=g0(x).join(":"),E=S?R+fh:R,O=E+w;if(c.includes(O))continue;c.push(O);const I=u(w,N);for(let B=0;B0?" "+p:p)}return p};function w0(){let n=0,o,i,s="";for(;n{if(typeof n=="string")return n;let o,i="";for(let s=0;sS(x),n());return i=v0(g),s=i.cache.get,u=i.cache.set,c=p,p(h)}function p(h){const g=s(h);if(g)return g;const x=x0(h,i);return u(h,x),x}return function(){return c(w0.apply(null,arguments))}}const Xe=n=>{const o=i=>i[n]||[];return o.isThemeGetter=!0,o},ph=/^\[(?:([a-z-]+):)?(.+)\]$/i,E0=/^\d+\/\d+$/,C0=new Set(["px","full","screen"]),k0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,N0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,P0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,R0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qn=n=>jo(n)||C0.has(n)||E0.test(n),Sr=n=>bo(n,"length",z0),jo=n=>!!n&&!Number.isNaN(Number(n)),ou=n=>bo(n,"number",jo),vl=n=>!!n&&Number.isInteger(Number(n)),L0=n=>n.endsWith("%")&&jo(n.slice(0,-1)),Pe=n=>ph.test(n),Er=n=>k0.test(n),T0=new Set(["length","size","percentage"]),j0=n=>bo(n,T0,hh),b0=n=>bo(n,"position",hh),D0=new Set(["image","url"]),M0=n=>bo(n,D0,A0),O0=n=>bo(n,"",I0),yl=()=>!0,bo=(n,o,i)=>{const s=ph.exec(n);return s?s[1]?typeof o=="string"?s[1]===o:o.has(s[1]):i(s[2]):!1},z0=n=>N0.test(n)&&!P0.test(n),hh=()=>!1,I0=n=>R0.test(n),A0=n=>_0.test(n),F0=()=>{const n=Xe("colors"),o=Xe("spacing"),i=Xe("blur"),s=Xe("brightness"),u=Xe("borderColor"),c=Xe("borderRadius"),d=Xe("borderSpacing"),p=Xe("borderWidth"),h=Xe("contrast"),g=Xe("grayscale"),x=Xe("hueRotate"),S=Xe("invert"),y=Xe("gap"),P=Xe("gradientColorStops"),N=Xe("gradientColorStopPositions"),w=Xe("inset"),R=Xe("margin"),E=Xe("opacity"),O=Xe("padding"),I=Xe("saturate"),B=Xe("scale"),_=Xe("sepia"),Q=Xe("skew"),$=Xe("space"),G=Xe("translate"),Z=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ve=()=>["auto",Pe,o],de=()=>[Pe,o],be=()=>["",Qn,Sr],ze=()=>["auto",jo,Pe],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ie=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",Pe],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[jo,Pe];return{cacheSize:500,separator:":",theme:{colors:[yl],spacing:[Qn,Sr],blur:["none","",Er,Pe],brightness:j(),borderColor:[n],borderRadius:["none","","full",Er,Pe],borderSpacing:de(),borderWidth:be(),contrast:j(),grayscale:ee(),hueRotate:j(),invert:ee(),gap:de(),gradientColorStops:[n],gradientColorStopPositions:[L0,Sr],inset:ve(),margin:ve(),opacity:j(),padding:de(),saturate:j(),scale:j(),sepia:ee(),skew:j(),space:de(),translate:de()},classGroups:{aspect:[{aspect:["auto","square","video",Pe]}],container:["container"],columns:[{columns:[Er]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ke(),Pe]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vl,Pe]}],basis:[{basis:ve()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Pe]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",vl,Pe]}],"grid-cols":[{"grid-cols":[yl]}],"col-start-end":[{col:["auto",{span:["full",vl,Pe]},Pe]}],"col-start":[{"col-start":ze()}],"col-end":[{"col-end":ze()}],"grid-rows":[{"grid-rows":[yl]}],"row-start-end":[{row:["auto",{span:[vl,Pe]},Pe]}],"row-start":[{"row-start":ze()}],"row-end":[{"row-end":ze()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Pe]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[O]}],px:[{px:[O]}],py:[{py:[O]}],ps:[{ps:[O]}],pe:[{pe:[O]}],pt:[{pt:[O]}],pr:[{pr:[O]}],pb:[{pb:[O]}],pl:[{pl:[O]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Pe,o]}],"min-w":[{"min-w":[Pe,o,"min","max","fit"]}],"max-w":[{"max-w":[Pe,o,"none","full","min","max","fit","prose",{screen:[Er]},Er]}],h:[{h:[Pe,o,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Pe,o,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Pe,o,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Pe,o,"auto","min","max","fit"]}],"font-size":[{text:["base",Er,Sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ou]}],"font-family":[{font:[yl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Pe]}],"line-clamp":[{"line-clamp":["none",jo,ou]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Qn,Pe]}],"list-image":[{"list-image":["none",Pe]}],"list-style-type":[{list:["none","disc","decimal",Pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Qn,Sr]}],"underline-offset":[{"underline-offset":["auto",Qn,Pe]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:de()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),b0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",j0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},M0]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...Ie(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:Ie()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...Ie()]}],"outline-offset":[{"outline-offset":[Qn,Pe]}],"outline-w":[{outline:[Qn,Sr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Qn,Sr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Er,O0]}],"shadow-color":[{shadow:[yl]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Er,Pe]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[S]}],saturate:[{saturate:[I]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Pe]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",Pe]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",Pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[vl,Pe]}],"translate-x":[{"translate-x":[G]}],"translate-y":[{"translate-y":[G]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Pe]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Pe]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":de()}],"scroll-mx":[{"scroll-mx":de()}],"scroll-my":[{"scroll-my":de()}],"scroll-ms":[{"scroll-ms":de()}],"scroll-me":[{"scroll-me":de()}],"scroll-mt":[{"scroll-mt":de()}],"scroll-mr":[{"scroll-mr":de()}],"scroll-mb":[{"scroll-mb":de()}],"scroll-ml":[{"scroll-ml":de()}],"scroll-p":[{"scroll-p":de()}],"scroll-px":[{"scroll-px":de()}],"scroll-py":[{"scroll-py":de()}],"scroll-ps":[{"scroll-ps":de()}],"scroll-pe":[{"scroll-pe":de()}],"scroll-pt":[{"scroll-pt":de()}],"scroll-pr":[{"scroll-pr":de()}],"scroll-pb":[{"scroll-pb":de()}],"scroll-pl":[{"scroll-pl":de()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Pe]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Qn,Sr,ou]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},U0=S0(F0);function pt(...n){return U0(ih(n))}const B0=Xx,$0=Jx,V0=oh,W0=Zx,mh=v.forwardRef(({className:n,...o},i)=>k.jsx(eh,{className:pt("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...o,ref:i}));mh.displayName=eh.displayName;const H0=ah("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),gh=v.forwardRef(({side:n="right",className:o,children:i,...s},u)=>k.jsxs(W0,{children:[k.jsx(mh,{}),k.jsxs(th,{ref:u,className:pt(H0({side:n}),o),...s,children:[k.jsxs(oh,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[k.jsx(s0,{className:"h-4 w-4"}),k.jsx("span",{className:"sr-only",children:"Close"})]}),i]})]}));gh.displayName=th.displayName;const vh=({className:n,...o})=>k.jsx("div",{className:pt("flex flex-col space-y-2 text-center sm:text-left",n),...o});vh.displayName="SheetHeader";const G0=v.forwardRef(({className:n,...o},i)=>k.jsx(nh,{ref:i,className:pt("text-lg font-semibold text-foreground",n),...o}));G0.displayName=nh.displayName;const Q0=v.forwardRef(({className:n,...o},i)=>k.jsx(rh,{ref:i,className:pt("text-sm text-muted-foreground",n),...o}));Q0.displayName=rh.displayName;const K0=ah("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-[18px] leading-[140%] font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-on_primary shadow hover:bg-primary/90",teritary:"bg-teritary hover:bg-teritary/90 text-on_surface",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-outline text-on_surface",secondary:"bg-secondary_container hover:bg-secondary_container/80 text-on_secondary_container",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-white h-8"},size:{default:"h-12 px-5 py-2 rounded-[2px]",sm:"h-10 text-base px-4 rounded-[2px]",lg:"lg:h-[88px] h-12 rounded-[2px] px-8 ",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),on=v.forwardRef(({className:n,variant:o,size:i,asChild:s=!1,...u},c)=>{const d=s?na:"button";return k.jsx(d,{className:pt(K0({variant:o,size:i,className:n})),ref:c,...u})});on.displayName="Button";const yh=({className:n})=>k.jsx("div",{className:pt("",n),children:k.jsx("img",{src:"/logo.svg",alt:"logo"})}),Y0=({className:n,img:o,title:i})=>k.jsxs("article",{className:pt("bg-bg_surface_container relative hover:bg-teritary_surface_container transition-all md:px-6 px-2 md:h-[224px] h-[124px]",n),children:[k.jsx("div",{className:"bg-primary size-full -z-[10] absolute top-2.5 left-2.5"}),k.jsx("img",{src:o,alt:"theme icon",className:"md:size-20 size-12"}),k.jsx("h3",{className:"md:mt-6 mt-2 md:text-xl text-sm",children:i})]}),X0=({className:n,nums:o,text:i})=>k.jsxs("article",{className:pt("px-6 py-4 relative bg-surface_container h-[160px] w-full overflow-hidden",n),children:[k.jsx("img",{src:"/about-card-bg.svg",className:"absolute top-2 right-0"}),k.jsx("h2",{className:"text-primary text-[32px] semibold leading-[130%] mb-4",children:o}),k.jsx("h4",{className:"text-on_surface normal text-base",children:i})]}),Zd=({className:n,title:o,text:i,img:s})=>k.jsxs("article",{className:pt("md:px-8 md:py-6 p-4 relative overflow-hidden h-[296px] md:w-full w-[300px] text-on_primary",n),children:[k.jsx("div",{className:"absolute size-full z-10 top-0 left-0 bg-gradient-to-r from-25% from-primary to-primary/20 "}),k.jsx("img",{src:s,className:"absolute size-full top-0 right-0 object-cover"}),k.jsxs("div",{className:"relative z-20",children:[k.jsx("h4",{className:"md:text-2xl text-lg mb-4 max-w-[444px] z-20 h-16",children:o}),k.jsx("p",{className:"md:text-base text-sm normal max-w-[360px] z-20",children:i}),k.jsxs(on,{className:"text-sm px-0 mt-4 py-1.5 z-20",variant:"link",children:["Скачать PDF ",k.jsx(uh,{})]})]})]}),xh=({className:n,name:o,date:i,bottomClassName:s})=>k.jsxs("div",{className:pt("rounded-t-[4px] overflow-hidden",n),children:[k.jsx("div",{className:"bg-primary text-white flex items-center h-11 px-4",children:o}),k.jsx("div",{className:pt("h-14 bg-bg_surface_container semibold flex items-center text-lg px-4",s),children:i})]}),J0=({className:n,subtitle:o,title:i,img:s})=>k.jsxs("div",{className:pt("flex items-center gap-4",n),children:[k.jsx("img",{src:s,alt:"contact icon"}),k.jsxs("div",{className:"flex flex-col gap-2",children:[k.jsx("h5",{className:"text-sm text-[#454545]",children:o}),k.jsx("h4",{className:"text-[#171717] semibold",children:i})]})]}),Z0=[{title:"Пищевая продукция и сельское хозяйство",img:"/theme/1.svg"},{title:"Товары и услуги",img:"/theme/2.svg"},{title:"E-commerce",img:"/theme/3.svg"},{title:"Волокна, текстиль и одежда",img:"/theme/4.svg"},{title:"Продукция промышленного производства",img:"/theme/5.svg"},{title:"Профессиональные услуги",img:"/theme/6.svg"},{title:"Ремесленные производства",img:"/theme/7.svg"},{title:"Креативные индустрии",img:"/theme/8.svg"}],q0=()=>k.jsx("section",{className:"",children:k.jsxs(ln,{children:[k.jsx("h2",{className:"h2 mb-10 text-center",children:"Тематические направления выставки"}),k.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:Z0.map(n=>k.jsx(Y0,{...n},n.title))})]})}),wh=[{name:"Монтаж выставки",date:"1 — 27 апреля 2025 года"},{name:"Работа",date:"29 — 1 мая 2025 года"},{name:"Демонтаж",date:"1 — 2 мая 2025 года"}],ew=[{title:"contact@turkmenexpo.com",subtitle:"Адрес электронной почты",img:"/contacts/mail.svg"},{title:"здание ТПП Туркменистана",subtitle:"Адрес выставки",img:"/contacts/location.svg"},{title:"+99371871814; 99363719588",subtitle:"Контактный номер",img:"/contacts/mobile.svg"}],tw=({className:n})=>k.jsx("section",{className:pt("bg-surface_high pt-10 pb-20",n),children:k.jsxs(ln,{children:[k.jsx("h2",{className:"h2 mb-10",children:"Время мероприятий"}),k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:wh.map(o=>v.createElement(xh,{...o,key:o.name,className:"w-full"}))}),k.jsx("div",{className:"md:p-10 pt-16 flex flex-col md:flex-row items-center gap-6",children:ew.map(o=>v.createElement(J0,{...o,key:o.title,className:"w-full"}))}),k.jsx(At,{to:"",className:"md:w-fit w-full mx-auto",children:k.jsx(on,{className:"w-full",children:"Забронируйте стенд "})})]})]})}),nw=({className:n})=>k.jsx("section",{className:pt("bg-bg_surface_container py-10 md:py-[160px]",n),children:k.jsxs(ln,{children:[k.jsx("h3",{className:"h2 mb-6",children:"Время выставки"}),k.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:wh.map(o=>v.createElement(xh,{bottomClassName:"!bg-white rounded-b-[2px]",...o,key:o.name,className:"w-full"}))})]})}),rw=({className:n})=>k.jsx("section",{className:pt("flex items-center gap-6 relative md:py-20 py-10 overflow-hidden",n),children:k.jsxs(ln,{children:[k.jsx("h3",{className:"h2 mb-6",children:"Место проведения"}),k.jsx("p",{className:"text-lg text-on_surface_v normal",children:"Торгово-промышленная палата Туркменистана создана в целях содействия развитию экономики Туркменистана, ее интегрированию в мировую хозяйственную систему, формированию современной промышленной, финансовой и торговой инфраструктуры, создания благоприятных условий для предпринимательской деятельности, оказания содействия в установлении торгово-экономических, научных и технических связей с зарубежными партнерами."})]})}),ow=({className:n})=>k.jsxs("section",{className:pt("md:py-20 py-10 relative overflow-hidden",n),children:[k.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),k.jsxs(ln,{children:[k.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:"Приглашение к участию"}),k.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:"Торгово-промышленная палата Туркменистана приглашает бизнес-сообщество со всего мира присоединиться к этому уникальному событию, которое станет важным шагом к укреплению позиций Туркменистана на глобальной экономической арене."}),k.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[k.jsx(At,{to:"/stend-form",className:"w-full",children:k.jsx(on,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:"Забронировать стенд"})}),k.jsx(At,{to:"/B2B-B2G",className:"w-full",children:k.jsx(on,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:"B2B | B2G встречи"})})]})]})]});function lw(n){return Object.prototype.toString.call(n)==="[object Object]"}function qd(n){return lw(n)||Array.isArray(n)}function iw(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ju(n,o){const i=Object.keys(n),s=Object.keys(o);if(i.length!==s.length)return!1;const u=JSON.stringify(Object.keys(n.breakpoints||{})),c=JSON.stringify(Object.keys(o.breakpoints||{}));return u!==c?!1:i.every(d=>{const p=n[d],h=o[d];return typeof p=="function"?`${p}`==`${h}`:!qd(p)||!qd(h)?p===h:ju(p,h)})}function ep(n){return n.concat().sort((o,i)=>o.name>i.name?1:-1).map(o=>o.options)}function aw(n,o){if(n.length!==o.length)return!1;const i=ep(n),s=ep(o);return i.every((u,c)=>{const d=s[c];return ju(u,d)})}function bu(n){return typeof n=="number"}function du(n){return typeof n=="string"}function ia(n){return typeof n=="boolean"}function tp(n){return Object.prototype.toString.call(n)==="[object Object]"}function tt(n){return Math.abs(n)}function Du(n){return Math.sign(n)}function Sl(n,o){return tt(n-o)}function sw(n,o){if(n===0||o===0||tt(n)<=tt(o))return 0;const i=Sl(tt(n),tt(o));return tt(i/n)}function uw(n){return Math.round(n*100)/100}function Cl(n){return kl(n).map(Number)}function vn(n){return n[Ll(n)]}function Ll(n){return Math.max(0,n.length-1)}function Mu(n,o){return o===Ll(n)}function np(n,o=0){return Array.from(Array(n),(i,s)=>o+s)}function kl(n){return Object.keys(n)}function Sh(n,o){return[n,o].reduce((i,s)=>(kl(s).forEach(u=>{const c=i[u],d=s[u],p=tp(c)&&tp(d);i[u]=p?Sh(c,d):d}),i),{})}function pu(n,o){return typeof o.MouseEvent<"u"&&n instanceof o.MouseEvent}function cw(n,o){const i={start:s,center:u,end:c};function s(){return 0}function u(h){return c(h)/2}function c(h){return o-h}function d(h,g){return du(n)?i[n](h):n(o,h,g)}return{measure:d}}function Nl(){let n=[];function o(u,c,d,p={passive:!0}){let h;if("addEventListener"in u)u.addEventListener(c,d,p),h=()=>u.removeEventListener(c,d,p);else{const g=u;g.addListener(d),h=()=>g.removeListener(d)}return n.push(h),s}function i(){n=n.filter(u=>u())}const s={add:o,clear:i};return s}function fw(n,o,i,s){const u=Nl(),c=1e3/60;let d=null,p=0,h=0;function g(){u.add(n,"visibilitychange",()=>{n.hidden&&N()})}function x(){P(),u.clear()}function S(R){if(!h)return;d||(d=R,i(),i());const E=R-d;for(d=R,p+=E;p>=c;)i(),p-=c;const O=p/c;s(O),h&&(h=o.requestAnimationFrame(S))}function y(){h||(h=o.requestAnimationFrame(S))}function P(){o.cancelAnimationFrame(h),d=null,p=0,h=0}function N(){d=null,p=0}return{init:g,destroy:x,start:y,stop:P,update:i,render:s}}function dw(n,o){const i=o==="rtl",s=n==="y",u=s?"y":"x",c=s?"x":"y",d=!s&&i?-1:1,p=x(),h=S();function g(N){const{height:w,width:R}=N;return s?w:R}function x(){return s?"top":i?"right":"left"}function S(){return s?"bottom":i?"left":"right"}function y(N){return N*d}return{scroll:u,cross:c,startEdge:p,endEdge:h,measureSize:g,direction:y}}function Kr(n=0,o=0){const i=tt(n-o);function s(g){return go}function c(g){return s(g)||u(g)}function d(g){return c(g)?s(g)?n:o:g}function p(g){return i?g-i*Math.ceil((g-o)/i):g}return{length:i,max:o,min:n,constrain:d,reachedAny:c,reachedMax:u,reachedMin:s,removeOffset:p}}function Eh(n,o,i){const{constrain:s}=Kr(0,n),u=n+1;let c=d(o);function d(y){return i?tt((u+y)%u):s(y)}function p(){return c}function h(y){return c=d(y),S}function g(y){return x().set(p()+y)}function x(){return Eh(n,p(),i)}const S={get:p,set:h,add:g,clone:x};return S}function pw(n,o,i,s,u,c,d,p,h,g,x,S,y,P,N,w,R,E,O){const{cross:I,direction:B}=n,_=["INPUT","SELECT","TEXTAREA"],Q={passive:!1},$=Nl(),G=Nl(),Z=Kr(50,225).constrain(P.measure(20)),ue={mouse:300,touch:400},ve={mouse:500,touch:600},de=N?43:25;let be=!1,ze=0,ke=0,Ie=!1,Re=!1,Y=!1,ee=!1;function J(se){if(!O)return;function Te(it){(ia(O)||O(se,it))&&_e(it)}const We=o;$.add(We,"dragstart",it=>it.preventDefault(),Q).add(We,"touchmove",()=>{},Q).add(We,"touchend",()=>{}).add(We,"touchstart",Te).add(We,"mousedown",Te).add(We,"touchcancel",xe).add(We,"contextmenu",xe).add(We,"click",ye,!0)}function j(){$.clear(),G.clear()}function U(){const se=ee?i:o;G.add(se,"touchmove",Ne,Q).add(se,"touchend",xe).add(se,"mousemove",Ne,Q).add(se,"mouseup",xe)}function pe(se){const Te=se.nodeName||"";return _.includes(Te)}function he(){return(N?ve:ue)[ee?"mouse":"touch"]}function Ce(se,Te){const We=S.add(Du(se)*-1),it=x.byDistance(se,!N).distance;return N||tt(se)=2,!(Te&&se.button!==0)&&(pe(se.target)||(Ie=!0,c.pointerDown(se),g.useFriction(0).useDuration(0),u.set(d),U(),ze=c.readPoint(se),ke=c.readPoint(se,I),y.emit("pointerDown")))}function Ne(se){if(!pu(se,s)&&se.touches.length>=2)return xe(se);const We=c.readPoint(se),it=c.readPoint(se,I),wt=Sl(We,ze),Nt=Sl(it,ke);if(!Re&&!ee&&(!se.cancelable||(Re=wt>Nt,!Re)))return xe(se);const Qt=c.pointerMove(se);wt>w&&(Y=!0),g.useFriction(.3).useDuration(.75),p.start(),u.add(B(Qt)),se.preventDefault()}function xe(se){const We=x.byDistance(0,!1).index!==S.get(),it=c.pointerUp(se)*he(),wt=Ce(B(it),We),Nt=sw(it,wt),Qt=de-10*Nt,Lt=E+Nt/50;Re=!1,Ie=!1,G.clear(),g.useDuration(Qt).useFriction(Lt),h.distance(wt,!N),ee=!1,y.emit("pointerUp")}function ye(se){Y&&(se.stopPropagation(),se.preventDefault(),Y=!1)}function Me(){return Ie}return{init:J,destroy:j,pointerDown:Me}}function hw(n,o){let s,u;function c(S){return S.timeStamp}function d(S,y){const N=`client${(y||n.scroll)==="x"?"X":"Y"}`;return(pu(S,o)?S:S.touches[0])[N]}function p(S){return s=S,u=S,d(S)}function h(S){const y=d(S)-d(u),P=c(S)-c(s)>170;return u=S,P&&(s=S),y}function g(S){if(!s||!u)return 0;const y=d(u)-d(s),P=c(S)-c(s),N=c(S)-c(u)>170,w=y/P;return P&&!N&&tt(w)>.1?w:0}return{pointerDown:p,pointerMove:h,pointerUp:g,readPoint:d}}function mw(){function n(i){const{offsetTop:s,offsetLeft:u,offsetWidth:c,offsetHeight:d}=i;return{top:s,right:u+c,bottom:s+d,left:u,width:c,height:d}}return{measure:n}}function gw(n){function o(s){return n*(s/100)}return{measure:o}}function vw(n,o,i,s,u,c,d){const p=[n].concat(s);let h,g,x=[],S=!1;function y(R){return u.measureSize(d.measure(R))}function P(R){if(!c)return;g=y(n),x=s.map(y);function E(O){for(const I of O){if(S)return;const B=I.target===n,_=s.indexOf(I.target),Q=B?g:x[_],$=y(B?n:s[_]);if(tt($-Q)>=.5){R.reInit(),o.emit("resize");break}}}h=new ResizeObserver(O=>{(ia(c)||c(R,O))&&E(O)}),i.requestAnimationFrame(()=>{p.forEach(O=>h.observe(O))})}function N(){S=!0,h&&h.disconnect()}return{init:P,destroy:N}}function yw(n,o,i,s,u,c){let d=0,p=0,h=u,g=c,x=n.get(),S=0;function y(){const Q=s.get()-n.get(),$=!h;let G=0;return $?(d=0,i.set(s),n.set(s),G=Q):(i.set(n),d+=Q/h,d*=g,x+=d,n.add(d),G=x-S),p=Du(G),S=x,_}function P(){const Q=s.get()-o.get();return tt(Q)<.001}function N(){return h}function w(){return p}function R(){return d}function E(){return I(u)}function O(){return B(c)}function I(Q){return h=Q,_}function B(Q){return g=Q,_}const _={direction:w,duration:N,velocity:R,seek:y,settled:P,useBaseFriction:O,useBaseDuration:E,useFriction:B,useDuration:I};return _}function xw(n,o,i,s,u){const c=u.measure(10),d=u.measure(50),p=Kr(.1,.99);let h=!1;function g(){return!(h||!n.reachedAny(i.get())||!n.reachedAny(o.get()))}function x(P){if(!g())return;const N=n.reachedMin(o.get())?"min":"max",w=tt(n[N]-o.get()),R=i.get()-o.get(),E=p.constrain(w/d);i.subtract(R*E),!P&&tt(R){const{min:R,max:E}=c,O=c.constrain(N),I=!w,B=Mu(i,w);return I?E:B||g(R,O)?R:g(E,O)?E:O}).map(N=>parseFloat(N.toFixed(3)))}function y(){if(o<=n+u)return[c.max];if(s==="keepSnaps")return d;const{min:N,max:w}=p;return d.slice(N,w)}return{snapsContained:h,scrollContainLimit:p}}function Sw(n,o,i){const s=o[0],u=i?s-n:vn(o);return{limit:Kr(u,s)}}function Ew(n,o,i,s){const c=o.min+.1,d=o.max+.1,{reachedMin:p,reachedMax:h}=Kr(c,d);function g(y){return y===1?h(i.get()):y===-1?p(i.get()):!1}function x(y){if(!g(y))return;const P=n*(y*-1);s.forEach(N=>N.add(P))}return{loop:x}}function Cw(n){const{max:o,length:i}=n;function s(c){const d=c-o;return i?d/-i:0}return{get:s}}function kw(n,o,i,s,u){const{startEdge:c,endEdge:d}=n,{groupSlides:p}=u,h=S().map(o.measure),g=y(),x=P();function S(){return p(s).map(w=>vn(w)[d]-w[0][c]).map(tt)}function y(){return s.map(w=>i[c]-w[c]).map(w=>-tt(w))}function P(){return p(g).map(w=>w[0]).map((w,R)=>w+h[R])}return{snaps:g,snapsAligned:x}}function Nw(n,o,i,s,u,c){const{groupSlides:d}=u,{min:p,max:h}=s,g=x();function x(){const y=d(c),P=!n||o==="keepSnaps";return i.length===1?[c]:P?y:y.slice(p,h).map((N,w,R)=>{const E=!w,O=Mu(R,w);if(E){const I=vn(R[0])+1;return np(I)}if(O){const I=Ll(c)-vn(R)[0]+1;return np(I,vn(R)[0])}return N})}return{slideRegistry:g}}function Pw(n,o,i,s,u){const{reachedAny:c,removeOffset:d,constrain:p}=s;function h(N){return N.concat().sort((w,R)=>tt(w)-tt(R))[0]}function g(N){const w=n?d(N):p(N),R=o.map((O,I)=>({diff:x(O-w,0),index:I})).sort((O,I)=>tt(O.diff)-tt(I.diff)),{index:E}=R[0];return{index:E,distance:w}}function x(N,w){const R=[N,N+i,N-i];if(!n)return N;if(!w)return h(R);const E=R.filter(O=>Du(O)===w);return E.length?h(E):vn(R)-i}function S(N,w){const R=o[N]-u.get(),E=x(R,w);return{index:N,distance:E}}function y(N,w){const R=u.get()+N,{index:E,distance:O}=g(R),I=!n&&c(R);if(!w||I)return{index:E,distance:N};const B=o[E]-O,_=N+x(B,0);return{index:E,distance:_}}return{byDistance:y,byIndex:S,shortcut:x}}function Rw(n,o,i,s,u,c,d){function p(S){const y=S.distance,P=S.index!==o.get();c.add(y),y&&(s.duration()?n.start():(n.update(),n.render(1),n.update())),P&&(i.set(o.get()),o.set(S.index),d.emit("select"))}function h(S,y){const P=u.byDistance(S,y);p(P)}function g(S,y){const P=o.clone().set(S),N=u.byIndex(P.get(),y);p(N)}return{distance:h,index:g}}function _w(n,o,i,s,u,c,d,p){const h={passive:!0,capture:!0};let g=0;function x(P){if(!p)return;function N(w){if(new Date().getTime()-g>10)return;d.emit("slideFocusStart"),n.scrollLeft=0;const O=i.findIndex(I=>I.includes(w));bu(O)&&(u.useDuration(0),s.index(O,0),d.emit("slideFocus"))}c.add(document,"keydown",S,!1),o.forEach((w,R)=>{c.add(w,"focus",E=>{(ia(p)||p(P,E))&&N(R)},h)})}function S(P){P.code==="Tab"&&(g=new Date().getTime())}return{init:x}}function wl(n){let o=n;function i(){return o}function s(h){o=d(h)}function u(h){o+=d(h)}function c(h){o-=d(h)}function d(h){return bu(h)?h:h.get()}return{get:i,set:s,add:u,subtract:c}}function Ch(n,o){const i=n.scroll==="x"?d:p,s=o.style;let u=null,c=!1;function d(y){return`translate3d(${y}px,0px,0px)`}function p(y){return`translate3d(0px,${y}px,0px)`}function h(y){if(c)return;const P=uw(n.direction(y));P!==u&&(s.transform=i(P),u=P)}function g(y){c=!y}function x(){c||(s.transform="",o.getAttribute("style")||o.removeAttribute("style"))}return{clear:x,to:h,toggleActive:g}}function Lw(n,o,i,s,u,c,d,p,h){const x=Cl(u),S=Cl(u).reverse(),y=E().concat(O());function P($,G){return $.reduce((Z,ue)=>Z-u[ue],G)}function N($,G){return $.reduce((Z,ue)=>P(Z,G)>0?Z.concat([ue]):Z,[])}function w($){return c.map((G,Z)=>({start:G-s[Z]+.5+$,end:G+o-.5+$}))}function R($,G,Z){const ue=w(G);return $.map(ve=>{const de=Z?0:-i,be=Z?i:0,ze=Z?"end":"start",ke=ue[ve][ze];return{index:ve,loopPoint:ke,slideLocation:wl(-1),translate:Ch(n,h[ve]),target:()=>p.get()>ke?de:be}})}function E(){const $=d[0],G=N(S,$);return R(G,i,!1)}function O(){const $=o-d[0]-1,G=N(x,$);return R(G,-i,!0)}function I(){return y.every(({index:$})=>{const G=x.filter(Z=>Z!==$);return P(G,o)<=.1})}function B(){y.forEach($=>{const{target:G,translate:Z,slideLocation:ue}=$,ve=G();ve!==ue.get()&&(Z.to(ve),ue.set(ve))})}function _(){y.forEach($=>$.translate.clear())}return{canLoop:I,clear:_,loop:B,loopPoints:y}}function Tw(n,o,i){let s,u=!1;function c(h){if(!i)return;function g(x){for(const S of x)if(S.type==="childList"){h.reInit(),o.emit("slidesChanged");break}}s=new MutationObserver(x=>{u||(ia(i)||i(h,x))&&g(x)}),s.observe(n,{childList:!0})}function d(){s&&s.disconnect(),u=!0}return{init:c,destroy:d}}function jw(n,o,i,s){const u={};let c=null,d=null,p,h=!1;function g(){p=new IntersectionObserver(N=>{h||(N.forEach(w=>{const R=o.indexOf(w.target);u[R]=w}),c=null,d=null,i.emit("slidesInView"))},{root:n.parentElement,threshold:s}),o.forEach(N=>p.observe(N))}function x(){p&&p.disconnect(),h=!0}function S(N){return kl(u).reduce((w,R)=>{const E=parseInt(R),{isIntersecting:O}=u[E];return(N&&O||!N&&!O)&&w.push(E),w},[])}function y(N=!0){if(N&&c)return c;if(!N&&d)return d;const w=S(N);return N&&(c=w),N||(d=w),w}return{init:g,destroy:x,get:y}}function bw(n,o,i,s,u,c){const{measureSize:d,startEdge:p,endEdge:h}=n,g=i[0]&&u,x=N(),S=w(),y=i.map(d),P=R();function N(){if(!g)return 0;const O=i[0];return tt(o[p]-O[p])}function w(){if(!g)return 0;const O=c.getComputedStyle(vn(s));return parseFloat(O.getPropertyValue(`margin-${h}`))}function R(){return i.map((O,I,B)=>{const _=!I,Q=Mu(B,I);return _?y[I]+x:Q?y[I]+S:B[I+1][p]-O[p]}).map(tt)}return{slideSizes:y,slideSizesWithGaps:P,startGap:x,endGap:S}}function Dw(n,o,i,s,u,c,d,p,h){const{startEdge:g,endEdge:x,direction:S}=n,y=bu(i);function P(E,O){return Cl(E).filter(I=>I%O===0).map(I=>E.slice(I,I+O))}function N(E){return E.length?Cl(E).reduce((O,I,B)=>{const _=vn(O)||0,Q=_===0,$=I===Ll(E),G=u[g]-c[_][g],Z=u[g]-c[I][x],ue=!s&&Q?S(d):0,ve=!s&&$?S(p):0,de=tt(Z-ve-(G+ue));return B&&de>o+h&&O.push(I),$&&O.push(E.length),O},[]).map((O,I,B)=>{const _=Math.max(B[I-1]||0);return E.slice(_,O)}):[]}function w(E){return y?P(E,i):N(E)}return{groupSlides:w}}function Mw(n,o,i,s,u,c,d){const{align:p,axis:h,direction:g,startIndex:x,loop:S,duration:y,dragFree:P,dragThreshold:N,inViewThreshold:w,slidesToScroll:R,skipSnaps:E,containScroll:O,watchResize:I,watchSlides:B,watchDrag:_,watchFocus:Q}=c,$=2,G=mw(),Z=G.measure(o),ue=i.map(G.measure),ve=dw(h,g),de=ve.measureSize(Z),be=gw(de),ze=cw(p,de),ke=!S&&!!O,Ie=S||!!O,{slideSizes:Re,slideSizesWithGaps:Y,startGap:ee,endGap:J}=bw(ve,Z,ue,i,Ie,u),j=Dw(ve,de,R,S,Z,ue,ee,J,$),{snaps:U,snapsAligned:pe}=kw(ve,ze,Z,ue,j),he=-vn(U)+vn(Y),{snapsContained:Ce,scrollContainLimit:_e}=ww(de,he,pe,O,$),Ne=ke?Ce:pe,{limit:xe}=Sw(he,Ne,S),ye=Eh(Ll(Ne),x,S),Me=ye.clone(),Fe=Cl(i),se=({dragHandler:ot,scrollBody:Kt,scrollBounds:Xn,options:{loop:Sn}})=>{Sn||Xn.constrain(ot.pointerDown()),Kt.seek()},Te=({scrollBody:ot,translate:Kt,location:Xn,offsetLocation:Sn,previousLocation:Zr,scrollLooper:qr,slideLooper:En,dragHandler:Jn,animation:On,eventHandler:Zn,scrollBounds:qn,options:{loop:an}},Yt)=>{const Cn=ot.settled(),zn=!qn.shouldConstrain(),Lr=an?Cn:Cn&&zn;Lr&&!Jn.pointerDown()&&(On.stop(),Zn.emit("settle")),Lr||Zn.emit("scroll");const eo=Xn.get()*Yt+Zr.get()*(1-Yt);Sn.set(eo),an&&(qr.loop(ot.direction()),En.loop()),Kt.to(Sn.get())},We=fw(s,u,()=>se(Yn),ot=>Te(Yn,ot)),it=.68,wt=Ne[ye.get()],Nt=wl(wt),Qt=wl(wt),Lt=wl(wt),Pt=wl(wt),at=yw(Nt,Lt,Qt,Pt,y,it),Ft=Pw(S,Ne,he,xe,Pt),bn=Rw(We,ye,Me,at,Ft,Pt,d),Dn=Cw(xe),Tt=Nl(),jt=jw(o,i,d,w),{slideRegistry:Mn}=Nw(ke,O,Ne,_e,j,Fe),wn=_w(n,i,Mn,bn,at,Tt,d,Q),Yn={ownerDocument:s,ownerWindow:u,eventHandler:d,containerRect:Z,slideRects:ue,animation:We,axis:ve,dragHandler:pw(ve,n,s,u,Pt,hw(ve,u),Nt,We,bn,at,Ft,ye,d,be,P,N,E,it,_),eventStore:Tt,percentOfView:be,index:ye,indexPrevious:Me,limit:xe,location:Nt,offsetLocation:Lt,previousLocation:Qt,options:c,resizeHandler:vw(o,d,u,i,ve,I,G),scrollBody:at,scrollBounds:xw(xe,Lt,Pt,at,be),scrollLooper:Ew(he,xe,Lt,[Nt,Lt,Qt,Pt]),scrollProgress:Dn,scrollSnapList:Ne.map(Dn.get),scrollSnaps:Ne,scrollTarget:Ft,scrollTo:bn,slideLooper:Lw(ve,de,he,Re,Y,U,Ne,Lt,i),slideFocus:wn,slidesHandler:Tw(o,d,B),slidesInView:jt,slideIndexes:Fe,slideRegistry:Mn,slidesToScroll:j,target:Pt,translate:Ch(ve,o)};return Yn}function Ow(){let n={},o;function i(g){o=g}function s(g){return n[g]||[]}function u(g){return s(g).forEach(x=>x(o,g)),h}function c(g,x){return n[g]=s(g).concat([x]),h}function d(g,x){return n[g]=s(g).filter(S=>S!==x),h}function p(){n={}}const h={init:i,emit:u,off:d,on:c,clear:p};return h}const zw={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Iw(n){function o(c,d){return Sh(c,d||{})}function i(c){const d=c.breakpoints||{},p=kl(d).filter(h=>n.matchMedia(h).matches).map(h=>d[h]).reduce((h,g)=>o(h,g),{});return o(c,p)}function s(c){return c.map(d=>kl(d.breakpoints||{})).reduce((d,p)=>d.concat(p),[]).map(n.matchMedia)}return{mergeOptions:o,optionsAtMedia:i,optionsMediaQueries:s}}function Aw(n){let o=[];function i(c,d){return o=d.filter(({options:p})=>n.optionsAtMedia(p).active!==!1),o.forEach(p=>p.init(c,n)),d.reduce((p,h)=>Object.assign(p,{[h.name]:h}),{})}function s(){o=o.filter(c=>c.destroy())}return{init:i,destroy:s}}function Zi(n,o,i){const s=n.ownerDocument,u=s.defaultView,c=Iw(u),d=Aw(c),p=Nl(),h=Ow(),{mergeOptions:g,optionsAtMedia:x,optionsMediaQueries:S}=c,{on:y,off:P,emit:N}=h,w=ve;let R=!1,E,O=g(zw,Zi.globalOptions),I=g(O),B=[],_,Q,$;function G(){const{container:Fe,slides:se}=I;Q=(du(Fe)?n.querySelector(Fe):Fe)||n.children[0];const We=du(se)?Q.querySelectorAll(se):se;$=[].slice.call(We||Q.children)}function Z(Fe){const se=Mw(n,Q,$,s,u,Fe,h);if(Fe.loop&&!se.slideLooper.canLoop()){const Te=Object.assign({},Fe,{loop:!1});return Z(Te)}return se}function ue(Fe,se){R||(O=g(O,Fe),I=x(O),B=se||B,G(),E=Z(I),S([O,...B.map(({options:Te})=>Te)]).forEach(Te=>p.add(Te,"change",ve)),I.active&&(E.translate.to(E.location.get()),E.animation.init(),E.slidesInView.init(),E.slideFocus.init(Me),E.eventHandler.init(Me),E.resizeHandler.init(Me),E.slidesHandler.init(Me),E.options.loop&&E.slideLooper.loop(),Q.offsetParent&&$.length&&E.dragHandler.init(Me),_=d.init(Me,B)))}function ve(Fe,se){const Te=j();de(),ue(g({startIndex:Te},Fe),se),h.emit("reInit")}function de(){E.dragHandler.destroy(),E.eventStore.clear(),E.translate.clear(),E.slideLooper.clear(),E.resizeHandler.destroy(),E.slidesHandler.destroy(),E.slidesInView.destroy(),E.animation.destroy(),d.destroy(),p.clear()}function be(){R||(R=!0,p.clear(),de(),h.emit("destroy"),h.clear())}function ze(Fe,se,Te){!I.active||R||(E.scrollBody.useBaseFriction().useDuration(se===!0?0:I.duration),E.scrollTo.index(Fe,Te||0))}function ke(Fe){const se=E.index.add(1).get();ze(se,Fe,-1)}function Ie(Fe){const se=E.index.add(-1).get();ze(se,Fe,1)}function Re(){return E.index.add(1).get()!==j()}function Y(){return E.index.add(-1).get()!==j()}function ee(){return E.scrollSnapList}function J(){return E.scrollProgress.get(E.location.get())}function j(){return E.index.get()}function U(){return E.indexPrevious.get()}function pe(){return E.slidesInView.get()}function he(){return E.slidesInView.get(!1)}function Ce(){return _}function _e(){return E}function Ne(){return n}function xe(){return Q}function ye(){return $}const Me={canScrollNext:Re,canScrollPrev:Y,containerNode:xe,internalEngine:_e,destroy:be,off:P,on:y,emit:N,plugins:Ce,previousScrollSnap:U,reInit:w,rootNode:Ne,scrollNext:ke,scrollPrev:Ie,scrollProgress:J,scrollSnapList:ee,scrollTo:ze,selectedScrollSnap:j,slideNodes:ye,slidesInView:pe,slidesNotInView:he};return ue(o,i),setTimeout(()=>h.emit("init"),0),Me}Zi.globalOptions=void 0;function Tl(n={},o=[]){const i=v.useRef(n),s=v.useRef(o),[u,c]=v.useState(),[d,p]=v.useState(),h=v.useCallback(()=>{u&&u.reInit(i.current,s.current)},[u]);return v.useEffect(()=>{ju(i.current,n)||(i.current=n,h())},[n,h]),v.useEffect(()=>{aw(s.current,o)||(s.current=o,h())},[o,h]),v.useEffect(()=>{if(iw()&&d){Zi.globalOptions=Tl.globalOptions;const g=Zi(d,i.current,s.current);return c(g),()=>g.destroy()}else c(void 0)},[d,c]),[p,u]}Tl.globalOptions=void 0;const Fw=[{title:"План выставки",link:""},{title:"Забронировать стенд",link:""},{title:"B2B | B2G встречи",link:""},{title:"Стать спонсором",link:""}],Uw=()=>{const[n]=Tl();return k.jsxs("section",{className:"flex flex-col gap-5",children:[k.jsx("div",{ref:n,className:"embla",children:k.jsx("div",{className:"embla__container",children:k.jsx("div",{className:"embla__slide",children:k.jsx("img",{src:"/hero-banner.png",alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),k.jsx(ln,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 items-center gap-6 text-2xl",children:Fw.map(({title:o,link:i})=>k.jsx(At,{to:i,className:"w-full",children:k.jsx(on,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md bg-teritary text-on_teritary hover:bg-teritary/90",children:o})},o))})]})},Bw=[{nums:"4,200 m²",text:"выставочной площади"},{nums:"10000+",text:"Посетители посетят выставку"},{nums:"100+",text:"Экспоненты из более чем 30 стран"},{nums:"80%",text:"Участники принимают участие в принятии решений о закупках"}],$w=()=>{const[n]=Tl();return k.jsx("section",{children:k.jsxs(ln,{className:"flex flex-col gap-6",children:[k.jsxs("div",{className:"text-center",children:[k.jsx("h2",{className:"h2 md:mb-3 mb-6 text-left sm:text-center",children:"Выставка-ярмарка «Международная Торговля и Услуги» в Ашхабаде"}),k.jsx("p",{className:"md:text-base text-sm normal text-left sm:text-center text-[#454545]",children:"С 29 апреля по 1 мая 2025 года столица Туркменистана, Ашхабад, станет центром международного делового сообщества благодаря крупнейшей выставке-ярмарке «Торговля и услуги». Организованная Торгово-промышленной палатой Туркменистана и компанией Turkmen Expo, эта выставка направлена на укрепление глобальных торговых связей, привлечение инвестиций и демонстрацию экономического потенциала страны."})]}),k.jsx("div",{ref:n,className:"embla overflow-hidden",children:k.jsx("div",{className:"flex embla__container items-center gap-6",children:Bw.map(o=>k.jsx(X0,{...o,className:"embla__slide flex-[0_0_288px]"},o.text))})}),k.jsx(At,{to:"/about",className:"mx-auto",children:k.jsx(on,{variant:"outline",children:"Подробнее о выставке"})})]})})},Vw=()=>{const[n]=Tl({align:"start"});return k.jsx("section",{className:"bg-surface_high py-10 relative overflow-hidden",children:k.jsx(ln,{children:k.jsx("div",{ref:n,className:"embla ",children:k.jsxs("div",{className:"mb-2 flex gap-6 embla__container",children:[k.jsx(Zd,{img:"/offer-1.png",className:"embla__slide flex-[0_0_300px] md:flex-[0_0_600px]",title:"Гостиницы, трансфер, визы",text:"По вопросам размещения в гостиницах, визовой поддержки, транспортного и экскурсионного обслуживания Вы можете обращаться к официальным туроператорам выставки"}),k.jsx(Zd,{img:"/offer-2.png",className:"embla__slide flex-[0_0_300px] md:flex-[0_0_600px]",title:"Ознакомьтесь с планом выставки ITSE 2025",text:"Как выбрать лучшее место на выставке? Вы всегда должны помнить, что удачное расположение выставочной экспозиции повышает Ваши шансы привлечь внимание Ваших потенциальных клиентов"})]})})})})},Ww=[{title:"Медиа",link:""},{title:"Контакты",link:""}],kh=[{title:"О выставке",link:"/about"},{title:"Посетителям",link:""},{title:"Экспонентам",link:""}],Hw=()=>k.jsxs("header",{children:[k.jsx("div",{className:"h-12 hidden lg:flex bg-teritary text-on_primary items-center overflow-hidden",children:k.jsxs(ln,{className:"flex items-center justify-between",children:[k.jsxs("div",{className:"gap-8 flex items-center justify-between",children:[k.jsxs("div",{className:"flex items-center gap-2",children:[k.jsx(o0,{}),k.jsx("h4",{className:"text-sm",children:"Ашхабад, Туркменистан"})]}),k.jsx("nav",{className:"flex items-center gap-6 text-reverse_primary",children:Ww.map(({title:n,link:o})=>k.jsx(At,{className:"py-2",to:o,children:n},n))})]}),k.jsx("div",{className:"flex items-center gap-6",children:k.jsxs("div",{className:"flex items-center gap-2",children:[k.jsx(i0,{size:16,strokeWidth:"3px"}),k.jsx("h4",{className:"text-sm text-reverse_primary",children:"+99371871814"})]})})]})}),k.jsx("div",{className:"bg-primary py-2 flex items-center justify-between h-20 overflow-hidden",children:k.jsxs(ln,{className:"flex items-center justify-between ",children:[k.jsxs("div",{className:"flex items-center gap-8",children:[k.jsx(At,{to:"/",children:k.jsx(yh,{})}),k.jsx("nav",{className:"lg:flex hidden items-center gap-6 text-reverse_primary",children:kh.map(({title:n,link:o})=>k.jsxs(At,{to:o,className:"flex items-center gap-2",children:[n," ",k.jsx("img",{src:"/chevron.svg"})]},n))})]}),k.jsx("div",{className:"flex items-center",children:k.jsx(Gw,{})}),k.jsxs("div",{className:"lg:flex hidden items-center gap-2",children:[k.jsx(on,{variant:"secondary",size:"sm",className:"bg-secondary_container text-primary hover:bg-secondary_container/90",children:"Официальная поддержка"}),k.jsx(on,{variant:"secondary",size:"sm",className:"bg-reverse_primary text-on_secondary_container hover:bg-reverse_primary/90",children:"B2B | B2G встречи"})]})]})})]}),Gw=()=>{const[n,o]=v.useState(!1);return k.jsxs(B0,{onOpenChange:()=>o(!n),open:n,children:[k.jsx($0,{children:k.jsxs("div",{className:"flex flex-col gap-1 lg:hidden items-center justify-center size-10",children:[k.jsx("div",{className:"w-[18px] h-0.5 bg-on_secondary_container rounded-[2px]"}),k.jsx("div",{className:"w-[18px] h-0.5 bg-on_secondary_container rounded-[2px]"}),k.jsx("div",{className:"w-[18px] h-0.5 bg-on_secondary_container rounded-[2px]"})]})}),k.jsxs(gh,{className:"overflow-y-auto",children:[k.jsx(V0,{}),k.jsxs(vh,{className:"mt-16 flex flex-col gap-2",children:[k.jsx(At,{to:"https://qacis.turkmenexpo.com/",target:"_blank",children:k.jsxs(on,{variant:"outline",className:"w-full",size:"sm",children:["QACIS 2025",k.jsx(uh,{})]})}),k.jsx(At,{to:"",children:k.jsx(on,{variant:"secondary",size:"sm",className:"bg-[#FFAE2A] w-full text-on_teritary hover:bg-[#FFAE2A]/90",children:"Официальная поддержка"})}),k.jsx(At,{to:"/B2B-B2G",onClick:()=>o(!1),children:k.jsx(on,{className:"text-base w-full",size:"sm",children:"B2B | B2G встречи"})})]}),k.jsx("hr",{className:"border-slate-500/20 my-8"}),k.jsx("div",{className:"flex flex-col gap-6",children:kh.map(i=>k.jsx(At,{onClick:()=>o(!1),className:"h-10 text-on_surface ",to:i.link,children:i.title},i.title))})]})]})},Qw=()=>k.jsx("footer",{className:"py-5 bg-primary",children:k.jsxs(ln,{className:"flex flex-col gap-6",children:[k.jsxs("div",{className:"flex flex-col md:flex-row gap-6 md:items-end md:justify-between items-center",children:[k.jsx(yh,{}),k.jsxs("div",{className:"flex items-center gap-6",children:[k.jsx("img",{src:"/inst.svg"}),k.jsx("img",{src:"/in.svg"}),k.jsx("img",{src:"/x.svg"})]})]}),k.jsx("hr",{className:"border-white/50"}),k.jsx("h5",{className:"text-base text-center normal text-white",children:"©2025 Все права защищены"})]})}),ln=({className:n,children:o})=>k.jsx("div",{className:pt("w-full mx-auto max-w-[1240px] px-4",n),children:o}),Kw=({title:n})=>k.jsxs("div",{className:"relative flex items-center h-[216px] w-full justify-center",children:[k.jsx("img",{src:"/cover.png",className:"-z-10 absolute size-full object-cover top-0 left-0"}),k.jsx("h1",{className:"text-on_primary md:text-5xl text-3xl",children:n})]});function Yw(){return k.jsxs("main",{className:"flex flex-col min-h-screen",children:[k.jsx(Hw,{}),k.jsx("div",{className:"flex-auto",children:k.jsx(Av,{})}),k.jsx(Qw,{})]})}const Xw=()=>k.jsxs("div",{className:"flex flex-col gap-20",children:[k.jsx(Uw,{}),k.jsx($w,{}),k.jsx(Vw,{}),k.jsx(q0,{}),k.jsx(tw,{})]}),Jw=n=>{v.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[n])},Zw=({className:n})=>(Jw(),k.jsxs("div",{className:pt("",n),children:[k.jsx(Kw,{title:"О выставке"}),k.jsxs(ln,{className:"flex flex-col md:my-20 my-10 gap-16",children:[k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsx("h3",{className:"h2",children:"Выставка-ярмарка «TurkmenTextile Expo 2025» "}),k.jsxs("p",{className:"p",children:["Глобальная выставка и ярмарка текстиля и моды, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. Наша миссия — укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии. Выставка станет платформой для изучения устойчивых практик, современных технологий и новых дизайнерских решений, вдохновляя на развитие индустрии."," "]})]}),k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsx("h3",{className:"h2",children:"Перспективы"}),k.jsx("h4",{className:"p",children:"TurkmenTextile Expo-2025 открывает широкие перспективы для участников:"}),k.jsxs("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 p",children:[k.jsx("li",{children:"Расширение деловых связей — уникальная возможность для B2B и B2G-встреч, заключения торговых соглашений и установления стратегических партнёрств."}),k.jsx("li",{children:"Доступ к инновациям — знакомство с передовыми технологиями текстильного производства, экологичными материалами и трендами устойчивого дизайна."}),k.jsx("li",{children:"Повышение экспортного потенциала — участие в форумах и семинарах, посвящённых продвижению продукции на новые рынки."}),k.jsx("li",{children:"Обучение и развитие — мастер-классы и лекции от ведущих мировых экспертов помогут участникам углубить знания и освоить современные подходы в области текстильной индустрии."}),k.jsx("li",{children:"Культурный обмен — возможность продемонстрировать богатое текстильное наследие Туркменистана и вдохновиться культурными традициями других стран."})]})]}),k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsx("h3",{className:"h2",children:"Направления"}),k.jsx("h4",{className:"p",children:"Выставка охватывает ключевые аспекты текстильной и модной индустрии, включая:"}),k.jsxs("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:[k.jsx("li",{children:"Традиционный текстиль: экспозиции, шёлковым изделиям и ремесленным техникам Туркменистана."}),k.jsx("li",{children:"Инновационные материалы и технологии: зоны, где демонстрируются устойчивые материалы, 3D-ткацкие технологии и экологически чистые красители."}),k.jsx("li",{children:"Модные показы: ежедневные подиумные шоу с участием местных и международных дизайнеров, включая зарубежных модельеров."}),k.jsx("li",{children:"Маркетплейс для переговоров: пространство для встреч между экспортёрами и импортёрами."}),k.jsx("li",{children:"Оборудование для текстильной промышленности: современные технологии и машины для повышения эффективности и конкурентоспособности."}),k.jsx("li",{children:"Образовательные зоны: интерактивные экспозиции и семинары на тему устойчивости, дизайна и переработки."})]}),k.jsx("p",{className:"text-18",children:"Участники смогут обсудить современные технологии, лучшие практики и эффективные стратегии для устойчивого бизнеса."})]}),k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsx("h3",{className:"h2",children:"Партнёрство и спонсорство"}),k.jsx("h4",{className:"p",children:"TurkmenTextile Expo-2025 приглашает к сотрудничеству международные организации, ассоциации и бренды для продвижения своих продуктов и услуг. Партнёры получат:"}),k.jsxs("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:[k.jsx("li",{children:"Признание на международной арене — участие в масштабном событии, привлекающем ведущих игроков текстильной и модной индустрий."}),k.jsx("li",{children:"Рекламные возможности — интеграция бренда в маркетинговую кампанию выставки, включая digital и офлайн-каналы."}),k.jsx("li",{children:"Вклад в развитие индустрии — поддержка инноваций, устойчивых практик и культурного наследия."})]})]})]}),k.jsx(nw,{}),k.jsx(rw,{}),k.jsx(ow,{})]})),qw=uy([{element:k.jsx(Yw,{}),path:"/",children:[{element:k.jsx(Xw,{}),path:""},{element:k.jsx(Zw,{}),path:"/about"}]}]);yg.createRoot(document.getElementById("root")).render(k.jsx(v.StrictMode,{children:k.jsx(Ey,{router:qw})})); diff --git a/dist/chevron.svg b/dist/chevron.svg new file mode 100644 index 0000000..aa4b89d --- /dev/null +++ b/dist/chevron.svg @@ -0,0 +1,3 @@ + + + diff --git a/dist/contacts/address.svg b/dist/contacts/address.svg new file mode 100644 index 0000000..c21ff8e --- /dev/null +++ b/dist/contacts/address.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/dist/contacts/email.svg b/dist/contacts/email.svg new file mode 100644 index 0000000..f07e96f --- /dev/null +++ b/dist/contacts/email.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/dist/contacts/fax.svg b/dist/contacts/fax.svg new file mode 100644 index 0000000..586dfa9 --- /dev/null +++ b/dist/contacts/fax.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/dist/contacts/location.svg b/dist/contacts/location.svg new file mode 100644 index 0000000..4a6701b --- /dev/null +++ b/dist/contacts/location.svg @@ -0,0 +1,4 @@ + + + + diff --git a/dist/contacts/mail.svg b/dist/contacts/mail.svg new file mode 100644 index 0000000..0c4f861 --- /dev/null +++ b/dist/contacts/mail.svg @@ -0,0 +1,4 @@ + + + + diff --git a/dist/contacts/mobile.svg b/dist/contacts/mobile.svg new file mode 100644 index 0000000..8578a4c --- /dev/null +++ b/dist/contacts/mobile.svg @@ -0,0 +1,4 @@ + + + + diff --git a/dist/contacts/phone.svg b/dist/contacts/phone.svg new file mode 100644 index 0000000..5dd3630 --- /dev/null +++ b/dist/contacts/phone.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/dist/cover.png b/dist/cover.png new file mode 100644 index 0000000..d6c7498 Binary files /dev/null and b/dist/cover.png differ diff --git a/dist/fonts/Gilroy-Medium.woff2 b/dist/fonts/Gilroy-Medium.woff2 new file mode 100644 index 0000000..ccc2fc6 Binary files /dev/null and b/dist/fonts/Gilroy-Medium.woff2 differ diff --git a/dist/fonts/Gilroy-Regular.woff2 b/dist/fonts/Gilroy-Regular.woff2 new file mode 100644 index 0000000..7f4b61c Binary files /dev/null and b/dist/fonts/Gilroy-Regular.woff2 differ diff --git a/dist/fonts/Gilroy-Semibold.woff2 b/dist/fonts/Gilroy-Semibold.woff2 new file mode 100644 index 0000000..1fc312f Binary files /dev/null and b/dist/fonts/Gilroy-Semibold.woff2 differ diff --git a/dist/hero-banner.png b/dist/hero-banner.png new file mode 100644 index 0000000..ea454e4 Binary files /dev/null and b/dist/hero-banner.png differ diff --git a/dist/in.svg b/dist/in.svg new file mode 100644 index 0000000..19a57ea --- /dev/null +++ b/dist/in.svg @@ -0,0 +1,3 @@ + + + diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..b2031e0 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite + React + TS + + + + + + + diff --git a/dist/inst.svg b/dist/inst.svg new file mode 100644 index 0000000..97909b9 --- /dev/null +++ b/dist/inst.svg @@ -0,0 +1,3 @@ + + + diff --git a/dist/logo.svg b/dist/logo.svg new file mode 100644 index 0000000..ff89225 --- /dev/null +++ b/dist/logo.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/offer-1.png b/dist/offer-1.png new file mode 100644 index 0000000..dc0ab1a Binary files /dev/null and b/dist/offer-1.png differ diff --git a/dist/offer-2.png b/dist/offer-2.png new file mode 100644 index 0000000..d1047c4 Binary files /dev/null and b/dist/offer-2.png differ diff --git a/dist/theme/1.svg b/dist/theme/1.svg new file mode 100644 index 0000000..8520f0c --- /dev/null +++ b/dist/theme/1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/2.svg b/dist/theme/2.svg new file mode 100644 index 0000000..17f72fb --- /dev/null +++ b/dist/theme/2.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/3.svg b/dist/theme/3.svg new file mode 100644 index 0000000..c156ffa --- /dev/null +++ b/dist/theme/3.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/4.svg b/dist/theme/4.svg new file mode 100644 index 0000000..3d760c8 --- /dev/null +++ b/dist/theme/4.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/5.svg b/dist/theme/5.svg new file mode 100644 index 0000000..d98c8b2 --- /dev/null +++ b/dist/theme/5.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/6.svg b/dist/theme/6.svg new file mode 100644 index 0000000..2aa71ba --- /dev/null +++ b/dist/theme/6.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/7.svg b/dist/theme/7.svg new file mode 100644 index 0000000..eb0f8f7 --- /dev/null +++ b/dist/theme/7.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/theme/8.svg b/dist/theme/8.svg new file mode 100644 index 0000000..abe2d9c --- /dev/null +++ b/dist/theme/8.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/vite.svg b/dist/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/dist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/x.svg b/dist/x.svg new file mode 100644 index 0000000..36597d4 --- /dev/null +++ b/dist/x.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/shared/home/home-partners.tsx b/src/components/shared/home/home-partners.tsx index 3c1e8bd..d0155ab 100644 --- a/src/components/shared/home/home-partners.tsx +++ b/src/components/shared/home/home-partners.tsx @@ -1,83 +1,83 @@ -import { Button } from "@/components/ui/button"; -import { cn } from "@/lib/utils"; -import { FC, useCallback, useEffect, useState } from "react"; -import useEmblaCarousel from "embla-carousel-react"; -import { ArrowLeft, ArrowRight } from "lucide-react"; -import { Container } from "@/components/layout"; +// import { Button } from "@/components/ui/button"; +// import { cn } from "@/lib/utils"; +// import { FC, useCallback, useEffect, useState } from "react"; +// import useEmblaCarousel from "embla-carousel-react"; +// import { ArrowLeft, ArrowRight } from "lucide-react"; +// import { Container } from "@/components/layout"; -interface Props { - className?: string; -} +// interface Props { +// className?: string; +// } -export const HomePartners: FC = ({ className }) => { - const [emblaRef, emblaApi] = useEmblaCarousel(); - const [selectedIndex, setSelectedIndex] = useState(0); +// export const HomePartners: FC = ({ className }) => { +// const [emblaRef, emblaApi] = useEmblaCarousel(); +// const [selectedIndex, setSelectedIndex] = useState(0); - useEffect(() => { - if (!emblaApi) return; +// useEffect(() => { +// if (!emblaApi) return; - const onSelect = () => setSelectedIndex(emblaApi.selectedScrollSnap()); - emblaApi.on("select", onSelect); - onSelect(); +// const onSelect = () => setSelectedIndex(emblaApi.selectedScrollSnap()); +// emblaApi.on("select", onSelect); +// onSelect(); - return () => { - emblaApi.off("select", onSelect); - }; - }, [emblaApi]); +// return () => { +// emblaApi.off("select", onSelect); +// }; +// }, [emblaApi]); - const scrollTo = useCallback( - (index: number) => { - if (emblaApi) emblaApi.scrollTo(index); - }, - [emblaApi] - ); +// const scrollTo = useCallback( +// (index: number) => { +// if (emblaApi) emblaApi.scrollTo(index); +// }, +// [emblaApi] +// ); - const scrollPrev = useCallback(() => { - if (emblaApi) emblaApi.scrollPrev(); - }, [emblaApi]); +// const scrollPrev = useCallback(() => { +// if (emblaApi) emblaApi.scrollPrev(); +// }, [emblaApi]); - const scrollNext = useCallback(() => { - if (emblaApi) emblaApi.scrollNext(); - }, [emblaApi]); +// const scrollNext = useCallback(() => { +// if (emblaApi) emblaApi.scrollNext(); +// }, [emblaApi]); - return ( - - - - Участники выставки ITSE 2025 +// return ( +// +// +// +// Участники выставки ITSE 2025 - - Все экспоненты - - +// +// Все экспоненты +// +// - - - +// +// +// - - - +// +// +// - - - {Array.from({ length: 12 }).map((_, i) => ( - - ))} - - +// +// +// {Array.from({ length: 12 }).map((_, i) => ( +// +// ))} +// +// - {/* */} - - - ); -}; +// {/* */} +// +// +// ); +// }; diff --git a/src/components/shared/home/index.ts b/src/components/shared/home/index.ts index 84a30ff..b60ddbf 100644 --- a/src/components/shared/home/index.ts +++ b/src/components/shared/home/index.ts @@ -2,5 +2,4 @@ export { HomeHero } from "./home-hero"; export { HomeTime } from "./home-time"; export { HomeAbout } from "./home-about"; export { HomeTheme } from "./home-theme"; -export { HomePartners } from "./home-partners"; export { HomeOffers } from "./home-offers";