tybotflow-widget 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -10250,7 +10250,7 @@ function aM() {
10250
10250
  return e(), Xd.exports = rM(), Xd.exports;
10251
10251
  }
10252
10252
  var iM = aM();
10253
- const oM = /* @__PURE__ */ Ga(iM), sM = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-0{left:-0px}.-left-1{left:-.25rem}.-top-0{top:-0px}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-14{bottom:3.5rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[10px\\]{bottom:10px}.left-0{left:0}.left-1{left:.25rem}.left-12{left:3rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-12{right:3rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.\\!z-\\[100000000\\]{z-index:100000000!important}.\\!z-\\[10000000\\]{z-index:10000000!important}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.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-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-1{width:.25rem;height:.25rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-\\[72px\\]{width:72px;height:72px}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-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-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))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.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}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-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-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))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-white\\/80{background-color:#fffc}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.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-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:bottom-3{bottom:.75rem}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-2{width:.5rem;height:.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-5{width:1.25rem;height:1.25rem}.sm\\:size-7{width:1.75rem;height:1.75rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:size-9{width:2.25rem;height:2.25rem}.sm\\:min-h-12{min-height:3rem}.sm\\:flex-row{flex-direction:row}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:pt-4{padding-top:1rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';
10253
+ const oM = /* @__PURE__ */ Ga(iM), sM = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-0{left:-0px}.-left-1{left:-.25rem}.-top-0{top:-0px}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-14{bottom:3.5rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[10px\\]{bottom:10px}.left-0{left:0}.left-1{left:.25rem}.left-12{left:3rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-12{right:3rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.\\!z-\\[100000000\\]{z-index:100000000!important}.\\!z-\\[10000000\\]{z-index:10000000!important}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.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-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-1{width:.25rem;height:.25rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-\\[67px\\]{width:67px;height:67px}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-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-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))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.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}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-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-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))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-white\\/80{background-color:#fffc}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.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-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:bottom-3{bottom:.75rem}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-2{width:.5rem;height:.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-5{width:1.25rem;height:1.25rem}.sm\\:size-7{width:1.75rem;height:1.75rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:size-9{width:2.25rem;height:2.25rem}.sm\\:min-h-12{min-height:3rem}.sm\\:flex-row{flex-direction:row}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:pt-4{padding-top:1rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';
10254
10254
  var me = hu();
10255
10255
  const ur = /* @__PURE__ */ Ga(me);
10256
10256
  function X1(e, t) {
@@ -48338,6 +48338,7 @@ const Y1 = "https://api.tybotflow.com/api/v1", CW = "https://api.tybotflow.com/a
48338
48338
  }
48339
48339
  }, Ns = async (D, de) => {
48340
48340
  const { data: fe } = await St.post(e?.API_URL || CW, {
48341
+ type: "text",
48341
48342
  messageText: D,
48342
48343
  botId: de,
48343
48344
  conversation_id: Qn,
@@ -50052,7 +50053,7 @@ const Y1 = "https://api.tybotflow.com/api/v1", CW = "https://api.tybotflow.com/a
50052
50053
  onClick: () => {
50053
50054
  xt((D) => !D), qn.current = !Ve, Ve || Ka();
50054
50055
  },
50055
- className: `${Ve ? "hidden" : "fixed"} rounded-full size-[72px] ${le === "bottom-right" ? "bottom-14 right-12" : le === "bottom-left" ? "bottom-14 left-12" : ""} p-1 shadow-lg transform`,
50056
+ className: `${Ve ? "hidden" : "fixed"} rounded-full size-[67px] ${le === "bottom-right" ? "bottom-14 right-12" : le === "bottom-left" ? "bottom-14 left-12" : ""} p-1 shadow-lg transform`,
50056
50057
  style: {
50057
50058
  transform: Ve ? `translateX(-${be}px)` : "translateX(0)",
50058
50059
  transition: "transform 0.3s cubic-bezier(0.4,0,0.2,1)",
package/dist/index.umd.js CHANGED
@@ -46,7 +46,7 @@
46
46
  `+P[c].replace(" at new "," at ");return r.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",r.displayName)),ae}while(1<=c&&0<=h);break}}}finally{Do=!1,Error.prepareStackTrace=s}return(s=r?r.displayName||r.name:"")?Xr(s):""}function La(r){switch(r.tag){case 26:case 27:case 5:return Xr(r.type);case 16:return Xr("Lazy");case 13:return Xr("Suspense");case 19:return Xr("SuspenseList");case 0:case 15:return Lo(r.type,!1);case 11:return Lo(r.type.render,!1);case 1:return Lo(r.type,!0);case 31:return Xr("Activity");default:return""}}function Pl(r){try{var i="";do i+=La(r),r=r.return;while(r);return i}catch(s){return`
47
47
  Error generating stack: `+s.message+`
48
48
  `+s.stack}}function dn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Mo(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Fb(r){var i=Mo(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),c=""+r[i];if(!r.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,b=s.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(T){c=""+T,b.call(this,T)}}),Object.defineProperty(r,i,{enumerable:s.enumerable}),{getValue:function(){return c},setValue:function(T){c=""+T},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function D(r){r._valueTracker||(r._valueTracker=Fb(r))}function de(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return r&&(c=Mo(r)?r.checked?"true":"false":r.value),r=c,r!==s?(i.setValue(r),!0):!1}function fe(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Re=/[\n"\\]/g;function Ye(r){return r.replace(Re,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function lr(r,i,s,c,h,b,T,k){r.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?r.type=T:r.removeAttribute("type"),i!=null?T==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+dn(i)):r.value!==""+dn(i)&&(r.value=""+dn(i)):T!=="submit"&&T!=="reset"||r.removeAttribute("value"),i!=null?pn(r,T,dn(i)):s!=null?pn(r,T,dn(s)):c!=null&&r.removeAttribute("value"),h==null&&b!=null&&(r.defaultChecked=!!b),h!=null&&(r.checked=h&&typeof h!="function"&&typeof h!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?r.name=""+dn(k):r.removeAttribute("name")}function yr(r,i,s,c,h,b,T,k){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(r.type=b),i!=null||s!=null){if(!(b!=="submit"&&b!=="reset"||i!=null))return;s=s!=null?""+dn(s):"",i=i!=null?""+dn(i):s,k||i===r.value||(r.value=i),r.defaultValue=i}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=k?r.checked:!!c,r.defaultChecked=!!c,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(r.name=T)}function pn(r,i,s){i==="number"&&fe(r.ownerDocument)===r||r.defaultValue===""+s||(r.defaultValue=""+s)}function Er(r,i,s,c){if(r=r.options,i){i={};for(var h=0;h<s.length;h++)i["$"+s[h]]=!0;for(s=0;s<r.length;s++)h=i.hasOwnProperty("$"+r[s].value),r[s].selected!==h&&(r[s].selected=h),h&&c&&(r[s].defaultSelected=!0)}else{for(s=""+dn(s),i=null,h=0;h<r.length;h++){if(r[h].value===s){r[h].selected=!0,c&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Kr(r,i,s){if(i!=null&&(i=""+dn(i),i!==r.value&&(r.value=i),s==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=s!=null?""+dn(s):""}function y1(r,i,s,c){if(i==null){if(c!=null){if(s!=null)throw Error(a(92));if(re(c)){if(1<c.length)throw Error(a(93));c=c[0]}s=c}s==null&&(s=""),i=s}s=dn(i),r.defaultValue=s,c=r.textContent,c===s&&c!==""&&c!==null&&(r.value=c)}function fi(r,i){if(i){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=i;return}}r.textContent=i}var z5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function E1(r,i,s){var c=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,s):typeof s!="number"||s===0||z5.has(i)?i==="float"?r.cssFloat=s:r[i]=(""+s).trim():r[i]=s+"px"}function v1(r,i,s){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,s!=null){for(var c in s)!s.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var h in i)c=i[h],i.hasOwnProperty(h)&&s[h]!==c&&E1(r,h,c)}else for(var b in i)i.hasOwnProperty(b)&&E1(r,b,i[b])}function Bb(r){if(r.indexOf("-")===-1)return!1;switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var q5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),j5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function zl(r){return j5.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var Ub=null;function Pb(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var gi=null,hi=null;function S1(r){var i=Yr(r);if(i&&(r=i.stateNode)){var s=r[Zt]||null;e:switch(r=i.stateNode,i.type){case"input":if(lr(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Ye(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var c=s[i];if(c!==r&&c.form===r.form){var h=c[Zt]||null;if(!h)throw Error(a(90));lr(c,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(i=0;i<s.length;i++)c=s[i],c.form===r.form&&de(c)}break e;case"textarea":Kr(r,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&Er(r,!!s.multiple,i,!1)}}}var zb=!1;function A1(r,i,s){if(zb)return r(i,s);zb=!0;try{var c=r(i);return c}finally{if(zb=!1,(gi!==null||hi!==null)&&(Tu(),gi&&(i=gi,r=hi,hi=gi=null,S1(i),r)))for(i=0;i<r.length;i++)S1(r[i])}}function Fo(r,i){var s=r.stateNode;if(s===null)return null;var c=s[Zt]||null;if(c===null)return null;s=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(a(231,i,typeof s));return s}var vr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qb=!1;if(vr)try{var Bo={};Object.defineProperty(Bo,"passive",{get:function(){qb=!0}}),window.addEventListener("test",Bo,Bo),window.removeEventListener("test",Bo,Bo)}catch{qb=!1}var Qr=null,jb=null,ql=null;function w1(){if(ql)return ql;var r,i=jb,s=i.length,c,h="value"in Qr?Qr.value:Qr.textContent,b=h.length;for(r=0;r<s&&i[r]===h[r];r++);var T=s-r;for(c=1;c<=T&&i[s-c]===h[b-c];c++);return ql=h.slice(r,1<c?1-c:void 0)}function jl(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function Hl(){return!0}function T1(){return!1}function fn(r){function i(s,c,h,b,T){this._reactName=s,this._targetInst=h,this.type=c,this.nativeEvent=b,this.target=T,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(s=r[k],this[k]=s?s(b):b[k]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Hl:T1,this.isPropagationStopped=T1,this}return g(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Hl)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Hl)},persist:function(){},isPersistent:Hl}),i}var Ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gl=fn(Ma),Uo=g({},Ma,{view:0,detail:0}),H5=fn(Uo),Hb,Gb,Po,_l=g({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vb,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Po&&(Po&&r.type==="mousemove"?(Hb=r.screenX-Po.screenX,Gb=r.screenY-Po.screenY):Gb=Hb=0,Po=r),Hb)},movementY:function(r){return"movementY"in r?r.movementY:Gb}}),R1=fn(_l),G5=g({},_l,{dataTransfer:0}),_5=fn(G5),V5=g({},Uo,{relatedTarget:0}),_b=fn(V5),Y5=g({},Ma,{animationName:0,elapsedTime:0,pseudoElement:0}),W5=fn(Y5),X5=g({},Ma,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),K5=fn(X5),Q5=g({},Ma,{data:0}),x1=fn(Q5),Z5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},J5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e6(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=$5[r])?!!i[r]:!1}function Vb(){return e6}var t6=g({},Uo,{key:function(r){if(r.key){var i=Z5[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=jl(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?J5[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vb,charCode:function(r){return r.type==="keypress"?jl(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?jl(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),n6=fn(t6),r6=g({},_l,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),N1=fn(r6),a6=g({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vb}),i6=fn(a6),o6=g({},Ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),s6=fn(o6),l6=g({},_l,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),u6=fn(l6),c6=g({},Ma,{newState:0,oldState:0}),d6=fn(c6),p6=[9,13,27,32],Yb=vr&&"CompositionEvent"in window,zo=null;vr&&"documentMode"in document&&(zo=document.documentMode);var f6=vr&&"TextEvent"in window&&!zo,C1=vr&&(!Yb||zo&&8<zo&&11>=zo),k1=" ",O1=!1;function I1(r,i){switch(r){case"keyup":return p6.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function D1(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var mi=!1;function g6(r,i){switch(r){case"compositionend":return D1(i);case"keypress":return i.which!==32?null:(O1=!0,k1);case"textInput":return r=i.data,r===k1&&O1?null:r;default:return null}}function h6(r,i){if(mi)return r==="compositionend"||!Yb&&I1(r,i)?(r=w1(),ql=jb=Qr=null,mi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return C1&&i.locale!=="ko"?null:i.data;default:return null}}var m6={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function L1(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!m6[r.type]:i==="textarea"}function M1(r,i,s,c){gi?hi?hi.push(c):hi=[c]:gi=c,i=Ou(i,"onChange"),0<i.length&&(s=new Gl("onChange","change",null,s,c),r.push({event:s,listeners:i}))}var qo=null,jo=null;function b6(r){gI(r,0)}function Vl(r){var i=Da(r);if(de(i))return r}function F1(r,i){if(r==="change")return i}var B1=!1;if(vr){var Wb;if(vr){var Xb="oninput"in document;if(!Xb){var U1=document.createElement("div");U1.setAttribute("oninput","return;"),Xb=typeof U1.oninput=="function"}Wb=Xb}else Wb=!1;B1=Wb&&(!document.documentMode||9<document.documentMode)}function P1(){qo&&(qo.detachEvent("onpropertychange",z1),jo=qo=null)}function z1(r){if(r.propertyName==="value"&&Vl(jo)){var i=[];M1(i,jo,r,Pb(r)),A1(b6,i)}}function y6(r,i,s){r==="focusin"?(P1(),qo=i,jo=s,qo.attachEvent("onpropertychange",z1)):r==="focusout"&&P1()}function E6(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Vl(jo)}function v6(r,i){if(r==="click")return Vl(i)}function S6(r,i){if(r==="input"||r==="change")return Vl(i)}function A6(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var vn=typeof Object.is=="function"?Object.is:A6;function Ho(r,i){if(vn(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var s=Object.keys(r),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var h=s[c];if(!Nt.call(i,h)||!vn(r[h],i[h]))return!1}return!0}function q1(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function j1(r,i){var s=q1(r);r=0;for(var c;s;){if(s.nodeType===3){if(c=r+s.textContent.length,r<=i&&c>=i)return{node:s,offset:i-r};r=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=q1(s)}}function H1(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?H1(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function G1(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=fe(r.document);i instanceof r.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)r=i.contentWindow;else break;i=fe(r.document)}return i}function Kb(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var w6=vr&&"documentMode"in document&&11>=document.documentMode,bi=null,Qb=null,Go=null,Zb=!1;function _1(r,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Zb||bi==null||bi!==fe(c)||(c=bi,"selectionStart"in c&&Kb(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Go&&Ho(Go,c)||(Go=c,c=Ou(Qb,"onSelect"),0<c.length&&(i=new Gl("onSelect","select",null,i,s),r.push({event:i,listeners:c}),i.target=bi)))}function Fa(r,i){var s={};return s[r.toLowerCase()]=i.toLowerCase(),s["Webkit"+r]="webkit"+i,s["Moz"+r]="moz"+i,s}var yi={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionrun:Fa("Transition","TransitionRun"),transitionstart:Fa("Transition","TransitionStart"),transitioncancel:Fa("Transition","TransitionCancel"),transitionend:Fa("Transition","TransitionEnd")},Jb={},V1={};vr&&(V1=document.createElement("div").style,"AnimationEvent"in window||(delete yi.animationend.animation,delete yi.animationiteration.animation,delete yi.animationstart.animation),"TransitionEvent"in window||delete yi.transitionend.transition);function Ba(r){if(Jb[r])return Jb[r];if(!yi[r])return r;var i=yi[r],s;for(s in i)if(i.hasOwnProperty(s)&&s in V1)return Jb[r]=i[s];return r}var Y1=Ba("animationend"),W1=Ba("animationiteration"),X1=Ba("animationstart"),T6=Ba("transitionrun"),R6=Ba("transitionstart"),x6=Ba("transitioncancel"),K1=Ba("transitionend"),Q1=new Map,$b="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");$b.push("scrollEnd");function Wn(r,i){Q1.set(r,i),cn(i,[r])}var Z1=new WeakMap;function On(r,i){if(typeof r=="object"&&r!==null){var s=Z1.get(r);return s!==void 0?s:(i={value:r,source:i,stack:Pl(i)},Z1.set(r,i),i)}return{value:r,source:i,stack:Pl(i)}}var In=[],Ei=0,ey=0;function Yl(){for(var r=Ei,i=ey=Ei=0;i<r;){var s=In[i];In[i++]=null;var c=In[i];In[i++]=null;var h=In[i];In[i++]=null;var b=In[i];if(In[i++]=null,c!==null&&h!==null){var T=c.pending;T===null?h.next=h:(h.next=T.next,T.next=h),c.pending=h}b!==0&&J1(s,h,b)}}function Wl(r,i,s,c){In[Ei++]=r,In[Ei++]=i,In[Ei++]=s,In[Ei++]=c,ey|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function ty(r,i,s,c){return Wl(r,i,s,c),Xl(r)}function vi(r,i){return Wl(r,null,null,i),Xl(r)}function J1(r,i,s){r.lanes|=s;var c=r.alternate;c!==null&&(c.lanes|=s);for(var h=!1,b=r.return;b!==null;)b.childLanes|=s,c=b.alternate,c!==null&&(c.childLanes|=s),b.tag===22&&(r=b.stateNode,r===null||r._visibility&1||(h=!0)),r=b,b=b.return;return r.tag===3?(b=r.stateNode,h&&i!==null&&(h=31-Ee(s),r=b.hiddenUpdates,c=r[h],c===null?r[h]=[i]:c.push(i),i.lane=s|536870912),b):null}function Xl(r){if(50<gs)throw gs=0,sE=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var Si={};function N6(r,i,s,c){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Sn(r,i,s,c){return new N6(r,i,s,c)}function ny(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Sr(r,i){var s=r.alternate;return s===null?(s=Sn(r.tag,i,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=i,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&65011712,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,i=r.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s.refCleanup=r.refCleanup,s}function $1(r,i){r.flags&=65011714;var s=r.alternate;return s===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=s.childLanes,r.lanes=s.lanes,r.child=s.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=s.memoizedProps,r.memoizedState=s.memoizedState,r.updateQueue=s.updateQueue,r.type=s.type,i=s.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Kl(r,i,s,c,h,b){var T=0;if(c=r,typeof r=="function")ny(r)&&(T=1);else if(typeof r=="string")T=k9(r,s,le.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case z:return r=Sn(31,s,i,h),r.elementType=z,r.lanes=b,r;case v:return Ua(s.children,h,b,i);case A:T=8,h|=24;break;case w:return r=Sn(12,s,i,h|2),r.elementType=w,r.lanes=b,r;case O:return r=Sn(13,s,i,h),r.elementType=O,r.lanes=b,r;case x:return r=Sn(19,s,i,h),r.elementType=x,r.lanes=b,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case R:case C:T=10;break e;case N:T=9;break e;case M:T=11;break e;case L:T=14;break e;case U:T=16,c=null;break e}T=29,s=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=Sn(T,s,i,h),i.elementType=r,i.type=c,i.lanes=b,i}function Ua(r,i,s,c){return r=Sn(7,r,c,i),r.lanes=s,r}function ry(r,i,s){return r=Sn(6,r,null,i),r.lanes=s,r}function ay(r,i,s){return i=Sn(4,r.children!==null?r.children:[],r.key,i),i.lanes=s,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var Ai=[],wi=0,Ql=null,Zl=0,Dn=[],Ln=0,Pa=null,Ar=1,wr="";function za(r,i){Ai[wi++]=Zl,Ai[wi++]=Ql,Ql=r,Zl=i}function ek(r,i,s){Dn[Ln++]=Ar,Dn[Ln++]=wr,Dn[Ln++]=Pa,Pa=r;var c=Ar;r=wr;var h=32-Ee(c)-1;c&=~(1<<h),s+=1;var b=32-Ee(i)+h;if(30<b){var T=h-h%5;b=(c&(1<<T)-1).toString(32),c>>=T,h-=T,Ar=1<<32-Ee(i)+h|s<<h|c,wr=b+r}else Ar=1<<b|s<<h|c,wr=r}function iy(r){r.return!==null&&(za(r,1),ek(r,1,0))}function oy(r){for(;r===Ql;)Ql=Ai[--wi],Ai[wi]=null,Zl=Ai[--wi],Ai[wi]=null;for(;r===Pa;)Pa=Dn[--Ln],Dn[Ln]=null,wr=Dn[--Ln],Dn[Ln]=null,Ar=Dn[--Ln],Dn[Ln]=null}var rn=null,vt=null,Ze=!1,qa=null,ur=!1,sy=Error(a(519));function ja(r){var i=Error(a(418,""));throw Yo(On(i,r)),sy}function tk(r){var i=r.stateNode,s=r.type,c=r.memoizedProps;switch(i[wt]=r,i[Zt]=c,s){case"dialog":_e("cancel",i),_e("close",i);break;case"iframe":case"object":case"embed":_e("load",i);break;case"video":case"audio":for(s=0;s<ms.length;s++)_e(ms[s],i);break;case"source":_e("error",i);break;case"img":case"image":case"link":_e("error",i),_e("load",i);break;case"details":_e("toggle",i);break;case"input":_e("invalid",i),yr(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),D(i);break;case"select":_e("invalid",i);break;case"textarea":_e("invalid",i),y1(i,c.value,c.defaultValue,c.children),D(i)}s=c.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||c.suppressHydrationWarning===!0||yI(i.textContent,s)?(c.popover!=null&&(_e("beforetoggle",i),_e("toggle",i)),c.onScroll!=null&&_e("scroll",i),c.onScrollEnd!=null&&_e("scrollend",i),c.onClick!=null&&(i.onclick=Iu),i=!0):i=!1,i||ja(r)}function nk(r){for(rn=r.return;rn;)switch(rn.tag){case 5:case 13:ur=!1;return;case 27:case 3:ur=!0;return;default:rn=rn.return}}function _o(r){if(r!==rn)return!1;if(!Ze)return nk(r),Ze=!0,!1;var i=r.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=r.type,s=!(s!=="form"&&s!=="button")||wE(r.type,r.memoizedProps)),s=!s),s&&vt&&ja(r),nk(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8)if(s=r.data,s==="/$"){if(i===0){vt=Kn(r.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++;r=r.nextSibling}vt=null}}else i===27?(i=vt,pa(r.type)?(r=NE,NE=null,vt=r):vt=i):vt=rn?Kn(r.stateNode.nextSibling):null;return!0}function Vo(){vt=rn=null,Ze=!1}function rk(){var r=qa;return r!==null&&(mn===null?mn=r:mn.push.apply(mn,r),qa=null),r}function Yo(r){qa===null?qa=[r]:qa.push(r)}var ly=j(null),Ha=null,Tr=null;function Zr(r,i,s){I(ly,i._currentValue),i._currentValue=s}function Rr(r){r._currentValue=ly.current,$(ly)}function uy(r,i,s){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===s)break;r=r.return}}function cy(r,i,s,c){var h=r.child;for(h!==null&&(h.return=r);h!==null;){var b=h.dependencies;if(b!==null){var T=h.child;b=b.firstContext;e:for(;b!==null;){var k=b;b=h;for(var P=0;P<i.length;P++)if(k.context===i[P]){b.lanes|=s,k=b.alternate,k!==null&&(k.lanes|=s),uy(b.return,s,r),c||(T=null);break e}b=k.next}}else if(h.tag===18){if(T=h.return,T===null)throw Error(a(341));T.lanes|=s,b=T.alternate,b!==null&&(b.lanes|=s),uy(T,s,r),T=null}else T=h.child;if(T!==null)T.return=h;else for(T=h;T!==null;){if(T===r){T=null;break}if(h=T.sibling,h!==null){h.return=T.return,T=h;break}T=T.return}h=T}}function Wo(r,i,s,c){r=null;for(var h=i,b=!1;h!==null;){if(!b){if((h.flags&524288)!==0)b=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var T=h.alternate;if(T===null)throw Error(a(387));if(T=T.memoizedProps,T!==null){var k=h.type;vn(h.pendingProps.value,T.value)||(r!==null?r.push(k):r=[k])}}else if(h===Se.current){if(T=h.alternate,T===null)throw Error(a(387));T.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(r!==null?r.push(As):r=[As])}h=h.return}r!==null&&cy(i,r,s,c),i.flags|=262144}function Jl(r){for(r=r.firstContext;r!==null;){if(!vn(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Ga(r){Ha=r,Tr=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Jt(r){return ak(Ha,r)}function $l(r,i){return Ha===null&&Ga(r),ak(r,i)}function ak(r,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Tr===null){if(r===null)throw Error(a(308));Tr=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Tr=Tr.next=i;return s}var C6=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(s,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(s){return s()})}},k6=e.unstable_scheduleCallback,O6=e.unstable_NormalPriority,Bt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function dy(){return{controller:new C6,data:new Map,refCount:0}}function Xo(r){r.refCount--,r.refCount===0&&k6(O6,function(){r.controller.abort()})}var Ko=null,py=0,Ti=0,Ri=null;function I6(r,i){if(Ko===null){var s=Ko=[];py=0,Ti=gE(),Ri={status:"pending",value:void 0,then:function(c){s.push(c)}}}return py++,i.then(ik,ik),i}function ik(){if(--py===0&&Ko!==null){Ri!==null&&(Ri.status="fulfilled");var r=Ko;Ko=null,Ti=0,Ri=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function D6(r,i){var s=[],c={status:"pending",value:null,reason:null,then:function(h){s.push(h)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var h=0;h<s.length;h++)(0,s[h])(i)},function(h){for(c.status="rejected",c.reason=h,h=0;h<s.length;h++)(0,s[h])(void 0)}),c}var ok=q.S;q.S=function(r,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&I6(r,i),ok!==null&&ok(r,i)};var _a=j(null);function fy(){var r=_a.current;return r!==null?r:ft.pooledCache}function eu(r,i){i===null?I(_a,_a.current):I(_a,i.pool)}function sk(){var r=fy();return r===null?null:{parent:Bt._currentValue,pool:r}}var Qo=Error(a(460)),lk=Error(a(474)),tu=Error(a(542)),gy={then:function(){}};function uk(r){return r=r.status,r==="fulfilled"||r==="rejected"}function nu(){}function ck(r,i,s){switch(s=r[s],s===void 0?r.push(i):s!==i&&(i.then(nu,nu),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,pk(r),r;default:if(typeof i.status=="string")i.then(nu,nu);else{if(r=ft,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var h=i;h.status="fulfilled",h.value=c}},function(c){if(i.status==="pending"){var h=i;h.status="rejected",h.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,pk(r),r}throw Zo=i,Qo}}var Zo=null;function dk(){if(Zo===null)throw Error(a(459));var r=Zo;return Zo=null,r}function pk(r){if(r===Qo||r===tu)throw Error(a(483))}var Jr=!1;function hy(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function my(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function $r(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function ea(r,i,s){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(et&2)!==0){var h=c.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),c.pending=i,i=Xl(r),J1(r,null,s),i}return Wl(r,c,i,s),Xl(r)}function Jo(r,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,s|=c,i.lanes=s,rr(r,s)}}function by(r,i){var s=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var h=null,b=null;if(s=s.firstBaseUpdate,s!==null){do{var T={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};b===null?h=b=T:b=b.next=T,s=s.next}while(s!==null);b===null?h=b=i:b=b.next=i}else h=b=i;s={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:b,shared:c.shared,callbacks:c.callbacks},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=i:r.next=i,s.lastBaseUpdate=i}var yy=!1;function $o(){if(yy){var r=Ri;if(r!==null)throw r}}function es(r,i,s,c){yy=!1;var h=r.updateQueue;Jr=!1;var b=h.firstBaseUpdate,T=h.lastBaseUpdate,k=h.shared.pending;if(k!==null){h.shared.pending=null;var P=k,X=P.next;P.next=null,T===null?b=X:T.next=X,T=P;var ae=r.alternate;ae!==null&&(ae=ae.updateQueue,k=ae.lastBaseUpdate,k!==T&&(k===null?ae.firstBaseUpdate=X:k.next=X,ae.lastBaseUpdate=P))}if(b!==null){var ue=h.baseState;T=0,ae=X=P=null,k=b;do{var Q=k.lane&-536870913,Z=Q!==k.lane;if(Z?(Xe&Q)===Q:(c&Q)===Q){Q!==0&&Q===Ti&&(yy=!0),ae!==null&&(ae=ae.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{var ke=r,xe=k;Q=i;var ot=s;switch(xe.tag){case 1:if(ke=xe.payload,typeof ke=="function"){ue=ke.call(ot,ue,Q);break e}ue=ke;break e;case 3:ke.flags=ke.flags&-65537|128;case 0:if(ke=xe.payload,Q=typeof ke=="function"?ke.call(ot,ue,Q):ke,Q==null)break e;ue=g({},ue,Q);break e;case 2:Jr=!0}}Q=k.callback,Q!==null&&(r.flags|=64,Z&&(r.flags|=8192),Z=h.callbacks,Z===null?h.callbacks=[Q]:Z.push(Q))}else Z={lane:Q,tag:k.tag,payload:k.payload,callback:k.callback,next:null},ae===null?(X=ae=Z,P=ue):ae=ae.next=Z,T|=Q;if(k=k.next,k===null){if(k=h.shared.pending,k===null)break;Z=k,k=Z.next,Z.next=null,h.lastBaseUpdate=Z,h.shared.pending=null}}while(!0);ae===null&&(P=ue),h.baseState=P,h.firstBaseUpdate=X,h.lastBaseUpdate=ae,b===null&&(h.shared.lanes=0),la|=T,r.lanes=T,r.memoizedState=ue}}function fk(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function gk(r,i){var s=r.callbacks;if(s!==null)for(r.callbacks=null,r=0;r<s.length;r++)fk(s[r],i)}var xi=j(null),ru=j(0);function hk(r,i){r=Dr,I(ru,r),I(xi,i),Dr=r|i.baseLanes}function Ey(){I(ru,Dr),I(xi,xi.current)}function vy(){Dr=ru.current,$(xi),$(ru)}var ta=0,qe=null,at=null,Ot=null,au=!1,Ni=!1,Va=!1,iu=0,ts=0,Ci=null,L6=0;function Tt(){throw Error(a(321))}function Sy(r,i){if(i===null)return!1;for(var s=0;s<i.length&&s<r.length;s++)if(!vn(r[s],i[s]))return!1;return!0}function Ay(r,i,s,c,h,b){return ta=b,qe=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,q.H=r===null||r.memoizedState===null?Jk:$k,Va=!1,b=s(c,h),Va=!1,Ni&&(b=bk(i,s,c,h)),mk(r),b}function mk(r){q.H=du;var i=at!==null&&at.next!==null;if(ta=0,Ot=at=qe=null,au=!1,ts=0,Ci=null,i)throw Error(a(300));r===null||Pt||(r=r.dependencies,r!==null&&Jl(r)&&(Pt=!0))}function bk(r,i,s,c){qe=r;var h=0;do{if(Ni&&(Ci=null),ts=0,Ni=!1,25<=h)throw Error(a(301));if(h+=1,Ot=at=null,r.updateQueue!=null){var b=r.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}q.H=q6,b=i(s,c)}while(Ni);return b}function M6(){var r=q.H,i=r.useState()[0];return i=typeof i.then=="function"?ns(i):i,r=r.useState()[0],(at!==null?at.memoizedState:null)!==r&&(qe.flags|=1024),i}function wy(){var r=iu!==0;return iu=0,r}function Ty(r,i,s){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~s}function Ry(r){if(au){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}au=!1}ta=0,Ot=at=qe=null,Ni=!1,ts=iu=0,Ci=null}function gn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ot===null?qe.memoizedState=Ot=r:Ot=Ot.next=r,Ot}function It(){if(at===null){var r=qe.alternate;r=r!==null?r.memoizedState:null}else r=at.next;var i=Ot===null?qe.memoizedState:Ot.next;if(i!==null)Ot=i,at=r;else{if(r===null)throw qe.alternate===null?Error(a(467)):Error(a(310));at=r,r={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},Ot===null?qe.memoizedState=Ot=r:Ot=Ot.next=r}return Ot}function xy(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ns(r){var i=ts;return ts+=1,Ci===null&&(Ci=[]),r=ck(Ci,r,i),i=qe,(Ot===null?i.memoizedState:Ot.next)===null&&(i=i.alternate,q.H=i===null||i.memoizedState===null?Jk:$k),r}function ou(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return ns(r);if(r.$$typeof===C)return Jt(r)}throw Error(a(438,String(r)))}function Ny(r){var i=null,s=qe.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var c=qe.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(h){return h.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=xy(),qe.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(r),c=0;c<r;c++)s[c]=B;return i.index++,s}function xr(r,i){return typeof i=="function"?i(r):i}function su(r){var i=It();return Cy(i,at,r)}function Cy(r,i,s){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=s;var h=r.baseQueue,b=c.pending;if(b!==null){if(h!==null){var T=h.next;h.next=b.next,b.next=T}i.baseQueue=h=b,c.pending=null}if(b=r.baseState,h===null)r.memoizedState=b;else{i=h.next;var k=T=null,P=null,X=i,ae=!1;do{var ue=X.lane&-536870913;if(ue!==X.lane?(Xe&ue)===ue:(ta&ue)===ue){var Q=X.revertLane;if(Q===0)P!==null&&(P=P.next={lane:0,revertLane:0,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),ue===Ti&&(ae=!0);else if((ta&Q)===Q){X=X.next,Q===Ti&&(ae=!0);continue}else ue={lane:0,revertLane:X.revertLane,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(k=P=ue,T=b):P=P.next=ue,qe.lanes|=Q,la|=Q;ue=X.action,Va&&s(b,ue),b=X.hasEagerState?X.eagerState:s(b,ue)}else Q={lane:ue,revertLane:X.revertLane,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(k=P=Q,T=b):P=P.next=Q,qe.lanes|=ue,la|=ue;X=X.next}while(X!==null&&X!==i);if(P===null?T=b:P.next=k,!vn(b,r.memoizedState)&&(Pt=!0,ae&&(s=Ri,s!==null)))throw s;r.memoizedState=b,r.baseState=T,r.baseQueue=P,c.lastRenderedState=b}return h===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function ky(r){var i=It(),s=i.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=r;var c=s.dispatch,h=s.pending,b=i.memoizedState;if(h!==null){s.pending=null;var T=h=h.next;do b=r(b,T.action),T=T.next;while(T!==h);vn(b,i.memoizedState)||(Pt=!0),i.memoizedState=b,i.baseQueue===null&&(i.baseState=b),s.lastRenderedState=b}return[b,c]}function yk(r,i,s){var c=qe,h=It(),b=Ze;if(b){if(s===void 0)throw Error(a(407));s=s()}else s=i();var T=!vn((at||h).memoizedState,s);T&&(h.memoizedState=s,Pt=!0),h=h.queue;var k=Sk.bind(null,c,h,r);if(rs(2048,8,k,[r]),h.getSnapshot!==i||T||Ot!==null&&Ot.memoizedState.tag&1){if(c.flags|=2048,ki(9,lu(),vk.bind(null,c,h,s,i),null),ft===null)throw Error(a(349));b||(ta&124)!==0||Ek(c,i,s)}return s}function Ek(r,i,s){r.flags|=16384,r={getSnapshot:i,value:s},i=qe.updateQueue,i===null?(i=xy(),qe.updateQueue=i,i.stores=[r]):(s=i.stores,s===null?i.stores=[r]:s.push(r))}function vk(r,i,s,c){i.value=s,i.getSnapshot=c,Ak(i)&&wk(r)}function Sk(r,i,s){return s(function(){Ak(i)&&wk(r)})}function Ak(r){var i=r.getSnapshot;r=r.value;try{var s=i();return!vn(r,s)}catch{return!0}}function wk(r){var i=vi(r,2);i!==null&&xn(i,r,2)}function Oy(r){var i=gn();if(typeof r=="function"){var s=r;if(r=s(),Va){ge(!0);try{s()}finally{ge(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xr,lastRenderedState:r},i}function Tk(r,i,s,c){return r.baseState=s,Cy(r,at,typeof c=="function"?c:xr)}function F6(r,i,s,c,h){if(cu(r))throw Error(a(485));if(r=i.action,r!==null){var b={payload:h,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(T){b.listeners.push(T)}};q.T!==null?s(!0):b.isTransition=!1,c(b),s=i.pending,s===null?(b.next=i.pending=b,Rk(i,b)):(b.next=s.next,i.pending=s.next=b)}}function Rk(r,i){var s=i.action,c=i.payload,h=r.state;if(i.isTransition){var b=q.T,T={};q.T=T;try{var k=s(h,c),P=q.S;P!==null&&P(T,k),xk(r,i,k)}catch(X){Iy(r,i,X)}finally{q.T=b}}else try{b=s(h,c),xk(r,i,b)}catch(X){Iy(r,i,X)}}function xk(r,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(c){Nk(r,i,c)},function(c){return Iy(r,i,c)}):Nk(r,i,s)}function Nk(r,i,s){i.status="fulfilled",i.value=s,Ck(i),r.state=s,i=r.pending,i!==null&&(s=i.next,s===i?r.pending=null:(s=s.next,i.next=s,Rk(r,s)))}function Iy(r,i,s){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=s,Ck(i),i=i.next;while(i!==c)}r.action=null}function Ck(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function kk(r,i){return i}function Ok(r,i){if(Ze){var s=ft.formState;if(s!==null){e:{var c=qe;if(Ze){if(vt){t:{for(var h=vt,b=ur;h.nodeType!==8;){if(!b){h=null;break t}if(h=Kn(h.nextSibling),h===null){h=null;break t}}b=h.data,h=b==="F!"||b==="F"?h:null}if(h){vt=Kn(h.nextSibling),c=h.data==="F!";break e}}ja(c)}c=!1}c&&(i=s[0])}}return s=gn(),s.memoizedState=s.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kk,lastRenderedState:i},s.queue=c,s=Kk.bind(null,qe,c),c.dispatch=s,c=Oy(!1),b=By.bind(null,qe,!1,c.queue),c=gn(),h={state:i,dispatch:null,action:r,pending:null},c.queue=h,s=F6.bind(null,qe,h,b,s),h.dispatch=s,c.memoizedState=r,[i,s,!1]}function Ik(r){var i=It();return Dk(i,at,r)}function Dk(r,i,s){if(i=Cy(r,i,kk)[0],r=su(xr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=ns(i)}catch(T){throw T===Qo?tu:T}else c=i;i=It();var h=i.queue,b=h.dispatch;return s!==i.memoizedState&&(qe.flags|=2048,ki(9,lu(),B6.bind(null,h,s),null)),[c,b,r]}function B6(r,i){r.action=i}function Lk(r){var i=It(),s=at;if(s!==null)return Dk(i,s,r);It(),i=i.memoizedState,s=It();var c=s.queue.dispatch;return s.memoizedState=r,[i,c,!1]}function ki(r,i,s,c){return r={tag:r,create:s,deps:c,inst:i,next:null},i=qe.updateQueue,i===null&&(i=xy(),qe.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=r.next=r:(c=s.next,s.next=r,r.next=c,i.lastEffect=r),r}function lu(){return{destroy:void 0,resource:void 0}}function Mk(){return It().memoizedState}function uu(r,i,s,c){var h=gn();c=c===void 0?null:c,qe.flags|=r,h.memoizedState=ki(1|i,lu(),s,c)}function rs(r,i,s,c){var h=It();c=c===void 0?null:c;var b=h.memoizedState.inst;at!==null&&c!==null&&Sy(c,at.memoizedState.deps)?h.memoizedState=ki(i,b,s,c):(qe.flags|=r,h.memoizedState=ki(1|i,b,s,c))}function Fk(r,i){uu(8390656,8,r,i)}function Bk(r,i){rs(2048,8,r,i)}function Uk(r,i){return rs(4,2,r,i)}function Pk(r,i){return rs(4,4,r,i)}function zk(r,i){if(typeof i=="function"){r=r();var s=i(r);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function qk(r,i,s){s=s!=null?s.concat([r]):null,rs(4,4,zk.bind(null,i,r),s)}function Dy(){}function jk(r,i){var s=It();i=i===void 0?null:i;var c=s.memoizedState;return i!==null&&Sy(i,c[1])?c[0]:(s.memoizedState=[r,i],r)}function Hk(r,i){var s=It();i=i===void 0?null:i;var c=s.memoizedState;if(i!==null&&Sy(i,c[1]))return c[0];if(c=r(),Va){ge(!0);try{r()}finally{ge(!1)}}return s.memoizedState=[c,i],c}function Ly(r,i,s){return s===void 0||(ta&1073741824)!==0?r.memoizedState=i:(r.memoizedState=s,r=VO(),qe.lanes|=r,la|=r,s)}function Gk(r,i,s,c){return vn(s,i)?s:xi.current!==null?(r=Ly(r,s,c),vn(r,i)||(Pt=!0),r):(ta&42)===0?(Pt=!0,r.memoizedState=s):(r=VO(),qe.lanes|=r,la|=r,i)}function _k(r,i,s,c,h){var b=K.p;K.p=b!==0&&8>b?b:8;var T=q.T,k={};q.T=k,By(r,!1,i,s);try{var P=h(),X=q.S;if(X!==null&&X(k,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ae=D6(P,c);as(r,i,ae,Rn(r))}else as(r,i,c,Rn(r))}catch(ue){as(r,i,{then:function(){},status:"rejected",reason:ue},Rn())}finally{K.p=b,q.T=T}}function U6(){}function My(r,i,s,c){if(r.tag!==5)throw Error(a(476));var h=Vk(r).queue;_k(r,h,i,Y,s===null?U6:function(){return Yk(r),s(c)})}function Vk(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xr,lastRenderedState:Y},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xr,lastRenderedState:s},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function Yk(r){var i=Vk(r).next.queue;as(r,i,{},Rn())}function Fy(){return Jt(As)}function Wk(){return It().memoizedState}function Xk(){return It().memoizedState}function P6(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var s=Rn();r=$r(s);var c=ea(i,r,s);c!==null&&(xn(c,i,s),Jo(c,i,s)),i={cache:dy()},r.payload=i;return}i=i.return}}function z6(r,i,s){var c=Rn();s={lane:c,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},cu(r)?Qk(i,s):(s=ty(r,i,s,c),s!==null&&(xn(s,r,c),Zk(s,i,c)))}function Kk(r,i,s){var c=Rn();as(r,i,s,c)}function as(r,i,s,c){var h={lane:c,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(cu(r))Qk(i,h);else{var b=r.alternate;if(r.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var T=i.lastRenderedState,k=b(T,s);if(h.hasEagerState=!0,h.eagerState=k,vn(k,T))return Wl(r,i,h,0),ft===null&&Yl(),!1}catch{}finally{}if(s=ty(r,i,h,c),s!==null)return xn(s,r,c),Zk(s,i,c),!0}return!1}function By(r,i,s,c){if(c={lane:2,revertLane:gE(),action:c,hasEagerState:!1,eagerState:null,next:null},cu(r)){if(i)throw Error(a(479))}else i=ty(r,s,c,2),i!==null&&xn(i,r,2)}function cu(r){var i=r.alternate;return r===qe||i!==null&&i===qe}function Qk(r,i){Ni=au=!0;var s=r.pending;s===null?i.next=i:(i.next=s.next,s.next=i),r.pending=i}function Zk(r,i,s){if((s&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,s|=c,i.lanes=s,rr(r,s)}}var du={readContext:Jt,use:ou,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useLayoutEffect:Tt,useInsertionEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useSyncExternalStore:Tt,useId:Tt,useHostTransitionStatus:Tt,useFormState:Tt,useActionState:Tt,useOptimistic:Tt,useMemoCache:Tt,useCacheRefresh:Tt},Jk={readContext:Jt,use:ou,useCallback:function(r,i){return gn().memoizedState=[r,i===void 0?null:i],r},useContext:Jt,useEffect:Fk,useImperativeHandle:function(r,i,s){s=s!=null?s.concat([r]):null,uu(4194308,4,zk.bind(null,i,r),s)},useLayoutEffect:function(r,i){return uu(4194308,4,r,i)},useInsertionEffect:function(r,i){uu(4,2,r,i)},useMemo:function(r,i){var s=gn();i=i===void 0?null:i;var c=r();if(Va){ge(!0);try{r()}finally{ge(!1)}}return s.memoizedState=[c,i],c},useReducer:function(r,i,s){var c=gn();if(s!==void 0){var h=s(i);if(Va){ge(!0);try{s(i)}finally{ge(!1)}}}else h=i;return c.memoizedState=c.baseState=h,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:h},c.queue=r,r=r.dispatch=z6.bind(null,qe,r),[c.memoizedState,r]},useRef:function(r){var i=gn();return r={current:r},i.memoizedState=r},useState:function(r){r=Oy(r);var i=r.queue,s=Kk.bind(null,qe,i);return i.dispatch=s,[r.memoizedState,s]},useDebugValue:Dy,useDeferredValue:function(r,i){var s=gn();return Ly(s,r,i)},useTransition:function(){var r=Oy(!1);return r=_k.bind(null,qe,r.queue,!0,!1),gn().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,s){var c=qe,h=gn();if(Ze){if(s===void 0)throw Error(a(407));s=s()}else{if(s=i(),ft===null)throw Error(a(349));(Xe&124)!==0||Ek(c,i,s)}h.memoizedState=s;var b={value:s,getSnapshot:i};return h.queue=b,Fk(Sk.bind(null,c,b,r),[r]),c.flags|=2048,ki(9,lu(),vk.bind(null,c,b,s,i),null),s},useId:function(){var r=gn(),i=ft.identifierPrefix;if(Ze){var s=wr,c=Ar;s=(c&~(1<<32-Ee(c)-1)).toString(32)+s,i="«"+i+"R"+s,s=iu++,0<s&&(i+="H"+s.toString(32)),i+="»"}else s=L6++,i="«"+i+"r"+s.toString(32)+"»";return r.memoizedState=i},useHostTransitionStatus:Fy,useFormState:Ok,useActionState:Ok,useOptimistic:function(r){var i=gn();i.memoizedState=i.baseState=r;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=By.bind(null,qe,!0,s),s.dispatch=i,[r,i]},useMemoCache:Ny,useCacheRefresh:function(){return gn().memoizedState=P6.bind(null,qe)}},$k={readContext:Jt,use:ou,useCallback:jk,useContext:Jt,useEffect:Bk,useImperativeHandle:qk,useInsertionEffect:Uk,useLayoutEffect:Pk,useMemo:Hk,useReducer:su,useRef:Mk,useState:function(){return su(xr)},useDebugValue:Dy,useDeferredValue:function(r,i){var s=It();return Gk(s,at.memoizedState,r,i)},useTransition:function(){var r=su(xr)[0],i=It().memoizedState;return[typeof r=="boolean"?r:ns(r),i]},useSyncExternalStore:yk,useId:Wk,useHostTransitionStatus:Fy,useFormState:Ik,useActionState:Ik,useOptimistic:function(r,i){var s=It();return Tk(s,at,r,i)},useMemoCache:Ny,useCacheRefresh:Xk},q6={readContext:Jt,use:ou,useCallback:jk,useContext:Jt,useEffect:Bk,useImperativeHandle:qk,useInsertionEffect:Uk,useLayoutEffect:Pk,useMemo:Hk,useReducer:ky,useRef:Mk,useState:function(){return ky(xr)},useDebugValue:Dy,useDeferredValue:function(r,i){var s=It();return at===null?Ly(s,r,i):Gk(s,at.memoizedState,r,i)},useTransition:function(){var r=ky(xr)[0],i=It().memoizedState;return[typeof r=="boolean"?r:ns(r),i]},useSyncExternalStore:yk,useId:Wk,useHostTransitionStatus:Fy,useFormState:Lk,useActionState:Lk,useOptimistic:function(r,i){var s=It();return at!==null?Tk(s,at,r,i):(s.baseState=r,[r,s.queue.dispatch])},useMemoCache:Ny,useCacheRefresh:Xk},Oi=null,is=0;function pu(r){var i=is;return is+=1,Oi===null&&(Oi=[]),ck(Oi,r,i)}function os(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function fu(r,i){throw i.$$typeof===m?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function eO(r){var i=r._init;return i(r._payload)}function tO(r){function i(_,G){if(r){var W=_.deletions;W===null?(_.deletions=[G],_.flags|=16):W.push(G)}}function s(_,G){if(!r)return null;for(;G!==null;)i(_,G),G=G.sibling;return null}function c(_){for(var G=new Map;_!==null;)_.key!==null?G.set(_.key,_):G.set(_.index,_),_=_.sibling;return G}function h(_,G){return _=Sr(_,G),_.index=0,_.sibling=null,_}function b(_,G,W){return _.index=W,r?(W=_.alternate,W!==null?(W=W.index,W<G?(_.flags|=67108866,G):W):(_.flags|=67108866,G)):(_.flags|=1048576,G)}function T(_){return r&&_.alternate===null&&(_.flags|=67108866),_}function k(_,G,W,se){return G===null||G.tag!==6?(G=ry(W,_.mode,se),G.return=_,G):(G=h(G,W),G.return=_,G)}function P(_,G,W,se){var ve=W.type;return ve===v?ae(_,G,W.props.children,se,W.key):G!==null&&(G.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===U&&eO(ve)===G.type)?(G=h(G,W.props),os(G,W),G.return=_,G):(G=Kl(W.type,W.key,W.props,null,_.mode,se),os(G,W),G.return=_,G)}function X(_,G,W,se){return G===null||G.tag!==4||G.stateNode.containerInfo!==W.containerInfo||G.stateNode.implementation!==W.implementation?(G=ay(W,_.mode,se),G.return=_,G):(G=h(G,W.children||[]),G.return=_,G)}function ae(_,G,W,se,ve){return G===null||G.tag!==7?(G=Ua(W,_.mode,se,ve),G.return=_,G):(G=h(G,W),G.return=_,G)}function ue(_,G,W){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=ry(""+G,_.mode,W),G.return=_,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case y:return W=Kl(G.type,G.key,G.props,null,_.mode,W),os(W,G),W.return=_,W;case E:return G=ay(G,_.mode,W),G.return=_,G;case U:var se=G._init;return G=se(G._payload),ue(_,G,W)}if(re(G)||V(G))return G=Ua(G,_.mode,W,null),G.return=_,G;if(typeof G.then=="function")return ue(_,pu(G),W);if(G.$$typeof===C)return ue(_,$l(_,G),W);fu(_,G)}return null}function Q(_,G,W,se){var ve=G!==null?G.key:null;if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return ve!==null?null:k(_,G,""+W,se);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case y:return W.key===ve?P(_,G,W,se):null;case E:return W.key===ve?X(_,G,W,se):null;case U:return ve=W._init,W=ve(W._payload),Q(_,G,W,se)}if(re(W)||V(W))return ve!==null?null:ae(_,G,W,se,null);if(typeof W.then=="function")return Q(_,G,pu(W),se);if(W.$$typeof===C)return Q(_,G,$l(_,W),se);fu(_,W)}return null}function Z(_,G,W,se,ve){if(typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint")return _=_.get(W)||null,k(G,_,""+se,ve);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case y:return _=_.get(se.key===null?W:se.key)||null,P(G,_,se,ve);case E:return _=_.get(se.key===null?W:se.key)||null,X(G,_,se,ve);case U:var je=se._init;return se=je(se._payload),Z(_,G,W,se,ve)}if(re(se)||V(se))return _=_.get(W)||null,ae(G,_,se,ve,null);if(typeof se.then=="function")return Z(_,G,W,pu(se),ve);if(se.$$typeof===C)return Z(_,G,W,$l(G,se),ve);fu(G,se)}return null}function ke(_,G,W,se){for(var ve=null,je=null,Ae=G,Ne=G=0,qt=null;Ae!==null&&Ne<W.length;Ne++){Ae.index>Ne?(qt=Ae,Ae=null):qt=Ae.sibling;var Qe=Q(_,Ae,W[Ne],se);if(Qe===null){Ae===null&&(Ae=qt);break}r&&Ae&&Qe.alternate===null&&i(_,Ae),G=b(Qe,G,Ne),je===null?ve=Qe:je.sibling=Qe,je=Qe,Ae=qt}if(Ne===W.length)return s(_,Ae),Ze&&za(_,Ne),ve;if(Ae===null){for(;Ne<W.length;Ne++)Ae=ue(_,W[Ne],se),Ae!==null&&(G=b(Ae,G,Ne),je===null?ve=Ae:je.sibling=Ae,je=Ae);return Ze&&za(_,Ne),ve}for(Ae=c(Ae);Ne<W.length;Ne++)qt=Z(Ae,_,Ne,W[Ne],se),qt!==null&&(r&&qt.alternate!==null&&Ae.delete(qt.key===null?Ne:qt.key),G=b(qt,G,Ne),je===null?ve=qt:je.sibling=qt,je=qt);return r&&Ae.forEach(function(ba){return i(_,ba)}),Ze&&za(_,Ne),ve}function xe(_,G,W,se){if(W==null)throw Error(a(151));for(var ve=null,je=null,Ae=G,Ne=G=0,qt=null,Qe=W.next();Ae!==null&&!Qe.done;Ne++,Qe=W.next()){Ae.index>Ne?(qt=Ae,Ae=null):qt=Ae.sibling;var ba=Q(_,Ae,Qe.value,se);if(ba===null){Ae===null&&(Ae=qt);break}r&&Ae&&ba.alternate===null&&i(_,Ae),G=b(ba,G,Ne),je===null?ve=ba:je.sibling=ba,je=ba,Ae=qt}if(Qe.done)return s(_,Ae),Ze&&za(_,Ne),ve;if(Ae===null){for(;!Qe.done;Ne++,Qe=W.next())Qe=ue(_,Qe.value,se),Qe!==null&&(G=b(Qe,G,Ne),je===null?ve=Qe:je.sibling=Qe,je=Qe);return Ze&&za(_,Ne),ve}for(Ae=c(Ae);!Qe.done;Ne++,Qe=W.next())Qe=Z(Ae,_,Ne,Qe.value,se),Qe!==null&&(r&&Qe.alternate!==null&&Ae.delete(Qe.key===null?Ne:Qe.key),G=b(Qe,G,Ne),je===null?ve=Qe:je.sibling=Qe,je=Qe);return r&&Ae.forEach(function(j9){return i(_,j9)}),Ze&&za(_,Ne),ve}function ot(_,G,W,se){if(typeof W=="object"&&W!==null&&W.type===v&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case y:e:{for(var ve=W.key;G!==null;){if(G.key===ve){if(ve=W.type,ve===v){if(G.tag===7){s(_,G.sibling),se=h(G,W.props.children),se.return=_,_=se;break e}}else if(G.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===U&&eO(ve)===G.type){s(_,G.sibling),se=h(G,W.props),os(se,W),se.return=_,_=se;break e}s(_,G);break}else i(_,G);G=G.sibling}W.type===v?(se=Ua(W.props.children,_.mode,se,W.key),se.return=_,_=se):(se=Kl(W.type,W.key,W.props,null,_.mode,se),os(se,W),se.return=_,_=se)}return T(_);case E:e:{for(ve=W.key;G!==null;){if(G.key===ve)if(G.tag===4&&G.stateNode.containerInfo===W.containerInfo&&G.stateNode.implementation===W.implementation){s(_,G.sibling),se=h(G,W.children||[]),se.return=_,_=se;break e}else{s(_,G);break}else i(_,G);G=G.sibling}se=ay(W,_.mode,se),se.return=_,_=se}return T(_);case U:return ve=W._init,W=ve(W._payload),ot(_,G,W,se)}if(re(W))return ke(_,G,W,se);if(V(W)){if(ve=V(W),typeof ve!="function")throw Error(a(150));return W=ve.call(W),xe(_,G,W,se)}if(typeof W.then=="function")return ot(_,G,pu(W),se);if(W.$$typeof===C)return ot(_,G,$l(_,W),se);fu(_,W)}return typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint"?(W=""+W,G!==null&&G.tag===6?(s(_,G.sibling),se=h(G,W),se.return=_,_=se):(s(_,G),se=ry(W,_.mode,se),se.return=_,_=se),T(_)):s(_,G)}return function(_,G,W,se){try{is=0;var ve=ot(_,G,W,se);return Oi=null,ve}catch(Ae){if(Ae===Qo||Ae===tu)throw Ae;var je=Sn(29,Ae,null,_.mode);return je.lanes=se,je.return=_,je}finally{}}}var Ii=tO(!0),nO=tO(!1),Mn=j(null),cr=null;function na(r){var i=r.alternate;I(Ut,Ut.current&1),I(Mn,r),cr===null&&(i===null||xi.current!==null||i.memoizedState!==null)&&(cr=r)}function rO(r){if(r.tag===22){if(I(Ut,Ut.current),I(Mn,r),cr===null){var i=r.alternate;i!==null&&i.memoizedState!==null&&(cr=r)}}else ra()}function ra(){I(Ut,Ut.current),I(Mn,Mn.current)}function Nr(r){$(Mn),cr===r&&(cr=null),$(Ut)}var Ut=j(0);function gu(r){for(var i=r;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||xE(s)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function Uy(r,i,s,c){i=r.memoizedState,s=s(c,i),s=s==null?i:g({},i,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var Py={enqueueSetState:function(r,i,s){r=r._reactInternals;var c=Rn(),h=$r(c);h.payload=i,s!=null&&(h.callback=s),i=ea(r,h,c),i!==null&&(xn(i,r,c),Jo(i,r,c))},enqueueReplaceState:function(r,i,s){r=r._reactInternals;var c=Rn(),h=$r(c);h.tag=1,h.payload=i,s!=null&&(h.callback=s),i=ea(r,h,c),i!==null&&(xn(i,r,c),Jo(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var s=Rn(),c=$r(s);c.tag=2,i!=null&&(c.callback=i),i=ea(r,c,s),i!==null&&(xn(i,r,s),Jo(i,r,s))}};function aO(r,i,s,c,h,b,T){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,b,T):i.prototype&&i.prototype.isPureReactComponent?!Ho(s,c)||!Ho(h,b):!0}function iO(r,i,s,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==r&&Py.enqueueReplaceState(i,i.state,null)}function Ya(r,i){var s=i;if("ref"in i){s={};for(var c in i)c!=="ref"&&(s[c]=i[c])}if(r=r.defaultProps){s===i&&(s=g({},s));for(var h in r)s[h]===void 0&&(s[h]=r[h])}return s}var hu=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function oO(r){hu(r)}function sO(r){console.error(r)}function lO(r){hu(r)}function mu(r,i){try{var s=r.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function uO(r,i,s){try{var c=r.onCaughtError;c(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function zy(r,i,s){return s=$r(s),s.tag=3,s.payload={element:null},s.callback=function(){mu(r,i)},s}function cO(r){return r=$r(r),r.tag=3,r}function dO(r,i,s,c){var h=s.type.getDerivedStateFromError;if(typeof h=="function"){var b=c.value;r.payload=function(){return h(b)},r.callback=function(){uO(i,s,c)}}var T=s.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(r.callback=function(){uO(i,s,c),typeof h!="function"&&(ua===null?ua=new Set([this]):ua.add(this));var k=c.stack;this.componentDidCatch(c.value,{componentStack:k!==null?k:""})})}function j6(r,i,s,c,h){if(s.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=s.alternate,i!==null&&Wo(i,s,h,!0),s=Mn.current,s!==null){switch(s.tag){case 13:return cr===null?uE():s.alternate===null&&St===0&&(St=3),s.flags&=-257,s.flags|=65536,s.lanes=h,c===gy?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([c]):i.add(c),dE(r,c,h)),!1;case 22:return s.flags|=65536,c===gy?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([c]):s.add(c)),dE(r,c,h)),!1}throw Error(a(435,s.tag))}return dE(r,c,h),uE(),!1}if(Ze)return i=Mn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=h,c!==sy&&(r=Error(a(422),{cause:c}),Yo(On(r,s)))):(c!==sy&&(i=Error(a(423),{cause:c}),Yo(On(i,s))),r=r.current.alternate,r.flags|=65536,h&=-h,r.lanes|=h,c=On(c,s),h=zy(r.stateNode,c,h),by(r,h),St!==4&&(St=2)),!1;var b=Error(a(520),{cause:c});if(b=On(b,s),fs===null?fs=[b]:fs.push(b),St!==4&&(St=2),i===null)return!0;c=On(c,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,r=h&-h,s.lanes|=r,r=zy(s.stateNode,c,r),by(s,r),!1;case 1:if(i=s.type,b=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(ua===null||!ua.has(b))))return s.flags|=65536,h&=-h,s.lanes|=h,h=cO(h),dO(h,r,s,c),by(s,h),!1}s=s.return}while(s!==null);return!1}var pO=Error(a(461)),Pt=!1;function _t(r,i,s,c){i.child=r===null?nO(i,null,s,c):Ii(i,r.child,s,c)}function fO(r,i,s,c,h){s=s.render;var b=i.ref;if("ref"in c){var T={};for(var k in c)k!=="ref"&&(T[k]=c[k])}else T=c;return Ga(i),c=Ay(r,i,s,T,b,h),k=wy(),r!==null&&!Pt?(Ty(r,i,h),Cr(r,i,h)):(Ze&&k&&iy(i),i.flags|=1,_t(r,i,c,h),i.child)}function gO(r,i,s,c,h){if(r===null){var b=s.type;return typeof b=="function"&&!ny(b)&&b.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=b,hO(r,i,b,c,h)):(r=Kl(s.type,null,c,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(b=r.child,!Wy(r,h)){var T=b.memoizedProps;if(s=s.compare,s=s!==null?s:Ho,s(T,c)&&r.ref===i.ref)return Cr(r,i,h)}return i.flags|=1,r=Sr(b,c),r.ref=i.ref,r.return=i,i.child=r}function hO(r,i,s,c,h){if(r!==null){var b=r.memoizedProps;if(Ho(b,c)&&r.ref===i.ref)if(Pt=!1,i.pendingProps=c=b,Wy(r,h))(r.flags&131072)!==0&&(Pt=!0);else return i.lanes=r.lanes,Cr(r,i,h)}return qy(r,i,s,c,h)}function mO(r,i,s){var c=i.pendingProps,h=c.children,b=r!==null?r.memoizedState:null;if(c.mode==="hidden"){if((i.flags&128)!==0){if(c=b!==null?b.baseLanes|s:s,r!==null){for(h=i.child=r.child,b=0;h!==null;)b=b|h.lanes|h.childLanes,h=h.sibling;i.childLanes=b&~c}else i.childLanes=0,i.child=null;return bO(r,i,c,s)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&eu(i,b!==null?b.cachePool:null),b!==null?hk(i,b):Ey(),rO(i);else return i.lanes=i.childLanes=536870912,bO(r,i,b!==null?b.baseLanes|s:s,s)}else b!==null?(eu(i,b.cachePool),hk(i,b),ra(),i.memoizedState=null):(r!==null&&eu(i,null),Ey(),ra());return _t(r,i,h,s),i.child}function bO(r,i,s,c){var h=fy();return h=h===null?null:{parent:Bt._currentValue,pool:h},i.memoizedState={baseLanes:s,cachePool:h},r!==null&&eu(i,null),Ey(),rO(i),r!==null&&Wo(r,i,c,!0),null}function bu(r,i){var s=i.ref;if(s===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(a(284));(r===null||r.ref!==s)&&(i.flags|=4194816)}}function qy(r,i,s,c,h){return Ga(i),s=Ay(r,i,s,c,void 0,h),c=wy(),r!==null&&!Pt?(Ty(r,i,h),Cr(r,i,h)):(Ze&&c&&iy(i),i.flags|=1,_t(r,i,s,h),i.child)}function yO(r,i,s,c,h,b){return Ga(i),i.updateQueue=null,s=bk(i,c,s,h),mk(r),c=wy(),r!==null&&!Pt?(Ty(r,i,b),Cr(r,i,b)):(Ze&&c&&iy(i),i.flags|=1,_t(r,i,s,b),i.child)}function EO(r,i,s,c,h){if(Ga(i),i.stateNode===null){var b=Si,T=s.contextType;typeof T=="object"&&T!==null&&(b=Jt(T)),b=new s(c,b),i.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Py,i.stateNode=b,b._reactInternals=i,b=i.stateNode,b.props=c,b.state=i.memoizedState,b.refs={},hy(i),T=s.contextType,b.context=typeof T=="object"&&T!==null?Jt(T):Si,b.state=i.memoizedState,T=s.getDerivedStateFromProps,typeof T=="function"&&(Uy(i,s,T,c),b.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(T=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),T!==b.state&&Py.enqueueReplaceState(b,b.state,null),es(i,c,b,h),$o(),b.state=i.memoizedState),typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){b=i.stateNode;var k=i.memoizedProps,P=Ya(s,k);b.props=P;var X=b.context,ae=s.contextType;T=Si,typeof ae=="object"&&ae!==null&&(T=Jt(ae));var ue=s.getDerivedStateFromProps;ae=typeof ue=="function"||typeof b.getSnapshotBeforeUpdate=="function",k=i.pendingProps!==k,ae||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(k||X!==T)&&iO(i,b,c,T),Jr=!1;var Q=i.memoizedState;b.state=Q,es(i,c,b,h),$o(),X=i.memoizedState,k||Q!==X||Jr?(typeof ue=="function"&&(Uy(i,s,ue,c),X=i.memoizedState),(P=Jr||aO(i,s,P,c,Q,X,T))?(ae||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=X),b.props=c,b.state=X,b.context=T,c=P):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,my(r,i),T=i.memoizedProps,ae=Ya(s,T),b.props=ae,ue=i.pendingProps,Q=b.context,X=s.contextType,P=Si,typeof X=="object"&&X!==null&&(P=Jt(X)),k=s.getDerivedStateFromProps,(X=typeof k=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(T!==ue||Q!==P)&&iO(i,b,c,P),Jr=!1,Q=i.memoizedState,b.state=Q,es(i,c,b,h),$o();var Z=i.memoizedState;T!==ue||Q!==Z||Jr||r!==null&&r.dependencies!==null&&Jl(r.dependencies)?(typeof k=="function"&&(Uy(i,s,k,c),Z=i.memoizedState),(ae=Jr||aO(i,s,ae,c,Q,Z,P)||r!==null&&r.dependencies!==null&&Jl(r.dependencies))?(X||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,Z,P),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,Z,P)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||T===r.memoizedProps&&Q===r.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||T===r.memoizedProps&&Q===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=Z),b.props=c,b.state=Z,b.context=P,c=ae):(typeof b.componentDidUpdate!="function"||T===r.memoizedProps&&Q===r.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||T===r.memoizedProps&&Q===r.memoizedState||(i.flags|=1024),c=!1)}return b=c,bu(r,i),c=(i.flags&128)!==0,b||c?(b=i.stateNode,s=c&&typeof s.getDerivedStateFromError!="function"?null:b.render(),i.flags|=1,r!==null&&c?(i.child=Ii(i,r.child,null,h),i.child=Ii(i,null,s,h)):_t(r,i,s,h),i.memoizedState=b.state,r=i.child):r=Cr(r,i,h),r}function vO(r,i,s,c){return Vo(),i.flags|=256,_t(r,i,s,c),i.child}var jy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hy(r){return{baseLanes:r,cachePool:sk()}}function Gy(r,i,s){return r=r!==null?r.childLanes&~s:0,i&&(r|=Fn),r}function SO(r,i,s){var c=i.pendingProps,h=!1,b=(i.flags&128)!==0,T;if((T=b)||(T=r!==null&&r.memoizedState===null?!1:(Ut.current&2)!==0),T&&(h=!0,i.flags&=-129),T=(i.flags&32)!==0,i.flags&=-33,r===null){if(Ze){if(h?na(i):ra(),Ze){var k=vt,P;if(P=k){e:{for(P=k,k=ur;P.nodeType!==8;){if(!k){k=null;break e}if(P=Kn(P.nextSibling),P===null){k=null;break e}}k=P}k!==null?(i.memoizedState={dehydrated:k,treeContext:Pa!==null?{id:Ar,overflow:wr}:null,retryLane:536870912,hydrationErrors:null},P=Sn(18,null,null,0),P.stateNode=k,P.return=i,i.child=P,rn=i,vt=null,P=!0):P=!1}P||ja(i)}if(k=i.memoizedState,k!==null&&(k=k.dehydrated,k!==null))return xE(k)?i.lanes=32:i.lanes=536870912,null;Nr(i)}return k=c.children,c=c.fallback,h?(ra(),h=i.mode,k=yu({mode:"hidden",children:k},h),c=Ua(c,h,s,null),k.return=i,c.return=i,k.sibling=c,i.child=k,h=i.child,h.memoizedState=Hy(s),h.childLanes=Gy(r,T,s),i.memoizedState=jy,c):(na(i),_y(i,k))}if(P=r.memoizedState,P!==null&&(k=P.dehydrated,k!==null)){if(b)i.flags&256?(na(i),i.flags&=-257,i=Vy(r,i,s)):i.memoizedState!==null?(ra(),i.child=r.child,i.flags|=128,i=null):(ra(),h=c.fallback,k=i.mode,c=yu({mode:"visible",children:c.children},k),h=Ua(h,k,s,null),h.flags|=2,c.return=i,h.return=i,c.sibling=h,i.child=c,Ii(i,r.child,null,s),c=i.child,c.memoizedState=Hy(s),c.childLanes=Gy(r,T,s),i.memoizedState=jy,i=h);else if(na(i),xE(k)){if(T=k.nextSibling&&k.nextSibling.dataset,T)var X=T.dgst;T=X,c=Error(a(419)),c.stack="",c.digest=T,Yo({value:c,source:null,stack:null}),i=Vy(r,i,s)}else if(Pt||Wo(r,i,s,!1),T=(s&r.childLanes)!==0,Pt||T){if(T=ft,T!==null&&(c=s&-s,c=(c&42)!==0?1:ar(c),c=(c&(T.suspendedLanes|s))!==0?0:c,c!==0&&c!==P.retryLane))throw P.retryLane=c,vi(r,c),xn(T,r,c),pO;k.data==="$?"||uE(),i=Vy(r,i,s)}else k.data==="$?"?(i.flags|=192,i.child=r.child,i=null):(r=P.treeContext,vt=Kn(k.nextSibling),rn=i,Ze=!0,qa=null,ur=!1,r!==null&&(Dn[Ln++]=Ar,Dn[Ln++]=wr,Dn[Ln++]=Pa,Ar=r.id,wr=r.overflow,Pa=i),i=_y(i,c.children),i.flags|=4096);return i}return h?(ra(),h=c.fallback,k=i.mode,P=r.child,X=P.sibling,c=Sr(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,X!==null?h=Sr(X,h):(h=Ua(h,k,s,null),h.flags|=2),h.return=i,c.return=i,c.sibling=h,i.child=c,c=h,h=i.child,k=r.child.memoizedState,k===null?k=Hy(s):(P=k.cachePool,P!==null?(X=Bt._currentValue,P=P.parent!==X?{parent:X,pool:X}:P):P=sk(),k={baseLanes:k.baseLanes|s,cachePool:P}),h.memoizedState=k,h.childLanes=Gy(r,T,s),i.memoizedState=jy,c):(na(i),s=r.child,r=s.sibling,s=Sr(s,{mode:"visible",children:c.children}),s.return=i,s.sibling=null,r!==null&&(T=i.deletions,T===null?(i.deletions=[r],i.flags|=16):T.push(r)),i.child=s,i.memoizedState=null,s)}function _y(r,i){return i=yu({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function yu(r,i){return r=Sn(22,r,null,i),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function Vy(r,i,s){return Ii(i,r.child,null,s),r=_y(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function AO(r,i,s){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),uy(r.return,i,s)}function Yy(r,i,s,c,h){var b=r.memoizedState;b===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:h}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=c,b.tail=s,b.tailMode=h)}function wO(r,i,s){var c=i.pendingProps,h=c.revealOrder,b=c.tail;if(_t(r,i,c.children,s),c=Ut.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&AO(r,s,i);else if(r.tag===19)AO(r,s,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}c&=1}switch(I(Ut,c),h){case"forwards":for(s=i.child,h=null;s!==null;)r=s.alternate,r!==null&&gu(r)===null&&(h=s),s=s.sibling;s=h,s===null?(h=i.child,i.child=null):(h=s.sibling,s.sibling=null),Yy(i,!1,h,s,b);break;case"backwards":for(s=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&gu(r)===null){i.child=h;break}r=h.sibling,h.sibling=s,s=h,h=r}Yy(i,!0,s,null,b);break;case"together":Yy(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Cr(r,i,s){if(r!==null&&(i.dependencies=r.dependencies),la|=i.lanes,(s&i.childLanes)===0)if(r!==null){if(Wo(r,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,s=Sr(r,r.pendingProps),i.child=s,s.return=i;r.sibling!==null;)r=r.sibling,s=s.sibling=Sr(r,r.pendingProps),s.return=i;s.sibling=null}return i.child}function Wy(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&Jl(r)))}function H6(r,i,s){switch(i.tag){case 3:we(i,i.stateNode.containerInfo),Zr(i,Bt,r.memoizedState.cache),Vo();break;case 27:case 5:dt(i);break;case 4:we(i,i.stateNode.containerInfo);break;case 10:Zr(i,i.type,i.memoizedProps.value);break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(na(i),i.flags|=128,null):(s&i.child.childLanes)!==0?SO(r,i,s):(na(i),r=Cr(r,i,s),r!==null?r.sibling:null);na(i);break;case 19:var h=(r.flags&128)!==0;if(c=(s&i.childLanes)!==0,c||(Wo(r,i,s,!1),c=(s&i.childLanes)!==0),h){if(c)return wO(r,i,s);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),I(Ut,Ut.current),c)break;return null;case 22:case 23:return i.lanes=0,mO(r,i,s);case 24:Zr(i,Bt,r.memoizedState.cache)}return Cr(r,i,s)}function TO(r,i,s){if(r!==null)if(r.memoizedProps!==i.pendingProps)Pt=!0;else{if(!Wy(r,s)&&(i.flags&128)===0)return Pt=!1,H6(r,i,s);Pt=(r.flags&131072)!==0}else Pt=!1,Ze&&(i.flags&1048576)!==0&&ek(i,Zl,i.index);switch(i.lanes=0,i.tag){case 16:e:{r=i.pendingProps;var c=i.elementType,h=c._init;if(c=h(c._payload),i.type=c,typeof c=="function")ny(c)?(r=Ya(c,r),i.tag=1,i=EO(null,i,c,r,s)):(i.tag=0,i=qy(null,i,c,r,s));else{if(c!=null){if(h=c.$$typeof,h===M){i.tag=11,i=fO(null,i,c,r,s);break e}else if(h===L){i.tag=14,i=gO(null,i,c,r,s);break e}}throw i=ne(c)||c,Error(a(306,i,""))}}return i;case 0:return qy(r,i,i.type,i.pendingProps,s);case 1:return c=i.type,h=Ya(c,i.pendingProps),EO(r,i,c,h,s);case 3:e:{if(we(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var b=i.memoizedState;h=b.element,my(r,i),es(i,c,null,s);var T=i.memoizedState;if(c=T.cache,Zr(i,Bt,c),c!==b.cache&&cy(i,[Bt],s,!0),$o(),c=T.element,b.isDehydrated)if(b={element:c,isDehydrated:!1,cache:T.cache},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){i=vO(r,i,c,s);break e}else if(c!==h){h=On(Error(a(424)),i),Yo(h),i=vO(r,i,c,s);break e}else{switch(r=i.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(vt=Kn(r.firstChild),rn=i,Ze=!0,qa=null,ur=!0,s=nO(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(Vo(),c===h){i=Cr(r,i,s);break e}_t(r,i,c,s)}i=i.child}return i;case 26:return bu(r,i),r===null?(s=CI(i.type,null,i.pendingProps,null))?i.memoizedState=s:Ze||(s=i.type,r=i.pendingProps,c=Du(ce.current).createElement(s),c[wt]=i,c[Zt]=r,Yt(c,s,r),kt(c),i.stateNode=c):i.memoizedState=CI(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return dt(i),r===null&&Ze&&(c=i.stateNode=RI(i.type,i.pendingProps,ce.current),rn=i,ur=!0,h=vt,pa(i.type)?(NE=h,vt=Kn(c.firstChild)):vt=h),_t(r,i,i.pendingProps.children,s),bu(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Ze&&((h=c=vt)&&(c=m9(c,i.type,i.pendingProps,ur),c!==null?(i.stateNode=c,rn=i,vt=Kn(c.firstChild),ur=!1,h=!0):h=!1),h||ja(i)),dt(i),h=i.type,b=i.pendingProps,T=r!==null?r.memoizedProps:null,c=b.children,wE(h,b)?c=null:T!==null&&wE(h,T)&&(i.flags|=32),i.memoizedState!==null&&(h=Ay(r,i,M6,null,null,s),As._currentValue=h),bu(r,i),_t(r,i,c,s),i.child;case 6:return r===null&&Ze&&((r=s=vt)&&(s=b9(s,i.pendingProps,ur),s!==null?(i.stateNode=s,rn=i,vt=null,r=!0):r=!1),r||ja(i)),null;case 13:return SO(r,i,s);case 4:return we(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=Ii(i,null,c,s):_t(r,i,c,s),i.child;case 11:return fO(r,i,i.type,i.pendingProps,s);case 7:return _t(r,i,i.pendingProps,s),i.child;case 8:return _t(r,i,i.pendingProps.children,s),i.child;case 12:return _t(r,i,i.pendingProps.children,s),i.child;case 10:return c=i.pendingProps,Zr(i,i.type,c.value),_t(r,i,c.children,s),i.child;case 9:return h=i.type._context,c=i.pendingProps.children,Ga(i),h=Jt(h),c=c(h),i.flags|=1,_t(r,i,c,s),i.child;case 14:return gO(r,i,i.type,i.pendingProps,s);case 15:return hO(r,i,i.type,i.pendingProps,s);case 19:return wO(r,i,s);case 31:return c=i.pendingProps,s=i.mode,c={mode:c.mode,children:c.children},r===null?(s=yu(c,s),s.ref=i.ref,i.child=s,s.return=i,i=s):(s=Sr(r.child,c),s.ref=i.ref,i.child=s,s.return=i,i=s),i;case 22:return mO(r,i,s);case 24:return Ga(i),c=Jt(Bt),r===null?(h=fy(),h===null&&(h=ft,b=dy(),h.pooledCache=b,b.refCount++,b!==null&&(h.pooledCacheLanes|=s),h=b),i.memoizedState={parent:c,cache:h},hy(i),Zr(i,Bt,h)):((r.lanes&s)!==0&&(my(r,i),es(i,null,null,s),$o()),h=r.memoizedState,b=i.memoizedState,h.parent!==c?(h={parent:c,cache:c},i.memoizedState=h,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=h),Zr(i,Bt,c)):(c=b.cache,Zr(i,Bt,c),c!==h.cache&&cy(i,[Bt],s,!0))),_t(r,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function kr(r){r.flags|=4}function RO(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!LI(i)){if(i=Mn.current,i!==null&&((Xe&4194048)===Xe?cr!==null:(Xe&62914560)!==Xe&&(Xe&536870912)===0||i!==cr))throw Zo=gy,lk;r.flags|=8192}}function Eu(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?bt():536870912,r.lanes|=i,Fi|=i)}function ss(r,i){if(!Ze)switch(r.tailMode){case"hidden":i=r.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function yt(r){var i=r.alternate!==null&&r.alternate.child===r.child,s=0,c=0;if(i)for(var h=r.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags&65011712,c|=h.flags&65011712,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=c,r.childLanes=s,i}function G6(r,i,s){var c=i.pendingProps;switch(oy(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(i),null;case 1:return yt(i),null;case 3:return s=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Rr(Bt),Ke(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(r===null||r.child===null)&&(_o(i)?kr(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,rk())),yt(i),null;case 26:return s=i.memoizedState,r===null?(kr(i),s!==null?(yt(i),RO(i,s)):(yt(i),i.flags&=-16777217)):s?s!==r.memoizedState?(kr(i),yt(i),RO(i,s)):(yt(i),i.flags&=-16777217):(r.memoizedProps!==c&&kr(i),yt(i),i.flags&=-16777217),null;case 27:Ve(i),s=ce.current;var h=i.type;if(r!==null&&i.stateNode!=null)r.memoizedProps!==c&&kr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return yt(i),null}r=le.current,_o(i)?tk(i):(r=RI(h,c,s),i.stateNode=r,kr(i))}return yt(i),null;case 5:if(Ve(i),s=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&kr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return yt(i),null}if(r=le.current,_o(i))tk(i);else{switch(h=Du(ce.current),r){case 1:r=h.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=h.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=h.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=h.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=h.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?h.createElement("select",{is:c.is}):h.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?h.createElement(s,{is:c.is}):h.createElement(s)}}r[wt]=i,r[Zt]=c;e:for(h=i.child;h!==null;){if(h.tag===5||h.tag===6)r.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===i)break e;for(;h.sibling===null;){if(h.return===null||h.return===i)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}i.stateNode=r;e:switch(Yt(r,s,c),s){case"button":case"input":case"select":case"textarea":r=!!c.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&kr(i)}}return yt(i),i.flags&=-16777217,null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&kr(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=ce.current,_o(i)){if(r=i.stateNode,s=i.memoizedProps,c=null,h=rn,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}r[wt]=i,r=!!(r.nodeValue===s||c!==null&&c.suppressHydrationWarning===!0||yI(r.nodeValue,s)),r||ja(i)}else r=Du(r).createTextNode(c),r[wt]=i,i.stateNode=r}return yt(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(h=_o(i),c!==null&&c.dehydrated!==null){if(r===null){if(!h)throw Error(a(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[wt]=i}else Vo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;yt(i),h=!1}else h=rk(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(Nr(i),i):(Nr(i),null)}if(Nr(i),(i.flags&128)!==0)return i.lanes=s,i;if(s=c!==null,r=r!==null&&r.memoizedState!==null,s){c=i.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool);var b=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(b=c.memoizedState.cachePool.pool),b!==h&&(c.flags|=2048)}return s!==r&&s&&(i.child.flags|=8192),Eu(i,i.updateQueue),yt(i),null;case 4:return Ke(),r===null&&yE(i.stateNode.containerInfo),yt(i),null;case 10:return Rr(i.type),yt(i),null;case 19:if($(Ut),h=i.memoizedState,h===null)return yt(i),null;if(c=(i.flags&128)!==0,b=h.rendering,b===null)if(c)ss(h,!1);else{if(St!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(b=gu(r),b!==null){for(i.flags|=128,ss(h,!1),r=b.updateQueue,i.updateQueue=r,Eu(i,r),i.subtreeFlags=0,r=s,s=i.child;s!==null;)$1(s,r),s=s.sibling;return I(Ut,Ut.current&1|2),i.child}r=r.sibling}h.tail!==null&&Le()>Au&&(i.flags|=128,c=!0,ss(h,!1),i.lanes=4194304)}else{if(!c)if(r=gu(b),r!==null){if(i.flags|=128,c=!0,r=r.updateQueue,i.updateQueue=r,Eu(i,r),ss(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!Ze)return yt(i),null}else 2*Le()-h.renderingStartTime>Au&&s!==536870912&&(i.flags|=128,c=!0,ss(h,!1),i.lanes=4194304);h.isBackwards?(b.sibling=i.child,i.child=b):(r=h.last,r!==null?r.sibling=b:i.child=b,h.last=b)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Le(),i.sibling=null,r=Ut.current,I(Ut,c?r&1|2:r&1),i):(yt(i),null);case 22:case 23:return Nr(i),vy(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(s&536870912)!==0&&(i.flags&128)===0&&(yt(i),i.subtreeFlags&6&&(i.flags|=8192)):yt(i),s=i.updateQueue,s!==null&&Eu(i,s.retryQueue),s=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==s&&(i.flags|=2048),r!==null&&$(_a),null;case 24:return s=null,r!==null&&(s=r.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Rr(Bt),yt(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function _6(r,i){switch(oy(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Rr(Bt),Ke(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return Ve(i),null;case 13:if(Nr(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Vo()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return $(Ut),null;case 4:return Ke(),null;case 10:return Rr(i.type),null;case 22:case 23:return Nr(i),vy(),r!==null&&$(_a),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Rr(Bt),null;case 25:return null;default:return null}}function xO(r,i){switch(oy(i),i.tag){case 3:Rr(Bt),Ke();break;case 26:case 27:case 5:Ve(i);break;case 4:Ke();break;case 13:Nr(i);break;case 19:$(Ut);break;case 10:Rr(i.type);break;case 22:case 23:Nr(i),vy(),r!==null&&$(_a);break;case 24:Rr(Bt)}}function ls(r,i){try{var s=i.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var h=c.next;s=h;do{if((s.tag&r)===r){c=void 0;var b=s.create,T=s.inst;c=b(),T.destroy=c}s=s.next}while(s!==h)}}catch(k){ut(i,i.return,k)}}function aa(r,i,s){try{var c=i.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var b=h.next;c=b;do{if((c.tag&r)===r){var T=c.inst,k=T.destroy;if(k!==void 0){T.destroy=void 0,h=i;var P=s,X=k;try{X()}catch(ae){ut(h,P,ae)}}}c=c.next}while(c!==b)}}catch(ae){ut(i,i.return,ae)}}function NO(r){var i=r.updateQueue;if(i!==null){var s=r.stateNode;try{gk(i,s)}catch(c){ut(r,r.return,c)}}}function CO(r,i,s){s.props=Ya(r.type,r.memoizedProps),s.state=r.memoizedState;try{s.componentWillUnmount()}catch(c){ut(r,i,c)}}function us(r,i){try{var s=r.ref;if(s!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof s=="function"?r.refCleanup=s(c):s.current=c}}catch(h){ut(r,i,h)}}function dr(r,i){var s=r.ref,c=r.refCleanup;if(s!==null)if(typeof c=="function")try{c()}catch(h){ut(r,i,h)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(h){ut(r,i,h)}else s.current=null}function kO(r){var i=r.type,s=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&c.focus();break e;case"img":s.src?c.src=s.src:s.srcSet&&(c.srcset=s.srcSet)}}catch(h){ut(r,r.return,h)}}function Xy(r,i,s){try{var c=r.stateNode;d9(c,r.type,s,i),c[Zt]=i}catch(h){ut(r,r.return,h)}}function OO(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&pa(r.type)||r.tag===4}function Ky(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||OO(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&pa(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Qy(r,i,s){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(r,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(r),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Iu));else if(c!==4&&(c===27&&pa(r.type)&&(s=r.stateNode,i=null),r=r.child,r!==null))for(Qy(r,i,s),r=r.sibling;r!==null;)Qy(r,i,s),r=r.sibling}function vu(r,i,s){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?s.insertBefore(r,i):s.appendChild(r);else if(c!==4&&(c===27&&pa(r.type)&&(s=r.stateNode),r=r.child,r!==null))for(vu(r,i,s),r=r.sibling;r!==null;)vu(r,i,s),r=r.sibling}function IO(r){var i=r.stateNode,s=r.memoizedProps;try{for(var c=r.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);Yt(i,c,s),i[wt]=r,i[Zt]=s}catch(b){ut(r,r.return,b)}}var Or=!1,Rt=!1,Zy=!1,DO=typeof WeakSet=="function"?WeakSet:Set,zt=null;function V6(r,i){if(r=r.containerInfo,SE=Pu,r=G1(r),Kb(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var h=c.anchorOffset,b=c.focusNode;c=c.focusOffset;try{s.nodeType,b.nodeType}catch{s=null;break e}var T=0,k=-1,P=-1,X=0,ae=0,ue=r,Q=null;t:for(;;){for(var Z;ue!==s||h!==0&&ue.nodeType!==3||(k=T+h),ue!==b||c!==0&&ue.nodeType!==3||(P=T+c),ue.nodeType===3&&(T+=ue.nodeValue.length),(Z=ue.firstChild)!==null;)Q=ue,ue=Z;for(;;){if(ue===r)break t;if(Q===s&&++X===h&&(k=T),Q===b&&++ae===c&&(P=T),(Z=ue.nextSibling)!==null)break;ue=Q,Q=ue.parentNode}ue=Z}s=k===-1||P===-1?null:{start:k,end:P}}else s=null}s=s||{start:0,end:0}}else s=null;for(AE={focusedElem:r,selectionRange:s},Pu=!1,zt=i;zt!==null;)if(i=zt,r=i.child,(i.subtreeFlags&1024)!==0&&r!==null)r.return=i,zt=r;else for(;zt!==null;){switch(i=zt,b=i.alternate,r=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&b!==null){r=void 0,s=i,h=b.memoizedProps,b=b.memoizedState,c=s.stateNode;try{var ke=Ya(s.type,h,s.elementType===s.type);r=c.getSnapshotBeforeUpdate(ke,b),c.__reactInternalSnapshotBeforeUpdate=r}catch(xe){ut(s,s.return,xe)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,s=r.nodeType,s===9)RE(r);else if(s===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":RE(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,zt=r;break}zt=i.return}}function LO(r,i,s){var c=s.flags;switch(s.tag){case 0:case 11:case 15:ia(r,s),c&4&&ls(5,s);break;case 1:if(ia(r,s),c&4)if(r=s.stateNode,i===null)try{r.componentDidMount()}catch(T){ut(s,s.return,T)}else{var h=Ya(s.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(h,i,r.__reactInternalSnapshotBeforeUpdate)}catch(T){ut(s,s.return,T)}}c&64&&NO(s),c&512&&us(s,s.return);break;case 3:if(ia(r,s),c&64&&(r=s.updateQueue,r!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{gk(r,i)}catch(T){ut(s,s.return,T)}}break;case 27:i===null&&c&4&&IO(s);case 26:case 5:ia(r,s),i===null&&c&4&&kO(s),c&512&&us(s,s.return);break;case 12:ia(r,s);break;case 13:ia(r,s),c&4&&BO(r,s),c&64&&(r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(s=e9.bind(null,s),y9(r,s))));break;case 22:if(c=s.memoizedState!==null||Or,!c){i=i!==null&&i.memoizedState!==null||Rt,h=Or;var b=Rt;Or=c,(Rt=i)&&!b?oa(r,s,(s.subtreeFlags&8772)!==0):ia(r,s),Or=h,Rt=b}break;case 30:break;default:ia(r,s)}}function MO(r){var i=r.alternate;i!==null&&(r.alternate=null,MO(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&Oo(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var mt=null,hn=!1;function Ir(r,i,s){for(s=s.child;s!==null;)FO(r,i,s),s=s.sibling}function FO(r,i,s){if(oe&&typeof oe.onCommitFiberUnmount=="function")try{oe.onCommitFiberUnmount(J,s)}catch{}switch(s.tag){case 26:Rt||dr(s,i),Ir(r,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Rt||dr(s,i);var c=mt,h=hn;pa(s.type)&&(mt=s.stateNode,hn=!1),Ir(r,i,s),ys(s.stateNode),mt=c,hn=h;break;case 5:Rt||dr(s,i);case 6:if(c=mt,h=hn,mt=null,Ir(r,i,s),mt=c,hn=h,mt!==null)if(hn)try{(mt.nodeType===9?mt.body:mt.nodeName==="HTML"?mt.ownerDocument.body:mt).removeChild(s.stateNode)}catch(b){ut(s,i,b)}else try{mt.removeChild(s.stateNode)}catch(b){ut(s,i,b)}break;case 18:mt!==null&&(hn?(r=mt,wI(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,s.stateNode),xs(r)):wI(mt,s.stateNode));break;case 4:c=mt,h=hn,mt=s.stateNode.containerInfo,hn=!0,Ir(r,i,s),mt=c,hn=h;break;case 0:case 11:case 14:case 15:Rt||aa(2,s,i),Rt||aa(4,s,i),Ir(r,i,s);break;case 1:Rt||(dr(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"&&CO(s,i,c)),Ir(r,i,s);break;case 21:Ir(r,i,s);break;case 22:Rt=(c=Rt)||s.memoizedState!==null,Ir(r,i,s),Rt=c;break;default:Ir(r,i,s)}}function BO(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{xs(r)}catch(s){ut(i,i.return,s)}}function Y6(r){switch(r.tag){case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new DO),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new DO),i;default:throw Error(a(435,r.tag))}}function Jy(r,i){var s=Y6(r);i.forEach(function(c){var h=t9.bind(null,r,c);s.has(c)||(s.add(c),c.then(h,h))})}function An(r,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var h=s[c],b=r,T=i,k=T;e:for(;k!==null;){switch(k.tag){case 27:if(pa(k.type)){mt=k.stateNode,hn=!1;break e}break;case 5:mt=k.stateNode,hn=!1;break e;case 3:case 4:mt=k.stateNode.containerInfo,hn=!0;break e}k=k.return}if(mt===null)throw Error(a(160));FO(b,T,h),mt=null,hn=!1,b=h.alternate,b!==null&&(b.return=null),h.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)UO(i,r),i=i.sibling}var Xn=null;function UO(r,i){var s=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:An(i,r),wn(r),c&4&&(aa(3,r,r.return),ls(3,r),aa(5,r,r.return));break;case 1:An(i,r),wn(r),c&512&&(Rt||s===null||dr(s,s.return)),c&64&&Or&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(s=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=s===null?c:s.concat(c))));break;case 26:var h=Xn;if(An(i,r),wn(r),c&512&&(Rt||s===null||dr(s,s.return)),c&4){var b=s!==null?s.memoizedState:null;if(c=r.memoizedState,s===null)if(c===null)if(r.stateNode===null){e:{c=r.type,s=r.memoizedProps,h=h.ownerDocument||h;t:switch(c){case"title":b=h.getElementsByTagName("title")[0],(!b||b[or]||b[wt]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=h.createElement(c),h.head.insertBefore(b,h.querySelector("head > title"))),Yt(b,c,s),b[wt]=r,kt(b),c=b;break e;case"link":var T=II("link","href",h).get(c+(s.href||""));if(T){for(var k=0;k<T.length;k++)if(b=T[k],b.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&b.getAttribute("rel")===(s.rel==null?null:s.rel)&&b.getAttribute("title")===(s.title==null?null:s.title)&&b.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){T.splice(k,1);break t}}b=h.createElement(c),Yt(b,c,s),h.head.appendChild(b);break;case"meta":if(T=II("meta","content",h).get(c+(s.content||""))){for(k=0;k<T.length;k++)if(b=T[k],b.getAttribute("content")===(s.content==null?null:""+s.content)&&b.getAttribute("name")===(s.name==null?null:s.name)&&b.getAttribute("property")===(s.property==null?null:s.property)&&b.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&b.getAttribute("charset")===(s.charSet==null?null:s.charSet)){T.splice(k,1);break t}}b=h.createElement(c),Yt(b,c,s),h.head.appendChild(b);break;default:throw Error(a(468,c))}b[wt]=r,kt(b),c=b}r.stateNode=c}else DI(h,r.type,r.stateNode);else r.stateNode=OI(h,c,r.memoizedProps);else b!==c?(b===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):b.count--,c===null?DI(h,r.type,r.stateNode):OI(h,c,r.memoizedProps)):c===null&&r.stateNode!==null&&Xy(r,r.memoizedProps,s.memoizedProps)}break;case 27:An(i,r),wn(r),c&512&&(Rt||s===null||dr(s,s.return)),s!==null&&c&4&&Xy(r,r.memoizedProps,s.memoizedProps);break;case 5:if(An(i,r),wn(r),c&512&&(Rt||s===null||dr(s,s.return)),r.flags&32){h=r.stateNode;try{fi(h,"")}catch(Z){ut(r,r.return,Z)}}c&4&&r.stateNode!=null&&(h=r.memoizedProps,Xy(r,h,s!==null?s.memoizedProps:h)),c&1024&&(Zy=!0);break;case 6:if(An(i,r),wn(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,s=r.stateNode;try{s.nodeValue=c}catch(Z){ut(r,r.return,Z)}}break;case 3:if(Fu=null,h=Xn,Xn=Lu(i.containerInfo),An(i,r),Xn=h,wn(r),c&4&&s!==null&&s.memoizedState.isDehydrated)try{xs(i.containerInfo)}catch(Z){ut(r,r.return,Z)}Zy&&(Zy=!1,PO(r));break;case 4:c=Xn,Xn=Lu(r.stateNode.containerInfo),An(i,r),wn(r),Xn=c;break;case 12:An(i,r),wn(r);break;case 13:An(i,r),wn(r),r.child.flags&8192&&r.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(aE=Le()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Jy(r,c)));break;case 22:h=r.memoizedState!==null;var P=s!==null&&s.memoizedState!==null,X=Or,ae=Rt;if(Or=X||h,Rt=ae||P,An(i,r),Rt=ae,Or=X,wn(r),c&8192)e:for(i=r.stateNode,i._visibility=h?i._visibility&-2:i._visibility|1,h&&(s===null||P||Or||Rt||Wa(r)),s=null,i=r;;){if(i.tag===5||i.tag===26){if(s===null){P=s=i;try{if(b=P.stateNode,h)T=b.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{k=P.stateNode;var ue=P.memoizedProps.style,Q=ue!=null&&ue.hasOwnProperty("display")?ue.display:null;k.style.display=Q==null||typeof Q=="boolean"?"":(""+Q).trim()}}catch(Z){ut(P,P.return,Z)}}}else if(i.tag===6){if(s===null){P=i;try{P.stateNode.nodeValue=h?"":P.memoizedProps}catch(Z){ut(P,P.return,Z)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(s=c.retryQueue,s!==null&&(c.retryQueue=null,Jy(r,s))));break;case 19:An(i,r),wn(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Jy(r,c)));break;case 30:break;case 21:break;default:An(i,r),wn(r)}}function wn(r){var i=r.flags;if(i&2){try{for(var s,c=r.return;c!==null;){if(OO(c)){s=c;break}c=c.return}if(s==null)throw Error(a(160));switch(s.tag){case 27:var h=s.stateNode,b=Ky(r);vu(r,b,h);break;case 5:var T=s.stateNode;s.flags&32&&(fi(T,""),s.flags&=-33);var k=Ky(r);vu(r,k,T);break;case 3:case 4:var P=s.stateNode.containerInfo,X=Ky(r);Qy(r,X,P);break;default:throw Error(a(161))}}catch(ae){ut(r,r.return,ae)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function PO(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;PO(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function ia(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)LO(r,i.alternate,i),i=i.sibling}function Wa(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:aa(4,i,i.return),Wa(i);break;case 1:dr(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&CO(i,i.return,s),Wa(i);break;case 27:ys(i.stateNode);case 26:case 5:dr(i,i.return),Wa(i);break;case 22:i.memoizedState===null&&Wa(i);break;case 30:Wa(i);break;default:Wa(i)}r=r.sibling}}function oa(r,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,h=r,b=i,T=b.flags;switch(b.tag){case 0:case 11:case 15:oa(h,b,s),ls(4,b);break;case 1:if(oa(h,b,s),c=b,h=c.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(X){ut(c,c.return,X)}if(c=b,h=c.updateQueue,h!==null){var k=c.stateNode;try{var P=h.shared.hiddenCallbacks;if(P!==null)for(h.shared.hiddenCallbacks=null,h=0;h<P.length;h++)fk(P[h],k)}catch(X){ut(c,c.return,X)}}s&&T&64&&NO(b),us(b,b.return);break;case 27:IO(b);case 26:case 5:oa(h,b,s),s&&c===null&&T&4&&kO(b),us(b,b.return);break;case 12:oa(h,b,s);break;case 13:oa(h,b,s),s&&T&4&&BO(h,b);break;case 22:b.memoizedState===null&&oa(h,b,s),us(b,b.return);break;case 30:break;default:oa(h,b,s)}i=i.sibling}}function $y(r,i){var s=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(r!=null&&r.refCount++,s!=null&&Xo(s))}function eE(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Xo(r))}function pr(r,i,s,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)zO(r,i,s,c),i=i.sibling}function zO(r,i,s,c){var h=i.flags;switch(i.tag){case 0:case 11:case 15:pr(r,i,s,c),h&2048&&ls(9,i);break;case 1:pr(r,i,s,c);break;case 3:pr(r,i,s,c),h&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Xo(r)));break;case 12:if(h&2048){pr(r,i,s,c),r=i.stateNode;try{var b=i.memoizedProps,T=b.id,k=b.onPostCommit;typeof k=="function"&&k(T,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(P){ut(i,i.return,P)}}else pr(r,i,s,c);break;case 13:pr(r,i,s,c);break;case 23:break;case 22:b=i.stateNode,T=i.alternate,i.memoizedState!==null?b._visibility&2?pr(r,i,s,c):cs(r,i):b._visibility&2?pr(r,i,s,c):(b._visibility|=2,Di(r,i,s,c,(i.subtreeFlags&10256)!==0)),h&2048&&$y(T,i);break;case 24:pr(r,i,s,c),h&2048&&eE(i.alternate,i);break;default:pr(r,i,s,c)}}function Di(r,i,s,c,h){for(h=h&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var b=r,T=i,k=s,P=c,X=T.flags;switch(T.tag){case 0:case 11:case 15:Di(b,T,k,P,h),ls(8,T);break;case 23:break;case 22:var ae=T.stateNode;T.memoizedState!==null?ae._visibility&2?Di(b,T,k,P,h):cs(b,T):(ae._visibility|=2,Di(b,T,k,P,h)),h&&X&2048&&$y(T.alternate,T);break;case 24:Di(b,T,k,P,h),h&&X&2048&&eE(T.alternate,T);break;default:Di(b,T,k,P,h)}i=i.sibling}}function cs(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=r,c=i,h=c.flags;switch(c.tag){case 22:cs(s,c),h&2048&&$y(c.alternate,c);break;case 24:cs(s,c),h&2048&&eE(c.alternate,c);break;default:cs(s,c)}i=i.sibling}}var ds=8192;function Li(r){if(r.subtreeFlags&ds)for(r=r.child;r!==null;)qO(r),r=r.sibling}function qO(r){switch(r.tag){case 26:Li(r),r.flags&ds&&r.memoizedState!==null&&I9(Xn,r.memoizedState,r.memoizedProps);break;case 5:Li(r);break;case 3:case 4:var i=Xn;Xn=Lu(r.stateNode.containerInfo),Li(r),Xn=i;break;case 22:r.memoizedState===null&&(i=r.alternate,i!==null&&i.memoizedState!==null?(i=ds,ds=16777216,Li(r),ds=i):Li(r));break;default:Li(r)}}function jO(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function ps(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];zt=c,GO(c,r)}jO(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)HO(r),r=r.sibling}function HO(r){switch(r.tag){case 0:case 11:case 15:ps(r),r.flags&2048&&aa(9,r,r.return);break;case 3:ps(r);break;case 12:ps(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Su(r)):ps(r);break;default:ps(r)}}function Su(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];zt=c,GO(c,r)}jO(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:aa(8,i,i.return),Su(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,Su(i));break;default:Su(i)}r=r.sibling}}function GO(r,i){for(;zt!==null;){var s=zt;switch(s.tag){case 0:case 11:case 15:aa(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var c=s.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Xo(s.memoizedState.cache)}if(c=s.child,c!==null)c.return=s,zt=c;else e:for(s=r;zt!==null;){c=zt;var h=c.sibling,b=c.return;if(MO(c),c===s){zt=null;break e}if(h!==null){h.return=b,zt=h;break e}zt=b}}}var W6={getCacheForType:function(r){var i=Jt(Bt),s=i.data.get(r);return s===void 0&&(s=r(),i.data.set(r,s)),s}},X6=typeof WeakMap=="function"?WeakMap:Map,et=0,ft=null,Ge=null,Xe=0,tt=0,Tn=null,sa=!1,Mi=!1,tE=!1,Dr=0,St=0,la=0,Xa=0,nE=0,Fn=0,Fi=0,fs=null,mn=null,rE=!1,aE=0,Au=1/0,wu=null,ua=null,Vt=0,ca=null,Bi=null,Ui=0,iE=0,oE=null,_O=null,gs=0,sE=null;function Rn(){if((et&2)!==0&&Xe!==0)return Xe&-Xe;if(q.T!==null){var r=Ti;return r!==0?r:gE()}return Il()}function VO(){Fn===0&&(Fn=(Xe&536870912)===0||Ze?tn():536870912);var r=Mn.current;return r!==null&&(r.flags|=32),Fn}function xn(r,i,s){(r===ft&&(tt===2||tt===9)||r.cancelPendingCommit!==null)&&(Pi(r,0),da(r,Xe,Fn,!1)),Hn(r,s),((et&2)===0||r!==ft)&&(r===ft&&((et&2)===0&&(Xa|=s),St===4&&da(r,Xe,Fn,!1)),fr(r))}function YO(r,i,s){if((et&6)!==0)throw Error(a(327));var c=!s&&(i&124)===0&&(i&r.expiredLanes)===0||Ct(r,i),h=c?Z6(r,i):cE(r,i,!0),b=c;do{if(h===0){Mi&&!c&&da(r,i,0,!1);break}else{if(s=r.current.alternate,b&&!K6(s)){h=cE(r,i,!1),b=!1;continue}if(h===2){if(b=i,r.errorRecoveryDisabledLanes&b)var T=0;else T=r.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){i=T;e:{var k=r;h=fs;var P=k.current.memoizedState.isDehydrated;if(P&&(Pi(k,T).flags|=256),T=cE(k,T,!1),T!==2){if(tE&&!P){k.errorRecoveryDisabledLanes|=b,Xa|=b,h=4;break e}b=mn,mn=h,b!==null&&(mn===null?mn=b:mn.push.apply(mn,b))}h=T}if(b=!1,h!==2)continue}}if(h===1){Pi(r,0),da(r,i,0,!0);break}e:{switch(c=r,b=h,b){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:da(c,i,Fn,!sa);break e;case 2:mn=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(h=aE+300-Le(),10<h)){if(da(c,i,Fn,!sa),$e(c,0,!0)!==0)break e;c.timeoutHandle=SI(WO.bind(null,c,s,mn,wu,rE,i,Fn,Xa,Fi,sa,b,2,-0,0),h);break e}WO(c,s,mn,wu,rE,i,Fn,Xa,Fi,sa,b,0,-0,0)}}break}while(!0);fr(r)}function WO(r,i,s,c,h,b,T,k,P,X,ae,ue,Q,Z){if(r.timeoutHandle=-1,ue=i.subtreeFlags,(ue&8192||(ue&16785408)===16785408)&&(Ss={stylesheets:null,count:0,unsuspend:O9},qO(i),ue=D9(),ue!==null)){r.cancelPendingCommit=ue(eI.bind(null,r,i,b,s,c,h,T,k,P,ae,1,Q,Z)),da(r,b,T,!X);return}eI(r,i,b,s,c,h,T,k,P)}function K6(r){for(var i=r;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var c=0;c<s.length;c++){var h=s[c],b=h.getSnapshot;h=h.value;try{if(!vn(b(),h))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function da(r,i,s,c){i&=~nE,i&=~Xa,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var h=i;0<h;){var b=31-Ee(h),T=1<<b;c[b]=-1,h&=~T}s!==0&&Gn(r,s,i)}function Tu(){return(et&6)===0?(hs(0),!1):!0}function lE(){if(Ge!==null){if(tt===0)var r=Ge.return;else r=Ge,Tr=Ha=null,Ry(r),Oi=null,is=0,r=Ge;for(;r!==null;)xO(r.alternate,r),r=r.return;Ge=null}}function Pi(r,i){var s=r.timeoutHandle;s!==-1&&(r.timeoutHandle=-1,f9(s)),s=r.cancelPendingCommit,s!==null&&(r.cancelPendingCommit=null,s()),lE(),ft=r,Ge=s=Sr(r.current,null),Xe=i,tt=0,Tn=null,sa=!1,Mi=Ct(r,i),tE=!1,Fi=Fn=nE=Xa=la=St=0,mn=fs=null,rE=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var h=31-Ee(c),b=1<<h;i|=r[h],c&=~b}return Dr=i,Yl(),s}function XO(r,i){qe=null,q.H=du,i===Qo||i===tu?(i=dk(),tt=3):i===lk?(i=dk(),tt=4):tt=i===pO?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Tn=i,Ge===null&&(St=1,mu(r,On(i,r.current)))}function KO(){var r=q.H;return q.H=du,r===null?du:r}function QO(){var r=q.A;return q.A=W6,r}function uE(){St=4,sa||(Xe&4194048)!==Xe&&Mn.current!==null||(Mi=!0),(la&134217727)===0&&(Xa&134217727)===0||ft===null||da(ft,Xe,Fn,!1)}function cE(r,i,s){var c=et;et|=2;var h=KO(),b=QO();(ft!==r||Xe!==i)&&(wu=null,Pi(r,i)),i=!1;var T=St;e:do try{if(tt!==0&&Ge!==null){var k=Ge,P=Tn;switch(tt){case 8:lE(),T=6;break e;case 3:case 2:case 9:case 6:Mn.current===null&&(i=!0);var X=tt;if(tt=0,Tn=null,zi(r,k,P,X),s&&Mi){T=0;break e}break;default:X=tt,tt=0,Tn=null,zi(r,k,P,X)}}Q6(),T=St;break}catch(ae){XO(r,ae)}while(!0);return i&&r.shellSuspendCounter++,Tr=Ha=null,et=c,q.H=h,q.A=b,Ge===null&&(ft=null,Xe=0,Yl()),T}function Q6(){for(;Ge!==null;)ZO(Ge)}function Z6(r,i){var s=et;et|=2;var c=KO(),h=QO();ft!==r||Xe!==i?(wu=null,Au=Le()+500,Pi(r,i)):Mi=Ct(r,i);e:do try{if(tt!==0&&Ge!==null){i=Ge;var b=Tn;t:switch(tt){case 1:tt=0,Tn=null,zi(r,i,b,1);break;case 2:case 9:if(uk(b)){tt=0,Tn=null,JO(i);break}i=function(){tt!==2&&tt!==9||ft!==r||(tt=7),fr(r)},b.then(i,i);break e;case 3:tt=7;break e;case 4:tt=5;break e;case 7:uk(b)?(tt=0,Tn=null,JO(i)):(tt=0,Tn=null,zi(r,i,b,7));break;case 5:var T=null;switch(Ge.tag){case 26:T=Ge.memoizedState;case 5:case 27:var k=Ge;if(!T||LI(T)){tt=0,Tn=null;var P=k.sibling;if(P!==null)Ge=P;else{var X=k.return;X!==null?(Ge=X,Ru(X)):Ge=null}break t}}tt=0,Tn=null,zi(r,i,b,5);break;case 6:tt=0,Tn=null,zi(r,i,b,6);break;case 8:lE(),St=6;break e;default:throw Error(a(462))}}J6();break}catch(ae){XO(r,ae)}while(!0);return Tr=Ha=null,q.H=c,q.A=h,et=s,Ge!==null?0:(ft=null,Xe=0,Yl(),St)}function J6(){for(;Ge!==null&&!he();)ZO(Ge)}function ZO(r){var i=TO(r.alternate,r,Dr);r.memoizedProps=r.pendingProps,i===null?Ru(r):Ge=i}function JO(r){var i=r,s=i.alternate;switch(i.tag){case 15:case 0:i=yO(s,i,i.pendingProps,i.type,void 0,Xe);break;case 11:i=yO(s,i,i.pendingProps,i.type.render,i.ref,Xe);break;case 5:Ry(i);default:xO(s,i),i=Ge=$1(i,Dr),i=TO(s,i,Dr)}r.memoizedProps=r.pendingProps,i===null?Ru(r):Ge=i}function zi(r,i,s,c){Tr=Ha=null,Ry(i),Oi=null,is=0;var h=i.return;try{if(j6(r,h,i,s,Xe)){St=1,mu(r,On(s,r.current)),Ge=null;return}}catch(b){if(h!==null)throw Ge=h,b;St=1,mu(r,On(s,r.current)),Ge=null;return}i.flags&32768?(Ze||c===1?r=!0:Mi||(Xe&536870912)!==0?r=!1:(sa=r=!0,(c===2||c===9||c===3||c===6)&&(c=Mn.current,c!==null&&c.tag===13&&(c.flags|=16384))),$O(i,r)):Ru(i)}function Ru(r){var i=r;do{if((i.flags&32768)!==0){$O(i,sa);return}r=i.return;var s=G6(i.alternate,i,Dr);if(s!==null){Ge=s;return}if(i=i.sibling,i!==null){Ge=i;return}Ge=i=r}while(i!==null);St===0&&(St=5)}function $O(r,i){do{var s=_6(r.alternate,r);if(s!==null){s.flags&=32767,Ge=s;return}if(s=r.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(r=r.sibling,r!==null)){Ge=r;return}Ge=r=s}while(r!==null);St=6,Ge=null}function eI(r,i,s,c,h,b,T,k,P){r.cancelPendingCommit=null;do xu();while(Vt!==0);if((et&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(b=i.lanes|i.childLanes,b|=ey,br(r,s,b,T,k,P),r===ft&&(Ge=ft=null,Xe=0),Bi=i,ca=r,Ui=s,iE=b,oE=h,_O=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,n9(lt,function(){return iI(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=q.T,q.T=null,h=K.p,K.p=2,T=et,et|=4;try{V6(r,i,s)}finally{et=T,K.p=h,q.T=c}}Vt=1,tI(),nI(),rI()}}function tI(){if(Vt===1){Vt=0;var r=ca,i=Bi,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=q.T,q.T=null;var c=K.p;K.p=2;var h=et;et|=4;try{UO(i,r);var b=AE,T=G1(r.containerInfo),k=b.focusedElem,P=b.selectionRange;if(T!==k&&k&&k.ownerDocument&&H1(k.ownerDocument.documentElement,k)){if(P!==null&&Kb(k)){var X=P.start,ae=P.end;if(ae===void 0&&(ae=X),"selectionStart"in k)k.selectionStart=X,k.selectionEnd=Math.min(ae,k.value.length);else{var ue=k.ownerDocument||document,Q=ue&&ue.defaultView||window;if(Q.getSelection){var Z=Q.getSelection(),ke=k.textContent.length,xe=Math.min(P.start,ke),ot=P.end===void 0?xe:Math.min(P.end,ke);!Z.extend&&xe>ot&&(T=ot,ot=xe,xe=T);var _=j1(k,xe),G=j1(k,ot);if(_&&G&&(Z.rangeCount!==1||Z.anchorNode!==_.node||Z.anchorOffset!==_.offset||Z.focusNode!==G.node||Z.focusOffset!==G.offset)){var W=ue.createRange();W.setStart(_.node,_.offset),Z.removeAllRanges(),xe>ot?(Z.addRange(W),Z.extend(G.node,G.offset)):(W.setEnd(G.node,G.offset),Z.addRange(W))}}}}for(ue=[],Z=k;Z=Z.parentNode;)Z.nodeType===1&&ue.push({element:Z,left:Z.scrollLeft,top:Z.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<ue.length;k++){var se=ue[k];se.element.scrollLeft=se.left,se.element.scrollTop=se.top}}Pu=!!SE,AE=SE=null}finally{et=h,K.p=c,q.T=s}}r.current=i,Vt=2}}function nI(){if(Vt===2){Vt=0;var r=ca,i=Bi,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=q.T,q.T=null;var c=K.p;K.p=2;var h=et;et|=4;try{LO(r,i.alternate,i)}finally{et=h,K.p=c,q.T=s}}Vt=3}}function rI(){if(Vt===4||Vt===3){Vt=0,ye();var r=ca,i=Bi,s=Ui,c=_O;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Vt=5:(Vt=0,Bi=ca=null,aI(r,r.pendingLanes));var h=r.pendingLanes;if(h===0&&(ua=null),kn(s),i=i.stateNode,oe&&typeof oe.onCommitFiberRoot=="function")try{oe.onCommitFiberRoot(J,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=q.T,h=K.p,K.p=2,q.T=null;try{for(var b=r.onRecoverableError,T=0;T<c.length;T++){var k=c[T];b(k.value,{componentStack:k.stack})}}finally{q.T=i,K.p=h}}(Ui&3)!==0&&xu(),fr(r),h=r.pendingLanes,(s&4194090)!==0&&(h&42)!==0?r===sE?gs++:(gs=0,sE=r):gs=0,hs(0)}}function aI(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,Xo(i)))}function xu(r){return tI(),nI(),rI(),iI()}function iI(){if(Vt!==5)return!1;var r=ca,i=iE;iE=0;var s=kn(Ui),c=q.T,h=K.p;try{K.p=32>s?32:s,q.T=null,s=oE,oE=null;var b=ca,T=Ui;if(Vt=0,Bi=ca=null,Ui=0,(et&6)!==0)throw Error(a(331));var k=et;if(et|=4,HO(b.current),zO(b,b.current,T,s),et=k,hs(0,!1),oe&&typeof oe.onPostCommitFiberRoot=="function")try{oe.onPostCommitFiberRoot(J,b)}catch{}return!0}finally{K.p=h,q.T=c,aI(r,i)}}function oI(r,i,s){i=On(s,i),i=zy(r.stateNode,i,2),r=ea(r,i,2),r!==null&&(Hn(r,2),fr(r))}function ut(r,i,s){if(r.tag===3)oI(r,r,s);else for(;i!==null;){if(i.tag===3){oI(i,r,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(ua===null||!ua.has(c))){r=On(s,r),s=cO(2),c=ea(i,s,2),c!==null&&(dO(s,c,i,r),Hn(c,2),fr(c));break}}i=i.return}}function dE(r,i,s){var c=r.pingCache;if(c===null){c=r.pingCache=new X6;var h=new Set;c.set(i,h)}else h=c.get(i),h===void 0&&(h=new Set,c.set(i,h));h.has(s)||(tE=!0,h.add(s),r=$6.bind(null,r,i,s),i.then(r,r))}function $6(r,i,s){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&s,r.warmLanes&=~s,ft===r&&(Xe&s)===s&&(St===4||St===3&&(Xe&62914560)===Xe&&300>Le()-aE?(et&2)===0&&Pi(r,0):nE|=s,Fi===Xe&&(Fi=0)),fr(r)}function sI(r,i){i===0&&(i=bt()),r=vi(r,i),r!==null&&(Hn(r,i),fr(r))}function e9(r){var i=r.memoizedState,s=0;i!==null&&(s=i.retryLane),sI(r,s)}function t9(r,i){var s=0;switch(r.tag){case 13:var c=r.stateNode,h=r.memoizedState;h!==null&&(s=h.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),sI(r,s)}function n9(r,i){return Dt(r,i)}var Nu=null,qi=null,pE=!1,Cu=!1,fE=!1,Ka=0;function fr(r){r!==qi&&r.next===null&&(qi===null?Nu=qi=r:qi=qi.next=r),Cu=!0,pE||(pE=!0,a9())}function hs(r,i){if(!fE&&Cu){fE=!0;do for(var s=!1,c=Nu;c!==null;){if(r!==0){var h=c.pendingLanes;if(h===0)var b=0;else{var T=c.suspendedLanes,k=c.pingedLanes;b=(1<<31-Ee(42|r)+1)-1,b&=h&~(T&~k),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(s=!0,dI(c,b))}else b=Xe,b=$e(c,c===ft?b:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(b&3)===0||Ct(c,b)||(s=!0,dI(c,b));c=c.next}while(s);fE=!1}}function r9(){lI()}function lI(){Cu=pE=!1;var r=0;Ka!==0&&(p9()&&(r=Ka),Ka=0);for(var i=Le(),s=null,c=Nu;c!==null;){var h=c.next,b=uI(c,i);b===0?(c.next=null,s===null?Nu=h:s.next=h,h===null&&(qi=s)):(s=c,(r!==0||(b&3)!==0)&&(Cu=!0)),c=h}hs(r)}function uI(r,i){for(var s=r.suspendedLanes,c=r.pingedLanes,h=r.expirationTimes,b=r.pendingLanes&-62914561;0<b;){var T=31-Ee(b),k=1<<T,P=h[T];P===-1?((k&s)===0||(k&c)!==0)&&(h[T]=Ft(k,i)):P<=i&&(r.expiredLanes|=k),b&=~k}if(i=ft,s=Xe,s=$e(r,r===i?s:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,s===0||r===i&&(tt===2||tt===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&Lt(c),r.callbackNode=null,r.callbackPriority=0;if((s&3)===0||Ct(r,s)){if(i=s&-s,i===r.callbackPriority)return i;switch(c!==null&&Lt(c),kn(s)){case 2:case 8:s=Ie;break;case 32:s=lt;break;case 268435456:s=ze;break;default:s=lt}return c=cI.bind(null,r),s=Dt(s,c),r.callbackPriority=i,r.callbackNode=s,i}return c!==null&&c!==null&&Lt(c),r.callbackPriority=2,r.callbackNode=null,2}function cI(r,i){if(Vt!==0&&Vt!==5)return r.callbackNode=null,r.callbackPriority=0,null;var s=r.callbackNode;if(xu()&&r.callbackNode!==s)return null;var c=Xe;return c=$e(r,r===ft?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(YO(r,c,i),uI(r,Le()),r.callbackNode!=null&&r.callbackNode===s?cI.bind(null,r):null)}function dI(r,i){if(xu())return null;YO(r,i,!0)}function a9(){g9(function(){(et&6)!==0?Dt(Ce,r9):lI()})}function gE(){return Ka===0&&(Ka=tn()),Ka}function pI(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:zl(""+r)}function fI(r,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,r.id&&s.setAttribute("form",r.id),i.parentNode.insertBefore(s,i),r=new FormData(r),s.parentNode.removeChild(s),r}function i9(r,i,s,c,h){if(i==="submit"&&s&&s.stateNode===h){var b=pI((h[Zt]||null).action),T=c.submitter;T&&(i=(i=T[Zt]||null)?pI(i.formAction):T.getAttribute("formAction"),i!==null&&(b=i,T=null));var k=new Gl("action","action",null,c,h);r.push({event:k,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Ka!==0){var P=T?fI(h,T):new FormData(h);My(s,{pending:!0,data:P,method:h.method,action:b},null,P)}}else typeof b=="function"&&(k.preventDefault(),P=T?fI(h,T):new FormData(h),My(s,{pending:!0,data:P,method:h.method,action:b},b,P))},currentTarget:h}]})}}for(var hE=0;hE<$b.length;hE++){var mE=$b[hE],o9=mE.toLowerCase(),s9=mE[0].toUpperCase()+mE.slice(1);Wn(o9,"on"+s9)}Wn(Y1,"onAnimationEnd"),Wn(W1,"onAnimationIteration"),Wn(X1,"onAnimationStart"),Wn("dblclick","onDoubleClick"),Wn("focusin","onFocus"),Wn("focusout","onBlur"),Wn(T6,"onTransitionRun"),Wn(R6,"onTransitionStart"),Wn(x6,"onTransitionCancel"),Wn(K1,"onTransitionEnd"),Yn("onMouseEnter",["mouseout","mouseover"]),Yn("onMouseLeave",["mouseout","mouseover"]),Yn("onPointerEnter",["pointerout","pointerover"]),Yn("onPointerLeave",["pointerout","pointerover"]),cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ms="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),l9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ms));function gI(r,i){i=(i&4)!==0;for(var s=0;s<r.length;s++){var c=r[s],h=c.event;c=c.listeners;e:{var b=void 0;if(i)for(var T=c.length-1;0<=T;T--){var k=c[T],P=k.instance,X=k.currentTarget;if(k=k.listener,P!==b&&h.isPropagationStopped())break e;b=k,h.currentTarget=X;try{b(h)}catch(ae){hu(ae)}h.currentTarget=null,b=P}else for(T=0;T<c.length;T++){if(k=c[T],P=k.instance,X=k.currentTarget,k=k.listener,P!==b&&h.isPropagationStopped())break e;b=k,h.currentTarget=X;try{b(h)}catch(ae){hu(ae)}h.currentTarget=null,b=P}}}}function _e(r,i){var s=i[ko];s===void 0&&(s=i[ko]=new Set);var c=r+"__bubble";s.has(c)||(hI(i,r,2,!1),s.add(c))}function bE(r,i,s){var c=0;i&&(c|=4),hI(s,r,c,i)}var ku="_reactListening"+Math.random().toString(36).slice(2);function yE(r){if(!r[ku]){r[ku]=!0,Dl.forEach(function(s){s!=="selectionchange"&&(l9.has(s)||bE(s,!1,r),bE(s,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[ku]||(i[ku]=!0,bE("selectionchange",!1,i))}}function hI(r,i,s,c){switch(zI(i)){case 2:var h=F9;break;case 8:h=B9;break;default:h=DE}s=h.bind(null,i,s,r),h=void 0,!qb||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),c?h!==void 0?r.addEventListener(i,s,{capture:!0,passive:h}):r.addEventListener(i,s,!0):h!==void 0?r.addEventListener(i,s,{passive:h}):r.addEventListener(i,s,!1)}function EE(r,i,s,c,h){var b=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var T=c.tag;if(T===3||T===4){var k=c.stateNode.containerInfo;if(k===h)break;if(T===4)for(T=c.return;T!==null;){var P=T.tag;if((P===3||P===4)&&T.stateNode.containerInfo===h)return;T=T.return}for(;k!==null;){if(T=En(k),T===null)return;if(P=T.tag,P===5||P===6||P===26||P===27){c=b=T;continue e}k=k.parentNode}}c=c.return}A1(function(){var X=b,ae=Pb(s),ue=[];e:{var Q=Q1.get(r);if(Q!==void 0){var Z=Gl,ke=r;switch(r){case"keypress":if(jl(s)===0)break e;case"keydown":case"keyup":Z=n6;break;case"focusin":ke="focus",Z=_b;break;case"focusout":ke="blur",Z=_b;break;case"beforeblur":case"afterblur":Z=_b;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=R1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=_5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=i6;break;case Y1:case W1:case X1:Z=W5;break;case K1:Z=s6;break;case"scroll":case"scrollend":Z=H5;break;case"wheel":Z=u6;break;case"copy":case"cut":case"paste":Z=K5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=N1;break;case"toggle":case"beforetoggle":Z=d6}var xe=(i&4)!==0,ot=!xe&&(r==="scroll"||r==="scrollend"),_=xe?Q!==null?Q+"Capture":null:Q;xe=[];for(var G=X,W;G!==null;){var se=G;if(W=se.stateNode,se=se.tag,se!==5&&se!==26&&se!==27||W===null||_===null||(se=Fo(G,_),se!=null&&xe.push(bs(G,se,W))),ot)break;G=G.return}0<xe.length&&(Q=new Z(Q,ke,null,s,ae),ue.push({event:Q,listeners:xe}))}}if((i&7)===0){e:{if(Q=r==="mouseover"||r==="pointerover",Z=r==="mouseout"||r==="pointerout",Q&&s!==Ub&&(ke=s.relatedTarget||s.fromElement)&&(En(ke)||ke[_n]))break e;if((Z||Q)&&(Q=ae.window===ae?ae:(Q=ae.ownerDocument)?Q.defaultView||Q.parentWindow:window,Z?(ke=s.relatedTarget||s.toElement,Z=X,ke=ke?En(ke):null,ke!==null&&(ot=l(ke),xe=ke.tag,ke!==ot||xe!==5&&xe!==27&&xe!==6)&&(ke=null)):(Z=null,ke=X),Z!==ke)){if(xe=R1,se="onMouseLeave",_="onMouseEnter",G="mouse",(r==="pointerout"||r==="pointerover")&&(xe=N1,se="onPointerLeave",_="onPointerEnter",G="pointer"),ot=Z==null?Q:Da(Z),W=ke==null?Q:Da(ke),Q=new xe(se,G+"leave",Z,s,ae),Q.target=ot,Q.relatedTarget=W,se=null,En(ae)===X&&(xe=new xe(_,G+"enter",ke,s,ae),xe.target=W,xe.relatedTarget=ot,se=xe),ot=se,Z&&ke)t:{for(xe=Z,_=ke,G=0,W=xe;W;W=ji(W))G++;for(W=0,se=_;se;se=ji(se))W++;for(;0<G-W;)xe=ji(xe),G--;for(;0<W-G;)_=ji(_),W--;for(;G--;){if(xe===_||_!==null&&xe===_.alternate)break t;xe=ji(xe),_=ji(_)}xe=null}else xe=null;Z!==null&&mI(ue,Q,Z,xe,!1),ke!==null&&ot!==null&&mI(ue,ot,ke,xe,!0)}}e:{if(Q=X?Da(X):window,Z=Q.nodeName&&Q.nodeName.toLowerCase(),Z==="select"||Z==="input"&&Q.type==="file")var ve=F1;else if(L1(Q))if(B1)ve=S6;else{ve=E6;var je=y6}else Z=Q.nodeName,!Z||Z.toLowerCase()!=="input"||Q.type!=="checkbox"&&Q.type!=="radio"?X&&Bb(X.elementType)&&(ve=F1):ve=v6;if(ve&&(ve=ve(r,X))){M1(ue,ve,s,ae);break e}je&&je(r,Q,X),r==="focusout"&&X&&Q.type==="number"&&X.memoizedProps.value!=null&&pn(Q,"number",Q.value)}switch(je=X?Da(X):window,r){case"focusin":(L1(je)||je.contentEditable==="true")&&(bi=je,Qb=X,Go=null);break;case"focusout":Go=Qb=bi=null;break;case"mousedown":Zb=!0;break;case"contextmenu":case"mouseup":case"dragend":Zb=!1,_1(ue,s,ae);break;case"selectionchange":if(w6)break;case"keydown":case"keyup":_1(ue,s,ae)}var Ae;if(Yb)e:{switch(r){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else mi?I1(r,s)&&(Ne="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Ne="onCompositionStart");Ne&&(C1&&s.locale!=="ko"&&(mi||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&mi&&(Ae=w1()):(Qr=ae,jb="value"in Qr?Qr.value:Qr.textContent,mi=!0)),je=Ou(X,Ne),0<je.length&&(Ne=new x1(Ne,r,null,s,ae),ue.push({event:Ne,listeners:je}),Ae?Ne.data=Ae:(Ae=D1(s),Ae!==null&&(Ne.data=Ae)))),(Ae=f6?g6(r,s):h6(r,s))&&(Ne=Ou(X,"onBeforeInput"),0<Ne.length&&(je=new x1("onBeforeInput","beforeinput",null,s,ae),ue.push({event:je,listeners:Ne}),je.data=Ae)),i9(ue,r,X,s,ae)}gI(ue,i)})}function bs(r,i,s){return{instance:r,listener:i,currentTarget:s}}function Ou(r,i){for(var s=i+"Capture",c=[];r!==null;){var h=r,b=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||b===null||(h=Fo(r,s),h!=null&&c.unshift(bs(r,h,b)),h=Fo(r,i),h!=null&&c.push(bs(r,h,b))),r.tag===3)return c;r=r.return}return[]}function ji(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function mI(r,i,s,c,h){for(var b=i._reactName,T=[];s!==null&&s!==c;){var k=s,P=k.alternate,X=k.stateNode;if(k=k.tag,P!==null&&P===c)break;k!==5&&k!==26&&k!==27||X===null||(P=X,h?(X=Fo(s,b),X!=null&&T.unshift(bs(s,X,P))):h||(X=Fo(s,b),X!=null&&T.push(bs(s,X,P)))),s=s.return}T.length!==0&&r.push({event:i,listeners:T})}var u9=/\r\n?/g,c9=/\u0000|\uFFFD/g;function bI(r){return(typeof r=="string"?r:""+r).replace(u9,`
49
- `).replace(c9,"")}function yI(r,i){return i=bI(i),bI(r)===i}function Iu(){}function it(r,i,s,c,h,b){switch(s){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||fi(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&fi(r,""+c);break;case"className":sr(r,"class",c);break;case"tabIndex":sr(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":sr(r,s,c);break;case"style":v1(r,c,b);break;case"data":if(i!=="object"){sr(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||s!=="href")){r.removeAttribute(s);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=zl(""+c),r.setAttribute(s,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(s==="formAction"?(i!=="input"&&it(r,i,"name",h.name,h,null),it(r,i,"formEncType",h.formEncType,h,null),it(r,i,"formMethod",h.formMethod,h,null),it(r,i,"formTarget",h.formTarget,h,null)):(it(r,i,"encType",h.encType,h,null),it(r,i,"method",h.method,h,null),it(r,i,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=zl(""+c),r.setAttribute(s,c);break;case"onClick":c!=null&&(r.onclick=Iu);break;case"onScroll":c!=null&&_e("scroll",r);break;case"onScrollEnd":c!=null&&_e("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}s=zl(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""+c):r.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":c===!0?r.setAttribute(s,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,c):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(s,c):r.removeAttribute(s);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(s):r.setAttribute(s,c);break;case"popover":_e("beforetoggle",r),_e("toggle",r),Gt(r,"popover",c);break;case"xlinkActuate":nn(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":nn(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":nn(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":nn(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":nn(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":nn(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":nn(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":nn(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":nn(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Gt(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=q5.get(s)||s,Gt(r,s,c))}}function vE(r,i,s,c,h,b){switch(s){case"style":v1(r,c,b);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"children":typeof c=="string"?fi(r,c):(typeof c=="number"||typeof c=="bigint")&&fi(r,""+c);break;case"onScroll":c!=null&&_e("scroll",r);break;case"onScrollEnd":c!=null&&_e("scrollend",r);break;case"onClick":c!=null&&(r.onclick=Iu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ll.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(h=s.endsWith("Capture"),i=s.slice(2,h?s.length-7:void 0),b=r[Zt]||null,b=b!=null?b[s]:null,typeof b=="function"&&r.removeEventListener(i,b,h),typeof c=="function")){typeof b!="function"&&b!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(i,c,h);break e}s in r?r[s]=c:c===!0?r.setAttribute(s,""):Gt(r,s,c)}}}function Yt(r,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",r),_e("load",r);var c=!1,h=!1,b;for(b in s)if(s.hasOwnProperty(b)){var T=s[b];if(T!=null)switch(b){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:it(r,i,b,T,s,null)}}h&&it(r,i,"srcSet",s.srcSet,s,null),c&&it(r,i,"src",s.src,s,null);return;case"input":_e("invalid",r);var k=b=T=h=null,P=null,X=null;for(c in s)if(s.hasOwnProperty(c)){var ae=s[c];if(ae!=null)switch(c){case"name":h=ae;break;case"type":T=ae;break;case"checked":P=ae;break;case"defaultChecked":X=ae;break;case"value":b=ae;break;case"defaultValue":k=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(a(137,i));break;default:it(r,i,c,ae,s,null)}}yr(r,b,k,P,X,T,h,!1),D(r);return;case"select":_e("invalid",r),c=T=b=null;for(h in s)if(s.hasOwnProperty(h)&&(k=s[h],k!=null))switch(h){case"value":b=k;break;case"defaultValue":T=k;break;case"multiple":c=k;default:it(r,i,h,k,s,null)}i=b,s=T,r.multiple=!!c,i!=null?Er(r,!!c,i,!1):s!=null&&Er(r,!!c,s,!0);return;case"textarea":_e("invalid",r),b=h=c=null;for(T in s)if(s.hasOwnProperty(T)&&(k=s[T],k!=null))switch(T){case"value":c=k;break;case"defaultValue":h=k;break;case"children":b=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(a(91));break;default:it(r,i,T,k,s,null)}y1(r,c,h,b),D(r);return;case"option":for(P in s)if(s.hasOwnProperty(P)&&(c=s[P],c!=null))switch(P){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:it(r,i,P,c,s,null)}return;case"dialog":_e("beforetoggle",r),_e("toggle",r),_e("cancel",r),_e("close",r);break;case"iframe":case"object":_e("load",r);break;case"video":case"audio":for(c=0;c<ms.length;c++)_e(ms[c],r);break;case"image":_e("error",r),_e("load",r);break;case"details":_e("toggle",r);break;case"embed":case"source":case"link":_e("error",r),_e("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(X in s)if(s.hasOwnProperty(X)&&(c=s[X],c!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:it(r,i,X,c,s,null)}return;default:if(Bb(i)){for(ae in s)s.hasOwnProperty(ae)&&(c=s[ae],c!==void 0&&vE(r,i,ae,c,s,void 0));return}}for(k in s)s.hasOwnProperty(k)&&(c=s[k],c!=null&&it(r,i,k,c,s,null))}function d9(r,i,s,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,b=null,T=null,k=null,P=null,X=null,ae=null;for(Z in s){var ue=s[Z];if(s.hasOwnProperty(Z)&&ue!=null)switch(Z){case"checked":break;case"value":break;case"defaultValue":P=ue;default:c.hasOwnProperty(Z)||it(r,i,Z,null,c,ue)}}for(var Q in c){var Z=c[Q];if(ue=s[Q],c.hasOwnProperty(Q)&&(Z!=null||ue!=null))switch(Q){case"type":b=Z;break;case"name":h=Z;break;case"checked":X=Z;break;case"defaultChecked":ae=Z;break;case"value":T=Z;break;case"defaultValue":k=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,i));break;default:Z!==ue&&it(r,i,Q,Z,c,ue)}}lr(r,T,k,P,X,ae,b,h);return;case"select":Z=T=k=Q=null;for(b in s)if(P=s[b],s.hasOwnProperty(b)&&P!=null)switch(b){case"value":break;case"multiple":Z=P;default:c.hasOwnProperty(b)||it(r,i,b,null,c,P)}for(h in c)if(b=c[h],P=s[h],c.hasOwnProperty(h)&&(b!=null||P!=null))switch(h){case"value":Q=b;break;case"defaultValue":k=b;break;case"multiple":T=b;default:b!==P&&it(r,i,h,b,c,P)}i=k,s=T,c=Z,Q!=null?Er(r,!!s,Q,!1):!!c!=!!s&&(i!=null?Er(r,!!s,i,!0):Er(r,!!s,s?[]:"",!1));return;case"textarea":Z=Q=null;for(k in s)if(h=s[k],s.hasOwnProperty(k)&&h!=null&&!c.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:it(r,i,k,null,c,h)}for(T in c)if(h=c[T],b=s[T],c.hasOwnProperty(T)&&(h!=null||b!=null))switch(T){case"value":Q=h;break;case"defaultValue":Z=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==b&&it(r,i,T,h,c,b)}Kr(r,Q,Z);return;case"option":for(var ke in s)if(Q=s[ke],s.hasOwnProperty(ke)&&Q!=null&&!c.hasOwnProperty(ke))switch(ke){case"selected":r.selected=!1;break;default:it(r,i,ke,null,c,Q)}for(P in c)if(Q=c[P],Z=s[P],c.hasOwnProperty(P)&&Q!==Z&&(Q!=null||Z!=null))switch(P){case"selected":r.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:it(r,i,P,Q,c,Z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var xe in s)Q=s[xe],s.hasOwnProperty(xe)&&Q!=null&&!c.hasOwnProperty(xe)&&it(r,i,xe,null,c,Q);for(X in c)if(Q=c[X],Z=s[X],c.hasOwnProperty(X)&&Q!==Z&&(Q!=null||Z!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,i));break;default:it(r,i,X,Q,c,Z)}return;default:if(Bb(i)){for(var ot in s)Q=s[ot],s.hasOwnProperty(ot)&&Q!==void 0&&!c.hasOwnProperty(ot)&&vE(r,i,ot,void 0,c,Q);for(ae in c)Q=c[ae],Z=s[ae],!c.hasOwnProperty(ae)||Q===Z||Q===void 0&&Z===void 0||vE(r,i,ae,Q,c,Z);return}}for(var _ in s)Q=s[_],s.hasOwnProperty(_)&&Q!=null&&!c.hasOwnProperty(_)&&it(r,i,_,null,c,Q);for(ue in c)Q=c[ue],Z=s[ue],!c.hasOwnProperty(ue)||Q===Z||Q==null&&Z==null||it(r,i,ue,Q,c,Z)}var SE=null,AE=null;function Du(r){return r.nodeType===9?r:r.ownerDocument}function EI(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vI(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function wE(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var TE=null;function p9(){var r=window.event;return r&&r.type==="popstate"?r===TE?!1:(TE=r,!0):(TE=null,!1)}var SI=typeof setTimeout=="function"?setTimeout:void 0,f9=typeof clearTimeout=="function"?clearTimeout:void 0,AI=typeof Promise=="function"?Promise:void 0,g9=typeof queueMicrotask=="function"?queueMicrotask:typeof AI<"u"?function(r){return AI.resolve(null).then(r).catch(h9)}:SI;function h9(r){setTimeout(function(){throw r})}function pa(r){return r==="head"}function wI(r,i){var s=i,c=0,h=0;do{var b=s.nextSibling;if(r.removeChild(s),b&&b.nodeType===8)if(s=b.data,s==="/$"){if(0<c&&8>c){s=c;var T=r.ownerDocument;if(s&1&&ys(T.documentElement),s&2&&ys(T.body),s&4)for(s=T.head,ys(s),T=s.firstChild;T;){var k=T.nextSibling,P=T.nodeName;T[or]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&T.rel.toLowerCase()==="stylesheet"||s.removeChild(T),T=k}}if(h===0){r.removeChild(b),xs(i);return}h--}else s==="$"||s==="$?"||s==="$!"?h++:c=s.charCodeAt(0)-48;else c=0;s=b}while(s);xs(i)}function RE(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":RE(s),Oo(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function m9(r,i,s,c){for(;r.nodeType===1;){var h=s;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[or])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(b=r.getAttribute("rel"),b==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(b!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(b=r.getAttribute("src"),(b!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&b&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var b=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===b)return r}else return r;if(r=Kn(r.nextSibling),r===null)break}return null}function b9(r,i,s){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=Kn(r.nextSibling),r===null))return null;return r}function xE(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function y9(r,i){var s=r.ownerDocument;if(r.data!=="$?"||s.readyState==="complete")i();else{var c=function(){i(),s.removeEventListener("DOMContentLoaded",c)};s.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function Kn(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return r}var NE=null;function TI(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return r;i--}else s==="/$"&&i++}r=r.previousSibling}return null}function RI(r,i,s){switch(i=Du(s),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function ys(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);Oo(r)}var Bn=new Map,xI=new Set;function Lu(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Lr=K.d;K.d={f:E9,r:v9,D:S9,C:A9,L:w9,m:T9,X:x9,S:R9,M:N9};function E9(){var r=Lr.f(),i=Tu();return r||i}function v9(r){var i=Yr(r);i!==null&&i.tag===5&&i.type==="form"?Yk(i):Lr.r(r)}var Hi=typeof document>"u"?null:document;function NI(r,i,s){var c=Hi;if(c&&typeof i=="string"&&i){var h=Ye(i);h='link[rel="'+r+'"][href="'+h+'"]',typeof s=="string"&&(h+='[crossorigin="'+s+'"]'),xI.has(h)||(xI.add(h),r={rel:r,crossOrigin:s,href:i},c.querySelector(h)===null&&(i=c.createElement("link"),Yt(i,"link",r),kt(i),c.head.appendChild(i)))}}function S9(r){Lr.D(r),NI("dns-prefetch",r,null)}function A9(r,i){Lr.C(r,i),NI("preconnect",r,i)}function w9(r,i,s){Lr.L(r,i,s);var c=Hi;if(c&&r&&i){var h='link[rel="preload"][as="'+Ye(i)+'"]';i==="image"&&s&&s.imageSrcSet?(h+='[imagesrcset="'+Ye(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(h+='[imagesizes="'+Ye(s.imageSizes)+'"]')):h+='[href="'+Ye(r)+'"]';var b=h;switch(i){case"style":b=Gi(r);break;case"script":b=_i(r)}Bn.has(b)||(r=g({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:r,as:i},s),Bn.set(b,r),c.querySelector(h)!==null||i==="style"&&c.querySelector(Es(b))||i==="script"&&c.querySelector(vs(b))||(i=c.createElement("link"),Yt(i,"link",r),kt(i),c.head.appendChild(i)))}}function T9(r,i){Lr.m(r,i);var s=Hi;if(s&&r){var c=i&&typeof i.as=="string"?i.as:"script",h='link[rel="modulepreload"][as="'+Ye(c)+'"][href="'+Ye(r)+'"]',b=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=_i(r)}if(!Bn.has(b)&&(r=g({rel:"modulepreload",href:r},i),Bn.set(b,r),s.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(vs(b)))return}c=s.createElement("link"),Yt(c,"link",r),kt(c),s.head.appendChild(c)}}}function R9(r,i,s){Lr.S(r,i,s);var c=Hi;if(c&&r){var h=Wr(c).hoistableStyles,b=Gi(r);i=i||"default";var T=h.get(b);if(!T){var k={loading:0,preload:null};if(T=c.querySelector(Es(b)))k.loading=5;else{r=g({rel:"stylesheet",href:r,"data-precedence":i},s),(s=Bn.get(b))&&CE(r,s);var P=T=c.createElement("link");kt(P),Yt(P,"link",r),P._p=new Promise(function(X,ae){P.onload=X,P.onerror=ae}),P.addEventListener("load",function(){k.loading|=1}),P.addEventListener("error",function(){k.loading|=2}),k.loading|=4,Mu(T,i,c)}T={type:"stylesheet",instance:T,count:1,state:k},h.set(b,T)}}}function x9(r,i){Lr.X(r,i);var s=Hi;if(s&&r){var c=Wr(s).hoistableScripts,h=_i(r),b=c.get(h);b||(b=s.querySelector(vs(h)),b||(r=g({src:r,async:!0},i),(i=Bn.get(h))&&kE(r,i),b=s.createElement("script"),kt(b),Yt(b,"link",r),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(h,b))}}function N9(r,i){Lr.M(r,i);var s=Hi;if(s&&r){var c=Wr(s).hoistableScripts,h=_i(r),b=c.get(h);b||(b=s.querySelector(vs(h)),b||(r=g({src:r,async:!0,type:"module"},i),(i=Bn.get(h))&&kE(r,i),b=s.createElement("script"),kt(b),Yt(b,"link",r),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(h,b))}}function CI(r,i,s,c){var h=(h=ce.current)?Lu(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Gi(s.href),s=Wr(h).hoistableStyles,c=s.get(i),c||(c={type:"style",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=Gi(s.href);var b=Wr(h).hoistableStyles,T=b.get(r);if(T||(h=h.ownerDocument||h,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(r,T),(b=h.querySelector(Es(r)))&&!b._p&&(T.instance=b,T.state.loading=5),Bn.has(r)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Bn.set(r,s),b||C9(h,r,s,T.state))),i&&c===null)throw Error(a(528,""));return T}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=_i(s),s=Wr(h).hoistableScripts,c=s.get(i),c||(c={type:"script",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function Gi(r){return'href="'+Ye(r)+'"'}function Es(r){return'link[rel="stylesheet"]['+r+"]"}function kI(r){return g({},r,{"data-precedence":r.precedence,precedence:null})}function C9(r,i,s,c){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),Yt(i,"link",s),kt(i),r.head.appendChild(i))}function _i(r){return'[src="'+Ye(r)+'"]'}function vs(r){return"script[async]"+r}function OI(r,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+Ye(s.href)+'"]');if(c)return i.instance=c,kt(c),c;var h=g({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),kt(c),Yt(c,"style",h),Mu(c,s.precedence,r),i.instance=c;case"stylesheet":h=Gi(s.href);var b=r.querySelector(Es(h));if(b)return i.state.loading|=4,i.instance=b,kt(b),b;c=kI(s),(h=Bn.get(h))&&CE(c,h),b=(r.ownerDocument||r).createElement("link"),kt(b);var T=b;return T._p=new Promise(function(k,P){T.onload=k,T.onerror=P}),Yt(b,"link",c),i.state.loading|=4,Mu(b,s.precedence,r),i.instance=b;case"script":return b=_i(s.src),(h=r.querySelector(vs(b)))?(i.instance=h,kt(h),h):(c=s,(h=Bn.get(b))&&(c=g({},s),kE(c,h)),r=r.ownerDocument||r,h=r.createElement("script"),kt(h),Yt(h,"link",c),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,Mu(c,s.precedence,r));return i.instance}function Mu(r,i,s){for(var c=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,b=h,T=0;T<c.length;T++){var k=c[T];if(k.dataset.precedence===i)b=k;else if(b!==h)break}b?b.parentNode.insertBefore(r,b.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(r,i.firstChild))}function CE(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function kE(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var Fu=null;function II(r,i,s){if(Fu===null){var c=new Map,h=Fu=new Map;h.set(s,c)}else h=Fu,c=h.get(s),c||(c=new Map,h.set(s,c));if(c.has(r))return c;for(c.set(r,null),s=s.getElementsByTagName(r),h=0;h<s.length;h++){var b=s[h];if(!(b[or]||b[wt]||r==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var T=b.getAttribute(i)||"";T=r+T;var k=c.get(T);k?k.push(b):c.set(T,[b])}}return c}function DI(r,i,s){r=r.ownerDocument||r,r.head.insertBefore(s,i==="title"?r.querySelector("head > title"):null)}function k9(r,i,s){if(s===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function LI(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Ss=null;function O9(){}function I9(r,i,s){if(Ss===null)throw Error(a(475));var c=Ss;if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=Gi(s.href),b=r.querySelector(Es(h));if(b){r=b._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=Bu.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=b,kt(b);return}b=r.ownerDocument||r,s=kI(s),(h=Bn.get(h))&&CE(s,h),b=b.createElement("link"),kt(b);var T=b;T._p=new Promise(function(k,P){T.onload=k,T.onerror=P}),Yt(b,"link",s),i.instance=b}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(c.count++,i=Bu.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function D9(){if(Ss===null)throw Error(a(475));var r=Ss;return r.stylesheets&&r.count===0&&OE(r,r.stylesheets),0<r.count?function(i){var s=setTimeout(function(){if(r.stylesheets&&OE(r,r.stylesheets),r.unsuspend){var c=r.unsuspend;r.unsuspend=null,c()}},6e4);return r.unsuspend=i,function(){r.unsuspend=null,clearTimeout(s)}}:null}function Bu(){if(this.count--,this.count===0){if(this.stylesheets)OE(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Uu=null;function OE(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Uu=new Map,i.forEach(L9,r),Uu=null,Bu.call(r))}function L9(r,i){if(!(i.state.loading&4)){var s=Uu.get(r);if(s)var c=s.get(null);else{s=new Map,Uu.set(r,s);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<h.length;b++){var T=h[b];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(s.set(T.dataset.precedence,T),c=T)}c&&s.set(null,c)}h=i.instance,T=h.getAttribute("data-precedence"),b=s.get(T)||c,b===c&&s.set(null,h),s.set(T,h),this.count++,c=Bu.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),b?b.parentNode.insertBefore(h,b.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var As={$$typeof:C,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function M9(r,i,s,c,h,b,T,k){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=rt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rt(0),this.hiddenUpdates=rt(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=b,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=k,this.incompleteTransitions=new Map}function MI(r,i,s,c,h,b,T,k,P,X,ae,ue){return r=new M9(r,i,s,T,k,P,X,ue),i=1,b===!0&&(i|=24),b=Sn(3,null,null,i),r.current=b,b.stateNode=r,i=dy(),i.refCount++,r.pooledCache=i,i.refCount++,b.memoizedState={element:c,isDehydrated:s,cache:i},hy(b),r}function FI(r){return r?(r=Si,r):Si}function BI(r,i,s,c,h,b){h=FI(h),c.context===null?c.context=h:c.pendingContext=h,c=$r(i),c.payload={element:s},b=b===void 0?null:b,b!==null&&(c.callback=b),s=ea(r,c,i),s!==null&&(xn(s,r,i),Jo(s,r,i))}function UI(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<i?s:i}}function IE(r,i){UI(r,i),(r=r.alternate)&&UI(r,i)}function PI(r){if(r.tag===13){var i=vi(r,67108864);i!==null&&xn(i,r,67108864),IE(r,67108864)}}var Pu=!0;function F9(r,i,s,c){var h=q.T;q.T=null;var b=K.p;try{K.p=2,DE(r,i,s,c)}finally{K.p=b,q.T=h}}function B9(r,i,s,c){var h=q.T;q.T=null;var b=K.p;try{K.p=8,DE(r,i,s,c)}finally{K.p=b,q.T=h}}function DE(r,i,s,c){if(Pu){var h=LE(c);if(h===null)EE(r,i,c,zu,s),qI(r,c);else if(P9(h,r,i,s,c))c.stopPropagation();else if(qI(r,c),i&4&&-1<U9.indexOf(r)){for(;h!==null;){var b=Yr(h);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var T=nt(b.pendingLanes);if(T!==0){var k=b;for(k.pendingLanes|=2,k.entangledLanes|=2;T;){var P=1<<31-Ee(T);k.entanglements[1]|=P,T&=~P}fr(b),(et&6)===0&&(Au=Le()+500,hs(0))}}break;case 13:k=vi(b,2),k!==null&&xn(k,b,2),Tu(),IE(b,2)}if(b=LE(c),b===null&&EE(r,i,c,zu,s),b===h)break;h=b}h!==null&&c.stopPropagation()}else EE(r,i,c,null,s)}}function LE(r){return r=Pb(r),ME(r)}var zu=null;function ME(r){if(zu=null,r=En(r),r!==null){var i=l(r);if(i===null)r=null;else{var s=i.tag;if(s===13){if(r=u(i),r!==null)return r;r=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return zu=r,null}function zI(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Me()){case Ce:return 2;case Ie:return 8;case lt:case pt:return 32;case ze:return 268435456;default:return 32}default:return 32}}var FE=!1,fa=null,ga=null,ha=null,ws=new Map,Ts=new Map,ma=[],U9="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function qI(r,i){switch(r){case"focusin":case"focusout":fa=null;break;case"dragenter":case"dragleave":ga=null;break;case"mouseover":case"mouseout":ha=null;break;case"pointerover":case"pointerout":ws.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ts.delete(i.pointerId)}}function Rs(r,i,s,c,h,b){return r===null||r.nativeEvent!==b?(r={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:b,targetContainers:[h]},i!==null&&(i=Yr(i),i!==null&&PI(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function P9(r,i,s,c,h){switch(i){case"focusin":return fa=Rs(fa,r,i,s,c,h),!0;case"dragenter":return ga=Rs(ga,r,i,s,c,h),!0;case"mouseover":return ha=Rs(ha,r,i,s,c,h),!0;case"pointerover":var b=h.pointerId;return ws.set(b,Rs(ws.get(b)||null,r,i,s,c,h)),!0;case"gotpointercapture":return b=h.pointerId,Ts.set(b,Rs(Ts.get(b)||null,r,i,s,c,h)),!0}return!1}function jI(r){var i=En(r.target);if(i!==null){var s=l(i);if(s!==null){if(i=s.tag,i===13){if(i=u(s),i!==null){r.blockedOn=i,_r(r.priority,function(){if(s.tag===13){var c=Rn();c=ar(c);var h=vi(s,c);h!==null&&xn(h,s,c),IE(s,c)}});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function qu(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var s=LE(r.nativeEvent);if(s===null){s=r.nativeEvent;var c=new s.constructor(s.type,s);Ub=c,s.target.dispatchEvent(c),Ub=null}else return i=Yr(s),i!==null&&PI(i),r.blockedOn=s,!1;i.shift()}return!0}function HI(r,i,s){qu(r)&&s.delete(i)}function z9(){FE=!1,fa!==null&&qu(fa)&&(fa=null),ga!==null&&qu(ga)&&(ga=null),ha!==null&&qu(ha)&&(ha=null),ws.forEach(HI),Ts.forEach(HI)}function ju(r,i){r.blockedOn===i&&(r.blockedOn=null,FE||(FE=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,z9)))}var Hu=null;function GI(r){Hu!==r&&(Hu=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Hu===r&&(Hu=null);for(var i=0;i<r.length;i+=3){var s=r[i],c=r[i+1],h=r[i+2];if(typeof c!="function"){if(ME(c||s)===null)continue;break}var b=Yr(s);b!==null&&(r.splice(i,3),i-=3,My(b,{pending:!0,data:h,method:s.method,action:c},c,h))}}))}function xs(r){function i(P){return ju(P,r)}fa!==null&&ju(fa,r),ga!==null&&ju(ga,r),ha!==null&&ju(ha,r),ws.forEach(i),Ts.forEach(i);for(var s=0;s<ma.length;s++){var c=ma[s];c.blockedOn===r&&(c.blockedOn=null)}for(;0<ma.length&&(s=ma[0],s.blockedOn===null);)jI(s),s.blockedOn===null&&ma.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(c=0;c<s.length;c+=3){var h=s[c],b=s[c+1],T=h[Zt]||null;if(typeof b=="function")T||GI(s);else if(T){var k=null;if(b&&b.hasAttribute("formAction")){if(h=b,T=b[Zt]||null)k=T.formAction;else if(ME(h)!==null)continue}else k=T.action;typeof k=="function"?s[c+1]=k:(s.splice(c,3),c-=3),GI(s)}}}function BE(r){this._internalRoot=r}Gu.prototype.render=BE.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var s=i.current,c=Rn();BI(s,c,r,i,null,null)},Gu.prototype.unmount=BE.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;BI(r.current,2,null,r,null,null),Tu(),i[_n]=null}};function Gu(r){this._internalRoot=r}Gu.prototype.unstable_scheduleHydration=function(r){if(r){var i=Il();r={blockedOn:null,target:r,priority:i};for(var s=0;s<ma.length&&i!==0&&i<ma[s].priority;s++);ma.splice(s,0,r),s===0&&jI(r)}};var _I=t.version;if(_I!=="19.1.1")throw Error(a(527,_I,"19.1.1"));K.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=f(i),r=r!==null?p(r):null,r=r===null?null:r.stateNode,r};var q9={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_u.isDisabled&&_u.supportsFiber)try{J=_u.inject(q9),oe=_u}catch{}}return Yi.createRoot=function(r,i){if(!o(r))throw Error(a(299));var s=!1,c="",h=oO,b=sO,T=lO,k=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(k=i.unstable_transitionCallbacks)),i=MI(r,1,!1,null,null,s,c,h,b,T,k,null),r[_n]=i.current,yE(r),new BE(i)},Yi.hydrateRoot=function(r,i,s){if(!o(r))throw Error(a(299));var c=!1,h="",b=oO,T=sO,k=lO,P=null,X=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(b=s.onUncaughtError),s.onCaughtError!==void 0&&(T=s.onCaughtError),s.onRecoverableError!==void 0&&(k=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(P=s.unstable_transitionCallbacks),s.formState!==void 0&&(X=s.formState)),i=MI(r,1,!0,i,s??null,c,h,b,T,k,P,X),i.context=FI(null),s=i.current,c=Rn(),c=ar(c),h=$r(c),h.callback=null,ea(s,h,c),s=c,i.current.lanes=s,Hn(i,s),fr(i),r[_n]=i.current,yE(r),new Gu(i)},Yi.version="19.1.1",Yi}var XE;function nD(){if(XE)return Yu.exports;XE=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yu.exports=tD(),Yu.exports}var rD=nD();const aD=ya(rD),iD='*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-0{left:-0px}.-left-1{left:-.25rem}.-top-0{top:-0px}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-14{bottom:3.5rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[10px\\]{bottom:10px}.left-0{left:0}.left-1{left:.25rem}.left-12{left:3rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-12{right:3rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.\\!z-\\[100000000\\]{z-index:100000000!important}.\\!z-\\[10000000\\]{z-index:10000000!important}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.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-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-1{width:.25rem;height:.25rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-\\[72px\\]{width:72px;height:72px}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-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-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))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.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}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-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-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))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-white\\/80{background-color:#fffc}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.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-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:bottom-3{bottom:.75rem}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-2{width:.5rem;height:.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-5{width:1.25rem;height:1.25rem}.sm\\:size-7{width:1.75rem;height:1.75rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:size-9{width:2.25rem;height:2.25rem}.sm\\:min-h-12{min-height:3rem}.sm\\:flex-row{flex-direction:row}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:pt-4{padding-top:1rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';var me=Ns();const Qn=ya(me);function KE(e,t){return function(){return e.apply(t,arguments)}}const{toString:oD}=Object.prototype,{getPrototypeOf:Zu}=Object,{iterator:Cs,toStringTag:QE}=Symbol,ks=(e=>t=>{const n=oD.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Un=e=>(e=e.toLowerCase(),t=>ks(t)===e),Os=e=>t=>typeof t===e,{isArray:Za}=Array,Wi=Os("undefined");function Xi(e){return e!==null&&!Wi(e)&&e.constructor!==null&&!Wi(e.constructor)&&an(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ZE=Un("ArrayBuffer");function sD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ZE(e.buffer),t}const lD=Os("string"),an=Os("function"),JE=Os("number"),Ki=e=>e!==null&&typeof e=="object",uD=e=>e===!0||e===!1,Is=e=>{if(ks(e)!=="object")return!1;const t=Zu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(QE in e)&&!(Cs in e)},cD=e=>{if(!Ki(e)||Xi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},dD=Un("Date"),pD=Un("File"),fD=Un("Blob"),gD=Un("FileList"),hD=e=>Ki(e)&&an(e.pipe),mD=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||an(e.append)&&((t=ks(e))==="formdata"||t==="object"&&an(e.toString)&&e.toString()==="[object FormData]"))},bD=Un("URLSearchParams"),[yD,ED,vD,SD]=["ReadableStream","Request","Response","Headers"].map(Un),AD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,o;if(typeof e!="object"&&(e=[e]),Za(e))for(a=0,o=e.length;a<o;a++)t.call(null,e[a],a,e);else{if(Xi(e))return;const l=n?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;let d;for(a=0;a<u;a++)d=l[a],t.call(null,e[d],d,e)}}function $E(e,t){if(Xi(e))return null;t=t.toLowerCase();const n=Object.keys(e);let a=n.length,o;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const Ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ev=e=>!Wi(e)&&e!==Ea;function Ju(){const{caseless:e}=ev(this)&&this||{},t={},n=(a,o)=>{const l=e&&$E(t,o)||o;Is(t[l])&&Is(a)?t[l]=Ju(t[l],a):Is(a)?t[l]=Ju({},a):Za(a)?t[l]=a.slice():t[l]=a};for(let a=0,o=arguments.length;a<o;a++)arguments[a]&&Qi(arguments[a],n);return t}const wD=(e,t,n,{allOwnKeys:a}={})=>(Qi(t,(o,l)=>{n&&an(o)?e[l]=KE(o,n):e[l]=o},{allOwnKeys:a}),e),TD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RD=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xD=(e,t,n,a)=>{let o,l,u;const d={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)u=o[l],(!a||a(u,e,t))&&!d[u]&&(t[u]=e[u],d[u]=!0);e=n!==!1&&Zu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ND=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},CD=e=>{if(!e)return null;if(Za(e))return e;let t=e.length;if(!JE(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zu(Uint8Array)),OD=(e,t)=>{const a=(e&&e[Cs]).call(e);let o;for(;(o=a.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},ID=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},DD=Un("HTMLFormElement"),LD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,o){return a.toUpperCase()+o}),tv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),MD=Un("RegExp"),nv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};Qi(n,(o,l)=>{let u;(u=t(o,l,e))!==!1&&(a[l]=u||o)}),Object.defineProperties(e,a)},FD=e=>{nv(e,(t,n)=>{if(an(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=e[n];if(an(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},BD=(e,t)=>{const n={},a=o=>{o.forEach(l=>{n[l]=!0})};return Za(e)?a(e):a(String(e).split(t)),n},UD=()=>{},PD=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zD(e){return!!(e&&an(e.append)&&e[QE]==="FormData"&&e[Cs])}const qD=e=>{const t=new Array(10),n=(a,o)=>{if(Ki(a)){if(t.indexOf(a)>=0)return;if(Xi(a))return a;if(!("toJSON"in a)){t[o]=a;const l=Za(a)?[]:{};return Qi(a,(u,d)=>{const f=n(u,o+1);!Wi(f)&&(l[d]=f)}),t[o]=void 0,l}}return a};return n(e,0)},jD=Un("AsyncFunction"),HD=e=>e&&(Ki(e)||an(e))&&an(e.then)&&an(e.catch),rv=((e,t)=>e?setImmediate:t?((n,a)=>(Ea.addEventListener("message",({source:o,data:l})=>{o===Ea&&l===n&&a.length&&a.shift()()},!1),o=>{a.push(o),Ea.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",an(Ea.postMessage)),GD=typeof queueMicrotask<"u"?queueMicrotask.bind(Ea):typeof process<"u"&&process.nextTick||rv,te={isArray:Za,isArrayBuffer:ZE,isBuffer:Xi,isFormData:mD,isArrayBufferView:sD,isString:lD,isNumber:JE,isBoolean:uD,isObject:Ki,isPlainObject:Is,isEmptyObject:cD,isReadableStream:yD,isRequest:ED,isResponse:vD,isHeaders:SD,isUndefined:Wi,isDate:dD,isFile:pD,isBlob:fD,isRegExp:MD,isFunction:an,isStream:hD,isURLSearchParams:bD,isTypedArray:kD,isFileList:gD,forEach:Qi,merge:Ju,extend:wD,trim:AD,stripBOM:TD,inherits:RD,toFlatObject:xD,kindOf:ks,kindOfTest:Un,endsWith:ND,toArray:CD,forEachEntry:OD,matchAll:ID,isHTMLForm:DD,hasOwnProperty:tv,hasOwnProp:tv,reduceDescriptors:nv,freezeMethods:FD,toObjectSet:BD,toCamelCase:LD,noop:UD,toFiniteNumber:PD,findKey:$E,global:Ea,isContextDefined:ev,isSpecCompliantForm:zD,toJSONObject:qD,isAsyncFn:jD,isThenable:HD,setImmediate:rv,asap:GD,isIterable:e=>e!=null&&an(e[Cs])};function De(e,t,n,a,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),o&&(this.response=o,this.status=o.status?o.status:null)}te.inherits(De,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:te.toJSONObject(this.config),code:this.code,status:this.status}}});const av=De.prototype,iv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{iv[e]={value:e}}),Object.defineProperties(De,iv),Object.defineProperty(av,"isAxiosError",{value:!0}),De.from=(e,t,n,a,o,l)=>{const u=Object.create(av);return te.toFlatObject(e,u,function(f){return f!==Error.prototype},d=>d!=="isAxiosError"),De.call(u,e.message,t,n,a,o),u.cause=e,u.name=e.name,l&&Object.assign(u,l),u};const _D=null;function $u(e){return te.isPlainObject(e)||te.isArray(e)}function ov(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function sv(e,t,n){return e?e.concat(t).map(function(o,l){return o=ov(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function VD(e){return te.isArray(e)&&!e.some($u)}const YD=te.toFlatObject(te,{},null,function(t){return/^is[A-Z]/.test(t)});function Ds(e,t,n){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,w){return!te.isUndefined(w[A])});const a=n.metaTokens,o=n.visitor||g,l=n.dots,u=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(t);if(!te.isFunction(o))throw new TypeError("visitor must be a function");function p(v){if(v===null)return"";if(te.isDate(v))return v.toISOString();if(te.isBoolean(v))return v.toString();if(!f&&te.isBlob(v))throw new De("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(v)||te.isTypedArray(v)?f&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function g(v,A,w){let R=v;if(v&&!w&&typeof v=="object"){if(te.endsWith(A,"{}"))A=a?A:A.slice(0,-2),v=JSON.stringify(v);else if(te.isArray(v)&&VD(v)||(te.isFileList(v)||te.endsWith(A,"[]"))&&(R=te.toArray(v)))return A=ov(A),R.forEach(function(C,M){!(te.isUndefined(C)||C===null)&&t.append(u===!0?sv([A],M,l):u===null?A:A+"[]",p(C))}),!1}return $u(v)?!0:(t.append(sv(w,A,l),p(v)),!1)}const m=[],y=Object.assign(YD,{defaultVisitor:g,convertValue:p,isVisitable:$u});function E(v,A){if(!te.isUndefined(v)){if(m.indexOf(v)!==-1)throw Error("Circular reference detected in "+A.join("."));m.push(v),te.forEach(v,function(R,N){(!(te.isUndefined(R)||R===null)&&o.call(t,R,te.isString(N)?N.trim():N,A,y))===!0&&E(R,A?A.concat(N):[N])}),m.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return E(e),t}function lv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function ec(e,t){this._pairs=[],e&&Ds(e,this,t)}const uv=ec.prototype;uv.append=function(t,n){this._pairs.push([t,n])},uv.toString=function(t){const n=t?function(a){return t.call(this,a,lv)}:lv;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function WD(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cv(e,t,n){if(!t)return e;const a=n&&n.encode||WD;te.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let l;if(o?l=o(t,n):l=te.isURLSearchParams(t)?t.toString():new ec(t,n).toString(a),l){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class dv{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){te.forEach(this.handlers,function(a){a!==null&&t(a)})}}const pv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XD={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ec,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},tc=typeof window<"u"&&typeof document<"u",nc=typeof navigator=="object"&&navigator||void 0,KD=tc&&(!nc||["ReactNative","NativeScript","NS"].indexOf(nc.product)<0),QD=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ZD=tc&&window.location.href||"http://localhost",Xt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tc,hasStandardBrowserEnv:KD,hasStandardBrowserWebWorkerEnv:QD,navigator:nc,origin:ZD},Symbol.toStringTag,{value:"Module"})),...XD};function JD(e,t){return Ds(e,new Xt.classes.URLSearchParams,{visitor:function(n,a,o,l){return Xt.isNode&&te.isBuffer(n)?(this.append(a,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function $D(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function eL(e){const t={},n=Object.keys(e);let a;const o=n.length;let l;for(a=0;a<o;a++)l=n[a],t[l]=e[l];return t}function fv(e){function t(n,a,o,l){let u=n[l++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),f=l>=n.length;return u=!u&&te.isArray(o)?o.length:u,f?(te.hasOwnProp(o,u)?o[u]=[o[u],a]:o[u]=a,!d):((!o[u]||!te.isObject(o[u]))&&(o[u]=[]),t(n,a,o[u],l)&&te.isArray(o[u])&&(o[u]=eL(o[u])),!d)}if(te.isFormData(e)&&te.isFunction(e.entries)){const n={};return te.forEachEntry(e,(a,o)=>{t($D(a),o,n,0)}),n}return null}function tL(e,t,n){if(te.isString(e))try{return(t||JSON.parse)(e),te.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}const Zi={transitional:pv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const a=n.getContentType()||"",o=a.indexOf("application/json")>-1,l=te.isObject(t);if(l&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return o?JSON.stringify(fv(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t)||te.isReadableStream(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(l){if(a.indexOf("application/x-www-form-urlencoded")>-1)return JD(t,this.formSerializer).toString();if((d=te.isFileList(t))||a.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Ds(d?{"files[]":t}:t,f&&new f,this.formSerializer)}}return l||o?(n.setContentType("application/json",!1),tL(t)):t}],transformResponse:[function(t){const n=this.transitional||Zi.transitional,a=n&&n.forcedJSONParsing,o=this.responseType==="json";if(te.isResponse(t)||te.isReadableStream(t))return t;if(t&&te.isString(t)&&(a&&!this.responseType||o)){const u=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(d){if(u)throw d.name==="SyntaxError"?De.from(d,De.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],e=>{Zi.headers[e]={}});const nL=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rL=e=>{const t={};let n,a,o;return e&&e.split(`
49
+ `).replace(c9,"")}function yI(r,i){return i=bI(i),bI(r)===i}function Iu(){}function it(r,i,s,c,h,b){switch(s){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||fi(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&fi(r,""+c);break;case"className":sr(r,"class",c);break;case"tabIndex":sr(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":sr(r,s,c);break;case"style":v1(r,c,b);break;case"data":if(i!=="object"){sr(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||s!=="href")){r.removeAttribute(s);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=zl(""+c),r.setAttribute(s,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(s==="formAction"?(i!=="input"&&it(r,i,"name",h.name,h,null),it(r,i,"formEncType",h.formEncType,h,null),it(r,i,"formMethod",h.formMethod,h,null),it(r,i,"formTarget",h.formTarget,h,null)):(it(r,i,"encType",h.encType,h,null),it(r,i,"method",h.method,h,null),it(r,i,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=zl(""+c),r.setAttribute(s,c);break;case"onClick":c!=null&&(r.onclick=Iu);break;case"onScroll":c!=null&&_e("scroll",r);break;case"onScrollEnd":c!=null&&_e("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}s=zl(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""+c):r.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":c===!0?r.setAttribute(s,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,c):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(s,c):r.removeAttribute(s);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(s):r.setAttribute(s,c);break;case"popover":_e("beforetoggle",r),_e("toggle",r),Gt(r,"popover",c);break;case"xlinkActuate":nn(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":nn(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":nn(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":nn(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":nn(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":nn(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":nn(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":nn(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":nn(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Gt(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=q5.get(s)||s,Gt(r,s,c))}}function vE(r,i,s,c,h,b){switch(s){case"style":v1(r,c,b);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"children":typeof c=="string"?fi(r,c):(typeof c=="number"||typeof c=="bigint")&&fi(r,""+c);break;case"onScroll":c!=null&&_e("scroll",r);break;case"onScrollEnd":c!=null&&_e("scrollend",r);break;case"onClick":c!=null&&(r.onclick=Iu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ll.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(h=s.endsWith("Capture"),i=s.slice(2,h?s.length-7:void 0),b=r[Zt]||null,b=b!=null?b[s]:null,typeof b=="function"&&r.removeEventListener(i,b,h),typeof c=="function")){typeof b!="function"&&b!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(i,c,h);break e}s in r?r[s]=c:c===!0?r.setAttribute(s,""):Gt(r,s,c)}}}function Yt(r,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",r),_e("load",r);var c=!1,h=!1,b;for(b in s)if(s.hasOwnProperty(b)){var T=s[b];if(T!=null)switch(b){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:it(r,i,b,T,s,null)}}h&&it(r,i,"srcSet",s.srcSet,s,null),c&&it(r,i,"src",s.src,s,null);return;case"input":_e("invalid",r);var k=b=T=h=null,P=null,X=null;for(c in s)if(s.hasOwnProperty(c)){var ae=s[c];if(ae!=null)switch(c){case"name":h=ae;break;case"type":T=ae;break;case"checked":P=ae;break;case"defaultChecked":X=ae;break;case"value":b=ae;break;case"defaultValue":k=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(a(137,i));break;default:it(r,i,c,ae,s,null)}}yr(r,b,k,P,X,T,h,!1),D(r);return;case"select":_e("invalid",r),c=T=b=null;for(h in s)if(s.hasOwnProperty(h)&&(k=s[h],k!=null))switch(h){case"value":b=k;break;case"defaultValue":T=k;break;case"multiple":c=k;default:it(r,i,h,k,s,null)}i=b,s=T,r.multiple=!!c,i!=null?Er(r,!!c,i,!1):s!=null&&Er(r,!!c,s,!0);return;case"textarea":_e("invalid",r),b=h=c=null;for(T in s)if(s.hasOwnProperty(T)&&(k=s[T],k!=null))switch(T){case"value":c=k;break;case"defaultValue":h=k;break;case"children":b=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(a(91));break;default:it(r,i,T,k,s,null)}y1(r,c,h,b),D(r);return;case"option":for(P in s)if(s.hasOwnProperty(P)&&(c=s[P],c!=null))switch(P){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:it(r,i,P,c,s,null)}return;case"dialog":_e("beforetoggle",r),_e("toggle",r),_e("cancel",r),_e("close",r);break;case"iframe":case"object":_e("load",r);break;case"video":case"audio":for(c=0;c<ms.length;c++)_e(ms[c],r);break;case"image":_e("error",r),_e("load",r);break;case"details":_e("toggle",r);break;case"embed":case"source":case"link":_e("error",r),_e("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(X in s)if(s.hasOwnProperty(X)&&(c=s[X],c!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:it(r,i,X,c,s,null)}return;default:if(Bb(i)){for(ae in s)s.hasOwnProperty(ae)&&(c=s[ae],c!==void 0&&vE(r,i,ae,c,s,void 0));return}}for(k in s)s.hasOwnProperty(k)&&(c=s[k],c!=null&&it(r,i,k,c,s,null))}function d9(r,i,s,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,b=null,T=null,k=null,P=null,X=null,ae=null;for(Z in s){var ue=s[Z];if(s.hasOwnProperty(Z)&&ue!=null)switch(Z){case"checked":break;case"value":break;case"defaultValue":P=ue;default:c.hasOwnProperty(Z)||it(r,i,Z,null,c,ue)}}for(var Q in c){var Z=c[Q];if(ue=s[Q],c.hasOwnProperty(Q)&&(Z!=null||ue!=null))switch(Q){case"type":b=Z;break;case"name":h=Z;break;case"checked":X=Z;break;case"defaultChecked":ae=Z;break;case"value":T=Z;break;case"defaultValue":k=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,i));break;default:Z!==ue&&it(r,i,Q,Z,c,ue)}}lr(r,T,k,P,X,ae,b,h);return;case"select":Z=T=k=Q=null;for(b in s)if(P=s[b],s.hasOwnProperty(b)&&P!=null)switch(b){case"value":break;case"multiple":Z=P;default:c.hasOwnProperty(b)||it(r,i,b,null,c,P)}for(h in c)if(b=c[h],P=s[h],c.hasOwnProperty(h)&&(b!=null||P!=null))switch(h){case"value":Q=b;break;case"defaultValue":k=b;break;case"multiple":T=b;default:b!==P&&it(r,i,h,b,c,P)}i=k,s=T,c=Z,Q!=null?Er(r,!!s,Q,!1):!!c!=!!s&&(i!=null?Er(r,!!s,i,!0):Er(r,!!s,s?[]:"",!1));return;case"textarea":Z=Q=null;for(k in s)if(h=s[k],s.hasOwnProperty(k)&&h!=null&&!c.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:it(r,i,k,null,c,h)}for(T in c)if(h=c[T],b=s[T],c.hasOwnProperty(T)&&(h!=null||b!=null))switch(T){case"value":Q=h;break;case"defaultValue":Z=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==b&&it(r,i,T,h,c,b)}Kr(r,Q,Z);return;case"option":for(var ke in s)if(Q=s[ke],s.hasOwnProperty(ke)&&Q!=null&&!c.hasOwnProperty(ke))switch(ke){case"selected":r.selected=!1;break;default:it(r,i,ke,null,c,Q)}for(P in c)if(Q=c[P],Z=s[P],c.hasOwnProperty(P)&&Q!==Z&&(Q!=null||Z!=null))switch(P){case"selected":r.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:it(r,i,P,Q,c,Z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var xe in s)Q=s[xe],s.hasOwnProperty(xe)&&Q!=null&&!c.hasOwnProperty(xe)&&it(r,i,xe,null,c,Q);for(X in c)if(Q=c[X],Z=s[X],c.hasOwnProperty(X)&&Q!==Z&&(Q!=null||Z!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,i));break;default:it(r,i,X,Q,c,Z)}return;default:if(Bb(i)){for(var ot in s)Q=s[ot],s.hasOwnProperty(ot)&&Q!==void 0&&!c.hasOwnProperty(ot)&&vE(r,i,ot,void 0,c,Q);for(ae in c)Q=c[ae],Z=s[ae],!c.hasOwnProperty(ae)||Q===Z||Q===void 0&&Z===void 0||vE(r,i,ae,Q,c,Z);return}}for(var _ in s)Q=s[_],s.hasOwnProperty(_)&&Q!=null&&!c.hasOwnProperty(_)&&it(r,i,_,null,c,Q);for(ue in c)Q=c[ue],Z=s[ue],!c.hasOwnProperty(ue)||Q===Z||Q==null&&Z==null||it(r,i,ue,Q,c,Z)}var SE=null,AE=null;function Du(r){return r.nodeType===9?r:r.ownerDocument}function EI(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vI(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function wE(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var TE=null;function p9(){var r=window.event;return r&&r.type==="popstate"?r===TE?!1:(TE=r,!0):(TE=null,!1)}var SI=typeof setTimeout=="function"?setTimeout:void 0,f9=typeof clearTimeout=="function"?clearTimeout:void 0,AI=typeof Promise=="function"?Promise:void 0,g9=typeof queueMicrotask=="function"?queueMicrotask:typeof AI<"u"?function(r){return AI.resolve(null).then(r).catch(h9)}:SI;function h9(r){setTimeout(function(){throw r})}function pa(r){return r==="head"}function wI(r,i){var s=i,c=0,h=0;do{var b=s.nextSibling;if(r.removeChild(s),b&&b.nodeType===8)if(s=b.data,s==="/$"){if(0<c&&8>c){s=c;var T=r.ownerDocument;if(s&1&&ys(T.documentElement),s&2&&ys(T.body),s&4)for(s=T.head,ys(s),T=s.firstChild;T;){var k=T.nextSibling,P=T.nodeName;T[or]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&T.rel.toLowerCase()==="stylesheet"||s.removeChild(T),T=k}}if(h===0){r.removeChild(b),xs(i);return}h--}else s==="$"||s==="$?"||s==="$!"?h++:c=s.charCodeAt(0)-48;else c=0;s=b}while(s);xs(i)}function RE(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":RE(s),Oo(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function m9(r,i,s,c){for(;r.nodeType===1;){var h=s;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[or])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(b=r.getAttribute("rel"),b==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(b!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(b=r.getAttribute("src"),(b!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&b&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var b=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===b)return r}else return r;if(r=Kn(r.nextSibling),r===null)break}return null}function b9(r,i,s){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=Kn(r.nextSibling),r===null))return null;return r}function xE(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function y9(r,i){var s=r.ownerDocument;if(r.data!=="$?"||s.readyState==="complete")i();else{var c=function(){i(),s.removeEventListener("DOMContentLoaded",c)};s.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function Kn(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return r}var NE=null;function TI(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return r;i--}else s==="/$"&&i++}r=r.previousSibling}return null}function RI(r,i,s){switch(i=Du(s),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function ys(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);Oo(r)}var Bn=new Map,xI=new Set;function Lu(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Lr=K.d;K.d={f:E9,r:v9,D:S9,C:A9,L:w9,m:T9,X:x9,S:R9,M:N9};function E9(){var r=Lr.f(),i=Tu();return r||i}function v9(r){var i=Yr(r);i!==null&&i.tag===5&&i.type==="form"?Yk(i):Lr.r(r)}var Hi=typeof document>"u"?null:document;function NI(r,i,s){var c=Hi;if(c&&typeof i=="string"&&i){var h=Ye(i);h='link[rel="'+r+'"][href="'+h+'"]',typeof s=="string"&&(h+='[crossorigin="'+s+'"]'),xI.has(h)||(xI.add(h),r={rel:r,crossOrigin:s,href:i},c.querySelector(h)===null&&(i=c.createElement("link"),Yt(i,"link",r),kt(i),c.head.appendChild(i)))}}function S9(r){Lr.D(r),NI("dns-prefetch",r,null)}function A9(r,i){Lr.C(r,i),NI("preconnect",r,i)}function w9(r,i,s){Lr.L(r,i,s);var c=Hi;if(c&&r&&i){var h='link[rel="preload"][as="'+Ye(i)+'"]';i==="image"&&s&&s.imageSrcSet?(h+='[imagesrcset="'+Ye(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(h+='[imagesizes="'+Ye(s.imageSizes)+'"]')):h+='[href="'+Ye(r)+'"]';var b=h;switch(i){case"style":b=Gi(r);break;case"script":b=_i(r)}Bn.has(b)||(r=g({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:r,as:i},s),Bn.set(b,r),c.querySelector(h)!==null||i==="style"&&c.querySelector(Es(b))||i==="script"&&c.querySelector(vs(b))||(i=c.createElement("link"),Yt(i,"link",r),kt(i),c.head.appendChild(i)))}}function T9(r,i){Lr.m(r,i);var s=Hi;if(s&&r){var c=i&&typeof i.as=="string"?i.as:"script",h='link[rel="modulepreload"][as="'+Ye(c)+'"][href="'+Ye(r)+'"]',b=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=_i(r)}if(!Bn.has(b)&&(r=g({rel:"modulepreload",href:r},i),Bn.set(b,r),s.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(vs(b)))return}c=s.createElement("link"),Yt(c,"link",r),kt(c),s.head.appendChild(c)}}}function R9(r,i,s){Lr.S(r,i,s);var c=Hi;if(c&&r){var h=Wr(c).hoistableStyles,b=Gi(r);i=i||"default";var T=h.get(b);if(!T){var k={loading:0,preload:null};if(T=c.querySelector(Es(b)))k.loading=5;else{r=g({rel:"stylesheet",href:r,"data-precedence":i},s),(s=Bn.get(b))&&CE(r,s);var P=T=c.createElement("link");kt(P),Yt(P,"link",r),P._p=new Promise(function(X,ae){P.onload=X,P.onerror=ae}),P.addEventListener("load",function(){k.loading|=1}),P.addEventListener("error",function(){k.loading|=2}),k.loading|=4,Mu(T,i,c)}T={type:"stylesheet",instance:T,count:1,state:k},h.set(b,T)}}}function x9(r,i){Lr.X(r,i);var s=Hi;if(s&&r){var c=Wr(s).hoistableScripts,h=_i(r),b=c.get(h);b||(b=s.querySelector(vs(h)),b||(r=g({src:r,async:!0},i),(i=Bn.get(h))&&kE(r,i),b=s.createElement("script"),kt(b),Yt(b,"link",r),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(h,b))}}function N9(r,i){Lr.M(r,i);var s=Hi;if(s&&r){var c=Wr(s).hoistableScripts,h=_i(r),b=c.get(h);b||(b=s.querySelector(vs(h)),b||(r=g({src:r,async:!0,type:"module"},i),(i=Bn.get(h))&&kE(r,i),b=s.createElement("script"),kt(b),Yt(b,"link",r),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(h,b))}}function CI(r,i,s,c){var h=(h=ce.current)?Lu(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Gi(s.href),s=Wr(h).hoistableStyles,c=s.get(i),c||(c={type:"style",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=Gi(s.href);var b=Wr(h).hoistableStyles,T=b.get(r);if(T||(h=h.ownerDocument||h,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(r,T),(b=h.querySelector(Es(r)))&&!b._p&&(T.instance=b,T.state.loading=5),Bn.has(r)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Bn.set(r,s),b||C9(h,r,s,T.state))),i&&c===null)throw Error(a(528,""));return T}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=_i(s),s=Wr(h).hoistableScripts,c=s.get(i),c||(c={type:"script",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function Gi(r){return'href="'+Ye(r)+'"'}function Es(r){return'link[rel="stylesheet"]['+r+"]"}function kI(r){return g({},r,{"data-precedence":r.precedence,precedence:null})}function C9(r,i,s,c){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),Yt(i,"link",s),kt(i),r.head.appendChild(i))}function _i(r){return'[src="'+Ye(r)+'"]'}function vs(r){return"script[async]"+r}function OI(r,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+Ye(s.href)+'"]');if(c)return i.instance=c,kt(c),c;var h=g({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),kt(c),Yt(c,"style",h),Mu(c,s.precedence,r),i.instance=c;case"stylesheet":h=Gi(s.href);var b=r.querySelector(Es(h));if(b)return i.state.loading|=4,i.instance=b,kt(b),b;c=kI(s),(h=Bn.get(h))&&CE(c,h),b=(r.ownerDocument||r).createElement("link"),kt(b);var T=b;return T._p=new Promise(function(k,P){T.onload=k,T.onerror=P}),Yt(b,"link",c),i.state.loading|=4,Mu(b,s.precedence,r),i.instance=b;case"script":return b=_i(s.src),(h=r.querySelector(vs(b)))?(i.instance=h,kt(h),h):(c=s,(h=Bn.get(b))&&(c=g({},s),kE(c,h)),r=r.ownerDocument||r,h=r.createElement("script"),kt(h),Yt(h,"link",c),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,Mu(c,s.precedence,r));return i.instance}function Mu(r,i,s){for(var c=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,b=h,T=0;T<c.length;T++){var k=c[T];if(k.dataset.precedence===i)b=k;else if(b!==h)break}b?b.parentNode.insertBefore(r,b.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(r,i.firstChild))}function CE(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function kE(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var Fu=null;function II(r,i,s){if(Fu===null){var c=new Map,h=Fu=new Map;h.set(s,c)}else h=Fu,c=h.get(s),c||(c=new Map,h.set(s,c));if(c.has(r))return c;for(c.set(r,null),s=s.getElementsByTagName(r),h=0;h<s.length;h++){var b=s[h];if(!(b[or]||b[wt]||r==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var T=b.getAttribute(i)||"";T=r+T;var k=c.get(T);k?k.push(b):c.set(T,[b])}}return c}function DI(r,i,s){r=r.ownerDocument||r,r.head.insertBefore(s,i==="title"?r.querySelector("head > title"):null)}function k9(r,i,s){if(s===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function LI(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Ss=null;function O9(){}function I9(r,i,s){if(Ss===null)throw Error(a(475));var c=Ss;if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=Gi(s.href),b=r.querySelector(Es(h));if(b){r=b._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=Bu.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=b,kt(b);return}b=r.ownerDocument||r,s=kI(s),(h=Bn.get(h))&&CE(s,h),b=b.createElement("link"),kt(b);var T=b;T._p=new Promise(function(k,P){T.onload=k,T.onerror=P}),Yt(b,"link",s),i.instance=b}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(c.count++,i=Bu.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function D9(){if(Ss===null)throw Error(a(475));var r=Ss;return r.stylesheets&&r.count===0&&OE(r,r.stylesheets),0<r.count?function(i){var s=setTimeout(function(){if(r.stylesheets&&OE(r,r.stylesheets),r.unsuspend){var c=r.unsuspend;r.unsuspend=null,c()}},6e4);return r.unsuspend=i,function(){r.unsuspend=null,clearTimeout(s)}}:null}function Bu(){if(this.count--,this.count===0){if(this.stylesheets)OE(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Uu=null;function OE(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Uu=new Map,i.forEach(L9,r),Uu=null,Bu.call(r))}function L9(r,i){if(!(i.state.loading&4)){var s=Uu.get(r);if(s)var c=s.get(null);else{s=new Map,Uu.set(r,s);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<h.length;b++){var T=h[b];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(s.set(T.dataset.precedence,T),c=T)}c&&s.set(null,c)}h=i.instance,T=h.getAttribute("data-precedence"),b=s.get(T)||c,b===c&&s.set(null,h),s.set(T,h),this.count++,c=Bu.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),b?b.parentNode.insertBefore(h,b.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var As={$$typeof:C,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function M9(r,i,s,c,h,b,T,k){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=rt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rt(0),this.hiddenUpdates=rt(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=b,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=k,this.incompleteTransitions=new Map}function MI(r,i,s,c,h,b,T,k,P,X,ae,ue){return r=new M9(r,i,s,T,k,P,X,ue),i=1,b===!0&&(i|=24),b=Sn(3,null,null,i),r.current=b,b.stateNode=r,i=dy(),i.refCount++,r.pooledCache=i,i.refCount++,b.memoizedState={element:c,isDehydrated:s,cache:i},hy(b),r}function FI(r){return r?(r=Si,r):Si}function BI(r,i,s,c,h,b){h=FI(h),c.context===null?c.context=h:c.pendingContext=h,c=$r(i),c.payload={element:s},b=b===void 0?null:b,b!==null&&(c.callback=b),s=ea(r,c,i),s!==null&&(xn(s,r,i),Jo(s,r,i))}function UI(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<i?s:i}}function IE(r,i){UI(r,i),(r=r.alternate)&&UI(r,i)}function PI(r){if(r.tag===13){var i=vi(r,67108864);i!==null&&xn(i,r,67108864),IE(r,67108864)}}var Pu=!0;function F9(r,i,s,c){var h=q.T;q.T=null;var b=K.p;try{K.p=2,DE(r,i,s,c)}finally{K.p=b,q.T=h}}function B9(r,i,s,c){var h=q.T;q.T=null;var b=K.p;try{K.p=8,DE(r,i,s,c)}finally{K.p=b,q.T=h}}function DE(r,i,s,c){if(Pu){var h=LE(c);if(h===null)EE(r,i,c,zu,s),qI(r,c);else if(P9(h,r,i,s,c))c.stopPropagation();else if(qI(r,c),i&4&&-1<U9.indexOf(r)){for(;h!==null;){var b=Yr(h);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var T=nt(b.pendingLanes);if(T!==0){var k=b;for(k.pendingLanes|=2,k.entangledLanes|=2;T;){var P=1<<31-Ee(T);k.entanglements[1]|=P,T&=~P}fr(b),(et&6)===0&&(Au=Le()+500,hs(0))}}break;case 13:k=vi(b,2),k!==null&&xn(k,b,2),Tu(),IE(b,2)}if(b=LE(c),b===null&&EE(r,i,c,zu,s),b===h)break;h=b}h!==null&&c.stopPropagation()}else EE(r,i,c,null,s)}}function LE(r){return r=Pb(r),ME(r)}var zu=null;function ME(r){if(zu=null,r=En(r),r!==null){var i=l(r);if(i===null)r=null;else{var s=i.tag;if(s===13){if(r=u(i),r!==null)return r;r=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return zu=r,null}function zI(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Me()){case Ce:return 2;case Ie:return 8;case lt:case pt:return 32;case ze:return 268435456;default:return 32}default:return 32}}var FE=!1,fa=null,ga=null,ha=null,ws=new Map,Ts=new Map,ma=[],U9="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function qI(r,i){switch(r){case"focusin":case"focusout":fa=null;break;case"dragenter":case"dragleave":ga=null;break;case"mouseover":case"mouseout":ha=null;break;case"pointerover":case"pointerout":ws.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ts.delete(i.pointerId)}}function Rs(r,i,s,c,h,b){return r===null||r.nativeEvent!==b?(r={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:b,targetContainers:[h]},i!==null&&(i=Yr(i),i!==null&&PI(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function P9(r,i,s,c,h){switch(i){case"focusin":return fa=Rs(fa,r,i,s,c,h),!0;case"dragenter":return ga=Rs(ga,r,i,s,c,h),!0;case"mouseover":return ha=Rs(ha,r,i,s,c,h),!0;case"pointerover":var b=h.pointerId;return ws.set(b,Rs(ws.get(b)||null,r,i,s,c,h)),!0;case"gotpointercapture":return b=h.pointerId,Ts.set(b,Rs(Ts.get(b)||null,r,i,s,c,h)),!0}return!1}function jI(r){var i=En(r.target);if(i!==null){var s=l(i);if(s!==null){if(i=s.tag,i===13){if(i=u(s),i!==null){r.blockedOn=i,_r(r.priority,function(){if(s.tag===13){var c=Rn();c=ar(c);var h=vi(s,c);h!==null&&xn(h,s,c),IE(s,c)}});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function qu(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var s=LE(r.nativeEvent);if(s===null){s=r.nativeEvent;var c=new s.constructor(s.type,s);Ub=c,s.target.dispatchEvent(c),Ub=null}else return i=Yr(s),i!==null&&PI(i),r.blockedOn=s,!1;i.shift()}return!0}function HI(r,i,s){qu(r)&&s.delete(i)}function z9(){FE=!1,fa!==null&&qu(fa)&&(fa=null),ga!==null&&qu(ga)&&(ga=null),ha!==null&&qu(ha)&&(ha=null),ws.forEach(HI),Ts.forEach(HI)}function ju(r,i){r.blockedOn===i&&(r.blockedOn=null,FE||(FE=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,z9)))}var Hu=null;function GI(r){Hu!==r&&(Hu=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Hu===r&&(Hu=null);for(var i=0;i<r.length;i+=3){var s=r[i],c=r[i+1],h=r[i+2];if(typeof c!="function"){if(ME(c||s)===null)continue;break}var b=Yr(s);b!==null&&(r.splice(i,3),i-=3,My(b,{pending:!0,data:h,method:s.method,action:c},c,h))}}))}function xs(r){function i(P){return ju(P,r)}fa!==null&&ju(fa,r),ga!==null&&ju(ga,r),ha!==null&&ju(ha,r),ws.forEach(i),Ts.forEach(i);for(var s=0;s<ma.length;s++){var c=ma[s];c.blockedOn===r&&(c.blockedOn=null)}for(;0<ma.length&&(s=ma[0],s.blockedOn===null);)jI(s),s.blockedOn===null&&ma.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(c=0;c<s.length;c+=3){var h=s[c],b=s[c+1],T=h[Zt]||null;if(typeof b=="function")T||GI(s);else if(T){var k=null;if(b&&b.hasAttribute("formAction")){if(h=b,T=b[Zt]||null)k=T.formAction;else if(ME(h)!==null)continue}else k=T.action;typeof k=="function"?s[c+1]=k:(s.splice(c,3),c-=3),GI(s)}}}function BE(r){this._internalRoot=r}Gu.prototype.render=BE.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var s=i.current,c=Rn();BI(s,c,r,i,null,null)},Gu.prototype.unmount=BE.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;BI(r.current,2,null,r,null,null),Tu(),i[_n]=null}};function Gu(r){this._internalRoot=r}Gu.prototype.unstable_scheduleHydration=function(r){if(r){var i=Il();r={blockedOn:null,target:r,priority:i};for(var s=0;s<ma.length&&i!==0&&i<ma[s].priority;s++);ma.splice(s,0,r),s===0&&jI(r)}};var _I=t.version;if(_I!=="19.1.1")throw Error(a(527,_I,"19.1.1"));K.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=f(i),r=r!==null?p(r):null,r=r===null?null:r.stateNode,r};var q9={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_u.isDisabled&&_u.supportsFiber)try{J=_u.inject(q9),oe=_u}catch{}}return Yi.createRoot=function(r,i){if(!o(r))throw Error(a(299));var s=!1,c="",h=oO,b=sO,T=lO,k=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(k=i.unstable_transitionCallbacks)),i=MI(r,1,!1,null,null,s,c,h,b,T,k,null),r[_n]=i.current,yE(r),new BE(i)},Yi.hydrateRoot=function(r,i,s){if(!o(r))throw Error(a(299));var c=!1,h="",b=oO,T=sO,k=lO,P=null,X=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(b=s.onUncaughtError),s.onCaughtError!==void 0&&(T=s.onCaughtError),s.onRecoverableError!==void 0&&(k=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(P=s.unstable_transitionCallbacks),s.formState!==void 0&&(X=s.formState)),i=MI(r,1,!0,i,s??null,c,h,b,T,k,P,X),i.context=FI(null),s=i.current,c=Rn(),c=ar(c),h=$r(c),h.callback=null,ea(s,h,c),s=c,i.current.lanes=s,Hn(i,s),fr(i),r[_n]=i.current,yE(r),new Gu(i)},Yi.version="19.1.1",Yi}var XE;function nD(){if(XE)return Yu.exports;XE=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yu.exports=tD(),Yu.exports}var rD=nD();const aD=ya(rD),iD='*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-0{left:-0px}.-left-1{left:-.25rem}.-top-0{top:-0px}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-14{bottom:3.5rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[10px\\]{bottom:10px}.left-0{left:0}.left-1{left:.25rem}.left-12{left:3rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-12{right:3rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.\\!z-\\[100000000\\]{z-index:100000000!important}.\\!z-\\[10000000\\]{z-index:10000000!important}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.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-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-1{width:.25rem;height:.25rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-\\[67px\\]{width:67px;height:67px}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-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-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))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.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}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-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-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))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-white\\/80{background-color:#fffc}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.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-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:bottom-3{bottom:.75rem}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-2{width:.5rem;height:.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-5{width:1.25rem;height:1.25rem}.sm\\:size-7{width:1.75rem;height:1.75rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:size-9{width:2.25rem;height:2.25rem}.sm\\:min-h-12{min-height:3rem}.sm\\:flex-row{flex-direction:row}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:pt-4{padding-top:1rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';var me=Ns();const Qn=ya(me);function KE(e,t){return function(){return e.apply(t,arguments)}}const{toString:oD}=Object.prototype,{getPrototypeOf:Zu}=Object,{iterator:Cs,toStringTag:QE}=Symbol,ks=(e=>t=>{const n=oD.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Un=e=>(e=e.toLowerCase(),t=>ks(t)===e),Os=e=>t=>typeof t===e,{isArray:Za}=Array,Wi=Os("undefined");function Xi(e){return e!==null&&!Wi(e)&&e.constructor!==null&&!Wi(e.constructor)&&an(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ZE=Un("ArrayBuffer");function sD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ZE(e.buffer),t}const lD=Os("string"),an=Os("function"),JE=Os("number"),Ki=e=>e!==null&&typeof e=="object",uD=e=>e===!0||e===!1,Is=e=>{if(ks(e)!=="object")return!1;const t=Zu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(QE in e)&&!(Cs in e)},cD=e=>{if(!Ki(e)||Xi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},dD=Un("Date"),pD=Un("File"),fD=Un("Blob"),gD=Un("FileList"),hD=e=>Ki(e)&&an(e.pipe),mD=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||an(e.append)&&((t=ks(e))==="formdata"||t==="object"&&an(e.toString)&&e.toString()==="[object FormData]"))},bD=Un("URLSearchParams"),[yD,ED,vD,SD]=["ReadableStream","Request","Response","Headers"].map(Un),AD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,o;if(typeof e!="object"&&(e=[e]),Za(e))for(a=0,o=e.length;a<o;a++)t.call(null,e[a],a,e);else{if(Xi(e))return;const l=n?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;let d;for(a=0;a<u;a++)d=l[a],t.call(null,e[d],d,e)}}function $E(e,t){if(Xi(e))return null;t=t.toLowerCase();const n=Object.keys(e);let a=n.length,o;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const Ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ev=e=>!Wi(e)&&e!==Ea;function Ju(){const{caseless:e}=ev(this)&&this||{},t={},n=(a,o)=>{const l=e&&$E(t,o)||o;Is(t[l])&&Is(a)?t[l]=Ju(t[l],a):Is(a)?t[l]=Ju({},a):Za(a)?t[l]=a.slice():t[l]=a};for(let a=0,o=arguments.length;a<o;a++)arguments[a]&&Qi(arguments[a],n);return t}const wD=(e,t,n,{allOwnKeys:a}={})=>(Qi(t,(o,l)=>{n&&an(o)?e[l]=KE(o,n):e[l]=o},{allOwnKeys:a}),e),TD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RD=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xD=(e,t,n,a)=>{let o,l,u;const d={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)u=o[l],(!a||a(u,e,t))&&!d[u]&&(t[u]=e[u],d[u]=!0);e=n!==!1&&Zu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ND=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},CD=e=>{if(!e)return null;if(Za(e))return e;let t=e.length;if(!JE(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zu(Uint8Array)),OD=(e,t)=>{const a=(e&&e[Cs]).call(e);let o;for(;(o=a.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},ID=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},DD=Un("HTMLFormElement"),LD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,o){return a.toUpperCase()+o}),tv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),MD=Un("RegExp"),nv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};Qi(n,(o,l)=>{let u;(u=t(o,l,e))!==!1&&(a[l]=u||o)}),Object.defineProperties(e,a)},FD=e=>{nv(e,(t,n)=>{if(an(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=e[n];if(an(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},BD=(e,t)=>{const n={},a=o=>{o.forEach(l=>{n[l]=!0})};return Za(e)?a(e):a(String(e).split(t)),n},UD=()=>{},PD=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zD(e){return!!(e&&an(e.append)&&e[QE]==="FormData"&&e[Cs])}const qD=e=>{const t=new Array(10),n=(a,o)=>{if(Ki(a)){if(t.indexOf(a)>=0)return;if(Xi(a))return a;if(!("toJSON"in a)){t[o]=a;const l=Za(a)?[]:{};return Qi(a,(u,d)=>{const f=n(u,o+1);!Wi(f)&&(l[d]=f)}),t[o]=void 0,l}}return a};return n(e,0)},jD=Un("AsyncFunction"),HD=e=>e&&(Ki(e)||an(e))&&an(e.then)&&an(e.catch),rv=((e,t)=>e?setImmediate:t?((n,a)=>(Ea.addEventListener("message",({source:o,data:l})=>{o===Ea&&l===n&&a.length&&a.shift()()},!1),o=>{a.push(o),Ea.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",an(Ea.postMessage)),GD=typeof queueMicrotask<"u"?queueMicrotask.bind(Ea):typeof process<"u"&&process.nextTick||rv,te={isArray:Za,isArrayBuffer:ZE,isBuffer:Xi,isFormData:mD,isArrayBufferView:sD,isString:lD,isNumber:JE,isBoolean:uD,isObject:Ki,isPlainObject:Is,isEmptyObject:cD,isReadableStream:yD,isRequest:ED,isResponse:vD,isHeaders:SD,isUndefined:Wi,isDate:dD,isFile:pD,isBlob:fD,isRegExp:MD,isFunction:an,isStream:hD,isURLSearchParams:bD,isTypedArray:kD,isFileList:gD,forEach:Qi,merge:Ju,extend:wD,trim:AD,stripBOM:TD,inherits:RD,toFlatObject:xD,kindOf:ks,kindOfTest:Un,endsWith:ND,toArray:CD,forEachEntry:OD,matchAll:ID,isHTMLForm:DD,hasOwnProperty:tv,hasOwnProp:tv,reduceDescriptors:nv,freezeMethods:FD,toObjectSet:BD,toCamelCase:LD,noop:UD,toFiniteNumber:PD,findKey:$E,global:Ea,isContextDefined:ev,isSpecCompliantForm:zD,toJSONObject:qD,isAsyncFn:jD,isThenable:HD,setImmediate:rv,asap:GD,isIterable:e=>e!=null&&an(e[Cs])};function De(e,t,n,a,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),o&&(this.response=o,this.status=o.status?o.status:null)}te.inherits(De,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:te.toJSONObject(this.config),code:this.code,status:this.status}}});const av=De.prototype,iv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{iv[e]={value:e}}),Object.defineProperties(De,iv),Object.defineProperty(av,"isAxiosError",{value:!0}),De.from=(e,t,n,a,o,l)=>{const u=Object.create(av);return te.toFlatObject(e,u,function(f){return f!==Error.prototype},d=>d!=="isAxiosError"),De.call(u,e.message,t,n,a,o),u.cause=e,u.name=e.name,l&&Object.assign(u,l),u};const _D=null;function $u(e){return te.isPlainObject(e)||te.isArray(e)}function ov(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function sv(e,t,n){return e?e.concat(t).map(function(o,l){return o=ov(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function VD(e){return te.isArray(e)&&!e.some($u)}const YD=te.toFlatObject(te,{},null,function(t){return/^is[A-Z]/.test(t)});function Ds(e,t,n){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,w){return!te.isUndefined(w[A])});const a=n.metaTokens,o=n.visitor||g,l=n.dots,u=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(t);if(!te.isFunction(o))throw new TypeError("visitor must be a function");function p(v){if(v===null)return"";if(te.isDate(v))return v.toISOString();if(te.isBoolean(v))return v.toString();if(!f&&te.isBlob(v))throw new De("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(v)||te.isTypedArray(v)?f&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function g(v,A,w){let R=v;if(v&&!w&&typeof v=="object"){if(te.endsWith(A,"{}"))A=a?A:A.slice(0,-2),v=JSON.stringify(v);else if(te.isArray(v)&&VD(v)||(te.isFileList(v)||te.endsWith(A,"[]"))&&(R=te.toArray(v)))return A=ov(A),R.forEach(function(C,M){!(te.isUndefined(C)||C===null)&&t.append(u===!0?sv([A],M,l):u===null?A:A+"[]",p(C))}),!1}return $u(v)?!0:(t.append(sv(w,A,l),p(v)),!1)}const m=[],y=Object.assign(YD,{defaultVisitor:g,convertValue:p,isVisitable:$u});function E(v,A){if(!te.isUndefined(v)){if(m.indexOf(v)!==-1)throw Error("Circular reference detected in "+A.join("."));m.push(v),te.forEach(v,function(R,N){(!(te.isUndefined(R)||R===null)&&o.call(t,R,te.isString(N)?N.trim():N,A,y))===!0&&E(R,A?A.concat(N):[N])}),m.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return E(e),t}function lv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function ec(e,t){this._pairs=[],e&&Ds(e,this,t)}const uv=ec.prototype;uv.append=function(t,n){this._pairs.push([t,n])},uv.toString=function(t){const n=t?function(a){return t.call(this,a,lv)}:lv;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function WD(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cv(e,t,n){if(!t)return e;const a=n&&n.encode||WD;te.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let l;if(o?l=o(t,n):l=te.isURLSearchParams(t)?t.toString():new ec(t,n).toString(a),l){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class dv{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){te.forEach(this.handlers,function(a){a!==null&&t(a)})}}const pv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XD={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ec,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},tc=typeof window<"u"&&typeof document<"u",nc=typeof navigator=="object"&&navigator||void 0,KD=tc&&(!nc||["ReactNative","NativeScript","NS"].indexOf(nc.product)<0),QD=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ZD=tc&&window.location.href||"http://localhost",Xt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tc,hasStandardBrowserEnv:KD,hasStandardBrowserWebWorkerEnv:QD,navigator:nc,origin:ZD},Symbol.toStringTag,{value:"Module"})),...XD};function JD(e,t){return Ds(e,new Xt.classes.URLSearchParams,{visitor:function(n,a,o,l){return Xt.isNode&&te.isBuffer(n)?(this.append(a,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function $D(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function eL(e){const t={},n=Object.keys(e);let a;const o=n.length;let l;for(a=0;a<o;a++)l=n[a],t[l]=e[l];return t}function fv(e){function t(n,a,o,l){let u=n[l++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),f=l>=n.length;return u=!u&&te.isArray(o)?o.length:u,f?(te.hasOwnProp(o,u)?o[u]=[o[u],a]:o[u]=a,!d):((!o[u]||!te.isObject(o[u]))&&(o[u]=[]),t(n,a,o[u],l)&&te.isArray(o[u])&&(o[u]=eL(o[u])),!d)}if(te.isFormData(e)&&te.isFunction(e.entries)){const n={};return te.forEachEntry(e,(a,o)=>{t($D(a),o,n,0)}),n}return null}function tL(e,t,n){if(te.isString(e))try{return(t||JSON.parse)(e),te.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}const Zi={transitional:pv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const a=n.getContentType()||"",o=a.indexOf("application/json")>-1,l=te.isObject(t);if(l&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return o?JSON.stringify(fv(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t)||te.isReadableStream(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(l){if(a.indexOf("application/x-www-form-urlencoded")>-1)return JD(t,this.formSerializer).toString();if((d=te.isFileList(t))||a.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Ds(d?{"files[]":t}:t,f&&new f,this.formSerializer)}}return l||o?(n.setContentType("application/json",!1),tL(t)):t}],transformResponse:[function(t){const n=this.transitional||Zi.transitional,a=n&&n.forcedJSONParsing,o=this.responseType==="json";if(te.isResponse(t)||te.isReadableStream(t))return t;if(t&&te.isString(t)&&(a&&!this.responseType||o)){const u=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(d){if(u)throw d.name==="SyntaxError"?De.from(d,De.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],e=>{Zi.headers[e]={}});const nL=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rL=e=>{const t={};let n,a,o;return e&&e.split(`
50
50
  `).forEach(function(u){o=u.indexOf(":"),n=u.substring(0,o).trim().toLowerCase(),a=u.substring(o+1).trim(),!(!n||t[n]&&nL[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t},gv=Symbol("internals");function Ji(e){return e&&String(e).trim().toLowerCase()}function Ls(e){return e===!1||e==null?e:te.isArray(e)?e.map(Ls):String(e)}function aL(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const iL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rc(e,t,n,a,o){if(te.isFunction(a))return a.call(this,t,n);if(o&&(t=n),!!te.isString(t)){if(te.isString(a))return t.indexOf(a)!==-1;if(te.isRegExp(a))return a.test(t)}}function oL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function sL(e,t){const n=te.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{value:function(o,l,u){return this[a].call(this,t,o,l,u)},configurable:!0})})}let on=class{constructor(t){t&&this.set(t)}set(t,n,a){const o=this;function l(d,f,p){const g=Ji(f);if(!g)throw new Error("header name must be a non-empty string");const m=te.findKey(o,g);(!m||o[m]===void 0||p===!0||p===void 0&&o[m]!==!1)&&(o[m||f]=Ls(d))}const u=(d,f)=>te.forEach(d,(p,g)=>l(p,g,f));if(te.isPlainObject(t)||t instanceof this.constructor)u(t,n);else if(te.isString(t)&&(t=t.trim())&&!iL(t))u(rL(t),n);else if(te.isObject(t)&&te.isIterable(t)){let d={},f,p;for(const g of t){if(!te.isArray(g))throw TypeError("Object iterator must return a key-value pair");d[p=g[0]]=(f=d[p])?te.isArray(f)?[...f,g[1]]:[f,g[1]]:g[1]}u(d,n)}else t!=null&&l(n,t,a);return this}get(t,n){if(t=Ji(t),t){const a=te.findKey(this,t);if(a){const o=this[a];if(!n)return o;if(n===!0)return aL(o);if(te.isFunction(n))return n.call(this,o,a);if(te.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ji(t),t){const a=te.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||rc(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let o=!1;function l(u){if(u=Ji(u),u){const d=te.findKey(a,u);d&&(!n||rc(a,a[d],d,n))&&(delete a[d],o=!0)}}return te.isArray(t)?t.forEach(l):l(t),o}clear(t){const n=Object.keys(this);let a=n.length,o=!1;for(;a--;){const l=n[a];(!t||rc(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const n=this,a={};return te.forEach(this,(o,l)=>{const u=te.findKey(a,l);if(u){n[u]=Ls(o),delete n[l];return}const d=t?oL(l):String(l).trim();d!==l&&delete n[l],n[d]=Ls(o),a[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return te.forEach(this,(a,o)=>{a!=null&&a!==!1&&(n[o]=t&&te.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
51
51
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[gv]=this[gv]={accessors:{}}).accessors,o=this.prototype;function l(u){const d=Ji(u);a[d]||(sL(o,u),a[d]=!0)}return te.isArray(t)?t.forEach(l):l(t),this}};on.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),te.reduceDescriptors(on.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}}),te.freezeMethods(on);function ac(e,t){const n=this||Zi,a=t||n,o=on.from(a.headers);let l=a.data;return te.forEach(e,function(d){l=d.call(n,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function hv(e){return!!(e&&e.__CANCEL__)}function Ja(e,t,n){De.call(this,e??"canceled",De.ERR_CANCELED,t,n),this.name="CanceledError"}te.inherits(Ja,De,{__CANCEL__:!0});function mv(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new De("Request failed with status code "+n.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function lL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function uL(e,t){e=e||10;const n=new Array(e),a=new Array(e);let o=0,l=0,u;return t=t!==void 0?t:1e3,function(f){const p=Date.now(),g=a[l];u||(u=p),n[o]=f,a[o]=p;let m=l,y=0;for(;m!==o;)y+=n[m++],m=m%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),p-u<t)return;const E=g&&p-g;return E?Math.round(y*1e3/E):void 0}}function cL(e,t){let n=0,a=1e3/t,o,l;const u=(p,g=Date.now())=>{n=g,o=null,l&&(clearTimeout(l),l=null),e(...p)};return[(...p)=>{const g=Date.now(),m=g-n;m>=a?u(p,g):(o=p,l||(l=setTimeout(()=>{l=null,u(o)},a-m)))},()=>o&&u(o)]}const Ms=(e,t,n=3)=>{let a=0;const o=uL(50,250);return cL(l=>{const u=l.loaded,d=l.lengthComputable?l.total:void 0,f=u-a,p=o(f),g=u<=d;a=u;const m={loaded:u,total:d,progress:d?u/d:void 0,bytes:f,rate:p||void 0,estimated:p&&d&&g?(d-u)/p:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(m)},n)},bv=(e,t)=>{const n=e!=null;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},yv=e=>(...t)=>te.asap(()=>e(...t)),dL=Xt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Xt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Xt.origin),Xt.navigator&&/(msie|trident)/i.test(Xt.navigator.userAgent)):()=>!0,pL=Xt.hasStandardBrowserEnv?{write(e,t,n,a,o,l){const u=[e+"="+encodeURIComponent(t)];te.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),te.isString(a)&&u.push("path="+a),te.isString(o)&&u.push("domain="+o),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ev(e,t,n){let a=!fL(t);return e&&(a||n==!1)?gL(e,t):t}const vv=e=>e instanceof on?{...e}:e;function va(e,t){t=t||{};const n={};function a(p,g,m,y){return te.isPlainObject(p)&&te.isPlainObject(g)?te.merge.call({caseless:y},p,g):te.isPlainObject(g)?te.merge({},g):te.isArray(g)?g.slice():g}function o(p,g,m,y){if(te.isUndefined(g)){if(!te.isUndefined(p))return a(void 0,p,m,y)}else return a(p,g,m,y)}function l(p,g){if(!te.isUndefined(g))return a(void 0,g)}function u(p,g){if(te.isUndefined(g)){if(!te.isUndefined(p))return a(void 0,p)}else return a(void 0,g)}function d(p,g,m){if(m in t)return a(p,g);if(m in e)return a(void 0,p)}const f={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:d,headers:(p,g,m)=>o(vv(p),vv(g),m,!0)};return te.forEach(Object.keys({...e,...t}),function(g){const m=f[g]||o,y=m(e[g],t[g],g);te.isUndefined(y)&&m!==d||(n[g]=y)}),n}const Sv=e=>{const t=va({},e);let{data:n,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:l,headers:u,auth:d}=t;t.headers=u=on.from(u),t.url=cv(Ev(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&u.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):"")));let f;if(te.isFormData(n)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((f=u.getContentType())!==!1){const[p,...g]=f?f.split(";").map(m=>m.trim()).filter(Boolean):[];u.setContentType([p||"multipart/form-data",...g].join("; "))}}if(Xt.hasStandardBrowserEnv&&(a&&te.isFunction(a)&&(a=a(t)),a||a!==!1&&dL(t.url))){const p=o&&l&&pL.read(l);p&&u.set(o,p)}return t},hL=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,a){const o=Sv(e);let l=o.data;const u=on.from(o.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:p}=o,g,m,y,E,v;function A(){E&&E(),v&&v(),o.cancelToken&&o.cancelToken.unsubscribe(g),o.signal&&o.signal.removeEventListener("abort",g)}let w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,!0),w.timeout=o.timeout;function R(){if(!w)return;const C=on.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),O={data:!d||d==="text"||d==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:C,config:e,request:w};mv(function(L){n(L),A()},function(L){a(L),A()},O),w=null}"onloadend"in w?w.onloadend=R:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(R)},w.onabort=function(){w&&(a(new De("Request aborted",De.ECONNABORTED,e,w)),w=null)},w.onerror=function(){a(new De("Network Error",De.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let M=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||pv;o.timeoutErrorMessage&&(M=o.timeoutErrorMessage),a(new De(M,O.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,w)),w=null},l===void 0&&u.setContentType(null),"setRequestHeader"in w&&te.forEach(u.toJSON(),function(M,O){w.setRequestHeader(O,M)}),te.isUndefined(o.withCredentials)||(w.withCredentials=!!o.withCredentials),d&&d!=="json"&&(w.responseType=o.responseType),p&&([y,v]=Ms(p,!0),w.addEventListener("progress",y)),f&&w.upload&&([m,E]=Ms(f),w.upload.addEventListener("progress",m),w.upload.addEventListener("loadend",E)),(o.cancelToken||o.signal)&&(g=C=>{w&&(a(!C||C.type?new Ja(null,e,w):C),w.abort(),w=null)},o.cancelToken&&o.cancelToken.subscribe(g),o.signal&&(o.signal.aborted?g():o.signal.addEventListener("abort",g)));const N=lL(o.url);if(N&&Xt.protocols.indexOf(N)===-1){a(new De("Unsupported protocol "+N+":",De.ERR_BAD_REQUEST,e));return}w.send(l||null)})},mL=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let a=new AbortController,o;const l=function(p){if(!o){o=!0,d();const g=p instanceof Error?p:this.reason;a.abort(g instanceof De?g:new Ja(g instanceof Error?g.message:g))}};let u=t&&setTimeout(()=>{u=null,l(new De(`timeout ${t} of ms exceeded`,De.ETIMEDOUT))},t);const d=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(l):p.removeEventListener("abort",l)}),e=null)};e.forEach(p=>p.addEventListener("abort",l));const{signal:f}=a;return f.unsubscribe=()=>te.asap(d),f}},bL=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let a=0,o;for(;a<n;)o=a+t,yield e.slice(a,o),a=o},yL=async function*(e,t){for await(const n of EL(e))yield*bL(n,t)},EL=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:a}=await t.read();if(n)break;yield a}}finally{await t.cancel()}},Av=(e,t,n,a)=>{const o=yL(e,t);let l=0,u,d=f=>{u||(u=!0,a&&a(f))};return new ReadableStream({async pull(f){try{const{done:p,value:g}=await o.next();if(p){d(),f.close();return}let m=g.byteLength;if(n){let y=l+=m;n(y)}f.enqueue(new Uint8Array(g))}catch(p){throw d(p),p}},cancel(f){return d(f),o.return()}},{highWaterMark:2})},Fs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wv=Fs&&typeof ReadableStream=="function",vL=Fs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Tv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},SL=wv&&Tv(()=>{let e=!1;const t=new Request(Xt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Rv=64*1024,ic=wv&&Tv(()=>te.isReadableStream(new Response("").body)),Bs={stream:ic&&(e=>e.body)};Fs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Bs[t]&&(Bs[t]=te.isFunction(e[t])?n=>n[t]():(n,a)=>{throw new De(`Response type '${t}' is not supported`,De.ERR_NOT_SUPPORT,a)})})})(new Response);const AL=async e=>{if(e==null)return 0;if(te.isBlob(e))return e.size;if(te.isSpecCompliantForm(e))return(await new Request(Xt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(te.isArrayBufferView(e)||te.isArrayBuffer(e))return e.byteLength;if(te.isURLSearchParams(e)&&(e=e+""),te.isString(e))return(await vL(e)).byteLength},wL=async(e,t)=>{const n=te.toFiniteNumber(e.getContentLength());return n??AL(t)},oc={http:_D,xhr:hL,fetch:Fs&&(async e=>{let{url:t,method:n,data:a,signal:o,cancelToken:l,timeout:u,onDownloadProgress:d,onUploadProgress:f,responseType:p,headers:g,withCredentials:m="same-origin",fetchOptions:y}=Sv(e);p=p?(p+"").toLowerCase():"text";let E=mL([o,l&&l.toAbortSignal()],u),v;const A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let w;try{if(f&&SL&&n!=="get"&&n!=="head"&&(w=await wL(g,a))!==0){let O=new Request(t,{method:"POST",body:a,duplex:"half"}),x;if(te.isFormData(a)&&(x=O.headers.get("content-type"))&&g.setContentType(x),O.body){const[L,U]=bv(w,Ms(yv(f)));a=Av(O.body,Rv,L,U)}}te.isString(m)||(m=m?"include":"omit");const R="credentials"in Request.prototype;v=new Request(t,{...y,signal:E,method:n.toUpperCase(),headers:g.normalize().toJSON(),body:a,duplex:"half",credentials:R?m:void 0});let N=await fetch(v,y);const C=ic&&(p==="stream"||p==="response");if(ic&&(d||C&&A)){const O={};["status","statusText","headers"].forEach(z=>{O[z]=N[z]});const x=te.toFiniteNumber(N.headers.get("content-length")),[L,U]=d&&bv(x,Ms(yv(d),!0))||[];N=new Response(Av(N.body,Rv,L,()=>{U&&U(),A&&A()}),O)}p=p||"text";let M=await Bs[te.findKey(Bs,p)||"text"](N,e);return!C&&A&&A(),await new Promise((O,x)=>{mv(O,x,{data:M,headers:on.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:v})})}catch(R){throw A&&A(),R&&R.name==="TypeError"&&/Load failed|fetch/i.test(R.message)?Object.assign(new De("Network Error",De.ERR_NETWORK,e,v),{cause:R.cause||R}):De.from(R,R&&R.code,e,v)}})};te.forEach(oc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xv=e=>`- ${e}`,TL=e=>te.isFunction(e)||e===null||e===!1,Nv={getAdapter:e=>{e=te.isArray(e)?e:[e];const{length:t}=e;let n,a;const o={};for(let l=0;l<t;l++){n=e[l];let u;if(a=n,!TL(n)&&(a=oc[(u=String(n)).toLowerCase()],a===void 0))throw new De(`Unknown adapter '${u}'`);if(a)break;o[u||"#"+l]=a}if(!a){const l=Object.entries(o).map(([d,f])=>`adapter ${d} `+(f===!1?"is not supported by the environment":"is not available in the build"));let u=t?l.length>1?`since :
52
52
  `+l.map(xv).join(`
@@ -337,9 +337,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
337
337
  opacity: 0;
338
338
  }
339
339
  }
340
- `);var Ht=me.memo(me.forwardRef(function(e,t){var n=e.sequence,a=e.repeat,o=e.className,l=e.speed,u=l===void 0?40:l,d=e.deletionSpeed,f=e.omitDeletionAnimation,p=f!==void 0&&f,g=e.preRenderFirstString,m=g!==void 0&&g,y=e.wrapper,E=y===void 0?"span":y,v=e.splitter,A=v===void 0?function(S){return nr([],jn(S),!1)}:v,w=e.cursor,R=w===void 0||w,N=e.style,C=function(S,j){var $={};for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&j.indexOf(I)<0&&($[I]=S[I]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function"){var le=0;for(I=Object.getOwnPropertySymbols(S);le<I.length;le++)j.indexOf(I[le])<0&&Object.prototype.propertyIsEnumerable.call(S,I[le])&&($[I[le]]=S[I[le]])}return $}(e,["sequence","repeat","className","speed","deletionSpeed","omitDeletionAnimation","preRenderFirstString","wrapper","splitter","cursor","style"]),M=C["aria-label"],O=C["aria-hidden"],x=C.role;d||(d=u);var L=new Array(2).fill(40);[u,d].forEach(function(S,j){switch(typeof S){case"number":L[j]=Math.abs(S-100);break;case"object":var $=S.type,I=S.value;if(typeof I!="number")break;$==="keyStrokeDelayInMs"&&(L[j]=I)}});var U,z,B,H,V,ee,ne=L[0],re=L[1],q=function(S,j){j===void 0&&(j=null);var $=me.useRef(j);return me.useEffect(function(){S&&(typeof S=="function"?S($.current):S.current=$.current)},[S]),$}(t),K=D5;U=o?"".concat(R?K+" ":"").concat(o):R?K:"",z=me.useRef(function(){var S,j=n;a===1/0?S=h1:typeof a=="number"&&(j=Array(1+a).fill(n).flat());var $=S?nr(nr([],jn(j),!1),[S],!1):nr([],jn(j),!1);return h1.apply(void 0,nr([q.current,A,ne,re,p],jn($),!1)),function(){q.current}}),B=me.useRef(),H=me.useRef(!1),V=me.useRef(!1),ee=jn(me.useState(0),2)[1],H.current&&(V.current=!0),me.useEffect(function(){return H.current||(B.current=z.current(),H.current=!0),ee(function(S){return S+1}),function(){V.current&&B.current&&B.current()}},[]);var Y=E,ie=m?n.find(function(S){return typeof S=="string"})||"":null;return Qn.createElement(Y,{"aria-hidden":O,"aria-label":M,role:x,style:N,className:U,children:M?Qn.createElement("span",{"aria-hidden":"true",ref:q,children:ie}):ie,ref:M?void 0:q})}),function(e,t){return!0});const b1="https://api.tybotflow.com/api/v1",L5="https://api.tybotflow.com/api/v1/web/send-message",M5="https://api.tybotflow.com/api/v1/chatbots-config",F5=({attachment:e,formatFileSize:t,mainColor:n,secondaryColor:a,controlsColor:o})=>{const{type:l,url:u,name:d,size:f}=e;switch(l){case"image":return F.jsxs("div",{className:"relative group",children:[F.jsx("img",{src:u,alt:d,className:"max-w-xs max-h-48 rounded-lg object-cover cursor-pointer hover:opacity-90 transition-opacity",onClick:()=>window.open(u,"_blank")}),F.jsx("div",{className:"absolute bottom-2 left-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded",children:t(f)})]});case"video":return F.jsxs("div",{className:"max-w-xs",children:[F.jsx("video",{src:u,controls:!0,className:"w-full max-h-48 rounded-lg",preload:"metadata",onError:()=>{console.error("Video failed to load:",u)},children:"Your browser does not support the video tag."}),F.jsxs("div",{className:"flex text-xs text-white mt-1 w-full overflow-hidden whitespace-nowrap text-ellipsis",children:[F.jsx("span",{className:"block w-full overflow-hidden whitespace-nowrap text-ellipsis",title:d,children:d}),F.jsxs("span",{className:"ml-2",children:["• ",t(f)]})]})]});case"audio":return F.jsxs("div",{className:"bg-gray-800 bg-opacity-70 p-3 rounded-lg flex-1 w-full",children:[F.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[F.jsx(td,{className:"w-4 h-4",style:{color:n}}),F.jsx("span",{className:"text-sm font-medium truncate text-white",title:d,children:d})]}),F.jsx(B5,{src:u,mainColor:n,secondaryColor:a,controlsColor:o}),F.jsx("p",{className:"text-xs text-gray-400 mt-1",children:t(f)})]});case"document":return F.jsx("div",{className:"bg-gray-800 bg-opacity-50 p-3 rounded-lg max-w-xs cursor-pointer hover:bg-opacity-70 transition-colors",onClick:()=>window.open(u,"_blank"),children:F.jsxs("div",{className:"flex items-center gap-3",children:[F.jsx("div",{className:"w-10 h-10 bg-purple-600 rounded-lg flex items-center justify-center",children:F.jsx(CA,{className:"w-5 h-5 text-white"})}),F.jsxs("div",{className:"flex-1 min-w-0",children:[F.jsx("p",{className:"text-sm font-medium truncate text-white",children:d}),F.jsx("p",{className:"text-xs text-gray-400",children:t(f)})]})]})});default:return null}},B5=({src:e,mainColor:t,secondaryColor:n,controlsColor:a})=>{const o=me.useRef(null),[l,u]=me.useState(1),{wavesurfer:d,isPlaying:f}=N5({container:o,waveColor:t,progressColor:n,barWidth:2,height:50,url:e}),p=()=>{d&&d.playPause()},g=()=>{const E=l===0?1:0;u(E),d?.setVolume(E)},m=()=>{d?.skip(-.096)},y=()=>{d?.skip(.096)};return F.jsxs("div",{className:"flex w-full flex-col items-center rounded-xl pt-1",children:[F.jsx("div",{ref:o,className:"w-full px-2"}),F.jsxs("div",{className:"flex w-full items-center justify-between",children:[F.jsx("div",{className:"relative flex items-center",children:F.jsx("button",{className:"transition-colors",style:{color:a},onClick:g,"aria-label":"Toggle volume",children:l===0?F.jsx(dz,{size:20}):F.jsx(cz,{size:20})})}),F.jsxs("div",{className:"-ml-9 flex flex-1 cursor-auto justify-center gap-2 rounded-full py-2 text-white",children:[F.jsx("button",{onClick:m,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":"Step back",children:F.jsx(iz,{})}),F.jsx("button",{onClick:p,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":f?"Pause":"Play",children:f?F.jsx(ez,{}):F.jsx(tz,{})}),F.jsx("button",{onClick:y,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":"Step forward",children:F.jsx(oz,{})})]})]})]})},U5=({config:e})=>{const t=me.useRef(null),n=me.useRef(null),a=me.useRef(null),o=me.useRef(null),l=me.useRef(null),[u,d]=me.useState(null),[f,p]=me.useState(!0);me.useEffect(()=>{(async()=>{p(!0),await Et.get(`${M5}/bot/${e.bot?.botId}`,{}).then(de=>{d(de.data)}).catch(de=>{console.error("Error fetching bot config:",de)}).finally(()=>{p(!1)})})()},[e.bot?.botId,e?.token]);const g=u?.mainColor||"#59168b",m=u?.secondaryColor||"#6366f1",y=u?.thirdColor||"#0f172b",E=u?.headerFirstColor||"#6e11b0",v=u?.headerSecondColor||"#372aac",A=u?.inputBackgroundColor||"#1f2937",w=u?.inputTextColor||"#fff",R=u?.roundness||24,N=u?.chatRoundness||16,C=(u?.minPanelWidth||434)>window.innerWidth?window.innerWidth:u?.minPanelWidth||434,M=(u?.maxPanelWidth||window.innerWidth)>window.innerWidth?window.innerWidth:u?.maxPanelWidth||window.innerWidth,O=u?.chatMaxWidth||88,x=u?.toggleBtnBorderTopLeftRadius||12,L=u?.toggleBtnBorderTopRightRadius||0,U=u?.toggleBtnBorderBottomLeftRadius||12,z=u?.toggleBtnBorderBottomRightRadius||0,B=u?.menuBackgroundColor||"#1f2937",H=u?.menuTextColor||"#e5e7eb",V=u?.menuHoverBackgroundColor||"#374151",ee=u?.agentChatResponseColor||"#e5e7eb",ne=u?.agentChatResponseBgColor||"#1f2937",re=u?.agentIconBgColor||"#59168b",q=u?.agentIconColor||"#fff",K=u?.userChatMessagesColor||"#fff",Y=u?.userChatMessagesBgColor||"#7a1ebe",ie=u?.userIconBgColor||"#7a1ebe",S=u?.userIconColor||"#fff",j=u?.ButtonColor||"#fff",$=u?.ButtonsBgColor||"#59168b",I=u?.fontSize||12,le=u?.toggleBtnPosition||"bottom-right",[be,ce]=me.useState(C),Se=me.useRef(!1),we=me.useRef(0),Ke=me.useRef(C),dt=D=>{Se.current=!0,we.current=D.clientX,Ke.current=be,document.body.style.cursor="ew-resize"};me.useEffect(()=>{const D=fe=>{if(!Se.current)return;const Re=we.current-fe.clientX;let Ye=Ke.current+Re;Ye=Math.max(C,Math.min(M,Ye)),ce(Ye)},de=()=>{Se.current&&(Se.current=!1,document.body.style.cursor="")};return window.addEventListener("mousemove",D),window.addEventListener("mouseup",de),()=>{window.removeEventListener("mousemove",D),window.removeEventListener("mouseup",de)}},[be,C,M]);const[Ve,Nt]=me.useState(!1),[Dt,Lt]=me.useState(!1),[he,ye]=me.useState(""),[Le,Me]=me.useState(!1),[Ce,Ie]=me.useState([]),[lt,pt]=me.useState(!1),ze=me.useRef(0),[Oe,Ue]=me.useState(!1),[J,oe]=me.useState(!1),ge=me.useRef(!1),[Ee,Pe]=me.useState("00:00"),Je=me.useRef(null),gt=me.useRef(0),[At,Mt]=me.useState([]),[nt,$e]=me.useState([]),{startRecording:Ct,stopRecording:Ft,pauseRecording:tn,resumeRecording:bt,status:rt,error:Hn}=L4.useReactMediaRecorder({video:!1,onStop(D,de){if(ge.current){ge.current=!1,Pe("00:00"),gt.current=0;return}Ie(fe=>[...fe,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),file:de,type:"audio",url:D,name:`recording-${new Date().toISOString()}.webm`,size:de.size}]),Pe("00:00"),gt.current=0}}),br=u?.icon||e?.bot.avatar_url||E5,Gn=u?.title||e?.bot.name||"Tybot webchat",[rr,ar]=me.useState(()=>{if(!u?.botNeedsAuth){let D=localStorage.getItem("conversationId");if(!D){const de=new Uint8Array(16);window.crypto.getRandomValues(de),D=Array.from(de).map(fe=>fe.toString(16).padStart(2,"0")).join("")}return localStorage.setItem("conversationId",D),D}}),[kn,Il]=me.useState(()=>u?.botNeedsAuth?!!localStorage.getItem("conversationId"):!0),[_r,ir]=me.useState(""),[wt,Zt]=me.useState(""),[_n,ko]=me.useState(""),Vn=me.useRef(!1),Vr=nt.reduce((D,de)=>de.seen?D:D+(de.sender==="agent"?de.nMessage||1:0),0),pi=()=>{$e(D=>D.map(de=>({...de,seen:!0})))};me.useEffect(()=>{let D;return localStorage.getItem("webChatOpen")||(D=setTimeout(()=>{Nt(!0),Vn.current=!0,pi(),localStorage.setItem("webChatOpen","true")},3200)),()=>clearTimeout(D)},[]),me.useEffect(()=>{const D=async()=>{if(e?.bot){Me(!0);try{const de=await Ml("hi",e?.bot.botId);$e(fe=>[...fe,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:de,timestamp:new Date,seen:Vn.current,nMessage:typeof de=="string"?1:de.length}])}catch(de){console.error("Error sending message:",de)}finally{Me(!1)}}};kn&&e?.bot&&nt.length===0&&(D(),localStorage.getItem("webChatAuth")&&JSON.parse(localStorage.getItem("webChatAuth"))&&u?.botNeedsAuth&&rr&&(_r||_n||wt)&&(setTimeout(()=>{Xr(rr)},2e3),localStorage.setItem("webChatAuth","true")))},[kn,e?.bot,rr]),me.useEffect(()=>(rt==="recording"?Je.current||(Je.current=setInterval(()=>{gt.current+=1;const D=Math.floor(gt.current/60).toString().padStart(2,"0"),de=(gt.current%60).toString().padStart(2,"0");Pe(`${D}:${de}`)},1e3)):Je.current&&(clearInterval(Je.current),Je.current=null),()=>{Je.current&&(clearInterval(Je.current),Je.current=null)}),[rt]),me.useEffect(()=>{Hn&&Hn.toLowerCase().includes("permission_denied")&&(oe(!1),Pe("00:00"),gt.current=0,Je.current&&(clearInterval(Je.current),Je.current=null),alert("Microphone permission denied. Please allow access to record audio."))},[Hn]),me.useEffect(()=>{rt!=="recording"&&rt!=="paused"&&(Pe("00:00"),gt.current=0)},[rt]);const or=me.useRef(null);me.useEffect(()=>{if(or&&or.current){const D=or.current;D.style.height="auto";const de=120;D.scrollHeight>de?(D.style.height=de+"px",D.style.overflowY="auto"):(D.style.height=D.scrollHeight+"px",D.style.overflowY="hidden")}},[he]),me.useEffect(()=>{(Ve||Le)&&t.current&&(t.current.scrollTop=t.current.scrollHeight)},[nt,Le,Ve]);const Oo=D=>{const de=D.type.toLowerCase();return de.startsWith("image/")?"image":de.startsWith("video/")?"video":de.startsWith("audio/")?"audio":"document"},En=me.useCallback((D,de)=>{const fe=[];Array.from(D).forEach(Re=>{if(Re.size>10*1024*1024){alert(`File ${Re.name} is too large. Maximum size is 10MB.`);return}const Ye={id:Date.now().toString()+Math.random().toString(36).substring(2,9),file:Re,type:Oo(Re),url:URL.createObjectURL(Re),name:Re.name,size:Re.size};fe.push(Ye)}),Ie(Re=>[...Re,...fe]),de&&de.current&&(de.current.value="")},[]),Yr=me.useCallback(D=>{D.preventDefault(),ze.current=0,pt(!1);const de=D.dataTransfer.files;de.length>0&&En(de)},[En]),Da=me.useCallback(D=>{D.preventDefault(),ze.current+=1,pt(!0)},[]),Wr=me.useCallback(D=>{D.preventDefault()},[]),kt=me.useCallback(D=>{D.preventDefault(),ze.current-=1,ze.current<=0&&pt(!1)},[]),Dl=D=>{Ie(de=>{const fe=de.find(Re=>Re.id===D);return fe&&URL.revokeObjectURL(fe.url),de.filter(Re=>Re.id!==D)})},Ll=D=>{if(D===0)return"0 Bytes";const de=1024,fe=["Bytes","KB","MB","GB"],Re=Math.floor(Math.log(D)/Math.log(de));return Number.parseFloat((D/Math.pow(de,Re)).toFixed(2))+" "+fe[Re]},cn=async(D=he)=>{if(D.trim()||Ce.length!==0){const fe={id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"user",content:D,attachments:[...Ce],timestamp:new Date};if($e(Re=>[...Re,fe]),ye(""),Ie([]),Me(!0),e?.bot)try{try{const Re=await Ml(D,e?.bot.botId);$e(Ye=>[...Ye,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:Re,timestamp:new Date,seen:Vn.current,nMessage:typeof Re=="string"?1:Re.length}])}catch{$e(Re=>[...Re,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:"Erreur du serveur",timestamp:new Date,seen:Vn.current,nMessage:1}])}}catch(Re){console.error("Error parsing selectedBotInfo:",Re)}else $e(Re=>[...Re,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:"Aucun bot sélectionné",timestamp:new Date,seen:Vn.current,nMessage:1}]);Me(!1)}else return},Yn=D=>{switch(Ue(!1),D){case"image":n.current?.click();break;case"video":a.current?.click();break;case"audio":o.current?.click();break;case"document":l.current?.click();break}},Ml=async(D,de)=>{const{data:fe}=await Et.post(e?.API_URL||L5,{messageText:D,botId:de,conversation_id:rr,isintern:!!e?.token,host:window.location.origin});return fe},Fl=({attachment:D,onRemove:de})=>F.jsxs("div",{className:"relative group w-24 h-24 rounded-xl overflow-hidden bg-gray-900 shadow-md border border-gray-700",children:[D.type==="image"&&D.url?F.jsx("img",{src:D.url,alt:D.name,className:"w-full h-full object-cover"}):F.jsxs("div",{className:"w-full h-full flex flex-col items-center justify-center text-gray-300 px-1 text-center text-xs",children:[D.type==="video"&&F.jsx(kA,{className:"w-5 h-5 mb-1 text-red-400"}),D.type==="audio"&&F.jsx(td,{className:"w-5 h-5 mb-1 text-green-400"}),D.type==="document"&&F.jsx(QP,{className:"w-5 h-5 mb-1 text-yellow-400"}),F.jsx("span",{className:"w-full truncate",title:D.name,children:D.name})]}),F.jsx("button",{onClick:de,className:"absolute top-1 right-1 w-5 h-5 bg-black bg-opacity-50 rounded-full text-white flex items-center justify-center hover:bg-opacity-80",title:"Remove",children:F.jsx(go,{className:"w-3 h-3"})})]}),Bl=/^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u,Mb=/[\u0600-\u06FF\u0750-\u077F]/,Gt=D=>Bl.test(D),sr=D=>Mb.test(D),nn=me.useMemo(()=>({h1:({children:D})=>F.jsx("h1",{className:"sm:text-2xl text-xl font-bold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h2:({children:D})=>F.jsx("h2",{className:"sm:text-xl text-lg font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h3:({children:D})=>F.jsx("h3",{className:"sm:text-lg text-base font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h4:({children:D})=>F.jsx("h4",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h5:({children:D})=>F.jsx("h5",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h6:({children:D})=>F.jsx("h6",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),p:({children:D})=>{let de;return typeof D=="string"&&sr(D)||typeof D=="object"&&!Array.isArray(D)&&D?.props?.children&&Gt(D?.props?.children)||typeof D=="object"&&Array.isArray(D)&&D.some(fe=>sr(fe))?de="rtl":de="ltr",F.jsx("div",{className:"leading-relaxed",dir:typeof D=="string"||!Array.isArray(D)?de:"",children:Array.isArray(D)?D.map((fe,Re)=>typeof fe=="string"&&!new RegExp("^(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F|\\s)+$","u").test(fe)?F.jsx("p",{dir:sr(fe)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[fe,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],wrapper:"span",cursor:!1,speed:92})},Re):fe.type!=="br"?fe:null):F.jsx(F.Fragment,{children:D})})},ul:({children:D})=>F.jsx("ul",{className:"list-disc list-inside ml-4 my-2 text-gray-200",dir:sr(D)?"rtl":"ltr",children:D}),ol:({children:D})=>{let de=!1;return D.filter(fe=>typeof fe!="string").every(fe=>sr(fe?.props?.children))?de=!0:de=!1,F.jsx("ol",{className:"list-decimal list-inside ml-4 my-2 text-gray-200",dir:de?"rtl":"ltr",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D})},li:({children:D})=>F.jsx("li",{className:"my-1",dir:Gt(D)?"rtl":"ltr",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),a:({href:D,children:de})=>F.jsx("a",{href:D,className:"text-blue-400 underline hover:text-blue-300",target:"_blank",rel:"noopener noreferrer",children:F.jsx(Ht,{sequence:[de,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),blockquote:({children:D})=>F.jsx("blockquote",{className:"border-l-4 border-purple-500 pl-4 italic my-2",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),code({node:D,className:de,children:fe,...Re}){const Ye=/language-(\w+)/.exec(de||"");return Ye?F.jsx(c1,{...Re,PreTag:"div",children:String(fe).replace(/\n$/,""),language:Ye[1],style:y5}):F.jsx("code",{className:"bg-gray-800 px-1 rounded font-mono inline",...Re,children:typeof fe=="string"?F.jsx(Ht,{sequence:[fe,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):fe})},table:({children:D})=>F.jsx("table",{className:"min-w-full my-2 border border-gray-700",children:D}),thead:({children:D})=>F.jsx("thead",{className:"bg-gray-800",children:D}),tbody:({children:D})=>F.jsx("tbody",{children:D}),tr:({children:D})=>F.jsx("tr",{className:"border-b border-gray-700",children:D}),th:({children:D})=>F.jsx("th",{className:"px-3 py-2 font-semibold text-left bg-gray-800",children:D}),td:({children:D})=>F.jsx("td",{className:"px-3 py-2",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),strong:({children:D})=>F.jsx("strong",{className:"font-bold",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),em:({children:D})=>F.jsx("em",{className:"italic ",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),hr:()=>F.jsx("hr",{className:"my-4",style:{borderColor:`1px solid ${w}`}})}),[w]);me.useEffect(()=>{const D=de=>{Oe&&de.target instanceof Element&&!de.composedPath().some(fe=>fe?.id==="upload-button-toggle"||fe?.id==="document-button"||fe?.id==="image-button"||fe?.id==="video-button"||fe?.id==="audio-button")&&Ue(!1)};return document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)}},[Oe]);const Io=D=>{switch(D.type){case"text":return F.jsx(co,{remarkPlugins:[fo],components:nn,children:D.text?.replace(/\n/g,`
340
+ `);var Ht=me.memo(me.forwardRef(function(e,t){var n=e.sequence,a=e.repeat,o=e.className,l=e.speed,u=l===void 0?40:l,d=e.deletionSpeed,f=e.omitDeletionAnimation,p=f!==void 0&&f,g=e.preRenderFirstString,m=g!==void 0&&g,y=e.wrapper,E=y===void 0?"span":y,v=e.splitter,A=v===void 0?function(S){return nr([],jn(S),!1)}:v,w=e.cursor,R=w===void 0||w,N=e.style,C=function(S,j){var $={};for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&j.indexOf(I)<0&&($[I]=S[I]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function"){var le=0;for(I=Object.getOwnPropertySymbols(S);le<I.length;le++)j.indexOf(I[le])<0&&Object.prototype.propertyIsEnumerable.call(S,I[le])&&($[I[le]]=S[I[le]])}return $}(e,["sequence","repeat","className","speed","deletionSpeed","omitDeletionAnimation","preRenderFirstString","wrapper","splitter","cursor","style"]),M=C["aria-label"],O=C["aria-hidden"],x=C.role;d||(d=u);var L=new Array(2).fill(40);[u,d].forEach(function(S,j){switch(typeof S){case"number":L[j]=Math.abs(S-100);break;case"object":var $=S.type,I=S.value;if(typeof I!="number")break;$==="keyStrokeDelayInMs"&&(L[j]=I)}});var U,z,B,H,V,ee,ne=L[0],re=L[1],q=function(S,j){j===void 0&&(j=null);var $=me.useRef(j);return me.useEffect(function(){S&&(typeof S=="function"?S($.current):S.current=$.current)},[S]),$}(t),K=D5;U=o?"".concat(R?K+" ":"").concat(o):R?K:"",z=me.useRef(function(){var S,j=n;a===1/0?S=h1:typeof a=="number"&&(j=Array(1+a).fill(n).flat());var $=S?nr(nr([],jn(j),!1),[S],!1):nr([],jn(j),!1);return h1.apply(void 0,nr([q.current,A,ne,re,p],jn($),!1)),function(){q.current}}),B=me.useRef(),H=me.useRef(!1),V=me.useRef(!1),ee=jn(me.useState(0),2)[1],H.current&&(V.current=!0),me.useEffect(function(){return H.current||(B.current=z.current(),H.current=!0),ee(function(S){return S+1}),function(){V.current&&B.current&&B.current()}},[]);var Y=E,ie=m?n.find(function(S){return typeof S=="string"})||"":null;return Qn.createElement(Y,{"aria-hidden":O,"aria-label":M,role:x,style:N,className:U,children:M?Qn.createElement("span",{"aria-hidden":"true",ref:q,children:ie}):ie,ref:M?void 0:q})}),function(e,t){return!0});const b1="https://api.tybotflow.com/api/v1",L5="https://api.tybotflow.com/api/v1/web/send-message",M5="https://api.tybotflow.com/api/v1/chatbots-config",F5=({attachment:e,formatFileSize:t,mainColor:n,secondaryColor:a,controlsColor:o})=>{const{type:l,url:u,name:d,size:f}=e;switch(l){case"image":return F.jsxs("div",{className:"relative group",children:[F.jsx("img",{src:u,alt:d,className:"max-w-xs max-h-48 rounded-lg object-cover cursor-pointer hover:opacity-90 transition-opacity",onClick:()=>window.open(u,"_blank")}),F.jsx("div",{className:"absolute bottom-2 left-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded",children:t(f)})]});case"video":return F.jsxs("div",{className:"max-w-xs",children:[F.jsx("video",{src:u,controls:!0,className:"w-full max-h-48 rounded-lg",preload:"metadata",onError:()=>{console.error("Video failed to load:",u)},children:"Your browser does not support the video tag."}),F.jsxs("div",{className:"flex text-xs text-white mt-1 w-full overflow-hidden whitespace-nowrap text-ellipsis",children:[F.jsx("span",{className:"block w-full overflow-hidden whitespace-nowrap text-ellipsis",title:d,children:d}),F.jsxs("span",{className:"ml-2",children:["• ",t(f)]})]})]});case"audio":return F.jsxs("div",{className:"bg-gray-800 bg-opacity-70 p-3 rounded-lg flex-1 w-full",children:[F.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[F.jsx(td,{className:"w-4 h-4",style:{color:n}}),F.jsx("span",{className:"text-sm font-medium truncate text-white",title:d,children:d})]}),F.jsx(B5,{src:u,mainColor:n,secondaryColor:a,controlsColor:o}),F.jsx("p",{className:"text-xs text-gray-400 mt-1",children:t(f)})]});case"document":return F.jsx("div",{className:"bg-gray-800 bg-opacity-50 p-3 rounded-lg max-w-xs cursor-pointer hover:bg-opacity-70 transition-colors",onClick:()=>window.open(u,"_blank"),children:F.jsxs("div",{className:"flex items-center gap-3",children:[F.jsx("div",{className:"w-10 h-10 bg-purple-600 rounded-lg flex items-center justify-center",children:F.jsx(CA,{className:"w-5 h-5 text-white"})}),F.jsxs("div",{className:"flex-1 min-w-0",children:[F.jsx("p",{className:"text-sm font-medium truncate text-white",children:d}),F.jsx("p",{className:"text-xs text-gray-400",children:t(f)})]})]})});default:return null}},B5=({src:e,mainColor:t,secondaryColor:n,controlsColor:a})=>{const o=me.useRef(null),[l,u]=me.useState(1),{wavesurfer:d,isPlaying:f}=N5({container:o,waveColor:t,progressColor:n,barWidth:2,height:50,url:e}),p=()=>{d&&d.playPause()},g=()=>{const E=l===0?1:0;u(E),d?.setVolume(E)},m=()=>{d?.skip(-.096)},y=()=>{d?.skip(.096)};return F.jsxs("div",{className:"flex w-full flex-col items-center rounded-xl pt-1",children:[F.jsx("div",{ref:o,className:"w-full px-2"}),F.jsxs("div",{className:"flex w-full items-center justify-between",children:[F.jsx("div",{className:"relative flex items-center",children:F.jsx("button",{className:"transition-colors",style:{color:a},onClick:g,"aria-label":"Toggle volume",children:l===0?F.jsx(dz,{size:20}):F.jsx(cz,{size:20})})}),F.jsxs("div",{className:"-ml-9 flex flex-1 cursor-auto justify-center gap-2 rounded-full py-2 text-white",children:[F.jsx("button",{onClick:m,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":"Step back",children:F.jsx(iz,{})}),F.jsx("button",{onClick:p,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":f?"Pause":"Play",children:f?F.jsx(ez,{}):F.jsx(tz,{})}),F.jsx("button",{onClick:y,className:"cursor-pointer hover:scale-110 transition-colors",style:{color:a},"aria-label":"Step forward",children:F.jsx(oz,{})})]})]})]})},U5=({config:e})=>{const t=me.useRef(null),n=me.useRef(null),a=me.useRef(null),o=me.useRef(null),l=me.useRef(null),[u,d]=me.useState(null),[f,p]=me.useState(!0);me.useEffect(()=>{(async()=>{p(!0),await Et.get(`${M5}/bot/${e.bot?.botId}`,{}).then(de=>{d(de.data)}).catch(de=>{console.error("Error fetching bot config:",de)}).finally(()=>{p(!1)})})()},[e.bot?.botId,e?.token]);const g=u?.mainColor||"#59168b",m=u?.secondaryColor||"#6366f1",y=u?.thirdColor||"#0f172b",E=u?.headerFirstColor||"#6e11b0",v=u?.headerSecondColor||"#372aac",A=u?.inputBackgroundColor||"#1f2937",w=u?.inputTextColor||"#fff",R=u?.roundness||24,N=u?.chatRoundness||16,C=(u?.minPanelWidth||434)>window.innerWidth?window.innerWidth:u?.minPanelWidth||434,M=(u?.maxPanelWidth||window.innerWidth)>window.innerWidth?window.innerWidth:u?.maxPanelWidth||window.innerWidth,O=u?.chatMaxWidth||88,x=u?.toggleBtnBorderTopLeftRadius||12,L=u?.toggleBtnBorderTopRightRadius||0,U=u?.toggleBtnBorderBottomLeftRadius||12,z=u?.toggleBtnBorderBottomRightRadius||0,B=u?.menuBackgroundColor||"#1f2937",H=u?.menuTextColor||"#e5e7eb",V=u?.menuHoverBackgroundColor||"#374151",ee=u?.agentChatResponseColor||"#e5e7eb",ne=u?.agentChatResponseBgColor||"#1f2937",re=u?.agentIconBgColor||"#59168b",q=u?.agentIconColor||"#fff",K=u?.userChatMessagesColor||"#fff",Y=u?.userChatMessagesBgColor||"#7a1ebe",ie=u?.userIconBgColor||"#7a1ebe",S=u?.userIconColor||"#fff",j=u?.ButtonColor||"#fff",$=u?.ButtonsBgColor||"#59168b",I=u?.fontSize||12,le=u?.toggleBtnPosition||"bottom-right",[be,ce]=me.useState(C),Se=me.useRef(!1),we=me.useRef(0),Ke=me.useRef(C),dt=D=>{Se.current=!0,we.current=D.clientX,Ke.current=be,document.body.style.cursor="ew-resize"};me.useEffect(()=>{const D=fe=>{if(!Se.current)return;const Re=we.current-fe.clientX;let Ye=Ke.current+Re;Ye=Math.max(C,Math.min(M,Ye)),ce(Ye)},de=()=>{Se.current&&(Se.current=!1,document.body.style.cursor="")};return window.addEventListener("mousemove",D),window.addEventListener("mouseup",de),()=>{window.removeEventListener("mousemove",D),window.removeEventListener("mouseup",de)}},[be,C,M]);const[Ve,Nt]=me.useState(!1),[Dt,Lt]=me.useState(!1),[he,ye]=me.useState(""),[Le,Me]=me.useState(!1),[Ce,Ie]=me.useState([]),[lt,pt]=me.useState(!1),ze=me.useRef(0),[Oe,Ue]=me.useState(!1),[J,oe]=me.useState(!1),ge=me.useRef(!1),[Ee,Pe]=me.useState("00:00"),Je=me.useRef(null),gt=me.useRef(0),[At,Mt]=me.useState([]),[nt,$e]=me.useState([]),{startRecording:Ct,stopRecording:Ft,pauseRecording:tn,resumeRecording:bt,status:rt,error:Hn}=L4.useReactMediaRecorder({video:!1,onStop(D,de){if(ge.current){ge.current=!1,Pe("00:00"),gt.current=0;return}Ie(fe=>[...fe,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),file:de,type:"audio",url:D,name:`recording-${new Date().toISOString()}.webm`,size:de.size}]),Pe("00:00"),gt.current=0}}),br=u?.icon||e?.bot.avatar_url||E5,Gn=u?.title||e?.bot.name||"Tybot webchat",[rr,ar]=me.useState(()=>{if(!u?.botNeedsAuth){let D=localStorage.getItem("conversationId");if(!D){const de=new Uint8Array(16);window.crypto.getRandomValues(de),D=Array.from(de).map(fe=>fe.toString(16).padStart(2,"0")).join("")}return localStorage.setItem("conversationId",D),D}}),[kn,Il]=me.useState(()=>u?.botNeedsAuth?!!localStorage.getItem("conversationId"):!0),[_r,ir]=me.useState(""),[wt,Zt]=me.useState(""),[_n,ko]=me.useState(""),Vn=me.useRef(!1),Vr=nt.reduce((D,de)=>de.seen?D:D+(de.sender==="agent"?de.nMessage||1:0),0),pi=()=>{$e(D=>D.map(de=>({...de,seen:!0})))};me.useEffect(()=>{let D;return localStorage.getItem("webChatOpen")||(D=setTimeout(()=>{Nt(!0),Vn.current=!0,pi(),localStorage.setItem("webChatOpen","true")},3200)),()=>clearTimeout(D)},[]),me.useEffect(()=>{const D=async()=>{if(e?.bot){Me(!0);try{const de=await Ml("hi",e?.bot.botId);$e(fe=>[...fe,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:de,timestamp:new Date,seen:Vn.current,nMessage:typeof de=="string"?1:de.length}])}catch(de){console.error("Error sending message:",de)}finally{Me(!1)}}};kn&&e?.bot&&nt.length===0&&(D(),localStorage.getItem("webChatAuth")&&JSON.parse(localStorage.getItem("webChatAuth"))&&u?.botNeedsAuth&&rr&&(_r||_n||wt)&&(setTimeout(()=>{Xr(rr)},2e3),localStorage.setItem("webChatAuth","true")))},[kn,e?.bot,rr]),me.useEffect(()=>(rt==="recording"?Je.current||(Je.current=setInterval(()=>{gt.current+=1;const D=Math.floor(gt.current/60).toString().padStart(2,"0"),de=(gt.current%60).toString().padStart(2,"0");Pe(`${D}:${de}`)},1e3)):Je.current&&(clearInterval(Je.current),Je.current=null),()=>{Je.current&&(clearInterval(Je.current),Je.current=null)}),[rt]),me.useEffect(()=>{Hn&&Hn.toLowerCase().includes("permission_denied")&&(oe(!1),Pe("00:00"),gt.current=0,Je.current&&(clearInterval(Je.current),Je.current=null),alert("Microphone permission denied. Please allow access to record audio."))},[Hn]),me.useEffect(()=>{rt!=="recording"&&rt!=="paused"&&(Pe("00:00"),gt.current=0)},[rt]);const or=me.useRef(null);me.useEffect(()=>{if(or&&or.current){const D=or.current;D.style.height="auto";const de=120;D.scrollHeight>de?(D.style.height=de+"px",D.style.overflowY="auto"):(D.style.height=D.scrollHeight+"px",D.style.overflowY="hidden")}},[he]),me.useEffect(()=>{(Ve||Le)&&t.current&&(t.current.scrollTop=t.current.scrollHeight)},[nt,Le,Ve]);const Oo=D=>{const de=D.type.toLowerCase();return de.startsWith("image/")?"image":de.startsWith("video/")?"video":de.startsWith("audio/")?"audio":"document"},En=me.useCallback((D,de)=>{const fe=[];Array.from(D).forEach(Re=>{if(Re.size>10*1024*1024){alert(`File ${Re.name} is too large. Maximum size is 10MB.`);return}const Ye={id:Date.now().toString()+Math.random().toString(36).substring(2,9),file:Re,type:Oo(Re),url:URL.createObjectURL(Re),name:Re.name,size:Re.size};fe.push(Ye)}),Ie(Re=>[...Re,...fe]),de&&de.current&&(de.current.value="")},[]),Yr=me.useCallback(D=>{D.preventDefault(),ze.current=0,pt(!1);const de=D.dataTransfer.files;de.length>0&&En(de)},[En]),Da=me.useCallback(D=>{D.preventDefault(),ze.current+=1,pt(!0)},[]),Wr=me.useCallback(D=>{D.preventDefault()},[]),kt=me.useCallback(D=>{D.preventDefault(),ze.current-=1,ze.current<=0&&pt(!1)},[]),Dl=D=>{Ie(de=>{const fe=de.find(Re=>Re.id===D);return fe&&URL.revokeObjectURL(fe.url),de.filter(Re=>Re.id!==D)})},Ll=D=>{if(D===0)return"0 Bytes";const de=1024,fe=["Bytes","KB","MB","GB"],Re=Math.floor(Math.log(D)/Math.log(de));return Number.parseFloat((D/Math.pow(de,Re)).toFixed(2))+" "+fe[Re]},cn=async(D=he)=>{if(D.trim()||Ce.length!==0){const fe={id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"user",content:D,attachments:[...Ce],timestamp:new Date};if($e(Re=>[...Re,fe]),ye(""),Ie([]),Me(!0),e?.bot)try{try{const Re=await Ml(D,e?.bot.botId);$e(Ye=>[...Ye,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:Re,timestamp:new Date,seen:Vn.current,nMessage:typeof Re=="string"?1:Re.length}])}catch{$e(Re=>[...Re,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:"Erreur du serveur",timestamp:new Date,seen:Vn.current,nMessage:1}])}}catch(Re){console.error("Error parsing selectedBotInfo:",Re)}else $e(Re=>[...Re,{id:Date.now().toString()+Math.random().toString(36).substring(2,9),sender:"agent",content:"Aucun bot sélectionné",timestamp:new Date,seen:Vn.current,nMessage:1}]);Me(!1)}else return},Yn=D=>{switch(Ue(!1),D){case"image":n.current?.click();break;case"video":a.current?.click();break;case"audio":o.current?.click();break;case"document":l.current?.click();break}},Ml=async(D,de)=>{const{data:fe}=await Et.post(e?.API_URL||L5,{type:"text",messageText:D,botId:de,conversation_id:rr,isintern:!!e?.token,host:window.location.origin});return fe},Fl=({attachment:D,onRemove:de})=>F.jsxs("div",{className:"relative group w-24 h-24 rounded-xl overflow-hidden bg-gray-900 shadow-md border border-gray-700",children:[D.type==="image"&&D.url?F.jsx("img",{src:D.url,alt:D.name,className:"w-full h-full object-cover"}):F.jsxs("div",{className:"w-full h-full flex flex-col items-center justify-center text-gray-300 px-1 text-center text-xs",children:[D.type==="video"&&F.jsx(kA,{className:"w-5 h-5 mb-1 text-red-400"}),D.type==="audio"&&F.jsx(td,{className:"w-5 h-5 mb-1 text-green-400"}),D.type==="document"&&F.jsx(QP,{className:"w-5 h-5 mb-1 text-yellow-400"}),F.jsx("span",{className:"w-full truncate",title:D.name,children:D.name})]}),F.jsx("button",{onClick:de,className:"absolute top-1 right-1 w-5 h-5 bg-black bg-opacity-50 rounded-full text-white flex items-center justify-center hover:bg-opacity-80",title:"Remove",children:F.jsx(go,{className:"w-3 h-3"})})]}),Bl=/^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u,Mb=/[\u0600-\u06FF\u0750-\u077F]/,Gt=D=>Bl.test(D),sr=D=>Mb.test(D),nn=me.useMemo(()=>({h1:({children:D})=>F.jsx("h1",{className:"sm:text-2xl text-xl font-bold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h2:({children:D})=>F.jsx("h2",{className:"sm:text-xl text-lg font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h3:({children:D})=>F.jsx("h3",{className:"sm:text-lg text-base font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h4:({children:D})=>F.jsx("h4",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h5:({children:D})=>F.jsx("h5",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),h6:({children:D})=>F.jsx("h6",{className:"sm:text-base text-sm font-semibold my-2",dir:Gt(D)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),p:({children:D})=>{let de;return typeof D=="string"&&sr(D)||typeof D=="object"&&!Array.isArray(D)&&D?.props?.children&&Gt(D?.props?.children)||typeof D=="object"&&Array.isArray(D)&&D.some(fe=>sr(fe))?de="rtl":de="ltr",F.jsx("div",{className:"leading-relaxed",dir:typeof D=="string"||!Array.isArray(D)?de:"",children:Array.isArray(D)?D.map((fe,Re)=>typeof fe=="string"&&!new RegExp("^(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F|\\s)+$","u").test(fe)?F.jsx("p",{dir:sr(fe)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[fe,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],wrapper:"span",cursor:!1,speed:92})},Re):fe.type!=="br"?fe:null):F.jsx(F.Fragment,{children:D})})},ul:({children:D})=>F.jsx("ul",{className:"list-disc list-inside ml-4 my-2 text-gray-200",dir:sr(D)?"rtl":"ltr",children:D}),ol:({children:D})=>{let de=!1;return D.filter(fe=>typeof fe!="string").every(fe=>sr(fe?.props?.children))?de=!0:de=!1,F.jsx("ol",{className:"list-decimal list-inside ml-4 my-2 text-gray-200",dir:de?"rtl":"ltr",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D})},li:({children:D})=>F.jsx("li",{className:"my-1",dir:Gt(D)?"rtl":"ltr",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),a:({href:D,children:de})=>F.jsx("a",{href:D,className:"text-blue-400 underline hover:text-blue-300",target:"_blank",rel:"noopener noreferrer",children:F.jsx(Ht,{sequence:[de,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),blockquote:({children:D})=>F.jsx("blockquote",{className:"border-l-4 border-purple-500 pl-4 italic my-2",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),code({node:D,className:de,children:fe,...Re}){const Ye=/language-(\w+)/.exec(de||"");return Ye?F.jsx(c1,{...Re,PreTag:"div",children:String(fe).replace(/\n$/,""),language:Ye[1],style:y5}):F.jsx("code",{className:"bg-gray-800 px-1 rounded font-mono inline",...Re,children:typeof fe=="string"?F.jsx(Ht,{sequence:[fe,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):fe})},table:({children:D})=>F.jsx("table",{className:"min-w-full my-2 border border-gray-700",children:D}),thead:({children:D})=>F.jsx("thead",{className:"bg-gray-800",children:D}),tbody:({children:D})=>F.jsx("tbody",{children:D}),tr:({children:D})=>F.jsx("tr",{className:"border-b border-gray-700",children:D}),th:({children:D})=>F.jsx("th",{className:"px-3 py-2 font-semibold text-left bg-gray-800",children:D}),td:({children:D})=>F.jsx("td",{className:"px-3 py-2",children:typeof D=="string"?F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92}):D}),strong:({children:D})=>F.jsx("strong",{className:"font-bold",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),em:({children:D})=>F.jsx("em",{className:"italic ",children:F.jsx(Ht,{sequence:[D,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],cursor:!1,speed:92})}),hr:()=>F.jsx("hr",{className:"my-4",style:{borderColor:`1px solid ${w}`}})}),[w]);me.useEffect(()=>{const D=de=>{Oe&&de.target instanceof Element&&!de.composedPath().some(fe=>fe?.id==="upload-button-toggle"||fe?.id==="document-button"||fe?.id==="image-button"||fe?.id==="video-button"||fe?.id==="audio-button")&&Ue(!1)};return document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)}},[Oe]);const Io=D=>{switch(D.type){case"text":return F.jsx(co,{remarkPlugins:[fo],components:nn,children:D.text?.replace(/\n/g,`
341
341
  `)});case"single-choice":return F.jsxs(F.Fragment,{children:[F.jsx(co,{remarkPlugins:[fo],components:nn,children:D.text?.replace(/\n/g,`
342
342
  `)||""}),F.jsx("div",{className:"flex flex-wrap",dir:Gt(D.text||"")?"rtl":"ltr",children:D.choices?.map((fe,Re)=>F.jsx("button",{className:"mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",onClick:()=>{cn(fe.title)},style:{background:$,borderRadius:`${N}px`,color:j},dir:Gt(fe.title)?"rtl":"ltr",children:F.jsx(Ht,{sequence:[fe.title,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],wrapper:"span",cursor:!1,speed:92})},Re))})]});case"image":return F.jsx(F.Fragment,{children:F.jsx("div",{className:"relative group",children:F.jsx("img",{src:D.image,className:"max-w-xs max-h-48 rounded-lg object-cover cursor-pointer hover:opacity-90 transition-opacity",onClick:()=>window.open(D.image,"_blank")})})});case"dropdown":return F.jsxs(F.Fragment,{children:[F.jsx(co,{remarkPlugins:[fo],components:nn,children:D.message?.replace(/\n/g,`
343
343
  `)||""}),F.jsx("div",{className:"flex flex-wrap",dir:Gt(D.message||"")?"rtl":"ltr",children:D.options?.map((fe,Re)=>F.jsx("button",{className:"mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",onClick:()=>{cn(fe.value)},style:{background:$,borderRadius:`${N}px`,color:j},dir:Gt(D.message||"")?"rtl":"ltr",children:F.jsx(Ht,{sequence:[fe.label,0,()=>{t.current&&(t.current.scrollTop=t.current.scrollHeight)}],wrapper:"span",cursor:!1,speed:92})},Re))})]});case"carousel":const de=(D.items?.length||0)<2?1:2;return F.jsx("div",{className:"mt-2 w-full",children:F.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-${de} gap-3`,children:D.items?.map((fe,Re)=>F.jsxs("div",{className:"flex-shrink-0 border p-3 shadow-md",style:{background:ne,borderRadius:`${N}px`},children:[fe.image&&F.jsx("img",{src:fe.image,alt:fe.title,className:"h-32 w-full object-cover rounded-md mb-2"}),F.jsx("h3",{className:"text-sm font-bold",title:fe.title,children:fe.title}),F.jsx("p",{className:"text-xs text-gray-300 mb-2 line-clamp-2",title:fe.subtitle,children:fe.subtitle}),fe.actions?.map((Ye,lr)=>{let yr;try{yr=typeof Ye.payload=="string"?JSON.parse(Ye.payload):Ye.payload}catch{yr={productName:fe.title}}return F.jsx("button",{className:"mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",onClick:()=>{Ye.action==="Open URL"?window.open(Ye.url,"_blank"):Ye.title==="scan"?fetch(fe.image).then(pn=>pn.blob()).then(pn=>{const Er=URL.createObjectURL(pn),Kr=document.createElement("a");Kr.href=Er,Kr.download="qrcode.png",document.body.appendChild(Kr),Kr.click(),document.body.removeChild(Kr),URL.revokeObjectURL(Er)}).catch(()=>{alert("Failed to download image.")}):cn(yr.productName||D.title)},style:{background:$,borderRadius:`${N}px`,color:j},children:Ye.title},lr)})]},Re))})});case"card":return F.jsx("div",{className:"mt-2 w-full",children:F.jsx("div",{className:"grid grid-cols-1 gap-3",children:F.jsxs("div",{className:"flex-shrink-0 border rounded-lg p-3 shadow-md",style:{background:ne},children:[D.image&&F.jsx("img",{src:D.image,alt:D.title,className:"h-32 w-full object-cover rounded-md mb-2"}),F.jsx("h3",{className:"font-bold",children:D.title}),D.actions?.map((fe,Re)=>{let Ye;try{Ye=typeof fe.payload=="string"?JSON.parse(fe.payload):fe.payload}catch{Ye={productName:D.title}}return F.jsx("button",{className:"mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",onClick:()=>{fe.action==="Open URL"?window.open(fe.url,"_blank"):fe.title==="scan"?D.image&&fetch(D.image).then(lr=>lr.blob()).then(lr=>{const yr=URL.createObjectURL(lr),pn=document.createElement("a");pn.href=yr,pn.download="qrcode.png",document.body.appendChild(pn),pn.click(),document.body.removeChild(pn),URL.revokeObjectURL(yr)}).catch(()=>{alert("Failed to download image.")}):cn(Ye.productName||D.title)},style:{background:$,borderRadius:`${N}px`,color:j},children:fe.title},Re)})]})})})}},Ul=async D=>{if(!kn)return;const de=await fetch(`${b1}/endusers/get-by-username`,{headers:{Authorization:`Bearer ${e?.token}`,"Content-Type":"application/json"},method:"POST",body:JSON.stringify({username:`web_user_${D}`})});if(!de.ok)throw new Error(`HTTP error! status: ${de.status}`);return(await de.json()).id},Xr=async D=>{if(!kn)return;const de=await Ul(D);let fe;_r&&(fe={last_name:_r.split(" ")[1]||_r.split(" ")[0]||`web_user_${D}`,first_name:_r.split(" ")[0]||`web_user_${D}`}),wt&&(fe={...fe,phone:wt}),_n&&(fe={...fe,email:_n});const Re=await fetch(`${b1}/endusers/${de}`,{headers:{Authorization:`Bearer ${e?.token}`,"Content-Type":"application/json"},method:"PUT",body:JSON.stringify(fe)});if(!Re.ok)throw new Error(`HTTP error! status: ${Re.status}`);return await Re.json()},Do=async D=>{D.preventDefault();const de=new Uint8Array(16);window.crypto.getRandomValues(de);const fe=Array.from(de).map(Re=>Re.toString(16).padStart(2,"0")).join("");ar(fe),localStorage.setItem("conversationId",fe),localStorage.setItem("webChatAuth","true"),Il(!0)},[Lo,La]=me.useState(!1),Pl=async()=>{$e([]);const D=new Uint8Array(16);window.crypto.getRandomValues(D);const de=Array.from(D).map(fe=>fe.toString(16).padStart(2,"0")).join("");ar(de),localStorage.setItem("conversationId",de)},dn=`linear-gradient(to bottom right, ${y}, ${g}, ${y})`,Mo=`linear-gradient(to right, ${g}, ${m})`,Fb=`linear-gradient(to right, ${E}, ${v})`;return f||!u?null:F.jsxs(F.Fragment,{children:[F.jsxs("div",{className:"fixed top-0 right-0 h-full shadow-2xl !z-[100000000]",style:{width:be+"px",transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)",transform:Ve?"translateX(0)":`translateX(${be}px)`,background:dn},onDrop:Yr,onDragOver:Wr,onDragEnter:Da,onDragLeave:kt,children:[F.jsx("div",{onMouseDown:dt,className:"absolute left-0 top-0 h-full w-2 cursor-ew-resize z-50 bg-transparent opacity-50 transition-colors",style:{userSelect:"none"},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent"}),lt&&F.jsx("div",{className:"absolute inset-0 bg-opacity-20 border-2 border-dashed flex items-center justify-center z-15",style:{borderColor:g},children:F.jsxs("div",{className:"text-center ",style:{color:w},children:[F.jsx(lz,{className:"w-12 h-12 mx-auto mb-2"}),F.jsx("p",{className:"text-lg font-semibold",children:"Drop files here"})]})}),F.jsx("div",{className:"text-center py-[1px] flex flex-col items-center justify-center gap-1 backdrop-blur-sm",style:{background:g},children:F.jsxs("p",{className:"text-[11px]",style:{color:w},children:["© Powered by"," ",F.jsx("a",{href:"https://tybot.ma",target:"_blank",rel:"noopener noreferrer",className:"underline font-semibold hover:opacity-80 transition-opacity ",style:{color:w},children:"Tybot"})]})}),kn?F.jsxs("div",{className:"flex items-center justify-between px-4 py-1 sm:py-3 border-b",style:{background:Fb,borderColor:v},children:[F.jsxs("div",{className:"flex items-center gap-3",children:[F.jsx("div",{className:"sm:size-10 size-8 flex items-center justify-center overflow-hidden rounded-full",children:F.jsx("img",{src:br,alt:`${Gn} Logo`,className:"w-full h-full"})}),F.jsx("h2",{className:"sm:text-lg text-md font-semibold",style:{color:w},children:Gn})]}),F.jsxs("div",{className:"flex justify-between items-center gap-2 ml-2",children:[F.jsx("button",{className:"transition-colors p-1 rounded-full",style:{color:w},title:"Reset chat","aria-label":"Reset chat",onClick:()=>La(!0),onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(rz,{className:"w-5 h-5"})}),F.jsx("button",{onClick:()=>Lt(!0),className:"transition-colors p-1 rounded-full",style:{color:w},title:"Bot info","aria-label":"Bot info",onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(JP,{className:"w-5 h-5"})}),F.jsx("button",{onClick:()=>{Nt(!1),Vn.current=!1},className:"transition-colors p-1 rounded-full",style:{color:w},title:"Close Chat","aria-label":"Close Chat",onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})})]})]}):F.jsx("div",{className:"flex items-center justify-end px-6 py-3",children:F.jsx("div",{className:"flex items-center",children:F.jsx("button",{onClick:()=>{Nt(!1),Vn.current=!1},className:"transition-colors p-1 rounded-full",style:{color:e?.inputTextColor||"#FFF"},title:"Close Chat","aria-label":"Close Chat",onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})})})}),kn&&F.jsxs("div",{ref:t,className:"flex-1 px-2 sm:px-4 py-4 overflow-y-auto space-y-4 scroll-smooth",style:{height:"calc(100% - 140px)",scrollbarWidth:"thin",scrollbarColor:`${g} transparent`,fontSize:I+"px"},children:[nt.map(D=>F.jsxs("div",{className:`flex ${D.sender==="agent"?"flex-col sm:flex-row":""} items-start gap-3 ${D.sender==="user"?"flex-row-reverse":""}`,children:[F.jsx("div",{className:"sm:size-8 size-7 rounded-full flex items-center justify-center flex-shrink-0",style:{background:D.sender==="user"?ie:re},children:D.sender==="user"?F.jsx(uz,{className:"sm:size-4 size-3",style:{color:S}}):F.jsx(NA,{className:"sm:size-4 size-3",style:{color:q}})}),F.jsxs("div",{className:`flex flex-col flex-1 ${D.sender==="user"?"items-end":"items-start"}`,children:[D.attachments&&D.attachments.length>0&&F.jsx("div",{className:"flex flex-col items-end w-[88%] mb-2 space-y-2",children:D.attachments.map(de=>F.jsx(F5,{attachment:de,formatFileSize:Ll,mainColor:g,secondaryColor:m,controlsColor:w},de.id))}),D.content&&D.sender==="user"?F.jsx("div",{className:"px-4 py-2 backdrop-blur-sm break-words w-fit",style:{wordBreak:"break-word",overflowWrap:"break-word",borderRadius:`${N}px`,maxWidth:O+"%",background:Y,color:K},children:F.jsx(co,{remarkPlugins:[fo],components:nn,children:typeof D.content=="string"?D.content.replace(/\n/g,`
344
344
  `):""})}):typeof D.content=="object"?D.content.map((de,fe)=>F.jsx("div",{className:"mb-1 px-4 py-2 backdrop-blur-sm break-words w-fit",style:{wordBreak:"break-word",overflowWrap:"break-word",borderRadius:`${N}px`,maxWidth:O+"%",background:ne,color:ee},children:Io(de)},fe)):F.jsx("div",{className:"mb-1 px-4 py-2 backdrop-blur-sm break-words w-fit",style:{wordBreak:"break-word",overflowWrap:"break-word",borderRadius:`${N}px`,maxWidth:O+"%",background:ne,color:ee},children:F.jsx(co,{remarkPlugins:[fo],components:nn,children:typeof D.content=="string"?D.content.replace(/\n/g,`
345
- `):""})}),F.jsx("span",{className:"ml-1 text-[10px] sm:text-xs mt-1",style:{color:w},children:D.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})]},D.id)),Le&&F.jsxs("div",{className:"flex items-start gap-3",children:[F.jsx("div",{className:"sm:size-8 size-7 rounded-full bg-gradient-to-r flex items-center justify-center",style:{background:re},children:F.jsx(NA,{className:"sm:size-4 size-3",style:{color:q}})}),F.jsx("div",{className:"px-4 py-2",style:{background:ne,color:ee,borderRadius:`${N}px`},children:F.jsxs("div",{className:"flex space-x-1",children:[F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee}}),F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee,animationDelay:"0.1s"}}),F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee,animationDelay:"0.2s"}})]})})]})]}),!kn&&F.jsxs("div",{className:"w-full h-full flex flex-col mt-20 items-center p-4 gap-4",children:[F.jsx("h4",{className:"text-sm font-bold mb-2",style:{color:w},children:"Veuillez fournir vos informations pour commencer à discuter"}),F.jsxs("form",{onSubmit:Do,className:"w-full max-w-xs flex flex-col gap-4 p-6 rounded-2xl shadow-lg",style:{background:g},children:[u?.formFields.includes("full_name")&&F.jsx("input",{type:"text",placeholder:"Nom et prénom",value:_r,onChange:D=>ir(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"full_name"),u?.formFields.includes("phone_number")&&F.jsx("input",{type:"text",placeholder:"Téléphone",value:wt,onChange:D=>Zt(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"phone_number"),u?.formFields.includes("email")&&F.jsx("input",{type:"email",placeholder:"Email",value:_n,onChange:D=>ko(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"email"),F.jsx("button",{type:"submit",className:"py-3 rounded-lg font-bold uppercase outline-none shadow-lg transition-all duration-200",style:{background:`linear-gradient(90deg, ${g}, ${m})`,letterSpacing:"2px",borderRadius:"14px",color:w},children:"Submit"})]})]}),kn&&F.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4",style:{background:`linear-gradient(to top, ${y}, transparent)`},children:[Ce.length>0&&F.jsx("div",{className:"flex flex-wrap gap-2 mb-3 p-3 bg-opacity-70 rounded-lg",style:{background:A},children:Ce.map(D=>F.jsx(Fl,{attachment:D,onRemove:()=>Dl(D.id)},D.id))}),F.jsxs("div",{className:"flex items-center w-full gap-2 relative",children:[F.jsx("div",{className:"flex-1 relative",children:F.jsxs(F.Fragment,{children:[rt!=="recording"&&rt!=="paused"?F.jsxs(F.Fragment,{children:[F.jsx("button",{id:"upload-button-toggle",type:"button",onClick:()=>Ue(D=>!D),className:"absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10 hover:bg-opacity-10",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="",children:F.jsx(nz,{className:`size-4 sm:size-5 transition-transform duration-200 ${Oe?"rotate-45":""}`})}),F.jsx("button",{type:"button",onClick:()=>{Ct()},className:"absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="",children:F.jsx($P,{className:"size-4 sm:size-5"})})]}):F.jsxs(F.Fragment,{children:[F.jsx("button",{type:"button",onClick:()=>{ge.current=!0,Ft()},className:"absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 hover:bg-red-100 hover:bg-opacity-50 rounded-full flex items-center justify-center text-red-500 hover:text-red-600 z-10 after:w-2 after:h-2 after:bg-red-500 after:absolute after:rounded-full after:top-1/2 after:-right-3 after:-translate-y-1/2 after:animate-bounce",children:F.jsx(sz,{className:"size-4 sm:size-5"})}),F.jsx("button",{type:"button",onClick:()=>{J?(oe(!1),bt()):(oe(!0),tn())},className:"absolute right-11 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w},children:J?F.jsx(KP,{className:"size-6 sm:size-7"}):F.jsx(XP,{className:"size-6 sm:size-7"})}),F.jsxs("div",{className:"absolute left-16 bottom-4 flex items-center gap-4 z-10 ",style:{color:w},children:[F.jsx("p",{children:Ee}),F.jsx("p",{className:`${rt==="recording"?"animate-pulse":""}`,children:rt==="recording"?"Recording...":rt==="paused"?"Paused":"Starting..."})]}),F.jsx("button",{type:"button",onClick:()=>{Ft()},className:"absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w,background:"green"},children:F.jsx(WP,{className:"size-4 sm:size-5"})})]}),Oe&&F.jsxs("div",{className:"absolute bottom-12 left-0 rounded-lg shadow-xl border border-gray-700 py-2 min-w-48 z-10",style:{background:B},children:[F.jsxs("button",{id:"document-button",onClick:()=>Yn("document"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center",children:F.jsx(CA,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Document"})]}),F.jsxs("button",{id:"image-button",onClick:()=>Yn("image"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-green-600 rounded-full flex items-center justify-center",children:F.jsx(ZP,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Photos"})]}),F.jsxs("button",{id:"video-button",onClick:()=>Yn("video"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-red-600 rounded-full flex items-center justify-center",children:F.jsx(kA,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Videos"})]}),F.jsxs("button",{id:"audio-button",onClick:()=>Yn("audio"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-purple-600 rounded-full flex items-center justify-center",children:F.jsx(td,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Audio"})]})]}),F.jsx("textarea",{id:"message-input",ref:or,className:`w-full pt-3 text-xs sm:text-sm sm:pt-4 px-12 resize-none min-h-10 sm:min-h-12 max-h-32 overflow-y-auto focus:outline-none backdrop-blur-sm ${rt==="recording"||rt==="paused"?"cursor-default":""}`,value:rt==="recording"||rt==="paused"?"":he,onChange:D=>ye(D.target.value),placeholder:rt==="recording"||rt==="paused"?"":"Type your message...",rows:1,onKeyDown:D=>{D.key==="Enter"&&!D.shiftKey&&(D.preventDefault(),cn())},style:{borderRadius:`${R}px`,background:A,color:w,scrollbarWidth:"thin",scrollbarColor:`${g} transparent`},readOnly:rt==="recording"||rt==="paused"})]})}),(he.trim()||Ce.length!==0)&&F.jsx("div",{className:"w-min",children:F.jsx("button",{onClick:()=>cn(),className:"w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200 transform hover:scale-105",style:{background:g,color:w},children:F.jsx(az,{className:"w-5 h-5"})})})]}),F.jsx("input",{ref:n,type:"file",multiple:!0,className:"hidden",accept:"image/*",onChange:D=>D.target.files&&En(D.target.files,n)}),F.jsx("input",{ref:a,type:"file",multiple:!0,className:"hidden",accept:"video/*",onChange:D=>D.target.files&&En(D.target.files,a)}),F.jsx("input",{ref:o,type:"file",multiple:!0,className:"hidden",accept:"audio/*",onChange:D=>D.target.files&&En(D.target.files,o)}),F.jsx("input",{ref:l,type:"file",multiple:!0,className:"hidden",accept:".pdf,.doc,.docx,.txt,.csv,.xlsx,.ppt,.pptx,.zip,.rar",onChange:D=>D.target.files&&En(D.target.files,l)})]}),Dt&&F.jsx("div",{className:"fixed inset-0 z-[998] flex items-center justify-center",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(4px)"},onClick:()=>Lt(!1),children:F.jsxs("div",{className:"relative w-full max-w-md mx-4 p-6 rounded-2xl shadow-2xl border overflow-hidden animate-[fadeIn_0.25s_ease]",style:{background:`linear-gradient(145deg, ${y}, ${g}, ${m})`,borderRadius:`${R}px`,borderColor:g},onClick:D=>D.stopPropagation(),children:[F.jsx("button",{onClick:()=>Lt(!1),className:"absolute top-3 right-3 p-1 rounded-full transition-colors","aria-label":"Close bot info",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})}),e?.bot?F.jsxs("div",{className:"flex flex-col gap-4",children:[F.jsxs("div",{className:"flex items-center gap-4",children:[F.jsx("div",{className:"w-16 h-16 rounded-full p-1 flex items-center justify-center shadow-md overflow-hidden",style:{background:`linear-gradient(to bottom right, ${g}, ${m})`,borderRadius:"1.5rem"},children:F.jsx("img",{src:br,alt:`${Gn} logo`||"Bot avatar",className:"w-full h-full rounded-full",style:{borderRadius:"1.5rem"}})}),F.jsx("div",{className:"min-w-0",children:F.jsx("h3",{className:"text-lg font-semibold truncate",title:Gn,style:{color:w},children:Gn})})]}),u?.description&&F.jsx("div",{className:"max-h-40 overflow-y-auto pr-1 custom-scrollbar",children:F.jsx("p",{className:"text-sm leading-relaxed whitespace-pre-line",style:{wordBreak:"break-word",color:w},children:u.description})}),F.jsxs("div",{className:"grid grid-cols-2 gap-3 text-xs",style:{color:w},children:[Array.isArray(u?.phone_numbers)&&u.phone_numbers.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Phone number",u.phone_numbers.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1 flex-wrap",children:u.phone_numbers.map((D,de)=>F.jsx("span",{className:"font-medium break-all",style:{color:w},children:D},de))})]}),Array.isArray(u?.websites)&&u.websites.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Website",u.websites.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1 flex-wrap",children:u.websites.map((D,de)=>F.jsx("a",{className:"break-all underline font-semibold",href:D,target:"_blank",rel:"noopener noreferrer",children:D},de))})]}),Array.isArray(u?.emails)&&u.emails.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Email",u.emails.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1",children:u.emails.map((D,de)=>F.jsx("span",{className:"font-medium break-all",style:{color:w},children:D},de))})]})]})]}):F.jsxs("div",{className:"text-center",style:{color:w},children:[F.jsx("p",{className:"text-sm",children:"No bot selected."}),F.jsx("button",{type:"button",onClick:()=>Lt(!1),className:"mt-4 px-4 py-2 rounded-lg text-sm font-medium bg-white/10 hover:bg-white/20 text-black transition-colors",style:{borderRadius:`${R}px`},children:"Close"})]})]})}),Lo&&F.jsx("div",{className:"fixed inset-0 z-[998] flex items-center justify-center",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(4px)"},onClick:()=>La(!1),children:F.jsxs("div",{className:"relative w-full max-w-md mx-4 p-6 rounded-2xl shadow-2xl border overflow-hidden animate-[fadeIn_0.25s_ease]",style:{background:`linear-gradient(145deg, ${y}, ${g}, ${m})`,borderRadius:`${R}px`,borderColor:g},onClick:D=>D.stopPropagation(),children:[F.jsx("button",{onClick:()=>La(!1),className:"absolute top-3 right-3 p-1 rounded-full transition-colors","aria-label":"Close reset chat",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})}),F.jsx("h3",{className:"text-lg font-semibold mb-2 ",style:{color:w},children:"Reset Chat?"}),F.jsx("p",{className:"mb-4",style:{color:w},children:"Are you sure you want to reset the chat? This will clear all messages."}),F.jsxs("div",{className:"flex justify-end gap-2",children:[F.jsx("button",{className:"px-4 py-2 rounded bg-white/80 text-gray-900 hover:bg-white",onClick:()=>La(!1),children:"Cancel"}),F.jsx("button",{className:"px-4 py-2 rounded bg-red-600 text-white hover:bg-red-700",onClick:async()=>{La(!1),await Pl()},children:"Confirm"})]})]})})]}),le==="middle-right"?F.jsxs("button",{onClick:()=>{Nt(D=>!D),Vn.current=!Ve,Ve||pi()},className:"fixed top-1/2 -translate-y-1/2 px-4 py-3 shadow-lg transform !z-[10000000]",style:{right:"0",transform:Ve?`translateX(-${be}px)`:"translateX(0)",transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)",background:Mo,borderTopLeftRadius:`${x}px`,borderBottomLeftRadius:`${U}px`,borderTopRightRadius:`${L}px`,borderBottomRightRadius:`${z}px`},children:[F.jsx("img",{src:br,alt:"Tybot logo",className:"w-7 h-7"}),Vr>0&&!Ve?F.jsxs(F.Fragment,{children:[F.jsx("audio",{src:"https://public-assets.content-platform.envatousercontent.com/3a5b6a9c-bead-4397-bc15-393c0f6edb9f/87e342b2-9863-4e6c-83af-edeb375b338d/preview.mp3",className:"hidden",autoPlay:!0}),F.jsx("span",{className:"absolute -top-1 -left-1 bg-red-500 text-white text-xs font-medium size-5 rounded-full flex items-center justify-center",children:Vr>9?"9+":Vr})]}):null]}):F.jsxs("button",{onClick:()=>{Nt(D=>!D),Vn.current=!Ve,Ve||pi()},className:`${Ve?"hidden":"fixed"} rounded-full size-[72px] ${le==="bottom-right"?"bottom-14 right-12":le==="bottom-left"?"bottom-14 left-12":""} p-1 shadow-lg transform`,style:{transform:Ve?`translateX(-${be}px)`:"translateX(0)",transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)",background:Mo,zIndex:999},onMouseDown:D=>D.currentTarget.style.transform="scale(0.90)",onMouseEnter:D=>D.currentTarget.style.transform="scale(0.95)",onMouseLeave:D=>D.currentTarget.style.transform="scale(1)",children:[F.jsx("div",{className:"size-full overflow-hidden rounded-full",children:F.jsx("img",{src:br,alt:"Tybot logo",className:"w-full h-full"})}),Vr>0&&!Ve?F.jsxs(F.Fragment,{children:[F.jsx("audio",{src:"https://public-assets.content-platform.envatousercontent.com/3a5b6a9c-bead-4397-bc15-393c0f6edb9f/87e342b2-9863-4e6c-83af-edeb375b338d/preview.mp3",className:"hidden",autoPlay:!0}),F.jsx("span",{className:"absolute -top-0 -left-0 bg-red-500 text-white text-xs font-medium size-5 rounded-full flex items-center justify-center",children:Vr>9?"9+":Vr})]}):null]})]})};function P5(e){const t="tybot-widget-container";let n=document.getElementById(t);n||(n=document.createElement("div"),n.id=t,document.body.appendChild(n));const a=n.shadowRoot??n.attachShadow({mode:"open"});if(!document.querySelector("#tybot-widget-fonts")){const d=document.createElement("link");d.rel="preconnect",d.href="https://fonts.googleapis.com";const f=document.createElement("link");f.rel="preconnect",f.href="https://fonts.gstatic.com",f.crossOrigin="";const p=document.createElement("link");p.id="tybot-widget-fonts",p.rel="stylesheet",p.href="https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&display=swap",document.head.append(d),document.head.append(f),document.head.append(p)}if(!a.querySelector("#tybot-widget-style")){const d=document.createElement("style");d.id="tybot-widget-style",d.textContent=iD,a.appendChild(d)}const o=a.querySelector("#tybot-widget-root");o&&o.remove();const l=document.createElement("div");l.id="tybot-widget-root",a.appendChild(l),aD.createRoot(l).render(F.jsx(U5,{config:e}))}Qa.createTybotWidget=P5,Object.defineProperty(Qa,Symbol.toStringTag,{value:"Module"})});
345
+ `):""})}),F.jsx("span",{className:"ml-1 text-[10px] sm:text-xs mt-1",style:{color:w},children:D.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})]},D.id)),Le&&F.jsxs("div",{className:"flex items-start gap-3",children:[F.jsx("div",{className:"sm:size-8 size-7 rounded-full bg-gradient-to-r flex items-center justify-center",style:{background:re},children:F.jsx(NA,{className:"sm:size-4 size-3",style:{color:q}})}),F.jsx("div",{className:"px-4 py-2",style:{background:ne,color:ee,borderRadius:`${N}px`},children:F.jsxs("div",{className:"flex space-x-1",children:[F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee}}),F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee,animationDelay:"0.1s"}}),F.jsx("div",{className:"size-1 sm:size-2 rounded-full animate-bounce",style:{background:ee,animationDelay:"0.2s"}})]})})]})]}),!kn&&F.jsxs("div",{className:"w-full h-full flex flex-col mt-20 items-center p-4 gap-4",children:[F.jsx("h4",{className:"text-sm font-bold mb-2",style:{color:w},children:"Veuillez fournir vos informations pour commencer à discuter"}),F.jsxs("form",{onSubmit:Do,className:"w-full max-w-xs flex flex-col gap-4 p-6 rounded-2xl shadow-lg",style:{background:g},children:[u?.formFields.includes("full_name")&&F.jsx("input",{type:"text",placeholder:"Nom et prénom",value:_r,onChange:D=>ir(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"full_name"),u?.formFields.includes("phone_number")&&F.jsx("input",{type:"text",placeholder:"Téléphone",value:wt,onChange:D=>Zt(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"phone_number"),u?.formFields.includes("email")&&F.jsx("input",{type:"email",placeholder:"Email",value:_n,onChange:D=>ko(D.target.value),className:"py-3 px-4 rounded-lg outline-none transition-all duration-200",style:{borderRadius:"14px",backgroundColor:w,color:A,borderColor:m}},"email"),F.jsx("button",{type:"submit",className:"py-3 rounded-lg font-bold uppercase outline-none shadow-lg transition-all duration-200",style:{background:`linear-gradient(90deg, ${g}, ${m})`,letterSpacing:"2px",borderRadius:"14px",color:w},children:"Submit"})]})]}),kn&&F.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4",style:{background:`linear-gradient(to top, ${y}, transparent)`},children:[Ce.length>0&&F.jsx("div",{className:"flex flex-wrap gap-2 mb-3 p-3 bg-opacity-70 rounded-lg",style:{background:A},children:Ce.map(D=>F.jsx(Fl,{attachment:D,onRemove:()=>Dl(D.id)},D.id))}),F.jsxs("div",{className:"flex items-center w-full gap-2 relative",children:[F.jsx("div",{className:"flex-1 relative",children:F.jsxs(F.Fragment,{children:[rt!=="recording"&&rt!=="paused"?F.jsxs(F.Fragment,{children:[F.jsx("button",{id:"upload-button-toggle",type:"button",onClick:()=>Ue(D=>!D),className:"absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10 hover:bg-opacity-10",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="",children:F.jsx(nz,{className:`size-4 sm:size-5 transition-transform duration-200 ${Oe?"rotate-45":""}`})}),F.jsx("button",{type:"button",onClick:()=>{Ct()},className:"absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="",children:F.jsx($P,{className:"size-4 sm:size-5"})})]}):F.jsxs(F.Fragment,{children:[F.jsx("button",{type:"button",onClick:()=>{ge.current=!0,Ft()},className:"absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 hover:bg-red-100 hover:bg-opacity-50 rounded-full flex items-center justify-center text-red-500 hover:text-red-600 z-10 after:w-2 after:h-2 after:bg-red-500 after:absolute after:rounded-full after:top-1/2 after:-right-3 after:-translate-y-1/2 after:animate-bounce",children:F.jsx(sz,{className:"size-4 sm:size-5"})}),F.jsx("button",{type:"button",onClick:()=>{J?(oe(!1),bt()):(oe(!0),tn())},className:"absolute right-11 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w},children:J?F.jsx(KP,{className:"size-6 sm:size-7"}):F.jsx(XP,{className:"size-6 sm:size-7"})}),F.jsxs("div",{className:"absolute left-16 bottom-4 flex items-center gap-4 z-10 ",style:{color:w},children:[F.jsx("p",{children:Ee}),F.jsx("p",{className:`${rt==="recording"?"animate-pulse":""}`,children:rt==="recording"?"Recording...":rt==="paused"?"Paused":"Starting..."})]}),F.jsx("button",{type:"button",onClick:()=>{Ft()},className:"absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",style:{color:w,background:"green"},children:F.jsx(WP,{className:"size-4 sm:size-5"})})]}),Oe&&F.jsxs("div",{className:"absolute bottom-12 left-0 rounded-lg shadow-xl border border-gray-700 py-2 min-w-48 z-10",style:{background:B},children:[F.jsxs("button",{id:"document-button",onClick:()=>Yn("document"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center",children:F.jsx(CA,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Document"})]}),F.jsxs("button",{id:"image-button",onClick:()=>Yn("image"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-green-600 rounded-full flex items-center justify-center",children:F.jsx(ZP,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Photos"})]}),F.jsxs("button",{id:"video-button",onClick:()=>Yn("video"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-red-600 rounded-full flex items-center justify-center",children:F.jsx(kA,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Videos"})]}),F.jsxs("button",{id:"audio-button",onClick:()=>Yn("audio"),className:"w-full px-4 py-3 text-left flex items-center gap-3 transition-colors",style:{color:H},onMouseEnter:D=>D.currentTarget.style.background=V,onMouseLeave:D=>D.currentTarget.style.background="",children:[F.jsx("div",{className:"w-8 h-8 bg-purple-600 rounded-full flex items-center justify-center",children:F.jsx(td,{className:"w-4 h-4 text-white"})}),F.jsx("span",{children:"Audio"})]})]}),F.jsx("textarea",{id:"message-input",ref:or,className:`w-full pt-3 text-xs sm:text-sm sm:pt-4 px-12 resize-none min-h-10 sm:min-h-12 max-h-32 overflow-y-auto focus:outline-none backdrop-blur-sm ${rt==="recording"||rt==="paused"?"cursor-default":""}`,value:rt==="recording"||rt==="paused"?"":he,onChange:D=>ye(D.target.value),placeholder:rt==="recording"||rt==="paused"?"":"Type your message...",rows:1,onKeyDown:D=>{D.key==="Enter"&&!D.shiftKey&&(D.preventDefault(),cn())},style:{borderRadius:`${R}px`,background:A,color:w,scrollbarWidth:"thin",scrollbarColor:`${g} transparent`},readOnly:rt==="recording"||rt==="paused"})]})}),(he.trim()||Ce.length!==0)&&F.jsx("div",{className:"w-min",children:F.jsx("button",{onClick:()=>cn(),className:"w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200 transform hover:scale-105",style:{background:g,color:w},children:F.jsx(az,{className:"w-5 h-5"})})})]}),F.jsx("input",{ref:n,type:"file",multiple:!0,className:"hidden",accept:"image/*",onChange:D=>D.target.files&&En(D.target.files,n)}),F.jsx("input",{ref:a,type:"file",multiple:!0,className:"hidden",accept:"video/*",onChange:D=>D.target.files&&En(D.target.files,a)}),F.jsx("input",{ref:o,type:"file",multiple:!0,className:"hidden",accept:"audio/*",onChange:D=>D.target.files&&En(D.target.files,o)}),F.jsx("input",{ref:l,type:"file",multiple:!0,className:"hidden",accept:".pdf,.doc,.docx,.txt,.csv,.xlsx,.ppt,.pptx,.zip,.rar",onChange:D=>D.target.files&&En(D.target.files,l)})]}),Dt&&F.jsx("div",{className:"fixed inset-0 z-[998] flex items-center justify-center",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(4px)"},onClick:()=>Lt(!1),children:F.jsxs("div",{className:"relative w-full max-w-md mx-4 p-6 rounded-2xl shadow-2xl border overflow-hidden animate-[fadeIn_0.25s_ease]",style:{background:`linear-gradient(145deg, ${y}, ${g}, ${m})`,borderRadius:`${R}px`,borderColor:g},onClick:D=>D.stopPropagation(),children:[F.jsx("button",{onClick:()=>Lt(!1),className:"absolute top-3 right-3 p-1 rounded-full transition-colors","aria-label":"Close bot info",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})}),e?.bot?F.jsxs("div",{className:"flex flex-col gap-4",children:[F.jsxs("div",{className:"flex items-center gap-4",children:[F.jsx("div",{className:"w-16 h-16 rounded-full p-1 flex items-center justify-center shadow-md overflow-hidden",style:{background:`linear-gradient(to bottom right, ${g}, ${m})`,borderRadius:"1.5rem"},children:F.jsx("img",{src:br,alt:`${Gn} logo`||"Bot avatar",className:"w-full h-full rounded-full",style:{borderRadius:"1.5rem"}})}),F.jsx("div",{className:"min-w-0",children:F.jsx("h3",{className:"text-lg font-semibold truncate",title:Gn,style:{color:w},children:Gn})})]}),u?.description&&F.jsx("div",{className:"max-h-40 overflow-y-auto pr-1 custom-scrollbar",children:F.jsx("p",{className:"text-sm leading-relaxed whitespace-pre-line",style:{wordBreak:"break-word",color:w},children:u.description})}),F.jsxs("div",{className:"grid grid-cols-2 gap-3 text-xs",style:{color:w},children:[Array.isArray(u?.phone_numbers)&&u.phone_numbers.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Phone number",u.phone_numbers.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1 flex-wrap",children:u.phone_numbers.map((D,de)=>F.jsx("span",{className:"font-medium break-all",style:{color:w},children:D},de))})]}),Array.isArray(u?.websites)&&u.websites.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Website",u.websites.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1 flex-wrap",children:u.websites.map((D,de)=>F.jsx("a",{className:"break-all underline font-semibold",href:D,target:"_blank",rel:"noopener noreferrer",children:D},de))})]}),Array.isArray(u?.emails)&&u.emails.length>0&&F.jsxs("div",{className:"flex flex-col gap-0.5",children:[F.jsxs("span",{className:"uppercase tracking-wide font-bold",style:{color:w},children:["Email",u.emails.length>1?"s":""]}),F.jsx("div",{className:"flex flex-col gap-1",children:u.emails.map((D,de)=>F.jsx("span",{className:"font-medium break-all",style:{color:w},children:D},de))})]})]})]}):F.jsxs("div",{className:"text-center",style:{color:w},children:[F.jsx("p",{className:"text-sm",children:"No bot selected."}),F.jsx("button",{type:"button",onClick:()=>Lt(!1),className:"mt-4 px-4 py-2 rounded-lg text-sm font-medium bg-white/10 hover:bg-white/20 text-black transition-colors",style:{borderRadius:`${R}px`},children:"Close"})]})]})}),Lo&&F.jsx("div",{className:"fixed inset-0 z-[998] flex items-center justify-center",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(4px)"},onClick:()=>La(!1),children:F.jsxs("div",{className:"relative w-full max-w-md mx-4 p-6 rounded-2xl shadow-2xl border overflow-hidden animate-[fadeIn_0.25s_ease]",style:{background:`linear-gradient(145deg, ${y}, ${g}, ${m})`,borderRadius:`${R}px`,borderColor:g},onClick:D=>D.stopPropagation(),children:[F.jsx("button",{onClick:()=>La(!1),className:"absolute top-3 right-3 p-1 rounded-full transition-colors","aria-label":"Close reset chat",style:{color:w},onMouseEnter:D=>D.currentTarget.style.background=g,onMouseLeave:D=>D.currentTarget.style.background="transparent",children:F.jsx(go,{className:"w-5 h-5"})}),F.jsx("h3",{className:"text-lg font-semibold mb-2 ",style:{color:w},children:"Reset Chat?"}),F.jsx("p",{className:"mb-4",style:{color:w},children:"Are you sure you want to reset the chat? This will clear all messages."}),F.jsxs("div",{className:"flex justify-end gap-2",children:[F.jsx("button",{className:"px-4 py-2 rounded bg-white/80 text-gray-900 hover:bg-white",onClick:()=>La(!1),children:"Cancel"}),F.jsx("button",{className:"px-4 py-2 rounded bg-red-600 text-white hover:bg-red-700",onClick:async()=>{La(!1),await Pl()},children:"Confirm"})]})]})})]}),le==="middle-right"?F.jsxs("button",{onClick:()=>{Nt(D=>!D),Vn.current=!Ve,Ve||pi()},className:"fixed top-1/2 -translate-y-1/2 px-4 py-3 shadow-lg transform !z-[10000000]",style:{right:"0",transform:Ve?`translateX(-${be}px)`:"translateX(0)",transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)",background:Mo,borderTopLeftRadius:`${x}px`,borderBottomLeftRadius:`${U}px`,borderTopRightRadius:`${L}px`,borderBottomRightRadius:`${z}px`},children:[F.jsx("img",{src:br,alt:"Tybot logo",className:"w-7 h-7"}),Vr>0&&!Ve?F.jsxs(F.Fragment,{children:[F.jsx("audio",{src:"https://public-assets.content-platform.envatousercontent.com/3a5b6a9c-bead-4397-bc15-393c0f6edb9f/87e342b2-9863-4e6c-83af-edeb375b338d/preview.mp3",className:"hidden",autoPlay:!0}),F.jsx("span",{className:"absolute -top-1 -left-1 bg-red-500 text-white text-xs font-medium size-5 rounded-full flex items-center justify-center",children:Vr>9?"9+":Vr})]}):null]}):F.jsxs("button",{onClick:()=>{Nt(D=>!D),Vn.current=!Ve,Ve||pi()},className:`${Ve?"hidden":"fixed"} rounded-full size-[67px] ${le==="bottom-right"?"bottom-14 right-12":le==="bottom-left"?"bottom-14 left-12":""} p-1 shadow-lg transform`,style:{transform:Ve?`translateX(-${be}px)`:"translateX(0)",transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)",background:Mo,zIndex:999},onMouseDown:D=>D.currentTarget.style.transform="scale(0.90)",onMouseEnter:D=>D.currentTarget.style.transform="scale(0.95)",onMouseLeave:D=>D.currentTarget.style.transform="scale(1)",children:[F.jsx("div",{className:"size-full overflow-hidden rounded-full",children:F.jsx("img",{src:br,alt:"Tybot logo",className:"w-full h-full"})}),Vr>0&&!Ve?F.jsxs(F.Fragment,{children:[F.jsx("audio",{src:"https://public-assets.content-platform.envatousercontent.com/3a5b6a9c-bead-4397-bc15-393c0f6edb9f/87e342b2-9863-4e6c-83af-edeb375b338d/preview.mp3",className:"hidden",autoPlay:!0}),F.jsx("span",{className:"absolute -top-0 -left-0 bg-red-500 text-white text-xs font-medium size-5 rounded-full flex items-center justify-center",children:Vr>9?"9+":Vr})]}):null]})]})};function P5(e){const t="tybot-widget-container";let n=document.getElementById(t);n||(n=document.createElement("div"),n.id=t,document.body.appendChild(n));const a=n.shadowRoot??n.attachShadow({mode:"open"});if(!document.querySelector("#tybot-widget-fonts")){const d=document.createElement("link");d.rel="preconnect",d.href="https://fonts.googleapis.com";const f=document.createElement("link");f.rel="preconnect",f.href="https://fonts.gstatic.com",f.crossOrigin="";const p=document.createElement("link");p.id="tybot-widget-fonts",p.rel="stylesheet",p.href="https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&display=swap",document.head.append(d),document.head.append(f),document.head.append(p)}if(!a.querySelector("#tybot-widget-style")){const d=document.createElement("style");d.id="tybot-widget-style",d.textContent=iD,a.appendChild(d)}const o=a.querySelector("#tybot-widget-root");o&&o.remove();const l=document.createElement("div");l.id="tybot-widget-root",a.appendChild(l),aD.createRoot(l).render(F.jsx(U5,{config:e}))}Qa.createTybotWidget=P5,Object.defineProperty(Qa,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tybotflow-widget",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A modern, customizable React widget for Tybot chat integration.",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.umd.js",