diff --git a/assets/index-25cfa168.css b/assets/index-25cfa168.css new file mode 100644 index 0000000..f924df3 --- /dev/null +++ b/assets/index-25cfa168.css @@ -0,0 +1 @@ +*{margin:0;padding:0;box-sizing:border-box}::-moz-placeholder{color:#f3f3f399!important;opacity:1}::placeholder{color:#f3f3f399!important;opacity:1}body{background-color:var(--main-color);font-size:1.6rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.form{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;align-items:center;padding:1.5rem;border-radius:1rem;text-align:center;box-shadow:#262121 0 2px 8px;min-width:70rem}.form>div>h2{font-size:2.5rem;color:var(--white)}.form>div:nth-child(2){display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:2rem;margin-right:2rem}.form>div>p{color:#f3f3f3}.form form,.form select{width:100%}.form input,.form select{display:flex;width:100%;height:4rem;border-radius:1rem;background-color:transparent;border:2px solid #ffffff77;padding-left:.7rem;margin-top:2rem}.form input:focus,.form select:focus{border-color:var(--main-color);outline:none}.imgdiv{background:linear-gradient(180deg,#ff0000,#4c0909);border-radius:10px}form input[type=submit]{cursor:pointer;border:none;color:var(--white);text-align:center;background-color:var(--main-color);padding-left:43%}form input[type=submit]:hover,form input[type=submit]:focus{background-color:transparent;border:2px solid var(--main-color);color:var(--main-color);transition:.3s}.changer{width:50%;margin:auto;margin-bottom:4rem;display:grid;padding:.8rem;grid-template-columns:repeat(2,1fr);background-color:var(--focus-color);border-radius:1rem;box-shadow:#262121 0 2px 8px}.changer .page{text-align:center;padding:2rem;cursor:pointer;font-weight:700}.active{background-color:var(--main-color);border-radius:1rem}:root{--main-color: rgba(20, 29, 55, 100%);--second-color: rgba(8, 95, 206, 255);--focus-color: rgba(255, 255, 255, 23%);--white: #ffffff7b;--light: #f3f3f382;--grey: #7e7575;--black:#333}*{margin:0;padding:0;list-style:none;text-decoration:none;box-sizing:border-box;font-size:1.6rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.footer-box{display:grid;background:linear-gradient(180deg,#be2f2f,#ca0909);grid-template-columns:repeat(5,1fr);color:#333;padding:2rem;justify-content:center;gap:2rem}.footer-box>div{display:flex;margin-left:auto;margin-right:auto;flex-direction:column}.footer-heading{font-weight:500;background-color:var(--focus-color);padding:.5rem;margin-bottom:2rem;text-align:center;border-radius:.7rem}.footer-box>div{width:60%}.footer-box>div>ul>li{margin-bottom:.6rem;margin-top:.6rem}.footer-box>div a{color:var(--white)}.footer-box>div a:hover,.footer-box>div a:focus{color:var(--black);font-weight:700;transition:.3s}.last-footer{display:grid;background:linear-gradient(60deg,#be2f2f,#be2f2f,#ca0909);grid-template-columns:repeat(3,1fr);text-align:center;color:#ffffff6e;align-items:center;padding:2rem;gap:2rem}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{display:none}*,: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: }::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: }.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}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.bottom-4{bottom:1rem}.right-0{right:0}.z-10{z-index:10}.col-span-full{grid-column:1 / -1}.mx-12{margin-left:3rem;margin-right:3rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-12{margin-top:3rem;margin-bottom:3rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-4{margin-bottom:1rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-56{max-height:14rem}.min-h-full{min-height:100%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-10\/12{width:83.333333%}.w-12{width:3rem}.w-16{width:4rem}.w-2\/3{width:66.666667%}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.place-content-center{place-content:center}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-7{gap:1.75rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-8{row-gap:2rem}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(3rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-900\/10{border-color:#1118271a}.border-gray-900\/25{border-color:#11182740}.border-mainColor{border-color:#ed0331}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-l-red-800{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.bg-\[\#1f2937dd\]{background-color:#1f2937dd}.bg-\[\#33333344\]{background-color:#3334}.bg-\[\#FFFFFF\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\[\#ff003214\]{background-color:#ff003214}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-mainColor{background-color:#ed0331}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.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-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.pb-12{padding-bottom:3rem}.pl-1{padding-left:.25rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-9{line-height:2.25rem}.tracking-tight{letter-spacing:-.025em}.text-\[\#FFFFFFdd\]{color:#fffd}.text-\[\#f3f3f399\]{color:#f3f3f399}.text-\[\#ffffffc3\]{color:#ffffffc3}.text-\[\#ffffffdd\]{color:#fffd}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-mainColor{color:#ed0331}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.mix-blend-exclusion{mix-blend-mode:exclusion}.shadow-custom{--tw-shadow: rgba(0, 0, 0, .1) 0px 4px 12px;--tw-shadow-colored: 0px 4px 12px 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-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-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--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)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{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}.duration-100{transition-duration:.1s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}:root{--main-color: rgb(194, 14, 14);--second-color: rgba(8, 95, 206, 255);--focus-color: rgba(255, 255, 255, 23%);--white: #ffffff99;--light: #f3f3f3}*{padding:0;margin:0;box-sizing:border-box;text-decoration:none}html{font-size:62.5%!important;scroll-behavior:smooth}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.mheader{background-color:var(--main-color);width:100%;display:flex;align-items:center;justify-content:space-between}.mleftlogo{display:flex}.mleftlogo img{width:3rem;margin-right:2rem}.mleftlogo{padding:.5rem;font-size:1.3rem;color:#fff;line-height:1.3}.mrightside{display:flex;width:20%;padding:.2rem;align-items:center;justify-content:space-between}#eng{padding:1.7%;font-size:2.2rem;color:#fff}.mrightside button{border:none;width:15%;background-color:var(--focus-color);height:-moz-fit-content;height:fit-content;padding-top:.5rem;padding-bottom:.5rem;border-radius:.6rem;font-weight:700;color:#fff;text-align:center}.mnav{background:linear-gradient(180deg,#be2f2f,#ca0909);background-color:var(--second-color);display:flex;width:100%;height:7rem;background-color:var(--nav);justify-content:space-between}.mlogo{display:flex;align-items:center;width:-moz-fit-content;width:fit-content}.mlogo img{display:block;width:20rem;padding-bottom:2%}.mnavlist{width:60%;display:flex;font-size:1.6rem;align-items:center;justify-content:space-between}.mnavlist a{text-decoration:none;color:#fff;margin:3%;cursor:pointer!important}.mnavlist a:hover,.mnavlist a:focus{cursor:pointer;color:#0009;font-weight:500;transition:.3s}.mnavlist a>h4:hover{cursor:pointer}.mnavlist button{border:.2rem solid white;border-radius:3rem;color:#fff;font-size:1.6rem;text-decoration:none;padding:1rem;background-color:var(--focus-color);cursor:pointer}.swal2-container .swal2-popup{font-size:1.6rem}.active{transition:.5s}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:ring-2:focus-within{--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-within\:ring-inset:focus-within{--tw-ring-inset: inset}.focus-within\:ring-indigo-600:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-within\:ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0: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(0px + 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-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-inset:focus{--tw-ring-inset: inset}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-red-600:focus-visible{outline-color:#dc2626}@media (prefers-color-scheme: dark){.dark\:bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.dark\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark\:hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:focus\:ring-red-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 27 27 / var(--tw-ring-opacity))}}@media (min-width: 640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:col-span-3{grid-column:span 3 / span 3}.sm\:col-span-4{grid-column:span 4 / span 4}.sm\:col-start-1{grid-column-start:1}.sm\:max-w-md{max-width:28rem}.sm\:max-w-xs{max-width:20rem}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}} diff --git a/assets/index-7d375347.js b/assets/index-7d375347.js new file mode 100644 index 0000000..c550226 --- /dev/null +++ b/assets/index-7d375347.js @@ -0,0 +1,1205 @@ +function vT(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a2={exports:{}},Kd={},s2={exports:{}},de={};/** + * @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 Bl=Symbol.for("react.element"),yT=Symbol.for("react.portal"),bT=Symbol.for("react.fragment"),wT=Symbol.for("react.strict_mode"),xT=Symbol.for("react.profiler"),ST=Symbol.for("react.provider"),kT=Symbol.for("react.context"),CT=Symbol.for("react.forward_ref"),ET=Symbol.for("react.suspense"),PT=Symbol.for("react.memo"),TT=Symbol.for("react.lazy"),Uy=Symbol.iterator;function AT(e){return e===null||typeof e!="object"?null:(e=Uy&&e[Uy]||e["@@iterator"],typeof e=="function"?e:null)}var l2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},c2=Object.assign,u2={};function Fa(e,t,n){this.props=e,this.context=t,this.refs=u2,this.updater=n||l2}Fa.prototype.isReactComponent={};Fa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Fa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function d2(){}d2.prototype=Fa.prototype;function r0(e,t,n){this.props=e,this.context=t,this.refs=u2,this.updater=n||l2}var o0=r0.prototype=new d2;o0.constructor=r0;c2(o0,Fa.prototype);o0.isPureReactComponent=!0;var Hy=Array.isArray,f2=Object.prototype.hasOwnProperty,i0={current:null},p2={key:!0,ref:!0,__self:!0,__source:!0};function h2(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)f2.call(t,r)&&!p2.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,ae=N[q];if(0>>1;qo(oe,K))neo(gt,oe)?(N[q]=gt,N[ne]=K,q=ne):(N[q]=oe,N[Y]=K,q=Y);else if(neo(gt,K))N[q]=gt,N[ne]=K,q=ne;else break e}}return X}function o(N,X){var K=N.sortIndex-X.sortIndex;return K!==0?K:N.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],d=1,p=null,h=3,y=!1,b=!1,m=!1,E=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(N){for(var X=n(c);X!==null;){if(X.callback===null)r(c);else if(X.startTime<=N)r(c),X.sortIndex=X.expirationTime,t(l,X);else break;X=n(c)}}function T(N){if(m=!1,S(N),!b)if(n(l)!==null)b=!0,D(R);else{var X=n(c);X!==null&&me(T,X.startTime-N)}}function R(N,X){b=!1,m&&(m=!1,w(I),I=-1),y=!0;var K=h;try{for(S(X),p=n(l);p!==null&&(!(p.expirationTime>X)||N&&!ie());){var q=p.callback;if(typeof q=="function"){p.callback=null,h=p.priorityLevel;var ae=q(p.expirationTime<=X);X=e.unstable_now(),typeof ae=="function"?p.callback=ae:p===n(l)&&r(l),S(X)}else r(l);p=n(l)}if(p!==null)var J=!0;else{var Y=n(c);Y!==null&&me(T,Y.startTime-X),J=!1}return J}finally{p=null,h=K,y=!1}}var j=!1,O=null,I=-1,F=5,V=-1;function ie(){return!(e.unstable_now()-VN||125q?(N.sortIndex=K,t(c,N),n(l)===null&&N===n(c)&&(m?(w(I),I=-1):m=!0,me(T,K-q))):(N.sortIndex=ae,t(l,N),b||y||(b=!0,D(R))),N},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(N){var X=h;return function(){var K=h;h=X;try{return N.apply(this,arguments)}finally{h=K}}}})(y2);v2.exports=y2;var FT=v2.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 b2=k,an=FT;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gm=Object.prototype.hasOwnProperty,DT=/^[: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]*$/,qy={},Gy={};function BT(e){return gm.call(Gy,e)?!0:gm.call(qy,e)?!1:DT.test(e)?Gy[e]=!0:(qy[e]=!0,!1)}function VT(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function UT(e,t,n,r){if(t===null||typeof t>"u"||VT(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Dt(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new Dt(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){kt[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){kt[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){kt[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){kt[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var s0=/[\-:]([a-z])/g;function l0(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(s0,l0);kt[t]=new Dt(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(s0,l0);kt[t]=new Dt(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(s0,l0);kt[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});kt.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){kt[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function c0(e,t,n,r){var o=kt.hasOwnProperty(t)?kt[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` +`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Qp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Es(e):""}function HT(e){switch(e.tag){case 5:return Es(e.type);case 16:return Es("Lazy");case 13:return Es("Suspense");case 19:return Es("SuspenseList");case 0:case 2:case 15:return e=Zp(e.type,!1),e;case 11:return e=Zp(e.type.render,!1),e;case 1:return e=Zp(e.type,!0),e;default:return""}}function wm(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 Vi:return"Fragment";case Bi:return"Portal";case vm:return"Profiler";case u0:return"StrictMode";case ym:return"Suspense";case bm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case S2:return(e.displayName||"Context")+".Consumer";case x2:return(e._context.displayName||"Context")+".Provider";case d0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case f0:return t=e.displayName||null,t!==null?t:wm(e.type)||"Memo";case io:t=e._payload,e=e._init;try{return wm(e(t))}catch{}}return null}function WT(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 wm(t);case 8:return t===u0?"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 Ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qT(e){var t=C2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lc(e){e._valueTracker||(e._valueTracker=qT(e))}function E2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=C2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zu(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 xm(e,t){var n=t.checked;return qe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ky(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ro(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function P2(e,t){t=t.checked,t!=null&&c0(e,"checked",t,!1)}function Sm(e,t){P2(e,t);var n=Ro(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?km(e,t.type,n):t.hasOwnProperty("defaultValue")&&km(e,t.type,Ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xy(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function km(e,t,n){(t!=="number"||Zu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ps=Array.isArray;function fa(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ic.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function al(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zs={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},GT=["Webkit","ms","Moz","O"];Object.keys(zs).forEach(function(e){GT.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zs[t]=zs[e]})});function R2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zs.hasOwnProperty(e)&&zs[e]?(""+t).trim():t+"px"}function $2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=R2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var YT=qe({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 Pm(e,t){if(t){if(YT[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Tm(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 Am=null;function p0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _m=null,pa=null,ha=null;function Jy(e){if(e=Hl(e)){if(typeof _m!="function")throw Error(M(280));var t=e.stateNode;t&&(t=ef(t),_m(e.stateNode,e.type,t))}}function O2(e){pa?ha?ha.push(e):ha=[e]:pa=e}function j2(){if(pa){var e=pa,t=ha;if(ha=pa=null,Jy(e),t)for(e=0;e>>=0,e===0?32:31-(i3(e)/a3|0)|0}var zc=64,Mc=4194304;function Ts(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 nd(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Ts(s):(i&=a,i!==0&&(r=Ts(i)))}else a=n&~o,a!==0?r=Ts(a):i!==0&&(r=Ts(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Vl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function u3(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0=Ns),l1=String.fromCharCode(32),c1=!1;function J2(e,t){switch(e){case"keyup":return N3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eS(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ui=!1;function D3(e,t){switch(e){case"compositionend":return eS(t);case"keypress":return t.which!==32?null:(c1=!0,l1);case"textInput":return e=t.data,e===l1&&c1?null:e;default:return null}}function B3(e,t){if(Ui)return e==="compositionend"||!x0&&J2(e,t)?(e=Q2(),Su=y0=fo=null,Ui=!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:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=p1(n)}}function oS(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?oS(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iS(){for(var e=window,t=Zu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zu(e.document)}return t}function S0(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 X3(e){var t=iS(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&oS(n.ownerDocument.documentElement,n)){if(r!==null&&S0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=h1(n,i);var a=h1(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Hi=null,Im=null,Ds=null,zm=!1;function m1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zm||Hi==null||Hi!==Zu(r)||(r=Hi,"selectionStart"in r&&S0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ds&&fl(Ds,r)||(Ds=r,r=id(Im,"onSelect"),0Gi||(e.current=Vm[Gi],Vm[Gi]=null,Gi--)}function $e(e,t){Gi++,Vm[Gi]=e.current,e.current=t}var $o={},Rt=Fo($o),Gt=Fo(!1),hi=$o;function Ea(e,t){var n=e.type.contextTypes;if(!n)return $o;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Yt(e){return e=e.childContextTypes,e!=null}function sd(){Ne(Gt),Ne(Rt)}function S1(e,t,n){if(Rt.current!==$o)throw Error(M(168));$e(Rt,t),$e(Gt,n)}function hS(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,WT(e)||"Unknown",o));return qe({},n,r)}function ld(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$o,hi=Rt.current,$e(Rt,e),$e(Gt,Gt.current),!0}function k1(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=hS(e,t,hi),r.__reactInternalMemoizedMergedChildContext=e,Ne(Gt),Ne(Rt),$e(Rt,e)):Ne(Gt),$e(Gt,n)}var kr=null,tf=!1,fh=!1;function mS(e){kr===null?kr=[e]:kr.push(e)}function lA(e){tf=!0,mS(e)}function Do(){if(!fh&&kr!==null){fh=!0;var e=0,t=Te;try{var n=kr;for(Te=1;e>=a,o-=a,Pr=1<<32-Dn(t)+o|n<I?(F=O,O=null):F=O.sibling;var V=h(w,O,S[I],T);if(V===null){O===null&&(O=F);break}e&&O&&V.alternate===null&&t(w,O),v=i(V,v,I),j===null?R=V:j.sibling=V,j=V,O=F}if(I===S.length)return n(w,O),De&&Ko(w,I),R;if(O===null){for(;II?(F=O,O=null):F=O.sibling;var ie=h(w,O,V.value,T);if(ie===null){O===null&&(O=F);break}e&&O&&ie.alternate===null&&t(w,O),v=i(ie,v,I),j===null?R=ie:j.sibling=ie,j=ie,O=F}if(V.done)return n(w,O),De&&Ko(w,I),R;if(O===null){for(;!V.done;I++,V=S.next())V=p(w,V.value,T),V!==null&&(v=i(V,v,I),j===null?R=V:j.sibling=V,j=V);return De&&Ko(w,I),R}for(O=r(w,O);!V.done;I++,V=S.next())V=y(O,w,I,V.value,T),V!==null&&(e&&V.alternate!==null&&O.delete(V.key===null?I:V.key),v=i(V,v,I),j===null?R=V:j.sibling=V,j=V);return e&&O.forEach(function(Pe){return t(w,Pe)}),De&&Ko(w,I),R}function E(w,v,S,T){if(typeof S=="object"&&S!==null&&S.type===Vi&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case jc:e:{for(var R=S.key,j=v;j!==null;){if(j.key===R){if(R=S.type,R===Vi){if(j.tag===7){n(w,j.sibling),v=o(j,S.props.children),v.return=w,w=v;break e}}else if(j.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===io&&R1(R)===j.type){n(w,j.sibling),v=o(j,S.props),v.ref=hs(w,j,S),v.return=w,w=v;break e}n(w,j);break}else t(w,j);j=j.sibling}S.type===Vi?(v=ci(S.props.children,w.mode,T,S.key),v.return=w,w=v):(T=Ru(S.type,S.key,S.props,null,w.mode,T),T.ref=hs(w,v,S),T.return=w,w=T)}return a(w);case Bi:e:{for(j=S.key;v!==null;){if(v.key===j)if(v.tag===4&&v.stateNode.containerInfo===S.containerInfo&&v.stateNode.implementation===S.implementation){n(w,v.sibling),v=o(v,S.children||[]),v.return=w,w=v;break e}else{n(w,v);break}else t(w,v);v=v.sibling}v=wh(S,w.mode,T),v.return=w,w=v}return a(w);case io:return j=S._init,E(w,v,j(S._payload),T)}if(Ps(S))return b(w,v,S,T);if(cs(S))return m(w,v,S,T);Hc(w,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,v!==null&&v.tag===6?(n(w,v.sibling),v=o(v,S),v.return=w,w=v):(n(w,v),v=bh(S,w.mode,T),v.return=w,w=v),a(w)):n(w,v)}return E}var Ta=kS(!0),CS=kS(!1),Wl={},ar=Fo(Wl),gl=Fo(Wl),vl=Fo(Wl);function ri(e){if(e===Wl)throw Error(M(174));return e}function $0(e,t){switch($e(vl,t),$e(gl,e),$e(ar,Wl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Em(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Em(t,e)}Ne(ar),$e(ar,t)}function Aa(){Ne(ar),Ne(gl),Ne(vl)}function ES(e){ri(vl.current);var t=ri(ar.current),n=Em(t,e.type);t!==n&&($e(gl,e),$e(ar,n))}function O0(e){gl.current===e&&(Ne(ar),Ne(gl))}var Ue=Fo(0);function hd(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ph=[];function j0(){for(var e=0;en?n:4,e(!0);var r=hh.transition;hh.transition={};try{e(!1),t()}finally{Te=n,hh.transition=r}}function BS(){return Tn().memoizedState}function fA(e,t,n){var r=Eo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},VS(e))US(t,n);else if(n=bS(e,t,n,r),n!==null){var o=Mt();Bn(n,e,r,o),HS(n,t,r)}}function pA(e,t,n){var r=Eo(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(VS(e))US(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Vn(s,a)){var l=t.interleaved;l===null?(o.next=o,_0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=bS(e,t,o,r),n!==null&&(o=Mt(),Bn(n,e,r,o),HS(n,t,r))}}function VS(e){var t=e.alternate;return e===We||t!==null&&t===We}function US(e,t){Bs=md=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function HS(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,m0(e,n)}}var gd={readContext:Pn,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useInsertionEffect:Pt,useLayoutEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useMutableSource:Pt,useSyncExternalStore:Pt,useId:Pt,unstable_isNewReconciler:!1},hA={readContext:Pn,useCallback:function(e,t){return Xn().memoizedState=[e,t===void 0?null:t],e},useContext:Pn,useEffect:O1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pu(4194308,4,zS.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pu(4,2,e,t)},useMemo:function(e,t){var n=Xn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fA.bind(null,We,e),[r.memoizedState,e]},useRef:function(e){var t=Xn();return e={current:e},t.memoizedState=e},useState:$1,useDebugValue:N0,useDeferredValue:function(e){return Xn().memoizedState=e},useTransition:function(){var e=$1(!1),t=e[0];return e=dA.bind(null,e[1]),Xn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=We,o=Xn();if(De){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),ht===null)throw Error(M(349));gi&30||AS(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,O1(RS.bind(null,r,i,e),[e]),r.flags|=2048,wl(9,_S.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Xn(),t=ht.identifierPrefix;if(De){var n=Tr,r=Pr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[tr]=t,e[ml]=r,JS(e,t,!1,!1),t.stateNode=e;e:{switch(a=Tm(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),o=r;break;case"iframe":case"object":case"embed":Ie("load",e),o=r;break;case"video":case"audio":for(o=0;oRa&&(t.flags|=128,r=!0,ms(i,!1),t.lanes=4194304)}else{if(!r)if(e=hd(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ms(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!De)return Tt(t),null}else 2*Qe()-i.renderingStartTime>Ra&&n!==1073741824&&(t.flags|=128,r=!0,ms(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,n=Ue.current,$e(Ue,r?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return H0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Jt&1073741824&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function SA(e,t){switch(C0(t),t.tag){case 1:return Yt(t.type)&&sd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Aa(),Ne(Gt),Ne(Rt),j0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return O0(t),null;case 13:if(Ne(Ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Pa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(Ue),null;case 4:return Aa(),null;case 10:return A0(t.type._context),null;case 22:case 23:return H0(),null;case 24:return null;default:return null}}var qc=!1,_t=!1,kA=typeof WeakSet=="function"?WeakSet:Set,H=null;function Qi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(e,t,r)}else n.current=null}function eg(e,t,n){try{n()}catch(r){Ge(e,t,r)}}var B1=!1;function CA(e,t){if(Mm=rd,e=iS(),S0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,d=0,p=e,h=null;t:for(;;){for(var y;p!==n||o!==0&&p.nodeType!==3||(s=a+o),p!==i||r!==0&&p.nodeType!==3||(l=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(y=p.firstChild)!==null;)h=p,p=y;for(;;){if(p===e)break t;if(h===n&&++c===o&&(s=a),h===i&&++d===r&&(l=a),(y=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=y}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Nm={focusedElem:e,selectionRange:n},rd=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var m=b.memoizedProps,E=b.memoizedState,w=t.stateNode,v=w.getSnapshotBeforeUpdate(t.elementType===t.type?m:Ln(t.type,m),E);w.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(T){Ge(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return b=B1,B1=!1,b}function Vs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&eg(t,n,i)}o=o.next}while(o!==r)}}function of(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function tg(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function nk(e){var t=e.alternate;t!==null&&(e.alternate=null,nk(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tr],delete t[ml],delete t[Bm],delete t[aA],delete t[sA])),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 rk(e){return e.tag===5||e.tag===3||e.tag===4}function V1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rk(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 ng(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ad));else if(r!==4&&(e=e.child,e!==null))for(ng(e,t,n),e=e.sibling;e!==null;)ng(e,t,n),e=e.sibling}function rg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(rg(e,t,n),e=e.sibling;e!==null;)rg(e,t,n),e=e.sibling}var bt=null,In=!1;function Qr(e,t,n){for(n=n.child;n!==null;)ok(e,t,n),n=n.sibling}function ok(e,t,n){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(Xd,n)}catch{}switch(n.tag){case 5:_t||Qi(n,t);case 6:var r=bt,o=In;bt=null,Qr(e,t,n),bt=r,In=o,bt!==null&&(In?(e=bt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):bt.removeChild(n.stateNode));break;case 18:bt!==null&&(In?(e=bt,n=n.stateNode,e.nodeType===8?dh(e.parentNode,n):e.nodeType===1&&dh(e,n),ul(e)):dh(bt,n.stateNode));break;case 4:r=bt,o=In,bt=n.stateNode.containerInfo,In=!0,Qr(e,t,n),bt=r,In=o;break;case 0:case 11:case 14:case 15:if(!_t&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&eg(n,t,a),o=o.next}while(o!==r)}Qr(e,t,n);break;case 1:if(!_t&&(Qi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ge(n,t,s)}Qr(e,t,n);break;case 21:Qr(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Qr(e,t,n),_t=r):Qr(e,t,n);break;default:Qr(e,t,n)}}function U1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new kA),t.forEach(function(r){var o=jA.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function On(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*PA(r/1960))-r,10e?16:e,po===null)var r=!1;else{if(e=po,po=null,bd=0,he&6)throw Error(M(331));var o=he;for(he|=4,H=e.current;H!==null;){var i=H,a=i.child;if(H.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lQe()-V0?li(e,0):B0|=n),Kt(e,t)}function fk(e,t){t===0&&(e.mode&1?(t=Mc,Mc<<=1,!(Mc&130023424)&&(Mc=4194304)):t=1);var n=Mt();e=Mr(e,t),e!==null&&(Vl(e,t,n),Kt(e,n))}function OA(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fk(e,n)}function jA(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),fk(e,n)}var pk;pk=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Gt.current)Wt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Wt=!1,wA(e,t,n);Wt=!!(e.flags&131072)}else Wt=!1,De&&t.flags&1048576&&gS(t,ud,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tu(e,t),e=t.pendingProps;var o=Ea(t,Rt.current);ga(t,n),o=I0(null,t,r,e,o,n);var i=z0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yt(r)?(i=!0,ld(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,R0(t),o.updater=nf,t.stateNode=o,o._reactInternals=t,Gm(t,r,e,n),t=Xm(null,t,r,!0,i,n)):(t.tag=0,De&&i&&k0(t),It(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=IA(r),e=Ln(r,e),o){case 0:t=Km(null,t,r,e,n);break e;case 1:t=N1(null,t,r,e,n);break e;case 11:t=z1(null,t,r,e,n);break e;case 14:t=M1(null,t,r,Ln(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ln(r,o),Km(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ln(r,o),N1(e,t,r,o,n);case 3:e:{if(XS(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,wS(e,t),pd(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=_a(Error(M(423)),t),t=F1(e,t,r,n,o);break e}else if(r!==o){o=_a(Error(M(424)),t),t=F1(e,t,r,n,o);break e}else for(tn=So(t.stateNode.containerInfo.firstChild),nn=t,De=!0,zn=null,n=CS(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pa(),r===o){t=Nr(e,t,n);break e}It(e,t,r,n)}t=t.child}return t;case 5:return ES(t),e===null&&Hm(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Fm(r,o)?a=null:i!==null&&Fm(r,i)&&(t.flags|=32),KS(e,t),It(e,t,a,n),t.child;case 6:return e===null&&Hm(t),null;case 13:return QS(e,t,n);case 4:return $0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ta(t,null,r,n):It(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ln(r,o),z1(e,t,r,o,n);case 7:return It(e,t,t.pendingProps,n),t.child;case 8:return It(e,t,t.pendingProps.children,n),t.child;case 12:return It(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,$e(dd,r._currentValue),r._currentValue=a,i!==null)if(Vn(i.value,a)){if(i.children===o.children&&!Gt.current){t=Nr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Rr(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Wm(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(M(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Wm(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}It(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ga(t,n),o=Pn(o),r=r(o),t.flags|=1,It(e,t,r,n),t.child;case 14:return r=t.type,o=Ln(r,t.pendingProps),o=Ln(r.type,o),M1(e,t,r,o,n);case 15:return GS(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ln(r,o),Tu(e,t),t.tag=1,Yt(r)?(e=!0,ld(t)):e=!1,ga(t,n),SS(t,r,o),Gm(t,r,o,n),Xm(null,t,r,!0,e,n);case 19:return ZS(e,t,n);case 22:return YS(e,t,n)}throw Error(M(156,t.tag))};function hk(e,t){return D2(e,t)}function LA(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(e,t,n,r){return new LA(e,t,n,r)}function q0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function IA(e){if(typeof e=="function")return q0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===d0)return 11;if(e===f0)return 14}return 2}function Po(e,t){var n=e.alternate;return n===null?(n=kn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ru(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")q0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Vi:return ci(n.children,o,i,t);case u0:a=8,o|=8;break;case vm:return e=kn(12,n,t,o|2),e.elementType=vm,e.lanes=i,e;case ym:return e=kn(13,n,t,o),e.elementType=ym,e.lanes=i,e;case bm:return e=kn(19,n,t,o),e.elementType=bm,e.lanes=i,e;case k2:return sf(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case x2:a=10;break e;case S2:a=9;break e;case d0:a=11;break e;case f0:a=14;break e;case io:a=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=kn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function ci(e,t,n,r){return e=kn(7,e,r,t),e.lanes=n,e}function sf(e,t,n,r){return e=kn(22,e,r,t),e.elementType=k2,e.lanes=n,e.stateNode={isHidden:!1},e}function bh(e,t,n){return e=kn(6,e,null,t),e.lanes=n,e}function wh(e,t,n){return t=kn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zA(e,t,n,r,o){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=eh(0),this.expirationTimes=eh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eh(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function G0(e,t,n,r,o,i,a,s,l){return e=new zA(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=kn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},R0(i),e}function MA(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yk)}catch(e){console.error(e)}}yk(),g2.exports=cn;var Q0=g2.exports,Q1=Q0;mm.createRoot=Q1.createRoot,mm.hydrateRoot=Q1.hydrateRoot;/** + * @remix-run/router v1.9.0 + * + * 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 Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Z0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function UA(){return Math.random().toString(36).substr(2,8)}function J1(e,t){return{usr:e.state,key:e.key,idx:t}}function lg(e,t,n,r){return n===void 0&&(n=null),Sl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Va(t):t,{state:n,key:t&&t.key||r||UA()})}function Sd(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Va(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function HA(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=ho.Pop,l=null,c=d();c==null&&(c=0,a.replaceState(Sl({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function p(){s=ho.Pop;let E=d(),w=E==null?null:E-c;c=E,l&&l({action:s,location:m.location,delta:w})}function h(E,w){s=ho.Push;let v=lg(m.location,E,w);n&&n(v,E),c=d()+1;let S=J1(v,c),T=m.createHref(v);try{a.pushState(S,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;o.location.assign(T)}i&&l&&l({action:s,location:m.location,delta:1})}function y(E,w){s=ho.Replace;let v=lg(m.location,E,w);n&&n(v,E),c=d();let S=J1(v,c),T=m.createHref(v);a.replaceState(S,"",T),i&&l&&l({action:s,location:m.location,delta:0})}function b(E){let w=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof E=="string"?E:Sd(E);return rt(w,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,w)}let m={get action(){return s},get location(){return e(o,a)},listen(E){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Z1,p),l=E,()=>{o.removeEventListener(Z1,p),l=null}},createHref(E){return t(o,E)},createURL:b,encodeLocation(E){let w=b(E);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:h,replace:y,go(E){return a.go(E)}};return m}var eb;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(eb||(eb={}));function WA(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Va(t):t,o=J0(r.pathname||"/",n);if(o==null)return null;let i=bk(e);qA(i);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(rt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=To([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(rt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),bk(i.children,t,d,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:JA(c,i.index),routesMeta:d})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of wk(i.path))o(i,a,l)}),t}function wk(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=wk(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function qA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:e4(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const GA=/^:\w+$/,YA=3,KA=2,XA=1,QA=10,ZA=-2,tb=e=>e==="*";function JA(e,t){let n=e.split("/"),r=n.length;return n.some(tb)&&(r+=ZA),t&&(r+=KA),n.filter(o=>!tb(o)).reduce((o,i)=>o+(GA.test(i)?YA:i===""?XA:QA),r)}function e4(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function t4(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{if(d==="*"){let h=s[p]||"";a=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}return c[d]=i4(s[p]||"",d),c},{}),pathname:i,pathnameBase:a,pattern:e}}function r4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Z0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function o4(e){try{return decodeURI(e)}catch(t){return Z0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function i4(e,t){try{return decodeURIComponent(e)}catch(n){return Z0(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function J0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function a4(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Va(e):e;return{pathname:n?n.startsWith("/")?n:s4(n,t):t,search:c4(r),hash:u4(o)}}function s4(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function xh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function xk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Sk(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Va(e):(o=Sl({},e),rt(!o.pathname||!o.pathname.includes("?"),xh("?","pathname","search",o)),rt(!o.pathname||!o.pathname.includes("#"),xh("#","pathname","hash",o)),rt(!o.search||!o.search.includes("#"),xh("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(r||a==null)s=n;else{let p=t.length-1;if(a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),p-=1;o.pathname=h.join("/")}s=p>=0?t[p]:"/"}let l=a4(o,s),c=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const To=e=>e.join("/").replace(/\/\/+/g,"/"),l4=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),c4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,u4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function d4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const kk=["post","put","patch","delete"];new Set(kk);const f4=["get",...kk];new Set(f4);/** + * React Router v6.16.0 + * + * 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 kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),a=k.useRef(!1);return Ek(()=>{a.current=!0}),k.useCallback(function(l,c){if(c===void 0&&(c={}),!a.current)return;if(typeof l=="number"){n.go(l);return}let d=Sk(l,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:To([t,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[t,n,i,o,e])}function Pk(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=k.useContext(ki),{pathname:o}=pf(),i=JSON.stringify(xk(r).map(a=>a.pathnameBase));return k.useMemo(()=>Sk(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function g4(e,t){return v4(e,t)}function v4(e,t,n){ql()||rt(!1);let{navigator:r}=k.useContext(Ua),{matches:o}=k.useContext(ki),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let l=pf(),c;if(t){var d;let m=typeof t=="string"?Va(t):t;s==="/"||(d=m.pathname)!=null&&d.startsWith(s)||rt(!1),c=m}else c=l;let p=c.pathname||"/",h=s==="/"?p:p.slice(s.length)||"/",y=WA(e,{pathname:h}),b=S4(y&&y.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:To([s,r.encodeLocation?r.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?s:To([s,r.encodeLocation?r.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n);return t&&b?k.createElement(ff.Provider,{value:{location:kd({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ho.Pop}},b):b}function y4(){let e=P4(),t=d4(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:o},n):null,i)}const b4=k.createElement(y4,null);class w4 extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?k.createElement(ki.Provider,{value:this.props.routeContext},k.createElement(Ck.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x4(e){let{routeContext:t,match:n,children:r}=e,o=k.useContext(ev);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(ki.Provider,{value:t},r)}function S4(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,a=(r=n)==null?void 0:r.errors;if(a!=null){let s=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id]));s>=0||rt(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,l,c)=>{let d=l.route.id?a==null?void 0:a[l.route.id]:null,p=null;n&&(p=l.route.errorElement||b4);let h=t.concat(i.slice(0,c+1)),y=()=>{let b;return d?b=p:l.route.Component?b=k.createElement(l.route.Component,null):l.route.element?b=l.route.element:b=s,k.createElement(x4,{match:l,routeContext:{outlet:s,matches:h,isDataRoute:n!=null},children:b})};return n&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?k.createElement(w4,{location:n.location,revalidation:n.revalidation,component:p,error:d,children:y(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):y()},null)}var Tk=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tk||{}),Cd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Cd||{});function k4(e){let t=k.useContext(ev);return t||rt(!1),t}function C4(e){let t=k.useContext(p4);return t||rt(!1),t}function E4(e){let t=k.useContext(ki);return t||rt(!1),t}function Ak(e){let t=E4(),n=t.matches[t.matches.length-1];return n.route.id||rt(!1),n.route.id}function P4(){var e;let t=k.useContext(Ck),n=C4(Cd.UseRouteError),r=Ak(Cd.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function T4(){let{router:e}=k4(Tk.UseNavigateStable),t=Ak(Cd.UseNavigateStable),n=k.useRef(!1);return Ek(()=>{n.current=!0}),k.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,kd({fromRouteId:t},i)))},[e,t])}function Fi(e){rt(!1)}function A4(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ho.Pop,navigator:i,static:a=!1}=e;ql()&&rt(!1);let s=t.replace(/^\/*/,"/"),l=k.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof r=="string"&&(r=Va(r));let{pathname:c="/",search:d="",hash:p="",state:h=null,key:y="default"}=r,b=k.useMemo(()=>{let m=J0(c,s);return m==null?null:{location:{pathname:m,search:d,hash:p,state:h,key:y},navigationType:o}},[s,c,d,p,h,y,o]);return b==null?null:k.createElement(Ua.Provider,{value:l},k.createElement(ff.Provider,{children:n,value:b}))}function _4(e){let{children:t,location:n}=e;return g4(cg(t),n)}new Promise(()=>{});function cg(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,o)=>{if(!k.isValidElement(r))return;let i=[...t,o];if(r.type===k.Fragment){n.push.apply(n,cg(r.props.children,i));return}r.type!==Fi&&rt(!1),!r.props.index||!r.props.children||rt(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=cg(r.props.children,i)),n.push(a)}),n}/** + * React Router DOM v6.16.0 + * + * 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 ug(){return ug=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function $4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function O4(e,t){return e.button===0&&(!t||t==="_self")&&!$4(e)}const j4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],L4="startTransition",nb=ol[L4];function I4(e){let{basename:t,children:n,future:r,window:o}=e,i=k.useRef();i.current==null&&(i.current=VA({window:o,v5Compat:!0}));let a=i.current,[s,l]=k.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=k.useCallback(p=>{c&&nb?nb(()=>l(p)):l(p)},[l,c]);return k.useLayoutEffect(()=>a.listen(d),[a,d]),k.createElement(A4,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a})}const z4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",M4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mo=k.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:c,preventScrollReset:d}=t,p=R4(t,j4),{basename:h}=k.useContext(Ua),y,b=!1;if(typeof c=="string"&&M4.test(c)&&(y=c,z4))try{let v=new URL(window.location.href),S=c.startsWith("//")?new URL(v.protocol+c):new URL(c),T=J0(S.pathname,h);S.origin===v.origin&&T!=null?c=T+S.search+S.hash:b=!0}catch{}let m=h4(c,{relative:o}),E=N4(c,{replace:a,state:s,target:l,preventScrollReset:d,relative:o});function w(v){r&&r(v),v.defaultPrevented||E(v)}return k.createElement("a",ug({},p,{href:y||m,onClick:b||i?r:w,ref:n,target:l}))});var rb;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(rb||(rb={}));var ob;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ob||(ob={}));function N4(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=hf(),l=pf(),c=Pk(e,{relative:a});return k.useCallback(d=>{if(O4(d,n)){d.preventDefault();let p=r!==void 0?r:Sd(l)===Sd(c);s(e,{replace:p,state:o,preventScrollReset:i,relative:a})}},[l,s,c,r,o,n,e,i,a])}function Gl(e){return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"mheader",children:[x.jsxs("div",{className:"mleftlogo",children:[x.jsx("img",{src:"./images/emblem-gov.svg"}),x.jsxs("p",{children:["Ministry of Health and",x.jsx("br",{}),"Family Welfare"]})]}),x.jsxs("div",{className:"mrightside",children:[x.jsx("button",{onClick:()=>e.zoom[1](e.zoom[0]+1),children:"A+"}),x.jsx("button",{onClick:()=>e.zoom[1](100),children:"A"}),x.jsx("button",{onClick:()=>e.zoom[1](e.zoom[0]-1),children:"A-"}),x.jsx("p",{id:"eng",children:"English "})]})]}),x.jsxs("div",{className:"mnav",children:[x.jsx("div",{className:"mlogo",children:x.jsx(mo,{to:"/",children:x.jsx("img",{className:"cursor-pointer",src:"./images/mainlogo.png",alt:"logo"})})}),x.jsxs("div",{className:"mnavlist",children:[x.jsx(mo,{to:"/dashboard",children:x.jsx("h4",{children:"Dashboard"})}),x.jsx(mo,{to:"/service",children:x.jsx("h4",{children:"Book an slot"})}),x.jsx("a",{href:"/faq.html",children:x.jsx("h4",{children:"FAQ"})}),x.jsx("a",{href:"/partner.html",children:x.jsx("h4",{children:"Partner"})}),x.jsx(mo,{to:"/signin",children:x.jsx("button",{children:"Register/Signin"})})]})]})]})}function ib(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function U(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}return Fe.head.insertBefore(t,r),e}}var c_="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Tl(){for(var e=12,t="";e-- >0;)t+=c_[Math.random()*62|0];return t}function Ha(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function av(e){return e.classList?Ha(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Dk(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function u_(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Dk(e[n]),'" ')},"").trim()}function mf(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function sv(e){return e.size!==rr.size||e.x!==rr.x||e.y!==rr.y||e.rotate!==rr.rotate||e.flipX||e.flipY}function d_(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(i," ").concat(a," ").concat(s)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:o,inner:l,path:c}}function f_(e){var t=e.transform,n=e.width,r=n===void 0?fg:n,o=e.height,i=o===void 0?fg:o,a=e.startCentered,s=a===void 0?!1:a,l="";return s&&jk?l+="translate(".concat(t.x/Zr-r/2,"em, ").concat(t.y/Zr-i/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/Zr,"em), calc(-50% + ").concat(t.y/Zr,"em)) "):l+="translate(".concat(t.x/Zr,"em, ").concat(t.y/Zr,"em) "),l+="scale(".concat(t.size/Zr*(t.flipX?-1:1),", ").concat(t.size/Zr*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var p_=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(var(--fa-li-width, 2em) * -1); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + -webkit-transition-delay: 0s; + transition-delay: 0s; + -webkit-transition-duration: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, none)); + transform: rotate(var(--fa-rotate-angle, none)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-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; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.fad.fa-inverse, +.fa-duotone.fa-inverse { + color: var(--fa-inverse, #fff); +}`;function Bk(){var e=Lk,t=Ik,n=W.cssPrefix,r=W.replacementClass,o=p_;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var fb=!1;function Sh(){W.autoAddCss&&!fb&&(l_(Bk()),fb=!0)}var h_={mixout:function(){return{dom:{css:Bk,insertCss:Sh}}},hooks:function(){return{beforeDOMElementCreation:function(){Sh()},beforeI2svg:function(){Sh()}}}},Dr=Oo||{};Dr[Fr]||(Dr[Fr]={});Dr[Fr].styles||(Dr[Fr].styles={});Dr[Fr].hooks||(Dr[Fr].hooks={});Dr[Fr].shims||(Dr[Fr].shims=[]);var Nn=Dr[Fr],Vk=[],m_=function e(){Fe.removeEventListener("DOMContentLoaded",e),Pd=1,Vk.map(function(t){return t()})},Pd=!1;Wr&&(Pd=(Fe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Fe.readyState),Pd||Fe.addEventListener("DOMContentLoaded",m_));function g_(e){Wr&&(Pd?setTimeout(e,0):Vk.push(e))}function Xl(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?Dk(e):"<".concat(t," ").concat(u_(r),">").concat(i.map(Xl).join(""),"")}function pb(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var v_=function(t,n){return function(r,o,i,a){return t.call(n,r,o,i,a)}},kh=function(t,n,r,o){var i=Object.keys(t),a=i.length,s=o!==void 0?v_(n,o):n,l,c,d;for(r===void 0?(l=1,d=t[i[0]]):(l=0,d=r);l=55296&&o<=56319&&n=55296&&r<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(r-55296)*1024+o-56320+65536:r}function hb(e){return Object.keys(e).reduce(function(t,n){var r=e[n],o=!!r.icon;return o?t[r.iconName]=r.icon:t[n]=r,t},{})}function mg(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,o=r===void 0?!1:r,i=hb(t);typeof Nn.hooks.addPack=="function"&&!o?Nn.hooks.addPack(e,hb(t)):Nn.styles[e]=U(U({},Nn.styles[e]||{}),i),e==="fas"&&mg("fa",t)}var tu,nu,ru,Ji=Nn.styles,w_=Nn.shims,x_=(tu={},lt(tu,Me,Object.values(El[Me])),lt(tu,Ye,Object.values(El[Ye])),tu),lv=null,Uk={},Hk={},Wk={},qk={},Gk={},S_=(nu={},lt(nu,Me,Object.keys(kl[Me])),lt(nu,Ye,Object.keys(kl[Ye])),nu);function k_(e){return~r_.indexOf(e)}function C_(e,t){var n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r===e&&o!==""&&!k_(o)?o:null}var Yk=function(){var t=function(i){return kh(Ji,function(a,s,l){return a[l]=kh(s,i,{}),a},{})};Uk=t(function(o,i,a){if(i[3]&&(o[i[3]]=a),i[2]){var s=i[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){o[l.toString(16)]=a})}return o}),Hk=t(function(o,i,a){if(o[a]=a,i[2]){var s=i[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){o[l]=a})}return o}),Gk=t(function(o,i,a){var s=i[2];return o[a]=a,s.forEach(function(l){o[l]=a}),o});var n="far"in Ji||W.autoFetchSvg,r=kh(w_,function(o,i){var a=i[0],s=i[1],l=i[2];return s==="far"&&!n&&(s="fas"),typeof a=="string"&&(o.names[a]={prefix:s,iconName:l}),typeof a=="number"&&(o.unicodes[a.toString(16)]={prefix:s,iconName:l}),o},{names:{},unicodes:{}});Wk=r.names,qk=r.unicodes,lv=gf(W.styleDefault,{family:W.familyDefault})};s_(function(e){lv=gf(e.styleDefault,{family:W.familyDefault})});Yk();function cv(e,t){return(Uk[e]||{})[t]}function E_(e,t){return(Hk[e]||{})[t]}function ii(e,t){return(Gk[e]||{})[t]}function Kk(e){return Wk[e]||{prefix:null,iconName:null}}function P_(e){var t=qk[e],n=cv("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function jo(){return lv}var uv=function(){return{prefix:null,iconName:null,rest:[]}};function gf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Me:n,o=kl[r][e],i=Cl[r][e]||Cl[r][o],a=e in Nn.styles?e:null;return i||a||null}var mb=(ru={},lt(ru,Me,Object.keys(El[Me])),lt(ru,Ye,Object.keys(El[Ye])),ru);function vf(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,o=r===void 0?!1:r,i=(t={},lt(t,Me,"".concat(W.cssPrefix,"-").concat(Me)),lt(t,Ye,"".concat(W.cssPrefix,"-").concat(Ye)),t),a=null,s=Me;(e.includes(i[Me])||e.some(function(c){return mb[Me].includes(c)}))&&(s=Me),(e.includes(i[Ye])||e.some(function(c){return mb[Ye].includes(c)}))&&(s=Ye);var l=e.reduce(function(c,d){var p=C_(W.cssPrefix,d);if(Ji[d]?(d=x_[s].includes(d)?Q4[s][d]:d,a=d,c.prefix=d):S_[s].indexOf(d)>-1?(a=d,c.prefix=gf(d,{family:s})):p?c.iconName=p:d!==W.replacementClass&&d!==i[Me]&&d!==i[Ye]&&c.rest.push(d),!o&&c.prefix&&c.iconName){var h=a==="fa"?Kk(c.iconName):{},y=ii(c.prefix,c.iconName);h.prefix&&(a=null),c.iconName=h.iconName||y||c.iconName,c.prefix=h.prefix||c.prefix,c.prefix==="far"&&!Ji.far&&Ji.fas&&!W.autoFetchSvg&&(c.prefix="fas")}return c},uv());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===Ye&&(Ji.fass||W.autoFetchSvg)&&(l.prefix="fass",l.iconName=ii(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=jo()||"fas"),l}var T_=function(){function e(){F4(this,e),this.definitions={}}return D4(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i0&&d.forEach(function(p){typeof p=="string"&&(n[s][p]=c)}),n[s][l]=c}),n}}]),e}(),gb=[],ea={},ya={},A_=Object.keys(ya);function __(e,t){var n=t.mixoutsTo;return gb=e,ea={},Object.keys(ya).forEach(function(r){A_.indexOf(r)===-1&&delete ya[r]}),gb.forEach(function(r){var o=r.mixout?r.mixout():{};if(Object.keys(o).forEach(function(a){typeof o[a]=="function"&&(n[a]=o[a]),Ed(o[a])==="object"&&Object.keys(o[a]).forEach(function(s){n[a]||(n[a]={}),n[a][s]=o[a][s]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(a){ea[a]||(ea[a]=[]),ea[a].push(i[a])})}r.provides&&r.provides(ya)}),n}function gg(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return Wr?(wi("beforeI2svg",t),Br("pseudoElements2svg",t),Br("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;W.autoReplaceSvg===!1&&(W.autoReplaceSvg=!0),W.observeMutations=!0,g_(function(){j_({autoReplaceSvgRoot:n}),wi("watch",t)})}},O_={icon:function(t){if(t===null)return null;if(Ed(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:ii(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=gf(t[0]);return{prefix:r,iconName:ii(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(W.cssPrefix,"-"))>-1||t.match(Z4))){var o=vf(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||jo(),iconName:ii(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=jo();return{prefix:i,iconName:ii(i,t)||t}}}},dn={noAuto:R_,config:W,dom:$_,parse:O_,library:Xk,findIconDefinition:vg,toHtml:Xl},j_=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Fe:n;(Object.keys(Nn.styles).length>0||W.autoFetchSvg)&&Wr&&W.autoReplaceSvg&&dn.dom.i2svg({node:r})};function yf(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Xl(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Wr){var r=Fe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function L_(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(sv(a)&&n.found&&!r.found){var s=n.width,l=n.height,c={x:s/l/2,y:.5};o.style=mf(U(U({},i),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function I_(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=i===!0?"".concat(t,"-").concat(W.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:U(U({},o),{},{id:a}),children:r}]}]}function dv(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,l=e.title,c=e.maskId,d=e.titleId,p=e.extra,h=e.watchable,y=h===void 0?!1:h,b=r.found?r:n,m=b.width,E=b.height,w=o==="fak",v=[W.replacementClass,i?"".concat(W.cssPrefix,"-").concat(i):""].filter(function(F){return p.classes.indexOf(F)===-1}).filter(function(F){return F!==""||!!F}).concat(p.classes).join(" "),S={children:[],attributes:U(U({},p.attributes),{},{"data-prefix":o,"data-icon":i,class:v,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(E)})},T=w&&!~p.classes.indexOf("fa-fw")?{width:"".concat(m/E*16*.0625,"em")}:{};y&&(S.attributes[bi]=""),l&&(S.children.push({tag:"title",attributes:{id:S.attributes["aria-labelledby"]||"title-".concat(d||Tl())},children:[l]}),delete S.attributes.title);var R=U(U({},S),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:U(U({},T),p.styles)}),j=r.found&&n.found?Br("generateAbstractMask",R)||{children:[],attributes:{}}:Br("generateAbstractIcon",R)||{children:[],attributes:{}},O=j.children,I=j.attributes;return R.children=O,R.attributes=I,s?I_(R):L_(R)}function vb(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,l=s===void 0?!1:s,c=U(U(U({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});l&&(c[bi]="");var d=U({},a.styles);sv(o)&&(d.transform=f_({transform:o,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var p=mf(d);p.length>0&&(c.style=p);var h=[];return h.push({tag:"span",attributes:c,children:[t]}),i&&h.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),h}function z_(e){var t=e.content,n=e.title,r=e.extra,o=U(U(U({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=mf(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Ch=Nn.styles;function yg(e){var t=e[0],n=e[1],r=e.slice(4),o=tv(r,1),i=o[0],a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(W.cssPrefix,"-").concat(oi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(W.cssPrefix,"-").concat(oi.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(W.cssPrefix,"-").concat(oi.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:a}}var M_={found:!1,width:512,height:512};function N_(e,t){!zk&&!W.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function bg(e,t){var n=t;return t==="fa"&&W.styleDefault!==null&&(t=jo()),new Promise(function(r,o){if(Br("missingIconAbstract"),n==="fa"){var i=Kk(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Ch[t]&&Ch[t][e]){var a=Ch[t][e];return r(yg(a))}N_(e,t),r(U(U({},M_),{},{icon:W.showMissingIcons&&e?Br("missingIconAbstract")||{}:{}}))})}var yb=function(){},wg=W.measurePerformance&&Kc&&Kc.mark&&Kc.measure?Kc:{mark:yb,measure:yb},_s='FA "6.4.2"',F_=function(t){return wg.mark("".concat(_s," ").concat(t," begins")),function(){return Qk(t)}},Qk=function(t){wg.mark("".concat(_s," ").concat(t," ends")),wg.measure("".concat(_s," ").concat(t),"".concat(_s," ").concat(t," begins"),"".concat(_s," ").concat(t," ends"))},fv={begin:F_,end:Qk},$u=function(){};function bb(e){var t=e.getAttribute?e.getAttribute(bi):null;return typeof t=="string"}function D_(e){var t=e.getAttribute?e.getAttribute(rv):null,n=e.getAttribute?e.getAttribute(ov):null;return t&&n}function B_(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(W.replacementClass)}function V_(){if(W.autoReplaceSvg===!0)return Ou.replace;var e=Ou[W.autoReplaceSvg];return e||Ou.replace}function U_(e){return Fe.createElementNS("http://www.w3.org/2000/svg",e)}function H_(e){return Fe.createElement(e)}function Zk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?U_:H_:n;if(typeof e=="string")return Fe.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){o.setAttribute(a,e.attributes[a])});var i=e.children||[];return i.forEach(function(a){o.appendChild(Zk(a,{ceFn:r}))}),o}function W_(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ou={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(o){n.parentNode.insertBefore(Zk(o),n)}),n.getAttribute(bi)===null&&W.keepOriginalSource){var r=Fe.createComment(W_(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~av(n).indexOf(W.replacementClass))return Ou.replace(t);var o=new RegExp("".concat(W.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(s,l){return l===W.replacementClass||l.match(o)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var a=r.map(function(s){return Xl(s)}).join(` +`);n.setAttribute(bi,""),n.innerHTML=a}};function wb(e){e()}function Jk(e,t){var n=typeof t=="function"?t:$u;if(e.length===0)n();else{var r=wb;W.mutateApproach===K4&&(r=Oo.requestAnimationFrame||wb),r(function(){var o=V_(),i=fv.begin("mutate");e.map(o),i(),n()})}}var pv=!1;function eC(){pv=!0}function xg(){pv=!1}var Td=null;function xb(e){if(ub&&W.observeMutations){var t=e.treeCallback,n=t===void 0?$u:t,r=e.nodeCallback,o=r===void 0?$u:r,i=e.pseudoElementsCallback,a=i===void 0?$u:i,s=e.observeMutationsRoot,l=s===void 0?Fe:s;Td=new ub(function(c){if(!pv){var d=jo();Ha(c).forEach(function(p){if(p.type==="childList"&&p.addedNodes.length>0&&!bb(p.addedNodes[0])&&(W.searchPseudoElements&&a(p.target),n(p.target)),p.type==="attributes"&&p.target.parentNode&&W.searchPseudoElements&&a(p.target.parentNode),p.type==="attributes"&&bb(p.target)&&~n_.indexOf(p.attributeName))if(p.attributeName==="class"&&D_(p.target)){var h=vf(av(p.target)),y=h.prefix,b=h.iconName;p.target.setAttribute(rv,y||d),b&&p.target.setAttribute(ov,b)}else B_(p.target)&&o(p.target)})}}),Wr&&Td.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function q_(){Td&&Td.disconnect()}function G_(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,o){var i=o.split(":"),a=i[0],s=i.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),n}function Y_(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",o=vf(av(e));return o.prefix||(o.prefix=jo()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=E_(o.prefix,e.innerText)||cv(o.prefix,hg(e.innerText))),!o.iconName&&W.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function K_(e){var t=Ha(e.attributes).reduce(function(o,i){return o.name!=="class"&&o.name!=="style"&&(o[i.name]=i.value),o},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return W.autoA11y&&(n?t["aria-labelledby"]="".concat(W.replacementClass,"-title-").concat(r||Tl()):(t["aria-hidden"]="true",t.focusable="false")),t}function X_(){return{iconName:null,title:null,titleId:null,prefix:null,transform:rr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Sb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Y_(e),r=n.iconName,o=n.prefix,i=n.rest,a=K_(e),s=gg("parseNodeAttributes",{},e),l=t.styleParser?G_(e):[];return U({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:rr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:a}},s)}var Q_=Nn.styles;function tC(e){var t=W.autoReplaceSvg==="nest"?Sb(e,{styleParser:!1}):Sb(e);return~t.extra.classes.indexOf(Mk)?Br("generateLayersText",e,t):Br("generateSvgReplacementMutation",e,t)}var Lo=new Set;iv.map(function(e){Lo.add("fa-".concat(e))});Object.keys(kl[Me]).map(Lo.add.bind(Lo));Object.keys(kl[Ye]).map(Lo.add.bind(Lo));Lo=Yl(Lo);function kb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Wr)return Promise.resolve();var n=Fe.documentElement.classList,r=function(p){return n.add("".concat(db,"-").concat(p))},o=function(p){return n.remove("".concat(db,"-").concat(p))},i=W.autoFetchSvg?Lo:iv.map(function(d){return"fa-".concat(d)}).concat(Object.keys(Q_));i.includes("fa")||i.push("fa");var a=[".".concat(Mk,":not([").concat(bi,"])")].concat(i.map(function(d){return".".concat(d,":not([").concat(bi,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=Ha(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),o("complete");else return Promise.resolve();var l=fv.begin("onTree"),c=s.reduce(function(d,p){try{var h=tC(p);h&&d.push(h)}catch(y){zk||y.name==="MissingIcon"&&console.error(y)}return d},[]);return new Promise(function(d,p){Promise.all(c).then(function(h){Jk(h,function(){r("active"),r("complete"),o("pending"),typeof t=="function"&&t(),l(),d()})}).catch(function(h){l(),p(h)})})}function Z_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;tC(e).then(function(n){n&&Jk([n],t)})}function J_(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:vg(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:vg(o||{})),e(r,U(U({},n),{},{mask:o}))}}var eR=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,o=r===void 0?rr:r,i=n.symbol,a=i===void 0?!1:i,s=n.mask,l=s===void 0?null:s,c=n.maskId,d=c===void 0?null:c,p=n.title,h=p===void 0?null:p,y=n.titleId,b=y===void 0?null:y,m=n.classes,E=m===void 0?[]:m,w=n.attributes,v=w===void 0?{}:w,S=n.styles,T=S===void 0?{}:S;if(t){var R=t.prefix,j=t.iconName,O=t.icon;return yf(U({type:"icon"},t),function(){return wi("beforeDOMElementCreation",{iconDefinition:t,params:n}),W.autoA11y&&(h?v["aria-labelledby"]="".concat(W.replacementClass,"-title-").concat(b||Tl()):(v["aria-hidden"]="true",v.focusable="false")),dv({icons:{main:yg(O),mask:l?yg(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:R,iconName:j,transform:U(U({},rr),o),symbol:a,title:h,maskId:d,titleId:b,extra:{attributes:v,styles:T,classes:E}})})}},tR={mixout:function(){return{icon:J_(eR)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=kb,n.nodeCallback=Z_,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,o=r===void 0?Fe:r,i=n.callback,a=i===void 0?function(){}:i;return kb(o,a)},t.generateSvgReplacementMutation=function(n,r){var o=r.iconName,i=r.title,a=r.titleId,s=r.prefix,l=r.transform,c=r.symbol,d=r.mask,p=r.maskId,h=r.extra;return new Promise(function(y,b){Promise.all([bg(o,s),d.iconName?bg(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(m){var E=tv(m,2),w=E[0],v=E[1];y([n,dv({icons:{main:w,mask:v},prefix:s,iconName:o,transform:l,symbol:c,maskId:p,title:i,titleId:a,extra:h,watchable:!0})])}).catch(b)})},t.generateAbstractIcon=function(n){var r=n.children,o=n.attributes,i=n.main,a=n.transform,s=n.styles,l=mf(s);l.length>0&&(o.style=l);var c;return sv(a)&&(c=Br("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),r.push(c||i.icon),{children:r,attributes:o}}}},nR={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.classes,i=o===void 0?[]:o;return yf({type:"layer"},function(){wi("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(s){Array.isArray(s)?s.map(function(l){a=a.concat(l.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(W.cssPrefix,"-layers")].concat(Yl(i)).join(" ")},children:a}]})}}}},rR={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.title,i=o===void 0?null:o,a=r.classes,s=a===void 0?[]:a,l=r.attributes,c=l===void 0?{}:l,d=r.styles,p=d===void 0?{}:d;return yf({type:"counter",content:n},function(){return wi("beforeDOMElementCreation",{content:n,params:r}),z_({content:n.toString(),title:i,extra:{attributes:c,styles:p,classes:["".concat(W.cssPrefix,"-layers-counter")].concat(Yl(s))}})})}}}},oR={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.transform,i=o===void 0?rr:o,a=r.title,s=a===void 0?null:a,l=r.classes,c=l===void 0?[]:l,d=r.attributes,p=d===void 0?{}:d,h=r.styles,y=h===void 0?{}:h;return yf({type:"text",content:n},function(){return wi("beforeDOMElementCreation",{content:n,params:r}),vb({content:n,transform:U(U({},rr),i),title:s,extra:{attributes:p,styles:y,classes:["".concat(W.cssPrefix,"-layers-text")].concat(Yl(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var o=r.title,i=r.transform,a=r.extra,s=null,l=null;if(jk){var c=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();s=d.width/c,l=d.height/c}return W.autoA11y&&!o&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,vb({content:n.innerHTML,width:s,height:l,transform:i,title:o,extra:a,watchable:!0})])}}},iR=new RegExp('"',"ug"),Cb=[1105920,1112319];function aR(e){var t=e.replace(iR,""),n=b_(t,0),r=n>=Cb[0]&&n<=Cb[1],o=t.length===2?t[0]===t[1]:!1;return{value:hg(o?t[0]:t),isSecondary:r||o}}function Eb(e,t){var n="".concat(Y4).concat(t.replace(":","-"));return new Promise(function(r,o){if(e.getAttribute(n)!==null)return r();var i=Ha(e.children),a=i.filter(function(O){return O.getAttribute(pg)===t})[0],s=Oo.getComputedStyle(e,t),l=s.getPropertyValue("font-family").match(J4),c=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&d!=="none"&&d!==""){var p=s.getPropertyValue("content"),h=~["Sharp"].indexOf(l[2])?Ye:Me,y=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Cl[h][l[2].toLowerCase()]:e_[h][c],b=aR(p),m=b.value,E=b.isSecondary,w=l[0].startsWith("FontAwesome"),v=cv(y,m),S=v;if(w){var T=P_(m);T.iconName&&T.prefix&&(v=T.iconName,y=T.prefix)}if(v&&!E&&(!a||a.getAttribute(rv)!==y||a.getAttribute(ov)!==S)){e.setAttribute(n,S),a&&e.removeChild(a);var R=X_(),j=R.extra;j.attributes[pg]=t,bg(v,y).then(function(O){var I=dv(U(U({},R),{},{icons:{main:O,mask:uv()},prefix:y,iconName:S,extra:j,watchable:!0})),F=Fe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(F,e.firstChild):e.appendChild(F),F.outerHTML=I.map(function(V){return Xl(V)}).join(` +`),e.removeAttribute(n),r()}).catch(o)}else r()}else r()})}function sR(e){return Promise.all([Eb(e,"::before"),Eb(e,"::after")])}function lR(e){return e.parentNode!==document.head&&!~X4.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(pg)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Pb(e){if(Wr)return new Promise(function(t,n){var r=Ha(e.querySelectorAll("*")).filter(lR).map(sR),o=fv.begin("searchPseudoElements");eC(),Promise.all(r).then(function(){o(),xg(),t()}).catch(function(){o(),xg(),n()})})}var cR={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Pb,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,o=r===void 0?Fe:r;W.searchPseudoElements&&Pb(o)}}},Tb=!1,uR={mixout:function(){return{dom:{unwatch:function(){eC(),Tb=!0}}}},hooks:function(){return{bootstrap:function(){xb(gg("mutationObserverCallbacks",{}))},noAuto:function(){q_()},watch:function(n){var r=n.observeMutationsRoot;Tb?xg():xb(gg("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Ab=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,o){var i=o.toLowerCase().split("-"),a=i[0],s=i.slice(1).join("-");if(a&&s==="h")return r.flipX=!0,r;if(a&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(a){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},dR={mixout:function(){return{parse:{transform:function(n){return Ab(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-transform");return o&&(n.transform=Ab(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,o=n.transform,i=n.containerWidth,a=n.iconWidth,s={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(o.x*32,", ").concat(o.y*32,") "),c="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),d="rotate(".concat(o.rotate," 0 0)"),p={transform:"".concat(l," ").concat(c," ").concat(d)},h={transform:"translate(".concat(a/2*-1," -256)")},y={outer:s,inner:p,path:h};return{tag:"g",attributes:U({},y.outer),children:[{tag:"g",attributes:U({},y.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:U(U({},r.icon.attributes),y.path)}]}]}}}},Eh={x:0,y:0,width:"100%",height:"100%"};function _b(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function fR(e){return e.tag==="g"?e.children:[e]}var pR={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-mask"),i=o?vf(o.split(" ").map(function(a){return a.trim()})):uv();return i.prefix||(i.prefix=jo()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,o=n.attributes,i=n.main,a=n.mask,s=n.maskId,l=n.transform,c=i.width,d=i.icon,p=a.width,h=a.icon,y=d_({transform:l,containerWidth:p,iconWidth:c}),b={tag:"rect",attributes:U(U({},Eh),{},{fill:"white"})},m=d.children?{children:d.children.map(_b)}:{},E={tag:"g",attributes:U({},y.inner),children:[_b(U({tag:d.tag,attributes:U(U({},d.attributes),y.path)},m))]},w={tag:"g",attributes:U({},y.outer),children:[E]},v="mask-".concat(s||Tl()),S="clip-".concat(s||Tl()),T={tag:"mask",attributes:U(U({},Eh),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[b,w]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:fR(h)},T]};return r.push(R,{tag:"rect",attributes:U({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(v,")")},Eh)}),{children:r,attributes:o}}}},hR={provides:function(t){var n=!1;Oo.matchMedia&&(n=Oo.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:U(U({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=U(U({},i),{},{attributeName:"opacity"}),s={tag:"circle",attributes:U(U({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:U(U({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:U(U({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:U(U({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:U(U({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:U(U({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:U(U({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},mR={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return n.symbol=i,n}}}},gR=[h_,tR,nR,rR,oR,cR,uR,dR,pR,hR,mR];__(gR,{mixoutsTo:dn});dn.noAuto;dn.config;dn.library;dn.dom;var Sg=dn.parse;dn.findIconDefinition;dn.toHtml;var vR=dn.icon;dn.layer;dn.text;dn.counter;var nC={exports:{}},yR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",bR=yR,wR=bR;function rC(){}function oC(){}oC.resetWarningCache=rC;var xR=function(){function e(r,o,i,a,s,l){if(l!==wR){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:oC,resetWarningCache:rC};return n.PropTypes=n,n};nC.exports=xR();var SR=nC.exports;const le=Dl(SR);function Rb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function go(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function CR(e,t){if(e==null)return{};var n=kR(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kg(e){return ER(e)||PR(e)||TR(e)||AR()}function ER(e){if(Array.isArray(e))return Cg(e)}function PR(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TR(e,t){if(e){if(typeof e=="string")return Cg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cg(e,t)}}function Cg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return aC(e,l)}),o=Object.keys(t.attributes||{}).reduce(function(l,c){var d=t.attributes[c];switch(c){case"class":l.attrs.className=d,delete t.attributes.class;break;case"style":l.attrs.style=jR(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=d:l.attrs[iC(c)]=d}return l},{attrs:{}}),i=n.style,a=i===void 0?{}:i,s=CR(n,$R);return o.attrs.style=go(go({},o.attrs.style),a),e.apply(void 0,[t.tag,go(go({},o.attrs),s)].concat(kg(r)))}var sC=!1;try{sC=!0}catch{}function LR(){if(!sC&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function $b(e){if(e&&Ad(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Sg.icon)return Sg.icon(e);if(e===null)return null;if(e&&Ad(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Ph(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ta({},e,t):{}}var nr=Be.forwardRef(function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,l=e.maskId,c=$b(n),d=Ph("classes",[].concat(kg(_R(e)),kg(i.split(" ")))),p=Ph("transform",typeof e.transform=="string"?Sg.transform(e.transform):e.transform),h=Ph("mask",$b(r)),y=vR(c,go(go(go(go({},d),p),h),{},{symbol:o,title:a,titleId:s,maskId:l}));if(!y)return LR("Could not find icon",c),null;var b=y.abstract,m={ref:t};return Object.keys(e).forEach(function(E){nr.defaultProps.hasOwnProperty(E)||(m[E]=e[E])}),IR(b[0],m)});nr.displayName="FontAwesomeIcon";nr.propTypes={beat:le.bool,border:le.bool,beatFade:le.bool,bounce:le.bool,className:le.string,fade:le.bool,flash:le.bool,mask:le.oneOfType([le.object,le.array,le.string]),maskId:le.string,fixedWidth:le.bool,inverse:le.bool,flip:le.oneOf([!0,!1,"horizontal","vertical","both"]),icon:le.oneOfType([le.object,le.array,le.string]),listItem:le.bool,pull:le.oneOf(["right","left"]),pulse:le.bool,rotation:le.oneOf([0,90,180,270]),shake:le.bool,size:le.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:le.bool,spinPulse:le.bool,spinReverse:le.bool,symbol:le.oneOfType([le.bool,le.string]),title:le.string,titleId:le.string,transform:le.oneOfType([le.string,le.object]),swapOpacity:le.bool};nr.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var IR=aC.bind(null,Be.createElement),zR={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},MR={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},NR={prefix:"fas",iconName:"phone",icon:[512,512,[128222,128379],"f095","M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"]},FR={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},DR=FR,BR={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},VR={prefix:"fas",iconName:"syringe",icon:[512,512,[128137],"f48e","M441 7l32 32 32 32c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-15-15L417.9 128l55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72L295 73c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l55 55L422.1 56 407 41c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0zM210.3 155.7l61.1-61.1c.3 .3 .6 .7 1 1l16 16 56 56 56 56 16 16c.3 .3 .6 .6 1 1l-191 191c-10.5 10.5-24.7 16.4-39.6 16.4H97.9L41 505c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l57-57V325.3c0-14.9 5.9-29.1 16.4-39.6l43.3-43.3 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57 41.4-41.4 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57z"]};function Ql(){return x.jsx("footer",{children:x.jsxs("div",{className:"max-width",children:[x.jsxs("div",{className:"footer-box justify-center",children:[x.jsxs("div",{children:[x.jsxs("p",{className:"footer-heading",children:[x.jsx(nr,{icon:VR}),"  Vaccination Services"]}),x.jsxs("ul",{children:[x.jsx("li",{children:x.jsx("a",{href:"#",children:"Register Members"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Search Vaccination Centers"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Book Vaccination Slots"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Manage Appointment"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Download Certificate"})})]})]}),x.jsxs("div",{children:[x.jsxs("p",{className:"footer-heading",children:[x.jsx(nr,{icon:zR}),"  Platforms"]}),x.jsxs("ul",{children:[x.jsx("li",{children:x.jsx("a",{href:"#",children:"Co-WIN International"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Vaccinator"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Department Login"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Verify Certificates"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Vaccination Statistics"})})]})]}),x.jsxs("div",{children:[x.jsxs("p",{className:"footer-heading",children:[x.jsx(nr,{icon:BR}),"  Resources"]}),x.jsxs("ul",{children:[x.jsx("li",{children:x.jsx("a",{href:"#",children:"How To Get Vaccinated"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Dos and Don'ts"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Overview"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"API Guidelines"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Open API's"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Grievance Guidelines"})})]})]}),x.jsxs("div",{children:[x.jsxs("p",{className:"footer-heading",children:[x.jsx(nr,{icon:DR}),"  Support"]}),x.jsxs("ul",{children:[x.jsx("li",{children:x.jsx("a",{href:"#",children:"Frequently Asked Questions"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Certificate Corrections"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Book Vaccination Slots"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Manage Appointment"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Download Certificate"})})]})]}),x.jsxs("div",{children:[x.jsxs("p",{className:"footer-heading",children:[x.jsx(nr,{icon:NR}),"  Contact us"]}),x.jsxs("ul",{children:[x.jsx("li",{children:x.jsx("a",{href:"#",children:"Register Members"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Search Vaccination Centers"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Book Vaccination Slots"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Manage Appointment"})}),x.jsx("li",{children:x.jsx("a",{href:"#",children:"Download Certificate"})})]})]})]}),x.jsxs("div",{className:"last-footer flex align-middle justify-around",children:[x.jsx("div",{children:x.jsx("p",{children:"Copyright © 2021 Co-WIN. All Rights Reserved"})}),x.jsxs("div",{className:"footer-images-div flex w-fit",children:[x.jsx("img",{src:"./images/national-health-authority.jpg",className:"h-20 mx-3",alt:""}),x.jsx("img",{src:"./images/undp-logo-vertical.svg",className:"h-20 mx-3",alt:""})]}),x.jsx("div",{children:x.jsx("p",{children:"Terms of Service      |    Privacy Policy"})})]})]})})}function UR(e){if(e.sheet)return e.sheet;for(var t=0;t0?wt(Wa,--Xt):0,Oa--,tt===10&&(Oa=1,wf--),tt}function rn(){return tt=Xt2||_l(tt)>3?"":" "}function n$(e,t){for(;--t&&rn()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return Zl(e,ju()+(t<6&&sr()==32&&rn()==32))}function Pg(e){for(;rn();)switch(tt){case e:return Xt;case 34:case 39:e!==34&&e!==39&&Pg(tt);break;case 40:e===41&&Pg(e);break;case 92:rn();break}return Xt}function r$(e,t){for(;rn()&&e+tt!==47+10;)if(e+tt===42+42&&sr()===47)break;return"/*"+Zl(t,Xt-1)+"*"+bf(e===47?e:rn())}function o$(e){for(;!_l(sr());)rn();return Zl(e,Xt)}function i$(e){return pC(Iu("",null,null,null,[""],e=fC(e),0,[0],e))}function Iu(e,t,n,r,o,i,a,s,l){for(var c=0,d=0,p=a,h=0,y=0,b=0,m=1,E=1,w=1,v=0,S="",T=o,R=i,j=r,O=S;E;)switch(b=v,v=rn()){case 40:if(b!=108&&wt(O,p-1)==58){Eg(O+=Se(Lu(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:O+=Lu(v);break;case 9:case 10:case 13:case 32:O+=t$(b);break;case 92:O+=n$(ju()-1,7);continue;case 47:switch(sr()){case 42:case 47:ou(a$(r$(rn(),ju()),t,n),l);break;default:O+="/"}break;case 123*m:s[c++]=Jn(O)*w;case 125*m:case 59:case 0:switch(v){case 0:case 125:E=0;case 59+d:w==-1&&(O=Se(O,/\f/g,"")),y>0&&Jn(O)-p&&ou(y>32?jb(O+";",r,n,p-1):jb(Se(O," ","")+";",r,n,p-2),l);break;case 59:O+=";";default:if(ou(j=Ob(O,t,n,c,d,o,s,S,T=[],R=[],p),i),v===123)if(d===0)Iu(O,t,j,j,T,i,p,s,R);else switch(h===99&&wt(O,3)===110?100:h){case 100:case 108:case 109:case 115:Iu(e,j,j,r&&ou(Ob(e,j,j,0,0,o,s,S,o,T=[],p),R),o,R,p,s,r?T:R);break;default:Iu(O,j,j,j,[""],R,0,s,R)}}c=d=y=0,m=w=1,S=O="",p=a;break;case 58:p=1+Jn(O),y=b;default:if(m<1){if(v==123)--m;else if(v==125&&m++==0&&e$()==125)continue}switch(O+=bf(v),v*m){case 38:w=d>0?1:(O+="\f",-1);break;case 44:s[c++]=(Jn(O)-1)*w,w=1;break;case 64:sr()===45&&(O+=Lu(rn())),h=sr(),d=p=Jn(S=O+=o$(ju())),v++;break;case 45:b===45&&Jn(O)==2&&(m=0)}}return i}function Ob(e,t,n,r,o,i,a,s,l,c,d){for(var p=o-1,h=o===0?i:[""],y=gv(h),b=0,m=0,E=0;b0?h[w]+" "+v:Se(v,/&\f/g,h[w])))&&(l[E++]=S);return xf(e,t,n,o===0?hv:s,l,c,d)}function a$(e,t,n){return xf(e,t,n,lC,bf(JR()),Al(e,2,-2),0)}function jb(e,t,n,r){return xf(e,t,n,mv,Al(e,0,r),Al(e,r+1,-1),r)}function ba(e,t){for(var n="",r=gv(e),o=0;o6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+_d+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Eg(e,"stretch")?mC(Se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(wt(e,t+1)!==115)break;case 6444:switch(wt(e,Jn(e)-3-(~Eg(e,"!important")&&10))){case 107:return Se(e,":",":"+xe)+e;case 101:return Se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(wt(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+At+"$2box$3")+e}break;case 5936:switch(wt(e,t+11)){case 114:return xe+e+At+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+At+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+At+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+At+e+e}return e}var m$=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case mv:t.return=mC(t.value,t.length);break;case cC:return ba([vs(t,{value:Se(t.value,"@","@"+xe)})],o);case hv:if(t.length)return ZR(t.props,function(i){switch(QR(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ba([vs(t,{props:[Se(i,/:(read-\w+)/,":"+_d+"$1")]})],o);case"::placeholder":return ba([vs(t,{props:[Se(i,/:(plac\w+)/,":"+xe+"input-$1")]}),vs(t,{props:[Se(i,/:(plac\w+)/,":"+_d+"$1")]}),vs(t,{props:[Se(i,/:(plac\w+)/,At+"input-$1")]})],o)}return""})}},g$=[m$],v$=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var E=m.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||g$,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var E=m.getAttribute("data-emotion").split(" "),w=1;w=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _$={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},R$=/[A-Z]|^ms/g,$$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,SC=function(t){return t.charCodeAt(1)===45},zb=function(t){return t!=null&&typeof t!="boolean"},Th=hC(function(e){return SC(e)?e:e.replace(R$,"-$&").toLowerCase()}),Mb=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace($$,function(r,o,i){return er={name:o,styles:i,next:er},o})}return _$[t]!==1&&!SC(t)&&typeof n=="number"&&n!==0?n+"px":n};function Rl(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return er={name:n.name,styles:n.styles,next:er},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)er={name:r.name,styles:r.styles,next:er},r=r.next;var o=n.styles+";";return o}return O$(e,t,n)}case"function":{if(e!==void 0){var i=er,a=n(e);return er=i,Rl(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function O$(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o` or ``");return e}var xv=k.createContext({});xv.displayName="ColorModeContext";function Sv(){const e=k.useContext(xv);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var iu={light:"chakra-ui-light",dark:"chakra-ui-dark"};function B$(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const o=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,o==null||o()},setClassName(r){document.body.classList.add(r?iu.dark:iu.light),document.body.classList.remove(r?iu.light:iu.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){var o;return((o=n.query().matches)!=null?o:r==="dark")?"dark":"light"},addListener(r){const o=n.query(),i=a=>{r(a.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(i):o.addEventListener("change",i),()=>{typeof o.removeListener=="function"?o.removeListener(i):o.removeEventListener("change",i)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var V$="chakra-ui-color-mode";function U$(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var H$=U$(V$),$d=globalThis!=null&&globalThis.document?k.useLayoutEffect:k.useEffect,Db=()=>{};function Bb(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function PC(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=H$}=e,s=o==="dark"?"dark":"light",[l,c]=k.useState(()=>Bb(a,s)),[d,p]=k.useState(()=>Bb(a)),{getSystemTheme:h,setClassName:y,setDataset:b,addListener:m}=k.useMemo(()=>B$({preventTransition:i}),[i]),E=o==="system"&&!l?d:l,w=k.useCallback(T=>{const R=T==="system"?h():T;c(R),y(R==="dark"),b(R),a.set(R)},[a,h,y,b]);$d(()=>{o==="system"&&p(h())},[]),k.useEffect(()=>{const T=a.get();if(T){w(T);return}if(o==="system"){w("system");return}w(s)},[a,s,o,w]);const v=k.useCallback(()=>{w(E==="dark"?"light":"dark")},[E,w]);k.useEffect(()=>{if(r)return m(w)},[r,m,w]);const S=k.useMemo(()=>({colorMode:t??E,toggleColorMode:t?Db:v,setColorMode:t?Db:w,forced:t!==void 0}),[E,v,w,t]);return x.jsx(xv.Provider,{value:S,children:n})}PC.displayName="ColorModeProvider";function W$(){const e=Sv(),t=D$();return{...e,theme:t}}var qa=(...e)=>e.filter(Boolean).join(" ");function lr(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function vo(e,...t){return q$(e)?e(...t):e}var q$=e=>typeof e=="function",Od={exports:{}};Od.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",o=800,i=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",h="[object Error]",y="[object Function]",b="[object GeneratorFunction]",m="[object Map]",E="[object Number]",w="[object Null]",v="[object Object]",S="[object Proxy]",T="[object RegExp]",R="[object Set]",j="[object String]",O="[object Undefined]",I="[object WeakMap]",F="[object ArrayBuffer]",V="[object DataView]",ie="[object Float32Array]",Pe="[object Float64Array]",re="[object Int8Array]",fe="[object Int16Array]",te="[object Int32Array]",D="[object Uint8Array]",me="[object Uint8ClampedArray]",N="[object Uint16Array]",X="[object Uint32Array]",K=/[\\^$.*+?()[\]{}|]/g,q=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,J={};J[ie]=J[Pe]=J[re]=J[fe]=J[te]=J[D]=J[me]=J[N]=J[X]=!0,J[s]=J[l]=J[F]=J[d]=J[V]=J[p]=J[h]=J[y]=J[m]=J[E]=J[v]=J[T]=J[R]=J[j]=J[I]=!1;var Y=typeof wn=="object"&&wn&&wn.Object===Object&&wn,oe=typeof self=="object"&&self&&self.Object===Object&&self,ne=Y||oe||Function("return this")(),gt=t&&!t.nodeType&&t,vt=gt&&!0&&e&&!e.nodeType&&e,pn=vt&&vt.exports===gt,An=pn&&Y.process,$t=function(){try{var C=vt&&vt.require&&vt.require("util").types;return C||An&&An.binding&&An.binding("util")}catch{}}(),pr=$t&&$t.isTypedArray;function Ai(C,A,$){switch($.length){case 0:return C.call(A);case 1:return C.call(A,$[0]);case 2:return C.call(A,$[0],$[1]);case 3:return C.call(A,$[0],$[1],$[2])}return C.apply(A,$)}function Ka(C,A){for(var $=-1,B=Array(C);++$-1}function ts(C,A){var $=this.__data__,B=yr($,C);return B<0?(++this.size,$.push([C,A])):$[B][1]=A,this}Rn.prototype.clear=gr,Rn.prototype.delete=cp,Rn.prototype.get=up,Rn.prototype.has=dp,Rn.prototype.set=ts;function Yr(C){var A=-1,$=C==null?0:C.length;for(this.clear();++A<$;){var B=C[A];this.set(B[0],B[1])}}function fp(){this.size=0,this.__data__={hash:new mr,map:new(dc||Rn),string:new mr}}function pp(C){var A=Ho(this,C).delete(C);return this.size-=A?1:0,A}function hp(C){return Ho(this,C).get(C)}function mp(C){return Ho(this,C).has(C)}function _e(C,A){var $=Ho(this,C),B=$.size;return $.set(C,A),this.size+=$.size==B?0:1,this}Yr.prototype.clear=fp,Yr.prototype.delete=pp,Yr.prototype.get=hp,Yr.prototype.has=mp,Yr.prototype.set=_e;function Kr(C){var A=this.__data__=new Rn(C);this.size=A.size}function gp(){this.__data__=new Rn,this.size=0}function vp(C){var A=this.__data__,$=A.delete(C);return this.size=A.size,$}function yp(C){return this.__data__.get(C)}function bp(C){return this.__data__.has(C)}function wp(C,A){var $=this.__data__;if($ instanceof Rn){var B=$.__data__;if(!dc||B.length1?$[ue-1]:void 0,ye=ue>2?$[2]:void 0;for(Ce=C.length>3&&typeof Ce=="function"?(ue--,Ce):void 0,ye&&Xr($[0],$[1],ye)&&(Ce=ue<3?void 0:Ce,ue=1),A=Object(A);++B-1&&C%1==0&&C0){if(++A>=o)return arguments[0]}else A=0;return C.apply(void 0,arguments)}}function Np(C){if(C!=null){try{return hr.call(C)}catch{}try{return C+""}catch{}}return""}function qn(C,A){return C===A||C!==C&&A!==A}var is=pc(function(){return arguments}())?pc:function(C){return Wo(C)&&hn.call(C,"callee")&&!tp.call(C,"callee")},ji=Array.isArray;function Li(C){return C!=null&&kc(C.length)&&!as(C)}function Fp(C){return Wo(C)&&Li(C)}var Sc=np||Up;function as(C){if(!br(C))return!1;var A=$i(C);return A==y||A==b||A==c||A==S}function kc(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=a}function br(C){var A=typeof C;return C!=null&&(A=="object"||A=="function")}function Wo(C){return C!=null&&typeof C=="object"}function Dp(C){if(!Wo(C)||$i(C)!=v)return!1;var A=Uo(C);if(A===null)return!0;var $=hn.call(A,"constructor")&&A.constructor;return typeof $=="function"&&$ instanceof $&&hr.call($)==mn}var wr=pr?Xa(pr):Sp;function Bp(C){return _p(C,Cc(C))}function Cc(C){return Li(C)?ns(C,!0):kp(C)}var Ec=Rp(function(C,A,$,B){mc(C,A,$,B)});function Vp(C){return function(){return C}}function $n(C){return C}function Up(){return!1}e.exports=Ec})(Od,Od.exports);var G$=Od.exports;const or=Dl(G$);var Y$=e=>/!(important)?$/.test(e),Vb=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,K$=(e,t)=>n=>{const r=String(t),o=Y$(r),i=Vb(r),a=e?`${e}.${i}`:i;let s=lr(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=Vb(s),o?`${s} !important`:s};function kv(e){const{scale:t,transform:n,compose:r}=e;return(i,a)=>{var s;const l=K$(t,i)(a);let c=(s=n==null?void 0:n(l,a))!=null?s:l;return r&&(c=r(c,a)),c}}var au=(...e)=>t=>e.reduce((n,r)=>r(n),t);function vn(e,t){return n=>{const r={property:n,scale:e};return r.transform=kv({scale:e,transform:t}),r}}var X$=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Q$(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:X$(t),transform:n?kv({scale:n,compose:r}):r}}var TC=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Z$(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...TC].join(" ")}function J$(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...TC].join(" ")}var eO={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},tO={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function nO(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var rO={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Tg={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},oO=new Set(Object.values(Tg)),Ag=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),iO=e=>e.trim();function aO(e,t){if(e==null||Ag.has(e))return e;if(!(_g(e)||Ag.has(e)))return`url('${e}')`;const o=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=o==null?void 0:o[1],a=o==null?void 0:o[2];if(!i||!a)return e;const s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(iO).filter(Boolean);if((c==null?void 0:c.length)===0)return e;const d=l in Tg?Tg[l]:l;c.unshift(d);const p=c.map(h=>{if(oO.has(h))return h;const y=h.indexOf(" "),[b,m]=y!==-1?[h.substr(0,y),h.substr(y+1)]:[h],E=_g(m)?m:m&&m.split(" "),w=`colors.${b}`,v=w in t.__cssMap?t.__cssMap[w].varRef:b;return E?[v,...Array.isArray(E)?E:[E]].join(" "):v});return`${s}(${p.join(", ")})`}var _g=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),sO=(e,t)=>aO(e,t??{});function lO(e){return/^var\(--.+\)$/.test(e)}var cO=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Kn=e=>t=>`${e}(${t})`,ge={filter(e){return e!=="auto"?e:eO},backdropFilter(e){return e!=="auto"?e:tO},ring(e){return nO(ge.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Z$():e==="auto-gpu"?J$():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=cO(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(lO(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:sO,blur:Kn("blur"),opacity:Kn("opacity"),brightness:Kn("brightness"),contrast:Kn("contrast"),dropShadow:Kn("drop-shadow"),grayscale:Kn("grayscale"),hueRotate:Kn("hue-rotate"),invert:Kn("invert"),saturate:Kn("saturate"),sepia:Kn("sepia"),bgImage(e){return e==null||_g(e)||Ag.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=(t=rO[e])!=null?t:{},o={flexDirection:e};return n&&(o[n]=1),r&&(o[r]=1),o}},_={borderWidths:vn("borderWidths"),borderStyles:vn("borderStyles"),colors:vn("colors"),borders:vn("borders"),gradients:vn("gradients",ge.gradient),radii:vn("radii",ge.px),space:vn("space",au(ge.vh,ge.px)),spaceT:vn("space",au(ge.vh,ge.px)),degreeT(e){return{property:e,transform:ge.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:kv({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:vn("sizes",au(ge.vh,ge.px)),sizesT:vn("sizes",au(ge.vh,ge.fraction)),shadows:vn("shadows"),logical:Q$,blur:vn("blur",ge.blur)},zu={background:_.colors("background"),backgroundColor:_.colors("backgroundColor"),backgroundImage:_.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:ge.bgClip},bgSize:_.prop("backgroundSize"),bgPosition:_.prop("backgroundPosition"),bg:_.colors("background"),bgColor:_.colors("backgroundColor"),bgPos:_.prop("backgroundPosition"),bgRepeat:_.prop("backgroundRepeat"),bgAttachment:_.prop("backgroundAttachment"),bgGradient:_.gradients("backgroundImage"),bgClip:{transform:ge.bgClip}};Object.assign(zu,{bgImage:zu.backgroundImage,bgImg:zu.backgroundImage});var we={border:_.borders("border"),borderWidth:_.borderWidths("borderWidth"),borderStyle:_.borderStyles("borderStyle"),borderColor:_.colors("borderColor"),borderRadius:_.radii("borderRadius"),borderTop:_.borders("borderTop"),borderBlockStart:_.borders("borderBlockStart"),borderTopLeftRadius:_.radii("borderTopLeftRadius"),borderStartStartRadius:_.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:_.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:_.radii("borderTopRightRadius"),borderStartEndRadius:_.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:_.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:_.borders("borderRight"),borderInlineEnd:_.borders("borderInlineEnd"),borderBottom:_.borders("borderBottom"),borderBlockEnd:_.borders("borderBlockEnd"),borderBottomLeftRadius:_.radii("borderBottomLeftRadius"),borderBottomRightRadius:_.radii("borderBottomRightRadius"),borderLeft:_.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:_.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:_.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:_.borders(["borderLeft","borderRight"]),borderInline:_.borders("borderInline"),borderY:_.borders(["borderTop","borderBottom"]),borderBlock:_.borders("borderBlock"),borderTopWidth:_.borderWidths("borderTopWidth"),borderBlockStartWidth:_.borderWidths("borderBlockStartWidth"),borderTopColor:_.colors("borderTopColor"),borderBlockStartColor:_.colors("borderBlockStartColor"),borderTopStyle:_.borderStyles("borderTopStyle"),borderBlockStartStyle:_.borderStyles("borderBlockStartStyle"),borderBottomWidth:_.borderWidths("borderBottomWidth"),borderBlockEndWidth:_.borderWidths("borderBlockEndWidth"),borderBottomColor:_.colors("borderBottomColor"),borderBlockEndColor:_.colors("borderBlockEndColor"),borderBottomStyle:_.borderStyles("borderBottomStyle"),borderBlockEndStyle:_.borderStyles("borderBlockEndStyle"),borderLeftWidth:_.borderWidths("borderLeftWidth"),borderInlineStartWidth:_.borderWidths("borderInlineStartWidth"),borderLeftColor:_.colors("borderLeftColor"),borderInlineStartColor:_.colors("borderInlineStartColor"),borderLeftStyle:_.borderStyles("borderLeftStyle"),borderInlineStartStyle:_.borderStyles("borderInlineStartStyle"),borderRightWidth:_.borderWidths("borderRightWidth"),borderInlineEndWidth:_.borderWidths("borderInlineEndWidth"),borderRightColor:_.colors("borderRightColor"),borderInlineEndColor:_.colors("borderInlineEndColor"),borderRightStyle:_.borderStyles("borderRightStyle"),borderInlineEndStyle:_.borderStyles("borderInlineEndStyle"),borderTopRadius:_.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:_.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:_.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:_.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(we,{rounded:we.borderRadius,roundedTop:we.borderTopRadius,roundedTopLeft:we.borderTopLeftRadius,roundedTopRight:we.borderTopRightRadius,roundedTopStart:we.borderStartStartRadius,roundedTopEnd:we.borderStartEndRadius,roundedBottom:we.borderBottomRadius,roundedBottomLeft:we.borderBottomLeftRadius,roundedBottomRight:we.borderBottomRightRadius,roundedBottomStart:we.borderEndStartRadius,roundedBottomEnd:we.borderEndEndRadius,roundedLeft:we.borderLeftRadius,roundedRight:we.borderRightRadius,roundedStart:we.borderInlineStartRadius,roundedEnd:we.borderInlineEndRadius,borderStart:we.borderInlineStart,borderEnd:we.borderInlineEnd,borderTopStartRadius:we.borderStartStartRadius,borderTopEndRadius:we.borderStartEndRadius,borderBottomStartRadius:we.borderEndStartRadius,borderBottomEndRadius:we.borderEndEndRadius,borderStartRadius:we.borderInlineStartRadius,borderEndRadius:we.borderInlineEndRadius,borderStartWidth:we.borderInlineStartWidth,borderEndWidth:we.borderInlineEndWidth,borderStartColor:we.borderInlineStartColor,borderEndColor:we.borderInlineEndColor,borderStartStyle:we.borderInlineStartStyle,borderEndStyle:we.borderInlineEndStyle});var uO={color:_.colors("color"),textColor:_.colors("color"),fill:_.colors("fill"),stroke:_.colors("stroke")},Rg={boxShadow:_.shadows("boxShadow"),mixBlendMode:!0,blendMode:_.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:_.prop("backgroundBlendMode"),opacity:!0};Object.assign(Rg,{shadow:Rg.boxShadow});var dO={filter:{transform:ge.filter},blur:_.blur("--chakra-blur"),brightness:_.propT("--chakra-brightness",ge.brightness),contrast:_.propT("--chakra-contrast",ge.contrast),hueRotate:_.degreeT("--chakra-hue-rotate"),invert:_.propT("--chakra-invert",ge.invert),saturate:_.propT("--chakra-saturate",ge.saturate),dropShadow:_.propT("--chakra-drop-shadow",ge.dropShadow),backdropFilter:{transform:ge.backdropFilter},backdropBlur:_.blur("--chakra-backdrop-blur"),backdropBrightness:_.propT("--chakra-backdrop-brightness",ge.brightness),backdropContrast:_.propT("--chakra-backdrop-contrast",ge.contrast),backdropHueRotate:_.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:_.propT("--chakra-backdrop-invert",ge.invert),backdropSaturate:_.propT("--chakra-backdrop-saturate",ge.saturate)},jd={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:ge.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:_.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:_.space("gap"),rowGap:_.space("rowGap"),columnGap:_.space("columnGap")};Object.assign(jd,{flexDir:jd.flexDirection});var AC={gridGap:_.space("gridGap"),gridColumnGap:_.space("gridColumnGap"),gridRowGap:_.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},fO={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ge.outline},outlineOffset:!0,outlineColor:_.colors("outlineColor")},bn={width:_.sizesT("width"),inlineSize:_.sizesT("inlineSize"),height:_.sizes("height"),blockSize:_.sizes("blockSize"),boxSize:_.sizes(["width","height"]),minWidth:_.sizes("minWidth"),minInlineSize:_.sizes("minInlineSize"),minHeight:_.sizes("minHeight"),minBlockSize:_.sizes("minBlockSize"),maxWidth:_.sizes("maxWidth"),maxInlineSize:_.sizes("maxInlineSize"),maxHeight:_.sizes("maxHeight"),maxBlockSize:_.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;return{[`@media screen and (min-width: ${(o=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r.minW)!=null?o:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;return{[`@media screen and (max-width: ${(o=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r._minW)!=null?o:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:_.propT("float",ge.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(bn,{w:bn.width,h:bn.height,minW:bn.minWidth,maxW:bn.maxWidth,minH:bn.minHeight,maxH:bn.maxHeight,overscroll:bn.overscrollBehavior,overscrollX:bn.overscrollBehaviorX,overscrollY:bn.overscrollBehaviorY});var pO={listStyleType:!0,listStylePosition:!0,listStylePos:_.prop("listStylePosition"),listStyleImage:!0,listStyleImg:_.prop("listStyleImage")};function hO(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}},gO=mO(hO),vO={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},yO={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Ah=(e,t,n)=>{const r={},o=gO(e,t,{});for(const i in o)i in n&&n[i]!=null||(r[i]=o[i]);return r},bO={srOnly:{transform(e){return e===!0?vO:e==="focusable"?yO:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Ah(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Ah(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Ah(t,e,n)}},Gs={position:!0,pos:_.prop("position"),zIndex:_.prop("zIndex","zIndices"),inset:_.spaceT("inset"),insetX:_.spaceT(["left","right"]),insetInline:_.spaceT("insetInline"),insetY:_.spaceT(["top","bottom"]),insetBlock:_.spaceT("insetBlock"),top:_.spaceT("top"),insetBlockStart:_.spaceT("insetBlockStart"),bottom:_.spaceT("bottom"),insetBlockEnd:_.spaceT("insetBlockEnd"),left:_.spaceT("left"),insetInlineStart:_.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:_.spaceT("right"),insetInlineEnd:_.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Gs,{insetStart:Gs.insetInlineStart,insetEnd:Gs.insetInlineEnd});var wO={ring:{transform:ge.ring},ringColor:_.colors("--chakra-ring-color"),ringOffset:_.prop("--chakra-ring-offset-width"),ringOffsetColor:_.colors("--chakra-ring-offset-color"),ringInset:_.prop("--chakra-ring-inset")},ze={margin:_.spaceT("margin"),marginTop:_.spaceT("marginTop"),marginBlockStart:_.spaceT("marginBlockStart"),marginRight:_.spaceT("marginRight"),marginInlineEnd:_.spaceT("marginInlineEnd"),marginBottom:_.spaceT("marginBottom"),marginBlockEnd:_.spaceT("marginBlockEnd"),marginLeft:_.spaceT("marginLeft"),marginInlineStart:_.spaceT("marginInlineStart"),marginX:_.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:_.spaceT("marginInline"),marginY:_.spaceT(["marginTop","marginBottom"]),marginBlock:_.spaceT("marginBlock"),padding:_.space("padding"),paddingTop:_.space("paddingTop"),paddingBlockStart:_.space("paddingBlockStart"),paddingRight:_.space("paddingRight"),paddingBottom:_.space("paddingBottom"),paddingBlockEnd:_.space("paddingBlockEnd"),paddingLeft:_.space("paddingLeft"),paddingInlineStart:_.space("paddingInlineStart"),paddingInlineEnd:_.space("paddingInlineEnd"),paddingX:_.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:_.space("paddingInline"),paddingY:_.space(["paddingTop","paddingBottom"]),paddingBlock:_.space("paddingBlock")};Object.assign(ze,{m:ze.margin,mt:ze.marginTop,mr:ze.marginRight,me:ze.marginInlineEnd,marginEnd:ze.marginInlineEnd,mb:ze.marginBottom,ml:ze.marginLeft,ms:ze.marginInlineStart,marginStart:ze.marginInlineStart,mx:ze.marginX,my:ze.marginY,p:ze.padding,pt:ze.paddingTop,py:ze.paddingY,px:ze.paddingX,pb:ze.paddingBottom,pl:ze.paddingLeft,ps:ze.paddingInlineStart,paddingStart:ze.paddingInlineStart,pr:ze.paddingRight,pe:ze.paddingInlineEnd,paddingEnd:ze.paddingInlineEnd});var xO={textDecorationColor:_.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:_.shadows("textShadow")},SO={clipPath:!0,transform:_.propT("transform",ge.transform),transformOrigin:!0,translateX:_.spaceT("--chakra-translate-x"),translateY:_.spaceT("--chakra-translate-y"),skewX:_.degreeT("--chakra-skew-x"),skewY:_.degreeT("--chakra-skew-y"),scaleX:_.prop("--chakra-scale-x"),scaleY:_.prop("--chakra-scale-y"),scale:_.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:_.degreeT("--chakra-rotate")},kO={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:_.prop("transitionDuration","transition.duration"),transitionProperty:_.prop("transitionProperty","transition.property"),transitionTimingFunction:_.prop("transitionTimingFunction","transition.easing")},CO={fontFamily:_.prop("fontFamily","fonts"),fontSize:_.prop("fontSize","fontSizes",ge.px),fontWeight:_.prop("fontWeight","fontWeights"),lineHeight:_.prop("lineHeight","lineHeights"),letterSpacing:_.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},EO={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:_.spaceT("scrollMargin"),scrollMarginTop:_.spaceT("scrollMarginTop"),scrollMarginBottom:_.spaceT("scrollMarginBottom"),scrollMarginLeft:_.spaceT("scrollMarginLeft"),scrollMarginRight:_.spaceT("scrollMarginRight"),scrollMarginX:_.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:_.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:_.spaceT("scrollPadding"),scrollPaddingTop:_.spaceT("scrollPaddingTop"),scrollPaddingBottom:_.spaceT("scrollPaddingBottom"),scrollPaddingLeft:_.spaceT("scrollPaddingLeft"),scrollPaddingRight:_.spaceT("scrollPaddingRight"),scrollPaddingX:_.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:_.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function _C(e){return lr(e)&&e.reference?e.reference:String(e)}var jf=(e,...t)=>t.map(_C).join(` ${e} `).replace(/calc/g,""),Ub=(...e)=>`calc(${jf("+",...e)})`,Hb=(...e)=>`calc(${jf("-",...e)})`,$g=(...e)=>`calc(${jf("*",...e)})`,Wb=(...e)=>`calc(${jf("/",...e)})`,qb=e=>{const t=_C(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:$g(t,-1)},Jo=Object.assign(e=>({add:(...t)=>Jo(Ub(e,...t)),subtract:(...t)=>Jo(Hb(e,...t)),multiply:(...t)=>Jo($g(e,...t)),divide:(...t)=>Jo(Wb(e,...t)),negate:()=>Jo(qb(e)),toString:()=>e.toString()}),{add:Ub,subtract:Hb,multiply:$g,divide:Wb,negate:qb});function PO(e,t="-"){return e.replace(/\s+/g,t)}function TO(e){const t=PO(e.toString());return _O(AO(t))}function AO(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function _O(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function RO(e,t=""){return[t,e].filter(Boolean).join("-")}function $O(e,t){return`var(${e}${t?`, ${t}`:""})`}function OO(e,t=""){return TO(`--${RO(e,t)}`)}function Z(e,t,n){const r=OO(e,n);return{variable:r,reference:$O(r,t)}}function jO(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[o,i]=r;n[o]=Z(`${e}-${o}`,i);continue}n[r]=Z(`${e}-${r}`)}return n}function LO(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function IO(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function Og(e){if(e==null)return e;const{unitless:t}=IO(e);return t||typeof e=="number"?`${e}px`:e}var RC=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Cv=e=>Object.fromEntries(Object.entries(e).sort(RC));function Gb(e){const t=Cv(e);return Object.assign(Object.values(t),t)}function zO(e){const t=Object.keys(Cv(e));return new Set(t)}function Yb(e){var t;if(!e)return e;e=(t=Og(e))!=null?t:e;const n=-.02;return typeof e=="number"?`${e+n}`:e.replace(/(\d+\.?\d*)/u,r=>`${parseFloat(r)+n}`)}function Rs(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Og(e)})`),t&&n.push("and",`(max-width: ${Og(t)})`),n.join(" ")}function MO(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";const n=Gb(e),r=Object.entries(e).sort(RC).map(([a,s],l,c)=>{var d;let[,p]=(d=c[l+1])!=null?d:[];return p=parseFloat(p)>0?Yb(p):void 0,{_minW:Yb(s),breakpoint:a,minW:s,maxW:p,maxWQuery:Rs(null,p),minWQuery:Rs(s),minMaxQuery:Rs(s,p)}}),o=zO(e),i=Array.from(o.values());return{keys:o,normalized:n,isResponsive(a){const s=Object.keys(a);return s.length>0&&s.every(l=>o.has(l))},asObject:Cv(e),asArray:Gb(e),details:r,get(a){return r.find(s=>s.breakpoint===a)},media:[null,...n.map(a=>Rs(a)).slice(1)],toArrayValue(a){if(!lr(a))throw new Error("toArrayValue: value must be an object");const s=i.map(l=>{var c;return(c=a[l])!=null?c:null});for(;LO(s)===null;)s.pop();return s},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((s,l,c)=>{const d=i[c];return d!=null&&l!=null&&(s[d]=l),s},{})}}}var yt={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Jr=e=>$C(t=>e(t,"&"),"[role=group]","[data-group]",".group"),xr=e=>$C(t=>e(t,"~ &"),"[data-peer]",".peer"),$C=(e,...t)=>t.map(e).join(", "),Lf={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Jr(yt.hover),_peerHover:xr(yt.hover),_groupFocus:Jr(yt.focus),_peerFocus:xr(yt.focus),_groupFocusVisible:Jr(yt.focusVisible),_peerFocusVisible:xr(yt.focusVisible),_groupActive:Jr(yt.active),_peerActive:xr(yt.active),_groupDisabled:Jr(yt.disabled),_peerDisabled:xr(yt.disabled),_groupInvalid:Jr(yt.invalid),_peerInvalid:xr(yt.invalid),_groupChecked:Jr(yt.checked),_peerChecked:xr(yt.checked),_groupFocusWithin:Jr(yt.focusWithin),_peerFocusWithin:xr(yt.focusWithin),_peerPlaceholderShown:xr(yt.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},OC=Object.keys(Lf);function Kb(e,t){return Z(String(e).replace(/\./g,"-"),void 0,t)}function NO(e,t){let n={};const r={};for(const[o,i]of Object.entries(e)){const{isSemantic:a,value:s}=i,{variable:l,reference:c}=Kb(o,t==null?void 0:t.cssVarPrefix);if(!a){if(o.startsWith("space")){const h=o.split("."),[y,...b]=h,m=`${y}.-${b.join(".")}`,E=Jo.negate(s),w=Jo.negate(c);r[m]={value:E,var:l,varRef:w}}n[l]=s,r[o]={value:s,var:l,varRef:c};continue}const d=h=>{const b=[String(o).split(".")[0],h].join(".");if(!e[b])return h;const{reference:E}=Kb(b,t==null?void 0:t.cssVarPrefix);return E},p=lr(s)?s:{default:s};n=or(n,Object.entries(p).reduce((h,[y,b])=>{var m,E;if(!b)return h;const w=d(`${b}`);if(y==="default")return h[l]=w,h;const v=(E=(m=Lf)==null?void 0:m[y])!=null?E:y;return h[v]={[l]:w},h},{})),r[o]={value:c,var:l,varRef:c}}return{cssVars:n,cssMap:r}}function FO(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function DO(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function BO(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}function Xb(e,t,n={}){const{stop:r,getKey:o}=n;function i(a,s=[]){var l;if(BO(a)||Array.isArray(a)){const c={};for(const[d,p]of Object.entries(a)){const h=(l=o==null?void 0:o(d))!=null?l:d,y=[...s,h];if(r!=null&&r(a,y))return t(a,s);c[h]=i(p,y)}return c}return t(a,s)}return i(e)}var VO=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function UO(e){return DO(e,VO)}function HO(e){return e.semanticTokens}function WO(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}var qO=e=>OC.includes(e)||e==="default";function GO({tokens:e,semanticTokens:t}){const n={};return Xb(e,(r,o)=>{r!=null&&(n[o.join(".")]={isSemantic:!1,value:r})}),Xb(t,(r,o)=>{r!=null&&(n[o.join(".")]={isSemantic:!0,value:r})},{stop:r=>Object.keys(r).every(qO)}),n}function YO(e){var t;const n=WO(e),r=UO(n),o=HO(n),i=GO({tokens:r,semanticTokens:o}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=NO(i,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:MO(n.breakpoints)}),n}var Ev=or({},zu,we,uO,jd,bn,dO,wO,fO,AC,bO,Gs,Rg,ze,EO,CO,xO,SO,pO,kO);Object.assign({},ze,bn,jd,AC,Gs);var KO=[...Object.keys(Ev),...OC],XO={...Ev,...Lf},QO=e=>e in XO,ZO=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,i={};for(const a in e){let s=vo(e[a],t);if(s==null)continue;if(s=lr(s)&&n(s)?r(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let c=0;ce.startsWith("--")&&typeof t=="string"&&!ej(t),nj=(e,t)=>{var n,r;if(t==null)return t;const o=l=>{var c,d;return(d=(c=e.__cssMap)==null?void 0:c[l])==null?void 0:d.varRef},i=l=>{var c;return(c=o(l))!=null?c:l},[a,s]=JO(t);return t=(r=(n=o(a))!=null?n:i(s))!=null?r:i(t),t};function rj(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(i,a=!1)=>{var s,l,c;const d=vo(i,r),p=ZO(d)(r);let h={};for(let y in p){const b=p[y];let m=vo(b,r);y in n&&(y=n[y]),tj(y,m)&&(m=nj(r,m));let E=t[y];if(E===!0&&(E={property:y}),lr(m)){h[y]=(s=h[y])!=null?s:{},h[y]=or({},h[y],o(m,!0));continue}let w=(c=(l=E==null?void 0:E.transform)==null?void 0:l.call(E,m,r,d))!=null?c:m;w=E!=null&&E.processResult?o(w,!0):w;const v=vo(E==null?void 0:E.property,r);if(!a&&(E!=null&&E.static)){const S=vo(E.static,r);h=or({},h,S)}if(v&&Array.isArray(v)){for(const S of v)h[S]=w;continue}if(v){v==="&"&&lr(w)?h=or({},h,w):h[v]=w;continue}if(lr(w)){h=or({},h,w);continue}h[y]=w}return h};return o}var jC=e=>t=>rj({theme:t,pseudos:Lf,configs:Ev})(e);function je(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function oj(e,t){if(Array.isArray(e))return e;if(lr(e))return t(e);if(e!=null)return[e]}function ij(e,t){for(let n=t+1;n{or(c,{[S]:h?v[S]:{[w]:v[S]}})});continue}if(!y){h?or(c,v):c[w]=v;continue}c[w]=v}}return c}}function sj(e){return t=>{var n;const{variant:r,size:o,theme:i}=t,a=aj(i);return or({},vo((n=e.baseStyle)!=null?n:{},t),a(e,"sizes",o,t),a(e,"variants",r,t))}}function Pv(e){return FO(e,["styleConfig","size","variant","colorScheme"])}var lj={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},cj={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},uj={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},dj={property:lj,easing:cj,duration:uj},fj=dj,pj={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},hj=pj,mj={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gj=mj,vj={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},yj=vj,bj={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},wj=bj,xj={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Sj=xj,kj={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cj=kj,Ej={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Pj=Ej,Tj={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},LC=Tj,IC={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Aj={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},_j={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Rj={...IC,...Aj,container:_j},zC=Rj,$j={breakpoints:yj,zIndices:hj,radii:Sj,blur:Pj,colors:wj,...LC,sizes:zC,shadows:Cj,space:IC,borders:gj,transition:fj},{defineMultiStyleConfig:Oj,definePartsStyle:$s}=je(["stepper","step","title","description","indicator","separator","icon","number"]),Cr=Z("stepper-indicator-size"),na=Z("stepper-icon-size"),ra=Z("stepper-title-font-size"),Os=Z("stepper-description-font-size"),ys=Z("stepper-accent-color"),jj=$s(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ys.variable]:`colors.${e}.500`,_dark:{[ys.variable]:`colors.${e}.200`}},title:{fontSize:ra.reference,fontWeight:"medium"},description:{fontSize:Os.reference,color:"chakra-subtle-text"},number:{fontSize:ra.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:na.reference,height:na.reference},indicator:{flexShrink:0,borderRadius:"full",width:Cr.reference,height:Cr.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ys.reference},"&[data-status=complete]":{bg:ys.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ys.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Cr.reference} - 8px)`,top:`calc(${Cr.reference} + 4px)`,insetStart:`calc(${Cr.reference} / 2 - 1px)`}}})),Lj=Oj({baseStyle:jj,sizes:{xs:$s({stepper:{[Cr.variable]:"sizes.4",[na.variable]:"sizes.3",[ra.variable]:"fontSizes.xs",[Os.variable]:"fontSizes.xs"}}),sm:$s({stepper:{[Cr.variable]:"sizes.6",[na.variable]:"sizes.4",[ra.variable]:"fontSizes.sm",[Os.variable]:"fontSizes.xs"}}),md:$s({stepper:{[Cr.variable]:"sizes.8",[na.variable]:"sizes.5",[ra.variable]:"fontSizes.md",[Os.variable]:"fontSizes.sm"}}),lg:$s({stepper:{[Cr.variable]:"sizes.10",[na.variable]:"sizes.6",[ra.variable]:"fontSizes.lg",[Os.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Ee(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function o(...d){r();for(const p of d)t[p]=l(p);return Ee(e,t)}function i(...d){for(const p of d)p in t||(t[p]=l(p));return Ee(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([p,h])=>[p,h.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([p,h])=>[p,h.className]))}function l(d){const y=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:y,selector:`.${y}`,toString:()=>d}}return{parts:o,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Ij=Ee("accordion").parts("root","container","button","panel").extend("icon"),zj=Ee("alert").parts("title","description","container").extend("icon","spinner"),Mj=Ee("avatar").parts("label","badge","container").extend("excessLabel","group"),Nj=Ee("breadcrumb").parts("link","item","container").extend("separator");Ee("button").parts();var Fj=Ee("checkbox").parts("control","icon","container").extend("label");Ee("progress").parts("track","filledTrack").extend("label");var Dj=Ee("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Bj=Ee("editable").parts("preview","input","textarea"),Vj=Ee("form").parts("container","requiredIndicator","helperText"),Uj=Ee("formError").parts("text","icon"),Hj=Ee("input").parts("addon","field","element","group"),Wj=Ee("list").parts("container","item","icon"),qj=Ee("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Gj=Ee("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Yj=Ee("numberinput").parts("root","field","stepperGroup","stepper");Ee("pininput").parts("field");var Kj=Ee("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Xj=Ee("progress").parts("label","filledTrack","track"),Qj=Ee("radio").parts("container","control","label"),Zj=Ee("select").parts("field","icon"),Jj=Ee("slider").parts("container","track","thumb","filledTrack","mark"),e6=Ee("stat").parts("container","label","helpText","number","icon"),t6=Ee("switch").parts("container","track","thumb"),n6=Ee("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),r6=Ee("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),o6=Ee("tag").parts("container","label","closeButton"),i6=Ee("card").parts("container","header","body","footer");function ai(e,t,n){return Math.min(Math.max(e,n),t)}class a6 extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var js=a6;function Tv(e){if(typeof e!="string")throw new js(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=h6.test(e)?c6(e):e;const n=u6.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(s=>parseInt(Ol(s,2),16)),parseInt(Ol(a[3]||"f",2),16)/255]}const r=d6.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}const o=f6.exec(t);if(o){const a=Array.from(o).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}const i=p6.exec(t);if(i){const[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(ai(0,100,s)!==s)throw new js(e);if(ai(0,100,l)!==l)throw new js(e);return[...m6(a,s,l),Number.isNaN(c)?1:c]}throw new js(e)}function s6(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const Qb=e=>parseInt(e.replace(/_/g,""),36),l6="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=Qb(t.substring(0,3)),r=Qb(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e},{});function c6(e){const t=e.toLowerCase().trim(),n=l6[s6(t)];if(!n)throw new js(e);return`#${n}`}const Ol=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),u6=new RegExp(`^#${Ol("([a-f0-9])",3)}([a-f0-9])?$`,"i"),d6=new RegExp(`^#${Ol("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),f6=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ol(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),p6=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,h6=/^[a-z]+$/i,Zb=e=>Math.round(e*255),m6=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(Zb);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const d=r-i/2,p=s+d,h=l+d,y=c+d;return[p,h,y].map(Zb)};function g6(e,t,n,r){return`rgba(${ai(0,255,e).toFixed()}, ${ai(0,255,t).toFixed()}, ${ai(0,255,n).toFixed()}, ${parseFloat(ai(0,1,r).toFixed(3))})`}function v6(e,t){const[n,r,o,i]=Tv(e);return g6(n,r,o,i-t)}function y6(e){const[t,n,r,o]=Tv(e);let i=a=>{const s=ai(0,255,a).toString(16);return s.length===1?`0${s}`:s};return`#${i(t)}${i(n)}${i(r)}${o<1?i(Math.round(o*255)):""}`}function b6(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,zt=(e,t,n)=>{const r=b6(e,`colors.${t}`,t);try{return y6(r),r}catch{return n??"#000000"}},x6=e=>{const[t,n,r]=Tv(e);return(t*299+n*587+r*114)/1e3},S6=e=>t=>{const n=zt(t,e);return x6(n)<128?"dark":"light"},k6=e=>t=>S6(e)(t)==="dark",ja=(e,t)=>n=>{const r=zt(n,e);return v6(r,1-t)};function Jb(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( + 45deg, + ${t} 25%, + transparent 25%, + transparent 50%, + ${t} 50%, + ${t} 75%, + transparent 75%, + transparent + )`,backgroundSize:`${e} ${e}`}}var C6=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function E6(e){const t=C6();return!e||w6(e)?t:e.string&&e.colors?T6(e.string,e.colors):e.string&&!e.colors?P6(e.string):e.colors&&!e.string?A6(e.colors):t}function P6(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r>r*8&255;n+=`00${o.toString(16)}`.substr(-2)}return n}function T6(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;rn.colorMode==="dark"?t:e}function Av(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function MC(e){return lr(e)&&e.reference?e.reference:String(e)}var If=(e,...t)=>t.map(MC).join(` ${e} `).replace(/calc/g,""),ew=(...e)=>`calc(${If("+",...e)})`,tw=(...e)=>`calc(${If("-",...e)})`,jg=(...e)=>`calc(${If("*",...e)})`,nw=(...e)=>`calc(${If("/",...e)})`,rw=e=>{const t=MC(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:jg(t,-1)},Er=Object.assign(e=>({add:(...t)=>Er(ew(e,...t)),subtract:(...t)=>Er(tw(e,...t)),multiply:(...t)=>Er(jg(e,...t)),divide:(...t)=>Er(nw(e,...t)),negate:()=>Er(rw(e)),toString:()=>e.toString()}),{add:ew,subtract:tw,multiply:jg,divide:nw,negate:rw});function _6(e){return!Number.isInteger(parseFloat(e.toString()))}function R6(e,t="-"){return e.replace(/\s+/g,t)}function NC(e){const t=R6(e.toString());return t.includes("\\.")?e:_6(e)?t.replace(".","\\."):e}function $6(e,t=""){return[t,NC(e)].filter(Boolean).join("-")}function O6(e,t){return`var(${NC(e)}${t?`, ${t}`:""})`}function j6(e,t=""){return`--${$6(e,t)}`}function ct(e,t){const n=j6(e,t==null?void 0:t.prefix);return{variable:n,reference:O6(n,L6(t==null?void 0:t.fallback))}}function L6(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:I6,definePartsStyle:Mu}=je(t6.keys),Ys=ct("switch-track-width"),ui=ct("switch-track-height"),_h=ct("switch-track-diff"),z6=Er.subtract(Ys,ui),Lg=ct("switch-thumb-x"),bs=ct("switch-bg"),M6=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Ys.reference],height:[ui.reference],transitionProperty:"common",transitionDuration:"fast",[bs.variable]:"colors.gray.300",_dark:{[bs.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[bs.variable]:`colors.${t}.500`,_dark:{[bs.variable]:`colors.${t}.200`}},bg:bs.reference}},N6={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ui.reference],height:[ui.reference],_checked:{transform:`translateX(${Lg.reference})`}},F6=Mu(e=>({container:{[_h.variable]:z6,[Lg.variable]:_h.reference,_rtl:{[Lg.variable]:Er(_h).negate().toString()}},track:M6(e),thumb:N6})),D6={sm:Mu({container:{[Ys.variable]:"1.375rem",[ui.variable]:"sizes.3"}}),md:Mu({container:{[Ys.variable]:"1.875rem",[ui.variable]:"sizes.4"}}),lg:Mu({container:{[Ys.variable]:"2.875rem",[ui.variable]:"sizes.6"}})},B6=I6({baseStyle:F6,sizes:D6,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:V6,definePartsStyle:wa}=je(n6.keys),U6=wa({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Ld={"&[data-is-numeric=true]":{textAlign:"end"}},H6=wa(e=>{const{colorScheme:t}=e;return{th:{color:Q("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Q(`${t}.100`,`${t}.700`)(e),...Ld},td:{borderBottom:"1px",borderColor:Q(`${t}.100`,`${t}.700`)(e),...Ld},caption:{color:Q("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),W6=wa(e=>{const{colorScheme:t}=e;return{th:{color:Q("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Q(`${t}.100`,`${t}.700`)(e),...Ld},td:{borderBottom:"1px",borderColor:Q(`${t}.100`,`${t}.700`)(e),...Ld},caption:{color:Q("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Q(`${t}.100`,`${t}.700`)(e)},td:{background:Q(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),q6={simple:H6,striped:W6,unstyled:{}},G6={sm:wa({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:wa({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:wa({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Y6=V6({baseStyle:U6,variants:q6,sizes:G6,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ht=Z("tabs-color"),Mn=Z("tabs-bg"),su=Z("tabs-border-color"),{defineMultiStyleConfig:K6,definePartsStyle:cr}=je(r6.keys),X6=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},Q6=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Z6=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},J6={p:4},eL=cr(e=>({root:X6(e),tab:Q6(e),tablist:Z6(e),tabpanel:J6})),tL={sm:cr({tab:{py:1,px:4,fontSize:"sm"}}),md:cr({tab:{fontSize:"md",py:2,px:4}}),lg:cr({tab:{fontSize:"lg",py:3,px:4}})},nL=cr(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Ht.variable]:`colors.${t}.600`,_dark:{[Ht.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Mn.variable]:"colors.gray.200",_dark:{[Mn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ht.reference,bg:Mn.reference}}}),rL=cr(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[su.variable]:"transparent",_selected:{[Ht.variable]:`colors.${t}.600`,[su.variable]:"colors.white",_dark:{[Ht.variable]:`colors.${t}.300`,[su.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:su.reference},color:Ht.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),oL=cr(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Mn.variable]:"colors.gray.50",_dark:{[Mn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Mn.variable]:"colors.white",[Ht.variable]:`colors.${t}.600`,_dark:{[Mn.variable]:"colors.gray.800",[Ht.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ht.reference,bg:Mn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),iL=cr(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:zt(n,`${t}.700`),bg:zt(n,`${t}.100`)}}}}),aL=cr(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ht.variable]:"colors.gray.600",_dark:{[Ht.variable]:"inherit"},_selected:{[Ht.variable]:"colors.white",[Mn.variable]:`colors.${t}.600`,_dark:{[Ht.variable]:"colors.gray.800",[Mn.variable]:`colors.${t}.300`}},color:Ht.reference,bg:Mn.reference}}}),sL=cr({}),lL={line:nL,enclosed:rL,"enclosed-colored":oL,"soft-rounded":iL,"solid-rounded":aL,unstyled:sL},cL=K6({baseStyle:eL,sizes:tL,variants:lL,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),Ze=jO("badge",["bg","color","shadow"]),uL={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Ze.bg.reference,color:Ze.color.reference,boxShadow:Ze.shadow.reference},dL=e=>{const{colorScheme:t,theme:n}=e,r=ja(`${t}.500`,.6)(n);return{[Ze.bg.variable]:`colors.${t}.500`,[Ze.color.variable]:"colors.white",_dark:{[Ze.bg.variable]:r,[Ze.color.variable]:"colors.whiteAlpha.800"}}},fL=e=>{const{colorScheme:t,theme:n}=e,r=ja(`${t}.200`,.16)(n);return{[Ze.bg.variable]:`colors.${t}.100`,[Ze.color.variable]:`colors.${t}.800`,_dark:{[Ze.bg.variable]:r,[Ze.color.variable]:`colors.${t}.200`}}},pL=e=>{const{colorScheme:t,theme:n}=e,r=ja(`${t}.200`,.8)(n);return{[Ze.color.variable]:`colors.${t}.500`,_dark:{[Ze.color.variable]:r},[Ze.shadow.variable]:`inset 0 0 0px 1px ${Ze.color.reference}`}},hL={solid:dL,subtle:fL,outline:pL},Ks={baseStyle:uL,variants:hL,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:mL,definePartsStyle:di}=je(o6.keys),ow=Z("tag-bg"),iw=Z("tag-color"),Rh=Z("tag-shadow"),Nu=Z("tag-min-height"),Fu=Z("tag-min-width"),Du=Z("tag-font-size"),Bu=Z("tag-padding-inline"),gL={fontWeight:"medium",lineHeight:1.2,outline:0,[iw.variable]:Ze.color.reference,[ow.variable]:Ze.bg.reference,[Rh.variable]:Ze.shadow.reference,color:iw.reference,bg:ow.reference,boxShadow:Rh.reference,borderRadius:"md",minH:Nu.reference,minW:Fu.reference,fontSize:Du.reference,px:Bu.reference,_focusVisible:{[Rh.variable]:"shadows.outline"}},vL={lineHeight:1.2,overflow:"visible"},yL={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},bL=di({container:gL,label:vL,closeButton:yL}),wL={sm:di({container:{[Nu.variable]:"sizes.5",[Fu.variable]:"sizes.5",[Du.variable]:"fontSizes.xs",[Bu.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:di({container:{[Nu.variable]:"sizes.6",[Fu.variable]:"sizes.6",[Du.variable]:"fontSizes.sm",[Bu.variable]:"space.2"}}),lg:di({container:{[Nu.variable]:"sizes.8",[Fu.variable]:"sizes.8",[Du.variable]:"fontSizes.md",[Bu.variable]:"space.3"}})},xL={subtle:di(e=>{var t;return{container:(t=Ks.variants)==null?void 0:t.subtle(e)}}),solid:di(e=>{var t;return{container:(t=Ks.variants)==null?void 0:t.solid(e)}}),outline:di(e=>{var t;return{container:(t=Ks.variants)==null?void 0:t.outline(e)}})},SL=mL({variants:xL,baseStyle:bL,sizes:wL,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:Ar,defineMultiStyleConfig:kL}=je(Hj.keys),oa=Z("input-height"),ia=Z("input-font-size"),aa=Z("input-padding"),sa=Z("input-border-radius"),CL=Ar({addon:{height:oa.reference,fontSize:ia.reference,px:aa.reference,borderRadius:sa.reference},field:{width:"100%",height:oa.reference,fontSize:ia.reference,px:aa.reference,borderRadius:sa.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),eo={lg:{[ia.variable]:"fontSizes.lg",[aa.variable]:"space.4",[sa.variable]:"radii.md",[oa.variable]:"sizes.12"},md:{[ia.variable]:"fontSizes.md",[aa.variable]:"space.4",[sa.variable]:"radii.md",[oa.variable]:"sizes.10"},sm:{[ia.variable]:"fontSizes.sm",[aa.variable]:"space.3",[sa.variable]:"radii.sm",[oa.variable]:"sizes.8"},xs:{[ia.variable]:"fontSizes.xs",[aa.variable]:"space.2",[sa.variable]:"radii.sm",[oa.variable]:"sizes.6"}},EL={lg:Ar({field:eo.lg,group:eo.lg}),md:Ar({field:eo.md,group:eo.md}),sm:Ar({field:eo.sm,group:eo.sm}),xs:Ar({field:eo.xs,group:eo.xs})};function _v(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Q("blue.500","blue.300")(e),errorBorderColor:n||Q("red.500","red.300")(e)}}var PL=Ar(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=_v(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Q("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:zt(t,r),boxShadow:`0 0 0 1px ${zt(t,r)}`},_focusVisible:{zIndex:1,borderColor:zt(t,n),boxShadow:`0 0 0 1px ${zt(t,n)}`}},addon:{border:"1px solid",borderColor:Q("inherit","whiteAlpha.50")(e),bg:Q("gray.100","whiteAlpha.300")(e)}}}),TL=Ar(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=_v(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Q("gray.100","whiteAlpha.50")(e),_hover:{bg:Q("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:zt(t,r)},_focusVisible:{bg:"transparent",borderColor:zt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Q("gray.100","whiteAlpha.50")(e)}}}),AL=Ar(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=_v(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:zt(t,r),boxShadow:`0px 1px 0px 0px ${zt(t,r)}`},_focusVisible:{borderColor:zt(t,n),boxShadow:`0px 1px 0px 0px ${zt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),_L=Ar({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),RL={outline:PL,filled:TL,flushed:AL,unstyled:_L},ke=kL({baseStyle:CL,sizes:EL,variants:RL,defaultProps:{size:"md",variant:"outline"}}),aw,$L={...(aw=ke.baseStyle)==null?void 0:aw.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},sw,lw,OL={outline:e=>{var t,n;return(n=(t=ke.variants)==null?void 0:t.outline(e).field)!=null?n:{}},flushed:e=>{var t,n;return(n=(t=ke.variants)==null?void 0:t.flushed(e).field)!=null?n:{}},filled:e=>{var t,n;return(n=(t=ke.variants)==null?void 0:t.filled(e).field)!=null?n:{}},unstyled:(lw=(sw=ke.variants)==null?void 0:sw.unstyled.field)!=null?lw:{}},cw,uw,dw,fw,pw,hw,mw,gw,jL={xs:(uw=(cw=ke.sizes)==null?void 0:cw.xs.field)!=null?uw:{},sm:(fw=(dw=ke.sizes)==null?void 0:dw.sm.field)!=null?fw:{},md:(hw=(pw=ke.sizes)==null?void 0:pw.md.field)!=null?hw:{},lg:(gw=(mw=ke.sizes)==null?void 0:mw.lg.field)!=null?gw:{}},LL={baseStyle:$L,sizes:jL,variants:OL,defaultProps:{size:"md",variant:"outline"}},lu=ct("tooltip-bg"),$h=ct("tooltip-fg"),IL=ct("popper-arrow-bg"),zL={bg:lu.reference,color:$h.reference,[lu.variable]:"colors.gray.700",[$h.variable]:"colors.whiteAlpha.900",_dark:{[lu.variable]:"colors.gray.300",[$h.variable]:"colors.gray.900"},[IL.variable]:lu.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},ML={baseStyle:zL},{defineMultiStyleConfig:NL,definePartsStyle:Ls}=je(Xj.keys),FL=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=Q(Jb(),Jb("1rem","rgba(0,0,0,0.1)"))(e),a=Q(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( + to right, + transparent 0%, + ${zt(n,a)} 50%, + transparent 100% + )`;return{...!r&&o&&i,...r?{bgImage:s}:{bgColor:a}}},DL={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},BL=e=>({bg:Q("gray.100","whiteAlpha.300")(e)}),VL=e=>({transitionProperty:"common",transitionDuration:"slow",...FL(e)}),UL=Ls(e=>({label:DL,filledTrack:VL(e),track:BL(e)})),HL={xs:Ls({track:{h:"1"}}),sm:Ls({track:{h:"2"}}),md:Ls({track:{h:"3"}}),lg:Ls({track:{h:"4"}})},WL=NL({sizes:HL,baseStyle:UL,defaultProps:{size:"md",colorScheme:"blue"}}),qL=e=>typeof e=="function";function Nt(e,...t){return qL(e)?e(...t):e}var{definePartsStyle:Vu,defineMultiStyleConfig:GL}=je(Fj.keys),Xs=Z("checkbox-size"),YL=e=>{const{colorScheme:t}=e;return{w:Xs.reference,h:Xs.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Q(`${t}.500`,`${t}.200`)(e),borderColor:Q(`${t}.500`,`${t}.200`)(e),color:Q("white","gray.900")(e),_hover:{bg:Q(`${t}.600`,`${t}.300`)(e),borderColor:Q(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Q("gray.200","transparent")(e),bg:Q("gray.200","whiteAlpha.300")(e),color:Q("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Q(`${t}.500`,`${t}.200`)(e),borderColor:Q(`${t}.500`,`${t}.200`)(e),color:Q("white","gray.900")(e)},_disabled:{bg:Q("gray.100","whiteAlpha.100")(e),borderColor:Q("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Q("red.500","red.300")(e)}}},KL={_disabled:{cursor:"not-allowed"}},XL={userSelect:"none",_disabled:{opacity:.4}},QL={transitionProperty:"transform",transitionDuration:"normal"},ZL=Vu(e=>({icon:QL,container:KL,control:Nt(YL,e),label:XL})),JL={sm:Vu({control:{[Xs.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Vu({control:{[Xs.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Vu({control:{[Xs.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Id=GL({baseStyle:ZL,sizes:JL,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:eI,definePartsStyle:Uu}=je(Qj.keys),tI=e=>{var t;const n=(t=Nt(Id.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},nI=Uu(e=>{var t,n,r,o;return{label:(n=(t=Id).baseStyle)==null?void 0:n.call(t,e).label,container:(o=(r=Id).baseStyle)==null?void 0:o.call(r,e).container,control:tI(e)}}),rI={md:Uu({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Uu({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Uu({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},oI=eI({baseStyle:nI,sizes:rI,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:iI,definePartsStyle:aI}=je(Zj.keys),cu=Z("select-bg"),vw,sI={...(vw=ke.baseStyle)==null?void 0:vw.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:cu.reference,[cu.variable]:"colors.white",_dark:{[cu.variable]:"colors.gray.700"},"> option, > optgroup":{bg:cu.reference}},lI={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},cI=aI({field:sI,icon:lI}),uu={paddingInlineEnd:"8"},yw,bw,ww,xw,Sw,kw,Cw,Ew,uI={lg:{...(yw=ke.sizes)==null?void 0:yw.lg,field:{...(bw=ke.sizes)==null?void 0:bw.lg.field,...uu}},md:{...(ww=ke.sizes)==null?void 0:ww.md,field:{...(xw=ke.sizes)==null?void 0:xw.md.field,...uu}},sm:{...(Sw=ke.sizes)==null?void 0:Sw.sm,field:{...(kw=ke.sizes)==null?void 0:kw.sm.field,...uu}},xs:{...(Cw=ke.sizes)==null?void 0:Cw.xs,field:{...(Ew=ke.sizes)==null?void 0:Ew.xs.field,...uu},icon:{insetEnd:"1"}}},dI=iI({baseStyle:cI,sizes:uI,variants:ke.variants,defaultProps:ke.defaultProps}),Oh=Z("skeleton-start-color"),jh=Z("skeleton-end-color"),fI={[Oh.variable]:"colors.gray.100",[jh.variable]:"colors.gray.400",_dark:{[Oh.variable]:"colors.gray.800",[jh.variable]:"colors.gray.600"},background:Oh.reference,borderColor:jh.reference,opacity:.7,borderRadius:"sm"},pI={baseStyle:fI},Lh=Z("skip-link-bg"),hI={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Lh.variable]:"colors.white",_dark:{[Lh.variable]:"colors.gray.700"},bg:Lh.reference}},mI={baseStyle:hI},{defineMultiStyleConfig:gI,definePartsStyle:zf}=je(Jj.keys),jl=Z("slider-thumb-size"),Ll=Z("slider-track-size"),uo=Z("slider-bg"),vI=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Av({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},yI=e=>({...Av({orientation:e.orientation,horizontal:{h:Ll.reference},vertical:{w:Ll.reference}}),overflow:"hidden",borderRadius:"sm",[uo.variable]:"colors.gray.200",_dark:{[uo.variable]:"colors.whiteAlpha.200"},_disabled:{[uo.variable]:"colors.gray.300",_dark:{[uo.variable]:"colors.whiteAlpha.300"}},bg:uo.reference}),bI=e=>{const{orientation:t}=e;return{...Av({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:jl.reference,h:jl.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},wI=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[uo.variable]:`colors.${t}.500`,_dark:{[uo.variable]:`colors.${t}.200`},bg:uo.reference}},xI=zf(e=>({container:vI(e),track:yI(e),thumb:bI(e),filledTrack:wI(e)})),SI=zf({container:{[jl.variable]:"sizes.4",[Ll.variable]:"sizes.1"}}),kI=zf({container:{[jl.variable]:"sizes.3.5",[Ll.variable]:"sizes.1"}}),CI=zf({container:{[jl.variable]:"sizes.2.5",[Ll.variable]:"sizes.0.5"}}),EI={lg:SI,md:kI,sm:CI},PI=gI({baseStyle:xI,sizes:EI,defaultProps:{size:"md",colorScheme:"blue"}}),ei=ct("spinner-size"),TI={width:[ei.reference],height:[ei.reference]},AI={xs:{[ei.variable]:"sizes.3"},sm:{[ei.variable]:"sizes.4"},md:{[ei.variable]:"sizes.6"},lg:{[ei.variable]:"sizes.8"},xl:{[ei.variable]:"sizes.12"}},_I={baseStyle:TI,sizes:AI,defaultProps:{size:"md"}},{defineMultiStyleConfig:RI,definePartsStyle:FC}=je(e6.keys),$I={fontWeight:"medium"},OI={opacity:.8,marginBottom:"2"},jI={verticalAlign:"baseline",fontWeight:"semibold"},LI={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},II=FC({container:{},label:$I,helpText:OI,number:jI,icon:LI}),zI={md:FC({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},MI=RI({baseStyle:II,sizes:zI,defaultProps:{size:"md"}}),Ih=Z("kbd-bg"),NI={[Ih.variable]:"colors.gray.100",_dark:{[Ih.variable]:"colors.whiteAlpha.100"},bg:Ih.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},FI={baseStyle:NI},DI={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},BI={baseStyle:DI},{defineMultiStyleConfig:VI,definePartsStyle:UI}=je(Wj.keys),HI={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},WI=UI({icon:HI}),qI=VI({baseStyle:WI}),{defineMultiStyleConfig:GI,definePartsStyle:YI}=je(qj.keys),Zn=Z("menu-bg"),zh=Z("menu-shadow"),KI={[Zn.variable]:"#fff",[zh.variable]:"shadows.sm",_dark:{[Zn.variable]:"colors.gray.700",[zh.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Zn.reference,boxShadow:zh.reference},XI={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Zn.variable]:"colors.gray.100",_dark:{[Zn.variable]:"colors.whiteAlpha.100"}},_active:{[Zn.variable]:"colors.gray.200",_dark:{[Zn.variable]:"colors.whiteAlpha.200"}},_expanded:{[Zn.variable]:"colors.gray.100",_dark:{[Zn.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Zn.reference},QI={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ZI={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},JI={opacity:.6},ez={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},tz={transitionProperty:"common",transitionDuration:"normal"},nz=YI({button:tz,list:KI,item:XI,groupTitle:QI,icon:ZI,command:JI,divider:ez}),rz=GI({baseStyle:nz}),{defineMultiStyleConfig:oz,definePartsStyle:Ig}=je(Gj.keys),Mh=Z("modal-bg"),Nh=Z("modal-shadow"),iz={bg:"blackAlpha.600",zIndex:"modal"},az=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},sz=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:n==="inside"?"calc(100% - 7.5rem)":void 0,[Mh.variable]:"colors.white",[Nh.variable]:"shadows.lg",_dark:{[Mh.variable]:"colors.gray.700",[Nh.variable]:"shadows.dark-lg"},bg:Mh.reference,boxShadow:Nh.reference}},lz={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},cz={position:"absolute",top:"2",insetEnd:"3"},uz=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},dz={px:"6",py:"4"},fz=Ig(e=>({overlay:iz,dialogContainer:Nt(az,e),dialog:Nt(sz,e),header:lz,closeButton:cz,body:Nt(uz,e),footer:dz}));function jn(e){return Ig(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var pz={xs:jn("xs"),sm:jn("sm"),md:jn("md"),lg:jn("lg"),xl:jn("xl"),"2xl":jn("2xl"),"3xl":jn("3xl"),"4xl":jn("4xl"),"5xl":jn("5xl"),"6xl":jn("6xl"),full:jn("full")},hz=oz({baseStyle:fz,sizes:pz,defaultProps:{size:"md"}}),{defineMultiStyleConfig:mz,definePartsStyle:DC}=je(Yj.keys),Rv=ct("number-input-stepper-width"),BC=ct("number-input-input-padding"),gz=Er(Rv).add("0.5rem").toString(),Fh=ct("number-input-bg"),Dh=ct("number-input-color"),Bh=ct("number-input-border-color"),vz={[Rv.variable]:"sizes.6",[BC.variable]:gz},yz=e=>{var t,n;return(n=(t=Nt(ke.baseStyle,e))==null?void 0:t.field)!=null?n:{}},bz={width:Rv.reference},wz={borderStart:"1px solid",borderStartColor:Bh.reference,color:Dh.reference,bg:Fh.reference,[Dh.variable]:"colors.chakra-body-text",[Bh.variable]:"colors.chakra-border-color",_dark:{[Dh.variable]:"colors.whiteAlpha.800",[Bh.variable]:"colors.whiteAlpha.300"},_active:{[Fh.variable]:"colors.gray.200",_dark:{[Fh.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},xz=DC(e=>{var t;return{root:vz,field:(t=Nt(yz,e))!=null?t:{},stepperGroup:bz,stepper:wz}});function du(e){var t,n,r;const o=(t=ke.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(r=(n=o.field)==null?void 0:n.fontSize)!=null?r:"md",s=LC.fontSizes[a];return DC({field:{...o.field,paddingInlineEnd:BC.reference,verticalAlign:"top"},stepper:{fontSize:Er(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var Sz={xs:du("xs"),sm:du("sm"),md:du("md"),lg:du("lg")},kz=mz({baseStyle:xz,sizes:Sz,variants:ke.variants,defaultProps:ke.defaultProps}),Pw,Cz={...(Pw=ke.baseStyle)==null?void 0:Pw.field,textAlign:"center"},Ez={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},Tw,Aw,Pz={outline:e=>{var t,n,r;return(r=(n=Nt((t=ke.variants)==null?void 0:t.outline,e))==null?void 0:n.field)!=null?r:{}},flushed:e=>{var t,n,r;return(r=(n=Nt((t=ke.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)!=null?r:{}},filled:e=>{var t,n,r;return(r=(n=Nt((t=ke.variants)==null?void 0:t.filled,e))==null?void 0:n.field)!=null?r:{}},unstyled:(Aw=(Tw=ke.variants)==null?void 0:Tw.unstyled.field)!=null?Aw:{}},Tz={baseStyle:Cz,sizes:Ez,variants:Pz,defaultProps:ke.defaultProps},{defineMultiStyleConfig:Az,definePartsStyle:_z}=je(Kj.keys),fu=ct("popper-bg"),Rz=ct("popper-arrow-bg"),_w=ct("popper-arrow-shadow-color"),$z={zIndex:10},Oz={[fu.variable]:"colors.white",bg:fu.reference,[Rz.variable]:fu.reference,[_w.variable]:"colors.gray.200",_dark:{[fu.variable]:"colors.gray.700",[_w.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},jz={px:3,py:2,borderBottomWidth:"1px"},Lz={px:3,py:2},Iz={px:3,py:2,borderTopWidth:"1px"},zz={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Mz=_z({popper:$z,content:Oz,header:jz,body:Lz,footer:Iz,closeButton:zz}),Nz=Az({baseStyle:Mz}),{definePartsStyle:zg,defineMultiStyleConfig:Fz}=je(Dj.keys),Vh=Z("drawer-bg"),Uh=Z("drawer-box-shadow");function Ni(e){return zg(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var Dz={bg:"blackAlpha.600",zIndex:"modal"},Bz={display:"flex",zIndex:"modal",justifyContent:"center"},Vz=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Vh.variable]:"colors.white",[Uh.variable]:"shadows.lg",_dark:{[Vh.variable]:"colors.gray.700",[Uh.variable]:"shadows.dark-lg"},bg:Vh.reference,boxShadow:Uh.reference}},Uz={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Hz={position:"absolute",top:"2",insetEnd:"3"},Wz={px:"6",py:"2",flex:"1",overflow:"auto"},qz={px:"6",py:"4"},Gz=zg(e=>({overlay:Dz,dialogContainer:Bz,dialog:Nt(Vz,e),header:Uz,closeButton:Hz,body:Wz,footer:qz})),Yz={xs:Ni("xs"),sm:Ni("md"),md:Ni("lg"),lg:Ni("2xl"),xl:Ni("4xl"),full:Ni("full")},Kz=Fz({baseStyle:Gz,sizes:Yz,defaultProps:{size:"xs"}}),{definePartsStyle:Xz,defineMultiStyleConfig:Qz}=je(Bj.keys),Zz={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},Jz={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},eM={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},tM=Xz({preview:Zz,input:Jz,textarea:eM}),nM=Qz({baseStyle:tM}),{definePartsStyle:rM,defineMultiStyleConfig:oM}=je(Vj.keys),xa=Z("form-control-color"),iM={marginStart:"1",[xa.variable]:"colors.red.500",_dark:{[xa.variable]:"colors.red.300"},color:xa.reference},aM={mt:"2",[xa.variable]:"colors.gray.600",_dark:{[xa.variable]:"colors.whiteAlpha.600"},color:xa.reference,lineHeight:"normal",fontSize:"sm"},sM=rM({container:{width:"100%",position:"relative"},requiredIndicator:iM,helperText:aM}),lM=oM({baseStyle:sM}),{definePartsStyle:cM,defineMultiStyleConfig:uM}=je(Uj.keys),Sa=Z("form-error-color"),dM={[Sa.variable]:"colors.red.500",_dark:{[Sa.variable]:"colors.red.300"},color:Sa.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},fM={marginEnd:"0.5em",[Sa.variable]:"colors.red.500",_dark:{[Sa.variable]:"colors.red.300"},color:Sa.reference},pM=cM({text:dM,icon:fM}),hM=uM({baseStyle:pM}),mM={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},gM={baseStyle:mM},vM={fontFamily:"heading",fontWeight:"bold"},yM={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},bM={baseStyle:vM,sizes:yM,defaultProps:{size:"xl"}},{defineMultiStyleConfig:wM,definePartsStyle:xM}=je(Nj.keys),Hh=Z("breadcrumb-link-decor"),SM={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Hh.reference,[Hh.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Hh.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},kM=xM({link:SM}),CM=wM({baseStyle:kM}),EM={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},VC=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Q("gray.800","whiteAlpha.900")(e),_hover:{bg:Q("gray.100","whiteAlpha.200")(e)},_active:{bg:Q("gray.200","whiteAlpha.300")(e)}};const r=ja(`${t}.200`,.12)(n),o=ja(`${t}.200`,.24)(n);return{color:Q(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Q(`${t}.50`,r)(e)},_active:{bg:Q(`${t}.100`,o)(e)}}},PM=e=>{const{colorScheme:t}=e,n=Q("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Nt(VC,e)}},TM={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},AM=e=>{var t;const{colorScheme:n}=e;if(n==="gray"){const l=Q("gray.100","whiteAlpha.200")(e);return{bg:l,color:Q("gray.800","whiteAlpha.900")(e),_hover:{bg:Q("gray.200","whiteAlpha.300")(e),_disabled:{bg:l}},_active:{bg:Q("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:o="white",hoverBg:i=`${n}.600`,activeBg:a=`${n}.700`}=(t=TM[n])!=null?t:{},s=Q(r,`${n}.200`)(e);return{bg:s,color:Q(o,"gray.800")(e),_hover:{bg:Q(i,`${n}.300`)(e),_disabled:{bg:s}},_active:{bg:Q(a,`${n}.400`)(e)}}},_M=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Q(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Q(`${t}.700`,`${t}.500`)(e)}}},RM={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},$M={ghost:VC,outline:PM,solid:AM,link:_M,unstyled:RM},OM={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},jM={baseStyle:EM,variants:$M,sizes:OM,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:fi,defineMultiStyleConfig:LM}=je(i6.keys),zd=Z("card-bg"),$r=Z("card-padding"),UC=Z("card-shadow"),Hu=Z("card-radius"),HC=Z("card-border-width","0"),WC=Z("card-border-color"),IM=fi({container:{[zd.variable]:"colors.chakra-body-bg",backgroundColor:zd.reference,boxShadow:UC.reference,borderRadius:Hu.reference,color:"chakra-body-text",borderWidth:HC.reference,borderColor:WC.reference},body:{padding:$r.reference,flex:"1 1 0%"},header:{padding:$r.reference},footer:{padding:$r.reference}}),zM={sm:fi({container:{[Hu.variable]:"radii.base",[$r.variable]:"space.3"}}),md:fi({container:{[Hu.variable]:"radii.md",[$r.variable]:"space.5"}}),lg:fi({container:{[Hu.variable]:"radii.xl",[$r.variable]:"space.7"}})},MM={elevated:fi({container:{[UC.variable]:"shadows.base",_dark:{[zd.variable]:"colors.gray.700"}}}),outline:fi({container:{[HC.variable]:"1px",[WC.variable]:"colors.chakra-border-color"}}),filled:fi({container:{[zd.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[$r.variable]:0},header:{[$r.variable]:0},footer:{[$r.variable]:0}}},NM=LM({baseStyle:IM,variants:MM,sizes:zM,defaultProps:{variant:"elevated",size:"md"}}),Qs=ct("close-button-size"),ws=ct("close-button-bg"),FM={w:[Qs.reference],h:[Qs.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[ws.variable]:"colors.blackAlpha.100",_dark:{[ws.variable]:"colors.whiteAlpha.100"}},_active:{[ws.variable]:"colors.blackAlpha.200",_dark:{[ws.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:ws.reference},DM={lg:{[Qs.variable]:"sizes.10",fontSize:"md"},md:{[Qs.variable]:"sizes.8",fontSize:"xs"},sm:{[Qs.variable]:"sizes.6",fontSize:"2xs"}},BM={baseStyle:FM,sizes:DM,defaultProps:{size:"md"}},{variants:VM,defaultProps:UM}=Ks,HM={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Ze.bg.reference,color:Ze.color.reference,boxShadow:Ze.shadow.reference},WM={baseStyle:HM,variants:VM,defaultProps:UM},qM={w:"100%",mx:"auto",maxW:"prose",px:"4"},GM={baseStyle:qM},YM={opacity:.6,borderColor:"inherit"},KM={borderStyle:"solid"},XM={borderStyle:"dashed"},QM={solid:KM,dashed:XM},ZM={baseStyle:YM,variants:QM,defaultProps:{variant:"solid"}},{definePartsStyle:JM,defineMultiStyleConfig:eN}=je(Ij.keys),tN={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},nN={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},rN={pt:"2",px:"4",pb:"5"},oN={fontSize:"1.25em"},iN=JM({container:tN,button:nN,panel:rN,icon:oN}),aN=eN({baseStyle:iN}),{definePartsStyle:Jl,defineMultiStyleConfig:sN}=je(zj.keys),on=Z("alert-fg"),Vr=Z("alert-bg"),lN=Jl({container:{bg:Vr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:on.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:on.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function $v(e){const{theme:t,colorScheme:n}=e,r=ja(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var cN=Jl(e=>{const{colorScheme:t}=e,n=$v(e);return{container:{[on.variable]:`colors.${t}.500`,[Vr.variable]:n.light,_dark:{[on.variable]:`colors.${t}.200`,[Vr.variable]:n.dark}}}}),uN=Jl(e=>{const{colorScheme:t}=e,n=$v(e);return{container:{[on.variable]:`colors.${t}.500`,[Vr.variable]:n.light,_dark:{[on.variable]:`colors.${t}.200`,[Vr.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:on.reference}}}),dN=Jl(e=>{const{colorScheme:t}=e,n=$v(e);return{container:{[on.variable]:`colors.${t}.500`,[Vr.variable]:n.light,_dark:{[on.variable]:`colors.${t}.200`,[Vr.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:on.reference}}}),fN=Jl(e=>{const{colorScheme:t}=e;return{container:{[on.variable]:"colors.white",[Vr.variable]:`colors.${t}.500`,_dark:{[on.variable]:"colors.gray.900",[Vr.variable]:`colors.${t}.200`},color:on.reference}}}),pN={subtle:cN,"left-accent":uN,"top-accent":dN,solid:fN},hN=sN({baseStyle:lN,variants:pN,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:qC,defineMultiStyleConfig:mN}=je(Mj.keys),ka=Z("avatar-border-color"),Zs=Z("avatar-bg"),Il=Z("avatar-font-size"),La=Z("avatar-size"),gN={borderRadius:"full",border:"0.2em solid",borderColor:ka.reference,[ka.variable]:"white",_dark:{[ka.variable]:"colors.gray.800"}},vN={bg:Zs.reference,fontSize:Il.reference,width:La.reference,height:La.reference,lineHeight:"1",[Zs.variable]:"colors.gray.200",_dark:{[Zs.variable]:"colors.whiteAlpha.400"}},yN=e=>{const{name:t,theme:n}=e,r=t?E6({string:t}):"colors.gray.400",o=k6(r)(n);let i="white";return o||(i="gray.800"),{bg:Zs.reference,fontSize:Il.reference,color:i,borderColor:ka.reference,verticalAlign:"top",width:La.reference,height:La.reference,"&:not([data-loaded])":{[Zs.variable]:r},[ka.variable]:"colors.white",_dark:{[ka.variable]:"colors.gray.800"}}},bN={fontSize:Il.reference,lineHeight:"1"},wN=qC(e=>({badge:Nt(gN,e),excessLabel:Nt(vN,e),container:Nt(yN,e),label:bN}));function to(e){const t=e!=="100%"?zC[e]:void 0;return qC({container:{[La.variable]:t??e,[Il.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[La.variable]:t??e,[Il.variable]:`calc(${t??e} / 2.5)`}})}var xN={"2xs":to(4),xs:to(6),sm:to(8),md:to(12),lg:to(16),xl:to(24),"2xl":to(32),full:to("100%")},SN=mN({baseStyle:wN,sizes:xN,defaultProps:{size:"md"}}),kN={Accordion:aN,Alert:hN,Avatar:SN,Badge:Ks,Breadcrumb:CM,Button:jM,Checkbox:Id,CloseButton:BM,Code:WM,Container:GM,Divider:ZM,Drawer:Kz,Editable:nM,Form:lM,FormError:hM,FormLabel:gM,Heading:bM,Input:ke,Kbd:FI,Link:BI,List:qI,Menu:rz,Modal:hz,NumberInput:kz,PinInput:Tz,Popover:Nz,Progress:WL,Radio:oI,Select:dI,Skeleton:pI,SkipLink:mI,Slider:PI,Spinner:_I,Stat:MI,Switch:B6,Table:Y6,Tabs:cL,Tag:SL,Textarea:LL,Tooltip:ML,Card:NM,Stepper:Lj},CN={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},EN={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},PN="ltr",TN={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},AN={semanticTokens:CN,direction:PN,...$j,components:kN,styles:EN,config:TN};function _N(e,t){const n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}function RN(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}},GC=$N(RN);function YC(e,t){const n={};return Object.keys(e).forEach(r=>{const o=e[r];t(o,r,e)&&(n[r]=o)}),n}var KC=e=>YC(e,t=>t!=null);function ON(e){return typeof e=="function"}function XC(e,...t){return ON(e)?e(...t):e}var jN=typeof Element<"u",LN=typeof Map=="function",IN=typeof Set=="function",zN=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Wu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Wu(e[r],t[r]))return!1;return!0}var i;if(LN&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Wu(r.value[1],t.get(r.value[0])))return!1;return!0}if(IN&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(zN&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(jN&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Wu(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var MN=function(t,n){try{return Wu(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const NN=Dl(MN);function QC(e,t={}){var n;const{styleConfig:r,...o}=t,{theme:i,colorMode:a}=W$(),s=e?GC(i,`components.${e}`):void 0,l=r||s,c=or({theme:i,colorMode:a},(n=l==null?void 0:l.defaultProps)!=null?n:{},KC(_N(o,["children"]))),d=k.useRef({});if(l){const h=sj(l)(c);NN(d.current,h)||(d.current=h)}return d.current}function Ov(e,t={}){return QC(e,t)}function FN(e,t={}){return QC(e,t)}var DN=new Set([...KO,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),BN=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function VN(e){return BN.has(e)||!DN.has(e)}function UN(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&(o in n&&delete n[o],n[o]=r[o]);return n}var HN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,WN=hC(function(e){return HN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),qN=WN,GN=function(t){return t!=="theme"},Rw=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?qN:GN},$w=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},YN=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return wC(n,r,o),L$(function(){return xC(n,r,o)}),null},KN=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=$w(t,n,r),l=s||Rw(o),c=!l("as");return function(){var d=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{p.push(d[0][0]);for(var h=d.length,y=1;yt=>{const{theme:n,css:r,__css:o,sx:i,...a}=t,s=YC(a,(p,h)=>QO(h)),l=XC(e,t),c=UN({},o,l,KC(s),i),d=jC(c)(t.theme);return r?[d,r]:d};function Wh(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=VN);const o=ZN({baseStyle:n}),i=QN(e,r)(o);return Be.forwardRef(function(l,c){const{colorMode:d,forced:p}=Sv();return Be.createElement(i,{ref:c,"data-theme":p?d:void 0,...l})})}function JN(){const e=new Map;return new Proxy(Wh,{apply(t,n,r){return Wh(...r)},get(t,n){return e.has(n)||e.set(n,Wh(n)),e.get(n)}})}var Un=JN();function Ci(e){return k.forwardRef(e)}function eF(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=k.createContext(void 0);o.displayName=r;function i(){var a;const s=k.useContext(o);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return[o.Provider,i,o]}function tF(e){const{cssVarsRoot:t,theme:n,children:r}=e,o=k.useMemo(()=>YO(n),[n]);return x.jsxs(M$,{theme:o,children:[x.jsx(nF,{root:t}),r]})}function nF({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return x.jsx(Of,{styles:n=>({[t]:n.__cssVars})})}eF({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function rF(){const{colorMode:e}=Sv();return x.jsx(Of,{styles:t=>{const n=GC(t,"styles.global"),r=XC(n,{theme:t,colorMode:e});return r?jC(r)(t):void 0}})}var jw={path:x.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[x.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),x.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),x.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Ga=Ci((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...c}=e,d=qa("chakra-icon",s),p=Ov("Icon",e),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...p},y={ref:t,focusable:i,className:d,__css:h},b=r??jw.viewBox;if(n&&typeof n!="string")return x.jsx(Un.svg,{as:n,...y,...c});const m=a??jw.path;return x.jsx(Un.svg,{verticalAlign:"middle",viewBox:b,...y,...c,children:m})});Ga.displayName="Icon";function oF(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:o={}}=e,i=k.Children.toArray(e.path),a=Ci((s,l)=>x.jsx(Ga,{ref:l,viewBox:t,...o,...s,children:i.length?i:x.jsx("path",{fill:"currentColor",d:n})}));return a.displayName=r,a}var iF=oF({displayName:"ArrowRightIcon",path:x.jsxs("g",{fill:"currentColor",children:[x.jsx("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),x.jsx("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"})]})});function aF(){const e=[{step:1,img:"./images/Step_1.svg",text1:"Book an Appointment on",text2:"Co-WIN or Walk into any Vaccination Center",text3:"How to Book Your",text4:"Appointment on Co-WIN?",arrow:!0},{step:2,img:"./images/Step_2.svg",text1:"Get Your Vaccination Safely ",text2:"at the Time of Your Appointment",text3:"Dos And Dont's For Getting ",text4:" Vaccinated",arrow:!0},{step:2,img:"./images/Step_2.svg",text1:"Download Your Vaccination Certificate",text2:"from Co-WIN and Wait for Dose #2",text3:"Download Your Vaccination ",text4:"Certificate",arrow:!1}];return x.jsxs("div",{className:"w-full flex items-center flex-col",children:[x.jsx("h2",{className:"font-bold text-mainColor py-7",style:{fontSize:"30px"},children:"Get Vaccinated in 3 Easy Steps"}),x.jsx("div",{className:"flex justify-around w-3/4 gap-7 py-10",children:e.map((t,n)=>x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"shadow-custom w-1/4",children:[x.jsxs("div",{className:"px-5 py-1 border-mainColor border-2 w-fit rounded-lg mx-auto text-mainColor font-semibold relative bottom-4 bg-[#FFFFFF]",children:["Step ",n+1]}),x.jsx("div",{className:"flex justify-center items-center",children:x.jsx("img",{src:t.img,alt:"step 1"})}),x.jsx("div",{className:"bg-mainColor px-5 py-7 text-[#ffffffdd] text-center",children:x.jsxs("p",{children:[t.text1,x.jsx("br",{}),t.text2]})}),x.jsx("div",{className:"text-center px-5 py-7",children:x.jsxs("p",{children:[t.text3,x.jsx("br",{}),t.text4]})})]}),x.jsx("div",{className:"flex items-center",children:t.arrow&&x.jsx(iF,{boxSize:10,color:"#ed0331ff"})})]}))})]})}function sF(e){return x.jsx("div",{className:"w-full bg-[#ff003214] py-10",children:x.jsxs("div",{className:"w-3/4 flex justify-around mx-auto items-center",children:[x.jsx("div",{className:"my-12 mx-12 w-1/3",children:x.jsx("img",{src:e.para.image,alt:""})}),x.jsxs("div",{children:[x.jsx("h2",{style:{fontSize:"30px"},className:"font-bold text-mainColor py-5",children:e.para.title}),x.jsx("p",{children:e.para.para}),x.jsx("p",{children:e.para.para2}),x.jsx("button",{className:"bg-mainColor rounded-full px-10 py-4 font-semibold text-[#FFFFFFdd] my-5",children:e.para.buttonText})]})]})})}function lF(e){return x.jsx("div",{className:"w-full",children:x.jsxs("div",{className:"w-3/4 flex justify-around mx-auto items-center flex-row-reverse",children:[x.jsx("div",{className:"my-12 mx-12 py-10 w-1/3",children:x.jsx("img",{src:e.para.image,alt:""})}),x.jsxs("div",{children:[x.jsx("h2",{style:{fontSize:"30px"},className:"font-bold text-mainColor py-5",children:e.para.title}),x.jsx("p",{children:e.para.para}),x.jsx("p",{children:e.para.para2}),x.jsx("button",{className:"bg-mainColor rounded-full px-10 py-4 font-semibold text-[#FFFFFFdd] my-5",children:e.para.buttonText})]})]})})}function cF(){const e=[{image:"./images/free_covid_precaution_dose.svg",title:"Free COVID Precaution Dose",para:"Now Precaution dose for 18-59 age group free at ",para2:"Government Vaccination Center.",buttonText:"Book your Slot"},{image:"./images/reports-aefi.svg",title:"Report Side Effect",para:"If you have experienced any side effect after COVID-19 vaccination, it can be ",para2:"reported on Co-WIN using your registered mobile number.",buttonText:"Report Now "},{image:"./images/Children_Vaccination.svg",title:"Children Vaccination",para:"Covovax vaccine is now available for Children of the age group 12+ yrs in Private Vaccination Center.",para2:"The time span between first and second dose of Covovax is 21 days.",buttonText:"Book your slot "},{image:"./images/Date_Correction.svg",title:"Vaccination Date Correction",para:"If the date printed on your vaccination certificate differs from the actual date of vaccine administration, you may raise a ",para2:"request for correction of the same by submitting a valid proof of correct vaccination date.",buttonText:"Update Date"},{image:"./images/Precaution_dose.svg",title:"Precaution Dose",para:"All fully vaccinated adult citizens (18+ and have taken 2 doses) are eligible for precaution dose from 10/04/2022. ",para2:"Eligible citizens can avail precaution dose at any Government or Private Vaccination Center.",buttonText:"Book Your Slot"},{image:"./images/share_illustration.svg",title:"Share Your Vaccination Status",para:"Be a Fighter! If you are fully or partially vaccinated, you can now share your vaccination status in your social circle. ",para2:" Let's encourage our friends and followers in joining India's battle against COVID-19.",buttonText:"Share Your Status"}];return x.jsx("div",{children:e.map((t,n)=>n%2==0?x.jsx(lF,{para:t},n):x.jsx(sF,{para:t},n))})}function uF(){return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"grid grid-cols-2 align-middle place-content-center w-full",children:[x.jsx("div",{className:"quote pl-28 ml-28 flex my-auto",children:x.jsxs("div",{className:"h-fit",children:[x.jsx("div",{children:x.jsxs("h3",{className:"font-sans font-bold text-5xl my-10",style:{lineHeight:"4rem"},children:["Historic & Unparalleled Achievement !",x.jsx("br",{}),"India’s Glorious Journey of"]})}),x.jsxs("div",{className:"border-red-500 border-2 flex rounded-md uppercase w-fit font-bold text-red-500 my-8 py-4 px-8 text-5xl",children:[x.jsx(nr,{icon:MR,className:"text-blue-500 my-auto text-4xl"}),"  200 CRORE VACCINATIONS"]}),x.jsxs("div",{className:"my-8",children:[x.jsx("p",{className:"font-semibold",children:'"India is set to defeat Covid-19. Every Indian is making it possible."'}),x.jsx("p",{className:"font-normal",children:"- PM Narendra Modi"})]})]})}),x.jsx("div",{className:"photo flex align-middle w-2/3 justify-center mx-auto my-8 ",children:x.jsx("img",{src:"./images/independance.svg",alt:"Independence"})})]}),x.jsx("div",{children:x.jsx(aF,{})}),x.jsx(cF,{})]})}function ZC(e,t){return function(){return e.apply(t,arguments)}}const{toString:dF}=Object.prototype,{getPrototypeOf:jv}=Object,Mf=(e=>t=>{const n=dF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fr=e=>(e=e.toLowerCase(),t=>Mf(t)===e),Nf=e=>t=>typeof t===e,{isArray:Ya}=Array,zl=Nf("undefined");function fF(e){return e!==null&&!zl(e)&&e.constructor!==null&&!zl(e.constructor)&&En(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const JC=fr("ArrayBuffer");function pF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&JC(e.buffer),t}const hF=Nf("string"),En=Nf("function"),e5=Nf("number"),Ff=e=>e!==null&&typeof e=="object",mF=e=>e===!0||e===!1,qu=e=>{if(Mf(e)!=="object")return!1;const t=jv(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gF=fr("Date"),vF=fr("File"),yF=fr("Blob"),bF=fr("FileList"),wF=e=>Ff(e)&&En(e.pipe),xF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||En(e.append)&&((t=Mf(e))==="formdata"||t==="object"&&En(e.toString)&&e.toString()==="[object FormData]"))},SF=fr("URLSearchParams"),kF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ec(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ya(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const n5=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),r5=e=>!zl(e)&&e!==n5;function Mg(){const{caseless:e}=r5(this)&&this||{},t={},n=(r,o)=>{const i=e&&t5(t,o)||o;qu(t[i])&&qu(r)?t[i]=Mg(t[i],r):qu(r)?t[i]=Mg({},r):Ya(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(ec(t,(o,i)=>{n&&En(o)?e[i]=ZC(o,n):e[i]=o},{allOwnKeys:r}),e),EF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),PF=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},TF=(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&jv(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},AF=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},_F=e=>{if(!e)return null;if(Ya(e))return e;let t=e.length;if(!e5(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},RF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&jv(Uint8Array)),$F=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},OF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},jF=fr("HTMLFormElement"),LF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Lw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),IF=fr("RegExp"),o5=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ec(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},zF=e=>{o5(e,(t,n)=>{if(En(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(En(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},MF=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ya(e)?r(e):r(String(e).split(t)),n},NF=()=>{},FF=(e,t)=>(e=+e,Number.isFinite(e)?e:t),qh="abcdefghijklmnopqrstuvwxyz",Iw="0123456789",i5={DIGIT:Iw,ALPHA:qh,ALPHA_DIGIT:qh+qh.toUpperCase()+Iw},DF=(e=16,t=i5.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function BF(e){return!!(e&&En(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const VF=e=>{const t=new Array(10),n=(r,o)=>{if(Ff(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Ya(r)?[]:{};return ec(r,(a,s)=>{const l=n(a,o+1);!zl(l)&&(i[s]=l)}),t[o]=void 0,i}}return r};return n(e,0)},UF=fr("AsyncFunction"),HF=e=>e&&(Ff(e)||En(e))&&En(e.then)&&En(e.catch),z={isArray:Ya,isArrayBuffer:JC,isBuffer:fF,isFormData:xF,isArrayBufferView:pF,isString:hF,isNumber:e5,isBoolean:mF,isObject:Ff,isPlainObject:qu,isUndefined:zl,isDate:gF,isFile:vF,isBlob:yF,isRegExp:IF,isFunction:En,isStream:wF,isURLSearchParams:SF,isTypedArray:RF,isFileList:bF,forEach:ec,merge:Mg,extend:CF,trim:kF,stripBOM:EF,inherits:PF,toFlatObject:TF,kindOf:Mf,kindOfTest:fr,endsWith:AF,toArray:_F,forEachEntry:$F,matchAll:OF,isHTMLForm:jF,hasOwnProperty:Lw,hasOwnProp:Lw,reduceDescriptors:o5,freezeMethods:zF,toObjectSet:MF,toCamelCase:LF,noop:NF,toFiniteNumber:FF,findKey:t5,global:n5,isContextDefined:r5,ALPHABET:i5,generateString:DF,isSpecCompliantForm:BF,toJSONObject:VF,isAsyncFn:UF,isThenable:HF};function pe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}z.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const a5=pe.prototype,s5={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{s5[e]={value:e}});Object.defineProperties(pe,s5);Object.defineProperty(a5,"isAxiosError",{value:!0});pe.from=(e,t,n,r,o,i)=>{const a=Object.create(a5);return z.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),pe.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const WF=null;function Ng(e){return z.isPlainObject(e)||z.isArray(e)}function l5(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function zw(e,t,n){return e?e.concat(t).map(function(o,i){return o=l5(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function qF(e){return z.isArray(e)&&!e.some(Ng)}const GF=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Df(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,E){return!z.isUndefined(E[m])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(z.isDate(b))return b.toISOString();if(!l&&z.isBlob(b))throw new pe("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(b)||z.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,m,E){let w=b;if(b&&!E&&typeof b=="object"){if(z.endsWith(m,"{}"))m=r?m:m.slice(0,-2),b=JSON.stringify(b);else if(z.isArray(b)&&qF(b)||(z.isFileList(b)||z.endsWith(m,"[]"))&&(w=z.toArray(b)))return m=l5(m),w.forEach(function(S,T){!(z.isUndefined(S)||S===null)&&t.append(a===!0?zw([m],T,i):a===null?m:m+"[]",c(S))}),!1}return Ng(b)?!0:(t.append(zw(E,m,i),c(b)),!1)}const p=[],h=Object.assign(GF,{defaultVisitor:d,convertValue:c,isVisitable:Ng});function y(b,m){if(!z.isUndefined(b)){if(p.indexOf(b)!==-1)throw Error("Circular reference detected in "+m.join("."));p.push(b),z.forEach(b,function(w,v){(!(z.isUndefined(w)||w===null)&&o.call(t,w,z.isString(v)?v.trim():v,m,h))===!0&&y(w,m?m.concat(v):[v])}),p.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Mw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lv(e,t){this._pairs=[],e&&Df(e,this,t)}const c5=Lv.prototype;c5.append=function(t,n){this._pairs.push([t,n])};c5.toString=function(t){const n=t?function(r){return t.call(this,r,Mw)}:Mw;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function YF(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function u5(e,t,n){if(!t)return e;const r=n&&n.encode||YF,o=n&&n.serialize;let i;if(o?i=o(t,n):i=z.isURLSearchParams(t)?t.toString():new Lv(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class KF{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Nw=KF,d5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XF=typeof URLSearchParams<"u"?URLSearchParams:Lv,QF=typeof FormData<"u"?FormData:null,ZF=typeof Blob<"u"?Blob:null,JF=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),eD=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Fn={isBrowser:!0,classes:{URLSearchParams:XF,FormData:QF,Blob:ZF},isStandardBrowserEnv:JF,isStandardBrowserWebWorkerEnv:eD,protocols:["http","https","file","blob","url","data"]};function tD(e,t){return Df(e,new Fn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Fn.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function nD(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rD(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return a=!a&&z.isArray(o)?o.length:a,l?(z.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!z.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&z.isArray(o[a])&&(o[a]=rD(o[a])),!s)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(r,o)=>{t(nD(r),o,n,0)}),n}return null}function oD(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Iv={transitional:d5,adapter:Fn.isNode?"http":"xhr",transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=z.isObject(t);if(i&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return o&&o?JSON.stringify(f5(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tD(t,this.formSerializer).toString();if((s=z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Df(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),oD(t)):t}],transformResponse:[function(t){const n=this.transitional||Iv.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&z.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?pe.from(s,pe.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fn.classes.FormData,Blob:Fn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{Iv.headers[e]={}});const zv=Iv,iD=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aD=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&iD[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Fw=Symbol("internals");function xs(e){return e&&String(e).trim().toLowerCase()}function Gu(e){return e===!1||e==null?e:z.isArray(e)?e.map(Gu):String(e)}function sD(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const lD=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gh(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function cD(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function uD(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class Bf{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const d=xs(l);if(!d)throw new Error("header name must be a non-empty string");const p=z.findKey(o,d);(!p||o[p]===void 0||c===!0||c===void 0&&o[p]!==!1)&&(o[p||l]=Gu(s))}const a=(s,l)=>z.forEach(s,(c,d)=>i(c,d,l));return z.isPlainObject(t)||t instanceof this.constructor?a(t,n):z.isString(t)&&(t=t.trim())&&!lD(t)?a(aD(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=xs(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return sD(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xs(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Gh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=xs(a),a){const s=z.findKey(r,a);s&&(!n||Gh(r,r[s],s,n))&&(delete r[s],o=!0)}}return z.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Gh(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,i)=>{const a=z.findKey(r,i);if(a){n[a]=Gu(o),delete n[i];return}const s=t?cD(i):String(i).trim();s!==i&&delete n[i],n[s]=Gu(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Fw]=this[Fw]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=xs(a);r[s]||(uD(o,a),r[s]=!0)}return z.isArray(t)?t.forEach(i):i(t),this}}Bf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Bf.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Bf);const Or=Bf;function Yh(e,t){const n=this||zv,r=t||n,o=Or.from(r.headers);let i=r.data;return z.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function p5(e){return!!(e&&e.__CANCEL__)}function tc(e,t,n){pe.call(this,e??"canceled",pe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(tc,pe,{__CANCEL__:!0});function dD(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new pe("Request failed with status code "+n.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const fD=Fn.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,a,s){const l=[];l.push(n+"="+encodeURIComponent(r)),z.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),z.isString(i)&&l.push("path="+i),z.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function pD(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hD(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function h5(e,t){return e&&!pD(t)?hD(e,t):t}const mD=Fn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=z.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function gD(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vD(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[i];a||(a=c),n[o]=l,r[o]=c;let p=i,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s),c=i<=a;n=i;const d={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const yD=typeof XMLHttpRequest<"u",bD=yD&&function(e){return new Promise(function(n,r){let o=e.data;const i=Or.from(e.headers).normalize(),a=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}z.isFormData(o)&&(Fn.isStandardBrowserEnv||Fn.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(y+":"+b))}const d=h5(e.baseURL,e.url);c.open(e.method.toUpperCase(),u5(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function p(){if(!c)return;const y=Or.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:y,config:e,request:c};dD(function(w){n(w),l()},function(w){r(w),l()},m),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},c.onabort=function(){c&&(r(new pe("Request aborted",pe.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new pe("Network Error",pe.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||d5;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new pe(b,m.clarifyTimeoutError?pe.ETIMEDOUT:pe.ECONNABORTED,e,c)),c=null},Fn.isStandardBrowserEnv){const y=(e.withCredentials||mD(d))&&e.xsrfCookieName&&fD.read(e.xsrfCookieName);y&&i.set(e.xsrfHeaderName,y)}o===void 0&&i.setContentType(null),"setRequestHeader"in c&&z.forEach(i.toJSON(),function(b,m){c.setRequestHeader(m,b)}),z.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Dw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Dw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=y=>{c&&(r(!y||y.type?new tc(null,e,c):y),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const h=gD(d);if(h&&Fn.protocols.indexOf(h)===-1){r(new pe("Unsupported protocol "+h+":",pe.ERR_BAD_REQUEST,e));return}c.send(o||null)})},Yu={http:WF,xhr:bD};z.forEach(Yu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const m5={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof Or?e.toJSON():e;function Ia(e,t){t=t||{};const n={};function r(c,d,p){return z.isPlainObject(c)&&z.isPlainObject(d)?z.merge.call({caseless:p},c,d):z.isPlainObject(d)?z.merge({},d):z.isArray(d)?d.slice():d}function o(c,d,p){if(z.isUndefined(d)){if(!z.isUndefined(c))return r(void 0,c,p)}else return r(c,d,p)}function i(c,d){if(!z.isUndefined(d))return r(void 0,d)}function a(c,d){if(z.isUndefined(d)){if(!z.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function s(c,d,p){if(p in t)return r(c,d);if(p in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,d)=>o(Vw(c),Vw(d),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=l[d]||o,h=p(e[d],t[d],d);z.isUndefined(h)&&p!==s||(n[d]=h)}),n}const g5="1.5.0",Mv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Uw={};Mv.transitional=function(t,n,r){function o(i,a){return"[Axios v"+g5+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new pe(o(a," has been removed"+(n?" in "+n:"")),pe.ERR_DEPRECATED);return n&&!Uw[a]&&(Uw[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function wD(e,t,n){if(typeof e!="object")throw new pe("options must be an object",pe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new pe("option "+i+" must be "+l,pe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new pe("Unknown option "+i,pe.ERR_BAD_OPTION)}}const Fg={assertOptions:wD,validators:Mv},no=Fg.validators;class Nd{constructor(t){this.defaults=t,this.interceptors={request:new Nw,response:new Nw}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ia(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Fg.assertOptions(r,{silentJSONParsing:no.transitional(no.boolean),forcedJSONParsing:no.transitional(no.boolean),clarifyTimeoutError:no.transitional(no.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:Fg.assertOptions(o,{encode:no.function,serialize:no.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&z.merge(i.common,i[n.method]);i&&z.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),n.headers=Or.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,p=0,h;if(!l){const b=[Bw.bind(this),void 0];for(b.unshift.apply(b,s),b.push.apply(b,c),h=b.length,d=Promise.resolve(n);p{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new tc(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Nv(function(o){t=o}),cancel:t}}}const xD=Nv;function SD(e){return function(n){return e.apply(null,n)}}function kD(e){return z.isObject(e)&&e.isAxiosError===!0}const Dg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Dg).forEach(([e,t])=>{Dg[t]=e});const CD=Dg;function v5(e){const t=new Ku(e),n=ZC(Ku.prototype.request,t);return z.extend(n,Ku.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return v5(Ia(e,o))},n}const ot=v5(zv);ot.Axios=Ku;ot.CanceledError=tc;ot.CancelToken=xD;ot.isCancel=p5;ot.VERSION=g5;ot.toFormData=Df;ot.AxiosError=pe;ot.Cancel=ot.CanceledError;ot.all=function(t){return Promise.all(t)};ot.spread=SD;ot.isAxiosError=kD;ot.mergeConfig=Ia;ot.AxiosHeaders=Or;ot.formToJSON=e=>f5(z.isHTMLForm(e)?new FormData(e):e);ot.getAdapter=m5.getAdapter;ot.HttpStatusCode=CD;ot.default=ot;const Bg=ot;var y5={exports:{}};/*! +* sweetalert2 v11.7.29 +* Released under the MIT License. +*/(function(e,t){(function(n,r){e.exports=r()})(wn,function(){function n(u,f){var g=o(u,f,"get");return i(u,g)}function r(u,f,g){var P=o(u,f,"set");return a(u,P,g),g}function o(u,f,g){if(!f.has(u))throw new TypeError("attempted to "+g+" private field on non-instance");return f.get(u)}function i(u,f){return f.get?f.get.call(u):f.value}function a(u,f,g){if(f.set)f.set.call(u,g);else{if(!f.writable)throw new TypeError("attempted to set read only private field");f.value=g}}function s(u,f){if(f.has(u))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(u,f,g){s(u,f),f.set(u,g)}const c=100,d={},p=()=>{d.previousActiveElement instanceof HTMLElement?(d.previousActiveElement.focus(),d.previousActiveElement=null):document.body&&document.body.focus()},h=u=>new Promise(f=>{if(!u)return f();const g=window.scrollX,P=window.scrollY;d.restoreFocusTimeout=setTimeout(()=>{p(),f()},c),window.scrollTo(g,P)}),y="swal2-",m=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce((u,f)=>(u[f]=y+f,u),{}),w=["success","warning","info","question","error"].reduce((u,f)=>(u[f]=y+f,u),{}),v="SweetAlert2:",S=u=>u.charAt(0).toUpperCase()+u.slice(1),T=u=>{console.warn("".concat(v," ").concat(typeof u=="object"?u.join(" "):u))},R=u=>{console.error("".concat(v," ").concat(u))},j=[],O=u=>{j.includes(u)||(j.push(u),T(u))},I=(u,f)=>{O('"'.concat(u,'" is deprecated and will be removed in the next major release. Please use "').concat(f,'" instead.'))},F=u=>typeof u=="function"?u():u,V=u=>u&&typeof u.toPromise=="function",ie=u=>V(u)?u.toPromise():Promise.resolve(u),Pe=u=>u&&Promise.resolve(u)===u,re=()=>document.body.querySelector(".".concat(m.container)),fe=u=>{const f=re();return f?f.querySelector(u):null},te=u=>fe(".".concat(u)),D=()=>te(m.popup),me=()=>te(m.icon),N=()=>te(m["icon-content"]),X=()=>te(m.title),K=()=>te(m["html-container"]),q=()=>te(m.image),ae=()=>te(m["progress-steps"]),J=()=>te(m["validation-message"]),Y=()=>fe(".".concat(m.actions," .").concat(m.confirm)),oe=()=>fe(".".concat(m.actions," .").concat(m.cancel)),ne=()=>fe(".".concat(m.actions," .").concat(m.deny)),gt=()=>te(m["input-label"]),vt=()=>fe(".".concat(m.loader)),pn=()=>te(m.actions),An=()=>te(m.footer),$t=()=>te(m["timer-progress-bar"]),pr=()=>te(m.close),Ai=` + a[href], + area[href], + input:not([disabled]), + select:not([disabled]), + textarea:not([disabled]), + button:not([disabled]), + iframe, + object, + embed, + [tabindex="0"], + [contenteditable], + audio[controls], + video[controls], + summary +`,Ka=()=>{const u=D();if(!u)return[];const f=u.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),g=Array.from(f).sort((G,be)=>{const Le=parseInt(G.getAttribute("tabindex")||"0"),Ve=parseInt(be.getAttribute("tabindex")||"0");return Le>Ve?1:LeG.getAttribute("tabindex")!=="-1");return[...new Set(g.concat(L))].filter(G=>Et(G))},Xa=()=>_n(document.body,m.shown)&&!_n(document.body,m["toast-shown"])&&!_n(document.body,m["no-backdrop"]),_i=()=>{const u=D();return u?_n(u,m.toast):!1},ep=()=>{const u=D();return u?u.hasAttribute("data-loading"):!1},Ot=(u,f)=>{if(u.textContent="",f){const P=new DOMParser().parseFromString(f,"text/html"),L=P.querySelector("head");L&&Array.from(L.childNodes).forEach(be=>{u.appendChild(be)});const G=P.querySelector("body");G&&Array.from(G.childNodes).forEach(be=>{be instanceof HTMLVideoElement||be instanceof HTMLAudioElement?u.appendChild(be.cloneNode(!0)):u.appendChild(be)})}},_n=(u,f)=>{if(!f)return!1;const g=f.split(/\s+/);for(let P=0;P{Array.from(u.classList).forEach(g=>{!Object.values(m).includes(g)&&!Object.values(w).includes(g)&&!Object.values(f.showClass||{}).includes(g)&&u.classList.remove(g)})},Ct=(u,f,g)=>{if(Ri(u,f),f.customClass&&f.customClass[g]){if(typeof f.customClass[g]!="string"&&!f.customClass[g].forEach){T("Invalid type of customClass.".concat(g,'! Expected string or iterable object, got "').concat(typeof f.customClass[g],'"'));return}ce(u,f.customClass[g])}},hr=(u,f)=>{if(!f)return null;switch(f){case"select":case"textarea":case"file":return u.querySelector(".".concat(m.popup," > .").concat(m[f]));case"checkbox":return u.querySelector(".".concat(m.popup," > .").concat(m.checkbox," input"));case"radio":return u.querySelector(".".concat(m.popup," > .").concat(m.radio," input:checked"))||u.querySelector(".".concat(m.popup," > .").concat(m.radio," input:first-child"));case"range":return u.querySelector(".".concat(m.popup," > .").concat(m.range," input"));default:return u.querySelector(".".concat(m.popup," > .").concat(m.input))}},hn=u=>{if(u.focus(),u.type!=="file"){const f=u.value;u.value="",u.value=f}},Qa=(u,f,g)=>{!u||!f||(typeof f=="string"&&(f=f.split(/\s+/).filter(Boolean)),f.forEach(P=>{Array.isArray(u)?u.forEach(L=>{g?L.classList.add(P):L.classList.remove(P)}):g?u.classList.add(P):u.classList.remove(P)}))},ce=(u,f)=>{Qa(u,f,!0)},mn=(u,f)=>{Qa(u,f,!1)},Hn=(u,f)=>{const g=Array.from(u.children);for(let P=0;P{g==="".concat(parseInt(g))&&(g=parseInt(g)),g||parseInt(g)===0?u.style[f]=typeof g=="number"?"".concat(g,"px"):g:u.style.removeProperty(f)},Je=function(u){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";u&&(u.style.display=f)},it=u=>{u&&(u.style.display="none")},Za=(u,f,g,P)=>{const L=u.querySelector(f);L&&(L.style[g]=P)},Uo=function(u,f){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";f?Je(u,g):it(u)},Et=u=>!!(u&&(u.offsetWidth||u.offsetHeight||u.getClientRects().length)),tp=()=>!Et(Y())&&!Et(ne())&&!Et(oe()),uc=u=>u.scrollHeight>u.clientHeight,Wn=u=>{const f=window.getComputedStyle(u),g=parseFloat(f.getPropertyValue("animation-duration")||"0"),P=parseFloat(f.getPropertyValue("transition-duration")||"0");return g>0||P>0},Gr=function(u){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const g=$t();g&&Et(g)&&(f&&(g.style.transition="none",g.style.width="100%"),setTimeout(()=>{g.style.transition="width ".concat(u/1e3,"s linear"),g.style.width="0%"},10))},np=()=>{const u=$t();if(!u)return;const f=parseInt(window.getComputedStyle(u).width);u.style.removeProperty("transition"),u.style.width="100%";const g=parseInt(window.getComputedStyle(u).width),P=f/g*100;u.style.width="".concat(P,"%")},Ja=()=>typeof window>"u"||typeof document>"u",rp=` +
+ +
    +
    + +

    +
    + + +
    + + +
    + +
    + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    +`).replace(/(^|\n)\s*/g,""),dc=()=>{const u=re();return u?(u.remove(),mn([document.documentElement,document.body],[m["no-backdrop"],m["toast-shown"],m["has-column"]]),!0):!1},Zt=()=>{d.currentInstance.resetValidationMessage()},op=()=>{const u=D(),f=Hn(u,m.input),g=Hn(u,m.file),P=u.querySelector(".".concat(m.range," input")),L=u.querySelector(".".concat(m.range," output")),G=Hn(u,m.select),be=u.querySelector(".".concat(m.checkbox," input")),Le=Hn(u,m.textarea);f.oninput=Zt,g.onchange=Zt,G.onchange=Zt,be.onchange=Zt,Le.oninput=Zt,P.oninput=()=>{Zt(),L.value=P.value},P.onchange=()=>{Zt(),L.value=P.value}},mr=u=>typeof u=="string"?document.querySelector(u):u,ip=u=>{const f=D();f.setAttribute("role",u.toast?"alert":"dialog"),f.setAttribute("aria-live",u.toast?"polite":"assertive"),u.toast||f.setAttribute("aria-modal","true")},ap=u=>{window.getComputedStyle(u).direction==="rtl"&&ce(re(),m.rtl)},sp=u=>{const f=dc();if(Ja()){R("SweetAlert2 requires document to initialize");return}const g=document.createElement("div");g.className=m.container,f&&ce(g,m["no-transition"]),Ot(g,rp);const P=mr(u.target);P.appendChild(g),ip(u),ap(P),op()},es=(u,f)=>{u instanceof HTMLElement?f.appendChild(u):typeof u=="object"?lp(u,f):u&&Ot(f,u)},lp=(u,f)=>{u.jquery?Rn(f,u):Ot(f,u.toString())},Rn=(u,f)=>{if(u.textContent="",0 in f)for(let g=0;g in f;g++)u.appendChild(f[g].cloneNode(!0));else u.appendChild(f.cloneNode(!0))},gr=(()=>{if(Ja())return!1;const u=document.createElement("div");return typeof u.style.webkitAnimation<"u"?"webkitAnimationEnd":typeof u.style.animation<"u"?"animationend":!1})(),cp=(u,f)=>{const g=pn(),P=vt();!g||!P||(!f.showConfirmButton&&!f.showDenyButton&&!f.showCancelButton?it(g):Je(g),Ct(g,f,"actions"),up(g,P,f),Ot(P,f.loaderHtml||""),Ct(P,f,"loader"))};function up(u,f,g){const P=Y(),L=ne(),G=oe();!P||!L||!G||(ts(P,"confirm",g),ts(L,"deny",g),ts(G,"cancel",g),dp(P,L,G,g),g.reverseButtons&&(g.toast?(u.insertBefore(G,P),u.insertBefore(L,P)):(u.insertBefore(G,f),u.insertBefore(L,f),u.insertBefore(P,f))))}function dp(u,f,g,P){if(!P.buttonsStyling){mn([u,f,g],m.styled);return}ce([u,f,g],m.styled),P.confirmButtonColor&&(u.style.backgroundColor=P.confirmButtonColor,ce(u,m["default-outline"])),P.denyButtonColor&&(f.style.backgroundColor=P.denyButtonColor,ce(f,m["default-outline"])),P.cancelButtonColor&&(g.style.backgroundColor=P.cancelButtonColor,ce(g,m["default-outline"]))}function ts(u,f,g){const P=S(f);Uo(u,g["show".concat(P,"Button")],"inline-block"),Ot(u,g["".concat(f,"ButtonText")]||""),u.setAttribute("aria-label",g["".concat(f,"ButtonAriaLabel")]||""),u.className=m[f],Ct(u,g,"".concat(f,"Button"))}const Yr=(u,f)=>{const g=pr();g&&(Ot(g,f.closeButtonHtml||""),Ct(g,f,"closeButton"),Uo(g,f.showCloseButton),g.setAttribute("aria-label",f.closeButtonAriaLabel||""))},fp=(u,f)=>{const g=re();g&&(pp(g,f.backdrop),hp(g,f.position),mp(g,f.grow),Ct(g,f,"container"))};function pp(u,f){typeof f=="string"?u.style.background=f:f||ce([document.documentElement,document.body],m["no-backdrop"])}function hp(u,f){f&&(f in m?ce(u,m[f]):(T('The "position" parameter is not valid, defaulting to "center"'),ce(u,m.center)))}function mp(u,f){f&&ce(u,m["grow-".concat(f)])}var _e={innerParams:new WeakMap,domCache:new WeakMap};const Kr=["input","file","range","select","radio","checkbox","textarea"],gp=(u,f)=>{const g=D();if(!g)return;const P=_e.innerParams.get(u),L=!P||f.input!==P.input;Kr.forEach(G=>{const be=Hn(g,m[G]);be&&(bp(G,f.inputAttributes),be.className=m[G],L&&it(be))}),f.input&&(L&&vp(f),wp(f))},vp=u=>{if(!u.input)return;if(!ut[u.input]){R('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(u.input,'"'));return}const f=fc(u.input),g=ut[u.input](f,u);Je(f),u.inputAutoFocus&&setTimeout(()=>{hn(g)})},yp=u=>{for(let f=0;f{const g=hr(D(),u);if(g){yp(g);for(const P in f)g.setAttribute(P,f[P])}},wp=u=>{const f=fc(u.input);typeof u.customClass=="object"&&ce(f,u.customClass.input)},ns=(u,f)=>{(!u.placeholder||f.inputPlaceholder)&&(u.placeholder=f.inputPlaceholder)},vr=(u,f,g)=>{if(g.inputLabel){const P=document.createElement("label"),L=m["input-label"];P.setAttribute("for",u.id),P.className=L,typeof g.customClass=="object"&&ce(P,g.customClass.inputLabel),P.innerText=g.inputLabel,f.insertAdjacentElement("beforebegin",P)}},fc=u=>Hn(D(),m[u]||m.input),yr=(u,f)=>{["string","number"].includes(typeof f)?u.value="".concat(f):Pe(f)||T('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof f,'"'))},ut={};ut.text=ut.email=ut.password=ut.number=ut.tel=ut.url=(u,f)=>(yr(u,f.inputValue),vr(u,u,f),ns(u,f),u.type=f.input,u),ut.file=(u,f)=>(vr(u,u,f),ns(u,f),u),ut.range=(u,f)=>{const g=u.querySelector("input"),P=u.querySelector("output");return yr(g,f.inputValue),g.type=f.input,yr(P,f.inputValue),vr(g,u,f),u},ut.select=(u,f)=>{if(u.textContent="",f.inputPlaceholder){const g=document.createElement("option");Ot(g,f.inputPlaceholder),g.value="",g.disabled=!0,g.selected=!0,u.appendChild(g)}return vr(u,u,f),u},ut.radio=u=>(u.textContent="",u),ut.checkbox=(u,f)=>{const g=hr(D(),"checkbox");g.value="1",g.checked=!!f.inputValue;const P=u.querySelector("span");return Ot(P,f.inputPlaceholder),g},ut.textarea=(u,f)=>{yr(u,f.inputValue),ns(u,f),vr(u,u,f);const g=P=>parseInt(window.getComputedStyle(P).marginLeft)+parseInt(window.getComputedStyle(P).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const P=parseInt(window.getComputedStyle(D()).width),L=()=>{if(!document.body.contains(u))return;const G=u.offsetWidth+g(u);G>P?D().style.width="".concat(G,"px"):gn(D(),"width",f.width)};new MutationObserver(L).observe(u,{attributes:!0,attributeFilter:["style"]})}}),u};const xp=(u,f)=>{const g=K();g&&(Ct(g,f,"htmlContainer"),f.html?(es(f.html,g),Je(g,"block")):f.text?(g.textContent=f.text,Je(g,"block")):it(g),gp(u,f))},$i=(u,f)=>{const g=An();g&&(Uo(g,f.footer,"block"),f.footer&&es(f.footer,g),Ct(g,f,"footer"))},pc=(u,f)=>{const g=_e.innerParams.get(u),P=me();if(P){if(g&&f.icon===g.icon){gc(P,f),hc(P,f);return}if(!f.icon&&!f.iconHtml){it(P);return}if(f.icon&&Object.keys(w).indexOf(f.icon)===-1){R('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(f.icon,'"')),it(P);return}Je(P),gc(P,f),hc(P,f),ce(P,f.showClass&&f.showClass.icon)}},hc=(u,f)=>{for(const[g,P]of Object.entries(w))f.icon!==g&&mn(u,P);ce(u,f.icon&&w[f.icon]),Cp(u,f),Sp(),Ct(u,f,"icon")},Sp=()=>{const u=D();if(!u)return;const f=window.getComputedStyle(u).getPropertyValue("background-color"),g=u.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let P=0;P + +
    +
    +`,mc=` + + + + +`,gc=(u,f)=>{if(!f.icon&&!f.iconHtml)return;let g=u.innerHTML,P="";f.iconHtml?P=vc(f.iconHtml):f.icon==="success"?(P=kp,g=g.replace(/ style=".*?"/g,"")):f.icon==="error"?P=mc:f.icon&&(P=vc({question:"?",warning:"!",info:"i"}[f.icon])),g.trim()!==P.trim()&&Ot(u,P)},Cp=(u,f)=>{if(f.iconColor){u.style.color=f.iconColor,u.style.borderColor=f.iconColor;for(const g of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Za(u,g,"backgroundColor",f.iconColor);Za(u,".swal2-success-ring","borderColor",f.iconColor)}},vc=u=>'
    ').concat(u,"
    "),Ep=(u,f)=>{const g=q();if(g){if(!f.imageUrl){it(g);return}Je(g,""),g.setAttribute("src",f.imageUrl),g.setAttribute("alt",f.imageAlt||""),gn(g,"width",f.imageWidth),gn(g,"height",f.imageHeight),g.className=m.image,Ct(g,f,"image")}},Pp=(u,f)=>{const g=re(),P=D();if(!(!g||!P)){if(f.toast){gn(g,"width",f.width),P.style.width="100%";const L=vt();L&&P.insertBefore(L,me())}else gn(P,"width",f.width);gn(P,"padding",f.padding),f.color&&(P.style.color=f.color),f.background&&(P.style.background=f.background),it(J()),Tp(P,f)}},Tp=(u,f)=>{const g=f.showClass||{};u.className="".concat(m.popup," ").concat(Et(u)?g.popup:""),f.toast?(ce([document.documentElement,document.body],m["toast-shown"]),ce(u,m.toast)):ce(u,m.modal),Ct(u,f,"popup"),typeof f.customClass=="string"&&ce(u,f.customClass),f.icon&&ce(u,m["icon-".concat(f.icon)])},Ap=(u,f)=>{const g=ae();if(!g)return;const{progressSteps:P,currentProgressStep:L}=f;if(!P||P.length===0||L===void 0){it(g);return}Je(g),g.textContent="",L>=P.length&&T("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),P.forEach((G,be)=>{const Le=_p(G);if(g.appendChild(Le),be===L&&ce(Le,m["active-progress-step"]),be!==P.length-1){const Ve=Rp(f);g.appendChild(Ve)}})},_p=u=>{const f=document.createElement("li");return ce(f,m["progress-step"]),Ot(f,u),f},Rp=u=>{const f=document.createElement("li");return ce(f,m["progress-step-line"]),u.progressStepsDistance&&gn(f,"width",u.progressStepsDistance),f},$p=(u,f)=>{const g=X();g&&(Uo(g,f.title||f.titleText,"block"),f.title&&es(f.title,g),f.titleText&&(g.innerText=f.titleText),Ct(g,f,"title"))},Ho=(u,f)=>{Pp(u,f),fp(u,f),Ap(u,f),pc(u,f),Ep(u,f),$p(u,f),Yr(u,f),xp(u,f),cp(u,f),$i(u,f);const g=D();typeof f.didRender=="function"&&g&&f.didRender(g)},rs=()=>Et(D()),yc=()=>{var u;return(u=Y())===null||u===void 0?void 0:u.click()},Op=()=>{var u;return(u=ne())===null||u===void 0?void 0:u.click()},bc=()=>{var u;return(u=oe())===null||u===void 0?void 0:u.click()},Xr=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),wc=u=>{u.keydownTarget&&u.keydownHandlerAdded&&(u.keydownTarget.removeEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!1)},jp=(u,f,g)=>{wc(u),f.toast||(u.keydownHandler=P=>Ip(f,P,g),u.keydownTarget=f.keydownListenerCapture?window:D(),u.keydownListenerCapture=f.keydownListenerCapture,u.keydownTarget.addEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!0)},Oi=(u,f)=>{var g;const P=Ka();if(P.length){u=u+f,u===P.length?u=0:u===-1&&(u=P.length-1),P[u].focus();return}(g=D())===null||g===void 0||g.focus()},xc=["ArrowRight","ArrowDown"],Lp=["ArrowLeft","ArrowUp"],Ip=(u,f,g)=>{u&&(f.isComposing||f.keyCode===229||(u.stopKeydownPropagation&&f.stopPropagation(),f.key==="Enter"?os(f,u):f.key==="Tab"?zp(f):[...xc,...Lp].includes(f.key)?Mp(f.key):f.key==="Escape"&&Np(f,u,g)))},os=(u,f)=>{if(!F(f.allowEnterKey))return;const g=hr(D(),f.input);if(u.target&&g&&u.target instanceof HTMLElement&&u.target.outerHTML===g.outerHTML){if(["textarea","file"].includes(f.input))return;yc(),u.preventDefault()}},zp=u=>{const f=u.target,g=Ka();let P=-1;for(let L=0;L{const f=pn(),g=Y(),P=ne(),L=oe();if(!f||!g||!P||!L)return;const G=[g,P,L];if(document.activeElement instanceof HTMLElement&&!G.includes(document.activeElement))return;const be=xc.includes(u)?"nextElementSibling":"previousElementSibling";let Le=document.activeElement;if(Le){for(let Ve=0;Ve{F(f.allowEscapeKey)&&(u.preventDefault(),g(Xr.esc))};var qn={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const is=()=>{Array.from(document.body.children).forEach(f=>{f===re()||f.contains(re())||(f.hasAttribute("aria-hidden")&&f.setAttribute("data-previous-aria-hidden",f.getAttribute("aria-hidden")||""),f.setAttribute("aria-hidden","true"))})},ji=()=>{Array.from(document.body.children).forEach(f=>{f.hasAttribute("data-previous-aria-hidden")?(f.setAttribute("aria-hidden",f.getAttribute("data-previous-aria-hidden")||""),f.removeAttribute("data-previous-aria-hidden")):f.removeAttribute("aria-hidden")})},Li=typeof window<"u"&&!!window.GestureEvent,Fp=()=>{if(Li&&!_n(document.body,m.iosfix)){const u=document.body.scrollTop;document.body.style.top="".concat(u*-1,"px"),ce(document.body,m.iosfix),Sc()}},Sc=()=>{const u=re();if(!u)return;let f;u.ontouchstart=g=>{f=as(g)},u.ontouchmove=g=>{f&&(g.preventDefault(),g.stopPropagation())}},as=u=>{const f=u.target,g=re(),P=K();return!g||!P||kc(u)||br(u)?!1:f===g||!uc(g)&&f instanceof HTMLElement&&f.tagName!=="INPUT"&&f.tagName!=="TEXTAREA"&&!(uc(P)&&P.contains(f))},kc=u=>u.touches&&u.touches.length&&u.touches[0].touchType==="stylus",br=u=>u.touches&&u.touches.length>1,Wo=()=>{if(_n(document.body,m.iosfix)){const u=parseInt(document.body.style.top,10);mn(document.body,m.iosfix),document.body.style.top="",document.body.scrollTop=u*-1}},Dp=()=>{const u=document.createElement("div");u.className=m["scrollbar-measure"],document.body.appendChild(u);const f=u.getBoundingClientRect().width-u.clientWidth;return document.body.removeChild(u),f};let wr=null;const Bp=u=>{wr===null&&(document.body.scrollHeight>window.innerHeight||u==="scroll")&&(wr=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(wr+Dp(),"px"))},Cc=()=>{wr!==null&&(document.body.style.paddingRight="".concat(wr,"px"),wr=null)};function Ec(u,f,g,P){_i()?Ce(u,P):(h(g).then(()=>Ce(u,P)),wc(d)),Li?(f.setAttribute("style","display:none !important"),f.removeAttribute("class"),f.innerHTML=""):f.remove(),Xa()&&(Cc(),Wo(),ji()),Vp()}function Vp(){mn([document.documentElement,document.body],[m.shown,m["height-auto"],m["no-backdrop"],m["toast-shown"]])}function $n(u){u=$(u);const f=qn.swalPromiseResolve.get(this),g=Up(this);this.isAwaitingPromise?u.isDismissed||(A(this),f(u)):g&&f(u)}const Up=u=>{const f=D();if(!f)return!1;const g=_e.innerParams.get(u);if(!g||_n(f,g.hideClass.popup))return!1;mn(f,g.showClass.popup),ce(f,g.hideClass.popup);const P=re();return mn(P,g.showClass.backdrop),ce(P,g.hideClass.backdrop),B(u,f,g),!0};function C(u){const f=qn.swalPromiseReject.get(this);A(this),f&&f(u)}const A=u=>{u.isAwaitingPromise&&(delete u.isAwaitingPromise,_e.innerParams.get(u)||u._destroy())},$=u=>typeof u>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},u),B=(u,f,g)=>{const P=re(),L=gr&&Wn(f);typeof g.willClose=="function"&&g.willClose(f),L?ue(u,f,P,g.returnFocus,g.didClose):Ec(u,P,g.returnFocus,g.didClose)},ue=(u,f,g,P,L)=>{gr&&(d.swalCloseEventFinishedCallback=Ec.bind(null,u,g,P,L),f.addEventListener(gr,function(G){G.target===f&&(d.swalCloseEventFinishedCallback(),delete d.swalCloseEventFinishedCallback)}))},Ce=(u,f)=>{setTimeout(()=>{typeof f=="function"&&f.bind(u.params)(),u._destroy&&u._destroy()})},ye=u=>{let f=D();if(f||new $c,f=D(),!f)return;const g=vt();_i()?it(me()):se(f,u),Je(g),f.setAttribute("data-loading","true"),f.setAttribute("aria-busy","true"),f.focus()},se=(u,f)=>{const g=pn(),P=vt();!g||!P||(!f&&Et(Y())&&(f=Y()),Je(g),f&&(it(f),P.setAttribute("data-button-to-replace",f.className),g.insertBefore(P,f)),ce([u,g],m.loading))},Re=(u,f)=>{f.input==="select"||f.input==="radio"?ls(u,f):["text","email","number","tel","textarea"].some(g=>g===f.input)&&(V(f.inputValue)||Pe(f.inputValue))&&(ye(Y()),Pc(u,f))},Bt=(u,f)=>{const g=u.getInput();if(!g)return null;switch(f.input){case"checkbox":return jt(g);case"radio":return qo(g);case"file":return ss(g);default:return f.inputAutoTrim?g.value.trim():g.value}},jt=u=>u.checked?1:0,qo=u=>u.checked?u.value:null,ss=u=>u.files&&u.files.length?u.getAttribute("multiple")!==null?u.files:u.files[0]:null,ls=(u,f)=>{const g=D();if(!g)return;const P=L=>{f.input==="select"?pP(g,Tc(L),f):f.input==="radio"&&hP(g,Tc(L),f)};V(f.inputOptions)||Pe(f.inputOptions)?(ye(Y()),ie(f.inputOptions).then(L=>{u.hideLoading(),P(L)})):typeof f.inputOptions=="object"?P(f.inputOptions):R("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof f.inputOptions))},Pc=(u,f)=>{const g=u.getInput();g&&(it(g),ie(f.inputValue).then(P=>{g.value=f.input==="number"?"".concat(parseFloat(P)||0):"".concat(P),Je(g),g.focus(),u.hideLoading()}).catch(P=>{R("Error in inputValue promise: ".concat(P)),g.value="",Je(g),g.focus(),u.hideLoading()}))};function pP(u,f,g){const P=Hn(u,m.select);if(!P)return;const L=(G,be,Le)=>{const Ve=document.createElement("option");Ve.value=Le,Ot(Ve,be),Ve.selected=gy(Le,g.inputValue),G.appendChild(Ve)};f.forEach(G=>{const be=G[0],Le=G[1];if(Array.isArray(Le)){const Ve=document.createElement("optgroup");Ve.label=be,Ve.disabled=!1,P.appendChild(Ve),Le.forEach(zi=>L(Ve,zi[1],zi[0]))}else L(P,Le,be)}),P.focus()}function hP(u,f,g){const P=Hn(u,m.radio);if(!P)return;f.forEach(G=>{const be=G[0],Le=G[1],Ve=document.createElement("input"),zi=document.createElement("label");Ve.type="radio",Ve.name=m.radio,Ve.value=be,gy(be,g.inputValue)&&(Ve.checked=!0);const Yp=document.createElement("span");Ot(Yp,Le),Yp.className=m.label,zi.appendChild(Ve),zi.appendChild(Yp),P.appendChild(zi)});const L=P.querySelectorAll("input");L.length&&L[0].focus()}const Tc=u=>{const f=[];return u instanceof Map?u.forEach((g,P)=>{let L=g;typeof L=="object"&&(L=Tc(L)),f.push([P,L])}):Object.keys(u).forEach(g=>{let P=u[g];typeof P=="object"&&(P=Tc(P)),f.push([g,P])}),f},gy=(u,f)=>!!f&&f.toString()===u.toString(),mP=u=>{const f=_e.innerParams.get(u);u.disableButtons(),f.input?vy(u,"confirm"):Wp(u,!0)},gP=u=>{const f=_e.innerParams.get(u);u.disableButtons(),f.returnInputValueOnDeny?vy(u,"deny"):Hp(u,!1)},vP=(u,f)=>{u.disableButtons(),f(Xr.cancel)},vy=(u,f)=>{const g=_e.innerParams.get(u);if(!g.input){R('The "input" parameter is needed to be set when using returnInputValueOn'.concat(S(f)));return}const P=u.getInput(),L=Bt(u,g);g.inputValidator?yP(u,L,f):P&&!P.checkValidity()?(u.enableButtons(),u.showValidationMessage(g.validationMessage)):f==="deny"?Hp(u,L):Wp(u,L)},yP=(u,f,g)=>{const P=_e.innerParams.get(u);u.disableInput(),Promise.resolve().then(()=>ie(P.inputValidator(f,P.validationMessage))).then(G=>{u.enableButtons(),u.enableInput(),G?u.showValidationMessage(G):g==="deny"?Hp(u,f):Wp(u,f)})},Hp=(u,f)=>{const g=_e.innerParams.get(u||void 0);g.showLoaderOnDeny&&ye(ne()),g.preDeny?(u.isAwaitingPromise=!0,Promise.resolve().then(()=>ie(g.preDeny(f,g.validationMessage))).then(L=>{L===!1?(u.hideLoading(),A(u)):u.close({isDenied:!0,value:typeof L>"u"?f:L})}).catch(L=>by(u||void 0,L))):u.close({isDenied:!0,value:f})},yy=(u,f)=>{u.close({isConfirmed:!0,value:f})},by=(u,f)=>{u.rejectPromise(f)},Wp=(u,f)=>{const g=_e.innerParams.get(u||void 0);g.showLoaderOnConfirm&&ye(),g.preConfirm?(u.resetValidationMessage(),u.isAwaitingPromise=!0,Promise.resolve().then(()=>ie(g.preConfirm(f,g.validationMessage))).then(L=>{Et(J())||L===!1?(u.hideLoading(),A(u)):yy(u,typeof L>"u"?f:L)}).catch(L=>by(u||void 0,L))):yy(u,f)};function Ac(){const u=_e.innerParams.get(this);if(!u)return;const f=_e.domCache.get(this);it(f.loader),_i()?u.icon&&Je(me()):bP(f),mn([f.popup,f.actions],m.loading),f.popup.removeAttribute("aria-busy"),f.popup.removeAttribute("data-loading"),f.confirmButton.disabled=!1,f.denyButton.disabled=!1,f.cancelButton.disabled=!1}const bP=u=>{const f=u.popup.getElementsByClassName(u.loader.getAttribute("data-button-to-replace"));f.length?Je(f[0],"inline-block"):tp()&&it(u.actions)};function wy(){const u=_e.innerParams.get(this),f=_e.domCache.get(this);return f?hr(f.popup,u.input):null}function xy(u,f,g){const P=_e.domCache.get(u);f.forEach(L=>{P[L].disabled=g})}function Sy(u,f){const g=D();if(!(!g||!u))if(u.type==="radio"){const P=g.querySelectorAll('[name="'.concat(m.radio,'"]'));for(let L=0;LObject.prototype.hasOwnProperty.call(Ii,u),Ry=u=>wP.indexOf(u)!==-1,$y=u=>xP[u],kP=u=>{_y(u)||T('Unknown parameter "'.concat(u,'"'))},CP=u=>{SP.includes(u)&&T('The parameter "'.concat(u,'" is incompatible with toasts'))},EP=u=>{const f=$y(u);f&&I(u,f)},PP=u=>{u.backdrop===!1&&u.allowOutsideClick&&T('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const f in u)kP(f),u.toast&&CP(f),EP(f)};function Oy(u){const f=D(),g=_e.innerParams.get(this);if(!f||_n(f,g.hideClass.popup)){T("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const P=TP(u),L=Object.assign({},g,P);Ho(this,L),_e.innerParams.set(this,L),Object.defineProperties(this,{params:{value:Object.assign({},this.params,u),writable:!1,enumerable:!0}})}const TP=u=>{const f={};return Object.keys(u).forEach(g=>{Ry(g)?f[g]=u[g]:T("Invalid parameter to update: ".concat(g))}),f};function jy(){const u=_e.domCache.get(this),f=_e.innerParams.get(this);if(!f){Ly(this);return}u.popup&&d.swalCloseEventFinishedCallback&&(d.swalCloseEventFinishedCallback(),delete d.swalCloseEventFinishedCallback),typeof f.didDestroy=="function"&&f.didDestroy(),AP(this)}const AP=u=>{Ly(u),delete u.params,delete d.keydownHandler,delete d.keydownTarget,delete d.currentInstance},Ly=u=>{u.isAwaitingPromise?(qp(_e,u),u.isAwaitingPromise=!0):(qp(qn,u),qp(_e,u),delete u.isAwaitingPromise,delete u.disableButtons,delete u.enableButtons,delete u.getInput,delete u.disableInput,delete u.enableInput,delete u.hideLoading,delete u.disableLoading,delete u.showValidationMessage,delete u.resetValidationMessage,delete u.close,delete u.closePopup,delete u.closeModal,delete u.closeToast,delete u.rejectPromise,delete u.update,delete u._destroy)},qp=(u,f)=>{for(const g in u)u[g].delete(f)};var _P=Object.freeze({__proto__:null,_destroy:jy,close:$n,closeModal:$n,closePopup:$n,closeToast:$n,disableButtons:Cy,disableInput:Py,disableLoading:Ac,enableButtons:ky,enableInput:Ey,getInput:wy,handleAwaitingPromise:A,hideLoading:Ac,rejectPromise:C,resetValidationMessage:Ay,showValidationMessage:Ty,update:Oy});const RP=(u,f,g)=>{u.toast?$P(u,f,g):(jP(f),LP(f),IP(u,f,g))},$P=(u,f,g)=>{f.popup.onclick=()=>{u&&(OP(u)||u.timer||u.input)||g(Xr.close)}},OP=u=>u.showConfirmButton||u.showDenyButton||u.showCancelButton||u.showCloseButton;let _c=!1;const jP=u=>{u.popup.onmousedown=()=>{u.container.onmouseup=function(f){u.container.onmouseup=void 0,f.target===u.container&&(_c=!0)}}},LP=u=>{u.container.onmousedown=()=>{u.popup.onmouseup=function(f){u.popup.onmouseup=void 0,(f.target===u.popup||f.target instanceof HTMLElement&&u.popup.contains(f.target))&&(_c=!0)}}},IP=(u,f,g)=>{f.container.onclick=P=>{if(_c){_c=!1;return}P.target===f.container&&F(u.allowOutsideClick)&&g(Xr.backdrop)}},zP=u=>typeof u=="object"&&u.jquery,Iy=u=>u instanceof Element||zP(u),MP=u=>{const f={};return typeof u[0]=="object"&&!Iy(u[0])?Object.assign(f,u[0]):["title","html","icon"].forEach((g,P)=>{const L=u[P];typeof L=="string"||Iy(L)?f[g]=L:L!==void 0&&R("Unexpected type of ".concat(g,'! Expected "string" or "Element", got ').concat(typeof L))}),f};function NP(){const u=this;for(var f=arguments.length,g=new Array(f),P=0;Pd.timeout&&d.timeout.getTimerLeft(),zy=()=>{if(d.timeout)return np(),d.timeout.stop()},My=()=>{if(d.timeout){const u=d.timeout.start();return Gr(u),u}},BP=()=>{const u=d.timeout;return u&&(u.running?zy():My())},VP=u=>{if(d.timeout){const f=d.timeout.increase(u);return Gr(f,!0),f}},UP=()=>!!(d.timeout&&d.timeout.isRunning());let Ny=!1;const Gp={};function HP(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Gp[u]=this,Ny||(document.body.addEventListener("click",WP),Ny=!0)}const WP=u=>{for(let f=u.target;f&&f!==document;f=f.parentNode)for(const g in Gp){const P=f.getAttribute(g);if(P){Gp[g].fire({template:P});return}}};var qP=Object.freeze({__proto__:null,argsToParams:MP,bindClickHandler:HP,clickCancel:bc,clickConfirm:yc,clickDeny:Op,enableLoading:ye,fire:NP,getActions:pn,getCancelButton:oe,getCloseButton:pr,getConfirmButton:Y,getContainer:re,getDenyButton:ne,getFocusableElements:Ka,getFooter:An,getHtmlContainer:K,getIcon:me,getIconContent:N,getImage:q,getInputLabel:gt,getLoader:vt,getPopup:D,getProgressSteps:ae,getTimerLeft:DP,getTimerProgressBar:$t,getTitle:X,getValidationMessage:J,increaseTimer:VP,isDeprecatedParameter:$y,isLoading:ep,isTimerRunning:UP,isUpdatableParameter:Ry,isValidParameter:_y,isVisible:rs,mixin:FP,resumeTimer:My,showLoading:ye,stopTimer:zy,toggleTimer:BP});class GP{constructor(f,g){this.callback=f,this.remaining=g,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(f){const g=this.running;return g&&this.stop(),this.remaining+=f,g&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Fy=["swal-title","swal-html","swal-footer"],YP=u=>{const f=typeof u.template=="string"?document.querySelector(u.template):u.template;if(!f)return{};const g=f.content;return nT(g),Object.assign(KP(g),XP(g),QP(g),ZP(g),JP(g),eT(g),tT(g,Fy))},KP=u=>{const f={};return Array.from(u.querySelectorAll("swal-param")).forEach(P=>{Go(P,["name","value"]);const L=P.getAttribute("name"),G=P.getAttribute("value");typeof Ii[L]=="boolean"?f[L]=G!=="false":typeof Ii[L]=="object"?f[L]=JSON.parse(G):f[L]=G}),f},XP=u=>{const f={};return Array.from(u.querySelectorAll("swal-function-param")).forEach(P=>{const L=P.getAttribute("name"),G=P.getAttribute("value");f[L]=new Function("return ".concat(G))()}),f},QP=u=>{const f={};return Array.from(u.querySelectorAll("swal-button")).forEach(P=>{Go(P,["type","color","aria-label"]);const L=P.getAttribute("type");f["".concat(L,"ButtonText")]=P.innerHTML,f["show".concat(S(L),"Button")]=!0,P.hasAttribute("color")&&(f["".concat(L,"ButtonColor")]=P.getAttribute("color")),P.hasAttribute("aria-label")&&(f["".concat(L,"ButtonAriaLabel")]=P.getAttribute("aria-label"))}),f},ZP=u=>{const f={},g=u.querySelector("swal-image");return g&&(Go(g,["src","width","height","alt"]),g.hasAttribute("src")&&(f.imageUrl=g.getAttribute("src")),g.hasAttribute("width")&&(f.imageWidth=g.getAttribute("width")),g.hasAttribute("height")&&(f.imageHeight=g.getAttribute("height")),g.hasAttribute("alt")&&(f.imageAlt=g.getAttribute("alt"))),f},JP=u=>{const f={},g=u.querySelector("swal-icon");return g&&(Go(g,["type","color"]),g.hasAttribute("type")&&(f.icon=g.getAttribute("type")),g.hasAttribute("color")&&(f.iconColor=g.getAttribute("color")),f.iconHtml=g.innerHTML),f},eT=u=>{const f={},g=u.querySelector("swal-input");g&&(Go(g,["type","label","placeholder","value"]),f.input=g.getAttribute("type")||"text",g.hasAttribute("label")&&(f.inputLabel=g.getAttribute("label")),g.hasAttribute("placeholder")&&(f.inputPlaceholder=g.getAttribute("placeholder")),g.hasAttribute("value")&&(f.inputValue=g.getAttribute("value")));const P=Array.from(u.querySelectorAll("swal-input-option"));return P.length&&(f.inputOptions={},P.forEach(L=>{Go(L,["value"]);const G=L.getAttribute("value"),be=L.innerHTML;f.inputOptions[G]=be})),f},tT=(u,f)=>{const g={};for(const P in f){const L=f[P],G=u.querySelector(L);G&&(Go(G,[]),g[L.replace(/^swal-/,"")]=G.innerHTML.trim())}return g},nT=u=>{const f=Fy.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(u.children).forEach(g=>{const P=g.tagName.toLowerCase();f.includes(P)||T("Unrecognized element <".concat(P,">"))})},Go=(u,f)=>{Array.from(u.attributes).forEach(g=>{f.indexOf(g.name)===-1&&T(['Unrecognized attribute "'.concat(g.name,'" on <').concat(u.tagName.toLowerCase(),">."),"".concat(f.length?"Allowed attributes are: ".concat(f.join(", ")):"To set the value, use HTML within the element.")])})},Dy=10,rT=u=>{const f=re(),g=D();typeof u.willOpen=="function"&&u.willOpen(g);const L=window.getComputedStyle(document.body).overflowY;aT(f,g,u),setTimeout(()=>{oT(f,g)},Dy),Xa()&&(iT(f,u.scrollbarPadding,L),is()),!_i()&&!d.previousActiveElement&&(d.previousActiveElement=document.activeElement),typeof u.didOpen=="function"&&setTimeout(()=>u.didOpen(g)),mn(f,m["no-transition"])},By=u=>{const f=D();if(u.target!==f||!gr)return;const g=re();f.removeEventListener(gr,By),g.style.overflowY="auto"},oT=(u,f)=>{gr&&Wn(f)?(u.style.overflowY="hidden",f.addEventListener(gr,By)):u.style.overflowY="auto"},iT=(u,f,g)=>{Fp(),f&&g!=="hidden"&&Bp(g),setTimeout(()=>{u.scrollTop=0})},aT=(u,f,g)=>{ce(u,g.showClass.backdrop),f.style.setProperty("opacity","0","important"),Je(f,"grid"),setTimeout(()=>{ce(f,g.showClass.popup),f.style.removeProperty("opacity")},Dy),ce([document.documentElement,document.body],m.shown),g.heightAuto&&g.backdrop&&!g.toast&&ce([document.documentElement,document.body],m["height-auto"])};var Vy={email:(u,f)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(u)?Promise.resolve():Promise.resolve(f||"Invalid email address"),url:(u,f)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(u)?Promise.resolve():Promise.resolve(f||"Invalid URL")};function sT(u){u.inputValidator||(u.input==="email"&&(u.inputValidator=Vy.email),u.input==="url"&&(u.inputValidator=Vy.url))}function lT(u){(!u.target||typeof u.target=="string"&&!document.querySelector(u.target)||typeof u.target!="string"&&!u.target.appendChild)&&(T('Target parameter is not valid, defaulting to "body"'),u.target="body")}function cT(u){sT(u),u.showLoaderOnConfirm&&!u.preConfirm&&T(`showLoaderOnConfirm is set to true, but preConfirm is not defined. +showLoaderOnConfirm should be used together with preConfirm, see usage example: +https://sweetalert2.github.io/#ajax-request`),lT(u),typeof u.title=="string"&&(u.title=u.title.split(` +`).join("
    ")),sp(u)}let Gn;var Rc=new WeakMap;class Xe{constructor(){if(l(this,Rc,{writable:!0,value:void 0}),typeof window>"u")return;Gn=this;for(var f=arguments.length,g=new Array(f),P=0;P1&&arguments[1]!==void 0?arguments[1]:{};PP(Object.assign({},g,f)),d.currentInstance&&(d.currentInstance._destroy(),Xa()&&ji()),d.currentInstance=Gn;const P=dT(f,g);cT(P),Object.freeze(P),d.timeout&&(d.timeout.stop(),delete d.timeout),clearTimeout(d.restoreFocusTimeout);const L=fT(Gn);return Ho(Gn,P),_e.innerParams.set(Gn,P),uT(Gn,L,P)}then(f){return n(this,Rc).then(f)}finally(f){return n(this,Rc).finally(f)}}const uT=(u,f,g)=>new Promise((P,L)=>{const G=be=>{u.close({isDismissed:!0,dismiss:be})};qn.swalPromiseResolve.set(u,P),qn.swalPromiseReject.set(u,L),f.confirmButton.onclick=()=>{mP(u)},f.denyButton.onclick=()=>{gP(u)},f.cancelButton.onclick=()=>{vP(u,G)},f.closeButton.onclick=()=>{G(Xr.close)},RP(g,f,G),jp(d,g,G),Re(u,g),rT(g),pT(d,g,G),hT(f,g),setTimeout(()=>{f.container.scrollTop=0})}),dT=(u,f)=>{const g=YP(u),P=Object.assign({},Ii,f,g,u);return P.showClass=Object.assign({},Ii.showClass,P.showClass),P.hideClass=Object.assign({},Ii.hideClass,P.hideClass),P},fT=u=>{const f={popup:D(),container:re(),actions:pn(),confirmButton:Y(),denyButton:ne(),cancelButton:oe(),loader:vt(),closeButton:pr(),validationMessage:J(),progressSteps:ae()};return _e.domCache.set(u,f),f},pT=(u,f,g)=>{const P=$t();it(P),f.timer&&(u.timeout=new GP(()=>{g("timer"),delete u.timeout},f.timer),f.timerProgressBar&&(Je(P),Ct(P,f,"timerProgressBar"),setTimeout(()=>{u.timeout&&u.timeout.running&&Gr(f.timer)})))},hT=(u,f)=>{if(!f.toast){if(!F(f.allowEnterKey)){gT();return}mT(u,f)||Oi(-1,1)}},mT=(u,f)=>f.focusDeny&&Et(u.denyButton)?(u.denyButton.focus(),!0):f.focusCancel&&Et(u.cancelButton)?(u.cancelButton.focus(),!0):f.focusConfirm&&Et(u.confirmButton)?(u.confirmButton.focus(),!0):!1,gT=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const u=new Date,f=localStorage.getItem("swal-initiation");f?(u.getTime()-Date.parse(f))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const g=document.createElement("audio");g.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",g.loop=!0,document.body.appendChild(g),setTimeout(()=>{g.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation","".concat(u))}Xe.prototype.disableButtons=Cy,Xe.prototype.enableButtons=ky,Xe.prototype.getInput=wy,Xe.prototype.disableInput=Py,Xe.prototype.enableInput=Ey,Xe.prototype.hideLoading=Ac,Xe.prototype.disableLoading=Ac,Xe.prototype.showValidationMessage=Ty,Xe.prototype.resetValidationMessage=Ay,Xe.prototype.close=$n,Xe.prototype.closePopup=$n,Xe.prototype.closeModal=$n,Xe.prototype.closeToast=$n,Xe.prototype.rejectPromise=C,Xe.prototype.update=Oy,Xe.prototype._destroy=jy,Object.assign(Xe,qP),Object.keys(_P).forEach(u=>{Xe[u]=function(){return Gn&&Gn[u]?Gn[u](...arguments):null}}),Xe.DismissReason=Xr,Xe.version="11.7.29";const $c=Xe;return $c.default=$c,$c}),typeof wn<"u"&&wn.Sweetalert2&&(wn.swal=wn.sweetAlert=wn.Swal=wn.SweetAlert=wn.Sweetalert2),typeof document<"u"&&function(n,r){var o=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(o),o.styleSheet)o.styleSheet.disabled||(o.styleSheet.cssText=r);else try{o.innerHTML=r}catch{o.innerText=r}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')})(y5);var ED=y5.exports;const Vt=Dl(ED);function PD({zoom:[e,t]}){const n=hf(),[r,o]=k.useState(""),[i,a]=k.useState(""),[s,l]=k.useState(!1),c="https://covisafeplus-production-417c.up.railway.app",d=p=>{p.preventDefault();const h={email:i,password:r};console.log(h),fetch(`${c}/users/signin`,{method:"POST",body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).then(y=>{if(!y.ok)throw y.status===400?new Error("Bad Request: Incorrect username or password."):new Error("Network response was not ok");return y.json()}).then(y=>{localStorage.setItem("token",y.token),localStorage.setItem("uuid",y.uuid),Vt.fire("Login succes!","you can proceed to vaccination now ","success").then(()=>{n("/")})}).catch(y=>{switch(l(!s),y.message){case"Bad Request: Incorrect username or password.":Vt.fire("Incorrect username or password!","please provide the correct details","error");break;case"Network response was not ok":Vt.fire("Network error","seems like there is a problem related to network","error");break}})};return x.jsxs(x.Fragment,{children:[x.jsx(Gl,{zoom:[e,t]}),x.jsx("div",{className:"w-full bg-[#ff003214] flex items-center justify-center py-20",style:{background:"linear-gradient(45deg, #ed033166,#ed033188,#ed033144,#ed033133 )",minHeight:"87vh"},children:x.jsxs("div",{className:"loginlogout w-fit ",children:[x.jsxs("div",{className:"changer bg-[#33333344] ",children:[x.jsx(mo,{to:"/signin",children:x.jsx("div",{className:"active page text-[#ffffffc3]",children:"Sign In"})}),x.jsx(mo,{to:"/signup",children:x.jsx("div",{className:"page text-[#ffffffc3]",children:"Sign Up"})})]}),x.jsxs("div",{className:"form signin bg-[#33333344] backdrop-blur-lg",children:[x.jsxs("div",{className:"imgdiv",children:[x.jsx("div",{className:"flex justify-center py-5",children:x.jsx("img",{src:"./images/login-family.svg",alt:""})}),x.jsx("div",{children:x.jsx("img",{src:"./images/building-icon.svg",alt:""})})]}),x.jsxs("div",{children:[x.jsx("h2",{children:"Sign In for Vaccination"}),x.jsx("br",{}),x.jsx("p",{children:"Enter your credentials"}),x.jsxs("form",{onSubmit:d,children:[x.jsx("input",{type:"email",onChange:p=>a(p.target.value),value:i,placeholder:"Enter email",required:!0}),x.jsx("input",{type:"password",onChange:p=>o(p.target.value),value:r,placeholder:"Enter password",required:!0}),x.jsx("input",{type:"submit",value:"Login"})]})]})]})]})}),x.jsx(Ql,{})]})}function TD({zoom:[e,t]}){return x.jsxs("div",{children:[x.jsx(Gl,{zoom:[e,t]}),x.jsx(uF,{}),x.jsx(Ql,{})]})}var b5=String.raw,w5=b5` + :root, + :host { + --chakra-vh: 100vh; + } + + @supports (height: -webkit-fill-available) { + :root, + :host { + --chakra-vh: -webkit-fill-available; + } + } + + @supports (height: -moz-fill-available) { + :root, + :host { + --chakra-vh: -moz-fill-available; + } + } + + @supports (height: 100dvh) { + :root, + :host { + --chakra-vh: 100dvh; + } + } +`,AD=()=>x.jsx(Of,{styles:w5}),_D=({scope:e=""})=>x.jsx(Of,{styles:b5` + html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + font-family: system-ui, sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -moz-osx-font-smoothing: grayscale; + touch-action: manipulation; + } + + body { + position: relative; + min-height: 100%; + margin: 0; + font-feature-settings: "kern"; + } + + ${e} :where(*, *::before, *::after) { + border-width: 0; + border-style: solid; + box-sizing: border-box; + word-wrap: break-word; + } + + main { + display: block; + } + + ${e} hr { + border-top-width: 1px; + box-sizing: content-box; + height: 0; + overflow: visible; + } + + ${e} :where(pre, code, kbd,samp) { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 1em; + } + + ${e} a { + background-color: transparent; + color: inherit; + text-decoration: inherit; + } + + ${e} abbr[title] { + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + + ${e} :where(b, strong) { + font-weight: bold; + } + + ${e} small { + font-size: 80%; + } + + ${e} :where(sub,sup) { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + ${e} sub { + bottom: -0.25em; + } + + ${e} sup { + top: -0.5em; + } + + ${e} img { + border-style: none; + } + + ${e} :where(button, input, optgroup, select, textarea) { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + } + + ${e} :where(button, input) { + overflow: visible; + } + + ${e} :where(button, select) { + text-transform: none; + } + + ${e} :where( + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner + ) { + border-style: none; + padding: 0; + } + + ${e} fieldset { + padding: 0.35em 0.75em 0.625em; + } + + ${e} legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; + } + + ${e} progress { + vertical-align: baseline; + } + + ${e} textarea { + overflow: auto; + } + + ${e} :where([type="checkbox"], [type="radio"]) { + box-sizing: border-box; + padding: 0; + } + + ${e} input[type="number"]::-webkit-inner-spin-button, + ${e} input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + } + + ${e} input[type="number"] { + -moz-appearance: textfield; + } + + ${e} input[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; + } + + ${e} input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none !important; + } + + ${e} ::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; + } + + ${e} details { + display: block; + } + + ${e} summary { + display: list-item; + } + + template { + display: none; + } + + [hidden] { + display: none !important; + } + + ${e} :where( + blockquote, + dl, + dd, + h1, + h2, + h3, + h4, + h5, + h6, + hr, + figure, + p, + pre + ) { + margin: 0; + } + + ${e} button { + background: transparent; + padding: 0; + } + + ${e} fieldset { + margin: 0; + padding: 0; + } + + ${e} :where(ol, ul) { + margin: 0; + padding: 0; + } + + ${e} textarea { + resize: vertical; + } + + ${e} :where(button, [role="button"]) { + cursor: pointer; + } + + ${e} button::-moz-focus-inner { + border: 0 !important; + } + + ${e} table { + border-collapse: collapse; + } + + ${e} :where(h1, h2, h3, h4, h5, h6) { + font-size: inherit; + font-weight: inherit; + } + + ${e} :where(button, input, optgroup, select, textarea) { + padding: 0; + line-height: inherit; + color: inherit; + } + + ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) { + display: block; + } + + ${e} :where(img, video) { + max-width: 100%; + height: auto; + } + + [data-js-focus-visible] + :focus:not([data-focus-visible-added]):not( + [data-focus-visible-disabled] + ) { + outline: none; + box-shadow: none; + } + + ${e} select::-ms-expand { + display: none; + } + + ${w5} + `});function RD(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function nc(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=k.createContext(a);s.displayName=t;function l(){var c;const d=k.useContext(s);if(!d&&n){const p=new Error(i??RD(r,o));throw p.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,p,l),p}return d}return[s.Provider,l,s]}var[$D,OD]=nc({strict:!1,name:"PortalManagerContext"});function x5(e){const{children:t,zIndex:n}=e;return x.jsx($D,{value:{zIndex:n},children:t})}x5.displayName="PortalManager";var[S5,jD]=nc({strict:!1,name:"PortalContext"}),Fv="chakra-portal",LD=".chakra-portal",ID=e=>x.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),zD=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=k.useState(null),i=k.useRef(null),[,a]=k.useState({});k.useEffect(()=>a({}),[]);const s=jD(),l=OD();$d(()=>{if(!r)return;const d=r.ownerDocument,p=t?s??d.body:d.body;if(!p)return;i.current=d.createElement("div"),i.current.className=Fv,p.appendChild(i.current),a({});const h=i.current;return()=>{p.contains(h)&&p.removeChild(h)}},[r]);const c=l!=null&&l.zIndex?x.jsx(ID,{zIndex:l==null?void 0:l.zIndex,children:n}):n;return i.current?Q0.createPortal(x.jsx(S5,{value:i.current,children:c}),i.current):x.jsx("span",{ref:d=>{d&&o(d)}})},MD=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,i=o??(typeof window<"u"?document.body:void 0),a=k.useMemo(()=>{const l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=Fv),l},[o]),[,s]=k.useState({});return $d(()=>s({}),[]),$d(()=>{if(!(!a||!i))return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?Q0.createPortal(x.jsx(S5,{value:r?a:null,children:t}),a):null};function Vf(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?x.jsx(MD,{containerRef:n,...r}):x.jsx(zD,{...r})}Vf.className=Fv;Vf.selector=LD;Vf.displayName="Portal";var k5=k.createContext({getDocument(){return document},getWindow(){return window}});k5.displayName="EnvironmentContext";function C5(e){const{children:t,environment:n,disabled:r}=e,o=k.useRef(null),i=k.useMemo(()=>n||{getDocument:()=>{var s,l;return(l=(s=o.current)==null?void 0:s.ownerDocument)!=null?l:document},getWindow:()=>{var s,l;return(l=(s=o.current)==null?void 0:s.ownerDocument.defaultView)!=null?l:window}},[n]),a=!r||!n;return x.jsxs(k5.Provider,{value:i,children:[t,a&&x.jsx("span",{id:"__chakra_env",hidden:!0,ref:o})]})}C5.displayName="EnvironmentProvider";var ND=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:d}=e,p=x.jsx(C5,{environment:s,disabled:c,children:t});return x.jsx(tF,{theme:a,cssVarsRoot:l,children:x.jsxs(PC,{colorModeManager:n,options:a.config,children:[i?x.jsx(_D,{scope:o}):x.jsx(AD,{}),!d&&x.jsx(rF,{}),r?x.jsx(x5,{zIndex:r,children:p}):p]})})},FD=(e,t)=>e.find(n=>n.id===t);function Hw(e,t){const n=E5(e,t),r=n?e[n].findIndex(o=>o.id===t):-1;return{position:n,index:r}}function E5(e,t){for(const[n,r]of Object.entries(e))if(FD(r,t))return n}function DD(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function BD(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,o=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,i=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:o,right:i,left:a}}function VD(e,t=[]){const n=k.useRef(e);return k.useEffect(()=>{n.current=e}),k.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function UD(e,t){const n=VD(e);k.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function Ww(e,t){const n=k.useRef(!1),r=k.useRef(!1);k.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),k.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}const P5=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Uf=k.createContext({}),rc=k.createContext(null),Hf=typeof document<"u",Dv=Hf?k.useLayoutEffect:k.useEffect,T5=k.createContext({strict:!1});function HD(e,t,n,r){const{visualElement:o}=k.useContext(Uf),i=k.useContext(T5),a=k.useContext(rc),s=k.useContext(P5).reducedMotion,l=k.useRef();r=r||i.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const c=l.current;k.useInsertionEffect(()=>{c&&c.update(n,a)});const d=k.useRef(!!window.HandoffAppearAnimations);return Dv(()=>{c&&(c.render(),d.current&&c.animationState&&c.animationState.animateChanges())}),k.useEffect(()=>{c&&(c.updateFeatures(),!d.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,d.current=!1)}),c}function la(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function WD(e,t,n){return k.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):la(n)&&(n.current=r))},[t])}function Ml(e){return typeof e=="string"||Array.isArray(e)}function Wf(e){return typeof e=="object"&&typeof e.start=="function"}const Bv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Vv=["initial",...Bv];function qf(e){return Wf(e.animate)||Vv.some(t=>Ml(e[t]))}function A5(e){return!!(qf(e)||e.variants)}function qD(e,t){if(qf(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ml(n)?n:void 0,animate:Ml(r)?r:void 0}}return e.inherit!==!1?t:{}}function GD(e){const{initial:t,animate:n}=qD(e,k.useContext(Uf));return k.useMemo(()=>({initial:t,animate:n}),[qw(t),qw(n)])}function qw(e){return Array.isArray(e)?e.join(" "):e}const Gw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Nl={};for(const e in Gw)Nl[e]={isEnabled:t=>Gw[e].some(n=>!!t[n])};function YD(e){for(const t in e)Nl[t]={...Nl[t],...e[t]}}const Uv=k.createContext({}),_5=k.createContext({}),KD=Symbol.for("motionComponentSymbol");function XD({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&YD(e);function i(s,l){let c;const d={...k.useContext(P5),...s,layoutId:QD(s)},{isStatic:p}=d,h=GD(s),y=r(s,p);if(!p&&Hf){h.visualElement=HD(o,y,d,t);const b=k.useContext(_5),m=k.useContext(T5).strict;h.visualElement&&(c=h.visualElement.loadFeatures(d,m,e,b))}return k.createElement(Uf.Provider,{value:h},c&&h.visualElement?k.createElement(c,{visualElement:h.visualElement,...d}):null,n(o,s,WD(y,h.visualElement,l),y,p,h.visualElement))}const a=k.forwardRef(i);return a[KD]=o,a}function QD({layoutId:e}){const t=k.useContext(Uv).id;return t&&e!==void 0?t+"-"+e:e}function ZD(e){function t(r,o={}){return XD(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const JD=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Hv(e){return typeof e!="string"||e.includes("-")?!1:!!(JD.indexOf(e)>-1||/[A-Z]/.test(e))}const Fd={};function eB(e){Object.assign(Fd,e)}const oc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ei=new Set(oc);function R5(e,{layout:t,layoutId:n}){return Ei.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Fd[e]||e==="opacity")}const Qt=e=>!!(e&&e.getVelocity),tB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nB=oc.length;function rB(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let a=0;at=>typeof t=="string"&&t.startsWith(e),O5=$5("--"),Vg=$5("var(--"),oB=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,iB=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Io=(e,t,n)=>Math.min(Math.max(n,e),t),Pi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Js={...Pi,transform:e=>Io(0,1,e)},pu={...Pi,default:1},el=e=>Math.round(e*1e5)/1e5,Gf=/(-)?([\d]*\.?[\d])+/g,j5=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,aB=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ic(e){return typeof e=="string"}const ac=e=>({test:t=>ic(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),oo=ac("deg"),ur=ac("%"),ee=ac("px"),sB=ac("vh"),lB=ac("vw"),Yw={...ur,parse:e=>ur.parse(e)/100,transform:e=>ur.transform(e*100)},Kw={...Pi,transform:Math.round},L5={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,size:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,rotate:oo,rotateX:oo,rotateY:oo,rotateZ:oo,scale:pu,scaleX:pu,scaleY:pu,scaleZ:pu,skew:oo,skewX:oo,skewY:oo,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:Js,originX:Yw,originY:Yw,originZ:ee,zIndex:Kw,fillOpacity:Js,strokeOpacity:Js,numOctaves:Kw};function Wv(e,t,n,r){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,d=!0;for(const p in t){const h=t[p];if(O5(p)){i[p]=h;continue}const y=L5[p],b=iB(h,y);if(Ei.has(p)){if(l=!0,a[p]=b,!d)continue;h!==(y.default||0)&&(d=!1)}else p.startsWith("origin")?(c=!0,s[p]=b):o[p]=b}if(t.transform||(l||r?o.transform=rB(e.transform,n,d,r):o.transform&&(o.transform="none")),c){const{originX:p="50%",originY:h="50%",originZ:y=0}=s;o.transformOrigin=`${p} ${h} ${y}`}}const qv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function I5(e,t,n){for(const r in t)!Qt(t[r])&&!R5(r,n)&&(e[r]=t[r])}function cB({transformTemplate:e},t,n){return k.useMemo(()=>{const r=qv();return Wv(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function uB(e,t,n){const r=e.style||{},o={};return I5(o,r,e),Object.assign(o,cB(e,t,n)),e.transformValues?e.transformValues(o):o}function dB(e,t,n){const r={},o=uB(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const fB=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Dd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||fB.has(e)}let z5=e=>!Dd(e);function pB(e){e&&(z5=t=>t.startsWith("on")?!Dd(t):e(t))}try{pB(require("@emotion/is-prop-valid").default)}catch{}function hB(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(z5(o)||n===!0&&Dd(o)||!t&&!Dd(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Xw(e,t,n){return typeof e=="string"?e:ee.transform(t+n*e)}function mB(e,t,n){const r=Xw(t,e.x,e.width),o=Xw(n,e.y,e.height);return`${r} ${o}`}const gB={offset:"stroke-dashoffset",array:"stroke-dasharray"},vB={offset:"strokeDashoffset",array:"strokeDasharray"};function yB(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?gB:vB;e[i.offset]=ee.transform(-r);const a=ee.transform(t),s=ee.transform(n);e[i.array]=`${a} ${s}`}function Gv(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},d,p,h){if(Wv(e,c,d,h),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:b,dimensions:m}=e;y.transform&&(m&&(b.transform=y.transform),delete y.transform),m&&(o!==void 0||i!==void 0||b.transform)&&(b.transformOrigin=mB(m,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(y.x=t),n!==void 0&&(y.y=n),r!==void 0&&(y.scale=r),a!==void 0&&yB(y,a,s,l,!1)}const M5=()=>({...qv(),attrs:{}}),Yv=e=>typeof e=="string"&&e.toLowerCase()==="svg";function bB(e,t,n,r){const o=k.useMemo(()=>{const i=M5();return Gv(i,t,{enableHardwareAcceleration:!1},Yv(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};I5(i,e.style,e),o.style={...i,...o.style}}return o}function wB(e=!1){return(n,r,o,{latestValues:i},a)=>{const l=(Hv(n)?bB:dB)(r,i,a,n),d={...hB(r,typeof n=="string",e),...l,ref:o},{children:p}=r,h=k.useMemo(()=>Qt(p)?p.get():p,[p]);return k.createElement(n,{...d,children:h})}}const Kv=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function N5(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const F5=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function D5(e,t,n,r){N5(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(F5.has(o)?o:Kv(o),t.attrs[o])}function Xv(e,t){const{style:n}=e,r={};for(const o in n)(Qt(n[o])||t.style&&Qt(t.style[o])||R5(o,e))&&(r[o]=n[o]);return r}function B5(e,t){const n=Xv(e,t);for(const r in e)if(Qt(e[r])||Qt(t[r])){const o=oc.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function Qv(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function V5(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Bd=e=>Array.isArray(e),xB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),SB=e=>Bd(e)?e[e.length-1]||0:e;function Xu(e){const t=Qt(e)?e.get():e;return xB(t)?t.toValue():t}function kB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:CB(r,o,i,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const U5=e=>(t,n)=>{const r=k.useContext(Uf),o=k.useContext(rc),i=()=>kB(e,t,r,o);return n?i():V5(i)};function CB(e,t,n,r){const o={},i=r(e,{});for(const h in i)o[h]=Xu(i[h]);let{initial:a,animate:s}=e;const l=qf(e),c=A5(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const p=d?s:a;return p&&typeof p!="boolean"&&!Wf(p)&&(Array.isArray(p)?p:[p]).forEach(y=>{const b=Qv(e,y);if(!b)return;const{transitionEnd:m,transition:E,...w}=b;for(const v in w){let S=w[v];if(Array.isArray(S)){const T=d?S.length-1:0;S=S[T]}S!==null&&(o[v]=S)}for(const v in m)o[v]=m[v]}),o}const Ke=e=>e;class Qw{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function EB(e){let t=new Qw,n=new Qw,r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,c=!1,d=!1)=>{const p=d&&o,h=p?t:n;return c&&a.add(l),h.add(l)&&p&&o&&(r=t.order.length),l},cancel:l=>{n.remove(l),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let c=0;c(p[h]=EB(()=>n=!0),p),{}),a=p=>i[p].process(o),s=()=>{const p=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(p-o.timestamp,PB),1),o.timestamp=p,o.isProcessing=!0,hu.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(s))},l=()=>{n=!0,r=!0,o.isProcessing||e(s)};return{schedule:hu.reduce((p,h)=>{const y=i[h];return p[h]=(b,m=!1,E=!1)=>(n||l(),y.schedule(b,m,E)),p},{}),cancel:p=>hu.forEach(h=>i[h].cancel(p)),state:o,steps:i}}const{schedule:Oe,cancel:Ur,state:ft,steps:Xh}=TB(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ke,!0),AB={useVisualState:U5({scrapeMotionValuesFromProps:B5,createRenderState:M5,onMount:(e,t,{renderState:n,latestValues:r})=>{Oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Oe.render(()=>{Gv(n,r,{enableHardwareAcceleration:!1},Yv(t.tagName),e.transformTemplate),D5(t,n)})}})},_B={useVisualState:U5({scrapeMotionValuesFromProps:Xv,createRenderState:qv})};function RB(e,{forwardMotionProps:t=!1},n,r){return{...Hv(e)?AB:_B,preloadedFeatures:n,useRender:wB(t),createVisualElement:r,Component:e}}function _r(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const H5=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Yf(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const $B=e=>t=>H5(t)&&e(t,Yf(t));function jr(e,t,n,r){return _r(e,t,$B(n),r)}const OB=(e,t)=>n=>t(e(n)),Ao=(...e)=>e.reduce(OB);function W5(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Zw=W5("dragHorizontal"),Jw=W5("dragVertical");function q5(e){let t=!1;if(e==="y")t=Jw();else if(e==="x")t=Zw();else{const n=Zw(),r=Jw();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function G5(){const e=q5(!0);return e?(e(),!1):!0}class Bo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function ex(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(i,a)=>{if(i.type==="touch"||G5())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&Oe.update(()=>s[r](i,a))};return jr(e.current,n,o,{passive:!e.getProps()[r]})}class jB extends Bo{mount(){this.unmount=Ao(ex(this.node,!0),ex(this.node,!1))}unmount(){}}class LB extends Bo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ao(_r(this.node.current,"focus",()=>this.onFocus()),_r(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Y5=(e,t)=>t?e===t?!0:Y5(e,t.parentElement):!1;function Qh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Yf(n))}class IB extends Bo{constructor(){super(...arguments),this.removeStartListeners=Ke,this.removeEndListeners=Ke,this.removeAccessibleListeners=Ke,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),i=jr(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:d}=this.node.getProps();Oe.update(()=>{Y5(this.node.current,s.target)?c&&c(s,l):d&&d(s,l)})},{passive:!(r.onTap||r.onPointerUp)}),a=jr(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Ao(i,a),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const a=s=>{s.key!=="Enter"||!this.checkPressEnd()||Qh("up",(l,c)=>{const{onTap:d}=this.node.getProps();d&&Oe.update(()=>d(l,c))})};this.removeEndListeners(),this.removeEndListeners=_r(this.node.current,"keyup",a),Qh("down",(s,l)=>{this.startPress(s,l)})},n=_r(this.node.current,"keydown",t),r=()=>{this.isPressing&&Qh("cancel",(i,a)=>this.cancelPress(i,a))},o=_r(this.node.current,"blur",r);this.removeAccessibleListeners=Ao(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Oe.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!G5()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Oe.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=jr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=_r(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ao(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ug=new WeakMap,Zh=new WeakMap,zB=e=>{const t=Ug.get(e.target);t&&t(e)},MB=e=>{e.forEach(zB)};function NB({root:e,...t}){const n=e||document;Zh.has(n)||Zh.set(n,{});const r=Zh.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(MB,{root:e,...t})),r[o]}function FB(e,t,n){const r=NB(t);return Ug.set(e,n),r.observe(e),()=>{Ug.delete(e),r.unobserve(e)}}const DB={some:0,all:1};class BB extends Bo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:DB[o]},s=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:p}=this.node.getProps(),h=c?d:p;h&&h(l)};return FB(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(VB(t,n))&&this.startObserver()}unmount(){}}function VB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const UB={inView:{Feature:BB},tap:{Feature:IB},focus:{Feature:LB},hover:{Feature:jB}};function K5(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function WB(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Kf(e,t,n){const r=e.getProps();return Qv(r,t,n!==void 0?n:r.custom,HB(e),WB(e))}const qB="framerAppearId",GB="data-"+Kv(qB);let YB=Ke,Zv=Ke;const _o=e=>e*1e3,Lr=e=>e/1e3,KB={current:!1},X5=e=>Array.isArray(e)&&typeof e[0]=="number";function Q5(e){return!!(!e||typeof e=="string"&&Z5[e]||X5(e)||Array.isArray(e)&&e.every(Q5))}const Is=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Z5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Is([0,.65,.55,1]),circOut:Is([.55,0,1,.45]),backIn:Is([.31,.01,.66,-.59]),backOut:Is([.33,1.53,.69,.99])};function J5(e){if(e)return X5(e)?Is(e):Array.isArray(e)?e.map(J5):Z5[e]}function XB(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=J5(s);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}function QB(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const eE=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,ZB=1e-7,JB=12;function e8(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=eE(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>ZB&&++se8(i,0,1,e,n);return i=>i===0||i===1?i:eE(o(i),t,r)}const t8=sc(.42,0,1,1),n8=sc(0,0,.58,1),tE=sc(.42,0,.58,1),r8=e=>Array.isArray(e)&&typeof e[0]!="number",nE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rE=e=>t=>1-e(1-t),oE=e=>1-Math.sin(Math.acos(e)),Jv=rE(oE),o8=nE(Jv),iE=sc(.33,1.53,.69,.99),ey=rE(iE),i8=nE(ey),a8=e=>(e*=2)<1?.5*ey(e):.5*(2-Math.pow(2,-10*(e-1))),s8={linear:Ke,easeIn:t8,easeInOut:tE,easeOut:n8,circIn:oE,circInOut:o8,circOut:Jv,backIn:ey,backInOut:i8,backOut:iE,anticipate:a8},tx=e=>{if(Array.isArray(e)){Zv(e.length===4);const[t,n,r,o]=e;return sc(t,n,r,o)}else if(typeof e=="string")return s8[e];return e},ty=(e,t)=>n=>!!(ic(n)&&aB.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),aE=(e,t,n)=>r=>{if(!ic(r))return r;const[o,i,a,s]=r.match(Gf);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},l8=e=>Io(0,255,e),Jh={...Pi,transform:e=>Math.round(l8(e))},si={test:ty("rgb","red"),parse:aE("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Jh.transform(e)+", "+Jh.transform(t)+", "+Jh.transform(n)+", "+el(Js.transform(r))+")"};function c8(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Hg={test:ty("#"),parse:c8,transform:si.transform},ca={test:ty("hsl","hue"),parse:aE("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ur.transform(el(t))+", "+ur.transform(el(n))+", "+el(Js.transform(r))+")"},Lt={test:e=>si.test(e)||Hg.test(e)||ca.test(e),parse:e=>si.test(e)?si.parse(e):ca.test(e)?ca.parse(e):Hg.parse(e),transform:e=>ic(e)?e:e.hasOwnProperty("red")?si.transform(e):ca.transform(e)},He=(e,t,n)=>-n*e+n*t+e;function em(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function u8({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=em(l,s,e+1/3),i=em(l,s,e),a=em(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}const tm=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},d8=[Hg,si,ca],f8=e=>d8.find(t=>t.test(e));function nx(e){const t=f8(e);let n=t.parse(e);return t===ca&&(n=u8(n)),n}const sE=(e,t)=>{const n=nx(e),r=nx(t),o={...n};return i=>(o.red=tm(n.red,r.red,i),o.green=tm(n.green,r.green,i),o.blue=tm(n.blue,r.blue,i),o.alpha=He(n.alpha,r.alpha,i),si.transform(o))};function p8(e){var t,n;return isNaN(e)&&ic(e)&&(((t=e.match(Gf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(j5))===null||n===void 0?void 0:n.length)||0)>0}const lE={regex:oB,countKey:"Vars",token:"${v}",parse:Ke},cE={regex:j5,countKey:"Colors",token:"${c}",parse:Lt.parse},uE={regex:Gf,countKey:"Numbers",token:"${n}",parse:Pi.parse};function nm(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function Vd(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&nm(n,lE),nm(n,cE),nm(n,uE),n}function dE(e){return Vd(e).values}function fE(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Vd(e),i=t.length;return a=>{let s=o;for(let l=0;ltypeof e=="number"?0:e;function m8(e){const t=dE(e);return fE(e)(t.map(h8))}const zo={test:p8,parse:dE,createTransformer:fE,getAnimatableNone:m8},pE=(e,t)=>n=>`${n>0?t:e}`;function hE(e,t){return typeof e=="number"?n=>He(e,t,n):Lt.test(e)?sE(e,t):e.startsWith("var(")?pE(e,t):gE(e,t)}const mE=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,a)=>hE(i,t[a]));return i=>{for(let a=0;a{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=hE(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}},gE=(e,t)=>{const n=zo.createTransformer(t),r=Vd(e),o=Vd(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Ao(mE(r.values,o.values),n):pE(e,t)},Fl=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},rx=(e,t)=>n=>He(e,t,n);function v8(e){return typeof e=="number"?rx:typeof e=="string"?Lt.test(e)?sE:gE:Array.isArray(e)?mE:typeof e=="object"?g8:rx}function y8(e,t,n){const r=[],o=n||v8(e[0]),i=e.length-1;for(let a=0;at[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=y8(t,r,o),s=a.length,l=c=>{let d=0;if(s>1)for(;dl(Io(e[0],e[i-1],c)):l}function b8(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Fl(0,t,r);e.push(He(n,1,o))}}function w8(e){const t=[0];return b8(t,e.length-1),t}function x8(e,t){return e.map(n=>n*t)}function S8(e,t){return e.map(()=>t||tE).splice(0,e.length-1)}function Ud({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=r8(r)?r.map(tx):tx(r),i={done:!1,value:t[0]},a=x8(n&&n.length===t.length?n:w8(t),e),s=vE(a,t,{ease:Array.isArray(o)?o:S8(t,o)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}function yE(e,t){return t?e*(1e3/t):0}const k8=5;function bE(e,t,n){const r=Math.max(t-k8,0);return yE(n-e(r),t-r)}const rm=.001,C8=.01,ox=10,E8=.05,P8=1;function T8({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;YB(e<=_o(ox));let a=1-t;a=Io(E8,P8,a),e=Io(C8,ox,Lr(e)),a<1?(o=c=>{const d=c*a,p=d*e,h=d-n,y=Wg(c,a),b=Math.exp(-p);return rm-h/y*b},i=c=>{const p=c*a*e,h=p*n+n,y=Math.pow(a,2)*Math.pow(c,2)*e,b=Math.exp(-p),m=Wg(Math.pow(c,2),a);return(-o(c)+rm>0?-1:1)*((h-y)*b)/m}):(o=c=>{const d=Math.exp(-c*e),p=(c-n)*e+1;return-rm+d*p},i=c=>{const d=Math.exp(-c*e),p=(n-c)*(e*e);return d*p});const s=5/e,l=_8(o,i,s);if(e=_o(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}const A8=12;function _8(e,t,n){let r=n;for(let o=1;oe[n]!==void 0)}function O8(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ix(e,$8)&&ix(e,R8)){const n=T8(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function wE({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:d,duration:p,isResolvedFromDuration:h}=O8(r),y=d?-Lr(d):0,b=l/(2*Math.sqrt(s*c)),m=i-o,E=Lr(Math.sqrt(s/c)),w=Math.abs(m)<5;n||(n=w?.01:2),t||(t=w?.005:.5);let v;if(b<1){const S=Wg(E,b);v=T=>{const R=Math.exp(-b*E*T);return i-R*((y+b*E*m)/S*Math.sin(S*T)+m*Math.cos(S*T))}}else if(b===1)v=S=>i-Math.exp(-E*S)*(m+(y+E*m)*S);else{const S=E*Math.sqrt(b*b-1);v=T=>{const R=Math.exp(-b*E*T),j=Math.min(S*T,300);return i-R*((y+b*E*m)*Math.sinh(j)+S*m*Math.cosh(j))/S}}return{calculatedDuration:h&&p||null,next:S=>{const T=v(S);if(h)a.done=S>=p;else{let R=y;S!==0&&(b<1?R=bE(v,S,T):R=0);const j=Math.abs(R)<=n,O=Math.abs(i-T)<=t;a.done=j&&O}return a.value=a.done?i:T,a}}}function ax({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:d}){const p=e[0],h={done:!1,value:p},y=I=>s!==void 0&&Il,b=I=>s===void 0?l:l===void 0||Math.abs(s-I)-m*Math.exp(-I/r),S=I=>w+v(I),T=I=>{const F=v(I),V=S(I);h.done=Math.abs(F)<=c,h.value=h.done?w:V};let R,j;const O=I=>{y(h.value)&&(R=I,j=wE({keyframes:[h.value,b(h.value)],velocity:bE(S,I,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:d}))};return O(0),{calculatedDuration:null,next:I=>{let F=!1;return!j&&R===void 0&&(F=!0,T(I),O(I)),R!==void 0&&I>R?j.next(I-R):(!F&&T(I),h)}}}const j8=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Oe.update(t,!0),stop:()=>Ur(t),now:()=>ft.isProcessing?ft.timestamp:performance.now()}},sx=2e4;function lx(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=sx?1/0:t}const L8={decay:ax,inertia:ax,tween:Ud,keyframes:Ud,spring:wE};function Hd({autoplay:e=!0,delay:t=0,driver:n=j8,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:d,onUpdate:p,...h}){let y=1,b=!1,m,E;const w=()=>{E=new Promise(q=>{m=q})};w();let v;const S=L8[o]||Ud;let T;S!==Ud&&typeof r[0]!="number"&&(T=vE([0,100],r,{clamp:!1}),r=[0,100]);const R=S({...h,keyframes:r});let j;s==="mirror"&&(j=S({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let O="idle",I=null,F=null,V=null;R.calculatedDuration===null&&i&&(R.calculatedDuration=lx(R));const{calculatedDuration:ie}=R;let Pe=1/0,re=1/0;ie!==null&&(Pe=ie+a,re=Pe*(i+1)-a);let fe=0;const te=q=>{if(F===null)return;y>0&&(F=Math.min(F,q)),y<0&&(F=Math.min(q-re/y,F)),I!==null?fe=I:fe=Math.round(q-F)*y;const ae=fe-t*(y>=0?1:-1),J=y>=0?ae<0:ae>re;fe=Math.max(ae,0),O==="finished"&&I===null&&(fe=re);let Y=fe,oe=R;if(i){const pn=fe/Pe;let An=Math.floor(pn),$t=pn%1;!$t&&pn>=1&&($t=1),$t===1&&An--,An=Math.min(An,i+1);const pr=!!(An%2);pr&&(s==="reverse"?($t=1-$t,a&&($t-=a/Pe)):s==="mirror"&&(oe=j));let Ai=Io(0,1,$t);fe>re&&(Ai=s==="reverse"&&pr?1:0),Y=Ai*Pe}const ne=J?{done:!1,value:r[0]}:oe.next(Y);T&&(ne.value=T(ne.value));let{done:gt}=ne;!J&&ie!==null&&(gt=y>=0?fe>=re:fe<=0);const vt=I===null&&(O==="finished"||O==="running"&>);return p&&p(ne.value),vt&&N(),ne},D=()=>{v&&v.stop(),v=void 0},me=()=>{O="idle",D(),m(),w(),F=V=null},N=()=>{O="finished",d&&d(),D(),m()},X=()=>{if(b)return;v||(v=n(te));const q=v.now();l&&l(),I!==null?F=q-I:(!F||O==="finished")&&(F=q),O==="finished"&&w(),V=F,I=null,O="running",v.start()};e&&X();const K={then(q,ae){return E.then(q,ae)},get time(){return Lr(fe)},set time(q){q=_o(q),fe=q,I!==null||!v||y===0?I=q:F=v.now()-q/y},get duration(){const q=R.calculatedDuration===null?lx(R):R.calculatedDuration;return Lr(q)},get speed(){return y},set speed(q){q===y||!v||(y=q,K.time=Lr(fe))},get state(){return O},play:X,pause:()=>{O="paused",I=fe},stop:()=>{b=!0,O!=="idle"&&(O="idle",c&&c(),me())},cancel:()=>{V!==null&&te(V),me()},complete:()=>{O="finished"},sample:q=>(F=0,te(q))};return K}function I8(e){let t;return()=>(t===void 0&&(t=e()),t)}const z8=I8(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),M8=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),mu=10,N8=2e4,F8=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Q5(t.ease);function D8(e,t,{onUpdate:n,onComplete:r,...o}){if(!(z8()&&M8.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,s,l;const c=()=>{l=new Promise(v=>{s=v})};c();let{keyframes:d,duration:p=300,ease:h,times:y}=o;if(F8(t,o)){const v=Hd({...o,repeat:0,delay:0});let S={done:!1,value:d[0]};const T=[];let R=0;for(;!S.done&&Rb.cancel(),E=()=>{Oe.update(m),s(),c()};return b.onfinish=()=>{e.set(QB(d,o)),r&&r(),E()},{then(v,S){return l.then(v,S)},attachTimeline(v){return b.timeline=v,b.onfinish=null,Ke},get time(){return Lr(b.currentTime||0)},set time(v){b.currentTime=_o(v)},get speed(){return b.playbackRate},set speed(v){b.playbackRate=v},get duration(){return Lr(p)},play:()=>{a||(b.play(),Ur(m))},pause:()=>b.pause(),stop:()=>{if(a=!0,b.playState==="idle")return;const{currentTime:v}=b;if(v){const S=Hd({...o,autoplay:!1});e.setWithVelocity(S.sample(v-mu).value,S.sample(v).value,mu)}E()},complete:()=>b.finish(),cancel:E}}function B8({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Ke,pause:Ke,stop:Ke,then:i=>(i(),Promise.resolve()),cancel:Ke,complete:Ke});return t?Hd({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const V8={type:"spring",stiffness:500,damping:25,restSpeed:10},U8=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),H8={type:"keyframes",duration:.8},W8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},q8=(e,{keyframes:t})=>t.length>2?H8:Ei.has(e)?e.startsWith("scale")?U8(t[1]):V8:W8,qg=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(zo.test(t)||t==="0")&&!t.startsWith("url(")),G8=new Set(["brightness","contrast","saturate","opacity"]);function Y8(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Gf)||[];if(!r)return e;const o=n.replace(r,"");let i=G8.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const K8=/([a-z-]*)\(.*?\)/g,Gg={...zo,getAnimatableNone:e=>{const t=e.match(K8);return t?t.map(Y8).join(" "):e}},X8={...L5,color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,filter:Gg,WebkitFilter:Gg},ny=e=>X8[e];function xE(e,t){let n=ny(e);return n!==Gg&&(n=zo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const SE=e=>/^0[^.\s]+$/.test(e);function Q8(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||SE(e)}function Z8(e,t,n,r){const o=qg(t,n);let i;Array.isArray(n)?i=[...n]:i=[null,n];const a=r.from!==void 0?r.from:e.get();let s;const l=[];for(let c=0;co=>{const i=kE(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s=s-_o(a);const l=Z8(t,e,n,i),c=l[0],d=l[l.length-1],p=qg(e,c),h=qg(e,d);let y={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:b=>{t.set(b),i.onUpdate&&i.onUpdate(b)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(J8(i)||(y={...y,...q8(e,y)}),y.duration&&(y.duration=_o(y.duration)),y.repeatDelay&&(y.repeatDelay=_o(y.repeatDelay)),!p||!h||KB.current||i.type===!1)return B8(y);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=D8(t,e,y);if(b)return b}return Hd(y)};function Wd(e){return!!(Qt(e)&&e.add)}const CE=e=>/^\-?\d*\.?\d+$/.test(e);function oy(e,t){e.indexOf(t)===-1&&e.push(t)}function iy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ay{constructor(){this.subscriptions=[]}add(t){return oy(this.subscriptions,t),()=>iy(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class t7{constructor(t,n={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:i,timestamp:a}=ft;this.lastUpdated!==a&&(this.timeDelta=i,this.lastUpdated=a,Oe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Oe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=e7(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ay);const r=this.events[t].add(n);return t==="change"?()=>{r(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?yE(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function za(e,t){return new t7(e,t)}const EE=e=>t=>t.test(e),n7={test:e=>e==="auto",parse:e=>e},PE=[Pi,ee,ur,oo,lB,sB,n7],Ss=e=>PE.find(EE(e)),r7=[...PE,Lt,zo],o7=e=>r7.find(EE(e));function i7(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,za(n))}function a7(e,t){const n=Kf(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const a in i){const s=SB(i[a]);i7(e,a,s)}}function s7(e,t,n){var r,o;const i=Object.keys(t).filter(s=>!e.hasValue(s)),a=i.length;if(a)for(let s=0;sl.remove(p))),c.push(m)}return a&&Promise.all(c).then(()=>{a&&a7(e,a)}),c}function Yg(e,t,n={}){const r=Kf(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(TE(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:p}=o;return d7(e,t,c+l,d,p,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[l,c]=s==="beforeChildren"?[i,a]:[a,i];return l().then(()=>c())}else return Promise.all([i(),a(n.delay)])}function d7(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=o===1?(c=0)=>c*r:(c=0)=>s-c*r;return Array.from(e.variantChildren).sort(f7).forEach((c,d)=>{c.notify("AnimationStart",t),a.push(Yg(c,t,{...i,delay:n+l(d)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function f7(e,t){return e.sortNodePosition(t)}function p7(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Yg(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Yg(e,t,n);else{const o=typeof t=="function"?Kf(e,t,n.custom):t;r=Promise.all(TE(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const h7=[...Bv].reverse(),m7=Bv.length;function g7(e){return t=>Promise.all(t.map(({animation:n,options:r})=>p7(e,n,r)))}function v7(e){let t=g7(e);const n=b7();let r=!0;const o=(l,c)=>{const d=Kf(e,c);if(d){const{transition:p,transitionEnd:h,...y}=d;l={...l,...y,...h}}return l};function i(l){t=l(e)}function a(l,c){const d=e.getProps(),p=e.getVariantContext(!0)||{},h=[],y=new Set;let b={},m=1/0;for(let w=0;wm&&R;const V=Array.isArray(T)?T:[T];let ie=V.reduce(o,{});j===!1&&(ie={});const{prevResolvedValues:Pe={}}=S,re={...Pe,...ie},fe=te=>{F=!0,y.delete(te),S.needsAnimating[te]=!0};for(const te in re){const D=ie[te],me=Pe[te];b.hasOwnProperty(te)||(D!==me?Bd(D)&&Bd(me)?!K5(D,me)||I?fe(te):S.protectedKeys[te]=!0:D!==void 0?fe(te):y.add(te):D!==void 0&&y.has(te)?fe(te):S.protectedKeys[te]=!0)}S.prevProp=T,S.prevResolvedValues=ie,S.isActive&&(b={...b,...ie}),r&&e.blockInitialAnimation&&(F=!1),F&&!O&&h.push(...V.map(te=>({animation:te,options:{type:v,...l}})))}if(y.size){const w={};y.forEach(v=>{const S=e.getBaseTarget(v);S!==void 0&&(w[v]=S)}),h.push({animation:w})}let E=!!h.length;return r&&d.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(h):Promise.resolve()}function s(l,c,d){var p;if(n[l].isActive===c)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(y=>{var b;return(b=y.animationState)===null||b===void 0?void 0:b.setActive(l,c)}),n[l].isActive=c;const h=a(d,l);for(const y in n)n[y].protectedKeys={};return h}return{animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>n}}function y7(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!K5(t,e):!1}function Yo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function b7(){return{animate:Yo(!0),whileInView:Yo(),whileHover:Yo(),whileTap:Yo(),whileDrag:Yo(),whileFocus:Yo(),exit:Yo()}}class w7 extends Bo{constructor(t){super(t),t.animationState||(t.animationState=v7(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Wf(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let x7=0;class S7 extends Bo{constructor(){super(...arguments),this.id=x7++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const k7={animation:{Feature:w7},exit:{Feature:S7}},cx=(e,t)=>Math.abs(e-t);function C7(e,t){const n=cx(e.x,t.x),r=cx(e.y,t.y);return Math.sqrt(n**2+r**2)}class AE{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=im(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=C7(c.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:h}=c,{timestamp:y}=ft;this.history.push({...h,timestamp:y});const{onStart:b,onMove:m}=this.handlers;d||(b&&b(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,c)},this.handlePointerMove=(c,d)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=om(d,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(c,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:h}=this.handlers,y=im(c.type==="pointercancel"?this.lastMoveEventInfo:om(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(c,y),h&&h(c,y)},!H5(t))return;this.handlers=n,this.transformPagePoint=r;const o=Yf(t),i=om(o,this.transformPagePoint),{point:a}=i,{timestamp:s}=ft;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,im(i,this.history)),this.removeListeners=Ao(jr(window,"pointermove",this.handlePointerMove),jr(window,"pointerup",this.handlePointerUp),jr(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ur(this.updatePoint)}}function om(e,t){return t?{point:t(e.point)}:e}function ux(e,t){return{x:e.x-t.x,y:e.y-t.y}}function im({point:e},t){return{point:e,delta:ux(e,_E(t)),offset:ux(e,E7(t)),velocity:P7(t,.1)}}function E7(e){return e[0]}function _E(e){return e[e.length-1]}function P7(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=_E(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_o(t)));)n--;if(!r)return{x:0,y:0};const i=Lr(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function sn(e){return e.max-e.min}function Kg(e,t=0,n=.01){return Math.abs(e-t)<=n}function dx(e,t,n,r=.5){e.origin=r,e.originPoint=He(t.min,t.max,e.origin),e.scale=sn(n)/sn(t),(Kg(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=He(n.min,n.max,e.origin)-e.originPoint,(Kg(e.translate)||isNaN(e.translate))&&(e.translate=0)}function tl(e,t,n,r){dx(e.x,t.x,n.x,r?r.originX:void 0),dx(e.y,t.y,n.y,r?r.originY:void 0)}function fx(e,t,n){e.min=n.min+t.min,e.max=e.min+sn(t)}function T7(e,t,n){fx(e.x,t.x,n.x),fx(e.y,t.y,n.y)}function px(e,t,n){e.min=t.min-n.min,e.max=e.min+sn(t)}function nl(e,t,n){px(e.x,t.x,n.x),px(e.y,t.y,n.y)}function A7(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?He(n,e,r.max):Math.min(e,n)),e}function hx(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function _7(e,{top:t,left:n,bottom:r,right:o}){return{x:hx(e.x,n,o),y:hx(e.y,t,r)}}function mx(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Fl(t.min,t.max-r,e.min):r>o&&(n=Fl(e.min,e.max-o,t.min)),Io(0,1,n)}function O7(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Xg=.35;function j7(e=Xg){return e===!1?e=0:e===!0&&(e=Xg),{x:gx(e,"left","right"),y:gx(e,"top","bottom")}}function gx(e,t,n){return{min:vx(e,t),max:vx(e,n)}}function vx(e,t){return typeof e=="number"?e:e[t]||0}const yx=()=>({translate:0,scale:1,origin:0,originPoint:0}),ua=()=>({x:yx(),y:yx()}),bx=()=>({min:0,max:0}),et=()=>({x:bx(),y:bx()});function Qn(e){return[e("x"),e("y")]}function RE({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function L7({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function I7(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function am(e){return e===void 0||e===1}function Qg({scale:e,scaleX:t,scaleY:n}){return!am(e)||!am(t)||!am(n)}function Qo(e){return Qg(e)||$E(e)||e.z||e.rotate||e.rotateX||e.rotateY}function $E(e){return wx(e.x)||wx(e.y)}function wx(e){return e&&e!=="0%"}function qd(e,t,n){const r=e-n,o=t*r;return n+o}function xx(e,t,n,r,o){return o!==void 0&&(e=qd(e,o,r)),qd(e,n,r)+t}function Zg(e,t=0,n=1,r,o){e.min=xx(e.min,t,n,r,o),e.max=xx(e.max,t,n,r,o)}function OE(e,{x:t,y:n}){Zg(e.x,t.translate,t.scale,t.originPoint),Zg(e.y,n.translate,n.scale,n.originPoint)}function z7(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,a;for(let s=0;s1.0000000000001||e<.999999999999?e:1}function so(e,t){e.min=e.min+t,e.max=e.max+t}function kx(e,t,[n,r,o]){const i=t[o]!==void 0?t[o]:.5,a=He(e.min,e.max,i);Zg(e,t[n],t[r],a,t.scale)}const M7=["x","scaleX","originX"],N7=["y","scaleY","originY"];function da(e,t){kx(e.x,t,M7),kx(e.y,t,N7)}function jE(e,t){return RE(I7(e.getBoundingClientRect(),t))}function F7(e,t,n){const r=jE(e,n),{scroll:o}=t;return o&&(so(r.x,o.offset.x),so(r.y,o.offset.y)),r}const D7=new WeakMap;class B7{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=et(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=l=>{this.stopAnimation(),n&&this.snapToCursor(Yf(l,"page").point)},i=(l,c)=>{const{drag:d,dragPropagation:p,onDragStart:h}=this.getProps();if(d&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=q5(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qn(b=>{let m=this.getAxisMotionValue(b).get()||0;if(ur.test(m)){const{projection:E}=this.visualElement;if(E&&E.layout){const w=E.layout.layoutBox[b];w&&(m=sn(w)*(parseFloat(m)/100))}}this.originPoint[b]=m}),h&&Oe.update(()=>h(l,c),!1,!0);const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},a=(l,c)=>{const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:h,onDrag:y}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:b}=c;if(p&&this.currentDirection===null){this.currentDirection=V7(b),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",c.point,b),this.updateAxis("y",c.point,b),this.visualElement.render(),y&&y(l,c)},s=(l,c)=>this.stop(l,c);this.panSession=new AE(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&Oe.update(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!gu(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=A7(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},o=this.constraints;t&&la(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=_7(r.layoutBox,t):this.constraints=!1,this.elastic=j7(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Qn(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=O7(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!la(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=F7(r,o.root,this.visualElement.getTransformPagePoint());let a=R7(o.layout.layoutBox,i);if(n){const s=n(L7(a));this.hasMutatedConstraints=!!s,s&&(a=RE(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=Qn(d=>{if(!gu(d,n,this.currentDirection))return;let p=l&&l[d]||{};a&&(p={min:0,max:0});const h=o?200:1e6,y=o?40:1e7,b={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...i,...p};return this.startAxisValueAnimation(d,b)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(ry(t,r,0,n))}stopAnimation(){Qn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Qn(n=>{const{drag:r}=this.getProps();if(!gu(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:s}=o.layout.layoutBox[n];i.set(t[n]-He(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!la(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Qn(a=>{const s=this.getAxisMotionValue(a);if(s){const l=s.get();o[a]=$7({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Qn(a=>{if(!gu(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(He(l,c,o[a]))})}addListeners(){if(!this.visualElement.current)return;D7.set(this.visualElement,this);const t=this.visualElement.current,n=jr(t,"pointerdown",l=>{const{drag:c,dragListener:d=!0}=this.getProps();c&&d&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();la(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const a=_r(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Qn(d=>{const p=this.getAxisMotionValue(d);p&&(this.originPoint[d]+=l[d].translate,p.set(p.get()+l[d].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Xg,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s}}}function gu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function V7(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class U7 extends Bo{constructor(t){super(t),this.removeGroupControls=Ke,this.removeListeners=Ke,this.controls=new B7(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ke}unmount(){this.removeGroupControls(),this.removeListeners()}}const Cx=e=>(t,n)=>{e&&Oe.update(()=>e(t,n))};class H7 extends Bo{constructor(){super(...arguments),this.removePointerDownListener=Ke}onPointerDown(t){this.session=new AE(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Cx(t),onStart:Cx(n),onMove:r,onEnd:(i,a)=>{delete this.session,o&&Oe.update(()=>o(i,a))}}}mount(){this.removePointerDownListener=jr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function W7(){const e=k.useContext(rc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=k.useId();return k.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}function q7(){return G7(k.useContext(rc))}function G7(e){return e===null?!0:e.isPresent}const Qu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ex(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ks={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Ex(e,t.target.x),r=Ex(e,t.target.y);return`${n}% ${r}%`}},Y7={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=zo.parse(e);if(o.length>5)return r;const i=zo.createTransformer(e),a=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=He(s,l,.5);return typeof o[2+a]=="number"&&(o[2+a]/=c),typeof o[3+a]=="number"&&(o[3+a]/=c),i(o)}};class K7 extends Be.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;eB(X7),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Qu.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,a=r.projection;return a&&(a.isPresent=i,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||Oe.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function LE(e){const[t,n]=W7(),r=k.useContext(Uv);return Be.createElement(K7,{...e,layoutGroup:r,switchLayoutGroup:k.useContext(_5),isPresent:t,safeToRemove:n})}const X7={borderRadius:{...ks,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ks,borderTopRightRadius:ks,borderBottomLeftRadius:ks,borderBottomRightRadius:ks,boxShadow:Y7},IE=["TopLeft","TopRight","BottomLeft","BottomRight"],Q7=IE.length,Px=e=>typeof e=="string"?parseFloat(e):e,Tx=e=>typeof e=="number"||ee.test(e);function Z7(e,t,n,r,o,i){o?(e.opacity=He(0,n.opacity!==void 0?n.opacity:1,J7(r)),e.opacityExit=He(t.opacity!==void 0?t.opacity:1,0,e9(r))):i&&(e.opacity=He(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;art?1:n(Fl(e,t,r))}function _x(e,t){e.min=t.min,e.max=t.max}function yn(e,t){_x(e.x,t.x),_x(e.y,t.y)}function Rx(e,t,n,r,o){return e-=t,e=qd(e,1/n,r),o!==void 0&&(e=qd(e,1/o,r)),e}function t9(e,t=0,n=1,r=.5,o,i=e,a=e){if(ur.test(t)&&(t=parseFloat(t),t=He(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=He(i.min,i.max,r);e===i&&(s-=t),e.min=Rx(e.min,t,n,s,o),e.max=Rx(e.max,t,n,s,o)}function $x(e,t,[n,r,o],i,a){t9(e,t[n],t[r],t[o],t.scale,i,a)}const n9=["x","scaleX","originX"],r9=["y","scaleY","originY"];function Ox(e,t,n,r){$x(e.x,t,n9,n?n.x:void 0,r?r.x:void 0),$x(e.y,t,r9,n?n.y:void 0,r?r.y:void 0)}function jx(e){return e.translate===0&&e.scale===1}function ME(e){return jx(e.x)&&jx(e.y)}function o9(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function NE(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Lx(e){return sn(e.x)/sn(e.y)}class i9{constructor(){this.members=[]}add(t){oy(this.members,t),t.scheduleRender()}remove(t){if(iy(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ix(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:c,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const a9=(e,t)=>e.depth-t.depth;class s9{constructor(){this.children=[],this.isDirty=!1}add(t){oy(this.children,t),this.isDirty=!0}remove(t){iy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(a9),this.isDirty=!1,this.children.forEach(t)}}function l9(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Ur(r),e(i-t))};return Oe.read(r,!0),()=>Ur(r)}function c9(e){window.MotionDebug&&window.MotionDebug.record(e)}function u9(e){return e instanceof SVGElement&&e.tagName!=="svg"}function d9(e,t,n){const r=Qt(e)?e:za(e);return r.start(ry("",r,t,n)),r.animation}const zx=["","X","Y","Z"],Mx=1e3;let f9=0;const Zo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function FE({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},s=t==null?void 0:t()){this.id=f9++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{Zo.totalNodes=Zo.resolvedTargetDeltas=Zo.recalculatedProjection=0,this.nodes.forEach(m9),this.nodes.forEach(w9),this.nodes.forEach(x9),this.nodes.forEach(g9),c9(Zo)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=l9(h,250),Qu.hasAnimatedSinceResize&&(Qu.hasAnimatedSinceResize=!1,this.nodes.forEach(Fx))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:h,hasRelativeTargetChanged:y,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||d.getDefaultTransition()||P9,{onLayoutAnimationStart:E,onLayoutAnimationComplete:w}=d.getProps(),v=!this.targetLayout||!NE(this.targetLayout,b)||y,S=!h&&y;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||S||h&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,S);const T={...kE(m,"layout"),onPlay:E,onComplete:w};(d.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else h||Fx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ur(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(S9),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;dthis.update()))}clearAllSnapshots(){this.nodes.forEach(v9),this.sharedNodes.forEach(k9)}scheduleUpdateProjection(){Oe.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const R=T/1e3;Dx(p.x,a.x,R),Dx(p.y,a.y,R),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),C9(this.relativeTarget,this.relativeTargetOrigin,h,R),S&&o9(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=et()),yn(S,this.relativeTarget)),m&&(this.animationValues=d,Z7(d,c,this.latestValues,R,v,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=R},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ur(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{Qu.hasAnimatedSinceResize=!0,this.currentAnimation=d9(0,Mx,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Mx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:c,latestValues:d}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&DE(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||et();const p=sn(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+p;const h=sn(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+h}yn(s,l),da(s,d),tl(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new i9),this.sharedNodes.get(a).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const c={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Nx),this.root.sharedNodes.clear()}}}function p9(e){e.updateLayout()}function h9(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,a=n.source!==e.layout.source;i==="size"?Qn(p=>{const h=a?n.measuredBox[p]:n.layoutBox[p],y=sn(h);h.min=r[p].min,h.max=h.min+y}):DE(i,n.layoutBox,r)&&Qn(p=>{const h=a?n.measuredBox[p]:n.layoutBox[p],y=sn(r[p]);h.max=h.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+y)});const s=ua();tl(s,r,n.layoutBox);const l=ua();a?tl(l,e.applyTransform(o,!0),n.measuredBox):tl(l,r,n.layoutBox);const c=!ME(s);let d=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:h,layout:y}=p;if(h&&y){const b=et();nl(b,n.layoutBox,h.layoutBox);const m=et();nl(m,r,y.layoutBox),NE(b,m)||(d=!0),p.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=b,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function m9(e){Zo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function g9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function v9(e){e.clearSnapshot()}function Nx(e){e.clearMeasurements()}function y9(e){e.isLayoutDirty=!1}function b9(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Fx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function w9(e){e.resolveTargetDelta()}function x9(e){e.calcProjection()}function S9(e){e.resetRotation()}function k9(e){e.removeLeadSnapshot()}function Dx(e,t,n){e.translate=He(t.translate,0,n),e.scale=He(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Bx(e,t,n,r){e.min=He(t.min,n.min,r),e.max=He(t.max,n.max,r)}function C9(e,t,n,r){Bx(e.x,t.x,n.x,r),Bx(e.y,t.y,n.y,r)}function E9(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const P9={duration:.45,ease:[.4,0,.1,1]},Vx=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Ux=Vx("applewebkit/")&&!Vx("chrome/")?Math.round:Ke;function Hx(e){e.min=Ux(e.min),e.max=Ux(e.max)}function T9(e){Hx(e.x),Hx(e.y)}function DE(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kg(Lx(t),Lx(n),.2)}const A9=FE({attachResizeListener:(e,t)=>_r(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sm={current:void 0},BE=FE({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sm.current){const e=new A9({});e.mount(window),e.setOptions({layoutScroll:!0}),sm.current=e}return sm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),_9={pan:{Feature:H7},drag:{Feature:U7,ProjectionNode:BE,MeasureLayout:LE}},R9=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function $9(e){const t=R9.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Jg(e,t,n=1){const[r,o]=$9(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return CE(a)?parseFloat(a):a}else return Vg(o)?Jg(o,t,n+1):o}function O9(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const i=o.get();if(!Vg(i))return;const a=Jg(i,r);a&&o.set(a)});for(const o in t){const i=t[o];if(!Vg(i))continue;const a=Jg(i,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=i))}return{target:t,transitionEnd:n}}const j9=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),VE=e=>j9.has(e),L9=e=>Object.keys(e).some(VE),Wx=e=>e===Pi||e===ee,qx=(e,t)=>parseFloat(e.split(", ")[t]),Gx=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return qx(o[1],t);{const i=r.match(/^matrix\((.+)\)$/);return i?qx(i[1],e):0}},I9=new Set(["x","y","z"]),z9=oc.filter(e=>!I9.has(e));function M9(e){const t=[];return z9.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Ma={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Gx(4,13),y:Gx(5,14)};Ma.translateX=Ma.x;Ma.translateY=Ma.y;const N9=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{s[c]=Ma[c](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(c=>{const d=t.getValue(c);d&&d.jump(s[c]),e[c]=Ma[c](l,i)}),e},F9=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(VE);let i=[],a=!1;const s=[];if(o.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],p=Ss(d);const h=t[l];let y;if(Bd(h)){const b=h.length,m=h[0]===null?1:0;d=h[m],p=Ss(d);for(let E=m;E=0?window.pageYOffset:null,c=N9(t,e,s);return i.length&&i.forEach(([d,p])=>{e.getValue(d).set(p)}),e.render(),Hf&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:t,transitionEnd:r}};function D9(e,t,n,r){return L9(t)?F9(e,t,n,r):{target:t,transitionEnd:r}}const B9=(e,t,n,r)=>{const o=O9(e,t,r);return t=o.target,r=o.transitionEnd,D9(e,t,n,r)},e0={current:null},UE={current:!1};function V9(){if(UE.current=!0,!!Hf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>e0.current=e.matches;e.addListener(t),t()}else e0.current=!1}function U9(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],a=n[o];if(Qt(i))e.addValue(o,i),Wd(r)&&r.add(o);else if(Qt(a))e.addValue(o,za(i,{owner:e})),Wd(r)&&r.remove(o);else if(a!==i)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,za(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const Yx=new WeakMap,HE=Object.keys(Nl),H9=HE.length,Kx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],W9=Vv.length;class q9{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Oe.render(this.render,!1,!0);const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.isControllingVariants=qf(n),this.isVariantNode=A5(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{});for(const p in d){const h=d[p];s[p]!==void 0&&Qt(h)&&(h.set(s[p],!1),Wd(c)&&c.add(p))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Yx.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),UE.current||V9(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:e0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Yx.delete(this.current),this.projection&&this.projection.unmount(),Ur(this.notifyUpdate),Ur(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Ei.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Oe.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,i){let a,s;for(let l=0;lthis.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:h,layoutRoot:y})}return s}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):et()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=za(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=Qv(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Qt(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ay),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class WE extends q9{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},i){let a=c7(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),i){s7(this,r,a);const s=B9(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function G9(e){return window.getComputedStyle(e)}class Y9 extends WE{readValueFromInstance(t,n){if(Ei.has(n)){const r=ny(n);return r&&r.default||0}else{const r=G9(t),o=(O5(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return jE(t,n)}build(t,n,r,o){Wv(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Xv(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Qt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){N5(t,n,r,o)}}class K9 extends WE{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ei.has(n)){const r=ny(n);return r&&r.default||0}return n=F5.has(n)?n:Kv(n),t.getAttribute(n)}measureInstanceViewportBox(){return et()}scrapeMotionValuesFromProps(t,n){return B5(t,n)}build(t,n,r,o){Gv(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){D5(t,n,r,o)}mount(t){this.isSVGTag=Yv(t.tagName),super.mount(t)}}const X9=(e,t)=>Hv(e)?new K9(t,{enableHardwareAcceleration:!1}):new Y9(t,{enableHardwareAcceleration:!0}),Q9={layout:{ProjectionNode:BE,MeasureLayout:LE}},Z9={...k7,...UB,..._9,...Q9},J9=ZD((e,t)=>RB(e,t,Z9,X9));function qE(){const e=k.useRef(!1);return Dv(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function eV(){const e=qE(),[t,n]=k.useState(0),r=k.useCallback(()=>{e.current&&n(t+1)},[t]);return[k.useCallback(()=>Oe.postRender(r),[r]),t]}class tV extends k.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function nV({children:e,isPresent:t}){const n=k.useId(),r=k.useRef(null),o=k.useRef({width:0,height:0,top:0,left:0});return k.useInsertionEffect(()=>{const{width:i,height:a,top:s,left:l}=o.current;if(t||!r.current||!i||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` + [data-motion-pop-id="${n}"] { + position: absolute !important; + width: ${i}px !important; + height: ${a}px !important; + top: ${s}px !important; + left: ${l}px !important; + } + `),()=>{document.head.removeChild(c)}},[t]),k.createElement(tV,{isPresent:t,childRef:r,sizeRef:o},k.cloneElement(e,{ref:r}))}const lm=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=V5(rV),l=k.useId(),c=k.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:d=>{s.set(d,!0);for(const p of s.values())if(!p)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),i?void 0:[n]);return k.useMemo(()=>{s.forEach((d,p)=>s.set(p,!1))},[n]),k.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=k.createElement(nV,{isPresent:n},e)),k.createElement(rc.Provider,{value:c},e)};function rV(){return new Map}function oV(e){return k.useEffect(()=>()=>e(),[])}const Di=e=>e.key||"";function iV(e,t){e.forEach(n=>{const r=Di(n);t.set(r,n)})}function aV(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const sV=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=k.useContext(Uv).forceRender||eV()[0],l=qE(),c=aV(e);let d=c;const p=k.useRef(new Map).current,h=k.useRef(d),y=k.useRef(new Map).current,b=k.useRef(!0);if(Dv(()=>{b.current=!1,iV(c,y),h.current=d}),oV(()=>{b.current=!0,y.clear(),p.clear()}),b.current)return k.createElement(k.Fragment,null,d.map(v=>k.createElement(lm,{key:Di(v),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:a},v)));d=[...d];const m=h.current.map(Di),E=c.map(Di),w=m.length;for(let v=0;v{if(E.indexOf(S)!==-1)return;const T=y.get(S);if(!T)return;const R=m.indexOf(S);let j=v;if(!j){const O=()=>{y.delete(S),p.delete(S);const I=h.current.findIndex(F=>F.key===S);if(h.current.splice(I,1),!p.size){if(h.current=c,l.current===!1)return;s(),r&&r()}};j=k.createElement(lm,{key:Di(T),isPresent:!1,onExitComplete:O,custom:t,presenceAffectsLayout:i,mode:a},T),p.set(S,j)}d.splice(R,0,j)}),d=d.map(v=>{const S=v.key;return p.has(S)?v:k.createElement(lm,{key:Di(v),isPresent:!0,presenceAffectsLayout:i,mode:a},v)}),k.createElement(k.Fragment,null,p.size?d:d.map(v=>k.cloneElement(v)))};var lV={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},GE=k.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=lV,toastSpacing:d="0.5rem"}=e,[p,h]=k.useState(s),y=q7();Ww(()=>{y||r==null||r()},[y]),Ww(()=>{h(s)},[s]);const b=()=>h(null),m=()=>h(s),E=()=>{y&&o()};k.useEffect(()=>{y&&i&&o()},[y,i,o]),UD(E,p);const w=k.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),v=k.useMemo(()=>DD(a),[a]);return x.jsx(J9.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:m,custom:{position:a},style:v,children:x.jsx(Un.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:w,children:vo(n,{id:t,onClose:E})})})});GE.displayName="ToastComponent";function cV(e){return x.jsx(Ga,{viewBox:"0 0 24 24",...e,children:x.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function uV(e){return x.jsx(Ga,{viewBox:"0 0 24 24",...e,children:x.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function Xx(e){return x.jsx(Ga,{viewBox:"0 0 24 24",...e,children:x.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var dV=F$({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),YE=Ci((e,t)=>{const n=Ov("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=Pv(e),c=qa("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${dV} ${i} linear infinite`,...n};return x.jsx(Un.div,{ref:t,__css:d,className:c,...l,children:r&&x.jsx(Un.span,{srOnly:!0,children:r})})});YE.displayName="Spinner";var[fV,sy]=nc({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[pV,ly]=nc({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),KE={info:{icon:uV,colorScheme:"blue"},warning:{icon:Xx,colorScheme:"orange"},success:{icon:cV,colorScheme:"green"},error:{icon:Xx,colorScheme:"red"},loading:{icon:YE,colorScheme:"blue"}};function hV(e){return KE[e].colorScheme}function mV(e){return KE[e].icon}var XE=Ci(function(t,n){const r=ly(),{status:o}=sy(),i={display:"inline",...r.description};return x.jsx(Un.div,{ref:n,"data-status":o,...t,className:qa("chakra-alert__desc",t.className),__css:i})});XE.displayName="AlertDescription";function QE(e){const{status:t}=sy(),n=mV(t),r=ly(),o=t==="loading"?r.spinner:r.icon;return x.jsx(Un.span,{display:"inherit","data-status":t,...e,className:qa("chakra-alert__icon",e.className),__css:o,children:e.children||x.jsx(n,{h:"100%",w:"100%"})})}QE.displayName="AlertIcon";var ZE=Ci(function(t,n){const r=ly(),{status:o}=sy();return x.jsx(Un.div,{ref:n,"data-status":o,...t,className:qa("chakra-alert__title",t.className),__css:r.title})});ZE.displayName="AlertTitle";var JE=Ci(function(t,n){var r;const{status:o="info",addRole:i=!0,...a}=Pv(t),s=(r=t.colorScheme)!=null?r:hV(o),l=FN("Alert",{...t,colorScheme:s}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return x.jsx(fV,{value:{status:o},children:x.jsx(pV,{value:l,children:x.jsx(Un.div,{"data-status":o,role:i?"alert":void 0,ref:n,...a,className:qa("chakra-alert",t.className),__css:c})})})});JE.displayName="Alert";function gV(e){return x.jsx(Ga,{focusable:"false","aria-hidden":!0,...e,children:x.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var eP=Ci(function(t,n){const r=Ov("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=Pv(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return x.jsx(Un.button,{type:"button","aria-label":"Close",ref:n,disabled:i,__css:{...l,...r,...a},...s,children:o||x.jsx(gV,{width:"1em",height:"1em"})})});eP.displayName="CloseButton";var vV={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},rl=yV(vV);function yV(e){let t=e;const n=new Set,r=o=>{t=o(t),n.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(n.add(o),()=>{r(()=>e),n.delete(o)}),removeToast:(o,i)=>{r(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=bV(o,i),{position:s,id:l}=a;return r(c=>{var d,p;const y=s.includes("top")?[a,...(d=c[s])!=null?d:[]]:[...(p=c[s])!=null?p:[],a];return{...c,[s]:y}}),l},update:(o,i)=>{o&&r(a=>{const s={...a},{position:l,index:c}=Hw(s,o);return l&&c!==-1&&(s[l][c]={...s[l][c],...i,message:xV(i)}),s})},closeAll:({positions:o}={})=>{r(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=i[c].map(d=>({...d,requestClose:!0})),l),{...i}))},close:o=>{r(i=>{const a=E5(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!Hw(rl.getState(),o).position}}var Qx=0;function bV(e,t={}){var n,r;Qx+=1;const o=(n=t.id)!=null?n:Qx,i=(r=t.position)!=null?r:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>rl.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var wV=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:c}=e,d=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return x.jsxs(JE,{addRole:!1,status:t,variant:n,id:d==null?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[x.jsx(QE,{children:c}),x.jsxs(Un.div,{flex:"1",maxWidth:"100%",children:[o&&x.jsx(ZE,{id:d==null?void 0:d.title,children:o}),s&&x.jsx(XE,{id:d==null?void 0:d.description,display:"block",children:s})]}),i&&x.jsx(eP,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function xV(e={}){const{render:t,toastComponent:n=wV}=e;return o=>typeof t=="function"?t({...o,...e}):x.jsx(n,{...o,...e})}var[SV,YU]=nc({name:"ToastOptionsContext",strict:!1}),kV=e=>{const t=k.useSyncExternalStore(rl.subscribe,rl.getState,rl.getState),{motionVariants:n,component:r=GE,portalProps:o}=e,a=Object.keys(t).map(s=>{const l=t[s];return x.jsx("div",{role:"region","aria-live":"polite","aria-label":"Notifications",id:`chakra-toast-manager-${s}`,style:BD(s),children:x.jsx(sV,{initial:!1,children:l.map(c=>x.jsx(r,{motionVariants:n,...c},c.id))})},s)});return x.jsx(Vf,{...o,children:a})},CV=e=>function({children:n,theme:r=e,toastOptions:o,...i}){return x.jsxs(ND,{theme:r,...i,children:[x.jsx(SV,{value:o==null?void 0:o.defaultOptions,children:n}),x.jsx(kV,{...o})]})},EV=CV(AN);function PV({zoom:[e,t]}){const[n,r]=k.useState(!1),o=hf(),[i,a]=k.useState(""),[s,l]=k.useState(""),[c,d]=k.useState(""),[p,h]=k.useState(""),[y,b]=k.useState(""),[m,E]=k.useState(""),[w,v]=k.useState(""),[S,T]=k.useState(""),[R,j]=k.useState(""),[O,I]=k.useState(""),[F,V]=k.useState("MALE"),ie="MALE",Pe="FEMALE",re="https://covisafeplus-production-417c.up.railway.app",fe=D=>{D.preventDefault(),r(me=>!me)},te=D=>{D.preventDefault();const me={email:i,name:s,dob:c,gender:F,aadhar:p,address:y,city:m,state:w,pincode:S,pan:R,password:O};Bg.post(`${re}/users/register`,me).then(N=>{console.log(N),localStorage.setItem("uuid",N.data.uuid),localStorage.setItem("token",N.data.token),Vt.fire("Registered succesfully!","you can proceed to vaccination now ","success").then(()=>{o("/")})}).catch(N=>{switch(console.error(N),N.code){case"ERR_BAD_REQUEST":Vt.fire("Incorrect data passed ","please provide the correct details","error");break;default:Vt.fire("Network error","seems like there is a problem related to network","error");break}})};return x.jsxs(x.Fragment,{children:[x.jsx(Gl,{zoom:[e,t]}),x.jsx("div",{className:"w-full bg-[#ff003214] flex items-center justify-center py-20",style:{background:"linear-gradient(45deg, #ed033166,#ed033188,#ed033144,#ed033133 )",minHeight:"87vh"},children:x.jsxs("div",{className:"loginlogout w-fit ",children:[x.jsxs("div",{className:"changer bg-[#33333344] ",children:[x.jsx(mo,{to:"/signin",children:x.jsx("div",{className:"page text-[#ffffffc3]",children:"Sign In"})}),x.jsx(mo,{to:"/signup",children:x.jsx("div",{className:"active page text-[#ffffffc3]",children:"Sign Up"})})]}),x.jsxs("div",{className:"form signin bg-[#33333344]",children:[x.jsxs("div",{className:"imgdiv h-full flex flex-col justify-around",children:[x.jsx("div",{className:"flex justify-center py-5",children:x.jsx("img",{src:"./images/login-family.svg",alt:""})}),x.jsx("div",{children:x.jsx("img",{src:"./images/building-icon.svg",alt:""})})]}),x.jsxs("div",{children:[x.jsx("h2",{children:"Sign up for Vaccination"}),x.jsx("br",{}),x.jsx("p",{children:"Fill your details "}),x.jsx("form",{children:n?x.jsxs(x.Fragment,{children:[x.jsx("input",{type:"text",placeholder:"Enter address",required:!0,value:y,onChange:D=>b(D.target.value)}),x.jsx("input",{type:"text",placeholder:"Enter city",required:!0,value:m,onChange:D=>E(D.target.value)}),x.jsx("input",{type:"text",placeholder:"Enter state",required:!0,value:w,onChange:D=>v(D.target.value)}),x.jsx("input",{type:"number",placeholder:"Enter pincode",required:!0,value:S,onChange:D=>T(D.target.value)}),x.jsx("input",{type:"text",placeholder:"Enter panNo",required:!0,value:R,onChange:D=>j(D.target.value)}),x.jsx("input",{type:"password",placeholder:"Enter password",required:!0,value:O,onChange:D=>I(D.target.value)}),x.jsx("input",{type:"submit",onClick:te,value:"Sign up"})]}):x.jsxs(x.Fragment,{children:[x.jsx("input",{type:"email",placeholder:"Enter email",required:!0,value:i,onChange:D=>a(D.target.value)}),x.jsx("input",{type:"text",placeholder:"Enter name",required:!0,value:s,onChange:D=>l(D.target.value)}),x.jsx("input",{type:"date",placeholder:"Enter D.O.B",className:"text-[#f3f3f399] px-5",required:!0,value:c,onChange:D=>d(D.target.value)}),x.jsxs("select",{style:{fontSize:"1.6rem",color:"#f3f3f399"},onChange:D=>V(D.target.value),children:[x.jsx("option",{value:ie,children:"MALE"}),x.jsx("option",{value:Pe,children:"FEMALE"})]}),x.jsx("input",{type:"text",placeholder:"Enter aadharNo",required:!0,value:p,onChange:D=>h(D.target.value)}),x.jsx("input",{type:"submit",onClick:fe,value:"next"})]})})]})]})]})}),x.jsx(Ql,{})]})}function TV({zoom:[e,t]}){return x.jsxs(x.Fragment,{children:[x.jsx(Gl,{zoom:[e,t]}),x.jsx(Ql,{})]})}var AV=Object.defineProperty,_V=(e,t,n)=>t in e?AV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cm=(e,t,n)=>(_V(e,typeof t!="symbol"?t+"":t,n),n);let RV=class{constructor(){cm(this,"current",this.detect()),cm(this,"handoffState","pending"),cm(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},pi=new RV,ln=(e,t)=>{pi.isServer?k.useEffect(e,t):k.useLayoutEffect(e,t)};function dr(e){let t=k.useRef(e);return ln(()=>{t.current=e},[e]),t}function tP(e,t){let[n,r]=k.useState(e),o=dr(e);return ln(()=>r(o.current),[o,r,...t]),n}function $V(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Mo(){let e=[],t={addEventListener(n,r,o,i){return n.addEventListener(r,o,i),t.add(()=>n.removeEventListener(r,o,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return $V(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=Mo();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function Na(){let[e]=k.useState(Mo);return k.useEffect(()=>()=>e.dispose(),[e]),e}let ve=function(e){let t=dr(e);return Be.useCallback((...n)=>t.current(...n),[t])};function OV(){let e=typeof document>"u";return"useSyncExternalStore"in ol?(t=>t.useSyncExternalStore)(ol)(()=>()=>{},()=>!1,()=>!e):!1}function cy(){let e=OV(),[t,n]=k.useState(pi.isHandoffComplete);return t&&pi.isHandoffComplete===!1&&n(!1),k.useEffect(()=>{t!==!0&&n(!0)},[t]),k.useEffect(()=>pi.handoff(),[]),e?!1:t}var Zx;let Xf=(Zx=Be.useId)!=null?Zx:function(){let e=cy(),[t,n]=Be.useState(e?()=>pi.nextId():null);return ln(()=>{t===null&&n(pi.nextId())},[t]),t!=null?""+t:void 0};function xt(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,xt),r}function nP(e){return pi.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Jx=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var jV=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(jV||{}),LV=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(LV||{}),IV=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(IV||{}),uy=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(uy||{});function rP(e,t=0){var n;return e===((n=nP(e))==null?void 0:n.body)?!1:xt(t,{0(){return e.matches(Jx)},1(){let r=e;for(;r!==null;){if(r.matches(Jx))return!0;r=r.parentElement}return!1}})}var zV=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(zV||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function MV(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let a=o.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function vu(e,t,n){let r=dr(t);k.useEffect(()=>{function o(i){r.current(i)}return document.addEventListener(e,o,n),()=>document.removeEventListener(e,o,n)},[e,n])}function NV(e,t,n){let r=dr(t);k.useEffect(()=>{function o(i){r.current(i)}return window.addEventListener(e,o,n),()=>window.removeEventListener(e,o,n)},[e,n])}function FV(e,t,n=!0){let r=k.useRef(!1);k.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function o(a,s){if(!r.current||a.defaultPrevented)return;let l=s(a);if(l===null||!l.getRootNode().contains(l)||!l.isConnected)return;let c=function d(p){return typeof p=="function"?d(p()):Array.isArray(p)||p instanceof Set?p:[p]}(e);for(let d of c){if(d===null)continue;let p=d instanceof HTMLElement?d:d.current;if(p!=null&&p.contains(l)||a.composed&&a.composedPath().includes(p))return}return!rP(l,uy.Loose)&&l.tabIndex!==-1&&a.preventDefault(),t(a,l)}let i=k.useRef(null);vu("pointerdown",a=>{var s,l;r.current&&(i.current=((l=(s=a.composedPath)==null?void 0:s.call(a))==null?void 0:l[0])||a.target)},!0),vu("mousedown",a=>{var s,l;r.current&&(i.current=((l=(s=a.composedPath)==null?void 0:s.call(a))==null?void 0:l[0])||a.target)},!0),vu("click",a=>{i.current&&(o(a,()=>i.current),i.current=null)},!0),vu("touchend",a=>o(a,()=>a.target instanceof HTMLElement?a.target:null),!0),NV("blur",a=>o(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function e2(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function DV(e,t){let[n,r]=k.useState(()=>e2(e));return ln(()=>{r(e2(e))},[e.type,e.as]),ln(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let BV=Symbol();function Ti(...e){let t=k.useRef(e);k.useEffect(()=>{t.current=e},[e]);let n=ve(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[BV]))?void 0:n}function VV(e){throw new Error("Unexpected object: "+e)}var qt=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(qt||{});function UV(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1,i=(()=>{switch(e.focus){case 0:return n.findIndex(a=>!t.resolveDisabled(a));case 1:{let a=n.slice().reverse().findIndex((s,l,c)=>o!==-1&&c.length-l-1>=o?!1:!t.resolveDisabled(s));return a===-1?a:n.length-1-a}case 2:return n.findIndex((a,s)=>s<=o?!1:!t.resolveDisabled(a));case 3:{let a=n.slice().reverse().findIndex(s=>!t.resolveDisabled(s));return a===-1?a:n.length-1-a}case 4:return n.findIndex(a=>t.resolveId(a)===e.id);case 5:return null;default:VV(e)}})();return i===-1?r:i}function Gd(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Yd=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Yd||{}),yo=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(yo||{});function Vo({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let s=oP(t,e);if(i)return yu(s,n,r,a);let l=o??0;if(l&2){let{static:c=!1,...d}=s;if(c)return yu(d,n,r,a)}if(l&1){let{unmount:c=!0,...d}=s;return xt(c?0:1,{0(){return null},1(){return yu({...d,hidden:!0,style:{display:"none"}},n,r,a)}})}return yu(s,n,r,a)}function yu(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...s}=um(e,["unmount","static"]),l=e.ref!==void 0?{[a]:e.ref}:{},c=typeof i=="function"?i(t):i;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t));let d={};if(t){let p=!1,h=[];for(let[y,b]of Object.entries(t))typeof b=="boolean"&&(p=!0),b===!0&&h.push(y);p&&(d["data-headlessui-state"]=h.join(" "))}if(o===k.Fragment&&Object.keys(t0(s)).length>0){if(!k.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(b=>` - ${b}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(b=>` - ${b}`).join(` +`)].join(` +`));let p=c.props,h=typeof(p==null?void 0:p.className)=="function"?(...b)=>Gd(p==null?void 0:p.className(...b),s.className):Gd(p==null?void 0:p.className,s.className),y=h?{className:h}:{};return k.cloneElement(c,Object.assign({},oP(c.props,t0(um(s,["ref"]))),d,l,HV(c.ref,l.ref),y))}return k.createElement(o,Object.assign({},um(s,["ref"]),o!==k.Fragment&&l,o!==k.Fragment&&d),c)}function HV(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function oP(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](o,...i){let a=n[r];for(let s of a){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;s(o,...i)}}});return t}function qr(e){var t;return Object.assign(k.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function t0(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function um(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function WV(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&qV(n)?!1:r}function qV(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function iP(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))sP(n,aP(t,r),o);return n}function aP(e,t){return e?e+"["+t+"]":t}function sP(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())sP(e,aP(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):iP(n,t,e)}let GV="div";var lP=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(lP||{});function YV(e,t){let{features:n=1,...r}=e,o={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Vo({ourProps:o,theirProps:r,slot:{},defaultTag:GV,name:"Hidden"})}let KV=qr(YV),dy=k.createContext(null);dy.displayName="OpenClosedContext";var en=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(en||{});function fy(){return k.useContext(dy)}function cP({value:e,children:t}){return Be.createElement(dy.Provider,{value:e},t)}var dt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(dt||{});function XV(e,t,n){let[r,o]=k.useState(n),i=e!==void 0,a=k.useRef(i),s=k.useRef(!1),l=k.useRef(!1);return i&&!a.current&&!s.current?(s.current=!0,a.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!i&&a.current&&!l.current&&(l.current=!0,a.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[i?e:r,ve(c=>(i||o(c),t==null?void 0:t(c)))]}function t2(e){return[e.screenX,e.screenY]}function QV(){let e=k.useRef([-1,-1]);return{wasMoved(t){let n=t2(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=t2(t)}}}function py(){let e=k.useRef(!1);return ln(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let n2=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function r2(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let i=!1;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let a=i?(n=o.innerText)!=null?n:"":r;return n2.test(a)&&(a=a.replace(n2,"")),a}function ZV(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(o=>{let i=document.getElementById(o);if(i){let a=i.getAttribute("aria-label");return typeof a=="string"?a.trim():r2(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return r2(e).trim()}function JV(e){let t=k.useRef(""),n=k.useRef("");return ve(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=ZV(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var eU=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(eU||{}),tU=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(tU||{}),nU=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(nU||{}),rU=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(rU||{});function dm(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=MV(t(e.options.slice()),i=>i.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let oU={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(o=>n(o.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=dm(e),o=UV(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:i=>i.id,resolveDisabled:i=>i.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:o,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(a=>{var s;return!a.dataRef.current.disabled&&((s=a.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=o?e.options.indexOf(o):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=dm(e,o=>[...o,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=dm(e,r=>{let o=r.findIndex(i=>i.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},hy=k.createContext(null);hy.displayName="ListboxActionsContext";function lc(e){let t=k.useContext(hy);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,lc),n}return t}let my=k.createContext(null);my.displayName="ListboxDataContext";function cc(e){let t=k.useContext(my);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,cc),n}return t}function iU(e,t){return xt(t.type,oU,e,t)}let aU=k.Fragment;function sU(e,t){let{value:n,defaultValue:r,form:o,name:i,onChange:a,by:s=(Y,oe)=>Y===oe,disabled:l=!1,horizontal:c=!1,multiple:d=!1,...p}=e;const h=c?"horizontal":"vertical";let y=Ti(t),[b=d?[]:void 0,m]=XV(n,a,r),[E,w]=k.useReducer(iU,{dataRef:k.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=k.useRef({static:!1,hold:!1}),S=k.useRef(null),T=k.useRef(null),R=k.useRef(null),j=ve(typeof s=="string"?(Y,oe)=>{let ne=s;return(Y==null?void 0:Y[ne])===(oe==null?void 0:oe[ne])}:s),O=k.useCallback(Y=>xt(I.mode,{1:()=>b.some(oe=>j(oe,Y)),0:()=>j(b,Y)}),[b]),I=k.useMemo(()=>({...E,value:b,disabled:l,mode:d?1:0,orientation:h,compare:j,isSelected:O,optionsPropsRef:v,labelRef:S,buttonRef:T,optionsRef:R}),[b,l,d,E]);ln(()=>{E.dataRef.current=I},[I]),FV([I.buttonRef,I.optionsRef],(Y,oe)=>{var ne;w({type:1}),rP(oe,uy.Loose)||(Y.preventDefault(),(ne=I.buttonRef.current)==null||ne.focus())},I.listboxState===0);let F=k.useMemo(()=>({open:I.listboxState===0,disabled:l,value:b}),[I,l,b]),V=ve(Y=>{let oe=I.options.find(ne=>ne.id===Y);oe&&me(oe.dataRef.current.value)}),ie=ve(()=>{if(I.activeOptionIndex!==null){let{dataRef:Y,id:oe}=I.options[I.activeOptionIndex];me(Y.current.value),w({type:2,focus:qt.Specific,id:oe})}}),Pe=ve(()=>w({type:0})),re=ve(()=>w({type:1})),fe=ve((Y,oe,ne)=>Y===qt.Specific?w({type:2,focus:qt.Specific,id:oe,trigger:ne}):w({type:2,focus:Y,trigger:ne})),te=ve((Y,oe)=>(w({type:5,id:Y,dataRef:oe}),()=>w({type:6,id:Y}))),D=ve(Y=>(w({type:7,id:Y}),()=>w({type:7,id:null}))),me=ve(Y=>xt(I.mode,{0(){return m==null?void 0:m(Y)},1(){let oe=I.value.slice(),ne=oe.findIndex(gt=>j(gt,Y));return ne===-1?oe.push(Y):oe.splice(ne,1),m==null?void 0:m(oe)}})),N=ve(Y=>w({type:3,value:Y})),X=ve(()=>w({type:4})),K=k.useMemo(()=>({onChange:me,registerOption:te,registerLabel:D,goToOption:fe,closeListbox:re,openListbox:Pe,selectActiveOption:ie,selectOption:V,search:N,clearSearch:X}),[]),q={ref:y},ae=k.useRef(null),J=Na();return k.useEffect(()=>{ae.current&&r!==void 0&&J.addEventListener(ae.current,"reset",()=>{m==null||m(r)})},[ae,m]),Be.createElement(hy.Provider,{value:K},Be.createElement(my.Provider,{value:I},Be.createElement(cP,{value:xt(I.listboxState,{0:en.Open,1:en.Closed})},i!=null&&b!=null&&iP({[i]:b}).map(([Y,oe],ne)=>Be.createElement(KV,{features:lP.Hidden,ref:ne===0?gt=>{var vt;ae.current=(vt=gt==null?void 0:gt.closest("form"))!=null?vt:null}:void 0,...t0({key:Y,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:o,name:Y,value:oe})})),Vo({ourProps:q,theirProps:p,slot:F,defaultTag:aU,name:"Listbox"}))))}let lU="button";function cU(e,t){var n;let r=Xf(),{id:o=`headlessui-listbox-button-${r}`,...i}=e,a=cc("Listbox.Button"),s=lc("Listbox.Button"),l=Ti(a.buttonRef,t),c=Na(),d=ve(E=>{switch(E.key){case dt.Space:case dt.Enter:case dt.ArrowDown:E.preventDefault(),s.openListbox(),c.nextFrame(()=>{a.value||s.goToOption(qt.First)});break;case dt.ArrowUp:E.preventDefault(),s.openListbox(),c.nextFrame(()=>{a.value||s.goToOption(qt.Last)});break}}),p=ve(E=>{switch(E.key){case dt.Space:E.preventDefault();break}}),h=ve(E=>{if(WV(E.currentTarget))return E.preventDefault();a.listboxState===0?(s.closeListbox(),c.nextFrame(()=>{var w;return(w=a.buttonRef.current)==null?void 0:w.focus({preventScroll:!0})})):(E.preventDefault(),s.openListbox())}),y=tP(()=>{if(a.labelId)return[a.labelId,o].join(" ")},[a.labelId,o]),b=k.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled,value:a.value}),[a]),m={ref:l,id:o,type:DV(e,a.buttonRef),"aria-haspopup":"listbox","aria-controls":(n=a.optionsRef.current)==null?void 0:n.id,"aria-expanded":a.listboxState===0,"aria-labelledby":y,disabled:a.disabled,onKeyDown:d,onKeyUp:p,onClick:h};return Vo({ourProps:m,theirProps:i,slot:b,defaultTag:lU,name:"Listbox.Button"})}let uU="label";function dU(e,t){let n=Xf(),{id:r=`headlessui-listbox-label-${n}`,...o}=e,i=cc("Listbox.Label"),a=lc("Listbox.Label"),s=Ti(i.labelRef,t);ln(()=>a.registerLabel(r),[r]);let l=ve(()=>{var d;return(d=i.buttonRef.current)==null?void 0:d.focus({preventScroll:!0})}),c=k.useMemo(()=>({open:i.listboxState===0,disabled:i.disabled}),[i]);return Vo({ourProps:{ref:s,id:r,onClick:l},theirProps:o,slot:c,defaultTag:uU,name:"Listbox.Label"})}let fU="ul",pU=Yd.RenderStrategy|Yd.Static;function hU(e,t){var n;let r=Xf(),{id:o=`headlessui-listbox-options-${r}`,...i}=e,a=cc("Listbox.Options"),s=lc("Listbox.Options"),l=Ti(a.optionsRef,t),c=Na(),d=Na(),p=fy(),h=(()=>p!==null?(p&en.Open)===en.Open:a.listboxState===0)();k.useEffect(()=>{var w;let v=a.optionsRef.current;v&&a.listboxState===0&&v!==((w=nP(v))==null?void 0:w.activeElement)&&v.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);let y=ve(w=>{switch(d.dispose(),w.key){case dt.Space:if(a.searchQuery!=="")return w.preventDefault(),w.stopPropagation(),s.search(w.key);case dt.Enter:if(w.preventDefault(),w.stopPropagation(),a.activeOptionIndex!==null){let{dataRef:v}=a.options[a.activeOptionIndex];s.onChange(v.current.value)}a.mode===0&&(s.closeListbox(),Mo().nextFrame(()=>{var v;return(v=a.buttonRef.current)==null?void 0:v.focus({preventScroll:!0})}));break;case xt(a.orientation,{vertical:dt.ArrowDown,horizontal:dt.ArrowRight}):return w.preventDefault(),w.stopPropagation(),s.goToOption(qt.Next);case xt(a.orientation,{vertical:dt.ArrowUp,horizontal:dt.ArrowLeft}):return w.preventDefault(),w.stopPropagation(),s.goToOption(qt.Previous);case dt.Home:case dt.PageUp:return w.preventDefault(),w.stopPropagation(),s.goToOption(qt.First);case dt.End:case dt.PageDown:return w.preventDefault(),w.stopPropagation(),s.goToOption(qt.Last);case dt.Escape:return w.preventDefault(),w.stopPropagation(),s.closeListbox(),c.nextFrame(()=>{var v;return(v=a.buttonRef.current)==null?void 0:v.focus({preventScroll:!0})});case dt.Tab:w.preventDefault(),w.stopPropagation();break;default:w.key.length===1&&(s.search(w.key),d.setTimeout(()=>s.clearSearch(),350));break}}),b=tP(()=>{var w,v,S;return(S=(w=a.labelRef.current)==null?void 0:w.id)!=null?S:(v=a.buttonRef.current)==null?void 0:v.id},[a.labelRef.current,a.buttonRef.current]),m=k.useMemo(()=>({open:a.listboxState===0}),[a]),E={"aria-activedescendant":a.activeOptionIndex===null||(n=a.options[a.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":a.mode===1?!0:void 0,"aria-labelledby":b,"aria-orientation":a.orientation,id:o,onKeyDown:y,role:"listbox",tabIndex:0,ref:l};return Vo({ourProps:E,theirProps:i,slot:m,defaultTag:fU,features:pU,visible:h,name:"Listbox.Options"})}let mU="li";function gU(e,t){let n=Xf(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...a}=e,s=cc("Listbox.Option"),l=lc("Listbox.Option"),c=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===r:!1,d=s.isSelected(i),p=k.useRef(null),h=JV(p),y=dr({disabled:o,value:i,domRef:p,get textValue(){return h()}}),b=Ti(t,p);ln(()=>{if(s.listboxState!==0||!c||s.activationTrigger===0)return;let j=Mo();return j.requestAnimationFrame(()=>{var O,I;(I=(O=p.current)==null?void 0:O.scrollIntoView)==null||I.call(O,{block:"nearest"})}),j.dispose},[p,c,s.listboxState,s.activationTrigger,s.activeOptionIndex]),ln(()=>l.registerOption(r,y),[y,r]);let m=ve(j=>{if(o)return j.preventDefault();l.onChange(i),s.mode===0&&(l.closeListbox(),Mo().nextFrame(()=>{var O;return(O=s.buttonRef.current)==null?void 0:O.focus({preventScroll:!0})}))}),E=ve(()=>{if(o)return l.goToOption(qt.Nothing);l.goToOption(qt.Specific,r)}),w=QV(),v=ve(j=>w.update(j)),S=ve(j=>{w.wasMoved(j)&&(o||c||l.goToOption(qt.Specific,r,0))}),T=ve(j=>{w.wasMoved(j)&&(o||c&&l.goToOption(qt.Nothing))}),R=k.useMemo(()=>({active:c,selected:d,disabled:o}),[c,d,o]);return Vo({ourProps:{id:r,ref:b,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":d,disabled:void 0,onClick:m,onFocus:E,onPointerEnter:v,onMouseEnter:v,onPointerMove:S,onMouseMove:S,onPointerLeave:T,onMouseLeave:T},theirProps:a,slot:R,defaultTag:mU,name:"Listbox.Option"})}let vU=qr(sU),yU=qr(cU),bU=qr(dU),wU=qr(hU),xU=qr(gU),Cs=Object.assign(vU,{Button:yU,Label:bU,Options:wU,Option:xU});function SU(e=0){let[t,n]=k.useState(e),r=py(),o=k.useCallback(l=>{r.current&&n(c=>c|l)},[t,r]),i=k.useCallback(l=>!!(t&l),[t]),a=k.useCallback(l=>{r.current&&n(c=>c&~l)},[n,r]),s=k.useCallback(l=>{r.current&&n(c=>c^l)},[n]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:a,toggleFlag:s}}function kU(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function fm(e,...t){e&&t.length>0&&e.classList.add(...t)}function pm(e,...t){e&&t.length>0&&e.classList.remove(...t)}function CU(e,t){let n=Mo();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,a]=[r,o].map(l=>{let[c=0]=l.split(",").filter(Boolean).map(d=>d.includes("ms")?parseFloat(d):parseFloat(d)*1e3).sort((d,p)=>p-d);return c}),s=i+a;if(s!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},s),c.addEventListener(e,"transitionrun",d=>{d.target===d.currentTarget&&c.dispose()})});let l=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),l())})}else t();return n.add(()=>t()),n.dispose}function EU(e,t,n,r){let o=n?"enter":"leave",i=Mo(),a=r!==void 0?kU(r):()=>{};o==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let s=xt(o,{enter:()=>t.enter,leave:()=>t.leave}),l=xt(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=xt(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return pm(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),fm(e,...t.base,...s,...c),i.nextFrame(()=>{pm(e,...t.base,...s,...c),fm(e,...t.base,...s,...l),CU(e,()=>(pm(e,...t.base,...s),fm(e,...t.base,...t.entered),a()))}),i.dispose}function PU({immediate:e,container:t,direction:n,classes:r,onStart:o,onStop:i}){let a=py(),s=Na(),l=dr(n);ln(()=>{e&&(l.current="enter")},[e]),ln(()=>{let c=Mo();s.add(c.dispose);let d=t.current;if(d&&l.current!=="idle"&&a.current)return c.dispose(),o.current(l.current),c.add(EU(d,r.current,l.current==="enter",()=>{c.dispose(),i.current(l.current)})),c.dispose},[n])}function ro(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Qf=k.createContext(null);Qf.displayName="TransitionContext";var TU=(e=>(e.Visible="visible",e.Hidden="hidden",e))(TU||{});function AU(){let e=k.useContext(Qf);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}function _U(){let e=k.useContext(Zf);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}let Zf=k.createContext(null);Zf.displayName="NestingContext";function Jf(e){return"children"in e?Jf(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function uP(e,t){let n=dr(e),r=k.useRef([]),o=py(),i=Na(),a=ve((y,b=yo.Hidden)=>{let m=r.current.findIndex(({el:E})=>E===y);m!==-1&&(xt(b,{[yo.Unmount](){r.current.splice(m,1)},[yo.Hidden](){r.current[m].state="hidden"}}),i.microTask(()=>{var E;!Jf(r)&&o.current&&((E=n.current)==null||E.call(n))}))}),s=ve(y=>{let b=r.current.find(({el:m})=>m===y);return b?b.state!=="visible"&&(b.state="visible"):r.current.push({el:y,state:"visible"}),()=>a(y,yo.Unmount)}),l=k.useRef([]),c=k.useRef(Promise.resolve()),d=k.useRef({enter:[],leave:[],idle:[]}),p=ve((y,b,m)=>{l.current.splice(0),t&&(t.chains.current[b]=t.chains.current[b].filter(([E])=>E!==y)),t==null||t.chains.current[b].push([y,new Promise(E=>{l.current.push(E)})]),t==null||t.chains.current[b].push([y,new Promise(E=>{Promise.all(d.current[b].map(([w,v])=>v)).then(()=>E())})]),b==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>m(b)):m(b)}),h=ve((y,b,m)=>{Promise.all(d.current[b].splice(0).map(([E,w])=>w)).then(()=>{var E;(E=l.current.shift())==null||E()}).then(()=>m(b))});return k.useMemo(()=>({children:r,register:s,unregister:a,onStart:p,onStop:h,wait:c,chains:d}),[s,a,r,p,h,d,c])}function RU(){}let $U=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function o2(e){var t;let n={};for(let r of $U)n[r]=(t=e[r])!=null?t:RU;return n}function OU(e){let t=k.useRef(o2(e));return k.useEffect(()=>{t.current=o2(e)},[e]),t}let jU="div",dP=Yd.RenderStrategy;function LU(e,t){var n,r;let{beforeEnter:o,afterEnter:i,beforeLeave:a,afterLeave:s,enter:l,enterFrom:c,enterTo:d,entered:p,leave:h,leaveFrom:y,leaveTo:b,...m}=e,E=k.useRef(null),w=Ti(E,t),v=(n=m.unmount)==null||n?yo.Unmount:yo.Hidden,{show:S,appear:T,initial:R}=AU(),[j,O]=k.useState(S?"visible":"hidden"),I=_U(),{register:F,unregister:V}=I;k.useEffect(()=>F(E),[F,E]),k.useEffect(()=>{if(v===yo.Hidden&&E.current){if(S&&j!=="visible"){O("visible");return}return xt(j,{hidden:()=>V(E),visible:()=>F(E)})}},[j,E,F,V,S,v]);let ie=dr({base:ro(m.className),enter:ro(l),enterFrom:ro(c),enterTo:ro(d),entered:ro(p),leave:ro(h),leaveFrom:ro(y),leaveTo:ro(b)}),Pe=OU({beforeEnter:o,afterEnter:i,beforeLeave:a,afterLeave:s}),re=cy();k.useEffect(()=>{if(re&&j==="visible"&&E.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,j,re]);let fe=R&&!T,te=T&&S&&R,D=(()=>!re||fe?"idle":S?"enter":"leave")(),me=SU(0),N=ve(J=>xt(J,{enter:()=>{me.addFlag(en.Opening),Pe.current.beforeEnter()},leave:()=>{me.addFlag(en.Closing),Pe.current.beforeLeave()},idle:()=>{}})),X=ve(J=>xt(J,{enter:()=>{me.removeFlag(en.Opening),Pe.current.afterEnter()},leave:()=>{me.removeFlag(en.Closing),Pe.current.afterLeave()},idle:()=>{}})),K=uP(()=>{O("hidden"),V(E)},I);PU({immediate:te,container:E,classes:ie,direction:D,onStart:dr(J=>{K.onStart(E,J,N)}),onStop:dr(J=>{K.onStop(E,J,X),J==="leave"&&!Jf(K)&&(O("hidden"),V(E))})});let q=m,ae={ref:w};return te?q={...q,className:Gd(m.className,...ie.current.enter,...ie.current.enterFrom)}:(q.className=Gd(m.className,(r=E.current)==null?void 0:r.className),q.className===""&&delete q.className),Be.createElement(Zf.Provider,{value:K},Be.createElement(cP,{value:xt(j,{visible:en.Open,hidden:en.Closed})|me.flags},Vo({ourProps:ae,theirProps:q,defaultTag:jU,features:dP,visible:j==="visible",name:"Transition.Child"})))}function IU(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,a=k.useRef(null),s=Ti(a,t);cy();let l=fy();if(n===void 0&&l!==null&&(n=(l&en.Open)===en.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[c,d]=k.useState(n?"visible":"hidden"),p=uP(()=>{d("hidden")}),[h,y]=k.useState(!0),b=k.useRef([n]);ln(()=>{h!==!1&&b.current[b.current.length-1]!==n&&(b.current.push(n),y(!1))},[b,n]);let m=k.useMemo(()=>({show:n,appear:r,initial:h}),[n,r,h]);k.useEffect(()=>{if(n)d("visible");else if(!Jf(p))d("hidden");else{let S=a.current;if(!S)return;let T=S.getBoundingClientRect();T.x===0&&T.y===0&&T.width===0&&T.height===0&&d("hidden")}},[n,p]);let E={unmount:o},w=ve(()=>{var S;h&&y(!1),(S=e.beforeEnter)==null||S.call(e)}),v=ve(()=>{var S;h&&y(!1),(S=e.beforeLeave)==null||S.call(e)});return Be.createElement(Zf.Provider,{value:p},Be.createElement(Qf.Provider,{value:m},Vo({ourProps:{...E,as:k.Fragment,children:Be.createElement(fP,{ref:s,...E,...i,beforeEnter:w,beforeLeave:v})},theirProps:{},defaultTag:k.Fragment,features:dP,visible:c==="visible",name:"Transition"})))}function zU(e,t){let n=k.useContext(Qf)!==null,r=fy()!==null;return Be.createElement(Be.Fragment,null,!n&&r?Be.createElement(n0,{ref:t,...e}):Be.createElement(fP,{ref:t,...e}))}let n0=qr(IU),fP=qr(LU),MU=qr(zU),NU=Object.assign(n0,{Child:MU,Root:n0});function FU({title:e,titleId:t,...n},r){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?k.createElement("title",{id:t},e):null,k.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",clipRule:"evenodd"}))}const DU=k.forwardRef(FU),BU=DU;function VU({title:e,titleId:t,...n},r){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?k.createElement("title",{id:t},e):null,k.createElement("path",{fillRule:"evenodd",d:"M10 3a.75.75 0 01.55.24l3.25 3.5a.75.75 0 11-1.1 1.02L10 4.852 7.3 7.76a.75.75 0 01-1.1-1.02l3.25-3.5A.75.75 0 0110 3zm-3.76 9.2a.75.75 0 011.06.04l2.7 2.908 2.7-2.908a.75.75 0 111.1 1.02l-3.25 3.5a.75.75 0 01-1.1 0l-3.25-3.5a.75.75 0 01.04-1.06z",clipRule:"evenodd"}))}const UU=k.forwardRef(VU),HU=UU;function hm(...e){return e.filter(Boolean).join(" ")}function i2({selectedValue:[e,t],data:n,labelText:r}){return x.jsx(Cs,{value:e,onChange:t,children:({open:o})=>x.jsxs(x.Fragment,{children:[x.jsx(Cs.Label,{className:"block py-3 text-2xl font-medium leading-6 text-gray-900",children:r}),x.jsxs("div",{className:"relative mt-2",children:[x.jsxs(Cs.Button,{className:"relative w-full cursor-default rounded-md bg-white py-5 pl-3 pr-10 text-left text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:outline-none focus:ring-2 focus:ring-red-500 sm:text-sm sm:leading-6",children:[x.jsx("span",{className:"flex items-center",children:x.jsx("span",{className:"ml-3 block truncate",children:e.name})}),x.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2",children:x.jsx(HU,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]}),x.jsx(NU,{show:o,as:k.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:x.jsx(Cs.Options,{className:"absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",children:n.map(i=>x.jsx(Cs.Option,{className:({active:a})=>hm(a?"bg-red-600 text-white":"text-gray-900","relative cursor-default select-none py-2 pl-3 pr-9"),value:i,children:({selected:a,active:s})=>x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"flex items-center",children:x.jsx("span",{className:hm(a?"font-semibold":"font-normal","ml-3 block truncate"),children:i.name})}),a?x.jsx("span",{className:hm(s?"text-white":"text-red-600","absolute inset-y-0 right-0 flex items-center pr-4"),children:x.jsx(BU,{className:"h-7 w-7","aria-hidden":"true"})}):null]})},i.id))})})]})]})})}function WU({zoom:[e,t]}){const n=hf(),r="https://covisafeplus-production-417c.up.railway.app",[o,i]=k.useState(!1),[a,s]=k.useState({id:1,name:"select value"}),[l,c]=k.useState({id:"",name:"select value"}),[d,p]=k.useState([{id:1,name:""}]),h=()=>{const b=localStorage.getItem("uuid"),m=localStorage.getItem("token");Vt.fire({title:"Enter mobile number",input:"number",inputAttributes:{autocapitalize:"off"},showCancelButton:!0,confirmButtonText:"Submit",showLoaderOnConfirm:!0,preConfirm:E=>fetch(`${r}/members/${b}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${m}`},body:JSON.stringify({mobNo:E})}).then(w=>{if(!w.ok)throw new Error(w.statusText);return w.json()}).catch(w=>{Vt.showValidationMessage(`Request failed: ${w}`)}),allowOutsideClick:()=>!Vt.isLoading()}).then(E=>{localStorage.setItem("memberId",E.id),localStorage.setItem("mobileNo",E.mobNo),console.log(E),Vt.fire("Updated Succesfully!","mobile no updated succesfully","success").then(()=>{i(!1)})})};k.useEffect(()=>{const b=localStorage.getItem("uuid"),m=localStorage.getItem("token");b&&m&&Bg.get(`${r}/vaccinationCenters`,{headers:{Authorization:`Bearer ${m}`}}).then(E=>{p(E.data)})},[d,p]),k.useEffect(()=>{const b=localStorage.getItem("uuid"),m=localStorage.getItem("token");b&&m?Bg.get(`${r}/memberByUUID/${b}`,{headers:{Authorization:`Bearer ${m}`}}).then(E=>{localStorage.setItem("memberId",E.data.id),localStorage.setItem("mobileNo",E.data.mobNo)}).catch(E=>{switch(E.response.status){case 404:i(!0);break;case 403:Vt.fire("Acces Denied!","please login first","error").then(()=>{n("/signin")});break}}):Vt.fire("Acces Denied!","please login first","error").then(()=>{n("/signin")})},[o,i]);const y=b=>{b.preventDefault();const m=localStorage.getItem("uuid"),E=localStorage.getItem("token"),w=localStorage.getItem("memberId"),v=localStorage.getItem("mobileNo");m&&E&&w&&v&&(console.log({slot:a.name,mobileNo:v}),console.log(l.id),fetch(`${r}/appointments/${w}/${l.id}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${E}`},body:JSON.stringify({slot:a.name,mobileNo:v})}).then(S=>{if(console.log(S),!S.ok)throw new Error(JSON.stringify(S));return S.json()}).then(S=>{console.log(S),Vt.fire("Booked succesfully","your appiontment is booked succesfully","success").then(()=>{n("/")})}).catch(S=>{Vt.fire("Appointment Booked already","An appointment already booked for you ","error").then(()=>{n("/")})}))};return x.jsxs(x.Fragment,{children:[x.jsx(Gl,{zoom:[e,t]}),x.jsx("div",{className:"w-full flex justify-center items-center",style:{minHeight:"87vh"},children:o?x.jsxs("div",{className:"p-8 h-fit w-10/12 text-red-800 border-red-300 rounded-lg bg-[#1f2937dd] dark:text-red-400 border-l-red-800 ",style:{borderLeftWidth:"7px"},role:"alert",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx("svg",{className:"flex-shrink-0 w-16 h-7","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:x.jsx("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),x.jsx("span",{className:"sr-only",children:"Info"}),x.jsx("h3",{className:"text-3xl font-medium",children:"Phone number required"})]}),x.jsx("div",{className:"mt-2 mb-4 text-2xl",children:"To book an appointment complete this step for further registration process."}),x.jsx("div",{className:"flex",children:x.jsx("button",{style:{fontSize:"1.6rem"},type:"button",className:"text-white bg-red-800 focus:outline-none font-medium rounded-lg text-base px-6 py-3 text-center inline-flex items-center dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-800",onClick:h,children:"Add phone number"})})]}):x.jsx(x.Fragment,{children:x.jsxs("div",{className:"flex min-h-full flex-col justify-center",children:[x.jsxs("div",{className:"w-fit",children:[x.jsx("img",{className:"mx-auto h-16 w-auto mix-blend-exclusion",src:"./images/mainlogo.png",alt:"logo"}),x.jsx("h2",{className:"mt-14 text-center text-5xl font-bold leading-9 tracking-tight text-gray-900",children:"Book an appointment"})]}),x.jsx("div",{className:"mt-14",children:x.jsxs("form",{className:"space-y-6",onSubmit:y,children:[x.jsx(i2,{selectedValue:[l,c],data:d.map((b,m)=>({id:b.centerId,name:`${b.centerName}, ${b.city}`})),labelText:"Vaccination center"}),x.jsx(i2,{selectedValue:[a,s],data:[{id:1,name:"SLOT1"},{id:2,name:"SLOT2"},{id:3,name:"SLOT3"},{id:4,name:"SLOT4"},{id:5,name:"SLOT5"},{id:6,name:"SLOT6"},{id:7,name:"SLOT7"},{id:8,name:"SLOT8"},{id:9,name:"SLOT9"}],labelText:"Choose Slot"}),x.jsx("div",{children:x.jsx("button",{type:"submit",className:"flex w-full justify-center rounded-md bg-red-600 px-3 py-5 text-2xl font-semibold leading-6 text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-red-600",children:"Sign in"})})]})})]})})}),x.jsx(Ql,{})]})}function qU(){const[e,t]=k.useState(100);return x.jsx("div",{style:{zoom:`${e}%`},children:x.jsxs(_4,{children:[x.jsx(Fi,{path:"/",element:x.jsx(TD,{zoom:[e,t]})}),x.jsx(Fi,{path:"signin",element:x.jsx(PD,{zoom:[e,t]})}),x.jsx(Fi,{path:"signup",element:x.jsx(PV,{zoom:[e,t]})}),x.jsx(Fi,{path:"dashboard",element:x.jsx(TV,{zoom:[e,t]})}),x.jsx(Fi,{path:"service",element:x.jsx(WU,{zoom:[e,t]})})]})})}mm.createRoot(document.getElementById("root")).render(x.jsx(EV,{children:x.jsx(I4,{children:x.jsx(qU,{})})})); diff --git a/index.html b/index.html new file mode 100644 index 0000000..388ae1b --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + + + + + + Covisafe + + + + +
    + + + diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file