diff --git a/docs/assets/index-1dfc6279.css b/docs/assets/index-1dfc6279.css new file mode 100644 index 0000000..5e11671 --- /dev/null +++ b/docs/assets/index-1dfc6279.css @@ -0,0 +1 @@ +*,: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-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}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}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--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);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--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)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--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(4px + 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);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}input[type=range].range-sm::-webkit-slider-thumb{height:1rem;width:1rem}input[type=range].range-lg::-webkit-slider-thumb{height:1.5rem;width:1.5rem}input[type=range].range-sm::-moz-range-thumb{height:1rem;width:1rem}input[type=range].range-lg::-moz-range-thumb{height:1.5rem;width:1.5rem}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*,: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(63 131 248 / .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(63 131 248 / .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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-left-3{left:-.75rem}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.bottom-5{bottom:1.25rem}.left-0{left:0px}.left-1\/2{left:50%}.right-0{right:0px}.top-0{top:0px}.top-1\/2{top:50%}.-z-10{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-64{margin-top:16rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.\!h-auto{height:auto!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-96{height:24rem}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-min{height:-moz-min-content;height:min-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\/4{width:50%}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-36{width:9rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-wait{cursor:wait!important}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-center{scroll-snap-align:center}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.scroll-smooth{scroll-behavior:smooth}.whitespace-nowrap{white-space:nowrap}.\!rounded-full{border-radius:9999px!important}.\!rounded-none{border-radius:0!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg,.rounded-md{border-radius:.2rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-lg,.rounded-l-md{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-lg{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.2rem;border-top-right-radius:.2rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.\!border-b-0{border-bottom-width:0px!important}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-t-4{border-top-width:4px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(132 225 188 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(180 198 252 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(141 162 251 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(104 117 245 / var(--tw-border-opacity))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(248 180 217 / var(--tw-border-opacity))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(74 29 150 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(248 180 180 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(119 29 29 / var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(126 220 226 / var(--tw-border-opacity))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(6 148 162 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(159 88 10 / var(--tw-border-opacity))}.\!bg-transparent{background-color:transparent!important}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(243 250 247 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(141 162 251 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(246 245 255 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(213 245 246 / 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))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(253 253 234 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(159 88 10 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-400{--tw-gradient-from: #22d3ee var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 211 238 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-200{--tw-gradient-from: #d9f99d var(--tw-gradient-from-position);--tw-gradient-to: rgb(217 249 157 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-400{--tw-gradient-from: #F17EB8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(241 126 184 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-400{--tw-gradient-from: #F98080 var(--tw-gradient-from-position);--tw-gradient-to: rgb(249 128 128 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-400{--tw-gradient-from: #16BDCA var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 189 202 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-500{--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #06b6d4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-500{--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0E9F6E var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-400{--tw-gradient-to: rgb(163 230 53 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a3e635 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-500{--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E74694 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-500{--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F05252 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-500{--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0694A2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-600{--tw-gradient-to: #0891b2 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #057A55 var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-500{--tw-gradient-to: #84cc16 var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-600{--tw-gradient-to: #D61F69 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #E02424 var(--tw-gradient-to-position)}.to-teal-600{--tw-gradient-to: #047481 var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.fill-blue-600{fill:#1c64f2}.fill-current{fill:currentColor}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-2{padding:.5rem!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.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-8{padding-top:2rem;padding-bottom:2rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-300{--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / 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-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity: 1;color:rgb(3 102 114 / var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity: 1;color:rgb(5 80 92 / var(--tw-text-opacity))}.text-teal-900{--tw-text-opacity: 1;color:rgb(1 68 81 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.placeholder-blue-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(26 86 219 / var(--tw-placeholder-opacity))}.placeholder-blue-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(26 86 219 / var(--tw-placeholder-opacity))}.placeholder-green-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(4 108 78 / var(--tw-placeholder-opacity))}.placeholder-green-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(4 108 78 / var(--tw-placeholder-opacity))}.placeholder-red-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(200 30 30 / var(--tw-placeholder-opacity))}.placeholder-red-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(200 30 30 / var(--tw-placeholder-opacity))}.placeholder-yellow-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(142 75 16 / var(--tw-placeholder-opacity))}.placeholder-yellow-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(142 75 16 / var(--tw-placeholder-opacity))}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-2{--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)}.ring-8{--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(8px + 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-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.ring-pink-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(231 70 148 / var(--tw-ring-opacity))}.ring-purple-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(144 97 249 / var(--tw-ring-opacity))}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.ring-yellow-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.first\:ml-0:first-child{margin-left:0}.first\:mt-0:first-child{margin-top:0}.first\:rounded-l-lg:first-child{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.first\:rounded-t-lg:first-child{border-top-left-radius:.2rem;border-top-right-radius:.2rem}.first\:border-t-0:first-child{border-top-width:0px}.first\:pt-0:first-child{padding-top:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:.2rem;border-bottom-left-radius:.2rem}.last\:rounded-r-lg:last-child{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.odd\:bg-white:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.even\:bg-gray-50:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:cursor-not-allowed:hover{cursor:not-allowed}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-cyan-100:hover{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.hover\:bg-cyan-200:hover{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.hover\:bg-lime-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.hover\:bg-lime-200:hover{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.hover\:bg-pink-200:hover{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-teal-100:hover{--tw-bg-opacity: 1;background-color:rgb(213 245 246 / var(--tw-bg-opacity))}.hover\:bg-teal-200:hover{--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-100:hover{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.hover\:\!text-gray-900:hover{--tw-text-opacity: 1 !important;color:rgb(17 24 39 / var(--tw-text-opacity))!important}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:z-10:focus{z-index:10}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-green-500:focus{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.focus\:border-yellow-500:focus{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:\!ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.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-4: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(4px + 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-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-cyan-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 211 238 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.focus\:ring-indigo-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(180 198 252 / var(--tw-ring-opacity))}.focus\:ring-indigo-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(141 162 251 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-lime-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(163 230 53 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-pink-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(241 126 184 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-purple-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(172 148 250 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-teal-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 189 202 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-yellow-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:hover\:bg-blue-700:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.disabled\:hover\:bg-gray-800:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.disabled\:hover\:bg-green-700:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.disabled\:hover\:bg-purple-700:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.disabled\:hover\:bg-red-800:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.disabled\:hover\:bg-white:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:hover\:bg-yellow-400:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.group:first-child .group-first\:hidden{display:none}.group\/body:first-child .group\/row:first-child .group-first\/body\:group-first\/row\:first\:rounded-tl-lg:first-child,.group\/head:first-child .group-first\/head\:first\:rounded-tl-lg:first-child{border-top-left-radius:.2rem}.group\/body:first-child .group\/row:first-child .group-first\/body\:group-first\/row\:last\:rounded-tr-lg:last-child{border-top-right-radius:.2rem}.group\/head:first-child .group-first\/head\:last\:rounded-tr-lg:last-child{border-top-right-radius:.2rem}.group\/body:last-child .group\/row:last-child .group-last\/body\:group-last\/row\:first\:rounded-bl-lg:first-child{border-bottom-left-radius:.2rem}.group\/body:last-child .group\/row:last-child .group-last\/body\:group-last\/row\:last\:rounded-br-lg:last-child{border-bottom-right-radius:.2rem}.group:hover .group-hover\:bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:text-inherit{color:inherit}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--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(4px + 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)}.group:focus .group-focus\:ring-blue-500\/25{--tw-ring-color: rgb(63 131 248 / .25)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-none){border-style:none}:is(.dark .dark\:border-blue-400){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-600){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-600){--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(49 196 141 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-600){--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-600){--tw-border-opacity: 1;border-color:rgb(88 80 236 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-600){--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-600){--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-400){--tw-border-opacity: 1;border-color:rgb(249 128 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-600){--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-600){--tw-border-opacity: 1;border-color:rgb(4 116 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-400){--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-600){--tw-border-opacity: 1;border-color:rgb(159 88 10 / var(--tw-border-opacity))}:is(.dark .dark\:\!bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-100){--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-200){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-600){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-200){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-100){--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-600){--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-200){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-600){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-900){--tw-bg-opacity: 1;background-color:rgb(74 29 150 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-100){--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-200){--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-600){--tw-bg-opacity: 1;background-color:rgb(4 116 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-yellow-100){--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(159 88 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900){--tw-bg-opacity: 1;background-color:rgb(99 49 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-blue-100){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-300){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-600){--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-900){--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-600){--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-900){--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-900){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-600){--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-600){--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-800){--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-600){--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-800){--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-900){--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-600){--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-800){--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-600){--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-800){--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-600){--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-800){--tw-text-opacity: 1;color:rgb(5 80 92 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-900){--tw-text-opacity: 1;color:rgb(1 68 81 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-600){--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-sm-light){--tw-shadow: 0 2px 5px 0px rgba(255, 255, 255, .08);--tw-shadow-colored: 0 2px 5px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:ring-blue-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-900){--tw-ring-opacity: 1;--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-green-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-pink-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(231 70 148 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-purple-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(126 58 242 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-red-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(200 30 30 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-yellow-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .odd\:dark\:bg-gray-800):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .even\:dark\:bg-gray-700):nth-child(even){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:border-blue-700:hover){--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-cyan-700:hover){--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-gray-700:hover){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-green-700:hover){--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-indigo-700:hover){--tw-border-opacity: 1;border-color:rgb(81 69 205 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-lime-700:hover){--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-pink-700:hover){--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-red-700:hover){--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-teal-700:hover){--tw-border-opacity: 1;border-color:rgb(3 102 114 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-yellow-700:hover){--tw-border-opacity: 1;border-color:rgb(142 75 16 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-300:hover){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-700:hover){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-700:hover){--tw-bg-opacity: 1;background-color:rgb(81 69 205 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-300:hover){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-700:hover){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-300:hover){--tw-bg-opacity: 1;background-color:rgb(202 191 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-300:hover){--tw-bg-opacity: 1;background-color:rgb(126 220 226 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-700:hover){--tw-bg-opacity: 1;background-color:rgb(3 102 114 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700:hover){--tw-bg-opacity: 1;background-color:rgb(142 75 16 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-green-500:focus){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-red-500:focus){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-yellow-500:focus){--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-blue-600:focus){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 116 144 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(4 108 78 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-indigo-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(81 69 205 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(77 124 15 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(191 18 93 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(200 30 30 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(142 75 16 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .disabled\:dark\:text-gray-500):disabled{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:disabled\:hover\:bg-blue-600:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:disabled\:hover\:bg-gray-800:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:disabled\:hover\:bg-green-600:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:disabled\:hover\:bg-purple-600:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:disabled\:hover\:bg-red-600:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:disabled\:hover\:bg-yellow-400:hover:disabled){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-blue-300){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-cyan-300){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-lime-300){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-pink-300){--tw-bg-opacity: 1;background-color:rgb(248 180 217 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-purple-300){--tw-bg-opacity: 1;background-color:rgb(202 191 253 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-teal-300){--tw-bg-opacity: 1;background-color:rgb(126 220 226 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-yellow-300){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:mb-0{margin-bottom:0}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-7{height:1.75rem}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:pr-8{padding-right:2rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:mx-2{margin-left:.5rem;margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:my-8{margin-top:2rem;margin-bottom:2rem}}.\[\&\>\*\]\:first\:rounded-t-lg:first-child>*{border-top-left-radius:.2rem;border-top-right-radius:.2rem}.\[\&\>\*\]\:last\:rounded-b-lg:last-child>*{border-bottom-right-radius:.2rem;border-bottom-left-radius:.2rem}.\[\&\>\*\]\:last\:border-b-0:last-child>*{border-bottom-width:0px} diff --git a/docs/assets/index-554c8d77.js b/docs/assets/index-554c8d77.js new file mode 100644 index 0000000..100910d --- /dev/null +++ b/docs/assets/index-554c8d77.js @@ -0,0 +1,123 @@ +var Zy=Object.defineProperty;var Yy=(e,t,r)=>t in e?Zy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Qy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var te=(e,t,r)=>(Yy(e,typeof t!="symbol"?t+"":t,r),r);var QC=Qy((Je,et)=>{function Xy(e,t){for(var r=0;rn[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"]'))n(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"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(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 n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();function Va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var L0={exports:{}},Ha={},D0={exports:{}},K={};/** + * @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 ti=Symbol.for("react.element"),Jy=Symbol.for("react.portal"),ev=Symbol.for("react.fragment"),tv=Symbol.for("react.strict_mode"),rv=Symbol.for("react.profiler"),nv=Symbol.for("react.provider"),ov=Symbol.for("react.context"),iv=Symbol.for("react.forward_ref"),av=Symbol.for("react.suspense"),lv=Symbol.for("react.memo"),sv=Symbol.for("react.lazy"),wd=Symbol.iterator;function uv(e){return e===null||typeof e!="object"?null:(e=wd&&e[wd]||e["@@iterator"],typeof e=="function"?e:null)}var A0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z0=Object.assign,U0={};function Xn(e,t,r){this.props=e,this.context=t,this.refs=U0,this.updater=r||A0}Xn.prototype.isReactComponent={};Xn.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")};Xn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B0(){}B0.prototype=Xn.prototype;function Au(e,t,r){this.props=e,this.context=t,this.refs=U0,this.updater=r||A0}var zu=Au.prototype=new B0;zu.constructor=Au;z0(zu,Xn.prototype);zu.isPureReactComponent=!0;var kd=Array.isArray,V0=Object.prototype.hasOwnProperty,Uu={current:null},H0={key:!0,ref:!0,__self:!0,__source:!0};function W0(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)V0.call(t,n)&&!H0.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1>>1,Y=_[W];if(0>>1;Wo(Le,I))Teo(Pr,Le)?(_[W]=Pr,_[Te]=I,W=Te):(_[W]=Le,_[xe]=I,W=xe);else if(Teo(Pr,I))_[W]=Pr,_[Te]=I,W=Te;else break e}}return D}function o(_,D){var I=_.sortIndex-D.sortIndex;return I!==0?I:_.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],d=1,f=null,p=3,y=!1,x=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(_){for(var D=r(u);D!==null;){if(D.callback===null)n(u);else if(D.startTime<=_)n(u),D.sortIndex=D.expirationTime,t(s,D);else break;D=r(u)}}function b(_){if(w=!1,v(_),!x)if(r(s)!==null)x=!0,X(S);else{var D=r(u);D!==null&&de(b,D.startTime-_)}}function S(_,D){x=!1,w&&(w=!1,g(M),M=-1),y=!0;var I=p;try{for(v(D),f=r(s);f!==null&&(!(f.expirationTime>D)||_&&!C());){var W=f.callback;if(typeof W=="function"){f.callback=null,p=f.priorityLevel;var Y=W(f.expirationTime<=D);D=e.unstable_now(),typeof Y=="function"?f.callback=Y:f===r(s)&&n(s),v(D)}else n(s);f=r(s)}if(f!==null)var fe=!0;else{var xe=r(u);xe!==null&&de(b,xe.startTime-D),fe=!1}return fe}finally{f=null,p=I,y=!1}}var j=!1,R=null,M=-1,V=5,T=-1;function C(){return!(e.unstable_now()-T_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var D=3;break;default:D=p}var I=p;p=D;try{return _()}finally{p=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,D){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var I=p;p=_;try{return D()}finally{p=I}},e.unstable_scheduleCallback=function(_,D,I){var W=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0W?(_.sortIndex=I,t(u,_),r(s)===null&&_===r(u)&&(w?(g(M),M=-1):w=!0,de(b,I-W))):(_.sortIndex=Y,t(s,_),x||y||(x=!0,X(S))),_},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(_){var D=p;return function(){var I=p;p=D;try{return _.apply(this,arguments)}finally{p=I}}}})(Q0);Y0.exports=Q0;var xv=Y0.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 X0=h,rt=xv;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Cs=Object.prototype.hasOwnProperty,wv=/^[: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]*$/,Cd={},Ed={};function kv(e){return Cs.call(Ed,e)?!0:Cs.call(Cd,e)?!1:wv.test(e)?Ed[e]=!0:(Cd[e]=!0,!1)}function Sv(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Cv(e,t,r,n){if(t===null||typeof t>"u"||Sv(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ue(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new Ue(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){Re[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vu=/[\-:]([a-z])/g;function Hu(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(Vu,Hu);Re[t]=new Ue(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(Vu,Hu);Re[t]=new Ue(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(Vu,Hu);Re[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wu(e,t,r,n){var o=Re.hasOwnProperty(t)?Re[t]:null;(o!==null?o.type!==0:n||!(2l||o[a]!==i[l]){var s=` +`+o[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{Ul=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?fo(e):""}function Ev(e){switch(e.tag){case 5:return fo(e.type);case 16:return fo("Lazy");case 13:return fo("Suspense");case 19:return fo("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function Ns(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 wn:return"Fragment";case xn:return"Portal";case Es:return"Profiler";case Gu:return"StrictMode";case Ts:return"Suspense";case js:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ep:return(e.displayName||"Context")+".Consumer";case J0:return(e._context.displayName||"Context")+".Provider";case Ku:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zu:return t=e.displayName||null,t!==null?t:Ns(e.type)||"Memo";case tr:t=e._payload,e=e._init;try{return Ns(e(t))}catch{}}return null}function Tv(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 Ns(t);case 8:return t===Gu?"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 wr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jv(e){var t=rp(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hi(e){e._valueTracker||(e._valueTracker=jv(e))}function np(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=rp(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ji(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 _s(e,t){var r=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function jd(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=wr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function op(e,t){t=t.checked,t!=null&&Wu(e,"checked",t,!1)}function Ps(e,t){op(e,t);var r=wr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Rs(e,t.type,r):t.hasOwnProperty("defaultValue")&&Rs(e,t.type,wr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nd(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Rs(e,t,r){(t!=="number"||Ji(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var po=Array.isArray;function In(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=mi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mo(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var go={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},Nv=["Webkit","ms","Moz","O"];Object.keys(go).forEach(function(e){Nv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),go[t]=go[e]})});function sp(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||go.hasOwnProperty(e)&&go[e]?(""+t).trim():t+"px"}function up(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=sp(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var _v=ce({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 Is(e,t){if(t){if(_v[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Fs(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 $s=null;function Yu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ls=null,Fn=null,$n=null;function Rd(e){if(e=oi(e)){if(typeof Ls!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Ya(t),Ls(e.stateNode,e.type,t))}}function cp(e){Fn?$n?$n.push(e):$n=[e]:Fn=e}function dp(){if(Fn){var e=Fn,t=$n;if($n=Fn=null,Rd(e),t)for(e=0;e>>=0,e===0?32:31-(zv(e)/Uv|0)|0}var gi=64,yi=4194304;function ho(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 na(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var l=a&~o;l!==0?n=ho(l):(i&=a,i!==0&&(n=ho(i)))}else a=r&~o,a!==0?n=ho(a):i!==0&&(n=ho(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function ri(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wt(t),e[t]=r}function Wv(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=vo),zd=String.fromCharCode(32),Ud=!1;function Rp(e,t){switch(e){case"keyup":return bb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kn=!1;function wb(e,t){switch(e){case"compositionend":return Mp(t);case"keypress":return t.which!==32?null:(Ud=!0,zd);case"textInput":return e=t.data,e===zd&&Ud?null:e;default:return null}}function kb(e,t){if(kn)return e==="compositionend"||!nc&&Rp(e,t)?(e=_p(),Di=ec=ar=null,kn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Wd(r)}}function $p(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$p(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lp(){for(var e=window,t=Ji();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ji(e.document)}return t}function oc(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 Rb(e){var t=Lp(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&$p(r.ownerDocument.documentElement,r)){if(n!==null&&oc(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=Gd(r,i);var a=Gd(r,n);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>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Sn=null,Vs=null,xo=null,Hs=!1;function Kd(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Hs||Sn==null||Sn!==Ji(n)||(n=Sn,"selectionStart"in n&&oc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),xo&&Do(xo,n)||(xo=n,n=aa(Vs,"onSelect"),0Tn||(e.current=Qs[Tn],Qs[Tn]=null,Tn--)}function ne(e,t){Tn++,Qs[Tn]=e.current,e.current=t}var kr={},$e=Tr(kr),We=Tr(!1),Xr=kr;function Vn(e,t){var r=e.type.contextTypes;if(!r)return kr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ge(e){return e=e.childContextTypes,e!=null}function sa(){ae(We),ae($e)}function ef(e,t,r){if($e.current!==kr)throw Error(P(168));ne($e,t),ne(We,r)}function Gp(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(P(108,Tv(e)||"Unknown",o));return ce({},r,n)}function ua(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kr,Xr=$e.current,ne($e,e),ne(We,We.current),!0}function tf(e,t,r){var n=e.stateNode;if(!n)throw Error(P(169));r?(e=Gp(e,t,Xr),n.__reactInternalMemoizedMergedChildContext=e,ae(We),ae($e),ne($e,e)):ae(We),ne(We,r)}var At=null,Qa=!1,rs=!1;function Kp(e){At===null?At=[e]:At.push(e)}function Vb(e){Qa=!0,Kp(e)}function jr(){if(!rs&&At!==null){rs=!0;var e=0,t=J;try{var r=At;for(J=1;e>=a,o-=a,Ut=1<<32-wt(t)+o|r<M?(V=R,R=null):V=R.sibling;var T=p(g,R,v[M],b);if(T===null){R===null&&(R=V);break}e&&R&&T.alternate===null&&t(g,R),m=i(T,m,M),j===null?S=T:j.sibling=T,j=T,R=V}if(M===v.length)return r(g,R),le&&Mr(g,M),S;if(R===null){for(;MM?(V=R,R=null):V=R.sibling;var C=p(g,R,T.value,b);if(C===null){R===null&&(R=V);break}e&&R&&C.alternate===null&&t(g,R),m=i(C,m,M),j===null?S=C:j.sibling=C,j=C,R=V}if(T.done)return r(g,R),le&&Mr(g,M),S;if(R===null){for(;!T.done;M++,T=v.next())T=f(g,T.value,b),T!==null&&(m=i(T,m,M),j===null?S=T:j.sibling=T,j=T);return le&&Mr(g,M),S}for(R=n(g,R);!T.done;M++,T=v.next())T=y(R,g,M,T.value,b),T!==null&&(e&&T.alternate!==null&&R.delete(T.key===null?M:T.key),m=i(T,m,M),j===null?S=T:j.sibling=T,j=T);return e&&R.forEach(function(z){return t(g,z)}),le&&Mr(g,M),S}function k(g,m,v,b){if(typeof v=="object"&&v!==null&&v.type===wn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case pi:e:{for(var S=v.key,j=m;j!==null;){if(j.key===S){if(S=v.type,S===wn){if(j.tag===7){r(g,j.sibling),m=o(j,v.props.children),m.return=g,g=m;break e}}else if(j.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===tr&&uf(S)===j.type){r(g,j.sibling),m=o(j,v.props),m.ref=lo(g,j,v),m.return=g,g=m;break e}r(g,j);break}else t(g,j);j=j.sibling}v.type===wn?(m=Gr(v.props.children,g.mode,b,v.key),m.return=g,g=m):(b=Gi(v.type,v.key,v.props,null,g.mode,b),b.ref=lo(g,m,v),b.return=g,g=b)}return a(g);case xn:e:{for(j=v.key;m!==null;){if(m.key===j)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){r(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{r(g,m);break}else t(g,m);m=m.sibling}m=cs(v,g.mode,b),m.return=g,g=m}return a(g);case tr:return j=v._init,k(g,m,j(v._payload),b)}if(po(v))return x(g,m,v,b);if(ro(v))return w(g,m,v,b);Ci(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(r(g,m.sibling),m=o(m,v),m.return=g,g=m):(r(g,m),m=us(v,g.mode,b),m.return=g,g=m),a(g)):r(g,m)}return k}var Wn=th(!0),rh=th(!1),ii={},It=Tr(ii),Bo=Tr(ii),Vo=Tr(ii);function Vr(e){if(e===ii)throw Error(P(174));return e}function pc(e,t){switch(ne(Vo,t),ne(Bo,e),ne(It,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Os(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Os(t,e)}ae(It),ne(It,t)}function Gn(){ae(It),ae(Bo),ae(Vo)}function nh(e){Vr(Vo.current);var t=Vr(It.current),r=Os(t,e.type);t!==r&&(ne(Bo,e),ne(It,r))}function hc(e){Bo.current===e&&(ae(It),ae(Bo))}var se=Tr(0);function ma(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 ns=[];function mc(){for(var e=0;er?r:4,e(!0);var n=os.transition;os.transition={};try{e(!1),t()}finally{J=r,os.transition=n}}function bh(){return ht().memoizedState}function Kb(e,t,r){var n=gr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},xh(e))wh(t,r);else if(r=Xp(e,t,r,n),r!==null){var o=Ae();kt(r,e,n,o),kh(r,t,n)}}function Zb(e,t,r){var n=gr(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(xh(e))wh(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,l=i(a,r);if(o.hasEagerState=!0,o.eagerState=l,Ct(l,a)){var s=t.interleaved;s===null?(o.next=o,dc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}r=Xp(e,t,o,n),r!==null&&(o=Ae(),kt(r,e,n,o),kh(r,t,n))}}function xh(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function wh(e,t){wo=ga=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function kh(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Xu(e,r)}}var ya={readContext:pt,useCallback:Me,useContext:Me,useEffect:Me,useImperativeHandle:Me,useInsertionEffect:Me,useLayoutEffect:Me,useMemo:Me,useReducer:Me,useRef:Me,useState:Me,useDebugValue:Me,useDeferredValue:Me,useTransition:Me,useMutableSource:Me,useSyncExternalStore:Me,useId:Me,unstable_isNewReconciler:!1},Yb={readContext:pt,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:df,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Bi(4194308,4,hh.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var r=_t();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=_t();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Kb.bind(null,ue,e),[n.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:cf,useDebugValue:xc,useDeferredValue:function(e){return _t().memoizedState=e},useTransition:function(){var e=cf(!1),t=e[0];return e=Gb.bind(null,e[1]),_t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ue,o=_t();if(le){if(r===void 0)throw Error(P(407));r=r()}else{if(r=t(),Ce===null)throw Error(P(349));Jr&30||ah(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,df(sh.bind(null,n,i,e),[e]),n.flags|=2048,Go(9,lh.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=_t(),t=Ce.identifierPrefix;if(le){var r=Bt,n=Ut;r=(n&~(1<<32-wt(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ho++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[Rt]=t,e[Uo]=n,Rh(e,t,!1,!1),t.stateNode=e;e:{switch(a=Fs(r,n),r){case"dialog":oe("cancel",e),oe("close",e),o=n;break;case"iframe":case"object":case"embed":oe("load",e),o=n;break;case"video":case"audio":for(o=0;oZn&&(t.flags|=128,n=!0,so(i,!1),t.lanes=4194304)}else{if(!n)if(e=ma(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),so(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!le)return Oe(t),null}else 2*he()-i.renderingStartTime>Zn&&r!==1073741824&&(t.flags|=128,n=!0,so(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=he(),t.sibling=null,r=se.current,ne(se,n?r&1|2:r&1),t):(Oe(t),null);case 22:case 23:return Tc(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ze&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function n1(e,t){switch(ac(t),t.tag){case 1:return Ge(t.type)&&sa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gn(),ae(We),ae($e),mc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hc(t),null;case 13:if(ae(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(se),null;case 4:return Gn(),null;case 10:return cc(t.type._context),null;case 22:case 23:return Tc(),null;case 24:return null;default:return null}}var Ti=!1,Fe=!1,o1=typeof WeakSet=="function"?WeakSet:Set,$=null;function Pn(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){pe(e,t,n)}else r.current=null}function su(e,t,r){try{r()}catch(n){pe(e,t,n)}}var xf=!1;function i1(e,t){if(Ws=oa,e=Lp(),oc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,l=-1,s=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var y;f!==r||o!==0&&f.nodeType!==3||(l=a+o),f!==i||n!==0&&f.nodeType!==3||(s=a+n),f.nodeType===3&&(a+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===r&&++u===o&&(l=a),p===i&&++d===n&&(s=a),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}r=l===-1||s===-1?null:{start:l,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(Gs={focusedElem:e,selectionRange:r},oa=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,k=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:vt(t.type,w),k);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(b){pe(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return x=xf,xf=!1,x}function ko(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&su(t,r,i)}o=o.next}while(o!==n)}}function Ja(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function uu(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Ih(e){var t=e.alternate;t!==null&&(e.alternate=null,Ih(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[Uo],delete t[Ys],delete t[Ub],delete t[Bb])),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 Fh(e){return e.tag===5||e.tag===3||e.tag===4}function wf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fh(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 cu(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=la));else if(n!==4&&(e=e.child,e!==null))for(cu(e,t,r),e=e.sibling;e!==null;)cu(e,t,r),e=e.sibling}function du(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(du(e,t,r),e=e.sibling;e!==null;)du(e,t,r),e=e.sibling}var _e=null,bt=!1;function Jt(e,t,r){for(r=r.child;r!==null;)$h(e,t,r),r=r.sibling}function $h(e,t,r){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount(Wa,r)}catch{}switch(r.tag){case 5:Fe||Pn(r,t);case 6:var n=_e,o=bt;_e=null,Jt(e,t,r),_e=n,bt=o,_e!==null&&(bt?(e=_e,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):_e.removeChild(r.stateNode));break;case 18:_e!==null&&(bt?(e=_e,r=r.stateNode,e.nodeType===8?ts(e.parentNode,r):e.nodeType===1&&ts(e,r),$o(e)):ts(_e,r.stateNode));break;case 4:n=_e,o=bt,_e=r.stateNode.containerInfo,bt=!0,Jt(e,t,r),_e=n,bt=o;break;case 0:case 11:case 14:case 15:if(!Fe&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&su(r,t,a),o=o.next}while(o!==n)}Jt(e,t,r);break;case 1:if(!Fe&&(Pn(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){pe(r,t,l)}Jt(e,t,r);break;case 21:Jt(e,t,r);break;case 22:r.mode&1?(Fe=(n=Fe)||r.memoizedState!==null,Jt(e,t,r),Fe=n):Jt(e,t,r);break;default:Jt(e,t,r)}}function kf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new o1),t.forEach(function(n){var o=h1.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function mt(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=he()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*l1(n/1960))-n,10e?16:e,lr===null)var n=!1;else{if(e=lr,lr=null,xa=0,Q&6)throw Error(P(331));var o=Q;for(Q|=4,$=e.current;$!==null;){var i=$,a=i.child;if($.flags&16){var l=i.deletions;if(l!==null){for(var s=0;she()-Cc?Wr(e,0):Sc|=r),Ke(e,t)}function Hh(e,t){t===0&&(e.mode&1?(t=yi,yi<<=1,!(yi&130023424)&&(yi=4194304)):t=1);var r=Ae();e=Zt(e,t),e!==null&&(ri(e,t,r),Ke(e,r))}function p1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Hh(e,r)}function h1(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(P(314))}n!==null&&n.delete(t),Hh(e,r)}var Wh;Wh=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||We.current)He=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return He=!1,t1(e,t,r);He=!!(e.flags&131072)}else He=!1,le&&t.flags&1048576&&Zp(t,da,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Vi(e,t),e=t.pendingProps;var o=Vn(t,$e.current);Dn(t,r),o=yc(null,t,n,e,o,r);var i=vc();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,Ge(n)?(i=!0,ua(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,fc(t),o.updater=Xa,t.stateNode=o,o._reactInternals=t,tu(t,n,e,r),t=ou(null,t,n,!0,i,r)):(t.tag=0,le&&i&&ic(t),De(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Vi(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=g1(n),e=vt(n,e),o){case 0:t=nu(null,t,n,e,r);break e;case 1:t=yf(null,t,n,e,r);break e;case 11:t=mf(null,t,n,e,r);break e;case 14:t=gf(null,t,n,vt(n.type,e),r);break e}throw Error(P(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:vt(n,o),nu(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:vt(n,o),yf(e,t,n,o,r);case 3:e:{if(Nh(t),e===null)throw Error(P(387));n=t.pendingProps,i=t.memoizedState,o=i.element,qp(e,t),ha(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Kn(Error(P(423)),t),t=vf(e,t,n,r,o);break e}else if(n!==o){o=Kn(Error(P(424)),t),t=vf(e,t,n,r,o);break e}else for(Qe=pr(t.stateNode.containerInfo.firstChild),tt=t,le=!0,xt=null,r=rh(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Hn(),n===o){t=Yt(e,t,r);break e}De(e,t,n,r)}t=t.child}return t;case 5:return nh(t),e===null&&qs(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Ks(n,o)?a=null:i!==null&&Ks(n,i)&&(t.flags|=32),jh(e,t),De(e,t,a,r),t.child;case 6:return e===null&&qs(t),null;case 13:return _h(e,t,r);case 4:return pc(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Wn(t,null,n,r):De(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:vt(n,o),mf(e,t,n,o,r);case 7:return De(e,t,t.pendingProps,r),t.child;case 8:return De(e,t,t.pendingProps.children,r),t.child;case 12:return De(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,ne(fa,n._currentValue),n._currentValue=a,i!==null)if(Ct(i.value,a)){if(i.children===o.children&&!We.current){t=Yt(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var s=l.firstContext;s!==null;){if(s.context===n){if(i.tag===1){s=Ht(-1,r&-r),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?s.next=s:(s.next=d.next,d.next=s),u.pending=s}}i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),Js(i.return,r,t),l.lanes|=r;break}s=s.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(P(341));a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),Js(a,r,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}De(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Dn(t,r),o=pt(o),n=n(o),t.flags|=1,De(e,t,n,r),t.child;case 14:return n=t.type,o=vt(n,t.pendingProps),o=vt(n.type,o),gf(e,t,n,o,r);case 15:return Eh(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:vt(n,o),Vi(e,t),t.tag=1,Ge(n)?(e=!0,ua(t)):e=!1,Dn(t,r),eh(t,n,o),tu(t,n,o,r),ou(null,t,n,!0,e,r);case 19:return Ph(e,t,r);case 22:return Th(e,t,r)}throw Error(P(156,t.tag))};function Gh(e,t){return vp(e,t)}function m1(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dt(e,t,r,n){return new m1(e,t,r,n)}function Nc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g1(e){if(typeof e=="function")return Nc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ku)return 11;if(e===Zu)return 14}return 2}function yr(e,t){var r=e.alternate;return r===null?(r=dt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Gi(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")Nc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case wn:return Gr(r.children,o,i,t);case Gu:a=8,o|=8;break;case Es:return e=dt(12,r,t,o|2),e.elementType=Es,e.lanes=i,e;case Ts:return e=dt(13,r,t,o),e.elementType=Ts,e.lanes=i,e;case js:return e=dt(19,r,t,o),e.elementType=js,e.lanes=i,e;case tp:return tl(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J0:a=10;break e;case ep:a=9;break e;case Ku:a=11;break e;case Zu:a=14;break e;case tr:a=16,n=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=dt(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Gr(e,t,r,n){return e=dt(7,e,n,t),e.lanes=r,e}function tl(e,t,r,n){return e=dt(22,e,n,t),e.elementType=tp,e.lanes=r,e.stateNode={isHidden:!1},e}function us(e,t,r){return e=dt(6,e,null,t),e.lanes=r,e}function cs(e,t,r){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y1(e,t,r,n,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=Hl(0),this.expirationTimes=Hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hl(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _c(e,t,r,n,o,i,a,l,s){return e=new y1(e,t,r,l,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=dt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},fc(i),e}function v1(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qh)}catch(e){console.error(e)}}Qh(),Z0.exports=nt;var Oc=Z0.exports,Pf=Oc;Ss.createRoot=Pf.createRoot,Ss.hydrateRoot=Pf.hydrateRoot;/** + * @remix-run/router v1.6.2 + * + * 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 Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ic(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function C1(){return Math.random().toString(36).substr(2,8)}function Mf(e,t){return{usr:e.state,key:e.key,idx:t}}function gu(e,t,r,n){return r===void 0&&(r=null),Zo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?eo(t):t,{state:r,key:t&&t.key||n||C1()})}function Xh(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function eo(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function E1(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,l=sr.Pop,s=null,u=d();u==null&&(u=0,a.replaceState(Zo({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=sr.Pop;let k=d(),g=k==null?null:k-u;u=k,s&&s({action:l,location:w.location,delta:g})}function p(k,g){l=sr.Push;let m=gu(w.location,k,g);r&&r(m,k),u=d()+1;let v=Mf(m,u),b=w.createHref(m);try{a.pushState(v,"",b)}catch{o.location.assign(b)}i&&s&&s({action:l,location:w.location,delta:1})}function y(k,g){l=sr.Replace;let m=gu(w.location,k,g);r&&r(m,k),u=d();let v=Mf(m,u),b=w.createHref(m);a.replaceState(v,"",b),i&&s&&s({action:l,location:w.location,delta:0})}function x(k){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof k=="string"?k:Xh(k);return ye(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let w={get action(){return l},get location(){return e(o,a)},listen(k){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Rf,f),s=k,()=>{o.removeEventListener(Rf,f),s=null}},createHref(k){return t(o,k)},createURL:x,encodeLocation(k){let g=x(k);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:y,go(k){return a.go(k)}};return w}var Of;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Of||(Of={}));function T1(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?eo(t):t,o=em(n.pathname||"/",r);if(o==null)return null;let i=qh(e);j1(i);let a=null;for(let l=0;a==null&&l{let s={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};s.relativePath.startsWith("/")&&(ye(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(n.length));let u=Kr([n,s.relativePath]),d=r.concat(s);i.children&&i.children.length>0&&(ye(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),qh(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:I1(u,i.index),routesMeta:d})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let s of Jh(i.path))o(i,a,s)}),t}function Jh(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=Jh(n.join("/")),l=[];return l.push(...a.map(s=>s===""?i:[i,s].join("/"))),o&&l.push(...a),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function j1(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:F1(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const N1=/^:\w+$/,_1=3,P1=2,R1=1,M1=10,O1=-2,If=e=>e==="*";function I1(e,t){let r=e.split("/"),n=r.length;return r.some(If)&&(n+=O1),t&&(n+=P1),r.filter(o=>!If(o)).reduce((o,i)=>o+(N1.test(i)?_1:i===""?R1:M1),n)}function F1(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function $1(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{if(d==="*"){let p=l[f]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return u[d]=z1(l[f]||"",d),u},{}),pathname:i,pathnameBase:a,pattern:e}}function D1(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ic(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 n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,l)=>(n.push(l),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function A1(e){try{return decodeURI(e)}catch(t){return Ic(!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 z1(e,t){try{return decodeURIComponent(e)}catch(r){return Ic(!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 ("+r+").")),e}}function em(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function U1(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?eo(e):e;return{pathname:r?r.startsWith("/")?r:B1(r,t):t,search:H1(n),hash:W1(o)}}function B1(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function ds(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function tm(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function rm(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=eo(e):(o=Zo({},e),ye(!o.pathname||!o.pathname.includes("?"),ds("?","pathname","search",o)),ye(!o.pathname||!o.pathname.includes("#"),ds("#","pathname","hash",o)),ye(!o.search||!o.search.includes("#"),ds("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(n||a==null)l=r;else{let f=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}l=f>=0?t[f]:"/"}let s=U1(o,l),u=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||d)&&(s.pathname+="/"),s}const Kr=e=>e.join("/").replace(/\/\/+/g,"/"),V1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),H1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,W1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function G1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const nm=["post","put","patch","delete"];new Set(nm);const K1=["get",...nm];new Set(K1);/** + * React Router v6.11.2 + * + * 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 Sa(){return Sa=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),a=h.useRef(!1);return im(()=>{a.current=!0}),h.useCallback(function(s,u){if(u===void 0&&(u={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let d=rm(s,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Kr([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,i,o,e])}function Q1(e,t){return X1(e,t)}function X1(e,t,r){ai()||ye(!1);let{navigator:n}=h.useContext(al),{matches:o}=h.useContext(ln),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=sl(),u;if(t){var d;let w=typeof t=="string"?eo(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||ye(!1),u=w}else u=s;let f=u.pathname||"/",p=l==="/"?f:f.slice(l.length)||"/",y=T1(e,{pathname:p}),x=rx(y&&y.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Kr([l,n.encodeLocation?n.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Kr([l,n.encodeLocation?n.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r);return t&&x?h.createElement(ll.Provider,{value:{location:Sa({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:sr.Pop}},x):x}function q1(){let e=ax(),t=G1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),r?h.createElement("pre",{style:o},r):null,i)}const J1=h.createElement(q1,null);class ex extends h.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,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?h.createElement(ln.Provider,{value:this.props.routeContext},h.createElement(om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tx(e){let{routeContext:t,match:r,children:n}=e,o=h.useContext(Fc);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),h.createElement(ln.Provider,{value:t},n)}function rx(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let i=e,a=(n=r)==null?void 0:n.errors;if(a!=null){let l=i.findIndex(s=>s.route.id&&(a==null?void 0:a[s.route.id]));l>=0||ye(!1),i=i.slice(0,Math.min(i.length,l+1))}return i.reduceRight((l,s,u)=>{let d=s.route.id?a==null?void 0:a[s.route.id]:null,f=null;r&&(f=s.route.errorElement||J1);let p=t.concat(i.slice(0,u+1)),y=()=>{let x;return d?x=f:s.route.Component?x=h.createElement(s.route.Component,null):s.route.element?x=s.route.element:x=l,h.createElement(tx,{match:s,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:x})};return r&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?h.createElement(ex,{location:r.location,revalidation:r.revalidation,component:f,error:d,children:y(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):y()},null)}var yu;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(yu||(yu={}));var Yo;(function(e){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"})(Yo||(Yo={}));function nx(e){let t=h.useContext(Fc);return t||ye(!1),t}function ox(e){let t=h.useContext(Z1);return t||ye(!1),t}function ix(e){let t=h.useContext(ln);return t||ye(!1),t}function am(e){let t=ix(),r=t.matches[t.matches.length-1];return r.route.id||ye(!1),r.route.id}function ax(){var e;let t=h.useContext(om),r=ox(Yo.UseRouteError),n=am(Yo.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function lx(){let{router:e}=nx(yu.UseNavigateStable),t=am(Yo.UseNavigateStable),r=h.useRef(!1);return im(()=>{r.current=!0}),h.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Sa({fromRouteId:t},i)))},[e,t])}function lm(e){let{to:t,replace:r,state:n,relative:o}=e;ai()||ye(!1);let{matches:i}=h.useContext(ln),{pathname:a}=sl(),l=sn(),s=rm(t,tm(i).map(d=>d.pathnameBase),a,o==="path"),u=JSON.stringify(s);return h.useEffect(()=>l(JSON.parse(u),{replace:r,state:n,relative:o}),[l,u,o,r,n]),null}function Ir(e){ye(!1)}function sx(e){let{basename:t="/",children:r=null,location:n,navigationType:o=sr.Pop,navigator:i,static:a=!1}=e;ai()&&ye(!1);let l=t.replace(/^\/*/,"/"),s=h.useMemo(()=>({basename:l,navigator:i,static:a}),[l,i,a]);typeof n=="string"&&(n=eo(n));let{pathname:u="/",search:d="",hash:f="",state:p=null,key:y="default"}=n,x=h.useMemo(()=>{let w=em(u,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:p,key:y},navigationType:o}},[l,u,d,f,p,y,o]);return x==null?null:h.createElement(al.Provider,{value:s},h.createElement(ll.Provider,{children:r,value:x}))}function ux(e){let{children:t,location:r}=e;return Q1(vu(t),r)}var Ff;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Ff||(Ff={}));new Promise(()=>{});function vu(e,t){t===void 0&&(t=[]);let r=[];return h.Children.forEach(e,(n,o)=>{if(!h.isValidElement(n))return;let i=[...t,o];if(n.type===h.Fragment){r.push.apply(r,vu(n.props.children,i));return}n.type!==Ir&&ye(!1),!n.props.index||!n.props.children||ye(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=vu(n.props.children,i)),r.push(a)}),r}/** + * React Router DOM v6.11.2 + * + * 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 cx(e){let{basename:t,children:r,window:n}=e,o=h.useRef();o.current==null&&(o.current=S1({window:n,v5Compat:!0}));let i=o.current,[a,l]=h.useState({action:i.action,location:i.location});return h.useLayoutEffect(()=>i.listen(l),[i]),h.createElement(sx,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:i})}var $f;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})($f||($f={}));var Lf;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Lf||(Lf={}));const sm={version:"1.0.0",author:"Michaell Alavedra",year:new Date().getFullYear().toString()},um=h.createContext(sm),cm=({children:e})=>c.jsx(um.Provider,{value:sm,children:e}),dx={info:"#3b82f6",success:"#22c55e",error:"#ef4444",warn:"#f59e0b"},On=class{static log(t,r,n,o){console.group(`%c[${r}] ${n}`,"color: "+dx[t]),console.info(o),console.groupEnd()}static info(t,r,n){On.log("info",t,r,n)}static success(t,r,n){On.log("success",t,r,n)}static error(t,r,n){On.log("error",t,r,n)}static warn(t,r,n){On.log("warn",t,r,n)}};let Zr=On;te(Zr,"enabled",!0);let _i;const fx=new Uint8Array(16);function px(){if(!_i&&(_i=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!_i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return _i(fx)}const je=[];for(let e=0;e<256;++e)je.push((e+256).toString(16).slice(1));function hx(e,t=0){return(je[e[t+0]]+je[e[t+1]]+je[e[t+2]]+je[e[t+3]]+"-"+je[e[t+4]]+je[e[t+5]]+"-"+je[e[t+6]]+je[e[t+7]]+"-"+je[e[t+8]]+je[e[t+9]]+"-"+je[e[t+10]]+je[e[t+11]]+je[e[t+12]]+je[e[t+13]]+je[e[t+14]]+je[e[t+15]]).toLowerCase()}const mx=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Df={randomUUID:mx};function gx(e,t,r){if(Df.randomUUID&&!t&&!e)return Df.randomUUID();e=e||{};const n=e.random||(e.rng||px)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let o=0;o<16;++o)t[r+o]=n[o];return t}return hx(n)}const yx=gx,Ca="Database";class vx{_get(){try{const t=JSON.parse(localStorage.getItem(Ca)||"[]");return new Map(t)}catch{return new Map}}_set(t=new Map){try{localStorage.setItem(Ca,JSON.stringify(Array.from(t)))}catch{return}}getCollection(t,r){const o=this._get().get(t)?Ea.restore(t):new Ea(t,r);return Zr.info("database",t+" collection is initialized",o.findAll()),o}}class Ea{constructor(t,r){te(this,"database",new Map);this.name=t,r&&this._set(r)}static restore(t){return new Ea(t)}_database(){try{const t=JSON.parse(localStorage.getItem(Ca)||"[]");return new Map(t)}catch{return new Map}}_get(){this.database=this._database();const t=this.database.get(this.name);return t?Array.from(t.values()):[]}_set(t=[]){this.database=this._database(),this.database.set(this.name,t),localStorage.setItem(Ca,JSON.stringify(Array.from(this.database)||[]))}findAll(){return this._get()}findById(t){return this._get().find(n=>n.id===t)||null}create(t){const r={...t,id:yx()},n=[...this._get(),r];return this._set(n),Zr.success("database",`${this.name} created`,r),t}update(t){const r=this._get(),n=r.findIndex(({id:o})=>o===t.id);return n!==-1?(r[n]={...r[n],...t},this._set(r),Zr.success("database",`${this.name} updated`,t)):Zr.error("database",`${this.name} not updated`,t),t}bulk(t){t.forEach(r=>{this.create(r)})}delete(t){const r=this._get().filter(({id:n})=>n!==t.id);return this._set(r),t}deleteAll(){this._set([])}}const ul=new vx,bu=ul.getCollection("Geolocation");class bx{static execute(){return bu.findAll().at(0)||null}}class xx{static toGeolocation(t){return{id:t.id,state:t.state,country:t.country,city:t.city,latitude:t.latitude,longitude:t.longitude,address:t.address}}}const Af="Events";class wx{_get(){try{const t=JSON.parse(localStorage.getItem(Af)||"[]");return new Map(t)}catch{return new Map}}_set(t){try{localStorage.setItem(Af,JSON.stringify(Array.from(t)||[]))}catch{return}}value(){return this._get()}save(t){const r=this._get();r.set(t.name,t.detail),console.group(`%c[event] ${t.name}`,"color: #3b82f6"),console.info(t.detail),console.groupEnd(),this._set(r)}clear(){this._set(new Map)}}const Nr=new wx;class Ta{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Ta,"eventName","geolocation/saved");class kx{static execute(t){const r=xx.toGeolocation(t),n=r.id?bu.update(r):bu.create(r);return Ta.publish({geolocation:n}),n}}class ja{}te(ja,"findGeolocation",bx.execute),te(ja,"saveGeolocation",kx.execute);const zf="State";class Sx{_get(){try{const t=JSON.parse(localStorage.getItem(zf)||"[]");return new Map(t)}catch{return new Map}}_set(t){try{localStorage.setItem(zf,JSON.stringify(Array.from(t)||[]))}catch{return}}value(){return this._get()}save(t){const r=this._get();console.group(`%c[state] ${t.type}`,"color: #3b82f6"),console.info(t.payload),console.groupEnd(),r.set(t.type,t.payload),this._set(r)}clear(){this._set(new Map)}}const Qt=new Sx,Cx=(e,t)=>(Qt.save(t),t.type==="geolocation/saved"?{...e,geolocationSaved:t.payload}:e),Ex={geolocationSaved:null},Tx=e=>{const r=Qt.value().get("geolocation/saved")||null;return{...e,geolocationSaved:r}},$c=h.createContext({geolocationSaved:null,findGeolocation:()=>{throw new Error("findGeolocation() method not implemented.")},fetchGeolocation:()=>{throw new Error("fetchGeolocation() method not implemented.")},saveGeolocation:()=>{throw new Error("saveGeolocation() method not implemented.")}});class jx{static async getGeolocation(){const{coords:t}=await Nx.getCoords(),r=await Ki.request(t.latitude,t.longitude);return{state:r.address.state,country:r.address.country,city:r.address.city,address:r.display_name,latitude:t.latitude,longitude:t.longitude}}}class Nx{static getCoords(){return new Promise((t,r)=>{navigator.geolocation.getCurrentPosition(t,r,{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})})}}const yd=class{static async request(t,r){return fetch(`${yd.URL}?format=json&lat=${t}&lon=${r}`).then(n=>n.json())}};let Ki=yd;te(Ki,"URL","https://nominatim.openstreetmap.org/reverse");const _x=({children:e})=>{const[{geolocationSaved:t},r]=h.useReducer(Cx,Ex,Tx),n=h.useCallback(()=>ja.findGeolocation(),[]),o=h.useCallback(()=>jx.getGeolocation(),[]),i=h.useCallback(a=>{const l=ja.saveGeolocation(a);r({type:"geolocation/saved",payload:l})},[]);return c.jsx($c.Provider,{value:{geolocationSaved:t,findGeolocation:n,fetchGeolocation:o,saveGeolocation:i},children:e})},Px=[{id:"295694dc-cbca-417c-83de-7ea29901a29f",code:"AED",name:"unknown",countries:["United Arab Emirates (The)"],decimals:2},{id:"ec86f213-38e6-46a1-b692-d4f4b9a24014",code:"AFN",name:"unknown",countries:["Afghanistan"],decimals:2},{id:"119bdfed-c7b7-4964-9ab3-7e6160f6ed5c",code:"ALL",name:"unknown",countries:["Albania"],decimals:2},{id:"c2d19ae1-9b2e-4105-9dfd-a9ca0b95d28f",code:"AMD",name:"unknown",countries:["Armenia"],decimals:2},{id:"50caef36-0acb-4218-9b2d-243ae5b9b510",code:"ANG",name:"unknown",countries:["Curaçao","Sint Maarten (Dutch Part)"],decimals:2},{id:"ae223340-20c9-4229-9d55-cc71cfbd4965",code:"AOA",name:"unknown",countries:["Angola"],decimals:2},{id:"f5b71819-bb2e-484e-a1c2-62eaa633eede",code:"ARS",name:"unknown",countries:["Argentina"],decimals:2},{id:"a3bfe9f1-2588-427e-a2bc-61e823839dab",code:"AUD",name:"unknown",countries:["Australia","Christmas Island","Cocos (Keeling) Islands (The)","Heard Island and Mcdonald Islands","Kiribati","Nauru","Norfolk Island","Tuvalu"],decimals:2},{id:"6c7df3cc-d852-4fb6-a98b-c89044c62472",code:"AWG",name:"unknown",countries:["Aruba"],decimals:2},{id:"699aee01-3c77-40d8-81cf-85a6d7660cd7",code:"AZN",name:"unknown",countries:["Azerbaijan"],decimals:2},{id:"dba425a3-b64b-4e99-8ea2-7a19c0f177ee",code:"BAM",name:"unknown",countries:["Bosnia and Herzegovina"],decimals:2},{id:"9671bbf8-25c7-4775-a226-0fdf8f1f23cd",code:"BBD",name:"unknown",countries:["Barbados"],decimals:2},{id:"7baa8ea7-0447-414a-ad5f-9a16d9cc6ac7",code:"BDT",name:"unknown",countries:["Bangladesh"],decimals:2},{id:"8d86d14e-57cb-492a-8077-257559386b27",code:"BGN",name:"unknown",countries:["Bulgaria"],decimals:2},{id:"9d0478f6-9715-4800-b831-364878a0faaf",code:"BHD",name:"unknown",countries:["Bahrain"],decimals:3},{id:"8f6ce004-9c00-4ea1-b7cc-8f537c91fe93",code:"BIF",name:"unknown",countries:["Burundi"],decimals:0},{id:"a6da7f85-7a8b-4c85-89ee-aacc886a9a79",code:"BMD",name:"unknown",countries:["Bermuda"],decimals:2},{id:"1d598933-9f9f-477e-81f0-b4bf3ea7a7b2",code:"BND",name:"unknown",countries:["Brunei Darussalam"],decimals:2},{id:"d659f1ff-95e0-4538-a1d0-b5e2298f1d50",code:"BOB",name:"Boliviano",countries:["Bolivia"],decimals:2},{id:"f0354d8b-f994-422f-accc-0760ad2b75fd",code:"BOV",name:"unknown",countries:["Bolivia"],decimals:2},{id:"3cf88c51-9275-47b5-b7ae-ce1463b7311a",code:"BRL",name:"unknown",countries:["Brazil"],decimals:2},{id:"30e883e7-e29f-452a-8382-73625d547b17",code:"BSD",name:"unknown",countries:["Bahamas (The)"],decimals:2},{id:"7f1f60d8-3a56-40b3-82d5-f5b5c82d8786",code:"BTN",name:"unknown",countries:["Bhutan"],decimals:2},{id:"3d38ffa7-b70f-4be0-89d8-bcf3cccb6a73",code:"BWP",name:"unknown",countries:["Botswana"],decimals:2},{id:"14e183cf-54c2-4c61-a5ea-fbe8839a413b",code:"BYN",name:"unknown",countries:["Belarus"],decimals:2},{id:"947f68b6-9786-4ebb-81f0-0eb446dfc555",code:"BZD",name:"unknown",countries:["Belize"],decimals:2},{id:"451414d5-db88-4520-ac54-69e476d2e6eb",code:"CAD",name:"unknown",countries:["Canada"],decimals:2},{id:"b2ddfbc8-29e5-4313-93a2-35bb73c54f93",code:"CDF",name:"unknown",countries:["Congo (The Democratic Republic of The)"],decimals:2},{id:"4e16c621-cf74-4be3-b4da-e123525cc4b7",code:"CHE",name:"unknown",countries:["Switzerland"],decimals:2},{id:"d9699524-12f3-41bf-b295-ba727953d445",code:"CHF",name:"unknown",countries:["Liechtenstein","Switzerland"],decimals:2},{id:"9f6818cf-f372-4cbd-9d0e-2dac5e9fa4ca",code:"CHW",name:"unknown",countries:["Switzerland"],decimals:2},{id:"38fd8746-65f4-49c2-a1c2-aaa9c15b228e",code:"CLF",name:"unknown",countries:["Chile"],decimals:4},{id:"ebb68239-cc72-444b-bb44-bd5af882fc67",code:"CLP",name:"unknown",countries:["Chile"],decimals:0},{id:"729eeccd-a88b-4457-9d3d-6370046b7717",code:"CNY",name:"unknown",countries:["China"],decimals:2},{id:"c0fd0c57-6c90-4503-9e23-1e019060700a",code:"COP",name:"unknown",countries:["Colombia"],decimals:2},{id:"b2ea9feb-5866-408c-9a32-2c6a795e2d84",code:"COU",name:"unknown",countries:["Colombia"],decimals:2},{id:"b3dae849-cc16-4b94-bc30-aa8a3602808e",code:"CRC",name:"unknown",countries:["Costa Rica"],decimals:2},{id:"60703b0c-2ce7-4d08-8661-3632c546d259",code:"CUC",name:"unknown",countries:["Cuba"],decimals:2},{id:"85a48648-b261-4234-bbe9-ecdd93553638",code:"CUP",name:"unknown",countries:["Cuba"],decimals:2},{id:"ac804afa-5420-4a31-a7ab-86d938622e04",code:"CVE",name:"unknown",countries:["Cabo Verde"],decimals:2},{id:"e45a9705-b2da-4911-85db-3d7a13b08464",code:"CZK",name:"unknown",countries:["Czechia"],decimals:2},{id:"a6bc6fc7-d0cf-4aab-a2a3-62049b534f30",code:"DJF",name:"unknown",countries:["Djibouti"],decimals:0},{id:"f1189b65-7136-4d91-a3ef-b1e9c4b8bd77",code:"DKK",name:"unknown",countries:["Denmark","Faroe Islands (The)","Greenland"],decimals:2},{id:"005e5b15-0ff1-44c0-9fff-d49fa755d7d1",code:"DOP",name:"unknown",countries:["Dominican Republic (The)"],decimals:2},{id:"85a35f8c-971d-40c9-8b81-3ccda8baa6de",code:"DZD",name:"unknown",countries:["Algeria"],decimals:2},{id:"be92c825-a7ae-4c71-a3a8-94d0a087fc95",code:"EGP",name:"unknown",countries:["Egypt"],decimals:2},{id:"e3075633-584c-4ac9-97fe-ff62f311056f",code:"ERN",name:"unknown",countries:["Eritrea"],decimals:2},{id:"1040649b-b3f3-481c-bd49-ba4fc2fdf719",code:"ETB",name:"unknown",countries:["Ethiopia"],decimals:2},{id:"6ec7971d-1e2a-4310-8f99-901e327370de",code:"EUR",name:"unknown",countries:["Åland Islands","Andorra","Austria","Belgium","Cyprus","Estonia","European Union","Finland","France","French Guiana","French Southern Territories (The)","Germany","Greece","Guadeloupe","Holy See (The)","Ireland","Italy","Latvia","Lithuania","Luxembourg","Malta","Martinique","Mayotte","Monaco","Montenegro","Netherlands (The)","Portugal","Réunion","Saint Barthélemy","Saint Martin (French Part)","Saint Pierre and Miquelon","San Marino","Slovakia","Slovenia","Spain"],decimals:2},{id:"eb2dee1e-6a50-4b03-a63d-e51a1a4f329f",code:"FJD",name:"unknown",countries:["Fiji"],decimals:2},{id:"190f1eb3-2e45-462e-9dad-5f1a75fa5e0c",code:"FKP",name:"unknown",countries:["Falkland Islands (The) [Malvinas]"],decimals:2},{id:"ea079918-c805-43e1-a74c-a12563f2b632",code:"GBP",name:"unknown",countries:["Guernsey","Isle of Man","Jersey","United Kingdom of Great Britain and Northern Ireland (The)"],decimals:2},{id:"69bff71b-6a10-4903-8f00-198183291213",code:"GEL",name:"unknown",countries:["Georgia"],decimals:2},{id:"5b27639a-7271-406a-8f63-5a0385af4096",code:"GHS",name:"unknown",countries:["Ghana"],decimals:2},{id:"89488f11-4889-4631-b459-5a5dea0c366c",code:"GIP",name:"unknown",countries:["Gibraltar"],decimals:2},{id:"4344e963-4702-473f-b6d8-369214ad2a38",code:"GMD",name:"unknown",countries:["Gambia (The)"],decimals:2},{id:"1209170b-13f4-4617-a71d-b8c87a88e875",code:"GNF",name:"unknown",countries:["Guinea"],decimals:0},{id:"7ed2d5f5-ee22-4951-89a9-4a70dc5d4a04",code:"GTQ",name:"unknown",countries:["Guatemala"],decimals:2},{id:"29d9f404-525c-4376-abb8-72f2a2145901",code:"GYD",name:"unknown",countries:["Guyana"],decimals:2},{id:"4c16a9bc-6074-4141-85b0-20f285383c07",code:"HKD",name:"unknown",countries:["Hong Kong"],decimals:2},{id:"0e3720e2-e066-47f7-8935-4aac8a1abbff",code:"HNL",name:"unknown",countries:["Honduras"],decimals:2},{id:"fb5e796c-c091-4996-a4ac-a7eebb4b9fdd",code:"HRK",name:"unknown",countries:["Croatia"],decimals:2},{id:"81f3243f-f42e-4077-b9e0-1442b278c5dc",code:"HTG",name:"unknown",countries:["Haiti"],decimals:2},{id:"94ad16b0-1433-4d2e-8464-a3d1110a8a1d",code:"HUF",name:"unknown",countries:["Hungary"],decimals:2},{id:"6bede6ca-3cf0-4314-8038-03340386923d",code:"IDR",name:"unknown",countries:["Indonesia"],decimals:2},{id:"ef9eb7a9-e1a3-400f-9b05-af55a50d6598",code:"ILS",name:"unknown",countries:["Israel"],decimals:2},{id:"104e65ce-2aec-44ba-87cc-482d8d3fc619",code:"INR",name:"unknown",countries:["Bhutan","India"],decimals:2},{id:"0c71f5e9-0c07-4ac8-bc10-b9793e7c255a",code:"IQD",name:"unknown",countries:["Iraq"],decimals:3},{id:"2e0ff935-7508-4a49-9174-fae42c5d9e03",code:"IRR",name:"unknown",countries:["Iran (Islamic Republic Of)"],decimals:2},{id:"3182f530-32ae-4584-bed0-446df4eedda1",code:"ISK",name:"unknown",countries:["Iceland"],decimals:0},{id:"194720b9-ab51-4096-9b5b-e795976d21fe",code:"JMD",name:"unknown",countries:["Jamaica"],decimals:2},{id:"c973b540-6549-43ff-b302-1880cdd6ee05",code:"JOD",name:"unknown",countries:["Jordan"],decimals:3},{id:"256af383-034e-447a-8326-0e29b9086611",code:"JPY",name:"unknown",countries:["Japan"],decimals:0},{id:"26cb945c-490e-4401-a717-30b6002ba81a",code:"KES",name:"unknown",countries:["Kenya"],decimals:2},{id:"2f577086-ea87-499d-8dfd-069276eb5d3f",code:"KGS",name:"unknown",countries:["Kyrgyzstan"],decimals:2},{id:"0d830f4f-ec77-4d77-855a-9be5182c05c2",code:"KHR",name:"unknown",countries:["Cambodia"],decimals:2},{id:"8443c333-0dc4-4442-866f-62101efbfb1a",code:"KMF",name:"unknown",countries:["Comoros (The)"],decimals:0},{id:"5fcaed57-95fb-4e50-9ffc-6af1544cfb0b",code:"KPW",name:"unknown",countries:["Korea (The Democratic People’s Republic Of)"],decimals:2},{id:"38f33fc1-c71b-48aa-baa6-8115c19f9057",code:"KRW",name:"unknown",countries:["Korea (The Republic Of)"],decimals:0},{id:"7c1313be-8ba2-4ea3-b4a1-cf790a0f7090",code:"KWD",name:"unknown",countries:["Kuwait"],decimals:3},{id:"b936ef2b-a255-48d3-b8ed-56f780098d74",code:"KYD",name:"unknown",countries:["Cayman Islands (The)"],decimals:2},{id:"ed5a583f-a074-4ed5-a68a-f80f8fa3d40c",code:"KZT",name:"unknown",countries:["Kazakhstan"],decimals:2},{id:"444dcae6-21ed-43a7-9d9d-5cfe2150615e",code:"LAK",name:"unknown",countries:["Lao People’s Democratic Republic (The)"],decimals:2},{id:"9a664fc3-fda7-4696-a65e-8560bf765a81",code:"LBP",name:"unknown",countries:["Lebanon"],decimals:2},{id:"e1e4975a-6590-42da-a84b-362b07bd0e64",code:"LKR",name:"unknown",countries:["Sri Lanka"],decimals:2},{id:"60becd4d-9b03-49d2-bc19-d615522757bc",code:"LRD",name:"unknown",countries:["Liberia"],decimals:2},{id:"1d580f78-bd30-495a-a9ca-cd9773905e0a",code:"LSL",name:"unknown",countries:["Lesotho"],decimals:2},{id:"6a9daaea-5e8e-4008-a167-31b1d97de8a7",code:"LYD",name:"unknown",countries:["Libya"],decimals:3},{id:"93e352cf-8160-4491-825e-6f5ba7a5cd0a",code:"MAD",name:"unknown",countries:["Morocco","Western Sahara"],decimals:2},{id:"4ee38ade-2c6e-4156-acd0-d18a5155ecfe",code:"MDL",name:"unknown",countries:["Moldova (The Republic Of)"],decimals:2},{id:"17f188fc-e505-4af0-834d-8cfe58942c42",code:"MGA",name:"unknown",countries:["Madagascar"],decimals:2},{id:"6f8d551c-3327-499a-9e4c-5e339d4356f2",code:"MKD",name:"unknown",countries:["Macedonia (The Former Yugoslav Republic Of)"],decimals:2},{id:"749f96bb-63d4-4326-bc08-598ceb4e3ad3",code:"MMK",name:"unknown",countries:["Myanmar"],decimals:2},{id:"32a3de1f-4779-4831-9e6c-7deb41ed9a1e",code:"MNT",name:"unknown",countries:["Mongolia"],decimals:2},{id:"3f9bfa2a-6aaa-43a1-91e9-148358901ab2",code:"MOP",name:"unknown",countries:["Macao"],decimals:2},{id:"459022d7-ccfd-4689-98c8-8a48fd2db50b",code:"MRU",name:"unknown",countries:["Mauritania"],decimals:2},{id:"d4eb7545-1e2c-40d8-98ca-27ede71a6a08",code:"MUR",name:"unknown",countries:["Mauritius"],decimals:2},{id:"f7d024c6-a15c-4402-a7aa-4d71bdfa3151",code:"MVR",name:"unknown",countries:["Maldives"],decimals:2},{id:"b29fe380-0fc0-42c4-8dfc-cd631a3d8390",code:"MWK",name:"unknown",countries:["Malawi"],decimals:2},{id:"17ac0891-22b5-4797-aedf-845a13915ca8",code:"MXN",name:"unknown",countries:["Mexico"],decimals:2},{id:"62fc5dc6-84bd-4f55-92f7-e87cbbd7b60f",code:"MXV",name:"unknown",countries:["Mexico"],decimals:2},{id:"f4727ab8-0401-4cb5-ab9a-1b20e94b7353",code:"MYR",name:"unknown",countries:["Malaysia"],decimals:2},{id:"a7b8c12a-a228-4298-817e-3cffdd9ef6a3",code:"MZN",name:"unknown",countries:["Mozambique"],decimals:2},{id:"fc84f657-6553-432c-b742-bcbc78bd4bac",code:"NAD",name:"unknown",countries:["Namibia"],decimals:2},{id:"737141a1-04c2-453b-a5db-95530c02db01",code:"NGN",name:"unknown",countries:["Nigeria"],decimals:2},{id:"84f1175d-3c05-4ea9-b3eb-b624008eedfc",code:"NIO",name:"unknown",countries:["Nicaragua"],decimals:2},{id:"caf435a2-b955-4692-ad4b-4e0011b7a437",code:"NOK",name:"unknown",countries:["Bouvet Island","Norway","Svalbard and Jan Mayen"],decimals:2},{id:"1e11644b-5dd5-4b9b-b8bc-5958538f72ff",code:"NPR",name:"unknown",countries:["Nepal"],decimals:2},{id:"2c7ea646-59fc-4c1c-ad9d-83abd8583a4e",code:"NZD",name:"unknown",countries:["Cook Islands (The)","New Zealand","Niue","Pitcairn","Tokelau"],decimals:2},{id:"c2e07b59-f8e1-4d48-a237-e944336cc02e",code:"OMR",name:"unknown",countries:["Oman"],decimals:3},{id:"c6840d49-c1a9-4609-a733-4112a3232217",code:"PAB",name:"unknown",countries:["Panama"],decimals:2},{id:"8dacdd4b-82f6-4296-939e-215fc77155b9",code:"PEN",name:"Nuevo Sol Peruano",countries:["Peru"],decimals:2},{id:"70dd693c-ce31-4bf2-9f10-d59337961aa5",code:"PGK",name:"unknown",countries:["Papua New Guinea"],decimals:2},{id:"9781801d-06a2-4393-b1dd-2f4f00f0309d",code:"PHP",name:"unknown",countries:["Philippines (The)"],decimals:2},{id:"a4e5e4f8-71cb-479f-8dc8-ce3c0062ea5e",code:"PKR",name:"unknown",countries:["Pakistan"],decimals:2},{id:"7db413f8-f385-4266-a51a-d5c464022647",code:"PLN",name:"unknown",countries:["Poland"],decimals:2},{id:"b6ea784a-58f2-4363-97cb-4e8fdc524e8d",code:"PYG",name:"unknown",countries:["Paraguay"],decimals:0},{id:"8f055653-5839-4307-bf11-1fef83f037ec",code:"QAR",name:"unknown",countries:["Qatar"],decimals:2},{id:"3ae5a83f-f61f-4672-9bba-9fd338ba0add",code:"RON",name:"unknown",countries:["Romania"],decimals:2},{id:"71f5d60e-398b-45fd-ae81-cbfe9583992b",code:"RSD",name:"unknown",countries:["Serbia"],decimals:2},{id:"c8fc99d4-41ea-4b29-b514-76be79b809d9",code:"RUB",name:"unknown",countries:["Russian Federation (The)"],decimals:2},{id:"3c227380-d6ba-4862-8a2c-43e4dbc7aa2d",code:"RWF",name:"unknown",countries:["Rwanda"],decimals:0},{id:"31df3aad-29eb-480a-93eb-6e1533077718",code:"SAR",name:"unknown",countries:["Saudi Arabia"],decimals:2},{id:"a380ec72-afb5-4e3b-bd22-ba4baf256504",code:"SBD",name:"unknown",countries:["Solomon Islands"],decimals:2},{id:"18ea376d-400a-4f1a-98fb-6a22a0b7c235",code:"SCR",name:"unknown",countries:["Seychelles"],decimals:2},{id:"7c029273-0ae4-4be3-8e35-cd54eeb637ae",code:"SDG",name:"unknown",countries:["Sudan (The)"],decimals:2},{id:"c863f643-049a-401c-a220-814a6ee8f2dd",code:"SEK",name:"unknown",countries:["Sweden"],decimals:2},{id:"9bb27a79-92a0-4c1c-83d1-7b8ffa74a281",code:"SGD",name:"unknown",countries:["Singapore"],decimals:2},{id:"98ae0058-3ff9-4949-92d7-c4f84d522bf2",code:"SHP",name:"unknown",countries:["Saint Helena, Ascension and Tristan Da Cunha"],decimals:2},{id:"f53f323e-01c9-4be6-95fd-31ddca36241d",code:"SLL",name:"unknown",countries:["Sierra Leone"],decimals:2},{id:"ddfaf8b3-6f28-4865-ae85-f5b5647bcbe6",code:"SOS",name:"unknown",countries:["Somalia"],decimals:2},{id:"cd699329-2765-4025-8555-63192d056009",code:"SRD",name:"unknown",countries:["Suriname"],decimals:2},{id:"0498ab89-d562-498a-a038-1d83c72d2e45",code:"SSP",name:"unknown",countries:["South Sudan"],decimals:2},{id:"771ef37b-337c-4a8d-a28d-41f547e01e15",code:"STN",name:"unknown",countries:["Sao Tome and Principe"],decimals:2},{id:"21c63f2c-bf36-4324-9c11-29e92ec3572d",code:"SVC",name:"unknown",countries:["El Salvador"],decimals:2},{id:"6777d8d0-6266-4198-a260-6ee0de3e87e9",code:"SYP",name:"unknown",countries:["Syrian Arab Republic"],decimals:2},{id:"11c8bde5-7f31-4674-bd80-bc06573227fc",code:"SZL",name:"unknown",countries:["Eswatini"],decimals:2},{id:"325f8344-5f8d-403f-b6d4-5ff14d01f762",code:"THB",name:"unknown",countries:["Thailand"],decimals:2},{id:"7efed9d7-6aab-41c5-87e1-55613b6748ab",code:"TJS",name:"unknown",countries:["Tajikistan"],decimals:2},{id:"10d091e8-d80f-49d9-ab16-76eb19ab545a",code:"TMT",name:"unknown",countries:["Turkmenistan"],decimals:2},{id:"dcbeafe5-3ce8-4655-8f17-8eb1908714d6",code:"TND",name:"unknown",countries:["Tunisia"],decimals:3},{id:"44897ab3-3bf4-49da-b0f3-f816cc248856",code:"TOP",name:"unknown",countries:["Tonga"],decimals:2},{id:"5bceb420-9462-414c-aefd-e6abc25ee0d0",code:"TRY",name:"unknown",countries:["Turkey"],decimals:2},{id:"3e82df30-fdb9-4cee-8d02-0e79d41c28e6",code:"TTD",name:"unknown",countries:["Trinidad and Tobago"],decimals:2},{id:"e7d82d19-963b-46fa-9aad-8f594eff2f88",code:"TWD",name:"unknown",countries:["Taiwan (Province of China)"],decimals:2},{id:"a09b7a83-ec88-44f8-8f2b-794a72e13e44",code:"TZS",name:"unknown",countries:["Tanzania, United Republic Of"],decimals:2},{id:"a504aa7d-edd3-4db7-bdeb-3deb8517c968",code:"UAH",name:"unknown",countries:["Ukraine"],decimals:2},{id:"1b453d0d-0992-4ca1-817e-56a466aa5598",code:"UGX",name:"unknown",countries:["Uganda"],decimals:0},{id:"8ea4c831-b37b-4f1c-abe4-12361dd890f5",code:"USD",name:"US Dollar",countries:["American Samoa","Bonaire, Sint Eustatius and Saba","British Indian Ocean Territory","Ecuador","El Salvador","Guam","Haiti","Marshall Islands","Micronesia (Federated States Of)","Northern Mariana Islands (The)","Palau","Panama","Puerto Rico","Timor-Leste","Turks and Caicos Islands","United States Minor Outlying Islands","United States of America","Virgin Islands","Virgin Islands"],decimals:2},{id:"1bcd65b7-1dd0-4b08-8ef3-901bf45ede4a",code:"USN",name:"unknown",countries:["United States of America (The)"],decimals:2},{id:"4330398c-b7d9-4630-94c9-4c35ed9f438c",code:"UYI",name:"unknown",countries:["Uruguay"],decimals:0},{id:"5e36fad5-0f44-47d0-a52a-98e1192c96d1",code:"UYU",name:"unknown",countries:["Uruguay"],decimals:2},{id:"8c278cc7-d71a-4ffa-9b12-953f1de61cc3",code:"UYW",name:"unknown",countries:["Uruguay"],decimals:4},{id:"9867be67-c50b-4b8e-b209-f8c08a475b4f",code:"UZS",name:"unknown",countries:["Uzbekistan"],decimals:2},{id:"279779de-467d-4c25-b5c9-049340ce3d90",code:"VES",name:"unknown",countries:["Venezuela (Bolivarian Republic Of)"],decimals:2},{id:"8d173460-f5d9-43bb-98d9-c0635721bd03",code:"VND",name:"unknown",countries:["Viet Nam"],decimals:0},{id:"9067d316-8b73-4508-8325-31f5871dde87",code:"VUV",name:"unknown",countries:["Vanuatu"],decimals:0},{id:"105a5b8a-0de8-453d-8ab5-0f5b4dcf44c8",code:"WST",name:"unknown",countries:["Samoa"],decimals:2},{id:"82a82450-930f-4b83-8bda-0c833a2627fc",code:"XAF",name:"unknown",countries:["Cameroon","Central African Republic (The)","Chad","Congo (The)","Equatorial Guinea","Gabon"],decimals:0},{id:"f7a52578-13c0-45c9-9124-5d3e2ed9c03d",code:"XAG",name:"unknown",countries:["Zz11_silver"],decimals:0},{id:"ebe9ce94-b70e-47d1-8ad0-2f571ad0a24d",code:"XAU",name:"unknown",countries:["Zz08_gold"],decimals:0},{id:"ed2d20d5-adbd-4fb1-9248-b1ffe6f7b623",code:"XBA",name:"unknown",countries:["Zz01_bond Markets Unit European_eurco"],decimals:0},{id:"b735b08c-d0e7-4c0b-a344-a3cbfaa1c5f3",code:"XBB",name:"unknown",countries:["Zz02_bond Markets Unit European_emu-6"],decimals:0},{id:"aab86b9e-429b-4ab7-aec7-71be05d3ca6a",code:"XBC",name:"unknown",countries:["Zz03_bond Markets Unit European_eua-9"],decimals:0},{id:"e250bf10-a7cf-477a-985f-9511b4db3739",code:"XBD",name:"unknown",countries:["Zz04_bond Markets Unit European_eua-17"],decimals:0},{id:"feb6849c-2b87-47ac-a9c9-c049ef678f71",code:"XCD",name:"unknown",countries:["Anguilla","Antigua and Barbuda","Dominica","Grenada","Montserrat","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines"],decimals:2},{id:"760f6e43-cb77-4a92-afe9-d359aad8b7ab",code:"XDR",name:"unknown",countries:["International Monetary Fund (Imf) "],decimals:0},{id:"4d4b13ca-5fb7-4be4-984d-f30fc8497cbb",code:"XOF",name:"unknown",countries:["Benin","Burkina Faso","Côte d'Ivoire","Guinea-Bissau","Mali","Niger (The)","Senegal","Togo"],decimals:0},{id:"0fd903d6-a8dd-425e-96b9-53be9d7acb24",code:"XPD",name:"unknown",countries:["Zz09_palladium"],decimals:0},{id:"cb1279d5-c34f-49f3-89a9-f298ee937b31",code:"XPF",name:"unknown",countries:["French Polynesia","New Caledonia","Wallis and Futuna"],decimals:0},{id:"617680ba-a7d5-4f35-9c4b-3c558c6c0f26",code:"XPT",name:"unknown",countries:["Zz10_platinum"],decimals:0},{id:"bbbc0a45-1f38-4ddb-8e2d-ab6e884a32ca",code:"XSU",name:"unknown",countries:['Sistema Unitario De Compensacion Regional De Pagos "Sucre"'],decimals:0},{id:"47766050-92ad-40ce-af9b-f9dc7e456836",code:"XTS",name:"unknown",countries:["Zz06_testing_code"],decimals:0},{id:"09018f8f-13b8-4218-aca6-afa990a3a567",code:"XUA",name:"unknown",countries:["Member Countries of the African Development Bank Group"],decimals:0},{id:"2a2e779b-97d5-4707-b4a6-adc9ab969ce5",code:"XXX",name:"unknown",countries:["Zz07_no_currency"],decimals:0},{id:"492751cb-c03b-4372-9160-f1bda2eee715",code:"YER",name:"unknown",countries:["Yemen"],decimals:2},{id:"bc667290-a865-4f54-bed8-2a871a56e44c",code:"ZAR",name:"unknown",countries:["Lesotho","Namibia","South Africa"],decimals:2},{id:"f1910e41-714c-4c45-9065-3dd8fd7165e5",code:"ZMW",name:"unknown",countries:["Zambia"],decimals:2},{id:"142cd538-aff4-466a-ad8f-0c578987dd7c",code:"ZWL",name:"unknown",countries:["Zimbabwe"],decimals:2}].filter(e=>["USD","PEN","BOB"].includes(e.code)),dm=ul.getCollection("Currencies",Px);class Rx{static execute(){return dm.findAll()}}class xu{}te(xu,"findCurrencies",Rx.execute);const Mx=(e,t)=>(Qt.save(t),t.type==="currency/unselected"?{...e,currencySelected:null}:t.type==="currency/selected"?{...e,currencySelected:t.payload}:e),Ox={currencySelected:null},Ix=e=>{const r=Qt.value().get("currency/selected")||dm.findById("8ea4c831-b37b-4f1c-abe4-12361dd890f5");return Qt.save({type:"currency/selected",payload:r}),{...e,currencySelected:r}},li=h.createContext({currencies:[],currencySelected:null,findCurrencies:()=>{throw new Error("findCurrencies() method not implemented")},selectCurrency:()=>{throw new Error("selectCurrency() method not implemented")},unselectCurrency:()=>{throw new Error("unselectCurrency method not implemented")}}),Fx=({children:e})=>{const[t,r]=h.useState([]),[{currencySelected:n},o]=h.useReducer(Mx,Ox,Ix),i=h.useCallback(()=>{const s=xu.findCurrencies();return r(s),s},[]),a=h.useCallback(s=>{o({type:"currency/selected",payload:s})},[]),l=h.useCallback(()=>{o({type:"currency/unselected",payload:null})},[]);return h.useEffect(()=>{const s=u=>{const{geolocation:d}=u.detail,f=xu.findCurrencies().find(p=>p.countries.includes(d.country));f&&a(f)};return Ta.subscribe(s),()=>{Ta.unsubscribe(s)}},[]),c.jsx(li.Provider,{value:{currencies:t,currencySelected:n,findCurrencies:i,selectCurrency:a,unselectCurrency:l},children:e})},cl=ul.getCollection("Works");class $x{static execute(){return cl.findAll()}}const Lc={"0-1":1,"2-3":1.2,"4-5":1.4,"6-7":1.6,"8-9":1.8,"10+":2},Dc={Low:1,Normal:1.1,High:1.2};class Lx{static calculate(t){const o=4*(t.workHoursPerDay*t.workDaysPerWeek),i=t.minSalary*Lc[t.experience]*Dc[t.marketDemand],a=t.indirectCostsMonthly/o,s=(i/o+a)*(1+t.profitMargin/100),u=s/3600,d=s/60,f=s*t.workHoursPerDay,p=f*t.workDaysPerWeek,y=p*4,x=y*12;return{perSecond:u,perMinute:d,perHour:s,perDay:f,perWeek:p,perMonth:y,perYear:x}}}class Ac{static toWork(t){const r=Lx.calculate(t);return{id:t.id,title:t.title,minSalary:t.minSalary,experience:t.experience,marketDemand:t.marketDemand,indirectCostsMonthly:t.indirectCostsMonthly,profitMargin:t.profitMargin,workHoursPerDay:t.workHoursPerDay,workDaysPerWeek:t.workDaysPerWeek,currencyId:t.currencyId,rate:r,date:new Date().toISOString()}}}class Na{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Na,"eventName","work/created");class Dx{static execute(t){const r=Ac.toWork(t),n=cl.create(r);return Na.publish({work:n}),n}}class _a{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(_a,"eventName","work/updated");class Ax{static execute(t){const r=Ac.toWork(t),n=cl.update(r);return _a.publish({work:n}),n}}class Pa{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Pa,"eventName","work/deleted");class zx{static execute(t){const r=Ac.toWork(t),n=cl.delete(r);return Pa.publish({work:n}),n}}class zt{}te(zt,"findWorks",$x.execute),te(zt,"createWork",Dx.execute),te(zt,"updateWork",Ax.execute),te(zt,"deleteWork",zx.execute);const Ux=(e,t)=>(Qt.save(t),t.type==="work/selected"?{...e,workSelected:t.payload}:t.type==="work/unselected"?{...e,workSelected:null}:e),Bx={workSelected:null},Vx=e=>{const r=Qt.value().get("work/selected")||null;return{...e,workSelected:r}},un=h.createContext({works:[],workSelected:null,findWorks:()=>{throw new Error("findWorks() method not implemented.")},selectWork:()=>{throw new Error("selectWork() method not implemented.")},unselectWork:()=>{throw new Error("unselectWork() method not implemented.")},createWork:()=>{throw new Error("createWork() method not implemented.")},updateWork:()=>{throw new Error("updateWork() method not implemented.")},deleteWork:()=>{throw new Error("deleteWork() method not implemented.")}}),Hx=({children:e})=>{const[{workSelected:t},r]=h.useReducer(Ux,Bx,Vx),[n,o]=h.useState([]),i=h.useCallback(()=>{const f=zt.findWorks();return o(f),f},[]),a=h.useCallback(f=>{r({type:"work/selected",payload:f})},[]),l=h.useCallback(()=>{r({type:"work/unselected",payload:null})},[]),s=h.useCallback(f=>zt.createWork(f),[]),u=h.useCallback(f=>zt.updateWork(f),[]),d=h.useCallback(f=>zt.deleteWork(f),[]);return h.useEffect(()=>{const f=()=>{const p=zt.findWorks();o(p)};return Na.subscribe(f),_a.subscribe(f),Pa.subscribe(f),()=>{Na.unsubscribe(f),_a.unsubscribe(f),Pa.unsubscribe(f)}},[]),c.jsx(un.Provider,{value:{works:n,workSelected:t,findWorks:i,selectWork:a,unselectWork:l,createWork:s,updateWork:u,deleteWork:d},children:e})},fs=({children:e})=>{const{findGeolocation:t}=h.useContext($c),r=sl();return t()===null?c.jsx(lm,{to:"/geolocation/form",state:{from:r},replace:!0}):e},Wx=()=>c.jsx("div",{className:"p-2 text-center text-white",children:"Content Not Found"});var fm={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o{t[r]=wu(e[r])}),t}function F(e,t){if(Fr(t)&&Object.keys(t).length===0)return wu({...e,...t});const r={...e,...t};return Fr(t)&&Fr(e)&&Object.keys(t).forEach(n=>{Fr(t[n])&&n in e&&Fr(e[n])?r[n]=F(e[n],t[n]):r[n]=Fr(t[n])?wu(t[n]):t[n]}),r}const rw=()=>typeof window<"u",nw={accordion:{root:{base:"divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700",flush:{off:"rounded-lg border",on:"border-b"}},content:{base:"py-5 px-5 last:rounded-b-lg dark:bg-gray-900 first:rounded-t-lg"},title:{arrow:{base:"h-6 w-6 shrink-0",open:{off:"",on:"rotate-180"}},base:"flex w-full items-center justify-between first:rounded-t-lg last:rounded-b-lg py-5 px-5 text-left font-medium text-gray-500 dark:text-gray-400",flush:{off:"hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-800 dark:focus:ring-gray-800",on:"!bg-transparent dark:!bg-transparent"},heading:"",open:{off:"",on:"text-gray-900 bg-gray-100 dark:bg-gray-800 dark:text-white"}}},alert:{base:"flex flex-col gap-2 p-4 text-sm",borderAccent:"border-t-4",closeButton:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2",icon:"w-5 h-5",color:{info:"bg-blue-100 text-blue-500 hover:bg-blue-200 focus:ring-blue-400 dark:bg-blue-200 dark:text-blue-600 dark:hover:bg-blue-300",gray:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-white",failure:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",success:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",warning:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",red:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",green:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",yellow:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",blue:"bg-blue-100 text-blue-500 hover:bg-blue-200 focus:ring-blue-400 dark:bg-blue-200 dark:text-blue-600 dark:hover:bg-blue-300",cyan:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",pink:"bg-pink-100 text-pink-500 hover:bg-pink-200 focus:ring-pink-400 dark:bg-pink-200 dark:text-pink-600 dark:hover:bg-pink-300",lime:"bg-lime-100 text-lime-500 hover:bg-lime-200 focus:ring-lime-400 dark:bg-lime-200 dark:text-lime-600 dark:hover:bg-lime-300",dark:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-200 dark:text-gray-600 dark:hover:bg-gray-300",indigo:"bg-indigo-100 text-indigo-500 hover:bg-indigo-200 focus:ring-indigo-400 dark:bg-indigo-200 dark:text-indigo-600 dark:hover:bg-indigo-300",purple:"bg-purple-100 text-purple-500 hover:bg-purple-200 focus:ring-purple-400 dark:bg-purple-200 dark:text-purple-600 dark:hover:bg-purple-300",teal:"bg-teal-100 text-teal-500 hover:bg-teal-200 focus:ring-teal-400 dark:bg-teal-200 dark:text-teal-600 dark:hover:bg-teal-300",light:"bg-gray-50 text-gray-500 hover:bg-gray-100 focus:ring-gray-200 dark:bg-gray-600 dark:text-gray-200 dark:hover:bg-gray-700 dark:hover:text-white"}},color:{info:"text-blue-700 bg-blue-100 border-blue-500 dark:bg-blue-200 dark:text-blue-800",gray:"text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-700 dark:text-gray-300",failure:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",success:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",warning:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",red:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",green:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",yellow:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",blue:"text-blue-700 bg-blue-100 border-blue-500 dark:bg-blue-200 dark:text-blue-800",cyan:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",pink:"text-pink-700 bg-pink-100 border-pink-500 dark:bg-pink-200 dark:text-pink-800",lime:"text-lime-700 bg-lime-100 border-lime-500 dark:bg-lime-200 dark:text-lime-800",dark:"text-gray-200 bg-gray-800 border-gray-600 dark:bg-gray-900 dark:text-gray-300",indigo:"text-indigo-700 bg-indigo-100 border-indigo-500 dark:bg-indigo-200 dark:text-indigo-800",purple:"text-purple-700 bg-purple-100 border-purple-500 dark:bg-purple-200 dark:text-purple-800",teal:"text-teal-700 bg-teal-100 border-teal-500 dark:bg-teal-200 dark:text-teal-800",light:"text-gray-600 bg-gray-50 border-gray-400 dark:bg-gray-500 dark:text-gray-200"},icon:"mr-3 inline h-5 w-5 flex-shrink-0",rounded:"rounded-lg",wrapper:"flex items-center"},avatar:{root:{base:"flex justify-center items-center space-x-4",bordered:"p-1 ring-2",rounded:"!rounded-full",color:{dark:"ring-gray-800 dark:ring-gray-800",failure:"ring-red-500 dark:ring-red-700",gray:"ring-gray-500 dark:ring-gray-400",info:"ring-blue-400 dark:ring-blue-800",light:"ring-gray-300 dark:ring-gray-500",purple:"ring-purple-500 dark:ring-purple-600",success:"ring-green-500 dark:ring-green-500",warning:"ring-yellow-300 dark:ring-yellow-500",pink:"ring-pink-500 dark:ring-pink-500"},img:{off:"rounded relative overflow-hidden bg-gray-100 dark:bg-gray-600",on:"rounded",placeholder:"absolute w-auto h-auto text-gray-400 -bottom-1"},size:{xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-20 h-20",xl:"w-36 h-36"},stacked:"ring-2 ring-gray-300 dark:ring-gray-500",statusPosition:{"bottom-left":"-bottom-1 -left-1","bottom-center":"-botton-1 center","bottom-right":"-bottom-1 -right-1","top-left":"-top-1 -left-1","top-center":"-top-1 center","top-right":"-top-1 -right-1","center-right":"center -right-1",center:"center center","center-left":"center -left-1"},status:{away:"bg-yellow-400",base:"absolute h-3.5 w-3.5 rounded-full border-2 border-white dark:border-gray-800",busy:"bg-red-400",offline:"bg-gray-400",online:"bg-green-400"},initials:{text:"font-medium text-gray-600 dark:text-gray-300",base:"inline-flex overflow-hidden relative justify-center items-center bg-gray-100 dark:bg-gray-600"}},group:{base:"flex -space-x-4"},groupCounter:{base:"relative flex items-center justify-center w-10 h-10 text-xs font-medium text-white bg-gray-700 rounded-full ring-2 ring-gray-300 hover:bg-gray-600 dark:ring-gray-500"}},badge:{root:{base:"flex h-fit items-center gap-1 font-semibold",color:{info:"bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800 group-hover:bg-blue-200 dark:group-hover:bg-blue-300",gray:"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600",failure:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",success:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300",indigo:"bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300",purple:"bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300",pink:"bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300",blue:"bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-900 group-hover:bg-blue-200 dark:group-hover:bg-blue-300",cyan:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-900 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",dark:"bg-gray-600 text-gray-100 dark:bg-gray-900 dark:text-gray-200 group-hover:bg-gray-500 dark:group-hover:bg-gray-700",light:"bg-gray-200 text-gray-800 dark:bg-gray-400 dark:text-gray-900 group-hover:bg-gray-300 dark:group-hover:bg-gray-500",green:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",lime:"bg-lime-100 text-lime-800 dark:bg-lime-200 dark:text-lime-900 group-hover:bg-lime-200 dark:group-hover:bg-lime-300",red:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",teal:"bg-teal-100 text-teal-800 dark:bg-teal-200 dark:text-teal-900 group-hover:bg-teal-200 dark:group-hover:bg-teal-300",yellow:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300"},href:"group",size:{xs:"p-1 text-xs",sm:"p-1.5 text-sm"}},icon:{off:"rounded px-2 py-0.5",on:"rounded-full p-1.5",size:{xs:"w-3 h-3",sm:"w-3.5 h-3.5"}}},breadcrumb:{root:{base:"",list:"flex items-center"},item:{base:"group flex items-center",chevron:"mx-1 h-6 w-6 text-gray-400 group-first:hidden md:mx-2",href:{off:"flex items-center text-sm font-medium text-gray-500 dark:text-gray-400",on:"flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white"},icon:"mr-2 h-4 w-4"}},button:{base:"group flex h-min items-center justify-center p-0.5 text-center font-medium focus:z-10",fullSized:"w-full",color:{dark:"text-white bg-gray-800 border border-transparent hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 disabled:hover:bg-gray-800 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700 dark:disabled:hover:bg-gray-800",failure:"text-white bg-red-700 border border-transparent hover:bg-red-800 focus:ring-4 focus:ring-red-300 disabled:hover:bg-red-800 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900 dark:disabled:hover:bg-red-600",gray:"text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 disabled:hover:bg-white focus:ring-blue-700 focus:text-blue-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-2 dark:disabled:hover:bg-gray-800",info:"text-white bg-blue-700 border border-transparent hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-blue-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 dark:disabled:hover:bg-blue-600",light:"text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-white dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-700 dark:focus:ring-gray-700",purple:"text-white bg-purple-700 border border-transparent hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 disabled:hover:bg-purple-700 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900 dark:disabled:hover:bg-purple-600",success:"text-white bg-green-700 border border-transparent hover:bg-green-800 focus:ring-4 focus:ring-green-300 disabled:hover:bg-green-700 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800 dark:disabled:hover:bg-green-600",warning:"text-white bg-yellow-400 border border-transparent hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 disabled:hover:bg-yellow-400 dark:focus:ring-yellow-900 dark:disabled:hover:bg-yellow-400",blue:"text-blue-900 bg-white border border-blue-300 hover:bg-blue-100 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-white dark:bg-blue-600 dark:text-white dark:border-blue-600 dark:hover:bg-blue-700 dark:hover:border-blue-700 dark:focus:ring-blue-700",cyan:"text-cyan-900 bg-white border border-cyan-300 hover:bg-cyan-100 focus:ring-4 focus:ring-cyan-300 disabled:hover:bg-white dark:bg-cyan-600 dark:text-white dark:border-cyan-600 dark:hover:bg-cyan-700 dark:hover:border-cyan-700 dark:focus:ring-cyan-700",green:"text-green-900 bg-white border border-green-300 hover:bg-green-100 focus:ring-4 focus:ring-green-300 disabled:hover:bg-white dark:bg-green-600 dark:text-white dark:border-green-600 dark:hover:bg-green-700 dark:hover:border-green-700 dark:focus:ring-green-700",indigo:"text-indigo-900 bg-white border border-indigo-300 hover:bg-indigo-100 focus:ring-4 focus:ring-indigo-300 disabled:hover:bg-white dark:bg-indigo-600 dark:text-white dark:border-indigo-600 dark:hover:bg-indigo-700 dark:hover:border-indigo-700 dark:focus:ring-indigo-700",lime:"text-lime-900 bg-white border border-lime-300 hover:bg-lime-100 focus:ring-4 focus:ring-lime-300 disabled:hover:bg-white dark:bg-lime-600 dark:text-white dark:border-lime-600 dark:hover:bg-lime-700 dark:hover:border-lime-700 dark:focus:ring-lime-700",pink:"text-pink-900 bg-white border border-pink-300 hover:bg-pink-100 focus:ring-4 focus:ring-pink-300 disabled:hover:bg-white dark:bg-pink-600 dark:text-white dark:border-pink-600 dark:hover:bg-pink-700 dark:hover:border-pink-700 dark:focus:ring-pink-700",red:"text-red-900 bg-white border border-red-300 hover:bg-red-100 focus:ring-4 focus:ring-red-300 disabled:hover:bg-white dark:bg-red-600 dark:text-white dark:border-red-600 dark:hover:bg-red-700 dark:hover:border-red-700 dark:focus:ring-red-700",teal:"text-teal-900 bg-white border border-teal-300 hover:bg-teal-100 focus:ring-4 focus:ring-teal-300 disabled:hover:bg-white dark:bg-teal-600 dark:text-white dark:border-teal-600 dark:hover:bg-teal-700 dark:hover:border-teal-700 dark:focus:ring-teal-700",yellow:"text-yellow-900 bg-white border border-yellow-300 hover:bg-yellow-100 focus:ring-4 focus:ring-yellow-300 disabled:hover:bg-white dark:bg-yellow-600 dark:text-white dark:border-yellow-600 dark:hover:bg-yellow-700 dark:hover:border-yellow-700 dark:focus:ring-yellow-700"},disabled:"cursor-not-allowed opacity-50",isProcessing:"!cursor-wait",spinnerSlot:"mr-3",gradient:{cyan:"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",failure:"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-red-300 dark:focus:ring-red-800",info:"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800 ",lime:"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:ring-lime-300 dark:focus:ring-lime-800",pink:"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-800",purple:"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-800",success:"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-green-300 dark:focus:ring-green-800",teal:"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-teal-300 dark:focus:ring-teal-800"},gradientDuoTone:{cyanToBlue:"text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",greenToBlue:"text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:ring-green-200 dark:focus:ring-green-800",pinkToOrange:"text-white bg-gradient-to-br from-pink-500 to-orange-400 hover:bg-gradient-to-bl focus:ring-4 focus:ring-pink-200 dark:focus:ring-pink-800",purpleToBlue:"text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800",purpleToPink:"text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:ring-purple-200 dark:focus:ring-purple-800",redToYellow:"text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 hover:bg-gradient-to-bl focus:ring-4 focus:ring-red-100 dark:focus:ring-red-400",tealToLime:"text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 hover:bg-gradient-to-l hover:from-teal-200 hover:to-lime-200 hover:!text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700"},inner:{base:"flex items-center",position:{none:"",start:"rounded-r-none",middle:"!rounded-none",end:"rounded-l-none"},outline:"border border-transparent"},label:"ml-2 inline-flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs font-semibold text-blue-800",outline:{color:{gray:"border border-gray-900 dark:border-white",default:"border-0",light:""},off:"",on:"flex justify-center bg-white text-gray-900 transition-all duration-75 ease-in group-hover:bg-opacity-0 group-hover:text-inherit dark:bg-gray-900 dark:text-white w-full",pill:{off:"rounded-md",on:"rounded-full"}},pill:{off:"rounded-lg",on:"rounded-full"},size:{xs:"text-xs px-2 py-1",sm:"text-sm px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-5 py-2.5",xl:"text-base px-6 py-3"}},buttonGroup:{base:"inline-flex",position:{none:"focus:!ring-2",start:"rounded-r-none",middle:"!rounded-none border-l-0 pl-0",end:"rounded-l-none border-l-0 pl-0"}},card:{root:{base:"flex rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800",children:"flex h-full flex-col justify-center gap-4 p-6",horizontal:{off:"flex-col",on:"flex-col md:max-w-xl md:flex-row"},href:"hover:bg-gray-100 dark:hover:bg-gray-700"},img:{base:"",horizontal:{off:"rounded-t-lg",on:"h-96 w-full rounded-t-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"}}},carousel:{root:{base:"relative h-full w-full",leftControl:"absolute top-0 left-0 flex h-full items-center justify-center px-4 focus:outline-none",rightControl:"absolute top-0 right-0 flex h-full items-center justify-center px-4 focus:outline-none"},indicators:{active:{off:"bg-white/50 hover:bg-white dark:bg-gray-800/50 dark:hover:bg-gray-800",on:"bg-white dark:bg-gray-800"},base:"h-3 w-3 rounded-full",wrapper:"absolute bottom-5 left-1/2 flex -translate-x-1/2 space-x-3"},item:{base:"absolute top-1/2 left-1/2 block w-full -translate-x-1/2 -translate-y-1/2",wrapper:"w-full flex-shrink-0 transform cursor-grab snap-center"},control:{base:"inline-flex h-8 w-8 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70 sm:h-10 sm:w-10",icon:"h-5 w-5 text-white dark:text-gray-800 sm:h-6 sm:w-6"},scrollContainer:{base:"flex h-full snap-mandatory overflow-y-hidden overflow-x-scroll scroll-smooth rounded-lg",snap:"snap-x"}},checkbox:{root:{base:"h-4 w-4 rounded border border-gray-300 bg-gray-100 focus:ring-2 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:ring-offset-gray-800 dark:focus:ring-blue-600"}},darkThemeToggle:{root:{base:"rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700",icon:"h-5 w-5"}},dropdown:{arrowIcon:"ml-2 h-4 w-4",content:"py-1",floating:{animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"z-10 w-fit rounded divide-y divide-gray-100 shadow",content:"py-1 text-sm text-gray-700 dark:text-gray-200",divider:"my-1 h-px bg-gray-100 dark:bg-gray-600",header:"block py-2 px-4 text-sm text-gray-700 dark:text-gray-200",hidden:"invisible opacity-0",item:{base:"flex items-center justify-start py-2 px-4 text-sm text-gray-700 cursor-pointer hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",icon:"mr-2 h-4 w-4"},style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},target:"w-fit"},inlineWrapper:"flex items-center"},fileInput:{root:{base:"flex"},field:{base:"relative w-full",input:{base:"rounded-lg overflow-hidden block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"sm:text-xs",md:"text-sm",lg:"sm:text-md"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500",info:"border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}},footer:{root:{base:"w-full rounded-lg bg-white shadow dark:bg-gray-800 md:flex md:items-center md:justify-between",container:"w-full p-6",bgDark:"bg-gray-800"},groupLink:{base:"flex flex-wrap text-sm text-gray-500 dark:text-white",link:{base:"last:mr-0 md:mr-6",href:"hover:underline"},col:"flex-col space-y-4"},icon:{base:"text-gray-500 dark:hover:text-white",size:"h-5 w-5"},title:{base:"mb-6 text-sm font-semibold uppercase text-gray-500 dark:text-white"},divider:{base:"w-full my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8"},copyright:{base:"text-sm text-gray-500 dark:text-gray-400 sm:text-center",href:"ml-1 hover:underline",span:"ml-1"},brand:{base:"mb-4 flex items-center sm:mb-0",img:"mr-3 h-8",span:"self-center whitespace-nowrap text-2xl font-semibold text-gray-800 dark:text-white"}},helperText:{root:{base:"mt-2 text-sm",colors:{gray:"text-gray-500 dark:text-gray-400",info:"text-blue-700 dark:text-blue-800",success:"text-green-600 dark:text-green-500",failure:"text-red-600 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600"}}},label:{root:{base:"text-sm font-medium",disabled:"opacity-50",colors:{default:"text-gray-900 dark:text-gray-300",info:"text-blue-500 dark:text-blue-600",failure:"text-red-700 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600",success:"text-green-700 dark:text-green-500"}}},listGroup:{root:{base:"list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white text-left"},item:{base:"[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0",link:{base:"flex w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600",active:{off:"hover:bg-gray-100 hover:text-blue-700 focus:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500",on:"bg-blue-700 text-white dark:bg-gray-800"},href:{off:"",on:""},icon:"mr-2 h-4 w-4 fill-current"}}},modal:{root:{base:"fixed top-0 right-0 left-0 z-50 h-modal overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",show:{on:"flex bg-gray-900 bg-opacity-50 dark:bg-opacity-80",off:"hidden"},sizes:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},positions:{"top-left":"items-start justify-start","top-center":"items-start justify-center","top-right":"items-start justify-end","center-left":"items-center justify-start",center:"items-center justify-center","center-right":"items-center justify-end","bottom-right":"items-end justify-end","bottom-center":"items-end justify-center","bottom-left":"items-end justify-start"}},content:{base:"relative h-full w-full m-auto p-4 md:h-auto",inner:"relative rounded-lg bg-white shadow dark:bg-gray-700"},body:{base:"p-6",popup:"pt-0"},header:{base:"flex items-start justify-between rounded-t dark:border-gray-600 border-b p-5",popup:"!p-2 !border-b-0",title:"text-xl font-medium text-gray-900 dark:text-white",close:{base:"ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white",icon:"h-5 w-5"}},footer:{base:"flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600",popup:"border-t"}},navbar:{root:{base:"border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4",rounded:{on:"rounded",off:""},bordered:{on:"border",off:""},inner:{base:"mx-auto flex flex-wrap items-center justify-between",fluid:{on:"",off:"container"}}},brand:{base:"flex items-center"},collapse:{base:"w-full md:block md:w-auto",list:"mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium",hidden:{on:"hidden",off:""}},link:{base:"block py-2 pr-4 pl-3 md:p-0",active:{on:"bg-blue-700 text-white dark:text-white md:bg-transparent md:text-blue-700",off:"border-b border-gray-100 text-gray-700 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white md:border-0 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:bg-transparent md:dark:hover:text-white"},disabled:{on:"text-gray-400 hover:cursor-not-allowed dark:text-gray-600",off:""}},toggle:{base:"inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600 md:hidden",icon:"h-6 w-6 shrink-0"}},pagination:{base:"",layout:{table:{base:"text-sm text-gray-700 dark:text-gray-400",span:"font-semibold text-gray-900 dark:text-white"}},pages:{base:"xs:mt-0 mt-2 inline-flex items-center -space-x-px",showIcon:"inline-flex",previous:{base:"ml-0 rounded-l-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5"},next:{base:"rounded-r-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5"},selector:{base:"w-12 border border-gray-300 bg-white py-2 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",active:"bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"}}},progress:{base:"w-full overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700",label:"mb-1 flex justify-between font-medium dark:text-white",bar:"rounded-full text-center font-medium leading-none text-blue-300 dark:text-blue-100 space-x-2",color:{dark:"bg-gray-600 dark:bg-gray-300",blue:"bg-blue-600",red:"bg-red-600 dark:bg-red-500",green:"bg-green-600 dark:bg-green-500",yellow:"bg-yellow-400",indigo:"bg-indigo-600 dark:bg-indigo-500",purple:"bg-purple-600 dark:bg-purple-500"},size:{sm:"h-1.5",md:"h-2.5",lg:"h-4",xl:"h-6"}},radio:{root:{base:"h-4 w-4 border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:focus:bg-blue-600 dark:focus:ring-blue-600"}},rangeSlider:{root:{base:"flex"},field:{base:"relative w-full",input:{base:"w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700",sizes:{sm:"h-1 range-sm",md:"h-2",lg:"h-3 range-lg"}}}},rating:{root:{base:"flex items-center"},advanced:{base:"flex items-center",label:"text-sm font-medium text-blue-600 dark:text-blue-500",progress:{base:"mx-4 h-5 w-2/4 rounded bg-gray-200 dark:bg-gray-700",fill:"h-5 rounded bg-yellow-400",label:"text-sm font-medium text-blue-600 dark:text-blue-500"}},star:{empty:"text-gray-300 dark:text-gray-500",filled:"text-yellow-400",sizes:{sm:"w-5 h-5",md:"w-7 h-7",lg:"w-10 h-10"}}},select:{base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},select:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""},sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500",info:"border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}},textInput:{base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},rightIcon:{base:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},input:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500",info:"border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withRightIcon:{on:"pr-10",off:""},withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}}}},textarea:{base:"block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50",colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500",info:"border-blue-500 bg-blue-50 text-blue-900 placeholder-blue-700 focus:border-blue-500 focus:ring-blue-500 dark:border-blue-400 dark:bg-blue-100 dark:focus:border-blue-500 dark:focus:ring-blue-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}},toggleSwitch:{root:{base:"group relative flex items-center rounded-lg focus:outline-none",active:{on:"cursor-pointer",off:"cursor-not-allowed opacity-50"},label:"ml-3 text-sm font-medium text-gray-900 dark:text-gray-300"},toggle:{base:"toggle-bg h-6 w-11 rounded-full border group-focus:ring-4 group-focus:ring-blue-500/25",checked:{on:"after:translate-x-full after:border-white",off:"border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",color:{blue:" bg-blue-700 border-blue-700",dark:"bg-dark-700 border-dark-900",failure:"bg-red-700 border-red-900",gray:"bg-gray-500 border-gray-600",green:"bg-green-600 border-green-700",light:"bg-light-700 border-light-900",red:"bg-red-700 border-red-900",purple:"bg-purple-700 border-purple-900",success:"bg-green-500 border-green-500",yellow:"bg-yellow-400 border-yellow-400",warning:"bg-yellow-600 border-yellow-600",cyan:"bg-cyan-500 border-cyan-500",lime:"bg-lime-400 border-lime-400",indigo:"bg-indigo-400 border-indigo-400",teal:"bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4",info:"bg-blue-600 border-blue-600",pink:"bg-pink-600 border-pink-600"}}}},sidebar:{root:{base:"h-full",collapsed:{on:"w-16",off:"w-64"},inner:"h-full overflow-y-auto overflow-x-hidden rounded bg-white py-4 px-3 dark:bg-gray-800"},collapse:{button:"group flex w-full items-center rounded-lg p-2 text-base font-normal text-gray-900 transition duration-75 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",icon:{base:"h-6 w-6 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",open:{off:"",on:"text-gray-900"}},label:{base:"ml-3 flex-1 whitespace-nowrap text-left",icon:"h-6 w-6"},list:"space-y-2 py-2"},cta:{base:"mt-6 rounded-lg p-4",color:{blue:"bg-blue-50 dark:bg-blue-900",dark:"bg-dark-50 dark:bg-dark-900",failure:"bg-red-50 dark:bg-red-900",gray:"bg-alternative-50 dark:bg-alternative-900",green:"bg-green-50 dark:bg-green-900",light:"bg-light-50 dark:bg-light-900",red:"bg-red-50 dark:bg-red-900",purple:"bg-purple-50 dark:bg-purple-900",success:"bg-green-50 dark:bg-green-900",yellow:"bg-yellow-50 dark:bg-yellow-900",warning:"bg-yellow-50 dark:bg-yellow-900"}},item:{base:"flex items-center justify-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",active:"bg-gray-100 dark:bg-gray-700",collapsed:{insideCollapse:"group w-full pl-8 transition duration-75",noIcon:"font-bold"},content:{base:"px-3 flex-1 whitespace-nowrap"},icon:{base:"h-6 w-6 flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",active:"text-gray-700 dark:text-gray-100"},label:""},items:"",itemGroup:"mt-4 space-y-2 border-t border-gray-200 pt-4 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700",logo:{base:"mb-5 flex items-center pl-2.5",collapsed:{on:"hidden",off:"self-center whitespace-nowrap text-xl font-semibold dark:text-white"},img:"mr-3 h-6 sm:h-7"}},spinner:{base:"inline animate-spin text-gray-200",color:{failure:"fill-red-600",gray:"fill-gray-600",info:"fill-blue-600",pink:"fill-pink-600",purple:"fill-purple-600",success:"fill-green-500",warning:"fill-yellow-400"},light:{off:{base:"dark:text-gray-600",color:{failure:"",gray:"dark:fill-gray-300",info:"",pink:"",purple:"",success:"",warning:""}},on:{base:"",color:{failure:"",gray:"",info:"",pink:"",purple:"",success:"",warning:""}}},size:{xs:"w-3 h-3",sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-10 h-10"}},tab:{base:"flex flex-col gap-2",tablist:{base:"flex text-center",styles:{default:"flex-wrap border-b border-gray-200 dark:border-gray-700",underline:"flex-wrap -mb-px border-b border-gray-200 dark:border-gray-700",pills:"flex-wrap font-medium text-sm text-gray-500 dark:text-gray-400",fullWidth:"hidden text-sm font-medium rounded-lg divide-x divide-gray-200 shadow sm:flex dark:divide-gray-700 dark:text-gray-400"},tabitem:{base:"flex items-center justify-center p-4 text-sm font-medium first:ml-0 disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500",styles:{default:{base:"rounded-t-lg",active:{on:"bg-gray-100 text-blue-600 dark:bg-gray-800 dark:text-blue-500",off:"text-gray-500 hover:bg-gray-50 hover:text-gray-600 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300"}},underline:{base:"rounded-t-lg",active:{on:"text-blue-600 rounded-t-lg border-b-2 border-blue-600 active dark:text-blue-500 dark:border-blue-500",off:"border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"}},pills:{base:"",active:{on:"rounded-lg bg-blue-600 text-white",off:"rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white"}},fullWidth:{base:"ml-2 first:ml-0 w-full first:rounded-l-lg last:rounded-r-lg",active:{on:"inline-block p-4 w-full text-gray-900 bg-gray-100 focus:ring-4 focus:ring-blue-300 active focus:outline-none dark:bg-gray-700 dark:text-white",off:"bg-white hover:text-gray-700 hover:bg-gray-50 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"}}},icon:"mr-2 h-5 w-5"}},tabpanel:"p-4"},table:{root:{base:"w-full text-left text-sm text-gray-500 dark:text-gray-400",shadow:"absolute bg-white dark:bg-black w-full h-full top-0 left-0 rounded-lg drop-shadow-md -z-10",wrapper:"relative"},body:{base:"group/body",cell:{base:"group-first/body:group-first/row:first:rounded-tl-lg group-first/body:group-first/row:last:rounded-tr-lg group-last/body:group-last/row:first:rounded-bl-lg group-last/body:group-last/row:last:rounded-br-lg px-6 py-4"}},head:{base:"group/head text-xs uppercase text-gray-700 dark:text-gray-400",cell:{base:"group-first/head:first:rounded-tl-lg group-first/head:last:rounded-tr-lg bg-gray-50 dark:bg-gray-700 px-6 py-3"}},row:{base:"group/row",hovered:"hover:bg-gray-50 dark:hover:bg-gray-600",striped:"odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700"}},timeline:{root:{direction:{horizontal:"items-base sm:flex",vertical:"relative border-l border-gray-200 dark:border-gray-700"}},item:{root:{horizontal:"relative mb-6 sm:mb-0",vertical:"mb-10 ml-6"},content:{root:{base:"mt-3 sm:pr-8"},body:"mb-4 text-base font-normal text-gray-500 dark:text-gray-400",time:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",title:"text-lg font-semibold text-gray-900 dark:text-white"},point:{horizontal:"flex items-center",line:"hidden h-0.5 w-full bg-gray-200 dark:bg-gray-700 sm:flex",marker:{base:{horizontal:"absolute -left-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700",vertical:"absolute -left-1.5 mt-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700"},icon:{base:"h-3 w-3 text-blue-600 dark:text-blue-300",wrapper:"absolute -left-3 flex h-6 w-6 items-center justify-center rounded-full bg-blue-200 ring-8 ring-white dark:bg-blue-900 dark:ring-gray-900"}},vertical:""}}},toast:{root:{base:"flex w-full max-w-xs items-center rounded-lg bg-white p-4 text-gray-500 shadow dark:bg-gray-800 dark:text-gray-400",closed:"opacity-0 ease-out",removed:"hidden"},toggle:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5 shrink-0"}},tooltip:{target:"w-fit",animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"absolute inline-block z-10 rounded-lg py-2 px-3 text-sm font-medium shadow-sm",hidden:"invisible opacity-0",style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},content:"relative z-20"}},ow=h.createContext({theme:nw});function O(){return h.useContext(ow)}const vm=h.createContext(void 0);function bm(){const e=h.useContext(vm);if(!e)throw new Error("useAccordionContext should be used within the AccordionPanelContext provider!");return e}const xm=({children:e,className:t,theme:r={},...n})=>{const{isOpen:o}=bm(),i=F(O().theme.accordion.content,r);return c.jsx("div",{className:N(i.base,t),"data-testid":"flowbite-accordion-content",hidden:!o,...n,children:e})},wm=({children:e,...t})=>{const{alwaysOpen:r}=t,[n,o]=h.useState(t.isOpen),i=r?{...t,isOpen:n,setOpen:()=>o(!n)}:t;return c.jsx(vm.Provider,{value:i,children:e})},km=({as:e="h2",children:t,className:r,theme:n={},...o})=>{const{arrowIcon:i,flush:a,isOpen:l,setOpen:s}=bm(),u=()=>typeof s<"u"&&s(),d=F(O().theme.accordion.title,n);return c.jsxs("button",{className:N(d.base,d.flush[a?"on":"off"],d.open[l?"on":"off"],r),onClick:u,type:"button",...o,children:[c.jsx(e,{className:d.heading,"data-testid":"flowbite-accordion-heading",children:t}),i&&c.jsx(i,{"aria-hidden":!0,className:N(d.arrow.base,d.arrow.open[l?"on":"off"]),"data-testid":"flowbite-accordion-arrow"})]})},Sm=({alwaysOpen:e=!1,arrowIcon:t=mm,children:r,flush:n=!1,collapseAll:o=!1,className:i,theme:a={},...l})=>{const[s,u]=h.useState(o?-1:0),d=h.useMemo(()=>h.Children.map(r,(p,y)=>h.cloneElement(p,{alwaysOpen:e,arrowIcon:t,flush:n,isOpen:s===y,setOpen:()=>u(s===y?-1:y)})),[e,t,r,n,s]),f=F(O().theme.accordion.root,a);return c.jsx("div",{className:N(f.base,f.flush[n?"on":"off"],i),"data-testid":"flowbite-accordion",...l,children:d})};Sm.displayName="Accordion";wm.displayName="Accordion.Panel";km.displayName="Accordion.Title";xm.displayName="Accordion.Content";Object.assign(Sm,{Panel:wm,Title:km,Content:xm});const Cm=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.avatar.group,r);return c.jsx("div",{"data-testid":"avatar-group-element",className:N(o.base,t),...n,children:e})};Cm.displayName="Avatar.Group";const Em=({className:e,href:t,theme:r={},total:n,...o})=>{const i=F(O().theme.avatar.groupCounter,r);return c.jsxs("a",{href:t,className:N(i.base,e),...o,children:["+",n]})};Em.displayName="Avatar.GroupCounter";const Tm=({alt:e="",bordered:t=!1,children:r,className:n,color:o="light",img:i,placeholderInitials:a="",rounded:l=!1,size:s="md",stacked:u=!1,status:d,statusPosition:f="top-left",theme:p={},...y})=>{const x=F(O().theme.avatar,p),w=N(t&&x.root.bordered,t&&x.root.color[o],l&&x.root.rounded,u&&x.root.stacked,x.root.img.on,x.root.size[s]),k={alt:e,className:N(w,x.root.img.on),"data-testid":"flowbite-avatar-img"};return c.jsxs("div",{className:N(x.root.base,n),"data-testid":"flowbite-avatar",...y,children:[c.jsxs("div",{className:"relative",children:[i?typeof i=="string"?c.jsx("img",{...k,src:i}):i(k):a?c.jsx("div",{className:N(x.root.img.off,x.root.initials.base,l&&x.root.rounded,u&&x.root.stacked,t&&x.root.bordered,t&&x.root.color[o],x.root.size[s]),"data-testid":"flowbite-avatar-initials-placeholder",children:c.jsx("span",{className:N(x.root.initials.text),"data-testid":"flowbite-avatar-initials-placeholder-text",children:a})}):c.jsx("div",{className:N(w,x.root.img.off),"data-testid":"flowbite-avatar-img",children:c.jsx("svg",{className:x.root.img.placeholder,fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"})})}),d&&c.jsx("span",{"data-testid":"flowbite-avatar-status",className:N(x.root.status.base,x.root.status[d],x.root.statusPosition[f])})]}),r&&c.jsx("div",{children:r})]})};Tm.displayName="Avatar";const iw=Object.assign(Tm,{Group:Cm,Counter:Em}),aw=({children:e,color:t="info",href:r,icon:n,size:o="xs",className:i,theme:a={},...l})=>{const s=F(O().theme.badge,a),u=()=>c.jsxs("span",{className:N(s.root.base,s.root.color[t],s.icon[n?"on":"off"],s.root.size[o],i),"data-testid":"flowbite-badge",...l,children:[n&&c.jsx(n,{"aria-hidden":!0,className:s.icon.size[o],"data-testid":"flowbite-badge-icon"}),e&&c.jsx("span",{children:e})]});return r?c.jsx("a",{className:s.root.href,href:r,children:c.jsx(u,{})}):c.jsx(u,{})},jm=h.forwardRef(({children:e,className:t,href:r,icon:n,theme:o={},...i},a)=>{const l=typeof r<"u",s=l?"a":"span",u=F(O().theme.breadcrumb.item,o);return c.jsxs("li",{className:N(u.base,t),...i,children:[c.jsx(ym,{"aria-hidden":!0,className:u.chevron,"data-testid":"flowbite-breadcrumb-separator"}),c.jsxs(s,{ref:a,className:u.href[l?"on":"off"],"data-testid":"flowbite-breadcrumb-item",href:r,children:[n&&c.jsx(n,{"aria-hidden":!0,className:u.icon}),e]})]})});jm.displayName="Breadcrumb.Item";const Nm=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.breadcrumb.root,r);return c.jsx("nav",{"aria-label":"Breadcrumb",className:N(o.base,t),...n,children:c.jsx("ol",{className:o.list,children:e})})};Nm.displayName="Breadcrumb";Object.assign(Nm,{Item:jm});const $r=({className:e,color:t="info",light:r,size:n="md",theme:o={},...i})=>{const a=F(O().theme.spinner,o);return c.jsx("span",{role:"status",...i,children:c.jsxs("svg",{fill:"none",viewBox:"0 0 100 101",className:N(a.base,a.color[t],a.light[r?"on":"off"].base,a.light[r?"on":"off"].color[t],a.size[n],e),children:[c.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})},_m=({children:e,className:t,outline:r,pill:n,theme:o={},...i})=>{const a=h.useMemo(()=>h.Children.map(e,(s,u)=>h.cloneElement(s,{outline:r,pill:n,positionInGroup:u===0?"start":u===e.length-1?"end":"middle"})),[e,r,n]),l=F(O().theme.buttonGroup,o);return c.jsx("div",{className:N(l.base,t),role:"group",...i,children:a})};_m.displayName="Button.Group";const Pm=h.forwardRef(({children:e,className:t,color:r="info",disabled:n=!1,fullSized:o,isProcessing:i=!1,processingLabel:a="Loading...",processingSpinner:l=c.jsx($r,{}),gradientDuoTone:s,gradientMonochrome:u,href:d,label:f,outline:p=!1,pill:y=!1,positionInGroup:x="none",size:w="md",theme:k={},...g},m)=>{const{buttonGroup:v,button:b}=F(O().theme,k),S=typeof d<"u",j=S?"a":"button",R=g;return c.jsx(j,{disabled:n,href:d,type:S?void 0:"button",ref:m,className:N(n&&b.disabled,!s&&!u&&b.color[r],s&&!u&&b.gradientDuoTone[s],!s&&u&&b.gradient[u],v.position[x],p&&(b.outline.color[r]??b.outline.color.default),b.base,b.pill[y?"on":"off"],o&&b.fullSized,t),...R,children:c.jsx("span",{className:N(b.inner.base,b.inner.position[x],b.outline[p?"on":"off"],b.outline.pill[p&&y?"on":"off"],b.size[w],p&&!b.outline.color[r]&&b.inner.outline,i&&b.isProcessing),children:c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:b.spinnerSlot,children:l}),typeof e<"u"?e:c.jsx("span",{"data-testid":"flowbite-button-label",className:b.label,children:i?a:f})]})})})});Pm.displayName="Button";const Se=Object.assign(Pm,{Group:_m});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Rm=function(e,t){return(Rm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])})(e,t)},lw,Pi,sw=(function(e){/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o=0?n=setTimeout(s,t-d):(n=null,r||(l=e.apply(i,o),i=o=null))}t==null&&(t=100);var u=function(){i=this,o=arguments,a=Date.now();var d=r&&!n;return n||(n=setTimeout(s,t)),d&&(l=e.apply(i,o),i=o=null),l};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(l=e.apply(i,o),i=o=null,clearTimeout(n),n=null)},u}ku.debounce=ku;var uw=ku;(function(e,t){t===void 0&&(t={});var r=t.insertAt;if(e&&typeof document<"u"){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",r==="top"&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}})(`.indiana-scroll-container { + overflow: auto; } + .indiana-scroll-container--dragging { + scroll-behavior: auto !important; } + .indiana-scroll-container--dragging > * { + pointer-events: none; + cursor: -webkit-grab; + cursor: grab; } + .indiana-scroll-container--hide-scrollbars { + overflow: hidden; + overflow: -moz-scrollbars-none; + -ms-overflow-style: none; + scrollbar-width: none; } + .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar { + display: none !important; + height: 0 !important; + width: 0 !important; + background: transparent !important; + -webkit-appearance: none !important; } + .indiana-scroll-container--native-scroll { + overflow: auto; } + +.indiana-dragging { + cursor: -webkit-grab; + cursor: grab; } +`);var ps,cw=(ps="indiana-scroll-container",function(e,t){if(!e)return ps;var r;typeof e=="string"?r=e:t=e;var n=ps;return r&&(n+="__"+r),n+(t?Object.keys(t).reduce(function(o,i){var a=t[i];return a&&(o+=" "+(typeof a=="boolean"?n+"--"+i:n+"--"+i+"_"+a)),o},""):"")});(function(e){function t(r){var n=e.call(this,r)||this;return n.onEndScroll=function(){n.scrolling=!1,!n.pressed&&n.started&&n.processEnd()},n.onScroll=function(o){var i=n.container.current;i.scrollLeft===n.scrollLeft&&i.scrollTop===n.scrollTop||(n.scrolling=!0,n.processScroll(o),n.onEndScroll())},n.onTouchStart=function(o){var i=n.props.nativeMobileScroll;if(n.isDraggable(o.target))if(n.internal=!0,i&&n.scrolling)n.pressed=!0;else{var a=o.touches[0];n.processClick(o,a.clientX,a.clientY),!i&&n.props.stopPropagation&&o.stopPropagation()}},n.onTouchEnd=function(o){var i=n.props.nativeMobileScroll;n.pressed&&(!n.started||n.scrolling&&i?n.pressed=!1:n.processEnd(),n.forceUpdate())},n.onTouchMove=function(o){var i=n.props.nativeMobileScroll;if(n.pressed&&(!i||!n.isMobile)){var a=o.touches[0];a&&n.processMove(o,a.clientX,a.clientY),o.preventDefault(),n.props.stopPropagation&&o.stopPropagation()}},n.onMouseDown=function(o){n.isDraggable(o.target)&&n.isScrollable()&&(n.internal=!0,n.props.buttons.indexOf(o.button)!==-1&&(n.processClick(o,o.clientX,o.clientY),o.preventDefault(),n.props.stopPropagation&&o.stopPropagation()))},n.onMouseMove=function(o){n.pressed&&(n.processMove(o,o.clientX,o.clientY),o.preventDefault(),n.props.stopPropagation&&o.stopPropagation())},n.onMouseUp=function(o){n.pressed&&(n.started?n.processEnd():(n.internal=!1,n.pressed=!1,n.forceUpdate(),n.props.onClick&&n.props.onClick(o)),o.preventDefault(),n.props.stopPropagation&&o.stopPropagation())},n.container=ge.createRef(),n.onEndScroll=uw(n.onEndScroll,300),n.scrolling=!1,n.started=!1,n.pressed=!1,n.internal=!1,n.getRef=n.getRef.bind(n),n}return function(r,n){function o(){this.constructor=r}Rm(r,n),r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}(t,e),t.prototype.componentDidMount=function(){var r=this.props.nativeMobileScroll,n=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),n.addEventListener("touchstart",this.onTouchStart,{passive:!1}),n.addEventListener("mousedown",this.onMouseDown,{passive:!1}),r&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return window.orientation!==void 0||navigator.userAgent.indexOf("IEMobile")!==-1},t.prototype.isDraggable=function(r){var n=this.props.ignoreElements;if(n){var o=r.closest(n);return o===null||o.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var r=this.container.current;return r&&(r.scrollWidth>r.clientWidth||r.scrollHeight>r.clientHeight)},t.prototype.processClick=function(r,n,o){var i=this.container.current;this.scrollLeft=i.scrollLeft,this.scrollTop=i.scrollTop,this.clientX=n,this.clientY=o,this.pressed=!0},t.prototype.processStart=function(r){r===void 0&&(r=!0);var n=this.props.onStartScroll;this.started=!0,r&&document.body.classList.add("indiana-dragging"),n&&n({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(r){if(this.started){var n=this.props.onScroll;n&&n({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(r,n,o){var i=this.props,a=i.horizontal,l=i.vertical,s=i.activationDistance,u=i.onScroll,d=this.container.current;this.started?(a&&(d.scrollLeft-=n-this.clientX),l&&(d.scrollTop-=o-this.clientY),u&&u({external:!this.internal}),this.clientX=n,this.clientY=o,this.scrollLeft=d.scrollLeft,this.scrollTop=d.scrollTop):(a&&Math.abs(n-this.clientX)>s||l&&Math.abs(o-this.clientY)>s)&&(this.clientX=n,this.clientY=o,this.processStart())},t.prototype.processEnd=function(){var r=this.props.onEndScroll;this.container.current&&r&&r({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(r){[this.container,this.props.innerRef].forEach(function(n){n&&(typeof n=="function"?n(r):n.current=r)})},t.prototype.render=function(){var r=this.props,n=r.children,o=r.draggingClassName,i=r.className,a=r.style,l=r.hideScrollbars,s=r.component;return ge.createElement(s,{className:sw(i,this.pressed&&o,cw({dragging:this.pressed,"hide-scrollbars":l,"native-scroll":this.isMobile})),style:a,ref:this.getRef,onScroll:this.onScroll},n)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t})(h.PureComponent);const dw=h.forwardRef(({className:e,theme:t={},...r},n)=>{const o=F(O().theme.checkbox,t);return c.jsx("input",{ref:n,type:"checkbox",className:N(o.root.base,e),...r})});dw.displayName="Checkbox";function fw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function Mt(e){return e.split("-")[1]}function zc(e){return e==="y"?"height":"width"}function Wt(e){return e.split("-")[0]}function si(e){return["top","bottom"].includes(Wt(e))?"x":"y"}function Bf(e,t,r){let{reference:n,floating:o}=e;const i=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,l=si(t),s=zc(l),u=n[s]/2-o[s]/2,d=l==="x";let f;switch(Wt(t)){case"top":f={x:i,y:n.y-o.height};break;case"bottom":f={x:i,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:a};break;case"left":f={x:n.x-o.width,y:a};break;default:f={x:n.x,y:n.y}}switch(Mt(t)){case"start":f[l]-=u*(r&&d?-1:1);break;case"end":f[l]+=u*(r&&d?-1:1)}return f}const pw=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Bf(u,n,s),p=n,y={},x=0;for(let w=0;w({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e||{},{x:o,y:i,placement:a,rects:l,platform:s,elements:u}=t;if(r==null)return{};const d=Mm(n),f={x:o,y:i},p=si(a),y=zc(p),x=await s.getDimensions(r),w=p==="y",k=w?"top":"left",g=w?"bottom":"right",m=w?"clientHeight":"clientWidth",v=l.reference[y]+l.reference[p]-f[p]-l.floating[y],b=f[p]-l.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(r));let j=S?S[m]:0;j&&await(s.isElement==null?void 0:s.isElement(S))||(j=u.floating[m]||l.floating[y]);const R=v/2-b/2,M=d[k],V=j-x[y]-d[g],T=j/2-x[y]/2+R,C=Su(M,T,V),z=Mt(a)!=null&&T!=C&&l.reference[y]/2-(Te.concat(t,t+"-start",t+"-end"),[]),yw={left:"right",right:"left",bottom:"top",top:"bottom"};function Ma(e){return e.replace(/left|right|bottom|top/g,t=>yw[t])}function Om(e,t,r){r===void 0&&(r=!1);const n=Mt(e),o=si(e),i=zc(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Ma(a)),{main:a,cross:Ma(a)}}const vw={start:"end",end:"start"};function Zi(e){return e.replace(/start|end/g,t=>vw[t])}const bw=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:i,middlewareData:a,placement:l,platform:s,elements:u}=t,{crossAxis:d=!1,alignment:f,allowedPlacements:p=Hf,autoAlignment:y=!0,...x}=e,w=f!==void 0||p===Hf?function(T,C,z){return(T?[...z.filter(B=>Mt(B)===T),...z.filter(B=>Mt(B)!==T)]:z.filter(B=>Wt(B)===B)).filter(B=>!T||Mt(B)===T||!!C&&Zi(B)!==B)}(f||null,y,p):p,k=await Uc(t,x),g=((r=a.autoPlacement)==null?void 0:r.index)||0,m=w[g];if(m==null)return{};const{main:v,cross:b}=Om(m,i,await(s.isRTL==null?void 0:s.isRTL(u.floating)));if(l!==m)return{reset:{placement:w[0]}};const S=[k[Wt(m)],k[v],k[b]],j=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:m,overflows:S}],R=w[g+1];if(R)return{data:{index:g+1,overflows:j},reset:{placement:R}};const M=j.map(T=>{const C=Mt(T.placement);return[T.placement,C&&d?T.overflows.slice(0,2).reduce((z,B)=>z+B,0):T.overflows[0],T.overflows]}).sort((T,C)=>T[1]-C[1]),V=((o=M.filter(T=>T[2].slice(0,Mt(T[0])?2:3).every(C=>C<=0))[0])==null?void 0:o[0])||M[0][0];return V!==l?{data:{index:g+1,overflows:j},reset:{placement:V}}:{}}}},xw=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:s}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:x=!0,...w}=e,k=Wt(n),g=Wt(a)===a,m=await(l.isRTL==null?void 0:l.isRTL(s.floating)),v=f||(g||!x?[Ma(a)]:function(C){const z=Ma(C);return[Zi(C),z,Zi(z)]}(a));f||y==="none"||v.push(...function(C,z,B,H){const Z=Mt(C);let X=function(de,_,D){const I=["left","right"],W=["right","left"],Y=["top","bottom"],fe=["bottom","top"];switch(de){case"top":case"bottom":return D?_?W:I:_?I:W;case"left":case"right":return _?Y:fe;default:return[]}}(Wt(C),B==="start",H);return Z&&(X=X.map(de=>de+"-"+Z),z&&(X=X.concat(X.map(Zi)))),X}(a,x,y,m));const b=[a,...v],S=await Uc(t,w),j=[];let R=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&j.push(S[k]),d){const{main:C,cross:z}=Om(n,i,m);j.push(S[C],S[z])}if(R=[...R,{placement:n,overflows:j}],!j.every(C=>C<=0)){var M,V;const C=(((M=o.flip)==null?void 0:M.index)||0)+1,z=b[C];if(z)return{data:{index:C,overflows:R},reset:{placement:z}};let B=(V=R.filter(H=>H.overflows[0]<=0).sort((H,Z)=>H.overflows[1]-Z.overflows[1])[0])==null?void 0:V.placement;if(!B)switch(p){case"bestFit":{var T;const H=(T=R.map(Z=>[Z.placement,Z.overflows.filter(X=>X>0).reduce((X,de)=>X+de,0)]).sort((Z,X)=>Z[1]-X[1])[0])==null?void 0:T[0];H&&(B=H);break}case"initialPlacement":B=a}if(n!==B)return{reset:{placement:B}}}return{}}}},ww=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(i,a){const{placement:l,platform:s,elements:u}=i,d=await(s.isRTL==null?void 0:s.isRTL(u.floating)),f=Wt(l),p=Mt(l),y=si(l)==="x",x=["left","top"].includes(f)?-1:1,w=d&&y?-1:1,k=typeof a=="function"?a(i):a;let{mainAxis:g,crossAxis:m,alignmentAxis:v}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return p&&typeof v=="number"&&(m=p==="end"?-1*v:v),y?{x:m*w,y:g*x}:{x:g*x,y:m*w}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function kw(e){return e==="x"?"y":"x"}const Sw=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:k=>{let{x:g,y:m}=k;return{x:g,y:m}}},...s}=e,u={x:r,y:n},d=await Uc(t,s),f=si(Wt(o)),p=kw(f);let y=u[f],x=u[p];if(i){const k=f==="y"?"bottom":"right";y=Su(y+d[f==="y"?"top":"left"],y,y-d[k])}if(a){const k=p==="y"?"bottom":"right";x=Su(x+d[p==="y"?"top":"left"],x,x-d[k])}const w=l.fn({...t,[f]:y,[p]:x});return{...w,data:{x:w.x-r,y:w.y-n}}}}};function Xe(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function St(e){return Xe(e).getComputedStyle(e)}function Im(e){return e instanceof Xe(e).Node}function Sr(e){return Im(e)?(e.nodeName||"").toLowerCase():""}let Ri;function Fm(){if(Ri)return Ri;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ri=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ri):navigator.userAgent}function Et(e){return e instanceof Xe(e).HTMLElement}function qe(e){return e instanceof Xe(e).Element}function Wf(e){return typeof ShadowRoot>"u"?!1:e instanceof Xe(e).ShadowRoot||e instanceof ShadowRoot}function Qo(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=St(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Cw(e){return["table","td","th"].includes(Sr(e))}function Cu(e){const t=/firefox/i.test(Fm()),r=St(e),n=r.backdropFilter||r.WebkitBackdropFilter;return r.transform!=="none"||r.perspective!=="none"||!!n&&n!=="none"||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"||["transform","perspective"].some(o=>r.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=r.contain;return i!=null&&i.includes(o)})}function Eu(){return/^((?!chrome|android).)*safari/i.test(Fm())}function dl(e){return["html","body","#document"].includes(Sr(e))}const Gf=Math.min,Eo=Math.max,Oa=Math.round;function $m(e){const t=St(e);let r=parseFloat(t.width),n=parseFloat(t.height);const o=Et(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,l=Oa(r)!==i||Oa(n)!==a;return l&&(r=i,n=a),{width:r,height:n,fallback:l}}function Lm(e){return qe(e)?e:e.contextElement}const Dm={x:1,y:1};function zn(e){const t=Lm(e);if(!Et(t))return Dm;const r=t.getBoundingClientRect(),{width:n,height:o,fallback:i}=$m(t);let a=(i?Oa(r.width):r.width)/n,l=(i?Oa(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function rn(e,t,r,n){var o,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),l=Lm(e);let s=Dm;t&&(n?qe(n)&&(s=zn(n)):s=zn(e));const u=l?Xe(l):window,d=Eu()&&r;let f=(a.left+(d&&((o=u.visualViewport)==null?void 0:o.offsetLeft)||0))/s.x,p=(a.top+(d&&((i=u.visualViewport)==null?void 0:i.offsetTop)||0))/s.y,y=a.width/s.x,x=a.height/s.y;if(l){const w=Xe(l),k=n&&qe(n)?Xe(n):n;let g=w.frameElement;for(;g&&n&&k!==w;){const m=zn(g),v=g.getBoundingClientRect(),b=getComputedStyle(g);v.x+=(g.clientLeft+parseFloat(b.paddingLeft))*m.x,v.y+=(g.clientTop+parseFloat(b.paddingTop))*m.y,f*=m.x,p*=m.y,y*=m.x,x*=m.y,f+=v.x,p+=v.y,g=Xe(g).frameElement}}return Ra({width:y,height:x,x:f,y:p})}function br(e){return((Im(e)?e.ownerDocument:e.document)||window.document).documentElement}function fl(e){return qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Am(e){return rn(br(e)).left+fl(e).scrollLeft}function Yn(e){if(Sr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wf(e)&&e.host||br(e);return Wf(t)?t.host:t}function zm(e){const t=Yn(e);return dl(t)?t.ownerDocument.body:Et(t)&&Qo(t)?t:zm(t)}function To(e,t){var r;t===void 0&&(t=[]);const n=zm(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Xe(n);return o?t.concat(i,i.visualViewport||[],Qo(n)?n:[]):t.concat(n,To(n))}function Kf(e,t,r){let n;if(t==="viewport")n=function(a,l){const s=Xe(a),u=br(a),d=s.visualViewport;let f=u.clientWidth,p=u.clientHeight,y=0,x=0;if(d){f=d.width,p=d.height;const w=Eu();(!w||w&&l==="fixed")&&(y=d.offsetLeft,x=d.offsetTop)}return{width:f,height:p,x:y,y:x}}(e,r);else if(t==="document")n=function(a){const l=br(a),s=fl(a),u=a.ownerDocument.body,d=Eo(l.scrollWidth,l.clientWidth,u.scrollWidth,u.clientWidth),f=Eo(l.scrollHeight,l.clientHeight,u.scrollHeight,u.clientHeight);let p=-s.scrollLeft+Am(a);const y=-s.scrollTop;return St(u).direction==="rtl"&&(p+=Eo(l.clientWidth,u.clientWidth)-d),{width:d,height:f,x:p,y}}(br(e));else if(qe(t))n=function(a,l){const s=rn(a,!0,l==="fixed"),u=s.top+a.clientTop,d=s.left+a.clientLeft,f=Et(a)?zn(a):{x:1,y:1};return{width:a.clientWidth*f.x,height:a.clientHeight*f.y,x:d*f.x,y:u*f.y}}(t,r);else{const a={...t};if(Eu()){var o,i;const l=Xe(e);a.x-=((o=l.visualViewport)==null?void 0:o.offsetLeft)||0,a.y-=((i=l.visualViewport)==null?void 0:i.offsetTop)||0}n=a}return Ra(n)}function Um(e,t){const r=Yn(e);return!(r===t||!qe(r)||dl(r))&&(St(r).position==="fixed"||Um(r,t))}function Zf(e,t){return Et(e)&&St(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Yf(e,t){const r=Xe(e);if(!Et(e))return r;let n=Zf(e,t);for(;n&&Cw(n)&&St(n).position==="static";)n=Zf(n,t);return n&&(Sr(n)==="html"||Sr(n)==="body"&&St(n).position==="static"&&!Cu(n))?r:n||function(o){let i=Yn(o);for(;Et(i)&&!dl(i);){if(Cu(i))return i;i=Yn(i)}return null}(e)||r}function Ew(e,t,r){const n=Et(t),o=br(t),i=rn(e,!0,r==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(n||!n&&r!=="fixed")if((Sr(t)!=="body"||Qo(o))&&(a=fl(t)),Et(t)){const s=rn(t,!0);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else o&&(l.x=Am(o));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const Tw={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=r==="clippingAncestors"?function(u,d){const f=d.get(u);if(f)return f;let p=To(u).filter(k=>qe(k)&&Sr(k)!=="body"),y=null;const x=St(u).position==="fixed";let w=x?Yn(u):u;for(;qe(w)&&!dl(w);){const k=St(w),g=Cu(w);g||k.position!=="fixed"||(y=null),(x?!g&&!y:!g&&k.position==="static"&&y&&["absolute","fixed"].includes(y.position)||Qo(w)&&!g&&Um(u,w))?p=p.filter(m=>m!==w):y=k,w=Yn(w)}return d.set(u,p),p}(t,this._c):[].concat(r),a=[...i,n],l=a[0],s=a.reduce((u,d)=>{const f=Kf(t,d,o);return u.top=Eo(f.top,u.top),u.right=Gf(f.right,u.right),u.bottom=Gf(f.bottom,u.bottom),u.left=Eo(f.left,u.left),u},Kf(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Et(r),i=br(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Sr(r)!=="body"||Qo(i))&&(a=fl(r)),Et(r))){const u=rn(r);l=zn(r),s.x=u.x+r.clientLeft,s.y=u.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+s.x,y:t.y*l.y-a.scrollTop*l.y+s.y}},isElement:qe,getDimensions:function(e){return $m(e)},getOffsetParent:Yf,getDocumentElement:br,getScale:zn,async getElementRects(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||Yf,i=this.getDimensions;return{reference:Ew(t,await o(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>St(e).direction==="rtl"};function jw(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=n,s=o||i?[...qe(e)?To(e):e.contextElement?To(e.contextElement):[],...To(t)]:[];s.forEach(p=>{const y=!qe(p)&&p.toString().includes("V");!o||l&&!y||p.addEventListener("scroll",r,{passive:!0}),i&&p.addEventListener("resize",r)});let u,d=null;a&&(d=new ResizeObserver(()=>{r()}),qe(e)&&!l&&d.observe(e),qe(e)||!e.contextElement||l||d.observe(e.contextElement),d.observe(t));let f=l?rn(e):null;return l&&function p(){const y=rn(e);!f||y.x===f.x&&y.y===f.y&&y.width===f.width&&y.height===f.height||r(),f=y,u=requestAnimationFrame(p)}(),r(),()=>{var p;s.forEach(y=>{o&&y.removeEventListener("scroll",r),i&&y.removeEventListener("resize",r)}),(p=d)==null||p.disconnect(),d=null,l&&cancelAnimationFrame(u)}}const Nw=(e,t,r)=>{const n=new Map,o={platform:Tw,...r},i={...o.platform,_c:n};return pw(e,t,{...o,platform:i})},_w=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?Vf({element:t.current,padding:r}).fn(o):{}:t?Vf({element:t,padding:r}).fn(o):{}}}};var Yi=typeof document<"u"?h.useLayoutEffect:h.useEffect;function Ia(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ia(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Ia(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Qf(e){const t=h.useRef(e);return Yi(()=>{t.current=e}),t}function Pw(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,whileElementsMounted:i,open:a}=e,[l,s]=h.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[u,d]=h.useState(n);Ia(u,n)||d(n);const f=h.useRef(null),p=h.useRef(null),y=h.useRef(l),x=Qf(i),w=Qf(o),[k,g]=h.useState(null),[m,v]=h.useState(null),b=h.useCallback(T=>{f.current!==T&&(f.current=T,g(T))},[]),S=h.useCallback(T=>{p.current!==T&&(p.current=T,v(T))},[]),j=h.useCallback(()=>{if(!f.current||!p.current)return;const T={placement:t,strategy:r,middleware:u};w.current&&(T.platform=w.current),Nw(f.current,p.current,T).then(C=>{const z={...C,isPositioned:!0};R.current&&!Ia(y.current,z)&&(y.current=z,Oc.flushSync(()=>{s(z)}))})},[u,t,r,w]);Yi(()=>{a===!1&&y.current.isPositioned&&(y.current.isPositioned=!1,s(T=>({...T,isPositioned:!1})))},[a]);const R=h.useRef(!1);Yi(()=>(R.current=!0,()=>{R.current=!1}),[]),Yi(()=>{if(k&&m){if(x.current)return x.current(k,m,j);j()}},[k,m,j,x]);const M=h.useMemo(()=>({reference:f,floating:p,setReference:b,setFloating:S}),[b,S]),V=h.useMemo(()=>({reference:k,floating:m}),[k,m]);return h.useMemo(()=>({...l,update:j,refs:M,elements:V,reference:b,floating:S}),[l,j,M,V,b,S])}var Xo=typeof document<"u"?h.useLayoutEffect:h.useEffect;let hs=!1,Rw=0;const Xf=()=>"floating-ui-"+Rw++;function Mw(){const[e,t]=h.useState(()=>hs?Xf():void 0);return Xo(()=>{e==null&&t(Xf())},[]),h.useEffect(()=>{hs||(hs=!0)},[]),e}const Ow=G0["useId".toString()],qf=Ow||Mw;function Iw(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(o=>o(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter(n=>n!==r))}}}const Fw=h.createContext(null),$w=h.createContext(null),Lw=()=>{var e;return((e=h.useContext(Fw))==null?void 0:e.id)||null},Bm=()=>h.useContext($w);function Hr(e){return(e==null?void 0:e.ownerDocument)||document}function Bc(e){return Hr(e).defaultView||window}function ur(e){return e?e instanceof Bc(e).Element:!1}function Vc(e){return e?e instanceof Bc(e).HTMLElement:!1}function Dw(e){if(typeof ShadowRoot>"u")return!1;const t=Bc(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Fa(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function Jf(e){const t=h.useRef(e);return Xo(()=>{t.current=e}),t}const e0="data-floating-ui-safe-polygon";function ms(e,t,r){return r&&!Fa(r)?0:typeof e=="number"?e:e==null?void 0:e[t]}const Aw=function(e,t){let{enabled:r=!0,delay:n=0,handleClose:o=null,mouseOnly:i=!1,restMs:a=0,move:l=!0}=t===void 0?{}:t;const{open:s,onOpenChange:u,dataRef:d,events:f,elements:{domReference:p,floating:y},refs:x}=e,w=Bm(),k=Lw(),g=Jf(o),m=Jf(n),v=h.useRef(),b=h.useRef(),S=h.useRef(),j=h.useRef(),R=h.useRef(!0),M=h.useRef(!1),V=h.useRef(()=>{}),T=h.useCallback(()=>{var H;const Z=(H=d.current.openEvent)==null?void 0:H.type;return(Z==null?void 0:Z.includes("mouse"))&&Z!=="mousedown"},[d]);h.useEffect(()=>{if(!r)return;function H(){clearTimeout(b.current),clearTimeout(j.current),R.current=!0}return f.on("dismiss",H),()=>{f.off("dismiss",H)}},[r,f]),h.useEffect(()=>{if(!r||!g.current||!s)return;function H(){T()&&u(!1)}const Z=Hr(y).documentElement;return Z.addEventListener("mouseleave",H),()=>{Z.removeEventListener("mouseleave",H)}},[y,s,u,r,g,d,T]);const C=h.useCallback(function(H){H===void 0&&(H=!0);const Z=ms(m.current,"close",v.current);Z&&!S.current?(clearTimeout(b.current),b.current=setTimeout(()=>u(!1),Z)):H&&(clearTimeout(b.current),u(!1))},[m,u]),z=h.useCallback(()=>{V.current(),S.current=void 0},[]),B=h.useCallback(()=>{if(M.current){const H=Hr(x.floating.current).body;H.style.pointerEvents="",H.removeAttribute(e0),M.current=!1}},[x]);return h.useEffect(()=>{if(!r)return;function H(){return d.current.openEvent?["click","mousedown"].includes(d.current.openEvent.type):!1}function Z(_){if(clearTimeout(b.current),R.current=!1,i&&!Fa(v.current)||a>0&&ms(m.current,"open")===0)return;d.current.openEvent=_;const D=ms(m.current,"open",v.current);D?b.current=setTimeout(()=>{u(!0)},D):u(!0)}function X(_){if(H())return;V.current();const D=Hr(y);if(clearTimeout(j.current),g.current){s||clearTimeout(b.current),S.current=g.current({...e,tree:w,x:_.clientX,y:_.clientY,onClose(){B(),z(),C()}});const I=S.current;D.addEventListener("mousemove",I),V.current=()=>{D.removeEventListener("mousemove",I)};return}C()}function de(_){H()||g.current==null||g.current({...e,tree:w,x:_.clientX,y:_.clientY,onClose(){B(),z(),C()}})(_)}if(ur(p)){const _=p;return s&&_.addEventListener("mouseleave",de),y==null||y.addEventListener("mouseleave",de),l&&_.addEventListener("mousemove",Z,{once:!0}),_.addEventListener("mouseenter",Z),_.addEventListener("mouseleave",X),()=>{s&&_.removeEventListener("mouseleave",de),y==null||y.removeEventListener("mouseleave",de),l&&_.removeEventListener("mousemove",Z),_.removeEventListener("mouseenter",Z),_.removeEventListener("mouseleave",X)}}},[p,y,r,e,i,a,l,C,z,B,u,s,w,m,g,d]),Xo(()=>{var H;if(r&&s&&(H=g.current)!=null&&H.__options.blockPointerEvents&&T()){const de=Hr(y).body;if(de.setAttribute(e0,""),de.style.pointerEvents="none",M.current=!0,ur(p)&&y){var Z,X;const _=p,D=w==null||(Z=w.nodesRef.current.find(I=>I.id===k))==null||(X=Z.context)==null?void 0:X.elements.floating;return D&&(D.style.pointerEvents=""),_.style.pointerEvents="auto",y.style.pointerEvents="auto",()=>{_.style.pointerEvents="",y.style.pointerEvents=""}}}},[r,s,k,y,p,w,g,d,T]),Xo(()=>{s||(v.current=void 0,z(),B())},[s,z,B]),h.useEffect(()=>()=>{z(),clearTimeout(b.current),clearTimeout(j.current),B()},[r,z,B]),h.useMemo(()=>{if(!r)return{};function H(Z){v.current=Z.pointerType}return{reference:{onPointerDown:H,onPointerEnter:H,onMouseMove(){s||a===0||(clearTimeout(j.current),j.current=setTimeout(()=>{R.current||u(!0)},a))}},floating:{onMouseEnter(){clearTimeout(b.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),C(!1)}}}},[f,r,a,s,u,C])};function zw(e){let t=e.activeElement;for(;((r=t)==null||(n=r.shadowRoot)==null?void 0:n.activeElement)!=null;){var r,n;t=t.shadowRoot.activeElement}return t}function jo(e,t){if(!e||!t)return!1;const r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Dw(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Uw(e,t){let r=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)})||[],n=r;for(;n.length;)n=e.filter(o=>{var i;return(i=n)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})})||[],r=r.concat(n);return r}function Bw(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Vw="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Hw(e){return Vc(e)&&e.matches(Vw)}const Ww=G0["useInsertionEffect".toString()],Gw=Ww||(e=>e());function Kw(e){const t=h.useRef(()=>{});return Gw(()=>{t.current=e}),h.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;oa?{reference:{onPointerDown(p){f.current=p.pointerType},onMouseDown(p){p.button===0&&(Fa(f.current,!0)&&u||l!=="click"&&(r?s&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")&&n(!1):(p.preventDefault(),n(!0)),o.current.openEvent=p.nativeEvent))},onClick(p){if(!o.current.__syncReturnFocus){if(l==="mousedown"&&f.current){f.current=void 0;return}Fa(f.current,!0)&&u||(r?s&&(!o.current.openEvent||o.current.openEvent.type==="click")&&n(!1):n(!0),o.current.openEvent=p.nativeEvent)}},onKeyDown(p){f.current=void 0,d&&(t0(p)||(p.key===" "&&!r0(i)&&p.preventDefault(),p.key==="Enter"&&(r?s&&n(!1):n(!0))))},onKeyUp(p){d&&(t0(p)||r0(i)||p.key===" "&&(r?s&&n(!1):n(!0)))}}}:{},[a,o,l,u,d,i,s,r,n])};function Yw(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}const Qw=function(e,t){let{open:r,onOpenChange:n,dataRef:o,events:i,refs:a,elements:{floating:l,domReference:s}}=e,{enabled:u=!0,keyboardOnly:d=!0}=t===void 0?{}:t;const f=h.useRef(""),p=h.useRef(!1),y=h.useRef();return h.useEffect(()=>{if(!u)return;const w=Hr(l).defaultView||window;function k(){!r&&Vc(s)&&s===zw(Hr(s))&&(p.current=!0)}return w.addEventListener("blur",k),()=>{w.removeEventListener("blur",k)}},[l,s,r,u]),h.useEffect(()=>{if(!u)return;function x(w){(w.type==="referencePress"||w.type==="escapeKey")&&(p.current=!0)}return i.on("dismiss",x),()=>{i.off("dismiss",x)}},[i,u]),h.useEffect(()=>()=>{clearTimeout(y.current)},[]),h.useMemo(()=>u?{reference:{onPointerDown(x){let{pointerType:w}=x;f.current=w,p.current=!!(w&&d)},onMouseLeave(){p.current=!1},onFocus(x){var w;p.current||x.type==="focus"&&((w=o.current.openEvent)==null?void 0:w.type)==="mousedown"&&o.current.openEvent&&Yw(o.current.openEvent,s)||(o.current.openEvent=x.nativeEvent,n(!0))},onBlur(x){p.current=!1;const w=x.relatedTarget,k=ur(w)&&w.hasAttribute("data-floating-ui-focus-guard")&&w.getAttribute("data-type")==="outside";y.current=setTimeout(()=>{jo(a.floating.current,w)||jo(s,w)||k||n(!1)})}}}:{},[u,d,s,a,o,n])},Xw=function(e,t){let{open:r}=e,{enabled:n=!0,role:o="dialog"}=t===void 0?{}:t;const i=qf(),a=qf();return h.useMemo(()=>{const l={id:i,role:o};return n?o==="tooltip"?{reference:{"aria-describedby":r?i:void 0},floating:l}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":r?i:void 0,...o==="listbox"&&{role:"combobox"},...o==="menu"&&{id:a}},floating:{...l,...o==="menu"&&{"aria-labelledby":a}}}:{}},[n,o,r,i,a])};function qw(e,t){const[r,n]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=n!=f>=n&&r<=(d-s)*(n-u)/(f-u)+s&&(o=!o)}return o}function Jw(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function ek(e){let{restMs:t=0,buffer:r=.5,blockPointerEvents:n=!1}=e===void 0?{}:e,o,i=!1,a=!1;const l=s=>{let{x:u,y:d,placement:f,elements:p,onClose:y,nodeId:x,tree:w}=s;return function(g){function m(){clearTimeout(o),y()}if(clearTimeout(o),!p.domReference||!p.floating||f==null||u==null||d==null)return;const{clientX:v,clientY:b}=g,S=[v,b],j=Bw(g),R=g.type==="mouseleave",M=jo(p.floating,j),V=jo(p.domReference,j),T=p.domReference.getBoundingClientRect(),C=p.floating.getBoundingClientRect(),z=f.split("-")[0],B=u>C.right-C.width/2,H=d>C.bottom-C.height/2,Z=Jw(S,T);if(M&&(a=!0,!R))return;if(V&&(a=!1),V&&!R){a=!0;return}if(R&&ur(g.relatedTarget)&&jo(p.floating,g.relatedTarget)||w&&Uw(w.nodesRef.current,x).some(D=>{let{context:I}=D;return I==null?void 0:I.open}))return;if(z==="top"&&d>=T.bottom-1||z==="bottom"&&d<=T.top+1||z==="left"&&u>=T.right-1||z==="right"&&u<=T.left+1)return m();let X=[];switch(z){case"top":X=[[C.left,T.top+1],[C.left,C.bottom-1],[C.right,C.bottom-1],[C.right,T.top+1]],i=v>=C.left&&v<=C.right&&b>=C.top&&b<=T.top+1;break;case"bottom":X=[[C.left,C.top+1],[C.left,T.bottom-1],[C.right,T.bottom-1],[C.right,C.top+1]],i=v>=C.left&&v<=C.right&&b>=T.bottom-1&&b<=C.bottom;break;case"left":X=[[C.right-1,C.bottom],[C.right-1,C.top],[T.left+1,C.top],[T.left+1,C.bottom]],i=v>=C.left&&v<=T.left+1&&b>=C.top&&b<=C.bottom;break;case"right":X=[[T.right-1,C.bottom],[T.right-1,C.top],[C.left+1,C.top],[C.left+1,C.bottom]],i=v>=T.right-1&&v<=C.right&&b>=C.top&&b<=C.bottom;break}function de(D){let[I,W]=D;const Y=C.width>T.width,fe=C.height>T.height;switch(z){case"top":{const xe=[Y?I+r/2:B?I+r*4:I-r*4,W+r+1],Le=[Y?I-r/2:B?I+r*4:I-r*4,W+r+1],Te=[[C.left,B||Y?C.bottom-r:C.top],[C.right,B?Y?C.bottom-r:C.top:C.bottom-r]];return[xe,Le,...Te]}case"bottom":{const xe=[Y?I+r/2:B?I+r*4:I-r*4,W-r],Le=[Y?I-r/2:B?I+r*4:I-r*4,W-r],Te=[[C.left,B||Y?C.top+r:C.bottom],[C.right,B?Y?C.top+r:C.bottom:C.top+r]];return[xe,Le,...Te]}case"left":{const xe=[I+r+1,fe?W+r/2:H?W+r*4:W-r*4],Le=[I+r+1,fe?W-r/2:H?W+r*4:W-r*4];return[...[[H||fe?C.right-r:C.left,C.top],[H?fe?C.right-r:C.left:C.right-r,C.bottom]],xe,Le]}case"right":{const xe=[I-r,fe?W+r/2:H?W+r*4:W-r*4],Le=[I-r,fe?W-r/2:H?W+r*4:W-r*4],Te=[[H||fe?C.left+r:C.right,C.top],[H?fe?C.left+r:C.right:C.left+r,C.bottom]];return[xe,Le,...Te]}}}const _=i?X:de([u,d]);if(!i){if(a&&!Z)return m();qw([v,b],_)?t&&!a&&(o=setTimeout(m,t)):m()}}};return l.__options={blockPointerEvents:n},l}function tk(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:r,nodeId:n}=e,o=Pw(e),i=Bm(),a=h.useRef(null),l=h.useRef({}),s=h.useState(()=>Iw())[0],[u,d]=h.useState(null),f=h.useCallback(g=>{const m=ur(g)?{getBoundingClientRect:()=>g.getBoundingClientRect(),contextElement:g}:g;o.refs.setReference(m)},[o.refs]),p=h.useCallback(g=>{(ur(g)||g===null)&&(a.current=g,d(g)),(ur(o.refs.reference.current)||o.refs.reference.current===null||g!==null&&!ur(g))&&o.refs.setReference(g)},[o.refs]),y=h.useMemo(()=>({...o.refs,setReference:p,setPositionReference:f,domReference:a}),[o.refs,p,f]),x=h.useMemo(()=>({...o.elements,domReference:u}),[o.elements,u]),w=Kw(r),k=h.useMemo(()=>({...o,refs:y,elements:x,dataRef:l,nodeId:n,events:s,open:t,onOpenChange:w}),[o,n,s,t,w,y,x]);return Xo(()=>{const g=i==null?void 0:i.nodesRef.current.find(m=>m.id===n);g&&(g.context=k)}),h.useMemo(()=>({...o,context:k,refs:y,reference:p,positionReference:f}),[o,y,k,p,f])}function gs(e,t,r){const n=new Map;return{...r==="floating"&&{tabIndex:-1},...e,...t.map(o=>o?o[r]:null).concat(e).reduce((o,i)=>(i&&Object.entries(i).forEach(a=>{let[l,s]=a;if(l.indexOf("on")===0){if(n.has(l)||n.set(l,[]),typeof s=="function"){var u;(u=n.get(l))==null||u.push(s),o[l]=function(){for(var d,f=arguments.length,p=new Array(f),y=0;yx(...p))}}}else o[l]=s}),o),{})}}const rk=function(e){e===void 0&&(e=[]);const t=e,r=h.useCallback(i=>gs(i,e,"reference"),t),n=h.useCallback(i=>gs(i,e,"floating"),t),o=h.useCallback(i=>gs(i,e,"item"),e.map(i=>i==null?void 0:i.item));return h.useMemo(()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:o}),[r,n,o])},nk=({arrowRef:e,placement:t})=>{const r=[];return r.push(ww(8)),r.push(t==="auto"?bw():xw()),r.push(Sw({padding:8})),e.current&&r.push(_w({element:e.current})),r},ok=({placement:e})=>e==="auto"?void 0:e,ik=({placement:e})=>({top:"bottom",right:"left",bottom:"top",left:"right"})[e.split("-")[0]],Vm=({animation:e="duration-300",arrow:t=!0,children:r,className:n,closeRequestKey:o,content:i,placement:a="top",style:l="dark",theme:s,trigger:u="hover",...d})=>{const f=h.useRef(null),[p,y]=h.useState(!1),x=tk({middleware:nk({arrowRef:f,placement:a}),onOpenChange:y,open:p,placement:ok({placement:a})}),{context:w,floating:k,middlewareData:{arrow:{x:g,y:m}={}},reference:v,refs:b,strategy:S,update:j,x:R,y:M}=x,{getFloatingProps:V,getReferenceProps:T}=rk([Zw(w,{enabled:u==="click"}),Qw(w),Aw(w,{enabled:u==="hover",handleClose:ek()}),Xw(w,{role:"tooltip"})]);return h.useEffect(()=>{if(b.reference.current&&b.floating.current&&p)return jw(b.reference.current,b.floating.current,j)},[p,b.floating,b.reference,j]),h.useEffect(()=>{o!==void 0&&y(!1)},[o]),c.jsxs(c.Fragment,{children:[c.jsx("div",{className:s.target,...T({ref:v}),"data-testid":"flowbite-tooltip-target",children:r}),c.jsxs("div",{"data-testid":"flowbite-tooltip",...V({className:N(s.base,e&&`${s.animation} ${e}`,!p&&s.hidden,s.style[l],n),ref:k,style:{position:S,top:M??" ",left:R??" "},...d}),children:[c.jsx("div",{className:s.content,children:i}),t&&c.jsx("div",{className:N(s.arrow.base,{[s.arrow.style.dark]:l==="dark",[s.arrow.style.light]:l==="light",[s.arrow.style.auto]:l==="auto"}),"data-testid":"flowbite-tooltip-arrow",ref:f,style:{top:m??" ",left:g??" ",right:" ",bottom:" ",[ik({placement:x.placement})]:s.arrow.placement},children:" "})]})]})},Hc=({className:e,...t})=>{const r=O().theme.dropdown.floating.divider;return c.jsx("div",{className:N(r,e),...t})},Hm=({children:e,className:t,...r})=>{const n=O().theme.dropdown.floating.header;return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:N(n,t),...r,children:e}),c.jsx(Hc,{})]})},Wc=({children:e,className:t,icon:r,onClick:n,theme:o={},...i})=>{const a=F(O().theme.dropdown.floating.item,o);return c.jsxs("li",{className:N(a.base,t),onClick:n,...i,children:[r&&c.jsx(r,{className:a.icon}),e]})},ak={top:ew,right:ym,bottom:gm,left:Jx},Wm=({children:e,className:t,dismissOnClick:r=!0,theme:n={},...o})=>{const i=F(O().theme.dropdown,n),a=o,{placement:l=o.inline?"bottom-start":"bottom",trigger:s="click",label:u,inline:d,floatingArrow:f=!1,arrowIcon:p=!0,...y}=a,x=h.useMemo(()=>{const[b]=l.split("-");return ak[b]??gm},[l]),[w,k]=h.useState(void 0),g=h.useCallback(b=>ge.isValidElement(b)?b.type===Wc?ge.cloneElement(b,{onClick:()=>{var S,j;(j=(S=b.props).onClick)==null||j.call(S),r&&k(fw())}}):b.props.children&&typeof b.props.children=="object"?ge.cloneElement(b,{children:h.Children.map(b.props.children,g)}):b:b,[r]),m=h.useMemo(()=>c.jsx("ul",{className:i.content,children:h.Children.map(e,g)}),[g,e,i.content]),v=({children:b})=>d?c.jsx("button",{className:i.inlineWrapper,children:b}):c.jsx(Se,{...y,children:b});return c.jsx(Vm,{content:m,style:"auto",animation:"duration-100",placement:l,arrow:f,trigger:s,theme:i.floating,closeRequestKey:w,className:t,children:c.jsxs(v,{children:[u,p&&c.jsx(x,{className:i.arrowIcon})]})})};Wm.displayName="Dropdown";Wc.displayName="Dropdown.Item";Hm.displayName="Dropdown.Header";Hc.displayName="Dropdown.Divider";const No=Object.assign(Wm,{Item:Wc,Header:Hm,Divider:Hc}),pl=({children:e,className:t,color:r="default",theme:n={},value:o,...i})=>{const a=F(O().theme.helperText,n);return c.jsx("p",{className:N(a.root.base,a.root.colors[r],t),...i,children:o??e??""})},lk=h.forwardRef(({className:e,color:t="gray",helperText:r,sizing:n="md",theme:o={},...i},a)=>{const l=F(O().theme.fileInput,o);return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:N(l.root.base,e),children:c.jsx("div",{className:l.field.base,children:c.jsx("input",{className:N(l.field.input.base,l.field.input.colors[t],l.field.input.sizes[n]),...i,type:"file",ref:a})})}),r&&c.jsx(pl,{color:t,children:r})]})});lk.displayName="FileInput";const Gm=({alt:e,className:t,children:r,href:n,name:o,src:i,theme:a={},...l})=>{const s=F(O().theme.footer.brand,a);return c.jsx("div",{children:n?c.jsxs("a",{"data-testid":"flowbite-footer-brand",href:n,className:N(s.base,t),...l,children:[c.jsx("img",{alt:e,src:i,className:s.img}),c.jsx("span",{"data-testid":"flowbite-footer-brand-span",className:s.span,children:o}),r]}):c.jsx("img",{alt:e,"data-testid":"flowbite-footer-brand",src:i,className:N(s.img,t),...l})})},Km=({by:e,className:t,href:r,theme:n={},year:o,...i})=>{const a=F(O().theme.footer.copyright,n);return c.jsxs("div",{"data-testid":"flowbite-footer-copyright",className:N(a.base,t),...i,children:["© ",o,r?c.jsx("a",{href:r,className:a.href,children:e}):c.jsx("span",{"data-testid":"flowbite-footer-copyright-span",className:a.span,children:e})]})},Zm=({className:e,theme:t={},...r})=>{const n=F(O().theme.footer.divider,t);return c.jsx("hr",{"data-testid":"footer-divider",className:N(n.base,e),...r})},Ym=({ariaLabel:e,className:t,href:r,icon:n,theme:o={},...i})=>{const a=F(O().theme.footer.icon,o);return c.jsx("div",{children:r?c.jsx("a",{"aria-label":e,"data-testid":"flowbite-footer-icon",href:r,className:N(a.base,t),...i,children:c.jsx(n,{className:a.size})}):c.jsx(n,{"data-testid":"flowbite-footer-icon",className:a.size,...i})})},Qm=({as:e="a",children:t,className:r,href:n,theme:o={},...i})=>{const a=F(O().theme.footer.groupLink.link,o);return c.jsx("li",{className:N(a.base,r),children:c.jsx(e,{href:n,className:a.href,...i,children:t})})},Xm=({children:e,className:t,col:r=!1,theme:n={},...o})=>{const i=F(O().theme.footer.groupLink,n);return c.jsx("ul",{"data-testid":"footer-groupLink",className:N(i.base,r&&i.col,t),...o,children:e})},qm=({as:e="h2",className:t,theme:r={},title:n,...o})=>{const i=F(O().theme.footer.title,r);return c.jsx(e,{"data-testid":"flowbite-footer-title",className:N(i.base,t),...o,children:n})},Jm=({bgDark:e=!1,children:t,className:r,container:n=!1,theme:o={},...i})=>{const a=F(O().theme.footer,o);return c.jsx("footer",{"data-testid":"flowbite-footer",className:N(a.root.base,e&&a.root.bgDark,n&&a.root.container,r),...i,children:t})};Jm.displayName="Footer";Km.displayName="Footer.Copyright";Qm.displayName="Footer.Link";Gm.displayName="Footer.Brand";Xm.displayName="Footer.LinkGroup";Ym.displayName="Footer.Icon";qm.displayName="Footer.Title";Zm.displayName="Footer.Divider";Object.assign(Jm,{Copyright:Km,Link:Qm,LinkGroup:Xm,Brand:Gm,Icon:Ym,Title:qm,Divider:Zm});const Ie=({children:e,className:t,color:r="default",disabled:n=!1,theme:o={},value:i,...a})=>{const l=F(O().theme.label,o);return c.jsx("label",{className:N(l.root.base,l.root.colors[r],n??l.root.disabled,t),...a,children:i??e??""})},eg=({active:e,children:t,className:r,href:n,icon:o,onClick:i,theme:a={},...l})=>{const s=F(O().theme.listGroup.item,a),u=typeof n<"u",d=u?"a":"button";return c.jsx("li",{className:N(s.base,r),children:c.jsxs(d,{href:n,onClick:i,type:u?void 0:"button",className:N(s.link.active[e?"on":"off"],s.link.base,s.link.href[u?"on":"off"]),...l,children:[o&&c.jsx(o,{"aria-hidden":!0,"data-testid":"flowbite-list-group-item-icon",className:s.link.icon}),t]})})},tg=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.listGroup,r);return c.jsx("ul",{className:N(o.root.base,t),...n,children:e})};tg.displayName="ListGroup";eg.displayName="ListGroup.Item";Object.assign(tg,{Item:eg});const sk=(e,t)=>{h.useEffect(()=>{const r=n=>{n.key===e&&t()};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[e,t])},rg=h.createContext(void 0);function Gc(){const e=h.useContext(rg);if(!e)throw new Error("useModalContext should be used within the ModalContext provider!");return e}const ng=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.modal.body,r),{popup:i}=Gc();return c.jsx("div",{className:N(o.base,{[o.popup]:i},t),...n,children:e})},og=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.modal.footer,r),{popup:i}=Gc();return c.jsx("div",{className:N(o.base,{[o.popup]:!i},t),...n,children:e})},ig=({as:e="h3",children:t,className:r,theme:n={},...o})=>{const i=F(O().theme.modal.header,n),{popup:a,onClose:l}=Gc();return c.jsxs("div",{className:N(i.base,{[i.popup]:a},r),...o,children:[c.jsx(e,{className:i.title,children:t}),c.jsx("button",{"aria-label":"Close",className:i.close.base,type:"button",onClick:l,children:c.jsx(tw,{"aria-hidden":!0,className:i.close.icon})})]})},ag=({children:e,className:t,dismissible:r=!1,onClose:n,popup:o,position:i="center",root:a,show:l,size:s="2xl",theme:u={},...d})=>{const f=F(O().theme.modal,u),[p,y]=h.useState(!1),x=h.useRef(null);if(h.useEffect(()=>(y(!0),()=>{var g;const k=x.current;k&&((g=k.parentNode)==null||g.removeChild(k),x.current=null)}),[]),sk("Escape",()=>{r&&n&&n()}),!p)return null;x.current||(x.current=document.createElement("div")),x.current.parentNode!==a&&rw()&&(a||(a=document.body),a.appendChild(x.current),a.style.overflow=l?"hidden":"auto");const w=k=>{r&&k.target===k.currentTarget&&n&&n()};return Oc.createPortal(c.jsx(rg.Provider,{value:{popup:o,onClose:n},children:c.jsx("div",{"aria-hidden":!l,"data-testid":"modal",onClick:w,role:"dialog",className:N(f.root.base,f.root.positions[i],l?f.root.show.on:f.root.show.off,t),...d,children:c.jsx("div",{className:N(f.content.base,f.root.sizes[s]),children:c.jsx("div",{className:f.content.inner,children:e})})})}),x.current)};ag.displayName="Modal";ig.displayName="Modal.Header";ng.displayName="Modal.Body";og.displayName="Modal.Footer";Object.assign(ag,{Header:ig,Body:ng,Footer:og});const lg=({as:e="a",children:t,className:r,theme:n={},...o})=>{const i=F(O().theme.navbar.brand,n);return c.jsx(e,{className:N(i.base,r),...o,children:t})},sg=h.createContext(void 0);function ug(){const e=h.useContext(sg);if(!e)throw new Error("useNavBarContext should be used within the NavbarContext provider!");return e}const cg=({children:e,className:t,theme:r={},...n})=>{const{isOpen:o}=ug(),i=F(O().theme.navbar.collapse,r);return c.jsx("div",{"data-testid":"flowbite-navbar-collapse",className:N(i.base,i.hidden[o?"off":"on"],t),...n,children:c.jsx("ul",{className:i.list,children:e})})},dg=({active:e,as:t="a",disabled:r,children:n,className:o,theme:i={},...a})=>{const l=F(O().theme.navbar.link,i);return c.jsx("li",{children:c.jsx(t,{className:N(l.base,{[l.active.on]:e,[l.active.off]:!e&&!r},l.disabled[r?"on":"off"],o),...a,children:n})})};function uk(e){return jt({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M11.41 9H.59C0 9 0 8.59 0 8c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zm0-4H.59C0 5 0 4.59 0 4c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM.59 11H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1H.59C0 13 0 12.59 0 12c0-.59 0-1 .59-1z"}}]})(e)}const fg=({barIcon:e=uk,className:t,theme:r={},...n})=>{const{isOpen:o,setIsOpen:i}=ug(),a=F(O().theme.navbar.toggle,r),l=()=>{i(!o)};return c.jsxs("button",{"data-testid":"flowbite-navbar-toggle",onClick:l,className:N(a.base,t),...n,children:[c.jsx("span",{className:"sr-only",children:"Open main menu"}),c.jsx(e,{"aria-hidden":!0,className:a.icon})]})},pg=({border:e,children:t,className:r,fluid:n=!1,menuOpen:o,rounded:i,theme:a={},...l})=>{const[s,u]=h.useState(o),d=F(O().theme.navbar.root,a);return c.jsx(sg.Provider,{value:{isOpen:s,setIsOpen:u},children:c.jsx("nav",{className:N(d.base,d.bordered[e?"on":"off"],d.rounded[i?"on":"off"],r),...l,children:c.jsx("div",{className:N(d.inner.base,d.inner.fluid[n?"on":"off"]),children:t})})})};pg.displayName="Navbar";lg.displayName="Navbar.Brand";cg.displayName="Navbar.Collapse";dg.displayName="Navbar.Link";fg.displayName="Navbar.Toggle";Object.assign(pg,{Brand:lg,Collapse:cg,Link:dg,Toggle:fg});const ck=(e,t)=>e>=t?[]:[...Array(t-e+1).keys()].map(r=>r+e),Kc=({active:e,children:t,className:r,onClick:n,theme:o={},...i})=>{const a=F(O().theme.pagination,o);return c.jsx("button",{className:N({[a.pages.selector.active]:e},r),onClick:n,...i,children:t})};Kc.displayName="Pagination.Button";const hg=({className:e,currentPage:t,layout:r="pagination",nextLabel:n="Next",onPageChange:o,previousLabel:i="Previous",renderPaginationButton:a=f=>c.jsx(Kc,{...f}),showIcons:l=!1,theme:s={},totalPages:u,...d})=>{const f=F(O().theme.pagination,s),p=Math.max(1,t-3),y=Math.min(t+3,u),x=()=>{o(Math.min(t+1,u))},w=()=>{o(Math.max(t-1,1))};return c.jsxs("nav",{className:N(f.base,e),...d,children:[r==="table"&&c.jsxs("div",{className:f.layout.table.base,children:["Showing ",c.jsx("span",{className:f.layout.table.span,children:p})," to ",c.jsx("span",{className:f.layout.table.span,children:y})," of ",c.jsx("span",{className:f.layout.table.span,children:u})," Entries"]}),c.jsxs("ul",{className:f.pages.base,children:[c.jsx("li",{children:a({className:N(N(f.pages.previous.base,l&&f.pages.showIcon)),onClick:w,children:c.jsxs(c.Fragment,{children:[l&&c.jsx(Yx,{"aria-hidden":!0,className:f.pages.previous.icon}),i]})})}),r==="pagination"&&ck(p,y).map(k=>c.jsx("li",{"aria-current":k===t?"page":void 0,children:a({className:N(f.pages.selector.base,{[f.pages.selector.active]:t===k}),active:k===t,onClick:()=>o(k),children:k})},k)),c.jsx("li",{children:a({className:N(f.pages.next.base,l&&f.pages.showIcon),onClick:x,children:c.jsxs(c.Fragment,{children:[n,l&&c.jsx(Qx,{"aria-hidden":!0,className:f.pages.next.icon})]})})})]})]})};hg.displayName="Pagination";Object.assign(hg,{Button:Kc});const dk=h.forwardRef(({className:e,theme:t={},...r},n)=>{const o=F(O().theme.radio,t);return c.jsx("input",{ref:n,type:"radio",className:N(o.root.base,e),...r})});dk.displayName="Radio";const fk=h.forwardRef(({className:e,sizing:t="md",theme:r={},...n},o)=>{const i=F(O().theme.rangeSlider,r);return c.jsx(c.Fragment,{children:c.jsx("div",{"data-testid":"flowbite-range-slider",className:N(i.root.base,e),children:c.jsx("div",{className:i.field.base,children:c.jsx("input",{ref:o,type:"range",className:N(i.field.input.base,i.field.input.sizes[t]),...n})})})})});fk.displayName="RangeSlider";const mg=({children:e,className:t,percentFilled:r=0,theme:n={},...o})=>{const i=F(O().theme.rating.advanced,n);return c.jsxs("div",{className:N(i.base,t),...o,children:[c.jsx("span",{className:i.label,children:e}),c.jsx("div",{className:i.progress.base,children:c.jsx("div",{className:i.progress.fill,"data-testid":"flowbite-rating-fill",style:{width:`${r}%`}})}),c.jsx("span",{className:i.progress.label,children:`${r}%`})]})},gg=h.createContext(void 0);function pk(){const e=h.useContext(gg);if(!e)throw new Error("useRatingContext should be used within the RatingContext provider!");return e}const yg=({className:e,filled:t=!0,starIcon:r=Xx,theme:n={},...o})=>{const{size:i="sm"}=pk(),a=F(O().theme.rating.star,n);return c.jsx(r,{"data-testid":"flowbite-rating-star",className:N(a.sizes[i],a[t?"filled":"empty"],e),...o})},vg=({children:e,className:t,size:r="sm",theme:n={},...o})=>{const i=F(O().theme.rating,n);return c.jsx(gg.Provider,{value:{size:r},children:c.jsx("div",{className:N(i.root.base,t),...o,children:e})})};vg.displayName="Rating";yg.displayName="Rating.Star";mg.displayName="Rating.Advanced";Object.assign(vg,{Star:yg,Advanced:mg});const Qi=h.forwardRef(({addon:e,children:t,className:r,color:n="gray",helperText:o,icon:i,shadow:a,sizing:l="md",theme:s={},...u},d)=>{const f=F(O().theme.select,s);return c.jsxs("div",{className:N(f.base,r),children:[e&&c.jsx("span",{className:f.addon,children:e}),c.jsxs("div",{className:f.field.base,children:[i&&c.jsx("div",{className:f.field.icon.base,children:c.jsx(i,{className:f.field.icon.svg})}),c.jsx("select",{className:N(f.field.select.base,f.field.select.colors[n],f.field.select.withIcon[i?"on":"off"],f.field.select.withAddon[e?"on":"off"],f.field.select.withShadow[a?"on":"off"],f.field.select.sizes[l]),...u,ref:d,children:t}),o&&c.jsx(pl,{color:n,children:o})]})]})});Qi.displayName="Select";const bg=({animation:e="duration-300",arrow:t=!0,children:r,className:n,content:o,placement:i="top",style:a="dark",theme:l={},trigger:s="hover",...u})=>{const d=F(O().theme.tooltip,l);return c.jsx(Vm,{animation:e,arrow:t,content:o,placement:i,style:a,theme:d,trigger:s,className:n,...u,children:r})},xg=h.createContext(void 0);function hl(){const e=h.useContext(xg);if(!e)throw new Error("useSidebarContext should be used within the SidebarContext provider!");return e}const Zc=h.createContext(void 0);function hk(){const e=h.useContext(Zc);if(!e)throw new Error("useSidebarItemContext should be used within the SidebarItemContext provider!");return e}const wg=({children:e,className:t,icon:r,label:n,open:o=!1,theme:i={},...a})=>{const l=h.useId(),{isCollapsed:s}=hl(),[u,d]=h.useState(o),f=F(O().theme.sidebar.collapse,i);h.useEffect(()=>d(o),[o]);const p=({children:y})=>c.jsx("li",{children:s&&!u?c.jsx(bg,{content:n,placement:"right",children:y}):y});return c.jsxs(p,{children:[c.jsxs("button",{id:`flowbite-sidebar-collapse-${l}`,onClick:()=>d(!u),title:n,type:"button",className:N(f.button,t),...a,children:[r&&c.jsx(r,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-collapse-icon",className:N(f.icon.base,f.icon.open[u?"on":"off"])}),s?c.jsx("span",{className:"sr-only",children:n}):c.jsxs(c.Fragment,{children:[c.jsx("span",{"data-testid":"flowbite-sidebar-collapse-label",className:f.label.base,children:n}),c.jsx(mm,{"aria-hidden":!0,className:f.label.icon})]})]}),c.jsx("ul",{"aria-labelledby":`flowbite-sidebar-collapse-${l}`,hidden:!u,className:f.list,children:c.jsx(Zc.Provider,{value:{isInsideCollapse:!0},children:e})})]})};wg.displayName="Sidebar.Collapse";const kg=({children:e,color:t="info",className:r,theme:n={},...o})=>{const{isCollapsed:i}=hl(),a=F(O().theme.sidebar.cta,n);return c.jsx("div",{"data-testid":"sidebar-cta",hidden:i,className:N(a.base,a.color[t],r),...o,children:e})};kg.displayName="Sidebar.CTA";const mk=({id:e,isCollapsed:t,tooltipChildren:r,children:n})=>c.jsx("li",{children:t?c.jsx(bg,{content:c.jsx(gk,{id:e,children:r}),placement:"right",children:n}):n}),gk=({id:e,children:t})=>c.jsx(Sg,{id:e,children:t}),Sg=({id:e,children:t})=>{const r=O().theme.sidebar.item;return c.jsx("span",{"data-testid":"flowbite-sidebar-item-content",id:`flowbite-sidebar-item-${e}`,className:N(r.content.base),children:t})},Cg=h.forwardRef(({active:e,as:t="a",children:r,className:n,icon:o,label:i,labelColor:a="info",theme:l={},...s},u)=>{var x,w,k,g;const d=h.useId(),{isCollapsed:f}=hl(),{isInsideCollapse:p}=hk(),y=F(O().theme.sidebar.item,l);return c.jsx(mk,{id:d,isCollapsed:f,tooltipChildren:r,children:c.jsxs(t,{"aria-labelledby":`flowbite-sidebar-item-${d}`,ref:u,className:N(y.base,e&&y.active,!f&&p&&((x=y.collapsed)==null?void 0:x.insideCollapse),n),...s,children:[o&&c.jsx(o,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-item-icon",className:N((w=y.icon)==null?void 0:w.base,e&&((k=y.icon)==null?void 0:k.active))}),f&&!o&&c.jsx("span",{className:(g=y.collapsed)==null?void 0:g.noIcon,children:r.charAt(0).toLocaleUpperCase()??"?"}),!f&&c.jsx(Sg,{id:d,children:r}),!f&&i&&c.jsx(aw,{color:a,"data-testid":"flowbite-sidebar-label",hidden:f,className:y.label,children:i})]})})});Cg.displayName="Sidebar.Item";const Eg=({children:e,className:t,...r})=>{const n=O().theme.sidebar.itemGroup;return c.jsx("ul",{"data-testid":"flowbite-sidebar-item-group",className:N(n,t),...r,children:c.jsx(Zc.Provider,{value:{isInsideCollapse:!1},children:e})})};Eg.displayName="Sidebar.ItemGroup";const Tg=({children:e,className:t,...r})=>{const n=O().theme.sidebar.items;return c.jsx("div",{className:N(n,t),"data-testid":"flowbite-sidebar-items",...r,children:e})};Tg.displayName="Sidebar.Items";const jg=({children:e,className:t,href:r,img:n,imgAlt:o="",theme:i={},...a})=>{const l=h.useId(),{isCollapsed:s}=hl(),u=F(O().theme.sidebar.logo,i);return c.jsxs("a",{"aria-labelledby":`flowbite-sidebar-logo-${l}`,href:r,className:N(u.base,t),...a,children:[c.jsx("img",{alt:o,src:n,className:u.img}),c.jsx("span",{className:u.collapsed[s?"on":"off"],id:`flowbite-sidebar-logo-${l}`,children:e})]})};jg.displayName="Sidebar.Logo";const Ng=({children:e,as:t="nav",collapseBehavior:r="collapse",collapsed:n=!1,theme:o={},className:i,...a})=>{const l=F(O().theme.sidebar,o);return c.jsx(xg.Provider,{value:{isCollapsed:n},children:c.jsx(t,{"aria-label":"Sidebar",hidden:n&&r==="hide",className:N(l.root.base,l.root.collapsed[n?"on":"off"],i),...a,children:c.jsx("div",{className:l.root.inner,children:e})})})};Ng.displayName="Sidebar";Object.assign(Ng,{Collapse:wg,CTA:kg,Item:Cg,Items:Tg,ItemGroup:Eg,Logo:jg});const yk=h.forwardRef(({children:e,className:t,onActiveTabChange:r,style:n="default",theme:o={},...i},a)=>{const l=F(O().theme.tab,o),s=h.useId(),u=h.useMemo(()=>h.Children.map(e,({props:v})=>v),[e]),d=h.useRef([]),[f,p]=h.useState(Math.max(0,u.findIndex(v=>v.active))),[y,x]=h.useState(-1),w=v=>{p(v),r&&r(v)},k=({target:v})=>{w(v),x(v)},g=({event:v,target:b})=>{v.key==="ArrowLeft"&&x(Math.max(0,y-1)),v.key==="ArrowRight"&&x(Math.min(u.length-1,y+1)),v.key==="Enter"&&(w(b),x(b))},m=l.tablist.tabitem.styles[n];return h.useEffect(()=>{var v;(v=d.current[y])==null||v.focus()},[y]),h.useImperativeHandle(a,()=>({setActiveTab:w})),c.jsxs("div",{className:N(l.base,t),children:[c.jsx("div",{"aria-label":"Tabs",role:"tablist",className:N(l.tablist.base,l.tablist.styles[n],t),...i,children:u.map((v,b)=>c.jsxs("button",{type:"button","aria-controls":`${s}-tabpanel-${b}`,"aria-selected":b===f,className:N(l.tablist.tabitem.base,{...m},{[m.active.on]:b===f,[m.active.off]:b!==f&&!v.disabled}),disabled:v.disabled,id:`${s}-tab-${b}`,onClick:()=>k({target:b}),onKeyDown:S=>g({event:S,target:b}),ref:S=>d.current[b]=S,role:"tab",tabIndex:b===y?0:-1,children:[v.icon&&c.jsx(v.icon,{className:l.tablist.tabitem.icon}),v.title]},b))}),c.jsx("div",{children:u.map((v,b)=>c.jsx("div",{"aria-labelledby":`${s}-tab-${b}`,className:l.tabpanel,hidden:b!==f,id:`${s}-tabpanel-${b}`,role:"tabpanel",tabIndex:0,children:v.children},b))})]})});yk.displayName="Tabs.Group";const _g=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.table.body,r);return c.jsx("tbody",{className:N(o.base,t),...n,children:e})},Pg=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.table.body.cell,r);return c.jsx("td",{className:N(o.base,t),...n,children:e})},Rg=h.createContext(void 0);function vk(){const e=h.useContext(Rg);if(!e)throw new Error("useTableContext should be used within the TableContext provider!");return e}const Mg=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.table,r);return c.jsx("thead",{className:N(o.head.base,t),...n,children:c.jsx("tr",{children:e})})},Og=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.table.head.cell,r);return c.jsx("th",{className:N(o.base,t),...n,children:e})},Ig=({children:e,className:t,theme:r={},...n})=>{const{hoverable:o,striped:i}=vk(),a=F(O().theme.table.row,r);return c.jsx("tr",{"data-testid":"table-row-element",className:N(a.base,i&&a.striped,o&&a.hovered,t),...n,children:e})},Fg=({children:e,className:t,hoverable:r,striped:n,theme:o={},...i})=>{const a=F(O().theme.table,o);return c.jsx("div",{"data-testid":"table-element",className:N(a.root.wrapper),children:c.jsxs(Rg.Provider,{value:{striped:n,hoverable:r},children:[c.jsx("div",{className:N(a.root.shadow,t)}),c.jsx("table",{className:N(a.root.base,t),...i,children:e})]})})};Fg.displayName="Table";Mg.displayName="Table.Head";_g.displayName="Table.Body";Ig.displayName="Table.Row";Pg.displayName="Table.Cell";Og.displayName="Table.HeadCell";Object.assign(Fg,{Head:Mg,Body:_g,Row:Ig,Cell:Pg,HeadCell:Og});const bk=h.forwardRef(({className:e,color:t="gray",helperText:r,shadow:n,theme:o={},...i},a)=>{const l=F(O().theme.textarea,o);return c.jsxs(c.Fragment,{children:[c.jsx("textarea",{ref:a,className:N(l.base,l.colors[t],l.withShadow[n?"on":"off"],e),...i}),r&&c.jsx(pl,{color:t,children:r})]})});bk.displayName="Textarea";const Ve=h.forwardRef(({addon:e,className:t,color:r="gray",helperText:n,icon:o,rightIcon:i,shadow:a,sizing:l="md",theme:s={},...u},d)=>{const f=F(O().theme.textInput,s);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:N(f.base,t),children:[e&&c.jsx("span",{className:f.addon,children:e}),c.jsxs("div",{className:f.field.base,children:[o&&c.jsx("div",{className:f.field.icon.base,children:c.jsx(o,{className:f.field.icon.svg})}),i&&c.jsx("div",{"data-testid":"right-icon",className:f.field.rightIcon.base,children:c.jsx(i,{className:f.field.rightIcon.svg})}),c.jsx("input",{className:N(f.field.input.base,f.field.input.colors[r],f.field.input.withIcon[o?"on":"off"],f.field.input.withAddon[e?"on":"off"],f.field.input.withShadow[a?"on":"off"],f.field.input.sizes[l]),...u,ref:d})]})]}),n&&c.jsx(pl,{color:r,children:n})]})});Ve.displayName="TextInput";const $g=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.timeline.item.content,r).body;return c.jsx("div",{className:N(o,t),...n,children:e})},Lg=h.createContext(void 0);function Yc(){const e=h.useContext(Lg);if(!e)throw new Error("useTimelineContext should be used within the TimelineContext providor!");return e}const Dg=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.timeline.item.content,r),{horizontal:i}=Yc();return c.jsx("div",{"data-testid":"timeline-content",className:N(i&&o.root.base,t),...n,children:e})},Ag=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.timeline.item,r),{horizontal:i}=Yc();return c.jsx("li",{"data-testid":"timeline-item",className:N(i&&o.root.horizontal,!i&&o.root.vertical,t),...n,children:e})},zg=({children:e,className:t,icon:r,theme:n={},...o})=>{const i=F(O().theme.timeline.item.point,n),{horizontal:a}=Yc();return c.jsxs("div",{"data-testid":"timeline-point",className:N(a&&i.horizontal,!a&&i.vertical,t),...o,children:[e,r?c.jsx("span",{className:N(i.marker.icon.wrapper),children:c.jsx(r,{"aria-hidden":!0,className:N(i.marker.icon.base)})}):c.jsx("div",{className:N(a&&i.marker.base.horizontal,!a&&i.marker.base.vertical)}),a&&c.jsx("div",{className:N(i.line)})]})},Ug=({children:e,className:t,theme:r={},...n})=>{const o=F(O().theme.timeline.item.content,r).time;return c.jsx("time",{className:N(o,t),...n,children:e})},Bg=({as:e="h3",children:t,className:r,theme:n={},...o})=>{const i=F(O().theme.timeline.item.content,n).title;return c.jsx(e,{className:N(i,r),...o,children:t})},Vg=({children:e,className:t,horizontal:r,theme:n={},...o})=>{const i=F(O().theme.timeline,n);return c.jsx(Lg.Provider,{value:{horizontal:r},children:c.jsx("ol",{"data-testid":"timeline-component",className:N(r&&i.root.direction.horizontal,!r&&i.root.direction.vertical,t),...o,children:e})})};Vg.displayName="Timeline";Ag.displayName="Timeline.Item";zg.displayName="Timeline.Point";Dg.displayName="Timeline.Content";Ug.displayName="Timeline.Time";Bg.displayName="Timeline.Title";$g.displayName="Timeline.Body";Object.assign(Vg,{Item:Ag,Point:zg,Content:Dg,Time:Ug,Title:Bg,Body:$g});const Hg=h.createContext(void 0);function xk(){const e=h.useContext(Hg);if(!e)throw new Error("useToastContext should be used within the ToastContext provider!");return e}const Wg=({className:e,onClick:t,theme:r={},xIcon:n=qx,...o})=>{const i=F(O().theme.toast.toggle,r),{duration:a,isClosed:l,isRemoved:s,setIsClosed:u,setIsRemoved:d}=xk(),f=p=>{t&&t(p),u(!l),setTimeout(()=>d(!s),a)};return c.jsx("button",{"aria-label":"Close",onClick:f,type:"button",className:N(i.base,e),...o,children:c.jsx(n,{"aria-hidden":!0,className:i.icon})})},wk={75:"duration-75",100:"duration-100",150:"duration-150",200:"duration-200",300:"duration-300",500:"duration-500",700:"duration-700",1e3:"duration-1000"},Gg=({children:e,className:t,duration:r=300,theme:n={},...o})=>{const[i,a]=h.useState(!1),[l,s]=h.useState(!1),u=F(O().theme.toast,n);return c.jsx(Hg.Provider,{value:{duration:r,isClosed:i,isRemoved:l,setIsClosed:a,setIsRemoved:s},children:c.jsx("div",{"data-testid":"flowbite-toast",className:N(u.root.base,wk[r],{[u.root.closed]:i},{[u.root.removed]:l},t),...o,children:e})})};Gg.displayName="Toast";Wg.displayName="Toast.Toggle";Object.assign(Gg,{Toggle:Wg});const Kg=({code:e})=>e==="USD"?c.jsxs("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("g",{clipPath:"url(#clip0_2_413)",children:c.jsxs("g",{clipPath:"url(#clip1_2_413)",children:[c.jsx("rect",{width:"22",height:"16",rx:"2",fill:"white"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H9.42857V7.46667H0V0Z",fill:"#1A47B8"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42857 0V1.06667H22V0H9.42857ZM9.42857 2.13333V3.2H22V2.13333H9.42857ZM9.42857 4.26667V5.33333H22V4.26667H9.42857ZM9.42857 6.4V7.46667H22V6.4H9.42857ZM0 8.53333V9.6H22V8.53333H0ZM0 10.6667V11.7333H22V10.6667H0ZM0 12.8V13.8667H22V12.8H0ZM0 14.9333V16H22V14.9333H0Z",fill:"#F93939"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.04761 1.06665V2.13332H2.09523V1.06665H1.04761ZM3.14285 1.06665V2.13332H4.19046V1.06665H3.14285ZM5.23808 1.06665V2.13332H6.2857V1.06665H5.23808ZM7.33332 1.06665V2.13332H8.38094V1.06665H7.33332ZM6.2857 2.13332V3.19998H7.33332V2.13332H6.2857ZM4.19046 2.13332V3.19998H5.23808V2.13332H4.19046ZM2.09523 2.13332V3.19998H3.14285V2.13332H2.09523ZM1.04761 3.19998V4.26665H2.09523V3.19998H1.04761ZM3.14285 3.19998V4.26665H4.19046V3.19998H3.14285ZM5.23808 3.19998V4.26665H6.2857V3.19998H5.23808ZM7.33332 3.19998V4.26665H8.38094V3.19998H7.33332ZM1.04761 5.33332V6.39998H2.09523V5.33332H1.04761ZM3.14285 5.33332V6.39998H4.19046V5.33332H3.14285ZM5.23808 5.33332V6.39998H6.2857V5.33332H5.23808ZM7.33332 5.33332V6.39998H8.38094V5.33332H7.33332ZM6.2857 4.26665V5.33332H7.33332V4.26665H6.2857ZM4.19046 4.26665V5.33332H5.23808V4.26665H4.19046ZM2.09523 4.26665V5.33332H3.14285V4.26665H2.09523Z",fill:"white"})]})}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"clip0_2_413",children:c.jsx("rect",{width:"22",height:"16",fill:"white"})}),c.jsx("clipPath",{id:"clip1_2_413",children:c.jsx("rect",{width:"22",height:"16",rx:"2",fill:"white"})})]})]}):e==="PEN"?c.jsxs("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("g",{clipPath:"url(#clip0_2_687)",children:c.jsxs("g",{clipPath:"url(#clip1_2_687)",children:[c.jsx("rect",{width:"22",height:"16",rx:"2",fill:"white"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H7.33333V16H0V0ZM14.6667 0H22V16H14.6667V0Z",fill:"#F93939"})]})}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"clip0_2_687",children:c.jsx("rect",{width:"22",height:"16",fill:"white"})}),c.jsx("clipPath",{id:"clip1_2_687",children:c.jsx("rect",{width:"22",height:"16",rx:"2",fill:"white"})})]})]}):e==="BOB"?c.jsxs("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("g",{clipPath:"url(#clip0_2_1353)",children:c.jsxs("g",{clipPath:"url(#clip1_2_1353)",children:[c.jsx("path",{d:"M19.9048 0H2.09524C0.93807 0 0 0.955126 0 2.13333V13.8667C0 15.0449 0.93807 16 2.09524 16H19.9048C21.0619 16 22 15.0449 22 13.8667V2.13333C22 0.955126 21.0619 0 19.9048 0Z",fill:"#FFDA2C"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42859 7.46667H10.4762V8.53334H9.42859V7.46667ZM11.5238 7.46667H12.5714V8.53334H11.5238V7.46667Z",fill:"#03BCDB"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5715 7.46666H13.6191V9.59999H12.5715V7.46666ZM11.5238 6.39999H12.5715V7.46666H11.5238V6.39999ZM9.4286 6.39999H10.4762V7.46666H9.4286V6.39999ZM8.38098 7.46666H9.4286V9.59999H8.38098V7.46666Z",fill:"#AF010D"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4762 8.53333H11.5238V9.59999H10.4762V8.53333Z",fill:"#249F58"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4762 6.39999H11.5238V7.46666H10.4762V6.39999Z",fill:"#151515"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5238 8.53333H12.5714V9.59999H11.5238V8.53333ZM9.42859 8.53333H10.4762V9.59999H9.42859V8.53333Z",fill:"#D4AF2C"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4762 7.46667H11.5238V8.53334H10.4762V7.46667Z",fill:"#249F58"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10.6667H22V16H0V10.6667Z",fill:"#249F58"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H22V5.33333H0V0Z",fill:"#F93939"})]})}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"clip0_2_1353",children:c.jsx("rect",{width:"22",height:"16",fill:"white"})}),c.jsx("clipPath",{id:"clip1_2_1353",children:c.jsx("rect",{width:"22",height:"16",rx:"2",fill:"white"})})]})]}):c.jsx(c.Fragment,{}),kk=({currency:e})=>c.jsxs(c.Fragment,{children:[c.jsx(Kg,{code:e.code}),c.jsx("h5",{className:"text-md font-regular self-center text-gray-900 dark:text-white",children:e.code})]}),Sk=()=>{const{currencies:e,currencySelected:t,selectCurrency:r,findCurrencies:n}=h.useContext(li);return h.useEffect(()=>{n()},[]),c.jsx(No,{label:c.jsx(Kg,{code:(t==null?void 0:t.code)||"USD"}),color:"dark",title:"Select a currency",children:e.map(o=>c.jsx(No.Item,{className:"flex items-center justify-center gap-2",onClick:()=>r(o),children:c.jsx(kk,{currency:o})},o.code))})};var Ck=[{id:"fa",name:"Font Awesome",projectUrl:"https://fontawesome.com/",license:"CC BY 4.0 License",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"},{id:"io",name:"Ionicons 4",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"io5",name:"Ionicons 5",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"md",name:"Material Design icons",projectUrl:"http://google.github.io/material-design-icons/",license:"Apache License Version 2.0",licenseUrl:"https://github.com/google/material-design-icons/blob/master/LICENSE"},{id:"ti",name:"Typicons",projectUrl:"http://s-ings.com/typicons/",license:"CC BY-SA 3.0",licenseUrl:"https://creativecommons.org/licenses/by-sa/3.0/"},{id:"go",name:"Github Octicons icons",projectUrl:"https://octicons.github.com/",license:"MIT",licenseUrl:"https://github.com/primer/octicons/blob/master/LICENSE"},{id:"fi",name:"Feather",projectUrl:"https://feathericons.com/",license:"MIT",licenseUrl:"https://github.com/feathericons/feather/blob/master/LICENSE"},{id:"gi",name:"Game Icons",projectUrl:"https://game-icons.net/",license:"CC BY 3.0",licenseUrl:"https://creativecommons.org/licenses/by/3.0/"},{id:"wi",name:"Weather Icons",projectUrl:"https://erikflowers.github.io/weather-icons/",license:"SIL OFL 1.1",licenseUrl:"http://scripts.sil.org/OFL"},{id:"di",name:"Devicons",projectUrl:"https://vorillaz.github.io/devicons/",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ai",name:"Ant Design Icons",projectUrl:"https://github.com/ant-design/ant-design-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"bs",name:"Bootstrap Icons",projectUrl:"https://github.com/twbs/icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ri",name:"Remix Icon",projectUrl:"https://github.com/Remix-Design/RemixIcon",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"fc",name:"Flat Color Icons",projectUrl:"https://github.com/icons8/flat-color-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"gr",name:"Grommet-Icons",projectUrl:"https://github.com/grommet/grommet-icons",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"hi",name:"Heroicons",projectUrl:"https://github.com/refactoringui/heroicons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"si",name:"Simple Icons",projectUrl:"https://simpleicons.org/",license:"CC0 1.0 Universal",licenseUrl:"https://creativecommons.org/publicdomain/zero/1.0/"},{id:"im",name:"IcoMoon Free",projectUrl:"https://github.com/Keyamoon/IcoMoon-Free",license:"CC BY 4.0 License"},{id:"bi",name:"BoxIcons",projectUrl:"https://github.com/atisawd/boxicons",license:"CC BY 4.0 License"},{id:"cg",name:"css.gg",projectUrl:"https://github.com/astrit/css.gg",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"vsc",name:"VS Code Icons",projectUrl:"https://github.com/microsoft/vscode-codicons",license:"CC BY 4.0",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"}],Qc={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Tu=ge.createContext&&ge.createContext(Qc),xr=globalThis&&globalThis.__assign||function(){return xr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{const{workSelected:e,works:t,findWorks:r,selectWork:n,unselectWork:o}=h.useContext(un),i=sn();h.useEffect(()=>{r()},[]);const a=h.useCallback(()=>{o(),i("/work/form")},[]),l=h.useCallback(()=>{i("/work/form")},[]);return c.jsxs(Se.Group,{children:[c.jsxs(No,{label:(e==null?void 0:e.title)||"Select a Work",color:"dark",size:"sm",title:"Select a Work Profile",children:[t.map(s=>c.jsx(No.Item,{className:"flex items-center justify-center gap-2",onClick:()=>n(s),children:s.title},s.id)),c.jsxs(No.Item,{className:"flex items-center justify-center gap-2",onClick:a,children:[c.jsx(ju,{}),"Add Work Profile"]},"work-profiles.options.default")]}),c.jsx(Se,{color:"dark",size:"sm",className:"!h-auto",title:"Edit Work",disabled:!e,onClick:l,children:c.jsx(Pk,{})}),c.jsx(Se,{color:"dark",size:"sm",className:"!h-auto",title:"Add Work",onClick:a,children:c.jsx(ju,{})})]})};var Mk=cn.GenIcon,Mi=function(t){return Mk({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}}]})(t)};class Qg{static toCurrency(t,r,n){return Intl.NumberFormat("en-US",{style:"currency",currency:r,maximumFractionDigits:n,minimumFractionDigits:n,currencyDisplay:"narrowSymbol"}).format(t)}static toTimer(t){const r=a=>a.toString().padStart(2,"0"),n=Math.floor(t/1e3)%60,o=Math.floor(t/(1e3*60))%60,i=Math.floor(t/(1e3*60*60));return`${r(i)}:${r(o)}:${r(n)}`}}class bn{static format(t,r){return Qg.toCurrency(t,(r==null?void 0:r.code)||"USD",(r==null?void 0:r.decimals)??2)}}const Ok=()=>{const{currencySelected:e}=h.useContext(li),{workSelected:t}=h.useContext(un),[r,n]=h.useState((t==null?void 0:t.rate)||null);return h.useEffect(()=>{n((t==null?void 0:t.rate)||null)},[t]),!e||!t?null:c.jsx("section",{className:"flex flex-col rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800",children:c.jsxs("div",{className:"flex h-full flex-col justify-center gap-4 p-4",children:[c.jsxs("div",{className:"flex items-baseline gap-1 text-gray-900 dark:text-white",children:[c.jsx("span",{className:"text-2xl font-extrabold tracking-tight",children:bn.format((r==null?void 0:r.perYear)||0,e)}),c.jsx("span",{className:"text-xl font-normal text-gray-500 dark:text-gray-400",children:"/ year"})]}),c.jsxs("ul",{role:"list",className:"space-y-3",children:[c.jsxs("li",{className:"flex space-x-3",children:[c.jsx(Mi,{className:"h-4 w-4 shrink-0 text-blue-600 dark:text-blue-500"}),c.jsxs("span",{className:"text-sm font-normal leading-tight text-gray-500 dark:text-gray-400",children:[bn.format((r==null?void 0:r.perMonth)||0,e),"/ month"]})]}),c.jsxs("li",{className:"flex space-x-3",children:[c.jsx(Mi,{className:"h-4 w-4 shrink-0 text-blue-600 dark:text-blue-500"}),c.jsxs("span",{className:"text-sm font-normal leading-tight text-gray-500 dark:text-gray-400",children:[bn.format((r==null?void 0:r.perWeek)||0,e),"/ week"]})]}),c.jsxs("li",{className:"flex space-x-3",children:[c.jsx(Mi,{className:"h-4 w-4 shrink-0 text-blue-600 dark:text-blue-500"}),c.jsxs("span",{className:"text-sm font-normal leading-tight text-gray-500 dark:text-gray-400",children:[bn.format((r==null?void 0:r.perDay)||0,e),"/ day"]})]}),c.jsxs("li",{className:"flex space-x-3",children:[c.jsx(Mi,{className:"h-4 w-4 shrink-0 text-blue-600 dark:text-blue-500"}),c.jsxs("span",{className:"text-sm font-normal leading-tight text-gray-500 dark:text-gray-400",children:[bn.format((r==null?void 0:r.perHour)||0,e),"/ hour"]})]})]})]})})},ui=h.createContext({tasks:[],tasksTimed:[],taskSelected:null,findTasks:()=>{throw new Error("findTasks() method not implemented.")},selectTask:()=>{throw new Error("selectTask() method not implemented.")},unselectTask:()=>{throw new Error("unselectTask() method not implemented.")},startTask:()=>{throw new Error("startTask() method not implemented.")},stopTask:()=>{throw new Error("stopTask() method not implemented.")},createTask:()=>{throw new Error("createTask() method not implemented.")},updateTask:()=>{throw new Error("updateTask() method not implemented.")},deleteTask:()=>{throw new Error("deleteTask() method not implemented.")}});var Ik=cn.GenIcon,Fk=function(t){return Ik({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M14 0h-12c-1.1 0-2 0.9-2 2v12c0 1.1 0.9 2 2 2h12c1.1 0 2-0.9 2-2v-12c0-1.1-0.9-2-2-2zM7 12.414l-3.707-3.707 1.414-1.414 2.293 2.293 4.793-4.793 1.414 1.414-6.207 6.207z"}}]})(t)},$k=cn.GenIcon,Lk=function(t){return $k({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M14 0h-12c-1.1 0-2 0.9-2 2v12c0 1.1 0.9 2 2 2h12c1.1 0 2-0.9 2-2v-12c0-1.1-0.9-2-2-2zM14 14h-12v-12h12v12z"}}]})(t)},Dk=cn.GenIcon,Ak=function(t){return Dk({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"}}]})(t)},zk=cn.GenIcon,Uk=function(t){return zk({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16v160z"}}]})(t)};class Bk{static toTimer(t){return Qg.toTimer(t*1e3)}}const Vk=({task:e})=>{const{currencySelected:t}=h.useContext(li),{workSelected:r}=h.useContext(un),{updateTask:n,startTask:o,stopTask:i,selectTask:a}=h.useContext(ui),l=sn(),s=h.useCallback(()=>{n({...e,done:!e.done})},[e]),u=h.useCallback(()=>{a(e),l("/task/form")},[e]),d=h.useCallback(()=>{r&&(e.status==="paused"?o(e,r):i(e))},[e]);return c.jsxs("div",{className:"flex items-center gap-2 rounded-lg border border-gray-700 bg-gray-800 p-2",children:[!e.done&&c.jsx(Lk,{className:"cursor-pointer text-gray-300",onClick:s}),e.done&&c.jsx(Fk,{className:"cursor-pointer text-blue-500",onClick:s}),c.jsxs("div",{className:"flex flex-grow cursor-pointer flex-col",onClick:u,children:[c.jsx("div",{className:"text-sm text-white",children:e.description}),c.jsx("div",{className:"text-xs text-gray-400",children:`${Bk.toTimer(e.totalSeconds)} / ${bn.format(e.totalAmount,t)}`})]}),e.status==="paused"&&c.jsx(Ak,{className:"cursor-pointer text-white",onClick:d}),e.status==="running"&&c.jsx(Uk,{className:"cursor-pointer text-white",onClick:d})]},e.id)},Hk=()=>{const{tasks:e}=h.useContext(ui);return c.jsx("div",{className:"flex flex-col gap-2",children:e.map(t=>c.jsx(Vk,{task:t},t.id))})},Wk=()=>{const{workSelected:e}=h.useContext(un),{findTasks:t,unselectTask:r}=h.useContext(ui),n=sn(),o=h.useCallback(()=>{r(),n("/task/form")},[]);return h.useEffect(()=>{t({status:"all",workId:(e==null?void 0:e.id)||""})},[e]),e?c.jsxs("section",{className:"flex flex-col gap-2",children:[c.jsxs(Se.Group,{className:"w-full",children:[c.jsx(Se,{className:"flex-grow",color:"gray",onClick:()=>t({status:"all",workId:e.id}),children:"All Tasks"}),c.jsx(Se,{className:"flex-grow",color:"gray",onClick:()=>t({status:"pending",workId:e.id}),children:"Pending"}),c.jsx(Se,{className:"flex-grow",color:"gray",onClick:()=>t({status:"done",workId:e.id}),children:"Done"})]}),c.jsxs(Se,{color:"dark",size:"sm",title:"Add Task",onClick:o,children:[c.jsx(ju,{}),"Add Task"]}),c.jsx(Hk,{})]}):null},Gk=()=>{const{version:e,author:t,year:r}=h.useContext(um);return c.jsxs(c.Fragment,{children:[c.jsxs("header",{className:"flex items-center justify-between gap-2 p-2",children:[c.jsx(Sk,{}),c.jsx(Rk,{})]}),c.jsxs("main",{className:"flex h-full flex-col gap-2 p-2",children:[c.jsx(Ok,{}),c.jsx(Wk,{})]}),c.jsx("footer",{className:"mt-64 flex items-center justify-center gap-2 bg-gray-900 px-2 py-8 text-white",children:c.jsx(iw,{img:"https://avatars.githubusercontent.com/u/37460957?s=40&v=4",rounded:!0,children:c.jsxs("div",{className:"space-y-1 font-medium dark:text-white",children:[c.jsx("div",{children:t}),c.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400",children:["v",e," - ",r]})]})})})]})};function dn(e){this._maxSize=e,this.clear()}dn.prototype.clear=function(){this._size=0,this._values=Object.create(null)};dn.prototype.get=function(e){return this._values[e]};dn.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var Kk=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Xg=/^\d+$/,Zk=/^\d/,Yk=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,Qk=/^\s*(['"]?)(.*?)(\1)\s*$/,Xc=512,n0=new dn(Xc),o0=new dn(Xc),i0=new dn(Xc),Yr={Cache:dn,split:Nu,normalizePath:ys,setter:function(e){var t=ys(e);return o0.get(e)||o0.set(e,function(n,o){for(var i=0,a=t.length,l=n;ie.match(t2)||[],gl=e=>e[0].toUpperCase()+e.slice(1),Jc=(e,t)=>ml(e).join(t).toLowerCase(),qg=e=>ml(e).reduce((t,r)=>`${t}${t?r[0].toUpperCase()+r.slice(1).toLowerCase():r.toLowerCase()}`,""),r2=e=>gl(qg(e)),n2=e=>Jc(e,"_"),o2=e=>Jc(e,"-"),i2=e=>gl(Jc(e," ")),a2=e=>ml(e).map(gl).join(" ");var vs={words:ml,upperFirst:gl,camelCase:qg,pascalCase:r2,snakeCase:n2,kebabCase:o2,sentenceCase:i2,titleCase:a2},ed={exports:{}};ed.exports=function(e){return Jg(l2(e),e)};ed.exports.array=Jg;function Jg(e,t){var r=e.length,n=new Array(r),o={},i=r,a=s2(t),l=u2(e);for(t.forEach(function(u){if(!l.has(u[0])||!l.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||s(e[i],i,new Set);return n;function s(u,d,f){if(f.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch{p=""}throw new Error("Cyclic dependency"+p)}if(!l.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!o[d]){o[d]=!0;var y=a.get(u)||new Set;if(y=Array.from(y),d=y.length){f.add(u);do{var x=y[--d];s(x,l.get(x),f)}while(d);f.delete(u)}n[--r]=u}}}function l2(e){for(var t=new Set,r=0,n=e.length;r"",g2=/^Symbol\((.*)\)(.*)$/;function y2(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function a0(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const r=typeof e;if(r==="number")return y2(e);if(r==="string")return t?`"${e}"`:e;if(r==="function")return"[Function "+(e.name||"anonymous")+"]";if(r==="symbol")return m2.call(e).replace(g2,"Symbol($1)");const n=f2.call(e).slice(8,-1);return n==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):n==="Error"||e instanceof Error?"["+p2.call(e)+"]":n==="RegExp"?h2.call(e):null}function Un(e,t){let r=a0(e,t);return r!==null?r:JSON.stringify(e,function(n,o){let i=a0(this[n],t);return i!==null?i:o},2)}function ey(e){return e==null?[]:[].concat(e)}let v2=/\$\{\s*(\w+)\s*\}/g,Pt=class _u extends Error{static formatError(t,r){const n=r.label||r.path||"this";return n!==r.path&&(r=Object.assign({},r,{path:n})),typeof t=="string"?t.replace(v2,(o,i)=>Un(r[i])):typeof t=="function"?t(r):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,r,n,o){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=r,this.path=n,this.type=o,this.errors=[],this.inner=[],ey(t).forEach(i=>{_u.isError(i)?(this.errors.push(...i.errors),this.inner=this.inner.concat(i.inner.length?i.inner:i)):this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,_u)}},Dt={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:n})=>{const o=n!=null&&n!==r?` (cast from the value \`${Un(n,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Un(r,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Un(r,!0)}\``+o}},gt={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},er={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Pu={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},b2={isValue:"${path} field must be ${value}"},Ru={noUnknown:"${path} field has unspecified keys: ${unknown}"},x2={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:Dt,string:gt,number:er,date:Pu,object:Ru,array:x2,boolean:b2});const td=e=>e&&e.__isYupSchema__;class $a{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:o,otherwise:i}=r,a=typeof n=="function"?n:(...l)=>l.every(s=>s===n);return new $a(t,(l,s)=>{var u;let d=a(...l)?o:i;return(u=d==null?void 0:d(s))!=null?u:s})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let n=this.refs.map(i=>i.getValue(r==null?void 0:r.value,r==null?void 0:r.parent,r==null?void 0:r.context)),o=this.fn(n,t,r);if(o===void 0||o===t)return t;if(!td(o))throw new TypeError("conditions must return a schema object");return o.resolve(r)}}const Oi={context:"$",value:"."};class fn{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Oi.context,this.isValue=this.key[0]===Oi.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?Oi.context:this.isValue?Oi.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&Yr.getter(this.path,!0),this.map=r.map}getValue(t,r,n){let o=this.isContext?n:this.isValue?t:r;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,r){return this.getValue(t,r==null?void 0:r.parent,r==null?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}fn.prototype.__isYupRef=!0;const Vt=e=>e==null;function vn(e){function t({value:r,path:n="",options:o,originalValue:i,schema:a},l,s){const{name:u,test:d,params:f,message:p,skipAbsent:y}=e;let{parent:x,context:w,abortEarly:k=a.spec.abortEarly}=o;function g(T){return fn.isRef(T)?T.getValue(r,x,w):T}function m(T={}){const C=Object.assign({value:r,originalValue:i,label:a.spec.label,path:T.path||n,spec:a.spec},f,T.params);for(const B of Object.keys(C))C[B]=g(C[B]);const z=new Pt(Pt.formatError(T.message||p,C),r,C.path,T.type||u);return z.params=C,z}const v=k?l:s;let b={path:n,parent:x,type:u,from:o.from,createError:m,resolve:g,options:o,originalValue:i,schema:a};const S=T=>{Pt.isError(T)?v(T):T?s(null):v(m())},j=T=>{Pt.isError(T)?v(T):l(T)},R=y&&Vt(r);if(!o.sync){try{Promise.resolve(R?!0:d.call(b,r,b)).then(S,j)}catch(T){j(T)}return}let M;try{var V;if(M=R?!0:d.call(b,r,b),typeof((V=M)==null?void 0:V.then)=="function")throw new Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(T){j(T);return}S(M)}return t.OPTIONS=e,t}function w2(e,t,r,n=r){let o,i,a;return t?(Yr.forEach(t,(l,s,u)=>{let d=s?l.slice(1,l.length-1):l;e=e.resolve({context:n,parent:o,value:r});let f=e.type==="tuple",p=u?parseInt(d,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(r&&p>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${l}, in the path: ${t}. because there is no value at that index. `);o=r,r=r&&r[p],e=f?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[d])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=r,r=r&&r[d],e=e.fields[d]}i=d,a=s?"["+l+"]":"."+l}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class La extends Set{describe(){const t=[];for(const r of this.values())t.push(fn.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(const n of this.values())r.push(t(n));return r}clone(){return new La(this.values())}merge(t,r){const n=this.clone();return t.forEach(o=>n.add(o)),r.forEach(o=>n.delete(o)),n}}function Mn(e,t=new Map){if(td(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let r;if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n{this.typeError(Dt.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(r=>{r.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=Mn(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let n=t(this);return this._mutate=r,n}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=this,n=t.clone();const o=Object.assign({},r.spec,n.spec);return n.spec=o,n.internalTests=Object.assign({},r.internalTests,n.internalTests),n._whitelist=r._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=r._blacklist.merge(t._blacklist,t._whitelist),n.tests=r.tests,n.exclusiveTests=r.exclusiveTests,n.withMutation(i=>{t.tests.forEach(a=>{i.test(a.OPTIONS)})}),n.transforms=[...r.transforms,...n.transforms],n}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let n=r.conditions;r=r.clone(),r.conditions=[],r=n.reduce((o,i)=>i.resolve(o,t),r),r=r.resolve(t)}return r}resolveOptions(t){var r,n,o;return Object.assign({},t,{from:t.from||[],strict:(r=t.strict)!=null?r:this.spec.strict,abortEarly:(n=t.abortEarly)!=null?n:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive})}cast(t,r={}){let n=this.resolve(Object.assign({value:t},r)),o=r.assert==="ignore-optionality",i=n._cast(t,r);if(r.assert!==!1&&!n.isType(i)){if(o&&Vt(i))return i;let a=Un(t),l=Un(i);throw new TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". + +attempted value: ${a} +`+(l!==a?`result of cast: ${l}`:""))}return i}_cast(t,r){let n=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return n===void 0&&(n=this.getDefault(r)),n}_validate(t,r={},n,o){let{path:i,originalValue:a=t,strict:l=this.spec.strict}=r,s=t;l||(s=this._cast(s,Object.assign({assert:!1},r)));let u=[];for(let d of Object.values(this.internalTests))d&&u.push(d);this.runTests({path:i,value:s,originalValue:a,options:r,tests:u},n,d=>{if(d.length)return o(d,s);this.runTests({path:i,value:s,originalValue:a,options:r,tests:this.tests},n,o)})}runTests(t,r,n){let o=!1,{tests:i,value:a,originalValue:l,path:s,options:u}=t,d=w=>{o||(o=!0,r(w,a))},f=w=>{o||(o=!0,n(w,a))},p=i.length,y=[];if(!p)return f([]);let x={value:a,originalValue:l,path:s,options:u,schema:this};for(let w=0;wthis.resolve(d)._validate(u,d,p,y)}validate(t,r){let n=this.resolve(Object.assign({},r,{value:t}));return new Promise((o,i)=>n._validate(t,r,(a,l)=>{Pt.isError(a)&&(a.value=l),i(a)},(a,l)=>{a.length?i(new Pt(a,l)):o(l)}))}validateSync(t,r){let n=this.resolve(Object.assign({},r,{value:t})),o;return n._validate(t,Object.assign({},r,{sync:!0}),(i,a)=>{throw Pt.isError(i)&&(i.value=a),i},(i,a)=>{if(i.length)throw new Pt(i,t);o=a}),o}isValid(t,r){return this.validate(t,r).then(()=>!0,n=>{if(Pt.isError(n))return!1;throw n})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(n){if(Pt.isError(n))return!1;throw n}}_getDefault(t){let r=this.spec.default;return r==null?r:typeof r=="function"?r.call(this):Mn(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){const n=this.clone({nullable:t});return n.internalTests.nullable=vn({message:r,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),n}optionality(t,r){const n=this.clone({optional:t});return n.internalTests.optionality=vn({message:r,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),n}optional(){return this.optionality(!0)}defined(t=Dt.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Dt.notNull){return this.nullability(!1,t)}required(t=Dt.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(t.length===1?typeof t[0]=="function"?r={test:t[0]}:r=t[0]:t.length===2?r={name:t[0],test:t[1]}:r={name:t[0],message:t[1],test:t[2]},r.message===void 0&&(r.message=Dt.default),typeof r.test!="function")throw new TypeError("`test` is a required parameters");let n=this.clone(),o=vn(r),i=r.exclusive||r.name&&n.exclusiveTests[r.name]===!0;if(r.exclusive&&!r.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(n.exclusiveTests[r.name]=!!r.exclusive),n.tests=n.tests.filter(a=>!(a.OPTIONS.name===r.name&&(i||a.OPTIONS.test===o.OPTIONS.test))),n.tests.push(o),n}when(t,r){!Array.isArray(t)&&typeof t!="string"&&(r=t,t=".");let n=this.clone(),o=ey(t).map(i=>new fn(i));return o.forEach(i=>{i.isSibling&&n.deps.push(i.key)}),n.conditions.push(typeof r=="function"?new $a(o,r):$a.fromOptions(o,r)),n}typeError(t){let r=this.clone();return r.internalTests.typeError=vn({message:t,name:"typeError",skipAbsent:!0,test(n){return this.schema._typeCheck(n)?!0:this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=Dt.oneOf){let n=this.clone();return t.forEach(o=>{n._whitelist.add(o),n._blacklist.delete(o)}),n.internalTests.whiteList=vn({message:r,name:"oneOf",skipAbsent:!0,test(o){let i=this.schema._whitelist,a=i.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:a}})}}),n}notOneOf(t,r=Dt.notOneOf){let n=this.clone();return t.forEach(o=>{n._blacklist.add(o),n._whitelist.delete(o)}),n.internalTests.blacklist=vn({message:r,name:"notOneOf",test(o){let i=this.schema._blacklist,a=i.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(i).join(", "),resolved:a}}):!0}}),n}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){const r=(t?this.resolve(t):this).clone(),{label:n,meta:o,optional:i,nullable:a}=r.spec;return{meta:o,label:n,optional:i,nullable:a,default:r.getDefault(t),type:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.map(s=>({name:s.OPTIONS.name,params:s.OPTIONS.params})).filter((s,u,d)=>d.findIndex(f=>f.name===s.name)===u)}}}Tt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Tt.prototype[`${e}At`]=function(t,r,n={}){const{parent:o,parentPath:i,schema:a}=w2(this,t,r,n.context);return a[e](o&&o[i],Object.assign({},n,{parent:o,path:t}))};for(const e of["equals","is"])Tt.prototype[e]=Tt.prototype.oneOf;for(const e of["not","nope"])Tt.prototype[e]=Tt.prototype.notOneOf;let k2=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,S2=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,C2=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,E2=e=>Vt(e)||e===e.trim(),T2={}.toString();function ct(){return new ty}class ty extends Tt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(!n.spec.coerce||n.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===T2?t:o})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||Dt.required,name:"required",skipAbsent:!0,test:n=>!!n.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(r=>r.OPTIONS.name!=="required"),t))}length(t,r=gt.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r=gt.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r=gt.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}matches(t,r){let n=!1,o,i;return r&&(typeof r=="object"?{excludeEmptyString:n=!1,message:o,name:i}=r:o=r),this.test({name:i||"matches",message:o||gt.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&n||a.search(t)!==-1})}email(t=gt.email){return this.matches(k2,{name:"email",message:t,excludeEmptyString:!0})}url(t=gt.url){return this.matches(S2,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=gt.uuid){return this.matches(C2,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=gt.trim){return this.transform(r=>r!=null?r.trim():r).test({message:t,name:"trim",test:E2})}lowercase(t=gt.lowercase){return this.transform(r=>Vt(r)?r:r.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Vt(r)||r===r.toLowerCase()})}uppercase(t=gt.uppercase){return this.transform(r=>Vt(r)?r:r.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Vt(r)||r===r.toUpperCase()})}}ct.prototype=ty.prototype;let j2=e=>e!=+e;function ir(){return new ry}class ry extends Tt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!j2(t)}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(!n.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return n.isType(o)||o===null?o:parseFloat(o)})})}min(t,r=er.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n>=this.resolve(t)}})}max(t,r=er.max){return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n<=this.resolve(t)}})}lessThan(t,r=er.lessThan){return this.test({message:r,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(n){return nthis.resolve(t)}})}positive(t=er.positive){return this.moreThan(0,t)}negative(t=er.negative){return this.lessThan(0,t)}integer(t=er.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:r=>Number.isInteger(r)})}truncate(){return this.transform(t=>Vt(t)?t:t|0)}round(t){var r;let n=["ceil","floor","round","trunc"];if(t=((r=t)==null?void 0:r.toLowerCase())||"round",t==="trunc")return this.truncate();if(n.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(o=>Vt(o)?o:Math[t](o))}}ir.prototype=ry.prototype;var N2=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function _2(e){var t=[1,4,5,6,7,10,11],r=0,n,o;if(o=N2.exec(e)){for(var i=0,a;a=t[i];++i)o[a]=+o[a]||0;o[2]=(+o[2]||1)-1,o[3]=+o[3]||1,o[7]=o[7]?String(o[7]).substr(0,3):0,(o[8]===void 0||o[8]==="")&&(o[9]===void 0||o[9]==="")?n=+new Date(o[1],o[2],o[3],o[4],o[5],o[6],o[7]):(o[8]!=="Z"&&o[9]!==void 0&&(r=o[10]*60+o[11],o[9]==="+"&&(r=0-r)),n=Date.UTC(o[1],o[2],o[3],o[4],o[5]+r,o[6],o[7]))}else n=Date.parse?Date.parse(e):NaN;return n}let P2=new Date(""),R2=e=>Object.prototype.toString.call(e)==="[object Date]";class yl extends Tt{constructor(){super({type:"date",check(t){return R2(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,r,n)=>!n.spec.coerce||n.isType(t)||t===null?t:(t=_2(t),isNaN(t)?yl.INVALID_DATE:new Date(t)))})}prepareParam(t,r){let n;if(fn.isRef(t))n=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);n=o}return n}min(t,r=Pu.min){let n=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(n)}})}max(t,r=Pu.max){let n=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(n)}})}}yl.INVALID_DATE=P2;yl.prototype;function M2(e,t=[]){let r=[],n=new Set,o=new Set(t.map(([a,l])=>`${a}-${l}`));function i(a,l){let s=Yr.split(a)[0];n.add(s),o.has(`${l}-${s}`)||r.push([l,s])}for(const a of Object.keys(e)){let l=e[a];n.add(a),fn.isRef(l)&&l.isSibling?i(l.path,a):td(l)&&"deps"in l&&l.deps.forEach(s=>i(s,a))}return d2.array(Array.from(n),r).reverse()}function l0(e,t){let r=1/0;return e.some((n,o)=>{var i;if((i=t.path)!=null&&i.includes(n))return r=o,!0}),r}function ny(e){return(t,r)=>l0(e,t)-l0(e,r)}const O2=(e,t,r)=>{if(typeof e!="string")return e;let n=e;try{n=JSON.parse(e)}catch{}return r.isType(n)?n:e};function Xi(e){if("fields"in e){const t={};for(const[r,n]of Object.entries(e.fields))t[r]=Xi(n);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Xi(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Xi)}):"optional"in e?e.optional():e}const I2=(e,t)=>{const r=[...Yr.normalizePath(t)];if(r.length===1)return r[0]in e;let n=r.pop(),o=Yr.getter(Yr.join(r),!0)(e);return!!(o&&n in o)};let s0=e=>Object.prototype.toString.call(e)==="[object Object]";function F2(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(n=>r.indexOf(n)===-1)}const $2=ny([]);function vl(e){return new oy(e)}class oy extends Tt{constructor(t){super({type:"object",check(r){return s0(r)||typeof r=="function"}}),this.fields=Object.create(null),this._sortErrors=$2,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var n;let o=super._cast(t,r);if(o===void 0)return this.getDefault(r);if(!this._typeCheck(o))return o;let i=this.fields,a=(n=r.stripUnknown)!=null?n:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(o).filter(f=>!this._nodes.includes(f))),s={},u=Object.assign({},r,{parent:s,__validating:r.__validating||!1}),d=!1;for(const f of l){let p=i[f],y=f in o;if(p){let x,w=o[f];u.path=(r.path?`${r.path}.`:"")+f,p=p.resolve({value:w,context:r.context,parent:s});let k=p instanceof Tt?p.spec:void 0,g=k==null?void 0:k.strict;if(k!=null&&k.strip){d=d||f in o;continue}x=!r.__validating||!g?p.cast(o[f],u):o[f],x!==void 0&&(s[f]=x)}else y&&!a&&(s[f]=o[f]);(y!==f in s||s[f]!==o[f])&&(d=!0)}return d?s:o}_validate(t,r={},n,o){let{from:i=[],originalValue:a=t,recursive:l=this.spec.recursive}=r;r.from=[{schema:this,value:a},...i],r.__validating=!0,r.originalValue=a,super._validate(t,r,n,(s,u)=>{if(!l||!s0(u)){o(s,u);return}a=a||u;let d=[];for(let f of this._nodes){let p=this.fields[f];!p||fn.isRef(p)||d.push(p.asNestedTest({options:r,key:f,parent:u,parentPath:r.path,originalParent:a}))}this.runTests({tests:d,value:u,originalValue:a,options:r},n,f=>{o(f.sort(this._sortErrors).concat(s),u)})})}clone(t){const r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),n=r.fields;for(let[o,i]of Object.entries(this.fields)){const a=n[o];n[o]=a===void 0?i:a}return r.withMutation(o=>o.setFields(n,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(n=>{var o;const i=this.fields[n];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),r[n]=i&&"getDefault"in i?i.getDefault(a):void 0}),r}setFields(t,r){let n=this.clone();return n.fields=t,n._nodes=M2(t,r),n._sortErrors=ny(Object.keys(t)),r&&(n._excludedEdges=r),n}shape(t,r=[]){return this.clone().withMutation(n=>{let o=n._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),o=[...n._excludedEdges,...r]),n.setFields(Object.assign(n.fields,t),o)})}partial(){const t={};for(const[r,n]of Object.entries(this.fields))t[r]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(t)}deepPartial(){return Xi(this)}pick(t){const r={};for(const n of t)this.fields[n]&&(r[n]=this.fields[n]);return this.setFields(r)}omit(t){const r=Object.assign({},this.fields);for(const n of t)delete r[n];return this.setFields(r)}from(t,r,n){let o=Yr.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return I2(i,t)&&(a=Object.assign({},i),n||delete a[t],a[r]=o(i)),a})}json(){return this.transform(O2)}noUnknown(t=!0,r=Ru.noUnknown){typeof t!="boolean"&&(r=t,t=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:r,test(o){if(o==null)return!0;const i=F2(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return n.spec.noUnknown=t,n}unknown(t=!0,r=Ru.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;const n={};for(const o of Object.keys(r))n[t(o)]=r[o];return n})}camelCase(){return this.transformKeys(vs.camelCase)}snakeCase(){return this.transformKeys(vs.snakeCase)}constantCase(){return this.transformKeys(t=>vs.snakeCase(t).toUpperCase())}describe(t){let r=super.describe(t);r.fields={};for(const[o,i]of Object.entries(this.fields)){var n;let a=t;(n=a)!=null&&n.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[o]})),r.fields[o]=i.describe(a)}return r}}vl.prototype=oy.prototype;var u0=Array.isArray,c0=Object.keys,L2=Object.prototype.hasOwnProperty,D2=typeof Element<"u";function Mu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=u0(e),n=u0(t),o,i,a;if(r&&n){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!Mu(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var l=e instanceof Date,s=t instanceof Date;if(l!=s)return!1;if(l&&s)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var f=c0(e);if(i=f.length,i!==c0(t).length)return!1;for(o=i;o--!==0;)if(!L2.call(t,f[o]))return!1;if(D2&&e instanceof Element&&t instanceof Element)return e===t;for(o=i;o--!==0;)if(a=f[o],!(a==="_owner"&&e.$$typeof)&&!Mu(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var A2=function(t,r){try{return Mu(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const Lr=Va(A2);var z2=function(t){return U2(t)&&!B2(t)};function U2(e){return!!e&&typeof e=="object"}function B2(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||W2(e)}var V2=typeof Symbol=="function"&&Symbol.for,H2=V2?Symbol.for("react.element"):60103;function W2(e){return e.$$typeof===H2}function G2(e){return Array.isArray(e)?[]:{}}function Da(e,t){return t.clone!==!1&&t.isMergeableObject(e)?qo(G2(e),e,t):e}function K2(e,t,r){return e.concat(t).map(function(n){return Da(n,r)})}function Z2(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Da(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Da(t[o],r):n[o]=qo(e[o],t[o],r)}),n}function qo(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||K2,r.isMergeableObject=r.isMergeableObject||z2;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):Z2(e,t,r):Da(t,r)}qo.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return qo(n,o,r)},{})};var Ou=qo,Y2=typeof global=="object"&&global&&global.Object===Object&&global;const iy=Y2;var Q2=typeof self=="object"&&self&&self.Object===Object&&self,X2=iy||Q2||Function("return this")();const Ft=X2;var q2=Ft.Symbol;const Cr=q2;var ay=Object.prototype,J2=ay.hasOwnProperty,e4=ay.toString,co=Cr?Cr.toStringTag:void 0;function t4(e){var t=J2.call(e,co),r=e[co];try{e[co]=void 0;var n=!0}catch{}var o=e4.call(e);return n&&(t?e[co]=r:delete e[co]),o}var r4=Object.prototype,n4=r4.toString;function o4(e){return n4.call(e)}var i4="[object Null]",a4="[object Undefined]",d0=Cr?Cr.toStringTag:void 0;function pn(e){return e==null?e===void 0?a4:i4:d0&&d0 in Object(e)?t4(e):o4(e)}function ly(e,t){return function(r){return e(t(r))}}var l4=ly(Object.getPrototypeOf,Object);const rd=l4;function hn(e){return e!=null&&typeof e=="object"}var s4="[object Object]",u4=Function.prototype,c4=Object.prototype,sy=u4.toString,d4=c4.hasOwnProperty,f4=sy.call(Object);function f0(e){if(!hn(e)||pn(e)!=s4)return!1;var t=rd(e);if(t===null)return!0;var r=d4.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&sy.call(r)==f4}function p4(){this.__data__=[],this.size=0}function uy(e,t){return e===t||e!==e&&t!==t}function bl(e,t){for(var r=e.length;r--;)if(uy(e[r][0],t))return r;return-1}var h4=Array.prototype,m4=h4.splice;function g4(e){var t=this.__data__,r=bl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():m4.call(t,r,1),--this.size,!0}function y4(e){var t=this.__data__,r=bl(t,e);return r<0?void 0:t[r][1]}function v4(e){return bl(this.__data__,e)>-1}function b4(e,t){var r=this.__data__,n=bl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=T3}var j3="[object Arguments]",N3="[object Array]",_3="[object Boolean]",P3="[object Date]",R3="[object Error]",M3="[object Function]",O3="[object Map]",I3="[object Number]",F3="[object Object]",$3="[object RegExp]",L3="[object Set]",D3="[object String]",A3="[object WeakMap]",z3="[object ArrayBuffer]",U3="[object DataView]",B3="[object Float32Array]",V3="[object Float64Array]",H3="[object Int8Array]",W3="[object Int16Array]",G3="[object Int32Array]",K3="[object Uint8Array]",Z3="[object Uint8ClampedArray]",Y3="[object Uint16Array]",Q3="[object Uint32Array]",ie={};ie[B3]=ie[V3]=ie[H3]=ie[W3]=ie[G3]=ie[K3]=ie[Z3]=ie[Y3]=ie[Q3]=!0;ie[j3]=ie[N3]=ie[z3]=ie[_3]=ie[U3]=ie[P3]=ie[R3]=ie[M3]=ie[O3]=ie[I3]=ie[F3]=ie[$3]=ie[L3]=ie[D3]=ie[A3]=!1;function X3(e){return hn(e)&&gy(e.length)&&!!ie[pn(e)]}function nd(e){return function(t){return e(t)}}var yy=typeof Je=="object"&&Je&&!Je.nodeType&&Je,_o=yy&&typeof et=="object"&&et&&!et.nodeType&&et,q3=_o&&_o.exports===yy,xs=q3&&iy.process,J3=function(){try{var e=_o&&_o.require&&_o.require("util").types;return e||xs&&xs.binding&&xs.binding("util")}catch{}}();const Qn=J3;var v0=Qn&&Qn.isTypedArray,e5=v0?nd(v0):X3;const t5=e5;var r5=Object.prototype,n5=r5.hasOwnProperty;function vy(e,t){var r=di(e),n=!r&&y3(e),o=!r&&!n&&my(e),i=!r&&!n&&!o&&t5(e),a=r||n||o||i,l=a?f3(e.length,String):[],s=l.length;for(var u in e)(t||n5.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||E3(u,s)))&&l.push(u);return l}var o5=Object.prototype;function od(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||o5;return e===r}var i5=ly(Object.keys,Object);const a5=i5;var l5=Object.prototype,s5=l5.hasOwnProperty;function u5(e){if(!od(e))return a5(e);var t=[];for(var r in Object(e))s5.call(e,r)&&r!="constructor"&&t.push(r);return t}function by(e){return e!=null&&gy(e.length)&&!cy(e)}function id(e){return by(e)?vy(e):u5(e)}function c5(e,t){return e&&wl(t,id(t),e)}function d5(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var f5=Object.prototype,p5=f5.hasOwnProperty;function h5(e){if(!ci(e))return d5(e);var t=od(e),r=[];for(var n in e)n=="constructor"&&(t||!p5.call(e,n))||r.push(n);return r}function ad(e){return by(e)?vy(e,!0):h5(e)}function m5(e,t){return e&&wl(t,ad(t),e)}var xy=typeof Je=="object"&&Je&&!Je.nodeType&&Je,b0=xy&&typeof et=="object"&&et&&!et.nodeType&&et,g5=b0&&b0.exports===xy,x0=g5?Ft.Buffer:void 0,w0=x0?x0.allocUnsafe:void 0;function y5(e,t){if(t)return e.slice();var r=e.length,n=w0?w0(r):new e.constructor(r);return e.copy(n),n}function wy(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r=0)&&(r[o]=e[o]);return r}var yt=function(t){return typeof t=="function"},Ml=function(t){return t!==null&&typeof t=="object"},bC=function(t){return String(Math.floor(Number(t)))===t},ws=function(t){return Object.prototype.toString.call(t)==="[object String]"},ks=function(t){return Ml(t)&&yt(t.then)};function lt(e,t,r,n){n===void 0&&(n=0);for(var o=Ry(t);e&&n=0?[]:{}}}return(i===0?e:o)[a[i]]===r?e:(r===void 0?delete o[a[i]]:o[a[i]]=r,i===0&&r===void 0&&delete n[a[i]],n)}function Ly(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,i=Object.keys(e);o0?L.map(function(U){return M(U,lt(E,U))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(A).then(function(U){return U.reduce(function(G,q,we){return q==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||q&&(G=Qr(G,L[we],q)),G},{})})},[M]),T=h.useCallback(function(E){return Promise.all([V(E),p.validationSchema?R(E):{},p.validate?j(E):{}]).then(function(L){var A=L[0],U=L[1],G=L[2],q=Ou.all([A,U,G],{arrayMerge:CC});return q})},[p.validate,p.validationSchema,V,j,R]),C=at(function(E){return E===void 0&&(E=b.values),S({type:"SET_ISVALIDATING",payload:!0}),T(E).then(function(L){return g.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:L})),L})});h.useEffect(function(){a&&g.current===!0&&Lr(y.current,p.initialValues)&&C(y.current)},[a,C]);var z=h.useCallback(function(E){var L=E&&E.values?E.values:y.current,A=E&&E.errors?E.errors:x.current?x.current:p.initialErrors||{},U=E&&E.touched?E.touched:w.current?w.current:p.initialTouched||{},G=E&&E.status?E.status:k.current?k.current:p.initialStatus;y.current=L,x.current=A,w.current=U,k.current=G;var q=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!E&&!!E.isSubmitting,errors:A,touched:U,status:G,values:L,isValidating:!!E&&!!E.isValidating,submitCount:E&&E.submitCount&&typeof E.submitCount=="number"?E.submitCount:0}})};if(p.onReset){var we=p.onReset(b.values,bd);ks(we)?we.then(q):q()}else q()},[p.initialErrors,p.initialStatus,p.initialTouched]);h.useEffect(function(){g.current===!0&&!Lr(y.current,p.initialValues)&&(u&&(y.current=p.initialValues,z()),a&&C(y.current))},[u,p.initialValues,z,a,C]),h.useEffect(function(){u&&g.current===!0&&!Lr(x.current,p.initialErrors)&&(x.current=p.initialErrors||Rr,S({type:"SET_ERRORS",payload:p.initialErrors||Rr}))},[u,p.initialErrors]),h.useEffect(function(){u&&g.current===!0&&!Lr(w.current,p.initialTouched)&&(w.current=p.initialTouched||Ii,S({type:"SET_TOUCHED",payload:p.initialTouched||Ii}))},[u,p.initialTouched]),h.useEffect(function(){u&&g.current===!0&&!Lr(k.current,p.initialStatus)&&(k.current=p.initialStatus,S({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var B=at(function(E){if(m.current[E]&&yt(m.current[E].validate)){var L=lt(b.values,E),A=m.current[E].validate(L);return ks(A)?(S({type:"SET_ISVALIDATING",payload:!0}),A.then(function(U){return U}).then(function(U){S({type:"SET_FIELD_ERROR",payload:{field:E,value:U}}),S({type:"SET_ISVALIDATING",payload:!1})})):(S({type:"SET_FIELD_ERROR",payload:{field:E,value:A}}),Promise.resolve(A))}else if(p.validationSchema)return S({type:"SET_ISVALIDATING",payload:!0}),R(b.values,E).then(function(U){return U}).then(function(U){S({type:"SET_FIELD_ERROR",payload:{field:E,value:U[E]}}),S({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),H=h.useCallback(function(E,L){var A=L.validate;m.current[E]={validate:A}},[]),Z=h.useCallback(function(E){delete m.current[E]},[]),X=at(function(E,L){S({type:"SET_TOUCHED",payload:E});var A=L===void 0?o:L;return A?C(b.values):Promise.resolve()}),de=h.useCallback(function(E){S({type:"SET_ERRORS",payload:E})},[]),_=at(function(E,L){var A=yt(E)?E(b.values):E;S({type:"SET_VALUES",payload:A});var U=L===void 0?r:L;return U?C(A):Promise.resolve()}),D=h.useCallback(function(E,L){S({type:"SET_FIELD_ERROR",payload:{field:E,value:L}})},[]),I=at(function(E,L,A){S({type:"SET_FIELD_VALUE",payload:{field:E,value:L}});var U=A===void 0?r:A;return U?C(Qr(b.values,E,L)):Promise.resolve()}),W=h.useCallback(function(E,L){var A=L,U=E,G;if(!ws(E)){E.persist&&E.persist();var q=E.target?E.target:E.currentTarget,we=q.type,$t=q.name,Ll=q.id,Dl=q.value,Gy=q.checked,XC=q.outerHTML,xd=q.options,Ky=q.multiple;A=L||$t||Ll,U=/number|range/.test(we)?(G=parseFloat(Dl),isNaN(G)?"":G):/checkbox/.test(we)?TC(lt(b.values,A),Gy,Dl):xd&&Ky?EC(xd):Dl}A&&I(A,U)},[I,b.values]),Y=at(function(E){if(ws(E))return function(L){return W(L,E)};W(E)}),fe=at(function(E,L,A){L===void 0&&(L=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:E,value:L}});var U=A===void 0?o:A;return U?C(b.values):Promise.resolve()}),xe=h.useCallback(function(E,L){E.persist&&E.persist();var A=E.target,U=A.name,G=A.id,q=A.outerHTML,we=L||U||G;fe(we,!0)},[fe]),Le=at(function(E){if(ws(E))return function(L){return xe(L,E)};xe(E)}),Te=h.useCallback(function(E){yt(E)?S({type:"SET_FORMIK_STATE",payload:E}):S({type:"SET_FORMIK_STATE",payload:function(){return E}})},[]),Pr=h.useCallback(function(E){S({type:"SET_STATUS",payload:E})},[]),vd=h.useCallback(function(E){S({type:"SET_ISSUBMITTING",payload:E})},[]),Fl=at(function(){return S({type:"SUBMIT_ATTEMPT"}),C().then(function(E){var L=E instanceof Error,A=!L&&Object.keys(E).length===0;if(A){var U;try{if(U=Ay(),U===void 0)return}catch(G){throw G}return Promise.resolve(U).then(function(G){return g.current&&S({type:"SUBMIT_SUCCESS"}),G}).catch(function(G){if(g.current)throw S({type:"SUBMIT_FAILURE"}),G})}else if(g.current&&(S({type:"SUBMIT_FAILURE"}),L))throw E})}),Dy=at(function(E){E&&E.preventDefault&&yt(E.preventDefault)&&E.preventDefault(),E&&E.stopPropagation&&yt(E.stopPropagation)&&E.stopPropagation(),Fl().catch(function(L){console.warn("Warning: An unhandled error was caught from submitForm()",L)})}),bd={resetForm:z,validateForm:C,validateField:B,setErrors:de,setFieldError:D,setFieldTouched:fe,setFieldValue:I,setStatus:Pr,setSubmitting:vd,setTouched:X,setValues:_,setFormikState:Te,submitForm:Fl},Ay=at(function(){return d(b.values,bd)}),zy=at(function(E){E&&E.preventDefault&&yt(E.preventDefault)&&E.preventDefault(),E&&E.stopPropagation&&yt(E.stopPropagation)&&E.stopPropagation(),z()}),Uy=h.useCallback(function(E){return{value:lt(b.values,E),error:lt(b.errors,E),touched:!!lt(b.touched,E),initialValue:lt(y.current,E),initialTouched:!!lt(w.current,E),initialError:lt(x.current,E)}},[b.errors,b.touched,b.values]),By=h.useCallback(function(E){return{setValue:function(A,U){return I(E,A,U)},setTouched:function(A,U){return fe(E,A,U)},setError:function(A){return D(E,A)}}},[I,fe,D]),Vy=h.useCallback(function(E){var L=Ml(E),A=L?E.name:E,U=lt(b.values,A),G={name:A,value:U,onChange:Y,onBlur:Le};if(L){var q=E.type,we=E.value,$t=E.as,Ll=E.multiple;q==="checkbox"?we===void 0?G.checked=!!U:(G.checked=!!(Array.isArray(U)&&~U.indexOf(we)),G.value=we):q==="radio"?(G.checked=U===we,G.value=we):$t==="select"&&Ll&&(G.value=G.value||[],G.multiple=!0)}return G},[Le,Y,b.values]),$l=h.useMemo(function(){return!Lr(y.current,b.values)},[y.current,b.values]),Hy=h.useMemo(function(){return typeof l<"u"?$l?b.errors&&Object.keys(b.errors).length===0:l!==!1&&yt(l)?l(p):l:b.errors&&Object.keys(b.errors).length===0},[l,$l,b.errors,p]),Wy=Ne({},b,{initialValues:y.current,initialErrors:x.current,initialTouched:w.current,initialStatus:k.current,handleBlur:Le,handleChange:Y,handleReset:zy,handleSubmit:Dy,resetForm:z,setErrors:de,setFormikState:Te,setFieldTouched:fe,setFieldValue:I,setFieldError:D,setStatus:Pr,setSubmitting:vd,setTouched:X,setValues:_,submitForm:Fl,validateForm:C,validateField:B,isValid:Hy,dirty:$l,unregisterField:Z,registerField:H,getFieldProps:Vy,getFieldMeta:Uy,getFieldHelpers:By,validateOnBlur:o,validateOnChange:r,validateOnMount:a});return Wy}function kC(e){var t={};if(e.inner){if(e.inner.length===0)return Qr(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var i;if(r){if(n>=o.length)break;i=o[n++]}else{if(n=o.next(),n.done)break;i=n.value}var a=i;lt(t,a.path)||(t=Qr(t,a.path,a.message))}}return t}function SC(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var o=Du(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n})}function Du(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||f0(o)?Du(o):o!==""?o:void 0}):f0(e[n])?t[n]=Du(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function CC(e,t,r){var n=e.slice();return t.forEach(function(i,a){if(typeof n[a]>"u"){var l=r.clone!==!1,s=l&&r.isMergeableObject(i);n[a]=s?Ou(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[a]=Ou(e[a],i,r):e.indexOf(i)===-1&&n.push(i)}),n}function EC(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function TC(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,i=-1;if(Array.isArray(e))n=e,i=e.indexOf(r),o=i>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,i).concat(n.slice(i+1)):n}var jC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?h.useLayoutEffect:h.useEffect;function at(e){var t=h.useRef(e);return jC(function(){t.current=e}),h.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o{const{findGeolocation:e,fetchGeolocation:t,saveGeolocation:r}=h.useContext($c),[n,o]=h.useState(!1),i=sn(),a=md({initialValues:e()||{id:"",country:"",state:"",city:"",address:"",latitude:0,longitude:0},validationSchema:_C,onSubmit:u=>{r(u),i("/")}}),l=h.useCallback(()=>{o(!0),t().then(u=>{const d=a.values,f={...d,...u,id:d.id};a.setValues(f),o(!1)})},[]),s=h.useCallback(()=>{i("/")},[]);return h.useEffect(()=>{a.values.id||l()},[]),c.jsxs("form",{className:"flex flex-col gap-4",onSubmit:a.handleSubmit,children:[c.jsx("div",{className:"text-center text-xl font-medium text-white",children:"Geolocation Form"}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"country",value:"Country "+(a.errors.country||""),color:a.errors.country&&a.touched.country?"failure":"default"}),c.jsx(Ve,{id:"country",type:"text",placeholder:"Bolivia",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.country&&a.touched.country?"failure":"default",value:a.values.country,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"state",value:"State "+(a.errors.state||""),color:a.errors.state&&a.touched.state?"failure":"default"}),c.jsx(Ve,{id:"state",type:"text",placeholder:"Santa Cruz",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.state&&a.touched.state?"failure":"default",value:a.values.state,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"city",value:"City "+(a.errors.city||""),color:a.errors.city&&a.touched.city?"failure":"default"}),c.jsx(Ve,{id:"city",type:"text",placeholder:"Santa Cruz de la Sierra",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.city&&a.touched.city?"failure":"default",value:a.values.city,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"address",value:"Address "+(a.errors.address||""),color:a.errors.address&&a.touched.address?"failure":"default"}),c.jsx(Ve,{id:"address",type:"text",placeholder:"Calle Rene Moreno",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.address&&a.touched.address?"failure":"default",value:a.values.address,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"latitude",value:"Latitude "+(a.errors.latitude||""),color:a.errors.latitude&&a.touched.latitude?"failure":"default"}),c.jsx(Ve,{id:"latitude",type:"text",placeholder:"0.000000000",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.latitude&&a.touched.latitude?"failure":"default",value:a.values.latitude,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"longitude",value:"Longitude "+(a.errors.longitude||""),color:a.errors.longitude&&a.touched.longitude?"failure":"default"}),c.jsx(Ve,{id:"longitude",type:"text",placeholder:"0.000000000",required:!0,sizing:"sm",addon:n&&c.jsx($r,{color:"success",size:"sm"}),theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:a.errors.longitude&&a.touched.longitude?"failure":"default",value:a.values.longitude,onChange:a.handleChange,onBlur:a.handleBlur})]}),c.jsx(Se,{className:"flex-grow",type:"submit",children:"Confirm & Save"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"success",onClick:l,children:"Autofill"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"gray",onClick:s,style:{display:a.values.id?"visible":"none"},children:"Cancel"})]})},RC=()=>c.jsx("main",{className:"p-2",children:c.jsx(PC,{})}),MC=vl().shape({title:ct().required("is required"),minSalary:ir().min(0,"must be greater than 0").required("is required"),experience:ct().oneOf(Object.keys(Lc)).required("is required"),marketDemand:ct().oneOf(Object.keys(Dc)).required("is required"),indirectCostsMonthly:ir().min(0,"must be greater than 0").required("is required"),profitMargin:ir().min(0,"must be greater than 0%").max(100,"must be less than 100%").required("is required"),workHoursPerDay:ir().min(1,"must be greater than 1 hour").max(24,"must be less than 24 hours").required("is required"),workDaysPerWeek:ir().min(1,"must be greater than 1 day").max(7,"must be less than 7 days").required("is required")}),OC=()=>{const{currencySelected:e,currencies:t,findCurrencies:r}=h.useContext(li),{workSelected:n,createWork:o,updateWork:i,deleteWork:a,selectWork:l,unselectWork:s}=h.useContext(un),u=sn(),d=md({initialValues:{id:n?n.id:"",title:n?n.title:"",minSalary:n?n.minSalary:0,experience:n?n.experience:"0-1",marketDemand:n?n.marketDemand:"Normal",indirectCostsMonthly:n?n.indirectCostsMonthly:0,profitMargin:n?n.profitMargin:0,workHoursPerDay:n?n.workHoursPerDay:0,workDaysPerWeek:n?n.workDaysPerWeek:0,rate:{perSecond:0,perMinute:0,perHour:0,perDay:0,perWeek:0,perMonth:0,perYear:0},currencyId:e?e.id:"",date:n?n.date:""},validationSchema:MC,onSubmit:y=>{let x=null;n?x=i({...n,...y,id:n.id}):x=o(y),l(x),u("/home")}}),f=h.useCallback(()=>{n&&(a({id:n.id}),s(),u("/home"))},[]),p=h.useCallback(()=>{u("/home")},[]);return h.useEffect(()=>{r()},[]),e?c.jsxs("form",{className:"flex flex-col gap-4",onSubmit:d.handleSubmit,children:[c.jsx("div",{className:"text-center text-xl font-medium text-white",children:"Work Form"}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"currency",value:"Currency "+(d.errors.currencyId||""),color:d.errors.currencyId&&d.touched.currencyId?"failure":"default"}),c.jsxs(Qi,{id:"currency",required:!0,color:d.errors.currencyId&&d.touched.currencyId?"failure":"default",theme:{field:{select:{base:"bg-gray-800 text-white w-full"}}},sizing:"sm",placeholder:"BOB - Boliviano",value:d.values.currencyId,onChange:d.handleChange,onBlur:d.handleBlur,children:[c.jsx("option",{value:""}),t.map(y=>c.jsx("option",{value:y.id,label:y.code+" - "+y.name},y.id))]})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"title",value:"Title "+(d.errors.title||""),color:d.errors.title&&d.touched.title?"failure":"default"}),c.jsx(Ve,{id:"title",type:"text",placeholder:"InStrategy Inc.",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.title&&d.touched.title?"failure":"default",value:d.values.title,onChange:d.handleChange,onBlur:d.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"minSalary",value:"Minimum Salary "+(d.errors.minSalary||""),color:d.errors.minSalary&&d.touched.minSalary?"failure":"default"}),c.jsx(Ve,{id:"minSalary",type:"number",placeholder:"2250",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.minSalary&&d.touched.minSalary?"failure":"default",value:d.values.minSalary,onChange:d.handleChange,onBlur:d.handleBlur})]}),c.jsxs("div",{className:"flex gap-2",children:[c.jsxs("div",{className:"flex flex-grow flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"experience",value:"Experience (years) "+(d.errors.experience||""),color:d.errors.experience&&d.touched.experience?"failure":"default"}),c.jsxs(Qi,{id:"experience",required:!0,color:d.errors.experience&&d.touched.experience?"failure":"default",theme:{field:{select:{base:"bg-gray-800 text-white w-full"}}},sizing:"sm",placeholder:"4-5",value:d.values.experience,onChange:d.handleChange,onBlur:d.handleBlur,children:[c.jsx("option",{value:""}),Object.entries(Lc).map(([y])=>c.jsx("option",{value:y,label:y},y))]})]}),c.jsxs("div",{className:"flex flex-grow flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"marketDemand",value:"Market Demand "+(d.errors.marketDemand||""),color:d.errors.marketDemand&&d.touched.marketDemand?"failure":"default"}),c.jsxs(Qi,{id:"marketDemand",required:!0,color:d.errors.marketDemand&&d.touched.marketDemand?"failure":"default",theme:{field:{select:{base:"bg-gray-800 text-white w-full"}}},sizing:"sm",placeholder:"Normal",value:d.values.marketDemand,onChange:d.handleChange,onBlur:d.handleBlur,children:[c.jsx("option",{value:""}),Object.entries(Dc).map(([y])=>c.jsx("option",{value:y,label:y},y))]})]})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"indirectCostsMonthly",value:"Indirect Costs (Monthly) "+(d.errors.indirectCostsMonthly||""),color:d.errors.indirectCostsMonthly&&d.touched.indirectCostsMonthly?"failure":"default"}),c.jsx(Ve,{id:"indirectCostsMonthly",type:"number",placeholder:"1300",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.indirectCostsMonthly&&d.touched.indirectCostsMonthly?"failure":"default",value:d.values.indirectCostsMonthly,onChange:d.handleChange,onBlur:d.handleBlur})]}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"profitMargin",value:"Profit Margin (0 - 100%) "+(d.errors.profitMargin||""),color:d.errors.profitMargin&&d.touched.profitMargin?"failure":"default"}),c.jsx(Ve,{id:"profitMargin",type:"number",placeholder:"0",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.profitMargin&&d.touched.profitMargin?"failure":"default",value:d.values.profitMargin,onChange:d.handleChange,onBlur:d.handleBlur})]}),c.jsxs("div",{className:"flex gap-2",children:[c.jsxs("div",{className:"flex flex-grow flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"workHoursPerDay",value:"Work Hours (Daily) "+(d.errors.workHoursPerDay||""),color:d.errors.workHoursPerDay&&d.touched.workHoursPerDay?"failure":"default"}),c.jsx(Ve,{id:"workHoursPerDay",type:"number",placeholder:"8",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.workHoursPerDay&&d.touched.workHoursPerDay?"failure":"default",value:d.values.workHoursPerDay,onChange:d.handleChange,onBlur:d.handleBlur})]}),c.jsxs("div",{className:"flex flex-grow flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"workDaysPerWeek",value:"Work Days (Weekly) "+(d.errors.workDaysPerWeek||""),color:d.errors.workDaysPerWeek&&d.touched.workDaysPerWeek?"failure":"default"}),c.jsx(Ve,{id:"workDaysPerWeek",type:"number",placeholder:"5",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},color:d.errors.workDaysPerWeek&&d.touched.workDaysPerWeek?"failure":"default",value:d.values.workDaysPerWeek,onChange:d.handleChange,onBlur:d.handleBlur})]})]}),c.jsx(Se,{className:"flex-grow",type:"submit",children:"Save"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"gray",onClick:p,children:"Cancel"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"failure",onClick:f,style:{display:d.values.id?"visible":"none"},children:"Delete"})]}):null},IC=()=>c.jsx("main",{className:"p-2",children:c.jsx(OC,{})}),FC=vl().shape({id:ct(),description:ct().required("is required"),workId:ct()}),$C=()=>{const{workSelected:e}=h.useContext(un),{taskSelected:t,createTask:r,updateTask:n,deleteTask:o,unselectTask:i}=h.useContext(ui),a=sn(),l=md({initialValues:{id:t?t.id:"",description:t?t.description:"",totalAmount:t?t.totalAmount:0,totalSeconds:t?t.totalSeconds:0,done:t?t.done:!1,status:t?t.status:"paused",workId:e?e.id:""},validationSchema:FC,onSubmit:d=>{d.id?n(d):r(d),a("/home"),i()}}),s=h.useCallback(()=>{t&&(o({id:t.id}),a("/home"),i())},[]),u=h.useCallback(()=>{a("/home"),i()},[]);return c.jsxs("form",{className:"flex flex-col gap-4",onSubmit:l.handleSubmit,children:[c.jsx("div",{className:"text-center text-xl font-medium text-white",children:"Task Form"}),c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx(Ie,{htmlFor:"description",value:"Description "+(l.errors.description||""),color:l.errors.description&&l.touched.description?"failure":"default"}),c.jsx(Ve,{id:"description",type:"text",placeholder:"Save the world ...",className:"flex-grow",required:!0,sizing:"sm",theme:{field:{input:{base:"bg-gray-800 text-white w-full"}}},value:l.values.description,onChange:l.handleChange,onBlur:l.handleBlur})]}),c.jsx(Se,{className:"flex-grow",type:"submit",children:"Save"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"gray",onClick:u,children:"Cancel"}),c.jsx(Se,{className:"flex-grow",type:"button",color:"failure",onClick:s,style:{display:l.values.id?"visible":"none"},children:"Delete"})]})},LC=()=>c.jsx("main",{className:"p-2",children:c.jsx($C,{})}),DC=()=>c.jsxs(ux,{children:[c.jsx(Ir,{path:"/",element:c.jsx(lm,{to:"/home",replace:!0})}),c.jsx(Ir,{path:"/home",element:c.jsx(fs,{children:c.jsx(Gk,{})})}),c.jsx(Ir,{path:"/work/form",element:c.jsx(fs,{children:c.jsx(IC,{})})}),c.jsx(Ir,{path:"/task/form",element:c.jsx(fs,{children:c.jsx(LC,{})})}),c.jsx(Ir,{path:"/geolocation/form",element:c.jsx(RC,{})}),c.jsx(Ir,{path:"*",element:c.jsx(Wx,{})})]}),Il=ul.getCollection("Tasks");class AC{static execute(t){return Il.findAll().filter(n=>t.status==="all"||t.status==="done"&&n.done||t.status==="pending"&&!n.done)}}class Ar extends Error{constructor(t){super(t),this.name="ValidationError"}}class gd{static toTask(t){return{id:t.id,description:t.description,totalSeconds:t.totalSeconds??0,totalAmount:t.totalAmount??0,done:t.done||!1,status:t.status||"paused",workId:t.workId}}}class Aa{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Aa,"eventName","task/created");class zC{static execute(t){if(!t.description)throw new Ar("Task description is required");if(t.totalAmount<0)throw new Ar("Task total amount must be greater than 0");if(t.totalSeconds<0)throw new Ar("Task total seconds must be greater than 0");if(t.done!==!0&&t.done!==!1)throw new Ar("Task done must be true or false");if(t.status!=="paused"&&t.status!=="running")throw new Ar("Task status must be paused or running");if(!t.workId)throw new Ar("Task must be related to a work");return!0}}class UC{static execute(t){try{const r=gd.toTask(t);zC.execute(r);const n=Il.create(r);return Aa.publish({task:n}),n}catch(r){return r instanceof Ar&&console.error(r),null}}}class za{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(za,"eventName","task/updated");class BC{static execute(t){const r=gd.toTask(t),n=Il.update(r);return za.publish({task:n}),n}}class Ua{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Ua,"eventName","task/deleted");class VC{static execute(t){const r=gd.toTask(t),n=Il.delete(r);return Ua.publish({task:n}),n}}class HC{constructor(t,r){te(this,"intervalId");te(this,"onTick",()=>{throw new Error("onTick() Method not implemented.")});this.task=t,this.work=r}setTickHandler(t){this.onTick=t}start(){this.task.status="running",this.onTick(this.task),this.intervalId=window.setInterval(()=>{this.task.totalSeconds+=1,this.task.totalAmount+=this.work.rate.perSecond,this.onTick(this.task)},1e3)}stop(){window.clearInterval(this.intervalId),this.task.status="paused",this.onTick(this.task)}}class Ba{static publish(t){Nr.save({name:this.eventName,detail:t}),document.dispatchEvent(new CustomEvent(this.eventName,{detail:t}))}static subscribe(t){document.addEventListener(this.eventName,t)}static unsubscribe(t){document.removeEventListener(this.eventName,t)}}te(Ba,"eventName","task/timed");const zr=class{static start(t,r){zr.timers[t.id]=new HC(t,r),zr.timers[t.id].setTickHandler(n=>{Ba.publish({task:n})}),zr.timers[t.id].start()}static stop(t){zr.timers[t.id].stop(),delete zr.timers[t.id]}};let Po=zr;te(Po,"timers",{});class Ye{}te(Ye,"findTasks",AC.execute),te(Ye,"createTask",UC.execute),te(Ye,"updateTask",BC.execute),te(Ye,"deleteTask",VC.execute),te(Ye,"startTask",Po.start),te(Ye,"stopTask",Po.stop);const WC=(e,t)=>(Qt.save(t),t.type==="task/selected"?{...e,taskSelected:t.payload}:t.type==="task/unselected"?{...e,taskSelected:null}:t.type==="task/started"?{...e,taskStarted:t.payload,tasksTimed:[...e.tasksTimed,t.payload]}:t.type==="task/stopped"?{...e,taskStopped:t.payload,tasksTimed:e.tasksTimed.filter(r=>r.id!==t.payload.id)}:e),GC={tasksTimed:[],taskSelected:null,taskStarted:null,taskStopped:null},KC=e=>{const t=Qt.value(),r=t.get("task/selected")||null,n=t.get("task/started")||null,o=t.get("task/stopped")||null;return{...e,taskSelected:r,taskStarted:n,taskStopped:o}},ZC=({children:e})=>{const[{tasksTimed:t,taskSelected:r},n]=h.useReducer(WC,GC,KC),[o,i]=h.useState([]),a=h.useCallback(x=>{const w=Ye.findTasks(x);return i(w),w},[]),l=h.useCallback(x=>{n({type:"task/selected",payload:x})},[]),s=h.useCallback(()=>{n({type:"task/unselected",payload:null})},[]),u=h.useCallback((x,w)=>{Ye.startTask(x,w),n({type:"task/started",payload:x})},[]),d=h.useCallback(x=>{Ye.stopTask(x),n({type:"task/stopped",payload:x})},[]),f=h.useCallback(x=>Ye.createTask(x),[]),p=h.useCallback(x=>Ye.updateTask(x),[]),y=h.useCallback(x=>Ye.deleteTask(x),[]);return h.useEffect(()=>{const x=m=>{const{task:v}=m.detail;i(b=>[...b,v])},w=m=>{const{task:v}=m.detail;i(b=>b.map(S=>S.id===v.id?v:S))},k=m=>{const{task:v}=m.detail;i(b=>b.filter(S=>S.id!==v.id))},g=m=>{const{task:v}=m.detail,b=Ye.updateTask(v);i(S=>S.map(j=>j.id===b.id?b:j))};return Aa.subscribe(x),za.subscribe(w),Ua.subscribe(k),Ba.subscribe(g),()=>{Aa.unsubscribe(x),za.unsubscribe(w),Ua.unsubscribe(k),Ba.unsubscribe(g)}},[]),c.jsx(ui.Provider,{value:{tasks:o,tasksTimed:t,taskSelected:r,selectTask:l,unselectTask:s,startTask:u,stopTask:d,findTasks:a,createTask:f,updateTask:p,deleteTask:y},children:e})},YC=()=>c.jsx(cm,{children:c.jsx(_x,{children:c.jsx(Fx,{children:c.jsx(Hx,{children:c.jsx(ZC,{children:c.jsx(cx,{children:c.jsx(DC,{})})})})})})});Ss.createRoot(document.getElementById("root")).render(c.jsx(cm,{children:c.jsx(YC,{})}))});export default QC(); diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..c6a2a4d --- /dev/null +++ b/docs/index.html @@ -0,0 +1,15 @@ + + + + + + + Work Tracker + + + + +
+ + + diff --git a/vite.config.ts b/vite.config.ts index 0302bb0..64e9ee1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,9 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [react()], + build: { + outDir: 'docs', + }, resolve: { alias: [ {