gain-io-widget 0.1.0-rc.1
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/README.md +91 -0
- package/dist/gain-io-widget.js +546 -0
- package/package.json +85 -0
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.id="gain-io-widget-bundle-style",e.appendChild(document.createTextNode('@charset "UTF-8";/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-500:oklch(79.5% .184 86.047);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-widest:.1em;--leading-normal:1.5;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand:var(--brand-color);--color-red:#fe475b;--color-red-dark:#cc0014;--color-green:#0caa1b;--color-blue-light:#e3f2fd;--color-gray:#f3f4f8;--color-border:#8d91a5;--color-border-regular:#797979;--color-border-dark:#3b3b3b;--color-border-light:#d8e0ed;--color-dark:#1d1f1e;--color-regular:#5c5d76;--font-poppins:"Poppins";--text-12:12px;--text-14:14px;--text-16:16px;--text-20:20px;--text-24:24px;--text-40:40px}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}body{font-family:var(--font-poppins),sans-serif}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-50{z-index:50}.z-120{z-index:120}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.mx-auto{margin-inline:auto}.-my-5{margin-block:calc(var(--spacing)*-5)}.-mt-2{margin-top:calc(var(--spacing)*-2)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.size-1\\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-4\\.5{width:calc(var(--spacing)*4.5);height:calc(var(--spacing)*4.5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-7{width:calc(var(--spacing)*7);height:calc(var(--spacing)*7)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-12{width:calc(var(--spacing)*12);height:calc(var(--spacing)*12)}.h-1{height:calc(var(--spacing)*1)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-10\\.25{height:calc(var(--spacing)*10.25)}.h-11{height:calc(var(--spacing)*11)}.h-11\\.5{height:calc(var(--spacing)*11.5)}.h-24{height:calc(var(--spacing)*24)}.h-\\[41px\\]{height:41px}.h-\\[255px\\]{height:255px}.h-\\[394px\\]{height:394px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.h-screen{height:100vh}.w-1{width:calc(var(--spacing)*1)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-\\[100\\%\\]{width:100%}.w-\\[400px\\]{width:400px}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-bottom-right{transform-origin:100% 100%}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-0{rotate:none}.rotate-90{rotate:90deg}.transform-gpu{transform:translateZ(0)var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-16{gap:calc(var(--spacing)*16)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.\\!rounded-\\[5px\\]{border-radius:5px!important}.\\!rounded-lg{border-radius:var(--radius-lg)!important}.rounded-\\[5px\\]{border-radius:5px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:3.40282e38px}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.\\!border-\\[\\#3d9e45\\]{border-color:#3d9e45!important}.\\!border-brand{border-color:var(--color-brand)!important}.border-\\[\\#A7F3D0\\]{border-color:#a7f3d0}.border-\\[\\#D8E0ED\\]{border-color:#d8e0ed}.border-\\[\\#FECACA\\]{border-color:#fecaca}.border-\\[\\#e6e9ef\\]{border-color:#e6e9ef}.border-border-light{border-color:var(--color-border-light)}.border-brand{border-color:var(--color-brand)}.border-red-500{border-color:var(--color-red-500)}.border-t-brand{border-top-color:var(--color-brand)}.bg-\\[\\#9D6902\\]{background-color:#9d6902}.bg-\\[\\#D1FAE5\\]{background-color:#d1fae5}.bg-\\[\\#E8FCEA\\]{background-color:#e8fcea}.bg-\\[\\#ECFDF5\\]{background-color:#ecfdf5}.bg-\\[\\#FEE2E2\\]{background-color:#fee2e2}.bg-\\[\\#FFF5F5\\]{background-color:#fff5f5}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-blue-light{background-color:var(--color-blue-light)}.bg-brand{background-color:var(--color-brand)}.bg-gray{background-color:var(--color-gray)}.bg-green{background-color:var(--color-green)}.bg-red-dark{background-color:var(--color-red-dark)}.bg-white{background-color:var(--color-white)}.bg-none{background-image:none}.object-contain{object-fit:contain}.p-6{padding:calc(var(--spacing)*6)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-6\\.25{padding-inline:calc(var(--spacing)*6.25)}.px-7{padding-inline:calc(var(--spacing)*7)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3\\.5{padding-block:calc(var(--spacing)*3.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-5{padding-bottom:calc(var(--spacing)*5)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-poppins{font-family:var(--font-poppins)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-12{font-size:var(--text-12)}.text-14{font-size:var(--text-14)}.text-16{font-size:var(--text-16)}.text-20{font-size:var(--text-20)}.text-24{font-size:var(--text-24)}.text-40{font-size:var(--text-40)}.text-\\[10px\\]{font-size:10px}.text-\\[28px\\]{font-size:28px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.\\!font-semibold{--tw-font-weight:var(--font-weight-semibold)!important;font-weight:var(--font-weight-semibold)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.\\!text-brand{color:var(--color-brand)!important}.text-\\[\\#3B3B3B\\]{color:#3b3b3b}.text-\\[\\#5C5D76\\]{color:#5c5d76}.text-\\[\\#374151\\]{color:#374151}.text-border{color:var(--color-border)}.text-border-dark{color:var(--color-border-dark)}.text-border-light{color:var(--color-border-light)}.text-border-regular{color:var(--color-border-regular)}.text-brand{color:var(--color-brand)}.text-dark{color:var(--color-dark)}.text-red{color:var(--color-red)}.text-red-500{color:var(--color-red-500)}.text-regular{color:var(--color-regular)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-\\[0_18px_45px_rgba\\(0\\,0\\,0\\,0\\.14\\)\\]{--tw-shadow:0 18px 45px var(--tw-shadow-color,#00000024);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.placeholder\\:font-poppins::placeholder{font-family:var(--font-poppins)}.placeholder\\:text-14::placeholder{font-size:var(--text-14)}.placeholder\\:text-border::placeholder{color:var(--color-border)}.placeholder\\:text-border-regular::placeholder{color:var(--color-border-regular)}@media(hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-gray:hover{background-color:var(--color-gray)}.hover\\:opacity-85:hover{opacity:.85}.hover\\:opacity-90:hover{opacity:.9}}.focus\\:border-brand:focus{border-color:var(--color-brand)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\\:bg-brand:disabled{background-color:var(--color-brand)}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}@media(min-width:64rem){.lg\\:size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.lg\\:h-10{height:calc(var(--spacing)*10)}.lg\\:w-10{width:calc(var(--spacing)*10)}.lg\\:w-max{width:max-content}.lg\\:text-16{font-size:var(--text-16)}}@media(min-width:96rem){.\\32xl\\:h-\\[350px\\]{height:350px}.\\32xl\\:h-\\[494px\\]{height:494px}.\\32xl\\:h-\\[600px\\]{height:600px}}.custom-scrollbar::-webkit-scrollbar{width:6px}.custom-scrollbar::-webkit-scrollbar-track{background:#efeeee;border-radius:50%}.custom-scrollbar::-webkit-scrollbar-thumb{background:#d8e0ed;border-radius:50%}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:#d8e0ed #efeeee}}:root{--brand-color:#149365}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}.rbc-btn{color:inherit;font:inherit;margin:0}button.rbc-btn{overflow:visible;text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;cursor:pointer}button[disabled].rbc-btn{cursor:not-allowed}button.rbc-input::-moz-focus-inner{border:0;padding:0}.rbc-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;font-size:16px}.rbc-toolbar .rbc-toolbar-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 10px;text-align:center}.rbc-toolbar button{color:#373a3c;display:inline-block;margin:0;text-align:center;vertical-align:middle;background:none;background-image:none;border:1px solid #ccc;padding:.375rem 1rem;border-radius:4px;line-height:normal;white-space:nowrap}.rbc-toolbar button:active,.rbc-toolbar button.rbc-active{background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px #00000020;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:active:hover,.rbc-toolbar button:active:focus,.rbc-toolbar button.rbc-active:hover,.rbc-toolbar button.rbc-active:focus{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.rbc-toolbar button:focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:hover{color:#373a3c;cursor:pointer;background-color:#e6e6e6;border-color:#adadad}.rbc-btn-group{display:inline-block;white-space:nowrap}.rbc-btn-group>button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.rbc-btn-group>button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:0 4px 4px 0}.rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px 0 0 4px}.rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}.rbc-btn-group button+button{margin-left:-1px}.rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}.rbc-btn-group+.rbc-btn-group,.rbc-btn-group+button{margin-left:10px}@media(max-width:767px){.rbc-toolbar{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.rbc-event{border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:none;box-shadow:none;margin:0;padding:2px 5px;background-color:#3174ad;border-radius:5px;color:#fff;cursor:pointer;width:100%;text-align:left}.rbc-slot-selecting .rbc-event{cursor:inherit;pointer-events:none}.rbc-event.rbc-selected{background-color:#265985}.rbc-event:focus{outline:5px auto #3b99fc}.rbc-event-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:80%}.rbc-event-overlaps{-webkit-box-shadow:-1px 1px 5px 0px rgba(51,51,51,.5);box-shadow:-1px 1px 5px #33333380}.rbc-event-continues-prior{border-top-left-radius:0;border-bottom-left-radius:0}.rbc-event-continues-after{border-top-right-radius:0;border-bottom-right-radius:0}.rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}.rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}.rbc-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-row-segment{padding:0 1px 1px}.rbc-row-segment .rbc-event-content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbc-selected-cell{background-color:#0000001a}.rbc-show-more{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:#ffffff4d;z-index:4;font-weight:700;font-size:85%;height:auto;line-height:normal;color:#3174ad}.rbc-show-more:hover,.rbc-show-more:focus{color:#265985}.rbc-month-view{position:relative;border:1px solid #ddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;height:100%}.rbc-month-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-month-row{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px;overflow:hidden;height:100%}.rbc-month-row+.rbc-month-row{border-top:1px solid #ddd}.rbc-date-cell{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;min-width:0;padding-right:5px;text-align:right}.rbc-date-cell.rbc-now{font-weight:700}.rbc-date-cell>a,.rbc-date-cell>a:active,.rbc-date-cell>a:visited{color:inherit;text-decoration:none}.rbc-row-bg{position:absolute;top:0;left:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:hidden;right:1px}.rbc-day-bg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.rbc-day-bg+.rbc-day-bg{border-left:1px solid #ddd}.rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid #ddd}.rbc-overlay{position:absolute;z-index:5;border:1px solid #e5e5e5;background-color:#fff;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.25);box-shadow:0 5px 15px #00000040;padding:10px}.rbc-overlay>*+*{margin-top:1px}.rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}.rbc-agenda-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:auto}.rbc-agenda-view table.rbc-agenda-table{width:100%;border:1px solid #ddd;border-spacing:0;border-collapse:collapse}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}.rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table thead>tr>th{padding:3px 5px;text-align:left;border-bottom:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}.rbc-agenda-time-cell{text-transform:lowercase}.rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}.rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}.rbc-agenda-date-cell,.rbc-agenda-time-cell{white-space:nowrap}.rbc-agenda-event-cell{width:100%}.rbc-time-column{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:100%}.rbc-time-column .rbc-timeslot-group{-webkit-box-flex:1;-ms-flex:1;flex:1}.rbc-timeslot-group{border-bottom:1px solid #ddd;min-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.rbc-time-gutter,.rbc-header-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}.rbc-label{padding:0 5px}.rbc-day-slot{position:relative}.rbc-day-slot .rbc-events-container{bottom:0;left:0;position:absolute;right:0;margin-right:10px;top:0}.rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}.rbc-day-slot .rbc-event,.rbc-day-slot .rbc-background-event{border:1px solid rgb(37.7432432432,89.3513513514,133.2567567568);display:-webkit-box;display:-ms-flexbox;display:flex;max-height:100%;min-height:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow:hidden;position:absolute}.rbc-day-slot .rbc-background-event{opacity:.75}.rbc-day-slot .rbc-event-label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:5px;width:auto}.rbc-day-slot .rbc-event-content{width:100%;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;word-wrap:break-word;line-height:1;height:100%;min-height:1em}.rbc-day-slot .rbc-time-slot{border-top:1px solid rgb(246.5,246.5,246.5)}.rbc-time-view-resources .rbc-time-gutter,.rbc-time-view-resources .rbc-time-header-gutter{position:sticky;left:0;background-color:#fff;border-right:1px solid #ddd;z-index:10;margin-right:-1px}.rbc-time-view-resources .rbc-time-header{overflow:hidden}.rbc-time-view-resources .rbc-time-header-content{min-width:auto;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px}.rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}.rbc-time-view-resources .rbc-day-slot{min-width:140px}.rbc-time-view-resources .rbc-header,.rbc-time-view-resources .rbc-day-bg{width:140px;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-preferred-size:0px;flex-basis:0px}.rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}.rbc-time-slot{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}.rbc-time-slot.rbc-now{font-weight:700}.rbc-day-header{text-align:center}.rbc-slot-selection{z-index:10;position:absolute;background-color:#00000080;color:#fff;font-size:75%;width:100%;padding:3px}.rbc-slot-selecting{cursor:move}.rbc-time-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;border:1px solid #ddd;min-height:0}.rbc-time-view .rbc-time-gutter{white-space:nowrap;text-align:right}.rbc-time-view .rbc-allday-cell{-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;position:relative}.rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid #ddd}.rbc-time-view .rbc-allday-events{position:relative;z-index:4}.rbc-time-view .rbc-row{-webkit-box-sizing:border-box;box-sizing:border-box;min-height:20px}.rbc-time-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-time-header.rbc-overflowing{border-right:1px solid #ddd}.rbc-rtl .rbc-time-header.rbc-overflowing{border-right-width:0;border-left:1px solid #ddd}.rbc-time-header>.rbc-row:first-child{border-bottom:1px solid #ddd}.rbc-time-header>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd}.rbc-time-header-cell-single-day{display:none}.rbc-time-header-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-left:1px solid #ddd}.rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid #ddd}.rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd;-ms-flex-negative:0;flex-shrink:0}.rbc-time-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:100%;border-top:2px solid #ddd;overflow-y:auto;position:relative}.rbc-time-content>.rbc-time-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}.rbc-time-content>*+*>*{border-left:1px solid #ddd}.rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid #ddd}.rbc-time-content>.rbc-day-slot{width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.rbc-current-time-indicator{position:absolute;z-index:3;left:0;right:0;height:1px;background-color:#74ad31;pointer-events:none}.rbc-resource-grouping.rbc-time-header-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.rbc-resource-grouping .rbc-row .rbc-header{width:141px}.rbc-calendar{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.rbc-m-b-negative-3{margin-bottom:-3px}.rbc-h-full{height:100%}.rbc-calendar *,.rbc-calendar *:before,.rbc-calendar *:after{-webkit-box-sizing:inherit;box-sizing:inherit}.rbc-abs-full{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.rbc-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbc-rtl{direction:rtl}.rbc-off-range{color:#999}.rbc-off-range-bg{background:#e6e6e6}.rbc-header{overflow:hidden;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;text-align:center;vertical-align:middle;font-weight:700;font-size:90%;min-height:0;border-bottom:1px solid #ddd}.rbc-header+.rbc-header{border-left:1px solid #ddd}.rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid #ddd}.rbc-header>a,.rbc-header>a:active,.rbc-header>a:visited{color:inherit;text-decoration:none}.rbc-button-link{color:inherit;background:none;margin:0;padding:0;border:none;cursor:pointer;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.rbc-row-content{position:relative;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;z-index:4}.rbc-row-content-scrollable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.rbc-row-content-scrollable .rbc-row-content-scroll-container{height:100%;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}.rbc-today{background-color:#eaf6ff}.rbc-calendar{font-family:var(--font-poppins),sans-serif}.rbc-month-view{border:none}.rbc-header{border-bottom:none;padding:9px 7px 7px;font-weight:500;font-size:12px;color:#5c5d76;text-align:center}.rbc-header+.rbc-header{border-left:none}.rbc-month-row{border:none;min-height:42px;overflow:visible}.rbc-month-row+.rbc-month-row{border-top:none}.rbc-day-bg+.rbc-day-bg{border-left:none}.rbc-off-range-bg{background:transparent}.rbc-date-cell{padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.rbc-today{background-color:transparent}.rbc-event,.rbc-day-slot .rbc-background-event,.rbc-show-more{display:none}.rbc-row-content{z-index:1}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
(function(fa,ro){typeof exports=="object"&&typeof module<"u"?ro(exports):typeof define=="function"&&define.amd?define(["exports"],ro):(fa=typeof globalThis<"u"?globalThis:fa||self,ro(fa.GainIoWidget={}))})(this,(function(fa){"use strict";var Fpe=Object.defineProperty;var Vpe=(fa,ro,io)=>ro in fa?Fpe(fa,ro,{enumerable:!0,configurable:!0,writable:!0,value:io}):fa[ro]=io;var we=(fa,ro,io)=>Vpe(fa,typeof ro!="symbol"?ro+"":ro,io);var MV;function ro(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const u=Object.getOwnPropertyDescriptor(i,o);u&&Object.defineProperty(e,o,u.get?u:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var io=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var NO={exports:{}},Lg={},PO={exports:{}},Ig={exports:{}};Ig.exports;var DI;function UG(){return DI||(DI=1,(function(e,t){/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/(function(){function n($,ge){Object.defineProperty(u.prototype,$,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",ge[0],ge[1])}})}function i($){return $===null||typeof $!="object"?null:($=Ce&&$[Ce]||$["@@iterator"],typeof $=="function"?$:null)}function o($,ge){$=($=$.constructor)&&($.displayName||$.name)||"ReactClass";var qe=$+"."+ge;Qe[qe]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",ge,$),Qe[qe]=!0)}function u($,ge,qe){this.props=$,this.context=ge,this.refs=ke,this.updater=qe||Ve}function l(){}function c($,ge,qe){this.props=$,this.context=ge,this.refs=ke,this.updater=qe||Ve}function h(){}function p($){return""+$}function v($){try{p($);var ge=!1}catch{ge=!0}if(ge){ge=console;var qe=ge.error,Fe=typeof Symbol=="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object";return qe.call(ge,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Fe),p($)}}function b($){if($==null)return null;if(typeof $=="function")return $.$$typeof===At?null:$.displayName||$.name||null;if(typeof $=="string")return $;switch($){case X:return"Fragment";case te:return"Profiler";case Q:return"StrictMode";case Re:return"Suspense";case Pe:return"SuspenseList";case De:return"Activity"}if(typeof $=="object")switch(typeof $.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case ae:return"Portal";case Ee:return $.displayName||"Context";case re:return($._context.displayName||"Context")+".Consumer";case Se:var ge=$.render;return $=$.displayName,$||($=ge.displayName||ge.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case Le:return ge=$.displayName||null,ge!==null?ge:b($.type)||"Memo";case Ne:ge=$._payload,$=$._init;try{return b($(ge))}catch{}}return null}function S($){if($===X)return"<>";if(typeof $=="object"&&$!==null&&$.$$typeof===Ne)return"<...>";try{var ge=b($);return ge?"<"+ge+">":"<...>"}catch{return"<...>"}}function _(){var $=Ye.A;return $===null?null:$.getOwner()}function x(){return Error("react-stack-top-frame")}function R($){if(yt.call($,"key")){var ge=Object.getOwnPropertyDescriptor($,"key").get;if(ge&&ge.isReactWarning)return!1}return $.key!==void 0}function O($,ge){function qe(){Dt||(Dt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ge))}qe.isReactWarning=!0,Object.defineProperty($,"key",{get:qe,configurable:!0})}function T(){var $=b(this.type);return at[$]||(at[$]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),$=this.props.ref,$!==void 0?$:null}function M($,ge,qe,Fe,Ze,gt){var rt=qe.ref;return $={$$typeof:_e,type:$,key:ge,props:qe,_owner:Fe},(rt!==void 0?rt:null)!==null?Object.defineProperty($,"ref",{enumerable:!1,get:T}):Object.defineProperty($,"ref",{enumerable:!1,value:null}),$._store={},Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty($,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty($,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ze}),Object.defineProperty($,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:gt}),Object.freeze&&(Object.freeze($.props),Object.freeze($)),$}function P($,ge){return ge=M($.type,ge,$.props,$._owner,$._debugStack,$._debugTask),$._store&&(ge._store.validated=$._store.validated),ge}function C($){k($)?$._store&&($._store.validated=1):typeof $=="object"&&$!==null&&$.$$typeof===Ne&&($._payload.status==="fulfilled"?k($._payload.value)&&$._payload.value._store&&($._payload.value._store.validated=1):$._store&&($._store.validated=1))}function k($){return typeof $=="object"&&$!==null&&$.$$typeof===_e}function L($){var ge={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(qe){return ge[qe]})}function z($,ge){return typeof $=="object"&&$!==null&&$.key!=null?(v($.key),L(""+$.key)):ge.toString(36)}function U($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(h,h):($.status="pending",$.then(function(ge){$.status==="pending"&&($.status="fulfilled",$.value=ge)},function(ge){$.status==="pending"&&($.status="rejected",$.reason=ge)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function G($,ge,qe,Fe,Ze){var gt=typeof $;(gt==="undefined"||gt==="boolean")&&($=null);var rt=!1;if($===null)rt=!0;else switch(gt){case"bigint":case"string":case"number":rt=!0;break;case"object":switch($.$$typeof){case _e:case ae:rt=!0;break;case Ne:return rt=$._init,G(rt($._payload),ge,qe,Fe,Ze)}}if(rt){rt=$,Ze=Ze(rt);var Nt=Fe===""?"."+z(rt,0):Fe;return ct(Ze)?(qe="",Nt!=null&&(qe=Nt.replace(ot,"$&/")+"/"),G(Ze,ge,qe,"",function(fr){return fr})):Ze!=null&&(k(Ze)&&(Ze.key!=null&&(rt&&rt.key===Ze.key||v(Ze.key)),qe=P(Ze,qe+(Ze.key==null||rt&&rt.key===Ze.key?"":(""+Ze.key).replace(ot,"$&/")+"/")+Nt),Fe!==""&&rt!=null&&k(rt)&&rt.key==null&&rt._store&&!rt._store.validated&&(qe._store.validated=2),Ze=qe),ge.push(Ze)),1}if(rt=0,Nt=Fe===""?".":Fe+":",ct($))for(var ft=0;ft<$.length;ft++)Fe=$[ft],gt=Nt+z(Fe,ft),rt+=G(Fe,ge,qe,gt,Ze);else if(ft=i($),typeof ft=="function")for(ft===$.entries&&(mn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mn=!0),$=ft.call($),ft=0;!(Fe=$.next()).done;)Fe=Fe.value,gt=Nt+z(Fe,ft++),rt+=G(Fe,ge,qe,gt,Ze);else if(gt==="object"){if(typeof $.then=="function")return G(U($),ge,qe,Fe,Ze);throw ge=String($),Error("Objects are not valid as a React child (found: "+(ge==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":ge)+"). If you meant to render a collection of children, use an array instead.")}return rt}function B($,ge,qe){if($==null)return $;var Fe=[],Ze=0;return G($,Fe,"","",function(gt){return ge.call(qe,gt,Ze++)}),Fe}function Y($){if($._status===-1){var ge=$._ioInfo;ge!=null&&(ge.start=ge.end=performance.now()),ge=$._result;var qe=ge();if(qe.then(function(Ze){if($._status===0||$._status===-1){$._status=1,$._result=Ze;var gt=$._ioInfo;gt!=null&&(gt.end=performance.now()),qe.status===void 0&&(qe.status="fulfilled",qe.value=Ze)}},function(Ze){if($._status===0||$._status===-1){$._status=2,$._result=Ze;var gt=$._ioInfo;gt!=null&&(gt.end=performance.now()),qe.status===void 0&&(qe.status="rejected",qe.reason=Ze)}}),ge=$._ioInfo,ge!=null){ge.value=qe;var Fe=qe.displayName;typeof Fe=="string"&&(ge.name=Fe)}$._status===-1&&($._status=0,$._result=qe)}if($._status===1)return ge=$._result,ge===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
11
|
+
|
|
12
|
+
Your code should look like:
|
|
13
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
14
|
+
|
|
15
|
+
Did you accidentally put curly braces around the import?`,ge),"default"in ge||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
16
|
+
|
|
17
|
+
Your code should look like:
|
|
18
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ge),ge.default;throw $._result}function K(){var $=Ye.H;return $===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),$}function oe(){Ye.asyncTransitions--}function le($){if(Lt===null)try{var ge=("require"+Math.random()).slice(0,7);Lt=(e&&e[ge]).call(e,"timers").setImmediate}catch{Lt=function(Fe){tr===!1&&(tr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ze=new MessageChannel;Ze.port1.onmessage=Fe,Ze.port2.postMessage(void 0)}}return Lt($)}function fe($){return 1<$.length&&typeof AggregateError=="function"?new AggregateError($):$[0]}function W($,ge){ge!==Cn-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Cn=ge}function ue($,ge,qe){var Fe=Ye.actQueue;if(Fe!==null)if(Fe.length!==0)try{ie(Fe),le(function(){return ue($,ge,qe)});return}catch(Ze){Ye.thrownErrors.push(Ze)}else Ye.actQueue=null;0<Ye.thrownErrors.length?(Fe=fe(Ye.thrownErrors),Ye.thrownErrors.length=0,qe(Fe)):ge($)}function ie($){if(!nr){nr=!0;var ge=0;try{for(;ge<$.length;ge++){var qe=$[ge];do{Ye.didUsePromise=!1;var Fe=qe(!1);if(Fe!==null){if(Ye.didUsePromise){$[ge]=qe,$.splice(0,ge);return}qe=Fe}else break}while(!0)}$.length=0}catch(Ze){$.splice(0,ge+1),Ye.thrownErrors.push(Ze)}finally{nr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var _e=Symbol.for("react.transitional.element"),ae=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),re=Symbol.for("react.consumer"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),Pe=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Ce=Symbol.iterator,Qe={},Ve={isMounted:function(){return!1},enqueueForceUpdate:function($){o($,"forceUpdate")},enqueueReplaceState:function($){o($,"replaceState")},enqueueSetState:function($){o($,"setState")}},He=Object.assign,ke={};Object.freeze(ke),u.prototype.isReactComponent={},u.prototype.setState=function($,ge){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,ge,"setState")},u.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};var $e={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Zt in $e)$e.hasOwnProperty(Zt)&&n(Zt,$e[Zt]);l.prototype=u.prototype,$e=c.prototype=new l,$e.constructor=c,He($e,u.prototype),$e.isPureReactComponent=!0;var ct=Array.isArray,At=Symbol.for("react.client.reference"),Ye={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},yt=Object.prototype.hasOwnProperty,mt=console.createTask?console.createTask:function(){return null};$e={react_stack_bottom_frame:function($){return $()}};var Dt,ht,at={},an=$e.react_stack_bottom_frame.bind($e,x)(),cr=mt(S(x)),mn=!1,ot=/\/+/g,St=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ge=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(ge))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},tr=!1,Lt=null,Cn=0,zn=!1,nr=!1,On=typeof queueMicrotask=="function"?function($){queueMicrotask(function(){return queueMicrotask($)})}:le;$e=Object.freeze({__proto__:null,c:function($){return K().useMemoCache($)}});var Zt={map:B,forEach:function($,ge,qe){B($,function(){ge.apply(this,arguments)},qe)},count:function($){var ge=0;return B($,function(){ge++}),ge},toArray:function($){return B($,function(ge){return ge})||[]},only:function($){if(!k($))throw Error("React.Children.only expected to receive a single React element child.");return $}};t.Activity=De,t.Children=Zt,t.Component=u,t.Fragment=X,t.Profiler=te,t.PureComponent=c,t.StrictMode=Q,t.Suspense=Re,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ye,t.__COMPILER_RUNTIME=$e,t.act=function($){var ge=Ye.actQueue,qe=Cn;Cn++;var Fe=Ye.actQueue=ge!==null?ge:[],Ze=!1;try{var gt=$()}catch(ft){Ye.thrownErrors.push(ft)}if(0<Ye.thrownErrors.length)throw W(ge,qe),$=fe(Ye.thrownErrors),Ye.thrownErrors.length=0,$;if(gt!==null&&typeof gt=="object"&&typeof gt.then=="function"){var rt=gt;return On(function(){Ze||zn||(zn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ft,fr){Ze=!0,rt.then(function(ni){if(W(ge,qe),qe===0){try{ie(Fe),le(function(){return ue(ni,ft,fr)})}catch(ma){Ye.thrownErrors.push(ma)}if(0<Ye.thrownErrors.length){var ho=fe(Ye.thrownErrors);Ye.thrownErrors.length=0,fr(ho)}}else ft(ni)},function(ni){W(ge,qe),0<Ye.thrownErrors.length&&(ni=fe(Ye.thrownErrors),Ye.thrownErrors.length=0),fr(ni)})}}}var Nt=gt;if(W(ge,qe),qe===0&&(ie(Fe),Fe.length!==0&&On(function(){Ze||zn||(zn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ye.actQueue=null),0<Ye.thrownErrors.length)throw $=fe(Ye.thrownErrors),Ye.thrownErrors.length=0,$;return{then:function(ft,fr){Ze=!0,qe===0?(Ye.actQueue=Fe,le(function(){return ue(Nt,ft,fr)})):ft(Nt)}}},t.cache=function($){return function(){return $.apply(null,arguments)}},t.cacheSignal=function(){return null},t.captureOwnerStack=function(){var $=Ye.getCurrentStack;return $===null?null:$()},t.cloneElement=function($,ge,qe){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var Fe=He({},$.props),Ze=$.key,gt=$._owner;if(ge!=null){var rt;e:{if(yt.call(ge,"ref")&&(rt=Object.getOwnPropertyDescriptor(ge,"ref").get)&&rt.isReactWarning){rt=!1;break e}rt=ge.ref!==void 0}rt&&(gt=_()),R(ge)&&(v(ge.key),Ze=""+ge.key);for(Nt in ge)!yt.call(ge,Nt)||Nt==="key"||Nt==="__self"||Nt==="__source"||Nt==="ref"&&ge.ref===void 0||(Fe[Nt]=ge[Nt])}var Nt=arguments.length-2;if(Nt===1)Fe.children=qe;else if(1<Nt){rt=Array(Nt);for(var ft=0;ft<Nt;ft++)rt[ft]=arguments[ft+2];Fe.children=rt}for(Fe=M($.type,Ze,Fe,gt,$._debugStack,$._debugTask),Ze=2;Ze<arguments.length;Ze++)C(arguments[Ze]);return Fe},t.createContext=function($){return $={$$typeof:Ee,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:re,_context:$},$._currentRenderer=null,$._currentRenderer2=null,$},t.createElement=function($,ge,qe){for(var Fe=2;Fe<arguments.length;Fe++)C(arguments[Fe]);Fe={};var Ze=null;if(ge!=null)for(ft in ht||!("__self"in ge)||"key"in ge||(ht=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),R(ge)&&(v(ge.key),Ze=""+ge.key),ge)yt.call(ge,ft)&&ft!=="key"&&ft!=="__self"&&ft!=="__source"&&(Fe[ft]=ge[ft]);var gt=arguments.length-2;if(gt===1)Fe.children=qe;else if(1<gt){for(var rt=Array(gt),Nt=0;Nt<gt;Nt++)rt[Nt]=arguments[Nt+2];Object.freeze&&Object.freeze(rt),Fe.children=rt}if($&&$.defaultProps)for(ft in gt=$.defaultProps,gt)Fe[ft]===void 0&&(Fe[ft]=gt[ft]);Ze&&O(Fe,typeof $=="function"?$.displayName||$.name||"Unknown":$);var ft=1e4>Ye.recentlyCreatedOwnerStacks++;return M($,Ze,Fe,_(),ft?Error("react-stack-top-frame"):an,ft?mt(S($)):cr)},t.createRef=function(){var $={current:null};return Object.seal($),$},t.forwardRef=function($){$!=null&&$.$$typeof===Le?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof $!="function"?console.error("forwardRef requires a render function but was given %s.",$===null?"null":typeof $):$.length!==0&&$.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",$.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),$!=null&&$.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var ge={$$typeof:Se,render:$},qe;return Object.defineProperty(ge,"displayName",{enumerable:!1,configurable:!0,get:function(){return qe},set:function(Fe){qe=Fe,$.name||$.displayName||(Object.defineProperty($,"name",{value:Fe}),$.displayName=Fe)}}),ge},t.isValidElement=k,t.lazy=function($){$={_status:-1,_result:$};var ge={$$typeof:Ne,_payload:$,_init:Y},qe={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return $._ioInfo=qe,ge._debugInfo=[{awaited:qe}],ge},t.memo=function($,ge){$==null&&console.error("memo: The first argument must be a component. Instead received: %s",$===null?"null":typeof $),ge={$$typeof:Le,type:$,compare:ge===void 0?null:ge};var qe;return Object.defineProperty(ge,"displayName",{enumerable:!1,configurable:!0,get:function(){return qe},set:function(Fe){qe=Fe,$.name||$.displayName||(Object.defineProperty($,"name",{value:Fe}),$.displayName=Fe)}}),ge},t.startTransition=function($){var ge=Ye.T,qe={};qe._updatedFibers=new Set,Ye.T=qe;try{var Fe=$(),Ze=Ye.S;Ze!==null&&Ze(qe,Fe),typeof Fe=="object"&&Fe!==null&&typeof Fe.then=="function"&&(Ye.asyncTransitions++,Fe.then(oe,oe),Fe.then(h,St))}catch(gt){St(gt)}finally{ge===null&&qe._updatedFibers&&($=qe._updatedFibers.size,qe._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),ge!==null&&qe.types!==null&&(ge.types!==null&&ge.types!==qe.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),ge.types=qe.types),Ye.T=ge}},t.unstable_useCacheRefresh=function(){return K().useCacheRefresh()},t.use=function($){return K().use($)},t.useActionState=function($,ge,qe){return K().useActionState($,ge,qe)},t.useCallback=function($,ge){return K().useCallback($,ge)},t.useContext=function($){var ge=K();return $.$$typeof===re&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),ge.useContext($)},t.useDebugValue=function($,ge){return K().useDebugValue($,ge)},t.useDeferredValue=function($,ge){return K().useDeferredValue($,ge)},t.useEffect=function($,ge){return $==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useEffect($,ge)},t.useEffectEvent=function($){return K().useEffectEvent($)},t.useId=function(){return K().useId()},t.useImperativeHandle=function($,ge,qe){return K().useImperativeHandle($,ge,qe)},t.useInsertionEffect=function($,ge){return $==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useInsertionEffect($,ge)},t.useLayoutEffect=function($,ge){return $==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),K().useLayoutEffect($,ge)},t.useMemo=function($,ge){return K().useMemo($,ge)},t.useOptimistic=function($,ge){return K().useOptimistic($,ge)},t.useReducer=function($,ge,qe){return K().useReducer($,ge,qe)},t.useRef=function($){return K().useRef($)},t.useState=function($){return K().useState($)},t.useSyncExternalStore=function($,ge,qe){return K().useSyncExternalStore($,ge,qe)},t.useTransition=function(){return K().useTransition()},t.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Ig,Ig.exports)),Ig.exports}var MI;function Gu(){return MI||(MI=1,PO.exports=UG()),PO.exports}var NI;function BG(){if(NI)return Lg;NI=1;/**
|
|
23
|
+
* @license React
|
|
24
|
+
* react-jsx-runtime.development.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/return(function(){function e(X){if(X==null)return null;if(typeof X=="function")return X.$$typeof===Y?null:X.displayName||X.name||null;if(typeof X=="string")return X;switch(X){case O:return"Fragment";case M:return"Profiler";case T:return"StrictMode";case L:return"Suspense";case z:return"SuspenseList";case B:return"Activity"}if(typeof X=="object")switch(typeof X.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case R:return"Portal";case C:return X.displayName||"Context";case P:return(X._context.displayName||"Context")+".Consumer";case k:var Q=X.render;return X=X.displayName,X||(X=Q.displayName||Q.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case U:return Q=X.displayName||null,Q!==null?Q:e(X.type)||"Memo";case G:Q=X._payload,X=X._init;try{return e(X(Q))}catch{}}return null}function t(X){return""+X}function n(X){try{t(X);var Q=!1}catch{Q=!0}if(Q){Q=console;var te=Q.error,re=typeof Symbol=="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object";return te.call(Q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",re),t(X)}}function i(X){if(X===O)return"<>";if(typeof X=="object"&&X!==null&&X.$$typeof===G)return"<...>";try{var Q=e(X);return Q?"<"+Q+">":"<...>"}catch{return"<...>"}}function o(){var X=K.A;return X===null?null:X.getOwner()}function u(){return Error("react-stack-top-frame")}function l(X){if(oe.call(X,"key")){var Q=Object.getOwnPropertyDescriptor(X,"key").get;if(Q&&Q.isReactWarning)return!1}return X.key!==void 0}function c(X,Q){function te(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Q))}te.isReactWarning=!0,Object.defineProperty(X,"key",{get:te,configurable:!0})}function h(){var X=e(this.type);return ue[X]||(ue[X]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),X=this.props.ref,X!==void 0?X:null}function p(X,Q,te,re,Ee,Se){var Re=te.ref;return X={$$typeof:x,type:X,key:Q,props:te,_owner:re},(Re!==void 0?Re:null)!==null?Object.defineProperty(X,"ref",{enumerable:!1,get:h}):Object.defineProperty(X,"ref",{enumerable:!1,value:null}),X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(X,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(X,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ee}),Object.defineProperty(X,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Se}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X}function v(X,Q,te,re,Ee,Se){var Re=Q.children;if(Re!==void 0)if(re)if(le(Re)){for(re=0;re<Re.length;re++)b(Re[re]);Object.freeze&&Object.freeze(Re)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else b(Re);if(oe.call(Q,"key")){Re=e(X);var Pe=Object.keys(Q).filter(function(Ne){return Ne!=="key"});re=0<Pe.length?"{key: someKey, "+Pe.join(": ..., ")+": ...}":"{key: someKey}",ae[Re+re]||(Pe=0<Pe.length?"{"+Pe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
31
|
+
let props = %s;
|
|
32
|
+
<%s {...props} />
|
|
33
|
+
React keys must be passed directly to JSX without using spread:
|
|
34
|
+
let props = %s;
|
|
35
|
+
<%s key={someKey} {...props} />`,re,Re,Pe,Re),ae[Re+re]=!0)}if(Re=null,te!==void 0&&(n(te),Re=""+te),l(Q)&&(n(Q.key),Re=""+Q.key),"key"in Q){te={};for(var Le in Q)Le!=="key"&&(te[Le]=Q[Le])}else te=Q;return Re&&c(te,typeof X=="function"?X.displayName||X.name||"Unknown":X),p(X,Re,te,o(),Ee,Se)}function b(X){S(X)?X._store&&(X._store.validated=1):typeof X=="object"&&X!==null&&X.$$typeof===G&&(X._payload.status==="fulfilled"?S(X._payload.value)&&X._payload.value._store&&(X._payload.value._store.validated=1):X._store&&(X._store.validated=1))}function S(X){return typeof X=="object"&&X!==null&&X.$$typeof===x}var _=Gu(),x=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),C=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),Y=Symbol.for("react.client.reference"),K=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=Object.prototype.hasOwnProperty,le=Array.isArray,fe=console.createTask?console.createTask:function(){return null};_={react_stack_bottom_frame:function(X){return X()}};var W,ue={},ie=_.react_stack_bottom_frame.bind(_,u)(),_e=fe(i(u)),ae={};Lg.Fragment=O,Lg.jsx=function(X,Q,te){var re=1e4>K.recentlyCreatedOwnerStacks++;return v(X,Q,te,!1,re?Error("react-stack-top-frame"):ie,re?fe(i(X)):_e)},Lg.jsxs=function(X,Q,te){var re=1e4>K.recentlyCreatedOwnerStacks++;return v(X,Q,te,!0,re?Error("react-stack-top-frame"):ie,re?fe(i(X)):_e)}})(),Lg}var PI;function kI(){return PI||(PI=1,NO.exports=BG()),NO.exports}var ce=kI(),F=Gu();const se=Pn(F),kO=ro({__proto__:null,default:se},[F]);var jO={exports:{}},LO={exports:{}},IO={},jI;function HG(){return jI||(jI=1,(function(e){/**
|
|
36
|
+
* @license React
|
|
37
|
+
* scheduler.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/(function(){function t(){if(k=!1,G){var W=e.unstable_now();K=W;var ue=!0;try{e:{P=!1,C&&(C=!1,z(B),B=-1),M=!0;var ie=T;try{t:{for(l(W),O=i(_);O!==null&&!(O.expirationTime>W&&h());){var _e=O.callback;if(typeof _e=="function"){O.callback=null,T=O.priorityLevel;var ae=_e(O.expirationTime<=W);if(W=e.unstable_now(),typeof ae=="function"){O.callback=ae,l(W),ue=!0;break t}O===i(_)&&o(_),l(W)}else o(_);O=i(_)}if(O!==null)ue=!0;else{var X=i(x);X!==null&&p(c,X.startTime-W),ue=!1}}break e}finally{O=null,T=ie,M=!1}ue=void 0}}finally{ue?oe():G=!1}}}function n(W,ue){var ie=W.length;W.push(ue);e:for(;0<ie;){var _e=ie-1>>>1,ae=W[_e];if(0<u(ae,ue))W[_e]=ue,W[ie]=ae,ie=_e;else break e}}function i(W){return W.length===0?null:W[0]}function o(W){if(W.length===0)return null;var ue=W[0],ie=W.pop();if(ie!==ue){W[0]=ie;e:for(var _e=0,ae=W.length,X=ae>>>1;_e<X;){var Q=2*(_e+1)-1,te=W[Q],re=Q+1,Ee=W[re];if(0>u(te,ie))re<ae&&0>u(Ee,te)?(W[_e]=Ee,W[re]=ie,_e=re):(W[_e]=te,W[Q]=ie,_e=Q);else if(re<ae&&0>u(Ee,ie))W[_e]=Ee,W[re]=ie,_e=re;else break e}}return ue}function u(W,ue){var ie=W.sortIndex-ue.sortIndex;return ie!==0?ie:W.id-ue.id}function l(W){for(var ue=i(x);ue!==null;){if(ue.callback===null)o(x);else if(ue.startTime<=W)o(x),ue.sortIndex=ue.expirationTime,n(_,ue);else break;ue=i(x)}}function c(W){if(C=!1,l(W),!P)if(i(_)!==null)P=!0,G||(G=!0,oe());else{var ue=i(x);ue!==null&&p(c,ue.startTime-W)}}function h(){return k?!0:!(e.unstable_now()-K<Y)}function p(W,ue){B=L(function(){W(e.unstable_now())},ue)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;e.unstable_now=function(){return v.now()}}else{var b=Date,S=b.now();e.unstable_now=function(){return b.now()-S}}var _=[],x=[],R=1,O=null,T=3,M=!1,P=!1,C=!1,k=!1,L=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null,G=!1,B=-1,Y=5,K=-1;if(typeof U=="function")var oe=function(){U(t)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,fe=le.port2;le.port1.onmessage=t,oe=function(){fe.postMessage(null)}}else oe=function(){L(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_next=function(W){switch(T){case 1:case 2:case 3:var ue=3;break;default:ue=T}var ie=T;T=ue;try{return W()}finally{T=ie}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(W,ue){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var ie=T;T=W;try{return ue()}finally{T=ie}},e.unstable_scheduleCallback=function(W,ue,ie){var _e=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?_e+ie:_e):ie=_e,W){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=ie+ae,W={id:R++,callback:ue,priorityLevel:W,startTime:ie,expirationTime:ae,sortIndex:-1},ie>_e?(W.sortIndex=ie,n(x,W),i(_)===null&&W===i(x)&&(C?(z(B),B=-1):C=!0,p(c,ie-_e))):(W.sortIndex=ae,n(_,W),P||M||(P=!0,G||(G=!0,oe()))),W},e.unstable_shouldYield=h,e.unstable_wrapCallback=function(W){var ue=T;return function(){var ie=T;T=ue;try{return W.apply(this,arguments)}finally{T=ie}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(IO)),IO}var LI;function FG(){return LI||(LI=1,LO.exports=HG()),LO.exports}var $O={exports:{}},Vi={},II;function VG(){if(II)return Vi;II=1;/**
|
|
44
|
+
* @license React
|
|
45
|
+
* react-dom.development.js
|
|
46
|
+
*
|
|
47
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
48
|
+
*
|
|
49
|
+
* This source code is licensed under the MIT license found in the
|
|
50
|
+
* LICENSE file in the root directory of this source tree.
|
|
51
|
+
*/return(function(){function e(){}function t(b){return""+b}function n(b,S,_){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(x);var R=!1}catch{R=!0}return R&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object"),t(x)),{$$typeof:p,key:x==null?null:""+x,children:b,containerInfo:S,implementation:_}}function i(b,S){if(b==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}function o(b){return b===null?"`null`":b===void 0?"`undefined`":b===""?"an empty string":'something with type "'+typeof b+'"'}function u(b){return b===null?"`null`":b===void 0?"`undefined`":b===""?"an empty string":typeof b=="string"?JSON.stringify(b):typeof b=="number"?"`"+b+"`":'something with type "'+typeof b+'"'}function l(){var b=v.H;return b===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
52
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
53
|
+
2. You might be breaking the Rules of Hooks
|
|
54
|
+
3. You might have more than one copy of React in the same app
|
|
55
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=Gu(),h={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},p=Symbol.for("react.portal"),v=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Vi.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,Vi.createPortal=function(b,S){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error("Target container is not a DOM element.");return n(b,S,null,_)},Vi.flushSync=function(b){var S=v.T,_=h.p;try{if(v.T=null,h.p=2,b)return b()}finally{v.T=S,h.p=_,h.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Vi.preconnect=function(b,S){typeof b=="string"&&b?S!=null&&typeof S!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",u(S)):S!=null&&typeof S.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(S.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(b)),typeof b=="string"&&(S?(S=S.crossOrigin,S=typeof S=="string"?S==="use-credentials"?S:"":void 0):S=null,h.d.C(b,S))},Vi.prefetchDNS=function(b){if(typeof b!="string"||!b)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(b));else if(1<arguments.length){var S=arguments[1];typeof S=="object"&&S.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",u(S)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",u(S))}typeof b=="string"&&h.d.D(b)},Vi.preinit=function(b,S){if(typeof b=="string"&&b?S==null||typeof S!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",u(S)):S.as!=="style"&&S.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',u(S.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(b)),typeof b=="string"&&S&&typeof S.as=="string"){var _=S.as,x=i(_,S.crossOrigin),R=typeof S.integrity=="string"?S.integrity:void 0,O=typeof S.fetchPriority=="string"?S.fetchPriority:void 0;_==="style"?h.d.S(b,typeof S.precedence=="string"?S.precedence:void 0,{crossOrigin:x,integrity:R,fetchPriority:O}):_==="script"&&h.d.X(b,{crossOrigin:x,integrity:R,fetchPriority:O,nonce:typeof S.nonce=="string"?S.nonce:void 0})}},Vi.preinitModule=function(b,S){var _="";if(typeof b=="string"&&b||(_+=" The `href` argument encountered was "+o(b)+"."),S!==void 0&&typeof S!="object"?_+=" The `options` argument encountered was "+o(S)+".":S&&"as"in S&&S.as!=="script"&&(_+=" The `as` option encountered was "+u(S.as)+"."),_)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",_);else switch(_=S&&typeof S.as=="string"?S.as:"script",_){case"script":break;default:_=u(_),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',_,b)}typeof b=="string"&&(typeof S=="object"&&S!==null?(S.as==null||S.as==="script")&&(_=i(S.as,S.crossOrigin),h.d.M(b,{crossOrigin:_,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0})):S==null&&h.d.M(b))},Vi.preload=function(b,S){var _="";if(typeof b=="string"&&b||(_+=" The `href` argument encountered was "+o(b)+"."),S==null||typeof S!="object"?_+=" The `options` argument encountered was "+o(S)+".":typeof S.as=="string"&&S.as||(_+=" The `as` option encountered was "+o(S.as)+"."),_&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',_),typeof b=="string"&&typeof S=="object"&&S!==null&&typeof S.as=="string"){_=S.as;var x=i(_,S.crossOrigin);h.d.L(b,_,{crossOrigin:x,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,type:typeof S.type=="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy=="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet=="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes=="string"?S.imageSizes:void 0,media:typeof S.media=="string"?S.media:void 0})}},Vi.preloadModule=function(b,S){var _="";typeof b=="string"&&b||(_+=" The `href` argument encountered was "+o(b)+"."),S!==void 0&&typeof S!="object"?_+=" The `options` argument encountered was "+o(S)+".":S&&"as"in S&&typeof S.as!="string"&&(_+=" The `as` option encountered was "+o(S.as)+"."),_&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',_),typeof b=="string"&&(S?(_=i(S.as,S.crossOrigin),h.d.m(b,{as:typeof S.as=="string"&&S.as!=="script"?S.as:void 0,crossOrigin:_,integrity:typeof S.integrity=="string"?S.integrity:void 0})):h.d.m(b))},Vi.requestFormReset=function(b){h.d.r(b)},Vi.unstable_batchedUpdates=function(b,S){return b(S)},Vi.useFormState=function(b,S,_){return l().useFormState(b,S,_)},Vi.useFormStatus=function(){return l().useHostTransitionStatus()},Vi.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Vi}var $I;function zI(){return $I||($I=1,$O.exports=VG()),$O.exports}var $g={},qI;function YG(){if(qI)return $g;qI=1;/**
|
|
56
|
+
* @license React
|
|
57
|
+
* react-dom-client.development.js
|
|
58
|
+
*
|
|
59
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the MIT license found in the
|
|
62
|
+
* LICENSE file in the root directory of this source tree.
|
|
63
|
+
*/return(function(){function e(r,a){for(r=r.memoizedState;r!==null&&0<a;)r=r.next,a--;return r}function t(r,a,s,f){if(s>=a.length)return f;var g=a[s],y=yr(r)?r.slice():zt({},r);return y[g]=t(r[g],a,s+1,f),y}function n(r,a,s){if(a.length!==s.length)console.warn("copyWithRename() expects paths of the same length");else{for(var f=0;f<s.length-1;f++)if(a[f]!==s[f]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return i(r,a,s,0)}}function i(r,a,s,f){var g=a[f],y=yr(r)?r.slice():zt({},r);return f+1===a.length?(y[s[f]]=y[g],yr(y)?y.splice(g,1):delete y[g]):y[g]=i(r[g],a,s,f+1),y}function o(r,a,s){var f=a[s],g=yr(r)?r.slice():zt({},r);return s+1===a.length?(yr(g)?g.splice(f,1):delete g[f],g):(g[f]=o(r[f],a,s+1),g)}function u(){return!1}function l(){return null}function c(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function h(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function p(){}function v(){}function b(r){var a=[];return r.forEach(function(s){a.push(s)}),a.sort().join(", ")}function S(r,a,s,f){return new ba(r,a,s,f)}function _(r,a){r.context===rf&&(Vc(r.current,2,a,r,null,null),Dl())}function x(r,a){if(ms!==null){var s=a.staleFamilies;a=a.updatedFamilies,$d(),Ay(r.current,a,s),Dl()}}function R(r){ms=r}function O(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function T(r){var a=r,s=r;if(r.alternate)for(;a.return;)a=a.return;else{r=a;do a=r,(a.flags&4098)!==0&&(s=a.return),r=a.return;while(r)}return a.tag===3?s:null}function M(r){if(r.tag===13){var a=r.memoizedState;if(a===null&&(r=r.alternate,r!==null&&(a=r.memoizedState)),a!==null)return a.dehydrated}return null}function P(r){if(r.tag===31){var a=r.memoizedState;if(a===null&&(r=r.alternate,r!==null&&(a=r.memoizedState)),a!==null)return a.dehydrated}return null}function C(r){if(T(r)!==r)throw Error("Unable to find node on an unmounted component.")}function k(r){var a=r.alternate;if(!a){if(a=T(r),a===null)throw Error("Unable to find node on an unmounted component.");return a!==r?null:r}for(var s=r,f=a;;){var g=s.return;if(g===null)break;var y=g.alternate;if(y===null){if(f=g.return,f!==null){s=f;continue}break}if(g.child===y.child){for(y=g.child;y;){if(y===s)return C(g),r;if(y===f)return C(g),a;y=y.sibling}throw Error("Unable to find node on an unmounted component.")}if(s.return!==f.return)s=g,f=y;else{for(var w=!1,A=g.child;A;){if(A===s){w=!0,s=g,f=y;break}if(A===f){w=!0,f=g,s=y;break}A=A.sibling}if(!w){for(A=y.child;A;){if(A===s){w=!0,s=y,f=g;break}if(A===f){w=!0,f=y,s=g;break}A=A.sibling}if(!w)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(s.alternate!==f)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(s.tag!==3)throw Error("Unable to find node on an unmounted component.");return s.stateNode.current===s?r:a}function L(r){var a=r.tag;if(a===5||a===26||a===27||a===6)return r;for(r=r.child;r!==null;){if(a=L(r),a!==null)return a;r=r.sibling}return null}function z(r){return r===null||typeof r!="object"?null:(r=lR&&r[lR]||r["@@iterator"],typeof r=="function"?r:null)}function U(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===aL?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case jl:return"Fragment";case a0:return"Profiler";case Wc:return"StrictMode";case s0:return"Suspense";case u0:return"SuspenseList";case l0:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case kl:return"Portal";case us:return r.displayName||"Context";case o0:return(r._context.displayName||"Context")+".Consumer";case Qd:var a=r.render;return r=r.displayName,r||(r=a.displayName||a.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Wm:return a=r.displayName||null,a!==null?a:U(r.type)||"Memo";case Ca:a=r._payload,r=r._init;try{return U(r(a))}catch{}}return null}function G(r){return typeof r.tag=="number"?B(r):typeof r.name=="string"?r.name:null}function B(r){var a=r.type;switch(r.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return a.displayName||"Context";case 18:return"DehydratedFragment";case 11:return r=a.render,r=r.displayName||r.name||"",a.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(a);case 8:return a===Wc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=r._debugInfo,a!=null){for(var s=a.length-1;0<=s;s--)if(typeof a[s].name=="string")return a[s].name}if(r.return!==null)return B(r.return)}return null}function Y(r){return{current:r}}function K(r,a){0>Ln?console.error("Unexpected pop."):(a!==f0[Ln]&&console.error("Unexpected Fiber popped."),r.current=c0[Ln],c0[Ln]=null,f0[Ln]=null,Ln--)}function oe(r,a,s){Ln++,c0[Ln]=r.current,f0[Ln]=s,r.current=a}function le(r){return r===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),r}function fe(r,a){oe(qu,a,r),oe(Kd,r,r),oe(br,null,r);var s=a.nodeType;switch(s){case 9:case 11:s=s===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?Uw(a):Ql;break;default:if(s=a.tagName,a=a.namespaceURI)a=Uw(a),a=Gb(a,s);else switch(s){case"svg":a=kg;break;case"math":a=OO;break;default:a=Ql}}s=s.toLowerCase(),s=ul(null,s),s={context:a,ancestorInfo:s},K(br,r),oe(br,s,r)}function W(r){K(br,r),K(Kd,r),K(qu,r)}function ue(){return le(br.current)}function ie(r){r.memoizedState!==null&&oe(Xm,r,r);var a=le(br.current),s=r.type,f=Gb(a.context,s);s=ul(a.ancestorInfo,s),f={context:f,ancestorInfo:s},a!==f&&(oe(Kd,r,r),oe(br,f,r))}function _e(r){Kd.current===r&&(K(br,r),K(Kd,r)),Xm.current===r&&(K(Xm,r),uS._currentValue=Eh)}function ae(){}function X(){if(Xc===0){cR=console.log,fR=console.info,dR=console.warn,d0=console.error,hR=console.group,pR=console.groupCollapsed,mR=console.groupEnd;var r={configurable:!0,enumerable:!0,value:ae,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}Xc++}function Q(){if(Xc--,Xc===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:zt({},r,{value:cR}),info:zt({},r,{value:fR}),warn:zt({},r,{value:dR}),error:zt({},r,{value:d0}),group:zt({},r,{value:hR}),groupCollapsed:zt({},r,{value:pR}),groupEnd:zt({},r,{value:mR})})}0>Xc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function te(r){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=a,r.startsWith(`Error: react-stack-top-frame
|
|
64
|
+
`)&&(r=r.slice(29)),a=r.indexOf(`
|
|
65
|
+
`),a!==-1&&(r=r.slice(a+1)),a=r.indexOf("react_stack_bottom_frame"),a!==-1&&(a=r.lastIndexOf(`
|
|
66
|
+
`,a)),a!==-1)r=r.slice(0,a);else return"";return r}function re(r){if(Qm===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);Qm=a&&a[1]||"",h0=-1<s.stack.indexOf(`
|
|
67
|
+
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
68
|
+
`+Qm+r+h0}function Ee(r,a){if(!r||p0)return"";var s=m0.get(r);if(s!==void 0)return s;p0=!0,s=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var f=null;f=Ae.H,Ae.H=null,X();try{var g={DetermineComponentFrameRoot:function(){try{if(a){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(Ge){var Oe=Ge}Reflect.construct(r,[],ee)}else{try{ee.call()}catch(Ge){Oe=Ge}r.call(ee.prototype)}}else{try{throw Error()}catch(Ge){Oe=Ge}(ee=r())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch(Ge){if(Ge&&Oe&&typeof Ge.stack=="string")return[Ge.stack,Oe.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=g.DetermineComponentFrameRoot(),A=w[0],j=w[1];if(A&&j){var q=A.split(`
|
|
69
|
+
`),pe=j.split(`
|
|
70
|
+
`);for(w=y=0;y<q.length&&!q[y].includes("DetermineComponentFrameRoot");)y++;for(;w<pe.length&&!pe[w].includes("DetermineComponentFrameRoot");)w++;if(y===q.length||w===pe.length)for(y=q.length-1,w=pe.length-1;1<=y&&0<=w&&q[y]!==pe[w];)w--;for(;1<=y&&0<=w;y--,w--)if(q[y]!==pe[w]){if(y!==1||w!==1)do if(y--,w--,0>w||q[y]!==pe[w]){var me=`
|
|
71
|
+
`+q[y].replace(" at new "," at ");return r.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",r.displayName)),typeof r=="function"&&m0.set(r,me),me}while(1<=y&&0<=w);break}}}finally{p0=!1,Ae.H=f,Q(),Error.prepareStackTrace=s}return q=(q=r?r.displayName||r.name:"")?re(q):"",typeof r=="function"&&m0.set(r,q),q}function Se(r,a){switch(r.tag){case 26:case 27:case 5:return re(r.type);case 16:return re("Lazy");case 13:return r.child!==a&&a!==null?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return Ee(r.type,!1);case 11:return Ee(r.type.render,!1);case 1:return Ee(r.type,!0);case 31:return re("Activity");default:return""}}function Re(r){try{var a="",s=null;do{a+=Se(r,s);var f=r._debugInfo;if(f)for(var g=f.length-1;0<=g;g--){var y=f[g];if(typeof y.name=="string"){var w=a;e:{var A=y.name,j=y.env,q=y.debugLocation;if(q!=null){var pe=te(q),me=pe.lastIndexOf(`
|
|
72
|
+
`),ee=me===-1?pe:pe.slice(me+1);if(ee.indexOf(A)!==-1){var Oe=`
|
|
73
|
+
`+ee;break e}}Oe=re(A+(j?" ["+j+"]":""))}a=w+Oe}}s=r,r=r.return}while(r);return a}catch(Ge){return`
|
|
74
|
+
Error generating stack: `+Ge.message+`
|
|
75
|
+
`+Ge.stack}}function Pe(r){return(r=r?r.displayName||r.name:"")?re(r):""}function Le(){if(Da===null)return null;var r=Da._debugOwner;return r!=null?G(r):null}function Ne(){if(Da===null)return"";var r=Da;try{var a="";switch(r.tag===6&&(r=r.return),r.tag){case 26:case 27:case 5:a+=re(r.type);break;case 13:a+=re("Suspense");break;case 19:a+=re("SuspenseList");break;case 31:a+=re("Activity");break;case 30:case 0:case 15:case 1:r._debugOwner||a!==""||(a+=Pe(r.type));break;case 11:r._debugOwner||a!==""||(a+=Pe(r.type.render))}for(;r;)if(typeof r.tag=="number"){var s=r;r=s._debugOwner;var f=s._debugStack;if(r&&f){var g=te(f);g!==""&&(a+=`
|
|
76
|
+
`+g)}}else if(r.debugStack!=null){var y=r.debugStack;(r=r.owner)&&y&&(a+=`
|
|
77
|
+
`+te(y))}else break;var w=a}catch(A){w=`
|
|
78
|
+
Error generating stack: `+A.message+`
|
|
79
|
+
`+A.stack}return w}function De(r,a,s,f,g,y,w){var A=Da;Ce(r);try{return r!==null&&r._debugTask?r._debugTask.run(a.bind(null,s,f,g,y,w)):a(s,f,g,y,w)}finally{Ce(A)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ce(r){Ae.getCurrentStack=r===null?null:Ne,ls=!1,Da=r}function Qe(r){return typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object"}function Ve(r){try{return He(r),!1}catch{return!0}}function He(r){return""+r}function ke(r,a){if(Ve(r))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,Qe(r)),He(r)}function $e(r,a){if(Ve(r))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,Qe(r)),He(r)}function ct(r){if(Ve(r))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Qe(r)),He(r)}function At(r){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Kc=a.inject(r),Ei=a}catch(s){console.error("React instrumentation encountered an error: %o.",s)}return!!a.checkDCE}function Ye(r){if(typeof fL=="function"&&dL(r),Ei&&typeof Ei.setStrictMode=="function")try{Ei.setStrictMode(Kc,r)}catch(a){cs||(cs=!0,console.error("React instrumentation encountered an error: %o",a))}}function yt(r){return r>>>=0,r===0?32:31-(hL(r)/pL|0)|0}function mt(r){var a=r&42;if(a!==0)return a;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),r}}function Dt(r,a,s){var f=r.pendingLanes;if(f===0)return 0;var g=0,y=r.suspendedLanes,w=r.pingedLanes;r=r.warmLanes;var A=f&134217727;return A!==0?(f=A&~y,f!==0?g=mt(f):(w&=A,w!==0?g=mt(w):s||(s=A&~r,s!==0&&(g=mt(s))))):(A=f&~y,A!==0?g=mt(A):w!==0?g=mt(w):s||(s=f&~r,s!==0&&(g=mt(s)))),g===0?0:a!==0&&a!==g&&(a&y)===0&&(y=g&-g,s=a&-a,y>=s||y===32&&(s&4194048)!==0)?a:g}function ht(r,a){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&a)===0}function at(r,a){switch(r){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function an(){var r=eg;return eg<<=1,(eg&62914560)===0&&(eg=4194304),r}function cr(r){for(var a=[],s=0;31>s;s++)a.push(r);return a}function mn(r,a){r.pendingLanes|=a,a!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function ot(r,a,s,f,g,y){var w=r.pendingLanes;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=s,r.entangledLanes&=s,r.errorRecoveryDisabledLanes&=s,r.shellSuspendCounter=0;var A=r.entanglements,j=r.expirationTimes,q=r.hiddenUpdates;for(s=w&~s;0<s;){var pe=31-zi(s),me=1<<pe;A[pe]=0,j[pe]=-1;var ee=q[pe];if(ee!==null)for(q[pe]=null,pe=0;pe<ee.length;pe++){var Oe=ee[pe];Oe!==null&&(Oe.lane&=-536870913)}s&=~me}f!==0&&St(r,f,0),y!==0&&g===0&&r.tag!==0&&(r.suspendedLanes|=y&~(w&~a))}function St(r,a,s){r.pendingLanes|=a,r.suspendedLanes&=~a;var f=31-zi(a);r.entangledLanes|=a,r.entanglements[f]=r.entanglements[f]|1073741824|s&261930}function tr(r,a){var s=r.entangledLanes|=a;for(r=r.entanglements;s;){var f=31-zi(s),g=1<<f;g&a|r[f]&a&&(r[f]|=a),s&=~g}}function Lt(r,a){var s=a&-a;return s=(s&42)!==0?1:Cn(s),(s&(r.suspendedLanes|a))!==0?0:s}function Cn(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function zn(r,a,s){if(fs)for(r=r.pendingUpdatersLaneMap;0<s;){var f=31-zi(s),g=1<<f;r[f].add(a),s&=~g}}function nr(r,a){if(fs)for(var s=r.pendingUpdatersLaneMap,f=r.memoizedUpdaters;0<a;){var g=31-zi(a);r=1<<g,g=s[g],0<g.size&&(g.forEach(function(y){var w=y.alternate;w!==null&&f.has(w)||f.add(y)}),g.clear()),a&=~r}}function On(r){return r&=-r,Ja<r?ds<r?(r&134217727)!==0?Ks:tg:ds:Ja}function Zt(){var r=cn.p;return r!==0?r:(r=window.event,r===void 0?Ks:Yc(r.type))}function $(r,a){var s=cn.p;try{return cn.p=r,a()}finally{cn.p=s}}function ge(r){delete r[ui],delete r[qi],delete r[b0],delete r[S0],delete r[vR]}function qe(r){var a=r[ui];if(a)return a;for(var s=r.parentNode;s;){if(a=s[Bu]||s[ui]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(r=zm(r);r!==null;){if(s=r[ui])return s;r=zm(r)}return a}r=s,s=r.parentNode}return null}function Fe(r){if(r=r[ui]||r[Bu]){var a=r.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return r}return null}function Ze(r){var a=r.tag;if(a===5||a===26||a===27||a===6)return r.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function gt(r){var a=r[_0];return a||(a=r[_0]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function rt(r){r[Zd]=!0}function Nt(r,a){ft(r,a),ft(r+"Capture",a)}function ft(r,a){Ll[r]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",r),Ll[r]=a;var s=r.toLowerCase();for(Jd[s]=r,r==="onDoubleClick"&&(Jd.ondblclick=r),r=0;r<a.length;r++)yR.add(a[r])}function fr(r,a){mL[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(r==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ni(r){return _i.call(Ui,r)?!0:_i.call(bR,r)?!1:gL.test(r)?Ui[r]=!0:(bR[r]=!0,console.error("Invalid attribute name: `%s`",r),!1)}function ho(r,a,s){if(ni(a)){if(!r.hasAttribute(a)){switch(typeof s){case"symbol":case"object":return s;case"function":return s;case"boolean":if(s===!1)return s}return s===void 0?void 0:null}return r=r.getAttribute(a),r===""&&s===!0?!0:(ke(s,a),r===""+s?s:r)}}function ma(r,a,s){if(ni(a))if(s===null)r.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":r.removeAttribute(a);return;case"boolean":var f=a.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){r.removeAttribute(a);return}}ke(s,a),r.setAttribute(a,""+s)}}function po(r,a,s){if(s===null)r.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(a);return}ke(s,a),r.setAttribute(a,""+s)}}function dr(r,a,s,f){if(f===null)r.removeAttribute(s);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}ke(f,s),r.setAttributeNS(a,s,""+f)}}function hr(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return ct(r),r;default:return""}}function ea(r){var a=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function $o(r,a,s){var f=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);if(!r.hasOwnProperty(a)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var g=f.get,y=f.set;return Object.defineProperty(r,a,{configurable:!0,get:function(){return g.call(this)},set:function(w){ct(w),s=""+w,y.call(this,w)}}),Object.defineProperty(r,a,{enumerable:f.enumerable}),{getValue:function(){return s},setValue:function(w){ct(w),s=""+w},stopTracking:function(){r._valueTracker=null,delete r[a]}}}}function Mi(r){if(!r._valueTracker){var a=ea(r)?"checked":"value";r._valueTracker=$o(r,a,""+r[a])}}function Ba(r){if(!r)return!1;var a=r._valueTracker;if(!a)return!0;var s=a.getValue(),f="";return r&&(f=ea(r)?r.checked?"true":"false":r.value),r=f,r!==s?(a.setValue(r),!0):!1}function Lr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Dn(r){return r.replace(E0,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function ga(r,a){a.checked===void 0||a.defaultChecked===void 0||_R||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Le()||"A component",a.type),_R=!0),a.value===void 0||a.defaultValue===void 0||SR||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Le()||"A component",a.type),SR=!0)}function Ir(r,a,s,f,g,y,w,A){r.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?(ke(w,"type"),r.type=w):r.removeAttribute("type"),a!=null?w==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+hr(a)):r.value!==""+hr(a)&&(r.value=""+hr(a)):w!=="submit"&&w!=="reset"||r.removeAttribute("value"),a!=null?hi(r,w,hr(a)):s!=null?hi(r,w,hr(s)):f!=null&&r.removeAttribute("value"),g==null&&y!=null&&(r.defaultChecked=!!y),g!=null&&(r.checked=g&&typeof g!="function"&&typeof g!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?(ke(A,"name"),r.name=""+hr(A)):r.removeAttribute("name")}function rr(r,a,s,f,g,y,w,A){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(ke(y,"type"),r.type=y),a!=null||s!=null){if(!(y!=="submit"&&y!=="reset"||a!=null)){Mi(r);return}s=s!=null?""+hr(s):"",a=a!=null?""+hr(a):s,A||a===r.value||(r.value=a),r.defaultValue=a}f=f??g,f=typeof f!="function"&&typeof f!="symbol"&&!!f,r.checked=A?r.checked:!!f,r.defaultChecked=!!f,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(ke(w,"name"),r.name=w),Mi(r)}function hi(r,a,s){a==="number"&&Lr(r.ownerDocument)===r||r.defaultValue===""+s||(r.defaultValue=""+s)}function js(r,a){a.value==null&&(typeof a.children=="object"&&a.children!==null?la.Children.forEach(a.children,function(s){s==null||typeof s=="string"||typeof s=="number"||typeof s=="bigint"||wR||(wR=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):a.dangerouslySetInnerHTML==null||ng||(ng=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),a.selected==null||ER||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ER=!0)}function zo(){var r=Le();return r?`
|
|
80
|
+
|
|
81
|
+
Check the render method of \``+r+"`.":""}function vn(r,a,s,f){if(r=r.options,a){a={};for(var g=0;g<s.length;g++)a["$"+s[g]]=!0;for(s=0;s<r.length;s++)g=a.hasOwnProperty("$"+r[s].value),r[s].selected!==g&&(r[s].selected=g),g&&f&&(r[s].defaultSelected=!0)}else{for(s=""+hr(s),a=null,g=0;g<r.length;g++){if(r[g].value===s){r[g].selected=!0,f&&(r[g].defaultSelected=!0);return}a!==null||r[g].disabled||(a=r[g])}a!==null&&(a.selected=!0)}}function qo(r,a){for(r=0;r<rg.length;r++){var s=rg[r];if(a[s]!=null){var f=yr(a[s]);a.multiple&&!f?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,zo()):!a.multiple&&f&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,zo())}}a.value===void 0||a.defaultValue===void 0||RR||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),RR=!0)}function mu(r,a){a.value===void 0||a.defaultValue===void 0||OR||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Le()||"A component"),OR=!0),a.children!=null&&a.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function un(r,a,s){if(a!=null&&(a=""+hr(a),a!==r.value&&(r.value=a),s==null)){r.defaultValue!==a&&(r.defaultValue=a);return}r.defaultValue=s!=null?""+hr(s):""}function Qn(r,a,s,f){if(a==null){if(f!=null){if(s!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(yr(f)){if(1<f.length)throw Error("<textarea> can only have at most one child.");f=f[0]}s=f}s==null&&(s=""),a=s}s=hr(a),r.defaultValue=s,f=r.textContent,f===s&&f!==""&&f!==null&&(r.value=f),Mi(r)}function pi(r,a){return r.serverProps===void 0&&r.serverTail.length===0&&r.children.length===1&&3<r.distanceFromLeaf&&r.distanceFromLeaf>15-a?pi(r.children[0],a):r}function yn(r){return" "+" ".repeat(r)}function Ar(r){return"+ "+" ".repeat(r)}function Ni(r){return"- "+" ".repeat(r)}function Ha(r){switch(r.tag){case 26:case 27:case 5:return r.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return r=r.type,r.displayName||r.name||null;case 11:return r=r.type.render,r.displayName||r.name||null;case 1:return r=r.type,r.displayName||r.name||null;default:return null}}function Pi(r,a){return TR.test(r)?(r=JSON.stringify(r),r.length>a-2?8>a?'{"..."}':"{"+r.slice(0,a-7)+'..."}':"{"+r+"}"):r.length>a?5>a?'{"..."}':r.slice(0,a-3)+"...":r}function Uo(r,a,s){var f=120-2*s;if(a===null)return Ar(s)+Pi(r,f)+`
|
|
82
|
+
`;if(typeof a=="string"){for(var g=0;g<a.length&&g<r.length&&a.charCodeAt(g)===r.charCodeAt(g);g++);return g>f-8&&10<g&&(r="..."+r.slice(g-8),a="..."+a.slice(g-8)),Ar(s)+Pi(r,f)+`
|
|
83
|
+
`+Ni(s)+Pi(a,f)+`
|
|
84
|
+
`}return yn(s)+Pi(r,f)+`
|
|
85
|
+
`}function Bo(r){return Object.prototype.toString.call(r).replace(/^\[object (.*)\]$/,function(a,s){return s})}function pr(r,a){switch(typeof r){case"string":return r=JSON.stringify(r),r.length>a?5>a?'"..."':r.slice(0,a-4)+'..."':r;case"object":if(r===null)return"null";if(yr(r))return"[...]";if(r.$$typeof===ss)return(a=U(r.type))?"<"+a+">":"<...>";var s=Bo(r);if(s==="Object"){s="",a-=2;for(var f in r)if(r.hasOwnProperty(f)){var g=JSON.stringify(f);if(g!=='"'+f+'"'&&(f=g),a-=f.length-2,g=pr(r[f],15>a?a:15),a-=g.length,0>a){s+=s===""?"...":", ...";break}s+=(s===""?"":",")+f+":"+g}return"{"+s+"}"}return s;case"function":return(a=r.displayName||r.name)?"function "+a:"function";default:return String(r)}}function ta(r,a){return typeof r!="string"||TR.test(r)?"{"+pr(r,a-2)+"}":r.length>a-2?5>a?'"..."':'"'+r.slice(0,a-5)+'..."':'"'+r+'"'}function gu(r,a,s){var f=120-s.length-r.length,g=[],y;for(y in a)if(a.hasOwnProperty(y)&&y!=="children"){var w=ta(a[y],120-s.length-y.length-1);f-=y.length+w.length+2,g.push(y+"="+w)}return g.length===0?s+"<"+r+`>
|
|
86
|
+
`:0<f?s+"<"+r+" "+g.join(" ")+`>
|
|
87
|
+
`:s+"<"+r+`
|
|
88
|
+
`+s+" "+g.join(`
|
|
89
|
+
`+s+" ")+`
|
|
90
|
+
`+s+`>
|
|
91
|
+
`}function Et(r,a,s){var f="",g=zt({},a),y;for(y in r)if(r.hasOwnProperty(y)){delete g[y];var w=120-2*s-y.length-2,A=pr(r[y],w);a.hasOwnProperty(y)?(w=pr(a[y],w),f+=Ar(s)+y+": "+A+`
|
|
92
|
+
`,f+=Ni(s)+y+": "+w+`
|
|
93
|
+
`):f+=Ar(s)+y+": "+A+`
|
|
94
|
+
`}for(var j in g)g.hasOwnProperty(j)&&(r=pr(g[j],120-2*s-j.length-2),f+=Ni(s)+j+": "+r+`
|
|
95
|
+
`);return f}function mr(r,a,s,f){var g="",y=new Map;for(q in s)s.hasOwnProperty(q)&&y.set(q.toLowerCase(),q);if(y.size===1&&y.has("children"))g+=gu(r,a,yn(f));else{for(var w in a)if(a.hasOwnProperty(w)&&w!=="children"){var A=120-2*(f+1)-w.length-1,j=y.get(w.toLowerCase());if(j!==void 0){y.delete(w.toLowerCase());var q=a[w];j=s[j];var pe=ta(q,A);A=ta(j,A),typeof q=="object"&&q!==null&&typeof j=="object"&&j!==null&&Bo(q)==="Object"&&Bo(j)==="Object"&&(2<Object.keys(q).length||2<Object.keys(j).length||-1<pe.indexOf("...")||-1<A.indexOf("..."))?g+=yn(f+1)+w+`={{
|
|
96
|
+
`+Et(q,j,f+2)+yn(f+1)+`}}
|
|
97
|
+
`:(g+=Ar(f+1)+w+"="+pe+`
|
|
98
|
+
`,g+=Ni(f+1)+w+"="+A+`
|
|
99
|
+
`)}else g+=yn(f+1)+w+"="+ta(a[w],A)+`
|
|
100
|
+
`}y.forEach(function(me){if(me!=="children"){var ee=120-2*(f+1)-me.length-1;g+=Ni(f+1)+me+"="+ta(s[me],ee)+`
|
|
101
|
+
`}}),g=g===""?yn(f)+"<"+r+`>
|
|
102
|
+
`:yn(f)+"<"+r+`
|
|
103
|
+
`+g+yn(f)+`>
|
|
104
|
+
`}return r=s.children,a=a.children,typeof r=="string"||typeof r=="number"||typeof r=="bigint"?(y="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(y=""+a),g+=Uo(y,""+r,f+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(g=r==null?g+Uo(""+a,null,f+1):g+Uo(""+a,void 0,f+1)),g}function gr(r,a){var s=Ha(r);if(s===null){for(s="",r=r.child;r;)s+=gr(r,a),r=r.sibling;return s}return yn(a)+"<"+s+`>
|
|
105
|
+
`}function Ho(r,a){var s=pi(r,a);if(s!==r&&(r.children.length!==1||r.children[0]!==s))return yn(a)+`...
|
|
106
|
+
`+Ho(s,a+1);s="";var f=r.fiber._debugInfo;if(f)for(var g=0;g<f.length;g++){var y=f[g].name;typeof y=="string"&&(s+=yn(a)+"<"+y+`>
|
|
107
|
+
`,a++)}if(f="",g=r.fiber.pendingProps,r.fiber.tag===6)f=Uo(g,r.serverProps,a),a++;else if(y=Ha(r.fiber),y!==null)if(r.serverProps===void 0){f=a;var w=120-2*f-y.length-2,A="";for(q in g)if(g.hasOwnProperty(q)&&q!=="children"){var j=ta(g[q],15);if(w-=q.length+j.length+2,0>w){A+=" ...";break}A+=" "+q+"="+j}f=yn(f)+"<"+y+A+`>
|
|
108
|
+
`,a++}else r.serverProps===null?(f=gu(y,g,Ar(a)),a++):typeof r.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(f=mr(y,g,r.serverProps,a),a++);var q="";for(g=r.fiber.child,y=0;g&&y<r.children.length;)w=r.children[y],w.fiber===g?(q+=Ho(w,a),y++):q+=gr(g,a),g=g.sibling;for(g&&0<r.children.length&&(q+=yn(a)+`...
|
|
109
|
+
`),g=r.serverTail,r.serverProps===null&&a--,r=0;r<g.length;r++)y=g[r],q=typeof y=="string"?q+(Ni(a)+Pi(y,120-2*a)+`
|
|
110
|
+
`):q+gu(y.type,y.props,Ni(a));return s+f+q}function Ls(r){try{return`
|
|
111
|
+
|
|
112
|
+
`+Ho(r,0)}catch{return""}}function yc(r,a,s){for(var f=a,g=null,y=0;f;)f===r&&(y=0),g={fiber:f,children:g!==null?[g]:[],serverProps:f===a?s:f===r?null:void 0,serverTail:[],distanceFromLeaf:y},y++,f=f.return;return g!==null?Ls(g).replaceAll(/^[+-]/gm,">"):""}function ul(r,a){var s=zt({},r||CR),f={tag:a};return xR.indexOf(a)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),AR.indexOf(a)!==-1&&(s.pTagInButtonScope=null),vL.indexOf(a)!==-1&&a!=="address"&&a!=="div"&&a!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=f,a==="form"&&(s.formTag=f),a==="a"&&(s.aTagInScope=f),a==="button"&&(s.buttonTagInScope=f),a==="nobr"&&(s.nobrTagInScope=f),a==="p"&&(s.pTagInButtonScope=f),a==="li"&&(s.listItemTagAutoclosing=f),(a==="dd"||a==="dt")&&(s.dlItemTagAutoclosing=f),a==="#document"||a==="html"?s.containerTagInScope=null:s.containerTagInScope||(s.containerTagInScope=f),r!==null||a!=="#document"&&a!=="html"&&a!=="body"?s.implicitRootScope===!0&&(s.implicitRootScope=!1):s.implicitRootScope=!0,s}function Is(r,a,s){switch(a){case"select":return r==="hr"||r==="option"||r==="optgroup"||r==="script"||r==="template"||r==="#text";case"optgroup":return r==="option"||r==="#text";case"option":return r==="#text";case"tr":return r==="th"||r==="td"||r==="style"||r==="script"||r==="template";case"tbody":case"thead":case"tfoot":return r==="tr"||r==="style"||r==="script"||r==="template";case"colgroup":return r==="col"||r==="template";case"table":return r==="caption"||r==="colgroup"||r==="tbody"||r==="tfoot"||r==="thead"||r==="style"||r==="script"||r==="template";case"head":return r==="base"||r==="basefont"||r==="bgsound"||r==="link"||r==="meta"||r==="title"||r==="noscript"||r==="noframes"||r==="style"||r==="script"||r==="template";case"html":if(s)break;return r==="head"||r==="body"||r==="frameset";case"frameset":return r==="frame";case"#document":if(!s)return r==="html"}switch(r){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a!=="h1"&&a!=="h2"&&a!=="h3"&&a!=="h4"&&a!=="h5"&&a!=="h6";case"rp":case"rt":return yL.indexOf(a)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return a==null;case"head":return s||a===null;case"html":return s&&a==="#document"||a===null;case"body":return s&&(a==="#document"||a==="html")||a===null}return!0}function Ke(r,a){switch(r){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a.pTagInButtonScope;case"form":return a.formTag||a.pTagInButtonScope;case"li":return a.listItemTagAutoclosing;case"dd":case"dt":return a.dlItemTagAutoclosing;case"button":return a.buttonTagInScope;case"a":return a.aTagInScope;case"nobr":return a.nobrTagInScope}return null}function kt(r,a){for(;r;){switch(r.tag){case 5:case 26:case 27:if(r.type===a)return r}r=r.return}return null}function Kn(r,a){a=a||CR;var s=a.current;if(a=(s=Is(r,s&&s.tag,a.implicitRootScope)?null:s)?null:Ke(r,a),a=s||a,!a)return!0;var f=a.tag;if(a=String(!!s)+"|"+r+"|"+f,ig[a])return!1;ig[a]=!0;var g=(a=Da)?kt(a.return,f):null,y=a!==null&&g!==null?yc(g,a,null):"",w="<"+r+">";return s?(s="",f==="table"&&r==="tr"&&(s+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
113
|
+
This will cause a hydration error.%s`,w,f,s,y)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
114
|
+
This will cause a hydration error.%s`,w,f,y),a&&(r=a.return,g===null||r===null||g===r&&r._debugOwner===a._debugOwner||De(g,function(){console.error(`<%s> cannot contain a nested %s.
|
|
115
|
+
See this log for the ancestor stack trace.`,f,w)})),!1}function Fa(r,a,s){if(s||Is("#text",a,!1))return!0;if(s="#text|"+a,ig[s])return!1;ig[s]=!0;var f=(s=Da)?kt(s,a):null;return s=s!==null&&f!==null?yc(f,s,s.tag!==6?{children:null}:null):"",/\S/.test(r)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
116
|
+
This will cause a hydration error.%s`,a,s):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
117
|
+
This will cause a hydration error.%s`,a,s),!1}function ki(r,a){if(a){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=a;return}}r.textContent=a}function Ep(r){return r.replace(_L,function(a,s){return s.toUpperCase()})}function rd(r,a,s){var f=a.indexOf("--")===0;f||(-1<a.indexOf("-")?Zc.hasOwnProperty(a)&&Zc[a]||(Zc[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,Ep(a.replace(SL,"ms-")))):bL.test(a)?Zc.hasOwnProperty(a)&&Zc[a]||(Zc[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!MR.test(s)||w0.hasOwnProperty(s)&&w0[s]||(w0[s]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,s.replace(MR,""))),typeof s=="number"&&(isNaN(s)?NR||(NR=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(s)||PR||(PR=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),s==null||typeof s=="boolean"||s===""?f?r.setProperty(a,""):a==="float"?r.cssFloat="":r[a]="":f?r.setProperty(a,s):typeof s!="number"||s===0||kR.has(a)?a==="float"?r.cssFloat=s:($e(s,a),r[a]=(""+s).trim()):r[a]=s+"px"}function ll(r,a,s){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),r=r.style,s!=null){if(a){var f={};if(s){for(var g in s)if(s.hasOwnProperty(g)&&!a.hasOwnProperty(g))for(var y=eh[g]||[g],w=0;w<y.length;w++)f[y[w]]=g}for(var A in a)if(a.hasOwnProperty(A)&&(!s||s[A]!==a[A]))for(g=eh[A]||[A],y=0;y<g.length;y++)f[g[y]]=A;A={};for(var j in a)for(g=eh[j]||[j],y=0;y<g.length;y++)A[g[y]]=j;j={};for(var q in f)if(g=f[q],(y=A[q])&&g!==y&&(w=g+","+y,!j[w])){j[w]=!0,w=console;var pe=a[g];w.error.call(w,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",pe==null||typeof pe=="boolean"||pe===""?"Removing":"Updating",g,y)}}for(var me in s)!s.hasOwnProperty(me)||a!=null&&a.hasOwnProperty(me)||(me.indexOf("--")===0?r.setProperty(me,""):me==="float"?r.cssFloat="":r[me]="");for(var ee in a)q=a[ee],a.hasOwnProperty(ee)&&s[ee]!==q&&rd(r,ee,q)}else for(f in a)a.hasOwnProperty(f)&&rd(r,f,a[f])}function cl(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}}function fl(r){return EL.get(r)||r}function fE(r,a){if(_i.call(ef,a)&&ef[a])return!0;if(RL.test(a)){if(r="aria-"+a.slice(4).toLowerCase(),r=jR.hasOwnProperty(r)?r:null,r==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),ef[a]=!0;if(a!==r)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,r),ef[a]=!0}if(wL.test(a)){if(r=a.toLowerCase(),r=jR.hasOwnProperty(r)?r:null,r==null)return ef[a]=!0,!1;a!==r&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,r),ef[a]=!0)}return!0}function dE(r,a){var s=[],f;for(f in a)fE(r,f)||s.push(f);a=s.map(function(g){return"`"+g+"`"}).join(", "),s.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,r):1<s.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,r)}function lj(r,a,s,f){if(_i.call(Bi,a)&&Bi[a])return!0;var g=a.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Bi[a]=!0;if(typeof s=="function"&&(r==="form"&&a==="action"||r==="input"&&a==="formAction"||r==="button"&&a==="formAction"))return!0;if(f!=null){if(r=f.possibleRegistrationNames,f.registrationNameDependencies.hasOwnProperty(a))return!0;if(f=r.hasOwnProperty(g)?r[g]:null,f!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,f),Bi[a]=!0;if(IR.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),Bi[a]=!0}else if(IR.test(a))return d.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Bi[a]=!0;if(m.test(a)||E.test(a))return!0;if(g==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Bi[a]=!0;if(g==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Bi[a]=!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Bi[a]=!0;if(typeof s=="number"&&isNaN(s))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Bi[a]=!0;if(sg.hasOwnProperty(g)){if(g=sg[g],g!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,g),Bi[a]=!0}else if(a!==g)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,g),Bi[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof s){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return g=a.toLowerCase().slice(0,5),g==="data-"||g==="aria-"?!0:(s?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,a,a,s,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,a,a,s,a,a,a),Bi[a]=!0)}case"function":case"symbol":return Bi[a]=!0,!1;case"string":if(s==="false"||s==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,a,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,s),Bi[a]=!0}}return!0}function hE(r,a,s){var f=[],g;for(g in a)lj(r,g,a[g],s)||f.push(g);a=f.map(function(y){return"`"+y+"`"}).join(", "),f.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,r):1<f.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,r)}function bc(r){return D.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function Fo(){}function wp(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}function pE(r){var a=Fe(r);if(a&&(r=a.stateNode)){var s=r[qi]||null;e:switch(r=a.stateNode,a.type){case"input":if(Ir(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=r;s.parentNode;)s=s.parentNode;for(ke(a,"name"),s=s.querySelectorAll('input[name="'+Dn(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var f=s[a];if(f!==r&&f.form===r.form){var g=f[qi]||null;if(!g)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ir(f,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(a=0;a<s.length;a++)f=s[a],f.form===r.form&&Ba(f)}break e;case"textarea":un(r,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&vn(r,!!s.multiple,a,!1)}}}function mE(r,a,s){if(de)return r(a,s);de=!0;try{var f=r(a);return f}finally{if(de=!1,(V!==null||Z!==null)&&(Dl(),V&&(a=V,r=Z,Z=V=null,pE(a),r)))for(a=0;a<r.length;a++)pE(r[a])}}function id(r,a){var s=r.stateNode;if(s===null)return null;var f=s[qi]||null;if(f===null)return null;s=f[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(r=r.type,f=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!f;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}function by(){if(it)return it;var r,a=We,s=a.length,f,g="value"in Ue?Ue.value:Ue.textContent,y=g.length;for(r=0;r<s&&a[r]===g[r];r++);var w=s-r;for(f=1;f<=w&&a[s-f]===g[y-f];f++);return it=g.slice(r,1<f?1-f:void 0)}function Rp(r){var a=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&a===13&&(r=13)):r=a,r===10&&(r=13),32<=r||r===13?r:0}function Op(){return!0}function gE(){return!1}function na(r){function a(s,f,g,y,w){this._reactName=s,this._targetInst=g,this.type=f,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var A in r)r.hasOwnProperty(A)&&(s=r[A],this[A]=s?s(y):y[A]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?Op:gE,this.isPropagationStopped=gE,this}return zt(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Op)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Op)},persist:function(){},isPersistent:Op}),a}function Sy(r){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(r):(r=qhe[r])?!!a[r]:!1}function _y(){return Sy}function vE(r,a){switch(r){case"keyup":return Zhe.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==kV;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yE(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}function cj(r,a){switch(r){case"compositionend":return yE(a);case"keypress":return a.which!==LV?null:($V=!0,IV);case"textInput":return r=a.data,r===IV&&$V?null:r;default:return null}}function fj(r,a){if(ug)return r==="compositionend"||!TL&&vE(r,a)?(r=by(),it=We=Ue=null,ug=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return jV&&a.locale!=="ko"?null:a.data;default:return null}}function kn(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a==="input"?!!epe[r.type]:a==="textarea"}function jn(r){if(!be)return!1;r="on"+r;var a=r in document;return a||(a=document.createElement("div"),a.setAttribute(r,"return;"),a=typeof a[r]=="function"),a}function bE(r,a,s,f){V?Z?Z.push(f):Z=[f]:V=f,a=Ud(a,"onChange"),0<a.length&&(s=new Mt("onChange","change",null,s,f),r.push({event:s,listeners:a}))}function dj(r){Mw(r,0)}function Tp(r){var a=Ze(r);if(Ba(a))return r}function SE(r,a){if(r==="change")return a}function _E(){O0&&(O0.detachEvent("onpropertychange",EE),T0=O0=null)}function EE(r){if(r.propertyName==="value"&&Tp(T0)){var a=[];bE(a,T0,r,wp(r)),mE(dj,a)}}function wE(r,a,s){r==="focusin"?(_E(),O0=a,T0=s,O0.attachEvent("onpropertychange",EE)):r==="focusout"&&_E()}function hj(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Tp(T0)}function ri(r,a){if(r==="click")return Tp(a)}function Ey(r,a){if(r==="input"||r==="change")return Tp(a)}function dl(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}function Sc(r,a){if(Ma(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var s=Object.keys(r),f=Object.keys(a);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var g=s[f];if(!_i.call(a,g)||!Ma(r[g],a[g]))return!1}return!0}function xp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function va(r,a){var s=xp(r);r=0;for(var f;s;){if(s.nodeType===3){if(f=r+s.textContent.length,r<=a&&f>=a)return{node:s,offset:a-r};r=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=xp(s)}}function wy(r,a){return r&&a?r===a?!0:r&&r.nodeType===3?!1:a&&a.nodeType===3?wy(r,a.parentNode):"contains"in r?r.contains(a):r.compareDocumentPosition?!!(r.compareDocumentPosition(a)&16):!1:!1}function Ry(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var a=Lr(r.document);a instanceof r.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)r=a.contentWindow;else break;a=Lr(r.document)}return a}function Ap(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a&&(a==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||a==="textarea"||r.contentEditable==="true")}function Oy(r,a,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;AL||lg==null||lg!==Lr(f)||(f=lg,"selectionStart"in f&&Ap(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),x0&&Sc(x0,f)||(x0=f,f=Ud(xL,"onSelect"),0<f.length&&(a=new Mt("onSelect","select",null,a,s),r.push({event:a,listeners:f}),a.target=lg)))}function vu(r,a){var s={};return s[r.toLowerCase()]=a.toLowerCase(),s["Webkit"+r]="webkit"+a,s["Moz"+r]="moz"+a,s}function yu(r){if(CL[r])return CL[r];if(!cg[r])return r;var a=cg[r],s;for(s in a)if(a.hasOwnProperty(s)&&s in qV)return CL[r]=a[s];return r}function Zn(r,a){VV.set(r,a),Nt(a,[r])}function pj(r){for(var a=zR,s=0;s<r.length;s++){var f=r[s];if(typeof f=="object"&&f!==null)if(yr(f)&&f.length===2&&typeof f[0]=="string"){if(a!==zR&&a!==kL)return NL;a=kL}else return NL;else{if(typeof f=="function"||typeof f=="string"&&50<f.length||a!==zR&&a!==PL)return NL;a=PL}}return a}function ji(r,a,s,f){for(var g in r)_i.call(r,g)&&g[0]!=="_"&&Vo(g,r[g],a,s,f)}function Vo(r,a,s,f,g){switch(typeof a){case"object":if(a===null){a="null";break}else{if(a.$$typeof===ss){var y=U(a.type)||"…",w=a.key;a=a.props;var A=Object.keys(a),j=A.length;if(w==null&&j===0){a="<"+y+" />";break}if(3>f||j===1&&A[0]==="children"&&w==null){a="<"+y+" … />";break}s.push([g+" ".repeat(f)+r,"<"+y]),w!==null&&Vo("key",w,s,f+1,g),r=!1;for(var q in a)q==="children"?a.children!=null&&(!yr(a.children)||0<a.children.length)&&(r=!0):_i.call(a,q)&&q[0]!=="_"&&Vo(q,a[q],s,f+1,g);s.push(["",r?">…</"+y+">":"/>"]);return}if(y=Object.prototype.toString.call(a),y=y.slice(8,y.length-1),y==="Array"){if(q=pj(a),q===PL||q===zR){a=JSON.stringify(a);break}else if(q===kL){for(s.push([g+" ".repeat(f)+r,""]),r=0;r<a.length;r++)y=a[r],Vo(y[0],y[1],s,f+1,g);return}}if(y==="Promise"){if(a.status==="fulfilled"){if(y=s.length,Vo(r,a.value,s,f,g),s.length>y){s=s[y],s[1]="Promise<"+(s[1]||"Object")+">";return}}else if(a.status==="rejected"&&(y=s.length,Vo(r,a.reason,s,f,g),s.length>y)){s=s[y],s[1]="Rejected Promise<"+s[1]+">";return}s.push([" ".repeat(f)+r,"Promise"]);return}y==="Object"&&(q=Object.getPrototypeOf(a))&&typeof q.constructor=="function"&&(y=q.constructor.name),s.push([g+" ".repeat(f)+r,y==="Object"?3>f?"":"…":y]),3>f&&ji(a,s,f+1,g);return}case"function":a=a.name===""?"() => {}":a.name+"() {}";break;case"string":a=a===spe?"…":JSON.stringify(a);break;case"undefined":a="undefined";break;case"boolean":a=a?"true":"false";break;default:a=String(a)}s.push([g+" ".repeat(f)+r,a])}function Ty(r,a,s,f){var g=!0;for(w in r)w in a||(s.push([qR+" ".repeat(f)+w,"…"]),g=!1);for(var y in a)if(y in r){var w=r[y],A=a[y];if(w!==A){if(f===0&&y==="children")g=" ".repeat(f)+y,s.push([qR+g,"…"],[UR+g,"…"]);else{if(!(3<=f)){if(typeof w=="object"&&typeof A=="object"&&w!==null&&A!==null&&w.$$typeof===A.$$typeof)if(A.$$typeof===ss){if(w.type===A.type&&w.key===A.key){w=U(A.type)||"…",g=" ".repeat(f)+y,w="<"+w+" … />",s.push([qR+g,w],[UR+g,w]),g=!1;continue}}else{var j=Object.prototype.toString.call(w),q=Object.prototype.toString.call(A);if(j===q&&(q==="[object Object]"||q==="[object Array]")){j=[WV+" ".repeat(f)+y,q==="[object Array]"?"Array":""],s.push(j),q=s.length,Ty(w,A,s,f+1)?q===s.length&&(j[1]="Referentially unequal but deeply equal objects. Consider memoization."):g=!1;continue}}else if(typeof w=="function"&&typeof A=="function"&&w.name===A.name&&w.length===A.length&&(j=Function.prototype.toString.call(w),q=Function.prototype.toString.call(A),j===q)){w=A.name===""?"() => {}":A.name+"() {}",s.push([WV+" ".repeat(f)+y,w+" Referentially unequal function closure. Consider memoization."]);continue}}Vo(y,w,s,f,qR),Vo(y,A,s,f,UR)}g=!1}}else s.push([UR+" ".repeat(f)+y,"…"]),g=!1;return g}function $r(r){on=r&63?"Blocking":r&64?"Gesture":r&4194176?"Transition":r&62914560?"Suspense":r&2080374784?"Idle":"Other"}function ya(r,a,s,f){Hn&&(nf.start=a,nf.end=s,Il.color="warning",Il.tooltipText=f,Il.properties=null,(r=r._debugTask)?r.run(performance.measure.bind(performance,f,nf)):performance.measure(f,nf))}function _c(r,a,s){ya(r,a,s,"Reconnect")}function Mn(r,a,s,f,g){var y=B(r);if(y!==null&&Hn){var w=r.alternate,A=r.actualDuration;if(w===null||w.child!==r.child)for(var j=r.child;j!==null;j=j.sibling)A-=j.actualDuration;f=.5>A?f?"tertiary-light":"primary-light":10>A?f?"tertiary":"primary":100>A?f?"tertiary-dark":"primary-dark":"error";var q=r.memoizedProps;A=r._debugTask,q!==null&&w!==null&&w.memoizedProps!==q?(j=[upe],q=Ty(w.memoizedProps,q,j,0),1<j.length&&(q&&!tf&&(w.lanes&g)===0&&100<r.actualDuration?(tf=!0,j[0]=lpe,Il.color="warning",Il.tooltipText=XV):(Il.color=f,Il.tooltipText=y),Il.properties=j,nf.start=a,nf.end=s,A!=null?A.run(performance.measure.bind(performance,""+y,nf)):performance.measure(""+y,nf))):A!=null?A.run(console.timeStamp.bind(console,y,a,s,hs,void 0,f)):console.timeStamp(y,a,s,hs,void 0,f)}}function Yo(r,a,s,f){if(Hn){var g=B(r);if(g!==null){for(var y=null,w=[],A=0;A<f.length;A++){var j=f[A];y==null&&j.source!==null&&(y=j.source._debugTask),j=j.value,w.push(["Error",typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j)])}r.key!==null&&Vo("key",r.key,w,0,""),r.memoizedProps!==null&&ji(r.memoizedProps,w,0,""),y==null&&(y=r._debugTask),r={start:a,end:s,detail:{devtools:{color:"error",track:hs,tooltipText:r.tag===13?"Hydration failed":"Error boundary caught an error",properties:w}}},y?y.run(performance.measure.bind(performance,""+g,r)):performance.measure(""+g,r)}}}function Va(r,a,s,f,g){if(g!==null){if(Hn){var y=B(r);if(y!==null){f=[];for(var w=0;w<g.length;w++){var A=g[w].value;f.push(["Error",typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A)])}r.key!==null&&Vo("key",r.key,f,0,""),r.memoizedProps!==null&&ji(r.memoizedProps,f,0,""),a={start:a,end:s,detail:{devtools:{color:"error",track:hs,tooltipText:"A lifecycle or effect errored",properties:f}}},(r=r._debugTask)?r.run(performance.measure.bind(performance,""+y,a)):performance.measure(""+y,a)}}}else y=B(r),y!==null&&Hn&&(g=1>f?"secondary-light":100>f?"secondary":500>f?"secondary-dark":"error",(r=r._debugTask)?r.run(console.timeStamp.bind(console,y,a,s,hs,void 0,g)):console.timeStamp(y,a,s,hs,void 0,g))}function mj(r,a,s,f){if(Hn&&!(a<=r)){var g=(s&738197653)===s?"tertiary-dark":"primary-dark";s=(s&536870912)===s?"Prepared":(s&201326741)===s?"Hydrated":"Render",f?f.run(console.timeStamp.bind(console,s,r,a,on,nn,g)):console.timeStamp(s,r,a,on,nn,g)}}function Cp(r,a,s,f){!Hn||a<=r||(s=(s&738197653)===s?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Prewarm",r,a,on,nn,s)):console.timeStamp("Prewarm",r,a,on,nn,s))}function RE(r,a,s,f){!Hn||a<=r||(s=(s&738197653)===s?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Suspended",r,a,on,nn,s)):console.timeStamp("Suspended",r,a,on,nn,s))}function gj(r,a,s,f,g,y){if(Hn&&!(a<=r)){s=[];for(var w=0;w<f.length;w++){var A=f[w].value;s.push(["Recoverable Error",typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A)])}r={start:r,end:a,detail:{devtools:{color:"primary-dark",track:on,trackGroup:nn,tooltipText:g?"Hydration Failed":"Recovered after Error",properties:s}}},y?y.run(performance.measure.bind(performance,"Recovered",r)):performance.measure("Recovered",r)}}function xy(r,a,s,f){!Hn||a<=r||(f?f.run(console.timeStamp.bind(console,"Errored",r,a,on,nn,"error")):console.timeStamp("Errored",r,a,on,nn,"error"))}function OE(r,a,s,f){!Hn||a<=r||(f?f.run(console.timeStamp.bind(console,s,r,a,on,nn,"secondary-light")):console.timeStamp(s,r,a,on,nn,"secondary-light"))}function ad(r,a,s,f,g){if(Hn&&!(a<=r)){for(var y=[],w=0;w<s.length;w++){var A=s[w].value;y.push(["Error",typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A)])}r={start:r,end:a,detail:{devtools:{color:"error",track:on,trackGroup:nn,tooltipText:f?"Remaining Effects Errored":"Commit Errored",properties:y}}},g?g.run(performance.measure.bind(performance,"Errored",r)):performance.measure("Errored",r)}}function bu(r,a,s){!Hn||a<=r||console.timeStamp("Animating",r,a,on,nn,"secondary-dark")}function Dp(){for(var r=fg,a=jL=fg=0;a<r;){var s=ps[a];ps[a++]=null;var f=ps[a];ps[a++]=null;var g=ps[a];ps[a++]=null;var y=ps[a];if(ps[a++]=null,f!==null&&g!==null){var w=f.pending;w===null?g.next=g:(g.next=w.next,w.next=g),f.pending=g}y!==0&&Np(s,g,y)}}function od(r,a,s,f){ps[fg++]=r,ps[fg++]=a,ps[fg++]=s,ps[fg++]=f,jL|=f,r.lanes|=f,r=r.alternate,r!==null&&(r.lanes|=f)}function Mp(r,a,s,f){return od(r,a,s,f),sd(r)}function zr(r,a){return od(r,null,null,a),sd(r)}function Np(r,a,s){r.lanes|=s;var f=r.alternate;f!==null&&(f.lanes|=s);for(var g=!1,y=r.return;y!==null;)y.childLanes|=s,f=y.alternate,f!==null&&(f.childLanes|=s),y.tag===22&&(r=y.stateNode,r===null||r._visibility&A0||(g=!0)),r=y,y=y.return;return r.tag===3?(y=r.stateNode,g&&a!==null&&(g=31-zi(s),r=y.hiddenUpdates,f=r[g],f===null?r[g]=[a]:f.push(a),a.lane=s|536870912),y):null}function sd(r){if(tS>Ope)throw gh=tS=0,nS=pI=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");gh>Tpe&&(gh=0,nS=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),r.alternate===null&&(r.flags&4098)!==0&&Rw(r);for(var a=r,s=a.return;s!==null;)a.alternate===null&&(a.flags&4098)!==0&&Rw(r),a=s,s=a.return;return a.tag===3?a.stateNode:null}function hl(r){if(ms===null)return r;var a=ms(r);return a===void 0?r:a.current}function ud(r){if(ms===null)return r;var a=ms(r);return a===void 0?r!=null&&typeof r.render=="function"&&(a=hl(r.render),r.render!==a)?(a={$$typeof:Qd,render:a},r.displayName!==void 0&&(a.displayName=r.displayName),a):r:a.current}function Pp(r,a){if(ms===null)return!1;var s=r.elementType;a=a.type;var f=!1,g=typeof a=="object"&&a!==null?a.$$typeof:null;switch(r.tag){case 1:typeof a=="function"&&(f=!0);break;case 0:(typeof a=="function"||g===Ca)&&(f=!0);break;case 11:(g===Qd||g===Ca)&&(f=!0);break;case 14:case 15:(g===Wm||g===Ca)&&(f=!0);break;default:return!1}return!!(f&&(r=ms(s),r!==void 0&&r===ms(a)))}function TE(r){ms!==null&&typeof WeakSet=="function"&&(dg===null&&(dg=new WeakSet),dg.add(r))}function Ay(r,a,s){do{var f=r,g=f.alternate,y=f.child,w=f.sibling,A=f.tag;f=f.type;var j=null;switch(A){case 0:case 15:case 1:j=f;break;case 11:j=f.render}if(ms===null)throw Error("Expected resolveFamily to be set during hot reload.");var q=!1;if(f=!1,j!==null&&(j=ms(j),j!==void 0&&(s.has(j)?f=!0:a.has(j)&&(A===1?f=!0:q=!0))),dg!==null&&(dg.has(r)||g!==null&&dg.has(g))&&(f=!0),f&&(r._debugNeedsRemount=!0),(f||q)&&(g=zr(r,2),g!==null&&Jn(g,r,2)),y===null||f||Ay(y,a,s),w===null)break;r=w}while(!0)}function ba(r,a,s,f){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=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,QV||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ld(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Sa(r,a){var s=r.alternate;switch(s===null?(s=S(r.tag,a,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s._debugOwner=r._debugOwner,s._debugStack=r._debugStack,s._debugTask=r._debugTask,s._debugHookTypes=r._debugHookTypes,s.alternate=r,r.alternate=s):(s.pendingProps=a,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null,s.actualDuration=-0,s.actualStartTime=-1.1),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,a=r.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s.refCleanup=r.refCleanup,s.selfBaseDuration=r.selfBaseDuration,s.treeBaseDuration=r.treeBaseDuration,s._debugInfo=r._debugInfo,s._debugNeedsRemount=r._debugNeedsRemount,s.tag){case 0:case 15:s.type=hl(r.type);break;case 1:s.type=hl(r.type);break;case 11:s.type=ud(r.type)}return s}function Cy(r,a){r.flags&=65011714;var s=r.alternate;return s===null?(r.childLanes=0,r.lanes=a,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null,r.selfBaseDuration=0,r.treeBaseDuration=0):(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,a=s.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},r.selfBaseDuration=s.selfBaseDuration,r.treeBaseDuration=s.treeBaseDuration),r}function kp(r,a,s,f,g,y){var w=0,A=r;if(typeof r=="function")ld(r)&&(w=1),A=hl(A);else if(typeof r=="string")w=ue(),w=zu(r,s,w)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case l0:return a=S(31,s,a,g),a.elementType=l0,a.lanes=y,a;case jl:return pl(s.children,g,y,a);case Wc:w=8,g|=ca,g|=Js;break;case a0:return r=s,f=g,typeof r.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof r.id),a=S(12,r,a,f|qt),a.elementType=a0,a.lanes=y,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case s0:return a=S(13,s,a,g),a.elementType=s0,a.lanes=y,a;case u0:return a=S(19,s,a,g),a.elementType=u0,a.lanes=y,a;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case us:w=10;break e;case o0:w=9;break e;case Qd:w=11,A=ud(A);break e;case Wm:w=14;break e;case Ca:w=16,A=null;break e}A="",(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),r===null?s="null":yr(r)?s="array":r!==void 0&&r.$$typeof===ss?(s="<"+(U(r.type)||"Unknown")+" />",A=" Did you accidentally export a JSX literal instead of a component?"):s=typeof r,(w=f?G(f):null)&&(A+=`
|
|
118
|
+
|
|
119
|
+
Check the render method of \``+w+"`."),w=29,s=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(s+"."+A)),A=null}return a=S(w,s,a,g),a.elementType=r,a.type=A,a.lanes=y,a._debugOwner=f,a}function jp(r,a,s){return a=kp(r.type,r.key,r.props,r._owner,a,s),a._debugOwner=r._owner,a._debugStack=r._debugStack,a._debugTask=r._debugTask,a}function pl(r,a,s,f){return r=S(7,r,f,a),r.lanes=s,r}function Dy(r,a,s){return r=S(6,r,null,a),r.lanes=s,r}function xE(r){var a=S(18,null,null,_t);return a.stateNode=r,a}function My(r,a,s){return a=S(4,r.children!==null?r.children:[],r.key,a),a.lanes=s,a.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},a}function qr(r,a){if(typeof r=="object"&&r!==null){var s=LL.get(r);return s!==void 0?s:(a={value:r,source:a,stack:Re(a)},LL.set(r,a),a)}return{value:r,source:a,stack:Re(a)}}function $s(r,a){Su(),hg[pg++]=C0,hg[pg++]=BR,BR=r,C0=a}function AE(r,a,s){Su(),gs[vs++]=zl,gs[vs++]=ql,gs[vs++]=th,th=r;var f=zl;r=ql;var g=32-zi(f)-1;f&=~(1<<g),s+=1;var y=32-zi(a)+g;if(30<y){var w=g-g%5;y=(f&(1<<w)-1).toString(32),f>>=w,g-=w,zl=1<<32-zi(a)+g|s<<g|f,ql=y+r}else zl=1<<y|s<<g|f,ql=r}function cd(r){Su(),r.return!==null&&($s(r,1),AE(r,1,0))}function Lp(r){for(;r===BR;)BR=hg[--pg],hg[pg]=null,C0=hg[--pg],hg[pg]=null;for(;r===th;)th=gs[--vs],gs[vs]=null,ql=gs[--vs],gs[vs]=null,zl=gs[--vs],gs[vs]=null}function zs(){return Su(),th!==null?{id:zl,overflow:ql}:null}function fd(r,a){Su(),gs[vs++]=zl,gs[vs++]=ql,gs[vs++]=th,zl=a.id,ql=a.overflow,th=r}function Su(){en||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ml(r,a){if(r.return===null){if(Oo===null)Oo={fiber:r,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(Oo.fiber!==r)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Oo.distanceFromLeaf>a&&(Oo.distanceFromLeaf=a)}return Oo}var s=ml(r.return,a+1).children;return 0<s.length&&s[s.length-1].fiber===r?(s=s[s.length-1],s.distanceFromLeaf>a&&(s.distanceFromLeaf=a),s):(a={fiber:r,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},s.push(a),a)}function CE(){en&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function qs(r,a){Hu||(r=ml(r,0),r.serverProps=null,a!==null&&(a=Fd(a),r.serverTail.push(a)))}function Ur(r){var a=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,s="",f=Oo;throw f!==null&&(Oo=null,s=Ls(f)),dd(qr(Error("Hydration failed because the server rendered "+(a?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
120
|
+
|
|
121
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
122
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
123
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
124
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
125
|
+
- Invalid HTML tag nesting.
|
|
126
|
+
|
|
127
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
128
|
+
|
|
129
|
+
https://react.dev/link/hydration-mismatch`+s),r)),IL}function Ny(r){var a=r.stateNode,s=r.type,f=r.memoizedProps;switch(a[ui]=r,a[qi]=f,Bb(s,f),s){case"dialog":Xt("cancel",a),Xt("close",a);break;case"iframe":case"object":case"embed":Xt("load",a);break;case"video":case"audio":for(s=0;s<rS.length;s++)Xt(rS[s],a);break;case"source":Xt("error",a);break;case"img":case"image":case"link":Xt("error",a),Xt("load",a);break;case"details":Xt("toggle",a);break;case"input":fr("input",f),Xt("invalid",a),ga(a,f),rr(a,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"option":js(a,f);break;case"select":fr("select",f),Xt("invalid",a),qo(a,f);break;case"textarea":fr("textarea",f),Xt("invalid",a),mu(a,f),Qn(a,f.value,f.defaultValue,f.children)}s=f.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||f.suppressHydrationWarning===!0||Hb(a.textContent,s)?(f.popover!=null&&(Xt("beforetoggle",a),Xt("toggle",a)),f.onScroll!=null&&Xt("scroll",a),f.onScrollEnd!=null&&Xt("scrollend",a),f.onClick!=null&&(a.onclick=Fo),a=!0):a=!1,a||Ur(r,!0)}function DE(r){for(Fi=r.return;Fi;)switch(Fi.tag){case 5:case 31:case 13:ys=!1;return;case 27:case 3:ys=!0;return;default:Fi=Fi.return}}function Ec(r){if(r!==Fi)return!1;if(!en)return DE(r),en=!0,!1;var a=r.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=r.type,s=!(s!=="form"&&s!=="button")||jm(r.type,r.memoizedProps)),s=!s),s&&Fn){for(s=Fn;s;){var f=ml(r,0),g=Fd(s);f.serverTail.push(g),s=g.type==="Suspense"?Zb(s):yi(s.nextSibling)}Ur(r)}if(DE(r),a===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Fn=Zb(r)}else if(a===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Fn=Zb(r)}else a===27?(a=Fn,Iu(r.type)?(r=TI,TI=null,Fn=r):Fn=a):Fn=Fi?yi(r.stateNode.nextSibling):null;return!0}function gl(){Fn=Fi=null,Hu=en=!1}function Py(){var r=af;return r!==null&&(ja===null?ja=r:ja.push.apply(ja,r),af=null),r}function dd(r){af===null?af=[r]:af.push(r)}function _u(){var r=Oo;if(r!==null){Oo=null;for(var a=Ls(r);0<r.children.length;)r=r.children[0];De(r.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
130
|
+
|
|
131
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
132
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
133
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
134
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
135
|
+
- Invalid HTML tag nesting.
|
|
136
|
+
|
|
137
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
138
|
+
|
|
139
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function ye(){mg=HR=null,gg=!1}function Me(r,a,s){oe($L,a._currentValue,r),a._currentValue=s,oe(zL,a._currentRenderer,r),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==ZV&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=ZV}function Te(r,a){r._currentValue=$L.current;var s=zL.current;K(zL,a),r._currentRenderer=s,K($L,a)}function tt(r,a,s){for(;r!==null;){var f=r.alternate;if((r.childLanes&a)!==a?(r.childLanes|=a,f!==null&&(f.childLanes|=a)):f!==null&&(f.childLanes&a)!==a&&(f.childLanes|=a),r===s)break;r=r.return}r!==s&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function wt(r,a,s,f){var g=r.child;for(g!==null&&(g.return=r);g!==null;){var y=g.dependencies;if(y!==null){var w=g.child;y=y.firstContext;e:for(;y!==null;){var A=y;y=g;for(var j=0;j<a.length;j++)if(A.context===a[j]){y.lanes|=s,A=y.alternate,A!==null&&(A.lanes|=s),tt(y.return,s,r),f||(w=null);break e}y=A.next}}else if(g.tag===18){if(w=g.return,w===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");w.lanes|=s,y=w.alternate,y!==null&&(y.lanes|=s),tt(w,s,r),w=null}else w=g.child;if(w!==null)w.return=g;else for(w=g;w!==null;){if(w===r){w=null;break}if(g=w.sibling,g!==null){g.return=w.return,w=g;break}w=w.return}g=w}}function Jt(r,a,s,f){r=null;for(var g=a,y=!1;g!==null;){if(!y){if((g.flags&524288)!==0)y=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var w=g.alternate;if(w===null)throw Error("Should have a current fiber. This is a bug in React.");if(w=w.memoizedProps,w!==null){var A=g.type;Ma(g.pendingProps.value,w.value)||(r!==null?r.push(A):r=[A])}}else if(g===Xm.current){if(w=g.alternate,w===null)throw Error("Should have a current fiber. This is a bug in React.");w.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(r!==null?r.push(uS):r=[uS])}g=g.return}r!==null&&wt(a,r,s,f),a.flags|=262144}function ir(r){for(r=r.firstContext;r!==null;){if(!Ma(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function ln(r){HR=r,mg=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Nn(r){return gg&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),_a(HR,r)}function Ip(r,a){return HR===null&&ln(r),_a(r,a)}function _a(r,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},mg===null){if(r===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");mg=a,r.dependencies={lanes:0,firstContext:a,_debugThenableState:null},r.flags|=524288}else mg=mg.next=a;return s}function wc(){return{controller:new dpe,data:new Map,refCount:0}}function vl(r){r.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),r.refCount++}function Go(r){r.refCount--,0>r.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),r.refCount===0&&hpe(ppe,function(){r.controller.abort()})}function Ea(r,a,s){(r&127)!==0?0>Fu&&(Fu=Wr(),M0=FR(a),qL=a,s!=null&&(UL=B(s)),(fn&(ci|Ao))!==Ti&&(Sr=!0,sf=D0),r=Hd(),a=Bd(),r!==vg||a!==N0?vg=-1.1:a!==null&&(sf=D0),ih=r,N0=a):(r&4194048)!==0&&0>bs&&(bs=Wr(),P0=FR(a),JV=a,s!=null&&(eY=B(s)),0>Fl)&&(r=Hd(),a=Bd(),(r!==lf||a!==ah)&&(lf=-1.1),uf=r,ah=a)}function $p(r){if(0>Fu){Fu=Wr(),M0=r._debugTask!=null?r._debugTask:null,(fn&(ci|Ao))!==Ti&&(sf=D0);var a=Hd(),s=Bd();a!==vg||s!==N0?vg=-1.1:s!==null&&(sf=D0),ih=a,N0=s}0>bs&&(bs=Wr(),P0=r._debugTask!=null?r._debugTask:null,0>Fl)&&(r=Hd(),a=Bd(),(r!==lf||a!==ah)&&(lf=-1.1),uf=r,ah=a)}function Yt(){var r=nh;return nh=0,r}function zp(r){var a=nh;return nh=r,a}function Rc(r){var a=nh;return nh+=r,a}function yl(){bt=pt=-1.1}function wa(){var r=pt;return pt=-1.1,r}function Ra(r){0<=r&&(pt=r)}function Wo(){var r=ur;return ur=-0,r}function Oa(r){0<=r&&(ur=r)}function ii(){var r=er;return er=null,r}function Ta(){var r=Sr;return Sr=!1,r}function qp(r){Na=Wr(),0>r.actualStartTime&&(r.actualStartTime=Na)}function Oc(r){if(0<=Na){var a=Wr()-Na;r.actualDuration+=a,r.selfBaseDuration=a,Na=-1}}function ky(r){if(0<=Na){var a=Wr()-Na;r.actualDuration+=a,Na=-1}}function mo(){if(0<=Na){var r=Wr(),a=r-Na;Na=-1,nh+=a,ur+=a,bt=r}}function hd(r){er===null&&(er=[]),er.push(r),Bl===null&&(Bl=[]),Bl.push(r)}function go(){Na=Wr(),0>pt&&(pt=Na)}function Us(r){for(var a=r.child;a;)r.actualDuration+=a.actualDuration,a=a.sibling}function bl(r,a){if(j0===null){var s=j0=[];HL=0,oh=$b(),yg={status:"pending",value:void 0,then:function(f){s.push(f)}}}return HL++,a.then(pd,pd),a}function pd(){if(--HL===0&&(-1<bs||(Fl=-1.1),j0!==null)){yg!==null&&(yg.status="fulfilled");var r=j0;j0=null,oh=0,yg=null;for(var a=0;a<r.length;a++)(0,r[a])()}}function vj(r,a){var s=[],f={status:"pending",value:null,reason:null,then:function(g){s.push(g)}};return r.then(function(){f.status="fulfilled",f.value=a;for(var g=0;g<s.length;g++)(0,s[g])(a)},function(g){for(f.status="rejected",f.reason=g,g=0;g<s.length;g++)(0,s[g])(void 0)}),f}function jy(){var r=sh.current;return r!==null?r:$n.pooledCache}function Up(r,a){a===null?oe(sh,sh.current,r):oe(sh,a.pool,r)}function md(){var r=jy();return r===null?null:{parent:Gr._currentValue,pool:r}}function gd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Bp(r){return r=r.status,r==="fulfilled"||r==="rejected"}function ME(r,a,s){Ae.actQueue!==null&&(Ae.didUsePromise=!0);var f=r.thenables;if(s=f[s],s===void 0?f.push(a):s!==a&&(r.didWarnAboutUncachedPromise||(r.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(Fo,Fo),a=s),a._debugInfo===void 0){r=performance.now(),f=a.displayName;var g={name:typeof f=="string"?f:"Promise",start:r,end:r,value:a};a._debugInfo=[{awaited:g}],a.status!=="fulfilled"&&a.status!=="rejected"&&(r=function(){g.end=performance.now()},a.then(r,r))}switch(a.status){case"fulfilled":return a.value;case"rejected":throw r=a.reason,PE(r),r;default:if(typeof a.status=="string")a.then(Fo,Fo);else{if(r=$n,r!==null&&100<r.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");r=a,r.status="pending",r.then(function(y){if(a.status==="pending"){var w=a;w.status="fulfilled",w.value=y}},function(y){if(a.status==="pending"){var w=a;w.status="rejected",w.reason=y}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw r=a.reason,PE(r),r}throw lh=a,B0=!0,bg}}function Bs(r){try{return bpe(r)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(lh=a,B0=!0,bg):a}}function NE(){if(lh===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var r=lh;return lh=null,B0=!1,r}function PE(r){if(r===bg||r===ZR)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function tn(r){var a=Ut;return r!=null&&(Ut=a===null?r:a.concat(r)),a}function Br(){var r=Ut;if(r!=null){for(var a=r.length-1;0<=a;a--)if(r[a].name!=null){var s=r[a].debugTask;if(s!=null)return s}}return null}function Hp(r,a,s){for(var f=Object.keys(r.props),g=0;g<f.length;g++){var y=f[g];if(y!=="children"&&y!=="key"){a===null&&(a=jp(r,s.mode,0),a._debugInfo=Ut,a.return=s),De(a,function(w){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w)},y);break}}}function Fp(r){var a=H0;return H0+=1,Sg===null&&(Sg=gd()),ME(Sg,r,a)}function Tc(r,a){a=a.props.ref,r.ref=a!==void 0?a:null}function kE(r,a){throw a.$$typeof===Sn?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
140
|
+
- Multiple copies of the "react" package is used.
|
|
141
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
142
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(r=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead."))}function xc(r,a){var s=Br();s!==null?s.run(kE.bind(null,r,a)):kE(r,a)}function Ac(r,a){var s=B(r)||"Component";SY[s]||(SY[s]=!0,a=a.displayName||a.name||"Component",r.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
143
|
+
root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
144
|
+
<%s>{%s}</%s>`,a,a,s,a,s))}function Cc(r,a){var s=Br();s!==null?s.run(Ac.bind(null,r,a)):Ac(r,a)}function Sl(r,a){var s=B(r)||"Component";_Y[s]||(_Y[s]=!0,a=String(a),r.tag===3?console.error(`Symbols are not valid as a React child.
|
|
145
|
+
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
146
|
+
<%s>%s</%s>`,s,a,s))}function Eu(r,a){var s=Br();s!==null?s.run(Sl.bind(null,r,a)):Sl(r,a)}function Dc(r){function a(J,ne){if(r){var he=J.deletions;he===null?(J.deletions=[ne],J.flags|=16):he.push(ne)}}function s(J,ne){if(!r)return null;for(;ne!==null;)a(J,ne),ne=ne.sibling;return null}function f(J){for(var ne=new Map;J!==null;)J.key!==null?ne.set(J.key,J):ne.set(J.index,J),J=J.sibling;return ne}function g(J,ne){return J=Sa(J,ne),J.index=0,J.sibling=null,J}function y(J,ne,he){return J.index=he,r?(he=J.alternate,he!==null?(he=he.index,he<ne?(J.flags|=67108866,ne):he):(J.flags|=67108866,ne)):(J.flags|=1048576,ne)}function w(J){return r&&J.alternate===null&&(J.flags|=67108866),J}function A(J,ne,he,je){return ne===null||ne.tag!==6?(ne=Dy(he,J.mode,je),ne.return=J,ne._debugOwner=J,ne._debugTask=J._debugTask,ne._debugInfo=Ut,ne):(ne=g(ne,he),ne.return=J,ne._debugInfo=Ut,ne)}function j(J,ne,he,je){var Xe=he.type;return Xe===jl?(ne=pe(J,ne,he.props.children,je,he.key),Hp(he,ne,J),ne):ne!==null&&(ne.elementType===Xe||Pp(ne,he)||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===Ca&&Bs(Xe)===ne.type)?(ne=g(ne,he.props),Tc(ne,he),ne.return=J,ne._debugOwner=he._owner,ne._debugInfo=Ut,ne):(ne=jp(he,J.mode,je),Tc(ne,he),ne.return=J,ne._debugInfo=Ut,ne)}function q(J,ne,he,je){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==he.containerInfo||ne.stateNode.implementation!==he.implementation?(ne=My(he,J.mode,je),ne.return=J,ne._debugInfo=Ut,ne):(ne=g(ne,he.children||[]),ne.return=J,ne._debugInfo=Ut,ne)}function pe(J,ne,he,je,Xe){return ne===null||ne.tag!==7?(ne=pl(he,J.mode,je,Xe),ne.return=J,ne._debugOwner=J,ne._debugTask=J._debugTask,ne._debugInfo=Ut,ne):(ne=g(ne,he),ne.return=J,ne._debugInfo=Ut,ne)}function me(J,ne,he){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return ne=Dy(""+ne,J.mode,he),ne.return=J,ne._debugOwner=J,ne._debugTask=J._debugTask,ne._debugInfo=Ut,ne;if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case ss:return he=jp(ne,J.mode,he),Tc(he,ne),he.return=J,J=tn(ne._debugInfo),he._debugInfo=Ut,Ut=J,he;case kl:return ne=My(ne,J.mode,he),ne.return=J,ne._debugInfo=Ut,ne;case Ca:var je=tn(ne._debugInfo);return ne=Bs(ne),J=me(J,ne,he),Ut=je,J}if(yr(ne)||z(ne))return he=pl(ne,J.mode,he,null),he.return=J,he._debugOwner=J,he._debugTask=J._debugTask,J=tn(ne._debugInfo),he._debugInfo=Ut,Ut=J,he;if(typeof ne.then=="function")return je=tn(ne._debugInfo),J=me(J,Fp(ne),he),Ut=je,J;if(ne.$$typeof===us)return me(J,Ip(J,ne),he);xc(J,ne)}return typeof ne=="function"&&Cc(J,ne),typeof ne=="symbol"&&Eu(J,ne),null}function ee(J,ne,he,je){var Xe=ne!==null?ne.key:null;if(typeof he=="string"&&he!==""||typeof he=="number"||typeof he=="bigint")return Xe!==null?null:A(J,ne,""+he,je);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case ss:return he.key===Xe?(Xe=tn(he._debugInfo),J=j(J,ne,he,je),Ut=Xe,J):null;case kl:return he.key===Xe?q(J,ne,he,je):null;case Ca:return Xe=tn(he._debugInfo),he=Bs(he),J=ee(J,ne,he,je),Ut=Xe,J}if(yr(he)||z(he))return Xe!==null?null:(Xe=tn(he._debugInfo),J=pe(J,ne,he,je,null),Ut=Xe,J);if(typeof he.then=="function")return Xe=tn(he._debugInfo),J=ee(J,ne,Fp(he),je),Ut=Xe,J;if(he.$$typeof===us)return ee(J,ne,Ip(J,he),je);xc(J,he)}return typeof he=="function"&&Cc(J,he),typeof he=="symbol"&&Eu(J,he),null}function Oe(J,ne,he,je,Xe){if(typeof je=="string"&&je!==""||typeof je=="number"||typeof je=="bigint")return J=J.get(he)||null,A(ne,J,""+je,Xe);if(typeof je=="object"&&je!==null){switch(je.$$typeof){case ss:return he=J.get(je.key===null?he:je.key)||null,J=tn(je._debugInfo),ne=j(ne,he,je,Xe),Ut=J,ne;case kl:return J=J.get(je.key===null?he:je.key)||null,q(ne,J,je,Xe);case Ca:var xt=tn(je._debugInfo);return je=Bs(je),ne=Oe(J,ne,he,je,Xe),Ut=xt,ne}if(yr(je)||z(je))return he=J.get(he)||null,J=tn(je._debugInfo),ne=pe(ne,he,je,Xe,null),Ut=J,ne;if(typeof je.then=="function")return xt=tn(je._debugInfo),ne=Oe(J,ne,he,Fp(je),Xe),Ut=xt,ne;if(je.$$typeof===us)return Oe(J,ne,he,Ip(ne,je),Xe);xc(ne,je)}return typeof je=="function"&&Cc(ne,je),typeof je=="symbol"&&Eu(ne,je),null}function Ge(J,ne,he,je){if(typeof he!="object"||he===null)return je;switch(he.$$typeof){case ss:case kl:v(J,ne,he);var Xe=he.key;if(typeof Xe!="string")break;if(je===null){je=new Set,je.add(Xe);break}if(!je.has(Xe)){je.add(Xe);break}De(ne,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Xe)});break;case Ca:he=Bs(he),Ge(J,ne,he,je)}return je}function Je(J,ne,he,je){for(var Xe=null,xt=null,dt=null,st=ne,jt=ne=0,Vn=null;st!==null&&jt<he.length;jt++){st.index>jt?(Vn=st,st=null):Vn=st.sibling;var Mr=ee(J,st,he[jt],je);if(Mr===null){st===null&&(st=Vn);break}Xe=Ge(J,Mr,he[jt],Xe),r&&st&&Mr.alternate===null&&a(J,st),ne=y(Mr,ne,jt),dt===null?xt=Mr:dt.sibling=Mr,dt=Mr,st=Vn}if(jt===he.length)return s(J,st),en&&$s(J,jt),xt;if(st===null){for(;jt<he.length;jt++)st=me(J,he[jt],je),st!==null&&(Xe=Ge(J,st,he[jt],Xe),ne=y(st,ne,jt),dt===null?xt=st:dt.sibling=st,dt=st);return en&&$s(J,jt),xt}for(st=f(st);jt<he.length;jt++)Vn=Oe(st,J,jt,he[jt],je),Vn!==null&&(Xe=Ge(J,Vn,he[jt],Xe),r&&Vn.alternate!==null&&st.delete(Vn.key===null?jt:Vn.key),ne=y(Vn,ne,jt),dt===null?xt=Vn:dt.sibling=Vn,dt=Vn);return r&&st.forEach(function(Zl){return a(J,Zl)}),en&&$s(J,jt),xt}function qn(J,ne,he,je){if(he==null)throw Error("An iterable object provided no iterator.");for(var Xe=null,xt=null,dt=ne,st=ne=0,jt=null,Vn=null,Mr=he.next();dt!==null&&!Mr.done;st++,Mr=he.next()){dt.index>st?(jt=dt,dt=null):jt=dt.sibling;var Zl=ee(J,dt,Mr.value,je);if(Zl===null){dt===null&&(dt=jt);break}Vn=Ge(J,Zl,Mr.value,Vn),r&&dt&&Zl.alternate===null&&a(J,dt),ne=y(Zl,ne,st),xt===null?Xe=Zl:xt.sibling=Zl,xt=Zl,dt=jt}if(Mr.done)return s(J,dt),en&&$s(J,st),Xe;if(dt===null){for(;!Mr.done;st++,Mr=he.next())dt=me(J,Mr.value,je),dt!==null&&(Vn=Ge(J,dt,Mr.value,Vn),ne=y(dt,ne,st),xt===null?Xe=dt:xt.sibling=dt,xt=dt);return en&&$s(J,st),Xe}for(dt=f(dt);!Mr.done;st++,Mr=he.next())jt=Oe(dt,J,st,Mr.value,je),jt!==null&&(Vn=Ge(J,jt,Mr.value,Vn),r&&jt.alternate!==null&&dt.delete(jt.key===null?st:jt.key),ne=y(jt,ne,st),xt===null?Xe=jt:xt.sibling=jt,xt=jt);return r&&dt.forEach(function(Hpe){return a(J,Hpe)}),en&&$s(J,st),Xe}function rn(J,ne,he,je){if(typeof he=="object"&&he!==null&&he.type===jl&&he.key===null&&(Hp(he,null,J),he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case ss:var Xe=tn(he._debugInfo);e:{for(var xt=he.key;ne!==null;){if(ne.key===xt){if(xt=he.type,xt===jl){if(ne.tag===7){s(J,ne.sibling),je=g(ne,he.props.children),je.return=J,je._debugOwner=he._owner,je._debugInfo=Ut,Hp(he,je,J),J=je;break e}}else if(ne.elementType===xt||Pp(ne,he)||typeof xt=="object"&&xt!==null&&xt.$$typeof===Ca&&Bs(xt)===ne.type){s(J,ne.sibling),je=g(ne,he.props),Tc(je,he),je.return=J,je._debugOwner=he._owner,je._debugInfo=Ut,J=je;break e}s(J,ne);break}else a(J,ne);ne=ne.sibling}he.type===jl?(je=pl(he.props.children,J.mode,je,he.key),je.return=J,je._debugOwner=J,je._debugTask=J._debugTask,je._debugInfo=Ut,Hp(he,je,J),J=je):(je=jp(he,J.mode,je),Tc(je,he),je.return=J,je._debugInfo=Ut,J=je)}return J=w(J),Ut=Xe,J;case kl:e:{for(Xe=he,he=Xe.key;ne!==null;){if(ne.key===he)if(ne.tag===4&&ne.stateNode.containerInfo===Xe.containerInfo&&ne.stateNode.implementation===Xe.implementation){s(J,ne.sibling),je=g(ne,Xe.children||[]),je.return=J,J=je;break e}else{s(J,ne);break}else a(J,ne);ne=ne.sibling}je=My(Xe,J.mode,je),je.return=J,J=je}return w(J);case Ca:return Xe=tn(he._debugInfo),he=Bs(he),J=rn(J,ne,he,je),Ut=Xe,J}if(yr(he))return Xe=tn(he._debugInfo),J=Je(J,ne,he,je),Ut=Xe,J;if(z(he)){if(Xe=tn(he._debugInfo),xt=z(he),typeof xt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var dt=xt.call(he);return dt===he?(J.tag!==0||Object.prototype.toString.call(J.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(dt)!=="[object Generator]")&&(yY||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),yY=!0):he.entries!==xt||GL||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),GL=!0),J=qn(J,ne,dt,je),Ut=Xe,J}if(typeof he.then=="function")return Xe=tn(he._debugInfo),J=rn(J,ne,Fp(he),je),Ut=Xe,J;if(he.$$typeof===us)return rn(J,ne,Ip(J,he),je);xc(J,he)}return typeof he=="string"&&he!==""||typeof he=="number"||typeof he=="bigint"?(Xe=""+he,ne!==null&&ne.tag===6?(s(J,ne.sibling),je=g(ne,Xe),je.return=J,J=je):(s(J,ne),je=Dy(Xe,J.mode,je),je.return=J,je._debugOwner=J,je._debugTask=J._debugTask,je._debugInfo=Ut,J=je),w(J)):(typeof he=="function"&&Cc(J,he),typeof he=="symbol"&&Eu(J,he),s(J,ne))}return function(J,ne,he,je){var Xe=Ut;Ut=null;try{H0=0;var xt=rn(J,ne,he,je);return Sg=null,xt}catch(Vn){if(Vn===bg||Vn===ZR)throw Vn;var dt=S(29,Vn,null,J.mode);dt.lanes=je,dt.return=J;var st=dt._debugInfo=Ut;if(dt._debugOwner=J._debugOwner,dt._debugTask=J._debugTask,st!=null){for(var jt=st.length-1;0<=jt;jt--)if(typeof st[jt].stack=="string"){dt._debugOwner=st[jt],dt._debugTask=st[jt].debugTask;break}}return dt}finally{Ut=Xe}}}function vd(r,a){var s=yr(r);return r=!s&&typeof z(r)=="function",s||r?(s=s?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,a,s),!1):!0}function wu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ly(r,a){r=r.updateQueue,a.updateQueue===r&&(a.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Ru(r){return{lane:r,tag:wY,payload:null,callback:null,next:null}}function Ou(r,a,s){var f=r.updateQueue;if(f===null)return null;if(f=f.shared,XL===f&&!TY){var g=B(r);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
147
|
+
|
|
148
|
+
Please update the following component: %s`,g),TY=!0}return(fn&ci)!==Ti?(g=f.pending,g===null?a.next=a:(a.next=g.next,g.next=a),f.pending=a,a=sd(r),Np(r,null,s),a):(od(r,f,a,s),sd(r))}function yd(r,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var f=a.lanes;f&=r.pendingLanes,s|=f,a.lanes=s,tr(r,s)}}function Vp(r,a){var s=r.updateQueue,f=r.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var g=null,y=null;if(s=s.firstBaseUpdate,s!==null){do{var w={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};y===null?g=y=w:y=y.next=w,s=s.next}while(s!==null);y===null?g=y=a:y=y.next=a}else g=y=a;s={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:y,shared:f.shared,callbacks:f.callbacks},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=a:r.next=a,s.lastBaseUpdate=a}function Tu(){if(QL){var r=yg;if(r!==null)throw r}}function Hs(r,a,s,f){QL=!1;var g=r.updateQueue;cf=!1,XL=g.shared;var y=g.firstBaseUpdate,w=g.lastBaseUpdate,A=g.shared.pending;if(A!==null){g.shared.pending=null;var j=A,q=j.next;j.next=null,w===null?y=q:w.next=q,w=j;var pe=r.alternate;pe!==null&&(pe=pe.updateQueue,A=pe.lastBaseUpdate,A!==w&&(A===null?pe.firstBaseUpdate=q:A.next=q,pe.lastBaseUpdate=j))}if(y!==null){var me=g.baseState;w=0,pe=q=j=null,A=y;do{var ee=A.lane&-536870913,Oe=ee!==A.lane;if(Oe?(Bt&ee)===ee:(f&ee)===ee){ee!==0&&ee===oh&&(QL=!0),pe!==null&&(pe=pe.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{ee=r;var Ge=A,Je=a,qn=s;switch(Ge.tag){case RY:if(Ge=Ge.payload,typeof Ge=="function"){gg=!0;var rn=Ge.call(qn,me,Je);if(ee.mode&ca){Ye(!0);try{Ge.call(qn,me,Je)}finally{Ye(!1)}}gg=!1,me=rn;break e}me=Ge;break e;case WL:ee.flags=ee.flags&-65537|128;case wY:if(rn=Ge.payload,typeof rn=="function"){if(gg=!0,Ge=rn.call(qn,me,Je),ee.mode&ca){Ye(!0);try{rn.call(qn,me,Je)}finally{Ye(!1)}}gg=!1}else Ge=rn;if(Ge==null)break e;me=zt({},me,Ge);break e;case OY:cf=!0}}ee=A.callback,ee!==null&&(r.flags|=64,Oe&&(r.flags|=8192),Oe=g.callbacks,Oe===null?g.callbacks=[ee]:Oe.push(ee))}else Oe={lane:ee,tag:A.tag,payload:A.payload,callback:A.callback,next:null},pe===null?(q=pe=Oe,j=me):pe=pe.next=Oe,w|=ee;if(A=A.next,A===null){if(A=g.shared.pending,A===null)break;Oe=A,A=Oe.next,Oe.next=null,g.lastBaseUpdate=Oe,g.shared.pending=null}}while(!0);pe===null&&(j=me),g.baseState=j,g.firstBaseUpdate=q,g.lastBaseUpdate=pe,y===null&&(g.shared.lanes=0),hf|=w,r.lanes=w,r.memoizedState=me}XL=null}function Iy(r,a){if(typeof r!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+r);r.call(a)}function H(r,a){var s=r.shared.hiddenCallbacks;if(s!==null)for(r.shared.hiddenCallbacks=null,r=0;r<s.length;r++)Iy(s[r],a)}function _l(r,a){var s=r.callbacks;if(s!==null)for(r.callbacks=null,r=0;r<s.length;r++)Iy(s[r],a)}function bd(r,a){var s=Yu;oe(eO,s,r),oe(_g,a,r),Yu=s|a.baseLanes}function ra(r){oe(eO,Yu,r),oe(_g,_g.current,r)}function Gt(r){Yu=eO.current,K(_g,r),K(eO,r)}function xu(r){var a=r.alternate;oe(Dr,Dr.current&Eg,r),oe(To,r,r),Ss===null&&(a===null||_g.current!==null||a.memoizedState!==null)&&(Ss=r)}function $y(r){oe(Dr,Dr.current,r),oe(To,r,r),Ss===null&&(Ss=r)}function jE(r){r.tag===22?(oe(Dr,Dr.current,r),oe(To,r,r),Ss===null&&(Ss=r)):ia(r)}function ia(r){oe(Dr,Dr.current,r),oe(To,To.current,r)}function xa(r){K(To,r),Ss===r&&(Ss=null),K(Dr,r)}function Yp(r){for(var a=r;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Qb(s)||Kb(s)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function It(){var r=xe;Es===null?Es=[r]:Es.push(r)}function Be(){var r=xe;if(Es!==null&&(Gl++,Es[Gl]!==r)){var a=B(Tt);if(!xY.has(a)&&(xY.add(a),Es!==null)){for(var s="",f=0;f<=Gl;f++){var g=Es[f],y=f===Gl?r:g;for(g=f+1+". "+g;30>g.length;)g+=" ";g+=y+`
|
|
149
|
+
`,s+=g}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
150
|
+
|
|
151
|
+
Previous render Next render
|
|
152
|
+
------------------------------------------------------
|
|
153
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
154
|
+
`,a,s)}}}function Mc(r){r==null||yr(r)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",xe,typeof r)}function Ya(){var r=B(Tt);CY.has(r)||(CY.add(r),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",r))}function ar(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
155
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
156
|
+
2. You might be breaking the Rules of Hooks
|
|
157
|
+
3. You might have more than one copy of React in the same app
|
|
158
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function zy(r,a){if(Y0)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",xe),!1;r.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
159
|
+
|
|
160
|
+
Previous: %s
|
|
161
|
+
Incoming: %s`,xe,"["+a.join(", ")+"]","["+r.join(", ")+"]");for(var s=0;s<a.length&&s<r.length;s++)if(!Ma(r[s],a[s]))return!1;return!0}function qy(r,a,s,f,g,y){Vl=y,Tt=a,Es=r!==null?r._debugHookTypes:null,Gl=-1,Y0=r!==null&&r.type!==a.type,(Object.prototype.toString.call(s)==="[object AsyncFunction]"||Object.prototype.toString.call(s)==="[object AsyncGeneratorFunction]")&&(y=B(Tt),KL.has(y)||(KL.add(y),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",y===null?"An unknown Component":"<"+y+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,Ae.H=r!==null&&r.memoizedState!==null?JL:Es!==null?DY:ZL,fh=y=(a.mode&ca)!==_t;var w=FL(s,f,g);if(fh=!1,Rg&&(w=Uy(a,s,f,g)),y){Ye(!0);try{w=Uy(a,s,f,g)}finally{Ye(!1)}}return LE(r,a),w}function LE(r,a){a._debugHookTypes=Es,a.dependencies===null?Yl!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:Yl}):a.dependencies._debugThenableState=Yl,Ae.H=G0;var s=In!==null&&In.next!==null;if(Vl=0,Es=xe=Xr=In=Tt=null,Gl=-1,r!==null&&(r.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),nO=!1,V0=0,Yl=null,s)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");r===null||Qr||(r=r.dependencies,r!==null&&ir(r)&&(Qr=!0)),B0?(B0=!1,r=!0):r=!1,r&&(a=B(a)||"Unknown",AY.has(a)||KL.has(a)||(AY.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Uy(r,a,s,f){Tt=r;var g=0;do{if(Rg&&(Yl=null),V0=0,Rg=!1,g>=_pe)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(g+=1,Y0=!1,Xr=In=null,r.updateQueue!=null){var y=r.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}Gl=-1,Ae.H=MY,y=FL(a,s,f)}while(Rg);return y}function Fs(){var r=Ae.H,a=r.useState()[0];return a=typeof a.then=="function"?Sd(a):a,r=r.useState()[0],(In!==null?In.memoizedState:null)!==r&&(Tt.flags|=1024),a}function By(){var r=rO!==0;return rO=0,r}function Hy(r,a,s){a.updateQueue=r.updateQueue,a.flags=(a.mode&Js)!==_t?a.flags&-402655237:a.flags&-2053,r.lanes&=~s}function Fy(r){if(nO){for(r=r.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}nO=!1}Vl=0,Es=Xr=In=Tt=null,Gl=-1,xe=null,Rg=!1,V0=rO=0,Yl=null}function Li(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xr===null?Tt.memoizedState=Xr=r:Xr=Xr.next=r,Xr}function bn(){if(In===null){var r=Tt.alternate;r=r!==null?r.memoizedState:null}else r=In.next;var a=Xr===null?Tt.memoizedState:Xr.next;if(a!==null)Xr=a,In=r;else{if(r===null)throw Tt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");In=r,r={memoizedState:In.memoizedState,baseState:In.baseState,baseQueue:In.baseQueue,queue:In.queue,next:null},Xr===null?Tt.memoizedState=Xr=r:Xr=Xr.next=r}return Xr}function Xo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Sd(r){var a=V0;return V0+=1,Yl===null&&(Yl=gd()),r=ME(Yl,r,a),a=Tt,(Xr===null?a.memoizedState:Xr.next)===null&&(a=a.alternate,Ae.H=a!==null&&a.memoizedState!==null?JL:ZL),r}function Au(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Sd(r);if(r.$$typeof===us)return Nn(r)}throw Error("An unsupported type was passed to use(): "+String(r))}function ai(r){var a=null,s=Tt.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var f=Tt.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(a={data:f.data.map(function(g){return g.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=Xo(),Tt.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0||Y0)for(s=a.data[a.index]=Array(r),f=0;f<r;f++)s[f]=iL;else s.length!==r&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",s.length,r);return a.index++,s}function vo(r,a){return typeof a=="function"?a(r):a}function Vy(r,a,s){var f=Li();if(s!==void 0){var g=s(a);if(fh){Ye(!0);try{s(a)}finally{Ye(!1)}}}else g=a;return f.memoizedState=f.baseState=g,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:g},f.queue=r,r=r.dispatch=am.bind(null,Tt,r),[f.memoizedState,r]}function Nc(r){var a=bn();return Yy(a,In,r)}function Yy(r,a,s){var f=r.queue;if(f===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");f.lastRenderedReducer=s;var g=r.baseQueue,y=f.pending;if(y!==null){if(g!==null){var w=g.next;g.next=y.next,y.next=w}a.baseQueue!==g&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=g=y,f.pending=null}if(y=r.baseState,g===null)r.memoizedState=y;else{a=g.next;var A=w=null,j=null,q=a,pe=!1;do{var me=q.lane&-536870913;if(me!==q.lane?(Bt&me)===me:(Vl&me)===me){var ee=q.revertLane;if(ee===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),me===oh&&(pe=!0);else if((Vl&ee)===ee){q=q.next,ee===oh&&(pe=!0);continue}else me={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},j===null?(A=j=me,w=y):j=j.next=me,Tt.lanes|=ee,hf|=ee;me=q.action,fh&&s(y,me),y=q.hasEagerState?q.eagerState:s(y,me)}else ee={lane:me,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},j===null?(A=j=ee,w=y):j=j.next=ee,Tt.lanes|=me,hf|=me;q=q.next}while(q!==null&&q!==a);if(j===null?w=y:j.next=A,!Ma(y,r.memoizedState)&&(Qr=!0,pe&&(s=yg,s!==null)))throw s;r.memoizedState=y,r.baseState=w,r.baseQueue=j,f.lastRenderedState=y}return g===null&&(f.lanes=0),[r.memoizedState,f.dispatch]}function _d(r){var a=bn(),s=a.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=r;var f=s.dispatch,g=s.pending,y=a.memoizedState;if(g!==null){s.pending=null;var w=g=g.next;do y=r(y,w.action),w=w.next;while(w!==g);Ma(y,a.memoizedState)||(Qr=!0),a.memoizedState=y,a.baseQueue===null&&(a.baseState=y),s.lastRenderedState=y}return[y,f]}function Gp(r,a,s){var f=Tt,g=Li();if(en){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var y=s();wg||y===s()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),wg=!0)}else{if(y=a(),wg||(s=a(),Ma(y,s)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),wg=!0)),$n===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Bt&127)!==0||IE(f,a,y)}return g.memoizedState=y,s={value:y,getSnapshot:a},g.queue=s,Rl(Wp.bind(null,f,s,r),[r]),f.flags|=2048,Du(_s|ka,{destroy:void 0},$E.bind(null,f,s,y,a),null),y}function Ed(r,a,s){var f=Tt,g=bn(),y=en;if(y){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=s()}else if(s=a(),!wg){var w=a();Ma(s,w)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),wg=!0)}(w=!Ma((In||g).memoizedState,s))&&(g.memoizedState=s,Qr=!0),g=g.queue;var A=Wp.bind(null,f,g,r);if(gi(2048,ka,A,[r]),g.getSnapshot!==a||w||Xr!==null&&Xr.memoizedState.tag&_s){if(f.flags|=2048,Du(_s|ka,{destroy:void 0},$E.bind(null,f,g,s,a),null),$n===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y||(Vl&127)!==0||IE(f,a,s)}return s}function IE(r,a,s){r.flags|=16384,r={getSnapshot:a,value:s},a=Tt.updateQueue,a===null?(a=Xo(),Tt.updateQueue=a,a.stores=[r]):(s=a.stores,s===null?a.stores=[r]:s.push(r))}function $E(r,a,s,f){a.value=s,a.getSnapshot=f,Pc(a)&&wd(r)}function Wp(r,a,s){return s(function(){Pc(a)&&(Ea(2,"updateSyncExternalStore()",r),wd(r))})}function Pc(r){var a=r.getSnapshot;r=r.value;try{var s=a();return!Ma(r,s)}catch{return!0}}function wd(r){var a=zr(r,2);a!==null&&Jn(a,r,2)}function Gy(r){var a=Li();if(typeof r=="function"){var s=r;if(r=s(),fh){Ye(!0);try{s()}finally{Ye(!1)}}}return a.memoizedState=a.baseState=r,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:r},a}function Xp(r){r=Gy(r);var a=r.queue,s=XE.bind(null,Tt,a);return a.dispatch=s,[r.memoizedState,s]}function Wy(r){var a=Li();a.memoizedState=a.baseState=r;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=om.bind(null,Tt,!0,s),s.dispatch=a,[r,a]}function yo(r,a){var s=bn();return Qp(s,In,r,a)}function Qp(r,a,s,f){return r.baseState=s,Yy(r,In,typeof f=="function"?f:vo)}function Cu(r,a){var s=bn();return In!==null?Qp(s,In,r,a):(s.baseState=r,[r,s.queue.dispatch])}function Ga(r,a,s,f,g){if(sm(r))throw Error("Cannot update form state while rendering.");if(r=a.action,r!==null){var y={payload:g,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){y.listeners.push(w)}};Ae.T!==null?s(!0):y.isTransition=!1,f(y),s=a.pending,s===null?(y.next=a.pending=y,zE(a,y)):(y.next=s.next,a.pending=s.next=y)}}function zE(r,a){var s=a.action,f=a.payload,g=r.state;if(a.isTransition){var y=Ae.T,w={};w._updatedFibers=new Set,Ae.T=w;try{var A=s(g,f),j=Ae.S;j!==null&&j(w,A),Xy(r,a,A)}catch(q){El(r,a,q)}finally{y!==null&&w.types!==null&&(y.types!==null&&y.types!==w.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=w.types),Ae.T=y,y===null&&w._updatedFibers&&(r=w._updatedFibers.size,w._updatedFibers.clear(),10<r&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{w=s(g,f),Xy(r,a,w)}catch(q){El(r,a,q)}}function Xy(r,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ae.asyncTransitions++,s.then(Lc,Lc),s.then(function(f){Qy(r,a,f)},function(f){return El(r,a,f)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Qy(r,a,s)}function Qy(r,a,s){a.status="fulfilled",a.value=s,Vs(a),r.state=s,a=r.pending,a!==null&&(s=a.next,s===a?r.pending=null:(s=s.next,a.next=s,zE(r,s)))}function El(r,a,s){var f=r.pending;if(r.pending=null,f!==null){f=f.next;do a.status="rejected",a.reason=s,Vs(a),a=a.next;while(a!==f)}r.action=null}function Vs(r){r=r.listeners;for(var a=0;a<r.length;a++)(0,r[a])()}function Ky(r,a){return a}function kc(r,a){if(en){var s=$n.formState;if(s!==null){e:{var f=Tt;if(en){if(Fn){t:{for(var g=Fn,y=ys;g.nodeType!==8;){if(!y){g=null;break t}if(g=yi(g.nextSibling),g===null){g=null;break t}}y=g.data,g=y===EI||y===gG?g:null}if(g){Fn=yi(g.nextSibling),f=g.data===EI;break e}}Ur(f)}f=!1}f&&(a=s[0])}}return s=Li(),s.memoizedState=s.baseState=a,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ky,lastRenderedState:a},s.queue=f,s=XE.bind(null,Tt,f),f.dispatch=s,f=Gy(!1),y=om.bind(null,Tt,!1,f.queue),f=Li(),g={state:a,dispatch:null,action:r,pending:null},f.queue=g,s=Ga.bind(null,Tt,g,y,s),g.dispatch=s,f.memoizedState=r,[a,s,!1]}function wl(r){var a=bn();return qE(a,In,r)}function qE(r,a,s){if(a=Yy(r,a,Ky)[0],r=Nc(vo)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var f=Sd(a)}catch(w){throw w===bg?ZR:w}else f=a;a=bn();var g=a.queue,y=g.dispatch;return s!==a.memoizedState&&(Tt.flags|=2048,Du(_s|ka,{destroy:void 0},UE.bind(null,g,s),null)),[f,y,r]}function UE(r,a){r.action=a}function wr(r){var a=bn(),s=In;if(s!==null)return qE(a,s,r);bn(),a=a.memoizedState,s=bn();var f=s.queue.dispatch;return s.memoizedState=r,[a,f,!1]}function Du(r,a,s,f){return r={tag:r,create:s,deps:f,inst:a,next:null},a=Tt.updateQueue,a===null&&(a=Xo(),Tt.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=r.next=r:(f=s.next,s.next=r,r.next=f,a.lastEffect=r),r}function Kp(r){var a=Li();return r={current:r},a.memoizedState=r}function mi(r,a,s,f){var g=Li();Tt.flags|=r,g.memoizedState=Du(_s|a,{destroy:void 0},s,f===void 0?null:f)}function gi(r,a,s,f){var g=bn();f=f===void 0?null:f;var y=g.memoizedState.inst;In!==null&&f!==null&&zy(f,In.memoizedState.deps)?g.memoizedState=Du(a,y,s,f):(Tt.flags|=r,g.memoizedState=Du(_s|a,y,s,f))}function Rl(r,a){(Tt.mode&Js)!==_t?mi(276826112,ka,r,a):mi(8390656,ka,r,a)}function Ol(r){Tt.flags|=4;var a=Tt.updateQueue;if(a===null)a=Xo(),Tt.updateQueue=a,a.events=[r];else{var s=a.events;s===null?a.events=[r]:s.push(r)}}function Zp(r){var a=Li(),s={impl:r};return a.memoizedState=s,function(){if((fn&ci)!==Ti)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return s.impl.apply(void 0,arguments)}}function Hr(r){var a=bn().memoizedState;return Ol({ref:a,nextImpl:r}),function(){if((fn&ci)!==Ti)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Rd(r,a){var s=4194308;return(Tt.mode&Js)!==_t&&(s|=134217728),mi(s,xo,r,a)}function BE(r,a){if(typeof a=="function"){r=r();var s=a(r);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),r=r(),a.current=r,function(){a.current=null}}function Zy(r,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([r]):null;var f=4194308;(Tt.mode&Js)!==_t&&(f|=134217728),mi(f,xo,BE.bind(null,a,r),s)}function Jp(r,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([r]):null,gi(4,xo,BE.bind(null,a,r),s)}function Od(r,a){return Li().memoizedState=[r,a===void 0?null:a],r}function em(r,a){var s=bn();a=a===void 0?null:a;var f=s.memoizedState;return a!==null&&zy(a,f[1])?f[0]:(s.memoizedState=[r,a],r)}function Tl(r,a){var s=Li();a=a===void 0?null:a;var f=r();if(fh){Ye(!0);try{r()}finally{Ye(!1)}}return s.memoizedState=[f,a],f}function Td(r,a){var s=bn();a=a===void 0?null:a;var f=s.memoizedState;if(a!==null&&zy(a,f[1]))return f[0];if(f=r(),fh){Ye(!0);try{r()}finally{Ye(!1)}}return s.memoizedState=[f,a],f}function Jy(r,a){var s=Li();return eb(s,r,a)}function HE(r,a){var s=bn();return FE(s,In.memoizedState,r,a)}function jc(r,a){var s=bn();return In===null?eb(s,r,a):FE(s,In.memoizedState,r,a)}function eb(r,a,s){return s===void 0||(Vl&1073741824)!==0&&(Bt&261930)===0?r.memoizedState=a:(r.memoizedState=s,r=Ob(),Tt.lanes|=r,hf|=r,s)}function FE(r,a,s,f){return Ma(s,a)?s:_g.current!==null?(r=eb(r,s,f),Ma(r,a)||(Qr=!0),r):(Vl&42)===0||(Vl&1073741824)!==0&&(Bt&261930)===0?(Qr=!0,r.memoizedState=s):(r=Ob(),Tt.lanes|=r,hf|=r,a)}function Lc(){Ae.asyncTransitions--}function tb(r,a,s,f,g){var y=cn.p;cn.p=y!==0&&y<ds?y:ds;var w=Ae.T,A={};A._updatedFibers=new Set,Ae.T=A,om(r,!1,a,s);try{var j=g(),q=Ae.S;if(q!==null&&q(A,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){Ae.asyncTransitions++,j.then(Lc,Lc);var pe=vj(j,f);Ic(r,a,pe,ua(r))}else Ic(r,a,f,ua(r))}catch(me){Ic(r,a,{then:function(){},status:"rejected",reason:me},ua(r))}finally{cn.p=y,w!==null&&A.types!==null&&(w.types!==null&&w.types!==A.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),w.types=A.types),Ae.T=w,w===null&&A._updatedFibers&&(r=A._updatedFibers.size,A._updatedFibers.clear(),10<r&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function nb(r,a,s,f){if(r.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var g=VE(r).queue;$p(r),tb(r,g,a,Eh,s===null?p:function(){return YE(r),s(f)})}function VE(r){var a=r.memoizedState;if(a!==null)return a;a={memoizedState:Eh,baseState:Eh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:Eh},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:s},next:null},r.memoizedState=a,r=r.alternate,r!==null&&(r.memoizedState=a),a}function YE(r){Ae.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=VE(r);a.next===null&&(a=r.alternate.memoizedState),Ic(r,a.next.queue,{},ua(r))}function tm(){var r=Gy(!1);return r=tb.bind(null,Tt,r.queue,!0,!1),Li().memoizedState=r,[!1,r]}function nm(){var r=Nc(vo)[0],a=bn().memoizedState;return[typeof r=="boolean"?r:Sd(r),a]}function GE(){var r=_d(vo)[0],a=bn().memoizedState;return[typeof r=="boolean"?r:Sd(r),a]}function Ys(){return Nn(uS)}function rm(){var r=Li(),a=$n.identifierPrefix;if(en){var s=ql,f=zl;s=(f&~(1<<32-zi(f)-1)).toString(32)+s,a="_"+a+"R_"+s,s=rO++,0<s&&(a+="H"+s.toString(32)),a+="_"}else s=Spe++,a="_"+a+"r_"+s.toString(32)+"_";return r.memoizedState=a}function im(){return Li().memoizedState=WE.bind(null,Tt)}function WE(r,a){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var f=ua(s),g=Ru(f),y=Ou(s,g,f);y!==null&&(Ea(f,"refresh()",r),Jn(y,s,f),yd(y,s,f)),r=wc(),a!=null&&y!==null&&console.error("The seed argument is not enabled outside experimental channels."),g.payload={cache:r};return}s=s.return}}function am(r,a,s){var f=arguments;typeof f[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=ua(r);var g={lane:f,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};sm(r)?rb(a,g):(g=Mp(r,a,g,f),g!==null&&(Ea(f,"dispatch()",r),Jn(g,r,f),QE(g,a,f)))}function XE(r,a,s){var f=arguments;typeof f[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=ua(r),Ic(r,a,s,f)&&Ea(f,"setState()",r)}function Ic(r,a,s,f){var g={lane:f,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(sm(r))rb(a,g);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=a.lastRenderedReducer,y!==null)){var w=Ae.H;Ae.H=tu;try{var A=a.lastRenderedState,j=y(A,s);if(g.hasEagerState=!0,g.eagerState=j,Ma(j,A))return od(r,a,g,0),$n===null&&Dp(),!1}catch{}finally{Ae.H=w}}if(s=Mp(r,a,g,f),s!==null)return Jn(s,r,f),QE(s,a,f),!0}return!1}function om(r,a,s,f){if(Ae.T===null&&oh===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),f={lane:2,revertLane:$b(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},sm(r)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=Mp(r,s,f,2),a!==null&&(Ea(2,"setOptimistic()",r),Jn(a,r,2))}function sm(r){var a=r.alternate;return r===Tt||a!==null&&a===Tt}function rb(r,a){Rg=nO=!0;var s=r.pending;s===null?a.next=a:(a.next=s.next,s.next=a),r.pending=a}function QE(r,a,s){if((s&4194048)!==0){var f=a.lanes;f&=r.pendingLanes,s|=f,a.lanes=s,tr(r,s)}}function xd(r){if(r!==null&&typeof r!="function"){var a=String(r);BY.has(a)||(BY.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",r))}}function um(r,a,s,f){var g=r.memoizedState,y=s(f,g);if(r.mode&ca){Ye(!0);try{y=s(f,g)}finally{Ye(!1)}}y===void 0&&(a=U(a)||"Component",$Y.has(a)||($Y.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),g=y==null?g:zt({},g,y),r.memoizedState=g,r.lanes===0&&(r.updateQueue.baseState=g)}function lm(r,a,s,f,g,y,w){var A=r.stateNode;if(typeof A.shouldComponentUpdate=="function"){if(s=A.shouldComponentUpdate(f,y,w),r.mode&ca){Ye(!0);try{s=A.shouldComponentUpdate(f,y,w)}finally{Ye(!1)}}return s===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",U(a)||"Component"),s}return a.prototype&&a.prototype.isPureReactComponent?!Sc(s,f)||!Sc(g,y):!0}function KE(r,a,s,f){var g=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,f),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,f),a.state!==g&&(r=B(r)||"Component",PY.has(r)||(PY.add(r),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",r)),eI.enqueueReplaceState(a,a.state,null))}function Gs(r,a){var s=a;if("ref"in a){s={};for(var f in a)f!=="ref"&&(s[f]=a[f])}if(r=r.defaultProps){s===a&&(s=zt({},s));for(var g in r)s[g]===void 0&&(s[g]=r[g])}return s}function $t(r){ML(r),console.warn(`%s
|
|
162
|
+
|
|
163
|
+
%s
|
|
164
|
+
`,Og?"An error occurred in the <"+Og+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
165
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function ZE(r){var a=Og?"The above error occurred in the <"+Og+"> component.":"The above error occurred in one of your React components.",s="React will try to recreate this component tree from scratch using the error boundary you provided, "+((tI||"Anonymous")+".");if(typeof r=="object"&&r!==null&&typeof r.environmentName=="string"){var f=r.environmentName;r=[`%o
|
|
166
|
+
|
|
167
|
+
%s
|
|
168
|
+
|
|
169
|
+
%s
|
|
170
|
+
`,r,a,s].slice(0),typeof r[0]=="string"?r.splice(0,1,RG+" "+r[0],OG,AO+f+AO,TG):r.splice(0,0,RG,OG,AO+f+AO,TG),r.unshift(console),f=Upe.apply(console.error,r),f()}else console.error(`%o
|
|
171
|
+
|
|
172
|
+
%s
|
|
173
|
+
|
|
174
|
+
%s
|
|
175
|
+
`,r,a,s)}function JE(r){ML(r)}function Mu(r,a){try{Og=a.source?B(a.source):null,tI=null;var s=a.value;if(Ae.actQueue!==null)Ae.thrownErrors.push(s);else{var f=r.onUncaughtError;f(s,{componentStack:a.stack})}}catch(g){setTimeout(function(){throw g})}}function ib(r,a,s){try{Og=s.source?B(s.source):null,tI=B(a);var f=r.onCaughtError;f(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function ab(r,a,s){return s=Ru(s),s.tag=WL,s.payload={element:null},s.callback=function(){De(a.source,Mu,r,a)},s}function ob(r){return r=Ru(r),r.tag=WL,r}function aa(r,a,s,f){var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var y=f.value;r.payload=function(){return g(y)},r.callback=function(){TE(s),De(f.source,ib,a,s,f)}}var w=s.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(r.callback=function(){TE(s),De(f.source,ib,a,s,f),typeof g!="function"&&(mf===null?mf=new Set([this]):mf.add(this)),gpe(this,f),typeof g=="function"||(s.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",B(s)||"Unknown")})}function yj(r,a,s,f,g){if(s.flags|=32768,fs&&zd(r,g),f!==null&&typeof f=="object"&&typeof f.then=="function"){if(a=s.alternate,a!==null&&Jt(a,s,g,!0),en&&(Hu=!0),s=To.current,s!==null){switch(s.tag){case 31:case 13:return Ss===null?Dm():s.alternate===null&&lr===Xl&&(lr=oO),s.flags&=-257,s.flags|=65536,s.lanes=g,f===JR?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([f]):a.add(f),Nb(r,f,g)),!1;case 22:return s.flags|=65536,f===JR?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([f])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([f]):s.add(f)),Nb(r,f,g)),!1}throw Error("Unexpected Suspense handler tag ("+s.tag+"). This is a bug in React.")}return Nb(r,f,g),Dm(),!1}if(en)return Hu=!0,a=To.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=g,f!==IL&&dd(qr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:f}),s))):(f!==IL&&dd(qr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:f}),s)),r=r.current.alternate,r.flags|=65536,g&=-g,r.lanes|=g,f=qr(f,s),g=ab(r.stateNode,f,g),Vp(r,g),lr!==ff&&(lr=dh)),!1;var y=qr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:f}),s);if(J0===null?J0=[y]:J0.push(y),lr!==ff&&(lr=dh),a===null)return!0;f=qr(f,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,r=g&-g,s.lanes|=r,r=ab(s.stateNode,f,r),Vp(s,r),!1;case 1:if(a=s.type,y=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(mf===null||!mf.has(y))))return s.flags|=65536,g&=-g,s.lanes|=g,g=ob(g),aa(g,r,s,f),Vp(s,g),!1}s=s.return}while(s!==null);return!1}function Rr(r,a,s,f){a.child=r===null?EY(a,null,s,f):ch(a,r.child,s,f)}function cm(r,a,s,f,g){s=s.render;var y=a.ref;if("ref"in f){var w={};for(var A in f)A!=="ref"&&(w[A]=f[A])}else w=f;return ln(a),f=qy(r,a,s,w,y,g),A=By(),r!==null&&!Qr?(Hy(r,a,g),Xs(r,a,g)):(en&&A&&cd(a),a.flags|=1,Rr(r,a,f,g),a.child)}function sb(r,a,s,f,g){if(r===null){var y=s.type;return typeof y=="function"&&!ld(y)&&y.defaultProps===void 0&&s.compare===null?(s=hl(y),a.tag=15,a.type=s,lb(a,y),ub(r,a,s,f,g)):(r=kp(s.type,null,f,a,a.mode,g),r.ref=a.ref,r.return=a,a.child=r)}if(y=r.child,!ym(r,g)){var w=y.memoizedProps;if(s=s.compare,s=s!==null?s:Sc,s(w,f)&&r.ref===a.ref)return Xs(r,a,g)}return a.flags|=1,r=Sa(y,f),r.ref=a.ref,r.return=a,a.child=r}function ub(r,a,s,f,g){if(r!==null){var y=r.memoizedProps;if(Sc(y,f)&&r.ref===a.ref&&a.type===r.type)if(Qr=!1,a.pendingProps=f=y,ym(r,g))(r.flags&131072)!==0&&(Qr=!0);else return a.lanes=r.lanes,Xs(r,a,g)}return dm(r,a,s,f,g)}function oa(r,a,s,f){var g=f.children,y=r!==null?r.memoizedState:null;if(r===null&&a.stateNode===null&&(a.stateNode={_visibility:A0,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((a.flags&128)!==0){if(y=y!==null?y.baseLanes|s:s,r!==null){for(f=a.child=r.child,g=0;f!==null;)g=g|f.lanes|f.childLanes,f=f.sibling;f=g&~y}else f=0,a.child=null;return fm(r,a,y,s,f)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},r!==null&&Up(a,y!==null?y.cachePool:null),y!==null?bd(a,y):ra(a),jE(a);else return f=a.lanes=536870912,fm(r,a,y!==null?y.baseLanes|s:s,s,f)}else y!==null?(Up(a,y.cachePool),bd(a,y),ia(a),a.memoizedState=null):(r!==null&&Up(a,null),ra(a),ia(a));return Rr(r,a,g,s),a.child}function Wa(r,a){return r!==null&&r.tag===22||a.stateNode!==null||(a.stateNode={_visibility:A0,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function fm(r,a,s,f,g){var y=jy();return y=y===null?null:{parent:Gr._currentValue,pool:y},a.memoizedState={baseLanes:s,cachePool:y},r!==null&&Up(a,null),ra(a),jE(a),r!==null&&Jt(r,a,f,!0),a.childLanes=g,null}function Ad(r,a){var s=a.hidden;return s!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
176
|
+
- <Activity %s>
|
|
177
|
+
+ <Activity %s>`,s===!0?"hidden":s===!1?"hidden={false}":"hidden={...}",s?'mode="hidden"':'mode="visible"'),a=gm({mode:a.mode,children:a.children},r.mode),a.ref=r.ref,r.child=a,a.return=r,a}function Cd(r,a,s){return ch(a,r.child,null,s),r=Ad(a,a.pendingProps),r.flags|=2,xa(a),a.memoizedState=null,r}function ew(r,a,s){var f=a.pendingProps,g=(a.flags&128)!==0;if(a.flags&=-129,r===null){if(en){if(f.mode==="hidden")return r=Ad(a,f),a.lanes=536870912,Wa(null,r);if($y(a),(r=Fn)?(s=Xb(r,ys),s=s!==null&&s.data===yh?s:null,s!==null&&(f={dehydrated:s,treeContext:zs(),retryLane:536870912,hydrationErrors:null},a.memoizedState=f,f=xE(s),f.return=a,a.child=f,Fi=a,Fn=null)):s=null,s===null)throw qs(a,r),Ur(a);return a.lanes=536870912,null}return Ad(a,f)}var y=r.memoizedState;if(y!==null){var w=y.dehydrated;if($y(a),g)if(a.flags&256)a.flags&=-257,a=Cd(r,a,s);else if(a.memoizedState!==null)a.child=r.child,a.flags|=128,a=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(CE(),(s&536870912)!==0&&Cm(a),Qr||Jt(r,a,s,!1),g=(s&r.childLanes)!==0,Qr||g){if(f=$n,f!==null&&(w=Lt(f,s),w!==0&&w!==y.retryLane))throw y.retryLane=w,zr(r,w),Jn(f,r,w),nI;Dm(),a=Cd(r,a,s)}else r=y.treeContext,Fn=yi(w.nextSibling),Fi=a,en=!0,af=null,Hu=!1,Oo=null,ys=!1,r!==null&&fd(a,r),a=Ad(a,f),a.flags|=4096;return a}return y=r.child,f={mode:f.mode,children:f.children},(s&536870912)!==0&&(s&r.lanes)!==0&&Cm(a),r=Sa(y,f),r.ref=a.ref,a.child=r,r.return=a,r}function $c(r,a){var s=a.ref;if(s===null)r!==null&&r.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(r===null||r.ref!==s)&&(a.flags|=4194816)}}function dm(r,a,s,f,g){if(s.prototype&&typeof s.prototype.render=="function"){var y=U(s)||"Unknown";HY[y]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",y,y),HY[y]=!0)}return a.mode&ca&&eu.recordLegacyContextWarning(a,null),r===null&&(lb(a,a.type),s.contextTypes&&(y=U(s)||"Unknown",VY[y]||(VY[y]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",y)))),ln(a),s=qy(r,a,s,f,void 0,g),f=By(),r!==null&&!Qr?(Hy(r,a,g),Xs(r,a,g)):(en&&f&&cd(a),a.flags|=1,Rr(r,a,s,g),a.child)}function hm(r,a,s,f,g,y){return ln(a),Gl=-1,Y0=r!==null&&r.type!==a.type,a.updateQueue=null,s=Uy(a,f,s,g),LE(r,a),f=By(),r!==null&&!Qr?(Hy(r,a,y),Xs(r,a,y)):(en&&f&&cd(a),a.flags|=1,Rr(r,a,s,y),a.child)}function pm(r,a,s,f,g){switch(l(a)){case!1:var y=a.stateNode,w=new a.type(a.memoizedProps,y.context).state;y.updater.enqueueSetState(y,w,null);break;case!0:a.flags|=128,a.flags|=65536,y=Error("Simulated error coming from DevTools");var A=g&-g;if(a.lanes|=A,w=$n,w===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");A=ob(A),aa(A,w,a,qr(y,a)),Vp(a,A)}if(ln(a),a.stateNode===null){if(w=rf,y=s.contextType,"contextType"in s&&y!==null&&(y===void 0||y.$$typeof!==us)&&!UY.has(s)&&(UY.add(s),A=y===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?" However, it is set to a "+typeof y+".":y.$$typeof===o0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",U(s)||"Component",A)),typeof y=="object"&&y!==null&&(w=Nn(y)),y=new s(f,w),a.mode&ca){Ye(!0);try{y=new s(f,w)}finally{Ye(!1)}}if(w=a.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=eI,a.stateNode=y,y._reactInternals=a,y._reactInternalInstance=NY,typeof s.getDerivedStateFromProps=="function"&&w===null&&(w=U(s)||"Component",kY.has(w)||(kY.add(w),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",w,y.state===null?"null":"undefined",w))),typeof s.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"){var j=A=w=null;if(typeof y.componentWillMount=="function"&&y.componentWillMount.__suppressDeprecationWarning!==!0?w="componentWillMount":typeof y.UNSAFE_componentWillMount=="function"&&(w="UNSAFE_componentWillMount"),typeof y.componentWillReceiveProps=="function"&&y.componentWillReceiveProps.__suppressDeprecationWarning!==!0?A="componentWillReceiveProps":typeof y.UNSAFE_componentWillReceiveProps=="function"&&(A="UNSAFE_componentWillReceiveProps"),typeof y.componentWillUpdate=="function"&&y.componentWillUpdate.__suppressDeprecationWarning!==!0?j="componentWillUpdate":typeof y.UNSAFE_componentWillUpdate=="function"&&(j="UNSAFE_componentWillUpdate"),w!==null||A!==null||j!==null){y=U(s)||"Component";var q=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";LY.has(y)||(LY.add(y),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
178
|
+
|
|
179
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
180
|
+
|
|
181
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
182
|
+
https://react.dev/link/unsafe-component-lifecycles`,y,q,w!==null?`
|
|
183
|
+
`+w:"",A!==null?`
|
|
184
|
+
`+A:"",j!==null?`
|
|
185
|
+
`+j:""))}}y=a.stateNode,w=U(s)||"Component",y.render||(s.prototype&&typeof s.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",w):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",w)),!y.getInitialState||y.getInitialState.isReactClassApproved||y.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",w),y.getDefaultProps&&!y.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",w),y.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",w),s.childContextTypes&&!qY.has(s)&&(qY.add(s),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",w)),s.contextTypes&&!zY.has(s)&&(zY.add(s),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",w)),typeof y.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",w),s.prototype&&s.prototype.isPureReactComponent&&typeof y.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",U(s)||"A pure component"),typeof y.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",w),typeof y.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",w),typeof y.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",w),typeof y.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",w),A=y.props!==f,y.props!==void 0&&A&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",w),y.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",w,w),typeof y.getSnapshotBeforeUpdate!="function"||typeof y.componentDidUpdate=="function"||jY.has(s)||(jY.add(s),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",U(s))),typeof y.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof y.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof s.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",w),(A=y.state)&&(typeof A!="object"||yr(A))&&console.error("%s.state: must be set to an object or null",w),typeof y.getChildContext=="function"&&typeof s.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",w),y=a.stateNode,y.props=f,y.state=a.memoizedState,y.refs={},wu(a),w=s.contextType,y.context=typeof w=="object"&&w!==null?Nn(w):rf,y.state===f&&(w=U(s)||"Component",IY.has(w)||(IY.add(w),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",w))),a.mode&ca&&eu.recordLegacyContextWarning(a,y),eu.recordUnsafeLifecycleWarnings(a,y),y.state=a.memoizedState,w=s.getDerivedStateFromProps,typeof w=="function"&&(um(a,s,w,f),y.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(w=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),w!==y.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",B(a)||"Component"),eI.enqueueReplaceState(y,y.state,null)),Hs(a,f,y,g),Tu(),y.state=a.memoizedState),typeof y.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Js)!==_t&&(a.flags|=134217728),y=!0}else if(r===null){y=a.stateNode;var pe=a.memoizedProps;A=Gs(s,pe),y.props=A;var me=y.context;j=s.contextType,w=rf,typeof j=="object"&&j!==null&&(w=Nn(j)),q=s.getDerivedStateFromProps,j=typeof q=="function"||typeof y.getSnapshotBeforeUpdate=="function",pe=a.pendingProps!==pe,j||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(pe||me!==w)&&KE(a,y,f,w),cf=!1;var ee=a.memoizedState;y.state=ee,Hs(a,f,y,g),Tu(),me=a.memoizedState,pe||ee!==me||cf?(typeof q=="function"&&(um(a,s,q,f),me=a.memoizedState),(A=cf||lm(a,s,A,f,ee,me,w))?(j||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Js)!==_t&&(a.flags|=134217728)):(typeof y.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Js)!==_t&&(a.flags|=134217728),a.memoizedProps=f,a.memoizedState=me),y.props=f,y.state=me,y.context=w,y=A):(typeof y.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Js)!==_t&&(a.flags|=134217728),y=!1)}else{y=a.stateNode,Ly(r,a),w=a.memoizedProps,j=Gs(s,w),y.props=j,q=a.pendingProps,ee=y.context,me=s.contextType,A=rf,typeof me=="object"&&me!==null&&(A=Nn(me)),pe=s.getDerivedStateFromProps,(me=typeof pe=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==q||ee!==A)&&KE(a,y,f,A),cf=!1,ee=a.memoizedState,y.state=ee,Hs(a,f,y,g),Tu();var Oe=a.memoizedState;w!==q||ee!==Oe||cf||r!==null&&r.dependencies!==null&&ir(r.dependencies)?(typeof pe=="function"&&(um(a,s,pe,f),Oe=a.memoizedState),(j=cf||lm(a,s,j,f,ee,Oe,A)||r!==null&&r.dependencies!==null&&ir(r.dependencies))?(me||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(f,Oe,A),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(f,Oe,A)),typeof y.componentDidUpdate=="function"&&(a.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&ee===r.memoizedState||(a.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&ee===r.memoizedState||(a.flags|=1024),a.memoizedProps=f,a.memoizedState=Oe),y.props=f,y.state=Oe,y.context=A,y=j):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&ee===r.memoizedState||(a.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&ee===r.memoizedState||(a.flags|=1024),y=!1)}if(A=y,$c(r,a),w=(a.flags&128)!==0,A||w){if(A=a.stateNode,Ce(a),w&&typeof s.getDerivedStateFromError!="function")s=null,Na=-1;else if(s=uY(A),a.mode&ca){Ye(!0);try{uY(A)}finally{Ye(!1)}}a.flags|=1,r!==null&&w?(a.child=ch(a,r.child,null,g),a.child=ch(a,null,s,g)):Rr(r,a,s,g),a.memoizedState=A.state,r=a.child}else r=Xs(r,a,g);return g=a.stateNode,y&&g.props!==f&&(Tg||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",B(a)||"a component"),Tg=!0),r}function Ws(r,a,s,f){return gl(),a.flags|=256,Rr(r,a,s,f),a.child}function lb(r,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
186
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(r=U(a)||"Unknown",YY[r]||(console.error("%s: Function components do not support getDerivedStateFromProps.",r),YY[r]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=U(a)||"Unknown",FY[a]||(console.error("%s: Function components do not support contextType.",a),FY[a]=!0))}function Qo(r){return{baseLanes:r,cachePool:md()}}function mm(r,a,s){return r=r!==null?r.childLanes&~s:0,a&&(r|=no),r}function cb(r,a,s){var f,g=a.pendingProps;u(a)&&(a.flags|=128);var y=!1,w=(a.flags&128)!==0;if((f=w)||(f=r!==null&&r.memoizedState===null?!1:(Dr.current&F0)!==0),f&&(y=!0,a.flags&=-129),f=(a.flags&32)!==0,a.flags&=-33,r===null){if(en){if(y?xu(a):ia(a),(r=Fn)?(s=Xb(r,ys),s=s!==null&&s.data!==yh?s:null,s!==null&&(f={dehydrated:s,treeContext:zs(),retryLane:536870912,hydrationErrors:null},a.memoizedState=f,f=xE(s),f.return=a,a.child=f,Fi=a,Fn=null)):s=null,s===null)throw qs(a,r),Ur(a);return Kb(s)?a.lanes=32:a.lanes=536870912,null}var A=g.children;if(g=g.fallback,y){ia(a);var j=a.mode;return A=gm({mode:"hidden",children:A},j),g=pl(g,j,s,null),A.return=a,g.return=a,A.sibling=g,a.child=A,g=a.child,g.memoizedState=Qo(s),g.childLanes=mm(r,f,s),a.memoizedState=rI,Wa(null,g)}return xu(a),Dd(a,A)}var q=r.memoizedState;if(q!==null){var pe=q.dehydrated;if(pe!==null){if(w)a.flags&256?(xu(a),a.flags&=-257,a=fb(r,a,s)):a.memoizedState!==null?(ia(a),a.child=r.child,a.flags|=128,a=null):(ia(a),A=g.fallback,j=a.mode,g=gm({mode:"visible",children:g.children},j),A=pl(A,j,s,null),A.flags|=2,g.return=a,A.return=a,g.sibling=A,a.child=g,ch(a,r.child,null,s),g=a.child,g.memoizedState=Qo(s),g.childLanes=mm(r,f,s),a.memoizedState=rI,a=Wa(null,g));else if(xu(a),CE(),(s&536870912)!==0&&Cm(a),Kb(pe)){if(f=pe.nextSibling&&pe.nextSibling.dataset,f){A=f.dgst;var me=f.msg;j=f.stck;var ee=f.cstck}y=me,f=A,g=j,pe=ee,A=y,j=pe,A=Error(A||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),A.stack=g||"",A.digest=f,f=j===void 0?null:j,g={value:A,source:null,stack:f},typeof f=="string"&&LL.set(A,g),dd(g),a=fb(r,a,s)}else if(Qr||Jt(r,a,s,!1),f=(s&r.childLanes)!==0,Qr||f){if(f=$n,f!==null&&(g=Lt(f,s),g!==0&&g!==q.retryLane))throw q.retryLane=g,zr(r,g),Jn(f,r,g),nI;Qb(pe)||Dm(),a=fb(r,a,s)}else Qb(pe)?(a.flags|=192,a.child=r.child,a=null):(r=q.treeContext,Fn=yi(pe.nextSibling),Fi=a,en=!0,af=null,Hu=!1,Oo=null,ys=!1,r!==null&&fd(a,r),a=Dd(a,g.children),a.flags|=4096);return a}}return y?(ia(a),A=g.fallback,j=a.mode,ee=r.child,pe=ee.sibling,g=Sa(ee,{mode:"hidden",children:g.children}),g.subtreeFlags=ee.subtreeFlags&65011712,pe!==null?A=Sa(pe,A):(A=pl(A,j,s,null),A.flags|=2),A.return=a,g.return=a,g.sibling=A,a.child=g,Wa(null,g),g=a.child,A=r.child.memoizedState,A===null?A=Qo(s):(j=A.cachePool,j!==null?(ee=Gr._currentValue,j=j.parent!==ee?{parent:ee,pool:ee}:j):j=md(),A={baseLanes:A.baseLanes|s,cachePool:j}),g.memoizedState=A,g.childLanes=mm(r,f,s),a.memoizedState=rI,Wa(r.child,g)):(q!==null&&(s&62914560)===s&&(s&r.lanes)!==0&&Cm(a),xu(a),s=r.child,r=s.sibling,s=Sa(s,{mode:"visible",children:g.children}),s.return=a,s.sibling=null,r!==null&&(f=a.deletions,f===null?(a.deletions=[r],a.flags|=16):f.push(r)),a.child=s,a.memoizedState=null,s)}function Dd(r,a){return a=gm({mode:"visible",children:a},r.mode),a.return=r,r.child=a}function gm(r,a){return r=S(22,r,null,a),r.lanes=0,r}function fb(r,a,s){return ch(a,r.child,null,s),r=Dd(a,a.pendingProps.children),r.flags|=2,a.memoizedState=null,r}function tw(r,a,s){r.lanes|=a;var f=r.alternate;f!==null&&(f.lanes|=a),tt(r.return,a,s)}function vm(r,a,s,f,g,y){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:g,treeForkCount:y}:(w.isBackwards=a,w.rendering=null,w.renderingStartTime=0,w.last=f,w.tail=s,w.tailMode=g,w.treeForkCount=y)}function db(r,a,s){var f=a.pendingProps,g=f.revealOrder,y=f.tail,w=f.children,A=Dr.current;if((f=(A&F0)!==0)?(A=A&Eg|F0,a.flags|=128):A&=Eg,oe(Dr,A,a),A=g??"null",g!=="forwards"&&g!=="unstable_legacy-backwards"&&g!=="together"&&g!=="independent"&&!GY[A])if(GY[A]=!0,g==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(g==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof g=="string")switch(g.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',g,g.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',g,g.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',g)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',g);A=y??"null",aO[A]||(y==null?(g==="forwards"||g==="backwards"||g==="unstable_legacy-backwards")&&(aO[A]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):y!=="visible"&&y!=="collapsed"&&y!=="hidden"?(aO[A]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',y)):g!=="forwards"&&g!=="backwards"&&g!=="unstable_legacy-backwards"&&(aO[A]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',y)));e:if((g==="forwards"||g==="backwards"||g==="unstable_legacy-backwards")&&w!==void 0&&w!==null&&w!==!1)if(yr(w)){for(A=0;A<w.length;A++)if(!vd(w[A],A))break e}else if(A=z(w),typeof A=="function"){if(A=A.call(w))for(var j=A.next(),q=0;!j.done;j=A.next()){if(!vd(j.value,q))break e;q++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',g);if(Rr(r,a,w,s),en?(Su(),w=C0):w=0,!f&&r!==null&&(r.flags&128)!==0)e:for(r=a.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&tw(r,s,a);else if(r.tag===19)tw(r,s,a);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(g){case"forwards":for(s=a.child,g=null;s!==null;)r=s.alternate,r!==null&&Yp(r)===null&&(g=s),s=s.sibling;s=g,s===null?(g=a.child,a.child=null):(g=s.sibling,s.sibling=null),vm(a,!1,g,s,y,w);break;case"backwards":case"unstable_legacy-backwards":for(s=null,g=a.child,a.child=null;g!==null;){if(r=g.alternate,r!==null&&Yp(r)===null){a.child=g;break}r=g.sibling,g.sibling=s,s=g,g=r}vm(a,!0,s,null,y,w);break;case"together":vm(a,!1,null,null,void 0,w);break;default:a.memoizedState=null}return a.child}function Xs(r,a,s){if(r!==null&&(a.dependencies=r.dependencies),Na=-1,hf|=a.lanes,(s&a.childLanes)===0)if(r!==null){if(Jt(r,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(r!==null&&a.child!==r.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(r=a.child,s=Sa(r,r.pendingProps),a.child=s,s.return=a;r.sibling!==null;)r=r.sibling,s=s.sibling=Sa(r,r.pendingProps),s.return=a;s.sibling=null}return a.child}function ym(r,a){return(r.lanes&a)!==0?!0:(r=r.dependencies,!!(r!==null&&ir(r)))}function nw(r,a,s){switch(a.tag){case 3:fe(a,a.stateNode.containerInfo),Me(a,Gr,r.memoizedState.cache),gl();break;case 27:case 5:ie(a);break;case 4:fe(a,a.stateNode.containerInfo);break;case 10:Me(a,a.type,a.memoizedProps.value);break;case 12:(s&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var f=a.stateNode;f.effectDuration=-0,f.passiveEffectDuration=-0;break;case 31:if(a.memoizedState!==null)return a.flags|=128,$y(a),null;break;case 13:if(f=a.memoizedState,f!==null)return f.dehydrated!==null?(xu(a),a.flags|=128,null):(s&a.child.childLanes)!==0?cb(r,a,s):(xu(a),r=Xs(r,a,s),r!==null?r.sibling:null);xu(a);break;case 19:var g=(r.flags&128)!==0;if(f=(s&a.childLanes)!==0,f||(Jt(r,a,s,!1),f=(s&a.childLanes)!==0),g){if(f)return db(r,a,s);a.flags|=128}if(g=a.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),oe(Dr,Dr.current,a),f)break;return null;case 22:return a.lanes=0,oa(r,a,s,a.pendingProps);case 24:Me(a,Gr,r.memoizedState.cache)}return Xs(r,a,s)}function vi(r,a,s){if(a._debugNeedsRemount&&r!==null){s=kp(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),s._debugStack=a._debugStack,s._debugTask=a._debugTask;var f=a.return;if(f===null)throw Error("Cannot swap the root fiber.");if(r.alternate=null,a.alternate=null,s.index=a.index,s.sibling=a.sibling,s.return=a.return,s.ref=a.ref,s._debugInfo=a._debugInfo,a===f.child)f.child=s;else{var g=f.child;if(g===null)throw Error("Expected parent to have a child.");for(;g.sibling!==a;)if(g=g.sibling,g===null)throw Error("Expected to find the previous sibling.");g.sibling=s}return a=f.deletions,a===null?(f.deletions=[r],f.flags|=16):a.push(r),s.flags|=2,s}if(r!==null)if(r.memoizedProps!==a.pendingProps||a.type!==r.type)Qr=!0;else{if(!ym(r,s)&&(a.flags&128)===0)return Qr=!1,nw(r,a,s);Qr=(r.flags&131072)!==0}else Qr=!1,(f=en)&&(Su(),f=(a.flags&1048576)!==0),f&&(f=a.index,Su(),AE(a,C0,f));switch(a.lanes=0,a.tag){case 16:e:if(f=a.pendingProps,r=Bs(a.elementType),a.type=r,typeof r=="function")ld(r)?(f=Gs(r,f),a.tag=1,a.type=r=hl(r),a=pm(null,a,r,f,s)):(a.tag=0,lb(a,r),a.type=r=hl(r),a=dm(null,a,r,f,s));else{if(r!=null){if(g=r.$$typeof,g===Qd){a.tag=11,a.type=r=ud(r),a=cm(null,a,r,f,s);break e}else if(g===Wm){a.tag=14,a=sb(null,a,r,f,s);break e}}throw a="",r!==null&&typeof r=="object"&&r.$$typeof===Ca&&(a=" Did you wrap a component in React.lazy() more than once?"),s=U(r)||r,Error("Element type is invalid. Received a promise that resolves to: "+s+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return dm(r,a,a.type,a.pendingProps,s);case 1:return f=a.type,g=Gs(f,a.pendingProps),pm(r,a,f,g,s);case 3:e:{if(fe(a,a.stateNode.containerInfo),r===null)throw Error("Should have a current fiber. This is a bug in React.");f=a.pendingProps;var y=a.memoizedState;g=y.element,Ly(r,a),Hs(a,f,null,s);var w=a.memoizedState;if(f=w.cache,Me(a,Gr,f),f!==y.cache&&wt(a,[Gr],s,!0),Tu(),f=w.element,y.isDehydrated)if(y={element:f,isDehydrated:!1,cache:w.cache},a.updateQueue.baseState=y,a.memoizedState=y,a.flags&256){a=Ws(r,a,f,s);break e}else if(f!==g){g=qr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),dd(g),a=Ws(r,a,f,s);break e}else{switch(r=a.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(Fn=yi(r.firstChild),Fi=a,en=!0,af=null,Hu=!1,Oo=null,ys=!0,s=EY(a,null,f,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(gl(),f===g){a=Xs(r,a,s);break e}Rr(r,a,f,s)}a=a.child}return a;case 26:return $c(r,a),r===null?(s=eR(a.type,null,a.pendingProps,null))?a.memoizedState=s:en||(s=a.type,r=a.pendingProps,f=le(qu.current),f=km(f).createElement(s),f[ui]=a,f[qi]=r,si(f,s,r),rt(f),a.stateNode=f):a.memoizedState=eR(a.type,r.memoizedProps,a.pendingProps,r.memoizedState),null;case 27:return ie(a),r===null&&en&&(f=le(qu.current),g=ue(),f=a.stateNode=Zw(a.type,a.pendingProps,f,g,!1),Hu||(g=zw(f,a.type,a.pendingProps,g),g!==null&&(ml(a,0).serverProps=g)),Fi=a,ys=!0,g=Fn,Iu(a.type)?(TI=g,Fn=yi(f.firstChild)):Fn=g),Rr(r,a,a.pendingProps.children,s),$c(r,a),r===null&&(a.flags|=4194304),a.child;case 5:return r===null&&en&&(y=ue(),f=Kn(a.type,y.ancestorInfo),g=Fn,(w=!g)||(w=Ww(g,a.type,a.pendingProps,ys),w!==null?(a.stateNode=w,Hu||(y=zw(w,a.type,a.pendingProps,y),y!==null&&(ml(a,0).serverProps=y)),Fi=a,Fn=yi(w.firstChild),ys=!1,y=!0):y=!1,w=!y),w&&(f&&qs(a,g),Ur(a))),ie(a),g=a.type,y=a.pendingProps,w=r!==null?r.memoizedProps:null,f=y.children,jm(g,y)?f=null:w!==null&&jm(g,w)&&(a.flags|=32),a.memoizedState!==null&&(g=qy(r,a,Fs,null,null,s),uS._currentValue=g),$c(r,a),Rr(r,a,f,s),a.child;case 6:return r===null&&en&&(s=a.pendingProps,r=ue(),f=r.ancestorInfo.current,s=f!=null?Fa(s,f.tag,r.ancestorInfo.implicitRootScope):!0,r=Fn,(f=!r)||(f=Xw(r,a.pendingProps,ys),f!==null?(a.stateNode=f,Fi=a,Fn=null,f=!0):f=!1,f=!f),f&&(s&&qs(a,r),Ur(a))),null;case 13:return cb(r,a,s);case 4:return fe(a,a.stateNode.containerInfo),f=a.pendingProps,r===null?a.child=ch(a,null,f,s):Rr(r,a,f,s),a.child;case 11:return cm(r,a,a.type,a.pendingProps,s);case 7:return Rr(r,a,a.pendingProps,s),a.child;case 8:return Rr(r,a,a.pendingProps.children,s),a.child;case 12:return a.flags|=4,a.flags|=2048,f=a.stateNode,f.effectDuration=-0,f.passiveEffectDuration=-0,Rr(r,a,a.pendingProps.children,s),a.child;case 10:return f=a.type,g=a.pendingProps,y=g.value,"value"in g||WY||(WY=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Me(a,f,y),Rr(r,a,g.children,s),a.child;case 9:return g=a.type._context,f=a.pendingProps.children,typeof f!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ln(a),g=Nn(g),f=FL(f,g,void 0),a.flags|=1,Rr(r,a,f,s),a.child;case 14:return sb(r,a,a.type,a.pendingProps,s);case 15:return ub(r,a,a.type,a.pendingProps,s);case 19:return db(r,a,s);case 31:return ew(r,a,s);case 22:return oa(r,a,s,a.pendingProps);case 24:return ln(a),f=Nn(Gr),r===null?(g=jy(),g===null&&(g=$n,y=wc(),g.pooledCache=y,vl(y),y!==null&&(g.pooledCacheLanes|=s),g=y),a.memoizedState={parent:f,cache:g},wu(a),Me(a,Gr,g)):((r.lanes&s)!==0&&(Ly(r,a),Hs(a,null,null,s),Tu()),g=r.memoizedState,y=a.memoizedState,g.parent!==f?(g={parent:f,cache:f},a.memoizedState=g,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=g),Me(a,Gr,f)):(f=y.cache,Me(a,Gr,f),f!==g.cache&&wt(a,[Gr],s,!0))),Rr(r,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Fr(r){r.flags|=4}function hb(r,a,s,f,g){if((a=(r.mode&fpe)!==_t)&&(a=!1),a){if(r.flags|=16777216,(g&335544128)===g)if(r.stateNode.complete)r.flags|=8192;else if(ju())r.flags|=8192;else throw lh=JR,YL}else r.flags&=-16777217}function rw(r,a){if(a.type!=="stylesheet"||(a.state.loading&ws)!==_h)r.flags&=-16777217;else if(r.flags|=16777216,!rR(a))if(ju())r.flags|=8192;else throw lh=JR,YL}function xl(r,a){a!==null&&(r.flags|=4),r.flags&16384&&(a=r.tag!==22?an():536870912,r.lanes|=a,mh|=a)}function Ko(r,a){if(!en)switch(r.tailMode){case"hidden":a=r.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?a||r.tail===null?r.tail=null:r.tail.sibling=null:f.sibling=null}}function Tn(r){var a=r.alternate!==null&&r.alternate.child===r.child,s=0,f=0;if(a)if((r.mode&qt)!==_t){for(var g=r.selfBaseDuration,y=r.child;y!==null;)s|=y.lanes|y.childLanes,f|=y.subtreeFlags&65011712,f|=y.flags&65011712,g+=y.treeBaseDuration,y=y.sibling;r.treeBaseDuration=g}else for(g=r.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,g.return=r,g=g.sibling;else if((r.mode&qt)!==_t){g=r.actualDuration,y=r.selfBaseDuration;for(var w=r.child;w!==null;)s|=w.lanes|w.childLanes,f|=w.subtreeFlags,f|=w.flags,g+=w.actualDuration,y+=w.treeBaseDuration,w=w.sibling;r.actualDuration=g,r.treeBaseDuration=y}else for(g=r.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=f,r.childLanes=s,a}function iw(r,a,s){var f=a.pendingProps;switch(Lp(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tn(a),null;case 1:return Tn(a),null;case 3:return s=a.stateNode,f=null,r!==null&&(f=r.memoizedState.cache),a.memoizedState.cache!==f&&(a.flags|=2048),Te(Gr,a),W(a),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(r===null||r.child===null)&&(Ec(a)?(_u(),Fr(a)):r===null||r.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Py())),Tn(a),null;case 26:var g=a.type,y=a.memoizedState;return r===null?(Fr(a),y!==null?(Tn(a),rw(a,y)):(Tn(a),hb(a,g,null,f,s))):y?y!==r.memoizedState?(Fr(a),Tn(a),rw(a,y)):(Tn(a),a.flags&=-16777217):(r=r.memoizedProps,r!==f&&Fr(a),Tn(a),hb(a,g,r,f,s)),null;case 27:if(_e(a),s=le(qu.current),g=a.type,r!==null&&a.stateNode!=null)r.memoizedProps!==f&&Fr(a);else{if(!f){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Tn(a),null}r=ue(),Ec(a)?Ny(a):(r=Zw(g,f,s,r,!0),a.stateNode=r,Fr(a))}return Tn(a),null;case 5:if(_e(a),g=a.type,r!==null&&a.stateNode!=null)r.memoizedProps!==f&&Fr(a);else{if(!f){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Tn(a),null}var w=ue();if(Ec(a))Ny(a);else{switch(y=le(qu.current),Kn(g,w.ancestorInfo),w=w.context,y=km(y),w){case kg:y=y.createElementNS(Jc,g);break;case OO:y=y.createElementNS(og,g);break;default:switch(g){case"svg":y=y.createElementNS(Jc,g);break;case"math":y=y.createElementNS(og,g);break;case"script":y=y.createElement("div"),y.innerHTML="<script><\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof f.is=="string"?y.createElement("select",{is:f.is}):y.createElement("select"),f.multiple?y.multiple=!0:f.size&&(y.size=f.size);break;default:y=typeof f.is=="string"?y.createElement(g,{is:f.is}):y.createElement(g),g.indexOf("-")===-1&&(g!==g.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",g),Object.prototype.toString.call(y)!=="[object HTMLUnknownElement]"||_i.call(yG,g)||(yG[g]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",g)))}}y[ui]=a,y[qi]=f;e:for(w=a.child;w!==null;){if(w.tag===5||w.tag===6)y.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===a)break e;for(;w.sibling===null;){if(w.return===null||w.return===a)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}a.stateNode=y;e:switch(si(y,g,f),g){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&Fr(a)}}return Tn(a),hb(a,a.type,r===null?null:r.memoizedProps,a.pendingProps,s),null;case 6:if(r&&a.stateNode!=null)r.memoizedProps!==f&&Fr(a);else{if(typeof f!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(r=le(qu.current),s=ue(),Ec(a)){if(r=a.stateNode,s=a.memoizedProps,g=!Hu,f=null,y=Fi,y!==null)switch(y.tag){case 3:g&&(g=Qw(r,s,f),g!==null&&(ml(a,0).serverProps=g));break;case 27:case 5:f=y.memoizedProps,g&&(g=Qw(r,s,f),g!==null&&(ml(a,0).serverProps=g))}r[ui]=a,r=!!(r.nodeValue===s||f!==null&&f.suppressHydrationWarning===!0||Hb(r.nodeValue,s)),r||Ur(a,!0)}else g=s.ancestorInfo.current,g!=null&&Fa(f,g.tag,s.ancestorInfo.implicitRootScope),r=km(r).createTextNode(f),r[ui]=a,a.stateNode=r}return Tn(a),null;case 31:if(s=a.memoizedState,r===null||r.memoizedState!==null){if(f=Ec(a),s!==null){if(r===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=a.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");r[ui]=a,Tn(a),(a.mode&qt)!==_t&&s!==null&&(r=a.child,r!==null&&(a.treeBaseDuration-=r.treeBaseDuration))}else _u(),gl(),(a.flags&128)===0&&(s=a.memoizedState=null),a.flags|=4,Tn(a),(a.mode&qt)!==_t&&s!==null&&(r=a.child,r!==null&&(a.treeBaseDuration-=r.treeBaseDuration));r=!1}else s=Py(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=s),r=!0;if(!r)return a.flags&256?(xa(a),a):(xa(a),null);if((a.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Tn(a),null;case 13:if(f=a.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(g=f,y=Ec(a),g!==null&&g.dehydrated!==null){if(r===null){if(!y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(y=a.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");y[ui]=a,Tn(a),(a.mode&qt)!==_t&&g!==null&&(g=a.child,g!==null&&(a.treeBaseDuration-=g.treeBaseDuration))}else _u(),gl(),(a.flags&128)===0&&(g=a.memoizedState=null),a.flags|=4,Tn(a),(a.mode&qt)!==_t&&g!==null&&(g=a.child,g!==null&&(a.treeBaseDuration-=g.treeBaseDuration));g=!1}else g=Py(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=g),g=!0;if(!g)return a.flags&256?(xa(a),a):(xa(a),null)}return xa(a),(a.flags&128)!==0?(a.lanes=s,(a.mode&qt)!==_t&&Us(a),a):(s=f!==null,r=r!==null&&r.memoizedState!==null,s&&(f=a.child,g=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(g=f.alternate.memoizedState.cachePool.pool),y=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(y=f.memoizedState.cachePool.pool),y!==g&&(f.flags|=2048)),s!==r&&s&&(a.child.flags|=8192),xl(a,a.updateQueue),Tn(a),(a.mode&qt)!==_t&&s&&(r=a.child,r!==null&&(a.treeBaseDuration-=r.treeBaseDuration)),null);case 4:return W(a),r===null&&qb(a.stateNode.containerInfo),Tn(a),null;case 10:return Te(a.type,a),Tn(a),null;case 19:if(K(Dr,a),f=a.memoizedState,f===null)return Tn(a),null;if(g=(a.flags&128)!==0,y=f.rendering,y===null)if(g)Ko(f,!1);else{if(lr!==Xl||r!==null&&(r.flags&128)!==0)for(r=a.child;r!==null;){if(y=Yp(r),y!==null){for(a.flags|=128,Ko(f,!1),r=y.updateQueue,a.updateQueue=r,xl(a,r),a.subtreeFlags=0,r=s,s=a.child;s!==null;)Cy(s,r),s=s.sibling;return oe(Dr,Dr.current&Eg|F0,a),en&&$s(a,f.treeForkCount),a.child}r=r.sibling}f.tail!==null&&Yr()>dO&&(a.flags|=128,g=!0,Ko(f,!1),a.lanes=4194304)}else{if(!g)if(r=Yp(y),r!==null){if(a.flags|=128,g=!0,r=r.updateQueue,a.updateQueue=r,xl(a,r),Ko(f,!0),f.tail===null&&f.tailMode==="hidden"&&!y.alternate&&!en)return Tn(a),null}else 2*Yr()-f.renderingStartTime>dO&&s!==536870912&&(a.flags|=128,g=!0,Ko(f,!1),a.lanes=4194304);f.isBackwards?(y.sibling=a.child,a.child=y):(r=f.last,r!==null?r.sibling=y:a.child=y,f.last=y)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=Yr(),r.sibling=null,s=Dr.current,s=g?s&Eg|F0:s&Eg,oe(Dr,s,a),en&&$s(a,f.treeForkCount),r):(Tn(a),null);case 22:case 23:return xa(a),Gt(a),f=a.memoizedState!==null,r!==null?r.memoizedState!==null!==f&&(a.flags|=8192):f&&(a.flags|=8192),f?(s&536870912)!==0&&(a.flags&128)===0&&(Tn(a),a.subtreeFlags&6&&(a.flags|=8192)):Tn(a),s=a.updateQueue,s!==null&&xl(a,s.retryQueue),s=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),f=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(f=a.memoizedState.cachePool.pool),f!==s&&(a.flags|=2048),r!==null&&K(sh,a),null;case 24:return s=null,r!==null&&(s=r.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),Te(Gr,a),Tn(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bj(r,a){switch(Lp(a),a.tag){case 1:return r=a.flags,r&65536?(a.flags=r&-65537|128,(a.mode&qt)!==_t&&Us(a),a):null;case 3:return Te(Gr,a),W(a),r=a.flags,(r&65536)!==0&&(r&128)===0?(a.flags=r&-65537|128,a):null;case 26:case 27:case 5:return _e(a),null;case 31:if(a.memoizedState!==null){if(xa(a),a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");gl()}return r=a.flags,r&65536?(a.flags=r&-65537|128,(a.mode&qt)!==_t&&Us(a),a):null;case 13:if(xa(a),r=a.memoizedState,r!==null&&r.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");gl()}return r=a.flags,r&65536?(a.flags=r&-65537|128,(a.mode&qt)!==_t&&Us(a),a):null;case 19:return K(Dr,a),null;case 4:return W(a),null;case 10:return Te(a.type,a),null;case 22:case 23:return xa(a),Gt(a),r!==null&&K(sh,a),r=a.flags,r&65536?(a.flags=r&-65537|128,(a.mode&qt)!==_t&&Us(a),a):null;case 24:return Te(Gr,a),null;case 25:return null;default:return null}}function pb(r,a){switch(Lp(a),a.tag){case 3:Te(Gr,a),W(a);break;case 26:case 27:case 5:_e(a);break;case 4:W(a);break;case 31:a.memoizedState!==null&&xa(a);break;case 13:xa(a);break;case 19:K(Dr,a);break;case 10:Te(a.type,a);break;case 22:case 23:xa(a),Gt(a),r!==null&&K(sh,a);break;case 24:Te(Gr,a)}}function Ii(r){return(r.mode&qt)!==_t}function zc(r,a){Ii(r)?(go(),qc(a,r),mo()):qc(a,r)}function mb(r,a,s){Ii(r)?(go(),Al(s,r,a),mo()):Al(s,r,a)}function qc(r,a){try{var s=a.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var g=f.next;s=g;do{if((s.tag&r)===r&&(f=void 0,(r&Pa)!==tO&&(Mg=!0),f=De(a,vpe,s),(r&Pa)!==tO&&(Mg=!1),f!==void 0&&typeof f!="function")){var y=void 0;y=(s.tag&xo)!==0?"useLayoutEffect":(s.tag&Pa)!==0?"useInsertionEffect":"useEffect";var w=void 0;w=f===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof f.then=="function"?`
|
|
187
|
+
|
|
188
|
+
It looks like you wrote `+y+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
189
|
+
|
|
190
|
+
`+y+`(() => {
|
|
191
|
+
async function fetchData() {
|
|
192
|
+
// You can await here
|
|
193
|
+
const response = await MyAPI.getData(someId);
|
|
194
|
+
// ...
|
|
195
|
+
}
|
|
196
|
+
fetchData();
|
|
197
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
198
|
+
|
|
199
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+f,De(a,function(A,j){console.error("%s must not return anything besides a function, which is used for clean-up.%s",A,j)},y,w)}s=s.next}while(s!==g)}}catch(A){gn(a,a.return,A)}}function Al(r,a,s){try{var f=a.updateQueue,g=f!==null?f.lastEffect:null;if(g!==null){var y=g.next;f=y;do{if((f.tag&r)===r){var w=f.inst,A=w.destroy;A!==void 0&&(w.destroy=void 0,(r&Pa)!==tO&&(Mg=!0),g=a,De(g,ype,g,s,A),(r&Pa)!==tO&&(Mg=!1))}f=f.next}while(f!==y)}}catch(j){gn(a,a.return,j)}}function Md(r,a){Ii(r)?(go(),qc(a,r),mo()):qc(a,r)}function bm(r,a,s){Ii(r)?(go(),Al(s,r,a),mo()):Al(s,r,a)}function Nd(r){var a=r.updateQueue;if(a!==null){var s=r.stateNode;r.type.defaultProps||"ref"in r.memoizedProps||Tg||(s.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(r)||"instance"),s.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(r)||"instance"));try{De(r,_l,a,s)}catch(f){gn(r,r.return,f)}}}function gb(r,a,s){return r.getSnapshotBeforeUpdate(a,s)}function Sm(r,a){var s=a.memoizedProps,f=a.memoizedState;a=r.stateNode,r.type.defaultProps||"ref"in r.memoizedProps||Tg||(a.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(r)||"instance"),a.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(r)||"instance"));try{var g=Gs(r.type,s),y=De(r,gb,a,g,f);s=XY,y!==void 0||s.has(r.type)||(s.add(r.type),De(r,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",B(r))})),a.__reactInternalSnapshotBeforeUpdate=y}catch(w){gn(r,r.return,w)}}function aw(r,a,s){s.props=Gs(r.type,r.memoizedProps),s.state=r.memoizedState,Ii(r)?(go(),De(r,pY,r,a,s),mo()):De(r,pY,r,a,s)}function ow(r){var a=r.ref;if(a!==null){switch(r.tag){case 26:case 27:case 5:var s=r.stateNode;break;case 30:s=r.stateNode;break;default:s=r.stateNode}if(typeof a=="function")if(Ii(r))try{go(),r.refCleanup=a(s)}finally{mo()}else r.refCleanup=a(s);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",B(r)),a.current=s}}function Nu(r,a){try{De(r,ow,r)}catch(s){gn(r,a,s)}}function bo(r,a){var s=r.ref,f=r.refCleanup;if(s!==null)if(typeof f=="function")try{if(Ii(r))try{go(),De(r,f)}finally{mo(r)}else De(r,f)}catch(g){gn(r,a,g)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof s=="function")try{if(Ii(r))try{go(),De(r,s,null)}finally{mo(r)}else De(r,s,null)}catch(g){gn(r,a,g)}else s.current=null}function _m(r,a,s,f){var g=r.memoizedProps,y=g.id,w=g.onCommit;g=g.onRender,a=a===null?"mount":"update",XR&&(a="nested-update"),typeof g=="function"&&g(y,a,r.actualDuration,r.treeBaseDuration,r.actualStartTime,s),typeof w=="function"&&w(y,a,f,s)}function Sj(r,a,s,f){var g=r.memoizedProps;r=g.id,g=g.onPostCommit,a=a===null?"mount":"update",XR&&(a="nested-update"),typeof g=="function"&&g(r,a,f,s)}function vb(r){var a=r.type,s=r.memoizedProps,f=r.stateNode;try{De(r,Lm,f,a,s,r)}catch(g){gn(r,r.return,g)}}function So(r,a,s){try{De(r,Uj,r.stateNode,r.type,s,a,r)}catch(f){gn(r,r.return,f)}}function yb(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Iu(r.type)||r.tag===4}function Em(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||yb(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&&Iu(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 bb(r,a,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,a?(Hw(s),(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(r,a)):(Hw(s),a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(r),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=Fo));else if(f!==4&&(f===27&&Iu(r.type)&&(s=r.stateNode,a=null),r=r.child,r!==null))for(bb(r,a,s),r=r.sibling;r!==null;)bb(r,a,s),r=r.sibling}function Pd(r,a,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,a?s.insertBefore(r,a):s.appendChild(r);else if(f!==4&&(f===27&&Iu(r.type)&&(s=r.stateNode),r=r.child,r!==null))for(Pd(r,a,s),r=r.sibling;r!==null;)Pd(r,a,s),r=r.sibling}function _j(r){for(var a,s=r.return;s!==null;){if(yb(s)){a=s;break}s=s.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,s=Em(r),Pd(r,s,a);break;case 5:s=a.stateNode,a.flags&32&&(Bw(s),a.flags&=-33),a=Em(r),Pd(r,a,s);break;case 3:case 4:a=a.stateNode.containerInfo,s=Em(r),bb(r,s,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function sw(r){var a=r.stateNode,s=r.memoizedProps;try{De(r,Qj,r.type,s,a,r)}catch(f){gn(r,r.return,f)}}function Zo(r,a){return a.tag===31?(a=a.memoizedState,r.memoizedState!==null&&a===null):a.tag===13?(r=r.memoizedState,a=a.memoizedState,r!==null&&r.dehydrated!==null&&(a===null||a.dehydrated===null)):a.tag===3?r.memoizedState.isDehydrated&&(a.flags&256)===0:!1}function Sb(r,a){if(r=r.containerInfo,wI=CO,r=Ry(r),Ap(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var g=f.anchorOffset,y=f.focusNode;f=f.focusOffset;try{s.nodeType,y.nodeType}catch{s=null;break e}var w=0,A=-1,j=-1,q=0,pe=0,me=r,ee=null;t:for(;;){for(var Oe;me!==s||g!==0&&me.nodeType!==3||(A=w+g),me!==y||f!==0&&me.nodeType!==3||(j=w+f),me.nodeType===3&&(w+=me.nodeValue.length),(Oe=me.firstChild)!==null;)ee=me,me=Oe;for(;;){if(me===r)break t;if(ee===s&&++q===g&&(A=w),ee===y&&++pe===f&&(j=w),(Oe=me.nextSibling)!==null)break;me=ee,ee=me.parentNode}me=Oe}s=A===-1||j===-1?null:{start:A,end:j}}else s=null}s=s||{start:0,end:0}}else s=null;for(RI={focusedElem:r,selectionRange:s},CO=!1,Oi=a;Oi!==null;)if(a=Oi,r=a.child,(a.subtreeFlags&1028)!==0&&r!==null)r.return=a,Oi=r;else for(;Oi!==null;){switch(r=a=Oi,s=r.alternate,g=r.flags,r.tag){case 0:if((g&4)!==0&&(r=r.updateQueue,r=r!==null?r.events:null,r!==null))for(s=0;s<r.length;s++)g=r[s],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:(g&1024)!==0&&s!==null&&Sm(r,s);break;case 3:if((g&1024)!==0){if(r=r.stateNode.containerInfo,s=r.nodeType,s===9)$m(r);else if(s===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":$m(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((g&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(r=a.sibling,r!==null){r.return=a.return,Oi=r;break}Oi=a.return}}function wm(r,a,s){var f=wa(),g=Wo(),y=ii(),w=Ta(),A=s.flags;switch(s.tag){case 0:case 11:case 15:es(r,s),A&4&&zc(s,xo|_s);break;case 1:if(es(r,s),A&4)if(r=s.stateNode,a===null)s.type.defaultProps||"ref"in s.memoizedProps||Tg||(r.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(s)||"instance"),r.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(s)||"instance")),Ii(s)?(go(),De(s,VL,s,r),mo()):De(s,VL,s,r);else{var j=Gs(s.type,a.memoizedProps);a=a.memoizedState,s.type.defaultProps||"ref"in s.memoizedProps||Tg||(r.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(s)||"instance"),r.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(s)||"instance")),Ii(s)?(go(),De(s,fY,s,r,j,a,r.__reactInternalSnapshotBeforeUpdate),mo()):De(s,fY,s,r,j,a,r.__reactInternalSnapshotBeforeUpdate)}A&64&&Nd(s),A&512&&Nu(s,s.return);break;case 3:if(a=Yt(),es(r,s),A&64&&(A=s.updateQueue,A!==null)){if(j=null,s.child!==null)switch(s.child.tag){case 27:case 5:j=s.child.stateNode;break;case 1:j=s.child.stateNode}try{De(s,_l,A,j)}catch(pe){gn(s,s.return,pe)}}r.effectDuration+=zp(a);break;case 27:a===null&&A&4&&sw(s);case 26:case 5:if(es(r,s),a===null){if(A&4)vb(s);else if(A&64){r=s.type,a=s.memoizedProps,j=s.stateNode;try{De(s,qj,j,r,a,s)}catch(pe){gn(s,s.return,pe)}}}A&512&&Nu(s,s.return);break;case 12:if(A&4){A=Yt(),es(r,s),r=s.stateNode,r.effectDuration+=Rc(A);try{De(s,_m,s,a,of,r.effectDuration)}catch(pe){gn(s,s.return,pe)}}else es(r,s);break;case 31:es(r,s),A&4&&vt(r,s);break;case 13:es(r,s),A&4&&kd(r,s),A&64&&(r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(A=Aj.bind(null,s),Gj(r,A))));break;case 22:if(A=s.memoizedState!==null||Wl,!A){a=a!==null&&a.memoizedState!==null||Kr,j=Wl;var q=Kr;Wl=A,(Kr=a)&&!q?(_o(r,s,(s.subtreeFlags&8772)!==0),(s.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&_c(s,pt,bt)):es(r,s),Wl=j,Kr=q}break;case 30:break;default:es(r,s)}(s.mode&qt)!==_t&&0<=pt&&0<=bt&&((Sr||.05<ur)&&Va(s,pt,bt,ur,er),s.alternate===null&&s.return!==null&&s.return.alternate!==null&&.05<bt-pt&&(Zo(s.return.alternate,s.return)||ya(s,pt,bt,"Mount"))),Ra(f),Oa(g),er=y,Sr=w}function Rm(r){var a=r.alternate;a!==null&&(r.alternate=null,Rm(a)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(a=r.stateNode,a!==null&&ge(a)),r.stateNode=null,r._debugOwner=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Xa(r,a,s){for(s=s.child;s!==null;)Cl(r,a,s),s=s.sibling}function Cl(r,a,s){if(Ei&&typeof Ei.onCommitFiberUnmount=="function")try{Ei.onCommitFiberUnmount(Kc,s)}catch(q){cs||(cs=!0,console.error("React instrumentation encountered an error: %o",q))}var f=wa(),g=Wo(),y=ii(),w=Ta();switch(s.tag){case 26:Kr||bo(s,a),Xa(r,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(r=s.stateNode,r.parentNode.removeChild(r));break;case 27:Kr||bo(s,a);var A=Zr,j=eo;Iu(s.type)&&(Zr=s.stateNode,eo=!1),Xa(r,a,s),De(s,Vd,s.stateNode),Zr=A,eo=j;break;case 5:Kr||bo(s,a);case 6:if(A=Zr,j=eo,Zr=null,Xa(r,a,s),Zr=A,eo=j,Zr!==null)if(eo)try{De(s,Fj,Zr,s.stateNode)}catch(q){gn(s,a,q)}else try{De(s,Hj,Zr,s.stateNode)}catch(q){gn(s,a,q)}break;case 18:Zr!==null&&(eo?(r=Zr,Fw(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,s.stateNode),Gc(r)):Fw(Zr,s.stateNode));break;case 4:A=Zr,j=eo,Zr=s.stateNode.containerInfo,eo=!0,Xa(r,a,s),Zr=A,eo=j;break;case 0:case 11:case 14:case 15:Al(Pa,s,a),Kr||mb(s,a,xo),Xa(r,a,s);break;case 1:Kr||(bo(s,a),A=s.stateNode,typeof A.componentWillUnmount=="function"&&aw(s,a,A)),Xa(r,a,s);break;case 21:Xa(r,a,s);break;case 22:Kr=(A=Kr)||s.memoizedState!==null,Xa(r,a,s),Kr=A;break;default:Xa(r,a,s)}(s.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(s,pt,bt,ur,er),Ra(f),Oa(g),er=y,Sr=w}function vt(r,a){if(a.memoizedState===null&&(r=a.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{De(a,Wj,r)}catch(s){gn(a,a.return,s)}}}function kd(r,a){if(a.memoizedState===null&&(r=a.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{De(a,Xj,r)}catch(s){gn(a,a.return,s)}}function _b(r){switch(r.tag){case 31:case 13:case 19:var a=r.stateNode;return a===null&&(a=r.stateNode=new QY),a;case 22:return r=r.stateNode,a=r._retryCache,a===null&&(a=r._retryCache=new QY),a;default:throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}}function Jo(r,a){var s=_b(r);a.forEach(function(f){if(!s.has(f)){if(s.add(f),fs)if(xg!==null&&Ag!==null)zd(Ag,xg);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var g=Cj.bind(null,r,f);f.then(g,g)}})}function sa(r,a){var s=a.deletions;if(s!==null)for(var f=0;f<s.length;f++){var g=r,y=a,w=s[f],A=wa(),j=y;e:for(;j!==null;){switch(j.tag){case 27:if(Iu(j.type)){Zr=j.stateNode,eo=!1;break e}break;case 5:Zr=j.stateNode,eo=!1;break e;case 3:case 4:Zr=j.stateNode.containerInfo,eo=!0;break e}j=j.return}if(Zr===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Cl(g,y,w),Zr=null,eo=!1,(w.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&ya(w,pt,bt,"Unmount"),Ra(A),g=w,y=g.alternate,y!==null&&(y.return=null),g.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Om(a,r),a=a.sibling}function Om(r,a){var s=wa(),f=Wo(),g=ii(),y=Ta(),w=r.alternate,A=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:sa(a,r),$i(r),A&4&&(Al(Pa|_s,r,r.return),qc(Pa|_s,r),mb(r,r.return,xo|_s));break;case 1:if(sa(a,r),$i(r),A&512&&(Kr||w===null||bo(w,w.return)),A&64&&Wl&&(A=r.updateQueue,A!==null&&(w=A.callbacks,w!==null))){var j=A.shared.hiddenCallbacks;A.shared.hiddenCallbacks=j===null?w:j.concat(w)}break;case 26:if(j=nu,sa(a,r),$i(r),A&512&&(Kr||w===null||bo(w,w.return)),A&4){var q=w!==null?w.memoizedState:null;if(A=r.memoizedState,w===null)if(A===null)if(r.stateNode===null){e:{A=r.type,w=r.memoizedProps,j=j.ownerDocument||j;t:switch(A){case"title":q=j.getElementsByTagName("title")[0],(!q||q[Zd]||q[ui]||q.namespaceURI===Jc||q.hasAttribute("itemprop"))&&(q=j.createElement(A),j.head.insertBefore(q,j.querySelector("head > title"))),si(q,A,w),q[ui]=r,rt(q),A=q;break e;case"link":var pe=or("link","href",j).get(A+(w.href||""));if(pe){for(var me=0;me<pe.length;me++)if(q=pe[me],q.getAttribute("href")===(w.href==null||w.href===""?null:w.href)&&q.getAttribute("rel")===(w.rel==null?null:w.rel)&&q.getAttribute("title")===(w.title==null?null:w.title)&&q.getAttribute("crossorigin")===(w.crossOrigin==null?null:w.crossOrigin)){pe.splice(me,1);break t}}q=j.createElement(A),si(q,A,w),j.head.appendChild(q);break;case"meta":if(pe=or("meta","content",j).get(A+(w.content||""))){for(me=0;me<pe.length;me++)if(q=pe[me],ke(w.content,"content"),q.getAttribute("content")===(w.content==null?null:""+w.content)&&q.getAttribute("name")===(w.name==null?null:w.name)&&q.getAttribute("property")===(w.property==null?null:w.property)&&q.getAttribute("http-equiv")===(w.httpEquiv==null?null:w.httpEquiv)&&q.getAttribute("charset")===(w.charSet==null?null:w.charSet)){pe.splice(me,1);break t}}q=j.createElement(A),si(q,A,w),j.head.appendChild(q);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+A+'". This is a bug in React.')}q[ui]=r,rt(q),A=q}r.stateNode=A}else nR(j,r.type,r.stateNode);else r.stateNode=$u(j,A,r.memoizedProps);else q!==A?(q===null?w.stateNode!==null&&(w=w.stateNode,w.parentNode.removeChild(w)):q.count--,A===null?nR(j,r.type,r.stateNode):$u(j,A,r.memoizedProps)):A===null&&r.stateNode!==null&&So(r,r.memoizedProps,w.memoizedProps)}break;case 27:sa(a,r),$i(r),A&512&&(Kr||w===null||bo(w,w.return)),w!==null&&A&4&&So(r,r.memoizedProps,w.memoizedProps);break;case 5:if(sa(a,r),$i(r),A&512&&(Kr||w===null||bo(w,w.return)),r.flags&32){j=r.stateNode;try{De(r,Bw,j)}catch(Je){gn(r,r.return,Je)}}A&4&&r.stateNode!=null&&(j=r.memoizedProps,So(r,j,w!==null?w.memoizedProps:j)),A&1024&&(iI=!0,r.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(sa(a,r),$i(r),A&4){if(r.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");A=r.memoizedProps,w=w!==null?w.memoizedProps:A,j=r.stateNode;try{De(r,Bj,j,w,A)}catch(Je){gn(r,r.return,Je)}}break;case 3:if(j=Yt(),TO=null,q=nu,nu=qm(a.containerInfo),sa(a,r),nu=q,$i(r),A&4&&w!==null&&w.memoizedState.isDehydrated)try{De(r,Kw,a.containerInfo)}catch(Je){gn(r,r.return,Je)}iI&&(iI=!1,oi(r)),a.effectDuration+=zp(j);break;case 4:A=nu,nu=qm(r.stateNode.containerInfo),sa(a,r),$i(r),nu=A;break;case 12:A=Yt(),sa(a,r),$i(r),r.stateNode.effectDuration+=Rc(A);break;case 31:sa(a,r),$i(r),A&4&&(A=r.updateQueue,A!==null&&(r.updateQueue=null,Jo(r,A)));break;case 13:sa(a,r),$i(r),r.child.flags&8192&&r.memoizedState!==null!=(w!==null&&w.memoizedState!==null)&&(fO=Yr()),A&4&&(A=r.updateQueue,A!==null&&(r.updateQueue=null,Jo(r,A)));break;case 22:j=r.memoizedState!==null;var ee=w!==null&&w.memoizedState!==null,Oe=Wl,Ge=Kr;if(Wl=Oe||j,Kr=Ge||ee,sa(a,r),Kr=Ge,Wl=Oe,ee&&!j&&!Oe&&!Ge&&(r.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&_c(r,pt,bt),$i(r),A&8192)e:for(a=r.stateNode,a._visibility=j?a._visibility&~A0:a._visibility|A0,!j||w===null||ee||Wl||Kr||(Pu(r),(r.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&ya(r,pt,bt,"Disconnect")),w=null,a=r;;){if(a.tag===5||a.tag===26){if(w===null){ee=w=a;try{q=ee.stateNode,j?De(ee,Im,q):De(ee,Gw,ee.stateNode,ee.memoizedProps)}catch(Je){gn(ee,ee.return,Je)}}}else if(a.tag===6){if(w===null){ee=a;try{pe=ee.stateNode,j?De(ee,Yj,pe):De(ee,Wb,pe,ee.memoizedProps)}catch(Je){gn(ee,ee.return,Je)}}}else if(a.tag===18){if(w===null){ee=a;try{me=ee.stateNode,j?De(ee,Vj,me):De(ee,Yw,ee.stateNode)}catch(Je){gn(ee,ee.return,Je)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===r)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===r)break e;for(;a.sibling===null;){if(a.return===null||a.return===r)break e;w===a&&(w=null),a=a.return}w===a&&(w=null),a.sibling.return=a.return,a=a.sibling}A&4&&(A=r.updateQueue,A!==null&&(w=A.retryQueue,w!==null&&(A.retryQueue=null,Jo(r,w))));break;case 19:sa(a,r),$i(r),A&4&&(A=r.updateQueue,A!==null&&(r.updateQueue=null,Jo(r,A)));break;case 30:break;case 21:break;default:sa(a,r),$i(r)}(r.mode&qt)!==_t&&0<=pt&&0<=bt&&((Sr||.05<ur)&&Va(r,pt,bt,ur,er),r.alternate===null&&r.return!==null&&r.return.alternate!==null&&.05<bt-pt&&(Zo(r.return.alternate,r.return)||ya(r,pt,bt,"Mount"))),Ra(s),Oa(f),er=g,Sr=y}function $i(r){var a=r.flags;if(a&2){try{De(r,_j,r)}catch(s){gn(r,r.return,s)}r.flags&=-3}a&4096&&(r.flags&=-4097)}function oi(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var a=r;oi(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),r=r.sibling}}function es(r,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)wm(r,a.alternate,a),a=a.sibling}function uw(r){var a=wa(),s=Wo(),f=ii(),g=Ta();switch(r.tag){case 0:case 11:case 14:case 15:mb(r,r.return,xo),Pu(r);break;case 1:bo(r,r.return);var y=r.stateNode;typeof y.componentWillUnmount=="function"&&aw(r,r.return,y),Pu(r);break;case 27:De(r,Vd,r.stateNode);case 26:case 5:bo(r,r.return),Pu(r);break;case 22:r.memoizedState===null&&Pu(r);break;case 30:Pu(r);break;default:Pu(r)}(r.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(r,pt,bt,ur,er),Ra(a),Oa(s),er=f,Sr=g}function Pu(r){for(r=r.child;r!==null;)uw(r),r=r.sibling}function lw(r,a,s,f){var g=wa(),y=Wo(),w=ii(),A=Ta(),j=s.flags;switch(s.tag){case 0:case 11:case 15:_o(r,s,f),zc(s,xo);break;case 1:if(_o(r,s,f),a=s.stateNode,typeof a.componentDidMount=="function"&&De(s,VL,s,a),a=s.updateQueue,a!==null){r=s.stateNode;try{De(s,H,a,r)}catch(q){gn(s,s.return,q)}}f&&j&64&&Nd(s),Nu(s,s.return);break;case 27:sw(s);case 26:case 5:_o(r,s,f),f&&a===null&&j&4&&vb(s),Nu(s,s.return);break;case 12:if(f&&j&4){j=Yt(),_o(r,s,f),f=s.stateNode,f.effectDuration+=Rc(j);try{De(s,_m,s,a,of,f.effectDuration)}catch(q){gn(s,s.return,q)}}else _o(r,s,f);break;case 31:_o(r,s,f),f&&j&4&&vt(r,s);break;case 13:_o(r,s,f),f&&j&4&&kd(r,s);break;case 22:s.memoizedState===null&&_o(r,s,f),Nu(s,s.return);break;case 30:break;default:_o(r,s,f)}(s.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(s,pt,bt,ur,er),Ra(g),Oa(y),er=w,Sr=A}function _o(r,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)lw(r,a.alternate,a,s),a=a.sibling}function Eb(r,a){var s=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==s&&(r!=null&&vl(r),s!=null&&Go(s))}function wb(r,a){r=null,a.alternate!==null&&(r=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==r&&(vl(a),r!=null&&Go(r))}function Eo(r,a,s,f,g){if(a.subtreeFlags&10256||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child))for(a=a.child;a!==null;){var y=a.sibling;ts(r,a,s,f,y!==null?y.actualStartTime:g),a=y}}function ts(r,a,s,f,g){var y=wa(),w=Wo(),A=ii(),j=Ta(),q=tf,pe=a.flags;switch(a.tag){case 0:case 11:case 15:(a.mode&qt)!==_t&&0<a.actualStartTime&&(a.flags&1)!==0&&Mn(a,a.actualStartTime,g,li,s),Eo(r,a,s,f,g),pe&2048&&Md(a,ka|_s);break;case 1:(a.mode&qt)!==_t&&0<a.actualStartTime&&((a.flags&128)!==0?Yo(a,a.actualStartTime,g,[]):(a.flags&1)!==0&&Mn(a,a.actualStartTime,g,li,s)),Eo(r,a,s,f,g);break;case 3:var me=Yt(),ee=li;li=a.alternate!==null&&a.alternate.memoizedState.isDehydrated&&(a.flags&256)===0,Eo(r,a,s,f,g),li=ee,pe&2048&&(s=null,a.alternate!==null&&(s=a.alternate.memoizedState.cache),f=a.memoizedState.cache,f!==s&&(vl(f),s!=null&&Go(s))),r.passiveEffectDuration+=zp(me);break;case 12:if(pe&2048){pe=Yt(),Eo(r,a,s,f,g),r=a.stateNode,r.passiveEffectDuration+=Rc(pe);try{De(a,Sj,a,a.alternate,of,r.passiveEffectDuration)}catch(Oe){gn(a,a.return,Oe)}}else Eo(r,a,s,f,g);break;case 31:pe=li,me=a.alternate!==null?a.alternate.memoizedState:null,ee=a.memoizedState,me!==null&&ee===null?(ee=a.deletions,ee!==null&&0<ee.length&&ee[0].tag===18?(li=!1,me=me.hydrationErrors,me!==null&&Yo(a,a.actualStartTime,g,me)):li=!0):li=!1,Eo(r,a,s,f,g),li=pe;break;case 13:pe=li,me=a.alternate!==null?a.alternate.memoizedState:null,ee=a.memoizedState,me===null||me.dehydrated===null||ee!==null&&ee.dehydrated!==null?li=!1:(ee=a.deletions,ee!==null&&0<ee.length&&ee[0].tag===18?(li=!1,me=me.hydrationErrors,me!==null&&Yo(a,a.actualStartTime,g,me)):li=!0),Eo(r,a,s,f,g),li=pe;break;case 23:break;case 22:ee=a.stateNode,me=a.alternate,a.memoizedState!==null?ee._visibility&$l?Eo(r,a,s,f,g):jd(r,a,s,f,g):ee._visibility&$l?Eo(r,a,s,f,g):(ee._visibility|=$l,Or(r,a,s,f,(a.subtreeFlags&10256)!==0||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child),g),(a.mode&qt)===_t||li||(r=a.actualStartTime,0<=r&&.05<g-r&&_c(a,r,g),0<=pt&&0<=bt&&.05<bt-pt&&_c(a,pt,bt))),pe&2048&&Eb(me,a);break;case 24:Eo(r,a,s,f,g),pe&2048&&wb(a.alternate,a);break;default:Eo(r,a,s,f,g)}(a.mode&qt)!==_t&&((r=!li&&a.alternate===null&&a.return!==null&&a.return.alternate!==null)&&(s=a.actualStartTime,0<=s&&.05<g-s&&ya(a,s,g,"Mount")),0<=pt&&0<=bt&&((Sr||.05<ur)&&Va(a,pt,bt,ur,er),r&&.05<bt-pt&&ya(a,pt,bt,"Mount"))),Ra(y),Oa(w),er=A,Sr=j,tf=q}function Or(r,a,s,f,g,y){for(g=g&&((a.subtreeFlags&10256)!==0||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child)),a=a.child;a!==null;){var w=a.sibling;Tm(r,a,s,f,g,w!==null?w.actualStartTime:y),a=w}}function Tm(r,a,s,f,g,y){var w=wa(),A=Wo(),j=ii(),q=Ta(),pe=tf;g&&(a.mode&qt)!==_t&&0<a.actualStartTime&&(a.flags&1)!==0&&Mn(a,a.actualStartTime,y,li,s);var me=a.flags;switch(a.tag){case 0:case 11:case 15:Or(r,a,s,f,g,y),Md(a,ka);break;case 23:break;case 22:var ee=a.stateNode;a.memoizedState!==null?ee._visibility&$l?Or(r,a,s,f,g,y):jd(r,a,s,f,y):(ee._visibility|=$l,Or(r,a,s,f,g,y)),g&&me&2048&&Eb(a.alternate,a);break;case 24:Or(r,a,s,f,g,y),g&&me&2048&&wb(a.alternate,a);break;default:Or(r,a,s,f,g,y)}(a.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(a,pt,bt,ur,er),Ra(w),Oa(A),er=j,Sr=q,tf=pe}function jd(r,a,s,f,g){if(a.subtreeFlags&10256||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child))for(var y=a.child;y!==null;){a=y.sibling;var w=r,A=s,j=f,q=a!==null?a.actualStartTime:g,pe=tf;(y.mode&qt)!==_t&&0<y.actualStartTime&&(y.flags&1)!==0&&Mn(y,y.actualStartTime,q,li,A);var me=y.flags;switch(y.tag){case 22:jd(w,y,A,j,q),me&2048&&Eb(y.alternate,y);break;case 24:jd(w,y,A,j,q),me&2048&&wb(y.alternate,y);break;default:jd(w,y,A,j,q)}tf=pe,y=a}}function ku(r,a,s){if(r.subtreeFlags&W0)for(r=r.child;r!==null;)cw(r,a,s),r=r.sibling}function cw(r,a,s){switch(r.tag){case 26:ku(r,a,s),r.flags&W0&&r.memoizedState!==null&&Kj(s,nu,r.memoizedState,r.memoizedProps);break;case 5:ku(r,a,s);break;case 3:case 4:var f=nu;nu=qm(r.stateNode.containerInfo),ku(r,a,s),nu=f;break;case 22:r.memoizedState===null&&(f=r.alternate,f!==null&&f.memoizedState!==null?(f=W0,W0=16777216,ku(r,a,s),W0=f):ku(r,a,s));break;default:ku(r,a,s)}}function fw(r){var a=r.alternate;if(a!==null&&(r=a.child,r!==null)){a.child=null;do a=r.sibling,r.sibling=null,r=a;while(r!==null)}}function Qs(r){var a=r.deletions;if((r.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var f=a[s],g=wa();Oi=f,hw(f,r),(f.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&ya(f,pt,bt,"Unmount"),Ra(g)}fw(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Rb(r),r=r.sibling}function Rb(r){var a=wa(),s=Wo(),f=ii(),g=Ta();switch(r.tag){case 0:case 11:case 15:Qs(r),r.flags&2048&&bm(r,r.return,ka|_s);break;case 3:var y=Yt();Qs(r),r.stateNode.passiveEffectDuration+=zp(y);break;case 12:y=Yt(),Qs(r),r.stateNode.passiveEffectDuration+=Rc(y);break;case 22:y=r.stateNode,r.memoizedState!==null&&y._visibility&$l&&(r.return===null||r.return.tag!==13)?(y._visibility&=~$l,Ld(r),(r.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&ya(r,pt,bt,"Disconnect")):Qs(r);break;default:Qs(r)}(r.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(r,pt,bt,ur,er),Ra(a),Oa(s),Sr=g,er=f}function Ld(r){var a=r.deletions;if((r.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var f=a[s],g=wa();Oi=f,hw(f,r),(f.mode&qt)!==_t&&0<=pt&&0<=bt&&.05<bt-pt&&ya(f,pt,bt,"Unmount"),Ra(g)}fw(r)}for(r=r.child;r!==null;)dw(r),r=r.sibling}function dw(r){var a=wa(),s=Wo(),f=ii(),g=Ta();switch(r.tag){case 0:case 11:case 15:bm(r,r.return,ka),Ld(r);break;case 22:var y=r.stateNode;y._visibility&$l&&(y._visibility&=~$l,Ld(r));break;default:Ld(r)}(r.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(r,pt,bt,ur,er),Ra(a),Oa(s),Sr=g,er=f}function hw(r,a){for(;Oi!==null;){var s=Oi,f=s,g=a,y=wa(),w=Wo(),A=ii(),j=Ta();switch(f.tag){case 0:case 11:case 15:bm(f,g,ka);break;case 23:case 22:f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(g=f.memoizedState.cachePool.pool,g!=null&&vl(g));break;case 24:Go(f.memoizedState.cache)}if((f.mode&qt)!==_t&&0<=pt&&0<=bt&&(Sr||.05<ur)&&Va(f,pt,bt,ur,er),Ra(y),Oa(w),Sr=j,er=A,f=s.child,f!==null)f.return=s,Oi=f;else e:for(s=r;Oi!==null;){if(f=Oi,y=f.sibling,w=f.return,Rm(f),f===s){Oi=null;break e}if(y!==null){y.return=w,Oi=y;break e}Oi=w}}}function Ej(){wpe.forEach(function(r){return r()})}function pw(){var r=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return r||Ae.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),r}function ua(r){if((fn&ci)!==Ti&&Bt!==0)return Bt&-Bt;var a=Ae.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(r),$b()):Zt()}function Ob(){if(no===0)if((Bt&536870912)===0||en){var r=Jm;Jm<<=1,(Jm&3932160)===0&&(Jm=262144),no=r}else no=536870912;return r=To.current,r!==null&&(r.flags|=32),no}function Jn(r,a,s){if(Mg&&console.error("useInsertionEffect must not schedule updates."),mI&&(mO=!0),(r===$n&&(An===hh||An===ph)||r.cancelPendingCommit!==null)&&(Ml(r,0),ns(r,Bt,no,!1)),mn(r,s),(fn&ci)!==Ti&&r===$n){if(ls)switch(a.tag){case 0:case 11:case 15:r=Vt&&B(Vt)||"Unknown",fG.has(r)||(fG.add(r),a=B(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,r,r));break;case 1:cG||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),cG=!0)}}else fs&&zn(r,a,s),jb(a),r===$n&&((fn&ci)===Ti&&(pf|=s),lr===ff&&ns(r,Bt,no,!1)),is(r)}function xm(r,a,s){if((fn&(ci|Ao))!==Ti)throw Error("Should not already be working.");if(Bt!==0&&Vt!==null){var f=Vt,g=Yr();switch(rY){case K0:case hh:var y=k0;Hn&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Suspended",y,g,hs,void 0,"primary-light")):console.timeStamp("Suspended",y,g,hs,void 0,"primary-light"));break;case ph:y=k0,Hn&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Action",y,g,hs,void 0,"primary-light")):console.timeStamp("Action",y,g,hs,void 0,"primary-light"));break;default:Hn&&(f=g-k0,3>f||console.timeStamp("Blocked",k0,g,hs,void 0,5>f?"primary-light":10>f?"primary":100>f?"primary-dark":"error"))}}y=(s=!s&&(a&127)===0&&(a&r.expiredLanes)===0||ht(r,a))?wj(r,a):Ab(r,a,!0);var w=s;do{if(y===Xl){Cg&&!s&&ns(r,a,0,!1),a=An,k0=Wr(),rY=a;break}else{if(f=Yr(),g=r.current.alternate,w&&!Id(g)){$r(a),g=Ri,y=f,!Hn||y<=g||(Tr?Tr.run(console.timeStamp.bind(console,"Teared Render",g,y,on,nn,"error")):console.timeStamp("Teared Render",g,y,on,nn,"error")),rs(a,f),y=Ab(r,a,!1),w=!1;continue}if(y===dh){if(w=a,r.errorRecoveryDisabledLanes&w)var A=0;else A=r.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){$r(a),xy(Ri,f,a,Tr),rs(a,f),a=A;e:{f=r,y=w,w=J0;var j=f.current.memoizedState.isDehydrated;if(j&&(Ml(f,A).flags|=256),A=Ab(f,A,!1),A!==dh){if(sI&&!j){f.errorRecoveryDisabledLanes|=y,pf|=y,y=ff;break e}f=ja,ja=w,f!==null&&(ja===null?ja=f:ja.push.apply(ja,f))}y=A}if(w=!1,y!==dh)continue;f=Yr()}}if(y===Q0){$r(a),xy(Ri,f,a,Tr),rs(a,f),Ml(r,0),ns(r,a,0,!0);break}e:{switch(s=r,y){case Xl:case Q0:throw Error("Root did not complete. This is a bug in React.");case ff:if((a&4194048)!==a)break;case sO:$r(a),Cp(Ri,f,a,Tr),rs(a,f),g=a,(g&127)!==0?YR=f:(g&4194048)!==0&&(GR=f),ns(s,a,no,!df);break e;case dh:ja=null;break;case oO:case KY:break;default:throw Error("Unknown root exit status.")}if(Ae.actQueue!==null)Nm(s,g,a,ja,eS,cO,no,pf,mh,y,null,null,Ri,f);else{if((a&62914560)===a&&(w=fO+eG-Yr(),10<w)){if(ns(s,a,no,!df),Dt(s,0,!0)!==0)break e;ru=a,s.timeoutHandle=bG(Tb.bind(null,s,g,ja,eS,cO,a,no,pf,mh,df,y,"Throttled",Ri,f),w);break e}Tb(s,g,ja,eS,cO,a,no,pf,mh,df,y,null,Ri,f)}}}break}while(!0);is(r)}function Tb(r,a,s,f,g,y,w,A,j,q,pe,me,ee,Oe){r.timeoutHandle=Sh;var Ge=a.subtreeFlags,Je=null;if((Ge&8192||(Ge&16785408)===16785408)&&(Je={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fo},cw(a,y,Je),Ge=(y&62914560)===y?fO-Yr():(y&4194048)===y?JY-Yr():0,Ge=Zj(Je,Ge),Ge!==null)){ru=y,r.cancelPendingCommit=Ge(Nm.bind(null,r,a,y,s,f,g,w,A,j,pe,Je,Je.waitingForViewTransition?"Waiting for the previous Animation":0<Je.count?0<Je.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Je.imgCount===1?"Suspended on an Image":0<Je.imgCount?"Suspended on Images":null,ee,Oe)),ns(r,y,w,!q);return}Nm(r,a,y,s,f,g,w,A,j,pe,Je,me,ee,Oe)}function Id(r){for(var a=r;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var f=0;f<s.length;f++){var g=s[f],y=g.getSnapshot;g=g.value;try{if(!Ma(y(),g))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ns(r,a,s,f){a&=~uI,a&=~pf,r.suspendedLanes|=a,r.pingedLanes&=~a,f&&(r.warmLanes|=a),f=r.expirationTimes;for(var g=a;0<g;){var y=31-zi(g),w=1<<y;f[y]=-1,g&=~w}s!==0&&St(r,s,a)}function Dl(){return(fn&(ci|Ao))===Ti?(qd(0),!1):!0}function Am(){if(Vt!==null){if(An===to)var r=Vt.return;else r=Vt,ye(),Fy(r),Sg=null,H0=0,r=Vt;for(;r!==null;)pb(r.alternate,r),r=r.return;Vt=null}}function rs(r,a){(r&127)!==0&&(rh=a),(r&4194048)!==0&&(Hl=a),(r&62914560)!==0&&(tY=a),(r&2080374784)!==0&&(nY=a)}function Ml(r,a){Hn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",nn,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",nn,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",nn,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",nn,"primary-light"));var s=Ri;if(Ri=Wr(),Bt!==0&&0<s){if($r(Bt),lr===oO||lr===ff)Cp(s,Ri,a,Tr);else{var f=Ri,g=Tr;if(Hn&&!(f<=s)){var y=(a&738197653)===a?"tertiary-dark":"primary-dark",w=(a&536870912)===a?"Prewarm":(a&201326741)===a?"Interrupted Hydration":"Interrupted Render";g?g.run(console.timeStamp.bind(console,w,s,f,on,nn,y)):console.timeStamp(w,s,f,on,nn,y)}}rs(Bt,Ri)}if(s=Tr,Tr=null,(a&127)!==0){Tr=M0,g=0<=Fu&&Fu<rh?rh:Fu,f=0<=ih&&ih<rh?rh:ih,y=0<=f?f:0<=g?g:Ri,0<=YR?($r(2),RE(YR,y,a,s)):WR&127,s=g;var A=f,j=N0,q=0<vg,pe=sf===D0,me=sf===VR;if(g=Ri,f=M0,y=qL,w=UL,Hn){if(on="Blocking",0<s?s>g&&(s=g):s=g,0<A?A>s&&(A=s):A=s,j!==null&&s>A){var ee=q?"secondary-light":"warning";f?f.run(console.timeStamp.bind(console,q?"Consecutive":"Event: "+j,A,s,on,nn,ee)):console.timeStamp(q?"Consecutive":"Event: "+j,A,s,on,nn,ee)}g>s&&(A=pe?"error":(a&738197653)===a?"tertiary-light":"primary-light",pe=me?"Promise Resolved":pe?"Cascading Update":5<g-s?"Update Blocked":"Update",me=[],w!=null&&me.push(["Component name",w]),y!=null&&me.push(["Method name",y]),s={start:s,end:g,detail:{devtools:{properties:me,track:on,trackGroup:nn,color:A}}},f?f.run(performance.measure.bind(performance,pe,s)):performance.measure(pe,s))}Fu=-1.1,sf=0,UL=qL=null,YR=-1.1,vg=ih,ih=-1.1,rh=Wr()}if((a&4194048)!==0&&(Tr=P0,g=0<=Fl&&Fl<Hl?Hl:Fl,s=0<=bs&&bs<Hl?Hl:bs,f=0<=uf&&uf<Hl?Hl:uf,y=0<=f?f:0<=s?s:Ri,0<=GR?($r(256),RE(GR,y,a,Tr)):WR&4194048,me=f,A=ah,j=0<lf,q=BL===VR,y=Ri,f=P0,w=JV,pe=eY,Hn&&(on="Transition",0<s?s>y&&(s=y):s=y,0<g?g>s&&(g=s):g=s,0<me?me>g&&(me=g):me=g,g>me&&A!==null&&(ee=j?"secondary-light":"warning",f?f.run(console.timeStamp.bind(console,j?"Consecutive":"Event: "+A,me,g,on,nn,ee)):console.timeStamp(j?"Consecutive":"Event: "+A,me,g,on,nn,ee)),s>g&&(f?f.run(console.timeStamp.bind(console,"Action",g,s,on,nn,"primary-dark")):console.timeStamp("Action",g,s,on,nn,"primary-dark")),y>s&&(g=q?"Promise Resolved":5<y-s?"Update Blocked":"Update",me=[],pe!=null&&me.push(["Component name",pe]),w!=null&&me.push(["Method name",w]),s={start:s,end:y,detail:{devtools:{properties:me,track:on,trackGroup:nn,color:"primary-light"}}},f?f.run(performance.measure.bind(performance,g,s)):performance.measure(g,s))),bs=Fl=-1.1,BL=0,GR=-1.1,lf=uf,uf=-1.1,Hl=Wr()),(a&62914560)!==0&&(WR&62914560)!==0&&($r(4194304),bu(tY,Ri)),(a&2080374784)!==0&&(WR&2080374784)!==0&&($r(268435456),bu(nY,Ri)),s=r.timeoutHandle,s!==Sh&&(r.timeoutHandle=Sh,Lpe(s)),s=r.cancelPendingCommit,s!==null&&(r.cancelPendingCommit=null,s()),ru=0,Am(),$n=r,Vt=s=Sa(r.current,null),Bt=a,An=to,Co=null,df=!1,Cg=ht(r,a),sI=!1,lr=Xl,mh=no=uI=pf=hf=0,ja=J0=null,cO=!1,(a&8)!==0&&(a|=a&32),f=r.entangledLanes,f!==0)for(r=r.entanglements,f&=a;0<f;)g=31-zi(f),y=1<<g,a|=r[g],f&=~y;return Yu=a,Dp(),r=GV(),1e3<r-YV&&(Ae.recentlyCreatedOwnerStacks=0,YV=r),eu.discardPendingWarnings(),s}function Qa(r,a){Tt=null,Ae.H=G0,Ae.getCurrentStack=null,ls=!1,Da=null,a===bg||a===ZR?(a=NE(),An=K0):a===YL?(a=NE(),An=ZY):An=a===nI?oI:a!==null&&typeof a=="object"&&typeof a.then=="function"?Z0:uO,Co=a;var s=Vt;s===null?(lr=Q0,Mu(r,qr(a,r.current))):s.mode&qt&&Oc(s)}function ju(){var r=To.current;return r===null?!0:(Bt&4194048)===Bt?Ss===null:(Bt&62914560)===Bt||(Bt&536870912)!==0?r===Ss:!1}function mw(){var r=Ae.H;return Ae.H=G0,r===null?G0:r}function xb(){var r=Ae.A;return Ae.A=Epe,r}function Cm(r){Tr===null&&(Tr=r._debugTask==null?null:r._debugTask)}function Dm(){lr=ff,df||(Bt&4194048)!==Bt&&To.current!==null||(Cg=!0),(hf&134217727)===0&&(pf&134217727)===0||$n===null||ns($n,Bt,no,!1)}function Ab(r,a,s){var f=fn;fn|=ci;var g=mw(),y=xb();if($n!==r||Bt!==a){if(fs){var w=r.memoizedUpdaters;0<w.size&&(zd(r,Bt),w.clear()),nr(r,a)}eS=null,Ml(r,a)}a=!1,w=lr;e:do try{if(An!==to&&Vt!==null){var A=Vt,j=Co;switch(An){case oI:Am(),w=sO;break e;case K0:case hh:case ph:case Z0:To.current===null&&(a=!0);var q=An;if(An=to,Co=null,Uc(r,A,j,q),s&&Cg){w=Xl;break e}break;default:q=An,An=to,Co=null,Uc(r,A,j,q)}}gw(),w=lr;break}catch(pe){Qa(r,pe)}while(!0);return a&&r.shellSuspendCounter++,ye(),fn=f,Ae.H=g,Ae.A=y,Vt===null&&($n=null,Bt=0,Dp()),w}function gw(){for(;Vt!==null;)vw(Vt)}function wj(r,a){var s=fn;fn|=ci;var f=mw(),g=xb();if($n!==r||Bt!==a){if(fs){var y=r.memoizedUpdaters;0<y.size&&(zd(r,Bt),y.clear()),nr(r,a)}eS=null,dO=Yr()+tG,Ml(r,a)}else Cg=ht(r,a);e:do try{if(An!==to&&Vt!==null)t:switch(a=Vt,y=Co,An){case uO:An=to,Co=null,Uc(r,a,y,uO);break;case hh:case ph:if(Bp(y)){An=to,Co=null,yw(a);break}a=function(){An!==hh&&An!==ph||$n!==r||(An=lO),is(r)},y.then(a,a);break e;case K0:An=lO;break e;case ZY:An=aI;break e;case lO:Bp(y)?(An=to,Co=null,yw(a)):(An=to,Co=null,Uc(r,a,y,lO));break;case aI:var w=null;switch(Vt.tag){case 26:w=Vt.memoizedState;case 5:case 27:var A=Vt;if(w?rR(w):A.stateNode.complete){An=to,Co=null;var j=A.sibling;if(j!==null)Vt=j;else{var q=A.return;q!==null?(Vt=q,Mm(q)):Vt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}An=to,Co=null,Uc(r,a,y,aI);break;case Z0:An=to,Co=null,Uc(r,a,y,Z0);break;case oI:Am(),lr=sO;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ae.actQueue!==null?gw():Rj();break}catch(pe){Qa(r,pe)}while(!0);return ye(),Ae.H=f,Ae.A=g,fn=s,Vt!==null?Xl:($n=null,Bt=0,Dp(),lr)}function Rj(){for(;Vt!==null&&!uL();)vw(Vt)}function vw(r){var a=r.alternate;(r.mode&qt)!==_t?(qp(r),a=De(r,vi,a,r,Yu),Oc(r)):a=De(r,vi,a,r,Yu),r.memoizedProps=r.pendingProps,a===null?Mm(r):Vt=a}function yw(r){var a=De(r,Oj,r);r.memoizedProps=r.pendingProps,a===null?Mm(r):Vt=a}function Oj(r){var a=r.alternate,s=(r.mode&qt)!==_t;switch(s&&qp(r),r.tag){case 15:case 0:a=hm(a,r,r.pendingProps,r.type,void 0,Bt);break;case 11:a=hm(a,r,r.pendingProps,r.type.render,r.ref,Bt);break;case 5:Fy(r);default:pb(a,r),r=Vt=Cy(r,Yu),a=vi(a,r,Yu)}return s&&Oc(r),a}function Uc(r,a,s,f){ye(),Fy(a),Sg=null,H0=0;var g=a.return;try{if(yj(r,g,a,s,Bt)){lr=Q0,Mu(r,qr(s,r.current)),Vt=null;return}}catch(y){if(g!==null)throw Vt=g,y;lr=Q0,Mu(r,qr(s,r.current)),Vt=null;return}a.flags&32768?(en||f===uO?r=!0:Cg||(Bt&536870912)!==0?r=!1:(df=r=!0,(f===hh||f===ph||f===K0||f===Z0)&&(f=To.current,f!==null&&f.tag===13&&(f.flags|=16384))),Cb(a,r)):Mm(a)}function Mm(r){var a=r;do{if((a.flags&32768)!==0){Cb(a,df);return}var s=a.alternate;if(r=a.return,qp(a),s=De(a,iw,s,a,Yu),(a.mode&qt)!==_t&&ky(a),s!==null){Vt=s;return}if(a=a.sibling,a!==null){Vt=a;return}Vt=a=r}while(a!==null);lr===Xl&&(lr=KY)}function Cb(r,a){do{var s=bj(r.alternate,r);if(s!==null){s.flags&=32767,Vt=s;return}if((r.mode&qt)!==_t){ky(r),s=r.actualDuration;for(var f=r.child;f!==null;)s+=f.actualDuration,f=f.sibling;r.actualDuration=s}if(s=r.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(r=r.sibling,r!==null)){Vt=r;return}Vt=r=s}while(r!==null);lr=sO,Vt=null}function Nm(r,a,s,f,g,y,w,A,j,q,pe,me,ee,Oe){r.cancelPendingCommit=null;do $d();while(Jr!==gf);if(eu.flushLegacyContextWarning(),eu.flushPendingUnsafeLifecycleWarnings(),(fn&(ci|Ao))!==Ti)throw Error("Should not already be working.");if($r(s),q===dh?xy(ee,Oe,s,Tr):f!==null?gj(ee,Oe,s,f,a!==null&&a.alternate!==null&&a.alternate.memoizedState.isDehydrated&&(a.flags&256)!==0,Tr):mj(ee,Oe,s,Tr),a!==null){if(s===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===r.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(y=a.lanes|a.childLanes,y|=jL,ot(r,s,y,w,A,j),r===$n&&(Vt=$n=null,Bt=0),Dg=a,vf=r,ru=s,fI=y,hI=g,sG=f,dI=Oe,uG=me,iu=hO,lG=null,a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,Dj(Qc,function(){return oS=window.event,iu===hO&&(iu=cI),_w(),null})):(r.callbackNode=null,r.callbackPriority=0),Bl=null,of=Wr(),me!==null&&OE(Oe,of,me,Tr),f=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||f){f=Ae.T,Ae.T=null,g=cn.p,cn.p=Ja,w=fn,fn|=Ao;try{Sb(r,a,s)}finally{fn=w,cn.p=g,Ae.T=f}}Jr=rG,Db(),bw(),Sw()}}function Db(){if(Jr===rG){Jr=gf;var r=vf,a=Dg,s=ru,f=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||f){f=Ae.T,Ae.T=null;var g=cn.p;cn.p=Ja;var y=fn;fn|=Ao;try{xg=s,Ag=r,yl(),Om(a,r),Ag=xg=null,s=RI;var w=Ry(r.containerInfo),A=s.focusedElem,j=s.selectionRange;if(w!==A&&A&&A.ownerDocument&&wy(A.ownerDocument.documentElement,A)){if(j!==null&&Ap(A)){var q=j.start,pe=j.end;if(pe===void 0&&(pe=q),"selectionStart"in A)A.selectionStart=q,A.selectionEnd=Math.min(pe,A.value.length);else{var me=A.ownerDocument||document,ee=me&&me.defaultView||window;if(ee.getSelection){var Oe=ee.getSelection(),Ge=A.textContent.length,Je=Math.min(j.start,Ge),qn=j.end===void 0?Je:Math.min(j.end,Ge);!Oe.extend&&Je>qn&&(w=qn,qn=Je,Je=w);var rn=va(A,Je),J=va(A,qn);if(rn&&J&&(Oe.rangeCount!==1||Oe.anchorNode!==rn.node||Oe.anchorOffset!==rn.offset||Oe.focusNode!==J.node||Oe.focusOffset!==J.offset)){var ne=me.createRange();ne.setStart(rn.node,rn.offset),Oe.removeAllRanges(),Je>qn?(Oe.addRange(ne),Oe.extend(J.node,J.offset)):(ne.setEnd(J.node,J.offset),Oe.addRange(ne))}}}}for(me=[],Oe=A;Oe=Oe.parentNode;)Oe.nodeType===1&&me.push({element:Oe,left:Oe.scrollLeft,top:Oe.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<me.length;A++){var he=me[A];he.element.scrollLeft=he.left,he.element.scrollTop=he.top}}CO=!!wI,RI=wI=null}finally{fn=y,cn.p=g,Ae.T=f}}r.current=a,Jr=iG}}function bw(){if(Jr===iG){Jr=gf;var r=lG;if(r!==null){of=Wr();var a=Ul,s=of;!Hn||s<=a||console.timeStamp(r,a,s,on,nn,"secondary-light")}r=vf,a=Dg,s=ru;var f=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||f){f=Ae.T,Ae.T=null;var g=cn.p;cn.p=Ja;var y=fn;fn|=Ao;try{xg=s,Ag=r,yl(),wm(r,a.alternate,a),Ag=xg=null}finally{fn=y,cn.p=g,Ae.T=f}}r=dI,a=uG,Ul=Wr(),r=a===null?r:of,a=Ul,s=iu===lI,f=Tr,Bl!==null?ad(r,a,Bl,!1,f):!Hn||a<=r||(f?f.run(console.timeStamp.bind(console,s?"Commit Interrupted View Transition":"Commit",r,a,on,nn,s?"error":"secondary-dark")):console.timeStamp(s?"Commit Interrupted View Transition":"Commit",r,a,on,nn,s?"error":"secondary-dark")),Jr=aG}}function Sw(){if(Jr===oG||Jr===aG){if(Jr===oG){var r=Ul;Ul=Wr();var a=Ul,s=iu===lI;!Hn||a<=r||console.timeStamp(s?"Interrupted View Transition":"Starting Animation",r,a,on,nn,s?" error":"secondary-light"),iu!==lI&&(iu=nG)}Jr=gf,lL(),r=vf;var f=Dg;a=ru,s=sG;var g=f.actualDuration!==0||(f.subtreeFlags&10256)!==0||(f.flags&10256)!==0;g?Jr=pO:(Jr=gf,Dg=vf=null,Mb(r,r.pendingLanes),gh=0,nS=null);var y=r.pendingLanes;if(y===0&&(mf=null),g||ww(r),y=On(a),f=f.stateNode,Ei&&typeof Ei.onCommitFiberRoot=="function")try{var w=(f.current.flags&128)===128;switch(y){case Ja:var A=Km;break;case ds:A=v0;break;case Ks:A=Qc;break;case tg:A=y0;break;default:A=Qc}Ei.onCommitFiberRoot(Kc,f,A,w)}catch(me){cs||(cs=!0,console.error("React instrumentation encountered an error: %o",me))}if(fs&&r.memoizedUpdaters.clear(),Ej(),s!==null){w=Ae.T,A=cn.p,cn.p=Ja,Ae.T=null;try{var j=r.onRecoverableError;for(f=0;f<s.length;f++){var q=s[f],pe=Tj(q.stack);De(q.source,j,q.value,pe)}}finally{Ae.T=w,cn.p=A}}(ru&3)!==0&&$d(),is(r),y=r.pendingLanes,(a&261930)!==0&&(y&42)!==0?(QR=!0,r===pI?tS++:(tS=0,pI=r)):tS=0,g||rs(a,Ul),qd(0)}}function Tj(r){return r={componentStack:r},Object.defineProperty(r,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),r}function Mb(r,a){(r.pooledCacheLanes&=a)===0&&(a=r.pooledCache,a!=null&&(r.pooledCache=null,Go(a)))}function $d(){return Db(),bw(),Sw(),_w()}function _w(){if(Jr!==pO)return!1;var r=vf,a=fI;fI=0;var s=On(ru),f=Ks>s?Ks:s;s=Ae.T;var g=cn.p;try{cn.p=f,Ae.T=null;var y=hI;hI=null,f=vf;var w=ru;if(Jr=gf,Dg=vf=null,ru=0,(fn&(ci|Ao))!==Ti)throw Error("Cannot flush passive effects while already rendering.");$r(w),mI=!0,mO=!1;var A=0;if(Bl=null,A=Yr(),iu===nG)bu(Ul,A,mpe);else{var j=Ul,q=A,pe=iu===cI;!Hn||q<=j||(Tr?Tr.run(console.timeStamp.bind(console,pe?"Waiting for Paint":"Waiting",j,q,on,nn,"secondary-light")):console.timeStamp(pe?"Waiting for Paint":"Waiting",j,q,on,nn,"secondary-light"))}j=fn,fn|=Ao;var me=f.current;yl(),Rb(me);var ee=f.current;me=dI,yl(),ts(f,ee,w,y,me),ww(f),fn=j;var Oe=Yr();if(ee=A,me=Tr,Bl!==null?ad(ee,Oe,Bl,!0,me):!Hn||Oe<=ee||(me?me.run(console.timeStamp.bind(console,"Remaining Effects",ee,Oe,on,nn,"secondary-dark")):console.timeStamp("Remaining Effects",ee,Oe,on,nn,"secondary-dark")),rs(w,Oe),qd(0,!1),mO?f===nS?gh++:(gh=0,nS=f):gh=0,mO=mI=!1,Ei&&typeof Ei.onPostCommitFiberRoot=="function")try{Ei.onPostCommitFiberRoot(Kc,f)}catch(Je){cs||(cs=!0,console.error("React instrumentation encountered an error: %o",Je))}var Ge=f.current.stateNode;return Ge.effectDuration=0,Ge.passiveEffectDuration=0,!0}finally{cn.p=g,Ae.T=s,Mb(r,a)}}function Ew(r,a,s){a=qr(s,a),hd(a),a=ab(r.stateNode,a,2),r=Ou(r,a,2),r!==null&&(mn(r,2),is(r))}function gn(r,a,s){if(Mg=!1,r.tag===3)Ew(r,r,s);else{for(;a!==null;){if(a.tag===3){Ew(a,r,s);return}if(a.tag===1){var f=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(mf===null||!mf.has(f))){r=qr(s,r),hd(r),s=ob(2),f=Ou(a,s,2),f!==null&&(aa(s,f,a,r),mn(f,2),is(f));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
200
|
+
|
|
201
|
+
Error message:
|
|
202
|
+
|
|
203
|
+
%s`,s)}}function Nb(r,a,s){var f=r.pingCache;if(f===null){f=r.pingCache=new Rpe;var g=new Set;f.set(a,g)}else g=f.get(a),g===void 0&&(g=new Set,f.set(a,g));g.has(s)||(sI=!0,g.add(s),f=xj.bind(null,r,a,s),fs&&zd(r,s),a.then(f,f))}function xj(r,a,s){var f=r.pingCache;f!==null&&f.delete(a),r.pingedLanes|=r.suspendedLanes&s,r.warmLanes&=~s,(s&127)!==0?0>Fu&&(rh=Fu=Wr(),M0=FR("Promise Resolved"),sf=VR):(s&4194048)!==0&&0>bs&&(Hl=bs=Wr(),P0=FR("Promise Resolved"),BL=VR),pw()&&Ae.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
204
|
+
|
|
205
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
206
|
+
|
|
207
|
+
act(() => {
|
|
208
|
+
/* finish loading suspended data */
|
|
209
|
+
});
|
|
210
|
+
/* assert on the output */
|
|
211
|
+
|
|
212
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),$n===r&&(Bt&s)===s&&(lr===ff||lr===oO&&(Bt&62914560)===Bt&&Yr()-fO<eG?(fn&ci)===Ti&&Ml(r,0):uI|=s,mh===Bt&&(mh=0)),is(r)}function Aa(r,a){a===0&&(a=an()),r=zr(r,a),r!==null&&(mn(r,a),is(r))}function Aj(r){var a=r.memoizedState,s=0;a!==null&&(s=a.retryLane),Aa(r,s)}function Cj(r,a){var s=0;switch(r.tag){case 31:case 13:var f=r.stateNode,g=r.memoizedState;g!==null&&(s=g.retryLane);break;case 19:f=r.stateNode;break;case 22:f=r.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}f!==null&&f.delete(a),Aa(r,s)}function Pb(r,a,s){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var f=r,g=a,y=g.type===Wc;y=s||y,g.tag!==22?g.flags&67108864?y&&De(g,kb,f,g):Pb(f,g,y):g.memoizedState===null&&(y&&g.flags&8192?De(g,kb,f,g):g.subtreeFlags&67108864&&De(g,Pb,f,g,y)),a=a.sibling}}function kb(r,a){Ye(!0);try{uw(a),dw(a),lw(r,a.alternate,a,!1),Tm(r,a,0,null,!1,0)}finally{Ye(!1)}}function ww(r){var a=!0;r.current.mode&(ca|Js)||(a=!1),Pb(r,r.current,a)}function Rw(r){if((fn&ci)===Ti){var a=r.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=B(r)||"ReactComponent",gO!==null){if(gO.has(a))return;gO.add(a)}else gO=new Set([a]);De(r,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function zd(r,a){fs&&r.memoizedUpdaters.forEach(function(s){zn(r,s,a)})}function Dj(r,a){var s=Ae.actQueue;return s!==null?(s.push(a),xpe):g0(r,a)}function jb(r){pw()&&Ae.actQueue===null&&De(r,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
213
|
+
|
|
214
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
215
|
+
|
|
216
|
+
act(() => {
|
|
217
|
+
/* fire events that update state */
|
|
218
|
+
});
|
|
219
|
+
/* assert on the output */
|
|
220
|
+
|
|
221
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,B(r))})}function is(r){r!==Ng&&r.next===null&&(Ng===null?vO=Ng=r:Ng=Ng.next=r),yO=!0,Ae.actQueue!==null?vI||(vI=!0,Aw()):gI||(gI=!0,Aw())}function qd(r,a){if(!yI&&yO){yI=!0;do for(var s=!1,f=vO;f!==null;){if(r!==0){var g=f.pendingLanes;if(g===0)var y=0;else{var w=f.suspendedLanes,A=f.pingedLanes;y=(1<<31-zi(42|r)+1)-1,y&=g&~(w&~A),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(s=!0,xw(f,y))}else y=Bt,y=Dt(f,f===$n?y:0,f.cancelPendingCommit!==null||f.timeoutHandle!==Sh),(y&3)===0||ht(f,y)||(s=!0,xw(f,y));f=f.next}while(s);yI=!1}}function Mj(){oS=window.event,Lb()}function Lb(){yO=vI=gI=!1;var r=0;yf!==0&&$j()&&(r=yf);for(var a=Yr(),s=null,f=vO;f!==null;){var g=f.next,y=Ow(f,a);y===0?(f.next=null,s===null?vO=g:s.next=g,g===null&&(Ng=s)):(s=f,(r!==0||(y&3)!==0)&&(yO=!0)),f=g}Jr!==gf&&Jr!==pO||qd(r),yf!==0&&(yf=0)}function Ow(r,a){for(var s=r.suspendedLanes,f=r.pingedLanes,g=r.expirationTimes,y=r.pendingLanes&-62914561;0<y;){var w=31-zi(y),A=1<<w,j=g[w];j===-1?((A&s)===0||(A&f)!==0)&&(g[w]=at(A,a)):j<=a&&(r.expiredLanes|=A),y&=~A}if(a=$n,s=Bt,s=Dt(r,r===a?s:0,r.cancelPendingCommit!==null||r.timeoutHandle!==Sh),f=r.callbackNode,s===0||r===a&&(An===hh||An===ph)||r.cancelPendingCommit!==null)return f!==null&&Ib(f),r.callbackNode=null,r.callbackPriority=0;if((s&3)===0||ht(r,s)){if(a=s&-s,a!==r.callbackPriority||Ae.actQueue!==null&&f!==bI)Ib(f);else return a;switch(On(s)){case Ja:case ds:s=v0;break;case Ks:s=Qc;break;case tg:s=y0;break;default:s=Qc}return f=Tw.bind(null,r),Ae.actQueue!==null?(Ae.actQueue.push(f),s=bI):s=g0(s,f),r.callbackPriority=a,r.callbackNode=s,a}return f!==null&&Ib(f),r.callbackPriority=2,r.callbackNode=null,2}function Tw(r,a){if(QR=XR=!1,oS=window.event,Jr!==gf&&Jr!==pO)return r.callbackNode=null,r.callbackPriority=0,null;var s=r.callbackNode;if(iu===hO&&(iu=cI),$d()&&r.callbackNode!==s)return null;var f=Bt;return f=Dt(r,r===$n?f:0,r.cancelPendingCommit!==null||r.timeoutHandle!==Sh),f===0?null:(xm(r,f,a),Ow(r,Yr()),r.callbackNode!=null&&r.callbackNode===s?Tw.bind(null,r):null)}function xw(r,a){if($d())return null;XR=QR,QR=!1,xm(r,a,!0)}function Ib(r){r!==bI&&r!==null&&sL(r)}function Aw(){Ae.actQueue!==null&&Ae.actQueue.push(function(){return Lb(),null}),Ipe(function(){(fn&(ci|Ao))!==Ti?g0(Km,Mj):Lb()})}function $b(){if(yf===0){var r=oh;r===0&&(r=Zm,Zm<<=1,(Zm&261888)===0&&(Zm=256)),yf=r}return yf}function Cw(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:(ke(r,"action"),bc(""+r))}function Dw(r,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,r.id&&s.setAttribute("form",r.id),a.parentNode.insertBefore(s,a),r=new FormData(r),s.parentNode.removeChild(s),r}function Nj(r,a,s,f,g){if(a==="submit"&&s&&s.stateNode===g){var y=Cw((g[qi]||null).action),w=f.submitter;w&&(a=(a=w[qi]||null)?Cw(a.formAction):w.getAttribute("formAction"),a!==null&&(y=a,w=null));var A=new Mt("action","action",null,f,g);r.push({event:A,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(yf!==0){var j=w?Dw(g,w):new FormData(g),q={pending:!0,data:j,method:g.method,action:y};Object.freeze(q),nb(s,q,null,j)}}else typeof y=="function"&&(A.preventDefault(),j=w?Dw(g,w):new FormData(g),q={pending:!0,data:j,method:g.method,action:y},Object.freeze(q),nb(s,q,y,j))},currentTarget:g}]})}}function Pm(r,a,s){r.currentTarget=s;try{a(r)}catch(f){ML(f)}r.currentTarget=null}function Mw(r,a){a=(a&4)!==0;for(var s=0;s<r.length;s++){var f=r[s];e:{var g=void 0,y=f.event;if(f=f.listeners,a)for(var w=f.length-1;0<=w;w--){var A=f[w],j=A.instance,q=A.currentTarget;if(A=A.listener,j!==g&&y.isPropagationStopped())break e;j!==null?De(j,Pm,y,A,q):Pm(y,A,q),g=j}else for(w=0;w<f.length;w++){if(A=f[w],j=A.instance,q=A.currentTarget,A=A.listener,j!==g&&y.isPropagationStopped())break e;j!==null?De(j,Pm,y,A,q):Pm(y,A,q),g=j}}}}function Xt(r,a){SI.has(r)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',r);var s=a[b0];s===void 0&&(s=a[b0]=new Set);var f=r+"__bubble";s.has(f)||(Nw(a,r,2,!1),s.add(f))}function zb(r,a,s){SI.has(r)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',r);var f=0;a&&(f|=4),Nw(s,r,f,a)}function qb(r){if(!r[bO]){r[bO]=!0,yR.forEach(function(s){s!=="selectionchange"&&(SI.has(s)||zb(s,!1,r),zb(s,!0,r))});var a=r.nodeType===9?r:r.ownerDocument;a===null||a[bO]||(a[bO]=!0,zb("selectionchange",!1,a))}}function Nw(r,a,s,f){switch(Yc(a)){case Ja:var g=tL;break;case ds:g=nL;break;default:g=r0}s=g.bind(null,a,s,r),g=void 0,!ze||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(g=!0),f?g!==void 0?r.addEventListener(a,s,{capture:!0,passive:g}):r.addEventListener(a,s,!0):g!==void 0?r.addEventListener(a,s,{passive:g}):r.addEventListener(a,s,!1)}function Ub(r,a,s,f,g){var y=f;if((a&1)===0&&(a&2)===0&&f!==null)e:for(;;){if(f===null)return;var w=f.tag;if(w===3||w===4){var A=f.stateNode.containerInfo;if(A===g)break;if(w===4)for(w=f.return;w!==null;){var j=w.tag;if((j===3||j===4)&&w.stateNode.containerInfo===g)return;w=w.return}for(;A!==null;){if(w=qe(A),w===null)return;if(j=w.tag,j===5||j===6||j===26||j===27){f=y=w;continue e}A=A.parentNode}}f=f.return}mE(function(){var q=y,pe=wp(s),me=[];e:{var ee=VV.get(r);if(ee!==void 0){var Oe=Mt,Ge=r;switch(r){case"keypress":if(Rp(s)===0)break e;case"keydown":case"keyup":Oe=Bhe;break;case"focusin":Ge="focus",Oe=OL;break;case"focusout":Ge="blur",Oe=OL;break;case"beforeblur":case"afterblur":Oe=OL;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":Oe=sr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=Zs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=Vhe;break;case UV:case BV:case HV:Oe=Phe;break;case FV:Oe=Ghe;break;case"scroll":case"scrollend":Oe=Qt;break;case"wheel":Oe=Xhe;break;case"copy":case"cut":case"paste":Oe=jhe;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=PV;break;case"toggle":case"beforetoggle":Oe=Khe}var Je=(a&4)!==0,qn=!Je&&(r==="scroll"||r==="scrollend"),rn=Je?ee!==null?ee+"Capture":null:ee;Je=[];for(var J=q,ne;J!==null;){var he=J;if(ne=he.stateNode,he=he.tag,he!==5&&he!==26&&he!==27||ne===null||rn===null||(he=id(J,rn),he!=null&&Je.push(Nl(J,he,ne))),qn)break;J=J.return}0<Je.length&&(ee=new Oe(ee,Ge,null,s,pe),me.push({event:ee,listeners:Je}))}}if((a&7)===0){e:{if(ee=r==="mouseover"||r==="pointerover",Oe=r==="mouseout"||r==="pointerout",ee&&s!==I&&(Ge=s.relatedTarget||s.fromElement)&&(qe(Ge)||Ge[Bu]))break e;if((Oe||ee)&&(ee=pe.window===pe?pe:(ee=pe.ownerDocument)?ee.defaultView||ee.parentWindow:window,Oe?(Ge=s.relatedTarget||s.toElement,Oe=q,Ge=Ge?qe(Ge):null,Ge!==null&&(qn=T(Ge),Je=Ge.tag,Ge!==qn||Je!==5&&Je!==27&&Je!==6)&&(Ge=null)):(Oe=null,Ge=q),Oe!==Ge)){if(Je=sr,he="onMouseLeave",rn="onMouseEnter",J="mouse",(r==="pointerout"||r==="pointerover")&&(Je=PV,he="onPointerLeave",rn="onPointerEnter",J="pointer"),qn=Oe==null?ee:Ze(Oe),ne=Ge==null?ee:Ze(Ge),ee=new Je(he,J+"leave",Oe,s,pe),ee.target=qn,ee.relatedTarget=ne,he=null,qe(pe)===q&&(Je=new Je(rn,J+"enter",Ge,s,pe),Je.target=ne,Je.relatedTarget=qn,he=Je),qn=he,Oe&&Ge)t:{for(Je=Pj,rn=Oe,J=Ge,ne=0,he=rn;he;he=Je(he))ne++;he=0;for(var je=J;je;je=Je(je))he++;for(;0<ne-he;)rn=Je(rn),ne--;for(;0<he-ne;)J=Je(J),he--;for(;ne--;){if(rn===J||J!==null&&rn===J.alternate){Je=rn;break t}rn=Je(rn),J=Je(J)}Je=null}else Je=null;Oe!==null&&Pw(me,ee,Oe,Je,!1),Ge!==null&&qn!==null&&Pw(me,qn,Ge,Je,!0)}}e:{if(ee=q?Ze(q):window,Oe=ee.nodeName&&ee.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&ee.type==="file")var Xe=SE;else if(kn(ee))if(zV)Xe=Ey;else{Xe=hj;var xt=wE}else Oe=ee.nodeName,!Oe||Oe.toLowerCase()!=="input"||ee.type!=="checkbox"&&ee.type!=="radio"?q&&cl(q.elementType)&&(Xe=SE):Xe=ri;if(Xe&&(Xe=Xe(r,q))){bE(me,Xe,s,pe);break e}xt&&xt(r,ee,q),r==="focusout"&&q&&ee.type==="number"&&q.memoizedProps.value!=null&&hi(ee,"number",ee.value)}switch(xt=q?Ze(q):window,r){case"focusin":(kn(xt)||xt.contentEditable==="true")&&(lg=xt,xL=q,x0=null);break;case"focusout":x0=xL=lg=null;break;case"mousedown":AL=!0;break;case"contextmenu":case"mouseup":case"dragend":AL=!1,Oy(me,s,pe);break;case"selectionchange":if(tpe)break;case"keydown":case"keyup":Oy(me,s,pe)}var dt;if(TL)e:{switch(r){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else ug?vE(r,s)&&(st="onCompositionEnd"):r==="keydown"&&s.keyCode===kV&&(st="onCompositionStart");st&&(jV&&s.locale!=="ko"&&(ug||st!=="onCompositionStart"?st==="onCompositionEnd"&&ug&&(dt=by()):(Ue=pe,We="value"in Ue?Ue.value:Ue.textContent,ug=!0)),xt=Ud(q,st),0<xt.length&&(st=new NV(st,r,null,s,pe),me.push({event:st,listeners:xt}),dt?st.data=dt:(dt=yE(s),dt!==null&&(st.data=dt)))),(dt=Jhe?cj(r,s):fj(r,s))&&(st=Ud(q,"onBeforeInput"),0<st.length&&(xt=new Ihe("onBeforeInput","beforeinput",null,s,pe),me.push({event:xt,listeners:st}),xt.data=dt)),Nj(me,r,q,s,pe)}Mw(me,a)})}function Nl(r,a,s){return{instance:r,listener:a,currentTarget:s}}function Ud(r,a){for(var s=a+"Capture",f=[];r!==null;){var g=r,y=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||y===null||(g=id(r,s),g!=null&&f.unshift(Nl(r,g,y)),g=id(r,a),g!=null&&f.push(Nl(r,g,y))),r.tag===3)return f;r=r.return}return[]}function Pj(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function Pw(r,a,s,f,g){for(var y=a._reactName,w=[];s!==null&&s!==f;){var A=s,j=A.alternate,q=A.stateNode;if(A=A.tag,j!==null&&j===f)break;A!==5&&A!==26&&A!==27||q===null||(j=q,g?(q=id(s,y),q!=null&&w.unshift(Nl(s,q,j))):g||(q=id(s,y),q!=null&&w.push(Nl(s,q,j)))),s=s.return}w.length!==0&&r.push({event:a,listeners:w})}function Bb(r,a){dE(r,a),r!=="input"&&r!=="textarea"&&r!=="select"||a==null||a.value!==null||LR||(LR=!0,r==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",r):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",r));var s={registrationNameDependencies:Ll,possibleRegistrationNames:Jd};cl(r)||typeof a.is=="string"||hE(r,a,s),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Vr(r,a,s,f){a!==s&&(s=Lu(s),Lu(a)!==s&&(f[r]=a))}function kj(r,a,s){a.forEach(function(f){s[jw(f)]=f==="style"?Fb(r):r.getAttribute(f)})}function as(r,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",r,r,r):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",r,typeof a)}function kw(r,a){return r=r.namespaceURI===og||r.namespaceURI===Jc?r.ownerDocument.createElementNS(r.namespaceURI,r.tagName):r.ownerDocument.createElement(r.tagName),r.innerHTML=a,r.innerHTML}function Lu(r){return Ve(r)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Qe(r)),He(r)),(typeof r=="string"?r:""+r).replace(Ape,`
|
|
222
|
+
`).replace(Cpe,"")}function Hb(r,a){return a=Lu(a),Lu(r)===a}function xn(r,a,s,f,g,y){switch(s){case"children":typeof f=="string"?(Fa(f,a,!1),a==="body"||a==="textarea"&&f===""||ki(r,f)):(typeof f=="number"||typeof f=="bigint")&&(Fa(""+f,a,!1),a!=="body"&&ki(r,""+f));break;case"className":po(r,"class",f);break;case"tabIndex":po(r,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":po(r,s,f);break;case"style":ll(r,f,y);break;case"data":if(a!=="object"){po(r,"data",f);break}case"src":case"href":if(f===""&&(a!=="a"||s!=="href")){console.error(s==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',s,s),r.removeAttribute(s);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){r.removeAttribute(s);break}ke(f,s),f=bc(""+f),r.setAttribute(s,f);break;case"action":case"formAction":if(f!=null&&(a==="form"?s==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof f=="function"&&(g.encType==null&&g.method==null||EO||(EO=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),g.target==null||_O||(_O=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?s==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||g.type==="submit"||g.type==="image"||SO?a!=="button"||g.type==null||g.type==="submit"||SO?typeof f=="function"&&(g.name==null||pG||(pG=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),g.formEncType==null&&g.formMethod==null||EO||(EO=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),g.formTarget==null||_O||(_O=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(SO=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(SO=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(s==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof f=="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 y=="function"&&(s==="formAction"?(a!=="input"&&xn(r,a,"name",g.name,g,null),xn(r,a,"formEncType",g.formEncType,g,null),xn(r,a,"formMethod",g.formMethod,g,null),xn(r,a,"formTarget",g.formTarget,g,null)):(xn(r,a,"encType",g.encType,g,null),xn(r,a,"method",g.method,g,null),xn(r,a,"target",g.target,g,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){r.removeAttribute(s);break}ke(f,s),f=bc(""+f),r.setAttribute(s,f);break;case"onClick":f!=null&&(typeof f!="function"&&as(s,f),r.onclick=Fo);break;case"onScroll":f!=null&&(typeof f!="function"&&as(s,f),Xt("scroll",r));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&as(s,f),Xt("scrollend",r));break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=f.__html,s!=null){if(g.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");r.innerHTML=s}}break;case"multiple":r.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":r.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){r.removeAttribute("xlink:href");break}ke(f,s),s=bc(""+f),r.setAttributeNS(vh,"xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?(ke(f,s),r.setAttribute(s,""+f)):r.removeAttribute(s);break;case"inert":f!==""||wO[s]||(wO[s]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",s));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":f&&typeof f!="function"&&typeof f!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":f===!0?r.setAttribute(s,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?(ke(f,s),r.setAttribute(s,f)):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?(ke(f,s),r.setAttribute(s,f)):r.removeAttribute(s);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?r.removeAttribute(s):(ke(f,s),r.setAttribute(s,f));break;case"popover":Xt("beforetoggle",r),Xt("toggle",r),ma(r,"popover",f);break;case"xlinkActuate":dr(r,vh,"xlink:actuate",f);break;case"xlinkArcrole":dr(r,vh,"xlink:arcrole",f);break;case"xlinkRole":dr(r,vh,"xlink:role",f);break;case"xlinkShow":dr(r,vh,"xlink:show",f);break;case"xlinkTitle":dr(r,vh,"xlink:title",f);break;case"xlinkType":dr(r,vh,"xlink:type",f);break;case"xmlBase":dr(r,_I,"xml:base",f);break;case"xmlLang":dr(r,_I,"xml:lang",f);break;case"xmlSpace":dr(r,_I,"xml:space",f);break;case"is":y!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ma(r,"is",f);break;case"innerText":case"textContent":break;case"popoverTarget":mG||f==null||typeof f!="object"||(mG=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",f));default:!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N"?(s=fl(s),ma(r,s,f)):Ll.hasOwnProperty(s)&&f!=null&&typeof f!="function"&&as(s,f)}}function Bc(r,a,s,f,g,y){switch(s){case"style":ll(r,f,y);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=f.__html,s!=null){if(g.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");r.innerHTML=s}}break;case"children":typeof f=="string"?ki(r,f):(typeof f=="number"||typeof f=="bigint")&&ki(r,""+f);break;case"onScroll":f!=null&&(typeof f!="function"&&as(s,f),Xt("scroll",r));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&as(s,f),Xt("scrollend",r));break;case"onClick":f!=null&&(typeof f!="function"&&as(s,f),r.onclick=Fo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ll.hasOwnProperty(s))f!=null&&typeof f!="function"&&as(s,f);else e:{if(s[0]==="o"&&s[1]==="n"&&(g=s.endsWith("Capture"),a=s.slice(2,g?s.length-7:void 0),y=r[qi]||null,y=y!=null?y[s]:null,typeof y=="function"&&r.removeEventListener(a,y,g),typeof f=="function")){typeof y!="function"&&y!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(a,f,g);break e}s in r?r[s]=f:f===!0?r.setAttribute(s,""):ma(r,s,f)}}}function si(r,a,s){switch(Bb(a,s),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xt("error",r),Xt("load",r);var f=!1,g=!1,y;for(y in s)if(s.hasOwnProperty(y)){var w=s[y];if(w!=null)switch(y){case"src":f=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xn(r,a,y,w,s,null)}}g&&xn(r,a,"srcSet",s.srcSet,s,null),f&&xn(r,a,"src",s.src,s,null);return;case"input":fr("input",s),Xt("invalid",r);var A=y=w=g=null,j=null,q=null;for(f in s)if(s.hasOwnProperty(f)){var pe=s[f];if(pe!=null)switch(f){case"name":g=pe;break;case"type":w=pe;break;case"checked":j=pe;break;case"defaultChecked":q=pe;break;case"value":y=pe;break;case"defaultValue":A=pe;break;case"children":case"dangerouslySetInnerHTML":if(pe!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xn(r,a,f,pe,s,null)}}ga(r,s),rr(r,y,A,j,q,w,g,!1);return;case"select":fr("select",s),Xt("invalid",r),f=w=y=null;for(g in s)if(s.hasOwnProperty(g)&&(A=s[g],A!=null))switch(g){case"value":y=A;break;case"defaultValue":w=A;break;case"multiple":f=A;default:xn(r,a,g,A,s,null)}qo(r,s),a=y,s=w,r.multiple=!!f,a!=null?vn(r,!!f,a,!1):s!=null&&vn(r,!!f,s,!0);return;case"textarea":fr("textarea",s),Xt("invalid",r),y=g=f=null;for(w in s)if(s.hasOwnProperty(w)&&(A=s[w],A!=null))switch(w){case"value":f=A;break;case"defaultValue":g=A;break;case"children":y=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:xn(r,a,w,A,s,null)}mu(r,s),Qn(r,f,g,y);return;case"option":js(r,s);for(j in s)if(s.hasOwnProperty(j)&&(f=s[j],f!=null))switch(j){case"selected":r.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:xn(r,a,j,f,s,null)}return;case"dialog":Xt("beforetoggle",r),Xt("toggle",r),Xt("cancel",r),Xt("close",r);break;case"iframe":case"object":Xt("load",r);break;case"video":case"audio":for(f=0;f<rS.length;f++)Xt(rS[f],r);break;case"image":Xt("error",r),Xt("load",r);break;case"details":Xt("toggle",r);break;case"embed":case"source":case"link":Xt("error",r),Xt("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(q in s)if(s.hasOwnProperty(q)&&(f=s[q],f!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xn(r,a,q,f,s,null)}return;default:if(cl(a)){for(pe in s)s.hasOwnProperty(pe)&&(f=s[pe],f!==void 0&&Bc(r,a,pe,f,s,void 0));return}}for(A in s)s.hasOwnProperty(A)&&(f=s[A],f!=null&&xn(r,a,A,f,s,null))}function jj(r,a,s,f){switch(Bb(a,f),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,y=null,w=null,A=null,j=null,q=null,pe=null;for(Oe in s){var me=s[Oe];if(s.hasOwnProperty(Oe)&&me!=null)switch(Oe){case"checked":break;case"value":break;case"defaultValue":j=me;default:f.hasOwnProperty(Oe)||xn(r,a,Oe,null,f,me)}}for(var ee in f){var Oe=f[ee];if(me=s[ee],f.hasOwnProperty(ee)&&(Oe!=null||me!=null))switch(ee){case"type":y=Oe;break;case"name":g=Oe;break;case"checked":q=Oe;break;case"defaultChecked":pe=Oe;break;case"value":w=Oe;break;case"defaultValue":A=Oe;break;case"children":case"dangerouslySetInnerHTML":if(Oe!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Oe!==me&&xn(r,a,ee,Oe,f,me)}}a=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,f=f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null,a||!f||hG||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),hG=!0),!a||f||dG||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),dG=!0),Ir(r,w,A,j,q,pe,y,g);return;case"select":Oe=w=A=ee=null;for(y in s)if(j=s[y],s.hasOwnProperty(y)&&j!=null)switch(y){case"value":break;case"multiple":Oe=j;default:f.hasOwnProperty(y)||xn(r,a,y,null,f,j)}for(g in f)if(y=f[g],j=s[g],f.hasOwnProperty(g)&&(y!=null||j!=null))switch(g){case"value":ee=y;break;case"defaultValue":A=y;break;case"multiple":w=y;default:y!==j&&xn(r,a,g,y,f,j)}f=A,a=w,s=Oe,ee!=null?vn(r,!!a,ee,!1):!!s!=!!a&&(f!=null?vn(r,!!a,f,!0):vn(r,!!a,a?[]:"",!1));return;case"textarea":Oe=ee=null;for(A in s)if(g=s[A],s.hasOwnProperty(A)&&g!=null&&!f.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:xn(r,a,A,null,f,g)}for(w in f)if(g=f[w],y=s[w],f.hasOwnProperty(w)&&(g!=null||y!=null))switch(w){case"value":ee=g;break;case"defaultValue":Oe=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:g!==y&&xn(r,a,w,g,f,y)}un(r,ee,Oe);return;case"option":for(var Ge in s)if(ee=s[Ge],s.hasOwnProperty(Ge)&&ee!=null&&!f.hasOwnProperty(Ge))switch(Ge){case"selected":r.selected=!1;break;default:xn(r,a,Ge,null,f,ee)}for(j in f)if(ee=f[j],Oe=s[j],f.hasOwnProperty(j)&&ee!==Oe&&(ee!=null||Oe!=null))switch(j){case"selected":r.selected=ee&&typeof ee!="function"&&typeof ee!="symbol";break;default:xn(r,a,j,ee,f,Oe)}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 Je in s)ee=s[Je],s.hasOwnProperty(Je)&&ee!=null&&!f.hasOwnProperty(Je)&&xn(r,a,Je,null,f,ee);for(q in f)if(ee=f[q],Oe=s[q],f.hasOwnProperty(q)&&ee!==Oe&&(ee!=null||Oe!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xn(r,a,q,ee,f,Oe)}return;default:if(cl(a)){for(var qn in s)ee=s[qn],s.hasOwnProperty(qn)&&ee!==void 0&&!f.hasOwnProperty(qn)&&Bc(r,a,qn,void 0,f,ee);for(pe in f)ee=f[pe],Oe=s[pe],!f.hasOwnProperty(pe)||ee===Oe||ee===void 0&&Oe===void 0||Bc(r,a,pe,ee,f,Oe);return}}for(var rn in s)ee=s[rn],s.hasOwnProperty(rn)&&ee!=null&&!f.hasOwnProperty(rn)&&xn(r,a,rn,null,f,ee);for(me in f)ee=f[me],Oe=s[me],!f.hasOwnProperty(me)||ee===Oe||ee==null&&Oe==null||xn(r,a,me,ee,f,Oe)}function jw(r){switch(r){case"class":return"className";case"for":return"htmlFor";default:return r}}function Fb(r){var a={};r=r.style;for(var s=0;s<r.length;s++){var f=r[s];a[f]=r.getPropertyValue(f)}return a}function Lw(r,a,s){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var f,g=f="",y;for(y in a)if(a.hasOwnProperty(y)){var w=a[y];w!=null&&typeof w!="boolean"&&w!==""&&(y.indexOf("--")===0?($e(w,y),f+=g+y+":"+(""+w).trim()):typeof w!="number"||w===0||kR.has(y)?($e(w,y),f+=g+y.replace(ag,"-$1").toLowerCase().replace(DR,"-ms-")+":"+(""+w).trim()):f+=g+y.replace(ag,"-$1").toLowerCase().replace(DR,"-ms-")+":"+w+"px",g=";")}f=f||null,a=r.getAttribute("style"),a!==f&&(f=Lu(f),Lu(a)!==f&&(s.style=Fb(r)))}}function Ka(r,a,s,f,g,y){if(g.delete(s),r=r.getAttribute(s),r===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(ke(f,a),r===""+f)return}Vr(a,r,f,y)}function Iw(r,a,s,f,g,y){if(g.delete(s),r=r.getAttribute(s),r===null){switch(typeof f){case"function":case"symbol":return}if(!f)return}else switch(typeof f){case"function":case"symbol":break;default:if(f)return}Vr(a,r,f,y)}function Vb(r,a,s,f,g,y){if(g.delete(s),r=r.getAttribute(s),r===null)switch(typeof f){case"undefined":case"function":case"symbol":return}else if(f!=null)switch(typeof f){case"function":case"symbol":break;default:if(ke(f,s),r===""+f)return}Vr(a,r,f,y)}function $w(r,a,s,f,g,y){if(g.delete(s),r=r.getAttribute(s),r===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(f))return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(!isNaN(f)&&(ke(f,a),r===""+f))return}Vr(a,r,f,y)}function Yb(r,a,s,f,g,y){if(g.delete(s),r=r.getAttribute(s),r===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(ke(f,a),s=bc(""+f),r===s)return}Vr(a,r,f,y)}function zw(r,a,s,f){for(var g={},y=new Set,w=r.attributes,A=0;A<w.length;A++)switch(w[A].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:y.add(w[A].name)}if(cl(a)){for(var j in s)if(s.hasOwnProperty(j)){var q=s[j];if(q!=null){if(Ll.hasOwnProperty(j))typeof q!="function"&&as(j,q);else if(s.suppressHydrationWarning!==!0)switch(j){case"children":typeof q!="string"&&typeof q!="number"||Vr("children",r.textContent,q,g);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=r.innerHTML,q=q?q.__html:void 0,q!=null&&(q=kw(r,q),Vr(j,w,q,g));continue;case"style":y.delete(j),Lw(r,q,g);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":y.delete(j.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",j);continue;case"className":y.delete("class"),w=ho(r,"class",q),Vr("className",w,q,g);continue;default:f.context===Ql&&a!=="svg"&&a!=="math"?y.delete(j.toLowerCase()):y.delete(j),w=ho(r,j,q),Vr(j,w,q,g)}}}}else for(q in s)if(s.hasOwnProperty(q)&&(j=s[q],j!=null)){if(Ll.hasOwnProperty(q))typeof j!="function"&&as(q,j);else if(s.suppressHydrationWarning!==!0)switch(q){case"children":typeof j!="string"&&typeof j!="number"||Vr("children",r.textContent,j,g);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=r.innerHTML,j=j?j.__html:void 0,j!=null&&(j=kw(r,j),w!==j&&(g[q]={__html:w}));continue;case"className":Ka(r,q,"class",j,y,g);continue;case"tabIndex":Ka(r,q,"tabindex",j,y,g);continue;case"style":y.delete(q),Lw(r,j,g);continue;case"multiple":y.delete(q),Vr(q,r.multiple,j,g);continue;case"muted":y.delete(q),Vr(q,r.muted,j,g);continue;case"autoFocus":y.delete("autofocus"),Vr(q,r.autofocus,j,g);continue;case"data":if(a!=="object"){y.delete(q),w=r.getAttribute("data"),Vr(q,w,j,g);continue}case"src":case"href":if(!(j!==""||a==="a"&&q==="href"||a==="object"&&q==="data")){console.error(q==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',q,q);continue}Yb(r,q,q,j,y,g);continue;case"action":case"formAction":if(w=r.getAttribute(q),typeof j=="function"){y.delete(q.toLowerCase()),q==="formAction"?(y.delete("name"),y.delete("formenctype"),y.delete("formmethod"),y.delete("formtarget")):(y.delete("enctype"),y.delete("method"),y.delete("target"));continue}else if(w===Dpe){y.delete(q.toLowerCase()),Vr(q,"function",j,g);continue}Yb(r,q,q.toLowerCase(),j,y,g);continue;case"xlinkHref":Yb(r,q,"xlink:href",j,y,g);continue;case"contentEditable":Vb(r,q,"contenteditable",j,y,g);continue;case"spellCheck":Vb(r,q,"spellcheck",j,y,g);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Vb(r,q,q,j,y,g);continue;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":Iw(r,q,q.toLowerCase(),j,y,g);continue;case"capture":case"download":e:{A=r;var pe=w=q,me=g;if(y.delete(pe),A=A.getAttribute(pe),A===null)switch(typeof j){case"undefined":case"function":case"symbol":break e;default:if(j===!1)break e}else if(j!=null)switch(typeof j){case"function":case"symbol":break;case"boolean":if(j===!0&&A==="")break e;break;default:if(ke(j,w),A===""+j)break e}Vr(w,A,j,me)}continue;case"cols":case"rows":case"size":case"span":e:{if(A=r,pe=w=q,me=g,y.delete(pe),A=A.getAttribute(pe),A===null)switch(typeof j){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(j)||1>j)break e}else if(j!=null)switch(typeof j){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(j)||1>j)&&(ke(j,w),A===""+j))break e}Vr(w,A,j,me)}continue;case"rowSpan":$w(r,q,"rowspan",j,y,g);continue;case"start":$w(r,q,q,j,y,g);continue;case"xHeight":Ka(r,q,"x-height",j,y,g);continue;case"xlinkActuate":Ka(r,q,"xlink:actuate",j,y,g);continue;case"xlinkArcrole":Ka(r,q,"xlink:arcrole",j,y,g);continue;case"xlinkRole":Ka(r,q,"xlink:role",j,y,g);continue;case"xlinkShow":Ka(r,q,"xlink:show",j,y,g);continue;case"xlinkTitle":Ka(r,q,"xlink:title",j,y,g);continue;case"xlinkType":Ka(r,q,"xlink:type",j,y,g);continue;case"xmlBase":Ka(r,q,"xml:base",j,y,g);continue;case"xmlLang":Ka(r,q,"xml:lang",j,y,g);continue;case"xmlSpace":Ka(r,q,"xml:space",j,y,g);continue;case"inert":j!==""||wO[q]||(wO[q]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",q)),Iw(r,q,q,j,y,g);continue;default:if(!(2<q.length)||q[0]!=="o"&&q[0]!=="O"||q[1]!=="n"&&q[1]!=="N"){A=fl(q),w=!1,f.context===Ql&&a!=="svg"&&a!=="math"?y.delete(A.toLowerCase()):(pe=q.toLowerCase(),pe=sg.hasOwnProperty(pe)&&sg[pe]||null,pe!==null&&pe!==q&&(w=!0,y.delete(pe)),y.delete(A));e:if(pe=r,me=A,A=j,ni(me))if(pe.hasAttribute(me))pe=pe.getAttribute(me),ke(A,me),A=pe===""+A?A:pe;else{switch(typeof A){case"function":case"symbol":break e;case"boolean":if(pe=me.toLowerCase().slice(0,5),pe!=="data-"&&pe!=="aria-")break e}A=A===void 0?void 0:null}else A=void 0;w||Vr(q,A,j,g)}}}return 0<y.size&&s.suppressHydrationWarning!==!0&&kj(r,y,g),Object.keys(g).length===0?null:g}function Lj(r,a){switch(r.length){case 0:return"";case 1:return r[0];case 2:return r[0]+" "+a+" "+r[1];default:return r.slice(0,-1).join(", ")+", "+a+" "+r[r.length-1]}}function qw(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ij(){if(typeof performance.getEntriesByType=="function"){for(var r=0,a=0,s=performance.getEntriesByType("resource"),f=0;f<s.length;f++){var g=s[f],y=g.transferSize,w=g.initiatorType,A=g.duration;if(y&&A&&qw(w)){for(w=0,A=g.responseEnd,f+=1;f<s.length;f++){var j=s[f],q=j.startTime;if(q>A)break;var pe=j.transferSize,me=j.initiatorType;pe&&qw(me)&&(j=j.responseEnd,w+=pe*(j<A?1:(A-q)/(j-q)))}if(--f,a+=8*(y+w)/(g.duration/1e3),r++,10<r)break}}if(0<r)return a/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}function km(r){return r.nodeType===9?r:r.ownerDocument}function Uw(r){switch(r){case Jc:return kg;case og:return OO;default:return Ql}}function Gb(r,a){if(r===Ql)switch(a){case"svg":return kg;case"math":return OO;default:return Ql}return r===kg&&a==="foreignObject"?Ql:r}function jm(r,a){return r==="textarea"||r==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function $j(){var r=window.event;return r&&r.type==="popstate"?r===OI?!1:(OI=r,!0):(OI=null,!1)}function Bd(){var r=window.event;return r&&r!==oS?r.type:null}function Hd(){var r=window.event;return r&&r!==oS?r.timeStamp:-1.1}function zj(r){setTimeout(function(){throw r})}function Lm(r,a,s){switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src?r.src=s.src:s.srcSet&&(r.srcset=s.srcSet)}}function qj(){}function Uj(r,a,s,f){jj(r,a,s,f),r[qi]=f}function Bw(r){ki(r,"")}function Bj(r,a,s){r.nodeValue=s}function Hw(r){if(!r.__reactWarnedAboutChildrenConflict){var a=r[qi]||null;if(a!==null){var s=Fe(r);s!==null&&(typeof a.children=="string"||typeof a.children=="number"?(r.__reactWarnedAboutChildrenConflict=!0,De(s,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):a.dangerouslySetInnerHTML!=null&&(r.__reactWarnedAboutChildrenConflict=!0,De(s,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Iu(r){return r==="head"}function Hj(r,a){r.removeChild(a)}function Fj(r,a){(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).removeChild(a)}function Fw(r,a){var s=a,f=0;do{var g=s.nextSibling;if(r.removeChild(s),g&&g.nodeType===8)if(s=g.data,s===aS||s===RO){if(f===0){r.removeChild(g),Gc(a);return}f--}else if(s===iS||s===bf||s===bh||s===Pg||s===yh)f++;else if(s===Npe)Vd(r.ownerDocument.documentElement);else if(s===kpe){s=r.ownerDocument.head,Vd(s);for(var y=s.firstChild;y;){var w=y.nextSibling,A=y.nodeName;y[Zd]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&y.rel.toLowerCase()==="stylesheet"||s.removeChild(y),y=w}}else s===Ppe&&Vd(r.ownerDocument.body);s=g}while(s);Gc(a)}function Vw(r,a){var s=r;r=0;do{var f=s.nextSibling;if(s.nodeType===1?a?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(a?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),f&&f.nodeType===8)if(s=f.data,s===aS){if(r===0)break;r--}else s!==iS&&s!==bf&&s!==bh&&s!==Pg||r++;s=f}while(s)}function Vj(r){Vw(r,!0)}function Im(r){r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}function Yj(r){r.nodeValue=""}function Yw(r){Vw(r,!1)}function Gw(r,a){a=a[jpe],a=a!=null&&a.hasOwnProperty("display")?a.display:null,r.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function Wb(r,a){r.nodeValue=a}function $m(r){var a=r.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":$m(s),ge(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function Ww(r,a,s,f){for(;r.nodeType===1;){var g=s;if(r.nodeName.toLowerCase()!==a.toLowerCase()){if(!f&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(f){if(!r[Zd])switch(a){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(y=r.getAttribute("rel"),y==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(y!==g.rel||r.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||r.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||r.getAttribute("title")!==(g.title==null?null:g.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(y=r.getAttribute("src"),(y!==(g.src==null?null:g.src)||r.getAttribute("type")!==(g.type==null?null:g.type)||r.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&y&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(a==="input"&&r.type==="hidden"){ke(g.name,"name");var y=g.name==null?null:""+g.name;if(g.type==="hidden"&&r.getAttribute("name")===y)return r}else return r;if(r=yi(r.nextSibling),r===null)break}return null}function Xw(r,a,s){if(a==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=yi(r.nextSibling),r===null))return null;return r}function Xb(r,a){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!a||(r=yi(r.nextSibling),r===null))return null;return r}function Qb(r){return r.data===bf||r.data===bh}function Kb(r){return r.data===Pg||r.data===bf&&r.ownerDocument.readyState!==vG}function Gj(r,a){var s=r.ownerDocument;if(r.data===bh)r._reactRetry=a;else if(r.data!==bf||s.readyState!==vG)a();else{var f=function(){a(),s.removeEventListener("DOMContentLoaded",f)};s.addEventListener("DOMContentLoaded",f),r._reactRetry=f}}function yi(r){for(;r!=null;r=r.nextSibling){var a=r.nodeType;if(a===1||a===3)break;if(a===8){if(a=r.data,a===iS||a===Pg||a===bf||a===bh||a===yh||a===EI||a===gG)break;if(a===aS||a===RO)return null}}return r}function Fd(r){if(r.nodeType===1){for(var a=r.nodeName.toLowerCase(),s={},f=r.attributes,g=0;g<f.length;g++){var y=f[g];s[jw(y.name)]=y.name.toLowerCase()==="style"?Fb(r):y.value}return{type:a,props:s}}return r.nodeType===8?r.data===yh?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:r.nodeValue}function Qw(r,a,s){return s===null||s[Mpe]!==!0?(r.nodeValue===a?r=null:(a=Lu(a),r=Lu(r.nodeValue)===a?null:r.nodeValue),r):null}function Zb(r){r=r.nextSibling;for(var a=0;r;){if(r.nodeType===8){var s=r.data;if(s===aS||s===RO){if(a===0)return yi(r.nextSibling);a--}else s!==iS&&s!==Pg&&s!==bf&&s!==bh&&s!==yh||a++}r=r.nextSibling}return null}function zm(r){r=r.previousSibling;for(var a=0;r;){if(r.nodeType===8){var s=r.data;if(s===iS||s===Pg||s===bf||s===bh||s===yh){if(a===0)return r;a--}else s!==aS&&s!==RO||a++}r=r.previousSibling}return null}function Kw(r){Gc(r)}function Wj(r){Gc(r)}function Xj(r){Gc(r)}function Zw(r,a,s,f,g){switch(g&&Kn(r,f.ancestorInfo),a=km(s),r){case"html":if(r=a.documentElement,!r)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return r;case"head":if(r=a.head,!r)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return r;case"body":if(r=a.body,!r)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return r;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Qj(r,a,s,f){if(!s[Bu]&&Fe(s)){var g=s.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",g,g,g)}switch(r){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(g=s.attributes;g.length;)s.removeAttributeNode(g[0]);si(s,r,a),s[ui]=f,s[qi]=a}function Vd(r){for(var a=r.attributes;a.length;)r.removeAttributeNode(a[0]);ge(r)}function qm(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}function Jw(r,a,s){var f=jg;if(f&&typeof a=="string"&&a){var g=Dn(a);g='link[rel="'+r+'"][href="'+g+'"]',typeof s=="string"&&(g+='[crossorigin="'+s+'"]'),wG.has(g)||(wG.add(g),r={rel:r,crossOrigin:s,href:a},f.querySelector(g)===null&&(a=f.createElement("link"),si(a,"link",r),rt(a),f.head.appendChild(a)))}}function eR(r,a,s,f){var g=(g=qu.current)?qm(g):null;if(!g)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(s=Hc(s.href),a=gt(g).hoistableStyles,f=a.get(s),f||(f={type:"style",instance:null,count:0,state:null},a.set(s,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=Hc(s.href);var y=gt(g).hoistableStyles,w=y.get(r);if(!w&&(g=g.ownerDocument||g,w={type:"stylesheet",instance:null,count:0,state:{loading:_h,preload:null}},y.set(r,w),(y=g.querySelector(Yd(r)))&&!y._p&&(w.instance=y,w.state.loading=sS|ws),!Rs.has(r))){var A={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy};Rs.set(r,A),y||wo(g,r,A,w.state)}if(a&&f===null)throw s=`
|
|
223
|
+
|
|
224
|
+
- `+Um(a)+`
|
|
225
|
+
+ `+Um(s),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return w}if(a&&f!==null)throw s=`
|
|
226
|
+
|
|
227
|
+
- `+Um(a)+`
|
|
228
|
+
+ `+Um(s),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(s=Fc(s),a=gt(g).hoistableScripts,f=a.get(s),f||(f={type:"script",instance:null,count:0,state:null},a.set(s,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+r+'". this is a bug in React.')}}function Um(r){var a=0,s="<link";return typeof r.rel=="string"?(a++,s+=' rel="'+r.rel+'"'):_i.call(r,"rel")&&(a++,s+=' rel="'+(r.rel===null?"null":"invalid type "+typeof r.rel)+'"'),typeof r.href=="string"?(a++,s+=' href="'+r.href+'"'):_i.call(r,"href")&&(a++,s+=' href="'+(r.href===null?"null":"invalid type "+typeof r.href)+'"'),typeof r.precedence=="string"?(a++,s+=' precedence="'+r.precedence+'"'):_i.call(r,"precedence")&&(a++,s+=" precedence={"+(r.precedence===null?"null":"invalid type "+typeof r.precedence)+"}"),Object.getOwnPropertyNames(r).length>a&&(s+=" ..."),s+" />"}function Hc(r){return'href="'+Dn(r)+'"'}function Yd(r){return'link[rel="stylesheet"]['+r+"]"}function tR(r){return zt({},r,{"data-precedence":r.precedence,precedence:null})}function wo(r,a,s,f){r.querySelector('link[rel="preload"][as="style"]['+a+"]")?f.loading=sS:(a=r.createElement("link"),f.preload=a,a.addEventListener("load",function(){return f.loading|=sS}),a.addEventListener("error",function(){return f.loading|=_G}),si(a,"link",s),rt(a),r.head.appendChild(a))}function Fc(r){return'[src="'+Dn(r)+'"]'}function Gd(r){return"script[async]"+r}function $u(r,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var f=r.querySelector('style[data-href~="'+Dn(s.href)+'"]');if(f)return a.instance=f,rt(f),f;var g=zt({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return f=(r.ownerDocument||r).createElement("style"),rt(f),si(f,"style",g),Ot(f,s.precedence,r),a.instance=f;case"stylesheet":g=Hc(s.href);var y=r.querySelector(Yd(g));if(y)return a.state.loading|=ws,a.instance=y,rt(y),y;f=tR(s),(g=Rs.get(g))&&Jb(f,g),y=(r.ownerDocument||r).createElement("link"),rt(y);var w=y;return w._p=new Promise(function(A,j){w.onload=A,w.onerror=j}),si(y,"link",f),a.state.loading|=ws,Ot(y,s.precedence,r),a.instance=y;case"script":return y=Fc(s.src),(g=r.querySelector(Gd(y)))?(a.instance=g,rt(g),g):(f=s,(g=Rs.get(y))&&(f=zt({},s),bi(f,g)),r=r.ownerDocument||r,g=r.createElement("script"),rt(g),si(g,"link",f),r.head.appendChild(g),a.instance=g);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&ws)===_h&&(f=a.instance,a.state.loading|=ws,Ot(f,s.precedence,r));return a.instance}function Ot(r,a,s){for(var f=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=f.length?f[f.length-1]:null,y=g,w=0;w<f.length;w++){var A=f[w];if(A.dataset.precedence===a)y=A;else if(y!==g)break}y?y.parentNode.insertBefore(r,y.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(r,a.firstChild))}function Jb(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.title==null&&(r.title=a.title)}function bi(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.integrity==null&&(r.integrity=a.integrity)}function or(r,a,s){if(TO===null){var f=new Map,g=TO=new Map;g.set(s,f)}else g=TO,f=g.get(s),f||(f=new Map,g.set(s,f));if(f.has(r))return f;for(f.set(r,null),s=s.getElementsByTagName(r),g=0;g<s.length;g++){var y=s[g];if(!(y[Zd]||y[ui]||r==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!==Jc){var w=y.getAttribute(a)||"";w=r+w;var A=f.get(w);A?A.push(y):f.set(w,[y])}}return f}function nR(r,a,s){r=r.ownerDocument||r,r.head.insertBefore(s,a==="title"?r.querySelector("head > title"):null)}function zu(r,a,s){var f=!s.ancestorInfo.containerTagInScope;if(s.context===kg||a.itemProp!=null)return!f||a.itemProp==null||r!=="meta"&&r!=="title"&&r!=="style"&&r!=="link"&&r!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",r,r),!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){f&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){r=a.href;var g=a.onError,y=a.disabled;s=[],a.onLoad&&s.push("`onLoad`"),g&&s.push("`onError`"),y!=null&&s.push("`disabled`"),g=Lj(s,"and"),g+=s.length===1?" prop":" props",y=s.length===1?"an "+g:"the "+g,s.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',r,y,g)}f&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return r=a.precedence,a=a.disabled,typeof r!="string"&&f&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof r=="string"&&a==null;default:return!0}case"script":if(r=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!r||a.onLoad||a.onError||!a.src||typeof a.src!="string"){f&&(r?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":f&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",r)}return!1}function rR(r){return!(r.type==="stylesheet"&&(r.state.loading&EG)===_h)}function Kj(r,a,s,f){if(s.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(s.state.loading&ws)===_h){if(s.instance===null){var g=Hc(f.href),y=a.querySelector(Yd(g));if(y){a=y._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(r.count++,r=Bm.bind(r),a.then(r,r)),s.state.loading|=ws,s.instance=y,rt(y);return}y=a.ownerDocument||a,f=tR(f),(g=Rs.get(g))&&Jb(f,g),y=y.createElement("link"),rt(y);var w=y;w._p=new Promise(function(A,j){w.onload=A,w.onerror=j}),si(y,"link",f),s.instance=y}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&EG)===_h&&(r.count++,s=Bm.bind(r),a.addEventListener("load",s),a.addEventListener("error",s))}}function Zj(r,a){return r.stylesheets&&r.count===0&&Hm(r,r.stylesheets),0<r.count||0<r.imgCount?function(s){var f=setTimeout(function(){if(r.stylesheets&&Hm(r,r.stylesheets),r.unsuspend){var y=r.unsuspend;r.unsuspend=null,y()}},$pe+a);0<r.imgBytes&&xI===0&&(xI=125*Ij()*qpe);var g=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&Hm(r,r.stylesheets),r.unsuspend)){var y=r.unsuspend;r.unsuspend=null,y()}},(r.imgBytes>xI?50:zpe)+a);return r.unsuspend=s,function(){r.unsuspend=null,clearTimeout(f),clearTimeout(g)}}:null}function Bm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hm(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}function Hm(r,a){r.stylesheets=null,r.unsuspend!==null&&(r.count++,xO=new Map,a.forEach(e0,r),xO=null,Bm.call(r))}function e0(r,a){if(!(a.state.loading&ws)){var s=xO.get(r);if(s)var f=s.get(AI);else{s=new Map,xO.set(r,s);for(var g=r.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<g.length;y++){var w=g[y];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(s.set(w.dataset.precedence,w),f=w)}f&&s.set(AI,f)}g=a.instance,w=g.getAttribute("data-precedence"),y=s.get(w)||f,y===f&&s.set(AI,g),s.set(w,g),this.count++,f=Bm.bind(this),g.addEventListener("load",f),g.addEventListener("error",f),y?y.parentNode.insertBefore(g,y.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(g,r.firstChild)),a.state.loading|=ws}}function Jj(r,a,s,f,g,y,w,A,j){for(this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Sh,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=cr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cr(0),this.hiddenUpdates=cr(null),this.identifierPrefix=f,this.onUncaughtError=g,this.onCaughtError=y,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,r=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)r.push(new Set);this._debugRootType=s?"hydrateRoot()":"createRoot()"}function os(r,a,s,f,g,y,w,A,j,q,pe,me){return r=new Jj(r,a,s,w,j,q,pe,me,A),a=cpe,y===!0&&(a|=ca|Js),a|=qt,y=S(3,null,null,a),r.current=y,y.stateNode=r,a=wc(),vl(a),r.pooledCache=a,vl(a),y.memoizedState={element:f,isDehydrated:s,cache:a},wu(y),r}function t0(r){return r?(r=rf,r):rf}function Vc(r,a,s,f,g,y){if(Ei&&typeof Ei.onScheduleFiberRoot=="function")try{Ei.onScheduleFiberRoot(Kc,f,s)}catch(w){cs||(cs=!0,console.error("React instrumentation encountered an error: %o",w))}g=t0(g),f.context===null?f.context=g:f.pendingContext=g,ls&&Da!==null&&!xG&&(xG=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
229
|
+
|
|
230
|
+
Check the render method of %s.`,B(Da)||"Unknown")),f=Ru(a),f.payload={element:s},y=y===void 0?null:y,y!==null&&(typeof y!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",y),f.callback=y),s=Ou(r,f,a),s!==null&&(Ea(a,"root.render()",null),Jn(s,r,a),yd(s,r,a))}function Un(r,a){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<a?s:a}}function Bn(r,a){Un(r,a),(r=r.alternate)&&Un(r,a)}function n0(r){if(r.tag===13||r.tag===31){var a=zr(r,67108864);a!==null&&Jn(a,r,67108864),Bn(r,67108864)}}function iR(r){if(r.tag===13||r.tag===31){var a=ua(r);a=Cn(a);var s=zr(r,a);s!==null&&Jn(s,r,a),Bn(r,a)}}function eL(){return Da}function tL(r,a,s,f){var g=Ae.T;Ae.T=null;var y=cn.p;try{cn.p=Ja,r0(r,a,s,f)}finally{cn.p=y,Ae.T=g}}function nL(r,a,s,f){var g=Ae.T;Ae.T=null;var y=cn.p;try{cn.p=ds,r0(r,a,s,f)}finally{cn.p=y,Ae.T=g}}function r0(r,a,s,f){if(CO){var g=i0(f);if(g===null)Ub(r,a,f,DO,s),Vm(r,f);else if(aR(g,r,a,s,f))f.stopPropagation();else if(Vm(r,f),a&4&&-1<Bpe.indexOf(r)){for(;g!==null;){var y=Fe(g);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var w=mt(y.pendingLanes);if(w!==0){var A=y;for(A.pendingLanes|=2,A.entangledLanes|=2;w;){var j=1<<31-zi(w);A.entanglements[1]|=j,w&=~j}is(y),(fn&(ci|Ao))===Ti&&(dO=Yr()+tG,qd(0))}}break;case 31:case 13:A=zr(y,2),A!==null&&Jn(A,y,2),Dl(),Bn(y,2)}if(y=i0(f),y===null&&Ub(r,a,f,DO,s),y===g)break;g=y}g!==null&&f.stopPropagation()}else Ub(r,a,f,null,s)}}function i0(r){return r=wp(r),Fm(r)}function Fm(r){if(DO=null,r=qe(r),r!==null){var a=T(r);if(a===null)r=null;else{var s=a.tag;if(s===13){if(r=M(a),r!==null)return r;r=null}else if(s===31){if(r=P(a),r!==null)return r;r=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null)}}return DO=r,null}function Yc(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 Ja;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 ds;case"message":switch(gR()){case Km:return Ja;case v0:return ds;case Qc:case cL:return Ks;case y0:return tg;default:return Ks}default:return Ks}}function Vm(r,a){switch(r){case"focusin":case"focusout":Sf=null;break;case"dragenter":case"dragleave":_f=null;break;case"mouseover":case"mouseout":Ef=null;break;case"pointerover":case"pointerout":lS.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":cS.delete(a.pointerId)}}function Wd(r,a,s,f,g,y){return r===null||r.nativeEvent!==y?(r={blockedOn:a,domEventName:s,eventSystemFlags:f,nativeEvent:y,targetContainers:[g]},a!==null&&(a=Fe(a),a!==null&&n0(a)),r):(r.eventSystemFlags|=f,a=r.targetContainers,g!==null&&a.indexOf(g)===-1&&a.push(g),r)}function aR(r,a,s,f,g){switch(a){case"focusin":return Sf=Wd(Sf,r,a,s,f,g),!0;case"dragenter":return _f=Wd(_f,r,a,s,f,g),!0;case"mouseover":return Ef=Wd(Ef,r,a,s,f,g),!0;case"pointerover":var y=g.pointerId;return lS.set(y,Wd(lS.get(y)||null,r,a,s,f,g)),!0;case"gotpointercapture":return y=g.pointerId,cS.set(y,Wd(cS.get(y)||null,r,a,s,f,g)),!0}return!1}function Xd(r){var a=qe(r.target);if(a!==null){var s=T(a);if(s!==null){if(a=s.tag,a===13){if(a=M(s),a!==null){r.blockedOn=a,$(r.priority,function(){iR(s)});return}}else if(a===31){if(a=P(s),a!==null){r.blockedOn=a,$(r.priority,function(){iR(s)});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Si(r){if(r.blockedOn!==null)return!1;for(var a=r.targetContainers;0<a.length;){var s=i0(r.nativeEvent);if(s===null){s=r.nativeEvent;var f=new s.constructor(s.type,s),g=f;I!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),I=g,s.target.dispatchEvent(f),I===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),I=null}else return a=Fe(s),a!==null&&n0(a),r.blockedOn=s,!1;a.shift()}return!0}function Pl(r,a,s){Si(r)&&s.delete(a)}function rL(){CI=!1,Sf!==null&&Si(Sf)&&(Sf=null),_f!==null&&Si(_f)&&(_f=null),Ef!==null&&Si(Ef)&&(Ef=null),lS.forEach(Pl),cS.forEach(Pl)}function Ym(r,a){r.blockedOn===a&&(r.blockedOn=null,CI||(CI=!0,vr.unstable_scheduleCallback(vr.unstable_NormalPriority,rL)))}function oR(r){MO!==r&&(MO=r,vr.unstable_scheduleCallback(vr.unstable_NormalPriority,function(){MO===r&&(MO=null);for(var a=0;a<r.length;a+=3){var s=r[a],f=r[a+1],g=r[a+2];if(typeof f!="function"){if(Fm(f||s)===null)continue;break}var y=Fe(s);y!==null&&(r.splice(a,3),a-=3,s={pending:!0,data:g,method:s.method,action:f},Object.freeze(s),nb(y,s,f,g))}}))}function Gc(r){function a(j){return Ym(j,r)}Sf!==null&&Ym(Sf,r),_f!==null&&Ym(_f,r),Ef!==null&&Ym(Ef,r),lS.forEach(a),cS.forEach(a);for(var s=0;s<wf.length;s++){var f=wf[s];f.blockedOn===r&&(f.blockedOn=null)}for(;0<wf.length&&(s=wf[0],s.blockedOn===null);)Xd(s),s.blockedOn===null&&wf.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(f=0;f<s.length;f+=3){var g=s[f],y=s[f+1],w=g[qi]||null;if(typeof y=="function")w||oR(s);else if(w){var A=null;if(y&&y.hasAttribute("formAction")){if(g=y,w=y[qi]||null)A=w.formAction;else if(Fm(g)!==null)continue}else A=w.action;typeof A=="function"?s[f+1]=A:(s.splice(f,3),f-=3),oR(s)}}}function sR(){function r(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(w){return g=w})},focusReset:"manual",scroll:"manual"})}function a(){g!==null&&(g(),g=null),f||setTimeout(s,20)}function s(){if(!f&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,g=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(s,100),function(){f=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),g!==null&&(g(),g=null)}}}function Gm(r){this._internalRoot=r}function Za(r){this._internalRoot=r}function Pt(r){r[Bu]&&(r._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var vr=FG(),la=Gu(),uR=zI(),zt=Object.assign,Sn=Symbol.for("react.element"),ss=Symbol.for("react.transitional.element"),kl=Symbol.for("react.portal"),jl=Symbol.for("react.fragment"),Wc=Symbol.for("react.strict_mode"),a0=Symbol.for("react.profiler"),o0=Symbol.for("react.consumer"),us=Symbol.for("react.context"),Qd=Symbol.for("react.forward_ref"),s0=Symbol.for("react.suspense"),u0=Symbol.for("react.suspense_list"),Wm=Symbol.for("react.memo"),Ca=Symbol.for("react.lazy"),l0=Symbol.for("react.activity"),iL=Symbol.for("react.memo_cache_sentinel"),lR=Symbol.iterator,aL=Symbol.for("react.client.reference"),yr=Array.isArray,Ae=la.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cn=uR.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oL=Object.freeze({pending:!1,data:null,method:null,action:null}),c0=[],f0=[],Ln=-1,br=Y(null),Kd=Y(null),qu=Y(null),Xm=Y(null),Xc=0,cR,fR,dR,d0,hR,pR,mR;ae.__reactDisabledLog=!0;var Qm,h0,p0=!1,m0=new(typeof WeakMap=="function"?WeakMap:Map),Da=null,ls=!1,_i=Object.prototype.hasOwnProperty,g0=vr.unstable_scheduleCallback,sL=vr.unstable_cancelCallback,uL=vr.unstable_shouldYield,lL=vr.unstable_requestPaint,Yr=vr.unstable_now,gR=vr.unstable_getCurrentPriorityLevel,Km=vr.unstable_ImmediatePriority,v0=vr.unstable_UserBlockingPriority,Qc=vr.unstable_NormalPriority,cL=vr.unstable_LowPriority,y0=vr.unstable_IdlePriority,fL=vr.log,dL=vr.unstable_setDisableYieldValue,Kc=null,Ei=null,cs=!1,fs=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",zi=Math.clz32?Math.clz32:yt,hL=Math.log,pL=Math.LN2,Zm=256,Jm=262144,eg=4194304,Ja=2,ds=8,Ks=32,tg=268435456,Uu=Math.random().toString(36).slice(2),ui="__reactFiber$"+Uu,qi="__reactProps$"+Uu,Bu="__reactContainer$"+Uu,b0="__reactEvents$"+Uu,S0="__reactListeners$"+Uu,vR="__reactHandles$"+Uu,_0="__reactResources$"+Uu,Zd="__reactMarker$"+Uu,yR=new Set,Ll={},Jd={},mL={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gL=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),bR={},Ui={},E0=/[\n"\\]/g,SR=!1,_R=!1,ER=!1,wR=!1,ng=!1,RR=!1,rg=["value","defaultValue"],OR=!1,TR=/["'&<>\n\t]|^\s|\s$/,vL="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),xR="applet caption html table td th marquee object template foreignObject desc title".split(" "),AR=xR.concat(["button"]),yL="dd dt li option optgroup p rp rt".split(" "),CR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ig={},eh={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ag=/([A-Z])/g,DR=/^ms-/,bL=/^(?:webkit|moz|o)[A-Z]/,SL=/^-ms-/,_L=/-(.)/g,MR=/;\s*$/,Zc={},w0={},NR=!1,PR=!1,kR=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(" ")),og="http://www.w3.org/1998/Math/MathML",Jc="http://www.w3.org/2000/svg",EL=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"]]),sg={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},jR={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},ef={},wL=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),RL=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),LR=!1,Bi={},IR=/^on./,d=/^on[^A-Z]/,m=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),E=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),D=/^[\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,I=null,V=null,Z=null,de=!1,be=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ze=!1;if(be)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch{ze=!1}var Ue=null,We=null,it=null,ut={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mt=na(ut),lt=zt({},ut,{view:0,detail:0}),Qt=na(lt),Kt,Hi,Cr,wi=zt({},lt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_y,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!==Cr&&(Cr&&r.type==="mousemove"?(Kt=r.screenX-Cr.screenX,Hi=r.screenY-Cr.screenY):Hi=Kt=0,Cr=r),Kt)},movementY:function(r){return"movementY"in r?r.movementY:Hi}}),sr=na(wi),Ro=zt({},wi,{dataTransfer:0}),Zs=na(Ro),$R=zt({},lt,{relatedTarget:0}),OL=na($R),Nhe=zt({},ut,{animationName:0,elapsedTime:0,pseudoElement:0}),Phe=na(Nhe),khe=zt({},ut,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),jhe=na(khe),Lhe=zt({},ut,{data:0}),NV=na(Lhe),Ihe=NV,$he={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zhe={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"},qhe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Uhe=zt({},lt,{key:function(r){if(r.key){var a=$he[r.key]||r.key;if(a!=="Unidentified")return a}return r.type==="keypress"?(r=Rp(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?zhe[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_y,charCode:function(r){return r.type==="keypress"?Rp(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Rp(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Bhe=na(Uhe),Hhe=zt({},wi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),PV=na(Hhe),Fhe=zt({},lt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_y}),Vhe=na(Fhe),Yhe=zt({},ut,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ghe=na(Yhe),Whe=zt({},wi,{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}),Xhe=na(Whe),Qhe=zt({},ut,{newState:0,oldState:0}),Khe=na(Qhe),Zhe=[9,13,27,32],kV=229,TL=be&&"CompositionEvent"in window,R0=null;be&&"documentMode"in document&&(R0=document.documentMode);var Jhe=be&&"TextEvent"in window&&!R0,jV=be&&(!TL||R0&&8<R0&&11>=R0),LV=32,IV=String.fromCharCode(LV),$V=!1,ug=!1,epe={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},O0=null,T0=null,zV=!1;be&&(zV=jn("input")&&(!document.documentMode||9<document.documentMode));var Ma=typeof Object.is=="function"?Object.is:dl,tpe=be&&"documentMode"in document&&11>=document.documentMode,lg=null,xL=null,x0=null,AL=!1,cg={animationend:vu("Animation","AnimationEnd"),animationiteration:vu("Animation","AnimationIteration"),animationstart:vu("Animation","AnimationStart"),transitionrun:vu("Transition","TransitionRun"),transitionstart:vu("Transition","TransitionStart"),transitioncancel:vu("Transition","TransitionCancel"),transitionend:vu("Transition","TransitionEnd")},CL={},qV={};be&&(qV=document.createElement("div").style,"AnimationEvent"in window||(delete cg.animationend.animation,delete cg.animationiteration.animation,delete cg.animationstart.animation),"TransitionEvent"in window||delete cg.transitionend.transition);var UV=yu("animationend"),BV=yu("animationiteration"),HV=yu("animationstart"),npe=yu("transitionrun"),rpe=yu("transitionstart"),ipe=yu("transitioncancel"),FV=yu("transitionend"),VV=new Map,DL="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(" ");DL.push("scrollEnd");var YV=0;if(typeof performance=="object"&&typeof performance.now=="function")var ape=performance,GV=function(){return ape.now()};else{var ope=Date;GV=function(){return ope.now()}}var ML=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},spe="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",zR=0,NL=1,PL=2,kL=3,qR="– ",UR="+ ",WV=" ",Hn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",hs="Components ⚛",nn="Scheduler ⚛",on="Blocking",tf=!1,Il={color:"primary",properties:null,tooltipText:"",track:hs},nf={start:-0,end:-0,detail:{devtools:Il}},upe=["Changed Props",""],XV="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",lpe=["Changed Props",XV],A0=1,$l=2,ps=[],fg=0,jL=0,rf={};Object.freeze(rf);var ms=null,dg=null,_t=0,cpe=1,qt=2,ca=8,Js=16,fpe=32,QV=!1;try{var KV=Object.preventExtensions({})}catch{QV=!0}var LL=new WeakMap,hg=[],pg=0,BR=null,C0=0,gs=[],vs=0,th=null,zl=1,ql="",Fi=null,Fn=null,en=!1,Hu=!1,Oo=null,af=null,ys=!1,IL=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),$L=Y(null),zL=Y(null),ZV={},HR=null,mg=null,gg=!1,dpe=typeof AbortController<"u"?AbortController:function(){var r=[],a=this.signal={aborted:!1,addEventListener:function(s,f){r.push(f)}};this.abort=function(){a.aborted=!0,r.forEach(function(s){return s()})}},hpe=vr.unstable_scheduleCallback,ppe=vr.unstable_NormalPriority,Gr={$$typeof:us,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Wr=vr.unstable_now,FR=console.createTask?console.createTask:function(){return null},D0=1,VR=2,Ri=-0,of=-0,Ul=-0,Bl=null,Na=-1.1,nh=-0,ur=-0,pt=-1.1,bt=-1.1,er=null,Sr=!1,rh=-0,Fu=-1.1,M0=null,sf=0,qL=null,UL=null,ih=-1.1,N0=null,vg=-1.1,YR=-1.1,Hl=-0,Fl=-1.1,bs=-1.1,BL=0,P0=null,JV=null,eY=null,uf=-1.1,ah=null,lf=-1.1,GR=-1.1,tY=-0,nY=-0,WR=0,mpe=null,rY=0,k0=-1.1,XR=!1,QR=!1,j0=null,HL=0,oh=0,yg=null,iY=Ae.S;Ae.S=function(r,a){if(JY=Yr(),typeof a=="object"&&a!==null&&typeof a.then=="function"){if(0>Fl&&0>bs){Fl=Wr();var s=Hd(),f=Bd();(s!==lf||f!==ah)&&(lf=-1.1),uf=s,ah=f}bl(r,a)}iY!==null&&iY(r,a)};var sh=Y(null),eu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},L0=[],I0=[],$0=[],z0=[],q0=[],U0=[],uh=new Set;eu.recordUnsafeLifecycleWarnings=function(r,a){uh.has(r.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&L0.push(r),r.mode&ca&&typeof a.UNSAFE_componentWillMount=="function"&&I0.push(r),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$0.push(r),r.mode&ca&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&z0.push(r),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&q0.push(r),r.mode&ca&&typeof a.UNSAFE_componentWillUpdate=="function"&&U0.push(r))},eu.flushPendingUnsafeLifecycleWarnings=function(){var r=new Set;0<L0.length&&(L0.forEach(function(A){r.add(B(A)||"Component"),uh.add(A.type)}),L0=[]);var a=new Set;0<I0.length&&(I0.forEach(function(A){a.add(B(A)||"Component"),uh.add(A.type)}),I0=[]);var s=new Set;0<$0.length&&($0.forEach(function(A){s.add(B(A)||"Component"),uh.add(A.type)}),$0=[]);var f=new Set;0<z0.length&&(z0.forEach(function(A){f.add(B(A)||"Component"),uh.add(A.type)}),z0=[]);var g=new Set;0<q0.length&&(q0.forEach(function(A){g.add(B(A)||"Component"),uh.add(A.type)}),q0=[]);var y=new Set;if(0<U0.length&&(U0.forEach(function(A){y.add(B(A)||"Component"),uh.add(A.type)}),U0=[]),0<a.size){var w=b(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
231
|
+
|
|
232
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
233
|
+
|
|
234
|
+
Please update the following components: %s`,w)}0<f.size&&(w=b(f),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
235
|
+
|
|
236
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
237
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
238
|
+
|
|
239
|
+
Please update the following components: %s`,w)),0<y.size&&(w=b(y),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
240
|
+
|
|
241
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
242
|
+
|
|
243
|
+
Please update the following components: %s`,w)),0<r.size&&(w=b(r),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
244
|
+
|
|
245
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
246
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
247
|
+
|
|
248
|
+
Please update the following components: %s`,w)),0<s.size&&(w=b(s),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
249
|
+
|
|
250
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
251
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
252
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
253
|
+
|
|
254
|
+
Please update the following components: %s`,w)),0<g.size&&(w=b(g),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
255
|
+
|
|
256
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
257
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
258
|
+
|
|
259
|
+
Please update the following components: %s`,w))};var KR=new Map,aY=new Set;eu.recordLegacyContextWarning=function(r,a){for(var s=null,f=r;f!==null;)f.mode&ca&&(s=f),f=f.return;s===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!aY.has(r.type)&&(f=KR.get(s),r.type.contextTypes!=null||r.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(f===void 0&&(f=[],KR.set(s,f)),f.push(r))},eu.flushLegacyContextWarning=function(){KR.forEach(function(r){if(r.length!==0){var a=r[0],s=new Set;r.forEach(function(g){s.add(B(g)||"Component"),aY.add(g.type)});var f=b(s);De(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
260
|
+
|
|
261
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
262
|
+
|
|
263
|
+
Please update the following components: %s
|
|
264
|
+
|
|
265
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,f)})}})},eu.discardPendingWarnings=function(){L0=[],I0=[],$0=[],z0=[],q0=[],U0=[],KR=new Map};var oY={react_stack_bottom_frame:function(r,a,s){var f=ls;ls=!0;try{return r(a,s)}finally{ls=f}}},FL=oY.react_stack_bottom_frame.bind(oY),sY={react_stack_bottom_frame:function(r){var a=ls;ls=!0;try{return r.render()}finally{ls=a}}},uY=sY.react_stack_bottom_frame.bind(sY),lY={react_stack_bottom_frame:function(r,a){try{a.componentDidMount()}catch(s){gn(r,r.return,s)}}},VL=lY.react_stack_bottom_frame.bind(lY),cY={react_stack_bottom_frame:function(r,a,s,f,g){try{a.componentDidUpdate(s,f,g)}catch(y){gn(r,r.return,y)}}},fY=cY.react_stack_bottom_frame.bind(cY),dY={react_stack_bottom_frame:function(r,a){var s=a.stack;r.componentDidCatch(a.value,{componentStack:s!==null?s:""})}},gpe=dY.react_stack_bottom_frame.bind(dY),hY={react_stack_bottom_frame:function(r,a,s){try{s.componentWillUnmount()}catch(f){gn(r,a,f)}}},pY=hY.react_stack_bottom_frame.bind(hY),mY={react_stack_bottom_frame:function(r){var a=r.create;return r=r.inst,a=a(),r.destroy=a}},vpe=mY.react_stack_bottom_frame.bind(mY),gY={react_stack_bottom_frame:function(r,a,s){try{s()}catch(f){gn(r,a,f)}}},ype=gY.react_stack_bottom_frame.bind(gY),vY={react_stack_bottom_frame:function(r){var a=r._init;return a(r._payload)}},bpe=vY.react_stack_bottom_frame.bind(vY),bg=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),YL=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ZR=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),JR={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},lh=null,B0=!1,Sg=null,H0=0,Ut=null,GL,yY=GL=!1,bY={},SY={},_Y={};v=function(r,a,s){if(s!==null&&typeof s=="object"&&s._store&&(!s._store.validated&&s.key==null||s._store.validated===2)){if(typeof s._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");s._store.validated=1;var f=B(r),g=f||"null";if(!bY[g]){bY[g]=!0,s=s._owner,r=r._debugOwner;var y="";r&&typeof r.tag=="number"&&(g=B(r))&&(y=`
|
|
266
|
+
|
|
267
|
+
Check the render method of \``+g+"`."),y||f&&(y=`
|
|
268
|
+
|
|
269
|
+
Check the top-level render call using <`+f+">.");var w="";s!=null&&r!==s&&(f=null,typeof s.tag=="number"?f=B(s):typeof s.name=="string"&&(f=s.name),f&&(w=" It was passed a child from "+f+".")),De(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',y,w)})}}};var ch=Dc(!0),EY=Dc(!1),wY=0,RY=1,OY=2,WL=3,cf=!1,TY=!1,XL=null,QL=!1,_g=Y(null),eO=Y(0),To=Y(null),Ss=null,Eg=1,F0=2,Dr=Y(0),tO=0,_s=1,Pa=2,xo=4,ka=8,wg,xY=new Set,AY=new Set,KL=new Set,CY=new Set,Vl=0,Tt=null,In=null,Xr=null,nO=!1,Rg=!1,fh=!1,rO=0,V0=0,Yl=null,Spe=0,_pe=25,xe=null,Es=null,Gl=-1,Y0=!1,G0={readContext:Nn,use:Au,useCallback:ar,useContext:ar,useEffect:ar,useImperativeHandle:ar,useLayoutEffect:ar,useInsertionEffect:ar,useMemo:ar,useReducer:ar,useRef:ar,useState:ar,useDebugValue:ar,useDeferredValue:ar,useTransition:ar,useSyncExternalStore:ar,useId:ar,useHostTransitionStatus:ar,useFormState:ar,useActionState:ar,useOptimistic:ar,useMemoCache:ar,useCacheRefresh:ar};G0.useEffectEvent=ar;var ZL=null,DY=null,JL=null,MY=null,Vu=null,tu=null,iO=null;ZL={readContext:function(r){return Nn(r)},use:Au,useCallback:function(r,a){return xe="useCallback",It(),Mc(a),Od(r,a)},useContext:function(r){return xe="useContext",It(),Nn(r)},useEffect:function(r,a){return xe="useEffect",It(),Mc(a),Rl(r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",It(),Mc(s),Zy(r,a,s)},useInsertionEffect:function(r,a){xe="useInsertionEffect",It(),Mc(a),mi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",It(),Mc(a),Rd(r,a)},useMemo:function(r,a){xe="useMemo",It(),Mc(a);var s=Ae.H;Ae.H=Vu;try{return Tl(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",It();var f=Ae.H;Ae.H=Vu;try{return Vy(r,a,s)}finally{Ae.H=f}},useRef:function(r){return xe="useRef",It(),Kp(r)},useState:function(r){xe="useState",It();var a=Ae.H;Ae.H=Vu;try{return Xp(r)}finally{Ae.H=a}},useDebugValue:function(){xe="useDebugValue",It()},useDeferredValue:function(r,a){return xe="useDeferredValue",It(),Jy(r,a)},useTransition:function(){return xe="useTransition",It(),tm()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",It(),Gp(r,a,s)},useId:function(){return xe="useId",It(),rm()},useFormState:function(r,a){return xe="useFormState",It(),Ya(),kc(r,a)},useActionState:function(r,a){return xe="useActionState",It(),kc(r,a)},useOptimistic:function(r){return xe="useOptimistic",It(),Wy(r)},useHostTransitionStatus:Ys,useMemoCache:ai,useCacheRefresh:function(){return xe="useCacheRefresh",It(),im()},useEffectEvent:function(r){return xe="useEffectEvent",It(),Zp(r)}},DY={readContext:function(r){return Nn(r)},use:Au,useCallback:function(r,a){return xe="useCallback",Be(),Od(r,a)},useContext:function(r){return xe="useContext",Be(),Nn(r)},useEffect:function(r,a){return xe="useEffect",Be(),Rl(r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",Be(),Zy(r,a,s)},useInsertionEffect:function(r,a){xe="useInsertionEffect",Be(),mi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",Be(),Rd(r,a)},useMemo:function(r,a){xe="useMemo",Be();var s=Ae.H;Ae.H=Vu;try{return Tl(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",Be();var f=Ae.H;Ae.H=Vu;try{return Vy(r,a,s)}finally{Ae.H=f}},useRef:function(r){return xe="useRef",Be(),Kp(r)},useState:function(r){xe="useState",Be();var a=Ae.H;Ae.H=Vu;try{return Xp(r)}finally{Ae.H=a}},useDebugValue:function(){xe="useDebugValue",Be()},useDeferredValue:function(r,a){return xe="useDeferredValue",Be(),Jy(r,a)},useTransition:function(){return xe="useTransition",Be(),tm()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",Be(),Gp(r,a,s)},useId:function(){return xe="useId",Be(),rm()},useActionState:function(r,a){return xe="useActionState",Be(),kc(r,a)},useFormState:function(r,a){return xe="useFormState",Be(),Ya(),kc(r,a)},useOptimistic:function(r){return xe="useOptimistic",Be(),Wy(r)},useHostTransitionStatus:Ys,useMemoCache:ai,useCacheRefresh:function(){return xe="useCacheRefresh",Be(),im()},useEffectEvent:function(r){return xe="useEffectEvent",Be(),Zp(r)}},JL={readContext:function(r){return Nn(r)},use:Au,useCallback:function(r,a){return xe="useCallback",Be(),em(r,a)},useContext:function(r){return xe="useContext",Be(),Nn(r)},useEffect:function(r,a){xe="useEffect",Be(),gi(2048,ka,r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",Be(),Jp(r,a,s)},useInsertionEffect:function(r,a){return xe="useInsertionEffect",Be(),gi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",Be(),gi(4,xo,r,a)},useMemo:function(r,a){xe="useMemo",Be();var s=Ae.H;Ae.H=tu;try{return Td(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",Be();var f=Ae.H;Ae.H=tu;try{return Nc(r,a,s)}finally{Ae.H=f}},useRef:function(){return xe="useRef",Be(),bn().memoizedState},useState:function(){xe="useState",Be();var r=Ae.H;Ae.H=tu;try{return Nc(vo)}finally{Ae.H=r}},useDebugValue:function(){xe="useDebugValue",Be()},useDeferredValue:function(r,a){return xe="useDeferredValue",Be(),HE(r,a)},useTransition:function(){return xe="useTransition",Be(),nm()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",Be(),Ed(r,a,s)},useId:function(){return xe="useId",Be(),bn().memoizedState},useFormState:function(r){return xe="useFormState",Be(),Ya(),wl(r)},useActionState:function(r){return xe="useActionState",Be(),wl(r)},useOptimistic:function(r,a){return xe="useOptimistic",Be(),yo(r,a)},useHostTransitionStatus:Ys,useMemoCache:ai,useCacheRefresh:function(){return xe="useCacheRefresh",Be(),bn().memoizedState},useEffectEvent:function(r){return xe="useEffectEvent",Be(),Hr(r)}},MY={readContext:function(r){return Nn(r)},use:Au,useCallback:function(r,a){return xe="useCallback",Be(),em(r,a)},useContext:function(r){return xe="useContext",Be(),Nn(r)},useEffect:function(r,a){xe="useEffect",Be(),gi(2048,ka,r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",Be(),Jp(r,a,s)},useInsertionEffect:function(r,a){return xe="useInsertionEffect",Be(),gi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",Be(),gi(4,xo,r,a)},useMemo:function(r,a){xe="useMemo",Be();var s=Ae.H;Ae.H=iO;try{return Td(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",Be();var f=Ae.H;Ae.H=iO;try{return _d(r,a,s)}finally{Ae.H=f}},useRef:function(){return xe="useRef",Be(),bn().memoizedState},useState:function(){xe="useState",Be();var r=Ae.H;Ae.H=iO;try{return _d(vo)}finally{Ae.H=r}},useDebugValue:function(){xe="useDebugValue",Be()},useDeferredValue:function(r,a){return xe="useDeferredValue",Be(),jc(r,a)},useTransition:function(){return xe="useTransition",Be(),GE()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",Be(),Ed(r,a,s)},useId:function(){return xe="useId",Be(),bn().memoizedState},useFormState:function(r){return xe="useFormState",Be(),Ya(),wr(r)},useActionState:function(r){return xe="useActionState",Be(),wr(r)},useOptimistic:function(r,a){return xe="useOptimistic",Be(),Cu(r,a)},useHostTransitionStatus:Ys,useMemoCache:ai,useCacheRefresh:function(){return xe="useCacheRefresh",Be(),bn().memoizedState},useEffectEvent:function(r){return xe="useEffectEvent",Be(),Hr(r)}},Vu={readContext:function(r){return h(),Nn(r)},use:function(r){return c(),Au(r)},useCallback:function(r,a){return xe="useCallback",c(),It(),Od(r,a)},useContext:function(r){return xe="useContext",c(),It(),Nn(r)},useEffect:function(r,a){return xe="useEffect",c(),It(),Rl(r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",c(),It(),Zy(r,a,s)},useInsertionEffect:function(r,a){xe="useInsertionEffect",c(),It(),mi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",c(),It(),Rd(r,a)},useMemo:function(r,a){xe="useMemo",c(),It();var s=Ae.H;Ae.H=Vu;try{return Tl(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",c(),It();var f=Ae.H;Ae.H=Vu;try{return Vy(r,a,s)}finally{Ae.H=f}},useRef:function(r){return xe="useRef",c(),It(),Kp(r)},useState:function(r){xe="useState",c(),It();var a=Ae.H;Ae.H=Vu;try{return Xp(r)}finally{Ae.H=a}},useDebugValue:function(){xe="useDebugValue",c(),It()},useDeferredValue:function(r,a){return xe="useDeferredValue",c(),It(),Jy(r,a)},useTransition:function(){return xe="useTransition",c(),It(),tm()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",c(),It(),Gp(r,a,s)},useId:function(){return xe="useId",c(),It(),rm()},useFormState:function(r,a){return xe="useFormState",c(),It(),kc(r,a)},useActionState:function(r,a){return xe="useActionState",c(),It(),kc(r,a)},useOptimistic:function(r){return xe="useOptimistic",c(),It(),Wy(r)},useMemoCache:function(r){return c(),ai(r)},useHostTransitionStatus:Ys,useCacheRefresh:function(){return xe="useCacheRefresh",It(),im()},useEffectEvent:function(r){return xe="useEffectEvent",c(),It(),Zp(r)}},tu={readContext:function(r){return h(),Nn(r)},use:function(r){return c(),Au(r)},useCallback:function(r,a){return xe="useCallback",c(),Be(),em(r,a)},useContext:function(r){return xe="useContext",c(),Be(),Nn(r)},useEffect:function(r,a){xe="useEffect",c(),Be(),gi(2048,ka,r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",c(),Be(),Jp(r,a,s)},useInsertionEffect:function(r,a){return xe="useInsertionEffect",c(),Be(),gi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",c(),Be(),gi(4,xo,r,a)},useMemo:function(r,a){xe="useMemo",c(),Be();var s=Ae.H;Ae.H=tu;try{return Td(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",c(),Be();var f=Ae.H;Ae.H=tu;try{return Nc(r,a,s)}finally{Ae.H=f}},useRef:function(){return xe="useRef",c(),Be(),bn().memoizedState},useState:function(){xe="useState",c(),Be();var r=Ae.H;Ae.H=tu;try{return Nc(vo)}finally{Ae.H=r}},useDebugValue:function(){xe="useDebugValue",c(),Be()},useDeferredValue:function(r,a){return xe="useDeferredValue",c(),Be(),HE(r,a)},useTransition:function(){return xe="useTransition",c(),Be(),nm()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",c(),Be(),Ed(r,a,s)},useId:function(){return xe="useId",c(),Be(),bn().memoizedState},useFormState:function(r){return xe="useFormState",c(),Be(),wl(r)},useActionState:function(r){return xe="useActionState",c(),Be(),wl(r)},useOptimistic:function(r,a){return xe="useOptimistic",c(),Be(),yo(r,a)},useMemoCache:function(r){return c(),ai(r)},useHostTransitionStatus:Ys,useCacheRefresh:function(){return xe="useCacheRefresh",Be(),bn().memoizedState},useEffectEvent:function(r){return xe="useEffectEvent",c(),Be(),Hr(r)}},iO={readContext:function(r){return h(),Nn(r)},use:function(r){return c(),Au(r)},useCallback:function(r,a){return xe="useCallback",c(),Be(),em(r,a)},useContext:function(r){return xe="useContext",c(),Be(),Nn(r)},useEffect:function(r,a){xe="useEffect",c(),Be(),gi(2048,ka,r,a)},useImperativeHandle:function(r,a,s){return xe="useImperativeHandle",c(),Be(),Jp(r,a,s)},useInsertionEffect:function(r,a){return xe="useInsertionEffect",c(),Be(),gi(4,Pa,r,a)},useLayoutEffect:function(r,a){return xe="useLayoutEffect",c(),Be(),gi(4,xo,r,a)},useMemo:function(r,a){xe="useMemo",c(),Be();var s=Ae.H;Ae.H=tu;try{return Td(r,a)}finally{Ae.H=s}},useReducer:function(r,a,s){xe="useReducer",c(),Be();var f=Ae.H;Ae.H=tu;try{return _d(r,a,s)}finally{Ae.H=f}},useRef:function(){return xe="useRef",c(),Be(),bn().memoizedState},useState:function(){xe="useState",c(),Be();var r=Ae.H;Ae.H=tu;try{return _d(vo)}finally{Ae.H=r}},useDebugValue:function(){xe="useDebugValue",c(),Be()},useDeferredValue:function(r,a){return xe="useDeferredValue",c(),Be(),jc(r,a)},useTransition:function(){return xe="useTransition",c(),Be(),GE()},useSyncExternalStore:function(r,a,s){return xe="useSyncExternalStore",c(),Be(),Ed(r,a,s)},useId:function(){return xe="useId",c(),Be(),bn().memoizedState},useFormState:function(r){return xe="useFormState",c(),Be(),wr(r)},useActionState:function(r){return xe="useActionState",c(),Be(),wr(r)},useOptimistic:function(r,a){return xe="useOptimistic",c(),Be(),Cu(r,a)},useMemoCache:function(r){return c(),ai(r)},useHostTransitionStatus:Ys,useCacheRefresh:function(){return xe="useCacheRefresh",Be(),bn().memoizedState},useEffectEvent:function(r){return xe="useEffectEvent",c(),Be(),Hr(r)}};var NY={},PY=new Set,kY=new Set,jY=new Set,LY=new Set,IY=new Set,$Y=new Set,zY=new Set,qY=new Set,UY=new Set,BY=new Set;Object.freeze(NY);var eI={enqueueSetState:function(r,a,s){r=r._reactInternals;var f=ua(r),g=Ru(f);g.payload=a,s!=null&&(xd(s),g.callback=s),a=Ou(r,g,f),a!==null&&(Ea(f,"this.setState()",r),Jn(a,r,f),yd(a,r,f))},enqueueReplaceState:function(r,a,s){r=r._reactInternals;var f=ua(r),g=Ru(f);g.tag=RY,g.payload=a,s!=null&&(xd(s),g.callback=s),a=Ou(r,g,f),a!==null&&(Ea(f,"this.replaceState()",r),Jn(a,r,f),yd(a,r,f))},enqueueForceUpdate:function(r,a){r=r._reactInternals;var s=ua(r),f=Ru(s);f.tag=OY,a!=null&&(xd(a),f.callback=a),a=Ou(r,f,s),a!==null&&(Ea(s,"this.forceUpdate()",r),Jn(a,r,s),yd(a,r,s))}},Og=null,tI=null,nI=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Qr=!1,HY={},FY={},VY={},YY={},Tg=!1,GY={},aO={},rI={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},WY=!1,XY=null;XY=new Set;var Wl=!1,Kr=!1,iI=!1,QY=typeof WeakSet=="function"?WeakSet:Set,Oi=null,xg=null,Ag=null,Zr=null,eo=!1,nu=null,li=!1,W0=8192,Epe={getCacheForType:function(r){var a=Nn(Gr),s=a.data.get(r);return s===void 0&&(s=r(),a.data.set(r,s)),s},cacheSignal:function(){return Nn(Gr).controller.signal},getOwner:function(){return Da}};if(typeof Symbol=="function"&&Symbol.for){var X0=Symbol.for;X0("selector.component"),X0("selector.has_pseudo_class"),X0("selector.role"),X0("selector.test_id"),X0("selector.text")}var wpe=[],Rpe=typeof WeakMap=="function"?WeakMap:Map,Ti=0,ci=2,Ao=4,Xl=0,Q0=1,dh=2,oO=3,ff=4,sO=6,KY=5,fn=Ti,$n=null,Vt=null,Bt=0,to=0,uO=1,hh=2,K0=3,ZY=4,aI=5,Z0=6,lO=7,oI=8,ph=9,An=to,Co=null,df=!1,Cg=!1,sI=!1,Yu=0,lr=Xl,hf=0,pf=0,uI=0,no=0,mh=0,J0=null,ja=null,cO=!1,fO=0,JY=0,eG=300,dO=1/0,tG=500,eS=null,Tr=null,mf=null,hO=0,lI=1,cI=2,nG=3,gf=0,rG=1,iG=2,aG=3,oG=4,pO=5,Jr=0,vf=null,Dg=null,ru=0,fI=0,dI=-0,hI=null,sG=null,uG=null,iu=hO,lG=null,Ope=50,tS=0,pI=null,mI=!1,mO=!1,Tpe=50,gh=0,nS=null,Mg=!1,gO=null,cG=!1,fG=new Set,xpe={},vO=null,Ng=null,gI=!1,vI=!1,yO=!1,yI=!1,yf=0,bI={};(function(){for(var r=0;r<DL.length;r++){var a=DL[r],s=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),Zn(s,"on"+a)}Zn(UV,"onAnimationEnd"),Zn(BV,"onAnimationIteration"),Zn(HV,"onAnimationStart"),Zn("dblclick","onDoubleClick"),Zn("focusin","onFocus"),Zn("focusout","onBlur"),Zn(npe,"onTransitionRun"),Zn(rpe,"onTransitionStart"),Zn(ipe,"onTransitionCancel"),Zn(FV,"onTransitionEnd")})(),ft("onMouseEnter",["mouseout","mouseover"]),ft("onMouseLeave",["mouseout","mouseover"]),ft("onPointerEnter",["pointerout","pointerover"]),ft("onPointerLeave",["pointerout","pointerover"]),Nt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rS="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(" "),SI=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rS)),bO="_reactListening"+Math.random().toString(36).slice(2),dG=!1,hG=!1,SO=!1,pG=!1,_O=!1,EO=!1,mG=!1,wO={},Ape=/\r\n?/g,Cpe=/\u0000|\uFFFD/g,vh="http://www.w3.org/1999/xlink",_I="http://www.w3.org/XML/1998/namespace",Dpe="javascript:throw new Error('React form unexpectedly submitted.')",Mpe="suppressHydrationWarning",yh="&",RO="/&",iS="$",aS="/$",bf="$?",bh="$~",Pg="$!",Npe="html",Ppe="body",kpe="head",EI="F!",gG="F",vG="loading",jpe="style",Ql=0,kg=1,OO=2,wI=null,RI=null,yG={dialog:!0,webview:!0},OI=null,oS=void 0,bG=typeof setTimeout=="function"?setTimeout:void 0,Lpe=typeof clearTimeout=="function"?clearTimeout:void 0,Sh=-1,SG=typeof Promise=="function"?Promise:void 0,Ipe=typeof queueMicrotask=="function"?queueMicrotask:typeof SG<"u"?function(r){return SG.resolve(null).then(r).catch(zj)}:bG,TI=null,_h=0,sS=1,_G=2,EG=3,ws=4,Rs=new Map,wG=new Set,Kl=cn.d;cn.d={f:function(){var r=Kl.f(),a=Dl();return r||a},r:function(r){var a=Fe(r);a!==null&&a.tag===5&&a.type==="form"?YE(a):Kl.r(r)},D:function(r){Kl.D(r),Jw("dns-prefetch",r,null)},C:function(r,a){Kl.C(r,a),Jw("preconnect",r,a)},L:function(r,a,s){Kl.L(r,a,s);var f=jg;if(f&&r&&a){var g='link[rel="preload"][as="'+Dn(a)+'"]';a==="image"&&s&&s.imageSrcSet?(g+='[imagesrcset="'+Dn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(g+='[imagesizes="'+Dn(s.imageSizes)+'"]')):g+='[href="'+Dn(r)+'"]';var y=g;switch(a){case"style":y=Hc(r);break;case"script":y=Fc(r)}Rs.has(y)||(r=zt({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:r,as:a},s),Rs.set(y,r),f.querySelector(g)!==null||a==="style"&&f.querySelector(Yd(y))||a==="script"&&f.querySelector(Gd(y))||(a=f.createElement("link"),si(a,"link",r),rt(a),f.head.appendChild(a)))}},m:function(r,a){Kl.m(r,a);var s=jg;if(s&&r){var f=a&&typeof a.as=="string"?a.as:"script",g='link[rel="modulepreload"][as="'+Dn(f)+'"][href="'+Dn(r)+'"]',y=g;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=Fc(r)}if(!Rs.has(y)&&(r=zt({rel:"modulepreload",href:r},a),Rs.set(y,r),s.querySelector(g)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Gd(y)))return}f=s.createElement("link"),si(f,"link",r),rt(f),s.head.appendChild(f)}}},X:function(r,a){Kl.X(r,a);var s=jg;if(s&&r){var f=gt(s).hoistableScripts,g=Fc(r),y=f.get(g);y||(y=s.querySelector(Gd(g)),y||(r=zt({src:r,async:!0},a),(a=Rs.get(g))&&bi(r,a),y=s.createElement("script"),rt(y),si(y,"link",r),s.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},f.set(g,y))}},S:function(r,a,s){Kl.S(r,a,s);var f=jg;if(f&&r){var g=gt(f).hoistableStyles,y=Hc(r);a=a||"default";var w=g.get(y);if(!w){var A={loading:_h,preload:null};if(w=f.querySelector(Yd(y)))A.loading=sS|ws;else{r=zt({rel:"stylesheet",href:r,"data-precedence":a},s),(s=Rs.get(y))&&Jb(r,s);var j=w=f.createElement("link");rt(j),si(j,"link",r),j._p=new Promise(function(q,pe){j.onload=q,j.onerror=pe}),j.addEventListener("load",function(){A.loading|=sS}),j.addEventListener("error",function(){A.loading|=_G}),A.loading|=ws,Ot(w,a,f)}w={type:"stylesheet",instance:w,count:1,state:A},g.set(y,w)}}},M:function(r,a){Kl.M(r,a);var s=jg;if(s&&r){var f=gt(s).hoistableScripts,g=Fc(r),y=f.get(g);y||(y=s.querySelector(Gd(g)),y||(r=zt({src:r,async:!0,type:"module"},a),(a=Rs.get(g))&&bi(r,a),y=s.createElement("script"),rt(y),si(y,"link",r),s.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},f.set(g,y))}}};var jg=typeof document>"u"?null:document,TO=null,$pe=6e4,zpe=800,qpe=500,xI=0,AI=null,xO=null,Eh=oL,uS={$$typeof:us,Provider:null,Consumer:null,_currentValue:Eh,_currentValue2:Eh,_threadCount:0},RG="%c%s%c",OG="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",TG="",AO=" ",Upe=Function.prototype.bind,xG=!1,AG=null,CG=null,DG=null,MG=null,NG=null,PG=null,kG=null,jG=null,LG=null,IG=null;AG=function(r,a,s,f){a=e(r,a),a!==null&&(s=t(a.memoizedState,s,0,f),a.memoizedState=s,a.baseState=s,r.memoizedProps=zt({},r.memoizedProps),s=zr(r,2),s!==null&&Jn(s,r,2))},CG=function(r,a,s){a=e(r,a),a!==null&&(s=o(a.memoizedState,s,0),a.memoizedState=s,a.baseState=s,r.memoizedProps=zt({},r.memoizedProps),s=zr(r,2),s!==null&&Jn(s,r,2))},DG=function(r,a,s,f){a=e(r,a),a!==null&&(s=n(a.memoizedState,s,f),a.memoizedState=s,a.baseState=s,r.memoizedProps=zt({},r.memoizedProps),s=zr(r,2),s!==null&&Jn(s,r,2))},MG=function(r,a,s){r.pendingProps=t(r.memoizedProps,a,0,s),r.alternate&&(r.alternate.pendingProps=r.pendingProps),a=zr(r,2),a!==null&&Jn(a,r,2)},NG=function(r,a){r.pendingProps=o(r.memoizedProps,a,0),r.alternate&&(r.alternate.pendingProps=r.pendingProps),a=zr(r,2),a!==null&&Jn(a,r,2)},PG=function(r,a,s){r.pendingProps=n(r.memoizedProps,a,s),r.alternate&&(r.alternate.pendingProps=r.pendingProps),a=zr(r,2),a!==null&&Jn(a,r,2)},kG=function(r){var a=zr(r,2);a!==null&&Jn(a,r,2)},jG=function(r){var a=an(),s=zr(r,a);s!==null&&Jn(s,r,a)},LG=function(r){l=r},IG=function(r){u=r};var CO=!0,DO=null,CI=!1,Sf=null,_f=null,Ef=null,lS=new Map,cS=new Map,wf=[],Bpe="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(" "),MO=null;if(Za.prototype.render=Gm.prototype.render=function(r){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var s=arguments;typeof s[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):O(s[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof s[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),s=r;var f=a.current,g=ua(f);Vc(f,g,s,a,null,null)},Za.prototype.unmount=Gm.prototype.unmount=function(){var r=arguments;if(typeof r[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),r=this._internalRoot,r!==null){this._internalRoot=null;var a=r.containerInfo;(fn&(ci|Ao))!==Ti&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Vc(r.current,2,null,r,null,null),Dl(),a[Bu]=null}},Za.prototype.unstable_scheduleHydration=function(r){if(r){var a=Zt();r={blockedOn:null,target:r,priority:a};for(var s=0;s<wf.length&&a!==0&&a<wf[s].priority;s++);wf.splice(s,0,r),s===0&&Xd(r)}},(function(){var r=la.version;if(r!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
270
|
+
- react: `+(r+`
|
|
271
|
+
- react-dom: 19.2.7
|
|
272
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),cn.findDOMNode=function(r){var a=r._reactInternals;if(a===void 0)throw typeof r.render=="function"?Error("Unable to find node on an unmounted component."):(r=Object.keys(r).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+r));return r=k(a),r=r!==null?L(r):null,r=r===null?null:r.stateNode,r},!(function(){var r={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:Ae,reconcilerVersion:"19.2.7"};return r.overrideHookState=AG,r.overrideHookStateDeletePath=CG,r.overrideHookStateRenamePath=DG,r.overrideProps=MG,r.overridePropsDeletePath=NG,r.overridePropsRenamePath=PG,r.scheduleUpdate=kG,r.scheduleRetry=jG,r.setErrorHandler=LG,r.setSuspenseHandler=IG,r.scheduleRefresh=x,r.scheduleRoot=_,r.setRefreshHandler=R,r.getCurrentFiber=eL,At(r)})()&&be&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var $G=window.location.protocol;/^(https?|file):$/.test($G)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+($G==="file:"?`
|
|
273
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}$g.createRoot=function(r,a){if(!O(r))throw Error("Target container is not a DOM element.");Pt(r);var s=!1,f="",g=$t,y=ZE,w=JE;return a!=null&&(a.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof a=="object"&&a!==null&&a.$$typeof===ss&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
274
|
+
|
|
275
|
+
let root = createRoot(domContainer);
|
|
276
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(g=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError)),a=os(r,1,!1,null,null,s,f,null,g,y,w,sR),r[Bu]=a.current,qb(r),new Gm(a)},$g.hydrateRoot=function(r,a,s){if(!O(r))throw Error("Target container is not a DOM element.");Pt(r),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=!1,g="",y=$t,w=ZE,A=JE,j=null;return s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onUncaughtError!==void 0&&(y=s.onUncaughtError),s.onCaughtError!==void 0&&(w=s.onCaughtError),s.onRecoverableError!==void 0&&(A=s.onRecoverableError),s.formState!==void 0&&(j=s.formState)),a=os(r,1,!0,a,s??null,f,g,j,y,w,A,sR),a.context=t0(null),s=a.current,f=ua(s),f=Cn(f),g=Ru(f),g.callback=null,Ou(s,g,f),Ea(f,"hydrateRoot()",null),s=f,a.current.lanes=s,mn(a,s),is(a),r[Bu]=a.current,qb(r),new Za(a)},$g.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),$g}var UI;function GG(){return UI||(UI=1,jO.exports=YG()),jO.exports}var BI=GG(),zO={exports:{}},qO={},HI;function WG(){if(HI)return qO;HI=1;/**
|
|
277
|
+
* @license React
|
|
278
|
+
* use-sync-external-store-with-selector.development.js
|
|
279
|
+
*
|
|
280
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
281
|
+
*
|
|
282
|
+
* This source code is licensed under the MIT license found in the
|
|
283
|
+
* LICENSE file in the root directory of this source tree.
|
|
284
|
+
*/return(function(){function e(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=Gu(),n=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,o=t.useRef,u=t.useEffect,l=t.useMemo,c=t.useDebugValue;qO.useSyncExternalStoreWithSelector=function(h,p,v,b,S){var _=o(null);if(_.current===null){var x={hasValue:!1,value:null};_.current=x}else x=_.current;_=l(function(){function O(k){if(!T){if(T=!0,M=k,k=b(k),S!==void 0&&x.hasValue){var L=x.value;if(S(L,k))return P=L}return P=k}if(L=P,n(M,k))return L;var z=b(k);return S!==void 0&&S(L,z)?(M=k,L):(M=k,P=z)}var T=!1,M,P,C=v===void 0?null:v;return[function(){return O(p())},C===null?void 0:function(){return O(C())}]},[p,v,b,S]);var R=i(h,_[0],_[1]);return u(function(){x.hasValue=!0,x.value=R},[R]),c(R),R},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),qO}var FI;function XG(){return FI||(FI=1,zO.exports=WG()),zO.exports}var QG=XG();function KG(e){e()}function ZG(){let e=null,t=null;return{clear(){e=null,t=null},notify(){KG(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!i||e===null||(i=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var VI={notify(){},get:()=>[]};function JG(e,t){let n,i=VI,o=0,u=!1;function l(R){v();const O=i.subscribe(R);let T=!1;return()=>{T||(T=!0,O(),b())}}function c(){i.notify()}function h(){x.onStateChange&&x.onStateChange()}function p(){return u}function v(){o++,n||(n=e.subscribe(h),i=ZG())}function b(){o--,n&&o===0&&(n(),n=void 0,i.clear(),i=VI)}function S(){u||(u=!0,v())}function _(){u&&(u=!1,b())}const x={addNestedSub:l,notifyNestedSubs:c,handleChangeWrapper:h,isSubscribed:p,trySubscribe:S,tryUnsubscribe:_,getListeners:()=>i};return x}var eW=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tW=eW(),nW=()=>typeof navigator<"u"&&navigator.product==="ReactNative",rW=nW(),iW=()=>tW||rW?F.useLayoutEffect:F.useEffect,aW=iW(),UO=Symbol.for("react-redux-context"),BO=typeof globalThis<"u"?globalThis:{};function oW(){if(!F.createContext)return{};const e=BO[UO]??(BO[UO]=new Map);let t=e.get(F.createContext);return t||(t=F.createContext(null),t.displayName="ReactRedux",e.set(F.createContext,t)),t}var Jl=oW();function sW(e){const{children:t,context:n,serverState:i,store:o}=e,u=F.useMemo(()=>{const h=JG(o),p={store:o,subscription:h,getServerState:i?()=>i:void 0};{const{identityFunctionCheck:v="once",stabilityCheck:b="once"}=e;return Object.assign(p,{stabilityCheck:b,identityFunctionCheck:v})}},[o,i]),l=F.useMemo(()=>o.getState(),[o]);aW(()=>{const{subscription:h}=u;return h.onStateChange=h.notifyNestedSubs,h.trySubscribe(),l!==o.getState()&&h.notifyNestedSubs(),()=>{h.tryUnsubscribe(),h.onStateChange=void 0}},[u,l]);const c=n||Jl;return F.createElement(c.Provider,{value:u},t)}var uW=sW;function HO(e=Jl){return function(){const n=F.useContext(e);if(!n)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return n}}var YI=HO();function GI(e=Jl){const t=e===Jl?YI:HO(e),n=()=>{const{store:i}=t();return i};return Object.assign(n,{withTypes:()=>n}),n}var lW=GI();function cW(e=Jl){const t=e===Jl?lW:GI(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var fW=cW(),dW=(e,t)=>e===t;function hW(e=Jl){const t=e===Jl?YI:HO(e),n=(i,o={})=>{const{equalityFn:u=dW}=typeof o=="function"?{equalityFn:o}:o;{if(!i)throw new Error("You must pass a selector to useSelector");if(typeof i!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof u!="function")throw new Error("You must pass a function as an equality function to useSelector")}const l=t(),{store:c,subscription:h,getServerState:p}=l,v=F.useRef(!0),b=F.useCallback({[i.name](_){const x=i(_);{const{devModeChecks:R={}}=typeof o=="function"?{}:o,{identityFunctionCheck:O,stabilityCheck:T}=l,{identityFunctionCheck:M,stabilityCheck:P}={stabilityCheck:T,identityFunctionCheck:O,...R};if(P==="always"||P==="once"&&v.current){const C=i(_);if(!u(x,C)){let k;try{throw new Error}catch(L){({stack:k}=L)}console.warn("Selector "+(i.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
|
|
285
|
+
Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:_,selected:x,selected2:C,stack:k})}}if((M==="always"||M==="once"&&v.current)&&x===_){let C;try{throw new Error}catch(k){({stack:C}=k)}console.warn("Selector "+(i.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
|
|
286
|
+
Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:C})}v.current&&(v.current=!1)}return x}}[i.name],[i]),S=QG.useSyncExternalStoreWithSelector(h.addNestedSub,c.getState,p||c.getState,b,u);return F.useDebugValue(S),S};return Object.assign(n,{withTypes:()=>n}),n}var zg=hW();function WI(e,t){return function(){return e.apply(t,arguments)}}const{toString:pW}=Object.prototype,{getPrototypeOf:wh}=Object,{iterator:qg,toStringTag:XI}=Symbol,dS=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ug=(e,t)=>{let n=e;const i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),dS(n,t))return!0;n=wh(n)}return!1},mW=(e,t)=>e!=null&&Ug(e,t)?e[t]:void 0,FO=(e=>t=>{const n=pW.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Os=e=>(e=e.toLowerCase(),t=>FO(t)===e),hS=e=>t=>typeof t===e,{isArray:Rf}=Array,Rh=hS("undefined");function Oh(e){return e!==null&&!Rh(e)&&e.constructor!==null&&!Rh(e.constructor)&&La(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const QI=Os("ArrayBuffer");function gW(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&QI(e.buffer),t}const vW=hS("string"),La=hS("function"),KI=hS("number"),Th=e=>e!==null&&typeof e=="object",yW=e=>e===!0||e===!1,pS=e=>{if(!Th(e))return!1;const t=wh(e);return(t===null||t===Object.prototype||wh(t)===null)&&!Ug(e,XI)&&!Ug(e,qg)},bW=e=>{if(!Th(e)||Oh(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},SW=Os("Date"),_W=Os("File"),EW=e=>!!(e&&typeof e.uri<"u"),wW=e=>e&&typeof e.getParts<"u",RW=Os("Blob"),OW=Os("FileList"),TW=e=>Th(e)&&La(e.pipe);function xW(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ZI=xW(),JI=typeof ZI.FormData<"u"?ZI.FormData:void 0,AW=e=>{if(!e)return!1;if(JI&&e instanceof JI)return!0;const t=wh(e);if(!t||t===Object.prototype||!La(e.append))return!1;const n=FO(e);return n==="formdata"||n==="object"&&La(e.toString)&&e.toString()==="[object FormData]"},CW=Os("URLSearchParams"),[DW,MW,NW,PW]=["ReadableStream","Request","Response","Headers"].map(Os),kW=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bg(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),Rf(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{if(Oh(e))return;const u=n?Object.getOwnPropertyNames(e):Object.keys(e),l=u.length;let c;for(i=0;i<l;i++)c=u[i],t.call(null,e[c],c,e)}}function e$(e,t){if(Oh(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}const Of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,t$=e=>!Rh(e)&&e!==Of;function VO(...e){const{caseless:t,skipUndefined:n}=t$(this)&&this||{},i={},o=(u,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=t&&typeof l=="string"&&e$(i,l)||l,h=dS(i,c)?i[c]:void 0;pS(h)&&pS(u)?i[c]=VO(h,u):pS(u)?i[c]=VO({},u):Rf(u)?i[c]=u.slice():(!n||!Rh(u))&&(i[c]=u)};for(let u=0,l=e.length;u<l;u++){const c=e[u];if(!c||Oh(c)||(Bg(c,o),typeof c!="object"||Rf(c)))continue;const h=Object.getOwnPropertySymbols(c);for(let p=0;p<h.length;p++){const v=h[p];YW.call(c,v)&&o(c[v],v)}}return i}const jW=(e,t,n,{allOwnKeys:i}={})=>(Bg(t,(o,u)=>{n&&La(o)?Object.defineProperty(e,u,{__proto__:null,value:WI(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,u,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),LW=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),IW=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},$W=(e,t,n,i)=>{let o,u,l;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),u=o.length;u-- >0;)l=o[u],(!i||i(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=n!==!1&&wh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zW=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},qW=e=>{if(!e)return null;if(Rf(e))return e;let t=e.length;if(!KI(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},UW=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wh(Uint8Array)),BW=(e,t)=>{const i=(e&&e[qg]).call(e);let o;for(;(o=i.next())&&!o.done;){const u=o.value;t.call(e,u[0],u[1])}},HW=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},FW=Os("HTMLFormElement"),VW=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),{propertyIsEnumerable:YW}=Object.prototype,GW=Os("RegExp"),n$=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Bg(n,(o,u)=>{let l;(l=t(o,u,e))!==!1&&(i[u]=l||o)}),Object.defineProperties(e,i)},WW=e=>{n$(e,(t,n)=>{if(La(e)&&["arguments","caller","callee"].includes(n))return!1;const i=e[n];if(La(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XW=(e,t)=>{const n={},i=o=>{o.forEach(u=>{n[u]=!0})};return Rf(e)?i(e):i(String(e).split(t)),n},QW=()=>{},KW=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ZW(e){return!!(e&&La(e.append)&&e[XI]==="FormData"&&e[qg])}const JW=e=>{const t=new WeakSet,n=i=>{if(Th(i)){if(t.has(i))return;if(Oh(i))return i;if(!("toJSON"in i)){t.add(i);const o=Rf(i)?[]:{};return Bg(i,(u,l)=>{const c=n(u);!Rh(c)&&(o[l]=c)}),t.delete(i),o}}return i};return n(e)},eX=Os("AsyncFunction"),tX=e=>e&&(Th(e)||La(e))&&La(e.then)&&La(e.catch),r$=((e,t)=>e?setImmediate:t?((n,i)=>(Of.addEventListener("message",({source:o,data:u})=>{o===Of&&u===n&&i.length&&i.shift()()},!1),o=>{i.push(o),Of.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",La(Of.postMessage)),nX=typeof queueMicrotask<"u"?queueMicrotask.bind(Of):typeof process<"u"&&process.nextTick||r$,i$=e=>e!=null&&La(e[qg]),ve={isArray:Rf,isArrayBuffer:QI,isBuffer:Oh,isFormData:AW,isArrayBufferView:gW,isString:vW,isNumber:KI,isBoolean:yW,isObject:Th,isPlainObject:pS,isEmptyObject:bW,isReadableStream:DW,isRequest:MW,isResponse:NW,isHeaders:PW,isUndefined:Rh,isDate:SW,isFile:_W,isReactNativeBlob:EW,isReactNative:wW,isBlob:RW,isRegExp:GW,isFunction:La,isStream:TW,isURLSearchParams:CW,isTypedArray:UW,isFileList:OW,forEach:Bg,merge:VO,extend:jW,trim:kW,stripBOM:LW,inherits:IW,toFlatObject:$W,kindOf:FO,kindOfTest:Os,endsWith:zW,toArray:qW,forEachEntry:BW,matchAll:HW,isHTMLForm:FW,hasOwnProperty:dS,hasOwnProp:dS,hasOwnInPrototypeChain:Ug,getSafeProp:mW,reduceDescriptors:n$,freezeMethods:WW,toObjectSet:XW,toCamelCase:VW,noop:QW,toFiniteNumber:KW,findKey:e$,global:Of,isContextDefined:t$,isSpecCompliantForm:ZW,toJSONObject:JW,isAsyncFn:eX,isThenable:tX,setImmediate:r$,asap:nX,isIterable:i$,isSafeIterable:e=>e!=null&&Ug(e,qg)&&i$(e)},rX=ve.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"]),iX=e=>{const t={};let n,i,o;return e&&e.split(`
|
|
287
|
+
`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),i=l.substring(o+1).trim(),!(!n||t[n]&&rX[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t};function aX(e){let t=0,n=e.length;for(;t<n;){const i=e.charCodeAt(t);if(i!==9&&i!==32)break;t+=1}for(;n>t;){const i=e.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const oX=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),sX=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function YO(e,t){return ve.isArray(e)?e.map(n=>YO(n,t)):aX(String(e).replace(t,""))}const uX=e=>YO(e,oX),lX=e=>YO(e,sX);function a$(e){const t=Object.create(null);return ve.forEach(e.toJSON(),(n,i)=>{t[i]=lX(n)}),t}const o$=Symbol("internals");function Hg(e){return e&&String(e).trim().toLowerCase()}function mS(e){return e===!1||e==null?e:ve.isArray(e)?e.map(mS):uX(String(e))}function cX(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const fX=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function GO(e,t,n,i,o){if(ve.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!ve.isString(t)){if(ve.isString(i))return t.indexOf(i)!==-1;if(ve.isRegExp(i))return i.test(t)}}function dX(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function hX(e,t){const n=ve.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{__proto__:null,value:function(o,u,l){return this[i].call(this,t,o,u,l)},configurable:!0})})}let Yi=class{constructor(t){t&&this.set(t)}set(t,n,i){const o=this;function u(c,h,p){const v=Hg(h);if(!v)return;const b=ve.findKey(o,v);(!b||o[b]===void 0||p===!0||p===void 0&&o[b]!==!1)&&(o[b||h]=mS(c))}const l=(c,h)=>ve.forEach(c,(p,v)=>u(p,v,h));if(ve.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(ve.isString(t)&&(t=t.trim())&&!fX(t))l(iX(t),n);else if(ve.isObject(t)&&ve.isSafeIterable(t)){let c=Object.create(null),h,p;for(const v of t){if(!ve.isArray(v))throw new TypeError("Object iterator must return a key-value pair");p=v[0],ve.hasOwnProp(c,p)?(h=c[p],c[p]=ve.isArray(h)?[...h,v[1]]:[h,v[1]]):c[p]=v[1]}l(c,n)}else t!=null&&u(n,t,i);return this}get(t,n){if(t=Hg(t),t){const i=ve.findKey(this,t);if(i){const o=this[i];if(!n)return o;if(n===!0)return cX(o);if(ve.isFunction(n))return n.call(this,o,i);if(ve.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Hg(t),t){const i=ve.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||GO(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let o=!1;function u(l){if(l=Hg(l),l){const c=ve.findKey(i,l);c&&(!n||GO(i,i[c],c,n))&&(delete i[c],o=!0)}}return ve.isArray(t)?t.forEach(u):u(t),o}clear(t){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const u=n[i];(!t||GO(this,this[u],u,t,!0))&&(delete this[u],o=!0)}return o}normalize(t){const n=this,i={};return ve.forEach(this,(o,u)=>{const l=ve.findKey(i,u);if(l){n[l]=mS(o),delete n[u];return}const c=t?dX(u):String(u).trim();c!==u&&delete n[u],n[c]=mS(o),i[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ve.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&ve.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
288
|
+
`)}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 i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[o$]=this[o$]={accessors:{}}).accessors,o=this.prototype;function u(l){const c=Hg(l);i[c]||(hX(o,l),i[c]=!0)}return ve.isArray(t)?t.forEach(u):u(t),this}};Yi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ve.reduceDescriptors(Yi.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}}),ve.freezeMethods(Yi);const pX="[REDACTED ****]";function mX(e){if(ve.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ve.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function gX(e,t){const n=new Set(t.map(u=>String(u).toLowerCase())),i=[],o=u=>{if(u===null||typeof u!="object"||ve.isBuffer(u))return u;if(i.indexOf(u)!==-1)return;u instanceof Yi&&(u=u.toJSON()),i.push(u);let l;if(ve.isArray(u))l=[],u.forEach((c,h)=>{const p=o(c);ve.isUndefined(p)||(l[h]=p)});else{if(!ve.isPlainObject(u)&&mX(u))return i.pop(),u;l=Object.create(null);for(const[c,h]of Object.entries(u)){const p=n.has(c.toLowerCase())?pX:o(h);ve.isUndefined(p)||(l[c]=p)}}return i.pop(),l};return o(e)}let nt=class zG extends Error{static from(t,n,i,o,u,l){const c=new zG(t.message,n||t.code,i,o,u);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),l&&Object.assign(c,l),c}constructor(t,n,i,o,u){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),o&&(this.request=o),u&&(this.response=u,this.status=u.status)}toJSON(){const t=this.config,n=t&&ve.hasOwnProp(t,"redact")?t.redact:void 0,i=ve.isArray(n)&&n.length>0?gX(t,n):ve.toJSONObject(t);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:i,code:this.code,status:this.status}}};nt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",nt.ERR_BAD_OPTION="ERR_BAD_OPTION",nt.ECONNABORTED="ECONNABORTED",nt.ETIMEDOUT="ETIMEDOUT",nt.ECONNREFUSED="ECONNREFUSED",nt.ERR_NETWORK="ERR_NETWORK",nt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",nt.ERR_DEPRECATED="ERR_DEPRECATED",nt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",nt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",nt.ERR_CANCELED="ERR_CANCELED",nt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",nt.ERR_INVALID_URL="ERR_INVALID_URL",nt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const vX=null,s$=100;function WO(e){return ve.isPlainObject(e)||ve.isArray(e)}function u$(e){return ve.endsWith(e,"[]")?e.slice(0,-2):e}function XO(e,t,n){return e?e.concat(t).map(function(o,u){return o=u$(o),!n&&u?"["+o+"]":o}).join(n?".":""):t}function yX(e){return ve.isArray(e)&&!e.some(WO)}const bX=ve.toFlatObject(ve,{},null,function(t){return/^is[A-Z]/.test(t)});function gS(e,t,n){if(!ve.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ve.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(M,P){return!ve.isUndefined(P[M])});const i=n.metaTokens,o=n.visitor||x,u=n.dots,l=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,h=n.maxDepth===void 0?s$:n.maxDepth,p=c&&ve.isSpecCompliantForm(t),v=[];if(!ve.isFunction(o))throw new TypeError("visitor must be a function");function b(T){if(T===null)return"";if(ve.isDate(T))return T.toISOString();if(ve.isBoolean(T))return T.toString();if(!p&&ve.isBlob(T))throw new nt("Blob is not supported. Use a Buffer instead.");return ve.isArrayBuffer(T)||ve.isTypedArray(T)?p&&typeof Blob=="function"?new Blob([T]):Buffer.from(T):T}function S(T){if(T>h)throw new nt("Object is too deeply nested ("+T+" levels). Max depth: "+h,nt.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _(T,M){if(h===1/0)return JSON.stringify(T);const P=[];return JSON.stringify(T,function(k,L){if(!ve.isObject(L))return L;for(;P.length&&P[P.length-1]!==this;)P.pop();return P.push(L),S(M+P.length-1),L})}function x(T,M,P){let C=T;if(ve.isReactNative(t)&&ve.isReactNativeBlob(T))return t.append(XO(P,M,u),b(T)),!1;if(T&&!P&&typeof T=="object"){if(ve.endsWith(M,"{}"))M=i?M:M.slice(0,-2),T=_(T,1);else if(ve.isArray(T)&&yX(T)||(ve.isFileList(T)||ve.endsWith(M,"[]"))&&(C=ve.toArray(T)))return M=u$(M),C.forEach(function(L,z){!(ve.isUndefined(L)||L===null)&&t.append(l===!0?XO([M],z,u):l===null?M:M+"[]",b(L))}),!1}return WO(T)?!0:(t.append(XO(P,M,u),b(T)),!1)}const R=Object.assign(bX,{defaultVisitor:x,convertValue:b,isVisitable:WO});function O(T,M,P=0){if(!ve.isUndefined(T)){if(S(P),v.indexOf(T)!==-1)throw new Error("Circular reference detected in "+M.join("."));v.push(T),ve.forEach(T,function(k,L){(!(ve.isUndefined(k)||k===null)&&o.call(t,k,ve.isString(L)?L.trim():L,M,R))===!0&&O(k,M?M.concat(L):[L],P+1)}),v.pop()}}if(!ve.isObject(e))throw new TypeError("data must be an object");return O(e),t}function l$(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(i){return t[i]})}function QO(e,t){this._pairs=[],e&&gS(e,this,t)}const c$=QO.prototype;c$.append=function(t,n){this._pairs.push([t,n])},c$.toString=function(t){const n=t?function(i){return t.call(this,i,l$)}:l$;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function SX(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function f$(e,t,n){if(!t)return e;const i=ve.isFunction(n)?{serialize:n}:n,o=ve.getSafeProp(i,"encode")||SX,u=ve.getSafeProp(i,"serialize");let l;if(u?l=u(t,i):l=ve.isURLSearchParams(t)?t.toString():new QO(t,i).toString(o),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class d${constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ve.forEach(this.handlers,function(i){i!==null&&t(i)})}}const KO={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_X={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:QO,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ZO=typeof window<"u"&&typeof document<"u",JO=typeof navigator=="object"&&navigator||void 0,EX=ZO&&(!JO||["ReactNative","NativeScript","NS"].indexOf(JO.product)<0),wX=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",RX=ZO&&window.location.href||"http://localhost",xi={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ZO,hasStandardBrowserEnv:EX,hasStandardBrowserWebWorkerEnv:wX,navigator:JO,origin:RX},Symbol.toStringTag,{value:"Module"})),..._X};function OX(e,t){return gS(e,new xi.classes.URLSearchParams,{visitor:function(n,i,o,u){return xi.isNode&&ve.isBuffer(n)?(this.append(i,n.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}const h$=s$;function p$(e){if(e>h$)throw new nt("FormData field is too deeply nested ("+e+" levels). Max depth: "+h$,nt.ERR_FORM_DATA_DEPTH_EXCEEDED)}function TX(e){const t=[],n=/\w+|\[(\w*)]/g;let i;for(;(i=n.exec(e))!==null;)p$(t.length),t.push(i[0]==="[]"?"":i[1]||i[0]);return t}function xX(e){const t={},n=Object.keys(e);let i;const o=n.length;let u;for(i=0;i<o;i++)u=n[i],t[u]=e[u];return t}function m$(e){function t(n,i,o,u){p$(u);let l=n[u++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),h=u>=n.length;return l=!l&&ve.isArray(o)?o.length:l,h?(ve.hasOwnProp(o,l)?o[l]=ve.isArray(o[l])?o[l].concat(i):[o[l],i]:o[l]=i,!c):((!ve.hasOwnProp(o,l)||!ve.isObject(o[l]))&&(o[l]=[]),t(n,i,o[l],u)&&ve.isArray(o[l])&&(o[l]=xX(o[l])),!c)}if(ve.isFormData(e)&&ve.isFunction(e.entries)){const n={};return ve.forEachEntry(e,(i,o)=>{t(TX(i),o,n,0)}),n}return null}const xh=(e,t)=>e!=null&&ve.hasOwnProp(e,t)?e[t]:void 0;function AX(e,t,n){if(ve.isString(e))try{return(t||JSON.parse)(e),ve.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Fg={transitional:KO,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,u=ve.isObject(t);if(u&&ve.isHTMLForm(t)&&(t=new FormData(t)),ve.isFormData(t))return o?JSON.stringify(m$(t)):t;if(ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t)||ve.isReadableStream(t))return t;if(ve.isArrayBufferView(t))return t.buffer;if(ve.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(u){const h=xh(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return OX(t,h).toString();if((c=ve.isFileList(t))||i.indexOf("multipart/form-data")>-1){const p=xh(this,"env"),v=p&&p.FormData;return gS(c?{"files[]":t}:t,v&&new v,h)}}return u||o?(n.setContentType("application/json",!1),AX(t)):t}],transformResponse:[function(t){const n=xh(this,"transitional")||Fg.transitional,i=n&&n.forcedJSONParsing,o=xh(this,"responseType"),u=o==="json";if(ve.isResponse(t)||ve.isReadableStream(t))return t;if(t&&ve.isString(t)&&(i&&!o||u)){const c=!(n&&n.silentJSONParsing)&&u;try{return JSON.parse(t,xh(this,"parseReviver"))}catch(h){if(c)throw h.name==="SyntaxError"?nt.from(h,nt.ERR_BAD_RESPONSE,this,null,xh(this,"response")):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xi.classes.FormData,Blob:xi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ve.forEach(["delete","get","head","post","put","patch","query"],e=>{Fg.headers[e]={}});function eT(e,t){const n=this||Fg,i=t||n,o=Yi.from(i.headers);let u=i.data;return ve.forEach(e,function(c){u=c.call(n,u,o.normalize(),t?t.status:void 0)}),o.normalize(),u}function g$(e){return!!(e&&e.__CANCEL__)}let Vg=class extends nt{constructor(t,n,i){super(t??"canceled",nt.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function v$(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new nt("Request failed with status code "+n.status,n.status>=400&&n.status<500?nt.ERR_BAD_REQUEST:nt.ERR_BAD_RESPONSE,n.config,n.request,n))}function CX(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function DX(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o=0,u=0,l;return t=t!==void 0?t:1e3,function(h){const p=Date.now(),v=i[u];l||(l=p),n[o]=h,i[o]=p;let b=u,S=0;for(;b!==o;)S+=n[b++],b=b%e;if(o=(o+1)%e,o===u&&(u=(u+1)%e),p-l<t)return;const _=v&&p-v;return _?Math.round(S*1e3/_):void 0}}function MX(e,t){let n=0,i=1e3/t,o,u;const l=(p,v=Date.now())=>{n=v,o=null,u&&(clearTimeout(u),u=null),e(...p)};return[(...p)=>{const v=Date.now(),b=v-n;b>=i?l(p,v):(o=p,u||(u=setTimeout(()=>{u=null,l(o)},i-b)))},()=>o&&l(o)]}const vS=(e,t,n=3)=>{let i=0;const o=DX(50,250);return MX(u=>{if(!u||typeof u.loaded!="number")return;const l=u.loaded,c=u.lengthComputable?u.total:void 0,h=c!=null?Math.min(l,c):l,p=Math.max(0,h-i),v=o(p);i=Math.max(i,h);const b={loaded:h,total:c,progress:c?h/c:void 0,bytes:p,rate:v||void 0,estimated:v&&c?(c-h)/v:void 0,event:u,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(b)},n)},y$=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},b$=e=>(...t)=>ve.asap(()=>e(...t)),NX=xi.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,xi.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(xi.origin),xi.navigator&&/(msie|trident)/i.test(xi.navigator.userAgent)):()=>!0,PX=xi.hasStandardBrowserEnv?{write(e,t,n,i,o,u,l){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];ve.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),ve.isString(i)&&c.push(`path=${i}`),ve.isString(o)&&c.push(`domain=${o}`),u===!0&&c.push("secure"),ve.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const i=t[n].replace(/^\s+/,""),o=i.indexOf("=");if(o!==-1&&i.slice(0,o)===e)return decodeURIComponent(i.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function kX(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jX(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const LX=/^https?:(?!\/\/)/i,IX=/[\t\n\r]/g;function $X(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function zX(e){return $X(e).replace(IX,"")}function S$(e,t){if(typeof e=="string"&&LX.test(zX(e)))throw new nt('Invalid URL: missing "//" after protocol',nt.ERR_INVALID_URL,t)}function _$(e,t,n,i){S$(t,i);let o=!kX(t);return e&&(o||n===!1)?(S$(e,i),jX(e,t)):t}const E$=e=>e instanceof Yi?{...e}:e;function Tf(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(v,b,S,_){return ve.isPlainObject(v)&&ve.isPlainObject(b)?ve.merge.call({caseless:_},v,b):ve.isPlainObject(b)?ve.merge({},b):ve.isArray(b)?b.slice():b}function o(v,b,S,_){if(ve.isUndefined(b)){if(!ve.isUndefined(v))return i(void 0,v,S,_)}else return i(v,b,S,_)}function u(v,b){if(!ve.isUndefined(b))return i(void 0,b)}function l(v,b){if(ve.isUndefined(b)){if(!ve.isUndefined(v))return i(void 0,v)}else return i(void 0,b)}function c(v){const b=ve.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!ve.isUndefined(b))if(ve.isPlainObject(b)){if(ve.hasOwnProp(b,v))return b[v]}else return;const S=ve.hasOwnProp(e,"transitional")?e.transitional:void 0;if(ve.isPlainObject(S)&&ve.hasOwnProp(S,v))return S[v]}function h(v,b,S){if(ve.hasOwnProp(t,S))return i(v,b);if(ve.hasOwnProp(e,S))return i(void 0,v)}const p={url:u,method:u,data:u,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:h,headers:(v,b,S)=>o(E$(v),E$(b),S,!0)};return ve.forEach(Object.keys({...e,...t}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const S=ve.hasOwnProp(p,b)?p[b]:o,_=ve.hasOwnProp(e,b)?e[b]:void 0,x=ve.hasOwnProp(t,b)?t[b]:void 0,R=S(_,x,b);ve.isUndefined(R)&&S!==h||(n[b]=R)}),ve.hasOwnProp(t,"validateStatus")&&ve.isUndefined(t.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(ve.hasOwnProp(e,"validateStatus")?n.validateStatus=i(void 0,e.validateStatus):delete n.validateStatus),n}const qX=["content-type","content-length"];function UX(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([i,o])=>{qX.includes(i.toLowerCase())&&e.set(i,o)})}const BX=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function w$(e){const t=Tf({},e),n=S=>ve.hasOwnProp(t,S)?t[S]:void 0,i=n("data");let o=n("withXSRFToken");const u=n("xsrfHeaderName"),l=n("xsrfCookieName");let c=n("headers");const h=n("auth"),p=n("baseURL"),v=n("allowAbsoluteUrls"),b=n("url");if(t.headers=c=Yi.from(c),t.url=f$(_$(p,b,v,t),n("params"),n("paramsSerializer")),h){const S=ve.getSafeProp(h,"username")||"",_=ve.getSafeProp(h,"password")||"";c.set("Authorization","Basic "+btoa(S+":"+(_?BX(_):"")))}if(ve.isFormData(i)&&(xi.hasStandardBrowserEnv||xi.hasStandardBrowserWebWorkerEnv||ve.isReactNative(i)?c.setContentType(void 0):ve.isFunction(i.getHeaders)&&UX(c,i.getHeaders(),n("formDataHeaderPolicy"))),xi.hasStandardBrowserEnv&&(ve.isFunction(o)&&(o=o(t)),o===!0||o==null&&NX(t.url))){const _=u&&l&&PX.read(l);_&&c.set(u,_)}return t}const HX=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,i){const o=w$(e);let u=o.data;const l=Yi.from(o.headers).normalize();let{responseType:c,onUploadProgress:h,onDownloadProgress:p}=o,v,b,S,_,x;function R(){_&&_(),x&&x(),o.cancelToken&&o.cancelToken.unsubscribe(v),o.signal&&o.signal.removeEventListener("abort",v)}let O=new XMLHttpRequest;O.open(o.method.toUpperCase(),o.url,!0),O.timeout=o.timeout;function T(){if(!O)return;const P=Yi.from("getAllResponseHeaders"in O&&O.getAllResponseHeaders()),k={data:!c||c==="text"||c==="json"?O.responseText:O.response,status:O.status,statusText:O.statusText,headers:P,config:e,request:O};v$(function(z){n(z),R()},function(z){i(z),R()},k),O=null}"onloadend"in O?O.onloadend=T:O.onreadystatechange=function(){!O||O.readyState!==4||O.status===0&&!(O.responseURL&&O.responseURL.startsWith("file:"))||setTimeout(T)},O.onabort=function(){O&&(i(new nt("Request aborted",nt.ECONNABORTED,e,O)),R(),O=null)},O.onerror=function(C){const k=C&&C.message?C.message:"Network Error",L=new nt(k,nt.ERR_NETWORK,e,O);L.event=C||null,i(L),R(),O=null},O.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||KO;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),i(new nt(C,k.clarifyTimeoutError?nt.ETIMEDOUT:nt.ECONNABORTED,e,O)),R(),O=null},u===void 0&&l.setContentType(null),"setRequestHeader"in O&&ve.forEach(a$(l),function(C,k){O.setRequestHeader(k,C)}),ve.isUndefined(o.withCredentials)||(O.withCredentials=!!o.withCredentials),c&&c!=="json"&&(O.responseType=o.responseType),p&&([S,x]=vS(p,!0),O.addEventListener("progress",S)),h&&O.upload&&([b,_]=vS(h),O.upload.addEventListener("progress",b),O.upload.addEventListener("loadend",_)),(o.cancelToken||o.signal)&&(v=P=>{O&&(i(!P||P.type?new Vg(null,e,O):P),O.abort(),R(),O=null)},o.cancelToken&&o.cancelToken.subscribe(v),o.signal&&(o.signal.aborted?v():o.signal.addEventListener("abort",v)));const M=CX(o.url);if(M&&!xi.protocols.includes(M)){i(new nt("Unsupported protocol "+M+":",nt.ERR_BAD_REQUEST,e));return}O.send(u||null)})},FX=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let i=!1;const o=function(h){if(!i){i=!0,l();const p=h instanceof Error?h:this.reason;n.abort(p instanceof nt?p:new Vg(p instanceof Error?p.message:p))}};let u=t&&setTimeout(()=>{u=null,o(new nt(`timeout of ${t}ms exceeded`,nt.ETIMEDOUT))},t);const l=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(h=>{h.unsubscribe?h.unsubscribe(o):h.removeEventListener("abort",o)}),e=null)};e.forEach(h=>h.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=()=>ve.asap(l),c},VX=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,o;for(;i<n;)o=i+t,yield e.slice(i,o),i=o},YX=async function*(e,t){for await(const n of GX(e))yield*VX(n,t)},GX=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},R$=(e,t,n,i)=>{const o=YX(e,t);let u=0,l,c=h=>{l||(l=!0,i&&i(h))};return new ReadableStream({async pull(h){try{const{done:p,value:v}=await o.next();if(p){c(),h.close();return}let b=v.byteLength;if(n){let S=u+=b;n(S)}h.enqueue(new Uint8Array(v))}catch(p){throw c(p),p}},cancel(h){return c(h),o.return()}},{highWaterMark:2})},yS=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,WX=(e,t,n)=>t+2<n&&yS(e.charCodeAt(t+1))&&yS(e.charCodeAt(t+2));function XX(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),i=e.slice(t+1);if(/;base64/i.test(n)){let l=i.length;const c=i.length;for(let _=0;_<c;_++)if(i.charCodeAt(_)===37&&_+2<c){const x=i.charCodeAt(_+1),R=i.charCodeAt(_+2);yS(x)&&yS(R)&&(l-=2,_+=2)}let h=0,p=c-1;const v=_=>_>=2&&i.charCodeAt(_-2)===37&&i.charCodeAt(_-1)===51&&(i.charCodeAt(_)===68||i.charCodeAt(_)===100);p>=0&&(i.charCodeAt(p)===61?(h++,p--):v(p)&&(h++,p-=3)),h===1&&p>=0&&(i.charCodeAt(p)===61||v(p))&&h++;const S=Math.floor(l/4)*3-(h||0);return S>0?S:0}let u=0;for(let l=0,c=i.length;l<c;l++){const h=i.charCodeAt(l);if(h===37&&WX(i,l,c))u+=1,l+=2;else if(h<128)u+=1;else if(h<2048)u+=2;else if(h>=55296&&h<=56319&&l+1<c){const p=i.charCodeAt(l+1);p>=56320&&p<=57343?(u+=4,l++):u+=3}else u+=3}return u}const tT="1.18.0",O$=64*1024,{isFunction:bS}=ve,QX=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),T$=e=>{if(!ve.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},x$=(e,...t)=>{try{return!!e(...t)}catch{return!1}},KX=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},ZX=e=>{const t=ve.global!==void 0&&ve.global!==null?ve.global:globalThis,{ReadableStream:n,TextEncoder:i}=t;e=ve.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:u,Response:l}=e,c=o?bS(o):typeof fetch=="function",h=bS(u),p=bS(l);if(!c)return!1;const v=c&&bS(n),b=c&&(typeof i=="function"?(T=>M=>T.encode(M))(new i):async T=>new Uint8Array(await new u(T).arrayBuffer())),S=h&&v&&x$(()=>{let T=!1;const M=new u(xi.origin,{body:new n,method:"POST",get duplex(){return T=!0,"half"}}),P=M.headers.has("Content-Type");return M.body!=null&&M.body.cancel(),T&&!P}),_=p&&v&&x$(()=>ve.isReadableStream(new l("").body)),x={stream:_&&(T=>T.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(T=>{!x[T]&&(x[T]=(M,P)=>{let C=M&&M[T];if(C)return C.call(M);throw new nt(`Response type '${T}' is not supported`,nt.ERR_NOT_SUPPORT,P)})});const R=async T=>{if(T==null)return 0;if(ve.isBlob(T))return T.size;if(ve.isSpecCompliantForm(T))return(await new u(xi.origin,{method:"POST",body:T}).arrayBuffer()).byteLength;if(ve.isArrayBufferView(T)||ve.isArrayBuffer(T))return T.byteLength;if(ve.isURLSearchParams(T)&&(T=T+""),ve.isString(T))return(await b(T)).byteLength},O=async(T,M)=>{const P=ve.toFiniteNumber(T.getContentLength());return P??R(M)};return async T=>{let{url:M,method:P,data:C,signal:k,cancelToken:L,timeout:z,onDownloadProgress:U,onUploadProgress:G,responseType:B,headers:Y,withCredentials:K="same-origin",fetchOptions:oe,maxContentLength:le,maxBodyLength:fe}=w$(T);const W=ve.isNumber(le)&&le>-1,ue=ve.isNumber(fe)&&fe>-1,ie=Se=>ve.hasOwnProp(T,Se)?T[Se]:void 0;let _e=o||fetch;B=B?(B+"").toLowerCase():"text";let ae=FX([k,L&&L.toAbortSignal()],z),X=null;const Q=ae&&ae.unsubscribe&&(()=>{ae.unsubscribe()});let te,re=null;const Ee=()=>new nt("Request body larger than maxBodyLength limit",nt.ERR_BAD_REQUEST,T,X);try{let Se;const Re=ie("auth");if(Re){const ke=ve.getSafeProp(Re,"username")||"",$e=ve.getSafeProp(Re,"password")||"";Se={username:ke,password:$e}}if(KX(M)){const ke=new URL(M,xi.origin);if(!Se&&(ke.username||ke.password)){const $e=T$(ke.username),ct=T$(ke.password);Se={username:$e,password:ct}}(ke.username||ke.password)&&(ke.username="",ke.password="",M=ke.href)}if(Se&&(Y.delete("authorization"),Y.set("Authorization","Basic "+btoa(QX((Se.username||"")+":"+(Se.password||""))))),W&&typeof M=="string"&&M.startsWith("data:")&&XX(M)>le)throw new nt("maxContentLength size of "+le+" exceeded",nt.ERR_BAD_RESPONSE,T,X);if(ue&&P!=="get"&&P!=="head"){const ke=await R(C);if(typeof ke=="number"&&isFinite(ke)&&(te=ke,ke>fe))throw Ee()}const Pe=ue&&(ve.isReadableStream(C)||ve.isStream(C)),Le=(ke,$e,ct)=>R$(ke,O$,At=>{if(ue&&At>fe)throw re=Ee();$e&&$e(At)},ct);if(S&&P!=="get"&&P!=="head"&&(G||Pe)){if(te=te??await O(Y,C),te!==0||Pe){let ke=new u(M,{method:"POST",body:C,duplex:"half"}),$e;if(ve.isFormData(C)&&($e=ke.headers.get("content-type"))&&Y.setContentType($e),ke.body){const[ct,At]=G&&y$(te,vS(b$(G)))||[];C=Le(ke.body,ct,At)}}}else if(Pe&&!h&&v&&P!=="get"&&P!=="head")C=Le(C);else if(Pe&&h&&!S&&P!=="get"&&P!=="head")throw new nt("Stream request bodies are not supported by the current fetch implementation",nt.ERR_NOT_SUPPORT,T,X);ve.isString(K)||(K=K?"include":"omit");const Ne=h&&"credentials"in u.prototype;if(ve.isFormData(C)){const ke=Y.getContentType();ke&&/^multipart\/form-data/i.test(ke)&&!/boundary=/i.test(ke)&&Y.delete("content-type")}Y.set("User-Agent","axios/"+tT,!1);const De={...oe,signal:ae,method:P.toUpperCase(),headers:a$(Y.normalize()),body:C,duplex:"half",credentials:Ne?K:void 0};X=h&&new u(M,De);let Ce=await(h?_e(X,oe):_e(M,De));const Qe=Yi.from(Ce.headers);if(W){const ke=ve.toFiniteNumber(Qe.getContentLength());if(ke!=null&&ke>le)throw new nt("maxContentLength size of "+le+" exceeded",nt.ERR_BAD_RESPONSE,T,X)}const Ve=_&&(B==="stream"||B==="response");if(_&&Ce.body&&(U||W||Ve&&Q)){const ke={};["status","statusText","headers"].forEach(mt=>{ke[mt]=Ce[mt]});const $e=ve.toFiniteNumber(Qe.getContentLength()),[ct,At]=U&&y$($e,vS(b$(U),!0))||[];let Ye=0;const yt=mt=>{if(W&&(Ye=mt,Ye>le))throw new nt("maxContentLength size of "+le+" exceeded",nt.ERR_BAD_RESPONSE,T,X);ct&&ct(mt)};Ce=new l(R$(Ce.body,O$,yt,()=>{At&&At(),Q&&Q()}),ke)}B=B||"text";let He=await x[ve.findKey(x,B)||"text"](Ce,T);if(W&&!_&&!Ve){let ke;if(He!=null&&(typeof He.byteLength=="number"?ke=He.byteLength:typeof He.size=="number"?ke=He.size:typeof He=="string"&&(ke=typeof i=="function"?new i().encode(He).byteLength:He.length)),typeof ke=="number"&&ke>le)throw new nt("maxContentLength size of "+le+" exceeded",nt.ERR_BAD_RESPONSE,T,X)}return!Ve&&Q&&Q(),await new Promise((ke,$e)=>{v$(ke,$e,{data:He,headers:Yi.from(Ce.headers),status:Ce.status,statusText:Ce.statusText,config:T,request:X})})}catch(Se){if(Q&&Q(),ae&&ae.aborted&&ae.reason instanceof nt){const Re=ae.reason;throw Re.config=T,X&&(Re.request=X),Se!==Re&&(Re.cause=Se),Re}throw re?(X&&!re.request&&(re.request=X),re):Se instanceof nt?(X&&!Se.request&&(Se.request=X),Se):Se&&Se.name==="TypeError"&&/Load failed|fetch/i.test(Se.message)?Object.assign(new nt("Network Error",nt.ERR_NETWORK,T,X,Se&&Se.response),{cause:Se.cause||Se}):nt.from(Se,Se&&Se.code,T,X,Se&&Se.response)}}},JX=new Map,A$=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:o}=t,u=[i,o,n];let l=u.length,c=l,h,p,v=JX;for(;c--;)h=u[c],p=v.get(h),p===void 0&&v.set(h,p=c?new Map:ZX(t)),v=p;return p};A$();const nT={http:vX,xhr:HX,fetch:{get:A$}};ve.forEach(nT,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const C$=e=>`- ${e}`,eQ=e=>ve.isFunction(e)||e===null||e===!1;function tQ(e,t){e=ve.isArray(e)?e:[e];const{length:n}=e;let i,o;const u={};for(let l=0;l<n;l++){i=e[l];let c;if(o=i,!eQ(i)&&(o=nT[(c=String(i)).toLowerCase()],o===void 0))throw new nt(`Unknown adapter '${c}'`);if(o&&(ve.isFunction(o)||(o=o.get(t))))break;u[c||"#"+l]=o}if(!o){const l=Object.entries(u).map(([h,p])=>`adapter ${h} `+(p===!1?"is not supported by the environment":"is not available in the build"));let c=n?l.length>1?`since :
|
|
289
|
+
`+l.map(C$).join(`
|
|
290
|
+
`):" "+C$(l[0]):"as no adapter specified";throw new nt("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const D$={getAdapter:tQ,adapters:nT};function rT(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vg(null,e)}function M$(e){return rT(e),e.headers=Yi.from(e.headers),e.data=eT.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),D$.getAdapter(e.adapter||Fg.adapter,e)(e).then(function(i){rT(e),e.response=i;try{i.data=eT.call(e,e.transformResponse,i)}finally{delete e.response}return i.headers=Yi.from(i.headers),i},function(i){if(!g$(i)&&(rT(e),i&&i.response)){e.response=i.response;try{i.response.data=eT.call(e,e.transformResponse,i.response)}finally{delete e.response}i.response.headers=Yi.from(i.response.headers)}return Promise.reject(i)})}const SS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{SS[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const N$={};SS.transitional=function(t,n,i){function o(u,l){return"[Axios v"+tT+"] Transitional option '"+u+"'"+l+(i?". "+i:"")}return(u,l,c)=>{if(t===!1)throw new nt(o(l," has been removed"+(n?" in "+n:"")),nt.ERR_DEPRECATED);return n&&!N$[l]&&(N$[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(u,l,c):!0}},SS.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function nQ(e,t,n){if(typeof e!="object")throw new nt("options must be an object",nt.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const u=i[o],l=Object.prototype.hasOwnProperty.call(t,u)?t[u]:void 0;if(l){const c=e[u],h=c===void 0||l(c,u,e);if(h!==!0)throw new nt("option "+u+" must be "+h,nt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new nt("Unknown option "+u,nt.ERR_BAD_OPTION)}}const _S={assertOptions:nQ,validators:SS},Gi=_S.validators;let xf=class{constructor(t){this.defaults=t||{},this.interceptors={request:new d$,response:new d$}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const u=(()=>{if(!o.stack)return"";const l=o.stack.indexOf(`
|
|
291
|
+
`);return l===-1?"":o.stack.slice(l+1)})();try{if(!i.stack)i.stack=u;else if(u){const l=u.indexOf(`
|
|
292
|
+
`),c=l===-1?-1:u.indexOf(`
|
|
293
|
+
`,l+1),h=c===-1?"":u.slice(c+1);String(i.stack).endsWith(h)||(i.stack+=`
|
|
294
|
+
`+u)}}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Tf(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:u}=n;i!==void 0&&_S.assertOptions(i,{silentJSONParsing:Gi.transitional(Gi.boolean),forcedJSONParsing:Gi.transitional(Gi.boolean),clarifyTimeoutError:Gi.transitional(Gi.boolean),legacyInterceptorReqResOrdering:Gi.transitional(Gi.boolean),advertiseZstdAcceptEncoding:Gi.transitional(Gi.boolean),validateStatusUndefinedResolves:Gi.transitional(Gi.boolean)},!1),o!=null&&(ve.isFunction(o)?n.paramsSerializer={serialize:o}:_S.assertOptions(o,{encode:Gi.function,serialize:Gi.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),_S.assertOptions(n,{baseUrl:Gi.spelling("baseURL"),withXsrfToken:Gi.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=u&&ve.merge(u.common,u[n.method]);u&&ve.forEach(["delete","get","head","post","put","patch","query","common"],x=>{delete u[x]}),n.headers=Yi.concat(l,u);const c=[];let h=!0;this.interceptors.request.forEach(function(R){if(typeof R.runWhen=="function"&&R.runWhen(n)===!1)return;h=h&&R.synchronous;const O=n.transitional||KO;O&&O.legacyInterceptorReqResOrdering?c.unshift(R.fulfilled,R.rejected):c.push(R.fulfilled,R.rejected)});const p=[];this.interceptors.response.forEach(function(R){p.push(R.fulfilled,R.rejected)});let v,b=0,S;if(!h){const x=[M$.bind(this),void 0];for(x.unshift(...c),x.push(...p),S=x.length,v=Promise.resolve(n);b<S;)v=v.then(x[b++],x[b++]);return v}S=c.length;let _=n;for(;b<S;){const x=c[b++],R=c[b++];try{_=x(_)}catch(O){R.call(this,O);break}}try{v=M$.call(this,_)}catch(x){return Promise.reject(x)}for(b=0,S=p.length;b<S;)v=v.then(p[b++],p[b++]);return v}getUri(t){t=Tf(this.defaults,t);const n=_$(t.baseURL,t.url,t.allowAbsoluteUrls,t);return f$(n,t.params,t.paramsSerializer)}};ve.forEach(["delete","get","head","options"],function(t){xf.prototype[t]=function(n,i){return this.request(Tf(i||{},{method:t,url:n,data:i&&ve.hasOwnProp(i,"data")?i.data:void 0}))}}),ve.forEach(["post","put","patch","query"],function(t){function n(i){return function(u,l,c){return this.request(Tf(c||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:l}))}}xf.prototype[t]=n(),t!=="query"&&(xf.prototype[t+"Form"]=n(!0))});let rQ=class qG{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(u){n=u});const i=this;this.promise.then(o=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](o);i._listeners=null}),this.promise.then=o=>{let u;const l=new Promise(c=>{i.subscribe(c),u=c}).then(o);return l.cancel=function(){i.unsubscribe(u)},l},t(function(u,l,c){i.reason||(i.reason=new Vg(u,l,c),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qG(function(o){t=o}),cancel:t}}};function iQ(e){return function(n){return e.apply(null,n)}}function aQ(e){return ve.isObject(e)&&e.isAxiosError===!0}const iT={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(iT).forEach(([e,t])=>{iT[t]=e});function P$(e){const t=new xf(e),n=WI(xf.prototype.request,t);return ve.extend(n,xf.prototype,t,{allOwnKeys:!0}),ve.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return P$(Tf(e,o))},n}const xr=P$(Fg);xr.Axios=xf,xr.CanceledError=Vg,xr.CancelToken=rQ,xr.isCancel=g$,xr.VERSION=tT,xr.toFormData=gS,xr.AxiosError=nt,xr.Cancel=xr.CanceledError,xr.all=function(t){return Promise.all(t)},xr.spread=iQ,xr.isAxiosError=aQ,xr.mergeConfig=Tf,xr.AxiosHeaders=Yi,xr.formToJSON=e=>m$(ve.isHTMLForm(e)?new FormData(e):e),xr.getAdapter=D$.getAdapter,xr.HttpStatusCode=iT,xr.default=xr;const{Axios:Zpe,AxiosError:Jpe,CanceledError:eme,isCancel:tme,CancelToken:nme,VERSION:rme,all:ime,Cancel:ame,isAxiosError:ome,spread:sme,toFormData:ume,AxiosHeaders:lme,HttpStatusCode:cme,formToJSON:fme,getAdapter:dme,mergeConfig:hme,create:pme}=xr,k$="gain_widget_access_token",oQ="gain_widget_refresh_token",aT=()=>typeof window<"u"?window.sessionStorage:null,sQ=({access_token:e,refresh_token:t})=>{var n,i;(n=aT())==null||n.setItem(k$,e||""),(i=aT())==null||i.setItem(oQ,t||"")},j$=()=>{var e;return((e=aT())==null?void 0:e.getItem(k$))||""},oT={};var uQ={};const L$=xr.create({baseURL:(oT==null?void 0:oT.VITE_API_BASE_URL)||uQ.NEXT_PUBLIC_API_BASE_URL,headers:{"Content-Type":"application/json"}});L$.interceptors.request.use(e=>{const t=j$();return t?{...e,headers:{...e.headers,Authorization:t}}:e});const lQ=e=>L$.post("/auth/booking-widget-login",{api_key:e}),I$=!1;function Ts(e){try{return e()}catch{}}const sT=Ts(()=>globalThis)||Ts(()=>window)||Ts(()=>self)||Ts(()=>global)||Ts(function(){return Ts.constructor("return this")()}),uT="4.2.3",$$=new Map;function z$(e){const t=$$.get(e)||1;return $$.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function cQ(e,t=0){const n=z$("stringifyForDisplay");return JSON.stringify(e,(i,o)=>o===void 0?n:o,t).split(JSON.stringify(n)).join("<undefined>")}const q$="Invariant Violation";class lT extends Error{constructor(t=q$){super(t),this.name=q$,Object.setPrototypeOf(this,lT.prototype)}}const U$=["debug","log","warn","error","silent"];let fQ=U$.indexOf("silent");function Ht(e,...t){if(!e)throw Do(...t)}function ES(e){return function(t,...n){if(U$.indexOf(e)>=fQ){const i=console[e]||console.log;if(typeof t=="number"){const o=t;t=H$(o),t||(t=F$(o,n),n=[])}i(t,...n)}}}Ht.debug=ES("debug"),Ht.log=ES("log"),Ht.warn=ES("warn"),Ht.error=ES("error");function Do(e,...t){return new lT(H$(e,t)||F$(e,t))}const B$=Symbol.for("ApolloErrorMessageHandler_"+uT);function cT(e){if(typeof e=="string")return e;try{return cQ(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function H$(e,t=[]){if(e)return sT[B$]&&sT[B$](e,t.map(cT))}function F$(e,t=[]){if(e)return typeof e=="string"?t.reduce((n,i)=>n.replace(/%[sdfo]/,cT(i)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:uT,message:e,args:t.map(cT)}))}`}const V$=Symbol.for("__APOLLO_CONTEXT__");function fT(){Ht("createContext"in kO,37);let e=F.createContext[V$];return e||(Object.defineProperty(F.createContext,V$,{value:e=F.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}const dQ=({client:e,children:t})=>{const n=fT(),i=F.useContext(n),o=F.useMemo(()=>({...i,client:e||i.client}),[i,e]);return Ht(o.client,38),F.createElement(n.Provider,{value:o},t)};function wS(e){const t=F.useContext(fT()),n=e||t.client;return Ht(!!n,28),n}const{toString:Y$,hasOwnProperty:hQ}=Object.prototype,G$=Function.prototype.toString,dT=new Map;function sn(e,t){try{return hT(e,t)}finally{dT.clear()}}function hT(e,t){if(e===t)return!0;const n=Y$.call(e),i=Y$.call(t);if(n!==i)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(X$(e,t))return!0;const o=W$(e),u=W$(t),l=o.length;if(l!==u.length)return!1;for(let c=0;c<l;++c)if(!hQ.call(t,o[c]))return!1;for(let c=0;c<l;++c){const h=o[c];if(!hT(e[h],t[h]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(X$(e,t))return!0;const o=e.entries(),u=n==="[object Map]";for(;;){const l=o.next();if(l.done)break;const[c,h]=l.value;if(!t.has(c)||u&&!hT(h,t.get(c)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let o=e.byteLength;if(o===t.byteLength)for(;o--&&e[o]===t[o];);return o===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const o=G$.call(e);return o!==G$.call(t)?!1:!gQ(o,mQ)}}return!1}function W$(e){return Object.keys(e).filter(pQ,e)}function pQ(e){return this[e]!==void 0}const mQ="{ [native code] }";function gQ(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function X$(e,t){let n=dT.get(e);if(n){if(n.has(t))return!0}else dT.set(e,n=new Set);return n.add(t),!1}function vQ(e,t){if(!!!e)throw new Error(t)}const Q$={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},yQ=new Set(Object.keys(Q$));function K$(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&yQ.has(t)}var Af;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Af||(Af={}));var pn;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(pn||(pn={}));function Z$(e){return e===9||e===32}function bQ(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=i.length===1,u=i.length>1&&i.slice(1).every(_=>_.length===0||Z$(_.charCodeAt(0))),l=n.endsWith('\\"""'),c=e.endsWith('"')&&!l,h=e.endsWith("\\"),p=c||h,v=!o||e.length>70||p||u||l;let b="";const S=o&&Z$(e.charCodeAt(0));return(v&&!S||u)&&(b+=`
|
|
295
|
+
`),b+=n,(v||p)&&(b+=`
|
|
296
|
+
`),'"""'+b+'"""'}const SQ=10,J$=2;function _Q(e){return RS(e,[])}function RS(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return EQ(e,t);default:return String(e)}}function EQ(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(wQ(e)){const i=e.toJSON();if(i!==e)return typeof i=="string"?i:RS(i,n)}else if(Array.isArray(e))return OQ(e,n);return RQ(e,n)}function wQ(e){return typeof e.toJSON=="function"}function RQ(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>J$?"["+TQ(e)+"]":"{ "+n.map(([o,u])=>o+": "+RS(u,t)).join(", ")+" }"}function OQ(e,t){if(e.length===0)return"[]";if(t.length>J$)return"[Array]";const n=Math.min(SQ,e.length),i=e.length-n,o=[];for(let u=0;u<n;++u)o.push(RS(e[u],t));return i===1?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}function TQ(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}function xQ(e){return`"${e.replace(AQ,CQ)}"`}const AQ=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function CQ(e){return DQ[e.charCodeAt(0)]}const DQ=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],pT=Object.freeze({});function au(e,t,n=Q$){const i=new Map;for(const T of Object.values(pn))i.set(T,MQ(t,T));let o,u=Array.isArray(e),l=[e],c=-1,h=[],p=e,v,b;const S=[],_=[];do{c++;const T=c===l.length,M=T&&h.length!==0;if(T){if(v=_.length===0?void 0:S[S.length-1],p=b,b=_.pop(),M)if(u){p=p.slice();let C=0;for(const[k,L]of h){const z=k-C;L===null?(p.splice(z,1),C++):p[z]=L}}else{p={...p};for(const[C,k]of h)p[C]=k}c=o.index,l=o.keys,h=o.edits,u=o.inArray,o=o.prev}else if(b){if(v=u?c:l[c],p=b[v],p==null)continue;S.push(v)}let P;if(!Array.isArray(p)){var x,R;K$(p)||vQ(!1,`Invalid AST Node: ${_Q(p)}.`);const C=T?(x=i.get(p.kind))===null||x===void 0?void 0:x.leave:(R=i.get(p.kind))===null||R===void 0?void 0:R.enter;if(P=C==null?void 0:C.call(t,p,v,b,S,_),P===pT)break;if(P===!1){if(!T){S.pop();continue}}else if(P!==void 0&&(h.push([v,P]),!T))if(K$(P))p=P;else{S.pop();continue}}if(P===void 0&&M&&h.push([v,p]),T)S.pop();else{var O;o={inArray:u,index:c,keys:l,edits:h,prev:o},u=Array.isArray(p),l=u?p:(O=n[p.kind])!==null&&O!==void 0?O:[],c=-1,h=[],b&&_.push(b),b=p}}while(o!==void 0);return h.length!==0?h[h.length-1][1]:e}function MQ(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function NQ(e){return au(e,kQ)}const PQ=80,kQ={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>et(e.definitions,`
|
|
297
|
+
|
|
298
|
+
`)},OperationDefinition:{leave(e){const t=mT(e.variableDefinitions)?Ct(`(
|
|
299
|
+
`,et(e.variableDefinitions,`
|
|
300
|
+
`),`
|
|
301
|
+
)`):Ct("(",et(e.variableDefinitions,", "),")"),n=Ct("",e.description,`
|
|
302
|
+
`)+et([e.operation,et([e.name,t]),et(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i,description:o})=>Ct("",o,`
|
|
303
|
+
`)+e+": "+t+Ct(" = ",n)+Ct(" ",et(i," "))},SelectionSet:{leave:({selections:e})=>xs(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:o}){const u=Ct("",e,": ")+t;let l=u+Ct("(",et(n,", "),")");return l.length>PQ&&(l=u+Ct(`(
|
|
304
|
+
`,OS(et(n,`
|
|
305
|
+
`)),`
|
|
306
|
+
)`)),et([l,et(i," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Ct(" ",et(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>et(["...",Ct("on ",e),et(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:o,description:u})=>Ct("",u,`
|
|
307
|
+
`)+`fragment ${e}${Ct("(",et(n,", "),")")} on ${t} ${Ct("",et(i," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?bQ(e):xQ(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+et(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+et(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Ct("(",et(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Ct("",e,`
|
|
308
|
+
`)+et(["schema",et(t," "),xs(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Ct("",e,`
|
|
309
|
+
`)+et(["scalar",t,et(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:o})=>Ct("",e,`
|
|
310
|
+
`)+et(["type",t,Ct("implements ",et(n," & ")),et(i," "),xs(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:i,directives:o})=>Ct("",e,`
|
|
311
|
+
`)+t+(mT(n)?Ct(`(
|
|
312
|
+
`,OS(et(n,`
|
|
313
|
+
`)),`
|
|
314
|
+
)`):Ct("(",et(n,", "),")"))+": "+i+Ct(" ",et(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:i,directives:o})=>Ct("",e,`
|
|
315
|
+
`)+et([t+": "+n,Ct("= ",i),et(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:o})=>Ct("",e,`
|
|
316
|
+
`)+et(["interface",t,Ct("implements ",et(n," & ")),et(i," "),xs(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:i})=>Ct("",e,`
|
|
317
|
+
`)+et(["union",t,et(n," "),Ct("= ",et(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:i})=>Ct("",e,`
|
|
318
|
+
`)+et(["enum",t,et(n," "),xs(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Ct("",e,`
|
|
319
|
+
`)+et([t,et(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:i})=>Ct("",e,`
|
|
320
|
+
`)+et(["input",t,et(n," "),xs(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:i,repeatable:o,locations:u})=>Ct("",e,`
|
|
321
|
+
`)+"directive @"+t+(mT(n)?Ct(`(
|
|
322
|
+
`,OS(et(n,`
|
|
323
|
+
`)),`
|
|
324
|
+
)`):Ct("(",et(n,", "),")"))+Ct(" ",et(i," "))+(o?" repeatable":"")+" on "+et(u," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>et(["extend schema",et(e," "),xs(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>et(["extend scalar",e,et(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>et(["extend type",e,Ct("implements ",et(t," & ")),et(n," "),xs(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>et(["extend interface",e,Ct("implements ",et(t," & ")),et(n," "),xs(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>et(["extend union",e,et(t," "),Ct("= ",et(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>et(["extend enum",e,et(t," "),xs(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>et(["extend input",e,et(t," "),xs(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>et(["extend directive @"+e,et(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>et([e,Ct(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>et([e,Ct(".",t),Ct("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>et(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>et(["@",e,Ct("(",t,":)")])}};function et(e,t=""){var n;return(n=e==null?void 0:e.filter(i=>i).join(t))!==null&&n!==void 0?n:""}function xs(e){return Ct(`{
|
|
325
|
+
`,OS(et(e,`
|
|
326
|
+
`)),`
|
|
327
|
+
}`)}function Ct(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function OS(e){return Ct(" ",e.replace(/\n/g,`
|
|
328
|
+
`))}function mT(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(`
|
|
329
|
+
`)))!==null&&t!==void 0?t:!1}var gT=function(e,t){return gT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},gT(e,t)};function Mo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gT(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function jQ(e,t,n,i){function o(u){return u instanceof n?u:new n(function(l){l(u)})}return new(n||(n=Promise))(function(u,l){function c(v){try{p(i.next(v))}catch(b){l(b)}}function h(v){try{p(i.throw(v))}catch(b){l(b)}}function p(v){v.done?u(v.value):o(v.value).then(c,h)}p((i=i.apply(e,t||[])).next())})}function e3(e,t){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,o,u,l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=c(0),l.throw=c(1),l.return=c(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(p){return function(v){return h([p,v])}}function h(p){if(i)throw new TypeError("Generator is already executing.");for(;l&&(l=0,p[0]&&(n=0)),n;)try{if(i=1,o&&(u=p[0]&2?o.return:p[0]?o.throw||((u=o.return)&&u.call(o),0):o.next)&&!(u=u.call(o,p[1])).done)return u;switch(o=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return n.label++,{value:p[1],done:!1};case 5:n.label++,o=p[1],p=[0];continue;case 7:p=n.ops.pop(),n.trys.pop();continue;default:if(u=n.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){n.label=p[1];break}if(p[0]===6&&n.label<u[1]){n.label=u[1],u=p;break}if(u&&n.label<u[2]){n.label=u[2],n.ops.push(p);break}u[2]&&n.ops.pop(),n.trys.pop();continue}p=t.call(e,n)}catch(v){p=[6,v],o=0}finally{i=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function Ah(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ch(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i=n.call(e),o,u=[],l;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)u.push(o.value)}catch(c){l={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(l)throw l.error}}return u}function Dh(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,u;i<o;i++)(u||!(i in t))&&(u||(u=Array.prototype.slice.call(t,0,i)),u[i]=t[i]);return e.concat(u||Array.prototype.slice.call(t))}function Mh(e){return this instanceof Mh?(this.v=e,this):new Mh(e)}function LQ(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),o,u=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",l),o[Symbol.asyncIterator]=function(){return this},o;function l(_){return function(x){return Promise.resolve(x).then(_,b)}}function c(_,x){i[_]&&(o[_]=function(R){return new Promise(function(O,T){u.push([_,R,O,T])>1||h(_,R)})},x&&(o[_]=x(o[_])))}function h(_,x){try{p(i[_](x))}catch(R){S(u[0][3],R)}}function p(_){_.value instanceof Mh?Promise.resolve(_.value.v).then(v,b):S(u[0][2],_)}function v(_){h("next",_)}function b(_){h("throw",_)}function S(_,x){_(x),u.shift(),u.length&&h(u[0][0],u[0][1])}}function IQ(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ah=="function"?Ah(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(u){n[u]=e[u]&&function(l){return new Promise(function(c,h){l=e[u](l),o(c,h,l.done,l.value)})}}function o(u,l,c,h){Promise.resolve(h).then(function(p){u({value:p,done:c})},l)}}typeof SuppressedError=="function"&&SuppressedError;function _r(e){return typeof e=="function"}function vT(e){var t=function(i){Error.call(i),i.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var yT=vT(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
330
|
+
`+n.map(function(i,o){return o+1+") "+i.toString()}).join(`
|
|
331
|
+
`):"",this.name="UnsubscriptionError",this.errors=n}});function TS(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Yg=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,i,o,u;if(!this.closed){this.closed=!0;var l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var c=Ah(l),h=c.next();!h.done;h=c.next()){var p=h.value;p.remove(this)}}catch(R){t={error:R}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}else l.remove(this);var v=this.initialTeardown;if(_r(v))try{v()}catch(R){u=R instanceof yT?R.errors:[R]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var S=Ah(b),_=S.next();!_.done;_=S.next()){var x=_.value;try{r3(x)}catch(R){u=u??[],R instanceof yT?u=Dh(Dh([],Ch(u)),Ch(R.errors)):u.push(R)}}}catch(R){i={error:R}}finally{try{_&&!_.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}}if(u)throw new yT(u)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)r3(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&TS(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&TS(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})(),t3=Yg.EMPTY;function n3(e){return e instanceof Yg||e&&"closed"in e&&_r(e.remove)&&_r(e.add)&&_r(e.unsubscribe)}function r3(e){_r(e)?e():e.unsubscribe()}var $Q={Promise:void 0},zQ={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setTimeout.apply(void 0,Dh([e,t],Ch(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function i3(e){zQ.setTimeout(function(){throw e})}function a3(){}function xS(e){e()}var bT=(function(e){Mo(t,e);function t(n){var i=e.call(this)||this;return i.isStopped=!1,n?(i.destination=n,n3(n)&&n.add(i)):i.destination=BQ,i}return t.create=function(n,i,o){return new Gg(n,i,o)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(Yg),qQ=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(i){AS(i)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(i){AS(i)}else AS(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){AS(n)}},e})(),Gg=(function(e){Mo(t,e);function t(n,i,o){var u=e.call(this)||this,l;return _r(n)||!n?l={next:n??void 0,error:i??void 0,complete:o??void 0}:l=n,u.destination=new qQ(l),u}return t})(bT);function AS(e){i3(e)}function UQ(e){throw e}var BQ={closed:!0,next:a3,error:UQ,complete:a3},ST=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function CS(e){return e}function HQ(e){return e.length===0?CS:e.length===1?e[0]:function(n){return e.reduce(function(i,o){return o(i)},n)}}var Yn=(function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,i){var o=this,u=VQ(t)?t:new Gg(t,n,i);return xS(function(){var l=o,c=l.operator,h=l.source;u.add(c?c.call(u,h):h?o._subscribe(u):o._trySubscribe(u))}),u},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var i=this;return n=o3(n),new n(function(o,u){var l=new Gg({next:function(c){try{t(c)}catch(h){u(h),l.unsubscribe()}},error:u,complete:o});i.subscribe(l)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[ST]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return HQ(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=o3(t),new t(function(i,o){var u;n.subscribe(function(l){return u=l},function(l){return o(l)},function(){return i(u)})})},e.create=function(t){return new e(t)},e})();function o3(e){var t;return(t=e??$Q.Promise)!==null&&t!==void 0?t:Promise}function FQ(e){return e&&_r(e.next)&&_r(e.error)&&_r(e.complete)}function VQ(e){return e&&e instanceof bT||FQ(e)&&n3(e)}function YQ(e){return _r(e==null?void 0:e.lift)}function As(e){return function(t){if(YQ(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Wu(e,t,n,i,o){return new GQ(e,t,n,i,o)}var GQ=(function(e){Mo(t,e);function t(n,i,o,u,l,c){var h=e.call(this,n)||this;return h.onFinalize=l,h.shouldUnsubscribe=c,h._next=i?function(p){try{i(p)}catch(v){n.error(v)}}:e.prototype._next,h._error=u?function(p){try{u(p)}catch(v){n.error(v)}finally{this.unsubscribe()}}:e.prototype._error,h._complete=o?function(){try{o()}catch(p){n.error(p)}finally{this.unsubscribe()}}:e.prototype._complete,h}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var i=this.closed;e.prototype.unsubscribe.call(this),!i&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t})(bT),WQ=vT(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Nh=(function(e){Mo(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var i=new s3(this,this);return i.operator=n,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new WQ},t.prototype.next=function(n){var i=this;xS(function(){var o,u;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var l=Ah(i.currentObservers),c=l.next();!c.done;c=l.next()){var h=c.value;h.next(n)}}catch(p){o={error:p}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(o)throw o.error}}}})},t.prototype.error=function(n){var i=this;xS(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=n;for(var o=i.observers;o.length;)o.shift().error(n)}})},t.prototype.complete=function(){var n=this;xS(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var i=n.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var i=this,o=this,u=o.hasError,l=o.isStopped,c=o.observers;return u||l?t3:(this.currentObservers=null,c.push(n),new Yg(function(){i.currentObservers=null,TS(c,n)}))},t.prototype._checkFinalizedStatuses=function(n){var i=this,o=i.hasError,u=i.thrownError,l=i.isStopped;o?n.error(u):l&&n.complete()},t.prototype.asObservable=function(){var n=new Yn;return n.source=this,n},t.create=function(n,i){return new s3(n,i)},t})(Yn),s3=(function(e){Mo(t,e);function t(n,i){var o=e.call(this)||this;return o.destination=n,o.source=i,o}return t.prototype.next=function(n){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,n)},t.prototype.error=function(n){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,n)},t.prototype.complete=function(){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||i===void 0||i.call(n)},t.prototype._subscribe=function(n){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(n))!==null&&o!==void 0?o:t3},t})(Nh),XQ=(function(e){Mo(t,e);function t(n){var i=e.call(this)||this;return i._value=n,i}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var i=e.prototype._subscribe.call(this,n);return!i.closed&&n.next(this._value),i},t.prototype.getValue=function(){var n=this,i=n.hasError,o=n.thrownError,u=n._value;if(i)throw o;return this._throwIfClosed(),u},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t})(Nh),_T={now:function(){return(_T.delegate||Date).now()},delegate:void 0},u3=(function(e){Mo(t,e);function t(n,i,o){n===void 0&&(n=1/0),i===void 0&&(i=1/0),o===void 0&&(o=_T);var u=e.call(this)||this;return u._bufferSize=n,u._windowTime=i,u._timestampProvider=o,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=i===1/0,u._bufferSize=Math.max(1,n),u._windowTime=Math.max(1,i),u}return t.prototype.next=function(n){var i=this,o=i.isStopped,u=i._buffer,l=i._infiniteTimeWindow,c=i._timestampProvider,h=i._windowTime;o||(u.push(n),!l&&u.push(c.now()+h)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(n),o=this,u=o._infiniteTimeWindow,l=o._buffer,c=l.slice(),h=0;h<c.length&&!n.closed;h+=u?1:2)n.next(c[h]);return this._checkFinalizedStatuses(n),i},t.prototype._trimBuffer=function(){var n=this,i=n._bufferSize,o=n._timestampProvider,u=n._buffer,l=n._infiniteTimeWindow,c=(l?1:2)*i;if(i<1/0&&c<u.length&&u.splice(0,u.length-c),!l){for(var h=o.now(),p=0,v=1;v<u.length&&u[v]<=h;v+=2)p=v;p&&u.splice(0,p+1)}},t})(Nh),QQ=(function(e){Mo(t,e);function t(n,i){return e.call(this)||this}return t.prototype.schedule=function(n,i){return this},t})(Yg),l3={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setInterval.apply(void 0,Dh([e,t],Ch(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},c3=(function(e){Mo(t,e);function t(n,i){var o=e.call(this,n,i)||this;return o.scheduler=n,o.work=i,o.pending=!1,o}return t.prototype.schedule=function(n,i){var o;if(i===void 0&&(i=0),this.closed)return this;this.state=n;var u=this.id,l=this.scheduler;return u!=null&&(this.id=this.recycleAsyncId(l,u,i)),this.pending=!0,this.delay=i,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(l,this.id,i),this},t.prototype.requestAsyncId=function(n,i,o){return o===void 0&&(o=0),l3.setInterval(n.flush.bind(n,this),o)},t.prototype.recycleAsyncId=function(n,i,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return i;i!=null&&l3.clearInterval(i)},t.prototype.execute=function(n,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,i);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,i){var o=!1,u;try{this.work(n)}catch(l){o=!0,u=l||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),u},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,i=n.id,o=n.scheduler,u=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,TS(u,this),i!=null&&(this.id=this.recycleAsyncId(o,i,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t})(QQ),KQ=1,ET,wT={};function f3(e){return e in wT?(delete wT[e],!0):!1}var d3={setImmediate:function(e){var t=KQ++;return wT[t]=!0,ET||(ET=Promise.resolve()),ET.then(function(){return f3(t)&&e()}),t},clearImmediate:function(e){f3(e)}},ZQ=d3.setImmediate,JQ=d3.clearImmediate,h3={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ZQ.apply(void 0,Dh([],Ch(e)))},clearImmediate:function(e){return JQ(e)},delegate:void 0},eK=(function(e){Mo(t,e);function t(n,i){var o=e.call(this,n,i)||this;return o.scheduler=n,o.work=i,o}return t.prototype.requestAsyncId=function(n,i,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,n,i,o):(n.actions.push(this),n._scheduled||(n._scheduled=h3.setImmediate(n.flush.bind(n,void 0))))},t.prototype.recycleAsyncId=function(n,i,o){var u;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,n,i,o);var l=n.actions;i!=null&&((u=l[l.length-1])===null||u===void 0?void 0:u.id)!==i&&(h3.clearImmediate(i),n._scheduled===i&&(n._scheduled=void 0))},t})(c3),p3=(function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,i){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(i,n)},e.now=_T.now,e})(),m3=(function(e){Mo(t,e);function t(n,i){i===void 0&&(i=p3.now);var o=e.call(this,n,i)||this;return o.actions=[],o._active=!1,o}return t.prototype.flush=function(n){var i=this.actions;if(this._active){i.push(n);return}var o;this._active=!0;do if(o=n.execute(n.state,n.delay))break;while(n=i.shift());if(this._active=!1,o){for(;n=i.shift();)n.unsubscribe();throw o}},t})(p3),tK=(function(e){Mo(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0;var i=this._scheduled;this._scheduled=void 0;var o=this.actions,u;n=n||o.shift();do if(u=n.execute(n.state,n.delay))break;while((n=o[0])&&n.id===i&&o.shift());if(this._active=!1,u){for(;(n=o[0])&&n.id===i&&o.shift();)n.unsubscribe();throw u}},t})(m3),nK=new tK(eK),rK=new m3(c3),iK=rK,Wg=new Yn(function(e){return e.complete()});function aK(e){return e&&_r(e.schedule)}function oK(e){return e[e.length-1]}function g3(e){return aK(oK(e))?e.pop():void 0}var v3=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function y3(e){return _r(e==null?void 0:e.then)}function b3(e){return _r(e[ST])}function S3(e){return Symbol.asyncIterator&&_r(e==null?void 0:e[Symbol.asyncIterator])}function _3(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function sK(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var E3=sK();function w3(e){return _r(e==null?void 0:e[E3])}function R3(e){return LQ(this,arguments,function(){var n,i,o,u;return e3(this,function(l){switch(l.label){case 0:n=e.getReader(),l.label=1;case 1:l.trys.push([1,,9,10]),l.label=2;case 2:return[4,Mh(n.read())];case 3:return i=l.sent(),o=i.value,u=i.done,u?[4,Mh(void 0)]:[3,5];case 4:return[2,l.sent()];case 5:return[4,Mh(o)];case 6:return[4,l.sent()];case 7:return l.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function O3(e){return _r(e==null?void 0:e.getReader)}function ec(e){if(e instanceof Yn)return e;if(e!=null){if(b3(e))return uK(e);if(v3(e))return lK(e);if(y3(e))return cK(e);if(S3(e))return T3(e);if(w3(e))return fK(e);if(O3(e))return dK(e)}throw _3(e)}function uK(e){return new Yn(function(t){var n=e[ST]();if(_r(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lK(e){return new Yn(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function cK(e){return new Yn(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,i3)})}function fK(e){return new Yn(function(t){var n,i;try{for(var o=Ah(e),u=o.next();!u.done;u=o.next()){var l=u.value;if(t.next(l),t.closed)return}}catch(c){n={error:c}}finally{try{u&&!u.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}t.complete()})}function T3(e){return new Yn(function(t){hK(e,t).catch(function(n){return t.error(n)})})}function dK(e){return T3(R3(e))}function hK(e,t){var n,i,o,u;return jQ(this,void 0,void 0,function(){var l,c;return e3(this,function(h){switch(h.label){case 0:h.trys.push([0,5,6,11]),n=IQ(e),h.label=1;case 1:return[4,n.next()];case 2:if(i=h.sent(),!!i.done)return[3,4];if(l=i.value,t.next(l),t.closed)return[2];h.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=h.sent(),o={error:c},[3,11];case 6:return h.trys.push([6,,9,10]),i&&!i.done&&(u=n.return)?[4,u.call(n)]:[3,8];case 7:h.sent(),h.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function Cf(e,t,n,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var u=t.schedule(function(){n(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(u),!o)return u}function RT(e,t){return t===void 0&&(t=0),As(function(n,i){n.subscribe(Wu(i,function(o){return Cf(i,e,function(){return i.next(o)},t)},function(){return Cf(i,e,function(){return i.complete()},t)},function(o){return Cf(i,e,function(){return i.error(o)},t)}))})}function x3(e,t){return t===void 0&&(t=0),As(function(n,i){i.add(e.schedule(function(){return n.subscribe(i)},t))})}function pK(e,t){return ec(e).pipe(x3(t),RT(t))}function mK(e,t){return ec(e).pipe(x3(t),RT(t))}function gK(e,t){return new Yn(function(n){var i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function vK(e,t){return new Yn(function(n){var i;return Cf(n,t,function(){i=e[E3](),Cf(n,t,function(){var o,u,l;try{o=i.next(),u=o.value,l=o.done}catch(c){n.error(c);return}l?n.complete():n.next(u)},0,!0)}),function(){return _r(i==null?void 0:i.return)&&i.return()}})}function A3(e,t){if(!e)throw new Error("Iterable cannot be null");return new Yn(function(n){Cf(n,t,function(){var i=e[Symbol.asyncIterator]();Cf(n,t,function(){i.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function yK(e,t){return A3(R3(e),t)}function bK(e,t){if(e!=null){if(b3(e))return pK(e,t);if(v3(e))return gK(e,t);if(y3(e))return mK(e,t);if(S3(e))return A3(e,t);if(w3(e))return vK(e,t);if(O3(e))return yK(e,t)}throw _3(e)}function Df(e,t){return t?bK(e,t):ec(e)}function Mf(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=g3(e);return Df(e,n)}function C3(e,t){var n=_r(e)?e:function(){return e},i=function(o){return o.error(n())};return new Yn(i)}var D3;(function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"})(D3||(D3={}));var OT=(function(){function e(t,n,i){this.kind=t,this.value=n,this.error=i,this.hasValue=t==="N"}return e.prototype.observe=function(t){return SK(this,t)},e.prototype.do=function(t,n,i){var o=this,u=o.kind,l=o.value,c=o.error;return u==="N"?t==null?void 0:t(l):u==="E"?n==null?void 0:n(c):i==null?void 0:i()},e.prototype.accept=function(t,n,i){var o;return _r((o=t)===null||o===void 0?void 0:o.next)?this.observe(t):this.do(t,n,i)},e.prototype.toObservable=function(){var t=this,n=t.kind,i=t.value,o=t.error,u=n==="N"?Mf(i):n==="E"?C3(function(){return o}):n==="C"?Wg:0;if(!u)throw new TypeError("Unexpected notification kind "+n);return u},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e})();function SK(e,t){var n,i,o,u=e,l=u.kind,c=u.value,h=u.error;if(typeof l!="string")throw new TypeError('Invalid notification, missing "kind"');l==="N"?(n=t.next)===null||n===void 0||n.call(t,c):l==="E"?(i=t.error)===null||i===void 0||i.call(t,h):(o=t.complete)===null||o===void 0||o.call(t)}var _K=vT(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function EK(e,t){var n=typeof t=="object";return new Promise(function(i,o){var u=!1,l;e.subscribe({next:function(c){l=c,u=!0},error:o,complete:function(){u?i(l):n?i(t.defaultValue):o(new _K)}})})}function wK(e){return e instanceof Date&&!isNaN(e)}function tc(e,t){return As(function(n,i){var o=0;n.subscribe(Wu(i,function(u){i.next(e.call(t,u,o++))}))})}function RK(e,t,n,i,o,u,l,c){var h=[],p=0,v=0,b=!1,S=function(){b&&!h.length&&!p&&t.complete()},_=function(R){return p<i?x(R):h.push(R)},x=function(R){p++;var O=!1;ec(n(R,v++)).subscribe(Wu(t,function(T){t.next(T)},function(){O=!0},void 0,function(){if(O)try{p--;for(var T=function(){var M=h.shift();l||x(M)};h.length&&p<i;)T();S()}catch(M){t.error(M)}}))};return e.subscribe(Wu(t,_,function(){b=!0,S()})),function(){}}function Ph(e,t,n){return n===void 0&&(n=1/0),_r(t)?Ph(function(i,o){return tc(function(u,l){return t(i,u,o,l)})(ec(e(i,o)))},n):(typeof t=="number"&&(n=t),As(function(i,o){return RK(i,o,e,n)}))}function OK(e){return Ph(CS,e)}function TK(){return OK(1)}function TT(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return TK()(Df(e,g3(e)))}function xK(e,t,n){return n===void 0&&(n=iK),new Yn(function(i){var o=wK(e)?+e-n.now():e;o<0&&(o=0);var u=0;return n.schedule(function(){i.closed||(i.next(u++),i.complete())},o)})}function M3(e,t){return As(function(n,i){var o=0;n.subscribe(Wu(i,function(u){return e.call(t,u,o++)&&i.next(u)}))})}function DS(e){return As(function(t,n){var i=null,o=!1,u;i=t.subscribe(Wu(n,void 0,void 0,function(l){u=ec(e(l,DS(e)(t))),i?(i.unsubscribe(),i=null,u.subscribe(n)):o=!0})),o&&(i.unsubscribe(),i=null,u.subscribe(n))})}function AK(e,t){return t===void 0&&(t=CS),e=e??CK,As(function(n,i){var o,u=!0;n.subscribe(Wu(i,function(l){var c=t(l);(u||!e(o,c))&&(u=!1,o=c,i.next(l))}))})}function CK(e,t){return e===t}function DK(e){return As(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function MK(){return As(function(e,t){e.subscribe(Wu(t,function(n){t.next(OT.createNext(n))},function(){t.next(OT.createComplete()),t.complete()},function(n){t.next(OT.createError(n)),t.complete()}))})}function Xg(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new Nh}:t,i=e.resetOnError,o=i===void 0?!0:i,u=e.resetOnComplete,l=u===void 0?!0:u,c=e.resetOnRefCountZero,h=c===void 0?!0:c;return function(p){var v,b,S,_=0,x=!1,R=!1,O=function(){b==null||b.unsubscribe(),b=void 0},T=function(){O(),v=S=void 0,x=R=!1},M=function(){var P=v;T(),P==null||P.unsubscribe()};return As(function(P,C){_++,!R&&!x&&O();var k=S=S??n();C.add(function(){_--,_===0&&!R&&!x&&(b=xT(M,h))}),k.subscribe(C),!v&&_>0&&(v=new Gg({next:function(L){return k.next(L)},error:function(L){R=!0,O(),b=xT(T,o,L),k.error(L)},complete:function(){x=!0,O(),b=xT(T,l),k.complete()}}),ec(P).subscribe(v))})(p)}}function xT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(t===!0){e();return}if(t!==!1){var o=new Gg({next:function(){o.unsubscribe(),e()}});return ec(t.apply(void 0,Dh([],Ch(n)))).subscribe(o)}}function AT(e,t,n){var i,o,u,l,c=!1;return e&&typeof e=="object"?(i=e.bufferSize,l=i===void 0?1/0:i,o=e.windowTime,t=o===void 0?1/0:o,u=e.refCount,c=u===void 0?!1:u,n=e.scheduler):l=e??1/0,Xg({connector:function(){return new u3(l,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}function Qg(e,t,n){var i=_r(e)||t||n?{next:e,error:t,complete:n}:e;return i?As(function(o,u){var l;(l=i.subscribe)===null||l===void 0||l.call(i);var c=!0;o.subscribe(Wu(u,function(h){var p;(p=i.next)===null||p===void 0||p.call(i,h),u.next(h)},function(){var h;c=!1,(h=i.complete)===null||h===void 0||h.call(i),u.complete()},function(h){var p;c=!1,(p=i.error)===null||p===void 0||p.call(i,h),u.error(h)},function(){var h,p;c&&((h=i.unsubscribe)===null||h===void 0||h.call(i)),(p=i.finalize)===null||p===void 0||p.call(i)}))}):CS}function kh(e,t,n,i){if(n.kind===pn.INT||n.kind===pn.FLOAT)e[t.value]=Number(n.value);else if(n.kind===pn.BOOLEAN||n.kind===pn.STRING)e[t.value]=n.value;else if(n.kind===pn.OBJECT){const o={};n.fields.map(u=>kh(o,u.name,u.value,i)),e[t.value]=o}else if(n.kind===pn.VARIABLE){const o=(i||{})[n.name.value];e[t.value]=o}else if(n.kind===pn.LIST)e[t.value]=n.values.map(o=>{const u={};return kh(u,t,o,i),u[t.value]});else if(n.kind===pn.ENUM)e[t.value]=n.value;else if(n.kind===pn.NULL)e[t.value]=null;else throw Do(19,t.value,n.kind)}function CT(e,t){if(e.arguments&&e.arguments.length){const n={};return e.arguments.forEach(({name:i,value:o})=>kh(n,i,o,t)),n}return null}const N3=typeof Ts(()=>window.document.createElement)=="function",NK=Symbol.for("apollo.cacheSize"),Xu={...sT[NK]};function jh(e,t){var n;return((n=e.definitions.find(i=>i.kind==="OperationDefinition"&&!!i.name))==null?void 0:n.name.value)??t}const PK=()=>Object.create(null),{forEach:kK,slice:P3}=Array.prototype,{hasOwnProperty:jK}=Object.prototype;class ou{constructor(t=!0,n=PK){this.weakness=t,this.makeData=n}lookup(){return this.lookupArray(arguments)}lookupArray(t){let n=this;return kK.call(t,i=>n=n.getChildTrie(i)),jK.call(n,"data")?n.data:n.data=this.makeData(P3.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let n=this;for(let i=0,o=t.length;n&&i<o;++i){const u=n.mapFor(t[i],!1);n=u&&u.get(t[i])}return n&&n.data}remove(){return this.removeArray(arguments)}removeArray(t){let n;if(t.length){const i=t[0],o=this.mapFor(i,!1),u=o&&o.get(i);u&&(n=u.removeArray(P3.call(t,1)),!u.data&&!u.weak&&!(u.strong&&u.strong.size)&&o.delete(i))}else n=this.data,delete this.data;return n}getChildTrie(t){const n=this.mapFor(t,!0);let i=n.get(t);return i||n.set(t,i=new ou(this.weakness,this.makeData)),i}mapFor(t,n){return this.weakness&&LK(t)?this.weak||(n?this.weak=new WeakMap:void 0):this.strong||(n?this.strong=new Map:void 0)}}function LK(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}function IK(){}class DT{constructor(t=1/0,n=IK){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}get size(){return this.map.size}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:i,newer:o}=n;o&&(o.older=i),i&&(i.newer=o),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=o)}return n}set(t,n){let i=this.getNode(t);return i?i.value=n:(i={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.map.set(t,i),i.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}function MT(){}const $K=MT,zK=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}},qK=typeof WeakMap<"u"?WeakMap:Map,UK=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:MT,unregister:MT}},BK=10024;class MS{constructor(t=1/0,n=$K){this.max=t,this.dispose=n,this.map=new qK,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const i=this.unfinalizedNodes.values();for(let o=0;o<BK;o++){const u=i.next().value;if(!u)break;this.unfinalizedNodes.delete(u);const l=u.key;delete u.key,u.keyRef=new zK(l),this.registry.register(l,u,u)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new UK(this.deleteNode.bind(this))}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:i,newer:o}=n;o&&(o.older=i),i&&(i.newer=o),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=o)}return n}set(t,n){let i=this.getNode(t);return i?i.value=n:(i={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.scheduleFinalization(i),this.map.set(t,i),this.size++,i.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(t){t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.size--;const n=t.key||t.keyRef&&t.keyRef.deref();this.dispose(t.value,n),t.keyRef?this.registry.unregister(t):this.unfinalizedNodes.delete(t),n&&this.map.delete(n)}delete(t){const n=this.map.get(t);return n?(this.deleteNode(n),!0):!1}scheduleFinalization(t){this.unfinalizedNodes.add(t),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}const NT=new WeakSet;function k3(e){e.size<=(e.max||-1)||NT.has(e)||(NT.add(e),setTimeout(()=>{e.clean(),NT.delete(e)},100))}const PT=function(e,t){const n=new MS(e,t);return n.set=function(i,o){const u=MS.prototype.set.call(this,i,o);return k3(this),u},n},HK=function(e,t){const n=new DT(e,t);return n.set=function(i,o){const u=DT.prototype.set.call(this,i,o);return k3(this),u},n};function j3(e,{max:t,makeCacheKey:n=i=>i}){const i=new ou(!0),o=new PT(t);return(...u)=>{const l=i.lookupArray(n(u)),c=o.get(l);if(c){if(c.error)throw c.error;return c.result}const h=o.set(l,{});try{return h.result=e(...u)}catch(p){throw h.error=p,p}}}const nc=j3((e,t)=>{Ht(e&&e.kind==="Document",1);const n=e.definitions.filter(i=>i.kind==="OperationDefinition");t&&Ht(n.length==1&&n[0].operation===t,4,t,t,n[0].operation),au(e,{Field(i,o,u,l){var c;if(i.alias&&(i.alias.value==="__typename"||i.alias.value.startsWith("__ac_"))&&i.alias.value!==i.name.value){let h=e,p=[];for(const v of l)h=h[v],h.kind===pn.FIELD&&p.push(((c=h.alias)==null?void 0:c.value)||h.name.value);throw p.splice(-1,1,i.name.value),Do(5,i.alias.value,p.join("."),n[0].operation,jh(e,"(anonymous)"))}}})},{max:Xu.checkDocument||2e3});function FK(e){return e.length===0?Wg:new Yn(t=>{const{length:n}=e,i=new Array(n),o=new Map;e.forEach((h,p)=>{o.has(h)||o.set(h,new Set),o.get(h).add(p)});let u=o.size,l=o.size,c;o.forEach((h,p)=>{let v=!1;const b=p.subscribe({next:S=>{h.forEach(_=>i[_]=S),v||(v=!0,l--),l||(c||(c=new Set(e.filter(_=>_.dirty))),c.delete(p),c.size||(t.next(i.slice()),c=void 0))},complete:()=>{u--,u||t.complete()},error:t.error.bind(t)});t.add(b)})})}function ao(...e){const t={};return e.forEach(n=>{n&&Reflect.ownKeys(n).forEach(i=>{const o=n[i];o!==void 0&&(t[i]=o)})}),t}function Kg(e=[]){const t={};return e.forEach(n=>{t[n.name.value]=n}),t}function Ia(e){return e!==null&&typeof e=="object"}const{hasOwnProperty:VK}=Object.prototype,YK=function(e,t,n){return this.merge(e[n],t[n])},L3=e=>isNaN(+e)?{}:[];class Lh{constructor(t={}){we(this,"options");we(this,"reconciler");we(this,"isObject",Ia);we(this,"pastCopies",new Set);this.options=t,this.reconciler=t.reconciler||YK}merge(t,n,i={}){const o=i.atPath;if(o!=null&&o.length){const[u,...l]=o;t===void 0&&(t=L3(u));let c=t[u];c===void 0&&l.length&&(c=L3(l[0]));const h=this.merge(c,n,{...i,atPath:l});return c!==h&&(t=this.shallowCopyForMerge(t),t[u]=h),t}return Array.isArray(t)&&Array.isArray(n)&&this.options.arrayMerge==="truncate"&&t.length>n.length&&(t=t.slice(0,n.length),this.pastCopies.add(t)),Ia(n)&&Ia(t)?(Object.keys(n).forEach(u=>{if(VK.call(t,u)){const l=t[u];if(n[u]!==l){const c=this.reconciler(t,n,u);c!==l&&(t=this.shallowCopyForMerge(t),t[u]=c)}}else t=this.shallowCopyForMerge(t),t[u]=n[u]}),t):n}shallowCopyForMerge(t){return Ia(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t={__proto__:Object.getPrototypeOf(t),...t},this.pastCopies.add(t))),t}}function kT(e){const t={},n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(i=>{i.defaultValue&&kh(t,i.variable.name,i.defaultValue)}),t}function NS(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{const n=e.name.value;if(typeof t=="function")return t(n);const i=t&&t[n];return Ht(i,9,n),i||null}default:return null}}function GK(e,t){let n=t;const i=[];return e.definitions.forEach(u=>{if(u.kind==="OperationDefinition")throw Do(10,u.operation,u.name?` named '${u.name.value}'`:"");u.kind==="FragmentDefinition"&&i.push(u)}),typeof n>"u"&&(Ht(i.length===1,11,i.length),n=i[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}},...e.definitions]}}function WK(e){Ht(e.kind==="Document",6),Ht(e.definitions.length<=1,7);const t=e.definitions[0];return Ht(t.kind==="FragmentDefinition",8),t}function Zg(e){return e.definitions.filter(t=>t.kind==="FragmentDefinition")}function I3(e){nc(e);let t;for(let n of e.definitions){if(n.kind==="OperationDefinition")return n;n.kind==="FragmentDefinition"&&!t&&(t=n)}if(t)return t;throw Do(12)}function Qu(e){return nc(e),e.definitions.filter(t=>t.kind==="OperationDefinition")[0]}function XK(e){const t=Qu(e);return Ht(t&&t.operation==="query",13),t}const Ku=Object.assign(function(t){return JSON.stringify(t,QK)},{reset(){Jg=new HK(Xu.canonicalStringify||1e3)}});let Jg;Ku.reset();function QK(e,t){if(t&&typeof t=="object"){const n=Object.getPrototypeOf(t);if(n===Object.prototype||n===null){const i=Object.keys(t);if(i.every(KK))return t;const o=JSON.stringify(i);let u=Jg.get(o);if(!u){i.sort();const c=JSON.stringify(i);u=Jg.get(c)||i,Jg.set(o,u),Jg.set(c,u)}const l=Object.create(n);return u.forEach(c=>{l[c]=t[c]}),l}}return t}function KK(e,t,n){return t===0||n[t-1]<=e}const ZK=["connection","include","skip","client","rest","export","nonreactive","stream"];let ev=Ku;const $3=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){const o=n.connection.filter?n.connection.filter:[];o.sort();const u={};o.forEach(c=>{u[c]=t[c]});const l=ev(u);if(l!=="{}")return`${n.connection.key}(${l})`}return n.connection.key}let i=e;if(t){const o=ev(t);o!=="{}"&&(i+=`(${o})`)}return n&&Object.keys(n).forEach(o=>{ZK.indexOf(o)===-1&&(n[o]&&Object.keys(n[o]).length?i+=`@${o}(${ev(n[o])})`:i+=`@${o}`)}),i},{setStringify(e){const t=ev;return ev=e,t}});function Ih(e){var t;return!!((t=e.errors)!=null&&t.length)}function $h(e,t,n){const i=new Set(e),o=i.size;return au(t,{Directive(u){if(i.delete(u.name.value)&&(!n||!i.size))return pT}}),n?!i.size:i.size<o}function JK(e){let t=!1;return au(e,{Directive:{enter(n){if(n.name.value==="client"&&n.arguments&&(t=n.arguments.some(i=>i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0),t))return pT}}}),t}const ei=Array.isArray;function e2(e){return Ia(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function tv(e){return e.kind==="Field"}function jT(e){return Array.isArray(e)&&e.length>0}function zh(e){return{__ref:String(e)}}function mme(e){return e}function t2(e){let t=e[0]||{};const n=e.length;if(n>1){const i=new Lh;for(let o=1;o<n;++o)t=i.merge(t,e[o])}return t}function Nf(e,t){return ao(e,t,t.variables&&{variables:ao({...e&&e.variables,...t.variables})})}function LT(e){return e.catch(()=>{}),e}function n2(e,t){nc(t);const n=z3(""),i=z3(""),o=O=>{for(let T=0,M;T<O.length&&(M=O[T]);++T)if(!ei(M)){if(M.kind===pn.OPERATION_DEFINITION)return n(M.name&&M.name.value);if(M.kind===pn.FRAGMENT_DEFINITION)return i(M.name.value)}return Ht.error(14),null};let u=0;for(let O=t.definitions.length-1;O>=0;--O)t.definitions[O].kind===pn.OPERATION_DEFINITION&&++u;const l=r2(e),c=O=>jT(O)&&O.map(l).some(T=>T&&T.remove),h=new Map;let p=!1;const v={enter(O){if(c(O.directives))return p=!0,null}},b=au(t,{Field:v,InlineFragment:v,VariableDefinition:{enter(){return!1}},Variable:{enter(O,T,M,P,C){const k=o(C);k&&k.variables.add(O.name.value)}},FragmentSpread:{enter(O,T,M,P,C){if(c(O.directives))return p=!0,null;const k=o(C);k&&k.fragmentSpreads.add(O.name.value)}},FragmentDefinition:{enter(O,T,M,P){h.set(JSON.stringify(P),O)},leave(O,T,M,P){const C=h.get(JSON.stringify(P));if(O===C)return O;if(u>0&&O.selectionSet.selections.every(k=>k.kind===pn.FIELD&&k.name.value==="__typename"))return i(O.name.value).removed=!0,p=!0,null}},Directive:{leave(O){if(l(O))return p=!0,null}}});if(!p)return t;const S=O=>(O.transitiveVars||(O.transitiveVars=new Set(O.variables),O.removed||O.fragmentSpreads.forEach(T=>{S(i(T)).transitiveVars.forEach(M=>{O.transitiveVars.add(M)})})),O),_=new Set;b.definitions.forEach(O=>{O.kind===pn.OPERATION_DEFINITION?S(n(O.name&&O.name.value)).fragmentSpreads.forEach(T=>{_.add(T)}):O.kind===pn.FRAGMENT_DEFINITION&&u===0&&!i(O.name.value).removed&&_.add(O.name.value)}),_.forEach(O=>{S(i(O)).fragmentSpreads.forEach(T=>{_.add(T)})});const x=O=>!!(!_.has(O)||i(O).removed),R={enter(O){if(x(O.name.value))return null}};return i2(au(b,{FragmentSpread:R,FragmentDefinition:R,OperationDefinition:{leave(O){if(O.variableDefinitions){const T=S(n(O.name&&O.name.value)).transitiveVars;if(T.size<O.variableDefinitions.length)return{...O,variableDefinitions:O.variableDefinitions.filter(M=>T.has(M.variable.name.value))}}}}}))}function z3(e){const t=new Map;return function(i=e){let o=t.get(i);return o||t.set(i,o={variables:new Set,fragmentSpreads:new Set}),o}}function r2(e){const t=new Map,n=new Map;return e.forEach(i=>{i&&(i.name?t.set(i.name,i):i.test&&n.set(i.test,i))}),i=>{let o=t.get(i.name.value);return!o&&n.size&&n.forEach((u,l)=>{l(i)&&(o=u)}),o}}function q3(e,t){return!e||e.selectionSet.selections.every(n=>n.kind===pn.FRAGMENT_SPREAD&&q3(t[n.name.value],t))}function i2(e){return q3(Qu(e)||WK(e),Kg(Zg(e)))?null:e}function a2(e){return au(e,{FragmentSpread(t){var n;if(!((n=t.directives)!=null&&n.some(({name:i})=>i.value==="unmask")))return null}})}function qh(e){return e.alias?e.alias.value:e.name.value}function PS({directives:e},t){return!e||!e.length?!0:s2(e).every(({directive:n,ifArgument:i})=>{let o=!1;return i.value.kind==="Variable"?(o=t&&t[i.value.name.value],Ht(o!==void 0,15,n.name.value)):o=i.value.value,n.name.value==="skip"?!o:o})}function o2({name:{value:e}}){return e==="skip"||e==="include"}function s2(e){const t=[];return e&&e.length&&e.forEach(n=>{if(!o2(n))return;const i=n.arguments,o=n.name.value;Ht(i&&i.length===1,16,o);const u=i[0];Ht(u.name&&u.name.value==="if",17,o);const l=u.value;Ht(l&&(l.kind==="Variable"||l.kind==="BooleanValue"),18,o),t.push({directive:n,ifArgument:u})}),t}function u2(e,t){let n=null;e.directives&&(n={},e.directives.forEach(o=>{n[o.name.value]={},o.arguments&&o.arguments.forEach(({name:u,value:l})=>kh(n[o.name.value],u,l,t))}));let i=null;return e.arguments&&e.arguments.length&&(i={},e.arguments.forEach(({name:o,value:u})=>kh(i,o,u,t))),$3(e.name.value,i,n)}function nv(e){const t={data:e.data};return e.error&&(t.error=e.error),t}function IT(e,t=()=>{}){return n=>new Yn(i=>{let o=t();return n.subscribe({next(u){let l;try{l=e(u,o)}catch(c){i.error(c)}l!==void 0&&i.next(l)},error(u){i.error(u)},complete(){i.complete()}})})}function U3(e,{data:t,...n},{data:i,...o},u){return sn(n,o)&&kS(I3(e).selectionSet,t,i,{fragmentMap:Kg(Zg(e)),variables:u})}function kS(e,t,n,i){if(t===n)return!0;const o=new Set;return e.selections.every(u=>{if(o.has(u)||(o.add(u),!PS(u,i.variables))||B3(u))return!0;if(tv(u)){const l=qh(u),c=t&&t[l],h=n&&n[l],p=u.selectionSet;if(!p)return sn(c,h);const v=Array.isArray(c),b=Array.isArray(h);if(v!==b)return!1;if(v&&b){const S=c.length;if(h.length!==S)return!1;for(let _=0;_<S;++_)if(!kS(p,c[_],h[_],i))return!1;return!0}return kS(p,c,h,i)}else{const l=NS(u,i.fragmentMap);if(l)return B3(l)?!0:kS(l.selectionSet,t,n,i)}})}function B3(e){return!!e.directives&&e.directives.some(l2)}function l2(e){return e.name.value==="nonreactive"}function c2(e,t){let n,i;function o(u){return u!==n&&(n=u,i=t(n)),i}return Object.assign(e.pipe(tc(o),AT({bufferSize:1,refCount:!0})),{getCurrentResult:()=>o(e.getCurrentResult())})}const f2=j3(function(t,n,i){return c2(t,i)},{max:1,makeCacheKey:e=>e.slice(0,2)}),H3=Symbol.for("apollo.result.extensions"),rc=Symbol.for("apollo.result.streamInfo"),$T=Symbol.for("apollo.observableQuery.variablesUnknown");let Ai=null;const F3={};let d2=1;const h2=()=>class{constructor(){this.id=["slot",d2++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=Ai;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===F3)break;return t!==Ai&&(Ai.slots[this.id]=n),!0}return Ai&&(Ai.slots[this.id]=F3),!1}getValue(){if(this.hasValue())return Ai.slots[this.id]}withValue(t,n,i,o){const u={__proto__:null,[this.id]:t},l=Ai;Ai={parent:l,slots:u};try{return n.apply(o,i)}finally{Ai=l}}static bind(t){const n=Ai;return function(){const i=Ai;try{return Ai=n,t.apply(this,arguments)}finally{Ai=i}}}static noContext(t,n,i){if(Ai){const o=Ai;try{return Ai=null,t.apply(i,n)}finally{Ai=o}}else return t.apply(i,n)}};function V3(e){try{return e()}catch{}}const zT="@wry/context:Slot",Y3=V3(()=>globalThis)||V3(()=>global)||Object.create(null),jS=Y3[zT]||Array[zT]||(function(e){try{Object.defineProperty(Y3,zT,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}})(h2()),{bind:vme,noContext:yme}=jS,LS=new jS,{hasOwnProperty:p2}=Object.prototype,qT=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function UT(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const rv=[],m2=100;function Uh(e,t){if(!e)throw new Error(t||"assertion failure")}function G3(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function W3(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function X3(e){return e.slice(0)}class IS{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++IS.count}peek(){if(this.value.length===1&&!ic(this))return Q3(this),this.value[0]}recompute(t){return Uh(!this.recomputing,"already recomputing"),Q3(this),ic(this)?g2(this,t):W3(this.value)}setDirty(){this.dirty||(this.dirty=!0,K3(this),UT(this))}dispose(){this.setDirty(),nz(this),BT(this,(t,n)=>{t.setDirty(),rz(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=rv.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(qT(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),rv.push(this.deps),this.deps=null)}}IS.count=0;function Q3(e){const t=LS.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),ic(e)?J3(t,e):ez(t,e),t}function g2(e,t){return nz(e),LS.withValue(e,v2,[e,t]),b2(e,t)&&y2(e),W3(e.value)}function v2(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let i;n&&e.value.length===1&&(i=X3(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&i&&!G3(i,e.value))try{e.value[0]=n(e.value[0],i[0])}catch{}}catch(o){e.value[1]=o}e.recomputing=!1}function ic(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function y2(e){e.dirty=!1,!ic(e)&&Z3(e)}function K3(e){BT(e,J3)}function Z3(e){BT(e,ez)}function BT(e,t){const n=e.parents.size;if(n){const i=qT(e.parents);for(let o=0;o<n;++o)t(i[o],e)}}function J3(e,t){Uh(e.childValues.has(t)),Uh(ic(t));const n=!ic(e);if(!e.dirtyChildren)e.dirtyChildren=rv.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&K3(e)}function ez(e,t){Uh(e.childValues.has(t)),Uh(!ic(t));const n=e.childValues.get(t);n.length===0?e.childValues.set(t,X3(t.value)):G3(n,t.value)||e.setDirty(),tz(e,t),!ic(e)&&Z3(e)}function tz(e,t){const n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(rv.length<m2&&rv.push(n),e.dirtyChildren=null))}function nz(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{rz(e,n)}),e.forgetDeps(),Uh(e.dirtyChildren===null)}function rz(e,t){t.parents.delete(e),e.childValues.delete(t),tz(e,t)}function b2(e,t){if(typeof e.subscribe=="function")try{UT(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const S2={setDirty:!0,dispose:!0,forget:!0};function iz(e){const t=new Map;function n(i){const o=LS.getValue();if(o){let u=t.get(i);u||t.set(i,u=new Set),o.dependOn(u)}}return n.dirty=function(o,u){const l=t.get(o);if(l){const c=u&&p2.call(S2,u)?u:"setDirty";qT(l).forEach(h=>h[c]()),t.delete(o),UT(l)}},n}let az;function oz(...e){return(az||(az=new ou(typeof WeakMap=="function"))).lookupArray(e)}const HT=new Set;function iv(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:i=oz,normalizeResult:o,subscribe:u,cache:l=DT}=Object.create(null)){const c=typeof l=="function"?new l(t,S=>S.dispose()):l,h=function(){const S=i.apply(null,n?n.apply(null,arguments):arguments);if(S===void 0)return e.apply(null,arguments);let _=c.get(S);_||(c.set(S,_=new IS(e)),_.normalizeResult=o,_.subscribe=u,_.forget=()=>c.delete(S));const x=_.recompute(Array.prototype.slice.call(arguments));return c.set(S,_),HT.add(c),LS.hasValue()||(HT.forEach(R=>R.clean()),HT.clear()),x};Object.defineProperty(h,"size",{get:()=>c.size,configurable:!1,enumerable:!1}),Object.freeze(h.options={max:t,keyArgs:n,makeCacheKey:i,normalizeResult:o,subscribe:u,cache:c});function p(S){const _=S&&c.get(S);_&&_.setDirty()}h.dirtyKey=p,h.dirty=function(){p(i.apply(null,arguments))};function v(S){const _=S&&c.get(S);if(_)return _.peek()}h.peekKey=v,h.peek=function(){return v(i.apply(null,arguments))};function b(S){return S?c.delete(S):!1}return h.forgetKey=b,h.forget=function(){return b(i.apply(null,arguments))},h.makeCacheKey=i,h.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(h)}function _2(...e){return oz.bind(null,...e)}class E2{constructor(){we(this,"startRequest")}isIncrementalResult(t){return!1}prepareRequest(t){return Ht(!$h(["defer","stream"],t.query),67),t}extractErrors(){}}function w2(e,{client:t}){const n={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:jh(e.query),operationType:Qu(e.query).operation};let i={...e.context};const o=l=>{typeof l=="function"?i={...i,...l(u())}:i={...i,...l}},u=()=>Object.freeze({...i});return Object.defineProperty(n,"setContext",{enumerable:!1,value:o}),Object.defineProperty(n,"getContext",{enumerable:!1,value:u}),Object.defineProperty(n,"client",{enumerable:!1,value:t}),n}function R2(e,t){const n={...e},i=new Set(Object.keys(e));return au(t,{Variable(o,u,l){l&&l.kind!=="VariableDefinition"&&i.delete(o.name.value)}}),i.forEach(o=>{delete n[o]}),n}class Wi{constructor(t){we(this,"left");we(this,"right");t&&(this.request=t)}static empty(){return new Wi(()=>Wg)}static from(t){if(t.length===0)return Wi.empty();const[n,...i]=t;return n.concat(...i)}static split(t,n,i=new Wi((o,u)=>u(o))){const o=new Wi((u,l)=>t(u)?n.request(u,l):i.request(u,l));return Object.assign(o,{left:n,right:i})}static execute(t,n,i){return t.request(w2(n,i),()=>Wg)}static concat(...t){return Wi.from(t)}split(t,n,i){return this.concat(Wi.split(t,n,i))}concat(...t){return t.length===0?this:t.reduce(this.combine.bind(this),this)}combine(t,n){const i=new Wi((o,u)=>t.request(o,l=>n.request(l,u)));return Object.assign(i,{left:t,right:n})}request(t,n){throw Do(65)}}const FT=Wi.execute;function O2(e){return e}class Zu{constructor(t,n={}){we(this,"transform");we(this,"cached");we(this,"resultCache",new WeakSet);we(this,"left");we(this,"right");this.transform=t,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),this.cached=n.cache!==!1,this.resetCache()}getCacheKey(t){return[t]}static identity(){return new Zu(O2,{cache:!1})}static split(t,n,i=Zu.identity()){return Object.assign(new Zu(o=>(t(o)?n:i).transformDocument(o),{cache:!1}),{left:n,right:i})}resetCache(){if(this.cached){const t=new ou;this.performWork=iv(Zu.prototype.performWork.bind(this),{makeCacheKey:n=>{const i=this.getCacheKey(n);if(i)return Ht(Array.isArray(i),20),t.lookupArray(i)},max:Xu["documentTransform.cache"],cache:MS})}}performWork(t){return nc(t),this.transform(t)}transformDocument(t){if(this.resultCache.has(t))return t;const n=this.performWork(t);return this.resultCache.add(n),n}concat(t){return Object.assign(new Zu(n=>t.transformDocument(this.transformDocument(n)),{cache:!1}),{left:this,right:t})}}let VT;const Bh=Object.assign(e=>{let t=VT.get(e);return t||(t=NQ(e),VT.set(e,t)),t},{reset(){VT=new PT(Xu.print||2e3)}});Bh.reset();function Gn(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}const sz={kind:pn.FIELD,name:{kind:pn.NAME,value:"__typename"}},uz=Object.assign(function(e){return au(e,{SelectionSet:{enter(t,n,i){if(i&&i.kind===pn.OPERATION_DEFINITION)return;const{selections:o}=t;if(!o||o.some(c=>c.kind===pn.FIELD&&(c.name.value==="__typename"||c.name.value.lastIndexOf("__",0)===0)))return;const l=i;if(!(l.kind===pn.FIELD&&l.directives&&l.directives.some(c=>c.name.value==="export")))return{...t,selections:[...o,sz]}}}})},{added(e){return e===sz}});function lz(e,t){var n;return((n=Qu(e))==null?void 0:n.operation)===t}function T2(e){return lz(e,"mutation")}function x2(e){return lz(e,"subscription")}function cz(e){return e===7||e===8}function $S(e){return!cz(e)}class A2{constructor(){we(this,"assumeImmutableResults",!1);we(this,"fragmentWatches",new ou(!0));we(this,"onAfterBroadcast",t=>t());we(this,"getFragmentDoc",iv(GK,{max:Xu["cache.fragmentQueryDocuments"]||1e3,cache:MS,makeCacheKey:_2(this)}))}lookupFragment(t){return null}batch(t){const n=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0;let i;return this.performTransaction(()=>i=t.update(this),n),i}recordOptimisticTransaction(t,n){this.performTransaction(t,n)}transformDocument(t){return t}transformForLink(t){return t}identify(t){}gc(){return[]}modify(t){return!1}readQuery(t,n=!!t.optimistic){return this.read({...t,rootId:t.id||"ROOT_QUERY",optimistic:n})}watchFragment(t){const{fragment:n,fragmentName:i,from:o}=t,u=this.getFragmentDoc(n,i),c=(Array.isArray(o)?o:[o]).map(_=>_==null?_:this.toCacheId(_));if(!Array.isArray(o)){const _=this.watchSingleFragment(c[0],u,t);return o===null?_:f2(_,Symbol.for("apollo.transform.individualResult"),x=>({...x,data:x.data??{}}))}let h;function p(_){const x=_.reduce((R,O,T)=>(R.data.push(O.data),R.complete&&(R.complete=O.complete),R.dataState=R.complete?"complete":"partial",O.missing&&(R.missing||(R.missing={}),R.missing[T]=O.missing),R),{data:[],dataState:"complete",complete:!0});return sn(h,x)||(h=x),h}if(c.length===0)return D2;let v=!1;const b=c.map(_=>this.watchSingleFragment(_,u,t)),S=FK(b).pipe(tc(p),Qg({subscribe:()=>v=!0,unsubscribe:()=>v=!1}),AT({bufferSize:1,refCount:!0}));return Object.assign(S,{getCurrentResult:()=>{if(v&&h)return h;const _=b.map(x=>x.getCurrentResult());return p(_)}})}watchSingleFragment(t,n,i){if(t===null)return C2;const{optimistic:o=!0,variables:u}=i,l=[n,Ku({id:t,optimistic:o,variables:u})],c=this.fragmentWatches.lookupArray(l);if(!c.observable){let v=function(S){const _=S.result;return(!p||!U3(n,{data:p.data},{data:_},i.variables))&&(p={data:_,dataState:S.complete?"complete":"partial",complete:S.complete},S.missing&&(p.missing=S.missing.missing)),p},h=!1,p;const b=new Yn(S=>{h=!0;const _=this.watch({variables:u,returnPartialData:!0,id:t,query:n,optimistic:o,immediate:!0,callback:x=>{b.dirty=!0,this.onAfterBroadcast(()=>{S.next(v(x)),b.dirty=!1})}});return()=>{h=!1,_(),this.fragmentWatches.removeArray(l)}}).pipe(AK(),Xg({connector:()=>new u3(1),resetOnRefCountZero:()=>xK(0)}));c.observable=Object.assign(b,{dirty:!1,getCurrentResult:()=>h&&p?p:v(this.diff({id:t,query:n,returnPartialData:!0,optimistic:o,variables:u}))})}return c.observable}readFragment(t,n=!!t.optimistic){const i=t.from!==void 0?this.toCacheId(t.from):t.id;return this.read({...t,query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:i,optimistic:n})}writeQuery({id:t,data:n,...i}){return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))}writeFragment({data:t,fragment:n,fragmentName:i,...o}){const u=o.from!==void 0?this.toCacheId(o.from):o.id;return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:u,result:t}))}updateQuery(t,n){return this.batch({update(i){const o=i.readQuery(t),u=n(o);return u==null?o:(i.writeQuery({...t,data:u}),u)}})}updateFragment(t,n){return this.batch({update(i){const o=i.readFragment(t),u=n(o);return u==null?o:(i.writeFragment({...t,data:u}),u)}})}toCacheId(t){return typeof t=="string"?t:this.identify(t)}}const fz=Object.freeze({data:null,dataState:"complete",complete:!0}),C2=Object.assign(new Yn(e=>{e.next(fz)}),{dirty:!1,getCurrentResult:()=>fz}),dz=Object.freeze({data:[],dataState:"complete",complete:!0}),D2=Object.assign(new Yn(e=>{e.next(dz)}),{getCurrentResult:()=>dz});class YT extends Error{constructor(n,i,o,u){super(n);we(this,"message");we(this,"path");we(this,"query");we(this,"variables");we(this,"missing");if(this.message=n,this.path=i,this.query=o,this.variables=u,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let l=this.path.length-1;l>=0;--l)this.missing={[this.path[l]]:this.missing}}else this.missing=this.path;this.__proto__=YT.prototype}}const{hasOwnProperty:fi}=Object.prototype;function hz({__typename:e,id:t,_id:n},i){if(typeof e=="string"&&(i&&(i.keyObject=t!=null?{id:t}:n!=null?{_id:n}:void 0),t==null&&n!=null&&(t=n),t!=null))return`${e}:${typeof t=="number"||typeof t=="string"?t:JSON.stringify(t)}`}const M2={dataIdFromObject:hz,resultCaching:!0};function N2(e){return ao(M2,e)}const pz=/^[_a-z][_0-9a-z]*/i;function Hh(e){const t=e.match(pz);return t?t[0]:e}function GT(e,t,n){return Ia(t)?ei(t)?t.every(i=>GT(e,i,n)):e.selections.every(i=>{if(tv(i)&&PS(i,n)){const o=qh(i);return fi.call(t,o)&&(!i.selectionSet||GT(i.selectionSet,t[o],n))}return!0}):!1}function Fh(e){return Ia(e)&&!Gn(e)&&!ei(e)}function P2(){return new Lh}function mz(e,t){const n=Kg(Zg(e));return{fragmentMap:n,lookupFragment(i){let o=n[i];return!o&&t&&(o=t.lookup(i)),o||null}}}const zS={},WT=()=>zS,gz={};class qS{constructor(t,n){we(this,"policies");we(this,"group");we(this,"data",{});we(this,"rootIds",{});we(this,"refs",{});we(this,"getFieldValue",(t,n)=>Gn(t)?this.get(t.__ref,n):t&&t[n]);we(this,"canRead",t=>Gn(t)?this.has(t.__ref):typeof t=="object");we(this,"toReference",(t,n)=>{if(typeof t=="string")return zh(t);if(Gn(t))return t;const[i]=this.policies.identify(t);if(i){const o=zh(i);return n&&this.merge(i,t),o}});this.policies=t,this.group=n}toObject(){return{...this.data}}has(t){return this.lookup(t,!0)!==void 0}get(t,n){if(this.group.depend(t,n),fi.call(this.data,t)){const i=this.data[t];if(i&&fi.call(i,n))return i[n]}if(n==="__typename"&&fi.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof su)return this.parent.get(t,n)}lookup(t,n){if(n&&this.group.depend(t,"__exists"),fi.call(this.data,t))return this.data[t];if(this instanceof su)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return{}}merge(t,n){let i;Gn(t)&&(t=t.__ref),Gn(n)&&(n=n.__ref);const o=typeof t=="string"?this.lookup(i=t):t,u=typeof n=="string"?this.lookup(i=n):n;if(!u)return;Ht(typeof i=="string",104);const l=new Lh({reconciler:L2}).merge(o,u);if(this.data[i]=l,l!==o&&(delete this.refs[i],this.group.caching)){const c={};o||(c.__exists=1),Object.keys(u).forEach(h=>{if(!o||o[h]!==l[h]){c[h]=1;const p=Hh(h);p!==h&&!this.policies.hasKeyArgs(l.__typename,p)&&(c[p]=1),l[h]===void 0&&!(this instanceof su)&&delete l[h]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===l.__typename&&delete c.__typename,Object.keys(c).forEach(h=>this.group.dirty(i,h))}}modify(t,n,i){const o=this.lookup(t);if(o){const u={};let l=!1,c=!0;const h={DELETE:zS,INVALIDATE:gz,isReference:Gn,toReference:this.toReference,canRead:this.canRead,readField:(p,v)=>this.policies.readField(typeof p=="string"?{fieldName:p,from:v||zh(t)}:p,{store:this})};if(Object.keys(o).forEach(p=>{const v=Hh(p);let b=o[p];if(b===void 0)return;const S=typeof n=="function"?n:n[p]||(i?void 0:n[v]);if(S){let _=S===WT?zS:S(b,{...h,fieldName:v,storeFieldName:p,storage:this.getStorage(t,p)});_===gz?this.group.dirty(t,p):(_===zS&&(_=void 0),_!==b&&(u[p]=_,l=!0,b=_))}b!==void 0&&(c=!1)}),l)return this.merge(t,u),c&&(this instanceof su?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1}delete(t,n,i){const o=this.lookup(t);if(o){const u=this.getFieldValue(o,"__typename"),l=n&&i?this.policies.getStoreFieldName({typename:u,fieldName:n,args:i}):n;return this.modify(t,l?{[l]:WT}:WT,!!i)}return!1}evict(t,n){let i=!1;return t.id&&(fi.call(this.data,t.id)&&(i=this.delete(t.id,t.fieldName,t.args)),this instanceof su&&this!==n&&(i=this.parent.evict(t,n)||i),(t.fieldName||i)&&this.group.dirty(t.id,t.fieldName||"__exists")),i}clear(){this.replace(null)}extract(){const t=this.toObject(),n=[];return this.getRootIdSet().forEach(i=>{fi.call(this.policies.rootTypenamesById,i)||n.push(i)}),n.length&&(t.__META={extraRootIds:n.sort()}),t}replace(t){if(Object.keys(this.data).forEach(n=>{t&&fi.call(t,n)||this.delete(n)}),t){const{__META:n,...i}=t;Object.keys(i).forEach(o=>{this.merge(o,i[o])}),n&&n.extraRootIds.forEach(this.retain,this)}}retain(t){return this.rootIds[t]=(this.rootIds[t]||0)+1}release(t){if(this.rootIds[t]>0){const n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0}getRootIdSet(t=new Set){return Object.keys(this.rootIds).forEach(t.add,t),this instanceof su?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t}gc(){const t=this.getRootIdSet(),n=this.toObject();t.forEach(o=>{fi.call(n,o)&&(Object.keys(this.findChildRefIds(o)).forEach(t.add,t),delete n[o])});const i=Object.keys(n);if(i.length){let o=this;for(;o instanceof su;)o=o.parent;i.forEach(u=>o.delete(u))}return i}findChildRefIds(t){if(!fi.call(this.refs,t)){const n=this.refs[t]={},i=this.data[t];if(!i)return n;const o=new Set([i]);o.forEach(u=>{Gn(u)&&(n[u.__ref]=!0),Ia(u)&&Object.keys(u).forEach(l=>{const c=u[l];Ia(c)&&o.add(c)})})}return this.refs[t]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}get supportsResultCaching(){return this.group.caching}}class vz{constructor(t,n=null){we(this,"caching");we(this,"parent");we(this,"d",null);we(this,"keyMaker");this.caching=t,this.parent=n,this.resetCaching()}resetCaching(){this.d=this.caching?iz():null,this.keyMaker=new ou}depend(t,n){if(this.d){this.d(XT(t,n));const i=Hh(n);i!==n&&this.d(XT(t,i)),this.parent&&this.parent.depend(t,n)}}dirty(t,n){this.d&&this.d.dirty(XT(t,n),n==="__exists"?"forget":"setDirty")}}function XT(e,t){return t+"#"+e}function yz(e,t){av(e)&&e.group.depend(t,"__exists")}class k2 extends qS{constructor({policies:n,resultCaching:i=!0,seed:o}){super(n,new vz(i));we(this,"stump",new j2(this));we(this,"storageTrie",new ou);o&&this.replace(o)}addLayer(n,i){return this.stump.addLayer(n,i)}removeLayer(){return this}getStorage(){return this.storageTrie.lookupArray(arguments)}}qS.Root=k2;class su extends qS{constructor(n,i,o,u){super(i.policies,u);we(this,"id");we(this,"parent");we(this,"replay");we(this,"group");this.id=n,this.parent=i,this.replay=o,this.group=u,o(this)}addLayer(n,i){return new su(n,this,i,this.group)}removeLayer(n){const i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(o=>{const u=this.data[o],l=i.lookup(o);l?u?u!==l&&Object.keys(u).forEach(c=>{sn(u[c],l[c])||this.group.dirty(o,c)}):(this.group.dirty(o,"__exists"),Object.keys(l).forEach(c=>{this.group.dirty(o,c)})):this.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(n){const i=this.parent.findChildRefIds(n);return fi.call(this.data,n)?{...i,...super.findChildRefIds(n)}:i}getStorage(...n){let i=this.parent;for(;i.parent;)i=i.parent;return i.getStorage(...n)}}class j2 extends su{constructor(t){super("EntityStore.Stump",t,()=>{},new vz(t.group.caching,t.group))}removeLayer(){return this}merge(t,n){return this.parent.merge(t,n)}}function L2(e,t,n){const i=e[n],o=t[n];return sn(i,o)?i:o}function av(e){return!!(e&&e.supportsResultCaching)}const bz=new jS;function I2(e){var i,o;const t=(i=e.directives)==null?void 0:i.find(({name:u})=>u.value==="unmask");if(!t)return"mask";const n=(o=t.arguments)==null?void 0:o.find(({name:u})=>u.value==="mode");return n&&"value"in n.value&&n.value.value==="migrate"?"migrate":"unmask"}function Sz(e,t,n){return bz.withValue(!0,()=>ov(e,t,n,!1))}function $2(e,t){if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};return t.set(e,n),n}function ov(e,t,n,i,o){const{knownChanged:u}=n,l=$2(e,n.mutableTargets);if(Array.isArray(e)){for(const[c,h]of Array.from(e.entries())){if(h===null){l[c]=null;continue}const p=ov(h,t,n,i);u.has(p)&&u.add(l),l[c]=p}return u.has(l)?l:e}for(const c of t.selections){let h;if(i&&u.add(l),c.kind===pn.FIELD){const p=qh(c),v=c.selectionSet;if(h=l[p]||e[p],h===void 0)continue;if(v&&h!==null){const b=ov(e[p],v,n,i);u.has(b)&&(h=b)}l[p]=h}if(c.kind===pn.INLINE_FRAGMENT&&(!c.typeCondition||n.cache.fragmentMatches(c,e.__typename))&&(h=ov(e,c.selectionSet,n,i)),c.kind===pn.FRAGMENT_SPREAD){const p=c.name.value,v=n.fragmentMap[p]||(n.fragmentMap[p]=n.cache.lookupFragment(p));Ht(v,39,p);const b=I2(c);b!=="mask"&&(h=ov(e,v.selectionSet,n,b==="migrate"))}u.has(h)&&u.add(l)}return"__typename"in e&&!("__typename"in l)&&(l.__typename=e.__typename),Object.keys(l).length!==Object.keys(e).length&&u.add(l),u.has(l)?l:e}function z2(e,t,n,i){const o=t.definitions.filter(l=>l.kind===pn.FRAGMENT_DEFINITION);typeof i>"u"&&(Ht(o.length===1,41,o.length),i=o[0].name.value);const u=o.find(l=>l.name.value===i);return Ht(!!u,42,i),e==null||sn(e,{})?e:Sz(e,u.selectionSet,{operationName:u.name.value,fragmentMap:Kg(Zg(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function q2(e,t,n){var o;const i=Qu(t);return Ht(i,43),e==null?e:Sz(e,i.selectionSet,{operationType:i.operation,operationName:(o=i.name)==null?void 0:o.value,fragmentMap:Kg(Zg(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}const _z={};function QT(e){const t=JSON.stringify(e);return _z[t]||(_z[t]={})}function Ez(e){const t=QT(e);return t.keyFieldsFn||(t.keyFieldsFn=(n,i)=>{const o=(l,c)=>i.readField(c,l),u=i.keyObject=KT(e,l=>{let c=Vh(i.storeObject,l,o);return c===void 0&&n!==i.storeObject&&fi.call(n,l[0])&&(c=Vh(n,l,Oz)),Ht(c!==void 0,107,l.join("."),n),c});return`${i.typename}:${JSON.stringify(u)}`})}function wz(e){const t=QT(e);return t.keyArgsFn||(t.keyArgsFn=(n,{field:i,variables:o,fieldName:u})=>{const l=KT(e,h=>{const p=h[0],v=p.charAt(0);if(v==="@"){if(i&&jT(i.directives)){const b=p.slice(1),S=i.directives.find(x=>x.name.value===b),_=S&&CT(S,o);return _&&Vh(_,h.slice(1))}return}if(v==="$"){const b=p.slice(1);if(o&&fi.call(o,b)){const S=h.slice(0);return S[0]=b,Vh(o,S)}return}if(n)return Vh(n,h)}),c=JSON.stringify(l);return(n||c!=="{}")&&(u+=":"+c),u})}function KT(e,t){const n=new Lh;return Rz(e).reduce((i,o)=>{let u=t(o);if(u!==void 0){for(let l=o.length-1;l>=0;--l)u={[o[l]]:u};i=n.merge(i,u)}return i},{})}function Rz(e){const t=QT(e);if(!t.paths){const n=t.paths=[],i=[];e.forEach((o,u)=>{ei(o)?(Rz(o).forEach(l=>n.push(i.concat(l))),i.length=0):(i.push(o),ei(e[u+1])||(n.push(i.slice(0)),i.length=0))})}return t.paths}function Oz(e,t){return e[t]}function Vh(e,t,n){return n=n||Oz,Tz(t.reduce(function i(o,u){return ei(o)?o.map(l=>i(l,u)):o&&n(o,u)},e))}function Tz(e){return Ia(e)?ei(e)?e.map(Tz):KT(Object.keys(e).sort(),t=>Vh(e,t)):e}const xz=new jS,Az=new WeakMap;function sv(e){let t=Az.get(e);return t||Az.set(e,t={vars:new Set,dep:iz()}),t}function Cz(e){sv(e).vars.forEach(t=>t.forgetCache(e))}function U2(e){sv(e).vars.forEach(t=>t.attachCache(e))}function B2(e){const t=new Set,n=new Set,i=function(u){if(arguments.length>0){if(e!==u){e=u,t.forEach(c=>{sv(c).dep.dirty(i),H2(c)});const l=Array.from(n);n.clear(),l.forEach(c=>c(e))}}else{const l=xz.getValue();l&&(o(l),sv(l).dep(i))}return e};i.onNextChange=u=>(n.add(u),()=>{n.delete(u)});const o=i.attachCache=u=>(t.add(u),sv(u).vars.add(i),i);return i.forgetCache=u=>t.delete(u),i}function H2(e){e.broadcastWatches&&e.broadcastWatches()}function ZT(e){return e.args!==void 0?e.args:e.field?CT(e.field,e.variables):null}const F2=()=>{},Dz=(e,t)=>t.fieldName,Mz=(e,t,{mergeObjects:n})=>n(e,t),Nz=(e,t)=>t,V2=(e,t,{streamFieldInfo:n,existingData:i})=>{if(!e&&!i)return t;const o=[],u=e??i,l=n!=null&&n.isLastChunk?t.length:Math.max(u.length,t.length);for(let c=0;c<l;c++)o[c]=t[c]===void 0?u[c]:t[c];return o};class Y2{constructor(t){we(this,"config");we(this,"typePolicies",{});we(this,"toBeAdded",{});we(this,"supertypeMap",new Map);we(this,"fuzzySubtypes",new Map);we(this,"cache");we(this,"rootIdsByTypename",{});we(this,"rootTypenamesById",{});we(this,"usingPossibleTypes",!1);this.config=t,this.config={dataIdFromObject:hz,...t},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}identify(t,n){var v;const i=this,o=n&&(n.typename||((v=n.storeObject)==null?void 0:v.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const u=n&&n.storeObject||t,l={...n,typename:o,storeObject:u,readField:n&&n.readField||((...b)=>{const S=JT(b,u);return i.readField(S,{store:i.cache.data,variables:S.variables})})};let c;const h=o&&this.getTypePolicy(o);let p=h&&h.keyFn||this.config.dataIdFromObject;return bz.withValue(!0,()=>{for(;p;){const b=p({...t,...u},l);if(ei(b))p=Ez(b);else{c=b;break}}}),c=c?String(c):void 0,l.keyObject?[c,l.keyObject]:[c]}addTypePolicies(t){Object.keys(t).forEach(n=>{const{queryType:i,mutationType:o,subscriptionType:u,...l}=t[n];i&&this.setRootTypename("Query",n),o&&this.setRootTypename("Mutation",n),u&&this.setRootTypename("Subscription",n),fi.call(this.toBeAdded,n)?this.toBeAdded[n].push(l):this.toBeAdded[n]=[l]})}updateTypePolicy(t,n,i){const o=this.getTypePolicy(t),{keyFields:u,fields:l}=n;function c(h,p){h.merge=typeof p=="function"?p:p===!0?Mz:p===!1?Nz:h.merge}c(o,n.merge),o.keyFn=u===!1?F2:ei(u)?Ez(u):typeof u=="function"?u:o.keyFn,l&&Object.keys(l).forEach(h=>{let p=i[h];(!p||(p==null?void 0:p.typename)!==t)&&(p=i[h]={typename:t});const v=l[h];if(typeof v=="function")p.read=v;else{const{keyArgs:b,read:S,merge:_}=v;p.keyFn=b===!1?Dz:ei(b)?wz(b):typeof b=="function"?b:p.keyFn,typeof S=="function"&&(p.read=S),c(p,_)}p.read&&p.merge&&(p.keyFn=p.keyFn||Dz)})}setRootTypename(t,n=t){const i="ROOT_"+t.toUpperCase(),o=this.rootTypenamesById[i];n!==o&&(Ht(!o||o===t,108,t),o&&delete this.rootIdsByTypename[o],this.rootIdsByTypename[n]=i,this.rootTypenamesById[i]=n)}addPossibleTypes(t){this.usingPossibleTypes=!0,Object.keys(t).forEach(n=>{this.getSupertypeSet(n,!0),t[n].forEach(i=>{this.getSupertypeSet(i,!0).add(n);const o=i.match(pz);(!o||o[0]!==i)&&this.fuzzySubtypes.set(i,new RegExp(i))})})}getTypePolicy(t){if(!fi.call(this.typePolicies,t)){const i=this.typePolicies[t]={};i.fields={};let o=this.supertypeMap.get(t);!o&&this.fuzzySubtypes.size&&(o=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach((u,l)=>{if(u.test(t)){const c=this.supertypeMap.get(l);c&&c.forEach(h=>o.add(h))}})),o&&o.size&&o.forEach(u=>{const{fields:l,...c}=this.getTypePolicy(u);Object.assign(i,c),Object.assign(i.fields,l)})}const n=this.toBeAdded[t];return n&&n.length&&n.splice(0).forEach(i=>{this.updateTypePolicy(t,i,this.typePolicies[t].fields)}),this.typePolicies[t]}getFieldPolicy(t,n){if(t)return this.getTypePolicy(t).fields[n]}getSupertypeSet(t,n){let i=this.supertypeMap.get(t);return!i&&n&&this.supertypeMap.set(t,i=new Set),i}fragmentMatches(t,n,i,o){if(!t.typeCondition)return!0;if(!n)return!1;const u=t.typeCondition.name.value;if(n===u)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(u)){const l=this.getSupertypeSet(n,!0),c=[l],h=v=>{const b=this.getSupertypeSet(v,!1);b&&b.size&&c.indexOf(b)<0&&c.push(b)};let p=!!(i&&this.fuzzySubtypes.size);for(let v=0;v<c.length;++v){const b=c[v];if(b.has(u))return l.has(u)||l.add(u),!0;b.forEach(h),p&&v===c.length-1&>(t.selectionSet,i,o)&&(p=!1,this.fuzzySubtypes.forEach((S,_)=>{const x=n.match(S);x&&x[0]===n&&h(_)}))}}return!1}hasKeyArgs(t,n){const i=this.getFieldPolicy(t,n);return!!(i&&i.keyFn)}getStoreFieldName(t){const{typename:n,fieldName:i}=t,o=this.getFieldPolicy(n,i);let u,l=o&&o.keyFn;if(l&&n){const c={typename:n,fieldName:i,field:t.field||null,variables:t.variables},h=ZT(t);for(;l;){const p=l(h,c);if(ei(p))l=wz(p);else{u=p||i;break}}}return u===void 0&&(u=t.field?u2(t.field,t.variables):$3(i,ZT(t))),u===!1?i:i===Hh(u)?u:i+":"+u}readField(t,n){const i=t.from;if(!i||!(t.field||t.fieldName))return;if(t.typename===void 0){const v=n.store.getFieldValue(i,"__typename");v&&(t.typename=v)}const u=this.getStoreFieldName(t),l=Hh(u),c=n.store.getFieldValue(i,u),h=this.getFieldPolicy(t.typename,l),p=h&&h.read;if(p){const v=Pz(this,i,t,n,n.store.getStorage(Gn(i)?i.__ref:i,u));return xz.withValue(this.cache,p,[c,v])}return c}getReadFunction(t,n){const i=this.getFieldPolicy(t,n);return i&&i.read}getMergeFunction(t,n,i){let o=this.getFieldPolicy(t,n),u=o&&o.merge;return!u&&i&&(o=this.getTypePolicy(i),u=o&&o.merge),u}runMergeFunction(t,n,{field:i,typename:o,merge:u,path:l},c,h){var S,_,x;const p=t;if(u===Mz)return kz(c.store)(t,n);if(u===Nz)return n;c.overwrite&&(t=void 0);const v=(x=(_=(S=c.extensions)==null?void 0:S[rc])==null?void 0:_.deref())==null?void 0:x.peekArray(l);if(v){const{current:R,previous:O}=v;if(O&&sn(O.incoming,n)&&sn(O.streamFieldInfo,R))return O.result}const b=u(t,n,G2(this,void 0,{typename:o,fieldName:i.name.value,field:i,variables:c.variables,path:l},c,h||{},p));return v&&(v.previous={incoming:n,streamFieldInfo:v.current,result:b}),b}}function Pz(e,t,n,i,o){const u=e.getStoreFieldName(n),l=Hh(u),c=n.variables||i.variables,{toReference:h,canRead:p}=i.store;return{args:ZT(n),field:n.field||null,fieldName:l,storeFieldName:u,variables:c,isReference:Gn,toReference:h,storage:o,cache:e.cache,canRead:p,readField(...v){return e.readField(JT(v,t,c),i)},mergeObjects:kz(i.store)}}function G2(e,t,n,i,o,u){var h;const l={...Pz(e,t,n,i,o),extensions:i.extensions,existingData:u},c=i.extensions;if(c&&rc in c){const{[rc]:p,...v}=c,b=(h=p==null?void 0:p.deref())==null?void 0:h.peekArray(n.path);b&&(l.streamFieldInfo=b.current),l.extensions=Object.keys(v).length===0?void 0:v}return l}function JT(e,t,n){const{0:i,1:o,length:u}=e;let l;return typeof i=="string"?l={fieldName:i,from:u>1?o:t}:(l={...i},fi.call(l,"from")||(l.from=t)),l.variables===void 0&&(l.variables=n),l}function kz(e){return function(n,i){if(ei(n)||ei(i))throw Do(111);if(Ia(n)&&Ia(i)){const o=e.getFieldValue(n,"__typename"),u=e.getFieldValue(i,"__typename");if(o&&u&&o!==u)return i;if(Gn(n)&&Fh(i))return e.merge(n.__ref,i),n;if(Fh(n)&&Gn(i))return e.merge(n,i.__ref),i;if(Fh(n)&&Fh(i))return{...n,...i}}return i}}function jz(e){return[e.selectionSet,e.objectOrReference,e.context]}class W2{constructor(t){we(this,"executeSelectionSet");we(this,"executeSubSelectedArray");we(this,"config");we(this,"knownResults",new WeakMap);this.config=t,this.executeSelectionSet=iv(n=>{const i=jz(n),o=this.executeSelectionSet.peek(...i);return o||(yz(n.context.store,n.enclosingRef.__ref),this.execSelectionSetImpl(n))},{max:Xu["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:jz,makeCacheKey(n,i,o){if(av(o.store))return o.store.makeCacheKey(n,Gn(i)?i.__ref:i,o.varString)}}),this.executeSubSelectedArray=iv(n=>(yz(n.context.store,n.enclosingRef.__ref),this.execSubSelectedArrayImpl(n)),{max:Xu["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:n,array:i,context:o}){if(av(o.store))return o.store.makeCacheKey(n,i,o.varString)}})}diffQueryAgainstStore({store:t,query:n,rootId:i="ROOT_QUERY",variables:o,returnPartialData:u=!0}){const l=this.config.cache.policies;o={...kT(XK(n)),...o};const c=zh(i),h=this.executeSelectionSet({selectionSet:I3(n).selectionSet,objectOrReference:c,enclosingRef:c,context:{store:t,query:n,policies:l,variables:o,varString:Ku(o),...mz(n,this.config.fragments)}});let p;h.missing&&(p=new YT(X2(h.missing),h.missing,n,o));const v=!p,{result:b}=h;return{result:v?b:u?Object.keys(b).length===0?null:b:null,complete:v,missing:p}}isFresh(t,n,i,o){if(av(o.store)&&this.knownResults.get(t)===i){const u=this.executeSelectionSet.peek(i,n,o);if(u&&t===u.result)return!0}return!1}execSelectionSetImpl({selectionSet:t,objectOrReference:n,enclosingRef:i,context:o}){if(Gn(n)&&!o.policies.rootTypenamesById[n.__ref]&&!o.store.has(n.__ref))return{result:{},missing:`Dangling reference to missing ${n.__ref} object`};const{variables:u,policies:l,store:c}=o,h=c.getFieldValue(n,"__typename"),p=[];let v;const b=new Lh;typeof h=="string"&&!l.rootIdsByTypename[h]&&p.push({__typename:h});function S(T,M){return T.missing&&(v=b.merge(v,{[M]:T.missing})),T.result}const _=new Set(t.selections);_.forEach(T=>{if(PS(T,u))if(tv(T)){let M=l.readField({fieldName:T.name.value,field:T,variables:o.variables,from:n},o);const P=qh(T);M===void 0?uz.added(T)||(v=b.merge(v,{[P]:`Can't find field '${T.name.value}' on ${Gn(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)}`})):ei(M)?M.length>0&&(M=S(this.executeSubSelectedArray({field:T,array:M,enclosingRef:i,context:o}),P)):T.selectionSet&&M!=null&&(M=S(this.executeSelectionSet({selectionSet:T.selectionSet,objectOrReference:M,enclosingRef:Gn(M)?M:i,context:o}),P)),M!==void 0&&p.push({[P]:M})}else{const M=NS(T,o.lookupFragment);if(!M&&T.kind===pn.FRAGMENT_SPREAD)throw Do(112,T.name.value);M&&l.fragmentMatches(M,h)&&M.selectionSet.selections.forEach(_.add,_)}});const R={result:t2(p),missing:v},O=R;return O.result&&this.knownResults.set(O.result,t),O}execSubSelectedArrayImpl({field:t,array:n,enclosingRef:i,context:o}){let u,l=new Lh;function c(h,p){return h.missing&&(u=l.merge(u,{[p]:h.missing})),h.result}return t.selectionSet&&(n=n.filter(h=>h===void 0||o.store.canRead(h))),n=n.map((h,p)=>h===null?null:ei(h)?c(this.executeSubSelectedArray({field:t,array:h,enclosingRef:i,context:o}),p):t.selectionSet?c(this.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:h,enclosingRef:Gn(h)?h:i,context:o}),p):h),{result:n,missing:u}}}function X2(e){try{JSON.stringify(e,(t,n)=>{if(typeof n=="string")throw n;return n})}catch(t){return t}}function ex(e,t,n){const i=`${t}${n}`;let o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:{...e,clientOnly:t,deferred:n}),o}class Q2{constructor(t,n,i){we(this,"cache");we(this,"reader");we(this,"fragments");this.cache=t,this.reader=n,this.fragments=i}writeToStore(t,{query:n,result:i,dataId:o,variables:u,overwrite:l,extensions:c}){const h=Qu(n),p=P2();u={...kT(h),...u};const v={store:t,written:{},merge(S,_){return p.merge(S,_)},variables:u,varString:Ku(u),...mz(n,this.fragments),overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:c},b=this.processSelectionSet({result:i||{},dataId:o,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:v,path:[]});if(!Gn(b))throw Do(114,i);return v.incomingById.forEach(({storeObject:S,mergeTree:_,fieldNodeSet:x},R)=>{const O=zh(R);if(_&&_.map.size){const T=this.applyMerges(_,O,S,v);if(Gn(T))return;S=T}t.merge(R,S)}),t.retain(b.__ref),b}processSelectionSet({dataId:t,result:n,selectionSet:i,context:o,mergeTree:u,path:l}){const{policies:c}=this.cache;let h={};const p=t&&c.rootTypenamesById[t]||nx(n,i,o.fragmentMap)||t&&o.store.get(t,"__typename");typeof p=="string"&&(h.__typename=p);const v=(...S)=>{const _=JT(S,h,o.variables);if(Gn(_.from)){const x=o.incomingById.get(_.from.__ref);if(x){const R=c.readField({..._,from:x.storeObject},o);if(R!==void 0)return R}}return c.readField(_,o)},b=new Set;this.flattenFields(i,n,o,p).forEach((S,_)=>{var T;const x=qh(_),R=n[x],O=[...l,_.name.value];if(b.add(_),R!==void 0){const M=c.getStoreFieldName({typename:p,fieldName:_.name.value,field:_,variables:S.variables}),P=Iz(u,M);let C=this.processFieldValue(R,_,_.selectionSet?ex(S,!1,!1):S,P,O),k;_.selectionSet&&(Gn(C)||Fh(C))&&(k=v("__typename",C));const L=c.getMergeFunction(p,_.name.value,k);L?P.info={field:_,typename:p,merge:L,path:O}:$h(["stream"],_)&&Array.isArray(C)&&((T=S.extensions)!=null&&T[rc])?P.info={field:_,typename:p,merge:V2,path:O}:$z(u,M),h=S.merge(h,{[M]:C})}});try{const[S,_]=c.identify(n,{typename:p,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:h,readField:v});t=t||S,_&&(h=o.merge(h,_))}catch(S){if(!t)throw S}if(typeof t=="string"){const S=zh(t),_=o.written[t]||(o.written[t]=[]);if(_.indexOf(i)>=0||(_.push(i),this.reader&&this.reader.isFresh(n,S,i,o)))return S;const x=o.incomingById.get(t);return x?(x.storeObject=o.merge(x.storeObject,h),x.mergeTree=tx(x.mergeTree,u),b.forEach(R=>x.fieldNodeSet.add(R))):o.incomingById.set(t,{storeObject:h,mergeTree:US(u)?void 0:u,fieldNodeSet:b}),S}return h}processFieldValue(t,n,i,o,u){return!n.selectionSet||t===null?t:ei(t)?t.map((l,c)=>{const h=this.processFieldValue(l,n,i,Iz(o,c),[...u,c]);return $z(o,c),h}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:i,mergeTree:o,path:u})}flattenFields(t,n,i,o=nx(n,t,i.fragmentMap)){const u=new Map,{policies:l}=this.cache,c=new ou(!1);return(function h(p,v){const b=c.lookup(p,v.clientOnly,v.deferred);b.visited||(b.visited=!0,p.selections.forEach(S=>{if(!PS(S,i.variables))return;let{clientOnly:_,deferred:x}=v;if(!(_&&x)&&jT(S.directives)&&S.directives.forEach(R=>{const O=R.name.value;if(O==="client"&&(_=!0),O==="defer"){const T=CT(R,i.variables);(!T||T.if!==!1)&&(x=!0)}}),tv(S)){const R=u.get(S);R&&(_=_&&R.clientOnly,x=x&&R.deferred),u.set(S,ex(i,_,x))}else{const R=NS(S,i.lookupFragment);if(!R&&S.kind===pn.FRAGMENT_SPREAD)throw Do(116,S.name.value);R&&l.fragmentMatches(R,o,n,i.variables)&&h(R.selectionSet,ex(i,_,x))}}))})(t,i),u}applyMerges(t,n,i,o,u){if(t.map.size&&!Gn(i)){const l=!ei(i)&&(Gn(n)||Fh(n))?n:void 0,c=i;l&&!u&&(u=[Gn(l)?l.__ref:l]);let h;const p=(v,b)=>ei(v)?typeof b=="number"?v[b]:void 0:o.store.getFieldValue(v,String(b));t.map.forEach((v,b)=>{const S=p(l,b),_=p(c,b);if(_===void 0)return;u&&u.push(b);const x=this.applyMerges(v,S,_,o,u);x!==_&&(h=h||new Map,h.set(b,x)),u&&Ht(u.pop()===b)}),h&&(i=ei(c)?c.slice(0):{...c},h.forEach((v,b)=>{i[b]=v}))}return t.info?this.cache.policies.runMergeFunction(n,i,t.info,o,u&&o.store.getStorage(...u)):i}}const Lz=[];function Iz({map:e},t){return e.has(t)||e.set(t,Lz.pop()||{map:new Map}),e.get(t)}function tx(e,t){if(e===t||!t||US(t))return e;if(!e||US(e))return t;const n=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,i=e.map.size&&t.map.size,o=i?new Map:e.map.size?e.map:t.map,u={info:n,map:o};if(i){const l=new Set(t.map.keys());e.map.forEach((c,h)=>{u.map.set(h,tx(c,t.map.get(h))),l.delete(h)}),l.forEach(c=>{u.map.set(c,tx(t.map.get(c),e.map.get(c)))})}return u}function US(e){return!e||!(e.info||e.map.size)}function $z({map:e},t){const n=e.get(t);n&&US(n)&&(Lz.push(n),e.delete(t))}function nx(e,t,n){let i;for(const o of t.selections)if(tv(o)){if(o.name.value==="__typename")return e[qh(o)]}else i?i.push(o):i=[o];if(typeof e.__typename=="string")return e.__typename;if(i)for(const o of i){const u=nx(e,NS(o,n).selectionSet,n);if(typeof u=="string")return u}}class K2 extends A2{constructor(n={}){super();we(this,"data");we(this,"optimisticData");we(this,"config");we(this,"watches",new Set);we(this,"storeReader");we(this,"storeWriter");we(this,"addTypenameTransform",new Zu(uz));we(this,"maybeBroadcastWatch");we(this,"assumeImmutableResults",!0);we(this,"policies");we(this,"makeVar",B2);we(this,"txCount",0);this.config=N2(n),this.policies=new Y2({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const n=this.data=new qS.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()}resetResultCache(){const{fragments:n}=this.config;this.addTypenameTransform.resetCache(),n==null||n.resetCaches(),this.storeWriter=new Q2(this,this.storeReader=new W2({cache:this,fragments:n}),n),this.maybeBroadcastWatch=iv((i,o)=>this.broadcastWatch(i,o),{max:Xu["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:i=>{const o=i.optimistic?this.optimisticData:this.data;if(av(o)){const{optimistic:u,id:l,variables:c}=i;return o.makeCacheKey(i.query,i.callback,Ku({optimistic:u,id:l,variables:c}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(i=>i.resetCaching())}restore(n){return this.init(),n&&this.data.replace(n),this}extract(n=!1){return(n?this.optimisticData:this.data).extract()}read(n){const{returnPartialData:i=!1}=n;return this.storeReader.diffQueryAgainstStore({...n,store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i}).result}write(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}modify(n){if(fi.call(n,"id")&&!n.id)return!1;const i=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,i.modify(n.id||"ROOT_QUERY",n.fields,!1)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}diff(n){return this.storeReader.diffQueryAgainstStore({...n,store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config})}watch(n){return this.watches.size||U2(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),()=>{this.watches.delete(n)&&!this.watches.size&&Cz(this),this.maybeBroadcastWatch.forget(n)}}gc(n){Ku.reset(),Bh.reset();const i=this.optimisticData.gc();return n&&!this.txCount&&n.resetResultCache&&this.resetResultCache(),i}retain(n,i){return(i?this.optimisticData:this.data).retain(n)}release(n,i){return(i?this.optimisticData:this.data).release(n)}identify(n){if(Gn(n))return n.__ref;try{return this.policies.identify(n)[0]}catch{}}evict(n){if(!n.id){if(fi.call(n,"id"))return!1;n={...n,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}reset(n){return this.init(),Ku.reset(),n&&n.discardWatches?(this.watches.forEach(i=>this.maybeBroadcastWatch.forget(i)),this.watches.clear(),Cz(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(n){const i=this.optimisticData.removeLayer(n);i!==this.optimisticData&&(this.optimisticData=i,this.broadcastWatches())}batch(n){const{update:i,optimistic:o=!0,removeOptimistic:u,onWatchUpdated:l}=n;let c;const h=v=>{const{data:b,optimisticData:S}=this;++this.txCount,v&&(this.data=this.optimisticData=v);try{return c=i(this)}finally{--this.txCount,this.data=b,this.optimisticData=S}},p=new Set;return l&&!this.txCount&&this.broadcastWatches({...n,onWatchUpdated(v){return p.add(v),!1}}),typeof o=="string"?this.optimisticData=this.optimisticData.addLayer(o,h):o===!1?h(this.data):h(),typeof u=="string"&&(this.optimisticData=this.optimisticData.removeLayer(u)),l&&p.size?(this.broadcastWatches({...n,onWatchUpdated(v,b){const S=l.call(this,v,b);return S!==!1&&p.delete(v),S}}),p.size&&p.forEach(v=>this.maybeBroadcastWatch.dirty(v))):this.broadcastWatches(n),c}performTransaction(n,i){return this.batch({update:n,optimistic:i||i!==null})}transformDocument(n){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(n))}fragmentMatches(n,i){return this.policies.fragmentMatches(n,i)}lookupFragment(n){var i;return((i=this.config.fragments)==null?void 0:i.lookup(n))||null}resolvesClientField(n,i){return!!this.policies.getReadFunction(n,i)}broadcastWatches(n){if(!this.txCount){const i=this.onAfterBroadcast,o=new Set;this.onAfterBroadcast=u=>{o.add(u)};try{this.watches.forEach(u=>this.maybeBroadcastWatch(u,n)),o.forEach(u=>u())}finally{this.onAfterBroadcast=i}}}addFragmentsToDocument(n){const{fragments:i}=this.config;return i?i.transform(n):n}broadcastWatch(n,i){const{lastDiff:o}=n,u=this.diff(n);i&&(n.optimistic&&typeof i.optimistic=="string"&&(u.fromOptimisticTransaction=!0),i.onWatchUpdated&&i.onWatchUpdated.call(this,n,u,o)===!1)||(!o||!sn(o.result,u.result))&&n.callback(n.lastDiff=u,o)}}function uv(e,t){return typeof e=="object"&&e!==null&&e[Symbol.for("apollo.error")]===t}function lv(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function zz(e){return e.map(t=>t.message||"Error message not found.").join(`
|
|
332
|
+
`)}const vy=class vy extends Error{constructor(n){super(vy.formatMessage(n,{defaultFormatMessage:zz}));we(this,"errors");this.name="CombinedProtocolErrors",this.errors=n,lv(this),Object.setPrototypeOf(this,vy.prototype)}static is(n){return uv(n,"CombinedProtocolErrors")}};we(vy,"formatMessage",zz);let BS=vy;function Z2(e){return e!==null&&typeof e=="object"&&typeof e.message=="string"&&typeof e.name=="string"&&(typeof e.stack=="string"||typeof e.stack>"u")}class rx extends Error{static is(t){return uv(t,"UnconventionalError")}constructor(t){super("An error of unexpected shape occurred.",{cause:t}),this.name="UnconventionalError",lv(this),Object.setPrototypeOf(this,rx.prototype)}}function qz(e){return e.filter(t=>t).map(t=>t.message||"Error message not found.").join(`
|
|
333
|
+
`)}const yy=class yy extends Error{constructor(n,i=n.errors||[]){super(yy.formatMessage(i,{result:n,defaultFormatMessage:qz}));we(this,"errors");we(this,"data");we(this,"extensions");this.errors=i,this.data=n.data,this.extensions=n.extensions,this.name="CombinedGraphQLErrors",lv(this),Object.setPrototypeOf(this,yy.prototype)}static is(n){return uv(n,"CombinedGraphQLErrors")}};we(yy,"formatMessage",qz);let Ju=yy;const J2=new WeakSet;function eZ(e){J2.add(e)}class HS extends Error{constructor(n,i){super(n);we(this,"response");we(this,"statusCode");we(this,"bodyText");this.name="ServerError",this.response=i.response,this.statusCode=i.response.status,this.bodyText=i.bodyText,lv(this),Object.setPrototypeOf(this,HS.prototype)}static is(n){return uv(n,"ServerError")}}class FS extends Error{constructor(n,i){super(n instanceof Error?n.message:"Could not parse server response",{cause:n});we(this,"response");we(this,"statusCode");we(this,"bodyText");this.name="ServerParseError",this.response=i.response,this.statusCode=i.response.status,this.bodyText=i.bodyText,lv(this),Object.setPrototypeOf(this,FS.prototype)}static is(n){return uv(n,"ServerParseError")}}const cv=Symbol();function Uz(e){return"extensions"in e?BS.is(e.extensions[cv]):!1}function ix(e){return Z2(e)?e:typeof e=="string"?new Error(e,{cause:e}):new rx(e)}var Rt;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error",e[e.streaming=9]="streaming"})(Rt||(Rt={}));const{assign:Bz}=Object,Yh={loading:!0,networkStatus:Rt.loading,data:void 0,dataState:"empty",partial:!0},ax={loading:!1,networkStatus:Rt.ready,data:void 0,dataState:"empty",partial:!0};MV=Symbol.observable;class ox{constructor({queryManager:t,options:n,transformedQuery:i=t.transform(n.query)}){we(this,"options");we(this,"queryName");we(this,"variablesUnknown",!1);we(this,"_lastWrite");we(this,"unsubscribeFromCache");we(this,"input");we(this,"subject");we(this,"isTornDown");we(this,"queryManager");we(this,"subscriptions",new Set);we(this,"waitForNetworkResult");we(this,"lastQuery");we(this,"linkSubscription");we(this,"pollingInfo");we(this,"subscribe");we(this,"pipe");we(this,MV);we(this,"@@observable");we(this,"stableLastResult");we(this,"didWarnCacheOnlyPolling",!1);we(this,"dirty",!1);we(this,"notifyTimeout");we(this,"activeOperations",new Set);we(this,"operator",IT(t=>{const{query:n,variables:i,meta:o}=t;if(t.source==="setResult")return{query:n,variables:i,result:t.value,meta:o};if(t.kind==="C"||!fv(t,this))return;let u;const l=this.subject.getValue();if(t.source==="cache"){if(u=t.value,u.networkStatus===Rt.ready&&u.partial&&(!this.options.returnPartialData||l.result.networkStatus===Rt.error)&&this.options.fetchPolicy!=="cache-only")return}else if(t.source==="network")this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),u=t.kind==="E"?{...fv(l,t)?l.result:{data:void 0,dataState:"empty",partial:!0},error:t.error,networkStatus:Rt.error,loading:!1}:t.value,t.kind==="E"&&u.dataState==="streaming"&&(u.dataState="complete"),u.error&&(o.shouldEmit=1);else if(t.source==="newNetworkStatus"){const c=fv(l,t)?l.result:this.getInitialResult(o.fetchPolicy),{resetError:h}=t.value,p=h?void 0:c.error,v=p?Rt.error:Rt.ready;u={...c,error:p,networkStatus:v}}return Ht(u),u.error||delete u.error,u.networkStatus=this.calculateNetworkStatus(u.networkStatus),u.loading=$S(u.networkStatus),u=this.maskResult(u),l.result.data!==void 0&&u.data!==l.result.data&&sn(u.data,l.result.data)&&(u.data=l.result.data),{query:n,variables:i,result:u,meta:o}}));this.queryManager=t,this.waitForNetworkResult=n.fetchPolicy==="network-only",this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:o="cache-first"}={}}=t.defaultOptions,{fetchPolicy:u=o,initialFetchPolicy:l=u==="standby"?o:u}=n;n[$T]&&(Ht(u==="standby",82),this.variablesUnknown=!0),this.lastQuery=i,this.options={...n,initialFetchPolicy:l,fetchPolicy:u,variables:this.getVariablesWithDefaults(n.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const c=Qu(this.query);this.queryName=c&&c.name&&c.name.value}get query(){return this.lastQuery}get variables(){return this.options.variables}get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}initializeObservablesQueue(){this.subject=new XQ({query:this.query,variables:this.variables,result:Yh,meta:{}});const t=this.subject.pipe(Qg({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),IT(({query:n,variables:i,result:o,meta:u},l)=>{const{shouldEmit:c}=u;if(o===Yh&&(l.previous=void 0,l.previousVariables=void 0),this.options.fetchPolicy==="standby"||c===2)return;if(c===1)return v();const{previous:h,previousVariables:p}=l;if(h){const b=this.queryManager.getDocumentInfo(n),S=this.queryManager.dataMasking,_=S?b.nonReactiveQuery:n;if((S||b.hasNonreactiveDirective?U3(_,h,o,i):sn(h,o))&&sn(p,i))return}if(c===3&&(!this.options.notifyOnNetworkStatusChange||sn(h,o)))return;return v();function v(){return l.previous=o,l.previousVariables=i,o}},()=>({})));this.pipe=t.pipe.bind(t),this.subscribe=t.subscribe.bind(t),this.input=new Nh,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}getCacheDiff({optimistic:t=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:t})}getInitialResult(t){let n=t||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&(n==="network-only"||n==="cache-and-network")&&(n="cache-first");const i=()=>{const o=this.getCacheDiff(),u=this.options.returnPartialData||o.complete?o.result??void 0:void 0;return this.maskResult({data:u,dataState:o.complete?"complete":u===void 0?"empty":"partial",loading:!o.complete,networkStatus:o.complete?Rt.ready:Rt.loading,partial:!o.complete})};switch(n){case"cache-only":return{...i(),loading:!1,networkStatus:Rt.ready};case"cache-first":return i();case"cache-and-network":return{...i(),loading:!0,networkStatus:Rt.loading};case"standby":return ax;default:return Yh}}resubscribeCache(){var h;const{variables:t,fetchPolicy:n}=this.options,i=this.query,o=n==="standby"||n==="no-cache"||this.waitForNetworkResult,u=!fv({query:i,variables:t},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((o||u)&&((h=this.unsubscribeFromCache)==null||h.call(this)),o||!u)return;const l={query:i,variables:t,optimistic:!0,watcher:this,callback:p=>{const v=this.queryManager.getDocumentInfo(i);if((v.hasClientExports||v.hasForcedResolvers)&&(l.lastDiff=void 0),l.lastOwnDiff===p)return;const{result:b}=this.subject.getValue();!p.complete&&(b.error||b===Yh||b===ax)||sn(b.data,p.result)||this.scheduleNotify()}},c=this.cache.watch(l);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,c()},{query:i,variables:t})}getCurrentResult(){const{result:t}=this.subject.getValue();let n=t.networkStatus===Rt.error||this.hasObservers()||this.options.fetchPolicy==="no-cache"?t:this.getInitialResult();return n===Yh&&(n=this.getInitialResult()),sn(this.stableLastResult,n)||(this.stableLastResult=n),this.stableLastResult}refetch(t){const{fetchPolicy:n}=this.options,i={pollInterval:0};return n==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",t&&!sn(this.variables,t)&&(i.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...t})),this._lastWrite=void 0,this._reobserve(i,{newNetworkStatus:Rt.refetch})}fetchMore({query:t,variables:n,context:i,errorPolicy:o,updateQuery:u}){Ht(this.options.fetchPolicy!=="cache-only",84,jh(this.query,"(anonymous)"));const l={...ao(this.options,{errorPolicy:"none"},{query:t,context:i,errorPolicy:o}),variables:t?n:{...this.variables,...n},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};l.query=this.transformDocument(l.query),this.lastQuery=t?this.transformDocument(this.options.query):l.query;let c=!1;const h=this.options.fetchPolicy!=="no-cache";h||Ht(u,85);const{finalize:p,pushNotification:v}=this.pushOperation(Rt.fetchMore);v({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});const{promise:b,operator:S}=Hz(),{observable:_}=this.queryManager.fetchObservableWithInfo(l,{networkStatus:Rt.fetchMore,exposeExtensions:!0}),x=_.pipe(S,M3(R=>R.kind==="N"&&R.source==="network")).subscribe({next:R=>{c=!1;const O=R.value,T=O[H3];if(cz(R.value.networkStatus)&&p(),h){const M=this.getCacheDiff();this.cache.batch({update:P=>{u?P.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:T},C=>u(C,{fetchMoreResult:O.data,variables:l.variables})):P.writeQuery({query:l.query,variables:l.variables,data:O.data,extensions:T})},onWatchUpdated:(P,C)=>{if(P.watcher===this&&!sn(C.result,M.result)){c=!0;const k=this.getCurrentResult();$S(O.networkStatus)&&v({kind:"N",source:"network",value:{...k,networkStatus:O.networkStatus===Rt.error?Rt.ready:O.networkStatus,loading:!1,data:C.result,dataState:O.dataState==="streaming"?"streaming":"complete"}})}}})}else{const M=this.getCurrentResult(),P=u(M.data,{fetchMoreResult:O.data,variables:l.variables});v({kind:"N",value:{...M,networkStatus:Rt.ready,loading:!1,data:P,dataState:M.dataState==="streaming"?"streaming":"complete"},source:"network"})}}});return LT(b.then(R=>nv(this.maskResult(R))).finally(()=>{if(x.unsubscribe(),p(),h&&!c){const R=this.getCurrentResult();R.dataState==="streaming"?v({kind:"N",source:"network",value:{...R,dataState:"complete",networkStatus:Rt.ready}}):v({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(t){const n=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables,context:t.context}).subscribe({next:i=>{const{updateQuery:o,onError:u}=t,{error:l}=i;if(l){u?u(l):Ht.error(86,l);return}o&&this.updateQuery((c,h)=>o(c,{subscriptionData:i,...h}))}});return this.subscriptions.add(n),()=>{this.subscriptions.delete(n)&&n.unsubscribe()}}applyOptions(t){const n=ao(this.options,t||{});Bz(this.options,n),this.updatePolling()}async setVariables(t){return t=this.getVariablesWithDefaults(t),sn(this.variables,t)?nv(this.getCurrentResult()):(this.options.variables=t,this.hasObservers()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:t},{newNetworkStatus:Rt.setVariables}):nv(this.getCurrentResult()))}updateQuery(t){const{queryManager:n}=this,{result:i,complete:o}=this.getCacheDiff({optimistic:!1}),u=t(i,{variables:this.variables,complete:!!o,previousData:i});u&&(this.cache.writeQuery({query:this.options.query,data:u,variables:this.variables}),n.broadcastQueries())}startPolling(t){this.options.pollInterval=t,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(t,n){if(n.nextFetchPolicy){const{fetchPolicy:i="cache-first",initialFetchPolicy:o=i}=n;i==="standby"||(typeof n.nextFetchPolicy=="function"?n.fetchPolicy=n.nextFetchPolicy.call(n,i,{reason:t,options:n,observable:this,initialFetchPolicy:o}):t==="variables-changed"?n.fetchPolicy=o:n.fetchPolicy=n.nextFetchPolicy)}return n.fetchPolicy}fetch(t,n,i,o){const u=this.options.fetchPolicy;t.context??(t.context={});let l=!1;const c=()=>{l=!0},h=O=>new Yn(T=>{try{return O.subscribe({next(M){l=!0,T.next(M)},error:M=>T.error(M),complete:()=>T.complete()})}finally{l||(_.override=n,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:b,variables:S,meta:{shouldEmit:3,fetchPolicy:u}}))}});let{observable:p,fromLink:v}=this.queryManager.fetchObservableWithInfo(t,{networkStatus:n,query:i,onCacheHit:c,fetchQueryOperator:h,observableQuery:this});const{query:b,variables:S}=this,_={abort:()=>{R.unsubscribe()},query:b,variables:S};this.activeOperations.add(_);let x=n==Rt.refetch||n==Rt.setVariables;p=p.pipe(o,Xg());const R=p.pipe(Qg({next:O=>{O.source==="newNetworkStatus"||O.kind==="N"&&O.value.loading?_.override=n:delete _.override},finalize:()=>this.activeOperations.delete(_)})).subscribe({next:O=>{const T={};x&&O.kind==="N"&&"loading"in O.value&&!O.value.loading&&(x=!1,T.shouldEmit=1),this.input.next({...O,query:b,variables:S,meta:T})}});return{fromLink:v,subscription:R,observable:p}}updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:t,options:{fetchPolicy:n,pollInterval:i}}=this,o=()=>{const{options:h}=this;return!h.pollInterval||!this.hasObservers()||h.fetchPolicy==="cache-only"||h.fetchPolicy==="standby"};if(o()){this.cancelPolling();return}if((t==null?void 0:t.interval)===i)return;const u=t||(this.pollingInfo={});u.interval=i;const l=()=>{var h,p;if(o())return this.cancelPolling();this.pollingInfo&&(!$S(this.networkStatus)&&!((p=(h=this.options).skipPollAttempt)!=null&&p.call(h))?this._reobserve({fetchPolicy:this.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},{newNetworkStatus:Rt.poll}).then(c,c):c())},c=()=>{const h=this.pollingInfo;h&&(clearTimeout(h.timeout),h.timeout=setTimeout(l,h.interval))};c()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(t){return this._reobserve(t)}_reobserve(t,n){this.isTornDown=!1;let{newNetworkStatus:i}=n||{};this.queryManager.obsQueries.add(this);const o=i===Rt.refetch||i===Rt.poll,u=this.variables,l=this.options.fetchPolicy,c=ao(this.options,t||{});this.variablesUnknown&&(this.variablesUnknown=c.fetchPolicy==="standby");const h=o?c:Bz(this.options,c),p=this.transformDocument(h.query);this.lastQuery=p,t&&"variables"in t&&(h.variables=this.getVariablesWithDefaults(t.variables)),o||(this.updatePolling(),t&&t.variables&&!sn(t.variables,u)&&h.fetchPolicy!=="standby"&&(h.fetchPolicy===l||typeof h.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",h),i===void 0&&(i=Rt.setVariables)));const v=this.networkStatus;i||(i=Rt.loading,v!==Rt.loading&&(t!=null&&t.variables)&&!sn(t.variables,u)&&(i=Rt.setVariables),h.fetchPolicy==="standby"&&(i=Rt.ready)),h.fetchPolicy==="standby"&&this.cancelPolling(),this.resubscribeCache();const{promise:b,operator:S}=Hz(h.fetchPolicy==="standby"?{data:void 0}:void 0),{subscription:_,observable:x,fromLink:R}=this.fetch(h,i,p,S);!o&&(R||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=_);const O=Object.assign(LT(b.then(T=>nv(this.maskResult(T))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{const T=x.subscribe({}),M=()=>T.unsubscribe();return b.then(M,M),O}});return O}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){var t;this.isTornDown||(this.resetNotifications(),(t=this.unsubscribeFromCache)==null||t.call(this),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(n=>n.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(t){return this.queryManager.transform(t)}maskResult(t){const n=this.queryManager.maskOperation({document:this.query,data:t.data,fetchPolicy:this.options.fetchPolicy,cause:this});return n===t.data?t:{...t,data:n}}resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(t=!1){if(!t){const i=this.queryManager.getDocumentInfo(this.query);if(i.hasClientExports||i.hasForcedResolvers)return}const{dirty:n}=this;if(this.resetNotifications(),n&&(this.options.fetchPolicy==="cache-only"||this.options.fetchPolicy==="cache-and-network"||!this.activeOperations.size)){const i=this.getCacheDiff();sn(i.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:i.result,dataState:i.complete?"complete":i.result?"partial":"empty",networkStatus:Rt.ready,loading:!1,error:void 0,partial:!i.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}pushOperation(t){let n=!1;const{query:i,variables:o}=this,u=()=>{this.activeOperations.delete(l)},l={override:t,abort:()=>{n=!0,u()},query:i,variables:o};return this.activeOperations.add(l),{finalize:u,pushNotification:(c,h)=>{n||this.input.next({...c,query:i,variables:o,meta:{...h}})}}}calculateNetworkStatus(t){if(t===Rt.streaming)return t;const n=Array.from(this.activeOperations.values()).reverse().find(i=>fv(i,this)&&i.override!==void 0);return(n==null?void 0:n.override)??t}abortActiveOperations(){this.activeOperations.forEach(t=>t.abort())}reset(){const t=this.options.fetchPolicy==="cache-only";this.setResult(t?ax:Yh,{shouldEmit:t?1:2}),this.abortActiveOperations()}setResult(t,n){this.input.next({source:"setResult",kind:"N",value:t,query:this.query,variables:this.variables,meta:{...n}})}reobserveCacheFirst(){const{fetchPolicy:t,nextFetchPolicy:n}=this.options;t==="cache-and-network"||t==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(i,o){return this.nextFetchPolicy=n,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(i,o):t}}):this.reobserve()}getVariablesWithDefaults(t){return this.queryManager.getVariables(this.query,t)}}function fv(e,t){return!!(e&&t&&e.query===t.query&&sn(e.variables,t.variables))}function Hz(e){let t=e,n,i;const o=new Promise((l,c)=>{n=l,i=c}),u=Qg({next(l){if(l.kind==="E")return i(l.error);l.kind==="N"&&l.source!=="newNetworkStatus"&&!l.value.loading&&(t=l.value)},finalize:()=>{if(t)n(t);else{const l="The operation was aborted.",c="AbortError";i(typeof DOMException<"u"?new DOMException(l,c):Object.assign(new Error(l),{name:c}))}}});return{promise:o,operator:u}}const Fz={},Gh=new WeakMap;function sx(e,t){const n=e[t];typeof n=="function"&&(e[t]=function(){return Gh.set(e,(Gh.get(e)+1)%1e15),n.apply(this,arguments)})}const Vz=new WeakMap;class ux{constructor(t,n){we(this,"lastRequestId",1);we(this,"cache");we(this,"queryManager");we(this,"id");we(this,"observableQuery");we(this,"incremental");we(this,"_lastWrite");const i=this.cache=t.cache,o=(Vz.get(t)||0)+1;Vz.set(t,o),this.id=o+"",this.observableQuery=n,this.queryManager=t,Gh.has(i)||(Gh.set(i,0),sx(i,"evict"),sx(i,"modify"),sx(i,"reset"))}get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(t){(this.observableQuery||this)._lastWrite=t}resetLastWrite(){this.lastWrite=void 0}shouldWrite(t,n){var o,u;const{lastWrite:i}=this;return!(i&&i.dmCount===Gh.get(this.cache)&&sn(n,i.variables)&&sn(t.data,i.result.data)&&((o=t.extensions)==null?void 0:o[rc])===((u=i.result.extensions)==null?void 0:u[rc]))}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(t,n,i){const{incrementalHandler:o}=this.queryManager;return o.isIncrementalResult(n)?(this.incremental||(this.incremental=o.startRequest({query:i})),this.incremental.handle(t,n)):n}markQueryResult(t,{document:n,variables:i,errorPolicy:o,cacheWriteBehavior:u}){var v;const l={query:n,variables:i,returnPartialData:!0,optimistic:!0};(v=this.observableQuery)==null||v.resetNotifications();const c=u===0,h=c?void 0:this.cache.diff(l);let p=this.maybeHandleIncrementalResult(h==null?void 0:h.result,t,n);return c||(lx(p,o)?this.cache.batch({onWatchUpdated:(b,S)=>{b.watcher===this.observableQuery&&(b.lastOwnDiff=S)},update:b=>{if(this.shouldWrite(p,i))b.writeQuery({query:n,data:p.data,variables:i,overwrite:u===1,extensions:p.extensions}),this.lastWrite={result:p,variables:i,dmCount:Gh.get(this.cache)};else if(h&&h.complete){p={...p,data:h.result};return}const S=b.diff(l);S.complete&&(p={...p,data:S.result})}}):this.lastWrite=void 0),p}markMutationResult(t,n,i=this.cache){const o=[],u=n.cacheWriteBehavior===0;let l=this.maybeHandleIncrementalResult(u?void 0:i.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}).result,t,n.document);if(n.errorPolicy==="ignore"&&(l={...l,errors:[]}),Ih(l)&&n.errorPolicy==="none")return Promise.resolve(l);const c=()=>({...l,dataState:this.hasNext?"streaming":"complete"});if(!u&&lx(l,n.errorPolicy)){o.push({result:l.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables,extensions:l.extensions});const{updateQueries:p}=n;p&&this.queryManager.getObservableQueries("all").forEach(v=>{const b=v&&v.queryName;if(!b||!Object.hasOwnProperty.call(p,b))return;const S=p[b],{query:_,variables:x}=v,{result:R,complete:O}=v.getCacheDiff({optimistic:!1});if(O&&R){const T=S(R,{mutationResult:c(),queryName:_&&jh(_)||void 0,queryVariables:x});T&&o.push({result:T,dataId:"ROOT_QUERY",query:_,variables:x})}})}let h=n.refetchQueries;if(typeof h=="function"&&(h=h(c())),o.length>0||(h||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){const p=[];if(this.queryManager.refetchQueries({updateCache:v=>{u||o.forEach(S=>v.write(S));const{update:b}=n;if(b){if(!u){const S=v.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});S.complete&&(l={...l,data:S.result})}this.hasNext||b(v,l,{context:n.context,variables:n.variables})}!u&&!n.keepRootFields&&!this.hasNext&&v.modify({id:"ROOT_MUTATION",fields(S,{fieldName:_,DELETE:x}){return _==="__typename"?S:x}})},include:h,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(v=>p.push(v)),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(p).then(()=>l)}return Promise.resolve(l)}markMutationOptimistic(t,n){const i=typeof t=="function"?t(n.variables,{IGNORE:Fz}):t;return i===Fz?!1:(this.cache.recordOptimisticTransaction(o=>{try{this.markMutationResult({data:i},n,o)}catch(u){Ht.error(u)}},this.id),!0)}markSubscriptionResult(t,{document:n,variables:i,errorPolicy:o,cacheWriteBehavior:u}){u!==0&&(lx(t,o)&&this.cache.write({query:n,result:t.data,dataId:"ROOT_SUBSCRIPTION",variables:i,extensions:t.extensions}),this.queryManager.broadcastQueries())}}function lx(e,t="none"){const n=t==="ignore"||t==="all";let i=!Ih(e);return!i&&n&&e.data&&(i=!0),i}class tZ{constructor(t){we(this,"defaultOptions");we(this,"client");we(this,"clientOptions");we(this,"assumeImmutableResults");we(this,"documentTransform");we(this,"ssrMode");we(this,"defaultContext");we(this,"dataMasking");we(this,"incrementalHandler");we(this,"localState");we(this,"queryDeduplication");we(this,"prioritizeCacheValues",!1);we(this,"onBroadcast");we(this,"mutationStore");we(this,"obsQueries",new Set);we(this,"fetchCancelFns",new Map);we(this,"transformCache",new PT(Xu["queryManager.getDocumentInfo"]||2e3));we(this,"requestIdCounter",1);we(this,"inFlightLinkObservables",new ou(!1));we(this,"noCacheWarningsByCause",new WeakSet);const n=new Zu(o=>this.cache.transformDocument(o),{cache:!1});this.client=t.client,this.defaultOptions=t.defaultOptions,this.queryDeduplication=t.queryDeduplication,this.clientOptions=t.clientOptions,this.ssrMode=t.ssrMode,this.assumeImmutableResults=t.assumeImmutableResults,this.dataMasking=t.dataMasking,this.localState=t.localState,this.incrementalHandler=t.incrementalHandler;const i=t.documentTransform;this.documentTransform=i?n.concat(i).concat(n):n,this.defaultContext=t.defaultContext||{},(this.onBroadcast=t.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(t=>t.stop()),this.cancelPendingFetches(Do(89))}cancelPendingFetches(t){this.fetchCancelFns.forEach(n=>n(t)),this.fetchCancelFns.clear()}async mutate({mutation:t,variables:n,optimisticResponse:i,updateQueries:o,refetchQueries:u=[],awaitRefetchQueries:l=!1,update:c,onQueryUpdated:h,fetchPolicy:p,errorPolicy:v,keepRootFields:b,context:S}){const _=new ux(this);t=this.cache.transformForLink(this.transform(t));const{hasClientExports:x}=this.getDocumentInfo(t);n=this.getVariables(t,n),x&&(n=await this.localState.getExportedVariables({client:this.client,document:t,variables:n,context:S}));const R=this.mutationStore&&(this.mutationStore[_.id]={mutation:t,variables:n,loading:!0,error:null}),O=i&&_.markMutationOptimistic(i,{document:t,variables:n,cacheWriteBehavior:p==="no-cache"?0:2,errorPolicy:v,context:S,updateQueries:o,update:c,keepRootFields:b});return this.broadcastQueries(),new Promise((T,M)=>{const P={};return this.getObservableFromLink(t,{...S,optimisticResponse:O?i:void 0},n,p,{},!1).observable.pipe(Yz(),Ph(C=>{const k={...C};return Df(_.markMutationResult(k,{document:t,variables:n,cacheWriteBehavior:p==="no-cache"?0:2,errorPolicy:v,context:S,update:c,updateQueries:o,awaitRefetchQueries:l,refetchQueries:u,removeOptimistic:O?_.id:void 0,onQueryUpdated:h,keepRootFields:b}))})).pipe(tc(C=>{if(Ih(C)&&v==="none")throw new Ju(cx(C));return R&&(R.loading=!1,R.error=null),C})).subscribe({next:C=>{if(this.broadcastQueries(),!_.hasNext){const k={data:this.maskOperation({document:t,data:C.data,fetchPolicy:p,cause:P})};Ih(C)&&(k.error=new Ju(C)),Object.keys(C.extensions||{}).length&&(k.extensions=C.extensions),T(k)}},error:C=>{if(R&&(R.loading=!1,R.error=C),O&&this.cache.removeOptimistic(_.id),this.broadcastQueries(),v==="ignore")return T({data:void 0});if(v==="all")return T({data:void 0,error:C});M(C)}})})}fetchQuery(t,n){return nc(t.query,Af.QUERY),(async()=>EK(this.fetchObservableWithInfo(t,{networkStatus:n}).observable.pipe(IT(i=>{switch(i.kind){case"E":throw i.error;case"N":if(i.source!=="newNetworkStatus")return nv(i.value)}})),{defaultValue:{data:void 0}}))()}transform(t){return this.documentTransform.transformDocument(t)}getDocumentInfo(t){const{transformCache:n}=this;if(!n.has(t)){const o=Qu(t),u={hasClientExports:$h(["client","export"],t,!0),hasForcedResolvers:JK(t),hasNonreactiveDirective:$h(["nonreactive"],t),hasIncrementalDirective:$h(["defer"],t),nonReactiveQuery:nZ(t),clientQuery:$h(["client"],t)?t:null,serverQuery:n2([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],t),operationType:o==null?void 0:o.operation,defaultVars:kT(o),asQuery:{...t,definitions:t.definitions.map(l=>l.kind==="OperationDefinition"&&l.operation!=="query"?{...l,operation:"query"}:l)}};n.set(t,u)}const i=n.get(t);if(i.violation)throw i.violation;return i}getVariables(t,n){const i=this.getDocumentInfo(t).defaultVars,o=Object.entries(n??{}).map(([u,l])=>[u,l===void 0?i[u]:l]);return{...i,...Object.fromEntries(o)}}watchQuery(t){nc(t.query,Af.QUERY);const n=this.transform(t.query);return t={...t,variables:this.getVariables(n,t.variables)},typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!0),new ox({queryManager:this,options:t,transformedQuery:n})}query(t){const n=this.transform(t.query);return this.fetchQuery({...t,query:n}).then(i=>({...i,data:this.maskOperation({document:n,data:i==null?void 0:i.data,fetchPolicy:t.fetchPolicy})}))}generateRequestId(){return this.requestIdCounter++}clearStore(t={discardWatches:!0}){return this.cancelPendingFetches(Do(91)),this.obsQueries.forEach(n=>{n.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(t)}getObservableQueries(t="active"){const n=new Set,i=new Map,o=new Map,u=new Set;return Array.isArray(t)&&t.forEach(l=>{if(typeof l=="string")i.set(l,l),o.set(l,!1);else if(e2(l)){const c=Bh(this.transform(l));i.set(c,jh(l)),o.set(c,!1)}else Ia(l)&&l.query&&u.add(l)}),this.obsQueries.forEach(l=>{const c=Bh(this.transform(l.options.query));if(t==="all"){n.add(l);return}const{queryName:h,options:{fetchPolicy:p}}=l;t==="active"&&p==="standby"||(t==="active"||h&&o.has(h)||c&&o.has(c))&&(n.add(l),h&&o.set(h,!0),c&&o.set(c,!0))}),u.size&&u.forEach(l=>{const c=new ox({queryManager:this,options:{...Nf(this.defaultOptions.watchQuery,l),fetchPolicy:"network-only"}});n.add(c)}),n}refetchObservableQueries(t=!1){const n=[];return this.getObservableQueries(t?"all":"active").forEach(i=>{const{fetchPolicy:o}=i.options;(t||o!=="standby")&&o!=="cache-only"&&n.push(i.refetch())}),this.broadcastQueries(),Promise.all(n)}startGraphQLSubscription(t){let{query:n,variables:i}=t;const{fetchPolicy:o="cache-first",errorPolicy:u="none",context:l={},extensions:c={}}=t;nc(n,Af.SUBSCRIPTION),n=this.transform(n),i=this.getVariables(n,i);let h;const p=(this.getDocumentInfo(n).hasClientExports?Df(this.localState.getExportedVariables({client:this.client,document:n,variables:i,context:l})):Mf(i)).pipe(Ph(v=>{const{observable:b,restart:S}=this.getObservableFromLink(n,l,v,o,c),_=new ux(this);return h=S,b.pipe(tc(x=>{_.markSubscriptionResult(x,{document:n,variables:v,errorPolicy:u,cacheWriteBehavior:o==="no-cache"?0:2});const R={data:x.data??void 0};return Ih(x)?R.error=new Ju(x):Uz(x)&&(R.error=x.extensions[cv],delete x.extensions[cv]),x.extensions&&Object.keys(x.extensions).length&&(R.extensions=x.extensions),R.error&&u==="none"&&(R.data=void 0),u==="ignore"&&delete R.error,R}),DS(x=>Mf(u==="ignore"?{data:void 0}:{data:void 0,error:x})),M3(x=>!!(x.data||x.error)))}));return Object.assign(p,{restart:()=>h==null?void 0:h()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(t=>t.notify())}getObservableFromLink(t,n,i,o,u,l=(n==null?void 0:n.queryDeduplication)??this.queryDeduplication){let c={};const{serverQuery:h,clientQuery:p,operationType:v,hasIncrementalDirective:b}=this.getDocumentInfo(t),S=jh(t),_={client:this.client};if(h){const{inFlightLinkObservables:x,link:R}=this;try{let T=function(M){return new Yn(P=>{function C(){return M.subscribe({next:P.next.bind(P),complete:P.complete.bind(P),error:P.error.bind(P)})}let k=C();return c.restart||(c.restart=()=>{k.unsubscribe(),k=C()}),()=>{k.unsubscribe(),c.restart=void 0}})};const O=this.incrementalHandler.prepareRequest({query:h,variables:i,context:{...this.defaultContext,...n,queryDeduplication:l},extensions:u});if(n=O.context,l){const M=Bh(h),P=Ku(i);c=x.lookup(M,P),c.observable||(c.observable=FT(R,O,_).pipe(T,DK(()=>{x.peek(M,P)===c&&x.remove(M,P)}),v===Af.SUBSCRIPTION?Xg():AT({refCount:!0})))}else c.observable=FT(R,O,_).pipe(T)}catch(O){c.observable=C3(()=>O)}}else c.observable=Mf({data:{}});if(p){const{operation:x}=Qu(t);Ht(!b,96,x[0].toUpperCase()+x.slice(1),S??"(anonymous)"),c.observable=c.observable.pipe(Ph(R=>Df(this.localState.execute({client:this.client,document:p,remoteResult:R,context:n,variables:i,fetchPolicy:o}))))}return{restart:()=>{var x;return(x=c.restart)==null?void 0:x.call(c)},observable:c.observable.pipe(DS(x=>{throw x=ix(x),eZ(x),x}))}}getResultsFromLink(t,{queryInfo:n,cacheWriteBehavior:i,observableQuery:o,exposeExtensions:u}){const l=n.lastRequestId=this.generateRequestId(),{errorPolicy:c}=t,h=this.cache.transformForLink(t.query);return this.getObservableFromLink(h,t.context,t.variables,t.fetchPolicy).observable.pipe(tc(p=>{const v=n.markQueryResult(p,{...t,document:h,cacheWriteBehavior:i}),b=Ih(v);if(b&&c==="none")throw n.resetLastWrite(),o==null||o.resetNotifications(),new Ju(cx(v));const S={data:v.data,...n.hasNext?{loading:!0,networkStatus:Rt.streaming,dataState:"streaming",partial:!0}:{dataState:v.data?"complete":"empty",loading:!1,networkStatus:Rt.ready,partial:!v.data}};return u&&"extensions"in v&&(S[H3]=v.extensions),b&&(c==="none"&&(S.data=void 0,S.dataState="empty"),c!=="ignore"&&(S.error=new Ju(cx(v)),S.dataState!=="streaming"&&(S.networkStatus=Rt.error))),S}),DS(p=>{if(l>=n.lastRequestId&&c==="none")throw n.resetLastWrite(),o==null||o.resetNotifications(),p;const v={data:void 0,dataState:"empty",loading:!1,networkStatus:Rt.ready,partial:!0};return c!=="ignore"&&(v.error=p,v.networkStatus=Rt.error),Mf(v)}))}fetchObservableWithInfo(t,{networkStatus:n=Rt.loading,query:i=t.query,fetchQueryOperator:o=h=>h,onCacheHit:u=()=>{},observableQuery:l,exposeExtensions:c}){const h=this.getVariables(i,t.variables);let{fetchPolicy:p="cache-first",errorPolicy:v="none",returnPartialData:b=!1,notifyOnNetworkStatusChange:S=!0,context:_={}}=t;this.prioritizeCacheValues&&(p==="network-only"||p==="cache-and-network")&&(p="cache-first");const x=Object.assign({},t,{query:i,variables:h,fetchPolicy:p,errorPolicy:v,returnPartialData:b,notifyOnNetworkStatusChange:S,context:_}),R=new ux(this,l),O=k=>{x.variables=k;const L=p==="no-cache"?0:n===Rt.refetch&&x.refetchWritePolicy!=="merge"?1:2,z=this.fetchQueryByPolicy(x,{queryInfo:R,cacheWriteBehavior:L,onCacheHit:u,observableQuery:l,exposeExtensions:c});return z.observable=z.observable.pipe(o),x.fetchPolicy!=="standby"&&(l==null||l.applyNextFetchPolicy("after-fetch",t)),z},T=()=>{this.fetchCancelFns.delete(R.id)};this.fetchCancelFns.set(R.id,k=>{M.next({kind:"E",error:k,source:"network"})});const M=new Nh;let P,C;if(this.getDocumentInfo(x.query).hasClientExports)P=Df(this.localState.getExportedVariables({client:this.client,document:x.query,variables:x.variables,context:x.context})).pipe(Ph(k=>O(k).observable)),C=!0;else{const k=O(x.variables);C=k.fromLink,P=k.observable}return{observable:new Yn(k=>{k.add(T),P.subscribe(k),M.subscribe(k)}).pipe(Xg()),fromLink:C}}refetchQueries({updateCache:t,include:n,optimistic:i=!1,removeOptimistic:o=i?z$("refetchQueries"):void 0,onQueryUpdated:u}){const l=new Map;n&&this.getObservableQueries(n).forEach(h=>{if(h.options.fetchPolicy==="cache-only"||h.variablesUnknown)return;const p=h.getCurrentResult();l.set(h,{oq:h,lastDiff:{result:p==null?void 0:p.data,complete:!(p!=null&&p.partial)}})});const c=new Map;if(t){const h=new Set;this.cache.batch({update:t,optimistic:i&&o||!1,removeOptimistic:o,onWatchUpdated(p,v,b){const S=p.watcher;if(S instanceof ox&&!h.has(S)){if(h.add(S),u){l.delete(S);let _=u(S,v,b);return _===!0&&(_=S.refetch().retain()),_!==!1&&c.set(S,_),_}u!==null&&S.options.fetchPolicy!=="cache-only"&&l.set(S,{oq:S,lastDiff:b,diff:v})}}})}return l.size&&l.forEach(({oq:h,lastDiff:p,diff:v})=>{let b;u&&(v||(v=h.getCacheDiff()),b=u(h,v,p)),(!u||b===!0)&&(b=h.refetch().retain()),b!==!1&&c.set(h,b)}),o&&this.cache.removeOptimistic(o),c}maskOperation(t){const{document:n,data:i}=t;return this.dataMasking?q2(i,n,this.cache):i}maskFragment(t){const{data:n,fragment:i,fragmentName:o}=t;return this.dataMasking?z2(n,i,this.cache,o):n}fetchQueryByPolicy({query:t,variables:n,fetchPolicy:i,errorPolicy:o,returnPartialData:u,context:l},{cacheWriteBehavior:c,onCacheHit:h,queryInfo:p,observableQuery:v,exposeExtensions:b}){const S=()=>this.cache.diff({query:t,variables:n,returnPartialData:!0,optimistic:!0}),_=(R,O)=>{const T=R.result,M=C=>(!R.complete&&!u&&(C=void 0),{data:C,dataState:R.complete?"complete":C?"partial":"empty",loading:$S(O),networkStatus:O,partial:!R.complete}),P=C=>Mf({kind:"N",value:M(C),source:"cache"});return(R.complete||u)&&this.getDocumentInfo(t).hasForcedResolvers?(h(),Df(this.localState.execute({client:this.client,document:t,remoteResult:T?{data:T}:void 0,context:l,variables:n,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:i}).then(C=>({kind:"N",value:M(C.data||void 0),source:"cache"})))):o==="none"&&O===Rt.refetch&&R.missing?P(void 0):P(T||void 0)},x=()=>this.getResultsFromLink({query:t,variables:n,context:l,fetchPolicy:i,errorPolicy:o},{cacheWriteBehavior:c,queryInfo:p,observableQuery:v,exposeExtensions:b}).pipe(Yz(),MK(),tc(R=>({...R,source:"network"})));switch(i){default:case"cache-first":{const R=S();return R.complete?{fromLink:!1,observable:_(R,Rt.ready)}:u?{fromLink:!0,observable:TT(_(R,Rt.loading),x())}:{fromLink:!0,observable:x()}}case"cache-and-network":{const R=S();return R.complete||u?{fromLink:!0,observable:TT(_(R,Rt.loading),x())}:{fromLink:!0,observable:x()}}case"cache-only":return{fromLink:!1,observable:TT(_(S(),Rt.ready))};case"network-only":return{fromLink:!0,observable:x()};case"no-cache":return{fromLink:!0,observable:x()};case"standby":return{fromLink:!1,observable:Wg}}}}function Yz(){let e=!1;return Qg({next(){e=!0},complete(){Ht(e,100)}})}function nZ(e){return au(e,{FragmentSpread:t=>{var n;if(!((n=t.directives)!=null&&n.some(i=>i.name.value==="unmask")))return{...t,directives:[...t.directives||[],{kind:pn.DIRECTIVE,name:{kind:pn.NAME,value:"nonreactive"}}]}}})}function cx(e){var o;if(((o=e.extensions)==null?void 0:o[rc])==null)return e;const{extensions:{[rc]:t,...n},...i}=e;return Object.keys(n).length>0&&(i.extensions=n),i}class rZ{constructor(t){we(this,"link");we(this,"cache");we(this,"disableNetworkFetches");we(this,"version");we(this,"queryDeduplication");we(this,"defaultOptions");we(this,"devtoolsConfig");we(this,"refetchEventManager");we(this,"queryManager");we(this,"devToolsHookCb");we(this,"resetStoreCallbacks",[]);we(this,"clearStoreCallbacks",[]);we(this,"query",t=>(this.defaultOptions.query&&(t=Nf(this.defaultOptions.query,t)),this.queryManager.query(t)));we(this,"mutate",t=>{const n=Nf(ao({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),t);return nc(n.mutation,Af.MUTATION),this.queryManager.mutate(n)});we(this,"reFetchObservableQueries");we(this,"maskedFragmentTransform",new Zu(a2));var T;const{cache:n,documentTransform:i,ssrMode:o=!1,ssrForceFetchDelay:u=0,queryDeduplication:l=!0,defaultOptions:c,defaultContext:h,assumeImmutableResults:p=n.assumeImmutableResults,localState:v,devtools:b,dataMasking:S,link:_,incrementalHandler:x=new E2,experiments:R=[],refetchEventManager:O}=t;this.link=_,this.cache=n,this.queryDeduplication=l,this.defaultOptions=c||{},this.devtoolsConfig={...b,enabled:(b==null?void 0:b.enabled)??I$},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=uT,this.queryManager=new tZ({client:this,defaultOptions:this.defaultOptions,defaultContext:h,documentTransform:i,queryDeduplication:l,ssrMode:o,dataMasking:!!S,clientOptions:t,incrementalHandler:x,assumeImmutableResults:p,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:v}),this.prioritizeCacheValues=o||u>0,u&&setTimeout(()=>{this.prioritizeCacheValues=!1},u),this.devtoolsConfig.enabled&&this.connectToDevTools(),R.forEach(M=>M.call(this,t)),this.refetchEventManager=O,(T=this.refetchEventManager)==null||T.connect(this)}set prioritizeCacheValues(t){this.queryManager.prioritizeCacheValues=t}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}connectToDevTools(){if(typeof window>"u")return;const t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(t){this.queryManager.localState=t}stop(){var t;this.queryManager.stop(),(t=this.refetchEventManager)==null||t.disconnect(this)}watchQuery(t){const{refetchOn:n}=t;if(this.defaultOptions.watchQuery){const i=this.defaultOptions.watchQuery.refetchOn;let o;n&&typeof n=="object"&&(typeof i=="object"?o={...i,...n}:i!=null&&(o=u=>{const l=n[u.source]??i;return typeof l=="function"?l(u):l})),t=Nf(this.defaultOptions.watchQuery,t),o&&(t.refetchOn=o)}return this.queryManager.watchQuery(t)}subscribe(t){const n={},i=this.queryManager.startGraphQLSubscription(t),o=i.pipe(tc(u=>({...u,data:this.queryManager.maskOperation({document:t.query,data:u.data,fetchPolicy:t.fetchPolicy,cause:n})})));return Object.assign(o,{restart:i.restart})}readQuery(t,n=!1){return this.cache.readQuery({...t,query:this.transform(t.query)},n)}watchFragment(t){const n=this.queryManager.dataMasking;return this.cache.watchFragment({...t,fragment:this.transform(t.fragment,n)})}readFragment(t,n=!1){return this.cache.readFragment({...t,fragment:this.transform(t.fragment)},n)}writeQuery(t){const n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n}writeFragment(t){const n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n}__actionHookForDevTools(t){this.devToolsHookCb=t}__requestRaw(t){return FT(this.link,t,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(t=>t()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(t=>t())))}onResetStore(t){return this.resetStoreCallbacks.push(t),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(n=>n!==t)}}onClearStore(t){return this.clearStoreCallbacks.push(t),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(n=>n!==t)}}refetchObservableQueries(t){return this.queryManager.refetchObservableQueries(t)}refetchQueries(t){const n=this.queryManager.refetchQueries(t),i=[],o=[];n.forEach((l,c)=>{i.push(c),o.push(l)});const u=Promise.all(o);return u.queries=i,u.results=o,u.catch(l=>{}),u}getObservableQueries(t="active"){return this.queryManager.getObservableQueries(t)}extract(t){return this.cache.extract(t)}restore(t){return this.cache.restore(t)}setLink(t){this.link=t}get defaultContext(){return this.queryManager.defaultContext}transform(t,n=!1){const i=this.queryManager.transform(t);return n?this.maskedFragmentTransform.transformDocument(i):i}}const{hasOwnProperty:Gz}=Object.prototype;function iZ(e){return Ia(e)&&"payload"in e}async function*aZ(e){var S;const t=new TextDecoder("utf-8"),n=(S=e.headers)==null?void 0:S.get("content-type"),i=n==null?void 0:n.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),o=`\r
|
|
334
|
+
--`+(i?i[1]??i[2]??i[3]??"-":"-");let u="";Ht(e.body&&typeof e.body.getReader=="function",62);const c=e.body.getReader();let h=!1,p=!1,v;const b=()=>p&&u[0]=="-"&&u[1]=="-";try{for(;!h;){({value:v,done:h}=await c.read());const _=typeof v=="string"?v:t.decode(v),x=u.length-o.length+1;u+=_;let R=u.indexOf(o,x);for(;R>-1&&!b();){p=!0;let O;[O,u]=[u.slice(0,R),u.slice(R+o.length)];const T=O.indexOf(`\r
|
|
335
|
+
\r
|
|
336
|
+
`),P=sZ(O.slice(0,T))["content-type"];if(P&&P.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");const C=O.slice(T);C&&(yield C),R=u.indexOf(o)}if(b())return}throw new Error("premature end of multipart body")}finally{c.cancel()}}async function oZ(e,t){for await(const n of aZ(e)){const i=Wz(e,n);if(Object.keys(i).length!=0)if(iZ(i)){if(Object.keys(i).length===1&&i.payload===null)return;let o={...i.payload};"errors"in i&&(o.extensions={...o.extensions,[cv]:new BS(i.errors??[])}),t(o)}else t(i)}}function sZ(e){const t={};return e.split(`
|
|
337
|
+
`).forEach(n=>{const i=n.indexOf(":");if(i>-1){const o=n.slice(0,i).trim().toLowerCase(),u=n.slice(i+1).trim();t[o]=u}}),t}function Wz(e,t){if(e.status>=300)throw new HS(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(n){throw new FS(n,{response:e,bodyText:t})}}function uZ(e,t){try{return JSON.parse(t)}catch(n){throw new FS(n,{response:e,bodyText:t})}}function lZ(e,t){const n=e.headers.get("content-type");return n!=null&&n.includes("application/graphql-response+json")?uZ(e,t):Wz(e,t)}function cZ(e){return t=>t.text().then(n=>{const i=lZ(t,n);if(!Array.isArray(i)&&!Gz.call(i,"data")&&!Gz.call(i,"errors"))throw new HS(`Server response was malformed for query '${Array.isArray(e)?e.map(o=>o.operationName):e.operationName}'.`,{response:t,bodyText:n});return i})}const fZ={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},options:{method:"POST"}},dZ=(e,t)=>t(e);function hZ(e,t,...n){let i={},o={};n.forEach(v=>{var b;i={...i,...v.options,headers:{...i.headers,...v.headers}},v.credentials&&(i.credentials=v.credentials),i.headers.accept=(((b=v.http)==null?void 0:b.accept)||[]).concat(i.headers.accept).join(","),o={...o,...v.http}}),i.headers=pZ(i.headers,o.preserveHeaderCase);const{operationName:u,extensions:l,variables:c,query:h}=e,p={operationName:u,variables:c};return o.includeExtensions&&Object.keys(l||{}).length&&(p.extensions=l),o.includeQuery&&(p.query=t(h,Bh)),{options:i,body:p}}function pZ(e,t){if(!t){const o={};return Object.keys(Object(e)).forEach(u=>{o[u.toLowerCase()]=e[u]}),o}const n={};Object.keys(Object(e)).forEach(o=>{n[o.toLowerCase()]={originalName:o,value:e[o]}});const i={};return Object.keys(n).forEach(o=>{i[n[o].originalName]=n[o].value}),i}const mZ=(e,t)=>{const i=e.getContext().uri;return i||(typeof t=="function"?t(e):t||"/graphql")};function gZ(e,t){const n=[],i=(p,v)=>{n.push(`${p}=${encodeURIComponent(v)}`)};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){let p;try{p=JSON.stringify(t.variables)}catch(v){return{parseError:v}}i("variables",p)}if(t.extensions){let p;try{p=JSON.stringify(t.extensions)}catch(v){return{parseError:v}}i("extensions",p)}let o="",u=e;const l=e.indexOf("#");l!==-1&&(o=e.substr(l),u=e.substr(0,l));const c=u.indexOf("?")===-1?"?":"&";return{newURI:u+c+n.join("&")+o}}const vZ=Ts(()=>fetch);function yZ(){}class bZ extends Wi{constructor(t={}){let{uri:n="/graphql",fetch:i,print:o=dZ,includeExtensions:u,preserveHeaderCase:l,useGETForQueries:c,includeUnusedVariables:h=!1,...p}=t;const v={http:ao({includeExtensions:u,preserveHeaderCase:l}),options:p.fetchOptions,credentials:p.credentials,headers:p.headers};super(b=>{let S=mZ(b,n);const _=b.getContext(),x={..._.http};x2(b.query)&&(x.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...x.accept||[]]);const R={http:x,options:_.fetchOptions,credentials:_.credentials,headers:_.headers},{options:O,body:T}=hZ(b,o,fZ,v,R);T.variables&&!h&&(T.variables=R2(T.variables,b.query));let M=new AbortController,P=()=>{M=void 0};if(O.signal){const C=O.signal,k=()=>{M==null||M.abort(C.reason)};C.addEventListener("abort",k,{once:!0}),P=()=>{M==null||M.signal.removeEventListener("abort",P),M=void 0,C.removeEventListener("abort",k),P=yZ},M.signal.addEventListener("abort",P,{once:!0})}return O.signal=M.signal,c&&!T2(b.query)&&(O.method="GET"),new Yn(C=>{if(O.method==="GET"){const{newURI:z,parseError:U}=gZ(S,T);if(U)throw U;S=z}else O.body=JSON.stringify(T);const k=i||Ts(()=>fetch)||vZ,L=C.next.bind(C);return k(S,O).then(z=>{var G;b.setContext({response:z});const U=(G=z.headers)==null?void 0:G.get("content-type");return U!==null&&/^multipart\/mixed/i.test(U)?oZ(z,L):cZ(b)(z).then(L)}).then(()=>{P(),C.complete()}).catch(z=>{P(),C.error(z)}),()=>{M&&M.abort()}})})}}class SZ extends Wi{constructor(t={}){super((n,i)=>{const o=n.client,u=o.queryManager.clientOptions,l=n.getContext();{const{name:c,version:h,transport:p="headers"}=ao({},u.clientAwareness,t.clientAwareness,l.clientAwareness);p==="headers"&&n.setContext(({headers:v})=>({headers:ao({"apollographql-client-name":c,"apollographql-client-version":h},v)}))}{const{transport:c="extensions"}=ao({},u.enhancedClientAwareness,t.enhancedClientAwareness);c==="extensions"&&(n.extensions=ao({clientLibrary:{name:"@apollo/client",version:o.version}},n.extensions)),c==="headers"&&n.setContext(({headers:h})=>({headers:ao({"apollographql-library-name":"@apollo/client","apollographql-library-version":o.version},h)}))}return i(n)})}}class _Z extends Wi{constructor(t={}){const{left:n,right:i,request:o}=Wi.from([new SZ(t),new bZ(t)]);super(o),Object.assign(this,{left:n,right:i})}}function Xz(e,t){const n=F.useRef(void 0);return(!n.current||!sn(n.current.deps,t))&&(n.current={value:e(),deps:t}),n.current.value}let fx;function EZ(){}function wZ(){return fx||(fx=F.createContext(null)),F.useCallback(()=>{const e=console.error;try{return console.error=EZ,F.useContext(fx),!0}catch{return!1}finally{console.error=e}},[])}const RZ=Symbol.for("apollo.skipToken"),OZ=Symbol.for("apollo.hook.wrappers");function TZ(e,t,n){var u;const i=[n.queryManager,e.startsWith("use")?F.useContext(fT()):void 0];let o=t;for(const l of i){const c=(u=l==null?void 0:l[OZ])==null?void 0:u[e];c&&(o=c(o))}return o}const Qz=N3?F.useLayoutEffect:F.useEffect,xZ=kO["useSyncExternalStore"],AZ=Ts(()=>navigator.product)=="ReactNative",CZ=Ts(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,DZ=(N3||AZ)&&!CZ,Kz=xZ||((e,t,n)=>{const i=t(),[{inst:o},u]=F.useState({inst:{value:i,getSnapshot:t}});return DZ?F.useLayoutEffect(()=>{Object.assign(o,{value:i,getSnapshot:t}),dx(o)&&u({inst:o})},[e,i,t]):Object.assign(o,{value:i,getSnapshot:t}),F.useEffect(()=>(dx(o)&&u({inst:o}),e(function(){dx(o)&&u({inst:o})})),[e]),i});function dx({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}const MZ=["refetch","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],Zz=function(t,n){const i=wS(n==null?void 0:n.client),o=F.useRef(void 0),u=F.useRef(void 0),l=Xz(()=>n,[n]),c=wZ();function h(){return i.watchQuery({...n,query:t,initialFetchPolicy:n==null?void 0:n.fetchPolicy,fetchPolicy:"standby",[$T]:!0})}const[p,v]=F.useState(i),[b,S]=F.useState(h);p!==i&&(v(i),S(h()));const _=F.useCallback((C,k)=>{var z;const L=(z=u.current)==null?void 0:z.data;L&&!sn(L,C.data)&&(o.current=L),u.current=C,k()},[]),x=Kz(F.useCallback(C=>{const k=b.subscribe(L=>{sn(u.current,L)||_(L,C)});return()=>{k.unsubscribe()}},[b,_]),()=>u.current||Jz,()=>Jz),R=F.useMemo(()=>{const C={};for(const k of MZ)C[k]=function(...L){return Ht(u.current,29,k),b[k](...L)};return C},[b]);F.useEffect(()=>{const C={query:t,errorPolicy:l==null?void 0:l.errorPolicy,refetchOn:l==null?void 0:l.refetchOn,refetchWritePolicy:l==null?void 0:l.refetchWritePolicy,returnPartialData:l==null?void 0:l.returnPartialData,notifyOnNetworkStatusChange:l==null?void 0:l.notifyOnNetworkStatusChange,pollInterval:l==null?void 0:l.pollInterval,nextFetchPolicy:n==null?void 0:n.nextFetchPolicy,skipPollAttempt:n==null?void 0:n.skipPollAttempt};b.options.fetchPolicy!=="standby"&&(l!=null&&l.fetchPolicy)&&(C.fetchPolicy=l.fetchPolicy),b.applyOptions(C)},[t,b,l,n==null?void 0:n.nextFetchPolicy,n==null?void 0:n.skipPollAttempt]);const O=F.useCallback((...C)=>{Ht(!c(),30);const[k]=C;let L=b.options.fetchPolicy;return L==="standby"&&(L=b.options.initialFetchPolicy),b.reobserve({fetchPolicy:L,variables:k==null?void 0:k.variables,context:(k==null?void 0:k.context)??{}})},[b,c]),T=F.useRef(O);Qz(()=>{T.current=O});const M=F.useCallback((...C)=>T.current(...C),[]),P=F.useMemo(()=>{const{partial:C,...k}=x;return{...R,...k,client:i,previousData:o.current,variables:b.variables,observable:b,called:!!u.current}},[i,x,R,b]);return[M,P]},Jz={data:void 0,dataState:"empty",loading:!1,networkStatus:Rt.ready,partial:!0},hx=function(t,n){const i=wS(n==null?void 0:n.client),[o,u]=F.useState(()=>e5(i)),l=F.useRef({result:o,mutationId:0,isMounted:!0,client:i,mutation:t,options:n});Qz(()=>{Object.assign(l.current,{client:i,options:n,mutation:t})});const c=F.useCallback((p={})=>{const{options:v,mutation:b}=l.current,S={...v,mutation:b},_=p.client||l.current.client,x=typeof p.context=="function"?p.context(v==null?void 0:v.context):p.context;!l.current.result.loading&&l.current.isMounted&&u(l.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:_});const R=++l.current.mutationId,O=Nf(S,{...p,context:x});return LT(_.mutate(O).then(T=>{var L,z;const{data:M,error:P}=T,C=p.onError||((L=l.current.options)==null?void 0:L.onError);if(P&&C&&C(P,O),R===l.current.mutationId){const U={called:!0,loading:!1,data:M,error:P,client:_};l.current.isMounted&&!sn(l.current.result,U)&&u(l.current.result=U)}const k=p.onCompleted||((z=l.current.options)==null?void 0:z.onCompleted);return P||k==null||k(T.data,O),T},T=>{var P;if(R===l.current.mutationId&&l.current.isMounted){const C={loading:!1,error:T,data:void 0,called:!0,client:_};sn(l.current.result,C)||u(l.current.result=C)}const M=p.onError||((P=l.current.options)==null?void 0:P.onError);throw M&&M(T,O),T}))},[]),h=F.useCallback(()=>{if(l.current.isMounted){const p=e5(l.current.client);Object.assign(l.current,{mutationId:0,result:p}),u(p)}},[]);return F.useEffect(()=>{const p=l.current;return p.isMounted=!0,()=>{p.isMounted=!1}},[]),[c,{reset:h,...o}]};function e5(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}const dv=Symbol(),VS=function(t,...[n]){"use no memo";return TZ("useQuery",NZ,wS(typeof n=="object"?n.client:void 0))(t,n)};function NZ(e,t={}){const n=wS(typeof t=="object"?t.client:void 0),{ssr:i}=typeof t=="object"?t:{},o=PZ(e,t,n.defaultOptions.watchQuery);function u(_){const x=n.watchQuery(o);return{client:n,query:e,observable:x,resultData:{current:x.getCurrentResult(),previousData:_==null?void 0:_.resultData.current.data,variables:x.variables}}}let[l,c]=F.useState(u);(n!==l.client||e!==l.query)&&c(l=u(l));const{observable:h,resultData:p}=l;kZ(o,h),LZ(p,h,o);const v=jZ(h,p,i),b=F.useMemo(()=>({refetch:h.refetch.bind(h),fetchMore:h.fetchMore.bind(h),updateQuery:h.updateQuery.bind(h),startPolling:h.startPolling.bind(h),stopPolling:h.stopPolling.bind(h),subscribeToMore:h.subscribeToMore.bind(h)}),[h]),S=p.previousData;return F.useMemo(()=>{const{partial:_,...x}=v;return{...x,client:n,observable:h,variables:h.variables,previousData:S,...b}},[v,n,h,S,b])}const t5=Symbol();function PZ(e,t,n){return Xz(()=>{if(t===RZ){const o={...Nf(n,{query:e,fetchPolicy:"standby"}),[$T]:!0};return o[t5]=!0,o}const i=Nf(n,{...t,query:e});return t.skip&&(i.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy,i.fetchPolicy="standby"),i},[e,t,n])}function kZ(e,t){"use no memo";e.fetchPolicy||(e.fetchPolicy=t.options.initialFetchPolicy)}function jZ(e,t,n){"use no memo";const i=e.options.fetchPolicy;return Kz(F.useCallback(o=>{const u=e.pipe(RT(nK)).subscribe(l=>{const c=t.current;sn(c,l)&&sn(t.variables,e.variables)||(t.variables=e.variables,c.data&&!sn(c.data,l.data)&&(t.previousData=c.data),t.current=l,o())});return()=>{setTimeout(()=>u.unsubscribe())}},[e,t]),()=>t.current,()=>i!=="standby"&&n===!1||i==="no-cache"?VS.ssrDisabledResult:t.current)}function LZ(e,t,n){"use no memo";if(t[dv]&&!sn(t[dv],n)){t[dv][t5]&&!n.initialFetchPolicy&&(n.initialFetchPolicy=n.fetchPolicy),IZ(t[dv],n)?t.reobserve(n):t.applyOptions(n);const i=t.getCurrentResult();sn(i.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=i,e.variables=t.variables}t[dv]=n}function IZ(e,t){return e.query!==t.query||!sn(e.variables,t.variables)||e.fetchPolicy!==t.fetchPolicy&&(t.fetchPolicy==="standby"||e.fetchPolicy==="standby")}VS.ssrDisabledResult={loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:Rt.loading,partial:!0};const Nr=e=>{const t=F.useRef(e);return t.current=e,F.useCallback((...i)=>{var o;return(o=t.current)==null?void 0:o.call(t,...i)},[])};function oo(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const n5=oo()?F.useLayoutEffect:F.useEffect,so=(e,t)=>{const n=F.useRef(!0);n5(()=>e(n.current),t),n5(()=>(n.current=!1,()=>{n.current=!0}),[])},$Z=e=>{const t=F.useRef(!1),[n,i]=F.useState(e);F.useEffect(()=>(t.current=!1,()=>{t.current=!0}),[]);function o(u,l){l&&t.current||i(u)}return[n,o]};function zZ(e,t){const[n,i]=F.useState(e),o=t!==void 0?t:n;return so(u=>{u||i(t)},[t]),[o,i]}function qZ(){return{...kO}.useId}let r5=0;const i5=qZ(),a5=i5?(function(t){const n=i5();return t||n}):(function(t){const[n,i]=F.useState("ssr-id");return F.useEffect(()=>{const o=r5;r5+=1,i(`rc_unique_${o}`)},[]),t||n});function px(e,t,n){const i=F.useRef({});return(!("value"in i.current)||n(i.current.condition,t))&&(i.current.value=e(),i.current.condition=t),i.current.value}function UZ(e){const[,t]=F.useReducer(u=>u+1,0),n=F.useRef(e),i=Nr(()=>n.current),o=Nr(u=>{n.current=typeof u=="function"?u(n.current):u,t()});return[i,o]}var mx={exports:{}},wn={},o5;function BZ(){if(o5)return wn;o5=1;/**
|
|
338
|
+
* @license React
|
|
339
|
+
* react-is.development.js
|
|
340
|
+
*
|
|
341
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
342
|
+
*
|
|
343
|
+
* This source code is licensed under the MIT license found in the
|
|
344
|
+
* LICENSE file in the root directory of this source tree.
|
|
345
|
+
*/return(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),x=!1,R=!1,O=!1,T=!1,M=!1,P;P=Symbol.for("react.module.reference");function C(Ve){return!!(typeof Ve=="string"||typeof Ve=="function"||Ve===n||Ve===o||M||Ve===i||Ve===p||Ve===v||T||Ve===_||x||R||O||typeof Ve=="object"&&Ve!==null&&(Ve.$$typeof===S||Ve.$$typeof===b||Ve.$$typeof===u||Ve.$$typeof===l||Ve.$$typeof===h||Ve.$$typeof===P||Ve.getModuleId!==void 0))}function k(Ve){if(typeof Ve=="object"&&Ve!==null){var He=Ve.$$typeof;switch(He){case e:var ke=Ve.type;switch(ke){case n:case o:case i:case p:case v:return ke;default:var $e=ke&&ke.$$typeof;switch($e){case c:case l:case h:case S:case b:case u:return $e;default:return He}}case t:return He}}}var L=l,z=u,U=e,G=h,B=n,Y=S,K=b,oe=t,le=o,fe=i,W=p,ue=v,ie=!1,_e=!1;function ae(Ve){return ie||(ie=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function X(Ve){return _e||(_e=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Q(Ve){return k(Ve)===l}function te(Ve){return k(Ve)===u}function re(Ve){return typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===e}function Ee(Ve){return k(Ve)===h}function Se(Ve){return k(Ve)===n}function Re(Ve){return k(Ve)===S}function Pe(Ve){return k(Ve)===b}function Le(Ve){return k(Ve)===t}function Ne(Ve){return k(Ve)===o}function De(Ve){return k(Ve)===i}function Ce(Ve){return k(Ve)===p}function Qe(Ve){return k(Ve)===v}wn.ContextConsumer=L,wn.ContextProvider=z,wn.Element=U,wn.ForwardRef=G,wn.Fragment=B,wn.Lazy=Y,wn.Memo=K,wn.Portal=oe,wn.Profiler=le,wn.StrictMode=fe,wn.Suspense=W,wn.SuspenseList=ue,wn.isAsyncMode=ae,wn.isConcurrentMode=X,wn.isContextConsumer=Q,wn.isContextProvider=te,wn.isElement=re,wn.isForwardRef=Ee,wn.isFragment=Se,wn.isLazy=Re,wn.isMemo=Pe,wn.isPortal=Le,wn.isProfiler=Ne,wn.isStrictMode=De,wn.isSuspense=Ce,wn.isSuspenseList=Qe,wn.isValidElementType=C,wn.typeOf=k})(),wn}var s5;function HZ(){return s5||(s5=1,mx.exports=BZ()),mx.exports}var gx=HZ();const FZ=Symbol.for("react.element"),VZ=Symbol.for("react.transitional.element"),YZ=Symbol.for("react.fragment");function u5(e){return e&&typeof e=="object"&&(e.$$typeof===FZ||e.$$typeof===VZ)&&e.type===YZ}const GZ=Number(F.version.split(".")[0]),WZ=(e,t)=>{typeof e=="function"?e(t):typeof e=="object"&&e&&"current"in e&&(e.current=t)},vx=(...e)=>{const t=e.filter(Boolean);return t.length<=1?t[0]:n=>{e.forEach(i=>{WZ(i,n)})}},yx=(...e)=>px(()=>vx(...e),e,(t,n)=>t.length!==n.length||t.every((i,o)=>i!==n[o])),bx=e=>{var n,i;if(!e)return!1;if(Sx(e)&&GZ>=19)return!0;const t=gx.isMemo(e)?e.type.type:e.type;return!(typeof t=="function"&&!((n=t.prototype)!=null&&n.render)&&t.$$typeof!==gx.ForwardRef||typeof e=="function"&&!((i=e.prototype)!=null&&i.render)&&e.$$typeof!==gx.ForwardRef)};function Sx(e){return F.isValidElement(e)&&!u5(e)}const XZ=e=>Sx(e)&&bx(e),YS=e=>{if(e&&Sx(e)){const t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function QZ(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}const l5="data-rc-order",c5="data-rc-priority",KZ="rc-util-key",_x=new Map;function f5({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:KZ}function GS(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ZZ(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Ex(e){return Array.from((_x.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function d5(e,t={}){if(!oo())return null;const{csp:n,prepend:i,priority:o=0}=t,u=ZZ(i),l=u==="prependQueue",c=document.createElement("style");c.setAttribute(l5,u),l&&o&&c.setAttribute(c5,`${o}`),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;const h=GS(t),{firstChild:p}=h;if(i){if(l){const v=(t.styles||Ex(h)).filter(b=>{if(!["prepend","prependQueue"].includes(b.getAttribute(l5)))return!1;const S=Number(b.getAttribute(c5)||0);return o>=S});if(v.length)return h.insertBefore(c,v[v.length-1].nextSibling),c}h.insertBefore(c,p)}else h.appendChild(c);return c}function h5(e,t={}){let{styles:n}=t;return n||(n=Ex(GS(t))),n.find(i=>i.getAttribute(f5(t))===e)}function WS(e,t={}){const n=h5(e,t);n&&GS(t).removeChild(n)}function JZ(e,t){const n=_x.get(e);if(!n||!QZ(document,n)){const i=d5("",t),{parentNode:o}=i;_x.set(e,o),e.removeChild(i)}}function Wh(e,t,n={}){var h,p,v;const i=GS(n),o=Ex(i),u={...n,styles:o};JZ(i,u);const l=h5(t,u);if(l)return(h=u.csp)!=null&&h.nonce&&l.nonce!==((p=u.csp)==null?void 0:p.nonce)&&(l.nonce=(v=u.csp)==null?void 0:v.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const c=d5(e,u);return c.setAttribute(f5(u),t),c}function Xh(e){return e instanceof HTMLElement||e instanceof SVGElement}function wx(e){return e&&typeof e=="object"&&Xh(e.nativeElement)?e.nativeElement:Xh(e)?e:null}const eJ=(e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){const{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){const{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1});function p5(e){var t;return(t=e==null?void 0:e.getRootNode)==null?void 0:t.call(e)}function tJ(e){return p5(e)instanceof ShadowRoot}function Rx(e){return tJ(e)?p5(e):null}function nJ(e){const t=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,n=document.createElement("div");n.id=t;const i=n.style;i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll";let o,u;if(e){const h=getComputedStyle(e);i.scrollbarColor=h.scrollbarColor,i.scrollbarWidth=h.scrollbarWidth;const p=getComputedStyle(e,"::-webkit-scrollbar"),v=parseInt(p.width,10),b=parseInt(p.height,10);try{const S=v?`width: ${p.width};`:"",_=b?`height: ${p.height};`:"";Wh(`
|
|
346
|
+
#${t}::-webkit-scrollbar {
|
|
347
|
+
${S}
|
|
348
|
+
${_}
|
|
349
|
+
}`,t)}catch(S){console.error(S),o=v,u=b}}document.body.appendChild(n);const l=e&&o&&!Number.isNaN(o)?o:n.offsetWidth-n.clientWidth,c=e&&u&&!Number.isNaN(u)?u:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),WS(t),{width:l,height:c}}function rJ(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:nJ(e)}let Ox={};const Tx=[],iJ=e=>{Tx.push(e)};function XS(e,t){if(!e&&console!==void 0){const n=Tx.reduce((i,o)=>o(i??"","warning"),t);n&&console.error(`Warning: ${n}`)}}function aJ(e,t){if(!e&&console!==void 0){const n=Tx.reduce((i,o)=>o(i??"","note"),t);n&&console.warn(`Note: ${n}`)}}function oJ(){Ox={}}function m5(e,t,n){!t&&!Ox[n]&&(e(!1,n),Ox[n]=!0)}function ac(e,t){m5(XS,e,t)}function sJ(e,t){m5(aJ,e,t)}ac.preMessage=iJ,ac.resetWarned=oJ,ac.noteOnce=sJ;function uJ(e,t,n=!1){const i=new Set;function o(u,l,c=1){const h=i.has(u);if(ac(!h,"Warning: There may be circular references"),h)return!1;if(u===l)return!0;if(n&&c>1)return!1;i.add(u);const p=c+1;if(Array.isArray(u)){if(!Array.isArray(l)||u.length!==l.length)return!1;for(let v=0;v<u.length;v++)if(!o(u[v],l[v],p))return!1;return!0}if(u&&l&&typeof u=="object"&&typeof l=="object"){const v=Object.keys(u);return v.length!==Object.keys(l).length?!1:v.every(b=>o(u[b],l[b],p))}return!1}return o(e,t)}var hv={exports:{}},g5;function lJ(){if(g5)return hv.exports;g5=1,hv.exports=i,hv.exports.isMobile=i,hv.exports.default=i;const e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,n=/android|ipad|playbook|silk/i;function i(o){o||(o={});let u=o.ua;if(!u&&typeof navigator<"u"&&(u=navigator.userAgent),u&&u.headers&&typeof u.headers["user-agent"]=="string"&&(u=u.headers["user-agent"]),typeof u!="string")return!1;let l=e.test(u)&&!t.test(u)||!!o.tablet&&n.test(u);return!l&&o.tablet&&o.featureDetect&&navigator&&navigator.maxTouchPoints>1&&u.indexOf("Macintosh")!==-1&&u.indexOf("Safari")!==-1&&(l=!0),l}return hv.exports}lJ();let v5=e=>+setTimeout(e,16),y5=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(v5=e=>window.requestAnimationFrame(e),y5=e=>window.cancelAnimationFrame(e));let b5=0;const QS=new Map;function S5(e){QS.delete(e)}const KS=(e,t=1)=>{b5+=1;const n=b5;function i(o){if(o===0)S5(n),e();else{const u=v5(()=>{i(o-1)});QS.set(n,u)}}return i(t),n};KS.cancel=e=>{const t=QS.get(e);return S5(e),y5(t)},KS.ids=()=>QS;function xx(e,t={}){let n=[];return se.Children.forEach(e,i=>{i==null&&!t.keepEmpty||(Array.isArray(i)?n=n.concat(xx(i)):u5(i)&&i.props?n=n.concat(xx(i.props.children,t)):n.push(i))}),n}function Ax(e,t){let n=e;for(let i=0;i<t.length;i+=1){if(n==null)return;n=n[t[i]]}return n}function _5(e,t,n,i){if(!t.length)return n;const[o,...u]=t;let l;return!e&&typeof o=="number"?l=[]:Array.isArray(e)?l=[...e]:l={...e},i&&n===void 0&&u.length===1?delete l[o][u[0]]:l[o]=_5(l[o],u,n,i),l}function Cx(e,t,n,i=!1){return t.length&&i&&n===void 0&&!Ax(e,t.slice(0,-1))?e:_5(e,t,n,i)}function cJ(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function E5(e){return Array.isArray(e)?[]:{}}const fJ=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function dJ(e,t={}){const{prepareArray:n}=t,i=n||(()=>[]);let o=E5(e[0]);return e.forEach(u=>{function l(c,h){const p=new Set(h),v=Ax(u,c),b=Array.isArray(v);if(b||cJ(v)){if(!p.has(v)){p.add(v);const S=Ax(o,c);b?o=Cx(o,c,i(S,v)):(!S||typeof S!="object")&&(o=Cx(o,c,E5(v))),fJ(v).forEach(_=>{Object.getOwnPropertyDescriptor(v,_).enumerable&&l([...c,_],p)})}}else o=Cx(o,c,v)}l([])}),o}function hJ(...e){return dJ(e)}var Dx=zI();const w5=Pn(Dx);function pJ(){}let oc=null,R5=pJ;R5=(e,t,n)=>{ac(e,`[antd: ${t}] ${n}`)};const O5=R5,T5=F.createContext({}),ZS=e=>{const{strict:t}=F.useContext(T5),n=(i,o,u)=>{if(!i)if(t===!1&&o==="deprecated"){const l=oc;oc||(oc={}),oc[e]=oc[e]||[],oc[e].includes(u||"")||oc[e].push(u||""),l||console.warn("[antd] There exists deprecated usage in your code:",oc)}else O5(i,e,u)};return n.deprecated=(i,o,u,l="")=>{n(i,"deprecated",`\`${o}\` is deprecated. Please use \`${u}\` instead.${l?` ${l}`:""}`)},n},Mx=F.createContext(null);function mJ({children:e,onBatchResize:t}){const n=F.useRef(0),i=F.useRef([]),o=F.useContext(Mx),u=F.useCallback((l,c,h)=>{n.current+=1;const p=n.current;i.current.push({size:l,element:c,data:h}),Promise.resolve().then(()=>{p===n.current&&(t==null||t(i.current),i.current=[])}),o==null||o(l,c,h)},[t,o]);return F.createElement(Mx.Provider,{value:u},e)}const sc=new Map;function gJ(e){e.forEach(t=>{var i;const{target:n}=t;(i=sc.get(n))==null||i.forEach(o=>o(n))})}let Nx;function x5(){return Nx||(Nx=new ResizeObserver(gJ)),Nx}function vJ(e,t){sc.has(e)||(sc.set(e,new Set),x5().observe(e)),sc.get(e).add(t)}function yJ(e,t){sc.has(e)&&(sc.get(e).delete(t),sc.get(e).size||(x5().unobserve(e),sc.delete(e)))}function A5(e,t,n,i){const o=F.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),u=Nr(h=>{const{width:p,height:v}=h.getBoundingClientRect(),{offsetWidth:b,offsetHeight:S}=h,_=Math.floor(p),x=Math.floor(v);if(o.current.width!==_||o.current.height!==x||o.current.offsetWidth!==b||o.current.offsetHeight!==S){const R={width:_,height:x,offsetWidth:b,offsetHeight:S};o.current=R;const O=b===Math.round(p)?p:b,T=S===Math.round(v)?v:S,M={...R,offsetWidth:O,offsetHeight:T};i==null||i(M,h),Promise.resolve().then(()=>{n==null||n(M,h)})}}),l=typeof t=="function",c=F.useRef(0);F.useEffect(()=>{const h=l?t():t;return h&&e?vJ(h,u):e&&l&&(c.current+=1),()=>{h&&yJ(h,u)}},[e,l?c.current:t])}function bJ(e,t){const{children:n,disabled:i,onResize:o,data:u}=e,l=F.useRef(null),c=F.useContext(Mx),h=typeof n=="function",p=h?n(l):n,v=!h&&F.isValidElement(p)&&bx(p),b=v?YS(p):null,S=yx(b,l),_=()=>wx(l.current);return F.useImperativeHandle(t,()=>_()),A5(!i,_,o,(x,R)=>{c==null||c(x,R,u)}),v?F.cloneElement(p,{ref:S}):p}const C5=F.forwardRef(bJ);C5.displayName="SingleObserver";function Px(){return Px=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Px.apply(this,arguments)}const SJ="rc-observer-key";function _J(e,t){const{children:n}=e,i=typeof n=="function"?[n]:xx(n);return i.length>1?XS(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):i.length===0&&XS(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),i.map((o,u)=>{const l=(o==null?void 0:o.key)||`${SJ}-${u}`;return F.createElement(C5,Px({},e,{key:l,ref:u===0?t:void 0}),o)})}const kx=F.forwardRef(_J);kx.displayName="ResizeObserver",kx.Collection=mJ;function D5(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=D5(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function dn(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=D5(e))&&(i&&(i+=" "),i+=t);return i}function jx(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function EJ(e){if(Array.isArray(e))return jx(e)}function M5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lx(e,t){if(e){if(typeof e=="string")return jx(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jx(e,t):void 0}}function wJ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
350
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JS(e){return EJ(e)||M5(e)||Lx(e)||wJ()}const N5="ant",P5="anticon",RJ=(e,t)=>t||(e?`${N5}-${e}`:N5),Qh=F.createContext({getPrefixCls:RJ,iconPrefixCls:P5}),{Consumer:wme}=Qh;function pv(e){for(var t=0,n,i=0,o=e.length;o>=4;++i,o-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const OJ="%";function Ix(e){return e.join(OJ)}let k5=0;class TJ{constructor(t){we(this,"instanceId");we(this,"cache",new Map);we(this,"updateTimes",new Map);we(this,"extracted",new Set);this.instanceId=t}get(t){return this.opGet(Ix(t))}opGet(t){return this.cache.get(t)||null}update(t,n){return this.opUpdate(Ix(t),n)}opUpdate(t,n){const i=this.cache.get(t),o=n(i);o===null?(this.cache.delete(t),this.updateTimes.delete(t)):(this.cache.set(t,o),this.updateTimes.set(t,k5),k5+=1)}}const j5="data-token-hash",Pf="data-css-hash",xJ="data-cache-path",uc="__cssinjs_instance__";function AJ(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Pf}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(o=>{o[uc]||(o[uc]=e),o[uc]===e&&document.head.insertBefore(o,n)});const i={};Array.from(document.querySelectorAll(`style[${Pf}]`)).forEach(o=>{var l;const u=o.getAttribute(Pf);i[u]?o[uc]===e&&((l=o.parentNode)==null||l.removeChild(o)):i[u]=!0})}return new TJ(e)}const e_=F.createContext({hashPriority:"low",cache:AJ(),defaultCache:!0,autoPrefix:!1});function CJ(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const _p=class _p{constructor(){we(this,"cache");we(this,"keys");we(this,"cacheCallTimes");this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,n=!1){let i={map:this.cache};return t.forEach(o=>{var u;i?i=(u=i==null?void 0:i.map)==null?void 0:u.get(o):i=void 0}),i!=null&&i.value&&n&&(i.value[1]=this.cacheCallTimes++),i==null?void 0:i.value}get(t){var n;return(n=this.internalGet(t,!0))==null?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>_p.MAX_CACHE_SIZE+_p.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((u,l)=>{const[,c]=u;return this.internalGet(l)[1]<c?[l,this.internalGet(l)[1]]:u},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let i=this.cache;t.forEach((o,u)=>{if(u===t.length-1)i.set(o,{value:[n,this.cacheCallTimes++]});else{const l=i.get(o);l?l.map||(l.map=new Map):i.set(o,{map:new Map}),i=i.get(o).map}})}deleteByPath(t,n){var u;const i=t.get(n[0]);if(n.length===1)return i.map?t.set(n[0],{map:i.map}):t.delete(n[0]),(u=i.value)==null?void 0:u[0];const o=this.deleteByPath(i.map,n.slice(1));return(!i.map||i.map.size===0)&&!i.value&&t.delete(n[0]),o}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!CJ(n,t)),this.deleteByPath(this.cache,t)}};we(_p,"MAX_CACHE_SIZE",20),we(_p,"MAX_CACHE_OFFSET",5);let $x=_p,L5=0;class I5{constructor(t){we(this,"derivatives");we(this,"id");this.derivatives=Array.isArray(t)?t:[t],this.id=L5,t.length===0&&XS(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L5+=1}getDerivativeToken(t){return this.derivatives.reduce((n,i)=>i(t,n),void 0)}}const zx=new $x;function qx(e){const t=Array.isArray(e)?e:[e];return zx.has(t)||zx.set(t,new I5(t)),zx.get(t)}const DJ=new WeakMap,Ux={};function MJ(e,t){let n=DJ;for(let i=0;i<t.length;i+=1){const o=t[i];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(Ux)||n.set(Ux,e()),n.get(Ux)}const $5=new WeakMap;function mv(e){let t=$5.get(e)||"";return t||(Object.keys(e).forEach(n=>{const i=e[n];t+=n,i instanceof I5?t+=i.id:i&&typeof i=="object"?t+=mv(i):t+=i}),t=pv(t),$5.set(e,t)),t}function NJ(e,t){return pv(`${t}_${mv(e)}`)}const z5=oo();function q5(e){const{hashCls:t,hashPriority:n="low"}=e||{};if(!t)return"";const i=`.${t}`;return n==="low"?`:where(${i})`:i}const PJ=e=>e!=null;function U5(e,t){const n=typeof t=="function"?t():t;return n?{...e,csp:{...e.csp,nonce:n}}:e}const kJ=(e,t="")=>`--${t?`${t}-`:""}${e}`.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase(),jJ=(e,t,n)=>{const{hashCls:i,hashPriority:o="low",scope:u}=n||{};if(!Object.keys(e).length)return"";const l=`${q5({hashCls:i,hashPriority:o})}.${t}`,c=[u].flat().filter(Boolean);return`${c.length?c.map(p=>`${l}.${p}`).join(", "):l}{${Object.entries(e).map(([p,v])=>`${p}:${v};`).join("")}}`},LJ=(e,t,n)=>{const{hashCls:i,hashPriority:o="low",prefix:u,unitless:l,ignore:c,preserve:h}=n||{},p={},v={};return Object.entries(e).forEach(([b,S])=>{if(h!=null&&h[b])v[b]=S;else if((typeof S=="string"||typeof S=="number")&&!(c!=null&&c[b])){const _=kJ(b,u);p[_]=typeof S=="number"&&!(l!=null&&l[b])?`${S}px`:String(S),v[b]=`var(${_})`}}),[v,jJ(p,t,{scope:n==null?void 0:n.scope,hashCls:i,hashPriority:o})]};let Bx=!1;function IJ(){return Bx}const $J=IJ;if(typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:null;if(e&&typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=(...n)=>(Bx=!0,setTimeout(()=>{Bx=!1},0),t(...n))}}const t_=new Map;function B5(e,t,n,i,o){const{cache:u}=F.useContext(e_),l=[e,...t],c=Ix(l),h=$J(),p=S=>{u.opUpdate(c,_=>{const[x=0,R]=_||[void 0,void 0];let O=R;R&&h&&(i==null||i(O,h),O=null);const T=O||n(),M=[x,T];return S?S(M):M})};F.useMemo(()=>{p()},[c]);let v=u.opGet(c);v||(p(),v=u.opGet(c));const b=v[1];return F.useInsertionEffect(()=>(p(([S,_])=>[S+1,_]),t_.has(c)||(o==null||o(b),t_.set(c,!0),Promise.resolve().then(()=>{t_.delete(c)})),()=>{u.opUpdate(c,S=>{const[_=0,x]=S||[];return _-1===0?(i==null||i(x,!1),t_.delete(c),null):[_-1,x]})}),[c]),b}const zJ={},qJ="css-dev-only-do-not-override",kf=new Map;function UJ(e){kf.set(e,(kf.get(e)||0)+1)}function BJ(e,t){typeof document<"u"&&document.querySelectorAll(`style[${j5}="${e}"]`).forEach(i=>{var o;i[uc]===t&&((o=i.parentNode)==null||o.removeChild(i))})}const HJ=-1;function FJ(e,t){kf.set(e,(kf.get(e)||0)-1);const n=new Set;kf.forEach((i,o)=>{i<=0&&n.add(o)}),kf.size-n.size>HJ&&n.forEach(i=>{BJ(i,t),kf.delete(i)})}const VJ=(e,t,n,i)=>{let u={...n.getDerivativeToken(e),...t};return i&&(u=i(u)),u},YJ="token";function GJ(e,t,n){const{cache:{instanceId:i},container:o,hashPriority:u}=F.useContext(e_),{salt:l="",override:c=zJ,formatToken:h,getComputedToken:p,cssVar:v,nonce:b}=n,S=MJ(()=>Object.assign({},...t),t),_=mv(S),x=mv(c),R=mv(v);return B5(YJ,[l,e.id,_,x,R],()=>{const T=p?p(S,c,e):VJ(S,c,e,h),M={...T},P=`${l}_${v.prefix}`,C=pv(P),k=`${qJ}-${C}`;M._tokenKey=NJ(M,P);const[L,z]=LJ(T,v.key,{prefix:v.prefix,ignore:v.ignore,unitless:v.unitless,preserve:v.preserve,hashPriority:u,hashCls:v.hashed?k:void 0});return L._hashId=C,UJ(v.key),[L,k,M,z,v.key]},([,,,,T])=>{FJ(T,i)},([,,,T,M])=>{if(!T)return;let P={mark:Pf,prepend:"queue",attachTo:o,priority:-999};P=U5(P,b);const C=Wh(T,pv(`css-var-${M}`),P);C[uc]=i,C.setAttribute(j5,M)})}var WJ={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wn="-ms-",gv="-moz-",_n="-webkit-",H5="comm",Hx="rule",Fx="decl",XJ="@import",QJ="@namespace",F5="@keyframes",KJ="@layer",ZJ=Math.abs,vv=String.fromCharCode,Vx=Object.assign;function JJ(e,t){return ti(e,0)^45?(((t<<2^ti(e,0))<<2^ti(e,1))<<2^ti(e,2))<<2^ti(e,3):0}function V5(e){return e.trim()}function el(e,t){return(e=t.exec(e))?e[0]:e}function Wt(e,t,n){return e.replace(t,n)}function Yx(e,t){return e.indexOf(t)}function ti(e,t){return e.charCodeAt(t)|0}function jf(e,t,n){return e.slice(t,n)}function Cs(e){return e.length}function Y5(e){return e.length}function yv(e,t){return t.push(e),e}function eee(e,t){return e.map(t).join("")}function G5(e,t){return e.filter(function(n){return!el(n,t)})}var n_=1,Kh=1,W5=0,No=0,Pr=0,Zh="";function r_(e,t,n,i,o,u,l,c){return{value:e,root:t,parent:n,type:i,props:o,children:u,line:n_,column:Kh,length:l,return:"",siblings:c}}function lc(e,t){return Vx(r_("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Jh(e){for(;e.root;)e=lc(e.root,{children:[e]});yv(e,e.siblings)}function tee(){return Pr}function nee(){return Pr=No>0?ti(Zh,--No):0,Kh--,Pr===10&&(Kh=1,n_--),Pr}function Ds(){return Pr=No<W5?ti(Zh,No++):0,Kh++,Pr===10&&(Kh=1,n_++),Pr}function cc(){return ti(Zh,No)}function i_(){return No}function a_(e,t){return jf(Zh,e,t)}function bv(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ree(e){return n_=Kh=1,W5=Cs(Zh=e),No=0,[]}function iee(e){return Zh="",e}function Gx(e){return V5(a_(No-1,Wx(e===91?e+2:e===40?e+1:e)))}function aee(e){for(;(Pr=cc())&&Pr<33;)Ds();return bv(e)>2||bv(Pr)>3?"":" "}function oee(e,t){for(;--t&&Ds()&&!(Pr<48||Pr>102||Pr>57&&Pr<65||Pr>70&&Pr<97););return a_(e,i_()+(t<6&&cc()==32&&Ds()==32))}function Wx(e){for(;Ds();)switch(Pr){case e:return No;case 34:case 39:e!==34&&e!==39&&Wx(Pr);break;case 40:e===41&&Wx(e);break;case 92:Ds();break}return No}function see(e,t){for(;Ds()&&e+Pr!==57;)if(e+Pr===84&&cc()===47)break;return"/*"+a_(t,No-1)+"*"+vv(e===47?e:Ds())}function uee(e){for(;!bv(cc());)Ds();return a_(e,No)}function X5(e){return iee(o_("",null,null,null,[""],e=ree(e),0,[0],e))}function o_(e,t,n,i,o,u,l,c,h){for(var p=0,v=0,b=l,S=0,_=0,x=0,R=1,O=1,T=1,M=0,P=0,C="",k=o,L=u,z=i,U=C;O;)switch(x=P,P=Ds()){case 40:x!=108&&ti(U,b-1)==58?(M++,U+="("):U+=Gx(P);break;case 41:M--,U+=")";break;case 34:case 39:case 91:U+=Gx(P);break;case 9:case 10:case 13:case 32:if(M>0){U+=vv(P);break}U+=aee(x);break;case 92:U+=oee(i_()-1,7);continue;case 47:switch(cc()){case 42:case 47:yv(lee(see(Ds(),i_()),t,n,h),h),(bv(x||1)==5||bv(cc()||1)==5)&&Cs(U)&&jf(U,-1,void 0)!==" "&&(U+=" ");break;default:U+="/"}break;case 123*R:c[p++]=Cs(U)*T;case 125*R:case 59:case 0:if(M>0&&P){U+=vv(P);break}switch(P){case 0:case 125:O=0;case 59+v:T==-1&&(U=Wt(U,/\f/g,"")),_>0&&(Cs(U)-b||R===0)&&yv(_>32?K5(U+";",i,n,b-1,h):K5(Wt(U," ","")+";",i,n,b-2,h),h);break;case 59:U+=";";default:if(yv(z=Q5(U,t,n,p,v,o,c,C,k=[],L=[],b,u),u),P===123)if(v===0)o_(U,t,z,z,k,u,b,c,L);else{switch(S){case 99:if(ti(U,3)===110)break;case 108:if(ti(U,2)===97)break;default:v=0;case 100:case 109:case 115:}v?o_(e,z,z,i&&yv(Q5(e,z,z,0,0,o,c,C,o,k=[],b,L),L),o,L,b,c,i?k:L):o_(U,z,z,z,[""],L,0,c,L)}}p=v=_=0,R=T=1,C=U="",b=l;break;case 58:b=1+Cs(U),_=x;default:if(R<1){if(P==123)--R;else if(P==125&&R++==0&&nee()==125)continue}switch(U+=vv(P),P*R){case 38:T=v>0?1:(U+="\f",-1);break;case 44:if(M>0)break;c[p++]=(Cs(U)-1)*T,T=1;break;case 64:cc()===45&&(U+=Gx(Ds())),S=cc(),v=b=Cs(C=U+=uee(i_())),P++;break;case 45:x===45&&Cs(U)==2&&(R=0)}}return u}function Q5(e,t,n,i,o,u,l,c,h,p,v,b){for(var S=o-1,_=o===0?u:[""],x=Y5(_),R=0,O=0,T=0;R<i;++R)for(var M=0,P=jf(e,S+1,S=ZJ(O=l[R])),C=e;M<x;++M)(C=V5(O>0?_[M]+" "+P:Wt(P,/&\f/g,_[M])))&&(h[T++]=C);return r_(e,t,n,o===0?Hx:c,h,p,v,b)}function lee(e,t,n,i){return r_(e,t,n,H5,vv(tee()),jf(e,2,-2),0,i)}function K5(e,t,n,i,o){return r_(e,t,n,Fx,jf(e,0,i),jf(e,i+1,-1),i,o)}function Z5(e,t,n){switch(JJ(e,t)){case 5103:return _n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return _n+e+e;case 4855:return _n+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return gv+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _n+e+gv+e+Wn+e+e;case 5936:switch(ti(e,t+11)){case 114:return _n+e+Wn+Wt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _n+e+Wn+Wt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _n+e+Wn+Wt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return _n+e+Wn+e+e;case 6165:return _n+e+Wn+"flex-"+e+e;case 5187:return _n+e+Wt(e,/(\w+).+(:[^]+)/,_n+"box-$1$2"+Wn+"flex-$1$2")+e;case 5443:return _n+e+Wn+"flex-item-"+Wt(e,/flex-|-self/g,"")+(el(e,/flex-|baseline/)?"":Wn+"grid-row-"+Wt(e,/flex-|-self/g,""))+e;case 4675:return _n+e+Wn+"flex-line-pack"+Wt(e,/align-content|flex-|-self/g,"")+e;case 5548:return _n+e+Wn+Wt(e,"shrink","negative")+e;case 5292:return _n+e+Wn+Wt(e,"basis","preferred-size")+e;case 6060:return _n+"box-"+Wt(e,"-grow","")+_n+e+Wn+Wt(e,"grow","positive")+e;case 4554:return _n+Wt(e,/([^-])(transform)/g,"$1"+_n+"$2")+e;case 6187:return Wt(Wt(Wt(e,/(zoom-|grab)/,_n+"$1"),/(image-set)/,_n+"$1"),e,"")+e;case 5495:case 3959:return Wt(e,/(image-set\([^]*)/,_n+"$1$`$1");case 4968:return Wt(Wt(e,/(.+:)(flex-)?(.*)/,_n+"box-pack:$3"+Wn+"flex-pack:$3"),/space-between/,"justify")+_n+e+e;case 4200:if(!el(e,/flex-|baseline/))return Wn+"grid-column-align"+jf(e,t)+e;break;case 2592:case 3360:return Wn+Wt(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(i,o){return t=o,el(i.props,/grid-\w+-end/)})?~Yx(e+(n=n[t].value),"span")?e:Wn+Wt(e,"-start","")+e+Wn+"grid-row-span:"+(~Yx(n,"span")?el(n,/\d+/):+el(n,/\d+/)-+el(e,/\d+/))+";":Wn+Wt(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(i){return el(i.props,/grid-\w+-start/)})?e:Wn+Wt(Wt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Wt(e,/(.+)-inline(.+)/,_n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Cs(e)-1-t>6)switch(ti(e,t+1)){case 109:if(ti(e,t+4)!==45)break;case 102:return Wt(e,/(.+:)(.+)-([^]+)/,"$1"+_n+"$2-$3$1"+gv+(ti(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yx(e,"stretch")?Z5(Wt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Wt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(i,o,u,l,c,h,p){return Wn+o+":"+u+p+(l?Wn+o+"-span:"+(c?h:+h-+u)+p:"")+e});case 4949:if(ti(e,t+6)===121)return Wt(e,":",":"+_n)+e;break;case 6444:switch(ti(e,ti(e,14)===45?18:11)){case 120:return Wt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+_n+(ti(e,14)===45?"inline-":"")+"box$3$1"+_n+"$2$3$1"+Wn+"$2box$3")+e;case 100:return Wt(e,":",":"+Wn)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Wt(e,"scroll-","scroll-snap-")+e}return e}function Sv(e,t){for(var n="",i=0;i<e.length;i++)n+=t(e[i],i,e,t)||"";return n}function J5(e,t,n,i){switch(e.type){case KJ:if(e.children.length)break;case XJ:case QJ:case Fx:return e.return=e.return||e.value;case H5:return"";case F5:return e.return=e.value+"{"+Sv(e.children,i)+"}";case Hx:if(!Cs(e.value=e.props.join(",")))return""}return Cs(n=Sv(e.children,i))?e.return=e.value+"{"+n+"}":""}function cee(e){var t=Y5(e);return function(n,i,o,u){for(var l="",c=0;c<t;c++)l+=e[c](n,i,o,u)||"";return l}}function fee(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Fx:e.return=Z5(e.value,e.length,n);return;case F5:return Sv([lc(e,{value:Wt(e.value,"@","@"+_n)})],i);case Hx:if(e.length)return eee(n=e.props,function(o){switch(el(o,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Jh(lc(e,{props:[Wt(o,/:(read-\w+)/,":"+gv+"$1")]})),Jh(lc(e,{props:[o]})),Vx(e,{props:G5(n,i)});break;case"::placeholder":Jh(lc(e,{props:[Wt(o,/:(plac\w+)/,":"+_n+"input-$1")]})),Jh(lc(e,{props:[Wt(o,/:(plac\w+)/,":"+gv+"$1")]})),Jh(lc(e,{props:[Wt(o,/:(plac\w+)/,Wn+"input-$1")]})),Jh(lc(e,{props:[o]})),Vx(e,{props:G5(n,i)});break}return""})}}function eq(e,t){const{path:n,parentSelectors:i}=t;ac(!1,`[Ant Design CSS-in-JS] ${n?`Error in ${n}: `:""}${e}${i.length?` Selector: ${i.join(" | ")}`:""}`)}const dee=(e,t,n)=>{if(e==="content"){const i=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!i.test(t)&&!t.startsWith("var(")&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&eq(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},hee=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&eq(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},tq="data-ant-cssinjs-cache-path",nq="_FILE_STYLE__";let Lf,rq=!0;function pee(){var e;if(!Lf&&(Lf={},oo())){const t=document.createElement("div");t.className=tq,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(o=>{const[u,l]=o.split(":");Lf[u]=l});const i=document.querySelector(`style[${tq}]`);i&&(rq=!1,(e=i.parentNode)==null||e.removeChild(i)),document.body.removeChild(t)}}function mee(e){return pee(),!!Lf[e]}function gee(e){const t=Lf[e];let n=null;if(t&&oo())if(rq)n=nq;else{const i=document.querySelector(`style[${Pf}="${Lf[e]}"]`);i?n=i.innerHTML:delete Lf[e]}return[n,t]}const iq="_skip_check_",aq="_multi_value_";function Xx(e,t){return(t?Sv(X5(e),cee([fee,J5])):Sv(X5(e),J5)).replace(/\{%%%\:[^;];}/g,";")}function vee(e){return typeof e=="object"&&e&&(iq in e||aq in e)}function oq(e,t,n="high"){if(!t)return e;const i=q5({hashCls:t,hashPriority:n});return e.split(",").map(u=>{var p;const l=u.trim().split(/\s+/);let c=l[0]||"";const h=((p=c.match(/^\w+/))==null?void 0:p[0])||"";return c=`${h}${i}${c.slice(h.length)}`,[c,...l.slice(1)].join(" ")}).join(",")}const Qx=(e,t={},{root:n,injectHash:i,parentSelectors:o}={root:!0,parentSelectors:[]})=>{const{hashId:u,layer:l,path:c,hashPriority:h,transformers:p=[],linters:v=[]}=t;let b="",S={};function _(O){const T=O.getName(u);if(!S[T]){const[M]=Qx(O.style,t,{root:!1,parentSelectors:o});S[T]=`@keyframes ${O.getName(u)}${M}`}}function x(O,T=[]){return O.forEach(M=>{Array.isArray(M)?x(M,T):M&&T.push(M)}),T}return x(Array.isArray(e)?e:[e]).forEach(O=>{const T=typeof O=="string"&&!n?{}:O;if(typeof T=="string")b+=`${T}
|
|
351
|
+
`;else if(T._keyframe)_(T);else{const M=p.reduce((P,C)=>{var k;return((k=C==null?void 0:C.visit)==null?void 0:k.call(C,P))||P},T);Object.keys(M).forEach(P=>{const C=M[P];if(typeof C=="object"&&C&&(P!=="animationName"||!C._keyframe)&&!vee(C)){let k=!1,L=P.trim(),z=!1;(n||i)&&u?L.startsWith("@")?k=!0:L==="&"?L=oq("",u,h):L=oq(P,u,h):n&&!u&&(L==="&"||L==="")&&(L="",z=!0);const[U,G]=Qx(C,t,{root:z,injectHash:k,parentSelectors:[...o,L]});S={...S,...G},b+=`${L}${U}`}else{let k=function(z,U){(typeof C!="object"||!(C!=null&&C[iq]))&&[dee,hee,...v].forEach(Y=>Y(z,U,{path:c,hashId:u,parentSelectors:o}));const G=z.replace(/[A-Z]/g,Y=>`-${Y.toLowerCase()}`);let B=U;!WJ[z]&&typeof B=="number"&&B!==0&&(B=`${B}px`),z==="animationName"&&(U!=null&&U._keyframe)&&(_(U),B=U.getName(u)),b+=`${G}:${B};`};const L=(C==null?void 0:C.value)??C;typeof C=="object"&&(C!=null&&C[aq])&&Array.isArray(L)?L.forEach(z=>{k(P,z)}):PJ(L)&&k(P,L)}})}}),n?l&&(b&&(b=`@layer ${l.name} {${b}}`),l.dependencies&&(S[`@layer ${l.name}`]=l.dependencies.map(O=>`@layer ${O}, ${l.name};`).join(`
|
|
352
|
+
`))):b=`{${b}}`,[b,S]};function yee(e,t){return pv(`${e.join("%")}${t}`)}const bee="style";function See(e,t){const{path:n,hashId:i,layer:o,nonce:u,clientOnly:l,order:c=0}=e,{mock:h,hashPriority:p,container:v,transformers:b,linters:S,cache:_,layer:x,autoPrefix:R}=F.useContext(e_),O=[i||""];x&&O.push("layer"),O.push(...n);let T=z5;h!==void 0&&(T=h==="client"),B5(bee,O,()=>{const M=O.join("|");if(mee(M)){const[U,G]=gee(M);if(U)return[U,G,{},l,c]}const P=t(),[C,k]=Qx(P,{hashId:i,hashPriority:p,layer:x?o:void 0,path:n.join("-"),transformers:b,linters:S}),L=Xx(C,R||!1),z=yee(O,L);return[L,z,k,l,c]},(M,P)=>{const[,C]=M;P&&z5&&WS(C,{mark:Pf,attachTo:v})},M=>{const[P,C,k,,L]=M;if(T&&P!==nq){let z={mark:Pf,prepend:x?!1:"queue",attachTo:v,priority:L};z=U5(z,u);const U=[],G=[];Object.keys(k).forEach(Y=>{Y.startsWith("@layer")?U.push(Y):G.push(Y)}),U.forEach(Y=>{Wh(Xx(k[Y],R||!1),`_layer-${Y}`,{...z,prepend:!0})});const B=Wh(P,C,z);B[uc]=_.instanceId,B.setAttribute(xJ,O.join("|")),G.forEach(Y=>{Wh(Xx(k[Y],R||!1),`_effect-${Y}`,z)})}})}class _ee{constructor(t,n){we(this,"name");we(this,"style");we(this,"_keyframe",!0);this.name=t,this.style=n}getName(t=""){return t?`${t}-${this.name}`:this.name}}function ep(e){return e.notSplit=!0,e}ep(["borderTop","borderBottom"]),ep(["borderTop"]),ep(["borderBottom"]),ep(["borderLeft","borderRight"]),ep(["borderLeft"]),ep(["borderRight"]);function Ms(e){"@babel/helpers - typeof";return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function sq(e){if(Array.isArray(e))return e}function Eee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,o,u,l,c=[],h=!0,p=!1;try{if(u=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;h=!1}else for(;!(h=(i=u.call(n)).done)&&(c.push(i.value),c.length!==t);h=!0);}catch(v){p=!0,o=v}finally{try{if(!h&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(p)throw o}}return c}}function uq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
353
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Po(e,t){return sq(e)||Eee(e,t)||Lx(e,t)||uq()}function wee(e,t){if(Ms(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Ms(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function lq(e){var t=wee(e,"string");return Ms(t)=="symbol"?t:t+""}function Er(e,t,n){return(t=lq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cq(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,lq(i.key),i)}}function jr(e,t,n){return t&&cq(e.prototype,t),n&&cq(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ree(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s_(e,t){return s_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},s_(e,t)}function Xi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s_(e,t)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hn(e)}function Qi(e,t){if(t&&(Ms(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ree(e)}var Oee=1e3*60*10,Tee=(function(){function e(){kr(this,e),Er(this,"map",new Map),Er(this,"objectIDMap",new WeakMap),Er(this,"nextID",0),Er(this,"lastAccessBeat",new Map),Er(this,"accessBeat",0)}return jr(e,[{key:"set",value:function(n,i){this.clear();var o=this.getCompositeKey(n);this.map.set(o,i),this.lastAccessBeat.set(o,Date.now())}},{key:"get",value:function(n){var i=this.getCompositeKey(n),o=this.map.get(i);return this.lastAccessBeat.set(i,Date.now()),this.accessBeat+=1,o}},{key:"getCompositeKey",value:function(n){var i=this,o=n.map(function(u){return u&&Ms(u)==="object"?"obj_".concat(i.getObjectID(u)):"".concat(Ms(u),"_").concat(u)});return o.join("|")}},{key:"getObjectID",value:function(n){if(this.objectIDMap.has(n))return this.objectIDMap.get(n);var i=this.nextID;return this.objectIDMap.set(n,i),this.nextID+=1,i}},{key:"clear",value:function(){var n=this;if(this.accessBeat>1e4){var i=Date.now();this.lastAccessBeat.forEach(function(o,u){i-o>Oee&&(n.map.delete(u),n.lastAccessBeat.delete(u))}),this.accessBeat=0}}}]),e})();new Tee;const xee=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Aee(e){return(e+8)/e}function Cee(e){const t=Array.from({length:10}).map((n,i)=>{const o=i-1,u=e*Math.E**(o/5),l=i>1?Math.floor(u):Math.ceil(u);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Aee(n)}))}const Dee="6.4.4",fq={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},_v={...fq,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
354
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
355
|
+
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0},Mee={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},di=Math.round;function Kx(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],i=n.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)i[o]=t(i[o]||0,n[o]||"",o);return n[3]?i[3]=n[3].includes("%")?i[3]/100:i[3]:i[3]=1,i}const dq=(e,t,n)=>n===0?e:e/100;function Ev(e,t){const n=t||255;return e>n?n:e<0?0:e}class Ki{constructor(t){we(this,"isValid",!0);we(this,"r",0);we(this,"g",0);we(this,"b",0);we(this,"a",1);we(this,"_h");we(this,"_hsl_s");we(this,"_hsv_s");we(this,"_l");we(this,"_v");we(this,"_max");we(this,"_min");we(this,"_brightness");function n(i){return i[0]in t&&i[1]in t&&i[2]in t}if(t)if(typeof t=="string"){let o=function(u){return i.startsWith(u)};const i=t.trim();if(/^#?[A-F\d]{3,8}$/i.test(i))this.fromHexString(i);else if(o("rgb"))this.fromRgbString(i);else if(o("hsl"))this.fromHslString(i);else if(o("hsv")||o("hsb"))this.fromHsvString(i);else{const u=Mee[i.toLowerCase()];u&&this.fromHexString(parseInt(u,36).toString(16).padStart(6,"0"))}}else if(t instanceof Ki)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._hsl_s=t._hsl_s,this._hsv_s=t._hsv_s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Ev(t.r),this.g=Ev(t.g),this.b=Ev(t.b),this.a=typeof t.a=="number"?Ev(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(u){const l=u/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const n=t(this.r),i=t(this.g),o=t(this.b);return .2126*n+.7152*i+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=di(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){return this.getHSVSaturation()}getHSVSaturation(){if(typeof this._hsv_s>"u"){const t=this.getMax()-this.getMin();t===0?this._hsv_s=0:this._hsv_s=t/this.getMax()}return this._hsv_s}getHSLSaturation(){if(typeof this._hsl_s>"u"){const t=this.getMax()-this.getMin();if(t===0)this._hsl_s=0;else{const n=this.getLightness();this._hsl_s=t/255/(1-Math.abs(2*n-1))}}return this._hsl_s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),i=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:n,s:i,l:o,a:this.a})}lighten(t=10){const n=this.getHue(),i=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:n,s:i,l:o,a:this.a})}mix(t,n=50){const i=this._c(t),o=n/100,u=c=>(i[c]-this[c])*o+this[c],l={r:di(u("r")),g:di(u("g")),b:di(u("b")),a:di(u("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),i=this.a+n.a*(1-this.a),o=u=>di((this[u]*this.a+n[u]*n.a*(1-this.a))/i);return this._c({r:o("r"),g:o("g"),b:o("b"),a:i})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const i=(this.g||0).toString(16);t+=i.length===2?i:"0"+i;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const u=di(this.a*255).toString(16);t+=u.length===2?u:"0"+u}return t}toHsl(){return{h:this.getHue(),s:this.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=di(this.getHSLSaturation()*100),i=di(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${i}%,${this.a})`:`hsl(${t},${n}%,${i}%)`}toHsv(){return{h:this.getHue(),s:this.getHSVSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,i){const o=this.clone();return o[t]=Ev(n,i),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function i(o,u){return parseInt(n[o]+n[u||o],16)}n.length<6?(this.r=i(0),this.g=i(1),this.b=i(2),this.a=n[3]?i(3)/255:1):(this.r=i(0,1),this.g=i(2,3),this.b=i(4,5),this.a=n[6]?i(6,7)/255:1)}fromHsl({h:t,s:n,l:i,a:o}){const u=(t%360+360)%360;if(this._h=u,this._hsl_s=n,this._l=i,this.a=typeof o=="number"?o:1,n<=0){const _=di(i*255);this.r=_,this.g=_,this.b=_;return}let l=0,c=0,h=0;const p=u/60,v=(1-Math.abs(2*i-1))*n,b=v*(1-Math.abs(p%2-1));p>=0&&p<1?(l=v,c=b):p>=1&&p<2?(l=b,c=v):p>=2&&p<3?(c=v,h=b):p>=3&&p<4?(c=b,h=v):p>=4&&p<5?(l=b,h=v):p>=5&&p<6&&(l=v,h=b);const S=i-v/2;this.r=di((l+S)*255),this.g=di((c+S)*255),this.b=di((h+S)*255)}fromHsv({h:t,s:n,v:i,a:o}){const u=(t%360+360)%360;this._h=u,this._hsv_s=n,this._v=i,this.a=typeof o=="number"?o:1;const l=di(i*255);if(this.r=l,this.g=l,this.b=l,n<=0)return;const c=u/60,h=Math.floor(c),p=c-h,v=di(i*(1-n)*255),b=di(i*(1-n*p)*255),S=di(i*(1-n*(1-p))*255);switch(h){case 0:this.g=S,this.b=v;break;case 1:this.r=b,this.b=v;break;case 2:this.r=v,this.b=S;break;case 3:this.r=v,this.g=b;break;case 4:this.r=S,this.g=v;break;case 5:default:this.g=v,this.b=b;break}}fromHsvString(t){const n=Kx(t,dq);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=Kx(t,dq);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=Kx(t,(i,o)=>o.includes("%")?di(i/100*255):i);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const u_=2,hq=.16,Nee=.05,Pee=.05,kee=.15,pq=5,mq=4,jee=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function gq(e,t,n){let i;return Math.round(e.h)>=60&&Math.round(e.h)<=240?i=n?Math.round(e.h)-u_*t:Math.round(e.h)+u_*t:i=n?Math.round(e.h)+u_*t:Math.round(e.h)-u_*t,i<0?i+=360:i>=360&&(i-=360),i}function vq(e,t,n){if(e.h===0&&e.s===0)return e.s;let i;return n?i=e.s-hq*t:t===mq?i=e.s+hq:i=e.s+Nee*t,i>1&&(i=1),n&&t===pq&&i>.1&&(i=.1),i<.06&&(i=.06),Math.round(i*100)/100}function yq(e,t,n){let i;return n?i=e.v+Pee*t:i=e.v-kee*t,i=Math.max(0,Math.min(1,i)),Math.round(i*100)/100}function bq(e,t={}){const n=[],i=new Ki(e),o=i.toHsv();for(let u=pq;u>0;u-=1){const l=new Ki({h:gq(o,u,!0),s:vq(o,u,!0),v:yq(o,u,!0)});n.push(l)}n.push(i);for(let u=1;u<=mq;u+=1){const l=new Ki({h:gq(o,u),s:vq(o,u),v:yq(o,u)});n.push(l)}return t.theme==="dark"?jee.map(({index:u,amount:l})=>new Ki(t.backgroundColor||"#141414").mix(n[u],l).toHexString()):n.map(u=>u.toHexString())}const Zx={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Jx=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Jx.primary=Jx[5];const eA=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];eA.primary=eA[5];const tA=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];tA.primary=tA[5];const nA=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];nA.primary=nA[5];const rA=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];rA.primary=rA[5];const iA=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];iA.primary=iA[5];const aA=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];aA.primary=aA[5];const oA=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];oA.primary=oA[5];const sA=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];sA.primary=sA[5];const uA=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];uA.primary=uA[5];const lA=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];lA.primary=lA[5];const cA=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];cA.primary=cA[5];const fA=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];fA.primary=fA[5];const dA={red:Jx,volcano:eA,orange:tA,gold:nA,yellow:rA,lime:iA,green:aA,cyan:oA,blue:sA,geekblue:uA,purple:lA,magenta:cA,grey:fA};function Lee(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:i,colorWarning:o,colorError:u,colorInfo:l,colorPrimary:c,colorBgBase:h,colorTextBase:p}=e,v=t(c),b=t(i),S=t(o),_=t(u),x=t(l),R=n(h,p),O=e.colorLink||e.colorInfo,T=t(O),M=new Ki(_[1]).mix(new Ki(_[3]),50).toHexString(),P={};return xee.forEach(C=>{const k=e[C];if(k){const L=t(k);P[`${C}Hover`]=L[5],P[`${C}Active`]=L[7]}}),{...R,colorPrimaryBg:v[1],colorPrimaryBgHover:v[2],colorPrimaryBorder:v[3],colorPrimaryBorderHover:v[4],colorPrimaryHover:v[5],colorPrimary:v[6],colorPrimaryActive:v[7],colorPrimaryTextHover:v[8],colorPrimaryText:v[9],colorPrimaryTextActive:v[10],colorSuccessBg:b[1],colorSuccessBgHover:b[2],colorSuccessBorder:b[3],colorSuccessBorderHover:b[4],colorSuccessHover:b[4],colorSuccess:b[6],colorSuccessActive:b[7],colorSuccessTextHover:b[8],colorSuccessText:b[9],colorSuccessTextActive:b[10],colorErrorBg:_[1],colorErrorBgHover:_[2],colorErrorBgFilledHover:M,colorErrorBgActive:_[3],colorErrorBorder:_[3],colorErrorBorderHover:_[4],colorErrorHover:_[5],colorError:_[6],colorErrorActive:_[7],colorErrorTextHover:_[8],colorErrorText:_[9],colorErrorTextActive:_[10],colorWarningBg:S[1],colorWarningBgHover:S[2],colorWarningBorder:S[3],colorWarningBorderHover:S[4],colorWarningHover:S[4],colorWarning:S[6],colorWarningActive:S[7],colorWarningTextHover:S[8],colorWarningText:S[9],colorWarningTextActive:S[10],colorInfoBg:x[1],colorInfoBgHover:x[2],colorInfoBorder:x[3],colorInfoBorderHover:x[4],colorInfoHover:x[4],colorInfo:x[6],colorInfoActive:x[7],colorInfoTextHover:x[8],colorInfoText:x[9],colorInfoTextActive:x[10],colorLinkHover:T[4],colorLink:T[6],colorLinkActive:T[7],...P,colorBgMask:new Ki("#000").setA(.45).toRgbString(),colorWhite:"#fff"}}const Iee=e=>{let t=e,n=e,i=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?i=1:e>=6&&(i=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:i,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function $ee(e){const{motionUnit:t,motionBase:n,borderRadius:i,lineWidth:o}=e;return{motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1,...Iee(i)}}const zee=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},qee=e=>{const t=Cee(e),n=t.map(v=>v.size),i=t.map(v=>v.lineHeight),o=n[1],u=n[0],l=n[2],c=i[1],h=i[0],p=i[2];return{fontSizeSM:u,fontSize:o,fontSizeLG:l,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:p,lineHeightSM:h,fontHeight:Math.round(c*o),fontHeightLG:Math.round(p*l),fontHeightSM:Math.round(h*u),lineHeightHeading1:i[6],lineHeightHeading2:i[5],lineHeightHeading3:i[4],lineHeightHeading4:i[3],lineHeightHeading5:i[2]}};function Uee(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const ko=(e,t)=>new Ki(e).setA(t).toRgbString(),tp=(e,t)=>new Ki(e).darken(t).toHexString(),Bee=e=>{const t=bq(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Hee=(e,t,n)=>{const i=e||"#fff",o=t||"#000";return{colorBgBase:i,colorTextBase:o,colorShadow:n||"#000",colorText:ko(o,.88),colorTextSecondary:ko(o,.65),colorTextTertiary:ko(o,.45),colorTextQuaternary:ko(o,.25),colorFill:ko(o,.15),colorFillSecondary:ko(o,.06),colorFillTertiary:ko(o,.04),colorFillQuaternary:ko(o,.02),colorBgSolid:ko(o,1),colorBgSolidHover:ko(o,.75),colorBgSolidActive:ko(o,.95),colorBgLayout:tp(i,4),colorBgContainer:tp(i,0),colorBgElevated:tp(i,0),colorBgSpotlight:ko(o,.85),colorBgBlur:"transparent",colorBorder:tp(i,15),colorBorderDisabled:tp(i,15),colorBorderSecondary:tp(i,6)}};function Fee(e){Zx.pink=Zx.magenta,dA.pink=dA.magenta;const t=Object.keys(fq).map(n=>{const i=e[n]===Zx[n]?dA[n]:bq(e[n]);return Array.from({length:10},()=>1).reduce((o,u,l)=>(o[`${n}-${l+1}`]=i[l],o[`${n}${l+1}`]=i[l],o),{})}).reduce((n,i)=>(n={...n,...i},n),{});return{...e,...t,...Lee(e,{generateColorPalettes:Bee,generateNeutralColorPalettes:Hee}),...qee(e.fontSize),...Uee(e),...zee(e),...$ee(e)}}const Sq=qx(Fee),hA={token:_v,override:{override:_v},hashed:!0},_q=se.createContext(hA);function pA(e){return e>=0&&e<=255}function l_(e,t){const{r:n,g:i,b:o,a:u}=new Ki(e).toRgb();if(u<1)return e;const{r:l,g:c,b:h}=new Ki(t).toRgb();for(let p=.01;p<=1;p+=.01){const v=Math.round((n-l*(1-p))/p),b=Math.round((i-c*(1-p))/p),S=Math.round((o-h*(1-p))/p);if(pA(v)&&pA(b)&&pA(S))return new Ki({r:v,g:b,b:S,a:Math.round(p*100)/100}).toRgbString()}return new Ki({r:n,g:i,b:o,a:1}).toRgbString()}function Vee(e){const{override:t,...n}=e,i={...t};Object.keys(_v).forEach(O=>{delete i[O]});const o={...n,...i},u=new Ki(o.colorShadow),l=u.a,c=O=>u.clone().setA(l*O).toRgbString(),h=480,p=576,v=768,b=992,S=1200,_=1600,x=1920;return o.motion===!1&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),{...o,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:l_(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:l_(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:l_(o.colorWarningBg,o.colorBgContainer),colorErrorAffix:o.colorError,colorWarningAffix:o.colorWarning,fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:l_(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
356
|
+
0 6px 16px 0 ${c(.08)},
|
|
357
|
+
0 3px 6px -4px ${c(.12)},
|
|
358
|
+
0 9px 28px 8px ${c(.05)}
|
|
359
|
+
`,boxShadowSecondary:`
|
|
360
|
+
0 6px 16px 0 ${c(.08)},
|
|
361
|
+
0 3px 6px -4px ${c(.12)},
|
|
362
|
+
0 9px 28px 8px ${c(.05)}
|
|
363
|
+
`,boxShadowTertiary:`
|
|
364
|
+
0 1px 2px 0 ${c(.05)},
|
|
365
|
+
0 1px 6px -1px ${c(.03)},
|
|
366
|
+
0 2px 4px 0 ${c(.03)}
|
|
367
|
+
`,screenXS:h,screenXSMin:h,screenXSMax:p-1,screenSM:p,screenSMMin:p,screenSMMax:v-1,screenMD:v,screenMDMin:v,screenMDMax:b-1,screenLG:b,screenLGMin:b,screenLGMax:S-1,screenXL:S,screenXLMin:S,screenXLMax:_-1,screenXXL:_,screenXXLMin:_,screenXXLMax:x-1,screenXXXL:x,screenXXXLMin:x,boxShadowPopoverArrow:`2px 2px 5px ${c(.05)}`,dropShadowPopover:`drop-shadow(0 6px 16px ${c(.08)}) drop-shadow(0 3px 6px ${c(.12)}) drop-shadow(0 9px 28px ${c(.05)})`,boxShadowCard:`
|
|
368
|
+
0 1px 2px -2px ${c(.16)},
|
|
369
|
+
0 3px 6px 0 ${c(.12)},
|
|
370
|
+
0 5px 12px 4px ${c(.09)}
|
|
371
|
+
`,boxShadowDrawerRight:`
|
|
372
|
+
-6px 0 16px 0 ${c(.08)},
|
|
373
|
+
-3px 0 6px -4px ${c(.12)},
|
|
374
|
+
-9px 0 28px 8px ${c(.05)}
|
|
375
|
+
`,boxShadowDrawerLeft:`
|
|
376
|
+
6px 0 16px 0 ${c(.08)},
|
|
377
|
+
3px 0 6px -4px ${c(.12)},
|
|
378
|
+
9px 0 28px 8px ${c(.05)}
|
|
379
|
+
`,boxShadowDrawerUp:`
|
|
380
|
+
0 6px 16px 0 ${c(.08)},
|
|
381
|
+
0 3px 6px -4px ${c(.12)},
|
|
382
|
+
0 9px 28px 8px ${c(.05)}
|
|
383
|
+
`,boxShadowDrawerDown:`
|
|
384
|
+
0 -6px 16px 0 ${c(.08)},
|
|
385
|
+
0 -3px 6px -4px ${c(.12)},
|
|
386
|
+
0 -9px 28px 8px ${c(.05)}
|
|
387
|
+
`,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px ${c(.08)}`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px ${c(.08)}`,boxShadowTabsOverflowTop:`inset 0 10px 8px -8px ${c(.08)}`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px ${c(.08)}`,...i}}const Yee={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Gee={motionBase:!0,motionUnit:!0},Wee={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0,screenXXLMax:!0,screenXXXL:!0,screenXXXLMin:!0},Eq=(e,t,n)=>{const i=n.getDerivativeToken(e),{override:o,...u}=t;let l={...i,override:o};return l=Vee(l),u&&Object.entries(u).forEach(([c,h])=>{const{theme:p,...v}=h;let b=v;p&&(b=Eq({...l,...v},{override:v},p)),l[c]=b}),l};function wq(){const{token:e,hashed:t,theme:n,override:i,cssVar:o,zeroRuntime:u}=se.useContext(_q),{csp:l,getPrefixCls:c}=se.useContext(Qh),h={prefix:(o==null?void 0:o.prefix)??c(),key:(o==null?void 0:o.key)??"css-var-root"},p=`${Dee}-${t||""}`,v=n||Sq,[b,S,_]=GJ(v,[_v,e],{salt:p,override:i,getComputedToken:Eq,cssVar:{...h,unitless:Yee,ignore:Gee,preserve:Wee},nonce:l==null?void 0:l.nonce});return[v,_,t?S:"",b,h,!!u]}const Xee=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Qee=new _ee("loadingCircle",{"100%":{transform:"rotate(360deg)"}}),Kee=e=>({[`.${e}`]:{...Xee(),[`.${e} .${e}-icon`]:{display:"block"}},[`.${e}-spin`]:{animationName:Qee,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}}),Zee=(e,t)=>(wq(),See({hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>Kee(e))),Jee=F.createContext({}),Rq=F.createContext({}),ete=e=>{const{children:t,...n}=e,i=F.useMemo(()=>({motion:n.motion}),[n.motion]);return F.createElement(Rq.Provider,{value:i},t)},uu="none",c_="appear",f_="enter",d_="leave",Oq="none",Ns="prepare",If="start",$f="active",mA="end",Tq="prepared";function xq(e,t){const n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit${e}`]=`webkit${t}`,n[`Moz${e}`]=`moz${t}`,n[`ms${e}`]=`MS${t}`,n[`O${e}`]=`o${t.toLowerCase()}`,n}function tte(e,t){const n={animationend:xq("Animation","AnimationEnd"),transitionend:xq("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}const nte=tte(oo(),typeof window<"u"?window:{});let Aq={};oo()&&({style:Aq}=document.createElement("div"));const h_={};function Cq(e){if(h_[e])return h_[e];const t=nte[e];if(t){const n=Object.keys(t),i=n.length;for(let o=0;o<i;o+=1){const u=n[o];if(Object.prototype.hasOwnProperty.call(t,u)&&u in Aq)return h_[e]=t[u],h_[e]}}return""}const Dq=Cq("animationend"),Mq=Cq("transitionend"),rte=!!(Dq&&Mq),Nq=Dq||"animationend",Pq=Mq||"transitionend";function kq(e,t){if(!e)return null;if(typeof e=="object"){const n=t.replace(/-\w/g,i=>i[1].toUpperCase());return e[n]}return`${e}-${t}`}const ite=(e=>{const t=F.useRef();function n(o){o&&(o.removeEventListener(Pq,e),o.removeEventListener(Nq,e))}function i(o){t.current&&t.current!==o&&n(t.current),o&&o!==t.current&&(o.addEventListener(Pq,e),o.addEventListener(Nq,e),t.current=o)}return F.useEffect(()=>()=>{n(t.current),t.current=null},[]),[i,n]}),jq=oo()?F.useLayoutEffect:F.useEffect,ate=(()=>{const e=F.useRef(null);function t(){KS.cancel(e.current)}function n(i,o=2){t();const u=KS(()=>{o<=1?i({isCanceled:()=>u!==e.current}):n(i,o-1)});e.current=u}return F.useEffect(()=>()=>{t()},[]),[n,t]}),ote=[Ns,If,$f,mA],ste=[Ns,Tq],Lq=!1,ute=!0;function Iq(e){return e===$f||e===mA}const lte=((e,t,n)=>{const[i,o]=$Z(Oq),[u,l]=ate();function c(){o(Ns,!0)}const h=t?ste:ote;return jq(()=>{if(i!==Oq&&i!==mA){const p=h.indexOf(i),v=h[p+1],b=n(i);b===Lq?o(v,!0):v&&u(S=>{function _(){S.isCanceled()||o(v,!0)}b===!0?_():Promise.resolve(b).then(_)})}},[e,i]),F.useEffect(()=>()=>{l()},[]),[c,i]});function cte(e,t,n,{motionEnter:i=!0,motionAppear:o=!0,motionLeave:u=!0,motionDeadline:l,motionLeaveImmediately:c,onAppearPrepare:h,onEnterPrepare:p,onLeavePrepare:v,onAppearStart:b,onEnterStart:S,onLeaveStart:_,onAppearActive:x,onEnterActive:R,onLeaveActive:O,onAppearEnd:T,onEnterEnd:M,onLeaveEnd:P,onVisibleChanged:C}){const[k,L]=F.useState(),[z,U]=UZ(uu),[G,B]=F.useState([null,null]),Y=z(),K=F.useRef(!1),oe=F.useRef(null);function le(){return n()}const fe=F.useRef(!1);function W(){U(uu),B([null,null])}const ue=Nr(Pe=>{const Le=z();if(Le===uu)return;const Ne=le();if(Pe&&!Pe.deadline&&Pe.target!==Ne)return;const De=fe.current;let Ce;Le===c_&&De?Ce=T==null?void 0:T(Ne,Pe):Le===f_&&De?Ce=M==null?void 0:M(Ne,Pe):Le===d_&&De&&(Ce=P==null?void 0:P(Ne,Pe)),De&&Ce!==!1&&W()}),[ie]=ite(ue),_e=Pe=>{switch(Pe){case c_:return{[Ns]:h,[If]:b,[$f]:x};case f_:return{[Ns]:p,[If]:S,[$f]:R};case d_:return{[Ns]:v,[If]:_,[$f]:O};default:return{}}},ae=F.useMemo(()=>_e(Y),[Y]),[X,Q]=lte(Y,!e,Pe=>{var Le;if(Pe===Ns){const Ne=ae[Ns];return Ne?Ne(le()):Lq}return Pe in ae&&B([((Le=ae[Pe])==null?void 0:Le.call(ae,le(),null))||null,Pe]),Pe===$f&&Y!==uu&&(ie(le()),l>0&&(clearTimeout(oe.current),oe.current=setTimeout(()=>{ue({deadline:!0})},l))),Pe===Tq&&W(),ute}),te=Iq(Q);fe.current=te;const re=F.useRef(null);jq(()=>{if(K.current&&re.current===t)return;L(t);const Pe=K.current;K.current=!0;let Le;!Pe&&t&&o&&(Le=c_),Pe&&t&&i&&(Le=f_),(Pe&&!t&&u||!Pe&&c&&!t&&u)&&(Le=d_);const Ne=_e(Le);Le&&(e||Ne[Ns])?(U(Le),X()):U(uu),re.current=t},[t]),F.useEffect(()=>{(Y===c_&&!o||Y===f_&&!i||Y===d_&&!u)&&U(uu)},[o,i,u]),F.useEffect(()=>()=>{K.current=!1,clearTimeout(oe.current)},[]);const Ee=F.useRef(!1);F.useEffect(()=>{k&&(Ee.current=!0),k!==void 0&&Y===uu&&((Ee.current||k)&&(C==null||C(k)),Ee.current=!0)},[k,Y]);let Se=G[0];ae[Ns]&&Q===If&&(Se={transition:"none",...Se});const Re=G[1];return[z,Q,Se,k??t,!K.current&&Y===uu&&e&&o?"NONE":Q===If||Q===$f?Re===Q:!0]}function fte(e){return(e==null?void 0:e.length)<2}function dte(e){let t=e;typeof e=="object"&&({transitionSupport:t}=e);function n(o,u){return!!(o.motionName&&t&&u!==!1)}const i=F.forwardRef((o,u)=>{const{visible:l=!0,removeOnLeave:c=!0,forceRender:h,children:p,motionName:v,leavedClassName:b,eventProps:S}=o,{motion:_}=F.useContext(Rq),x=n(o,_),R=F.useRef();function O(){return wx(R.current)}const[T,M,P,C,k]=cte(x,l,O,o),L=T(),z=F.useRef(C);C&&(z.current=!0);const U=F.useMemo(()=>{const Y={};return Object.defineProperties(Y,{nativeElement:{enumerable:!0,get:O},inMotion:{enumerable:!0,get:()=>()=>T()!==uu},enableMotion:{enumerable:!0,get:()=>()=>x}}),Y},[]);F.useImperativeHandle(u,()=>U,[]);const G=F.useRef(0);k&&(G.current+=1);const B=F.useMemo(()=>{if(k==="NONE")return null;let Y;const K={...S,visible:l};if(!p)Y=null;else if(L===uu)C?Y=p({...K},R):!c&&z.current&&b?Y=p({...K,className:b},R):h||!c&&!b?Y=p({...K,style:{display:"none"}},R):Y=null;else{let oe;M===Ns?oe="prepare":Iq(M)?oe="active":M===If&&(oe="start");const le=kq(v,`${L}-${oe}`);Y=p({...K,className:dn(kq(v,L),{[le]:le&&oe,[v]:typeof v=="string"}),style:P},R)}return Y},[G.current]);if(fte(p)&&XZ(B)){const Y=YS(B);if(Y!==R)return F.cloneElement(B,{ref:vx(Y,R)})}return B});return i.displayName="CSSMotion",i}const p_=dte(rte),$q=e=>e!==null&&typeof e=="object",gA=e=>typeof e=="function",hte=F.createContext(void 0);var pte={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};function wv(e){"@babel/helpers - typeof";return wv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wv(e)}function zq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function qq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zq(Object(n),!0).forEach(function(i){mte(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zq(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function mte(e,t,n){return t=gte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gte(e){var t=vte(e,"string");return wv(t)=="symbol"?t:String(t)}function vte(e,t){if(wv(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(wv(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yte=qq(qq({},pte),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});({...yte});const uo="${label} is not a valid ${type}",m_={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:uo,method:uo,array:uo,object:uo,number:uo,date:uo,boolean:uo,integer:uo,float:uo,regexp:uo,email:uo,url:uo,hex:uo},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}};({...m_.Modal});let g_=[];const Uq=()=>g_.reduce((e,t)=>({...e,...t}),m_.Modal);function bte(e){if(e){const t={...e};return g_.push(t),Uq(),()=>{g_=g_.filter(n=>n!==t),Uq()}}({...m_.Modal})}const Bq=F.createContext(void 0),Hq="internalMark",Fq=e=>{const{locale:t={},children:n,_ANT_MARK__:i}=e;ZS("LocaleProvider")(i===Hq,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),F.useEffect(()=>bte(t==null?void 0:t.Modal),[t]);const o=F.useMemo(()=>({...t,exist:!0}),[t]);return F.createElement(Bq.Provider,{value:o},n)};Fq.displayName="LocaleProvider";const Vq=F.createContext(null);let Ste=!1;function _te(e){return Ste}const Yq=[];function Ete(e,t){const[n]=F.useState(()=>{if(!oo())return null;const v=document.createElement("div");return t&&v.setAttribute("data-debug",t),v}),i=F.useRef(!1),o=F.useContext(Vq),[u,l]=F.useState(Yq),c=o||(i.current?void 0:v=>{l(b=>[v,...b])});function h(){n.parentElement||document.body.appendChild(n),i.current=!0}function p(){var v;(v=n.parentElement)==null||v.removeChild(n),i.current=!1}return so(()=>(e?o?o(h):h():p(),p),[e]),so(()=>{u.length&&(u.forEach(v=>v()),l(Yq))},[u]),[n,c]}function wte(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}const Rte=`rc-util-locker-${Date.now()}`;let Gq=0;function Ote(e){const t=!!e,[n]=F.useState(()=>(Gq+=1,`${Rte}_${Gq}`));so(()=>{if(t){const i=rJ(document.body).width,o=wte();Wh(`
|
|
388
|
+
html body {
|
|
389
|
+
overflow-y: hidden;
|
|
390
|
+
${o?`width: calc(100% - ${i}px);`:""}
|
|
391
|
+
}`,n)}else WS(n);return()=>{WS(n)}},[t,n])}let zf=[];const Tte=200;let Wq=0;const Xq=e=>{if(e.key==="Escape"&&!e.isComposing){if(Date.now()-Wq<Tte)return;const n=zf.length;for(let i=n-1;i>=0;i-=1)zf[i].onEsc({top:i===n-1,event:e})}},Qq=()=>{Wq=Date.now()};function xte(){window.addEventListener("keydown",Xq),window.addEventListener("compositionend",Qq)}function Ate(){zf.length===0&&(window.removeEventListener("keydown",Xq),window.removeEventListener("compositionend",Qq))}function Cte(e,t){const n=a5(),i=Nr(t),o=()=>{zf.find(l=>l.id===n)||zf.push({id:n,onEsc:i})},u=()=>{zf=zf.filter(l=>l.id!==n)};F.useMemo(()=>{e?o():e||u()},[e]),F.useEffect(()=>{if(e)return o(),xte(),()=>{u(),Ate()}},[e])}const Kq=e=>e===!1?!1:!oo()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e,v_=F.forwardRef((e,t)=>{const{open:n,autoLock:i,getContainer:o,debug:u,autoDestroy:l=!0,children:c,onEsc:h}=e,[p,v]=F.useState(n),b=p||n;ac(oo()||!n,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),F.useEffect(()=>{(l||n)&&v(n)},[n,l]);const[S,_]=F.useState(()=>Kq(o));F.useEffect(()=>{const k=Kq(o);_(()=>k??null)});const[x,R]=Ete(b&&!S,u),O=S??x;Ote(i&&n&&oo()&&(O===x||O===document.body)),Cte(n,h);let T=null;c&&bx(c)&&t&&(T=YS(c));const M=yx(T,t);if(!b||!oo()||S===void 0)return null;const P=O===!1||_te();let C=c;return t&&(C=F.cloneElement(c,{ref:M})),F.createElement(Vq.Provider,{value:R},P?C:Dx.createPortal(C,O))});v_.displayName="Portal";function Dte(e){const{prefixCls:t,align:n,arrow:i,arrowPos:o}=e,{className:u,content:l,style:c}=i||{},{x:h=0,y:p=0}=o,v=F.useRef(null);if(!n||!n.points)return null;const b={position:"absolute"};if(n.autoArrow!==!1){const S=n.points[0],_=n.points[1],x=S[0],R=S[1],O=_[0],T=_[1];x===O||!["t","b"].includes(x)?b.top=p:x==="t"?b.top=0:b.bottom=0,R===T||!["l","r"].includes(R)?b.left=h:R==="l"?b.left=0:b.right=0}return F.createElement("div",{ref:v,className:dn(`${t}-arrow`,u),style:{...b,...c}},l)}function vA(){return vA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vA.apply(this,arguments)}function Mte(e){const{prefixCls:t,open:n,zIndex:i,mask:o,motion:u,mobile:l}=e;return o?F.createElement(p_,vA({},u,{motionAppear:!0,visible:n,removeOnLeave:!0}),({className:c})=>F.createElement("div",{style:{zIndex:i},className:dn(`${t}-mask`,l&&`${t}-mobile-mask`,c)})):null}const Zq=F.memo(({children:e})=>e,(e,t)=>t.cache);Zq.displayName="PopupContent";function Jq(e,t,n,i,o,u,l,c){var v;const h="auto",p=e?{}:{left:"-1000vw",top:"-1000vh",right:h,bottom:h};if(!e&&(t||!n)){const{points:b}=i,S=i.dynamicInset||((v=i._experimental)==null?void 0:v.dynamicInset),_=S&&b[0][1]==="r",x=S&&b[0][0]==="b";_?(p.right=o,p.left=h):(p.left=l,p.right=h),x?(p.bottom=u,p.top=h):(p.top=c,p.bottom=h)}return p}function yA(){return yA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yA.apply(this,arguments)}const bA=F.forwardRef((e,t)=>{const{onEsc:n,popup:i,className:o,prefixCls:u,style:l,target:c,onVisibleChanged:h,open:p,keepDom:v,fresh:b,onClick:S,mask:_,arrow:x,arrowPos:R,align:O,motion:T,maskMotion:M,mobile:P,forceRender:C,getPopupContainer:k,autoDestroy:L,portal:z,children:U,zIndex:G,onMouseEnter:B,onMouseLeave:Y,onPointerEnter:K,onPointerDownCapture:oe,ready:le,offsetX:fe,offsetY:W,offsetR:ue,offsetB:ie,onAlign:_e,onPrepare:ae,onResize:X,stretch:Q,targetWidth:te,targetHeight:re}=e,Ee=typeof i=="function"?i():i,Se=p||v,Re=!!P,[Pe,Le,Ne]=F.useMemo(()=>P?[P.mask,P.maskMotion,P.motion]:[_,M,T],[P,_,M,T]),De=(k==null?void 0:k.length)>0,[Ce,Qe]=F.useState(!k||!De);so(()=>{!Ce&&De&&c&&Qe(!0)},[Ce,De,c]);const Ve=Nr(($e,ct)=>{X==null||X($e,ct),_e()}),He=Jq(Re,le,p,O,ue,ie,fe,W);if(!Ce)return null;const ke={};return Q&&(Q.includes("height")&&re?ke.height=re:Q.includes("minHeight")&&re&&(ke.minHeight=re),Q.includes("width")&&te?ke.width=te:Q.includes("minWidth")&&te&&(ke.minWidth=te)),p||(ke.pointerEvents="none"),F.createElement(z,{open:C||Se,getContainer:k&&(()=>k(c)),autoDestroy:L,onEsc:n},F.createElement(Mte,{prefixCls:u,open:p,zIndex:G,mask:Pe,motion:Le,mobile:Re}),F.createElement(kx,{onResize:Ve,disabled:!p},$e=>F.createElement(p_,yA({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:`${u}-hidden`},Ne,{onAppearPrepare:ae,onEnterPrepare:ae,visible:p,onVisibleChanged:ct=>{var At;(At=T==null?void 0:T.onVisibleChanged)==null||At.call(T,ct),h(ct)}}),({className:ct,style:At},Ye)=>{const yt=dn(u,ct,o,{[`${u}-mobile`]:Re});return F.createElement("div",{ref:vx($e,t,Ye),className:yt,style:{"--arrow-x":`${R.x||0}px`,"--arrow-y":`${R.y||0}px`,...He,...ke,...At,boxSizing:"border-box",zIndex:G,...l},onMouseEnter:B,onMouseLeave:Y,onPointerEnter:K,onClick:S,onPointerDownCapture:oe},x&&F.createElement(Dte,{prefixCls:u,arrow:x,arrowPos:R,align:O}),F.createElement(Zq,{cache:!p&&!b},Ee))})),U)});bA.displayName="Popup";const y_=F.createContext(null),e4=F.createContext(null);function t4(e){return e?Array.isArray(e)?e:[e]:[]}function Nte(e,t,n){return F.useMemo(()=>{const i=t4(t??e),o=t4(n??e),u=new Set(i),l=new Set(o);return u.has("hover")&&!u.has("click")&&u.add("touch"),l.has("hover")&&!l.has("click")&&l.add("touch"),[u,l]},[e,t,n])}function Pte(e=[],t=[],n){const i=(o,u)=>o[u]||"";return n?i(e,0)===i(t,0):i(e,0)===i(t,0)&&i(e,1)===i(t,1)}function n4(e,t,n,i){var l;const{points:o}=n,u=Object.keys(e);for(let c=0;c<u.length;c+=1){const h=u[c];if(Pte((l=e[h])==null?void 0:l.points,o,i))return`${t}-placement-${h}`}return""}function Rv(e){return e.ownerDocument.defaultView}function SA(e){const t=[];let n=e==null?void 0:e.parentElement;const i=["hidden","scroll","clip","auto"];for(;n;){const{overflowX:o,overflowY:u,overflow:l}=Rv(n).getComputedStyle(n);[o,u,l].some(c=>i.includes(c))&&t.push(n),n=n.parentElement}return t}function Ov(e,t=1){return Number.isNaN(e)?t:e}function Tv(e){return Ov(parseFloat(e),0)}function r4(e,t){const n={...e};return(t||[]).forEach(i=>{if(i instanceof HTMLBodyElement||i instanceof HTMLHtmlElement)return;const{overflow:o,overflowClipMargin:u,borderTopWidth:l,borderBottomWidth:c,borderLeftWidth:h,borderRightWidth:p}=Rv(i).getComputedStyle(i),v=i.getBoundingClientRect(),{offsetHeight:b,clientHeight:S,offsetWidth:_,clientWidth:x}=i,R=Tv(l),O=Tv(c),T=Tv(h),M=Tv(p),P=Ov(Math.round(v.width/_*1e3)/1e3),C=Ov(Math.round(v.height/b*1e3)/1e3),k=(_-x-T-M)*P,L=(b-S-R-O)*C,z=R*C,U=O*C,G=T*P,B=M*P;let Y=0,K=0;if(o==="clip"){const ue=Tv(u);Y=ue*P,K=ue*C}const oe=v.x+G-Y,le=v.y+z-K,fe=oe+v.width+2*Y-G-B-k,W=le+v.height+2*K-z-U-L;n.left=Math.max(n.left,oe),n.top=Math.max(n.top,le),n.right=Math.min(n.right,fe),n.bottom=Math.min(n.bottom,W)}),n}function i4(e,t=0){const n=`${t}`,i=n.match(/^(.*)\%$/);return i?e*(parseFloat(i[1])/100):parseFloat(n)}function a4(e,t){const[n,i]=t||[];return[i4(e.width,n),i4(e.height,i)]}function o4(e=""){return[e[0],e[1]]}function np(e,t){const n=t[0],i=t[1];let o,u;return n==="t"?u=e.y:n==="b"?u=e.y+e.height:u=e.y+e.height/2,i==="l"?o=e.x:i==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:u}}function fc(e,t){const n={t:"b",b:"t",l:"r",r:"l"},i=[...e];return i[t]=n[e[t]]||"c",i}function s4(e){return e.join("")}function u4(e,t,n,i,o,u,l,c){const[h,p]=F.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[i]||{}}),v=F.useRef(0),b=F.useMemo(()=>!t||c?[]:SA(t),[t]),S=F.useRef({});e||(()=>{S.current={}})();const x=Nr(()=>{var T,M;if(t&&n&&e&&!c){let ge=function(Et,mr,gr=ct){const Ho=ue.x+Et,Ls=ue.y+mr,yc=Ho+Re,ul=Ls+Se,Is=Math.max(Ho,gr.left),Ke=Math.max(Ls,gr.top),kt=Math.min(yc,gr.right),Kn=Math.min(ul,gr.bottom);return Math.max(0,(kt-Is)*(Kn-Ke))},Mi=function(){dr=ue.y+$,hr=dr+Se,ea=ue.x+Zt,$o=ea+Re};const P=t,C=P.ownerDocument,k=Rv(P),{position:L}=k.getComputedStyle(P),z=P.style.left,U=P.style.top,G=P.style.right,B=P.style.bottom,Y=P.style.overflow,K=P.style.overflowX,oe=P.style.overflowY,le={...o[i],...u},fe=C.createElement("div");(T=P.parentElement)==null||T.appendChild(fe),fe.style.left=`${P.offsetLeft}px`,fe.style.top=`${P.offsetTop}px`,fe.style.position=L,fe.style.height=`${P.offsetHeight}px`,fe.style.width=`${P.offsetWidth}px`,P.style.left="0",P.style.top="0",P.style.right="auto",P.style.bottom="auto",P.style.overflow="hidden";let W;if(Array.isArray(n))W={x:n[0],y:n[1],width:0,height:0};else{const Et=n.getBoundingClientRect();Et.x=Et.x??Et.left,Et.y=Et.y??Et.top,W={x:Et.x,y:Et.y,width:Et.width,height:Et.height}}const ue=P.getBoundingClientRect(),{height:ie,width:_e}=k.getComputedStyle(P);ue.x=ue.x??ue.left,ue.y=ue.y??ue.top;const{clientWidth:ae,clientHeight:X,scrollWidth:Q,scrollHeight:te,scrollTop:re,scrollLeft:Ee}=C.documentElement,Se=ue.height,Re=ue.width,Pe=W.height,Le=W.width,Ne={left:0,top:0,right:ae,bottom:X},De={left:-Ee,top:-re,right:Q-Ee,bottom:te-re};let{htmlRegion:Ce}=le;const Qe="visible",Ve="visibleFirst";Ce!=="scroll"&&Ce!==Ve&&(Ce=Qe);const He=Ce===Ve,ke=r4(De,b),$e=r4(Ne,b),ct=Ce===Qe?$e:ke,At=He?$e:ct;P.style.left="auto",P.style.top="auto",P.style.right="0",P.style.bottom="0";const Ye=P.getBoundingClientRect();P.style.left=z,P.style.top=U,P.style.right=G,P.style.bottom=B,P.style.overflow=Y,P.style.overflowX=K,P.style.overflowY=oe,(M=P.parentElement)==null||M.removeChild(fe);const yt=Ov(Math.round(Re/parseFloat(_e)*1e3)/1e3),mt=Ov(Math.round(Se/parseFloat(ie)*1e3)/1e3);if(yt===0||mt===0||Xh(n)&&!eJ(n))return;const{offset:Dt,targetOffset:ht}=le;let[at,an]=a4(ue,Dt);const[cr,mn]=a4(W,ht);W.x-=cr,W.y-=mn;const[ot,St]=le.points||[],tr=o4(St),Lt=o4(ot),Cn=np(W,tr),zn=np(ue,Lt),nr={...le};let On=[Lt,tr],Zt=Cn.x-zn.x+at,$=Cn.y-zn.y+an;const qe=ge(Zt,$),Fe=ge(Zt,$,$e),Ze=np(W,["t","l"]),gt=np(ue,["t","l"]),rt=np(W,["b","r"]),Nt=np(ue,["b","r"]),ft=le.overflow||{},{adjustX:fr,adjustY:ni,shiftX:ho,shiftY:ma}=ft,po=Et=>typeof Et=="boolean"?Et:Et>=0;let dr,hr,ea,$o;Mi();const Ba=po(ni),Lr=Lt[0]===tr[0];if(Ba&&Lt[0]==="t"&&(hr>At.bottom||S.current.bt)){let Et=$;Lr?Et-=Se-Pe:Et=Ze.y-Nt.y-an;const mr=ge(Zt,Et),gr=ge(Zt,Et,$e);mr>qe||mr===qe&&(!He||gr>=Fe)?(S.current.bt=!0,$=Et,an=-an,On=[fc(On[0],0),fc(On[1],0)]):S.current.bt=!1}if(Ba&&Lt[0]==="b"&&(dr<At.top||S.current.tb)){let Et=$;Lr?Et+=Se-Pe:Et=rt.y-gt.y-an;const mr=ge(Zt,Et),gr=ge(Zt,Et,$e);mr>qe||mr===qe&&(!He||gr>=Fe)?(S.current.tb=!0,$=Et,an=-an,On=[fc(On[0],0),fc(On[1],0)]):S.current.tb=!1}const Dn=po(fr),ga=Lt[1]===tr[1];if(Dn&&Lt[1]==="l"&&($o>At.right||S.current.rl)){let Et=Zt;ga?Et-=Re-Le:Et=Ze.x-Nt.x-at;const mr=ge(Et,$),gr=ge(Et,$,$e);mr>qe||mr===qe&&(!He||gr>=Fe)?(S.current.rl=!0,Zt=Et,at=-at,On=[fc(On[0],1),fc(On[1],1)]):S.current.rl=!1}if(Dn&&Lt[1]==="r"&&(ea<At.left||S.current.lr)){let Et=Zt;ga?Et+=Re-Le:Et=rt.x-gt.x-at;const mr=ge(Et,$),gr=ge(Et,$,$e);mr>qe||mr===qe&&(!He||gr>=Fe)?(S.current.lr=!0,Zt=Et,at=-at,On=[fc(On[0],1),fc(On[1],1)]):S.current.lr=!1}nr.points=[s4(On[0]),s4(On[1])],Mi();const Ir=ho===!0?0:ho;typeof Ir=="number"&&(ea<$e.left&&(Zt-=ea-$e.left-at,W.x+Le<$e.left+Ir&&(Zt+=W.x-$e.left+Le-Ir)),$o>$e.right&&(Zt-=$o-$e.right-at,W.x>$e.right-Ir&&(Zt+=W.x-$e.right+Ir)));const rr=ma===!0?0:ma;typeof rr=="number"&&(dr<$e.top&&($-=dr-$e.top-an,W.y+Pe<$e.top+rr&&($+=W.y-$e.top+Pe-rr)),hr>$e.bottom&&($-=hr-$e.bottom-an,W.y>$e.bottom-rr&&($+=W.y-$e.bottom+rr)));const hi=ue.x+Zt,js=hi+Re,zo=ue.y+$,vn=zo+Se,qo=W.x,mu=qo+Le,un=W.y,Qn=un+Pe,pi=Math.max(hi,qo),yn=Math.min(js,mu),Ni=(pi+yn)/2-hi,Ha=Math.max(zo,un),Pi=Math.min(vn,Qn),Bo=(Ha+Pi)/2-zo;l==null||l(t,nr);let pr=Ye.right-ue.x-(Zt+ue.width),ta=Ye.bottom-ue.y-($+ue.height);yt===1&&(Zt=Math.floor(Zt),pr=Math.floor(pr)),mt===1&&($=Math.floor($),ta=Math.floor(ta));const gu={ready:!0,offsetX:Zt/yt,offsetY:$/mt,offsetR:pr/yt,offsetB:ta/mt,arrowX:Ni/yt,arrowY:Bo/mt,scaleX:yt,scaleY:mt,align:nr};p(gu)}}),R=()=>{v.current+=1;const T=v.current;Promise.resolve().then(()=>{v.current===T&&x()})},O=()=>{p(T=>({...T,ready:!1}))};return so(O,[i]),so(()=>{e||O()},[e]),[h.ready,h.offsetX,h.offsetY,h.offsetR,h.offsetB,h.arrowX,h.arrowY,h.scaleX,h.scaleY,h.align,R]}function l4(){const e=F.useRef(null),t=()=>{e.current&&(clearTimeout(e.current),e.current=null)},n=(i,o)=>{t(),o===0?i():e.current=setTimeout(()=>{i()},o*1e3)};return F.useEffect(()=>()=>{t()},[]),n}function kte(e,t,n,i,o){so(()=>{if(e&&t&&n){let b=function(){i(),o()};const u=t,l=n,c=SA(u),h=SA(l),p=Rv(l),v=new Set([p,...c,...h]);return v.forEach(S=>{S.addEventListener("scroll",b,{passive:!0})}),p.addEventListener("resize",b,{passive:!0}),i(),()=>{v.forEach(S=>{S.removeEventListener("scroll",b),p.removeEventListener("resize",b)})}}},[e,t,n])}function jte(e,t,n,i,o,u,l,c){const h=F.useRef(e);h.current=e;const p=F.useRef(!1);F.useEffect(()=>{var b,S;if(t&&i&&(!o||u)){const _=()=>{p.current=!1},x=T=>{var M,P;h.current&&!l(((P=(M=T.composedPath)==null?void 0:M.call(T))==null?void 0:P[0])||T.target)&&!p.current&&c(!1)},R=Rv(i);R.addEventListener("pointerdown",_,!0),R.addEventListener("mousedown",x,!0),R.addEventListener("contextmenu",x,!0);const O=Rx(n);if(O&&(O.addEventListener("mousedown",x,!0),O.addEventListener("contextmenu",x,!0)),n){const T=(b=n.getRootNode)==null?void 0:b.call(n),M=(S=i.getRootNode)==null?void 0:S.call(i);ac(T===M,"trigger element and popup element should in same shadow root.")}return()=>{R.removeEventListener("pointerdown",_,!0),R.removeEventListener("mousedown",x,!0),R.removeEventListener("contextmenu",x,!0),O&&(O.removeEventListener("mousedown",x,!0),O.removeEventListener("contextmenu",x,!0))}}},[t,n,i,o,u]);function v(){p.current=!0}return v}function Lte(){const[e,t]=se.useState(null),[n,i]=se.useState(!1),[o,u]=se.useState(!1),l=se.useRef(null),c=Nr(p=>{p===!1?(l.current=null,i(!1)):o&&n?l.current=p:(i(!0),t(p),l.current=null,n||u(!0))}),h=Nr(p=>{p?(u(!1),l.current&&(t(l.current),l.current=null)):(u(!1),l.current=null)});return[c,n,e,h]}function _A(){return _A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_A.apply(this,arguments)}const Ite=e=>{const{prefixCls:t,isMobile:n,ready:i,open:o,align:u,offsetR:l,offsetB:c,offsetX:h,offsetY:p,arrowPos:v,popupSize:b,motion:S,uniqueContainerClassName:_,uniqueContainerStyle:x}=e,R=`${t}-unique-container`,[O,T]=se.useState(!1),M=Jq(n,i,o,u,l,c,h,p),P=se.useRef(M);i&&(P.current=M);const C={};return b&&(C.width=b.width,C.height=b.height),se.createElement(p_,_A({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${R}-hidden`},S,{visible:o,onVisibleChanged:k=>{T(k)}}),({className:k,style:L})=>{const z=dn(R,k,_,{[`${R}-visible`]:O});return se.createElement("div",{className:z,style:{"--arrow-x":`${(v==null?void 0:v.x)||0}px`,"--arrow-y":`${(v==null?void 0:v.y)||0}px`,...P.current,...C,...L,...x}})})},$te=({children:e,postTriggerProps:t})=>{const[n,i,o,u]=Lte(),l=F.useMemo(()=>!o||!t?o:t(o),[o,t]),[c,h]=F.useState(null),[p,v]=F.useState(null),b=F.useRef(null),S=Nr(ie=>{b.current=ie,Xh(ie)&&c!==ie&&h(ie)}),_=F.useRef(null),x=l4(),R=Nr((ie,_e)=>{_.current=_e,x(()=>{n(ie)},ie.delay)}),O=ie=>{x(()=>{var _e;(_e=_.current)!=null&&_e.call(_)||n(!1)},ie)},T=Nr(ie=>{u(ie)}),[M,P,C,k,L,z,U,,,G,B]=u4(i,c,l==null?void 0:l.target,l==null?void 0:l.popupPlacement,(l==null?void 0:l.builtinPlacements)||{},l==null?void 0:l.popupAlign,void 0,!1),Y=F.useMemo(()=>{var _e;if(!l)return"";const ie=n4(l.builtinPlacements||{},l.prefixCls||"",G,!1);return dn(ie,(_e=l.getPopupClassNameFromAlign)==null?void 0:_e.call(l,G))},[G,l==null?void 0:l.getPopupClassNameFromAlign,l==null?void 0:l.builtinPlacements,l==null?void 0:l.prefixCls]),K=F.useMemo(()=>({show:R,hide:O}),[]);F.useEffect(()=>{B()},[l==null?void 0:l.target]);const oe=Nr(()=>(B(),Promise.resolve())),le=F.useRef({}),fe=F.useContext(y_),W=F.useMemo(()=>({registerSubPopup:(ie,_e)=>{le.current[ie]=_e,fe==null||fe.registerSubPopup(ie,_e)}}),[fe]),ue=l==null?void 0:l.prefixCls;return F.createElement(e4.Provider,{value:K},e,l&&F.createElement(y_.Provider,{value:W},F.createElement(bA,{ref:S,portal:v_,onEsc:l.onEsc,prefixCls:ue,popup:l.popup,className:dn(l.popupClassName,Y,`${ue}-unique-controlled`),style:l.popupStyle,target:l.target,open:i,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:T,ready:M,offsetX:P,offsetY:C,offsetR:k,offsetB:L,onAlign:B,onPrepare:oe,onResize:ie=>v({width:ie.offsetWidth,height:ie.offsetHeight}),arrowPos:{x:z,y:U},align:G,zIndex:l.zIndex,mask:l.mask,arrow:l.arrow,motion:l.popupMotion,maskMotion:l.maskMotion,getPopupContainer:l.getPopupContainer},F.createElement(Ite,{prefixCls:ue,isMobile:!1,ready:M,open:i,align:G,offsetR:k,offsetB:L,offsetX:P,offsetY:C,arrowPos:{x:z,y:U},popupSize:p,motion:l.popupMotion,uniqueContainerClassName:dn(l.uniqueContainerClassName,Y),uniqueContainerStyle:l.uniqueContainerStyle}))))};function zte(e=v_){const t=F.forwardRef((n,i)=>{const{prefixCls:o="rc-trigger-popup",children:u,action:l="hover",showAction:c,hideAction:h,popupVisible:p,defaultPopupVisible:v,onOpenChange:b,afterOpenChange:S,onPopupVisibleChange:_,afterPopupVisibleChange:x,mouseEnterDelay:R,mouseLeaveDelay:O=.1,focusDelay:T,blurDelay:M,mask:P,maskClosable:C=!0,getPopupContainer:k,forceRender:L,autoDestroy:z,popup:U,popupClassName:G,uniqueContainerClassName:B,uniqueContainerStyle:Y,popupStyle:K,popupPlacement:oe,builtinPlacements:le={},popupAlign:fe,zIndex:W,stretch:ue,getPopupClassNameFromAlign:ie,fresh:_e,unique:ae,alignPoint:X,onPopupClick:Q,onPopupAlign:te,arrow:re,popupMotion:Ee,maskMotion:Se,mobile:Re,...Pe}=n,Le=z||!1,Ne=p===void 0,De=!!Re,Ce=F.useRef({}),Qe=F.useContext(y_),Ve=F.useMemo(()=>({registerSubPopup:(Ke,kt)=>{Ce.current[Ke]=kt,Qe==null||Qe.registerSubPopup(Ke,kt)}}),[Qe]),He=F.useContext(e4),ke=a5(),[$e,ct]=F.useState(null),At=F.useRef(null),Ye=Nr(Ke=>{At.current=Ke,Xh(Ke)&&$e!==Ke&&ct(Ke),Qe==null||Qe.registerSubPopup(ke,Ke)}),[yt,mt]=F.useState(null),Dt=F.useRef(null),ht=Nr(Ke=>{const kt=wx(Ke);Xh(kt)&&yt!==kt&&(mt(kt),Dt.current=kt)}),at={},an=Nr(Ke=>{var Kn,Fa;const kt=yt;return(kt==null?void 0:kt.contains(Ke))||((Kn=Rx(kt))==null?void 0:Kn.host)===Ke||Ke===kt||($e==null?void 0:$e.contains(Ke))||((Fa=Rx($e))==null?void 0:Fa.host)===Ke||Ke===$e||Object.values(Ce.current).some(ki=>(ki==null?void 0:ki.contains(Ke))||Ke===ki)}),cr=re?{...re!==!0?re:{}}:null,[mn,ot]=zZ(v||!1,p),St=mn||!1,tr=F.useMemo(()=>{const Ke=typeof u=="function"?u({open:St}):u;return F.Children.only(Ke)},[u,St]),Lt=(tr==null?void 0:tr.props)||{},Cn=Nr(()=>St),zn=Nr((Ke=0)=>({popup:U,target:yt,delay:Ke,prefixCls:o,popupClassName:G,uniqueContainerClassName:B,uniqueContainerStyle:Y,popupStyle:K,popupPlacement:oe,builtinPlacements:le,popupAlign:fe,zIndex:W,mask:P,maskClosable:C,popupMotion:Ee,maskMotion:Se,arrow:cr,getPopupContainer:k,getPopupClassNameFromAlign:ie,id:ke,onEsc:ge}));so(()=>{He&&ae&&yt&&!Ne&&!Qe&&(St?He.show(zn(R),Cn):He.hide(O))},[St,yt]);const nr=F.useRef(St);nr.current=St;const On=Nr(Ke=>{Dx.flushSync(()=>{St!==Ke&&(ot(Ke),b==null||b(Ke),_==null||_(Ke))})}),Zt=l4(),$=(Ke,kt=0)=>{if(p!==void 0){Zt(()=>{On(Ke)},kt);return}if(He&&ae&&Ne&&!Qe){Ke?He.show(zn(kt),Cn):He.hide(kt);return}Zt(()=>{On(Ke)},kt)};function ge({top:Ke}){Ke&&$(!1)}const[qe,Fe]=F.useState(!1);so(Ke=>{(!Ke||St)&&Fe(!0)},[St]);const[Ze,gt]=F.useState(null),[rt,Nt]=F.useState(null),ft=Ke=>{Nt([Ke.clientX,Ke.clientY])},[fr,ni,ho,ma,po,dr,hr,ea,$o,Mi,Ba]=u4(St,$e,X&&rt!==null?rt:yt,oe,le,fe,te,De),[Lr,Dn]=Nte(l,c,h),ga=Lr.has("click"),Ir=Dn.has("click")||Dn.has("contextMenu"),rr=Nr(()=>{qe||Ba()});kte(St,yt,$e,rr,()=>{nr.current&&X&&Ir&&$(!1)}),so(()=>{rr()},[rt,oe]),so(()=>{St&&!(le!=null&&le[oe])&&rr()},[JSON.stringify(fe)]);const js=F.useMemo(()=>{const Ke=n4(le,o,Mi,X);return dn(Ke,ie==null?void 0:ie(Mi))},[Mi,ie,le,o,X]);F.useImperativeHandle(i,()=>({nativeElement:Dt.current,popupElement:At.current,forceAlign:rr}));const[zo,vn]=F.useState(0),[qo,mu]=F.useState(0),un=()=>{if(ue&&yt){const Ke=yt.getBoundingClientRect();vn(Ke.width),mu(Ke.height)}},Qn=()=>{un(),rr()},pi=Ke=>{Fe(!1),Ba(),S==null||S(Ke),x==null||x(Ke)},yn=()=>new Promise(Ke=>{un(),gt(()=>Ke)});so(()=>{Ze&&(Ba(),Ze(),gt(null))},[Ze]);function Ar(Ke,kt,Kn,Fa,ki){at[Ke]=(Ep,...rd)=>{var ll;(!ki||!ki())&&(Fa==null||Fa(Ep),$(kt,Kn)),(ll=Lt[Ke])==null||ll.call(Lt,Ep,...rd)}}const Ni=Lr.has("touch"),Ha=Dn.has("touch"),Pi=F.useRef(!1);(Ni||Ha)&&(at.onTouchStart=(...Ke)=>{var kt;Pi.current=!0,nr.current&&Ha?$(!1):!nr.current&&Ni&&$(!0),(kt=Lt.onTouchStart)==null||kt.call(Lt,...Ke)}),(ga||Ir)&&(at.onClick=(Ke,...kt)=>{var Kn;nr.current&&Ir?$(!1):!nr.current&&ga&&(ft(Ke),$(!0)),(Kn=Lt.onClick)==null||Kn.call(Lt,Ke,...kt),Pi.current=!1});const Uo=jte(St,Ir||Ha,yt,$e,P,C,an,$),Bo=Lr.has("hover"),pr=Dn.has("hover");let ta,gu;const Et=()=>Pi.current;if(Bo){const Ke=kt=>{ft(kt)};Ar("onMouseEnter",!0,R,Ke,Et),Ar("onPointerEnter",!0,R,Ke,Et),ta=kt=>{(St||qe)&&($e!=null&&$e.contains(kt.target))&&$(!0,R)},X&&(at.onMouseMove=kt=>{var Kn;(Kn=Lt.onMouseMove)==null||Kn.call(Lt,kt)})}pr&&(Ar("onMouseLeave",!1,O,void 0,Et),Ar("onPointerLeave",!1,O,void 0,Et),gu=()=>{$(!1,O)}),Lr.has("focus")&&Ar("onFocus",!0,T),Dn.has("focus")&&Ar("onBlur",!1,M),Lr.has("contextMenu")&&(at.onContextMenu=(Ke,...kt)=>{var Kn;nr.current&&Dn.has("contextMenu")?$(!1):(ft(Ke),$(!0)),Ke.preventDefault(),(Kn=Lt.onContextMenu)==null||Kn.call(Lt,Ke,...kt)});const mr=F.useRef(!1);mr.current||(mr.current=L||St||qe);const gr={...Lt,...at},Ho={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(Ke=>{Pe[Ke]&&(Ho[Ke]=(...kt)=>{var Kn;(Kn=gr[Ke])==null||Kn.call(gr,...kt),Pe[Ke](...kt)})});const yc={x:dr,y:hr};A5(St,yt,Qn);const ul=yx(ht,YS(tr)),Is=F.cloneElement(tr,{...gr,...Ho,ref:ul});return F.createElement(F.Fragment,null,Is,mr.current&&(!He||!ae)&&F.createElement(y_.Provider,{value:Ve},F.createElement(bA,{portal:e,ref:Ye,prefixCls:o,popup:U,className:dn(G,!De&&js),style:K,target:yt,onMouseEnter:ta,onMouseLeave:gu,onPointerEnter:ta,zIndex:W,open:St,keepDom:qe,fresh:_e,onClick:Q,onPointerDownCapture:Uo,mask:P,motion:Ee,maskMotion:Se,onVisibleChanged:pi,onPrepare:yn,forceRender:L,autoDestroy:Le,getPopupContainer:k,onEsc:ge,align:Mi,arrow:cr,arrowPos:yc,ready:fr,offsetX:ni,offsetY:ho,offsetR:ma,offsetB:po,onAlign:rr,stretch:ue,targetWidth:zo/ea,targetHeight:qo/$o,mobile:Re})))});return t.displayName="Trigger",t}zte(v_);const qte=(e,t,n)=>se.isValidElement(e)?se.cloneElement(e,gA(n)?n(e.props||{}):n):t;function Ute(e,t){return qte(e,e,t)}const Bte=({children:e})=>{const{getPrefixCls:t}=se.useContext(Qh),n=t();return se.isValidElement(e)?se.createElement(p_,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:i,className:o})=>Ute(e,u=>({className:dn(u.className,o),style:{...u.style,...i}}))):e},b_=[null,null];function Hte(e){if(b_[0]!==e){const t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),b_[0]=e,b_[1]=t}return b_[1]}const Fte=({children:e})=>{const t=n=>{const{id:i,builtinPlacements:o,popup:u}=n,l=gA(u)?u():u,c=Hte(o);return{...n,getPopupContainer:null,arrow:!1,popup:se.createElement(Bte,{key:i},l),builtinPlacements:c}};return se.createElement($te,{postTriggerProps:t},e)},EA=F.createContext(!1),Vte=({children:e,disabled:t})=>{const n=F.useContext(EA);return F.createElement(EA.Provider,{value:t??n},e)},xv=F.createContext(void 0),Yte=({children:e,size:t})=>{const n=F.useContext(xv);return F.createElement(xv.Provider,{value:t||n},e)};function Gte(){const e=F.useContext(EA),t=F.useContext(xv);return{componentDisabled:e,componentSize:t}}function Wte(e,t,n){var c;const i=ZS("ConfigProvider"),o=e||{},u=o.inherit===!1||!t?{...hA,hashed:(t==null?void 0:t.hashed)??hA.hashed,cssVar:t==null?void 0:t.cssVar}:t,l=F.useId();{const h=o.cssVar||u.cssVar,p=!!($q(o.cssVar)&&((c=o.cssVar)!=null&&c.key)||l);i(!h||p,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return px(()=>{var b;if(!e)return t;const h={...u.components};Object.keys(e.components||{}).forEach(S=>{h[S]={...h[S],...e.components[S]}});const p=`css-var-${l.replace(/:/g,"")}`,v={prefix:n==null?void 0:n.prefixCls,...u.cssVar,...o.cssVar,key:((b=o.cssVar)==null?void 0:b.key)||p};return{...u,...o,token:{...u.token,...o.token},components:h,cssVar:v}},[o,u],(h,p)=>h.some((v,b)=>{const S=p[b];return!uJ(v,S,!0)}))}const wA=F.createContext(!0);wA.displayName="MotionCacheContext";function Xte(e){const t=F.useContext(wA),{children:n}=e,[,i]=wq(),{motion:o}=i,u=F.useRef(!1);return u.current||(u.current=t!==o),u.current?F.createElement(wA.Provider,{value:o},F.createElement(ete,{motion:o},n)):n}const c4=F.memo(e=>{const{dropdownMatchSelectWidth:t}=e;return ZS("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});c4.displayName="PropWarning";const Qte=c4,Kte=({iconPrefixCls:e,csp:t})=>(Zee(e,t),null),Zte=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Jte=e=>{const{prefixCls:t,iconPrefixCls:n,theme:i,holderRender:o}=e},ene=e=>{const{children:t,csp:n,autoInsertSpaceInButton:i,alert:o,affix:u,anchor:l,app:c,form:h,locale:p,componentSize:v,direction:b,space:S,splitter:_,virtual:x,dropdownMatchSelectWidth:R,popupMatchSelectWidth:O,popupOverflow:T,legacyLocale:M,parentContext:P,iconPrefixCls:C,theme:k,componentDisabled:L,segmented:z,statistic:U,spin:G,calendar:B,carousel:Y,cascader:K,collapse:oe,typography:le,checkbox:fe,descriptions:W,divider:ue,drawer:ie,skeleton:_e,steps:ae,image:X,layout:Q,list:te,mentions:re,modal:Ee,progress:Se,result:Re,slider:Pe,breadcrumb:Le,masonry:Ne,menu:De,pagination:Ce,input:Qe,inputPassword:Ve,inputSearch:He,textArea:ke,otp:$e,empty:ct,badge:At,borderBeam:Ye,radio:yt,rate:mt,ribbon:Dt,switch:ht,transfer:at,avatar:an,message:cr,tag:mn,table:ot,card:St,cardMeta:tr,tabs:Lt,timeline:Cn,timePicker:zn,upload:nr,notification:On,tree:Zt,colorPicker:$,datePicker:ge,rangePicker:qe,flex:Fe,wave:Ze,dropdown:gt,warning:rt,tour:Nt,tooltip:ft,popover:fr,popconfirm:ni,qrcode:ho,floatButton:ma,floatButtonGroup:po,variant:dr,inputNumber:hr,treeSelect:ea,watermark:$o}=e,Mi=F.useMemo(()=>{var un;return $q(p)&&Object.prototype.hasOwnProperty.call(p,"default")&&((un=p.default)!=null&&un.locale)?p.default:p},[p]),Ba=F.useCallback((un,Qn)=>{const{prefixCls:pi}=e;if(Qn)return Qn;const yn=pi||P.getPrefixCls("");return un?`${yn}-${un}`:yn},[P.getPrefixCls,e.prefixCls]),Lr=C||P.iconPrefixCls||P5,Dn=n||P.csp,ga=Wte(k,P.theme,{prefixCls:Ba("")}),Ir={csp:Dn,autoInsertSpaceInButton:i,alert:o,affix:u,anchor:l,app:c,locale:Mi||M,direction:b,space:S,splitter:_,virtual:x,popupMatchSelectWidth:O??R,popupOverflow:T,getPrefixCls:Ba,iconPrefixCls:Lr,theme:ga,segmented:z,statistic:U,spin:G,calendar:B,carousel:Y,cascader:K,collapse:oe,typography:le,checkbox:fe,descriptions:W,divider:ue,drawer:ie,skeleton:_e,steps:ae,image:X,input:Qe,inputPassword:Ve,inputSearch:He,textArea:ke,otp:$e,layout:Q,list:te,mentions:re,modal:Ee,progress:Se,result:Re,slider:Pe,breadcrumb:Le,masonry:Ne,menu:De,pagination:Ce,empty:ct,badge:At,borderBeam:Ye,radio:yt,rate:mt,ribbon:Dt,switch:ht,transfer:at,avatar:an,message:cr,tag:mn,table:ot,card:St,cardMeta:tr,tabs:Lt,timeline:Cn,timePicker:zn,upload:nr,notification:On,tree:Zt,colorPicker:$,datePicker:ge,rangePicker:qe,flex:Fe,wave:Ze,dropdown:gt,warning:rt,tour:Nt,tooltip:ft,popover:fr,popconfirm:ni,qrcode:ho,floatButton:ma,floatButtonGroup:po,variant:dr,inputNumber:hr,treeSelect:ea,watermark:$o};ZS("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");const rr={...P};Object.keys(Ir).forEach(un=>{Ir[un]!==void 0&&(rr[un]=Ir[un])}),Zte.forEach(un=>{const Qn=e[un];Qn&&(rr[un]=Qn)}),typeof i<"u"&&(rr.button={autoInsertSpace:i,...rr.button});const hi=px(()=>rr,rr,(un,Qn)=>{const pi=Object.keys(un),yn=Object.keys(Qn);return pi.length!==yn.length||pi.some(Ar=>un[Ar]!==Qn[Ar])}),{layer:js}=F.useContext(e_),zo=F.useMemo(()=>({prefixCls:Lr,csp:Dn,layer:js?"antd":void 0}),[Lr,Dn,js]);let vn=F.createElement(F.Fragment,null,F.createElement(Kte,{iconPrefixCls:Lr,csp:Dn}),F.createElement(Qte,{dropdownMatchSelectWidth:R}),t);const qo=F.useMemo(()=>{var un,Qn,pi,yn;return hJ(((un=m_.Form)==null?void 0:un.defaultValidateMessages)||{},((pi=(Qn=hi.locale)==null?void 0:Qn.Form)==null?void 0:pi.defaultValidateMessages)||{},((yn=hi.form)==null?void 0:yn.validateMessages)||{},(h==null?void 0:h.validateMessages)||{})},[hi,h==null?void 0:h.validateMessages]);Object.keys(qo).length>0&&(vn=F.createElement(hte.Provider,{value:qo},vn)),Mi&&(vn=F.createElement(Fq,{locale:Mi,_ANT_MARK__:Hq},vn)),vn=F.createElement(Jee.Provider,{value:zo},vn),v&&(vn=F.createElement(Yte,{size:v},vn)),vn=F.createElement(Xte,null,vn),ft!=null&&ft.unique&&(vn=F.createElement(Fte,null,vn));const mu=F.useMemo(()=>{const{algorithm:un,token:Qn,components:pi,cssVar:yn,...Ar}=ga||{},Ni=un&&(!Array.isArray(un)||un.length>0)?qx(un):Sq,Ha={};Object.entries(pi||{}).forEach(([Uo,Bo])=>{const pr={...Bo};"algorithm"in pr&&(pr.algorithm===!0?pr.theme=Ni:(Array.isArray(pr.algorithm)||gA(pr.algorithm))&&(pr.theme=qx(pr.algorithm)),delete pr.algorithm),Ha[Uo]=pr});const Pi={..._v,...Qn};return{...Ar,theme:Ni,token:Pi,components:Ha,override:{override:Pi,...Ha},cssVar:yn}},[ga]);return k&&(vn=F.createElement(_q.Provider,{value:mu},vn)),hi.warning&&(vn=F.createElement(T5.Provider,{value:hi.warning},vn)),L!==void 0&&(vn=F.createElement(Vte,{disabled:L},vn)),F.createElement(Qh.Provider,{value:hi},vn)},qf=e=>{const t=F.useContext(Qh),n=F.useContext(Bq);return F.createElement(ene,{parentContext:t,legacyLocale:n,...e})};qf.ConfigContext=Qh,qf.SizeContext=xv,qf.config=Jte,qf.useConfig=Gte,Object.defineProperty(qf,"SizeContext",{get:()=>(O5(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),xv)}),qf.displayName="ConfigProvider";function Ft(){return Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ft.apply(null,arguments)}var S_={exports:{}},tne=S_.exports,f4;function nne(){return f4||(f4=1,(function(e,t){(function(n,i){e.exports=i()})(tne,(function(){var n=1e3,i=6e4,o=36e5,u="millisecond",l="second",c="minute",h="hour",p="day",v="week",b="month",S="quarter",_="year",x="date",R="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(le){var fe=["th","st","nd","rd"],W=le%100;return"["+le+(fe[(W-20)%10]||fe[W]||fe[0])+"]"}},P=function(le,fe,W){var ue=String(le);return!ue||ue.length>=fe?le:""+Array(fe+1-ue.length).join(W)+le},C={s:P,z:function(le){var fe=-le.utcOffset(),W=Math.abs(fe),ue=Math.floor(W/60),ie=W%60;return(fe<=0?"+":"-")+P(ue,2,"0")+":"+P(ie,2,"0")},m:function le(fe,W){if(fe.date()<W.date())return-le(W,fe);var ue=12*(W.year()-fe.year())+(W.month()-fe.month()),ie=fe.clone().add(ue,b),_e=W-ie<0,ae=fe.clone().add(ue+(_e?-1:1),b);return+(-(ue+(W-ie)/(_e?ie-ae:ae-ie))||0)},a:function(le){return le<0?Math.ceil(le)||0:Math.floor(le)},p:function(le){return{M:b,y:_,w:v,d:p,D:x,h,m:c,s:l,ms:u,Q:S}[le]||String(le||"").toLowerCase().replace(/s$/,"")},u:function(le){return le===void 0}},k="en",L={};L[k]=M;var z="$isDayjsObject",U=function(le){return le instanceof K||!(!le||!le[z])},G=function le(fe,W,ue){var ie;if(!fe)return k;if(typeof fe=="string"){var _e=fe.toLowerCase();L[_e]&&(ie=_e),W&&(L[_e]=W,ie=_e);var ae=fe.split("-");if(!ie&&ae.length>1)return le(ae[0])}else{var X=fe.name;L[X]=fe,ie=X}return!ue&&ie&&(k=ie),ie||!ue&&k},B=function(le,fe){if(U(le))return le.clone();var W=typeof fe=="object"?fe:{};return W.date=le,W.args=arguments,new K(W)},Y=C;Y.l=G,Y.i=U,Y.w=function(le,fe){return B(le,{locale:fe.$L,utc:fe.$u,x:fe.$x,$offset:fe.$offset})};var K=(function(){function le(W){this.$L=G(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[z]=!0}var fe=le.prototype;return fe.parse=function(W){this.$d=(function(ue){var ie=ue.date,_e=ue.utc;if(ie===null)return new Date(NaN);if(Y.u(ie))return new Date;if(ie instanceof Date)return new Date(ie);if(typeof ie=="string"&&!/Z$/i.test(ie)){var ae=ie.match(O);if(ae){var X=ae[2]-1||0,Q=(ae[7]||"0").substring(0,3);return _e?new Date(Date.UTC(ae[1],X,ae[3]||1,ae[4]||0,ae[5]||0,ae[6]||0,Q)):new Date(ae[1],X,ae[3]||1,ae[4]||0,ae[5]||0,ae[6]||0,Q)}}return new Date(ie)})(W),this.init()},fe.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},fe.$utils=function(){return Y},fe.isValid=function(){return this.$d.toString()!==R},fe.isSame=function(W,ue){var ie=B(W);return this.startOf(ue)<=ie&&ie<=this.endOf(ue)},fe.isAfter=function(W,ue){return B(W)<this.startOf(ue)},fe.isBefore=function(W,ue){return this.endOf(ue)<B(W)},fe.$g=function(W,ue,ie){return Y.u(W)?this[ue]:this.set(ie,W)},fe.unix=function(){return Math.floor(this.valueOf()/1e3)},fe.valueOf=function(){return this.$d.getTime()},fe.startOf=function(W,ue){var ie=this,_e=!!Y.u(ue)||ue,ae=Y.p(W),X=function(Le,Ne){var De=Y.w(ie.$u?Date.UTC(ie.$y,Ne,Le):new Date(ie.$y,Ne,Le),ie);return _e?De:De.endOf(p)},Q=function(Le,Ne){return Y.w(ie.toDate()[Le].apply(ie.toDate("s"),(_e?[0,0,0,0]:[23,59,59,999]).slice(Ne)),ie)},te=this.$W,re=this.$M,Ee=this.$D,Se="set"+(this.$u?"UTC":"");switch(ae){case _:return _e?X(1,0):X(31,11);case b:return _e?X(1,re):X(0,re+1);case v:var Re=this.$locale().weekStart||0,Pe=(te<Re?te+7:te)-Re;return X(_e?Ee-Pe:Ee+(6-Pe),re);case p:case x:return Q(Se+"Hours",0);case h:return Q(Se+"Minutes",1);case c:return Q(Se+"Seconds",2);case l:return Q(Se+"Milliseconds",3);default:return this.clone()}},fe.endOf=function(W){return this.startOf(W,!1)},fe.$set=function(W,ue){var ie,_e=Y.p(W),ae="set"+(this.$u?"UTC":""),X=(ie={},ie[p]=ae+"Date",ie[x]=ae+"Date",ie[b]=ae+"Month",ie[_]=ae+"FullYear",ie[h]=ae+"Hours",ie[c]=ae+"Minutes",ie[l]=ae+"Seconds",ie[u]=ae+"Milliseconds",ie)[_e],Q=_e===p?this.$D+(ue-this.$W):ue;if(_e===b||_e===_){var te=this.clone().set(x,1);te.$d[X](Q),te.init(),this.$d=te.set(x,Math.min(this.$D,te.daysInMonth())).$d}else X&&this.$d[X](Q);return this.init(),this},fe.set=function(W,ue){return this.clone().$set(W,ue)},fe.get=function(W){return this[Y.p(W)]()},fe.add=function(W,ue){var ie,_e=this;W=Number(W);var ae=Y.p(ue),X=function(re){var Ee=B(_e);return Y.w(Ee.date(Ee.date()+Math.round(re*W)),_e)};if(ae===b)return this.set(b,this.$M+W);if(ae===_)return this.set(_,this.$y+W);if(ae===p)return X(1);if(ae===v)return X(7);var Q=(ie={},ie[c]=i,ie[h]=o,ie[l]=n,ie)[ae]||1,te=this.$d.getTime()+W*Q;return Y.w(te,this)},fe.subtract=function(W,ue){return this.add(-1*W,ue)},fe.format=function(W){var ue=this,ie=this.$locale();if(!this.isValid())return ie.invalidDate||R;var _e=W||"YYYY-MM-DDTHH:mm:ssZ",ae=Y.z(this),X=this.$H,Q=this.$m,te=this.$M,re=ie.weekdays,Ee=ie.months,Se=ie.meridiem,Re=function(Ne,De,Ce,Qe){return Ne&&(Ne[De]||Ne(ue,_e))||Ce[De].slice(0,Qe)},Pe=function(Ne){return Y.s(X%12||12,Ne,"0")},Le=Se||function(Ne,De,Ce){var Qe=Ne<12?"AM":"PM";return Ce?Qe.toLowerCase():Qe};return _e.replace(T,(function(Ne,De){return De||(function(Ce){switch(Ce){case"YY":return String(ue.$y).slice(-2);case"YYYY":return Y.s(ue.$y,4,"0");case"M":return te+1;case"MM":return Y.s(te+1,2,"0");case"MMM":return Re(ie.monthsShort,te,Ee,3);case"MMMM":return Re(Ee,te);case"D":return ue.$D;case"DD":return Y.s(ue.$D,2,"0");case"d":return String(ue.$W);case"dd":return Re(ie.weekdaysMin,ue.$W,re,2);case"ddd":return Re(ie.weekdaysShort,ue.$W,re,3);case"dddd":return re[ue.$W];case"H":return String(X);case"HH":return Y.s(X,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return Le(X,Q,!0);case"A":return Le(X,Q,!1);case"m":return String(Q);case"mm":return Y.s(Q,2,"0");case"s":return String(ue.$s);case"ss":return Y.s(ue.$s,2,"0");case"SSS":return Y.s(ue.$ms,3,"0");case"Z":return ae}return null})(Ne)||ae.replace(":","")}))},fe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},fe.diff=function(W,ue,ie){var _e,ae=this,X=Y.p(ue),Q=B(W),te=(Q.utcOffset()-this.utcOffset())*i,re=this-Q,Ee=function(){return Y.m(ae,Q)};switch(X){case _:_e=Ee()/12;break;case b:_e=Ee();break;case S:_e=Ee()/3;break;case v:_e=(re-te)/6048e5;break;case p:_e=(re-te)/864e5;break;case h:_e=re/o;break;case c:_e=re/i;break;case l:_e=re/n;break;default:_e=re}return ie?_e:Y.a(_e)},fe.daysInMonth=function(){return this.endOf(b).$D},fe.$locale=function(){return L[this.$L]},fe.locale=function(W,ue){if(!W)return this.$L;var ie=this.clone(),_e=G(W,ue,!0);return _e&&(ie.$L=_e),ie},fe.clone=function(){return Y.w(this.$d,this)},fe.toDate=function(){return new Date(this.valueOf())},fe.toJSON=function(){return this.isValid()?this.toISOString():null},fe.toISOString=function(){return this.$d.toISOString()},fe.toString=function(){return this.$d.toUTCString()},le})(),oe=K.prototype;return B.prototype=oe,[["$ms",u],["$s",l],["$m",c],["$H",h],["$W",p],["$M",b],["$y",_],["$D",x]].forEach((function(le){oe[le[1]]=function(fe){return this.$g(fe,le[0],le[1])}})),B.extend=function(le,fe){return le.$i||(le(fe,K,B),le.$i=!0),B},B.locale=G,B.isDayjs=U,B.unix=function(le){return B(1e3*le)},B.en=L[k],B.Ls=L,B.p={},B}))})(S_)),S_.exports}var rne=nne();const En=Pn(rne);var __={exports:{}},ine=__.exports,d4;function ane(){return d4||(d4=1,(function(e,t){(function(n,i){e.exports=i()})(ine,(function(){return function(n,i,o){var u=i.prototype,l=function(b){return b&&(b.indexOf?b:b.s)},c=function(b,S,_,x,R){var O=b.name?b:b.$locale(),T=l(O[S]),M=l(O[_]),P=T||M.map((function(k){return k.slice(0,x)}));if(!R)return P;var C=O.weekStart;return P.map((function(k,L){return P[(L+(C||0))%7]}))},h=function(){return o.Ls[o.locale()]},p=function(b,S){return b.formats[S]||(function(_){return _.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(x,R,O){return R||O.slice(1)}))})(b.formats[S.toUpperCase()])},v=function(){var b=this;return{months:function(S){return S?S.format("MMMM"):c(b,"months")},monthsShort:function(S){return S?S.format("MMM"):c(b,"monthsShort","months",3)},firstDayOfWeek:function(){return b.$locale().weekStart||0},weekdays:function(S){return S?S.format("dddd"):c(b,"weekdays")},weekdaysMin:function(S){return S?S.format("dd"):c(b,"weekdaysMin","weekdays",2)},weekdaysShort:function(S){return S?S.format("ddd"):c(b,"weekdaysShort","weekdays",3)},longDateFormat:function(S){return p(b.$locale(),S)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};u.localeData=function(){return v.bind(this)()},o.localeData=function(){var b=h();return{firstDayOfWeek:function(){return b.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(S){return p(b,S)},meridiem:b.meridiem,ordinal:b.ordinal}},o.months=function(){return c(h(),"months")},o.monthsShort=function(){return c(h(),"monthsShort","months",3)},o.weekdays=function(b){return c(h(),"weekdays",null,null,b)},o.weekdaysShort=function(b){return c(h(),"weekdaysShort","weekdays",3,b)},o.weekdaysMin=function(b){return c(h(),"weekdaysMin","weekdays",2,b)}}}))})(__)),__.exports}var one=ane();const sne=Pn(one);var E_={exports:{}},une=E_.exports,h4;function lne(){return h4||(h4=1,(function(e,t){(function(n,i){e.exports=i()})(une,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,u=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,h={},p=function(O){return(O=+O)+(O>68?1900:2e3)},v=function(O){return function(T){this[O]=+T}},b=[/[+-]\d\d:?(\d\d)?|Z/,function(O){(this.zone||(this.zone={})).offset=(function(T){if(!T||T==="Z")return 0;var M=T.match(/([+-]|\d\d)/g),P=60*M[1]+(+M[2]||0);return P===0?0:M[0]==="+"?-P:P})(O)}],S=function(O){var T=h[O];return T&&(T.indexOf?T:T.s.concat(T.f))},_=function(O,T){var M,P=h.meridiem;if(P){for(var C=1;C<=24;C+=1)if(O.indexOf(P(C,0,T))>-1){M=C>12;break}}else M=O===(T?"pm":"PM");return M},x={A:[c,function(O){this.afternoon=_(O,!1)}],a:[c,function(O){this.afternoon=_(O,!0)}],Q:[o,function(O){this.month=3*(O-1)+1}],S:[o,function(O){this.milliseconds=100*+O}],SS:[u,function(O){this.milliseconds=10*+O}],SSS:[/\d{3}/,function(O){this.milliseconds=+O}],s:[l,v("seconds")],ss:[l,v("seconds")],m:[l,v("minutes")],mm:[l,v("minutes")],H:[l,v("hours")],h:[l,v("hours")],HH:[l,v("hours")],hh:[l,v("hours")],D:[l,v("day")],DD:[u,v("day")],Do:[c,function(O){var T=h.ordinal,M=O.match(/\d+/);if(this.day=M[0],T)for(var P=1;P<=31;P+=1)T(P).replace(/\[|\]/g,"")===O&&(this.day=P)}],w:[l,v("week")],ww:[u,v("week")],M:[l,v("month")],MM:[u,v("month")],MMM:[c,function(O){var T=S("months"),M=(S("monthsShort")||T.map((function(P){return P.slice(0,3)}))).indexOf(O)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[c,function(O){var T=S("months").indexOf(O)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,v("year")],YY:[u,function(O){this.year=p(O)}],YYYY:[/\d{4}/,v("year")],Z:b,ZZ:b};function R(O){var T,M;T=O,M=h&&h.formats;for(var P=(O=T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(B,Y,K){var oe=K&&K.toUpperCase();return Y||M[K]||n[K]||M[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(le,fe,W){return fe||W.slice(1)}))}))).match(i),C=P.length,k=0;k<C;k+=1){var L=P[k],z=x[L],U=z&&z[0],G=z&&z[1];P[k]=G?{regex:U,parser:G}:L.replace(/^\[|\]$/g,"")}return function(B){for(var Y={},K=0,oe=0;K<C;K+=1){var le=P[K];if(typeof le=="string")oe+=le.length;else{var fe=le.regex,W=le.parser,ue=B.slice(oe),ie=fe.exec(ue)[0];W.call(Y,ie),B=B.replace(ie,"")}}return(function(_e){var ae=_e.afternoon;if(ae!==void 0){var X=_e.hours;ae?X<12&&(_e.hours+=12):X===12&&(_e.hours=0),delete _e.afternoon}})(Y),Y}}return function(O,T,M){M.p.customParseFormat=!0,O&&O.parseTwoDigitYear&&(p=O.parseTwoDigitYear);var P=T.prototype,C=P.parse;P.parse=function(k){var L=k.date,z=k.utc,U=k.args;this.$u=z;var G=U[1];if(typeof G=="string"){var B=U[2]===!0,Y=U[3]===!0,K=B||Y,oe=U[2];Y&&(oe=U[2]),h=this.$locale(),!B&&oe&&(h=M.Ls[oe]),this.$d=(function(ue,ie,_e,ae){try{if(["x","X"].indexOf(ie)>-1)return new Date((ie==="X"?1e3:1)*ue);var X=R(ie)(ue),Q=X.year,te=X.month,re=X.day,Ee=X.hours,Se=X.minutes,Re=X.seconds,Pe=X.milliseconds,Le=X.zone,Ne=X.week,De=new Date,Ce=re||(Q||te?1:De.getDate()),Qe=Q||De.getFullYear(),Ve=0;Q&&!te||(Ve=te>0?te-1:De.getMonth());var He,ke=Ee||0,$e=Se||0,ct=Re||0,At=Pe||0;return Le?new Date(Date.UTC(Qe,Ve,Ce,ke,$e,ct,At+60*Le.offset*1e3)):_e?new Date(Date.UTC(Qe,Ve,Ce,ke,$e,ct,At)):(He=new Date(Qe,Ve,Ce,ke,$e,ct,At),Ne&&(He=ae(He).week(Ne).toDate()),He)}catch{return new Date("")}})(L,G,z,M),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),K&&L!=this.format(G)&&(this.$d=new Date("")),h={}}else if(G instanceof Array)for(var le=G.length,fe=1;fe<=le;fe+=1){U[1]=G[fe-1];var W=M.apply(this,U);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}fe===le&&(this.$d=new Date(""))}else C.call(this,k)}}}))})(E_)),E_.exports}var cne=lne();const fne=Pn(cne);function w_(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function lu(e,t){if(e==null)return{};var n,i,o=w_(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)n=u[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var dne=typeof Symbol=="function"&&Symbol.observable||"@@observable",p4=dne,RA=()=>Math.random().toString(36).substring(7).split("").join("."),hne={INIT:`@@redux/INIT${RA()}`,REPLACE:`@@redux/REPLACE${RA()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${RA()}`},Uf=hne;function Av(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function pne(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(vne(e))return"date";if(gne(e))return"error";const n=mne(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function mne(e){return typeof e.constructor=="function"?e.constructor.name:null}function gne(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function vne(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function dc(e){let t=typeof e;return t=pne(e),t}function m4(e,t,n){if(typeof e!="function")throw new Error(`Expected the root reducer to be a function. Instead, received: '${dc(e)}'`);if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(`Expected the enhancer to be a function. Instead, received: '${dc(n)}'`);return n(m4)(e,t)}let i=e,o=t,u=new Map,l=u,c=0,h=!1;function p(){l===u&&(l=new Map,u.forEach((O,T)=>{l.set(T,O)}))}function v(){if(h)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function b(O){if(typeof O!="function")throw new Error(`Expected the listener to be a function. Instead, received: '${dc(O)}'`);if(h)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let T=!0;p();const M=c++;return l.set(M,O),function(){if(T){if(h)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");T=!1,p(),l.delete(M),u=null}}}function S(O){if(!Av(O))throw new Error(`Actions must be plain objects. Instead, the actual type was: '${dc(O)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof O.type>"u")throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof O.type!="string")throw new Error(`Action "type" property must be a string. Instead, the actual type was: '${dc(O.type)}'. Value was: '${O.type}' (stringified)`);if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,o=i(o,O)}finally{h=!1}return(u=l).forEach(M=>{M()}),O}function _(O){if(typeof O!="function")throw new Error(`Expected the nextReducer to be a function. Instead, received: '${dc(O)}`);i=O,S({type:Uf.REPLACE})}function x(){const O=b;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(`Expected the observer to be an object. Instead, received: '${dc(T)}'`);function M(){const C=T;C.next&&C.next(v())}return M(),{unsubscribe:O(M)}},[p4](){return this}}}return S({type:Uf.INIT}),{dispatch:S,subscribe:b,getState:v,replaceReducer:_,[p4]:x}}function g4(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function yne(e,t,n,i){const o=Object.keys(t),u=n&&n.type===Uf.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Av(e))return`The ${u} has unexpected type of "${dc(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const l=Object.keys(e).filter(c=>!t.hasOwnProperty(c)&&!i[c]);if(l.forEach(c=>{i[c]=!0}),!(n&&n.type===Uf.REPLACE)&&l.length>0)return`Unexpected ${l.length>1?"keys":"key"} "${l.join('", "')}" found in ${u}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`}function bne(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Uf.INIT})>"u")throw new Error(`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:Uf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${Uf.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function Sne(e){const t=Object.keys(e),n={};for(let l=0;l<t.length;l++){const c=t[l];typeof e[c]>"u"&&g4(`No reducer provided for key "${c}"`),typeof e[c]=="function"&&(n[c]=e[c])}const i=Object.keys(n);let o;o={};let u;try{bne(n)}catch(l){u=l}return function(c={},h){if(u)throw u;{const b=yne(c,n,h,o);b&&g4(b)}let p=!1;const v={};for(let b=0;b<i.length;b++){const S=i[b],_=n[S],x=c[S],R=_(x,h);if(typeof R>"u"){const O=h&&h.type;throw new Error(`When called with an action of type ${O?`"${String(O)}"`:"(unknown type)"}, the slice reducer for key "${S}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}v[S]=R,p=p||R!==x}return p=p||i.length!==Object.keys(c).length,p?v:c}}function R_(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function _ne(...e){return t=>(n,i)=>{const o=t(n,i);let u=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const l={getState:o.getState,dispatch:(h,...p)=>u(h,...p)},c=e.map(h=>h(l));return u=R_(...c)(o.dispatch),{...o,dispatch:u}}}function v4(e){return Av(e)&&"type"in e&&typeof e.type=="string"}var y4=Symbol.for("immer-nothing"),b4=Symbol.for("immer-draftable"),da=Symbol.for("immer-state"),Ene=[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}];function lo(e,...t){{const n=Ene[e],i=Bf(n)?n.apply(null,t):n;throw new Error(`[Immer] ${i}`)}}var co=Object,rp=co.getPrototypeOf,O_="constructor",T_="prototype",OA="configurable",x_="enumerable",A_="writable",Cv="value",tl=e=>!!e&&!!e[da];function Ps(e){var t;return e?_4(e)||M_(e)||!!e[b4]||!!((t=e[O_])!=null&&t[b4])||N_(e)||P_(e):!1}var wne=co[T_][O_].toString(),S4=new WeakMap;function _4(e){if(!e||!xA(e))return!1;const t=rp(e);if(t===null||t===co[T_])return!0;const n=co.hasOwnProperty.call(t,O_)&&t[O_];if(n===Object)return!0;if(!Bf(n))return!1;let i=S4.get(n);return i===void 0&&(i=Function.toString.call(n),S4.set(n,i)),i===wne}function C_(e,t,n=!0){Dv(e)===0?(n?Reflect.ownKeys(e):co.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((i,o)=>t(o,i,e))}function Dv(e){const t=e[da];return t?t.type_:M_(e)?1:N_(e)?2:P_(e)?3:0}var E4=(e,t,n=Dv(e))=>n===2?e.has(t):co[T_].hasOwnProperty.call(e,t),TA=(e,t,n=Dv(e))=>n===2?e.get(t):e[t],D_=(e,t,n,i=Dv(e))=>{i===2?e.set(t,n):i===3?e.add(n):e[t]=n};function Rne(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var M_=Array.isArray,N_=e=>e instanceof Map,P_=e=>e instanceof Set,xA=e=>typeof e=="object",Bf=e=>typeof e=="function",AA=e=>typeof e=="boolean";function One(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var nl=e=>e.copy_||e.base_,CA=e=>e.modified_?e.copy_:e.base_;function DA(e,t){if(N_(e))return new Map(e);if(P_(e))return new Set(e);if(M_(e))return Array[T_].slice.call(e);const n=_4(e);if(t===!0||t==="class_only"&&!n){const i=co.getOwnPropertyDescriptors(e);delete i[da];let o=Reflect.ownKeys(i);for(let u=0;u<o.length;u++){const l=o[u],c=i[l];c[A_]===!1&&(c[A_]=!0,c[OA]=!0),(c.get||c.set)&&(i[l]={[OA]:!0,[A_]:!0,[x_]:c[x_],[Cv]:e[l]})}return co.create(rp(e),i)}else{const i=rp(e);if(i!==null&&n)return{...e};const o=co.create(i);return co.assign(o,e)}}function MA(e,t=!1){return j_(e)||tl(e)||!Ps(e)||(Dv(e)>1&&co.defineProperties(e,{set:k_,add:k_,clear:k_,delete:k_}),co.freeze(e),t&&C_(e,(n,i)=>{MA(i,!0)},!1)),e}function Tne(){lo(2)}var k_={[Cv]:Tne};function j_(e){return e===null||!xA(e)?!0:co.isFrozen(e)}var L_="MapSet",NA="Patches",w4="ArrayMethods",R4={};function Hf(e){const t=R4[e];return t||lo(0,e),t}var O4=e=>!!R4[e],Mv,T4=()=>Mv,xne=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:O4(L_)?Hf(L_):void 0,arrayMethodsPlugin_:O4(w4)?Hf(w4):void 0});function x4(e,t){t&&(e.patchPlugin_=Hf(NA),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function PA(e){kA(e),e.drafts_.forEach(Ane),e.drafts_=null}function kA(e){e===Mv&&(Mv=e.parent_)}var A4=e=>Mv=xne(Mv,e);function Ane(e){const t=e[da];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function C4(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[da].modified_&&(PA(t),lo(4)),Ps(e)&&(e=D4(t,e));const{patchPlugin_:o}=t;o&&o.generateReplacementPatches_(n[da].base_,e,t)}else e=D4(t,n);return Cne(t,e,!0),PA(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==y4?e:void 0}function D4(e,t){if(j_(t))return t;const n=t[da];if(!n)return $_(t,e.handledSet_,e);if(!I_(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:i}=n;if(i)for(;i.length>0;)i.pop()(e);P4(n,e)}return n.copy_}function Cne(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&MA(t,n)}function M4(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var I_=(e,t)=>e.scope_===t,Dne=[];function N4(e,t,n,i){const o=nl(e),u=e.type_;if(i!==void 0&&TA(o,i,u)===t){D_(o,i,n,u);return}if(!e.draftLocations_){const c=e.draftLocations_=new Map;C_(o,(h,p)=>{if(tl(p)){const v=c.get(p)||[];v.push(h),c.set(p,v)}})}const l=e.draftLocations_.get(t)??Dne;for(const c of l)D_(o,c,n,u)}function Mne(e,t,n){e.callbacks_.push(function(o){var c;const u=t;if(!u||!I_(u,o))return;(c=o.mapSetPlugin_)==null||c.fixSetContents(u);const l=CA(u);N4(e,u.draft_??u,l,n),P4(u,o)})}function P4(e,t){var i;if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(((i=e.assigned_)==null?void 0:i.size)??0)>0)){const{patchPlugin_:o}=t;if(o){const u=o.getPath(e);u&&o.generatePatches_(e,u,t)}M4(e)}}function Nne(e,t,n){const{scope_:i}=e;if(tl(n)){const o=n[da];I_(o,i)&&o.callbacks_.push(function(){q_(e);const l=CA(o);N4(e,n,l,t)})}else Ps(n)&&e.callbacks_.push(function(){const u=nl(e);e.type_===3?u.has(n)&&$_(n,i.handledSet_,i):TA(u,t,e.type_)===n&&i.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&$_(TA(e.copy_,t,e.type_),i.handledSet_,i)})}function $_(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||tl(e)||t.has(e)||!Ps(e)||j_(e)||(t.add(e),C_(e,(i,o)=>{if(tl(o)){const u=o[da];if(I_(u,n)){const l=CA(u);D_(e,i,l,e.type_),M4(u)}}else Ps(o)&&$_(o,t,n)})),e}function Pne(e,t){const n=M_(e),i={type_:n?1:0,scope_:t?t.scope_:T4(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=i,u=z_;n&&(o=[i],u=Nv);const{revoke:l,proxy:c}=Proxy.revocable(o,u);return i.draft_=c,i.revoke_=l,[c,i]}var z_={get(e,t){if(t===da)return e;let n=e.scope_.arrayMethodsPlugin_;const i=e.type_===1&&typeof t=="string";if(i&&n!=null&&n.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const o=nl(e);if(!E4(o,t,e.type_))return kne(e,o,t);const u=o[t];if(e.finalized_||!Ps(u)||i&&e.operationMethod&&(n!=null&&n.isMutatingArrayMethod(e.operationMethod))&&One(t))return u;if(u===jA(e.base_,t)){q_(e);const l=e.type_===1?+t:t,c=IA(e.scope_,u,e,l);return e.copy_[l]=c}return u},has(e,t){return t in nl(e)},ownKeys(e){return Reflect.ownKeys(nl(e))},set(e,t,n){const i=k4(nl(e),t);if(i!=null&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=jA(nl(e),t),u=o==null?void 0:o[da];if(u&&u.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Rne(n,o)&&(n!==void 0||E4(e.base_,t,e.type_)))return!0;q_(e),LA(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),Nne(e,t,n)),!0},deleteProperty(e,t){return q_(e),jA(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),LA(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=nl(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{[A_]:!0,[OA]:e.type_!==1||t!=="length",[x_]:i[x_],[Cv]:n[t]}},defineProperty(){lo(11)},getPrototypeOf(e){return rp(e.base_)},setPrototypeOf(){lo(12)}},Nv={};for(let e in z_){let t=z_[e];Nv[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}Nv.deleteProperty=function(e,t){return isNaN(parseInt(t))&&lo(13),Nv.set.call(this,e,t,void 0)},Nv.set=function(e,t,n){return t!=="length"&&isNaN(parseInt(t))&&lo(14),z_.set.call(this,e[0],t,n,e[0])};function jA(e,t){const n=e[da];return(n?nl(n):e)[t]}function kne(e,t,n){var o;const i=k4(t,n);return i?Cv in i?i[Cv]:(o=i.get)==null?void 0:o.call(e.draft_):void 0}function k4(e,t){if(!(t in e))return;let n=rp(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=rp(n)}}function LA(e){e.modified_||(e.modified_=!0,e.parent_&&LA(e.parent_))}function q_(e){e.copy_||(e.assigned_=new Map,e.copy_=DA(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var jne=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,i)=>{if(Bf(t)&&!Bf(n)){const u=n;n=t;const l=this;return function(h=u,...p){return l.produce(h,v=>n.call(this,v,...p))}}Bf(n)||lo(6),i!==void 0&&!Bf(i)&&lo(7);let o;if(Ps(t)){const u=A4(this),l=IA(u,t,void 0);let c=!0;try{o=n(l),c=!1}finally{c?PA(u):kA(u)}return x4(u,i),C4(o,u)}else if(!t||!xA(t)){if(o=n(t),o===void 0&&(o=t),o===y4&&(o=void 0),this.autoFreeze_&&MA(o,!0),i){const u=[],l=[];Hf(NA).generateReplacementPatches_(t,o,{patches_:u,inversePatches_:l}),i(u,l)}return o}else lo(1,t)},this.produceWithPatches=(t,n)=>{if(Bf(t))return(l,...c)=>this.produceWithPatches(l,h=>t(h,...c));let i,o;return[this.produce(t,n,(l,c)=>{i=l,o=c}),i,o]},AA(e==null?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),AA(e==null?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),AA(e==null?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Ps(e)||lo(8),tl(e)&&(e=Lne(e));const t=A4(this),n=IA(t,e,void 0);return n[da].isManual_=!0,kA(t),n}finishDraft(e,t){const n=e&&e[da];(!n||!n.isManual_)&&lo(9);const{scope_:i}=n;return x4(i,t),C4(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=Hf(NA).applyPatches_;return tl(e)?i(e,t):this.produce(e,o=>i(o,t))}};function IA(e,t,n,i){const[o,u]=N_(t)?Hf(L_).proxyMap_(t,n):P_(t)?Hf(L_).proxySet_(t,n):Pne(t,n);return((n==null?void 0:n.scope_)??T4()).drafts_.push(o),u.callbacks_=(n==null?void 0:n.callbacks_)??[],u.key_=i,n&&i!==void 0?Mne(n,u,i):u.callbacks_.push(function(h){var v;(v=h.mapSetPlugin_)==null||v.fixSetContents(u);const{patchPlugin_:p}=h;u.modified_&&p&&p.generatePatches_(u,[],h)}),o}function Lne(e){return tl(e)||lo(10,e),j4(e)}function j4(e){if(!Ps(e)||j_(e))return e;const t=e[da];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=DA(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=DA(e,!0);return C_(n,(o,u)=>{D_(n,o,j4(u))},i),t&&(t.finalized_=!1),n}var Ine=new jne,L4=Ine.produce;function I4(e){return({dispatch:n,getState:i})=>o=>u=>typeof u=="function"?u(n,i,e):o(u)}var $ne=I4(),zne=I4,qne={NODE_ENV:'"production"'},Une=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?R_:R_.apply(null,arguments)},Bne=e=>e&&typeof e.match=="function";function $4(e,t){function n(...i){if(t){let o=t(...i);if(!o)throw new Error("prepareAction did not return an object");return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>v4(i)&&i.type===e,n}function Hne(e){return typeof e=="function"&&"type"in e&&Bne(e)}function Fne(e){const t=e?`${e}`.split("/"):[],n=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
392
|
+
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${n}())\` instead of \`dispatch(${n})\`. This is necessary even if the action has no payload.`}function Vne(e={}){const{isActionCreator:t=Hne}=e;return()=>n=>i=>(t(i)&&console.warn(Fne(i.type)),n(i))}function z4(e,t){let n=0;return{measureTime(i){const o=Date.now();try{return i()}finally{const u=Date.now();n+=u-o}},warnIfExceeded(){n>e&&console.warn(`${t} took ${n}ms, which is more than the warning threshold of ${e}ms.
|
|
393
|
+
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
394
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var q4=class fS extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,fS.prototype)}static get[Symbol.species](){return fS}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new fS(...t[0].concat(this)):new fS(...t.concat(this))}};function U4(e){return Ps(e)?L4(e,()=>{}):e}function U_(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Yne(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function Gne(e,t,n){const i=B4(e,t,n);return{detectMutations(){return H4(e,t,i,n)}}}function B4(e,t=[],n,i="",o=new Set){const u={value:n};if(!e(n)&&!o.has(n)){o.add(n),u.children={};const l=t.length>0;for(const c in n){const h=i?i+"."+c:c;l&&t.some(v=>v instanceof RegExp?v.test(h):h===v)||(u.children[c]=B4(e,t,n[c],h))}}return u}function H4(e,t=[],n,i,o=!1,u=""){const l=n?n.value:void 0,c=l===i;if(o&&!c&&!Number.isNaN(i))return{wasMutated:!0,path:u};if(e(l)||e(i))return{wasMutated:!1};const h={};for(let v in n.children)h[v]=!0;for(let v in i)h[v]=!0;const p=t.length>0;for(let v in h){const b=u?u+"."+v:v;if(p&&t.some(x=>x instanceof RegExp?x.test(b):b===x))continue;const S=H4(e,t,n.children[v],i[v],c,b);if(S.wasMutated)return S}return{wasMutated:!1}}function Wne(e={}){{let t=function(c,h,p,v){return JSON.stringify(c,n(h,v),p)},n=function(c,h){let p=[],v=[];return h||(h=function(b,S){return p[0]===S?"[Circular ~]":"[Circular ~."+v.slice(0,p.indexOf(S)).join(".")+"]"}),function(b,S){if(p.length>0){var _=p.indexOf(this);~_?p.splice(_+1):p.push(this),~_?v.splice(_,1/0,b):v.push(b),~p.indexOf(S)&&(S=h.call(this,b,S))}else p.push(S);return c==null?S:c.call(this,b,S)}},{isImmutable:i=Yne,ignoredPaths:o,warnAfter:u=32}=e;const l=Gne.bind(null,i,o);return({getState:c})=>{let h=c(),p=l(h),v;return b=>S=>{const _=z4(u,"ImmutableStateInvariantMiddleware");_.measureTime(()=>{if(h=c(),v=p.detectMutations(),p=l(h),v.wasMutated)throw new Error(`A state mutation was detected between dispatches, in the path '${v.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const x=b(S);return _.measureTime(()=>{if(h=c(),v=p.detectMutations(),p=l(h),v.wasMutated)throw new Error(`A state mutation was detected inside a dispatch, in the path: ${v.path||""}. Take a look at the reducer(s) handling the action ${t(S)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),_.warnIfExceeded(),x}}}}function F4(e){const t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||Av(e)}function $A(e,t="",n=F4,i,o=[],u){let l;if(!n(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||u!=null&&u.has(e))return!1;const c=i!=null?i(e):Object.entries(e),h=o.length>0;for(const[p,v]of c){const b=t?t+"."+p:p;if(!(h&&o.some(_=>_ instanceof RegExp?_.test(b):b===_))){if(!n(v))return{keyPath:b,value:v};if(typeof v=="object"&&(l=$A(v,b,n,i,o,u),l))return l}}return u&&V4(e)&&u.add(e),!1}function V4(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if(!(typeof t!="object"||t===null)&&!V4(t))return!1;return!0}function Xne(e={}){{const{isSerializable:t=F4,getEntries:n,ignoredActions:i=[],ignoredActionPaths:o=["meta.arg","meta.baseQueryMeta"],ignoredPaths:u=[],warnAfter:l=32,ignoreState:c=!1,ignoreActions:h=!1,disableCache:p=!1}=e,v=!p&&WeakSet?new WeakSet:void 0;return b=>S=>_=>{if(!v4(_))return S(_);const x=S(_),R=z4(l,"SerializableStateInvariantMiddleware");return!h&&!(i.length&&i.indexOf(_.type)!==-1)&&R.measureTime(()=>{const O=$A(_,"",t,n,o,v);if(O){const{keyPath:T,value:M}=O;console.error(`A non-serializable value was detected in an action, in the path: \`${T}\`. Value:`,M,`
|
|
395
|
+
Take a look at the logic that dispatched this action: `,_,`
|
|
396
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
397
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),c||(R.measureTime(()=>{const O=b.getState(),T=$A(O,"",t,n,u,v);if(T){const{keyPath:M,value:P}=T;console.error(`A non-serializable value was detected in the state, in the path: \`${M}\`. Value:`,P,`
|
|
398
|
+
Take a look at the reducer(s) handling this action type: ${_.type}.
|
|
399
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),R.warnIfExceeded()),x}}}function B_(e){return typeof e=="boolean"}var Qne=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:o=!0,actionCreatorCheck:u=!0}=t??{};let l=new q4;n&&(B_(n)?l.push($ne):l.push(zne(n.extraArgument)));{if(i){let c={};B_(i)||(c=i),l.unshift(Wne(c))}if(o){let c={};B_(o)||(c=o),l.push(Xne(c))}if(u){let c={};B_(u)||(c=u),l.unshift(Vne(c))}}return l},Kne="RTK_autoBatch",Y4=e=>t=>{setTimeout(t,e)},Zne=(e,t)=>n=>{let i=!1;const o=()=>{i||(i=!0,cancelAnimationFrame(u),clearTimeout(l),n())},u=e(o),l=setTimeout(o,t)},Jne=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let o=!0,u=!1,l=!1;const c=new Set,h=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Zne(window.requestAnimationFrame,100):Y4(10):e.type==="callback"?e.queueNotification:Y4(e.timeout),p=()=>{l=!1,u&&(u=!1,c.forEach(v=>v()))};return Object.assign({},i,{subscribe(v){const b=()=>o&&v(),S=i.subscribe(b);return c.add(v),()=>{S(),c.delete(v)}},dispatch(v){var b;try{return o=!((b=v==null?void 0:v.meta)!=null&&b[Kne]),u=!o,u&&(l||(l=!0,h(p))),i.dispatch(v)}finally{o=!0}}})},ere=e=>function(n){const{autoBatch:i=!0}=n??{};let o=new q4(e);return i&&o.push(Jne(typeof i=="object"?i:void 0)),o};function tre(e){const t=Qne(),{reducer:n=void 0,middleware:i,devTools:o=!0,duplicateMiddlewareCheck:u=!0,preloadedState:l=void 0,enhancers:c=void 0}=e||{};let h;if(typeof n=="function")h=n;else if(Av(n))h=Sne(n);else throw new Error("`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(i&&typeof i!="function")throw new Error("`middleware` field must be a callback");let p;if(typeof i=="function"){if(p=i(t),!Array.isArray(p))throw new Error("when using a middleware builder function, an array of middleware must be returned")}else p=t();if(p.some(R=>typeof R!="function"))throw new Error("each middleware provided to configureStore must be a function");if(u){let R=new Set;p.forEach(O=>{if(R.has(O))throw new Error("Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");R.add(O)})}let v=R_;o&&(v=Une({trace:qne.NODE_ENV!=="production",...typeof o=="object"&&o}));const b=_ne(...p),S=ere(b);if(c&&typeof c!="function")throw new Error("`enhancers` field must be a callback");let _=typeof c=="function"?c(S):S();if(!Array.isArray(_))throw new Error("`enhancers` callback must return an array");if(_.some(R=>typeof R!="function"))throw new Error("each enhancer provided to configureStore must be a function");p.length&&!_.includes(b)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const x=v(..._);return m4(h,l,x)}function G4(e){const t={},n=[];let i;const o={addCase(u,l){{if(n.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(i)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const c=typeof u=="string"?u:u.type;if(!c)throw new Error("`builder.addCase` cannot be called with an empty action type");if(c in t)throw new Error(`\`builder.addCase\` cannot be called with two reducers for the same action type '${c}'`);return t[c]=l,o},addAsyncThunk(u,l){if(i)throw new Error("`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return l.pending&&(t[u.pending.type]=l.pending),l.rejected&&(t[u.rejected.type]=l.rejected),l.fulfilled&&(t[u.fulfilled.type]=l.fulfilled),l.settled&&n.push({matcher:u.settled,reducer:l.settled}),o},addMatcher(u,l){if(i)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:u,reducer:l}),o},addDefaultCase(u){if(i)throw new Error("`builder.addDefaultCase` can only be called once");return i=u,o}};return e(o),[t,n,i]}function nre(e){return typeof e=="function"}function rre(e,t){if(typeof t=="object")throw new Error("The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[n,i,o]=G4(t),u;if(nre(e))u=()=>U4(e());else{const c=U4(e);u=()=>c}function l(c=u(),h){let p=[n[h.type],...i.filter(({matcher:v})=>v(h)).map(({reducer:v})=>v)];return p.filter(v=>!!v).length===0&&(p=[o]),p.reduce((v,b)=>{if(b)if(tl(v)){const _=b(v,h);return _===void 0?v:_}else{if(Ps(v))return L4(v,S=>b(S,h));{const S=b(v,h);if(S===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return S}}return v},c)}return l.getInitialState=u,l}var ire=Symbol.for("rtk-slice-createasyncthunk");function are(e,t){return`${e}/${t}`}function ore({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[ire];return function(o){const{name:u,reducerPath:l=u}=o;if(!u)throw new Error("`name` is a required option for createSlice");const c=(typeof o.reducers=="function"?o.reducers(ure()):o.reducers)||{},h=Object.keys(c),p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},v={addCase(C,k){const L=typeof C=="string"?C:C.type;if(!L)throw new Error("`context.addCase` cannot be called with an empty action type");if(L in p.sliceCaseReducersByType)throw new Error("`context.addCase` cannot be called with two reducers for the same action type: "+L);return p.sliceCaseReducersByType[L]=k,v},addMatcher(C,k){return p.sliceMatchers.push({matcher:C,reducer:k}),v},exposeAction(C,k){return p.actionCreators[C]=k,v},exposeCaseReducer(C,k){return p.sliceCaseReducersByName[C]=k,v}};h.forEach(C=>{const k=c[C],L={reducerName:C,type:are(u,C),createNotation:typeof o.reducers=="function"};cre(k)?dre(L,k,v,t):lre(L,k,v)});function b(){if(typeof o.extraReducers=="object")throw new Error("The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[C={},k=[],L=void 0]=typeof o.extraReducers=="function"?G4(o.extraReducers):[o.extraReducers],z={...C,...p.sliceCaseReducersByType};return rre(o.initialState,U=>{for(let G in z)U.addCase(G,z[G]);for(let G of p.sliceMatchers)U.addMatcher(G.matcher,G.reducer);for(let G of k)U.addMatcher(G.matcher,G.reducer);L&&U.addDefaultCase(L)})}const S=C=>C,_=new Map,x=new WeakMap;let R;function O(C,k){return R||(R=b()),R(C,k)}function T(){return R||(R=b()),R.getInitialState()}function M(C,k=!1){function L(U){let G=U[C];if(typeof G>"u")if(k)G=U_(x,L,T);else throw new Error("selectSlice returned undefined for an uninjected slice reducer");return G}function z(U=S){const G=U_(_,k,()=>new WeakMap);return U_(G,U,()=>{const B={};for(const[Y,K]of Object.entries(o.selectors??{}))B[Y]=sre(K,U,()=>U_(x,U,T),k);return B})}return{reducerPath:C,getSelectors:z,get selectors(){return z(L)},selectSlice:L}}const P={name:u,reducer:O,actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState:T,...M(l),injectInto(C,{reducerPath:k,...L}={}){const z=k??l;return C.inject({reducerPath:z,reducer:O},L),{...P,...M(z,!0)}}};return P}}function sre(e,t,n,i){function o(u,...l){let c=t(u);if(typeof c>"u")if(i)c=n();else throw new Error("selectState returned undefined for an uninjected slice reducer");return e(c,...l)}return o.unwrapped=e,o}var W4=ore();function ure(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function lre({type:e,reducerName:t,createNotation:n},i,o){let u,l;if("reducer"in i){if(n&&!fre(i))throw new Error("Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");u=i.reducer,l=i.prepare}else u=i;o.addCase(e,u).exposeCaseReducer(t,u).exposeAction(t,l?$4(e,l):$4(e))}function cre(e){return e._reducerDefinitionType==="asyncThunk"}function fre(e){return e._reducerDefinitionType==="reducerWithPrepare"}function dre({type:e,reducerName:t},n,i,o){if(!o)throw new Error("Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:u,fulfilled:l,pending:c,rejected:h,settled:p,options:v}=n,b=o(e,u,v);i.exposeAction(t,b),l&&i.addCase(b.fulfilled,l),c&&i.addCase(b.pending,c),h&&i.addCase(b.rejected,h),p&&i.addMatcher(b.settled,p),i.exposeCaseReducer(t,{fulfilled:l||H_,pending:c||H_,rejected:h||H_,settled:p||H_})}function H_(){}const X4={permissions:{},userInfo:{},roleInfo:{},isFetchedVerifyUser:!1,isCheckedAuthentication:!1,isLoadingUserDetails:!0},Q4=W4({name:"auth",initialState:X4,reducers:{checkVerifyUser:(e,t)=>{const{permissions:n,...i}=t.payload||{};return{...e,isFetchedVerifyUser:!0,permissions:n||{},userInfo:i}},checkAuthenticate:(e,t)=>({...e,isCheckedAuthentication:t.payload}),updateUserInfo:(e,t)=>{const{userInfo:n}=e;return{...e,userInfo:{...n,...t.payload}}},updateLoadingUserDetails:(e,t)=>({...e,isLoadingUserDetails:t.payload}),updateInitialState:()=>X4}}),{checkVerifyUser:Rme,checkAuthenticate:Ome,updateUserInfo:Tme,updateLoadingUserDetails:xme,updateInitialState:Ame}=Q4.actions,hre=Q4.reducer,K4=W4({name:"app",initialState:{orgBookingDetails:null,dateFormat:"DD MMMM, YYYY",timeFormat:"HH:mm",isTwelveHours:!1},reducers:{setOrgBookingDetails:(e,t)=>{var o;const n=((o=t.payload)==null?void 0:o.organization_setting)||{},i=n.time_format==="12_hours";return{...e,orgBookingDetails:t.payload,isTwelveHours:i,timeFormat:i?"hh:mm A":"HH:mm",dateFormat:n.date_format||e.dateFormat}}}}),{setOrgBookingDetails:pre}=K4.actions,mre=K4.reducer;var gre={NODE_ENV:'"production"'};const vre=tre({reducer:{auth:hre,app:mre},devTools:gre.NODE_ENV!=="production",middleware:e=>e()});function yre(e){return new bre((t,n)=>e(n,t))}class bre extends Wi{constructor(t){super((n,i)=>{const{...o}=n;return Object.defineProperty(o,"client",{enumerable:!1,value:n.client}),new Yn(u=>{let l=!1;return Promise.resolve(o).then(c=>t(n.getContext(),c)).then(n.setContext).then(()=>{l||i(n).subscribe(u)}).catch(u.error.bind(u)),()=>{l=!0}})})}}const Sre=yre((e,{headers:t})=>({headers:{...t,Authorization:j$()}}));class _re extends Wi{constructor(t){super((n,i)=>new Yn(o=>{let u,l,c;try{u=i(n).subscribe({next:h=>{const p=n.client.queryManager.incrementalHandler,v=p.isIncrementalResult(h)?p.extractErrors(h):h.errors;v?c=t({error:new Ju(h,v),result:h,operation:n,forward:i}):Uz(h)&&(c=t({error:h.extensions[cv],result:h,operation:n,forward:i})),l=c==null?void 0:c.subscribe(o),l||o.next(h)},error:h=>{c=t({operation:n,error:ix(h),forward:i}),l=c==null?void 0:c.subscribe(o),l||o.error(h)},complete:()=>{c||o.complete()}})}catch(h){t({error:ix(h),operation:n,forward:i}),o.error(h)}return()=>{u&&u.unsubscribe(),l&&l.unsubscribe()}}))}}const Ere=new _re(({error:e})=>{Ju.is(e)?e.errors.forEach(({message:t,locations:n,path:i})=>console.error(`[GraphQL error] message: ${t} | location: ${n} | path: ${i}`)):e&&console.error(`[Network error] ${e}`)}),zA={};var wre={};const Rre=new _Z({uri:`${(zA==null?void 0:zA.VITE_API_BASE_URL)||wre.NEXT_PUBLIC_API_BASE_URL}/graphql`}),Ore=new rZ({link:Wi.from([Sre,Ere,Rre]),cache:new K2});var F_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_AN_ORGANIZATION_BOOKING_DETAILS"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queryData"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrganizationBookingDetailsQueryInputType"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getAnOrganizationBookingDetails"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queryData"},value:{kind:"Variable",name:{kind:"Name",value:"queryData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo_file_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon_file_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organization_setting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time_zone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"booking_buffer_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"booking_default_duration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"booking_widget_font"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"booking_widget_theme_color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"booking_widget_icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"visibility"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"organization_users"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"first_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatar_file"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:666}};F_.loc.source={body:`query GET_AN_ORGANIZATION_BOOKING_DETAILS($queryData: OrganizationBookingDetailsQueryInputType) {
|
|
400
|
+
getAnOrganizationBookingDetails(queryData: $queryData) {
|
|
401
|
+
id
|
|
402
|
+
name
|
|
403
|
+
logo_file_key
|
|
404
|
+
icon_file_key
|
|
405
|
+
organization_setting {
|
|
406
|
+
email
|
|
407
|
+
time_zone
|
|
408
|
+
booking_buffer_time
|
|
409
|
+
booking_default_duration
|
|
410
|
+
booking_widget_font
|
|
411
|
+
booking_widget_theme_color
|
|
412
|
+
booking_widget_icon {
|
|
413
|
+
id
|
|
414
|
+
key
|
|
415
|
+
title
|
|
416
|
+
visibility
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
organization_users {
|
|
420
|
+
id
|
|
421
|
+
user {
|
|
422
|
+
id
|
|
423
|
+
email
|
|
424
|
+
first_name
|
|
425
|
+
last_name
|
|
426
|
+
avatar_file {
|
|
427
|
+
id
|
|
428
|
+
key
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function V_(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){V_(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){V_(i,t)}),e.definitions&&e.definitions.forEach(function(i){V_(i,t)})}var qA={};(function(){F_.definitions.forEach(function(t){if(t.name){var n=new Set;V_(t,n),qA[t.name.value]=n}})})();function Z4(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function Tre(e,t){var n={kind:e.kind,definitions:[Z4(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=qA[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=qA[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=Z4(e,c);h&&n.definitions.push(h)}),n}Tre(F_,"GET_AN_ORGANIZATION_BOOKING_DETAILS");const xre=({children:e})=>{const t=fW(),{data:n,loading:i}=VS(F_);return F.useEffect(()=>{n!=null&&n.getAnOrganizationBookingDetails&&t(pre(n.getAnOrganizationBookingDetails))},[n,t]),i?ce.jsx("div",{className:"flex h-full items-center justify-center",children:ce.jsx("div",{className:"size-8 animate-spin rounded-full border-4 border-border-light border-t-brand"})}):e},Are=({children:e})=>ce.jsx(dQ,{client:Ore,children:ce.jsx(uW,{store:vre,children:ce.jsx(qf,{children:ce.jsx(xre,{children:e})})})});var UA={exports:{}},BA={exports:{}},Rn={},J4;function Cre(){if(J4)return Rn;J4=1;/** @license React v16.13.1
|
|
435
|
+
* react-is.development.js
|
|
436
|
+
*
|
|
437
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
438
|
+
*
|
|
439
|
+
* This source code is licensed under the MIT license found in the
|
|
440
|
+
* LICENSE file in the root directory of this source tree.
|
|
441
|
+
*/return(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,O=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function P(Ce){return typeof Ce=="string"||typeof Ce=="function"||Ce===i||Ce===p||Ce===u||Ce===o||Ce===b||Ce===S||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===x||Ce.$$typeof===_||Ce.$$typeof===l||Ce.$$typeof===c||Ce.$$typeof===v||Ce.$$typeof===O||Ce.$$typeof===T||Ce.$$typeof===M||Ce.$$typeof===R)}function C(Ce){if(typeof Ce=="object"&&Ce!==null){var Qe=Ce.$$typeof;switch(Qe){case t:var Ve=Ce.type;switch(Ve){case h:case p:case i:case u:case o:case b:return Ve;default:var He=Ve&&Ve.$$typeof;switch(He){case c:case v:case x:case _:case l:return He;default:return Qe}}case n:return Qe}}}var k=h,L=p,z=c,U=l,G=t,B=v,Y=i,K=x,oe=_,le=n,fe=u,W=o,ue=b,ie=!1;function _e(Ce){return ie||(ie=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ae(Ce)||C(Ce)===h}function ae(Ce){return C(Ce)===p}function X(Ce){return C(Ce)===c}function Q(Ce){return C(Ce)===l}function te(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===t}function re(Ce){return C(Ce)===v}function Ee(Ce){return C(Ce)===i}function Se(Ce){return C(Ce)===x}function Re(Ce){return C(Ce)===_}function Pe(Ce){return C(Ce)===n}function Le(Ce){return C(Ce)===u}function Ne(Ce){return C(Ce)===o}function De(Ce){return C(Ce)===b}Rn.AsyncMode=k,Rn.ConcurrentMode=L,Rn.ContextConsumer=z,Rn.ContextProvider=U,Rn.Element=G,Rn.ForwardRef=B,Rn.Fragment=Y,Rn.Lazy=K,Rn.Memo=oe,Rn.Portal=le,Rn.Profiler=fe,Rn.StrictMode=W,Rn.Suspense=ue,Rn.isAsyncMode=_e,Rn.isConcurrentMode=ae,Rn.isContextConsumer=X,Rn.isContextProvider=Q,Rn.isElement=te,Rn.isForwardRef=re,Rn.isFragment=Ee,Rn.isLazy=Se,Rn.isMemo=Re,Rn.isPortal=Pe,Rn.isProfiler=Le,Rn.isStrictMode=Ne,Rn.isSuspense=De,Rn.isValidElementType=P,Rn.typeOf=C})(),Rn}var eU;function tU(){return eU||(eU=1,BA.exports=Cre()),BA.exports}/*
|
|
442
|
+
object-assign
|
|
443
|
+
(c) Sindre Sorhus
|
|
444
|
+
@license MIT
|
|
445
|
+
*/var HA,nU;function Dre(){if(nU)return HA;nU=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function o(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var l={},c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var h=Object.getOwnPropertyNames(l).map(function(v){return l[v]});if(h.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(v){p[v]=v}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return HA=o()?Object.assign:function(u,l){for(var c,h=i(u),p,v=1;v<arguments.length;v++){c=Object(arguments[v]);for(var b in c)t.call(c,b)&&(h[b]=c[b]);if(e){p=e(c);for(var S=0;S<p.length;S++)n.call(c,p[S])&&(h[p[S]]=c[p[S]])}}return h},HA}var FA,rU;function iU(){if(rU)return FA;rU=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return FA=e,FA}var VA,aU;function oU(){return aU||(aU=1,VA=Function.call.bind(Object.prototype.hasOwnProperty)),VA}var YA,sU;function Mre(){if(sU)return YA;sU=1;var e=function(){};{var t=iU(),n={},i=oU();e=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function o(u,l,c,h,p){for(var v in u)if(i(u,v)){var b;try{if(typeof u[v]!="function"){var S=Error((h||"React class")+": "+c+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw S.name="Invariant Violation",S}b=u[v](l,v,h,c,null,t)}catch(x){b=x}if(b&&!(b instanceof Error)&&e((h||"React class")+": type specification of "+c+" `"+v+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof b+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),b instanceof Error&&!(b.message in n)){n[b.message]=!0;var _=p?p():"";e("Failed "+c+" type: "+b.message+(_??""))}}}return o.resetWarningCache=function(){n={}},YA=o,YA}var GA,uU;function Nre(){if(uU)return GA;uU=1;var e=tU(),t=Dre(),n=iU(),i=oU(),o=Mre(),u=function(){};u=function(c){var h="Warning: "+c;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}};function l(){return null}return GA=function(c,h){var p=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function b(ae){var X=ae&&(p&&ae[p]||ae[v]);if(typeof X=="function")return X}var S="<<anonymous>>",_={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:M(),arrayOf:P,element:C(),elementType:k(),instanceOf:L,node:B(),objectOf:U,oneOf:z,oneOfType:G,shape:K,exact:oe};function x(ae,X){return ae===X?ae!==0||1/ae===1/X:ae!==ae&&X!==X}function R(ae,X){this.message=ae,this.data=X&&typeof X=="object"?X:{},this.stack=""}R.prototype=Error.prototype;function O(ae){var X={},Q=0;function te(Ee,Se,Re,Pe,Le,Ne,De){if(Pe=Pe||S,Ne=Ne||Re,De!==n){if(h){var Ce=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ce.name="Invariant Violation",Ce}else if(typeof console<"u"){var Qe=Pe+":"+Re;!X[Qe]&&Q<3&&(u("You are manually calling a React.PropTypes validation function for the `"+Ne+"` prop on `"+Pe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),X[Qe]=!0,Q++)}}return Se[Re]==null?Ee?Se[Re]===null?new R("The "+Le+" `"+Ne+"` is marked as required "+("in `"+Pe+"`, but its value is `null`.")):new R("The "+Le+" `"+Ne+"` is marked as required in "+("`"+Pe+"`, but its value is `undefined`.")):null:ae(Se,Re,Pe,Le,Ne)}var re=te.bind(null,!1);return re.isRequired=te.bind(null,!0),re}function T(ae){function X(Q,te,re,Ee,Se,Re){var Pe=Q[te],Le=W(Pe);if(Le!==ae){var Ne=ue(Pe);return new R("Invalid "+Ee+" `"+Se+"` of type "+("`"+Ne+"` supplied to `"+re+"`, expected ")+("`"+ae+"`."),{expectedType:ae})}return null}return O(X)}function M(){return O(l)}function P(ae){function X(Q,te,re,Ee,Se){if(typeof ae!="function")return new R("Property `"+Se+"` of component `"+re+"` has invalid PropType notation inside arrayOf.");var Re=Q[te];if(!Array.isArray(Re)){var Pe=W(Re);return new R("Invalid "+Ee+" `"+Se+"` of type "+("`"+Pe+"` supplied to `"+re+"`, expected an array."))}for(var Le=0;Le<Re.length;Le++){var Ne=ae(Re,Le,re,Ee,Se+"["+Le+"]",n);if(Ne instanceof Error)return Ne}return null}return O(X)}function C(){function ae(X,Q,te,re,Ee){var Se=X[Q];if(!c(Se)){var Re=W(Se);return new R("Invalid "+re+" `"+Ee+"` of type "+("`"+Re+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return O(ae)}function k(){function ae(X,Q,te,re,Ee){var Se=X[Q];if(!e.isValidElementType(Se)){var Re=W(Se);return new R("Invalid "+re+" `"+Ee+"` of type "+("`"+Re+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return O(ae)}function L(ae){function X(Q,te,re,Ee,Se){if(!(Q[te]instanceof ae)){var Re=ae.name||S,Pe=_e(Q[te]);return new R("Invalid "+Ee+" `"+Se+"` of type "+("`"+Pe+"` supplied to `"+re+"`, expected ")+("instance of `"+Re+"`."))}return null}return O(X)}function z(ae){if(!Array.isArray(ae))return arguments.length>1?u("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):u("Invalid argument supplied to oneOf, expected an array."),l;function X(Q,te,re,Ee,Se){for(var Re=Q[te],Pe=0;Pe<ae.length;Pe++)if(x(Re,ae[Pe]))return null;var Le=JSON.stringify(ae,function(De,Ce){var Qe=ue(Ce);return Qe==="symbol"?String(Ce):Ce});return new R("Invalid "+Ee+" `"+Se+"` of value `"+String(Re)+"` "+("supplied to `"+re+"`, expected one of "+Le+"."))}return O(X)}function U(ae){function X(Q,te,re,Ee,Se){if(typeof ae!="function")return new R("Property `"+Se+"` of component `"+re+"` has invalid PropType notation inside objectOf.");var Re=Q[te],Pe=W(Re);if(Pe!=="object")return new R("Invalid "+Ee+" `"+Se+"` of type "+("`"+Pe+"` supplied to `"+re+"`, expected an object."));for(var Le in Re)if(i(Re,Le)){var Ne=ae(Re,Le,re,Ee,Se+"."+Le,n);if(Ne instanceof Error)return Ne}return null}return O(X)}function G(ae){if(!Array.isArray(ae))return u("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var X=0;X<ae.length;X++){var Q=ae[X];if(typeof Q!="function")return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ie(Q)+" at index "+X+"."),l}function te(re,Ee,Se,Re,Pe){for(var Le=[],Ne=0;Ne<ae.length;Ne++){var De=ae[Ne],Ce=De(re,Ee,Se,Re,Pe,n);if(Ce==null)return null;Ce.data&&i(Ce.data,"expectedType")&&Le.push(Ce.data.expectedType)}var Qe=Le.length>0?", expected one of type ["+Le.join(", ")+"]":"";return new R("Invalid "+Re+" `"+Pe+"` supplied to "+("`"+Se+"`"+Qe+"."))}return O(te)}function B(){function ae(X,Q,te,re,Ee){return le(X[Q])?null:new R("Invalid "+re+" `"+Ee+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return O(ae)}function Y(ae,X,Q,te,re){return new R((ae||"React class")+": "+X+" type `"+Q+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+re+"`.")}function K(ae){function X(Q,te,re,Ee,Se){var Re=Q[te],Pe=W(Re);if(Pe!=="object")return new R("Invalid "+Ee+" `"+Se+"` of type `"+Pe+"` "+("supplied to `"+re+"`, expected `object`."));for(var Le in ae){var Ne=ae[Le];if(typeof Ne!="function")return Y(re,Ee,Se,Le,ue(Ne));var De=Ne(Re,Le,re,Ee,Se+"."+Le,n);if(De)return De}return null}return O(X)}function oe(ae){function X(Q,te,re,Ee,Se){var Re=Q[te],Pe=W(Re);if(Pe!=="object")return new R("Invalid "+Ee+" `"+Se+"` of type `"+Pe+"` "+("supplied to `"+re+"`, expected `object`."));var Le=t({},Q[te],ae);for(var Ne in Le){var De=ae[Ne];if(i(ae,Ne)&&typeof De!="function")return Y(re,Ee,Se,Ne,ue(De));if(!De)return new R("Invalid "+Ee+" `"+Se+"` key `"+Ne+"` supplied to `"+re+"`.\nBad object: "+JSON.stringify(Q[te],null," ")+`
|
|
446
|
+
Valid keys: `+JSON.stringify(Object.keys(ae),null," "));var Ce=De(Re,Ne,re,Ee,Se+"."+Ne,n);if(Ce)return Ce}return null}return O(X)}function le(ae){switch(typeof ae){case"number":case"string":case"undefined":return!0;case"boolean":return!ae;case"object":if(Array.isArray(ae))return ae.every(le);if(ae===null||c(ae))return!0;var X=b(ae);if(X){var Q=X.call(ae),te;if(X!==ae.entries){for(;!(te=Q.next()).done;)if(!le(te.value))return!1}else for(;!(te=Q.next()).done;){var re=te.value;if(re&&!le(re[1]))return!1}}else return!1;return!0;default:return!1}}function fe(ae,X){return ae==="symbol"?!0:X?X["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&X instanceof Symbol:!1}function W(ae){var X=typeof ae;return Array.isArray(ae)?"array":ae instanceof RegExp?"object":fe(X,ae)?"symbol":X}function ue(ae){if(typeof ae>"u"||ae===null)return""+ae;var X=W(ae);if(X==="object"){if(ae instanceof Date)return"date";if(ae instanceof RegExp)return"regexp"}return X}function ie(ae){var X=ue(ae);switch(X){case"array":case"object":return"an "+X;case"boolean":case"date":case"regexp":return"a "+X;default:return X}}function _e(ae){return!ae.constructor||!ae.constructor.name?S:ae.constructor.name}return _.checkPropTypes=o,_.resetWarningCache=o.resetWarningCache,_.PropTypes=_,_},GA}var lU;function Pre(){if(lU)return UA.exports;lU=1;{var e=tU(),t=!0;UA.exports=Nre()(e.isElement,t)}return UA.exports}var kre=Pre();const N=Pn(kre);function WA(){return WA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WA.apply(this,arguments)}function jre(e,t){if(e==null)return{};var n=Lre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Lre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Pv=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=jre(e,["color","size"]);return se.createElement("svg",WA({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),se.createElement("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),se.createElement("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"}))});Pv.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},Pv.displayName="AlertTriangle";function XA(){return XA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XA.apply(this,arguments)}function Ire(e,t){if(e==null)return{};var n=$re(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function $re(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Y_=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Ire(e,["color","size"]);return se.createElement("svg",XA({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),se.createElement("polyline",{points:"12 19 5 12 12 5"}))});Y_.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},Y_.displayName="ArrowLeft";function QA(){return QA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},QA.apply(this,arguments)}function zre(e,t){if(e==null)return{};var n=qre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function qre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var ip=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=zre(e,["color","size"]);return se.createElement("svg",QA({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),se.createElement("polyline",{points:"12 5 19 12 12 19"}))});ip.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},ip.displayName="ArrowRight";function KA(){return KA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},KA.apply(this,arguments)}function Ure(e,t){if(e==null)return{};var n=Bre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Bre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var ZA=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Ure(e,["color","size"]);return se.createElement("svg",KA({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),se.createElement("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),se.createElement("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),se.createElement("line",{x1:"3",y1:"10",x2:"21",y2:"10"}))});ZA.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},ZA.displayName="Calendar";function JA(){return JA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},JA.apply(this,arguments)}function Hre(e,t){if(e==null)return{};var n=Fre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Fre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var eC=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Hre(e,["color","size"]);return se.createElement("svg",JA({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("polyline",{points:"20 6 9 17 4 12"}))});eC.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},eC.displayName="Check";function tC(){return tC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tC.apply(this,arguments)}function Vre(e,t){if(e==null)return{};var n=Yre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Yre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var nC=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Vre(e,["color","size"]);return se.createElement("svg",tC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("polyline",{points:"6 9 12 15 18 9"}))});nC.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},nC.displayName="ChevronDown";function rC(){return rC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rC.apply(this,arguments)}function Gre(e,t){if(e==null)return{};var n=Wre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Wre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var iC=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Gre(e,["color","size"]);return se.createElement("svg",rC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("polyline",{points:"15 18 9 12 15 6"}))});iC.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},iC.displayName="ChevronLeft";function aC(){return aC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aC.apply(this,arguments)}function Xre(e,t){if(e==null)return{};var n=Qre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Qre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var oC=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Xre(e,["color","size"]);return se.createElement("svg",aC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("polyline",{points:"9 18 15 12 9 6"}))});oC.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},oC.displayName="ChevronRight";function sC(){return sC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sC.apply(this,arguments)}function Kre(e,t){if(e==null)return{};var n=Zre(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Zre(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Ff=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Kre(e,["color","size"]);return se.createElement("svg",sC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("circle",{cx:"12",cy:"12",r:"10"}),se.createElement("polyline",{points:"12 6 12 12 16 14"}))});Ff.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},Ff.displayName="Clock";function uC(){return uC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uC.apply(this,arguments)}function Jre(e,t){if(e==null)return{};var n=eie(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function eie(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var kv=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=Jre(e,["color","size"]);return se.createElement("svg",uC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("circle",{cx:"12",cy:"12",r:"10"}),se.createElement("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),se.createElement("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}))});kv.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},kv.displayName="Globe";function lC(){return lC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lC.apply(this,arguments)}function tie(e,t){if(e==null)return{};var n=nie(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function nie(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var G_=F.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,o=e.size,u=o===void 0?24:o,l=tie(e,["color","size"]);return se.createElement("svg",lC({ref:t,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),se.createElement("polygon",{points:"23 7 16 12 23 17 23 7"}),se.createElement("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"}))});G_.propTypes={color:N.string,size:N.oneOfType([N.string,N.number])},G_.displayName="Video";const rie=e=>{const[t,n]=F.useState(()=>e?Math.max(0,Math.floor((e-Date.now())/1e3)):0),[i,o]=F.useState(!1);return F.useEffect(()=>{if(!e)return n(0),o(!1),()=>{};o(!1);const u=()=>Math.max(0,Math.floor((e-Date.now())/1e3)),l=u();if(n(l),l===0)return o(!0),()=>{};const c=setInterval(()=>{const h=u();n(h),h===0&&(o(!0),clearInterval(c))},1e3);return()=>clearInterval(c)},[e]),{minutes:String(Math.floor(t/60)).padStart(2,"0"),seconds:String(t%60).padStart(2,"0"),isExpired:i}};var W_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RELEASE_RESERVED_EVENT"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inputData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReleaseReservedEventInputType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"releaseReservedEvent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"inputData"},value:{kind:"Variable",name:{kind:"Name",value:"inputData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"start_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"end_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:178}};W_.loc.source={body:`mutation RELEASE_RESERVED_EVENT($inputData: ReleaseReservedEventInputType!) {
|
|
447
|
+
releaseReservedEvent(inputData: $inputData) {
|
|
448
|
+
id
|
|
449
|
+
status
|
|
450
|
+
start_date
|
|
451
|
+
end_date
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function X_(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){X_(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){X_(i,t)}),e.definitions&&e.definitions.forEach(function(i){X_(i,t)})}var cC={};(function(){W_.definitions.forEach(function(t){if(t.name){var n=new Set;X_(t,n),cC[t.name.value]=n}})})();function cU(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function iie(e,t){var n={kind:e.kind,definitions:[cU(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=cC[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=cC[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=cU(e,c);h&&n.definitions.push(h)}),n}iie(W_,"RELEASE_RESERVED_EVENT");const aie=()=>ce.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ce.jsx("path",{d:"M18.2222 5H5.77778C4.79594 5 4 5.79594 4 6.77778V19.2222C4 20.2041 4.79594 21 5.77778 21H18.2222C19.2041 21 20 20.2041 20 19.2222V6.77778C20 5.79594 19.2041 5 18.2222 5Z",fill:"white"}),ce.jsx("path",{d:"M16 3V7",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ce.jsx("path",{d:"M8 3V7",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ce.jsx("path",{d:"M4 10H20",stroke:"#149365",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),oie=()=>ce.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ce.jsx("rect",{width:"64",height:"64",rx:"32",fill:"#E8FCEA"}),ce.jsx("path",{d:"M32 14.5859C41.6186 14.5861 49.4158 22.3842 49.416 32.0029C49.4158 41.6216 41.6186 49.4188 32 49.4189C22.3813 49.4188 14.5832 41.6215 14.583 32.0029C14.5832 22.3842 22.3813 14.5861 32 14.5859ZM40.1279 24.5371C39.6863 23.7297 38.6747 23.4335 37.8672 23.875C34.8199 25.5416 32.2999 28.7571 30.6055 31.3516C29.9791 32.3107 29.4428 33.2192 29.0146 33.9883C28.6155 33.601 28.2208 33.2639 27.8672 32.9844C27.4048 32.6188 26.9881 32.3307 26.6846 32.1318C26.5323 32.0321 26.4064 31.9532 26.3164 31.8984C26.2716 31.8712 26.2355 31.8496 26.209 31.834C26.196 31.8263 26.185 31.8202 26.1768 31.8154C26.1727 31.8131 26.1679 31.8112 26.165 31.8096L26.1621 31.8057H26.1602L25.4863 32.9844L26.1582 31.8047C25.3588 31.3493 24.3406 31.6284 23.8848 32.4277C23.4294 33.2271 23.7088 34.2452 24.5078 34.7012L24.5098 34.7002C24.5118 34.7014 24.5141 34.7039 24.5176 34.7061C24.5307 34.7138 24.5545 34.7285 24.585 34.7471C24.6461 34.7842 24.7403 34.8425 24.8584 34.9199C25.0964 35.0758 25.4306 35.3069 25.8008 35.5996C26.5632 36.2025 27.3856 36.9939 27.9033 37.8594C28.2212 38.3901 28.807 38.7 29.4248 38.666C30.0429 38.6319 30.5921 38.2592 30.8496 37.6963V37.6943C30.8509 37.6916 30.8526 37.6859 30.8555 37.6797C30.8617 37.6662 30.8731 37.6441 30.8867 37.6152C30.9142 37.5569 30.9555 37.4675 31.0117 37.3525C31.1245 37.1219 31.2949 36.7854 31.5146 36.3701C31.9554 35.5374 32.5958 34.3979 33.3945 33.1748C35.0334 30.6653 37.1803 28.0478 39.4658 26.7979C40.2734 26.3562 40.5695 25.3447 40.1279 24.5371Z",fill:"#149365"})]}),sie=({booking:e,setStep:t})=>{var h;const{orgBookingDetails:n}=zg(p=>p.app),i=(n==null?void 0:n.name)||"",o=((h=n==null?void 0:n.organization_setting)==null?void 0:h.time_zone)||"",{confirmedEvent:u}=e,l=u!=null&&u.start_date?En(u.start_date):null,c=u!=null&&u.end_date?En(u.end_date):null;return ce.jsxs("section",{className:"-mx-6 -my-5 space-y-4 px-5 pb-4 pt-2",children:[ce.jsxs("div",{className:"space-y-2 py-2 text-center",children:[ce.jsx("div",{className:"w-full flex items-center justify-center mb-4",children:ce.jsx(oie,{})}),ce.jsx("p",{className:"text-14 font-medium text-brand-secondary-dark",children:"Meeting scheduled"}),ce.jsx("p",{className:"text-12 text-regular",children:"A calendar invitation and confirmation email have been sent to your inbox with meeting link."})]}),ce.jsxs("div",{className:"space-y-5 border-y border-border-light py-4",children:[ce.jsxs("h3",{className:"text-16 font-medium text-dark",children:["Meeting with - ",i]}),l&&ce.jsxs("div",{className:"flex items-start gap-3",children:[ce.jsx(ZA,{className:"mt-0.5 shrink-0 text-dark",size:18,strokeWidth:1.8}),ce.jsx("p",{className:"text-14 font-medium text-dark",children:l.format("dddd, MMM D, YYYY")})]}),l&&ce.jsxs("div",{className:"flex items-start gap-3",children:[ce.jsx(Ff,{className:"mt-0.5 shrink-0 text-dark",size:18,strokeWidth:1.8}),ce.jsxs("div",{children:[ce.jsxs("p",{className:"text-14 font-medium text-dark",children:[l.format("hh:mm A"),c?` - ${c.format("hh:mm A")}`:""]}),ce.jsx("p",{className:"text-14 text-regular",children:o})]})]})]}),ce.jsxs("button",{type:"button",className:"mx-auto flex h-11.5 items-center gap-1 text-14 font-medium text-brand transition-opacity hover:opacity-85",onClick:()=>t("select_date",{selectedDate:null,selectedSlot:null,reservedEvent:null,confirmedEvent:null}),children:["Book new meeting",ce.jsx(ip,{size:18})]})]})},ha=(...e)=>dn(e),uie=()=>ce.jsxs("svg",{"aria-hidden":"true",role:"status",className:"inline w-4 h-4 mr-1 text-white animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ce.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"#E5E7EB"}),ce.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"})]}),fC=({Icon:e=eC,btnType:t="btn_primary",title:n="common.label.save",disabled:i=!1,loader:o=!1,loaderText:u="common.label.loading",callBack:l=()=>{},customClass:c="",fullWidthBtn:h=!1,customPadding:p="px-7 h-[41px]",buttonTitleStylings:v="text-sm font-medium",buttonWidth:b="w-[100%]",iconSize:S=20,iconPosition:_="left",loaderPosition:x="left",submitType:R=!1,noIcon:O=!1})=>{const T=()=>{const z=G=>!O&&!o&&_===G||o&&x===G,U=()=>o?ce.jsx(uie,{}):!O&&ce.jsx(e,{size:S});return ce.jsxs("div",{className:"flex items-center gap-2.5",children:[z("left")&&U(),ce.jsx("span",{className:`whitespace-nowrap ${v}`,children:o?u:n}),z("right")&&U()]})},M=ha("flex gap-2.5 justify-center items-center text-14 font-medium rounded-[8px] focus:outline-none disabled:opacity-50 cursor-pointer",c,b),P=!h&&"lg:w-max",C=p||"px-7 h-[41px]",k=!i&&"hover:opacity-90",L={btn_primary:ce.jsx("button",{type:R?"submit":"button",className:ha(M,P,C,"whitespace-nowrap text-white disabled:bg-brand bg-brand",k),onClick:l,disabled:i,children:T()}),btn_danger:ce.jsx("button",{type:R?"submit":"button",className:ha(M,P,C,"text-white bg-red-dark",k),onClick:l,disabled:i,children:T()}),btn_warning:ce.jsx("button",{type:"button",className:ha(M,"lg:w-max px-7 h-10.25 text-white bg-[#9D6902]",k),onClick:l,disabled:i,children:T()}),btn_bordered:ce.jsx("button",{type:"button",className:ha(M,P,C,"whitespace-nowrap text-center text-[#5C5D76] bg-none border border-[#D8E0ED]",k),onClick:l,disabled:i,children:T()}),btn_bordered_danger:ce.jsx("button",{type:"button",className:ha(M,P,"px-6.25 h-10.25 text-center text-red-500 bg-none border border-red-500"),onClick:l,disabled:i,children:T()})};return ce.jsx("div",{className:"flex",children:L[t]})},fU="w-full py-2.5 px-4 border border-border-light rounded-[5px] mt-1 font-poppins text-14 text-dark outline-none focus:border-brand transition-colors",lie="placeholder:text-14 placeholder:font-poppins placeholder:text-border-regular",Q_=({label:e="Your label here",isRequired:t=!1,placeholder:n="Your placeholder here",onChange:i=()=>{},stylings:{placeholderStyle:o=lie}={},name:u="",value:l="",inputType:c="text",rows:h=4})=>ce.jsxs("div",{children:[ce.jsxs("label",{htmlFor:u,className:"font-poppins text-14 font-medium text-regular",children:[e," ",t&&ce.jsx("span",{className:"text-red text-14 font-medium",children:"*"})]}),c==="textarea"?ce.jsx("textarea",{id:u,name:u,placeholder:n,onChange:i,value:l||"",rows:h,className:`${fU} resize-none ${o}`}):ce.jsx("input",{id:u,type:c,name:u,placeholder:n,onChange:i,value:l,className:`${fU} ${o}`})]});var K_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CONFIRM_AN_EVENT"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inputData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ConfirmAnEventInputType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"confirmAnEvent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"inputData"},value:{kind:"Variable",name:{kind:"Name",value:"inputData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"summary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"start_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"end_date"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:172}};K_.loc.source={body:`mutation CONFIRM_AN_EVENT($inputData: ConfirmAnEventInputType!) {
|
|
455
|
+
confirmAnEvent(inputData: $inputData) {
|
|
456
|
+
id
|
|
457
|
+
status
|
|
458
|
+
summary
|
|
459
|
+
start_date
|
|
460
|
+
end_date
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function Z_(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){Z_(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){Z_(i,t)}),e.definitions&&e.definitions.forEach(function(i){Z_(i,t)})}var dC={};(function(){K_.definitions.forEach(function(t){if(t.name){var n=new Set;Z_(t,n),dC[t.name.value]=n}})})();function dU(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function cie(e,t){var n={kind:e.kind,definitions:[dU(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=dC[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=dC[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=dU(e,c);h&&n.definitions.push(h)}),n}cie(K_,"CONFIRM_AN_EVENT");const fie=({reservedEvent:e,setStep:t,isReservationExpired:n})=>{const[i,o]=F.useState({name:"",email:"",contactNo:"",notes:""}),[u,{loading:l}]=hx(K_),c=!i.name.trim()||!i.email.trim()||l||n,h=v=>b=>{o(S=>({...S,[v]:b.target.value}))},p=async()=>{var v;try{const b=await u({variables:{inputData:{event_id:e==null?void 0:e.id,name:i.name.trim(),email:i.email.trim(),...i.contactNo.trim()&&{phone_number:i.contactNo.trim()},...i.notes.trim()&&{booking_note:i.notes.trim()}}}}),S=(v=b==null?void 0:b.data)==null?void 0:v.confirmAnEvent;t("booking_confirm",{confirmedEvent:S})}catch(b){console.error("[confirmAnEvent]",b.message)}};return ce.jsxs("div",{className:"space-y-5 bg-white py-6",children:[ce.jsx("h3",{className:"text-20 font-medium text-dark",children:"Enter your details"}),ce.jsxs("div",{className:"space-y-4",children:[ce.jsx(Q_,{label:"Name",isRequired:!0,placeholder:"i.e: Jhon",name:"name",value:i.name,onChange:h("name"),stylings:{placeholderStyle:"placeholder:text-14 placeholder:text-border"}}),ce.jsx(Q_,{label:"Email",isRequired:!0,placeholder:"i.e: email@domain.com",name:"email",value:i.email,onChange:h("email"),inputType:"email",stylings:{placeholderStyle:"placeholder:text-14 placeholder:text-border"}}),ce.jsx(Q_,{label:"Contact no",placeholder:"i.e: +91 125876 32",name:"contactNo",value:i.contactNo,onChange:h("contactNo"),stylings:{placeholderStyle:"placeholder:text-14 placeholder:text-border"}}),ce.jsx(Q_,{label:"Share any details that will help us prepare for the meeting",name:"notes",value:i.notes,onChange:h("notes"),inputType:"textarea",stylings:{placeholderStyle:"placeholder:text-14 placeholder:text-border"}})]}),ce.jsxs("p",{className:"text-12 text-dark",children:["By proceeding, you confirm that you have read and agree to"," ",ce.jsx("span",{className:"font-medium text-brand",children:"Gain.io's Terms & Condition"})," and"," ",ce.jsx("span",{className:"font-medium text-brand",children:"Privacy Notice."})]}),ce.jsx(fC,{title:"Schedule meeting",Icon:ip,iconPosition:"right",loader:l,loaderText:"Scheduling...",disabled:c,fullWidthBtn:!0,buttonWidth:"w-full",customPadding:"h-11",customClass:"!rounded-lg",buttonTitleStylings:"text-14 font-medium",callBack:p})]})},die=({reservedEvent:e,minutes:t,seconds:n,isExpired:i})=>{if(!e)return null;const o=En(e.start_date).format("D MMMM YYYY"),u=En(e.start_date).format("h:mm A"),l=En(e.end_date).format("h:mm A");return ce.jsxs("div",{className:ha("flex items-center justify-between px-6 py-3.5 border-b",i?"bg-[#FFF5F5] border-[#FECACA]":"bg-[#ECFDF5] border-[#A7F3D0]"),children:[ce.jsxs("div",{className:"flex items-center gap-3",children:[ce.jsx("div",{className:ha("flex items-center justify-center w-10 h-10 rounded-full shrink-0",i?"bg-[#FEE2E2]":"bg-[#D1FAE5]"),children:i?ce.jsx(Pv,{className:"w-5 h-5 text-red",strokeWidth:1.5}):ce.jsx(Ff,{className:"w-5 h-5 text-brand",strokeWidth:1.5})}),ce.jsxs("div",{children:[ce.jsxs("p",{className:ha("font-medium text-14",i?"text-red":"text-brand"),children:[i?"Your reservation expired for":"Time slot reserved for"," ",o," ·"," ",u," – ",l]}),ce.jsx("p",{className:"text-12 text-regular",children:i?"Your reserved time slot has expired. Choose another time to continue.":"Complete your booking within the time limit to keep this time slot."})]})]}),ce.jsxs("div",{className:"text-right shrink-0 ml-6",children:[ce.jsxs("p",{className:ha("font-bold font-mono leading-none text-[28px]",i?"text-red":"text-brand"),children:[t,":",n]}),ce.jsx("p",{className:"text-[10px] font-medium text-regular tracking-widest uppercase mt-1",children:"Time Remaining"})]})]})},hie=({booking:e,setStep:t,minutes:n,seconds:i,isReservationExpired:o,onBack:u})=>{var R,O;const{orgBookingDetails:l}=zg(T=>T.app),c=(l==null?void 0:l.name)||"",h=((R=l==null?void 0:l.organization_setting)==null?void 0:R.booking_default_duration)||30,p=((O=l==null?void 0:l.organization_setting)==null?void 0:O.time_zone)||"",{selectedSlot:v,reservedEvent:b}=e,S=v!=null&&v.start_time?En(v.start_time):null,_=v!=null&&v.end_time?En(v.end_time):null,x=S?`${S.format("hh:mm A")} - ${_?_.format("hh:mm A"):""}, ${S.format("MMMM D, YYYY")}`:"";return ce.jsxs("div",{className:"-mx-6 -my-5",children:[ce.jsx(die,{reservedEvent:b,minutes:n,seconds:i,isExpired:o}),ce.jsxs("div",{className:"border-b border-border-light bg-white px-6 pb-5 pt-5",children:[ce.jsxs("div",{className:"mb-5 flex items-center gap-4",children:[ce.jsx("button",{type:"button",className:"flex size-8 items-center justify-center rounded-full border border-border-light text-regular transition-colors","aria-label":"Back to time selection",onClick:u,children:ce.jsx(Y_,{className:"size-4.5 text-brand"})}),ce.jsxs("p",{className:"text-14 font-medium text-border-dark",children:["Meeting with - ",c]})]}),ce.jsxs("div",{className:"space-y-3",children:[ce.jsxs("div",{className:"flex items-center gap-2 text-dark",children:[ce.jsx(Ff,{size:18}),ce.jsxs("p",{className:"text-12 font-medium",children:[h," min duration"]})]}),ce.jsxs("div",{className:"flex items-center gap-2 text-dark",children:[ce.jsx(G_,{size:18}),ce.jsx("p",{className:"text-12 font-medium",children:"Meet link shared after confirmation."})]}),ce.jsxs("div",{className:"flex items-start gap-3 text-dark",children:[ce.jsx(kv,{size:18,className:"mt-0.5 shrink-0"}),ce.jsxs("div",{children:[ce.jsx("p",{className:"text-12 text-border-regular",children:p}),ce.jsx("p",{className:"text-12 text-border-dark",children:x})]})]})]})]}),ce.jsx("div",{className:"px-6 pt-5",children:ce.jsx(fie,{reservedEvent:b,setStep:t,isReservationExpired:o})})]})};var hC={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_ORGANIZATION_WORK_SCHEDULES"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getOrganizationWorkSchedules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"day_of_week"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_off_day"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:110}};hC.loc.source={body:`query GET_ORGANIZATION_WORK_SCHEDULES {
|
|
464
|
+
getOrganizationWorkSchedules {
|
|
465
|
+
day_of_week
|
|
466
|
+
is_off_day
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function J_(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){J_(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){J_(i,t)}),e.definitions&&e.definitions.forEach(function(i){J_(i,t)})}var pC={};(function(){hC.definitions.forEach(function(t){if(t.name){var n=new Set;J_(t,n),pC[t.name.value]=n}})})();function hU(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function pie(e,t){var n={kind:e.kind,definitions:[hU(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=pC[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=pC[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=hU(e,c);h&&n.definitions.push(h)}),n}const mie=pie(hC,"GET_ORGANIZATION_WORK_SCHEDULES"),pU="3.7.8",gie=pU,ap=typeof Buffer=="function",mU=typeof TextDecoder=="function"?new TextDecoder:void 0,gU=typeof TextEncoder=="function"?new TextEncoder:void 0,jv=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),e1=(e=>{let t={};return e.forEach((n,i)=>t[n]=i),t})(jv),vie=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ci=String.fromCharCode.bind(String),vU=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),yU=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),bU=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),SU=e=>{let t,n,i,o,u="";const l=e.length%3;for(let c=0;c<e.length;){if((n=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255||(o=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=n<<16|i<<8|o,u+=jv[t>>18&63]+jv[t>>12&63]+jv[t>>6&63]+jv[t&63]}return l?u.slice(0,l-3)+"===".substring(l):u},mC=typeof btoa=="function"?e=>btoa(e):ap?e=>Buffer.from(e,"binary").toString("base64"):SU,gC=ap?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let i=0,o=e.length;i<o;i+=4096)n.push(Ci.apply(null,e.subarray(i,i+4096)));return mC(n.join(""))},t1=(e,t=!1)=>t?yU(gC(e)):gC(e),yie=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Ci(192|t>>>6)+Ci(128|t&63):Ci(224|t>>>12&15)+Ci(128|t>>>6&63)+Ci(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Ci(240|t>>>18&7)+Ci(128|t>>>12&63)+Ci(128|t>>>6&63)+Ci(128|t&63)}},bie=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_U=e=>e.replace(bie,yie),EU=ap?e=>Buffer.from(e,"utf8").toString("base64"):gU?e=>gC(gU.encode(e)):e=>mC(_U(e)),op=(e,t=!1)=>t?yU(EU(e)):EU(e),wU=e=>op(e,!0),Sie=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_ie=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Ci((n>>>10)+55296)+Ci((n&1023)+56320);case 3:return Ci((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ci((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},RU=e=>e.replace(Sie,_ie),OU=e=>{if(e=e.replace(/\s+/g,""),!vie.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,n,i,o=[];for(let u=0;u<e.length;)t=e1[e.charAt(u++)]<<18|e1[e.charAt(u++)]<<12|(n=e1[e.charAt(u++)])<<6|(i=e1[e.charAt(u++)]),n===64?o.push(Ci(t>>16&255)):i===64?o.push(Ci(t>>16&255,t>>8&255)):o.push(Ci(t>>16&255,t>>8&255,t&255));return o.join("")},vC=typeof atob=="function"?e=>atob(bU(e)):ap?e=>Buffer.from(e,"base64").toString("binary"):OU,TU=ap?e=>vU(Buffer.from(e,"base64")):e=>vU(vC(e).split("").map(t=>t.charCodeAt(0))),xU=e=>TU(AU(e)),Eie=ap?e=>Buffer.from(e,"base64").toString("utf8"):mU?e=>mU.decode(TU(e)):e=>RU(vC(e)),AU=e=>bU(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),yC=e=>Eie(AU(e)),wie=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},CU=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),DU=function(){const e=(t,n)=>Object.defineProperty(String.prototype,t,CU(n));e("fromBase64",function(){return yC(this)}),e("toBase64",function(t){return op(this,t)}),e("toBase64URI",function(){return op(this,!0)}),e("toBase64URL",function(){return op(this,!0)}),e("toUint8Array",function(){return xU(this)})},MU=function(){const e=(t,n)=>Object.defineProperty(Uint8Array.prototype,t,CU(n));e("toBase64",function(t){return t1(this,t)}),e("toBase64URI",function(){return t1(this,!0)}),e("toBase64URL",function(){return t1(this,!0)})},Rie={version:pU,VERSION:gie,atob:vC,atobPolyfill:OU,btoa:mC,btoaPolyfill:SU,fromBase64:yC,toBase64:op,encode:op,encodeURI:wU,encodeURL:wU,utob:_U,btou:RU,decode:yC,isValid:wie,fromUint8Array:t1,toUint8Array:xU,extendString:DU,extendUint8Array:MU,extendBuiltins:()=>{DU(),MU()}};var bC={exports:{}},SC={exports:{}},NU;function Oie(){return NU||(NU=1,(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,i){return n<<i|n>>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var i=0;i<n.length;i++)n[i]=t.endian(n[i]);return n},randomBytes:function(n){for(var i=[];n>0;n--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(n){for(var i=[],o=0,u=0;o<n.length;o++,u+=8)i[u>>>5]|=n[o]<<24-u%32;return i},wordsToBytes:function(n){for(var i=[],o=0;o<n.length*32;o+=8)i.push(n[o>>>5]>>>24-o%32&255);return i},bytesToHex:function(n){for(var i=[],o=0;o<n.length;o++)i.push((n[o]>>>4).toString(16)),i.push((n[o]&15).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],o=0;o<n.length;o+=2)i.push(parseInt(n.substr(o,2),16));return i},bytesToBase64:function(n){for(var i=[],o=0;o<n.length;o+=3)for(var u=n[o]<<16|n[o+1]<<8|n[o+2],l=0;l<4;l++)o*8+l*6<=n.length*8?i.push(e.charAt(u>>>6*(3-l)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],o=0,u=0;o<n.length;u=++o%4)u!=0&&i.push((e.indexOf(n.charAt(o-1))&Math.pow(2,-2*u+8)-1)<<u*2|e.indexOf(n.charAt(o))>>>6-u*2);return i}};SC.exports=t})()),SC.exports}var _C,PU;function kU(){if(PU)return _C;PU=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],i=0;i<t.length;i++)n.push(t.charCodeAt(i)&255);return n},bytesToString:function(t){for(var n=[],i=0;i<t.length;i++)n.push(String.fromCharCode(t[i]));return n.join("")}}};return _C=e,_C}/*!
|
|
470
|
+
* Determine if an object is a Buffer
|
|
471
|
+
*
|
|
472
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
473
|
+
* @license MIT
|
|
474
|
+
*/var EC,jU;function Tie(){if(jU)return EC;jU=1,EC=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return EC}var LU;function xie(){return LU||(LU=1,(function(){var e=Oie(),t=kU().utf8,n=Tie(),i=kU().bin,o=function(u,l){u.constructor==String?l&&l.encoding==="binary"?u=i.stringToBytes(u):u=t.stringToBytes(u):n(u)?u=Array.prototype.slice.call(u,0):!Array.isArray(u)&&u.constructor!==Uint8Array&&(u=u.toString());for(var c=e.bytesToWords(u),h=u.length*8,p=1732584193,v=-271733879,b=-1732584194,S=271733878,_=0;_<c.length;_++)c[_]=(c[_]<<8|c[_]>>>24)&16711935|(c[_]<<24|c[_]>>>8)&4278255360;c[h>>>5]|=128<<h%32,c[(h+64>>>9<<4)+14]=h;for(var x=o._ff,R=o._gg,O=o._hh,T=o._ii,_=0;_<c.length;_+=16){var M=p,P=v,C=b,k=S;p=x(p,v,b,S,c[_+0],7,-680876936),S=x(S,p,v,b,c[_+1],12,-389564586),b=x(b,S,p,v,c[_+2],17,606105819),v=x(v,b,S,p,c[_+3],22,-1044525330),p=x(p,v,b,S,c[_+4],7,-176418897),S=x(S,p,v,b,c[_+5],12,1200080426),b=x(b,S,p,v,c[_+6],17,-1473231341),v=x(v,b,S,p,c[_+7],22,-45705983),p=x(p,v,b,S,c[_+8],7,1770035416),S=x(S,p,v,b,c[_+9],12,-1958414417),b=x(b,S,p,v,c[_+10],17,-42063),v=x(v,b,S,p,c[_+11],22,-1990404162),p=x(p,v,b,S,c[_+12],7,1804603682),S=x(S,p,v,b,c[_+13],12,-40341101),b=x(b,S,p,v,c[_+14],17,-1502002290),v=x(v,b,S,p,c[_+15],22,1236535329),p=R(p,v,b,S,c[_+1],5,-165796510),S=R(S,p,v,b,c[_+6],9,-1069501632),b=R(b,S,p,v,c[_+11],14,643717713),v=R(v,b,S,p,c[_+0],20,-373897302),p=R(p,v,b,S,c[_+5],5,-701558691),S=R(S,p,v,b,c[_+10],9,38016083),b=R(b,S,p,v,c[_+15],14,-660478335),v=R(v,b,S,p,c[_+4],20,-405537848),p=R(p,v,b,S,c[_+9],5,568446438),S=R(S,p,v,b,c[_+14],9,-1019803690),b=R(b,S,p,v,c[_+3],14,-187363961),v=R(v,b,S,p,c[_+8],20,1163531501),p=R(p,v,b,S,c[_+13],5,-1444681467),S=R(S,p,v,b,c[_+2],9,-51403784),b=R(b,S,p,v,c[_+7],14,1735328473),v=R(v,b,S,p,c[_+12],20,-1926607734),p=O(p,v,b,S,c[_+5],4,-378558),S=O(S,p,v,b,c[_+8],11,-2022574463),b=O(b,S,p,v,c[_+11],16,1839030562),v=O(v,b,S,p,c[_+14],23,-35309556),p=O(p,v,b,S,c[_+1],4,-1530992060),S=O(S,p,v,b,c[_+4],11,1272893353),b=O(b,S,p,v,c[_+7],16,-155497632),v=O(v,b,S,p,c[_+10],23,-1094730640),p=O(p,v,b,S,c[_+13],4,681279174),S=O(S,p,v,b,c[_+0],11,-358537222),b=O(b,S,p,v,c[_+3],16,-722521979),v=O(v,b,S,p,c[_+6],23,76029189),p=O(p,v,b,S,c[_+9],4,-640364487),S=O(S,p,v,b,c[_+12],11,-421815835),b=O(b,S,p,v,c[_+15],16,530742520),v=O(v,b,S,p,c[_+2],23,-995338651),p=T(p,v,b,S,c[_+0],6,-198630844),S=T(S,p,v,b,c[_+7],10,1126891415),b=T(b,S,p,v,c[_+14],15,-1416354905),v=T(v,b,S,p,c[_+5],21,-57434055),p=T(p,v,b,S,c[_+12],6,1700485571),S=T(S,p,v,b,c[_+3],10,-1894986606),b=T(b,S,p,v,c[_+10],15,-1051523),v=T(v,b,S,p,c[_+1],21,-2054922799),p=T(p,v,b,S,c[_+8],6,1873313359),S=T(S,p,v,b,c[_+15],10,-30611744),b=T(b,S,p,v,c[_+6],15,-1560198380),v=T(v,b,S,p,c[_+13],21,1309151649),p=T(p,v,b,S,c[_+4],6,-145523070),S=T(S,p,v,b,c[_+11],10,-1120210379),b=T(b,S,p,v,c[_+2],15,718787259),v=T(v,b,S,p,c[_+9],21,-343485551),p=p+M>>>0,v=v+P>>>0,b=b+C>>>0,S=S+k>>>0}return e.endian([p,v,b,S])};o._ff=function(u,l,c,h,p,v,b){var S=u+(l&c|~l&h)+(p>>>0)+b;return(S<<v|S>>>32-v)+l},o._gg=function(u,l,c,h,p,v,b){var S=u+(l&h|c&~h)+(p>>>0)+b;return(S<<v|S>>>32-v)+l},o._hh=function(u,l,c,h,p,v,b){var S=u+(l^c^h)+(p>>>0)+b;return(S<<v|S>>>32-v)+l},o._ii=function(u,l,c,h,p,v,b){var S=u+(c^(l|~h))+(p>>>0)+b;return(S<<v|S>>>32-v)+l},o._blocksize=16,o._digestsize=16,bC.exports=function(u,l){if(u==null)throw new Error("Illegal argument "+u);var c=e.wordsToBytes(o(u,l));return l&&l.asBytes?c:l&&l.asString?i.bytesToString(c):e.bytesToHex(c)}})()),bC.exports}var Aie=xie();const Cie=Pn(Aie),IU=/\+/g;function $U(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Die(e){return $U(e.replace(IU," "))}function Mie(e){return $U(e.replace(IU," "))}function Nie(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const i=n.match(/([^=]+)=?(.*)/)||[];if(i.length<2)continue;const o=Die(i[1]);if(o==="__proto__"||o==="constructor")continue;const u=Mie(i[2]||"");t[o]===void 0?t[o]=u:Array.isArray(t[o])?t[o].push(u):t[o]=[t[o],u]}return t}const Pie=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,kie=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,jie=/^([/\\]\s*){2,}[^/\\]/;function zU(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Pie.test(e):kie.test(e)||(t.acceptRelative?jie.test(e):!1)}function qU(e){return Nie(wC(e).search)}const Lie=Symbol.for("ufo:protocolRelative");function wC(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,b,S=""]=n;return{protocol:b.toLowerCase(),pathname:S,href:b+S,auth:"",host:"",search:"",hash:""}}if(!zU(e,{acceptRelative:!0}))return t?wC(t+e):UU(e);const[,i="",o,u=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",c=""]=u.match(/([^#/?]*)(.*)?/)||[];i==="file:"&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:h,search:p,hash:v}=UU(c);return{protocol:i.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:l,pathname:h,search:p,hash:v,[Lie]:!i}}function UU(e=""){const[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}function Iie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,o,u,l,c=[],h=!0,p=!1;try{if(u=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;h=!1}else for(;!(h=(i=u.call(n)).done)&&(c.push(i.value),c.length!==t);h=!0);}catch(v){p=!0,o=v}finally{try{if(!h&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(p)throw o}}return c}}function BU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Zi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?BU(Object(n),!0).forEach(function(i){qie(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BU(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function RC(e){"@babel/helpers - typeof";return RC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},RC(e)}function $ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HU(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,YU(i.key),i)}}function zie(e,t,n){return t&&HU(e.prototype,t),n&&HU(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function qie(e,t,n){return t=YU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FU(e,t){return Bie(e)||Iie(e,t)||VU(e,t)||Vie()}function OC(e){return Uie(e)||Hie(e)||VU(e)||Fie()}function Uie(e){if(Array.isArray(e))return TC(e)}function Bie(e){if(Array.isArray(e))return e}function Hie(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VU(e,t){if(e){if(typeof e=="string")return TC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TC(e,t)}}function TC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Fie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
475
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
476
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yie(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function YU(e){var t=Yie(e,"string");return typeof t=="symbol"?t:String(t)}var Gie="3.8.0",Wie=/^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i,GU=100,WU=8192,Xie=.08,Qie={1:75,2:50,3:35,4:23,5:20},Kie=[1,2,3,4,5],Zie={domain:null,useHTTPS:!0,includeLibraryParam:!0,urlPrefix:"https://",secureURLToken:null};function xC(e){var t=e.url,n=t===void 0?"":t,i=e.useHttps,o=i===void 0?!1:i,u=o?"https://":"http://";return zU(n,!0)?wC(n):xC({url:u+n})}function Jie(e){var t;e.widthTolerance!==void 0?(QU(e.widthTolerance),t=e.widthTolerance):t=Xie;var n=e.minWidth===void 0?GU:e.minWidth,i=e.maxWidth===void 0?WU:e.maxWidth;return(n!=GU||i!=WU)&&XU(n,i),[t,n,i]}function XU(e,t){if(!(Number.isInteger(e)&&Number.isInteger(t))||e<=0||t<=0||e>t)throw new Error("The min and max srcset widths can only be passed positive Number values, and min must be less than max. Found min: ".concat(e," and max: ").concat(t,"."))}function QU(e){if(typeof e!="number"||e<.01)throw new Error("The srcset widthTolerance must be a number greater than or equal to 0.01")}function eae(e){if(!Array.isArray(e)||!e.length)throw new Error("The widths argument can only be passed a valid non-empty array of integers");var t=e.every(function(n){return Number.isInteger(n)&&n>0});if(!t)throw new Error("A custom widths argument can only contain positive integer values")}function tae(e){if(typeof e!="boolean")throw new Error("The disableVariableQuality argument can only be passed a Boolean value")}function nae(e){if(!Array.isArray(e)||!e.length)throw new Error("The devicePixelRatios argument can only be passed a valid non-empty array of integers");var t=e.every(function(n){return typeof n=="number"&&n>=1&&n<=5});if(!t)throw new Error("The devicePixelRatios argument can only contain positive integer values between 1 and 5")}function rae(e){if(RC(e)!=="object")throw new Error("The variableQualities argument can only be an object")}var iae=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if($ie(this,e),this.settings=Zi(Zi({},Zie),t),this.targetWidthsCache={},typeof this.settings.domain!="string")throw new Error("ImgixClient must be passed a valid string domain");if(Wie.exec(this.settings.domain)==null)throw new Error('Domain must be passed in as fully-qualified domain name and should not include a protocol or any path element, i.e. "example.imgix.net".');this.settings.includeLibraryParam&&(this.settings.libraryParam="js-"+e.version()),this.settings.urlPrefix=this.settings.useHTTPS?"https://":"http://"}return zie(e,[{key:"buildURL",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=this._sanitizePath(n,o),l=this._buildParams(i,o);return this.settings.secureURLToken&&(l=this._signParams(u,l)),this.settings.urlPrefix+this.settings.domain+u+l}},{key:"_buildParams",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=!!i.encoder,u=i.encoder,l=[].concat(OC(this.settings.libraryParam?["ixlib=".concat(this.settings.libraryParam)]:[]),OC(Object.entries(n).reduce(function(c,h){var p=FU(h,2),v=p[0],b=p[1];if(b==null)return c;var S=o?u(v,b):encodeURIComponent(v),_=v.substr(-2)==="64"?o?u(b,v):Rie.encodeURI(b):o?u(b,v):encodeURIComponent(b);return c.push("".concat(S,"=").concat(_)),c},[])));return"".concat(l.length>0?"?":"").concat(l.join("&"))}},{key:"_signParams",value:function(n,i){var o=this.settings.secureURLToken+n+i,u=Cie(o);return i.length>0?i+"&s="+u:"?s="+u}},{key:"_sanitizePath",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.replace(/^\//,"");return i.disablePathEncoding||(i.encoder?o=i.encoder(o):/^https?:\/\//.test(o)?o=encodeURIComponent(o):o=encodeURI(o).replace(/[#?:+]/g,encodeURIComponent)),"/"+o}},{key:"buildSrcSet",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=i.w,l=i.h;return u||l?this._buildDPRSrcSet(n,i,o):this._buildSrcSetPairs(n,i,o)}},{key:"_buildSrcSetPairs",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=Jie(u),c=FU(l,3),h=c[0],p=c[1],v=c[2],b;u.widths?(eae(u.widths),b=OC(u.widths)):b=e.targetWidths(p,v,h,this.targetWidthsCache);var S=b.map(function(_){return"".concat(i.buildURL(n,Zi(Zi({},o),{},{w:_}),u)," ").concat(_,"w")});return S.join(`,
|
|
477
|
+
`)}},{key:"_buildDPRSrcSet",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};u.devicePixelRatios&&nae(u.devicePixelRatios);var l=u.devicePixelRatios||Kie,c=u.disableVariableQuality||!1;c||tae(c),u.variableQualities&&rae(u.variableQualities);var h=Zi(Zi({},Qie),u.variableQualities),p=function(S,_,x){return"".concat(i.buildURL(S,Zi(Zi({},_),{},{dpr:x,q:_.q||h[x]||h[Math.floor(x)]}),u)," ").concat(x,"x")},v=c?l.map(function(b){return"".concat(i.buildURL(n,Zi(Zi({},o),{},{dpr:b}),u)," ").concat(b,"x")}):l.map(function(b){return p(n,o,b)});return v.join(`,
|
|
478
|
+
`)}}],[{key:"version",value:function(){return Gie}},{key:"_buildURL",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n==null)return"";var u=xC({url:n,useHTTPS:o.useHTTPS}),l=u.host,c=u.pathname,h=u.search,p=Zi(Zi({},qU(h)),i);if(!l.length||!c.length)throw new Error("_buildURL: URL must match {host}/{pathname}?{query}");var v=new e(Zi({domain:l},o));return v.buildURL(c,p)}},{key:"_buildSrcSet",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(n==null)return"";var l=xC({url:n,useHTTPS:u.useHTTPS}),c=l.host,h=l.pathname,p=l.search,v=Zi(Zi({},qU(p)),i);if(!c.length||!h.length)throw new Error("_buildOneStepURL: URL must match {host}/{pathname}?{query}");var b=new e(Zi({domain:c},u));return b.buildSrcSet(h,v,o)}},{key:"targetWidths",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:100,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8192,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.08,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=Math.floor(n),c=Math.floor(i);XU(n,i),QU(o);var h=o+"/"+l+"/"+c;if(h in u)return u[h];if(l===c)return[l];for(var p=[],v=l;v<c;)p.push(Math.round(v)),v*=1+o*2;return p[p.length-1]<c&&p.push(c),u[h]=p,p}}]),e})();const AC={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var KU={NODE_ENV:'"production"'};const aae=async({fit:e,height:t,isPrivate:n=!0,path:i,quality:o,rotate:u,width:l,needActualSize:c=!1})=>{try{return new iae({domain:`${(AC==null?void 0:AC.VITE_CDN_DOMAIN)||KU.NEXT_PUBLIC_CDN_DOMAIN}${n?"-private":"-public"}.imgix.net`,secureURLToken:n?KU.CDN_SECRET:void 0}).buildURL(i,{f:e,h:c?1:t,q:o,r:u,w:c?1:l})}catch(h){return console.log("+++ Error happened when building file URL, error:",h,"+++"),null}},oae=({hW:e="44px",variant:t="var(--brand-color)",customClass:n=""})=>ce.jsx("div",{className:n,children:ce.jsxs("svg",{style:{margin:"auto",background:"none",display:"block",shapeRendering:"auto"},width:e,height:e,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",children:[ce.jsxs("circle",{cx:"84",cy:"50",r:"10",fill:t,children:[ce.jsx("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1.1363636363636365s",calcMode:"spline",keyTimes:"0;1",values:"10;0",keySplines:"0 0.5 0.5 1",begin:"0s"}),ce.jsx("animate",{attributeName:"fill",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"discrete",keyTimes:"0;0.25;0.5;0.75;1",values:"var(--brand-color);var(--brand-color);var(--brand-color);var(--brand-color);var(--brand-color)",begin:"0s"})]}),ce.jsxs("circle",{cx:"16",cy:"50",r:"10",fill:t,children:[ce.jsx("animate",{attributeName:"r",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"0;0;10;10;10",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"0s"}),ce.jsx("animate",{attributeName:"cx",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"16;16;16;50;84",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"0s"})]}),ce.jsxs("circle",{cx:"50",cy:"50",r:"10",fill:t,children:[ce.jsx("animate",{attributeName:"r",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"0;0;10;10;10",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-1.1363636363636365s"}),ce.jsx("animate",{attributeName:"cx",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"16;16;16;50;84",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-1.1363636363636365s"})]}),ce.jsxs("circle",{cx:"84",cy:"50",r:"10",fill:t,children:[ce.jsx("animate",{attributeName:"r",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"0;0;10;10;10",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-2.272727272727273s"}),ce.jsx("animate",{attributeName:"cx",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"16;16;16;50;84",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-2.272727272727273s"})]}),ce.jsxs("circle",{cx:"16",cy:"50",r:"10",fill:t,children:[ce.jsx("animate",{attributeName:"r",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"0;0;10;10;10",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-3.409090909090909s"}),ce.jsx("animate",{attributeName:"cx",repeatCount:"indefinite",dur:"4.545454545454546s",calcMode:"spline",keyTimes:"0;0.25;0.5;0.75;1",values:"16;16;16;50;84",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",begin:"-3.409090909090909s"})]})]})}),CC={};var sae={};const uae=({alt:e,className:t="",height:n=500,path:i,src:o,rotate:u,width:l=500,defaultImageName:c="",textSize:h="text-16",fit:p="scale",quality:v=100,isPrivate:b=!0,isShowThreeDot:S=!1,handleFetchedImgxImg:_,onLoad:x})=>{const[R,O]=F.useState(""),[T,M]=F.useState(!1);return F.useEffect(()=>{(async()=>{if(!T&&i){const C=b?await aae({isPrivate:b,height:n,path:i,rotate:u,width:l,fit:p,quality:v}):`https://${(CC==null?void 0:CC.VITE_CDN_DOMAIN)||sae.NEXT_PUBLIC_CDN_DOMAIN}-public.imgix.net/${i}?h=${n}&w=${l}&fit=${p}&q=${v}`;C?(O(C),_&&_({context:"fetched-image"})):M(!0)}})()},[n,i,e,u,l]),R||o?ce.jsx("img",{alt:e,className:`${t}`,height:n,loading:"lazy",onError:()=>{M(!0)},src:R||o,width:l,onLoad:x}):S?ce.jsx("div",{children:ce.jsx(oae,{hW:"35px"})}):ce.jsx("div",{className:`${t} bg-blue-light text-brand rounded-full flex items-center justify-center w-5 h-5`,children:ce.jsx("p",{className:`text-brand font-medium ${h}`,children:c||"ED"})})},ZU=F.memo(uae);var DC,JU;function lae(){if(JU)return DC;JU=1;var e=function(t,n,i,o,u,l,c,h){if(n===void 0)throw new Error("invariant requires an error message argument");if(!t){var p;if(n===void 0)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var v=[i,o,u,l,c,h],b=0;p=new Error(n.replace(/%s/g,function(){return v[b++]})),p.name="Invariant Violation"}throw p.framesToPop=1,p}};return DC=e,DC}var cae=lae();const sp=Pn(cae);var fae=function(){};function dae(e,t){return function(n,i){if(n[i]!==void 0&&!n[e])return new Error("You have provided a `"+i+"` prop to `"+t+"` "+("without an `"+e+"` handler prop. This will render a read-only field. ")+("If the field should be mutable use `"+Lv(i)+"`. ")+("Otherwise, set `"+e+"`."))}}function hae(e,t){var n={};return Object.keys(e).forEach(function(i){n[Lv(i)]=fae;{var o=e[i];typeof o=="string"&&o.trim().length||sp(!1,"Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable",t,i),n[i]=dae(o,t)}}),n}function e6(e,t){return e[t]!==void 0}function Lv(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function pae(e){return!!e&&(typeof e!="function"||e.prototype&&e.prototype.isReactComponent)}function mae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s_(e,t)}function t6(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function n6(e){function t(n){var i=this.constructor.getDerivedStateFromProps(e,n);return i??null}this.setState(t.bind(this))}function r6(e,t){try{var n=this.props,i=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,i)}finally{this.props=n,this.state=i}}t6.__suppressDeprecationWarning=!0,n6.__suppressDeprecationWarning=!0,r6.__suppressDeprecationWarning=!0;function gae(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,i=null,o=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?i="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(i="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),n!==null||i!==null||o!==null){var u=e.displayName||e.name,l=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
479
|
+
|
|
480
|
+
`+u+" uses "+l+" but also contains the following legacy lifecycles:"+(n!==null?`
|
|
481
|
+
`+n:"")+(i!==null?`
|
|
482
|
+
`+i:"")+(o!==null?`
|
|
483
|
+
`+o:"")+`
|
|
484
|
+
|
|
485
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
486
|
+
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=t6,t.componentWillReceiveProps=n6),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=r6;var c=t.componentDidUpdate;t.componentDidUpdate=function(p,v,b){var S=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:b;c.call(this,p,v,S)}}return e}var vae="/Users/jquense/src/uncontrollable/src/uncontrollable.js";function i6(e,t,n){n===void 0&&(n=[]);var i=e.displayName||e.name||"Component",o=pae(e),u=Object.keys(t),l=u.map(Lv);o||!n.length||sp(!1,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+i+", attempting to pass through methods: "+n.join(", "));var c=(function(p){mae(v,p);function v(){for(var S,_=arguments.length,x=new Array(_),R=0;R<_;R++)x[R]=arguments[R];S=p.call.apply(p,[this].concat(x))||this,S.handlers=Object.create(null),u.forEach(function(T){var M=t[T],P=function(k){if(S.props[M]){var L;S._notifying=!0;for(var z=arguments.length,U=new Array(z>1?z-1:0),G=1;G<z;G++)U[G-1]=arguments[G];(L=S.props)[M].apply(L,[k].concat(U)),S._notifying=!1}S.unmounted||S.setState(function(B){var Y,K=B.values;return{values:Ft(Object.create(null),K,(Y={},Y[T]=k,Y))}})};S.handlers[M]=P}),n.length&&(S.attachRef=function(T){S.inner=T});var O=Object.create(null);return u.forEach(function(T){O[T]=S.props[Lv(T)]}),S.state={values:O,prevProps:{}},S}var b=v.prototype;return b.shouldComponentUpdate=function(){return!this._notifying},v.getDerivedStateFromProps=function(_,x){var R=x.values,O=x.prevProps,T={values:Ft(Object.create(null),R),prevProps:{}};return u.forEach(function(M){T.prevProps[M]=_[M],!e6(_,M)&&e6(O,M)&&(T.values[M]=_[Lv(M)])}),T},b.componentWillUnmount=function(){this.unmounted=!0},b.render=function(){var _=this,x=this.props,R=x.innerRef,O=w_(x,["innerRef"]);l.forEach(function(M){delete O[M]});var T={};return u.forEach(function(M){var P=_.props[M];T[M]=P!==void 0?P:_.state.values[M]}),se.createElement(e,Ft({},O,T,this.handlers,{ref:R||this.attachRef}))},v})(se.Component);gae(c),c.displayName="Uncontrolled("+i+")",c.propTypes=Ft({innerRef:function(){}},hae(t,i)),n.forEach(function(p){c.prototype[p]=function(){var b;return(b=this.inner)[p].apply(b,arguments)}});var h=c;return se.forwardRef&&(h=se.forwardRef(function(p,v){return se.createElement(c,Ft({},p,{innerRef:v,__source:{fileName:vae,lineNumber:128},__self:this}))}),h.propTypes=c.propTypes),h.ControlledComponent=e,h.deferControlTo=function(p,v,b){return v===void 0&&(v={}),i6(p,Ft({},t,v),b)},h}var n1="milliseconds",Iv="seconds",$v="minutes",zv="hours",Vf="day",up="week",qv="month",Yf="year",Gf="decade",Wf="century",a6={milliseconds:1,seconds:1e3,minutes:60*1e3,hours:3600*1e3,day:1440*60*1e3,week:10080*60*1e3},yae={month:1,year:12,decade:120,century:1200};function bae(e){return[31,Sae(e),31,30,31,30,31,31,30,31,30,31]}function Sae(e){return e%4===0&&e%100!==0||e%400===0?29:28}function ks(e,t,n){switch(e=new Date(e),n){case n1:case Iv:case $v:case zv:case Vf:case up:return _ae(e,t*a6[n]);case qv:case Yf:case Gf:case Wf:return Eae(e,t*yae[n])}throw new TypeError('Invalid units: "'+n+'"')}function _ae(e,t){var n=new Date(+e+t);return wae(e,n)}function Eae(e,t){var n=e.getFullYear(),i=e.getMonth(),o=e.getDate(),u=n*12+i+t,l=Math.trunc(u/12),c=u%12,h=Math.min(o,bae(l)[c]),p=new Date(e);return p.setFullYear(l),p.setDate(1),p.setMonth(c),p.setDate(h),p}function wae(e,t){var n=e.getTimezoneOffset(),i=t.getTimezoneOffset(),o=i-n;return new Date(+t+o*a6.minutes)}function Uv(e,t,n){return ks(e,-t,n)}function Di(e,t,n){switch(e=new Date(e),t){case Wf:case Gf:case Yf:e=a1(e,0);case qv:e=c6(e,1);case up:case Vf:e=Yv(e,0);case zv:e=cp(e,0);case $v:e=Vv(e,0);case Iv:e=Fv(e,0)}return t===Gf&&(e=Uv(e,Xf(e)%10,"year")),t===Wf&&(e=Uv(e,Xf(e)%100,"year")),t===up&&(e=f6(e,0,n)),e}function r1(e,t,n){switch(e=new Date(e),e=Di(e,t,n),t){case Wf:case Gf:case Yf:case qv:case up:e=ks(e,1,t),e=Uv(e,1,Vf),e.setHours(23,59,59,999);break;case Vf:e.setHours(23,59,59,999);break;case zv:case $v:case Iv:e=ks(e,1,t),e=Uv(e,1,n1)}return e}var Bv=fp(function(e,t){return e===t}),MC=fp(function(e,t){return e!==t}),i1=fp(function(e,t){return e>t}),Hv=fp(function(e,t){return e>=t}),NC=fp(function(e,t){return e<t}),lp=fp(function(e,t){return e<=t});function o6(){return new Date(Math.min.apply(Math,arguments))}function s6(){return new Date(Math.max.apply(Math,arguments))}function u6(e,t,n,i){return i=i||"day",(!t||Hv(e,t,i))&&(!n||lp(e,n,i))}var Fv=hc("Milliseconds"),Vv=hc("Seconds"),cp=hc("Minutes"),Yv=hc("Hours"),l6=hc("Day"),c6=hc("Date"),a1=hc("Month"),Xf=hc("FullYear");function Rae(e,t){return t===void 0?Xf(Di(e,Gf)):ks(e,t+10,Yf)}function Oae(e,t){return t===void 0?Xf(Di(e,Wf)):ks(e,t+100,Yf)}function f6(e,t,n){var i=(l6(e)+7-(n||0))%7;return t===void 0?i:ks(e,t-i,Vf)}function Tae(e,t,n,i){var o,u,l;switch(n){case n1:case Iv:case $v:case zv:case Vf:case up:o=t.getTime()-e.getTime();break;case qv:case Yf:case Gf:case Wf:o=(Xf(t)-Xf(e))*12+a1(t)-a1(e);break;default:throw new TypeError('Invalid units: "'+n+'"')}switch(n){case n1:u=1;break;case Iv:u=1e3;break;case $v:u=1e3*60;break;case zv:u=1e3*60*60;break;case Vf:u=1e3*60*60*24;break;case up:u=1e3*60*60*24*7;break;case qv:u=1;break;case Yf:u=12;break;case Gf:u=120;break;case Wf:u=1200;break;default:throw new TypeError('Invalid units: "'+n+'"')}return l=o/u,i?l:Math.round(l)}function hc(e){var t=(function(n){switch(n){case"Milliseconds":return 36e5;case"Seconds":return 3600;case"Minutes":return 60;case"Hours":return 1;default:return null}})(e);return function(n,i){if(i===void 0)return n["get"+e]();var o=new Date(n);return o["set"+e](i),t&&o["get"+e]()!=i&&(e==="Hours"||i>=t&&o.getHours()-n.getHours()<Math.floor(i/t))&&o["set"+e](i+t),o}}function fp(e){return function(t,n,i){return e(+Di(t,i),+Di(n,i))}}const d6=Object.freeze(Object.defineProperty({__proto__:null,add:ks,century:Oae,date:c6,day:l6,decade:Rae,diff:Tae,endOf:r1,eq:Bv,gt:i1,gte:Hv,hours:Yv,inRange:u6,lt:NC,lte:lp,max:s6,milliseconds:Fv,min:o6,minutes:cp,month:a1,neq:MC,seconds:Vv,startOf:Di,subtract:Uv,weekday:f6,year:Xf},Symbol.toStringTag,{value:"Module"}));var PC,h6;function p6(){if(h6)return PC;h6=1;function e(t,n,i){var o=-1,u=t.length;n<0&&(n=-n>u?0:u+n),i=i>u?u:i,i<0&&(i+=u),u=n>i?0:i-n>>>0,n>>>=0;for(var l=Array(u);++o<u;)l[o]=t[o+n];return l}return PC=e,PC}var kC,m6;function Gv(){if(m6)return kC;m6=1;function e(t,n){return t===n||t!==t&&n!==n}return kC=e,kC}var jC,g6;function v6(){if(g6)return jC;g6=1;var e=typeof io=="object"&&io&&io.Object===Object&&io;return jC=e,jC}var LC,y6;function cu(){if(y6)return LC;y6=1;var e=v6(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return LC=n,LC}var IC,b6;function dp(){if(b6)return IC;b6=1;var e=cu(),t=e.Symbol;return IC=t,IC}var $C,S6;function xae(){if(S6)return $C;S6=1;var e=dp(),t=Object.prototype,n=t.hasOwnProperty,i=t.toString,o=e?e.toStringTag:void 0;function u(l){var c=n.call(l,o),h=l[o];try{l[o]=void 0;var p=!0}catch{}var v=i.call(l);return p&&(c?l[o]=h:delete l[o]),v}return $C=u,$C}var zC,_6;function Aae(){if(_6)return zC;_6=1;var e=Object.prototype,t=e.toString;function n(i){return t.call(i)}return zC=n,zC}var qC,E6;function hp(){if(E6)return qC;E6=1;var e=dp(),t=xae(),n=Aae(),i="[object Null]",o="[object Undefined]",u=e?e.toStringTag:void 0;function l(c){return c==null?c===void 0?o:i:u&&u in Object(c)?t(c):n(c)}return qC=l,qC}var UC,w6;function rl(){if(w6)return UC;w6=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return UC=e,UC}var BC,R6;function HC(){if(R6)return BC;R6=1;var e=hp(),t=rl(),n="[object AsyncFunction]",i="[object Function]",o="[object GeneratorFunction]",u="[object Proxy]";function l(c){if(!t(c))return!1;var h=e(c);return h==i||h==o||h==n||h==u}return BC=l,BC}var FC,O6;function VC(){if(O6)return FC;O6=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return FC=t,FC}var YC,T6;function Wv(){if(T6)return YC;T6=1;var e=HC(),t=VC();function n(i){return i!=null&&t(i.length)&&!e(i)}return YC=n,YC}var GC,x6;function WC(){if(x6)return GC;x6=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(i,o){var u=typeof i;return o=o??e,!!o&&(u=="number"||u!="symbol"&&t.test(i))&&i>-1&&i%1==0&&i<o}return GC=n,GC}var XC,A6;function o1(){if(A6)return XC;A6=1;var e=Gv(),t=Wv(),n=WC(),i=rl();function o(u,l,c){if(!i(c))return!1;var h=typeof l;return(h=="number"?t(c)&&n(l,c.length):h=="string"&&l in c)?e(c[l],u):!1}return XC=o,XC}var QC,C6;function Cae(){if(C6)return QC;C6=1;var e=/\s/;function t(n){for(var i=n.length;i--&&e.test(n.charAt(i)););return i}return QC=t,QC}var KC,D6;function Dae(){if(D6)return KC;D6=1;var e=Cae(),t=/^\s+/;function n(i){return i&&i.slice(0,e(i)+1).replace(t,"")}return KC=n,KC}var ZC,M6;function pc(){if(M6)return ZC;M6=1;function e(t){return t!=null&&typeof t=="object"}return ZC=e,ZC}var JC,N6;function Xv(){if(N6)return JC;N6=1;var e=hp(),t=pc(),n="[object Symbol]";function i(o){return typeof o=="symbol"||t(o)&&e(o)==n}return JC=i,JC}var eD,P6;function Mae(){if(P6)return eD;P6=1;var e=Dae(),t=rl(),n=Xv(),i=NaN,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function h(p){if(typeof p=="number")return p;if(n(p))return i;if(t(p)){var v=typeof p.valueOf=="function"?p.valueOf():p;p=t(v)?v+"":v}if(typeof p!="string")return p===0?p:+p;p=e(p);var b=u.test(p);return b||l.test(p)?c(p.slice(2),b?2:8):o.test(p)?i:+p}return eD=h,eD}var tD,k6;function j6(){if(k6)return tD;k6=1;var e=Mae(),t=1/0,n=17976931348623157e292;function i(o){if(!o)return o===0?o:0;if(o=e(o),o===t||o===-t){var u=o<0?-1:1;return u*n}return o===o?o:0}return tD=i,tD}var nD,L6;function I6(){if(L6)return nD;L6=1;var e=j6();function t(n){var i=e(n),o=i%1;return i===i?o?i-o:i:0}return nD=t,nD}var rD,$6;function Nae(){if($6)return rD;$6=1;var e=p6(),t=o1(),n=I6(),i=Math.ceil,o=Math.max;function u(l,c,h){(h?t(l,c,h):c===void 0)?c=1:c=o(n(c),0);var p=l==null?0:l.length;if(!p||c<1)return[];for(var v=0,b=0,S=Array(i(p/c));v<p;)S[b++]=e(l,v,v+=c);return S}return rD=u,rD}var Pae=Nae();const kae=Pn(Pae);function iD(e){return e&&e.ownerDocument||document}function jae(e){const t=iD(e);return t&&t.defaultView||window}function Lae(e,t){return jae(e).getComputedStyle(e,t)}const Iae=/([A-Z])/g;function $ae(e){return e.replace(Iae,"-$1").toLowerCase()}const zae=/^ms-/;function s1(e){return $ae(e).replace(zae,"-ms-")}const qae=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Uae(e){return!!(e&&qae.test(e))}function pp(e,t){let n="",i="";if(typeof t=="string")return e.style.getPropertyValue(s1(t))||Lae(e).getPropertyValue(s1(t));Object.keys(t).forEach(o=>{const u=t[o];!u&&u!==0?e.style.removeProperty(s1(o)):Uae(o)?i+=`${o}(${u}) `:n+=`${s1(o)}: ${u};`}),i&&(n+=`transform: ${i};`),e.style.cssText+=`;${n}`}function u1(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function Bae(e){return"nodeType"in e&&e.nodeType===document.DOCUMENT_NODE}function aD(e){return"window"in e&&e.window===e?e:Bae(e)&&e.defaultView||!1}function z6(e){const t=e==="pageXOffset"?"scrollLeft":"scrollTop";function n(i,o){const u=aD(i);if(o===void 0)return u?u[e]:i[t];u?u.scrollTo(u[e],o):i[t]=o}return n}const q6=z6("pageXOffset"),U6=z6("pageYOffset");function Qf(e){const t=iD(e);let n={top:0,left:0,height:0,width:0};const i=t&&t.documentElement;return!i||!u1(i,e)||(e.getBoundingClientRect!==void 0&&(n=e.getBoundingClientRect()),n={top:n.top+U6(i)-(i.clientTop||0),left:n.left+q6(i)-(i.clientLeft||0),width:n.width,height:n.height}),n}const Hae=e=>!!e&&"offsetParent"in e;function Fae(e){const t=iD(e);let n=e&&e.offsetParent;for(;Hae(n)&&n.nodeName!=="HTML"&&pp(n,"position")==="static";)n=n.offsetParent;return n||t.documentElement}const Vae=e=>e.nodeName&&e.nodeName.toLowerCase();function B6(e,t){let n={top:0,left:0},i;if(pp(e,"position")==="fixed")i=e.getBoundingClientRect();else{const l=t||Fae(e);i=Qf(e),Vae(l)!=="html"&&(n=Qf(l));const c=String(pp(l,"borderTopWidth")||0);n.top+=parseInt(c,10)-U6(l)||0;const h=String(pp(l,"borderLeftWidth")||0);n.left+=parseInt(h,10)-q6(l)||0}const o=String(pp(e,"marginTop")||0),u=String(pp(e,"marginLeft")||0);return{...i,top:i.top-n.top-(parseInt(o,10)||0),left:i.left-n.left-(parseInt(u,10)||0)}}const oD=!!(typeof window<"u"&&window.document&&window.document.createElement);let H6=new Date().getTime();function Yae(e){const t=new Date().getTime(),n=Math.max(0,16-(t-H6)),i=setTimeout(e,n);return H6=t,i}const Gae=["","webkit","moz","o","ms"];let sD="clearTimeout",uD=Yae;const F6=(e,t)=>`${e+(e?t[0].toUpperCase()+t.substr(1):t)}AnimationFrame`;oD&&Gae.some(e=>{const t=F6(e,"request");return t in window&&(sD=F6(e,"cancel"),uD=n=>window[t](n)),!!uD});const V6=e=>{typeof window[sD]=="function"&&window[sD](e)},Y6=uD,Wae=!!(typeof window<"u"&&window.document&&window.document.createElement);var lD=!1,cD=!1;try{var fD={get passive(){return lD=!0},get once(){return cD=lD=!0}};Wae&&(window.addEventListener("test",fD,fD),window.removeEventListener("test",fD,!0))}catch{}function Xae(e,t,n,i){if(i&&typeof i!="boolean"&&!cD){var o=i.once,u=i.capture,l=n;!cD&&o&&(l=n.__once||function c(h){this.removeEventListener(t,c,u),n.call(this,h)},n.__once=l),e.addEventListener(t,l,lD?i:u)}e.addEventListener(t,n,i)}function Qae(e){const t=F.useRef(e);return F.useEffect(()=>{t.current=e},[e]),t}function G6(e){const t=Qae(e);return F.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function W6(){return F.useState(null)}function Kae(){const e=F.useRef(!0),t=F.useRef(()=>e.current);return F.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Zae(e){const t=Kae();return[e[0],F.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var $a="top",jo="bottom",Lo="right",za="left",dD="auto",Qv=[$a,jo,Lo,za],mp="start",Kv="end",Jae="clippingParents",X6="viewport",Zv="popper",eoe="reference",Q6=Qv.reduce(function(e,t){return e.concat([t+"-"+mp,t+"-"+Kv])},[]),hD=[].concat(Qv,[dD]).reduce(function(e,t){return e.concat([t,t+"-"+mp,t+"-"+Kv])},[]),toe="beforeRead",noe="read",roe="afterRead",ioe="beforeMain",aoe="main",ooe="afterMain",soe="beforeWrite",uoe="write",loe="afterWrite",coe=[toe,noe,roe,ioe,aoe,ooe,soe,uoe,loe];function fu(e){return e.split("-")[0]}function fo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Kf(e){var t=fo(e).Element;return e instanceof t||e instanceof Element}function du(e){var t=fo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function pD(e){if(typeof ShadowRoot>"u")return!1;var t=fo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Zf=Math.max,l1=Math.min,gp=Math.round;function mD(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function K6(){return!/^((?!chrome|android).)*safari/i.test(mD())}function vp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),o=1,u=1;t&&du(e)&&(o=e.offsetWidth>0&&gp(i.width)/e.offsetWidth||1,u=e.offsetHeight>0&&gp(i.height)/e.offsetHeight||1);var l=Kf(e)?fo(e):window,c=l.visualViewport,h=!K6()&&n,p=(i.left+(h&&c?c.offsetLeft:0))/o,v=(i.top+(h&&c?c.offsetTop:0))/u,b=i.width/o,S=i.height/u;return{width:b,height:S,top:v,right:p+b,bottom:v+S,left:p,x:p,y:v}}function gD(e){var t=vp(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Z6(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&pD(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function mc(e){return e?(e.nodeName||"").toLowerCase():null}function il(e){return fo(e).getComputedStyle(e)}function foe(e){return["table","td","th"].indexOf(mc(e))>=0}function gc(e){return((Kf(e)?e.ownerDocument:e.document)||window.document).documentElement}function c1(e){return mc(e)==="html"?e:e.assignedSlot||e.parentNode||(pD(e)?e.host:null)||gc(e)}function J6(e){return!du(e)||il(e).position==="fixed"?null:e.offsetParent}function doe(e){var t=/firefox/i.test(mD()),n=/Trident/i.test(mD());if(n&&du(e)){var i=il(e);if(i.position==="fixed")return null}var o=c1(e);for(pD(o)&&(o=o.host);du(o)&&["html","body"].indexOf(mc(o))<0;){var u=il(o);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return o;o=o.parentNode}return null}function Jv(e){for(var t=fo(e),n=J6(e);n&&foe(n)&&il(n).position==="static";)n=J6(n);return n&&(mc(n)==="html"||mc(n)==="body"&&il(n).position==="static")?t:n||doe(e)||t}function vD(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ey(e,t,n){return Zf(e,l1(t,n))}function hoe(e,t,n){var i=ey(e,t,n);return i>n?n:i}function eB(){return{top:0,right:0,bottom:0,left:0}}function tB(e){return Object.assign({},eB(),e)}function nB(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var poe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,tB(typeof t!="number"?t:nB(t,Qv))};function moe(e){var t,n=e.state,i=e.name,o=e.options,u=n.elements.arrow,l=n.modifiersData.popperOffsets,c=fu(n.placement),h=vD(c),p=[za,Lo].indexOf(c)>=0,v=p?"height":"width";if(!(!u||!l)){var b=poe(o.padding,n),S=gD(u),_=h==="y"?$a:za,x=h==="y"?jo:Lo,R=n.rects.reference[v]+n.rects.reference[h]-l[h]-n.rects.popper[v],O=l[h]-n.rects.reference[h],T=Jv(u),M=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0,P=R/2-O/2,C=b[_],k=M-S[v]-b[x],L=M/2-S[v]/2+P,z=ey(C,L,k),U=h;n.modifiersData[i]=(t={},t[U]=z,t.centerOffset=z-L,t)}}function goe(e){var t=e.state,n=e.options,i=n.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Z6(t.elements.popper,o)&&(t.elements.arrow=o))}const voe={name:"arrow",enabled:!0,phase:"main",fn:moe,effect:goe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function yp(e){return e.split("-")[1]}var yoe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function boe(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:gp(n*o)/o||0,y:gp(i*o)/o||0}}function rB(e){var t,n=e.popper,i=e.popperRect,o=e.placement,u=e.variation,l=e.offsets,c=e.position,h=e.gpuAcceleration,p=e.adaptive,v=e.roundOffsets,b=e.isFixed,S=l.x,_=S===void 0?0:S,x=l.y,R=x===void 0?0:x,O=typeof v=="function"?v({x:_,y:R}):{x:_,y:R};_=O.x,R=O.y;var T=l.hasOwnProperty("x"),M=l.hasOwnProperty("y"),P=za,C=$a,k=window;if(p){var L=Jv(n),z="clientHeight",U="clientWidth";if(L===fo(n)&&(L=gc(n),il(L).position!=="static"&&c==="absolute"&&(z="scrollHeight",U="scrollWidth")),L=L,o===$a||(o===za||o===Lo)&&u===Kv){C=jo;var G=b&&L===k&&k.visualViewport?k.visualViewport.height:L[z];R-=G-i.height,R*=h?1:-1}if(o===za||(o===$a||o===jo)&&u===Kv){P=Lo;var B=b&&L===k&&k.visualViewport?k.visualViewport.width:L[U];_-=B-i.width,_*=h?1:-1}}var Y=Object.assign({position:c},p&&yoe),K=v===!0?boe({x:_,y:R},fo(n)):{x:_,y:R};if(_=K.x,R=K.y,h){var oe;return Object.assign({},Y,(oe={},oe[C]=M?"0":"",oe[P]=T?"0":"",oe.transform=(k.devicePixelRatio||1)<=1?"translate("+_+"px, "+R+"px)":"translate3d("+_+"px, "+R+"px, 0)",oe))}return Object.assign({},Y,(t={},t[C]=M?R+"px":"",t[P]=T?_+"px":"",t.transform="",t))}function Soe(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,u=n.adaptive,l=u===void 0?!0:u,c=n.roundOffsets,h=c===void 0?!0:c,p={placement:fu(t.placement),variation:yp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rB(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:h})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rB(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _oe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Soe,data:{}};var f1={passive:!0};function Eoe(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,u=o===void 0?!0:o,l=i.resize,c=l===void 0?!0:l,h=fo(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&p.forEach(function(v){v.addEventListener("scroll",n.update,f1)}),c&&h.addEventListener("resize",n.update,f1),function(){u&&p.forEach(function(v){v.removeEventListener("scroll",n.update,f1)}),c&&h.removeEventListener("resize",n.update,f1)}}const woe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eoe,data:{}};var Roe={left:"right",right:"left",bottom:"top",top:"bottom"};function d1(e){return e.replace(/left|right|bottom|top/g,function(t){return Roe[t]})}var Ooe={start:"end",end:"start"};function iB(e){return e.replace(/start|end/g,function(t){return Ooe[t]})}function yD(e){var t=fo(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function bD(e){return vp(gc(e)).left+yD(e).scrollLeft}function Toe(e,t){var n=fo(e),i=gc(e),o=n.visualViewport,u=i.clientWidth,l=i.clientHeight,c=0,h=0;if(o){u=o.width,l=o.height;var p=K6();(p||!p&&t==="fixed")&&(c=o.offsetLeft,h=o.offsetTop)}return{width:u,height:l,x:c+bD(e),y:h}}function xoe(e){var t,n=gc(e),i=yD(e),o=(t=e.ownerDocument)==null?void 0:t.body,u=Zf(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=Zf(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-i.scrollLeft+bD(e),h=-i.scrollTop;return il(o||n).direction==="rtl"&&(c+=Zf(n.clientWidth,o?o.clientWidth:0)-u),{width:u,height:l,x:c,y:h}}function SD(e){var t=il(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function aB(e){return["html","body","#document"].indexOf(mc(e))>=0?e.ownerDocument.body:du(e)&&SD(e)?e:aB(c1(e))}function ty(e,t){var n;t===void 0&&(t=[]);var i=aB(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),u=fo(i),l=o?[u].concat(u.visualViewport||[],SD(i)?i:[]):i,c=t.concat(l);return o?c:c.concat(ty(c1(l)))}function _D(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Aoe(e,t){var n=vp(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function oB(e,t,n){return t===X6?_D(Toe(e,n)):Kf(t)?Aoe(t,n):_D(xoe(gc(e)))}function Coe(e){var t=ty(c1(e)),n=["absolute","fixed"].indexOf(il(e).position)>=0,i=n&&du(e)?Jv(e):e;return Kf(i)?t.filter(function(o){return Kf(o)&&Z6(o,i)&&mc(o)!=="body"}):[]}function Doe(e,t,n,i){var o=t==="clippingParents"?Coe(e):[].concat(t),u=[].concat(o,[n]),l=u[0],c=u.reduce(function(h,p){var v=oB(e,p,i);return h.top=Zf(v.top,h.top),h.right=l1(v.right,h.right),h.bottom=l1(v.bottom,h.bottom),h.left=Zf(v.left,h.left),h},oB(e,l,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sB(e){var t=e.reference,n=e.element,i=e.placement,o=i?fu(i):null,u=i?yp(i):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,h;switch(o){case $a:h={x:l,y:t.y-n.height};break;case jo:h={x:l,y:t.y+t.height};break;case Lo:h={x:t.x+t.width,y:c};break;case za:h={x:t.x-n.width,y:c};break;default:h={x:t.x,y:t.y}}var p=o?vD(o):null;if(p!=null){var v=p==="y"?"height":"width";switch(u){case mp:h[p]=h[p]-(t[v]/2-n[v]/2);break;case Kv:h[p]=h[p]+(t[v]/2-n[v]/2);break}}return h}function ny(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,u=n.strategy,l=u===void 0?e.strategy:u,c=n.boundary,h=c===void 0?Jae:c,p=n.rootBoundary,v=p===void 0?X6:p,b=n.elementContext,S=b===void 0?Zv:b,_=n.altBoundary,x=_===void 0?!1:_,R=n.padding,O=R===void 0?0:R,T=tB(typeof O!="number"?O:nB(O,Qv)),M=S===Zv?eoe:Zv,P=e.rects.popper,C=e.elements[x?M:S],k=Doe(Kf(C)?C:C.contextElement||gc(e.elements.popper),h,v,l),L=vp(e.elements.reference),z=sB({reference:L,element:P,placement:o}),U=_D(Object.assign({},P,z)),G=S===Zv?U:L,B={top:k.top-G.top+T.top,bottom:G.bottom-k.bottom+T.bottom,left:k.left-G.left+T.left,right:G.right-k.right+T.right},Y=e.modifiersData.offset;if(S===Zv&&Y){var K=Y[o];Object.keys(B).forEach(function(oe){var le=[Lo,jo].indexOf(oe)>=0?1:-1,fe=[$a,jo].indexOf(oe)>=0?"y":"x";B[oe]+=K[fe]*le})}return B}function Moe(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,u=n.rootBoundary,l=n.padding,c=n.flipVariations,h=n.allowedAutoPlacements,p=h===void 0?hD:h,v=yp(i),b=v?c?Q6:Q6.filter(function(x){return yp(x)===v}):Qv,S=b.filter(function(x){return p.indexOf(x)>=0});S.length===0&&(S=b);var _=S.reduce(function(x,R){return x[R]=ny(e,{placement:R,boundary:o,rootBoundary:u,padding:l})[fu(R)],x},{});return Object.keys(_).sort(function(x,R){return _[x]-_[R]})}function Noe(e){if(fu(e)===dD)return[];var t=d1(e);return[iB(e),t,iB(t)]}function Poe(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,u=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!0:l,h=n.fallbackPlacements,p=n.padding,v=n.boundary,b=n.rootBoundary,S=n.altBoundary,_=n.flipVariations,x=_===void 0?!0:_,R=n.allowedAutoPlacements,O=t.options.placement,T=fu(O),M=T===O,P=h||(M||!x?[d1(O)]:Noe(O)),C=[O].concat(P).reduce(function(re,Ee){return re.concat(fu(Ee)===dD?Moe(t,{placement:Ee,boundary:v,rootBoundary:b,padding:p,flipVariations:x,allowedAutoPlacements:R}):Ee)},[]),k=t.rects.reference,L=t.rects.popper,z=new Map,U=!0,G=C[0],B=0;B<C.length;B++){var Y=C[B],K=fu(Y),oe=yp(Y)===mp,le=[$a,jo].indexOf(K)>=0,fe=le?"width":"height",W=ny(t,{placement:Y,boundary:v,rootBoundary:b,altBoundary:S,padding:p}),ue=le?oe?Lo:za:oe?jo:$a;k[fe]>L[fe]&&(ue=d1(ue));var ie=d1(ue),_e=[];if(u&&_e.push(W[K]<=0),c&&_e.push(W[ue]<=0,W[ie]<=0),_e.every(function(re){return re})){G=Y,U=!1;break}z.set(Y,_e)}if(U)for(var ae=x?3:1,X=function(Ee){var Se=C.find(function(Re){var Pe=z.get(Re);if(Pe)return Pe.slice(0,Ee).every(function(Le){return Le})});if(Se)return G=Se,"break"},Q=ae;Q>0;Q--){var te=X(Q);if(te==="break")break}t.placement!==G&&(t.modifiersData[i]._skip=!0,t.placement=G,t.reset=!0)}}const koe={name:"flip",enabled:!0,phase:"main",fn:Poe,requiresIfExists:["offset"],data:{_skip:!1}};function uB(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function lB(e){return[$a,Lo,jo,za].some(function(t){return e[t]>=0})}function joe(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,u=t.modifiersData.preventOverflow,l=ny(t,{elementContext:"reference"}),c=ny(t,{altBoundary:!0}),h=uB(l,i),p=uB(c,o,u),v=lB(h),b=lB(p);t.modifiersData[n]={referenceClippingOffsets:h,popperEscapeOffsets:p,isReferenceHidden:v,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":b})}const Loe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:joe};function Ioe(e,t,n){var i=fu(e),o=[za,$a].indexOf(i)>=0?-1:1,u=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=u[0],c=u[1];return l=l||0,c=(c||0)*o,[za,Lo].indexOf(i)>=0?{x:c,y:l}:{x:l,y:c}}function $oe(e){var t=e.state,n=e.options,i=e.name,o=n.offset,u=o===void 0?[0,0]:o,l=hD.reduce(function(v,b){return v[b]=Ioe(b,t.rects,u),v},{}),c=l[t.placement],h=c.x,p=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=h,t.modifiersData.popperOffsets.y+=p),t.modifiersData[i]=l}const zoe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$oe};function qoe(e){var t=e.state,n=e.name;t.modifiersData[n]=sB({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Uoe={name:"popperOffsets",enabled:!0,phase:"read",fn:qoe,data:{}};function Boe(e){return e==="x"?"y":"x"}function Hoe(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,u=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!1:l,h=n.boundary,p=n.rootBoundary,v=n.altBoundary,b=n.padding,S=n.tether,_=S===void 0?!0:S,x=n.tetherOffset,R=x===void 0?0:x,O=ny(t,{boundary:h,rootBoundary:p,padding:b,altBoundary:v}),T=fu(t.placement),M=yp(t.placement),P=!M,C=vD(T),k=Boe(C),L=t.modifiersData.popperOffsets,z=t.rects.reference,U=t.rects.popper,G=typeof R=="function"?R(Object.assign({},t.rects,{placement:t.placement})):R,B=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,K={x:0,y:0};if(L){if(u){var oe,le=C==="y"?$a:za,fe=C==="y"?jo:Lo,W=C==="y"?"height":"width",ue=L[C],ie=ue+O[le],_e=ue-O[fe],ae=_?-U[W]/2:0,X=M===mp?z[W]:U[W],Q=M===mp?-U[W]:-z[W],te=t.elements.arrow,re=_&&te?gD(te):{width:0,height:0},Ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eB(),Se=Ee[le],Re=Ee[fe],Pe=ey(0,z[W],re[W]),Le=P?z[W]/2-ae-Pe-Se-B.mainAxis:X-Pe-Se-B.mainAxis,Ne=P?-z[W]/2+ae+Pe+Re+B.mainAxis:Q+Pe+Re+B.mainAxis,De=t.elements.arrow&&Jv(t.elements.arrow),Ce=De?C==="y"?De.clientTop||0:De.clientLeft||0:0,Qe=(oe=Y==null?void 0:Y[C])!=null?oe:0,Ve=ue+Le-Qe-Ce,He=ue+Ne-Qe,ke=ey(_?l1(ie,Ve):ie,ue,_?Zf(_e,He):_e);L[C]=ke,K[C]=ke-ue}if(c){var $e,ct=C==="x"?$a:za,At=C==="x"?jo:Lo,Ye=L[k],yt=k==="y"?"height":"width",mt=Ye+O[ct],Dt=Ye-O[At],ht=[$a,za].indexOf(T)!==-1,at=($e=Y==null?void 0:Y[k])!=null?$e:0,an=ht?mt:Ye-z[yt]-U[yt]-at+B.altAxis,cr=ht?Ye+z[yt]+U[yt]-at-B.altAxis:Dt,mn=_&&ht?hoe(an,Ye,cr):ey(_?an:mt,Ye,_?cr:Dt);L[k]=mn,K[k]=mn-Ye}t.modifiersData[i]=K}}const Foe={name:"preventOverflow",enabled:!0,phase:"main",fn:Hoe,requiresIfExists:["offset"]};function Voe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yoe(e){return e===fo(e)||!du(e)?yD(e):Voe(e)}function Goe(e){var t=e.getBoundingClientRect(),n=gp(t.width)/e.offsetWidth||1,i=gp(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Woe(e,t,n){n===void 0&&(n=!1);var i=du(t),o=du(t)&&Goe(t),u=gc(t),l=vp(e,o,n),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(i||!i&&!n)&&((mc(t)!=="body"||SD(u))&&(c=Yoe(t)),du(t)?(h=vp(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):u&&(h.x=bD(u))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Xoe(e){var t=new Map,n=new Set,i=[];e.forEach(function(u){t.set(u.name,u)});function o(u){n.add(u.name);var l=[].concat(u.requires||[],u.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var h=t.get(c);h&&o(h)}}),i.push(u)}return e.forEach(function(u){n.has(u.name)||o(u)}),i}function Qoe(e){var t=Xoe(e);return coe.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Koe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Zoe(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var cB={placement:"bottom",modifiers:[],strategy:"absolute"};function fB(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Joe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,u=o===void 0?cB:o;return function(c,h,p){p===void 0&&(p=u);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},cB,u),modifiersData:{},elements:{reference:c,popper:h},attributes:{},styles:{}},b=[],S=!1,_={state:v,setOptions:function(T){var M=typeof T=="function"?T(v.options):T;R(),v.options=Object.assign({},u,v.options,M),v.scrollParents={reference:Kf(c)?ty(c):c.contextElement?ty(c.contextElement):[],popper:ty(h)};var P=Qoe(Zoe([].concat(i,v.options.modifiers)));return v.orderedModifiers=P.filter(function(C){return C.enabled}),x(),_.update()},forceUpdate:function(){if(!S){var T=v.elements,M=T.reference,P=T.popper;if(fB(M,P)){v.rects={reference:Woe(M,Jv(P),v.options.strategy==="fixed"),popper:gD(P)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(B){return v.modifiersData[B.name]=Object.assign({},B.data)});for(var C=0;C<v.orderedModifiers.length;C++){if(v.reset===!0){v.reset=!1,C=-1;continue}var k=v.orderedModifiers[C],L=k.fn,z=k.options,U=z===void 0?{}:z,G=k.name;typeof L=="function"&&(v=L({state:v,options:U,name:G,instance:_})||v)}}}},update:Koe(function(){return new Promise(function(O){_.forceUpdate(),O(v)})}),destroy:function(){R(),S=!0}};if(!fB(c,h))return _;_.setOptions(p).then(function(O){!S&&p.onFirstUpdate&&p.onFirstUpdate(O)});function x(){v.orderedModifiers.forEach(function(O){var T=O.name,M=O.options,P=M===void 0?{}:M,C=O.effect;if(typeof C=="function"){var k=C({state:v,name:T,instance:_,options:P}),L=function(){};b.push(k||L)}})}function R(){b.forEach(function(O){return O()}),b=[]}return _}}var ese=Joe({defaultModifiers:[Loe,Uoe,_oe,woe,zoe,koe,Foe,voe]}),dB=function(t){return{position:t,top:"0",left:"0",opacity:"0",pointerEvents:"none"}},tse={name:"applyStyles",enabled:!1},nse={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(t){var n=t.state;return function(){var i=n.elements,o=i.reference,u=i.popper;if("removeAttribute"in o){var l=(o.getAttribute("aria-describedby")||"").split(",").filter(function(c){return c.trim()!==u.id});l.length?o.setAttribute("aria-describedby",l.join(",")):o.removeAttribute("aria-describedby")}}},fn:function(t){var n,i=t.state,o=i.elements,u=o.popper,l=o.reference,c=(n=u.getAttribute("role"))==null?void 0:n.toLowerCase();if(u.id&&c==="tooltip"&&"setAttribute"in l){var h=l.getAttribute("aria-describedby");if(h&&h.split(",").indexOf(u.id)!==-1)return;l.setAttribute("aria-describedby",h?h+","+u.id:u.id)}}},rse=[];function ise(e,t,n){var i=n===void 0?{}:n,o=i.enabled,u=o===void 0?!0:o,l=i.placement,c=l===void 0?"bottom":l,h=i.strategy,p=h===void 0?"absolute":h,v=i.modifiers,b=v===void 0?rse:v,S=w_(i,["enabled","placement","strategy","modifiers"]),_=F.useRef(),x=F.useCallback(function(){var C;(C=_.current)==null||C.update()},[]),R=F.useCallback(function(){var C;(C=_.current)==null||C.forceUpdate()},[]),O=Zae(F.useState({placement:c,update:x,forceUpdate:R,attributes:{},styles:{popper:dB(p),arrow:{}}})),T=O[0],M=O[1],P=F.useMemo(function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(k){var L=k.state,z={},U={};Object.keys(L.elements).forEach(function(G){z[G]=L.styles[G],U[G]=L.attributes[G]}),M({state:L,styles:z,attributes:U,update:x,forceUpdate:R,placement:L.placement})}}},[x,R,M]);return F.useEffect(function(){!_.current||!u||_.current.setOptions({placement:c,strategy:p,modifiers:[].concat(b,[P,tse])})},[p,c,P,u]),F.useEffect(function(){if(!(!u||e==null||t==null))return _.current=ese(e,t,Ft({},S,{placement:c,strategy:p,modifiers:[].concat(b,[nse,P])})),function(){_.current!=null&&(_.current.destroy(),_.current=void 0,M(function(C){return Ft({},C,{attributes:{},styles:{popper:dB(p)}})}))}},[u,e,t]),T}function ase(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function ose(e,t,n,i){var o=i&&typeof i!="boolean"?i.capture:i;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}function h1(e,t,n,i){return Xae(e,t,n,i),function(){ose(e,t,n,i)}}var ED,hB;function sse(){if(hB)return ED;hB=1;var e=function(){};{var t=function(i,o){var u=arguments.length;o=new Array(u>1?u-1:0);for(var l=1;l<u;l++)o[l-1]=arguments[l];var c=0,h="Warning: "+i.replace(/%s/g,function(){return o[c++]});typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}};e=function(n,i,o){var u=arguments.length;o=new Array(u>2?u-2:0);for(var l=2;l<u;l++)o[l-2]=arguments[l];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");n||t.apply(null,[i].concat(o))}}return ED=e,ED}var use=sse();const lse=Pn(use);function pB(e){return e&&e.ownerDocument||document}function cse(e){return e&&"setState"in e?w5.findDOMNode(e):e??null}const fse=(function(e){return pB(cse(e))});var dse=27,mB=function(){};function hse(e){return e.button===0}function pse(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var gB=function(t){return t&&("current"in t?t.current:t)};function mse(e,t,n){var i=n===void 0?{}:n,o=i.disabled,u=i.clickTrigger,l=u===void 0?"click":u,c=F.useRef(!1),h=t||mB,p=F.useCallback(function(S){var _,x=gB(e);lse(!!x,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),c.current=!x||pse(S)||!hse(S)||!!ase(x,(_=S.composedPath==null?void 0:S.composedPath()[0])!=null?_:S.target)},[e]),v=G6(function(S){c.current||h(S)}),b=G6(function(S){S.keyCode===dse&&h(S)});F.useEffect(function(){if(!(o||e==null)){var S=window.event,_=fse(gB(e)),x=h1(_,l,p,!0),R=h1(_,l,function(M){if(M===S){S=void 0;return}v(M)}),O=h1(_,"keyup",function(M){if(M===S){S=void 0;return}b(M)}),T=[];return"ontouchstart"in _.documentElement&&(T=[].slice.call(_.body.children).map(function(M){return h1(M,"mousemove",mB)})),function(){x(),R(),O(),T.forEach(function(M){return M()})}}},[e,o,l,p,v,b])}function gse(e){var t={};return Array.isArray(e)?(e==null||e.forEach(function(n){t[n.name]=n}),t):e||t}function vse(e){return e===void 0&&(e={}),Array.isArray(e)?e:Object.keys(e).map(function(t){return e[t].name=t,e[t]})}function yse(e){var t,n,i,o,u=e.enabled,l=e.enableEvents,c=e.placement,h=e.flip,p=e.offset,v=e.fixed,b=e.containerPadding,S=e.arrowElement,_=e.popperConfig,x=_===void 0?{}:_,R=gse(x.modifiers);return Ft({},x,{placement:c,enabled:u,strategy:v?"fixed":x.strategy,modifiers:vse(Ft({},R,{eventListeners:{enabled:l},preventOverflow:Ft({},R.preventOverflow,{options:b?Ft({padding:b},(t=R.preventOverflow)==null?void 0:t.options):(n=R.preventOverflow)==null?void 0:n.options}),offset:{options:Ft({offset:p},(i=R.offset)==null?void 0:i.options)},arrow:Ft({},R.arrow,{enabled:!!S,options:Ft({},(o=R.arrow)==null?void 0:o.options,{element:S})}),flip:Ft({enabled:!!h},R.flip)}))})}var wD=function(t){var n;return typeof document>"u"?null:t==null?pB().body:(typeof t=="function"&&(t=t()),t&&"current"in t&&(t=t.current),(n=t)!=null&&n.nodeType&&t||null)};function vB(e,t){var n=F.useState(function(){return wD(e)}),i=n[0],o=n[1];if(!i){var u=wD(e);u&&o(u)}return F.useEffect(function(){},[t,i]),F.useEffect(function(){var l=wD(e);l!==i&&o(l)},[e,i]),i}const yB=e=>!e||typeof e=="function"?e:t=>{e.current=t};function bse(e,t){const n=yB(e),i=yB(t);return o=>{n&&n(o),i&&i(o)}}function Sse(e,t){return F.useMemo(()=>bse(e,t),[e,t])}var RD=se.forwardRef(function(e,t){var n=e.flip,i=e.offset,o=e.placement,u=e.containerPadding,l=u===void 0?5:u,c=e.popperConfig,h=c===void 0?{}:c,p=e.transition,v=W6(),b=v[0],S=v[1],_=W6(),x=_[0],R=_[1],O=Sse(S,t),T=vB(e.container),M=vB(e.target),P=F.useState(!e.show),C=P[0],k=P[1],L=ise(M,b,yse({placement:o,enableEvents:!!e.show,containerPadding:l||5,flip:n,offset:i,arrowElement:x,popperConfig:h})),z=L.styles,U=L.attributes,G=w_(L,["styles","attributes"]);e.show?C&&k(!1):!e.transition&&!C&&k(!0);var B=function(){k(!0),e.onExited&&e.onExited.apply(e,arguments)},Y=e.show||p&&!C;if(mse(b,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!Y)return null;var K=e.children(Ft({},G,{show:!!e.show,props:Ft({},U.popper,{style:z.popper,ref:O}),arrowProps:Ft({},U.arrow,{style:z.arrow,ref:R})}));if(p){var oe=e.onExit,le=e.onExiting,fe=e.onEnter,W=e.onEntering,ue=e.onEntered;K=se.createElement(p,{in:e.show,appear:!0,onExit:oe,onExiting:le,onExited:B,onEnter:fe,onEntering:W,onEntered:ue},K)}return T?w5.createPortal(K,T):null});RD.displayName="Overlay",RD.propTypes={show:N.bool,placement:N.oneOf(hD),target:N.any,container:N.any,flip:N.bool,children:N.func.isRequired,containerPadding:N.number,popperConfig:N.object,rootClose:N.bool,rootCloseEvent:N.oneOf(["click","mousedown"]),rootCloseDisabled:N.bool,onHide:function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];if(t.rootClose){var u;return(u=N.func).isRequired.apply(u,[t].concat(i))}return N.func.apply(N,[t].concat(i))},transition:N.elementType,onEnter:N.func,onEntering:N.func,onEntered:N.func,onExit:N.func,onExiting:N.func,onExited:N.func};var OD,bB;function _se(){if(bB)return OD;bB=1;function e(){this.__data__=[],this.size=0}return OD=e,OD}var TD,SB;function p1(){if(SB)return TD;SB=1;var e=Gv();function t(n,i){for(var o=n.length;o--;)if(e(n[o][0],i))return o;return-1}return TD=t,TD}var xD,_B;function Ese(){if(_B)return xD;_B=1;var e=p1(),t=Array.prototype,n=t.splice;function i(o){var u=this.__data__,l=e(u,o);if(l<0)return!1;var c=u.length-1;return l==c?u.pop():n.call(u,l,1),--this.size,!0}return xD=i,xD}var AD,EB;function wse(){if(EB)return AD;EB=1;var e=p1();function t(n){var i=this.__data__,o=e(i,n);return o<0?void 0:i[o][1]}return AD=t,AD}var CD,wB;function Rse(){if(wB)return CD;wB=1;var e=p1();function t(n){return e(this.__data__,n)>-1}return CD=t,CD}var DD,RB;function Ose(){if(RB)return DD;RB=1;var e=p1();function t(n,i){var o=this.__data__,u=e(o,n);return u<0?(++this.size,o.push([n,i])):o[u][1]=i,this}return DD=t,DD}var MD,OB;function m1(){if(OB)return MD;OB=1;var e=_se(),t=Ese(),n=wse(),i=Rse(),o=Ose();function u(l){var c=-1,h=l==null?0:l.length;for(this.clear();++c<h;){var p=l[c];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=o,MD=u,MD}var ND,TB;function Tse(){if(TB)return ND;TB=1;var e=m1();function t(){this.__data__=new e,this.size=0}return ND=t,ND}var PD,xB;function xse(){if(xB)return PD;xB=1;function e(t){var n=this.__data__,i=n.delete(t);return this.size=n.size,i}return PD=e,PD}var kD,AB;function Ase(){if(AB)return kD;AB=1;function e(t){return this.__data__.get(t)}return kD=e,kD}var jD,CB;function Cse(){if(CB)return jD;CB=1;function e(t){return this.__data__.has(t)}return jD=e,jD}var LD,DB;function Dse(){if(DB)return LD;DB=1;var e=cu(),t=e["__core-js_shared__"];return LD=t,LD}var ID,MB;function Mse(){if(MB)return ID;MB=1;var e=Dse(),t=(function(){var i=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function n(i){return!!t&&t in i}return ID=n,ID}var $D,NB;function PB(){if(NB)return $D;NB=1;var e=Function.prototype,t=e.toString;function n(i){if(i!=null){try{return t.call(i)}catch{}try{return i+""}catch{}}return""}return $D=n,$D}var zD,kB;function Nse(){if(kB)return zD;kB=1;var e=HC(),t=Mse(),n=rl(),i=PB(),o=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,h=l.toString,p=c.hasOwnProperty,v=RegExp("^"+h.call(p).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(S){if(!n(S)||t(S))return!1;var _=e(S)?v:u;return _.test(i(S))}return zD=b,zD}var qD,jB;function Pse(){if(jB)return qD;jB=1;function e(t,n){return t==null?void 0:t[n]}return qD=e,qD}var UD,LB;function Jf(){if(LB)return UD;LB=1;var e=Nse(),t=Pse();function n(i,o){var u=t(i,o);return e(u)?u:void 0}return UD=n,UD}var BD,IB;function HD(){if(IB)return BD;IB=1;var e=Jf(),t=cu(),n=e(t,"Map");return BD=n,BD}var FD,$B;function g1(){if($B)return FD;$B=1;var e=Jf(),t=e(Object,"create");return FD=t,FD}var VD,zB;function kse(){if(zB)return VD;zB=1;var e=g1();function t(){this.__data__=e?e(null):{},this.size=0}return VD=t,VD}var YD,qB;function jse(){if(qB)return YD;qB=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return YD=e,YD}var GD,UB;function Lse(){if(UB)return GD;UB=1;var e=g1(),t="__lodash_hash_undefined__",n=Object.prototype,i=n.hasOwnProperty;function o(u){var l=this.__data__;if(e){var c=l[u];return c===t?void 0:c}return i.call(l,u)?l[u]:void 0}return GD=o,GD}var WD,BB;function Ise(){if(BB)return WD;BB=1;var e=g1(),t=Object.prototype,n=t.hasOwnProperty;function i(o){var u=this.__data__;return e?u[o]!==void 0:n.call(u,o)}return WD=i,WD}var XD,HB;function $se(){if(HB)return XD;HB=1;var e=g1(),t="__lodash_hash_undefined__";function n(i,o){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=e&&o===void 0?t:o,this}return XD=n,XD}var QD,FB;function zse(){if(FB)return QD;FB=1;var e=kse(),t=jse(),n=Lse(),i=Ise(),o=$se();function u(l){var c=-1,h=l==null?0:l.length;for(this.clear();++c<h;){var p=l[c];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=o,QD=u,QD}var KD,VB;function qse(){if(VB)return KD;VB=1;var e=zse(),t=m1(),n=HD();function i(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return KD=i,KD}var ZD,YB;function Use(){if(YB)return ZD;YB=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return ZD=e,ZD}var JD,GB;function v1(){if(GB)return JD;GB=1;var e=Use();function t(n,i){var o=n.__data__;return e(i)?o[typeof i=="string"?"string":"hash"]:o.map}return JD=t,JD}var eM,WB;function Bse(){if(WB)return eM;WB=1;var e=v1();function t(n){var i=e(this,n).delete(n);return this.size-=i?1:0,i}return eM=t,eM}var tM,XB;function Hse(){if(XB)return tM;XB=1;var e=v1();function t(n){return e(this,n).get(n)}return tM=t,tM}var nM,QB;function Fse(){if(QB)return nM;QB=1;var e=v1();function t(n){return e(this,n).has(n)}return nM=t,nM}var rM,KB;function Vse(){if(KB)return rM;KB=1;var e=v1();function t(n,i){var o=e(this,n),u=o.size;return o.set(n,i),this.size+=o.size==u?0:1,this}return rM=t,rM}var iM,ZB;function aM(){if(ZB)return iM;ZB=1;var e=qse(),t=Bse(),n=Hse(),i=Fse(),o=Vse();function u(l){var c=-1,h=l==null?0:l.length;for(this.clear();++c<h;){var p=l[c];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=o,iM=u,iM}var oM,JB;function Yse(){if(JB)return oM;JB=1;var e=m1(),t=HD(),n=aM(),i=200;function o(u,l){var c=this.__data__;if(c instanceof e){var h=c.__data__;if(!t||h.length<i-1)return h.push([u,l]),this.size=++c.size,this;c=this.__data__=new n(h)}return c.set(u,l),this.size=c.size,this}return oM=o,oM}var sM,eH;function uM(){if(eH)return sM;eH=1;var e=m1(),t=Tse(),n=xse(),i=Ase(),o=Cse(),u=Yse();function l(c){var h=this.__data__=new e(c);this.size=h.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=u,sM=l,sM}var lM,tH;function Gse(){if(tH)return lM;tH=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return lM=t,lM}var cM,nH;function Wse(){if(nH)return cM;nH=1;function e(t){return this.__data__.has(t)}return cM=e,cM}var fM,rH;function Xse(){if(rH)return fM;rH=1;var e=aM(),t=Gse(),n=Wse();function i(o){var u=-1,l=o==null?0:o.length;for(this.__data__=new e;++u<l;)this.add(o[u])}return i.prototype.add=i.prototype.push=t,i.prototype.has=n,fM=i,fM}var dM,iH;function Qse(){if(iH)return dM;iH=1;function e(t,n){for(var i=-1,o=t==null?0:t.length;++i<o;)if(n(t[i],i,t))return!0;return!1}return dM=e,dM}var hM,aH;function Kse(){if(aH)return hM;aH=1;function e(t,n){return t.has(n)}return hM=e,hM}var pM,oH;function sH(){if(oH)return pM;oH=1;var e=Xse(),t=Qse(),n=Kse(),i=1,o=2;function u(l,c,h,p,v,b){var S=h&i,_=l.length,x=c.length;if(_!=x&&!(S&&x>_))return!1;var R=b.get(l),O=b.get(c);if(R&&O)return R==c&&O==l;var T=-1,M=!0,P=h&o?new e:void 0;for(b.set(l,c),b.set(c,l);++T<_;){var C=l[T],k=c[T];if(p)var L=S?p(k,C,T,c,l,b):p(C,k,T,l,c,b);if(L!==void 0){if(L)continue;M=!1;break}if(P){if(!t(c,function(z,U){if(!n(P,U)&&(C===z||v(C,z,h,p,b)))return P.push(U)})){M=!1;break}}else if(!(C===k||v(C,k,h,p,b))){M=!1;break}}return b.delete(l),b.delete(c),M}return pM=u,pM}var mM,uH;function lH(){if(uH)return mM;uH=1;var e=cu(),t=e.Uint8Array;return mM=t,mM}var gM,cH;function Zse(){if(cH)return gM;cH=1;function e(t){var n=-1,i=Array(t.size);return t.forEach(function(o,u){i[++n]=[u,o]}),i}return gM=e,gM}var vM,fH;function Jse(){if(fH)return vM;fH=1;function e(t){var n=-1,i=Array(t.size);return t.forEach(function(o){i[++n]=o}),i}return vM=e,vM}var yM,dH;function eue(){if(dH)return yM;dH=1;var e=dp(),t=lH(),n=Gv(),i=sH(),o=Zse(),u=Jse(),l=1,c=2,h="[object Boolean]",p="[object Date]",v="[object Error]",b="[object Map]",S="[object Number]",_="[object RegExp]",x="[object Set]",R="[object String]",O="[object Symbol]",T="[object ArrayBuffer]",M="[object DataView]",P=e?e.prototype:void 0,C=P?P.valueOf:void 0;function k(L,z,U,G,B,Y,K){switch(U){case M:if(L.byteLength!=z.byteLength||L.byteOffset!=z.byteOffset)return!1;L=L.buffer,z=z.buffer;case T:return!(L.byteLength!=z.byteLength||!Y(new t(L),new t(z)));case h:case p:case S:return n(+L,+z);case v:return L.name==z.name&&L.message==z.message;case _:case R:return L==z+"";case b:var oe=o;case x:var le=G&l;if(oe||(oe=u),L.size!=z.size&&!le)return!1;var fe=K.get(L);if(fe)return fe==z;G|=c,K.set(L,z);var W=i(oe(L),oe(z),G,B,Y,K);return K.delete(L),W;case O:if(C)return C.call(L)==C.call(z)}return!1}return yM=k,yM}var bM,hH;function SM(){if(hH)return bM;hH=1;function e(t,n){for(var i=-1,o=n.length,u=t.length;++i<o;)t[u+i]=n[i];return t}return bM=e,bM}var _M,pH;function Io(){if(pH)return _M;pH=1;var e=Array.isArray;return _M=e,_M}var EM,mH;function gH(){if(mH)return EM;mH=1;var e=SM(),t=Io();function n(i,o,u){var l=o(i);return t(i)?l:e(l,u(i))}return EM=n,EM}var wM,vH;function tue(){if(vH)return wM;vH=1;function e(t,n){for(var i=-1,o=t==null?0:t.length,u=0,l=[];++i<o;){var c=t[i];n(c,i,t)&&(l[u++]=c)}return l}return wM=e,wM}var RM,yH;function bH(){if(yH)return RM;yH=1;function e(){return[]}return RM=e,RM}var OM,SH;function TM(){if(SH)return OM;SH=1;var e=tue(),t=bH(),n=Object.prototype,i=n.propertyIsEnumerable,o=Object.getOwnPropertySymbols,u=o?function(l){return l==null?[]:(l=Object(l),e(o(l),function(c){return i.call(l,c)}))}:t;return OM=u,OM}var xM,_H;function nue(){if(_H)return xM;_H=1;function e(t,n){for(var i=-1,o=Array(t);++i<t;)o[i]=n(i);return o}return xM=e,xM}var AM,EH;function rue(){if(EH)return AM;EH=1;var e=hp(),t=pc(),n="[object Arguments]";function i(o){return t(o)&&e(o)==n}return AM=i,AM}var CM,wH;function DM(){if(wH)return CM;wH=1;var e=rue(),t=pc(),n=Object.prototype,i=n.hasOwnProperty,o=n.propertyIsEnumerable,u=e((function(){return arguments})())?e:function(l){return t(l)&&i.call(l,"callee")&&!o.call(l,"callee")};return CM=u,CM}var ry={exports:{}},MM,RH;function iue(){if(RH)return MM;RH=1;function e(){return!1}return MM=e,MM}ry.exports;var OH;function y1(){return OH||(OH=1,(function(e,t){var n=cu(),i=iue(),o=t&&!t.nodeType&&t,u=o&&!0&&e&&!e.nodeType&&e,l=u&&u.exports===o,c=l?n.Buffer:void 0,h=c?c.isBuffer:void 0,p=h||i;e.exports=p})(ry,ry.exports)),ry.exports}var NM,TH;function aue(){if(TH)return NM;TH=1;var e=hp(),t=VC(),n=pc(),i="[object Arguments]",o="[object Array]",u="[object Boolean]",l="[object Date]",c="[object Error]",h="[object Function]",p="[object Map]",v="[object Number]",b="[object Object]",S="[object RegExp]",_="[object Set]",x="[object String]",R="[object WeakMap]",O="[object ArrayBuffer]",T="[object DataView]",M="[object Float32Array]",P="[object Float64Array]",C="[object Int8Array]",k="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",G="[object Uint16Array]",B="[object Uint32Array]",Y={};Y[M]=Y[P]=Y[C]=Y[k]=Y[L]=Y[z]=Y[U]=Y[G]=Y[B]=!0,Y[i]=Y[o]=Y[O]=Y[u]=Y[T]=Y[l]=Y[c]=Y[h]=Y[p]=Y[v]=Y[b]=Y[S]=Y[_]=Y[x]=Y[R]=!1;function K(oe){return n(oe)&&t(oe.length)&&!!Y[e(oe)]}return NM=K,NM}var PM,xH;function b1(){if(xH)return PM;xH=1;function e(t){return function(n){return t(n)}}return PM=e,PM}var iy={exports:{}};iy.exports;var AH;function kM(){return AH||(AH=1,(function(e,t){var n=v6(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,u=o&&o.exports===i,l=u&&n.process,c=(function(){try{var h=o&&o.require&&o.require("util").types;return h||l&&l.binding&&l.binding("util")}catch{}})();e.exports=c})(iy,iy.exports)),iy.exports}var jM,CH;function LM(){if(CH)return jM;CH=1;var e=aue(),t=b1(),n=kM(),i=n&&n.isTypedArray,o=i?t(i):e;return jM=o,jM}var IM,DH;function MH(){if(DH)return IM;DH=1;var e=nue(),t=DM(),n=Io(),i=y1(),o=WC(),u=LM(),l=Object.prototype,c=l.hasOwnProperty;function h(p,v){var b=n(p),S=!b&&t(p),_=!b&&!S&&i(p),x=!b&&!S&&!_&&u(p),R=b||S||_||x,O=R?e(p.length,String):[],T=O.length;for(var M in p)(v||c.call(p,M))&&!(R&&(M=="length"||_&&(M=="offset"||M=="parent")||x&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||o(M,T)))&&O.push(M);return O}return IM=h,IM}var $M,NH;function zM(){if(NH)return $M;NH=1;var e=Object.prototype;function t(n){var i=n&&n.constructor,o=typeof i=="function"&&i.prototype||e;return n===o}return $M=t,$M}var qM,PH;function kH(){if(PH)return qM;PH=1;function e(t,n){return function(i){return t(n(i))}}return qM=e,qM}var UM,jH;function oue(){if(jH)return UM;jH=1;var e=kH(),t=e(Object.keys,Object);return UM=t,UM}var BM,LH;function sue(){if(LH)return BM;LH=1;var e=zM(),t=oue(),n=Object.prototype,i=n.hasOwnProperty;function o(u){if(!e(u))return t(u);var l=[];for(var c in Object(u))i.call(u,c)&&c!="constructor"&&l.push(c);return l}return BM=o,BM}var HM,IH;function ay(){if(IH)return HM;IH=1;var e=MH(),t=sue(),n=Wv();function i(o){return n(o)?e(o):t(o)}return HM=i,HM}var FM,$H;function zH(){if($H)return FM;$H=1;var e=gH(),t=TM(),n=ay();function i(o){return e(o,n,t)}return FM=i,FM}var VM,qH;function uue(){if(qH)return VM;qH=1;var e=zH(),t=1,n=Object.prototype,i=n.hasOwnProperty;function o(u,l,c,h,p,v){var b=c&t,S=e(u),_=S.length,x=e(l),R=x.length;if(_!=R&&!b)return!1;for(var O=_;O--;){var T=S[O];if(!(b?T in l:i.call(l,T)))return!1}var M=v.get(u),P=v.get(l);if(M&&P)return M==l&&P==u;var C=!0;v.set(u,l),v.set(l,u);for(var k=b;++O<_;){T=S[O];var L=u[T],z=l[T];if(h)var U=b?h(z,L,T,l,u,v):h(L,z,T,u,l,v);if(!(U===void 0?L===z||p(L,z,c,h,v):U)){C=!1;break}k||(k=T=="constructor")}if(C&&!k){var G=u.constructor,B=l.constructor;G!=B&&"constructor"in u&&"constructor"in l&&!(typeof G=="function"&&G instanceof G&&typeof B=="function"&&B instanceof B)&&(C=!1)}return v.delete(u),v.delete(l),C}return VM=o,VM}var YM,UH;function lue(){if(UH)return YM;UH=1;var e=Jf(),t=cu(),n=e(t,"DataView");return YM=n,YM}var GM,BH;function cue(){if(BH)return GM;BH=1;var e=Jf(),t=cu(),n=e(t,"Promise");return GM=n,GM}var WM,HH;function fue(){if(HH)return WM;HH=1;var e=Jf(),t=cu(),n=e(t,"Set");return WM=n,WM}var XM,FH;function due(){if(FH)return XM;FH=1;var e=Jf(),t=cu(),n=e(t,"WeakMap");return XM=n,XM}var QM,VH;function S1(){if(VH)return QM;VH=1;var e=lue(),t=HD(),n=cue(),i=fue(),o=due(),u=hp(),l=PB(),c="[object Map]",h="[object Object]",p="[object Promise]",v="[object Set]",b="[object WeakMap]",S="[object DataView]",_=l(e),x=l(t),R=l(n),O=l(i),T=l(o),M=u;return(e&&M(new e(new ArrayBuffer(1)))!=S||t&&M(new t)!=c||n&&M(n.resolve())!=p||i&&M(new i)!=v||o&&M(new o)!=b)&&(M=function(P){var C=u(P),k=C==h?P.constructor:void 0,L=k?l(k):"";if(L)switch(L){case _:return S;case x:return c;case R:return p;case O:return v;case T:return b}return C}),QM=M,QM}var KM,YH;function hue(){if(YH)return KM;YH=1;var e=uM(),t=sH(),n=eue(),i=uue(),o=S1(),u=Io(),l=y1(),c=LM(),h=1,p="[object Arguments]",v="[object Array]",b="[object Object]",S=Object.prototype,_=S.hasOwnProperty;function x(R,O,T,M,P,C){var k=u(R),L=u(O),z=k?v:o(R),U=L?v:o(O);z=z==p?b:z,U=U==p?b:U;var G=z==b,B=U==b,Y=z==U;if(Y&&l(R)){if(!l(O))return!1;k=!0,G=!1}if(Y&&!G)return C||(C=new e),k||c(R)?t(R,O,T,M,P,C):n(R,O,z,T,M,P,C);if(!(T&h)){var K=G&&_.call(R,"__wrapped__"),oe=B&&_.call(O,"__wrapped__");if(K||oe){var le=K?R.value():R,fe=oe?O.value():O;return C||(C=new e),P(le,fe,T,M,C)}}return Y?(C||(C=new e),i(R,O,T,M,P,C)):!1}return KM=x,KM}var ZM,GH;function JM(){if(GH)return ZM;GH=1;var e=hue(),t=pc();function n(i,o,u,l,c){return i===o?!0:i==null||o==null||!t(i)&&!t(o)?i!==i&&o!==o:e(i,o,u,l,n,c)}return ZM=n,ZM}var eN,WH;function pue(){if(WH)return eN;WH=1;var e=JM();function t(n,i){return e(n,i)}return eN=t,eN}var mue=pue();const gue=Pn(mue);function tN(e,t){const n=aD(e);return n?n.innerHeight:Qf(e).height}const vue=Function.prototype.bind.call(Function.prototype.call,[].slice);function yue(e,t){return vue(e.querySelectorAll(t))}let nN;function bue(e,t){if(!nN){const n=document.body,i=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;nN=(o,u)=>i.call(o,u)}return nN(e,t)}function XH(e,t,n){e.closest&&!n&&e.closest(t);let i=e;do{if(bue(i,t))return i;i=i.parentElement}while(i&&i!==n&&i.nodeType===document.ELEMENT_NODE);return null}let rN=!1,iN=!1;try{const e={get passive(){return rN=!0},get once(){return iN=rN=!0}};oD&&(window.addEventListener("test",e,e),window.removeEventListener("test",e,!0))}catch{}function Sue(e,t,n,i){if(i&&typeof i!="boolean"&&!iN){const{once:o,capture:u}=i;let l=n;!iN&&o&&(l=n.__once||function c(h){this.removeEventListener(t,c,u),n.call(this,h)},n.__once=l),e.addEventListener(t,l,rN?i:u)}e.addEventListener(t,n,i)}function _ue(e,t,n,i){const o=i&&typeof i!="boolean"?i.capture:i;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}function Eue(e,t,n,i){return Sue(e,t,n,i),()=>{_ue(e,t,n,i)}}var aN,QH;function wue(){if(QH)return aN;QH=1;function e(t,n,i,o){for(var u=t.length,l=i+(o?1:-1);o?l--:++l<u;)if(n(t[l],l,t))return l;return-1}return aN=e,aN}var oN,KH;function Rue(){if(KH)return oN;KH=1;var e=uM(),t=JM(),n=1,i=2;function o(u,l,c,h){var p=c.length,v=p,b=!h;if(u==null)return!v;for(u=Object(u);p--;){var S=c[p];if(b&&S[2]?S[1]!==u[S[0]]:!(S[0]in u))return!1}for(;++p<v;){S=c[p];var _=S[0],x=u[_],R=S[1];if(b&&S[2]){if(x===void 0&&!(_ in u))return!1}else{var O=new e;if(h)var T=h(x,R,_,u,l,O);if(!(T===void 0?t(R,x,n|i,h,O):T))return!1}}return!0}return oN=o,oN}var sN,ZH;function JH(){if(ZH)return sN;ZH=1;var e=rl();function t(n){return n===n&&!e(n)}return sN=t,sN}var uN,eF;function Oue(){if(eF)return uN;eF=1;var e=JH(),t=ay();function n(i){for(var o=t(i),u=o.length;u--;){var l=o[u],c=i[l];o[u]=[l,c,e(c)]}return o}return uN=n,uN}var lN,tF;function nF(){if(tF)return lN;tF=1;function e(t,n){return function(i){return i==null?!1:i[t]===n&&(n!==void 0||t in Object(i))}}return lN=e,lN}var cN,rF;function Tue(){if(rF)return cN;rF=1;var e=Rue(),t=Oue(),n=nF();function i(o){var u=t(o);return u.length==1&&u[0][2]?n(u[0][0],u[0][1]):function(l){return l===o||e(l,o,u)}}return cN=i,cN}var fN,iF;function dN(){if(iF)return fN;iF=1;var e=Io(),t=Xv(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function o(u,l){if(e(u))return!1;var c=typeof u;return c=="number"||c=="symbol"||c=="boolean"||u==null||t(u)?!0:i.test(u)||!n.test(u)||l!=null&&u in Object(l)}return fN=o,fN}var hN,aF;function xue(){if(aF)return hN;aF=1;var e=aM(),t="Expected a function";function n(i,o){if(typeof i!="function"||o!=null&&typeof o!="function")throw new TypeError(t);var u=function(){var l=arguments,c=o?o.apply(this,l):l[0],h=u.cache;if(h.has(c))return h.get(c);var p=i.apply(this,l);return u.cache=h.set(c,p)||h,p};return u.cache=new(n.Cache||e),u}return n.Cache=e,hN=n,hN}var pN,oF;function Aue(){if(oF)return pN;oF=1;var e=xue(),t=500;function n(i){var o=e(i,function(l){return u.size===t&&u.clear(),l}),u=o.cache;return o}return pN=n,pN}var mN,sF;function Cue(){if(sF)return mN;sF=1;var e=Aue(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,i=e(function(o){var u=[];return o.charCodeAt(0)===46&&u.push(""),o.replace(t,function(l,c,h,p){u.push(h?p.replace(n,"$1"):c||l)}),u});return mN=i,mN}var gN,uF;function vN(){if(uF)return gN;uF=1;function e(t,n){for(var i=-1,o=t==null?0:t.length,u=Array(o);++i<o;)u[i]=n(t[i],i,t);return u}return gN=e,gN}var yN,lF;function Due(){if(lF)return yN;lF=1;var e=dp(),t=vN(),n=Io(),i=Xv(),o=e?e.prototype:void 0,u=o?o.toString:void 0;function l(c){if(typeof c=="string")return c;if(n(c))return t(c,l)+"";if(i(c))return u?u.call(c):"";var h=c+"";return h=="0"&&1/c==-1/0?"-0":h}return yN=l,yN}var bN,cF;function Mue(){if(cF)return bN;cF=1;var e=Due();function t(n){return n==null?"":e(n)}return bN=t,bN}var SN,fF;function _1(){if(fF)return SN;fF=1;var e=Io(),t=dN(),n=Cue(),i=Mue();function o(u,l){return e(u)?u:t(u,l)?[u]:n(i(u))}return SN=o,SN}var _N,dF;function oy(){if(dF)return _N;dF=1;var e=Xv();function t(n){if(typeof n=="string"||e(n))return n;var i=n+"";return i=="0"&&1/n==-1/0?"-0":i}return _N=t,_N}var EN,hF;function E1(){if(hF)return EN;hF=1;var e=_1(),t=oy();function n(i,o){o=e(o,i);for(var u=0,l=o.length;i!=null&&u<l;)i=i[t(o[u++])];return u&&u==l?i:void 0}return EN=n,EN}var wN,pF;function Nue(){if(pF)return wN;pF=1;var e=E1();function t(n,i,o){var u=n==null?void 0:e(n,i);return u===void 0?o:u}return wN=t,wN}var RN,mF;function Pue(){if(mF)return RN;mF=1;function e(t,n){return t!=null&&n in Object(t)}return RN=e,RN}var ON,gF;function kue(){if(gF)return ON;gF=1;var e=_1(),t=DM(),n=Io(),i=WC(),o=VC(),u=oy();function l(c,h,p){h=e(h,c);for(var v=-1,b=h.length,S=!1;++v<b;){var _=u(h[v]);if(!(S=c!=null&&p(c,_)))break;c=c[_]}return S||++v!=b?S:(b=c==null?0:c.length,!!b&&o(b)&&i(_,b)&&(n(c)||t(c)))}return ON=l,ON}var TN,vF;function jue(){if(vF)return TN;vF=1;var e=Pue(),t=kue();function n(i,o){return i!=null&&t(i,o,e)}return TN=n,TN}var xN,yF;function Lue(){if(yF)return xN;yF=1;var e=JM(),t=Nue(),n=jue(),i=dN(),o=JH(),u=nF(),l=oy(),c=1,h=2;function p(v,b){return i(v)&&o(b)?u(l(v),b):function(S){var _=t(S,v);return _===void 0&&_===b?n(S,v):e(b,_,c|h)}}return xN=p,xN}var AN,bF;function w1(){if(bF)return AN;bF=1;function e(t){return t}return AN=e,AN}var CN,SF;function Iue(){if(SF)return CN;SF=1;function e(t){return function(n){return n==null?void 0:n[t]}}return CN=e,CN}var DN,_F;function $ue(){if(_F)return DN;_F=1;var e=E1();function t(n){return function(i){return e(i,n)}}return DN=t,DN}var MN,EF;function zue(){if(EF)return MN;EF=1;var e=Iue(),t=$ue(),n=dN(),i=oy();function o(u){return n(u)?e(i(u)):t(u)}return MN=o,MN}var NN,wF;function R1(){if(wF)return NN;wF=1;var e=Tue(),t=Lue(),n=w1(),i=Io(),o=zue();function u(l){return typeof l=="function"?l:l==null?n:typeof l=="object"?i(l)?t(l[0],l[1]):e(l):o(l)}return NN=u,NN}var PN,RF;function que(){if(RF)return PN;RF=1;var e=wue(),t=R1(),n=I6(),i=Math.max;function o(u,l,c){var h=u==null?0:u.length;if(!h)return-1;var p=c==null?0:n(c);return p<0&&(p=i(h+p,0)),e(u,t(l,3),p)}return PN=o,PN}var Uue=que();const Bue=Pn(Uue);var kN,OF;function Hue(){if(OF)return kN;OF=1;var e=Math.ceil,t=Math.max;function n(i,o,u,l){for(var c=-1,h=t(e((o-i)/(u||1)),0),p=Array(h);h--;)p[l?h:++c]=i,i+=u;return p}return kN=n,kN}var jN,TF;function Fue(){if(TF)return jN;TF=1;var e=Hue(),t=o1(),n=j6();function i(o){return function(u,l,c){return c&&typeof c!="number"&&t(u,l,c)&&(l=c=void 0),u=n(u),l===void 0?(l=u,u=0):l=n(l),c=c===void 0?u<l?1:-1:n(c),e(u,l,c,o)}}return jN=i,jN}var LN,xF;function Vue(){if(xF)return LN;xF=1;var e=Fue(),t=e();return LN=t,LN}var Yue=Vue();const Gue=Pn(Yue);var AF=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Wue(e,t){return!!(e===t||AF(e)&&AF(t))}function Xue(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Wue(e[n],t[n]))return!1;return!0}function CF(e,t){t===void 0&&(t=Xue);var n=null;function i(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var l=e.apply(this,o);return n={lastResult:l,lastArgs:o,lastThis:this},l}return i.clear=function(){n=null},i}function IN(e,t){const n=aD(e);return n?n.innerWidth:Qf(e).width}var $N,DF;function Que(){if(DF)return $N;DF=1;var e=dp(),t=DM(),n=Io(),i=e?e.isConcatSpreadable:void 0;function o(u){return n(u)||t(u)||!!(i&&u&&u[i])}return $N=o,$N}var zN,MF;function NF(){if(MF)return zN;MF=1;var e=SM(),t=Que();function n(i,o,u,l,c){var h=-1,p=i.length;for(u||(u=t),c||(c=[]);++h<p;){var v=i[h];o>0&&u(v)?o>1?n(v,o-1,u,l,c):e(c,v):l||(c[c.length]=v)}return c}return zN=n,zN}var qN,PF;function Kue(){if(PF)return qN;PF=1;function e(t){return function(n,i,o){for(var u=-1,l=Object(n),c=o(n),h=c.length;h--;){var p=c[t?h:++u];if(i(l[p],p,l)===!1)break}return n}}return qN=e,qN}var UN,kF;function Zue(){if(kF)return UN;kF=1;var e=Kue(),t=e();return UN=t,UN}var BN,jF;function HN(){if(jF)return BN;jF=1;var e=Zue(),t=ay();function n(i,o){return i&&e(i,o,t)}return BN=n,BN}var FN,LF;function Jue(){if(LF)return FN;LF=1;var e=Wv();function t(n,i){return function(o,u){if(o==null)return o;if(!e(o))return n(o,u);for(var l=o.length,c=i?l:-1,h=Object(o);(i?c--:++c<l)&&u(h[c],c,h)!==!1;);return o}}return FN=t,FN}var VN,IF;function ele(){if(IF)return VN;IF=1;var e=HN(),t=Jue(),n=t(e);return VN=n,VN}var YN,$F;function tle(){if($F)return YN;$F=1;var e=ele(),t=Wv();function n(i,o){var u=-1,l=t(i)?Array(i.length):[];return e(i,function(c,h,p){l[++u]=o(c,h,p)}),l}return YN=n,YN}var GN,zF;function nle(){if(zF)return GN;zF=1;function e(t,n){var i=t.length;for(t.sort(n);i--;)t[i]=t[i].value;return t}return GN=e,GN}var WN,qF;function rle(){if(qF)return WN;qF=1;var e=Xv();function t(n,i){if(n!==i){var o=n!==void 0,u=n===null,l=n===n,c=e(n),h=i!==void 0,p=i===null,v=i===i,b=e(i);if(!p&&!b&&!c&&n>i||c&&h&&v&&!p&&!b||u&&h&&v||!o&&v||!l)return 1;if(!u&&!c&&!b&&n<i||b&&o&&l&&!u&&!c||p&&o&&l||!h&&l||!v)return-1}return 0}return WN=t,WN}var XN,UF;function ile(){if(UF)return XN;UF=1;var e=rle();function t(n,i,o){for(var u=-1,l=n.criteria,c=i.criteria,h=l.length,p=o.length;++u<h;){var v=e(l[u],c[u]);if(v){if(u>=p)return v;var b=o[u];return v*(b=="desc"?-1:1)}}return n.index-i.index}return XN=t,XN}var QN,BF;function ale(){if(BF)return QN;BF=1;var e=vN(),t=E1(),n=R1(),i=tle(),o=nle(),u=b1(),l=ile(),c=w1(),h=Io();function p(v,b,S){b.length?b=e(b,function(R){return h(R)?function(O){return t(O,R.length===1?R[0]:R)}:R}):b=[c];var _=-1;b=e(b,u(n));var x=i(v,function(R,O,T){var M=e(b,function(P){return P(R)});return{criteria:M,index:++_,value:R}});return o(x,function(R,O){return l(R,O,S)})}return QN=p,QN}var KN,HF;function ole(){if(HF)return KN;HF=1;function e(t,n,i){switch(i.length){case 0:return t.call(n);case 1:return t.call(n,i[0]);case 2:return t.call(n,i[0],i[1]);case 3:return t.call(n,i[0],i[1],i[2])}return t.apply(n,i)}return KN=e,KN}var ZN,FF;function VF(){if(FF)return ZN;FF=1;var e=ole(),t=Math.max;function n(i,o,u){return o=t(o===void 0?i.length-1:o,0),function(){for(var l=arguments,c=-1,h=t(l.length-o,0),p=Array(h);++c<h;)p[c]=l[o+c];c=-1;for(var v=Array(o+1);++c<o;)v[c]=l[c];return v[o]=u(p),e(i,this,v)}}return ZN=n,ZN}var JN,YF;function sle(){if(YF)return JN;YF=1;function e(t){return function(){return t}}return JN=e,JN}var eP,GF;function WF(){if(GF)return eP;GF=1;var e=Jf(),t=(function(){try{var n=e(Object,"defineProperty");return n({},"",{}),n}catch{}})();return eP=t,eP}var tP,XF;function ule(){if(XF)return tP;XF=1;var e=sle(),t=WF(),n=w1(),i=t?function(o,u){return t(o,"toString",{configurable:!0,enumerable:!1,value:e(u),writable:!0})}:n;return tP=i,tP}var nP,QF;function lle(){if(QF)return nP;QF=1;var e=800,t=16,n=Date.now;function i(o){var u=0,l=0;return function(){var c=n(),h=t-(c-l);if(l=c,h>0){if(++u>=e)return arguments[0]}else u=0;return o.apply(void 0,arguments)}}return nP=i,nP}var rP,KF;function ZF(){if(KF)return rP;KF=1;var e=ule(),t=lle(),n=t(e);return rP=n,rP}var iP,JF;function e8(){if(JF)return iP;JF=1;var e=w1(),t=VF(),n=ZF();function i(o,u){return n(t(o,u,e),o+"")}return iP=i,iP}var aP,t8;function cle(){if(t8)return aP;t8=1;var e=NF(),t=ale(),n=e8(),i=o1(),o=n(function(u,l){if(u==null)return[];var c=l.length;return c>1&&i(u,l[0],l[1])?l=[]:c>2&&i(l[0],l[1],l[2])&&(l=[l[0]]),t(u,e(l,1),[])});return aP=o,aP}var fle=cle();const dle=Pn(fle);let O1;function oP(e){if((!O1&&O1!==0||e)&&oD){const t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),O1=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return O1}function n8(e){return sq(e)||M5(e)||Lx(e)||uq()}function hle(e,t){return e.classList?e.classList.contains(t):` ${e.className.baseVal||e.className} `.indexOf(` ${t} `)!==-1}function ple(e,t){e.classList?e.classList.add(t):hle(e,t)||(typeof e.className=="string"?e.className=`${e.className} ${t}`:e.setAttribute("class",`${e.className&&e.className.baseVal||""} ${t}`))}function r8(e,t){return e.replace(new RegExp(`(^|\\s)${t}(?:\\s|$)`,"g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function mle(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=r8(e.className,t):e.setAttribute("class",r8(e.className&&e.className.baseVal||"",t))}var sP,i8;function gle(){if(i8)return sP;i8=1;function e(t){var n=[];if(t!=null)for(var i in Object(t))n.push(i);return n}return sP=e,sP}var uP,a8;function vle(){if(a8)return uP;a8=1;var e=rl(),t=zM(),n=gle(),i=Object.prototype,o=i.hasOwnProperty;function u(l){if(!e(l))return n(l);var c=t(l),h=[];for(var p in l)p=="constructor"&&(c||!o.call(l,p))||h.push(p);return h}return uP=u,uP}var lP,o8;function T1(){if(o8)return lP;o8=1;var e=MH(),t=vle(),n=Wv();function i(o){return n(o)?e(o,!0):t(o)}return lP=i,lP}var cP,s8;function yle(){if(s8)return cP;s8=1;var e=e8(),t=Gv(),n=o1(),i=T1(),o=Object.prototype,u=o.hasOwnProperty,l=e(function(c,h){c=Object(c);var p=-1,v=h.length,b=v>2?h[2]:void 0;for(b&&n(h[0],h[1],b)&&(v=1);++p<v;)for(var S=h[p],_=i(S),x=-1,R=_.length;++x<R;){var O=_[x],T=c[O];(T===void 0||t(T,o[O])&&!u.call(c,O))&&(c[O]=S[O])}return c});return cP=l,cP}var ble=yle();const Sle=Pn(ble);var fP,u8;function dP(){if(u8)return fP;u8=1;var e=WF();function t(n,i,o){i=="__proto__"&&e?e(n,i,{configurable:!0,enumerable:!0,value:o,writable:!0}):n[i]=o}return fP=t,fP}var hP,l8;function _le(){if(l8)return hP;l8=1;var e=dP(),t=HN(),n=R1();function i(o,u){var l={};return u=n(u,3),t(o,function(c,h,p){e(l,h,u(c,h,p))}),l}return hP=i,hP}var Ele=_le();const wle=Pn(Ele);var pP,c8;function f8(){if(c8)return pP;c8=1;function e(t,n){for(var i=-1,o=t==null?0:t.length;++i<o&&n(t[i],i,t)!==!1;);return t}return pP=e,pP}var mP,d8;function h8(){if(d8)return mP;d8=1;var e=dP(),t=Gv(),n=Object.prototype,i=n.hasOwnProperty;function o(u,l,c){var h=u[l];(!(i.call(u,l)&&t(h,c))||c===void 0&&!(l in u))&&e(u,l,c)}return mP=o,mP}var gP,p8;function sy(){if(p8)return gP;p8=1;var e=h8(),t=dP();function n(i,o,u,l){var c=!u;u||(u={});for(var h=-1,p=o.length;++h<p;){var v=o[h],b=l?l(u[v],i[v],v,u,i):void 0;b===void 0&&(b=i[v]),c?t(u,v,b):e(u,v,b)}return u}return gP=n,gP}var vP,m8;function Rle(){if(m8)return vP;m8=1;var e=sy(),t=ay();function n(i,o){return i&&e(o,t(o),i)}return vP=n,vP}var yP,g8;function Ole(){if(g8)return yP;g8=1;var e=sy(),t=T1();function n(i,o){return i&&e(o,t(o),i)}return yP=n,yP}var uy={exports:{}};uy.exports;var v8;function Tle(){return v8||(v8=1,(function(e,t){var n=cu(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,u=o&&o.exports===i,l=u?n.Buffer:void 0,c=l?l.allocUnsafe:void 0;function h(p,v){if(v)return p.slice();var b=p.length,S=c?c(b):new p.constructor(b);return p.copy(S),S}e.exports=h})(uy,uy.exports)),uy.exports}var bP,y8;function xle(){if(y8)return bP;y8=1;function e(t,n){var i=-1,o=t.length;for(n||(n=Array(o));++i<o;)n[i]=t[i];return n}return bP=e,bP}var SP,b8;function Ale(){if(b8)return SP;b8=1;var e=sy(),t=TM();function n(i,o){return e(i,t(i),o)}return SP=n,SP}var _P,S8;function x1(){if(S8)return _P;S8=1;var e=kH(),t=e(Object.getPrototypeOf,Object);return _P=t,_P}var EP,_8;function E8(){if(_8)return EP;_8=1;var e=SM(),t=x1(),n=TM(),i=bH(),o=Object.getOwnPropertySymbols,u=o?function(l){for(var c=[];l;)e(c,n(l)),l=t(l);return c}:i;return EP=u,EP}var wP,w8;function Cle(){if(w8)return wP;w8=1;var e=sy(),t=E8();function n(i,o){return e(i,t(i),o)}return wP=n,wP}var RP,R8;function O8(){if(R8)return RP;R8=1;var e=gH(),t=E8(),n=T1();function i(o){return e(o,n,t)}return RP=i,RP}var OP,T8;function Dle(){if(T8)return OP;T8=1;var e=Object.prototype,t=e.hasOwnProperty;function n(i){var o=i.length,u=new i.constructor(o);return o&&typeof i[0]=="string"&&t.call(i,"index")&&(u.index=i.index,u.input=i.input),u}return OP=n,OP}var TP,x8;function xP(){if(x8)return TP;x8=1;var e=lH();function t(n){var i=new n.constructor(n.byteLength);return new e(i).set(new e(n)),i}return TP=t,TP}var AP,A8;function Mle(){if(A8)return AP;A8=1;var e=xP();function t(n,i){var o=i?e(n.buffer):n.buffer;return new n.constructor(o,n.byteOffset,n.byteLength)}return AP=t,AP}var CP,C8;function Nle(){if(C8)return CP;C8=1;var e=/\w*$/;function t(n){var i=new n.constructor(n.source,e.exec(n));return i.lastIndex=n.lastIndex,i}return CP=t,CP}var DP,D8;function Ple(){if(D8)return DP;D8=1;var e=dp(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;function i(o){return n?Object(n.call(o)):{}}return DP=i,DP}var MP,M8;function kle(){if(M8)return MP;M8=1;var e=xP();function t(n,i){var o=i?e(n.buffer):n.buffer;return new n.constructor(o,n.byteOffset,n.length)}return MP=t,MP}var NP,N8;function jle(){if(N8)return NP;N8=1;var e=xP(),t=Mle(),n=Nle(),i=Ple(),o=kle(),u="[object Boolean]",l="[object Date]",c="[object Map]",h="[object Number]",p="[object RegExp]",v="[object Set]",b="[object String]",S="[object Symbol]",_="[object ArrayBuffer]",x="[object DataView]",R="[object Float32Array]",O="[object Float64Array]",T="[object Int8Array]",M="[object Int16Array]",P="[object Int32Array]",C="[object Uint8Array]",k="[object Uint8ClampedArray]",L="[object Uint16Array]",z="[object Uint32Array]";function U(G,B,Y){var K=G.constructor;switch(B){case _:return e(G);case u:case l:return new K(+G);case x:return t(G,Y);case R:case O:case T:case M:case P:case C:case k:case L:case z:return o(G,Y);case c:return new K;case h:case b:return new K(G);case p:return n(G);case v:return new K;case S:return i(G)}}return NP=U,NP}var PP,P8;function k8(){if(P8)return PP;P8=1;var e=rl(),t=Object.create,n=(function(){function i(){}return function(o){if(!e(o))return{};if(t)return t(o);i.prototype=o;var u=new i;return i.prototype=void 0,u}})();return PP=n,PP}var kP,j8;function Lle(){if(j8)return kP;j8=1;var e=k8(),t=x1(),n=zM();function i(o){return typeof o.constructor=="function"&&!n(o)?e(t(o)):{}}return kP=i,kP}var jP,L8;function Ile(){if(L8)return jP;L8=1;var e=S1(),t=pc(),n="[object Map]";function i(o){return t(o)&&e(o)==n}return jP=i,jP}var LP,I8;function $le(){if(I8)return LP;I8=1;var e=Ile(),t=b1(),n=kM(),i=n&&n.isMap,o=i?t(i):e;return LP=o,LP}var IP,$8;function zle(){if($8)return IP;$8=1;var e=S1(),t=pc(),n="[object Set]";function i(o){return t(o)&&e(o)==n}return IP=i,IP}var $P,z8;function qle(){if(z8)return $P;z8=1;var e=zle(),t=b1(),n=kM(),i=n&&n.isSet,o=i?t(i):e;return $P=o,$P}var zP,q8;function Ule(){if(q8)return zP;q8=1;var e=uM(),t=f8(),n=h8(),i=Rle(),o=Ole(),u=Tle(),l=xle(),c=Ale(),h=Cle(),p=zH(),v=O8(),b=S1(),S=Dle(),_=jle(),x=Lle(),R=Io(),O=y1(),T=$le(),M=rl(),P=qle(),C=ay(),k=T1(),L=1,z=2,U=4,G="[object Arguments]",B="[object Array]",Y="[object Boolean]",K="[object Date]",oe="[object Error]",le="[object Function]",fe="[object GeneratorFunction]",W="[object Map]",ue="[object Number]",ie="[object Object]",_e="[object RegExp]",ae="[object Set]",X="[object String]",Q="[object Symbol]",te="[object WeakMap]",re="[object ArrayBuffer]",Ee="[object DataView]",Se="[object Float32Array]",Re="[object Float64Array]",Pe="[object Int8Array]",Le="[object Int16Array]",Ne="[object Int32Array]",De="[object Uint8Array]",Ce="[object Uint8ClampedArray]",Qe="[object Uint16Array]",Ve="[object Uint32Array]",He={};He[G]=He[B]=He[re]=He[Ee]=He[Y]=He[K]=He[Se]=He[Re]=He[Pe]=He[Le]=He[Ne]=He[W]=He[ue]=He[ie]=He[_e]=He[ae]=He[X]=He[Q]=He[De]=He[Ce]=He[Qe]=He[Ve]=!0,He[oe]=He[le]=He[te]=!1;function ke($e,ct,At,Ye,yt,mt){var Dt,ht=ct&L,at=ct&z,an=ct&U;if(At&&(Dt=yt?At($e,Ye,yt,mt):At($e)),Dt!==void 0)return Dt;if(!M($e))return $e;var cr=R($e);if(cr){if(Dt=S($e),!ht)return l($e,Dt)}else{var mn=b($e),ot=mn==le||mn==fe;if(O($e))return u($e,ht);if(mn==ie||mn==G||ot&&!yt){if(Dt=at||ot?{}:x($e),!ht)return at?h($e,o(Dt,$e)):c($e,i(Dt,$e))}else{if(!He[mn])return yt?$e:{};Dt=_($e,mn,ht)}}mt||(mt=new e);var St=mt.get($e);if(St)return St;mt.set($e,Dt),P($e)?$e.forEach(function(Cn){Dt.add(ke(Cn,ct,At,Cn,$e,mt))}):T($e)&&$e.forEach(function(Cn,zn){Dt.set(zn,ke(Cn,ct,At,zn,$e,mt))});var tr=an?at?v:p:at?k:C,Lt=cr?void 0:tr($e);return t(Lt||$e,function(Cn,zn){Lt&&(zn=Cn,Cn=$e[zn]),n(Dt,zn,ke(Cn,ct,At,zn,$e,mt))}),Dt}return zP=ke,zP}var qP,U8;function Ble(){if(U8)return qP;U8=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return qP=e,qP}var UP,B8;function Hle(){if(B8)return UP;B8=1;var e=E1(),t=p6();function n(i,o){return o.length<2?i:e(i,t(o,0,-1))}return UP=n,UP}var BP,H8;function Fle(){if(H8)return BP;H8=1;var e=_1(),t=Ble(),n=Hle(),i=oy(),o=Object.prototype,u=o.hasOwnProperty;function l(c,h){h=e(h,c);var p=-1,v=h.length;if(!v)return!0;for(;++p<v;){var b=i(h[p]);if(b==="__proto__"&&!u.call(c,"__proto__")||(b==="constructor"||b==="prototype")&&p<v-1)return!1}var S=n(c,h);return S==null||delete S[i(t(h))]}return BP=l,BP}var HP,F8;function Vle(){if(F8)return HP;F8=1;var e=hp(),t=x1(),n=pc(),i="[object Object]",o=Function.prototype,u=Object.prototype,l=o.toString,c=u.hasOwnProperty,h=l.call(Object);function p(v){if(!n(v)||e(v)!=i)return!1;var b=t(v);if(b===null)return!0;var S=c.call(b,"constructor")&&b.constructor;return typeof S=="function"&&S instanceof S&&l.call(S)==h}return HP=p,HP}var FP,V8;function Yle(){if(V8)return FP;V8=1;var e=Vle();function t(n){return e(n)?void 0:n}return FP=t,FP}var VP,Y8;function Gle(){if(Y8)return VP;Y8=1;var e=NF();function t(n){var i=n==null?0:n.length;return i?e(n,1):[]}return VP=t,VP}var YP,G8;function Wle(){if(G8)return YP;G8=1;var e=Gle(),t=VF(),n=ZF();function i(o){return n(t(o,void 0,e),o+"")}return YP=i,YP}var GP,W8;function Xle(){if(W8)return GP;W8=1;var e=vN(),t=Ule(),n=Fle(),i=_1(),o=sy(),u=Yle(),l=Wle(),c=O8(),h=1,p=2,v=4,b=l(function(S,_){var x={};if(S==null)return x;var R=!1;_=e(_,function(T){return T=i(T,S),R||(R=T.length>1),T}),o(S,c(S),x),R&&(x=t(x,h|p|v,u));for(var O=_.length;O--;)n(x,_[O]);return x});return GP=b,GP}var Qle=Xle();const Kle=Pn(Qle);var WP,X8;function Zle(){if(X8)return WP;X8=1;var e=f8(),t=k8(),n=HN(),i=R1(),o=x1(),u=Io(),l=y1(),c=HC(),h=rl(),p=LM();function v(b,S,_){var x=u(b),R=x||l(b)||p(b);if(S=i(S,4),_==null){var O=b&&b.constructor;R?_=x?new O:[]:h(b)?_=c(O)?t(o(b)):{}:_={}}return(R?e:n)(b,function(T,M,P){return S(_,T,M,P)}),_}return WP=v,WP}var Jle=Zle();const ece=Pn(Jle);var A1={exports:{}},tce=A1.exports,Q8;function nce(){return Q8||(Q8=1,(function(e,t){(function(n,i){e.exports=i()})(tce,(function(){return function(n,i,o){i.prototype.isBetween=function(u,l,c,h){var p=o(u),v=o(l),b=(h=h||"()")[0]==="(",S=h[1]===")";return(b?this.isAfter(p,c):!this.isBefore(p,c))&&(S?this.isBefore(v,c):!this.isAfter(v,c))||(b?this.isBefore(p,c):!this.isAfter(p,c))&&(S?this.isAfter(v,c):!this.isBefore(v,c))}}}))})(A1)),A1.exports}var rce=nce();const K8=Pn(rce);var C1={exports:{}},ice=C1.exports,Z8;function ace(){return Z8||(Z8=1,(function(e,t){(function(n,i){e.exports=i()})(ice,(function(){return function(n,i){i.prototype.isSameOrAfter=function(o,u){return this.isSame(o,u)||this.isAfter(o,u)}}}))})(C1)),C1.exports}var oce=ace();const sce=Pn(oce);var D1={exports:{}},uce=D1.exports,J8;function lce(){return J8||(J8=1,(function(e,t){(function(n,i){e.exports=i()})(uce,(function(){return function(n,i){i.prototype.isSameOrBefore=function(o,u){return this.isSame(o,u)||this.isBefore(o,u)}}}))})(D1)),D1.exports}var cce=lce();const fce=Pn(cce);var M1={exports:{}},dce=M1.exports,e9;function hce(){return e9||(e9=1,(function(e,t){(function(n,i){e.exports=i()})(dce,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(i,o,u){var l=o.prototype,c=l.format;u.en.formats=n,l.format=function(h){h===void 0&&(h="YYYY-MM-DDTHH:mm:ssZ");var p=this.$locale().formats,v=(function(b,S){return b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(_,x,R){var O=R&&R.toUpperCase();return x||S[R]||n[R]||S[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,M,P){return M||P.slice(1)}))}))})(h,p===void 0?{}:p);return c.call(this,v)}}}))})(M1)),M1.exports}var pce=hce();const mce=Pn(pce);var N1={exports:{}},gce=N1.exports,t9;function vce(){return t9||(t9=1,(function(e,t){(function(n,i){e.exports=i()})(gce,(function(){return function(n,i,o){var u=function(l,c){if(!c||!c.length||c.length===1&&!c[0]||c.length===1&&Array.isArray(c[0])&&!c[0].length)return null;var h;c.length===1&&c[0].length>0&&(c=c[0]),h=(c=c.filter((function(v){return v})))[0];for(var p=1;p<c.length;p+=1)c[p].isValid()&&!c[p][l](h)||(h=c[p]);return h};o.max=function(){var l=[].slice.call(arguments,0);return u("isAfter",l)},o.min=function(){var l=[].slice.call(arguments,0);return u("isBefore",l)}}}))})(N1)),N1.exports}var yce=vce();const bce=Pn(yce);var P1={exports:{}},Sce=P1.exports,n9;function _ce(){return n9||(n9=1,(function(e,t){(function(n,i){e.exports=i()})(Sce,(function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(u,l,c){var h=l.prototype;c.utc=function(R){var O={date:R,utc:!0,args:arguments};return new l(O)},h.utc=function(R){var O=c(this.toDate(),{locale:this.$L,utc:!0});return R?O.add(this.utcOffset(),n):O},h.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var p=h.parse;h.parse=function(R){R.utc&&(this.$u=!0),this.$utils().u(R.$offset)||(this.$offset=R.$offset),p.call(this,R)};var v=h.init;h.init=function(){if(this.$u){var R=this.$d;this.$y=R.getUTCFullYear(),this.$M=R.getUTCMonth(),this.$D=R.getUTCDate(),this.$W=R.getUTCDay(),this.$H=R.getUTCHours(),this.$m=R.getUTCMinutes(),this.$s=R.getUTCSeconds(),this.$ms=R.getUTCMilliseconds()}else v.call(this)};var b=h.utcOffset;h.utcOffset=function(R,O){var T=this.$utils().u;if(T(R))return this.$u?0:T(this.$offset)?b.call(this):this.$offset;if(typeof R=="string"&&(R=(function(k){k===void 0&&(k="");var L=k.match(i);if(!L)return null;var z=(""+L[0]).match(o)||["-",0,0],U=z[0],G=60*+z[1]+ +z[2];return G===0?0:U==="+"?G:-G})(R),R===null))return this;var M=Math.abs(R)<=16?60*R:R;if(M===0)return this.utc(O);var P=this.clone();if(O)return P.$offset=M,P.$u=!1,P;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(P=this.local().add(M+C,n)).$offset=M,P.$x.$localOffset=C,P};var S=h.format;h.format=function(R){var O=R||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return S.call(this,O)},h.valueOf=function(){var R=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*R},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var _=h.toDate;h.toDate=function(R){return R==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():_.call(this)};var x=h.diff;h.diff=function(R,O,T){if(R&&this.$u===R.$u)return x.call(this,R,O,T);var M=this.local(),P=c(R).local();return x.call(M,P,O,T)}}}))})(P1)),P1.exports}var Ece=_ce();const r9=Pn(Ece);var k1={exports:{}},wce=k1.exports,i9;function Rce(){return i9||(i9=1,(function(e,t){(function(n,i){e.exports=i()})(wce,(function(){return function(n,i){i.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}))})(k1)),k1.exports}var Oce=Rce();const Tce=Pn(Oce);function hu(e){return e.children}var qa={PREVIOUS:"PREV",NEXT:"NEXT",TODAY:"TODAY",DATE:"DATE"},pa={MONTH:"month",WEEK:"week",WORK_WEEK:"work_week",DAY:"day",AGENDA:"agenda"},a9=Object.keys(pa).map(function(e){return pa[e]}),al=N.oneOfType([N.string,N.func]),pu=N.any,ly=N.func,xce=N.oneOfType([N.arrayOf(N.oneOf(a9)),N.objectOf(function(e,t){var n=a9.indexOf(t)!==-1&&typeof e[t]=="boolean";if(n)return null;for(var i=arguments.length,o=new Array(i>2?i-2:0),u=2;u<i;u++)o[u-2]=arguments[u];return N.elementType.apply(N,[e,t].concat(o))})]),cy=N.oneOfType([N.oneOf(["overlap","no-overlap"]),N.func]),o9={seconds:1e3,minutes:1e3*60,hours:1e3*60*60,day:1e3*60*60*24};function s9(e,t){var n=Di(e,"month");return Di(n,"week",t.startOfWeek())}function u9(e,t){var n=r1(e,"month");return r1(n,"week",t.startOfWeek())}function Ace(e,t){for(var n=s9(e,t),i=u9(e,t),o=[];lp(n,i,"day");)o.push(n),n=ks(n,1,"day");return o}function Cce(e,t){var n=Di(e,t);return Bv(n,e)?n:ks(n,1,t)}function Dce(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"day",i=e,o=[];lp(i,t,n);)o.push(i),i=ks(i,1,n);return o}function Mce(e,t){return t==null&&e==null?null:(t==null&&(t=new Date),e==null&&(e=new Date),e=Di(e,"day"),e=Yv(e,Yv(t)),e=cp(e,cp(t)),e=Vv(e,Vv(t)),Fv(e,Fv(t)))}function l9(e){return Yv(e)===0&&cp(e)===0&&Vv(e)===0&&Fv(e)===0}function Nce(e,t,n,i){return n==="day"&&(n="date"),Math.abs(d6[n](e,void 0,i)-d6[n](t,void 0,i))}function XP(e,t,n){return!n||n==="milliseconds"?Math.abs(+e-+t):Math.round(Math.abs(+Di(e,n)/o9[n]-+Di(t,n)/o9[n]))}function c9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function j1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?c9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var Pce=N.oneOfType([N.string,N.func]);function kce(e,t,n,i,o){var u=typeof i=="function"?i(n,o,e):t.call(e,n,i,o);return sp(u==null||typeof u=="string","`localizer format(..)` must return a string, null, or undefined"),u}function jce(e,t,n){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,t+n,0,0)}function QP(e,t){return e.getTimezoneOffset()-t.getTimezoneOffset()}function Lce(e,t){return XP(e,t,"minutes")+QP(e,t)}function Ice(e){var t=Di(e,"day");return XP(t,e,"minutes")+QP(t,e)}function $ce(e,t){return NC(e,t,"day")}function zce(e,t,n){var i=Bv(e,t,"minutes");return i?Hv(t,n,"minutes"):i1(t,n,"minutes")}function KP(e,t){return Nce(e,t,"day")}function qce(e){var t=e.evtA,n=t.start,i=t.end,o=t.allDay,u=e.evtB,l=u.start,c=u.end,h=u.allDay,p=+Di(n,"day")-+Di(l,"day"),v=KP(n,i),b=KP(l,c);return p||b-v||!!h-!!o||+n-+l||+i-+c}function Uce(e){var t=e.event,n=t.start,i=t.end,o=e.range,u=o.start,l=o.end,c=Di(n,"day"),h=lp(c,l,"day"),p=MC(c,i,"minutes"),v=p?i1(i,u,"minutes"):Hv(i,u,"minutes");return h&&v}function Bce(e,t){return Bv(e,t,"day")}function Hce(e,t){return l9(e)&&l9(t)}var Fce=jr(function e(t){var n=this;kr(this,e),sp(typeof t.format=="function","date localizer `format(..)` must be a function"),sp(typeof t.firstOfWeek=="function","date localizer `firstOfWeek(..)` must be a function"),this.propType=t.propType||Pce,this.formats=t.formats,this.format=function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return kce.apply(void 0,[n,t.format].concat(o))},this.startOfWeek=t.firstOfWeek,this.merge=t.merge||Mce,this.inRange=t.inRange||u6,this.lt=t.lt||NC,this.lte=t.lte||lp,this.gt=t.gt||i1,this.gte=t.gte||Hv,this.eq=t.eq||Bv,this.neq=t.neq||MC,this.startOf=t.startOf||Di,this.endOf=t.endOf||r1,this.add=t.add||ks,this.range=t.range||Dce,this.diff=t.diff||XP,this.ceil=t.ceil||Cce,this.min=t.min||o6,this.max=t.max||s6,this.minutes=t.minutes||cp,this.daySpan=t.daySpan||KP,this.firstVisibleDay=t.firstVisibleDay||s9,this.lastVisibleDay=t.lastVisibleDay||u9,this.visibleDays=t.visibleDays||Ace,this.getSlotDate=t.getSlotDate||jce,this.getTimezoneOffset=t.getTimezoneOffset||function(i){return i.getTimezoneOffset()},this.getDstOffset=t.getDstOffset||QP,this.getTotalMin=t.getTotalMin||Lce,this.getMinutesFromMidnight=t.getMinutesFromMidnight||Ice,this.continuesPrior=t.continuesPrior||$ce,this.continuesAfter=t.continuesAfter||zce,this.sortEvents=t.sortEvents||qce,this.inEventRange=t.inEventRange||Uce,this.isSameDate=t.isSameDate||Bce,this.startAndEndAreDateOnly=t.startAndEndAreDateOnly||Hce,this.segmentOffset=t.browserTZOffset?t.browserTZOffset():0});function Vce(e,t,n,i){var o=j1(j1({},e.formats),n);return j1(j1({},e),{},{messages:i,startOfWeek:function(){return e.startOfWeek(t)},format:function(l,c){return e.format(l,o[c]||c,t)}})}function Yce(e,t,n){return t=hn(t),Qi(e,f9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function f9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(f9=function(){return!!e})()}var d9=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=Yce(this,t,[].concat(o)),n.navigate=function(l){n.props.onNavigate(l)},n.view=function(l){n.props.onView(l)},n}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.localizer.messages,u=i.label;return se.createElement("div",{className:"rbc-toolbar"},se.createElement("span",{className:"rbc-btn-group"},se.createElement("button",{type:"button",onClick:this.navigate.bind(null,qa.TODAY)},o.today),se.createElement("button",{type:"button",onClick:this.navigate.bind(null,qa.PREVIOUS)},o.previous),se.createElement("button",{type:"button",onClick:this.navigate.bind(null,qa.NEXT)},o.next)),se.createElement("span",{className:"rbc-toolbar-label"},u),se.createElement("span",{className:"rbc-btn-group"},this.viewNamesGroup(o)))}},{key:"viewNamesGroup",value:function(i){var o=this,u=this.props.views,l=this.props.view;if(u.length>1)return u.map(function(c){return se.createElement("button",{type:"button",key:c,className:dn({"rbc-active":l===c}),onClick:o.view.bind(null,c)},i[c])})}}])})(se.Component);d9.propTypes={view:N.string.isRequired,views:N.arrayOf(N.string).isRequired,label:N.node.isRequired,localizer:N.object,onNavigate:N.func.isRequired,onView:N.func.isRequired};function Xn(e,t){e&&e.apply(null,[].concat(t))}function h9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function p9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?h9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var Gce={date:"Date",time:"Time",event:"Event",allDay:"All Day",week:"Week",work_week:"Work Week",day:"Day",month:"Month",previous:"Back",next:"Next",yesterday:"Yesterday",tomorrow:"Tomorrow",today:"Today",agenda:"Agenda",noEventsInRange:"There are no events in this range.",showMore:function(t){return"+".concat(t," more")}};function Wce(e){return p9(p9({},Gce),e)}function Xce(e){var t=e.ref,n=e.callback;F.useEffect(function(){var i=function(u){t.current&&!t.current.contains(u.target)&&n()};return document.addEventListener("mousedown",i),function(){document.removeEventListener("mousedown",i)}},[t,n])}var Qce=["style","className","event","selected","isAllDay","onSelect","onDoubleClick","onKeyPress","localizer","continuesPrior","continuesAfter","accessors","getters","children","components","slotStart","slotEnd"];function m9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function g9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Kce(e,t,n){return t=hn(t),Qi(e,v9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function v9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(v9=function(){return!!e})()}var ZP=(function(e){function t(){return kr(this,t),Kce(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.style,u=i.className,l=i.event,c=i.selected,h=i.isAllDay,p=i.onSelect,v=i.onDoubleClick,b=i.onKeyPress,S=i.localizer,_=i.continuesPrior,x=i.continuesAfter,R=i.accessors,O=i.getters,T=i.children,M=i.components,P=M.event,C=M.eventWrapper,k=i.slotStart,L=i.slotEnd,z=lu(i,Qce);delete z.resizable;var U=R.title(l),G=R.tooltip(l),B=R.end(l),Y=R.start(l),K=R.allDay(l),oe=h||K||S.diff(Y,S.ceil(B,"day"),"day")>1,le=O.eventProp(l,Y,B,c),fe=se.createElement("div",{className:"rbc-event-content",title:G||void 0},P?se.createElement(P,{event:l,continuesPrior:_,continuesAfter:x,title:U,isAllDay:K,localizer:S,slotStart:k,slotEnd:L}):U);return se.createElement(C,Ft({},this.props,{type:"date"}),se.createElement("div",Ft({},z,{style:g9(g9({},le.style),o),className:dn("rbc-event",u,le.className,{"rbc-selected":c,"rbc-event-allday":oe,"rbc-event-continues-prior":_,"rbc-event-continues-after":x}),onClick:function(ue){return p&&p(l,ue)},onDoubleClick:function(ue){return v&&v(l,ue)},onKeyDown:function(ue){return b&&b(l,ue)}}),typeof T=="function"?T(fe):fe))}}])})(se.Component);ZP.propTypes={event:N.object.isRequired,slotStart:N.instanceOf(Date),slotEnd:N.instanceOf(Date),resizable:N.bool,selected:N.bool,isAllDay:N.bool,continuesPrior:N.bool,continuesAfter:N.bool,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object,onSelect:N.func,onDoubleClick:N.func,onKeyPress:N.func};function L1(e,t){return!e||t==null?!1:gue(e,t)}function y9(e,t){var n=e.right-e.left,i=n/t;return i}function b9(e,t,n,i){var o=y9(e,i);return n?i-1-Math.floor((t-e.left)/o):Math.floor((t-e.left)/o)}function Zce(e,t){var n=t.x,i=t.y;return i>=e.top&&i<=e.bottom&&n>=e.left&&n<=e.right}function Jce(e,t,n,i,o){var u=-1,l=-1,c=i-1,h=y9(t,i),p=b9(t,n.x,o,i),v=t.top<n.y&&t.bottom>n.y,b=t.top<e.y&&t.bottom>e.y,S=e.y>t.bottom,_=t.top>e.y,x=n.top<t.top&&n.bottom>t.bottom;return x&&(u=0,l=c),v&&(_?(u=0,l=p):S&&(u=p,l=c)),b&&(u=l=o?c-Math.floor((e.x-t.left)/h):Math.floor((e.x-t.left)/h),v?p<u?u=p:l=p:e.y<n.y?l=c:u=0),{startIdx:u,endIdx:l}}function efe(e){var t=e.target,n=e.offset,i=e.container,o=e.box,u=Qf(t),l=u.top,c=u.left,h=u.width,p=u.height,v=Qf(i),b=v.top,S=v.left,_=v.width,x=v.height,R=Qf(o),O=R.width,T=R.height,M=b+x,P=S+_,C=l+T,k=c+O,L=n.x,z=n.y,U=C>M?l-T-z:l+z+p,G=k>P?c+L-O+h:c+L;return{topOffset:U,leftOffset:G}}function tfe(e){var t=e.containerRef,n=e.accessors,i=e.getters,o=e.selected,u=e.components,l=e.localizer,c=e.position,h=e.show,p=e.events,v=e.slotStart,b=e.slotEnd,S=e.onSelect,_=e.onDoubleClick,x=e.onKeyPress,R=e.handleDragStart,O=e.popperRef,T=e.target,M=e.offset;Xce({ref:O,callback:h}),F.useLayoutEffect(function(){var k=efe({target:T,offset:M,container:t.current,box:O.current}),L=k.topOffset,z=k.leftOffset;O.current.style.top="".concat(L,"px"),O.current.style.left="".concat(z,"px")},[M.x,M.y,T]);var P=c.width,C={minWidth:P+P/2};return se.createElement("div",{style:C,className:"rbc-overlay",ref:O},se.createElement("div",{className:"rbc-overlay-header"},l.format(v,"dayHeaderFormat")),p.map(function(k,L){return se.createElement(ZP,{key:L,type:"popup",localizer:l,event:k,getters:i,onSelect:S,accessors:n,components:u,onDoubleClick:_,onKeyPress:x,continuesPrior:l.lt(n.end(k),v,"day"),continuesAfter:l.gte(n.start(k),b,"day"),slotStart:v,slotEnd:b,selected:L1(k,o),draggable:!0,onDragStart:function(){return R(k)},onDragEnd:function(){return h()}})}))}var S9=se.forwardRef(function(e,t){return se.createElement(tfe,Ft({},e,{popperRef:t}))});S9.propTypes={accessors:N.object.isRequired,getters:N.object.isRequired,selected:N.object,components:N.object.isRequired,localizer:N.object.isRequired,position:N.object.isRequired,show:N.func.isRequired,events:N.array.isRequired,slotStart:N.instanceOf(Date).isRequired,slotEnd:N.instanceOf(Date),onSelect:N.func,onDoubleClick:N.func,onKeyPress:N.func,handleDragStart:N.func,style:N.object,offset:N.shape({x:N.number,y:N.number})};function nfe(e){var t=e.containerRef,n=e.popupOffset,i=n===void 0?5:n,o=e.overlay,u=e.accessors,l=e.localizer,c=e.components,h=e.getters,p=e.selected,v=e.handleSelectEvent,b=e.handleDoubleClickEvent,S=e.handleKeyPressEvent,_=e.handleDragStart,x=e.onHide,R=e.overlayDisplay,O=F.useRef(null);if(!o.position)return null;var T=i;isNaN(i)||(T={x:i,y:i});var M=o.position,P=o.events,C=o.date,k=o.end;return se.createElement(RD,{rootClose:!0,flip:!0,show:!0,placement:"bottom",onHide:x,target:o.target},function(L){var z=L.props;return se.createElement(S9,Ft({},z,{containerRef:t,ref:O,target:o.target,offset:T,accessors:u,getters:h,selected:p,components:c,localizer:l,position:M,show:R,events:P,slotStart:C,slotEnd:k,onSelect:v,onDoubleClick:b,onKeyPress:S,handleDragStart:_}))})}var JP=se.forwardRef(function(e,t){return se.createElement(nfe,Ft({},e,{containerRef:t}))});JP.propTypes={popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})]),overlay:N.shape({position:N.object,events:N.array,date:N.instanceOf(Date),end:N.instanceOf(Date)}),accessors:N.object.isRequired,localizer:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,selected:N.object,handleSelectEvent:N.func,handleDoubleClickEvent:N.func,handleKeyPressEvent:N.func,handleDragStart:N.func,onHide:N.func,overlayDisplay:N.func};function Ji(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document;return Eue(n,e,t,{passive:!1})}function rfe(e,t,n){return!e||u1(e,document.elementFromPoint(t,n))}function ife(e,t){var n=t.clientX,i=t.clientY,o=document.elementFromPoint(n,i);return XH(o,".rbc-event",e)}function afe(e,t){var n=t.clientX,i=t.clientY,o=document.elementFromPoint(n,i);return XH(o,".rbc-show-more",e)}function I1(e,t){return!!ife(e,t)}function ofe(e,t){return!!afe(e,t)}function fy(e){var t=e;return e.touches&&e.touches.length&&(t=e.touches[0]),{clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY}}var _9=5,sfe=250,E9=(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.global,o=i===void 0?!1:i,u=n.longPressThreshold,l=u===void 0?250:u,c=n.validContainers,h=c===void 0?[]:c;kr(this,e),this._initialEvent=null,this.selecting=!1,this.isDetached=!1,this.container=t,this.globalMouse=!t||o,this.longPressThreshold=l,this.validContainers=h,this._listeners=Object.create(null),this._handleInitialEvent=this._handleInitialEvent.bind(this),this._handleMoveEvent=this._handleMoveEvent.bind(this),this._handleTerminatingEvent=this._handleTerminatingEvent.bind(this),this._keyListener=this._keyListener.bind(this),this._dropFromOutsideListener=this._dropFromOutsideListener.bind(this),this._dragOverFromOutsideListener=this._dragOverFromOutsideListener.bind(this),this._removeTouchMoveWindowListener=Ji("touchmove",function(){},window),this._removeKeyDownListener=Ji("keydown",this._keyListener),this._removeKeyUpListener=Ji("keyup",this._keyListener),this._removeDropFromOutsideListener=Ji("drop",this._dropFromOutsideListener),this._removeDragOverFromOutsideListener=Ji("dragover",this._dragOverFromOutsideListener),this._addInitialEventListener()}return jr(e,[{key:"on",value:function(n,i){var o=this._listeners[n]||(this._listeners[n]=[]);return o.push(i),{remove:function(){var l=o.indexOf(i);l!==-1&&o.splice(l,1)}}}},{key:"emit",value:function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];var l,c=this._listeners[n]||[];return c.forEach(function(h){l===void 0&&(l=h.apply(void 0,o))}),l}},{key:"teardown",value:function(){this._initialEvent=null,this._initialEventData=null,this._selectRect=null,this.selecting=!1,this._lastClickData=null,this.isDetached=!0,this._listeners=Object.create(null),this._removeTouchMoveWindowListener&&this._removeTouchMoveWindowListener(),this._removeInitialEventListener&&this._removeInitialEventListener(),this._removeEndListener&&this._removeEndListener(),this._onEscListener&&this._onEscListener(),this._removeMoveListener&&this._removeMoveListener(),this._removeKeyUpListener&&this._removeKeyUpListener(),this._removeKeyDownListener&&this._removeKeyDownListener(),this._removeDropFromOutsideListener&&this._removeDropFromOutsideListener(),this._removeDragOverFromOutsideListener&&this._removeDragOverFromOutsideListener()}},{key:"isSelected",value:function(n){var i=this._selectRect;return!i||!this.selecting?!1:w9(i,ed(n))}},{key:"filter",value:function(n){var i=this._selectRect;return!i||!this.selecting?[]:n.filter(this.isSelected,this)}},{key:"_addLongPressListener",value:function(n,i){var o=this,u=null,l=null,c=null,h=function(S){u=setTimeout(function(){v(),n(S)},o.longPressThreshold),l=Ji("touchmove",function(){return v()}),c=Ji("touchend",function(){return v()})},p=Ji("touchstart",h),v=function(){u&&clearTimeout(u),l&&l(),c&&c(),u=null,l=null,c=null};return i&&h(i),function(){v(),p()}}},{key:"_addInitialEventListener",value:function(){var n=this,i=Ji("mousedown",function(u){n._removeInitialEventListener(),n._handleInitialEvent(u),n._removeInitialEventListener=Ji("mousedown",n._handleInitialEvent)}),o=Ji("touchstart",function(u){n._removeInitialEventListener(),n._removeInitialEventListener=n._addLongPressListener(n._handleInitialEvent,u)});this._removeInitialEventListener=function(){i(),o()}}},{key:"_dropFromOutsideListener",value:function(n){var i=fy(n),o=i.pageX,u=i.pageY,l=i.clientX,c=i.clientY;this.emit("dropFromOutside",{x:o,y:u,clientX:l,clientY:c}),n.preventDefault()}},{key:"_dragOverFromOutsideListener",value:function(n){var i=fy(n),o=i.pageX,u=i.pageY,l=i.clientX,c=i.clientY;this.emit("dragOverFromOutside",{x:o,y:u,clientX:l,clientY:c}),n.preventDefault()}},{key:"_handleInitialEvent",value:function(n){if(this._initialEvent=n,!this.isDetached){var i=fy(n),o=i.clientX,u=i.clientY,l=i.pageX,c=i.pageY,h=this.container(),p,v;if(!(n.which===3||n.button===2||!rfe(h,o,u))){if(!this.globalMouse&&h&&!u1(h,n.target)){var b=ufe(0),S=b.top,_=b.left,x=b.bottom,R=b.right;if(v=ed(h),p=w9({top:v.top-S,left:v.left-_,bottom:v.bottom+x,right:v.right+R},{top:c,left:l}),!p)return}var O=this.emit("beforeSelect",this._initialEventData={isTouch:/^touch/.test(n.type),x:l,y:c,clientX:o,clientY:u});if(O!==!1)switch(n.type){case"mousedown":this._removeEndListener=Ji("mouseup",this._handleTerminatingEvent),this._onEscListener=Ji("keydown",this._handleTerminatingEvent),this._removeMoveListener=Ji("mousemove",this._handleMoveEvent);break;case"touchstart":this._handleMoveEvent(n),this._removeEndListener=Ji("touchend",this._handleTerminatingEvent),this._removeMoveListener=Ji("touchmove",this._handleMoveEvent);break}}}}},{key:"_isWithinValidContainer",value:function(n){var i=n.target,o=this.validContainers;return!o||!o.length||!i?!0:o.some(function(u){return!!i.closest(u)})}},{key:"_handleTerminatingEvent",value:function(n){var i=this.selecting,o=this._selectRect;if(!i&&n.type.includes("key")&&(n=this._initialEvent),this.selecting=!1,this._removeEndListener&&this._removeEndListener(),this._removeMoveListener&&this._removeMoveListener(),this._selectRect=null,this._initialEvent=null,this._initialEventData=null,!!n){var u=!this.container||u1(this.container(),n.target),l=this._isWithinValidContainer(n);return n.key==="Escape"||!l?this.emit("reset"):!i&&u?this._handleClickEvent(n):i?this.emit("select",o):this.emit("reset")}}},{key:"_handleClickEvent",value:function(n){var i=fy(n),o=i.pageX,u=i.pageY,l=i.clientX,c=i.clientY,h=new Date().getTime();return this._lastClickData&&h-this._lastClickData.timestamp<sfe?(this._lastClickData=null,this.emit("doubleClick",{x:o,y:u,clientX:l,clientY:c})):(this._lastClickData={timestamp:h},this.emit("click",{x:o,y:u,clientX:l,clientY:c}))}},{key:"_handleMoveEvent",value:function(n){if(!(this._initialEventData===null||this.isDetached)){var i=this._initialEventData,o=i.x,u=i.y,l=fy(n),c=l.pageX,h=l.pageY,p=Math.abs(o-c),v=Math.abs(u-h),b=Math.min(c,o),S=Math.min(h,u),_=this.selecting,x=this.isClick(c,h);x&&!_&&!(p||v)||(!_&&!x&&this.emit("selectStart",this._initialEventData),x||(this.selecting=!0,this._selectRect={top:S,left:b,x:c,y:h,right:b+p,bottom:S+v},this.emit("selecting",this._selectRect)),n.preventDefault())}}},{key:"_keyListener",value:function(n){this.ctrl=n.metaKey||n.ctrlKey}},{key:"isClick",value:function(n,i){var o=this._initialEventData,u=o.x,l=o.y,c=o.isTouch;return!c&&Math.abs(n-u)<=_9&&Math.abs(i-l)<=_9}}])})();function ufe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Ms(e)!=="object"&&(e={top:e,left:e,right:e,bottom:e}),e}function w9(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=ed(e),o=i.top,u=i.left,l=i.right,c=l===void 0?u:l,h=i.bottom,p=h===void 0?o:h,v=ed(t),b=v.top,S=v.left,_=v.right,x=_===void 0?S:_,R=v.bottom,O=R===void 0?b:R;return!(p-n<b||o+n>O||c-n<S||u+n>x)}function ed(e){if(!e.getBoundingClientRect)return e;var t=e.getBoundingClientRect(),n=t.left+R9("left"),i=t.top+R9("top");return{top:i,left:n,right:(e.offsetWidth||0)+n,bottom:(e.offsetHeight||0)+i}}function R9(e){if(e==="left")return window.pageXOffset||document.body.scrollLeft||0;if(e==="top")return window.pageYOffset||document.body.scrollTop||0}function O9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function T9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function lfe(e,t,n){return t=hn(t),Qi(e,x9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function x9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x9=function(){return!!e})()}var A9=(function(e){function t(n,i){var o;return kr(this,t),o=lfe(this,t,[n,i]),o.state={selecting:!1},o.containerRef=F.createRef(),o}return Xi(t,e),jr(t,[{key:"componentDidMount",value:function(){this.props.selectable&&this._selectable()}},{key:"componentWillUnmount",value:function(){this._teardownSelectable()}},{key:"componentDidUpdate",value:function(i){!i.selectable&&this.props.selectable&&this._selectable(),i.selectable&&!this.props.selectable&&this._teardownSelectable()}},{key:"render",value:function(){var i=this.props,o=i.range,u=i.getNow,l=i.getters,c=i.date,h=i.components.dateCellWrapper,p=i.localizer,v=this.state,b=v.selecting,S=v.startIdx,_=v.endIdx,x=u();return se.createElement("div",{className:"rbc-row-bg",ref:this.containerRef},o.map(function(R,O){var T=b&&O>=S&&O<=_,M=l.dayProp(R),P=M.className,C=M.style;return se.createElement(h,{key:O,value:R,range:o},se.createElement("div",{style:C,className:dn("rbc-day-bg",P,T&&"rbc-selected-cell",p.isSameDate(R,x)&&"rbc-today",c&&p.neq(c,R,"month")&&"rbc-off-range-bg")}))}))}},{key:"_selectable",value:function(){var i=this,o=this.containerRef.current,u=this._selector=new E9(this.props.container,{longPressThreshold:this.props.longPressThreshold}),l=function(h,p){if(!I1(o,h)&&!ofe(o,h)){var v=ed(o),b=i.props,S=b.range,_=b.rtl;if(Zce(v,h)){var x=b9(v,h.x,_,S.length);i._selectSlot({startIdx:x,endIdx:x,action:p,box:h})}}i._initial={},i.setState({selecting:!1})};u.on("selecting",function(c){var h=i.props,p=h.range,v=h.rtl,b=-1,S=-1;if(i.state.selecting||(Xn(i.props.onSelectStart,[c]),i._initial={x:c.x,y:c.y}),u.isSelected(o)){var _=ed(o),x=Jce(i._initial,_,c,p.length,v);b=x.startIdx,S=x.endIdx}i.setState({selecting:!0,startIdx:b,endIdx:S})}),u.on("beforeSelect",function(c){if(i.props.selectable==="ignoreEvents")return!I1(i.containerRef.current,c)}),u.on("click",function(c){return l(c,"click")}),u.on("doubleClick",function(c){return l(c,"doubleClick")}),u.on("select",function(c){i._selectSlot(T9(T9({},i.state),{},{action:"select",bounds:c})),i._initial={},i.setState({selecting:!1}),Xn(i.props.onSelectEnd,[i.state])})}},{key:"_teardownSelectable",value:function(){this._selector&&(this._selector.teardown(),this._selector=null)}},{key:"_selectSlot",value:function(i){var o=i.endIdx,u=i.startIdx,l=i.action,c=i.bounds,h=i.box;o!==-1&&u!==-1&&this.props.onSelectSlot&&this.props.onSelectSlot({start:u,end:o,action:l,bounds:c,box:h,resourceId:this.props.resourceId})}}])})(se.Component);A9.propTypes={date:N.instanceOf(Date),getNow:N.func.isRequired,getters:N.object.isRequired,components:N.object.isRequired,container:N.func,dayPropGetter:N.func,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onSelectSlot:N.func.isRequired,onSelectEnd:N.func,onSelectStart:N.func,range:N.arrayOf(N.instanceOf(Date)),rtl:N.bool,type:N.string,resourceId:N.any,localizer:N.any};var Ua={propTypes:{slotMetrics:N.object.isRequired,selected:N.object,isAllDay:N.bool,accessors:N.object.isRequired,localizer:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,onSelect:N.func,onDoubleClick:N.func,onKeyPress:N.func},defaultProps:{segments:[],selected:{}},renderEvent:function(t,n){var i=t.selected;t.isAllDay;var o=t.accessors,u=t.getters,l=t.onSelect,c=t.onDoubleClick,h=t.onKeyPress,p=t.localizer,v=t.slotMetrics,b=t.components,S=t.resizable,_=v.continuesPrior(n),x=v.continuesAfter(n);return se.createElement(ZP,{event:n,getters:u,localizer:p,accessors:o,components:b,onSelect:l,onDoubleClick:c,onKeyPress:h,continuesPrior:_,continuesAfter:x,slotStart:v.first,slotEnd:v.last,selected:L1(n,i),resizable:S})},renderSpan:function(t,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",u=Math.abs(n)/t*100+"%";return se.createElement("div",{key:i,className:"rbc-row-segment",style:{WebkitFlexBasis:u,flexBasis:u,maxWidth:u}},o)}};function C9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function D9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function cfe(e,t,n){return t=hn(t),Qi(e,M9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function M9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M9=function(){return!!e})()}var ek=(function(e){function t(){return kr(this,t),cfe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this,o=this.props,u=o.segments,l=o.slotMetrics.slots,c=o.className,h=1;return se.createElement("div",{className:dn(c,"rbc-row")},u.reduce(function(p,v,b){var S=v.event,_=v.left,x=v.right,R=v.span,O="_lvl_"+b,T=_-h,M=Ua.renderEvent(i.props,S);return T&&p.push(Ua.renderSpan(l,T,"".concat(O,"_gap"))),p.push(Ua.renderSpan(l,R,O,M)),h=x+1,p},[]))}}])})(se.Component);ek.propTypes=D9({segments:N.array},Ua.propTypes),ek.defaultProps=D9({},Ua.defaultProps);function N9(e){var t=e.dateRange,n=e.unit,i=n===void 0?"day":n,o=e.localizer;return{first:t[0],last:o.add(t[t.length-1],1,i)}}function ffe(e,t,n,i){var o=N9({dateRange:t,localizer:i}),u=o.first,l=o.last,c=i.diff(u,l,"day"),h=i.max(i.startOf(n.start(e),"day"),u),p=i.min(i.ceil(n.end(e),"day"),l),v=Bue(t,function(S){return i.isSameDate(S,h)}),b=i.diff(h,p,"day");return b=Math.min(b,c),b=Math.max(b-i.segmentOffset,1),{event:e,span:b,left:v+1,right:Math.max(v+b,1)}}function tk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1/0,n,i,o,u=[],l=[];for(n=0;n<e.length;n++){for(o=e[n],i=0;i<u.length&&dfe(o,u[i]);i++);i>=t?l.push(o):(u[i]||(u[i]=[])).push(o)}for(n=0;n<u.length;n++)u[n].sort(function(c,h){return c.left-h.left});return{levels:u,extra:l}}function dy(e,t,n,i,o){var u={start:i.start(e),end:i.end(e)},l={start:t,end:n};return o.inEventRange({event:u,range:l})}function dfe(e,t){return t.some(function(n){return n.left<=e.right&&n.right>=e.left})}function hfe(e,t,n){var i=JS(e),o=[],u=[];i.forEach(function(h){var p=t.start(h),v=t.end(h);n.daySpan(p,v)>1?o.push(h):u.push(h)});var l=o.sort(function(h,p){return nk(h,p,t,n)}),c=u.sort(function(h,p){return nk(h,p,t,n)});return[].concat(JS(l),JS(c))}function nk(e,t,n,i){var o={start:n.start(e),end:n.end(e),allDay:n.allDay(e)},u={start:n.start(t),end:n.end(t),allDay:n.allDay(t)};return i.sortEvents({evtA:o,evtB:u})}function P9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function k9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?P9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function pfe(e,t,n){return t=hn(t),Qi(e,j9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function j9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j9=function(){return!!e})()}var rk=function(t,n){return t.left<=n&&t.right>=n},ik=function(t,n){return t.filter(function(i){return rk(i,n)}).map(function(i){return i.event})},ak=(function(e){function t(){return kr(this,t),pfe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){for(var i=this.props,o=i.segments,u=i.slotMetrics.slots,l=tk(o).levels[0],c=1,h=1,p=[];c<=u;){var v="_lvl_"+c,b=l.filter(function(C){return rk(C,c)})[0]||{},S=b.event,_=b.left,x=b.right,R=b.span;if(!S){var O=this.getHiddenEventsForSlot(o,c);if(O.length>0){var T=c-h;T&&p.push(Ua.renderSpan(u,T,v+"_gap")),p.push(Ua.renderSpan(u,1,v,this.renderShowMore(o,c))),h=c=c+1;continue}c++;continue}var M=Math.max(0,_-h);if(this.canRenderSlotEvent(_,R)){var P=Ua.renderEvent(this.props,S);M&&p.push(Ua.renderSpan(u,M,v+"_gap")),p.push(Ua.renderSpan(u,R,v,P)),h=c=x+1}else M&&p.push(Ua.renderSpan(u,M,v+"_gap")),p.push(Ua.renderSpan(u,1,v,this.renderShowMore(o,c))),h=c=c+1}return se.createElement("div",{className:"rbc-row"},p)}},{key:"getHiddenEventsForSlot",value:function(i,o){var u=ik(i,o),l=tk(i).levels[0],c=l.filter(function(h){return rk(h,o)}).map(function(h){return h.event});return u.filter(function(h){return!c.some(function(p){return p===h})})}},{key:"canRenderSlotEvent",value:function(i,o){var u=this.props.segments;return Gue(i,i+o).every(function(l){var c=ik(u,l).length;return c===1})}},{key:"renderShowMore",value:function(i,o){var u=this,l=this.props,c=l.localizer,h=l.slotMetrics,p=l.components,v=h.getEventsForSlot(o),b=ik(i,o),S=b.length;if(p!=null&&p.showMore){var _=p.showMore,x=h.getDateForSlot(o-1);return S?se.createElement(_,{localizer:c,slotDate:x,slot:o,count:S,events:v,remainingEvents:b}):!1}return S?se.createElement("button",{type:"button",key:"sm_"+o,className:dn("rbc-button-link","rbc-show-more"),onClick:function(O){return u.showMore(o,O)}},c.messages.showMore(S,b,v)):!1}},{key:"showMore",value:function(i,o){o.preventDefault(),o.stopPropagation(),this.props.onShowMore(i,o.target)}}])})(se.Component);ak.propTypes=k9({segments:N.array,slots:N.number,onShowMore:N.func},Ua.propTypes),ak.defaultProps=k9({},Ua.defaultProps);var mfe=function(t){var n=t.children;return se.createElement("div",{className:"rbc-row-content-scroll-container"},n)};function L9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function I9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?L9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var gfe=function(t,n){return t.left<=n&&t.right>=n},vfe=function(t,n){return t[0].range===n[0].range&&t[0].events===n[0].events};function $9(){return CF(function(e){for(var t=e.range,n=e.events,i=e.maxRows,o=e.minRows,u=e.accessors,l=e.localizer,c=N9({dateRange:t,localizer:l}),h=c.first,p=c.last,v=n.map(function(R){return ffe(R,t,u,l)}),b=tk(v,Math.max(i-1,1)),S=b.levels,_=b.extra,x=_.length>0?o-1:o;S.length<x;)S.push([]);return{first:h,last:p,levels:S,extra:_,range:t,slots:t.length,clone:function(O){var T=$9();return T(I9(I9({},e),O))},getDateForSlot:function(O){return t[O]},getSlotForDate:function(O){return t.find(function(T){return l.isSameDate(T,O)})},getEventsForSlot:function(O){return v.filter(function(T){return gfe(T,O)}).map(function(T){return T.event})},continuesPrior:function(O){return l.continuesPrior(u.start(O),h)},continuesAfter:function(O){var T=u.start(O),M=u.end(O);return l.continuesAfter(T,M,p)}}},vfe)}function yfe(e,t,n){return t=hn(t),Qi(e,z9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function z9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(z9=function(){return!!e})()}var bp=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=yfe(this,t,[].concat(o)),n.handleSelectSlot=function(l){var c=n.props,h=c.range,p=c.onSelectSlot;p(h.slice(l.start,l.end+1),l)},n.handleShowMore=function(l,c){var h=n.props,p=h.range,v=h.onShowMore,b=n.slotMetrics(n.props),S=yue(n.containerRef.current,".rbc-row-bg")[0],_;S&&(_=S.children[l-1]);var x=b.getEventsForSlot(l);v(x,p[l-1],_,l,c)},n.getContainer=function(){var l=n.props.container;return l?l():n.containerRef.current},n.renderHeadingCell=function(l,c){var h=n.props,p=h.renderHeader,v=h.getNow,b=h.localizer;return p({date:l,key:"header_".concat(c),className:dn("rbc-date-cell",b.isSameDate(l,v())&&"rbc-now")})},n.renderDummy=function(){var l=n.props,c=l.className,h=l.range,p=l.renderHeader,v=l.showAllEvents;return se.createElement("div",{className:c,ref:n.containerRef},se.createElement("div",{className:dn("rbc-row-content",v&&"rbc-row-content-scrollable")},p&&se.createElement("div",{className:"rbc-row",ref:n.headingRowRef},h.map(n.renderHeadingCell)),se.createElement("div",{className:"rbc-row",ref:n.eventRowRef},se.createElement("div",{className:"rbc-row-segment"},se.createElement("div",{className:"rbc-event"},se.createElement("div",{className:"rbc-event-content"}," "))))))},n.containerRef=F.createRef(),n.headingRowRef=F.createRef(),n.eventRowRef=F.createRef(),n.slotMetrics=$9(),n}return Xi(t,e),jr(t,[{key:"getRowLimit",value:function(){var i,o=tN(this.eventRowRef.current),u=(i=this.headingRowRef)!==null&&i!==void 0&&i.current?tN(this.headingRowRef.current):0,l=tN(this.containerRef.current)-u;return Math.max(Math.floor(l/o),1)}},{key:"render",value:function(){var i=this.props,o=i.date,u=i.rtl,l=i.range,c=i.className,h=i.selected,p=i.selectable,v=i.renderForMeasure,b=i.accessors,S=i.getters,_=i.components,x=i.getNow,R=i.renderHeader,O=i.onSelect,T=i.localizer,M=i.onSelectStart,P=i.onSelectEnd,C=i.onDoubleClick,k=i.onKeyPress,L=i.resourceId,z=i.longPressThreshold,U=i.isAllDay,G=i.resizable,B=i.showAllEvents;if(v)return this.renderDummy();var Y=this.slotMetrics(this.props),K=Y.levels,oe=Y.extra,le=B?mfe:hu,fe=_.weekWrapper,W={selected:h,accessors:b,getters:S,localizer:T,components:_,onSelect:O,onDoubleClick:C,onKeyPress:k,resourceId:L,slotMetrics:Y,resizable:G};return se.createElement("div",{className:c,role:"rowgroup",ref:this.containerRef},se.createElement(A9,{localizer:T,date:o,getNow:x,rtl:u,range:l,selectable:p,container:this.getContainer,getters:S,onSelectStart:M,onSelectEnd:P,onSelectSlot:this.handleSelectSlot,components:_,longPressThreshold:z,resourceId:L}),se.createElement("div",{className:dn("rbc-row-content",B&&"rbc-row-content-scrollable"),role:"row"},R&&se.createElement("div",{className:"rbc-row ",ref:this.headingRowRef},l.map(this.renderHeadingCell)),se.createElement(le,null,se.createElement(fe,Ft({isAllDay:U},W,{rtl:this.props.rtl}),K.map(function(ue,ie){return se.createElement(ek,Ft({key:ie,segments:ue},W))}),!!oe.length&&se.createElement(ak,Ft({segments:oe,onShowMore:this.handleShowMore},W))))))}}])})(se.Component);bp.propTypes={date:N.instanceOf(Date),events:N.array.isRequired,range:N.array.isRequired,rtl:N.bool,resizable:N.bool,resourceId:N.any,renderForMeasure:N.bool,renderHeader:N.func,container:N.func,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onShowMore:N.func,showAllEvents:N.bool,onSelectSlot:N.func,onSelect:N.func,onSelectEnd:N.func,onSelectStart:N.func,onDoubleClick:N.func,onKeyPress:N.func,dayPropGetter:N.func,getNow:N.func.isRequired,isAllDay:N.bool,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,minRows:N.number.isRequired,maxRows:N.number.isRequired},bp.defaultProps={minRows:0,maxRows:1/0};var $1=function(t){var n=t.label;return se.createElement("span",{role:"columnheader","aria-sort":"none"},n)};$1.propTypes={label:N.node};var q9=function(t){var n=t.label,i=t.drilldownView,o=t.onDrillDown;return i?se.createElement("button",{type:"button",className:"rbc-button-link",onClick:o},n):se.createElement("span",null,n)};q9.propTypes={label:N.node,date:N.instanceOf(Date),drilldownView:N.string,onDrillDown:N.func,isOffRange:N.bool};var bfe=["date","className"];function Sfe(e,t,n){return t=hn(t),Qi(e,U9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function U9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U9=function(){return!!e})()}var _fe=function(t,n,i,o,u){return t.filter(function(l){return dy(l,n,i,o,u)})},hy=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=Sfe(this,t,[].concat(o)),n.getContainer=function(){return n.containerRef.current},n.renderWeek=function(l,c){var h=n.props,p=h.events,v=h.components,b=h.selectable,S=h.getNow,_=h.selected,x=h.date,R=h.localizer,O=h.longPressThreshold,T=h.accessors,M=h.getters,P=h.showAllEvents,C=n.state,k=C.needLimitMeasure,L=C.rowLimit,z=_fe(JS(p),l[0],l[l.length-1],T,R),U=hfe(z,T,R);return se.createElement(bp,{key:c,ref:c===0?n.slotRowRef:void 0,container:n.getContainer,className:"rbc-month-row",getNow:S,date:x,range:l,events:U,maxRows:P?1/0:L,selected:_,selectable:b,components:v,accessors:T,getters:M,localizer:R,renderHeader:n.readerDateHeading,renderForMeasure:k,onShowMore:n.handleShowMore,onSelect:n.handleSelectEvent,onDoubleClick:n.handleDoubleClickEvent,onKeyPress:n.handleKeyPressEvent,onSelectSlot:n.handleSelectSlot,longPressThreshold:O,rtl:n.props.rtl,resizable:n.props.resizable,showAllEvents:P})},n.readerDateHeading=function(l){var c=l.date,h=l.className,p=lu(l,bfe),v=n.props,b=v.date,S=v.getDrilldownView,_=v.localizer,x=_.neq(b,c,"month"),R=_.isSameDate(c,b),O=S(c),T=_.format(c,"dateFormat"),M=n.props.components.dateHeader||q9;return se.createElement("div",Ft({},p,{className:dn(h,x&&"rbc-off-range",R&&"rbc-current"),role:"cell"}),se.createElement(M,{label:T,date:c,drilldownView:O,isOffRange:x,onDrillDown:function(C){return n.handleHeadingClick(c,O,C)}}))},n.handleSelectSlot=function(l,c){n._pendingSelection=n._pendingSelection.concat(l),clearTimeout(n._selectTimer),n._selectTimer=setTimeout(function(){return n.selectDates(c)})},n.handleHeadingClick=function(l,c,h){h.preventDefault(),n.clearSelection(),Xn(n.props.onDrillDown,[l,c])},n.handleSelectEvent=function(){n.clearSelection();for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onSelectEvent,c)},n.handleDoubleClickEvent=function(){n.clearSelection();for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onDoubleClickEvent,c)},n.handleKeyPressEvent=function(){n.clearSelection();for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onKeyPressEvent,c)},n.handleShowMore=function(l,c,h,p,v){var b=n.props,S=b.popup,_=b.onDrillDown,x=b.onShowMore,R=b.getDrilldownView,O=b.doShowMoreDrillDown;if(n.clearSelection(),S){var T=B6(h,n.containerRef.current);n.setState({overlay:{date:c,events:l,position:T,target:v}})}else O&&Xn(_,[c,R(c)||pa.DAY]);Xn(x,[l,c,p])},n.overlayDisplay=function(){n.setState({overlay:null})},n.state={rowLimit:5,needLimitMeasure:!0,date:null},n.containerRef=F.createRef(),n.slotRowRef=F.createRef(),n._bgRows=[],n._pendingSelection=[],n}return Xi(t,e),jr(t,[{key:"componentDidMount",value:function(){var i=this,o;this.state.needLimitMeasure&&this.measureRowLimit(this.props),window.addEventListener("resize",this._resizeListener=function(){o||Y6(function(){o=!1,i.setState({needLimitMeasure:!0})})},!1)}},{key:"componentDidUpdate",value:function(){this.state.needLimitMeasure&&this.measureRowLimit(this.props)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._resizeListener,!1)}},{key:"render",value:function(){var i=this.props,o=i.date,u=i.localizer,l=i.className,c=u.visibleDays(o,u),h=kae(c,7);return this._weekCount=h.length,se.createElement("div",{className:dn("rbc-month-view",l),role:"table","aria-label":"Month View",ref:this.containerRef},se.createElement("div",{className:"rbc-row rbc-month-header",role:"row"},this.renderHeaders(h[0])),h.map(this.renderWeek),this.props.popup&&this.renderOverlay())}},{key:"renderHeaders",value:function(i){var o=this.props,u=o.localizer,l=o.components,c=i[0],h=i[i.length-1],p=l.header||$1;return u.range(c,h,"day").map(function(v,b){return se.createElement("div",{key:"header_"+b,className:"rbc-header"},se.createElement(p,{date:v,localizer:u,label:u.format(v,"weekdayFormat")}))})}},{key:"renderOverlay",value:function(){var i,o,u=this,l=(i=(o=this.state)===null||o===void 0?void 0:o.overlay)!==null&&i!==void 0?i:{},c=this.props,h=c.accessors,p=c.localizer,v=c.components,b=c.getters,S=c.selected,_=c.popupOffset,x=c.handleDragStart,R=function(){return u.setState({overlay:null})};return se.createElement(JP,{overlay:l,accessors:h,localizer:p,components:v,getters:b,selected:S,popupOffset:_,ref:this.containerRef,handleKeyPressEvent:this.handleKeyPressEvent,handleSelectEvent:this.handleSelectEvent,handleDoubleClickEvent:this.handleDoubleClickEvent,handleDragStart:x,show:!!l.position,overlayDisplay:this.overlayDisplay,onHide:R})}},{key:"measureRowLimit",value:function(){this.setState({needLimitMeasure:!1,rowLimit:this.slotRowRef.current.getRowLimit()})}},{key:"selectDates",value:function(i){var o=this._pendingSelection.slice();this._pendingSelection=[],o.sort(function(c,h){return+c-+h});var u=new Date(o[0]),l=new Date(o[o.length-1]);l.setDate(o[o.length-1].getDate()+1),Xn(this.props.onSelectSlot,{slots:o,start:u,end:l,action:i.action,bounds:i.bounds,box:i.box})}},{key:"clearSelection",value:function(){clearTimeout(this._selectTimer),this._pendingSelection=[]}}],[{key:"getDerivedStateFromProps",value:function(i,o){var u=i.date,l=i.localizer;return{date:u,needLimitMeasure:o.needLimitMeasure||l.neq(u,o.date,"month")}}}])})(se.Component);hy.propTypes={events:N.array.isRequired,date:N.instanceOf(Date),min:N.instanceOf(Date),max:N.instanceOf(Date),step:N.number,getNow:N.func.isRequired,scrollToTime:N.instanceOf(Date),enableAutoScroll:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onNavigate:N.func,onSelectSlot:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onShowMore:N.func,showAllEvents:N.bool,doShowMoreDrillDown:N.bool,onDrillDown:N.func,getDrilldownView:N.func.isRequired,popup:N.bool,handleDragStart:N.func,popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})])},hy.range=function(e,t){var n=t.localizer,i=n.firstVisibleDay(e,n),o=n.lastVisibleDay(e,n);return{start:i,end:o}},hy.navigate=function(e,t,n){var i=n.localizer;switch(t){case qa.PREVIOUS:return i.add(e,-1,"month");case qa.NEXT:return i.add(e,1,"month");default:return e}},hy.title=function(e,t){var n=t.localizer;return n.format(e,"monthHeaderFormat")};var B9=function(t){var n=t.min,i=t.max,o=t.step,u=t.slots,l=t.localizer;return"".concat(+l.startOf(n,"minutes"))+"".concat(+l.startOf(i,"minutes"))+"".concat(o,"-").concat(u)};function ok(e){for(var t=e.min,n=e.max,i=e.step,o=e.timeslots,u=e.localizer,l=B9({step:i,localizer:u}),c=1+u.getTotalMin(t,n),h=u.getMinutesFromMidnight(t),p=Math.ceil((c-1)/(i*o)),v=p*o,b=new Array(p),S=new Array(v),_=0;_<p;_++){b[_]=new Array(o);for(var x=0;x<o;x++){var R=_*o+x,O=R*i;S[R]=b[_][x]=u.getSlotDate(t,h,O)}}var T=S.length*i;S.push(u.getSlotDate(t,h,T));function M(P){var C=u.diff(t,P,"minutes")+u.getDstOffset(t,P);return Math.min(C,c)}return{groups:b,update:function(C){return B9(C)!==l?ok(C):this},dateIsInGroup:function(C,k){var L=b[k+1];return u.inRange(C,b[k][0],L?L[0]:n,"minutes")},nextSlot:function(C){var k=S[Math.min(S.findIndex(function(L){return L===C||u.eq(L,C)})+1,S.length-1)];return u.eq(k,C)&&(k=u.add(C,i,"minutes")),k},closestSlotToPosition:function(C){var k=Math.min(S.length-1,Math.max(0,Math.floor(C*v)));return S[k]},closestSlotFromPoint:function(C,k){var L=Math.abs(k.top-k.bottom);return this.closestSlotToPosition((C.y-k.top)/L)},closestSlotFromDate:function(C){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(u.lt(C,t,"minutes"))return S[0];if(u.gt(C,n,"minutes"))return S[S.length-1];var L=u.diff(t,C,"minutes");return S[(L-L%i)/i+k]},startsBeforeDay:function(C){return u.lt(C,t,"day")},startsAfterDay:function(C){return u.gt(C,n,"day")},startsBefore:function(C){return u.lt(u.merge(t,C),t,"minutes")},startsAfter:function(C){return u.gt(u.merge(n,C),n,"minutes")},getRange:function(C,k,L,z){L||(C=u.min(n,u.max(t,C))),z||(k=u.min(n,u.max(t,k)));var U=M(C),G=M(k),B=G>i*v&&!u.eq(n,k)?(U-i)/(i*v)*100:U/(i*v)*100;return{top:B,height:G/(i*v)*100-B,start:M(C),startDate:C,end:M(k),endDate:k}},getCurrentTimePosition:function(C){var k=M(C),L=k/(i*v)*100;return L}}}var Efe=(function(){function e(t,n){var i=n.accessors,o=n.slotMetrics;kr(this,e);var u=o.getRange(i.start(t),i.end(t)),l=u.start,c=u.startDate,h=u.end,p=u.endDate,v=u.top,b=u.height;this.start=l,this.end=h,this.startMs=+c,this.endMs=+p,this.top=v,this.height=b,this.data=t}return jr(e,[{key:"_width",get:function(){if(this.rows){var n=this.rows.reduce(function(o,u){return Math.max(o,u.leaves.length+1)},0)+1;return 100/n}if(this.leaves){var i=100-this.container._width;return i/(this.leaves.length+1)}return this.row._width}},{key:"width",get:function(){var n=this._width,i=Math.min(100,this._width*1.7);if(this.rows)return i;if(this.leaves)return this.leaves.length>0?i:n;var o=this.row.leaves,u=o.indexOf(this);return u===o.length-1?n:i}},{key:"xOffset",get:function(){if(this.rows)return 0;if(this.leaves)return this.container._width;var n=this.row,i=n.leaves,o=n.xOffset,u=n._width,l=i.indexOf(this)+1;return o+l*u}}])})();function wfe(e,t,n){return Math.abs(t.start-e.start)<n||t.start>e.start&&t.start<e.end}function Rfe(e){for(var t=dle(e,["startMs",function(c){return-c.endMs}]),n=[];t.length>0;){var i=t.shift();n.push(i);for(var o=0;o<t.length;o++){var u=t[o];if(!(i.endMs>u.startMs)){if(o>0){var l=t.splice(o,1)[0];n.push(l)}break}}}return n}function H9(e){for(var t=e.events,n=e.minimumStartDifference,i=e.slotMetrics,o=e.accessors,u=t.map(function(v){return new Efe(v,{slotMetrics:i,accessors:o})}),l=Rfe(u),c=[],h=function(){var b=l[p],S=c.find(function(R){return R.end>b.start||Math.abs(b.start-R.start)<n});if(!S)return b.rows=[],c.push(b),1;b.container=S;for(var _=null,x=S.rows.length-1;!_&&x>=0;x--)wfe(S.rows[x],b,n)&&(_=S.rows[x]);_?(_.leaves.push(b),b.row=_):(b.leaves=[],S.rows.push(b))},p=0;p<l.length;p++)h();return l.map(function(v){return{event:v.data,style:{top:v.top,height:v.height,width:v.width,xOffset:Math.max(0,v.xOffset)}}})}function F9(e,t,n){for(var i=0;i<e.friends.length;++i)if(!(n.indexOf(e.friends[i])>-1)){t=t>e.friends[i].idx?t:e.friends[i].idx,n.push(e.friends[i]);var o=F9(e.friends[i],t,n);t=t>o?t:o}return t}function Ofe(e){var t=e.events,n=e.minimumStartDifference,i=e.slotMetrics,o=e.accessors,u=H9({events:t,minimumStartDifference:n,slotMetrics:i,accessors:o});u.sort(function(fe,W){return fe=fe.style,W=W.style,fe.top!==W.top?fe.top>W.top?1:-1:fe.height!==W.height?fe.top+fe.height<W.top+W.height?1:-1:0});for(var l=0;l<u.length;++l)u[l].friends=[],delete u[l].style.left,delete u[l].style.left,delete u[l].idx,delete u[l].size;for(var c=0;c<u.length-1;++c)for(var h=u[c],p=h.style.top,v=h.style.top+h.style.height,b=c+1;b<u.length;++b){var S=u[b],_=S.style.top,x=S.style.top+S.style.height;(_>=p&&x<=v||x>p&&x<=v||_>=p&&_<v)&&(h.friends.push(S),S.friends.push(h))}for(var R=0;R<u.length;++R){for(var O=u[R],T=[],M=0;M<100;++M)T.push(1);for(var P=0;P<O.friends.length;++P)O.friends[P].idx!==void 0&&(T[O.friends[P].idx]=0);O.idx=T.indexOf(1)}for(var C=0;C<u.length;++C){var k=0;if(!u[C].size){var L=[],z=F9(u[C],0,L);k=100/(z+1),u[C].size=k;for(var U=0;U<L.length;++U)L[U].size=k}}for(var G=0;G<u.length;++G){var B=u[G];B.style.left=B.idx*B.size;for(var Y=0,K=0;K<B.friends.length;++K){var oe=B.friends[K].idx;Y=Y>oe?Y:oe}Y<=B.idx&&(B.size=100-B.idx*B.size);var le=B.idx===0?0:3;B.style.width="calc(".concat(B.size,"% - ").concat(le,"px)"),B.style.height="calc(".concat(B.style.height,"% - 2px)"),B.style.xOffset="calc(".concat(B.style.left,"% + ").concat(le,"px)")}return u}var V9={overlap:H9,"no-overlap":Ofe};function Tfe(e){return!!(e&&e.constructor&&e.call&&e.apply)}function xfe(e){e.events,e.minimumStartDifference,e.slotMetrics,e.accessors;var t=e.dayLayoutAlgorithm,n=t;return t in V9&&(n=V9[t]),Tfe(n)?n.apply(this,arguments):[]}function Afe(e,t,n){return t=hn(t),Qi(e,Y9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function Y9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Y9=function(){return!!e})()}var sk=(function(e){function t(){return kr(this,t),Afe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.renderSlot,u=i.resource,l=i.group,c=i.getters,h=i.components,p=h===void 0?{}:h,v=p.timeSlotWrapper,b=v===void 0?hu:v,S=c?c.slotGroupProp(l):{};return se.createElement("div",Ft({className:"rbc-timeslot-group"},S),l.map(function(_,x){var R=c?c.slotProp(_,u):{};return se.createElement(b,{key:x,value:_,resource:u},se.createElement("div",Ft({},R,{className:dn("rbc-time-slot",R.className)}),o&&o(_,x)))}))}}])})(F.Component);sk.propTypes={renderSlot:N.func,group:N.array.isRequired,resource:N.any,components:N.object,getters:N.object};function G9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function W9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?G9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function z1(e){return typeof e=="string"?e:e+"%"}function Cfe(e){var t=e.style,n=e.className,i=e.event,o=e.accessors,u=e.rtl,l=e.selected,c=e.label,h=e.continuesPrior,p=e.continuesAfter,v=e.getters,b=e.onClick,S=e.onDoubleClick,_=e.isBackgroundEvent,x=e.onKeyPress,R=e.components,O=R.event,T=R.eventWrapper,M=o.title(i),P=o.tooltip(i),C=o.end(i),k=o.start(i),L=v.eventProp(i,k,C,l),z=[se.createElement("div",{key:"1",className:"rbc-event-label"},c),se.createElement("div",{key:"2",className:"rbc-event-content"},O?se.createElement(O,{event:i,title:M}):M)],U=t.height,G=t.top,B=t.width,Y=t.xOffset,K=W9(W9({},L.style),{},Er({top:z1(G),height:z1(U),width:z1(B)},u?"right":"left",z1(Y)));return se.createElement(T,Ft({type:"time"},e),se.createElement("div",{role:"button",tabIndex:0,onClick:b,onDoubleClick:S,style:K,onKeyDown:x,title:P?(typeof c=="string"?c+": ":"")+P:void 0,className:dn(_?"rbc-background-event":"rbc-event",n,L.className,{"rbc-selected":l,"rbc-event-continues-earlier":h,"rbc-event-continues-later":p})},z))}var Dfe=function(t){var n=t.children,i=t.className,o=t.style,u=t.innerRef;return se.createElement("div",{className:i,style:o,ref:u},n)},Mfe=se.forwardRef(function(e,t){return se.createElement(Dfe,Ft({},e,{innerRef:t}))}),Nfe=["dayProp"],Pfe=["eventContainerWrapper","timeIndicatorWrapper"];function X9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X9(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X9(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function kfe(e,t,n){return t=hn(t),Qi(e,Q9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function Q9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q9=function(){return!!e})()}var uk=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=kfe(this,t,[].concat(o)),n.state={selecting:!1,timeIndicatorPosition:null},n.intervalTriggered=!1,n.renderEvents=function(l){var c=l.events,h=l.isBackgroundEvent,p=n.props,v=p.rtl,b=p.selected,S=p.accessors,_=p.localizer,x=p.getters,R=p.components,O=p.step,T=p.timeslots,M=p.dayLayoutAlgorithm,P=p.resizable,C=n,k=C.slotMetrics,L=_.messages,z=xfe({events:c,accessors:S,slotMetrics:k,minimumStartDifference:Math.ceil(O*T/2),dayLayoutAlgorithm:M});return z.map(function(U,G){var B,Y=U.event,K=U.style,oe=S.end(Y),le=S.start(Y),fe=(B=S.eventId(Y))!==null&&B!==void 0?B:"evt_"+G,W="eventTimeRangeFormat",ue,ie=k.startsBeforeDay(le),_e=k.startsAfterDay(oe);ie?W="eventTimeRangeEndFormat":_e&&(W="eventTimeRangeStartFormat"),ie&&_e?ue=L.allDay:ue=_.format({start:le,end:oe},W);var ae=ie||k.startsBefore(le),X=_e||k.startsAfter(oe);return se.createElement(Cfe,{style:K,event:Y,label:ue,key:fe,getters:x,rtl:v,components:R,continuesPrior:ae,continuesAfter:X,accessors:S,resource:n.props.resource,selected:L1(Y,b),onClick:function(te){return n._select(td(td(td({},Y),n.props.resource&&{sourceResource:n.props.resource}),h&&{isBackgroundEvent:!0}),te)},onDoubleClick:function(te){return n._doubleClick(Y,te)},isBackgroundEvent:h,onKeyPress:function(te){return n._keyPress(Y,te)},resizable:P})})},n._selectable=function(){var l=n.containerRef.current,c=n.props,h=c.longPressThreshold,p=c.localizer,v=n._selector=new E9(function(){return l},{longPressThreshold:h}),b=function(R){var O=n.props.onSelecting,T=n.state||{},M=S(R),P=M.startDate,C=M.endDate;O&&(p.eq(T.startDate,P,"minutes")&&p.eq(T.endDate,C,"minutes")||O({start:P,end:C,resourceId:n.props.resource})===!1)||(n.state.start!==M.start||n.state.end!==M.end||n.state.selecting!==M.selecting)&&n.setState(M)},S=function(R){var O=n.slotMetrics.closestSlotFromPoint(R,ed(l));n.state.selecting||(n._initialSlot=O);var T=n._initialSlot;p.lte(T,O)?O=n.slotMetrics.nextSlot(O):p.gt(T,O)&&(T=n.slotMetrics.nextSlot(T));var M=n.slotMetrics.getRange(p.min(T,O),p.max(T,O));return td(td({},M),{},{selecting:!0,top:"".concat(M.top,"%"),height:"".concat(M.height,"%")})},_=function(R,O){if(!I1(n.containerRef.current,R)){var T=S(R),M=T.startDate,P=T.endDate;n._selectSlot({startDate:M,endDate:P,action:O,box:R})}n.setState({selecting:!1})};v.on("selecting",b),v.on("selectStart",b),v.on("beforeSelect",function(x){if(n.props.selectable==="ignoreEvents")return!I1(n.containerRef.current,x)}),v.on("click",function(x){return _(x,"click")}),v.on("doubleClick",function(x){return _(x,"doubleClick")}),v.on("select",function(x){n.state.selecting&&(n._selectSlot(td(td({},n.state),{},{action:"select",bounds:x})),n.setState({selecting:!1}))}),v.on("reset",function(){n.state.selecting&&n.setState({selecting:!1})})},n._teardownSelectable=function(){n._selector&&(n._selector.teardown(),n._selector=null)},n._selectSlot=function(l){for(var c=l.startDate,h=l.endDate,p=l.action,v=l.bounds,b=l.box,S=c,_=[];n.props.localizer.lte(S,h);)_.push(S),S=new Date(+S+n.props.step*60*1e3);Xn(n.props.onSelectSlot,{slots:_,start:c,end:h,resourceId:n.props.resource,action:p,bounds:v,box:b})},n._select=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onSelectEvent,c)},n._doubleClick=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onDoubleClickEvent,c)},n._keyPress=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onKeyPressEvent,c)},n.slotMetrics=ok(n.props),n.containerRef=F.createRef(),n}return Xi(t,e),jr(t,[{key:"componentDidMount",value:function(){this.props.selectable&&this._selectable(),this.props.isNow&&this.setTimeIndicatorPositionUpdateInterval()}},{key:"componentWillUnmount",value:function(){this._teardownSelectable(),this.clearTimeIndicatorInterval()}},{key:"componentDidUpdate",value:function(i,o){this.props.selectable&&!i.selectable&&this._selectable(),!this.props.selectable&&i.selectable&&this._teardownSelectable();var u=this.props,l=u.getNow,c=u.isNow,h=u.localizer,p=u.date,v=u.min,b=u.max,S=h.neq(i.getNow(),l(),"minutes");if(i.isNow!==c||S){if(this.clearTimeIndicatorInterval(),c){var _=!S&&h.eq(i.date,p,"minutes")&&o.timeIndicatorPosition===this.state.timeIndicatorPosition;this.setTimeIndicatorPositionUpdateInterval(_)}}else c&&(h.neq(i.min,v,"minutes")||h.neq(i.max,b,"minutes"))&&this.positionTimeIndicator()}},{key:"setTimeIndicatorPositionUpdateInterval",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;!this.intervalTriggered&&!o&&this.positionTimeIndicator(),this._timeIndicatorTimeout=window.setTimeout(function(){i.intervalTriggered=!0,i.positionTimeIndicator(),i.setTimeIndicatorPositionUpdateInterval()},6e4)}},{key:"clearTimeIndicatorInterval",value:function(){this.intervalTriggered=!1,window.clearTimeout(this._timeIndicatorTimeout)}},{key:"positionTimeIndicator",value:function(){var i=this.props,o=i.min,u=i.max,l=i.getNow,c=l();if(c>=o&&c<=u){var h=this.slotMetrics.getCurrentTimePosition(c);this.intervalTriggered=!0,this.setState({timeIndicatorPosition:h})}else this.clearTimeIndicatorInterval()}},{key:"render",value:function(){var i=this.props,o=i.date,u=i.max,l=i.rtl,c=i.isNow,h=i.resource,p=i.accessors,v=i.localizer,b=i.getters,S=b.dayProp,_=lu(b,Nfe),x=i.components,R=x.eventContainerWrapper,O=x.timeIndicatorWrapper,T=lu(x,Pfe);this.slotMetrics=this.slotMetrics.update(this.props);var M=this.slotMetrics,P=this.state,C=P.selecting,k=P.top,L=P.height,z=P.startDate,U=P.endDate,G={start:z,end:U},B=S(u,h),Y=B.className,K=B.style,oe={className:"rbc-current-time-indicator",style:{top:"".concat(this.state.timeIndicatorPosition,"%")}},le=T.dayColumnWrapper||Mfe;return se.createElement(le,{ref:this.containerRef,date:o,style:K,className:dn(Y,"rbc-day-slot","rbc-time-column",c&&"rbc-now",c&&"rbc-today",C&&"rbc-slot-selecting"),slotMetrics:M,resource:h},M.groups.map(function(fe,W){return se.createElement(sk,{key:W,group:fe,resource:h,getters:_,components:T})}),se.createElement(R,{localizer:v,resource:h,accessors:p,getters:_,components:T,slotMetrics:M},se.createElement("div",{className:dn("rbc-events-container",l&&"rtl")},this.renderEvents({events:this.props.backgroundEvents,isBackgroundEvent:!0}),this.renderEvents({events:this.props.events}))),C&&se.createElement("div",{className:"rbc-slot-selection",style:{top:k,height:L}},se.createElement("span",null,v.format(G,"selectRangeFormat"))),c&&this.intervalTriggered&&se.createElement(O,oe,se.createElement("div",oe)))}}])})(se.Component);uk.propTypes={events:N.array.isRequired,backgroundEvents:N.array.isRequired,step:N.number.isRequired,date:N.instanceOf(Date).isRequired,min:N.instanceOf(Date).isRequired,max:N.instanceOf(Date).isRequired,getNow:N.func.isRequired,isNow:N.bool,rtl:N.bool,resizable:N.bool,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,showMultiDayTimes:N.bool,culture:N.string,timeslots:N.number,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),eventOffset:N.number,longPressThreshold:N.number,onSelecting:N.func,onSelectSlot:N.func.isRequired,onSelectEvent:N.func.isRequired,onDoubleClickEvent:N.func.isRequired,onKeyPressEvent:N.func,className:N.string,dragThroughEvents:N.bool,resource:N.any,dayLayoutAlgorithm:cy},uk.defaultProps={dragThroughEvents:!0,timeslots:2};var lk=function(t){var n=t.label;return se.createElement(se.Fragment,null,n)};lk.propTypes={label:N.node,index:N.number,resource:N.object};function jfe(e,t,n){return t=hn(t),Qi(e,K9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function K9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K9=function(){return!!e})()}var Z9=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=jfe(this,t,[].concat(o)),n.handleHeaderClick=function(l,c,h){h.preventDefault(),Xn(n.props.onDrillDown,[l,c])},n.renderRow=function(l){var c=n.props,h=c.events,p=c.rtl,v=c.selectable,b=c.getNow,S=c.range,_=c.getters,x=c.localizer,R=c.accessors,O=c.components,T=c.resizable,M=R.resourceId(l),P=l?h.filter(function(C){return R.resource(C)===M}):h;return se.createElement(bp,{isAllDay:!0,rtl:p,getNow:b,minRows:2,maxRows:n.props.allDayMaxRows+1,range:S,events:P,resourceId:M,className:"rbc-allday-cell",selectable:v,selected:n.props.selected,components:O,accessors:R,getters:_,localizer:x,onSelect:n.props.onSelectEvent,onShowMore:n.props.onShowMore,onDoubleClick:n.props.onDoubleClickEvent,onKeyPress:n.props.onKeyPressEvent,onSelectSlot:n.props.onSelectSlot,longPressThreshold:n.props.longPressThreshold,resizable:T})},n}return Xi(t,e),jr(t,[{key:"renderHeaderCells",value:function(i){var o=this,u=this.props,l=u.localizer,c=u.getDrilldownView,h=u.getNow,p=u.getters.dayProp,v=u.components.header,b=v===void 0?$1:v,S=h();return i.map(function(_,x){var R=c(_),O=l.format(_,"dayFormat"),T=p(_),M=T.className,P=T.style,C=se.createElement(b,{date:_,label:O,localizer:l});return se.createElement("div",{key:x,style:P,className:dn("rbc-header",M,l.isSameDate(_,S)&&"rbc-today")},R?se.createElement("button",{type:"button",className:"rbc-button-link",onClick:function(L){return o.handleHeaderClick(_,R,L)}},C):se.createElement("span",null,C))})}},{key:"render",value:function(){var i=this,o=this.props,u=o.width,l=o.rtl,c=o.resources,h=o.range,p=o.events,v=o.getNow,b=o.accessors,S=o.selectable,_=o.components,x=o.getters,R=o.scrollRef,O=o.localizer,T=o.isOverflowing,M=o.components,P=M.timeGutterHeader,C=M.resourceHeader,k=C===void 0?lk:C,L=o.resizable,z={};T&&(z[l?"marginLeft":"marginRight"]="".concat(oP()-1,"px"));var U=c.groupEvents(p);return se.createElement("div",{style:z,ref:R,className:dn("rbc-time-header",T&&"rbc-overflowing")},se.createElement("div",{className:"rbc-label rbc-time-header-gutter",style:{width:u,minWidth:u,maxWidth:u}},P&&se.createElement(P,null)),c.map(function(G,B){var Y=Po(G,2),K=Y[0],oe=Y[1];return se.createElement("div",{className:"rbc-time-header-content",key:K||B},oe&&se.createElement("div",{className:"rbc-row rbc-row-resource",key:"resource_".concat(B)},se.createElement("div",{className:"rbc-header"},se.createElement(k,{index:B,label:b.resourceTitle(oe),resource:oe}))),se.createElement("div",{className:"rbc-row rbc-time-header-cell".concat(h.length<=1?" rbc-time-header-cell-single-day":"")},i.renderHeaderCells(h)),se.createElement(bp,{isAllDay:!0,rtl:l,getNow:v,minRows:2,maxRows:i.props.allDayMaxRows+1,range:h,events:U.get(K)||[],resourceId:oe&&K,className:"rbc-allday-cell",selectable:S,selected:i.props.selected,components:_,accessors:b,getters:x,localizer:O,onSelect:i.props.onSelectEvent,onShowMore:i.props.onShowMore,onDoubleClick:i.props.onDoubleClickEvent,onKeyDown:i.props.onKeyPressEvent,onSelectSlot:i.props.onSelectSlot,longPressThreshold:i.props.longPressThreshold,resizable:L}))}))}}])})(se.Component);Z9.propTypes={range:N.array.isRequired,events:N.array.isRequired,resources:N.object,getNow:N.func.isRequired,isOverflowing:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,localizer:N.object.isRequired,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,allDayMaxRows:N.number,onSelectSlot:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onDrillDown:N.func,onShowMore:N.func,getDrilldownView:N.func.isRequired,scrollRef:N.any};function Lfe(e,t,n){return t=hn(t),Qi(e,J9()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function J9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J9=function(){return!!e})()}var e7=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=Lfe(this,t,[].concat(o)),n.handleHeaderClick=function(l,c,h){h.preventDefault(),Xn(n.props.onDrillDown,[l,c])},n}return Xi(t,e),jr(t,[{key:"renderHeaderCells",value:function(i){var o=this,u=this.props,l=u.localizer,c=u.getDrilldownView,h=u.getNow,p=u.getters.dayProp,v=u.components,b=v.header,S=b===void 0?$1:b,_=v.resourceHeader,x=_===void 0?lk:_,R=u.resources,O=u.accessors,T=u.events,M=u.rtl,P=u.selectable,C=u.components,k=u.getters,L=u.resizable,z=h(),U=R.groupEvents(T);return i.map(function(G,B){var Y=c(G),K=l.format(G,"dayFormat"),oe=p(G),le=oe.className,fe=oe.style,W=se.createElement(S,{date:G,label:K,localizer:l});return se.createElement("div",{key:B,className:"rbc-time-header-content rbc-resource-grouping"},se.createElement("div",{className:"rbc-row rbc-time-header-cell".concat(i.length<=1?" rbc-time-header-cell-single-day":"")},se.createElement("div",{style:fe,className:dn("rbc-header",le,l.isSameDate(G,z)&&"rbc-today")},Y?se.createElement("button",{type:"button",className:"rbc-button-link",onClick:function(ie){return o.handleHeaderClick(G,Y,ie)}},W):se.createElement("span",null,W))),se.createElement("div",{className:"rbc-row"},R.map(function(ue,ie){var _e=Po(ue,2),ae=_e[0],X=_e[1];return se.createElement("div",{key:"resource_".concat(ae,"_").concat(ie),className:dn("rbc-header",le,l.isSameDate(G,z)&&"rbc-today")},se.createElement(x,{index:ie,label:O.resourceTitle(X),resource:X}))})),se.createElement("div",{className:"rbc-row rbc-m-b-negative-3 rbc-h-full"},R.map(function(ue,ie){var _e=Po(ue,2),ae=_e[0],X=_e[1],Q=(U.get(ae)||[]).filter(function(te){return l.isSameDate(te.start,G)||l.isSameDate(te.end,G)});return se.createElement(bp,{key:"resource_".concat(ae,"_").concat(ie),isAllDay:!0,rtl:M,getNow:h,minRows:2,maxRows:o.props.allDayMaxRows+1,range:[G],events:Q,resourceId:X&&ae,className:"rbc-allday-cell",selectable:P,selected:o.props.selected,components:C,accessors:O,getters:k,localizer:l,onSelect:o.props.onSelectEvent,onShowMore:o.props.onShowMore,onDoubleClick:o.props.onDoubleClickEvent,onKeyDown:o.props.onKeyPressEvent,onSelectSlot:o.props.onSelectSlot,longPressThreshold:o.props.longPressThreshold,resizable:L})})))})}},{key:"render",value:function(){var i=this.props,o=i.width,u=i.rtl,l=i.range,c=i.scrollRef,h=i.isOverflowing,p=i.components.timeGutterHeader,v={};return h&&(v[u?"marginLeft":"marginRight"]="".concat(oP()-1,"px")),se.createElement("div",{style:v,ref:c,className:dn("rbc-time-header",h&&"rbc-overflowing")},se.createElement("div",{className:"rbc-label rbc-time-header-gutter",style:{width:o,minWidth:o,maxWidth:o}},p&&se.createElement(p,null)),this.renderHeaderCells(l))}}])})(se.Component);e7.propTypes={range:N.array.isRequired,events:N.array.isRequired,resources:N.object,getNow:N.func.isRequired,isOverflowing:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,localizer:N.object.isRequired,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,allDayMaxRows:N.number,onSelectSlot:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onDrillDown:N.func,onShowMore:N.func,getDrilldownView:N.func.isRequired,scrollRef:N.any};function Ife(e){var t=e.min,n=e.max,i=e.localizer;return i.getTimezoneOffset(t)!==i.getTimezoneOffset(n)?{start:i.add(t,-1,"day"),end:i.add(n,-1,"day")}:{start:t,end:n}}var t7=function(t){var n=t.min,i=t.max,o=t.timeslots,u=t.step,l=t.localizer,c=t.getNow,h=t.resource,p=t.components,v=t.getters,b=t.gutterRef,S=p.timeGutterWrapper,_=F.useMemo(function(){return Ife({min:n,max:i,localizer:l})},[n==null?void 0:n.toISOString(),i==null?void 0:i.toISOString(),l]),x=_.start,R=_.end,O=F.useState(ok({min:x,max:R,timeslots:o,step:u,localizer:l})),T=Po(O,2),M=T[0],P=T[1];F.useEffect(function(){M&&P(M.update({min:x,max:R,timeslots:o,step:u,localizer:l}))},[x==null?void 0:x.toISOString(),R==null?void 0:R.toISOString(),o,u]);var C=F.useCallback(function(k,L){if(L)return null;var z=M.dateIsInGroup(c(),L);return se.createElement("span",{className:dn("rbc-label",z&&"rbc-now")},l.format(k,"timeGutterFormat"))},[M,l,c]);return se.createElement(S,{slotMetrics:M},se.createElement("div",{className:"rbc-time-gutter rbc-time-column",ref:b},M.groups.map(function(k,L){return se.createElement(sk,{key:L,group:k,resource:h,components:p,renderSlot:C,getters:v})})))};t7.propTypes={min:N.instanceOf(Date).isRequired,max:N.instanceOf(Date).isRequired,timeslots:N.number.isRequired,step:N.number.isRequired,getNow:N.func.isRequired,components:N.object.isRequired,getters:N.object,localizer:N.object.isRequired,resource:N.string,gutterRef:N.any};var $fe=se.forwardRef(function(e,t){return se.createElement(t7,Ft({gutterRef:t},e))}),ck={};function zfe(e,t){return{map:function(i){return e?e.map(function(o,u){return i([t.resourceId(o),o],u)}):[i([ck,null],0)]},groupEvents:function(i){var o=new Map;return e?(i.forEach(function(u){var l=t.resource(u)||ck;if(Array.isArray(l))l.forEach(function(h){var p=o.get(h)||[];p.push(u),o.set(h,p)});else{var c=o.get(l)||[];c.push(u),o.set(l,c)}}),o):(o.set(ck,i),o)}}}function n7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function r7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n7(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n7(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function qfe(e,t,n){return t=hn(t),Qi(e,i7()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function i7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(i7=function(){return!!e})()}var nd=(function(e){function t(n){var i;return kr(this,t),i=qfe(this,t,[n]),i.handleScroll=function(o){i.scrollRef.current&&(i.scrollRef.current.scrollLeft=o.target.scrollLeft)},i.handleResize=function(){V6(i.rafHandle),i.rafHandle=Y6(i.checkOverflow)},i.handleKeyPressEvent=function(){i.clearSelection();for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];Xn(i.props.onKeyPressEvent,u)},i.handleSelectEvent=function(){i.clearSelection();for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];Xn(i.props.onSelectEvent,u)},i.handleDoubleClickEvent=function(){i.clearSelection();for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];Xn(i.props.onDoubleClickEvent,u)},i.handleShowMore=function(o,u,l,c,h){var p=i.props,v=p.popup,b=p.onDrillDown,S=p.onShowMore,_=p.getDrilldownView,x=p.doShowMoreDrillDown;if(i.clearSelection(),v){var R=B6(l,i.containerRef.current);i.setState({overlay:{date:u,events:o,position:r7(r7({},R),{},{width:"200px"}),target:h}})}else x&&Xn(b,[u,_(u)||pa.DAY]);Xn(S,[o,u,c])},i.handleSelectAllDaySlot=function(o,u){var l=i.props.onSelectSlot,c=new Date(o[0]),h=new Date(o[o.length-1]);h.setDate(o[o.length-1].getDate()+1),Xn(l,{slots:o,start:c,end:h,action:u.action,resourceId:u.resourceId})},i.overlayDisplay=function(){i.setState({overlay:null})},i.checkOverflow=function(){if(!i._updatingOverflow){var o=i.contentRef.current;if(o!=null&&o.scrollHeight){var u=o.scrollHeight>o.clientHeight;i.state.isOverflowing!==u&&(i._updatingOverflow=!0,i.setState({isOverflowing:u},function(){i._updatingOverflow=!1}))}}},i.memoizedResources=CF(function(o,u){return zfe(o,u)}),i.state={gutterWidth:void 0,isOverflowing:null},i.scrollRef=se.createRef(),i.contentRef=se.createRef(),i.containerRef=se.createRef(),i._scrollRatio=null,i.gutterRef=F.createRef(),i}return Xi(t,e),jr(t,[{key:"getSnapshotBeforeUpdate",value:function(){return this.checkOverflow(),null}},{key:"componentDidMount",value:function(){this.props.width==null&&this.measureGutter(),this.calculateScroll(),this.applyScroll(),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),V6(this.rafHandle),this.measureGutterAnimationFrameRequest&&window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest)}},{key:"componentDidUpdate",value:function(){this.applyScroll()}},{key:"renderDayColumn",value:function(i,o,u,l,c,h,p,v,b,S){var _=this.props,x=_.min,R=_.max,O=(l.get(o)||[]).filter(function(M){return h.inRange(i,p.start(M),p.end(M),"day")}),T=(c.get(o)||[]).filter(function(M){return h.inRange(i,p.start(M),p.end(M),"day")});return se.createElement(uk,Ft({},this.props,{localizer:h,min:h.merge(i,x),max:h.merge(i,R),resource:u&&o,components:v,isNow:h.isSameDate(i,S),key:"".concat(o,"-").concat(i),date:i,events:O,backgroundEvents:T,dayLayoutAlgorithm:b}))}},{key:"renderResourcesFirst",value:function(i,o,u,l,c,h,p,v,b){var S=this;return o.map(function(_){var x=Po(_,2),R=x[0],O=x[1];return i.map(function(T){return S.renderDayColumn(T,R,O,u,l,c,h,v,b,p)})})}},{key:"renderRangeFirst",value:function(i,o,u,l,c,h,p,v,b){var S=this;return i.map(function(_){return se.createElement("div",{style:{display:"flex",minHeight:"100%",flex:1},key:_},o.map(function(x){var R=Po(x,2),O=R[0],T=R[1];return se.createElement("div",{style:{flex:1},key:h.resourceId(T)},S.renderDayColumn(_,O,T,u,l,c,h,v,b,p))}))})}},{key:"renderEvents",value:function(i,o,u,l){var c=this.props,h=c.accessors,p=c.localizer,v=c.resourceGroupingLayout,b=c.components,S=c.dayLayoutAlgorithm,_=this.memoizedResources(this.props.resources,h),x=_.groupEvents(o),R=_.groupEvents(u);return v?this.renderRangeFirst(i,_,x,R,p,h,l,b,S):this.renderResourcesFirst(i,_,x,R,p,h,l,b,S)}},{key:"render",value:function(){var i,o=this.props,u=o.events,l=o.backgroundEvents,c=o.range,h=o.width,p=o.rtl,v=o.selected,b=o.getNow,S=o.resources,_=o.components,x=o.accessors,R=o.getters,O=o.localizer,T=o.min,M=o.max,P=o.showMultiDayTimes,C=o.longPressThreshold,k=o.resizable,L=o.resourceGroupingLayout;h=h||this.state.gutterWidth;var z=c[0],U=c[c.length-1];this.slots=c.length;var G=[],B=[],Y=[];u.forEach(function(oe){if(dy(oe,z,U,x,O)){var le=x.start(oe),fe=x.end(oe);x.allDay(oe)||O.startAndEndAreDateOnly(le,fe)||!P&&!O.isSameDate(le,fe)?G.push(oe):B.push(oe)}}),l.forEach(function(oe){dy(oe,z,U,x,O)&&Y.push(oe)}),G.sort(function(oe,le){return nk(oe,le,x,O)});var K={range:c,events:G,width:h,rtl:p,getNow:b,localizer:O,selected:v,allDayMaxRows:this.props.showAllEvents?1/0:(i=this.props.allDayMaxRows)!==null&&i!==void 0?i:1/0,resources:this.memoizedResources(S,x),selectable:this.props.selectable,accessors:x,getters:R,components:_,scrollRef:this.scrollRef,isOverflowing:this.state.isOverflowing,longPressThreshold:C,onSelectSlot:this.handleSelectAllDaySlot,onSelectEvent:this.handleSelectEvent,onShowMore:this.handleShowMore,onDoubleClickEvent:this.props.onDoubleClickEvent,onKeyPressEvent:this.props.onKeyPressEvent,onDrillDown:this.props.onDrillDown,getDrilldownView:this.props.getDrilldownView,resizable:k};return se.createElement("div",{className:dn("rbc-time-view",S&&"rbc-time-view-resources"),ref:this.containerRef},S&&S.length>1&&L?se.createElement(e7,K):se.createElement(Z9,K),this.props.popup&&this.renderOverlay(),se.createElement("div",{ref:this.contentRef,className:"rbc-time-content",onScroll:this.handleScroll},se.createElement($fe,{date:z,ref:this.gutterRef,localizer:O,min:O.merge(z,T),max:O.merge(z,M),step:this.props.step,getNow:this.props.getNow,timeslots:this.props.timeslots,components:_,className:"rbc-time-gutter",getters:R}),this.renderEvents(c,B,Y,b())))}},{key:"renderOverlay",value:function(){var i,o,u=this,l=(i=(o=this.state)===null||o===void 0?void 0:o.overlay)!==null&&i!==void 0?i:{},c=this.props,h=c.accessors,p=c.localizer,v=c.components,b=c.getters,S=c.selected,_=c.popupOffset,x=c.handleDragStart,R=function(){return u.setState({overlay:null})};return se.createElement(JP,{overlay:l,accessors:h,localizer:p,components:v,getters:b,selected:S,popupOffset:_,ref:this.containerRef,handleKeyPressEvent:this.handleKeyPressEvent,handleSelectEvent:this.handleSelectEvent,handleDoubleClickEvent:this.handleDoubleClickEvent,handleDragStart:x,show:!!l.position,overlayDisplay:this.overlayDisplay,onHide:R})}},{key:"clearSelection",value:function(){clearTimeout(this._selectTimer),this._pendingSelection=[]}},{key:"measureGutter",value:function(){var i=this;this.measureGutterAnimationFrameRequest&&window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest),this.measureGutterAnimationFrameRequest=window.requestAnimationFrame(function(){var o,u=(o=i.gutterRef)!==null&&o!==void 0&&o.current?IN(i.gutterRef.current):void 0;u&&i.state.gutterWidth!==u&&i.setState({gutterWidth:u})})}},{key:"applyScroll",value:function(){if(this._scrollRatio!=null&&this.props.enableAutoScroll===!0){var i=this.contentRef.current;i.scrollTop=i.scrollHeight*this._scrollRatio,this._scrollRatio=null}}},{key:"calculateScroll",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=i.min,u=i.max,l=i.scrollToTime,c=i.localizer,h=c.diff(c.merge(l,o),l,"milliseconds"),p=c.diff(o,u,"milliseconds");this._scrollRatio=h/p}}])})(F.Component);nd.propTypes={events:N.array.isRequired,backgroundEvents:N.array.isRequired,resources:N.array,resourceGroupingLayout:N.bool,step:N.number,timeslots:N.number,range:N.arrayOf(N.instanceOf(Date)),min:N.instanceOf(Date).isRequired,max:N.instanceOf(Date).isRequired,getNow:N.func.isRequired,scrollToTime:N.instanceOf(Date).isRequired,enableAutoScroll:N.bool,showMultiDayTimes:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,allDayMaxRows:N.number,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onNavigate:N.func,onSelectSlot:N.func,onSelectEnd:N.func,onSelectStart:N.func,onSelectEvent:N.func,onShowMore:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onDrillDown:N.func,getDrilldownView:N.func.isRequired,dayLayoutAlgorithm:cy,showAllEvents:N.bool,doShowMoreDrillDown:N.bool,popup:N.bool,handleDragStart:N.func,popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})])},nd.defaultProps={step:30,timeslots:2,resourceGroupingLayout:!1};var Ufe=["date","localizer","min","max","scrollToTime","enableAutoScroll"];function Bfe(e,t,n){return t=hn(t),Qi(e,a7()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function a7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(a7=function(){return!!e})()}var py=(function(e){function t(){return kr(this,t),Bfe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.date,u=i.localizer,l=i.min,c=l===void 0?u.startOf(new Date,"day"):l,h=i.max,p=h===void 0?u.endOf(new Date,"day"):h,v=i.scrollToTime,b=v===void 0?u.startOf(new Date,"day"):v,S=i.enableAutoScroll,_=S===void 0?!0:S,x=lu(i,Ufe),R=t.range(o,{localizer:u});return se.createElement(nd,Ft({},x,{range:R,eventOffset:10,localizer:u,min:c,max:p,scrollToTime:b,enableAutoScroll:_}))}}])})(se.Component);py.propTypes={date:N.instanceOf(Date).isRequired,events:N.array.isRequired,backgroundEvents:N.array.isRequired,resources:N.array,step:N.number,timeslots:N.number,range:N.arrayOf(N.instanceOf(Date)),min:N.instanceOf(Date),max:N.instanceOf(Date),getNow:N.func.isRequired,scrollToTime:N.instanceOf(Date),enableAutoScroll:N.bool,showMultiDayTimes:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,allDayMaxRows:N.number,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onNavigate:N.func,onSelectSlot:N.func,onSelectEnd:N.func,onSelectStart:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onShowMore:N.func,onDrillDown:N.func,getDrilldownView:N.func.isRequired,dayLayoutAlgorithm:cy,showAllEvents:N.bool,doShowMoreDrillDown:N.bool,popup:N.bool,handleDragStart:N.func,popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})])},py.range=function(e,t){var n=t.localizer;return[n.startOf(e,"day")]},py.navigate=function(e,t,n){var i=n.localizer;switch(t){case qa.PREVIOUS:return i.add(e,-1,"day");case qa.NEXT:return i.add(e,1,"day");default:return e}},py.title=function(e,t){var n=t.localizer;return n.format(e,"dayHeaderFormat")};var Hfe=["date","localizer","min","max","scrollToTime","enableAutoScroll"];function Ffe(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Vfe(e,t,n){return t=hn(t),Qi(e,o7()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function o7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o7=function(){return!!e})()}var ol=(function(e){function t(){return kr(this,t),Vfe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.date,u=i.localizer,l=i.min,c=l===void 0?u.startOf(new Date,"day"):l,h=i.max,p=h===void 0?u.endOf(new Date,"day"):h,v=i.scrollToTime,b=v===void 0?u.startOf(new Date,"day"):v,S=i.enableAutoScroll,_=S===void 0?!0:S,x=lu(i,Hfe),R=t.range(o,this.props);return se.createElement(nd,Ft({},x,{range:R,eventOffset:15,localizer:u,min:c,max:p,scrollToTime:b,enableAutoScroll:_}))}}])})(se.Component);ol.propTypes={date:N.instanceOf(Date).isRequired,events:N.array.isRequired,backgroundEvents:N.array.isRequired,resources:N.array,step:N.number,timeslots:N.number,range:N.arrayOf(N.instanceOf(Date)),min:N.instanceOf(Date),max:N.instanceOf(Date),getNow:N.func.isRequired,scrollToTime:N.instanceOf(Date),enableAutoScroll:N.bool,showMultiDayTimes:N.bool,rtl:N.bool,resizable:N.bool,width:N.number,accessors:N.object.isRequired,components:N.object.isRequired,getters:N.object.isRequired,localizer:N.object.isRequired,allDayMaxRows:N.number,selected:N.object,selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,onNavigate:N.func,onSelectSlot:N.func,onSelectEnd:N.func,onSelectStart:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onShowMore:N.func,onDrillDown:N.func,getDrilldownView:N.func.isRequired,dayLayoutAlgorithm:cy,showAllEvents:N.bool,doShowMoreDrillDown:N.bool,popup:N.bool,handleDragStart:N.func,popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})])},ol.defaultProps=nd.defaultProps,ol.navigate=function(e,t,n){var i=n.localizer;switch(t){case qa.PREVIOUS:return i.add(e,-1,"week");case qa.NEXT:return i.add(e,1,"week");default:return e}},ol.range=function(e,t){var n=t.localizer,i=n.startOfWeek(),o=n.startOf(e,"week",i),u=n.endOf(e,"week",i);return n.range(o,u)},ol.title=function(e,t){var n=t.localizer,i=ol.range(e,{localizer:n}),o=n8(i),u=o[0],l=Ffe(o).slice(1);return n.format({start:u,end:l.pop()},"dayRangeHeaderFormat")};var Yfe=["date","localizer","min","max","scrollToTime","enableAutoScroll"];function Gfe(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Wfe(e,t,n){return t=hn(t),Qi(e,s7()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function s7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(s7=function(){return!!e})()}function fk(e,t){return ol.range(e,t).filter(function(n){return[6,0].indexOf(n.getDay())===-1})}var Sp=(function(e){function t(){return kr(this,t),Wfe(this,t,arguments)}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.date,u=i.localizer,l=i.min,c=l===void 0?u.startOf(new Date,"day"):l,h=i.max,p=h===void 0?u.endOf(new Date,"day"):h,v=i.scrollToTime,b=v===void 0?u.startOf(new Date,"day"):v,S=i.enableAutoScroll,_=S===void 0?!0:S,x=lu(i,Yfe),R=fk(o,this.props);return se.createElement(nd,Ft({},x,{range:R,eventOffset:15,localizer:u,min:c,max:p,scrollToTime:b,enableAutoScroll:_}))}}])})(se.Component);Sp.propTypes={date:N.instanceOf(Date).isRequired,localizer:N.any,min:N.instanceOf(Date),max:N.instanceOf(Date),scrollToTime:N.instanceOf(Date),enableAutoScroll:N.bool},Sp.defaultProps=nd.defaultProps,Sp.range=fk,Sp.navigate=ol.navigate,Sp.title=function(e,t){var n=t.localizer,i=fk(e,{localizer:n}),o=n8(i),u=o[0],l=Gfe(o).slice(1);return n.format({start:u,end:l.pop()},"dayRangeHeaderFormat")};var q1=30;function my(e){var t=e.accessors,n=e.components,i=e.date,o=e.events,u=e.getters,l=e.length,c=l===void 0?q1:l,h=e.localizer,p=e.onDoubleClickEvent,v=e.onSelectEvent,b=e.selected,S=F.useRef(null),_=F.useRef(null),x=F.useRef(null),R=F.useRef(null),O=F.useRef(null);F.useEffect(function(){P()});var T=function(U,G,B){var Y=n.event,K=n.date;return G=G.filter(function(oe){return dy(oe,h.startOf(U,"day"),h.endOf(U,"day"),t,h)}),G.map(function(oe,le){var fe=t.title(oe),W=t.end(oe),ue=t.start(oe),ie=u.eventProp(oe,ue,W,L1(oe,b)),_e=le===0&&h.format(U,"agendaDateFormat"),ae=le===0?se.createElement("td",{rowSpan:G.length,className:"rbc-agenda-date-cell"},K?se.createElement(K,{day:U,label:_e}):_e):!1;return se.createElement("tr",{key:B+"_"+le,className:ie.className,style:ie.style},ae,se.createElement("td",{className:"rbc-agenda-time-cell"},M(U,oe)),se.createElement("td",{className:"rbc-agenda-event-cell",onClick:function(Q){return v&&v(oe,Q)},onDoubleClick:function(Q){return p&&p(oe,Q)}},Y?se.createElement(Y,{event:oe,title:fe}):fe))},[])},M=function(U,G){var B="",Y=n.time,K=h.messages.allDay,oe=t.end(G),le=t.start(G);return t.allDay(G)||(h.eq(le,oe)?K=h.format(le,"agendaTimeFormat"):h.isSameDate(le,oe)?K=h.format({start:le,end:oe},"agendaTimeRangeFormat"):h.isSameDate(U,le)?K=h.format(le,"agendaTimeFormat"):h.isSameDate(U,oe)&&(K=h.format(oe,"agendaTimeFormat"))),h.gt(U,le,"day")&&(B="rbc-continues-prior"),h.lt(U,oe,"day")&&(B+=" rbc-continues-after"),se.createElement("span",{className:B.trim()},Y?se.createElement(Y,{event:G,day:U,label:K}):K)},P=function(){if(O.current){var U=S.current,G=O.current.firstChild;if(G){var B=R.current.scrollHeight>R.current.clientHeight,Y=[],K=Y;Y=[IN(G.children[0]),IN(G.children[1])],(K[0]!==Y[0]||K[1]!==Y[1])&&(_.current.style.width=Y[0]+"px",x.current.style.width=Y[1]+"px"),B?(ple(U,"rbc-header-overflowing"),U.style.marginRight=oP()+"px"):mle(U,"rbc-header-overflowing")}}},C=h.messages,k=h.add(i,c,"day"),L=h.range(i,k,"day");return o=o.filter(function(z){return dy(z,h.startOf(i,"day"),h.endOf(k,"day"),t,h)}),o.sort(function(z,U){return+t.start(z)-+t.start(U)}),se.createElement("div",{className:"rbc-agenda-view"},o.length!==0?se.createElement(se.Fragment,null,se.createElement("table",{ref:S,className:"rbc-agenda-table"},se.createElement("thead",null,se.createElement("tr",null,se.createElement("th",{className:"rbc-header",ref:_},C.date),se.createElement("th",{className:"rbc-header",ref:x},C.time),se.createElement("th",{className:"rbc-header"},C.event)))),se.createElement("div",{className:"rbc-agenda-content",ref:R},se.createElement("table",{className:"rbc-agenda-table"},se.createElement("tbody",{ref:O},L.map(function(z,U){return T(z,o,U)}))))):se.createElement("span",{className:"rbc-agenda-empty"},C.noEventsInRange))}my.propTypes={accessors:N.object.isRequired,components:N.object.isRequired,date:N.instanceOf(Date),events:N.array,getters:N.object.isRequired,length:N.number.isRequired,localizer:N.object.isRequired,onSelectEvent:N.func,onDoubleClickEvent:N.func,selected:N.object},my.range=function(e,t){var n=t.length,i=n===void 0?q1:n,o=t.localizer,u=o.add(e,i,"day");return{start:e,end:u}},my.navigate=function(e,t,n){var i=n.length,o=i===void 0?q1:i,u=n.localizer;switch(t){case qa.PREVIOUS:return u.add(e,-o,"day");case qa.NEXT:return u.add(e,o,"day");default:return e}},my.title=function(e,t){var n=t.length,i=n===void 0?q1:n,o=t.localizer,u=o.add(e,i,"day");return o.format({start:e,end:u},"agendaHeaderFormat")};var U1=Er(Er(Er(Er(Er({},pa.MONTH,hy),pa.WEEK,ol),pa.WORK_WEEK,Sp),pa.DAY,py),pa.AGENDA,my),Xfe=["action","date","today"];function Qfe(e,t){var n=t.action,i=t.date,o=t.today,u=lu(t,Xfe);switch(e=typeof e=="string"?U1[e]:e,n){case qa.TODAY:i=o||new Date;break;case qa.DATE:break;default:sp(e&&typeof e.navigate=="function","Calendar View components must implement a static `.navigate(date, action)` method.s"),i=e.navigate(i,n,u)}return i}function Kfe(e,t){var n=null;return typeof t=="function"?n=t(e):typeof t=="string"&&Ms(e)==="object"&&e!=null&&t in e&&(n=e[t]),n}var sl=function(t){return function(n){return Kfe(n,t)}},Zfe=["view","date","getNow","onNavigate"],Jfe=["view","toolbar","events","backgroundEvents","resourceGroupingLayout","style","className","elementProps","date","getNow","length","showMultiDayTimes","onShowMore","doShowMoreDrillDown","components","formats","messages","culture"];function u7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function l7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u7(Object(n),!0).forEach(function(i){Er(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u7(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ede(e,t,n){return t=hn(t),Qi(e,c7()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function c7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(c7=function(){return!!e})()}function f7(e){if(Array.isArray(e))return e;for(var t=[],n=0,i=Object.entries(e);n<i.length;n++){var o=Po(i[n],2),u=o[0],l=o[1];l&&t.push(u)}return t}function tde(e,t){var n=t.views,i=f7(n);return i.indexOf(e)!==-1}var dk=(function(e){function t(){var n;kr(this,t);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=ede(this,t,[].concat(o)),n.getViews=function(){var l=n.props.views;return Array.isArray(l)?ece(l,function(c,h){return c[h]=U1[h]},{}):Ms(l)==="object"?wle(l,function(c,h){return c===!0?U1[h]:c}):U1},n.getView=function(){var l=n.getViews();return l[n.props.view]},n.getDrilldownView=function(l){var c=n.props,h=c.view,p=c.drilldownView,v=c.getDrilldownView;return v?v(l,h,Object.keys(n.getViews())):p},n.handleRangeChange=function(l,c,h){var p=n.props,v=p.onRangeChange,b=p.localizer;v&&(c.range?v(c.range(l,{localizer:b}),h):console.error("onRangeChange prop not supported for this view"))},n.handleNavigate=function(l,c){var h=n.props,p=h.view,v=h.date,b=h.getNow,S=h.onNavigate,_=lu(h,Zfe),x=n.getView(),R=b();v=Qfe(x,l7(l7({},_),{},{action:l,date:c||v||R,today:R})),S(v,p,l),n.handleRangeChange(v,x)},n.handleViewChange=function(l){l!==n.props.view&&tde(l,n.props)&&n.props.onView(l);var c=n.getViews();n.handleRangeChange(n.props.date||n.props.getNow(),c[l],l)},n.handleSelectEvent=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onSelectEvent,c)},n.handleDoubleClickEvent=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onDoubleClickEvent,c)},n.handleKeyPressEvent=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];Xn(n.props.onKeyPressEvent,c)},n.handleSelectSlot=function(l){Xn(n.props.onSelectSlot,l)},n.handleDrillDown=function(l,c){var h=n.props.onDrillDown;if(h){h(l,c,n.drilldownView);return}c&&n.handleViewChange(c),n.handleNavigate(qa.DATE,l)},n.state={context:t.getContext(n.props)},n}return Xi(t,e),jr(t,[{key:"render",value:function(){var i=this.props,o=i.view,u=i.toolbar,l=i.events,c=i.backgroundEvents,h=i.resourceGroupingLayout,p=i.style,v=i.className,b=i.elementProps,S=i.date,_=i.getNow,x=i.length,R=i.showMultiDayTimes,O=i.onShowMore,T=i.doShowMoreDrillDown;i.components,i.formats,i.messages,i.culture;var M=lu(i,Jfe);S=S||_();var P=this.getView(),C=this.state.context,k=C.accessors,L=C.components,z=C.getters,U=C.localizer,G=C.viewNames,B=L.toolbar||d9,Y=P.title(S,{localizer:U,length:x});return se.createElement("div",Ft({},b,{className:dn(v,"rbc-calendar",M.rtl&&"rbc-rtl"),style:p}),u&&se.createElement(B,{date:S,view:o,views:G,label:Y,onView:this.handleViewChange,onNavigate:this.handleNavigate,localizer:U}),se.createElement(P,Ft({},M,{events:l,backgroundEvents:c,date:S,getNow:_,length:x,localizer:U,getters:z,components:L,accessors:k,showMultiDayTimes:R,getDrilldownView:this.getDrilldownView,onNavigate:this.handleNavigate,onDrillDown:this.handleDrillDown,onSelectEvent:this.handleSelectEvent,onDoubleClickEvent:this.handleDoubleClickEvent,onKeyPressEvent:this.handleKeyPressEvent,onSelectSlot:this.handleSelectSlot,onShowMore:O,doShowMoreDrillDown:T,resourceGroupingLayout:h})))}}],[{key:"getDerivedStateFromProps",value:function(i){return{context:t.getContext(i)}}},{key:"getContext",value:function(i){var o=i.startAccessor,u=i.endAccessor,l=i.allDayAccessor,c=i.tooltipAccessor,h=i.titleAccessor,p=i.resourceAccessor,v=i.resourceIdAccessor,b=i.resourceTitleAccessor,S=i.eventIdAccessor,_=i.eventPropGetter,x=i.backgroundEventPropGetter,R=i.slotPropGetter,O=i.slotGroupPropGetter,T=i.dayPropGetter,M=i.view,P=i.views,C=i.localizer,k=i.culture,L=i.messages,z=L===void 0?{}:L,U=i.components,G=U===void 0?{}:U,B=i.formats,Y=B===void 0?{}:B,K=f7(P),oe=Wce(z);return{viewNames:K,localizer:Vce(C,k,Y,oe),getters:{eventProp:function(){return _&&_.apply(void 0,arguments)||{}},backgroundEventProp:function(){return x&&x.apply(void 0,arguments)||{}},slotProp:function(){return R&&R.apply(void 0,arguments)||{}},slotGroupProp:function(){return O&&O.apply(void 0,arguments)||{}},dayProp:function(){return T&&T.apply(void 0,arguments)||{}}},components:Sle(G[M]||{},Kle(G,K),{eventWrapper:hu,backgroundEventWrapper:hu,eventContainerWrapper:hu,dateCellWrapper:hu,weekWrapper:hu,timeSlotWrapper:hu,timeGutterWrapper:hu,timeIndicatorWrapper:hu}),accessors:{start:sl(o),end:sl(u),allDay:sl(l),tooltip:sl(c),title:sl(h),resource:sl(p),resourceId:sl(v),resourceTitle:sl(b),eventId:sl(S)}}}}])})(se.Component);dk.defaultProps={events:[],backgroundEvents:[],elementProps:{},popup:!1,toolbar:!0,view:pa.MONTH,views:[pa.MONTH,pa.WEEK,pa.DAY,pa.AGENDA],step:30,length:30,allDayMaxRows:1/0,doShowMoreDrillDown:!0,drilldownView:pa.DAY,titleAccessor:"title",tooltipAccessor:"title",allDayAccessor:"allDay",startAccessor:"start",endAccessor:"end",resourceAccessor:"resourceId",resourceIdAccessor:"id",resourceTitleAccessor:"title",eventIdAccessor:"id",longPressThreshold:250,getNow:function(){return new Date},dayLayoutAlgorithm:"overlap"},dk.propTypes={localizer:N.object.isRequired,elementProps:N.object,date:N.instanceOf(Date),view:N.string,defaultView:N.string,events:N.arrayOf(N.object),backgroundEvents:N.arrayOf(N.object),titleAccessor:al,tooltipAccessor:al,allDayAccessor:al,startAccessor:al,endAccessor:al,eventIdAccessor:al,resourceAccessor:al,resources:N.arrayOf(N.object),resourceIdAccessor:al,resourceTitleAccessor:al,getNow:N.func,onNavigate:N.func,onView:N.func,onDrillDown:N.func,onRangeChange:N.func,onSelectSlot:N.func,onSelectEvent:N.func,onDoubleClickEvent:N.func,onKeyPressEvent:N.func,onSelecting:N.func,onShowMore:N.func,showAllEvents:N.bool,selected:N.object,views:xce,doShowMoreDrillDown:N.bool,drilldownView:N.string,getDrilldownView:N.func,length:N.number,toolbar:N.bool,popup:N.bool,popupOffset:N.oneOfType([N.number,N.shape({x:N.number,y:N.number})]),selectable:N.oneOf([!0,!1,"ignoreEvents"]),longPressThreshold:N.number,step:N.number,timeslots:N.number,rtl:N.bool,eventPropGetter:N.func,slotPropGetter:N.func,slotGroupPropGetter:N.func,dayPropGetter:N.func,showMultiDayTimes:N.bool,allDayMaxRows:N.number,min:N.instanceOf(Date),max:N.instanceOf(Date),scrollToTime:N.instanceOf(Date),enableAutoScroll:N.bool,resourceGroupingLayout:N.bool,culture:N.string,formats:N.shape({dateFormat:pu,dayFormat:pu,weekdayFormat:pu,timeGutterFormat:pu,monthHeaderFormat:pu,dayRangeHeaderFormat:ly,dayHeaderFormat:pu,agendaHeaderFormat:ly,selectRangeFormat:ly,agendaDateFormat:pu,agendaTimeFormat:pu,agendaTimeRangeFormat:ly,eventTimeRangeFormat:ly,eventTimeRangeStartFormat:pu,eventTimeRangeEndFormat:pu}),components:N.shape({event:N.elementType,eventWrapper:N.elementType,eventContainerWrapper:N.elementType,dateCellWrapper:N.elementType,dayColumnWrapper:N.elementType,timeSlotWrapper:N.elementType,timeGutterHeader:N.elementType,timeGutterWrapper:N.elementType,timeIndicatorWrapper:N.elementType,resourceHeader:N.elementType,showMore:N.elementType,toolbar:N.elementType,agenda:N.shape({date:N.elementType,time:N.elementType,event:N.elementType}),day:N.shape({header:N.elementType,event:N.elementType}),week:N.shape({header:N.elementType,event:N.elementType}),month:N.shape({header:N.elementType,dateHeader:N.elementType,event:N.elementType})}),messages:N.shape({allDay:N.node,previous:N.node,next:N.node,today:N.node,month:N.node,week:N.node,day:N.node,agenda:N.node,date:N.node,time:N.node,event:N.node,noEventsInRange:N.node,showMore:N.func}),dayLayoutAlgorithm:cy};var nde=i6(dk,{view:"onView",date:"onNavigate",selected:"onSelectEvent"}),rde=function(t,n,i){var o=t.start,u=t.end;return i.format(o,"MMMM DD",n)+" – "+i.format(u,i.eq(o,u,"month")?"DD":"MMMM DD",n)},ide=function(t,n,i){var o=t.start,u=t.end;return i.format(o,"L",n)+" – "+i.format(u,"L",n)},hk=function(t,n,i){var o=t.start,u=t.end;return i.format(o,"LT",n)+" – "+i.format(u,"LT",n)},ade=function(t,n,i){var o=t.start;return i.format(o,"LT",n)+" – "},ode=function(t,n,i){var o=t.end;return" – "+i.format(o,"LT",n)},sde={dateFormat:"DD",dayFormat:"DD ddd",weekdayFormat:"ddd",selectRangeFormat:hk,eventTimeRangeFormat:hk,eventTimeRangeStartFormat:ade,eventTimeRangeEndFormat:ode,timeGutterFormat:"LT",monthHeaderFormat:"MMMM YYYY",dayHeaderFormat:"dddd MMM DD",dayRangeHeaderFormat:rde,agendaHeaderFormat:ide,agendaDateFormat:"ddd MMM DD",agendaTimeFormat:"LT",agendaTimeRangeFormat:hk};function vc(e){var t=e&&e.toLowerCase();return t==="FullYear"?t="year":t||(t=void 0),t}function ude(e){e.extend(K8),e.extend(sce),e.extend(fce),e.extend(sne),e.extend(mce),e.extend(bce),e.extend(r9),e.extend(Tce);var t=function(te,re){return re?te.locale(re):te},n=e.tz?e.tz:e;function i(Q){return n(Q).toDate().getTimezoneOffset()}function o(Q,te){var re,Ee=n(Q),Se=n(te);if(!n.tz)return Ee.toDate().getTimezoneOffset()-Se.toDate().getTimezoneOffset();var Re=(re=Ee.tz().$x.$timezone)!==null&&re!==void 0?re:e.tz.guess(),Pe=-n.tz(+Ee,Re).utcOffset(),Le=-n.tz(+Se,Re).utcOffset();return Pe-Le}function u(Q){var te=n(Q).startOf("day");return o(te,Q)}function l(Q,te,re){var Ee=vc(re),Se=Ee?n(Q).startOf(Ee):n(Q),Re=Ee?n(te).startOf(Ee):n(te);return[Se,Re,Ee]}function c(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,te=arguments.length>1?arguments[1]:void 0,re=vc(te);return re?n(Q).startOf(re).toDate():n(Q).toDate()}function h(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,te=arguments.length>1?arguments[1]:void 0,re=vc(te);return re?n(Q).endOf(re).toDate():n(Q).toDate()}function p(Q,te,re){var Ee=l(Q,te,re),Se=Po(Ee,3),Re=Se[0],Pe=Se[1],Le=Se[2];return Re.isSame(Pe,Le)}function v(Q,te,re){return!p(Q,te,re)}function b(Q,te,re){var Ee=l(Q,te,re),Se=Po(Ee,3),Re=Se[0],Pe=Se[1],Le=Se[2];return Re.isAfter(Pe,Le)}function S(Q,te,re){var Ee=l(Q,te,re),Se=Po(Ee,3),Re=Se[0],Pe=Se[1],Le=Se[2];return Re.isBefore(Pe,Le)}function _(Q,te,re){var Ee=l(Q,te,re),Se=Po(Ee,3),Re=Se[0],Pe=Se[1],Le=Se[2];return Re.isSameOrBefore(Pe,Le)}function x(Q,te,re){var Ee=l(Q,te,re),Se=Po(Ee,3),Re=Se[0],Pe=Se[1],Le=Se[2];return Re.isSameOrBefore(Pe,Le)}function R(Q,te,re){var Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"day",Se=vc(Ee),Re=n(Q),Pe=n(te),Le=n(re);return Re.isBetween(Pe,Le,Se,"[]")}function O(Q,te){var re=n(Q),Ee=n(te),Se=e.min(re,Ee);return Se.toDate()}function T(Q,te){var re=n(Q),Ee=n(te),Se=e.max(re,Ee);return Se.toDate()}function M(Q,te){if(!Q&&!te)return null;var re=n(te).format("HH:mm:ss"),Ee=n(Q).startOf("day").format("MM/DD/YYYY");return n("".concat(Ee," ").concat(re)).toDate()}function P(Q,te,re){var Ee=vc(re);return n(Q).add(te,Ee).toDate()}function C(Q,te){for(var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"day",Ee=vc(re),Se=n(Q).toDate(),Re=[];x(Se,te);)Re.push(Se),Se=P(Se,1,Ee);return Re}function k(Q,te){var re=vc(te),Ee=c(Q,re);return p(Ee,Q)?Ee:P(Ee,1,re)}function L(Q,te){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"day",Ee=vc(re),Se=n(Q),Re=n(te);return Re.diff(Se,Ee)}function z(Q){var te=n(Q);return te.minute()}function U(Q){var te=Q?e.localeData(Q):e.localeData();return te?te.firstDayOfWeek():0}function G(Q){var te=n(Q).startOf("month"),re=n(te).startOf("week");if(n(te).isLeapYear()){var Ee=te.toDate().getDay(),Se=te.toDate().getDate()-Ee+(Ee==0?-6:1);re.date(Se)}return re.toDate()}function B(Q){return n(Q).endOf("month").endOf("week").toDate()}function Y(Q){for(var te=G(Q),re=B(Q),Ee=[];x(te,re);)Ee.push(te),te=P(te,1,"d");return Ee}function K(Q,te,re){return n(Q).startOf("day").minute(te+re).toDate()}function oe(Q,te){return L(Q,te,"minutes")}function le(Q){var te=n(Q).startOf("day"),re=n(Q);return re.diff(te,"minutes")+u(Q)}function fe(Q,te){var re=n(Q),Ee=n(te);return re.isBefore(Ee,"day")}function W(Q,te,re){var Ee=n(te),Se=n(re);return Ee.isSameOrAfter(Se,"minutes")}function ue(Q,te){var re=n(Q),Ee=n(te);return Ee.diff(re,"day")}function ie(Q){var te=Q.evtA,re=te.start,Ee=te.end,Se=te.allDay,Re=Q.evtB,Pe=Re.start,Le=Re.end,Ne=Re.allDay,De=+c(re,"day")-+c(Pe,"day"),Ce=ue(re,Ee),Qe=ue(Pe,Le);return De||Qe-Ce||!!Ne-!!Se||+re-+Pe||+Ee-+Le}function _e(Q){var te=Q.event,re=te.start,Ee=te.end,Se=Q.range,Re=Se.start,Pe=Se.end,Le=n(re).startOf("day"),Ne=n(Ee),De=n(Re),Ce=n(Pe),Qe=Le.isSameOrBefore(Ce,"day"),Ve=!Le.isSame(Ne,"minutes"),He=Ve?Ne.isAfter(De,"minutes"):Ne.isSameOrAfter(De,"minutes");return Qe&&He}function ae(Q,te){var re=n(Q),Ee=n(te);return re.isSame(Ee,"day")}function X(){var Q=new Date,te=/-/.test(Q.toString())?"-":"",re=Q.getTimezoneOffset(),Ee=Number("".concat(te).concat(Math.abs(re))),Se=n().utcOffset();return Se>Ee?1:0}return new Fce({formats:sde,firstOfWeek:U,firstVisibleDay:G,lastVisibleDay:B,visibleDays:Y,format:function(te,re,Ee){return t(n(te),Ee).format(re)},lt:S,lte:x,gt:b,gte:_,eq:p,neq:v,merge:M,inRange:R,startOf:c,endOf:h,range:C,add:P,diff:L,ceil:k,min:O,max:T,minutes:z,getSlotDate:K,getTimezoneOffset:i,getDstOffset:o,getTotalMin:oe,getMinutesFromMidnight:le,continuesPrior:fe,continuesAfter:W,sortEvents:ie,inEventRange:_e,isSameDate:ae,browserTZOffset:X})}var gy={exports:{}};/**
|
|
487
|
+
* @license
|
|
488
|
+
* Lodash <https://lodash.com/>
|
|
489
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
490
|
+
* Released under MIT license <https://lodash.com/license>
|
|
491
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
492
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
493
|
+
*/var lde=gy.exports,d7;function cde(){return d7||(d7=1,(function(e,t){(function(){var n,i="4.18.1",o=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",h="Invalid `imports` option passed into `_.template`",p="__lodash_hash_undefined__",v=500,b="__lodash_placeholder__",S=1,_=2,x=4,R=1,O=2,T=1,M=2,P=4,C=8,k=16,L=32,z=64,U=128,G=256,B=512,Y=30,K="...",oe=800,le=16,fe=1,W=2,ue=3,ie=1/0,_e=9007199254740991,ae=17976931348623157e292,X=NaN,Q=4294967295,te=Q-1,re=Q>>>1,Ee=[["ary",U],["bind",T],["bindKey",M],["curry",C],["curryRight",k],["flip",B],["partial",L],["partialRight",z],["rearg",G]],Se="[object Arguments]",Re="[object Array]",Pe="[object AsyncFunction]",Le="[object Boolean]",Ne="[object Date]",De="[object DOMException]",Ce="[object Error]",Qe="[object Function]",Ve="[object GeneratorFunction]",He="[object Map]",ke="[object Number]",$e="[object Null]",ct="[object Object]",At="[object Promise]",Ye="[object Proxy]",yt="[object RegExp]",mt="[object Set]",Dt="[object String]",ht="[object Symbol]",at="[object Undefined]",an="[object WeakMap]",cr="[object WeakSet]",mn="[object ArrayBuffer]",ot="[object DataView]",St="[object Float32Array]",tr="[object Float64Array]",Lt="[object Int8Array]",Cn="[object Int16Array]",zn="[object Int32Array]",nr="[object Uint8Array]",On="[object Uint8ClampedArray]",Zt="[object Uint16Array]",$="[object Uint32Array]",ge=/\b__p \+= '';/g,qe=/\b(__p \+=) '' \+/g,Fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ze=/&(?:amp|lt|gt|quot|#39);/g,gt=/[&<>"']/g,rt=RegExp(Ze.source),Nt=RegExp(gt.source),ft=/<%-([\s\S]+?)%>/g,fr=/<%([\s\S]+?)%>/g,ni=/<%=([\s\S]+?)%>/g,ho=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ma=/^\w*$/,po=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dr=/[\\^$.*+?()[\]{}|]/g,hr=RegExp(dr.source),ea=/^\s+/,$o=/\s/,Mi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ba=/\{\n\/\* \[wrapped with (.+)\] \*/,Lr=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ga=/[()=,{}\[\]\/\s]/,Ir=/\\(\\)?/g,rr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hi=/\w*$/,js=/^[-+]0x[0-9a-f]+$/i,zo=/^0b[01]+$/i,vn=/^\[object .+?Constructor\]$/,qo=/^0o[0-7]+$/i,mu=/^(?:0|[1-9]\d*)$/,un=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qn=/($^)/,pi=/['\n\r\u2028\u2029\\]/g,yn="\\ud800-\\udfff",Ar="\\u0300-\\u036f",Ni="\\ufe20-\\ufe2f",Ha="\\u20d0-\\u20ff",Pi=Ar+Ni+Ha,Uo="\\u2700-\\u27bf",Bo="a-z\\xdf-\\xf6\\xf8-\\xff",pr="\\xac\\xb1\\xd7\\xf7",ta="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gu="\\u2000-\\u206f",Et=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mr="A-Z\\xc0-\\xd6\\xd8-\\xde",gr="\\ufe0e\\ufe0f",Ho=pr+ta+gu+Et,Ls="['’]",yc="["+yn+"]",ul="["+Ho+"]",Is="["+Pi+"]",Ke="\\d+",kt="["+Uo+"]",Kn="["+Bo+"]",Fa="[^"+yn+Ho+Ke+Uo+Bo+mr+"]",ki="\\ud83c[\\udffb-\\udfff]",Ep="(?:"+Is+"|"+ki+")",rd="[^"+yn+"]",ll="(?:\\ud83c[\\udde6-\\uddff]){2}",cl="[\\ud800-\\udbff][\\udc00-\\udfff]",fl="["+mr+"]",fE="\\u200d",dE="(?:"+Kn+"|"+Fa+")",lj="(?:"+fl+"|"+Fa+")",hE="(?:"+Ls+"(?:d|ll|m|re|s|t|ve))?",bc="(?:"+Ls+"(?:D|LL|M|RE|S|T|VE))?",Fo=Ep+"?",wp="["+gr+"]?",pE="(?:"+fE+"(?:"+[rd,ll,cl].join("|")+")"+wp+Fo+")*",mE="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",id="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",by=wp+Fo+pE,Rp="(?:"+[kt,ll,cl].join("|")+")"+by,Op="(?:"+[rd+Is+"?",Is,ll,cl,yc].join("|")+")",gE=RegExp(Ls,"g"),na=RegExp(Is,"g"),Sy=RegExp(ki+"(?="+ki+")|"+Op+by,"g"),_y=RegExp([fl+"?"+Kn+"+"+hE+"(?="+[ul,fl,"$"].join("|")+")",lj+"+"+bc+"(?="+[ul,fl+dE,"$"].join("|")+")",fl+"?"+dE+"+"+hE,fl+"+"+bc,id,mE,Ke,Rp].join("|"),"g"),vE=RegExp("["+fE+yn+Pi+gr+"]"),yE=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cj=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],fj=-1,kn={};kn[St]=kn[tr]=kn[Lt]=kn[Cn]=kn[zn]=kn[nr]=kn[On]=kn[Zt]=kn[$]=!0,kn[Se]=kn[Re]=kn[mn]=kn[Le]=kn[ot]=kn[Ne]=kn[Ce]=kn[Qe]=kn[He]=kn[ke]=kn[ct]=kn[yt]=kn[mt]=kn[Dt]=kn[an]=!1;var jn={};jn[Se]=jn[Re]=jn[mn]=jn[ot]=jn[Le]=jn[Ne]=jn[St]=jn[tr]=jn[Lt]=jn[Cn]=jn[zn]=jn[He]=jn[ke]=jn[ct]=jn[yt]=jn[mt]=jn[Dt]=jn[ht]=jn[nr]=jn[On]=jn[Zt]=jn[$]=!0,jn[Ce]=jn[Qe]=jn[an]=!1;var bE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},dj={"&":"&","<":"<",">":">",'"':""","'":"'"},Tp={"&":"&","<":"<",">":">",""":'"',"'":"'"},SE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_E=parseFloat,EE=parseInt,wE=typeof io=="object"&&io&&io.Object===Object&&io,hj=typeof self=="object"&&self&&self.Object===Object&&self,ri=wE||hj||Function("return this")(),Ey=t&&!t.nodeType&&t,dl=Ey&&!0&&e&&!e.nodeType&&e,Sc=dl&&dl.exports===Ey,xp=Sc&&wE.process,va=(function(){try{var ye=dl&&dl.require&&dl.require("util").types;return ye||xp&&xp.binding&&xp.binding("util")}catch{}})(),wy=va&&va.isArrayBuffer,Ry=va&&va.isDate,Ap=va&&va.isMap,Oy=va&&va.isRegExp,vu=va&&va.isSet,yu=va&&va.isTypedArray;function Zn(ye,Me,Te){switch(Te.length){case 0:return ye.call(Me);case 1:return ye.call(Me,Te[0]);case 2:return ye.call(Me,Te[0],Te[1]);case 3:return ye.call(Me,Te[0],Te[1],Te[2])}return ye.apply(Me,Te)}function pj(ye,Me,Te,tt){for(var wt=-1,Jt=ye==null?0:ye.length;++wt<Jt;){var ir=ye[wt];Me(tt,ir,Te(ir),ye)}return tt}function ji(ye,Me){for(var Te=-1,tt=ye==null?0:ye.length;++Te<tt&&Me(ye[Te],Te,ye)!==!1;);return ye}function Vo(ye,Me){for(var Te=ye==null?0:ye.length;Te--&&Me(ye[Te],Te,ye)!==!1;);return ye}function Ty(ye,Me){for(var Te=-1,tt=ye==null?0:ye.length;++Te<tt;)if(!Me(ye[Te],Te,ye))return!1;return!0}function $r(ye,Me){for(var Te=-1,tt=ye==null?0:ye.length,wt=0,Jt=[];++Te<tt;){var ir=ye[Te];Me(ir,Te,ye)&&(Jt[wt++]=ir)}return Jt}function ya(ye,Me){var Te=ye==null?0:ye.length;return!!Te&&bu(ye,Me,0)>-1}function _c(ye,Me,Te){for(var tt=-1,wt=ye==null?0:ye.length;++tt<wt;)if(Te(Me,ye[tt]))return!0;return!1}function Mn(ye,Me){for(var Te=-1,tt=ye==null?0:ye.length,wt=Array(tt);++Te<tt;)wt[Te]=Me(ye[Te],Te,ye);return wt}function Yo(ye,Me){for(var Te=-1,tt=Me.length,wt=ye.length;++Te<tt;)ye[wt+Te]=Me[Te];return ye}function Va(ye,Me,Te,tt){var wt=-1,Jt=ye==null?0:ye.length;for(tt&&Jt&&(Te=ye[++wt]);++wt<Jt;)Te=Me(Te,ye[wt],wt,ye);return Te}function mj(ye,Me,Te,tt){var wt=ye==null?0:ye.length;for(tt&&wt&&(Te=ye[--wt]);wt--;)Te=Me(Te,ye[wt],wt,ye);return Te}function Cp(ye,Me){for(var Te=-1,tt=ye==null?0:ye.length;++Te<tt;)if(Me(ye[Te],Te,ye))return!0;return!1}var RE=zr("length");function gj(ye){return ye.split("")}function xy(ye){return ye.match(Dn)||[]}function OE(ye,Me,Te){var tt;return Te(ye,function(wt,Jt,ir){if(Me(wt,Jt,ir))return tt=Jt,!1}),tt}function ad(ye,Me,Te,tt){for(var wt=ye.length,Jt=Te+(tt?1:-1);tt?Jt--:++Jt<wt;)if(Me(ye[Jt],Jt,ye))return Jt;return-1}function bu(ye,Me,Te){return Me===Me?ml(ye,Me,Te):ad(ye,od,Te)}function Dp(ye,Me,Te,tt){for(var wt=Te-1,Jt=ye.length;++wt<Jt;)if(tt(ye[wt],Me))return wt;return-1}function od(ye){return ye!==ye}function Mp(ye,Me){var Te=ye==null?0:ye.length;return Te?ud(ye,Me)/Te:X}function zr(ye){return function(Me){return Me==null?n:Me[ye]}}function Np(ye){return function(Me){return ye==null?n:ye[Me]}}function sd(ye,Me,Te,tt,wt){return wt(ye,function(Jt,ir,ln){Te=tt?(tt=!1,Jt):Me(Te,Jt,ir,ln)}),Te}function hl(ye,Me){var Te=ye.length;for(ye.sort(Me);Te--;)ye[Te]=ye[Te].value;return ye}function ud(ye,Me){for(var Te,tt=-1,wt=ye.length;++tt<wt;){var Jt=Me(ye[tt]);Jt!==n&&(Te=Te===n?Jt:Te+Jt)}return Te}function Pp(ye,Me){for(var Te=-1,tt=Array(ye);++Te<ye;)tt[Te]=Me(Te);return tt}function TE(ye,Me){return Mn(Me,function(Te){return[Te,ye[Te]]})}function Ay(ye){return ye&&ye.slice(0,Ny(ye)+1).replace(ea,"")}function ba(ye){return function(Me){return ye(Me)}}function ld(ye,Me){return Mn(Me,function(Te){return ye[Te]})}function Sa(ye,Me){return ye.has(Me)}function Cy(ye,Me){for(var Te=-1,tt=ye.length;++Te<tt&&bu(Me,ye[Te],0)>-1;);return Te}function kp(ye,Me){for(var Te=ye.length;Te--&&bu(Me,ye[Te],0)>-1;);return Te}function jp(ye,Me){for(var Te=ye.length,tt=0;Te--;)ye[Te]===Me&&++tt;return tt}var pl=Np(bE),Dy=Np(dj);function xE(ye){return"\\"+SE[ye]}function My(ye,Me){return ye==null?n:ye[Me]}function qr(ye){return vE.test(ye)}function $s(ye){return yE.test(ye)}function AE(ye){for(var Me,Te=[];!(Me=ye.next()).done;)Te.push(Me.value);return Te}function cd(ye){var Me=-1,Te=Array(ye.size);return ye.forEach(function(tt,wt){Te[++Me]=[wt,tt]}),Te}function Lp(ye,Me){return function(Te){return ye(Me(Te))}}function zs(ye,Me){for(var Te=-1,tt=ye.length,wt=0,Jt=[];++Te<tt;){var ir=ye[Te];(ir===Me||ir===b)&&(ye[Te]=b,Jt[wt++]=Te)}return Jt}function fd(ye){var Me=-1,Te=Array(ye.size);return ye.forEach(function(tt){Te[++Me]=tt}),Te}function Su(ye){var Me=-1,Te=Array(ye.size);return ye.forEach(function(tt){Te[++Me]=[tt,tt]}),Te}function ml(ye,Me,Te){for(var tt=Te-1,wt=ye.length;++tt<wt;)if(ye[tt]===Me)return tt;return-1}function CE(ye,Me,Te){for(var tt=Te+1;tt--;)if(ye[tt]===Me)return tt;return tt}function qs(ye){return qr(ye)?Ec(ye):RE(ye)}function Ur(ye){return qr(ye)?gl(ye):gj(ye)}function Ny(ye){for(var Me=ye.length;Me--&&$o.test(ye.charAt(Me)););return Me}var DE=Np(Tp);function Ec(ye){for(var Me=Sy.lastIndex=0;Sy.test(ye);)++Me;return Me}function gl(ye){return ye.match(Sy)||[]}function Py(ye){return ye.match(_y)||[]}var dd=(function ye(Me){Me=Me==null?ri:_u.defaults(ri.Object(),Me,_u.pick(ri,cj));var Te=Me.Array,tt=Me.Date,wt=Me.Error,Jt=Me.Function,ir=Me.Math,ln=Me.Object,Nn=Me.RegExp,Ip=Me.String,_a=Me.TypeError,wc=Te.prototype,vl=Jt.prototype,Go=ln.prototype,Ea=Me["__core-js_shared__"],$p=vl.toString,Yt=Go.hasOwnProperty,zp=0,Rc=(function(){var d=/[^.]+$/.exec(Ea&&Ea.keys&&Ea.keys.IE_PROTO||"");return d?"Symbol(src)_1."+d:""})(),yl=Go.toString,wa=$p.call(ln),Ra=ri._,Wo=Nn("^"+$p.call(Yt).replace(dr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oa=Sc?Me.Buffer:n,ii=Me.Symbol,Ta=Me.Uint8Array,qp=Oa?Oa.allocUnsafe:n,Oc=Lp(ln.getPrototypeOf,ln),ky=ln.create,mo=Go.propertyIsEnumerable,hd=wc.splice,go=ii?ii.isConcatSpreadable:n,Us=ii?ii.iterator:n,bl=ii?ii.toStringTag:n,pd=(function(){try{var d=Jo(ln,"defineProperty");return d({},"",{}),d}catch{}})(),vj=Me.clearTimeout!==ri.clearTimeout&&Me.clearTimeout,jy=tt&&tt.now!==ri.Date.now&&tt.now,Up=Me.setTimeout!==ri.setTimeout&&Me.setTimeout,md=ir.ceil,gd=ir.floor,Bp=ln.getOwnPropertySymbols,ME=Oa?Oa.isBuffer:n,Bs=Me.isFinite,NE=wc.join,PE=Lp(ln.keys,ln),tn=ir.max,Br=ir.min,Hp=tt.now,Fp=Me.parseInt,Tc=ir.random,kE=wc.reverse,xc=Jo(Me,"DataView"),Ac=Jo(Me,"Map"),Cc=Jo(Me,"Promise"),Sl=Jo(Me,"Set"),Eu=Jo(Me,"WeakMap"),Dc=Jo(ln,"create"),vd=Eu&&new Eu,wu={},Ly=ju(xc),Ru=ju(Ac),Ou=ju(Cc),yd=ju(Sl),Vp=ju(Eu),Tu=ii?ii.prototype:n,Hs=Tu?Tu.valueOf:n,Iy=Tu?Tu.toString:n;function H(d){if(Bn(d)&&!Ot(d)&&!(d instanceof Gt)){if(d instanceof ra)return d;if(Yt.call(d,"__wrapped__"))return xb(d)}return new ra(d)}var _l=(function(){function d(){}return function(m){if(!Un(m))return{};if(ky)return ky(m);d.prototype=m;var E=new d;return d.prototype=n,E}})();function bd(){}function ra(d,m){this.__wrapped__=d,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=n}H.templateSettings={escape:ft,evaluate:fr,interpolate:ni,variable:"",imports:{_:H}},H.prototype=bd.prototype,H.prototype.constructor=H,ra.prototype=_l(bd.prototype),ra.prototype.constructor=ra;function Gt(d){this.__wrapped__=d,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Q,this.__views__=[]}function xu(){var d=new Gt(this.__wrapped__);return d.__actions__=vi(this.__actions__),d.__dir__=this.__dir__,d.__filtered__=this.__filtered__,d.__iteratees__=vi(this.__iteratees__),d.__takeCount__=this.__takeCount__,d.__views__=vi(this.__views__),d}function $y(){if(this.__filtered__){var d=new Gt(this);d.__dir__=-1,d.__filtered__=!0}else d=this.clone(),d.__dir__*=-1;return d}function jE(){var d=this.__wrapped__.value(),m=this.__dir__,E=Ot(d),D=m<0,I=E?d.length:0,V=es(0,I,this.__views__),Z=V.start,de=V.end,be=de-Z,ze=D?de:Z-1,Ie=this.__iteratees__,Ue=Ie.length,We=0,it=Br(be,this.__takeCount__);if(!E||!D&&I==be&&it==be)return ew(d,this.__actions__);var ut=[];e:for(;be--&&We<it;){ze+=m;for(var Mt=-1,lt=d[ze];++Mt<Ue;){var Qt=Ie[Mt],Kt=Qt.iteratee,Hi=Qt.type,Cr=Kt(lt);if(Hi==W)lt=Cr;else if(!Cr){if(Hi==fe)continue e;break e}}ut[We++]=lt}return ut}Gt.prototype=_l(bd.prototype),Gt.prototype.constructor=Gt;function ia(d){var m=-1,E=d==null?0:d.length;for(this.clear();++m<E;){var D=d[m];this.set(D[0],D[1])}}function xa(){this.__data__=Dc?Dc(null):{},this.size=0}function Yp(d){var m=this.has(d)&&delete this.__data__[d];return this.size-=m?1:0,m}function It(d){var m=this.__data__;if(Dc){var E=m[d];return E===p?n:E}return Yt.call(m,d)?m[d]:n}function Be(d){var m=this.__data__;return Dc?m[d]!==n:Yt.call(m,d)}function Mc(d,m){var E=this.__data__;return this.size+=this.has(d)?0:1,E[d]=Dc&&m===n?p:m,this}ia.prototype.clear=xa,ia.prototype.delete=Yp,ia.prototype.get=It,ia.prototype.has=Be,ia.prototype.set=Mc;function Ya(d){var m=-1,E=d==null?0:d.length;for(this.clear();++m<E;){var D=d[m];this.set(D[0],D[1])}}function ar(){this.__data__=[],this.size=0}function zy(d){var m=this.__data__,E=wd(m,d);if(E<0)return!1;var D=m.length-1;return E==D?m.pop():hd.call(m,E,1),--this.size,!0}function qy(d){var m=this.__data__,E=wd(m,d);return E<0?n:m[E][1]}function LE(d){return wd(this.__data__,d)>-1}function Uy(d,m){var E=this.__data__,D=wd(E,d);return D<0?(++this.size,E.push([d,m])):E[D][1]=m,this}Ya.prototype.clear=ar,Ya.prototype.delete=zy,Ya.prototype.get=qy,Ya.prototype.has=LE,Ya.prototype.set=Uy;function Fs(d){var m=-1,E=d==null?0:d.length;for(this.clear();++m<E;){var D=d[m];this.set(D[0],D[1])}}function By(){this.size=0,this.__data__={hash:new ia,map:new(Ac||Ya),string:new ia}}function Hy(d){var m=kd(this,d).delete(d);return this.size-=m?1:0,m}function Fy(d){return kd(this,d).get(d)}function Li(d){return kd(this,d).has(d)}function bn(d,m){var E=kd(this,d),D=E.size;return E.set(d,m),this.size+=E.size==D?0:1,this}Fs.prototype.clear=By,Fs.prototype.delete=Hy,Fs.prototype.get=Fy,Fs.prototype.has=Li,Fs.prototype.set=bn;function Xo(d){var m=-1,E=d==null?0:d.length;for(this.__data__=new Fs;++m<E;)this.add(d[m])}function Sd(d){return this.__data__.set(d,p),this}function Au(d){return this.__data__.has(d)}Xo.prototype.add=Xo.prototype.push=Sd,Xo.prototype.has=Au;function ai(d){var m=this.__data__=new Ya(d);this.size=m.size}function vo(){this.__data__=new Ya,this.size=0}function Vy(d){var m=this.__data__,E=m.delete(d);return this.size=m.size,E}function Nc(d){return this.__data__.get(d)}function Yy(d){return this.__data__.has(d)}function _d(d,m){var E=this.__data__;if(E instanceof Ya){var D=E.__data__;if(!Ac||D.length<o-1)return D.push([d,m]),this.size=++E.size,this;E=this.__data__=new Fs(D)}return E.set(d,m),this.size=E.size,this}ai.prototype.clear=vo,ai.prototype.delete=Vy,ai.prototype.get=Nc,ai.prototype.has=Yy,ai.prototype.set=_d;function Gp(d,m){var E=Ot(d),D=!E&&$u(d),I=!E&&!D&&zu(d),V=!E&&!D&&!I&&Pl(d),Z=E||D||I||V,de=Z?Pp(d.length,Ip):[],be=de.length;for(var ze in d)(m||Yt.call(d,ze))&&!(Z&&(ze=="length"||I&&(ze=="offset"||ze=="parent")||V&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||ts(ze,be)))&&de.push(ze);return de}function Ed(d){var m=d.length;return m?d[lm(0,m-1)]:n}function IE(d,m){return rs(vi(d),Cu(m,0,d.length))}function $E(d){return rs(vi(d))}function Wp(d,m,E){(E!==n&&!wo(d[m],E)||E===n&&!(m in d))&&yo(d,m,E)}function Pc(d,m,E){var D=d[m];(!(Yt.call(d,m)&&wo(D,E))||E===n&&!(m in d))&&yo(d,m,E)}function wd(d,m){for(var E=d.length;E--;)if(wo(d[E][0],m))return E;return-1}function Gy(d,m,E,D){return Vs(d,function(I,V,Z){m(D,I,E(I),Z)}),D}function Xp(d,m){return d&&Fr(m,Ln(m),d)}function Wy(d,m){return d&&Fr(m,br(m),d)}function yo(d,m,E){m=="__proto__"&&pd?pd(d,m,{configurable:!0,enumerable:!0,value:E,writable:!0}):d[m]=E}function Qp(d,m){for(var E=-1,D=m.length,I=Te(D),V=d==null;++E<D;)I[E]=V?n:yr(d,m[E]);return I}function Cu(d,m,E){return d===d&&(E!==n&&(d=d<=E?d:E),m!==n&&(d=d>=m?d:m)),d}function Ga(d,m,E,D,I,V){var Z,de=m&S,be=m&_,ze=m&x;if(E&&(Z=I?E(d,D,I,V):E(d)),Z!==n)return Z;if(!Un(d))return d;var Ie=Ot(d);if(Ie){if(Z=lw(d),!de)return vi(d,Z)}else{var Ue=oi(d),We=Ue==Qe||Ue==Ve;if(zu(d))return cb(d,de);if(Ue==ct||Ue==Se||We&&!I){if(Z=be||We?{}:_o(d),!de)return be?rw(d,Wy(Z,d)):hb(d,Xp(Z,d))}else{if(!jn[Ue])return I?d:{};Z=Eb(d,Ue,de)}}V||(V=new ai);var it=V.get(d);if(it)return it;V.set(d,Z),aR(d)?d.forEach(function(lt){Z.add(Ga(lt,m,E,lt,d,V))}):n0(d)&&d.forEach(function(lt,Qt){Z.set(Qt,Ga(lt,m,E,Qt,d,V))});var ut=ze?be?wm:Sb:be?br:Ln,Mt=Ie?n:ut(d);return ji(Mt||d,function(lt,Qt){Mt&&(Qt=lt,lt=d[Qt]),Pc(Z,Qt,Ga(lt,m,E,Qt,d,V))}),Z}function zE(d){var m=Ln(d);return function(E){return Xy(E,d,m)}}function Xy(d,m,E){var D=E.length;if(d==null)return!D;for(d=ln(d);D--;){var I=E[D],V=m[I],Z=d[I];if(Z===n&&!(I in d)||!V(Z))return!1}return!0}function Qy(d,m,E){if(typeof d!="function")throw new _a(l);return Id(function(){d.apply(n,E)},m)}function El(d,m,E,D){var I=-1,V=ya,Z=!0,de=d.length,be=[],ze=m.length;if(!de)return be;E&&(m=Mn(m,ba(E))),D?(V=_c,Z=!1):m.length>=o&&(V=Sa,Z=!1,m=new Xo(m));e:for(;++I<de;){var Ie=d[I],Ue=E==null?Ie:E(Ie);if(Ie=D||Ie!==0?Ie:0,Z&&Ue===Ue){for(var We=ze;We--;)if(m[We]===Ue)continue e;be.push(Ie)}else V(m,Ue,D)||be.push(Ie)}return be}var Vs=Tn(mi),Ky=Tn(gi,!0);function kc(d,m){var E=!0;return Vs(d,function(D,I,V){return E=!!m(D,I,V),E}),E}function wl(d,m,E){for(var D=-1,I=d.length;++D<I;){var V=d[D],Z=m(V);if(Z!=null&&(de===n?Z===Z&&!Si(Z):E(Z,de)))var de=Z,be=V}return be}function qE(d,m,E,D){var I=d.length;for(E=Pt(E),E<0&&(E=-E>I?0:I+E),D=D===n||D>I?I:Pt(D),D<0&&(D+=I),D=E>D?0:vr(D);E<D;)d[E++]=m;return d}function UE(d,m){var E=[];return Vs(d,function(D,I,V){m(D,I,V)&&E.push(D)}),E}function wr(d,m,E,D,I){var V=-1,Z=d.length;for(E||(E=Eo),I||(I=[]);++V<Z;){var de=d[V];m>0&&E(de)?m>1?wr(de,m-1,E,D,I):Yo(I,de):D||(I[I.length]=de)}return I}var Du=iw(),Kp=iw(!0);function mi(d,m){return d&&Du(d,m,Ln)}function gi(d,m){return d&&Kp(d,m,Ln)}function Rl(d,m){return $r(m,function(E){return os(d[E])})}function Ol(d,m){m=Ws(m,d);for(var E=0,D=m.length;d!=null&&E<D;)d=d[Qa(m[E++])];return E&&E==D?d:n}function Zp(d,m,E){var D=m(d);return Ot(d)?D:Yo(D,E(d))}function Hr(d){return d==null?d===n?at:$e:bl&&bl in ln(d)?sa(d):pw(d)}function Rd(d,m){return d>m}function BE(d,m){return d!=null&&Yt.call(d,m)}function Zy(d,m){return d!=null&&m in ln(d)}function Jp(d,m,E){return d>=Br(m,E)&&d<tn(m,E)}function Od(d,m,E){for(var D=E?_c:ya,I=d[0].length,V=d.length,Z=V,de=Te(V),be=1/0,ze=[];Z--;){var Ie=d[Z];Z&&m&&(Ie=Mn(Ie,ba(m))),be=Br(Ie.length,be),de[Z]=!E&&(m||I>=120&&Ie.length>=120)?new Xo(Z&&Ie):n}Ie=d[0];var Ue=-1,We=de[0];e:for(;++Ue<I&&ze.length<be;){var it=Ie[Ue],ut=m?m(it):it;if(it=E||it!==0?it:0,!(We?Sa(We,ut):D(ze,ut,E))){for(Z=V;--Z;){var Mt=de[Z];if(!(Mt?Sa(Mt,ut):D(d[Z],ut,E)))continue e}We&&We.push(ut),ze.push(it)}}return ze}function em(d,m,E,D){return mi(d,function(I,V,Z){m(D,E(I),V,Z)}),D}function Tl(d,m,E){m=Ws(m,d),d=Ob(d,m);var D=d==null?d:d[Qa(Aa(m))];return D==null?n:Zn(D,d,E)}function Td(d){return Bn(d)&&Hr(d)==Se}function Jy(d){return Bn(d)&&Hr(d)==mn}function HE(d){return Bn(d)&&Hr(d)==Ne}function jc(d,m,E,D,I){return d===m?!0:d==null||m==null||!Bn(d)&&!Bn(m)?d!==d&&m!==m:eb(d,m,E,D,jc,I)}function eb(d,m,E,D,I,V){var Z=Ot(d),de=Ot(m),be=Z?Re:oi(d),ze=de?Re:oi(m);be=be==Se?ct:be,ze=ze==Se?ct:ze;var Ie=be==ct,Ue=ze==ct,We=be==ze;if(We&&zu(d)){if(!zu(m))return!1;Z=!0,Ie=!1}if(We&&!Ie)return V||(V=new ai),Z||Pl(d)?Pd(d,m,E,D,I,V):_j(d,m,be,E,D,I,V);if(!(E&R)){var it=Ie&&Yt.call(d,"__wrapped__"),ut=Ue&&Yt.call(m,"__wrapped__");if(it||ut){var Mt=it?d.value():d,lt=ut?m.value():m;return V||(V=new ai),I(Mt,lt,E,D,V)}}return We?(V||(V=new ai),sw(d,m,E,D,I,V)):!1}function FE(d){return Bn(d)&&oi(d)==He}function Lc(d,m,E,D){var I=E.length,V=I,Z=!D;if(d==null)return!V;for(d=ln(d);I--;){var de=E[I];if(Z&&de[2]?de[1]!==d[de[0]]:!(de[0]in d))return!1}for(;++I<V;){de=E[I];var be=de[0],ze=d[be],Ie=de[1];if(Z&&de[2]){if(ze===n&&!(be in d))return!1}else{var Ue=new ai;if(D)var We=D(ze,Ie,be,d,m,Ue);if(!(We===n?jc(Ie,ze,R|O,D,Ue):We))return!1}}return!0}function tb(d){if(!Un(d)||cw(d))return!1;var m=os(d)?Wo:vn;return m.test(ju(d))}function nb(d){return Bn(d)&&Hr(d)==yt}function VE(d){return Bn(d)&&oi(d)==mt}function YE(d){return Bn(d)&&Vc(d.length)&&!!kn[Hr(d)]}function tm(d){return typeof d=="function"?d:d==null?Ui:typeof d=="object"?Ot(d)?WE(d[0],d[1]):im(d):AR(d)}function nm(d){if(!Qs(d))return PE(d);var m=[];for(var E in ln(d))Yt.call(d,E)&&E!="constructor"&&m.push(E);return m}function GE(d){if(!Un(d))return Ej(d);var m=Qs(d),E=[];for(var D in d)D=="constructor"&&(m||!Yt.call(d,D))||E.push(D);return E}function Ys(d,m){return d<m}function rm(d,m){var E=-1,D=bi(d)?Te(d.length):[];return Vs(d,function(I,V,Z){D[++E]=m(I,V,Z)}),D}function im(d){var m=_b(d);return m.length==1&&m[0][2]?Ld(m[0][0],m[0][1]):function(E){return E===d||Lc(E,d,m)}}function WE(d,m){return Tm(d)&&Rb(m)?Ld(Qa(d),m):function(E){var D=yr(E,d);return D===n&&D===m?cn(E,d):jc(m,D,R|O)}}function am(d,m,E,D,I){d!==m&&Du(m,function(V,Z){if(I||(I=new ai),Un(V))XE(d,m,Z,E,am,D,I);else{var de=D?D(xm(d,Z),V,Z+"",d,m,I):n;de===n&&(de=V),Wp(d,Z,de)}},br)}function XE(d,m,E,D,I,V,Z){var de=xm(d,E),be=xm(m,E),ze=Z.get(be);if(ze){Wp(d,E,ze);return}var Ie=V?V(de,be,E+"",d,m,Z):n,Ue=Ie===n;if(Ue){var We=Ot(be),it=!We&&zu(be),ut=!We&&!it&&Pl(be);Ie=be,We||it||ut?Ot(de)?Ie=de:or(de)?Ie=vi(de):it?(Ue=!1,Ie=cb(be,!0)):ut?(Ue=!1,Ie=vm(be,!0)):Ie=[]:Yc(be)||$u(be)?(Ie=de,$u(de)?Ie=uR(de):(!Un(de)||os(de))&&(Ie=_o(be))):Ue=!1}Ue&&(Z.set(be,Ie),I(Ie,be,D,V,Z),Z.delete(be)),Wp(d,E,Ie)}function Ic(d,m){var E=d.length;if(E)return m+=m<0?E:0,ts(m,E)?d[m]:n}function om(d,m,E){m.length?m=Mn(m,function(V){return Ot(V)?function(Z){return Ol(Z,V.length===1?V[0]:V)}:V}):m=[Ui];var D=-1;m=Mn(m,ba(vt()));var I=rm(d,function(V,Z,de){var be=Mn(m,function(ze){return ze(V)});return{criteria:be,index:++D,value:V}});return hl(I,function(V,Z){return Xs(V,Z,E)})}function sm(d,m){return rb(d,m,function(E,D){return cn(d,D)})}function rb(d,m,E){for(var D=-1,I=m.length,V={};++D<I;){var Z=m[D],de=Ol(d,Z);E(de,Z)&&Mu(V,Ws(Z,d),de)}return V}function QE(d){return function(m){return Ol(m,d)}}function xd(d,m,E,D){var I=D?Dp:bu,V=-1,Z=m.length,de=d;for(d===m&&(m=vi(m)),E&&(de=Mn(d,ba(E)));++V<Z;)for(var be=0,ze=m[V],Ie=E?E(ze):ze;(be=I(de,Ie,be,D))>-1;)de!==d&&hd.call(de,be,1),hd.call(d,be,1);return d}function um(d,m){for(var E=d?m.length:0,D=E-1;E--;){var I=m[E];if(E==D||I!==V){var V=I;ts(I)?hd.call(d,I,1):fm(d,I)}}return d}function lm(d,m){return d+gd(Tc()*(m-d+1))}function KE(d,m,E,D){for(var I=-1,V=tn(md((m-d)/(E||1)),0),Z=Te(V);V--;)Z[D?V:++I]=d,d+=E;return Z}function Gs(d,m){var E="";if(!d||m<1||m>_e)return E;do m%2&&(E+=d),m=gd(m/2),m&&(d+=d);while(m);return E}function $t(d,m){return ns(ua(d,m,Ui),d+"")}function ZE(d){return Ed(_i(d))}function JE(d,m){var E=_i(d);return rs(E,Cu(m,0,E.length))}function Mu(d,m,E,D){if(!Un(d))return d;m=Ws(m,d);for(var I=-1,V=m.length,Z=V-1,de=d;de!=null&&++I<V;){var be=Qa(m[I]),ze=E;if(be==="__proto__"||be==="constructor"||be==="prototype")return d;if(I!=Z){var Ie=de[be];ze=D?D(Ie,be,de):n,ze===n&&(ze=Un(Ie)?Ie:ts(m[I+1])?[]:{})}Pc(de,be,ze),de=de[be]}return d}var ib=vd?function(d,m){return vd.set(d,m),d}:Ui,ab=pd?function(d,m){return pd(d,"toString",{configurable:!0,enumerable:!1,value:Jd(m),writable:!0})}:Ui;function ob(d){return rs(_i(d))}function aa(d,m,E){var D=-1,I=d.length;m<0&&(m=-m>I?0:I+m),E=E>I?I:E,E<0&&(E+=I),I=m>E?0:E-m>>>0,m>>>=0;for(var V=Te(I);++D<I;)V[D]=d[D+m];return V}function yj(d,m){var E;return Vs(d,function(D,I,V){return E=m(D,I,V),!E}),!!E}function Rr(d,m,E){var D=0,I=d==null?D:d.length;if(typeof m=="number"&&m===m&&I<=re){for(;D<I;){var V=D+I>>>1,Z=d[V];Z!==null&&!Si(Z)&&(E?Z<=m:Z<m)?D=V+1:I=V}return I}return cm(d,m,Ui,E)}function cm(d,m,E,D){var I=0,V=d==null?0:d.length;if(V===0)return 0;m=E(m);for(var Z=m!==m,de=m===null,be=Si(m),ze=m===n;I<V;){var Ie=gd((I+V)/2),Ue=E(d[Ie]),We=Ue!==n,it=Ue===null,ut=Ue===Ue,Mt=Si(Ue);if(Z)var lt=D||ut;else ze?lt=ut&&(D||We):de?lt=ut&&We&&(D||!it):be?lt=ut&&We&&!it&&(D||!Mt):it||Mt?lt=!1:lt=D?Ue<=m:Ue<m;lt?I=Ie+1:V=Ie}return Br(V,te)}function sb(d,m){for(var E=-1,D=d.length,I=0,V=[];++E<D;){var Z=d[E],de=m?m(Z):Z;if(!E||!wo(de,be)){var be=de;V[I++]=Z===0?0:Z}}return V}function ub(d){return typeof d=="number"?d:Si(d)?X:+d}function oa(d){if(typeof d=="string")return d;if(Ot(d))return Mn(d,oa)+"";if(Si(d))return Iy?Iy.call(d):"";var m=d+"";return m=="0"&&1/d==-ie?"-0":m}function Wa(d,m,E){var D=-1,I=ya,V=d.length,Z=!0,de=[],be=de;if(E)Z=!1,I=_c;else if(V>=o){var ze=m?null:Sj(d);if(ze)return fd(ze);Z=!1,I=Sa,be=new Xo}else be=m?[]:de;e:for(;++D<V;){var Ie=d[D],Ue=m?m(Ie):Ie;if(Ie=E||Ie!==0?Ie:0,Z&&Ue===Ue){for(var We=be.length;We--;)if(be[We]===Ue)continue e;m&&be.push(Ue),de.push(Ie)}else I(be,Ue,E)||(be!==de&&be.push(Ue),de.push(Ie))}return de}function fm(d,m){m=Ws(m,d);var E=-1,D=m.length;if(!D)return!0;for(;++E<D;){var I=Qa(m[E]);if(I==="__proto__"&&!Yt.call(d,"__proto__")||(I==="constructor"||I==="prototype")&&E<D-1)return!1}var V=Ob(d,m);return V==null||delete V[Qa(Aa(m))]}function Ad(d,m,E,D){return Mu(d,m,E(Ol(d,m)),D)}function Cd(d,m,E,D){for(var I=d.length,V=D?I:-1;(D?V--:++V<I)&&m(d[V],V,d););return E?aa(d,D?0:V,D?V+1:I):aa(d,D?V+1:0,D?I:V)}function ew(d,m){var E=d;return E instanceof Gt&&(E=E.value()),Va(m,function(D,I){return I.func.apply(I.thisArg,Yo([D],I.args))},E)}function $c(d,m,E){var D=d.length;if(D<2)return D?Wa(d[0]):[];for(var I=-1,V=Te(D);++I<D;)for(var Z=d[I],de=-1;++de<D;)de!=I&&(V[I]=El(V[I]||Z,d[de],m,E));return Wa(wr(V,1),m,E)}function dm(d,m,E){for(var D=-1,I=d.length,V=m.length,Z={};++D<I;){var de=D<V?m[D]:n;E(Z,d[D],de)}return Z}function hm(d){return or(d)?d:[]}function pm(d){return typeof d=="function"?d:Ui}function Ws(d,m){return Ot(d)?d:Tm(d,m)?[d]:Ml(Sn(d))}var lb=$t;function Qo(d,m,E){var D=d.length;return E=E===n?D:E,!m&&E>=D?d:aa(d,m,E)}var mm=vj||function(d){return ri.clearTimeout(d)};function cb(d,m){if(m)return d.slice();var E=d.length,D=qp?qp(E):new d.constructor(E);return d.copy(D),D}function Dd(d){var m=new d.constructor(d.byteLength);return new Ta(m).set(new Ta(d)),m}function gm(d,m){var E=m?Dd(d.buffer):d.buffer;return new d.constructor(E,d.byteOffset,d.byteLength)}function fb(d){var m=new d.constructor(d.source,hi.exec(d));return m.lastIndex=d.lastIndex,m}function tw(d){return Hs?ln(Hs.call(d)):{}}function vm(d,m){var E=m?Dd(d.buffer):d.buffer;return new d.constructor(E,d.byteOffset,d.length)}function db(d,m){if(d!==m){var E=d!==n,D=d===null,I=d===d,V=Si(d),Z=m!==n,de=m===null,be=m===m,ze=Si(m);if(!de&&!ze&&!V&&d>m||V&&Z&&be&&!de&&!ze||D&&Z&&be||!E&&be||!I)return 1;if(!D&&!V&&!ze&&d<m||ze&&E&&I&&!D&&!V||de&&E&&I||!Z&&I||!be)return-1}return 0}function Xs(d,m,E){for(var D=-1,I=d.criteria,V=m.criteria,Z=I.length,de=E.length;++D<Z;){var be=db(I[D],V[D]);if(be){if(D>=de)return be;var ze=E[D];return be*(ze=="desc"?-1:1)}}return d.index-m.index}function ym(d,m,E,D){for(var I=-1,V=d.length,Z=E.length,de=-1,be=m.length,ze=tn(V-Z,0),Ie=Te(be+ze),Ue=!D;++de<be;)Ie[de]=m[de];for(;++I<Z;)(Ue||I<V)&&(Ie[E[I]]=d[I]);for(;ze--;)Ie[de++]=d[I++];return Ie}function nw(d,m,E,D){for(var I=-1,V=d.length,Z=-1,de=E.length,be=-1,ze=m.length,Ie=tn(V-de,0),Ue=Te(Ie+ze),We=!D;++I<Ie;)Ue[I]=d[I];for(var it=I;++be<ze;)Ue[it+be]=m[be];for(;++Z<de;)(We||I<V)&&(Ue[it+E[Z]]=d[I++]);return Ue}function vi(d,m){var E=-1,D=d.length;for(m||(m=Te(D));++E<D;)m[E]=d[E];return m}function Fr(d,m,E,D){var I=!E;E||(E={});for(var V=-1,Z=m.length;++V<Z;){var de=m[V],be=D?D(E[de],d[de],de,E,d):n;be===n&&(be=d[de]),I?yo(E,de,be):Pc(E,de,be)}return E}function hb(d,m){return Fr(d,Om(d),m)}function rw(d,m){return Fr(d,$i(d),m)}function xl(d,m){return function(E,D){var I=Ot(E)?pj:Gy,V=m?m():{};return I(E,d,vt(D,2),V)}}function Ko(d){return $t(function(m,E){var D=-1,I=E.length,V=I>1?E[I-1]:n,Z=I>2?E[2]:n;for(V=d.length>3&&typeof V=="function"?(I--,V):n,Z&&Or(E[0],E[1],Z)&&(V=I<3?n:V,I=1),m=ln(m);++D<I;){var de=E[D];de&&d(m,de,D,V)}return m})}function Tn(d,m){return function(E,D){if(E==null)return E;if(!bi(E))return d(E,D);for(var I=E.length,V=m?I:-1,Z=ln(E);(m?V--:++V<I)&&D(Z[V],V,Z)!==!1;);return E}}function iw(d){return function(m,E,D){for(var I=-1,V=ln(m),Z=D(m),de=Z.length;de--;){var be=Z[d?de:++I];if(E(V[be],be,V)===!1)break}return m}}function bj(d,m,E){var D=m&T,I=zc(d);function V(){var Z=this&&this!==ri&&this instanceof V?I:d;return Z.apply(D?E:this,arguments)}return V}function pb(d){return function(m){m=Sn(m);var E=qr(m)?Ur(m):n,D=E?E[0]:m.charAt(0),I=E?Qo(E,1).join(""):m.slice(1);return D[d]()+I}}function Ii(d){return function(m){return Va(vR(Km(m).replace(gE,"")),d,"")}}function zc(d){return function(){var m=arguments;switch(m.length){case 0:return new d;case 1:return new d(m[0]);case 2:return new d(m[0],m[1]);case 3:return new d(m[0],m[1],m[2]);case 4:return new d(m[0],m[1],m[2],m[3]);case 5:return new d(m[0],m[1],m[2],m[3],m[4]);case 6:return new d(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new d(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var E=_l(d.prototype),D=d.apply(E,m);return Un(D)?D:E}}function mb(d,m,E){var D=zc(d);function I(){for(var V=arguments.length,Z=Te(V),de=V,be=Cl(I);de--;)Z[de]=arguments[de];var ze=V<3&&Z[0]!==be&&Z[V-1]!==be?[]:zs(Z,be);if(V-=ze.length,V<E)return bo(d,m,Md,I.placeholder,n,Z,ze,n,n,E-V);var Ie=this&&this!==ri&&this instanceof I?D:d;return Zn(Ie,this,Z)}return I}function qc(d){return function(m,E,D){var I=ln(m);if(!bi(m)){var V=vt(E,3);m=Ln(m),E=function(de){return V(I[de],de,I)}}var Z=d(m,E,D);return Z>-1?I[V?m[Z]:Z]:n}}function Al(d){return Zo(function(m){var E=m.length,D=E,I=ra.prototype.thru;for(d&&m.reverse();D--;){var V=m[D];if(typeof V!="function")throw new _a(l);if(I&&!Z&&Xa(V)=="wrapper")var Z=new ra([],!0)}for(D=Z?D:E;++D<E;){V=m[D];var de=Xa(V),be=de=="wrapper"?Rm(V):n;be&&ku(be[0])&&be[1]==(U|C|L|G)&&!be[4].length&&be[9]==1?Z=Z[Xa(be[0])].apply(Z,be[3]):Z=V.length==1&&ku(V)?Z[de]():Z.thru(V)}return function(){var ze=arguments,Ie=ze[0];if(Z&&ze.length==1&&Ot(Ie))return Z.plant(Ie).value();for(var Ue=0,We=E?m[Ue].apply(this,ze):Ie;++Ue<E;)We=m[Ue].call(this,We);return We}})}function Md(d,m,E,D,I,V,Z,de,be,ze){var Ie=m&U,Ue=m&T,We=m&M,it=m&(C|k),ut=m&B,Mt=We?n:zc(d);function lt(){for(var Qt=arguments.length,Kt=Te(Qt),Hi=Qt;Hi--;)Kt[Hi]=arguments[Hi];if(it)var Cr=Cl(lt),wi=jp(Kt,Cr);if(D&&(Kt=ym(Kt,D,I,it)),V&&(Kt=nw(Kt,V,Z,it)),Qt-=wi,it&&Qt<ze){var sr=zs(Kt,Cr);return bo(d,m,Md,lt.placeholder,E,Kt,sr,de,be,ze-Qt)}var Ro=Ue?E:this,Zs=We?Ro[d]:d;return Qt=Kt.length,de?Kt=Jn(Kt,de):ut&&Qt>1&&Kt.reverse(),Ie&&be<Qt&&(Kt.length=be),this&&this!==ri&&this instanceof lt&&(Zs=Mt||zc(Zs)),Zs.apply(Ro,Kt)}return lt}function bm(d,m){return function(E,D){return em(E,d,m(D),{})}}function Nd(d,m){return function(E,D){var I;if(E===n&&D===n)return m;if(E!==n&&(I=E),D!==n){if(I===n)return D;typeof E=="string"||typeof D=="string"?(E=oa(E),D=oa(D)):(E=ub(E),D=ub(D)),I=d(E,D)}return I}}function gb(d){return Zo(function(m){return m=Mn(m,ba(vt())),$t(function(E){var D=this;return d(m,function(I){return Zn(I,D,E)})})})}function Sm(d,m){m=m===n?" ":oa(m);var E=m.length;if(E<2)return E?Gs(m,d):m;var D=Gs(m,md(d/qs(m)));return qr(m)?Qo(Ur(D),0,d).join(""):D.slice(0,d)}function aw(d,m,E,D){var I=m&T,V=zc(d);function Z(){for(var de=-1,be=arguments.length,ze=-1,Ie=D.length,Ue=Te(Ie+be),We=this&&this!==ri&&this instanceof Z?V:d;++ze<Ie;)Ue[ze]=D[ze];for(;be--;)Ue[ze++]=arguments[++de];return Zn(We,I?E:this,Ue)}return Z}function ow(d){return function(m,E,D){return D&&typeof D!="number"&&Or(m,E,D)&&(E=D=n),m=Za(m),E===n?(E=m,m=0):E=Za(E),D=D===n?m<E?1:-1:Za(D),KE(m,E,D,d)}}function Nu(d){return function(m,E){return typeof m=="string"&&typeof E=="string"||(m=la(m),E=la(E)),d(m,E)}}function bo(d,m,E,D,I,V,Z,de,be,ze){var Ie=m&C,Ue=Ie?Z:n,We=Ie?n:Z,it=Ie?V:n,ut=Ie?n:V;m|=Ie?L:z,m&=~(Ie?z:L),m&P||(m&=-4);var Mt=[d,m,I,it,Ue,ut,We,de,be,ze],lt=E.apply(n,Mt);return ku(d)&&Tb(lt,Mt),lt.placeholder=D,Dl(lt,d,m)}function _m(d){var m=ir[d];return function(E,D){if(E=la(E),D=D==null?0:Br(Pt(D),292),D&&Bs(E)){var I=(Sn(E)+"e").split("e"),V=m(I[0]+"e"+(+I[1]+D));return I=(Sn(V)+"e").split("e"),+(I[0]+"e"+(+I[1]-D))}return m(E)}}var Sj=Sl&&1/fd(new Sl([,-0]))[1]==ie?function(d){return new Sl(d)}:rg;function vb(d){return function(m){var E=oi(m);return E==He?cd(m):E==mt?Su(m):TE(m,d(m))}}function So(d,m,E,D,I,V,Z,de){var be=m&M;if(!be&&typeof d!="function")throw new _a(l);var ze=D?D.length:0;if(ze||(m&=-97,D=I=n),Z=Z===n?Z:tn(Pt(Z),0),de=de===n?de:Pt(de),ze-=I?I.length:0,m&z){var Ie=D,Ue=I;D=I=n}var We=be?n:Rm(d),it=[d,m,E,D,I,Ie,Ue,V,Z,de];if(We&&hw(it,We),d=it[0],m=it[1],E=it[2],D=it[3],I=it[4],de=it[9]=it[9]===n?be?0:d.length:tn(it[9]-ze,0),!de&&m&(C|k)&&(m&=-25),!m||m==T)var ut=bj(d,m,E);else m==C||m==k?ut=mb(d,m,de):(m==L||m==(T|L))&&!I.length?ut=aw(d,m,E,D):ut=Md.apply(n,it);var Mt=We?ib:Tb;return Dl(Mt(ut,it),d,m)}function yb(d,m,E,D){return d===n||wo(d,Go[E])&&!Yt.call(D,E)?m:d}function Em(d,m,E,D,I,V){return Un(d)&&Un(m)&&(V.set(m,d),am(d,m,n,Em,V),V.delete(m)),d}function bb(d){return Yc(d)?n:d}function Pd(d,m,E,D,I,V){var Z=E&R,de=d.length,be=m.length;if(de!=be&&!(Z&&be>de))return!1;var ze=V.get(d),Ie=V.get(m);if(ze&&Ie)return ze==m&&Ie==d;var Ue=-1,We=!0,it=E&O?new Xo:n;for(V.set(d,m),V.set(m,d);++Ue<de;){var ut=d[Ue],Mt=m[Ue];if(D)var lt=Z?D(Mt,ut,Ue,m,d,V):D(ut,Mt,Ue,d,m,V);if(lt!==n){if(lt)continue;We=!1;break}if(it){if(!Cp(m,function(Qt,Kt){if(!Sa(it,Kt)&&(ut===Qt||I(ut,Qt,E,D,V)))return it.push(Kt)})){We=!1;break}}else if(!(ut===Mt||I(ut,Mt,E,D,V))){We=!1;break}}return V.delete(d),V.delete(m),We}function _j(d,m,E,D,I,V,Z){switch(E){case ot:if(d.byteLength!=m.byteLength||d.byteOffset!=m.byteOffset)return!1;d=d.buffer,m=m.buffer;case mn:return!(d.byteLength!=m.byteLength||!V(new Ta(d),new Ta(m)));case Le:case Ne:case ke:return wo(+d,+m);case Ce:return d.name==m.name&&d.message==m.message;case yt:case Dt:return d==m+"";case He:var de=cd;case mt:var be=D&R;if(de||(de=fd),d.size!=m.size&&!be)return!1;var ze=Z.get(d);if(ze)return ze==m;D|=O,Z.set(d,m);var Ie=Pd(de(d),de(m),D,I,V,Z);return Z.delete(d),Ie;case ht:if(Hs)return Hs.call(d)==Hs.call(m)}return!1}function sw(d,m,E,D,I,V){var Z=E&R,de=Sb(d),be=de.length,ze=Sb(m),Ie=ze.length;if(be!=Ie&&!Z)return!1;for(var Ue=be;Ue--;){var We=de[Ue];if(!(Z?We in m:Yt.call(m,We)))return!1}var it=V.get(d),ut=V.get(m);if(it&&ut)return it==m&&ut==d;var Mt=!0;V.set(d,m),V.set(m,d);for(var lt=Z;++Ue<be;){We=de[Ue];var Qt=d[We],Kt=m[We];if(D)var Hi=Z?D(Kt,Qt,We,m,d,V):D(Qt,Kt,We,d,m,V);if(!(Hi===n?Qt===Kt||I(Qt,Kt,E,D,V):Hi)){Mt=!1;break}lt||(lt=We=="constructor")}if(Mt&&!lt){var Cr=d.constructor,wi=m.constructor;Cr!=wi&&"constructor"in d&&"constructor"in m&&!(typeof Cr=="function"&&Cr instanceof Cr&&typeof wi=="function"&&wi instanceof wi)&&(Mt=!1)}return V.delete(d),V.delete(m),Mt}function Zo(d){return ns(ua(d,n,Db),d+"")}function Sb(d){return Zp(d,Ln,Om)}function wm(d){return Zp(d,br,$i)}var Rm=vd?function(d){return vd.get(d)}:rg;function Xa(d){for(var m=d.name+"",E=wu[m],D=Yt.call(wu,m)?E.length:0;D--;){var I=E[D],V=I.func;if(V==null||V==d)return I.name}return m}function Cl(d){var m=Yt.call(H,"placeholder")?H:d;return m.placeholder}function vt(){var d=H.iteratee||E0;return d=d===E0?tm:d,arguments.length?d(arguments[0],arguments[1]):d}function kd(d,m){var E=d.__data__;return jd(m)?E[typeof m=="string"?"string":"hash"]:E.map}function _b(d){for(var m=Ln(d),E=m.length;E--;){var D=m[E],I=d[D];m[E]=[D,I,Rb(I)]}return m}function Jo(d,m){var E=My(d,m);return tb(E)?E:n}function sa(d){var m=Yt.call(d,bl),E=d[bl];try{d[bl]=n;var D=!0}catch{}var I=yl.call(d);return D&&(m?d[bl]=E:delete d[bl]),I}var Om=Bp?function(d){return d==null?[]:(d=ln(d),$r(Bp(d),function(m){return mo.call(d,m)}))}:eh,$i=Bp?function(d){for(var m=[];d;)Yo(m,Om(d)),d=Oc(d);return m}:eh,oi=Hr;(xc&&oi(new xc(new ArrayBuffer(1)))!=ot||Ac&&oi(new Ac)!=He||Cc&&oi(Cc.resolve())!=At||Sl&&oi(new Sl)!=mt||Eu&&oi(new Eu)!=an)&&(oi=function(d){var m=Hr(d),E=m==ct?d.constructor:n,D=E?ju(E):"";if(D)switch(D){case Ly:return ot;case Ru:return He;case Ou:return At;case yd:return mt;case Vp:return an}return m});function es(d,m,E){for(var D=-1,I=E.length;++D<I;){var V=E[D],Z=V.size;switch(V.type){case"drop":d+=Z;break;case"dropRight":m-=Z;break;case"take":m=Br(m,d+Z);break;case"takeRight":d=tn(d,m-Z);break}}return{start:d,end:m}}function uw(d){var m=d.match(Ba);return m?m[1].split(Lr):[]}function Pu(d,m,E){m=Ws(m,d);for(var D=-1,I=m.length,V=!1;++D<I;){var Z=Qa(m[D]);if(!(V=d!=null&&E(d,Z)))break;d=d[Z]}return V||++D!=I?V:(I=d==null?0:d.length,!!I&&Vc(I)&&ts(Z,I)&&(Ot(d)||$u(d)))}function lw(d){var m=d.length,E=new d.constructor(m);return m&&typeof d[0]=="string"&&Yt.call(d,"index")&&(E.index=d.index,E.input=d.input),E}function _o(d){return typeof d.constructor=="function"&&!Qs(d)?_l(Oc(d)):{}}function Eb(d,m,E){var D=d.constructor;switch(m){case mn:return Dd(d);case Le:case Ne:return new D(+d);case ot:return gm(d,E);case St:case tr:case Lt:case Cn:case zn:case nr:case On:case Zt:case $:return vm(d,E);case He:return new D;case ke:case Dt:return new D(d);case yt:return fb(d);case mt:return new D;case ht:return tw(d)}}function wb(d,m){var E=m.length;if(!E)return d;var D=E-1;return m[D]=(E>1?"& ":"")+m[D],m=m.join(E>2?", ":" "),d.replace(Mi,`{
|
|
494
|
+
/* [wrapped with `+m+`] */
|
|
495
|
+
`)}function Eo(d){return Ot(d)||$u(d)||!!(go&&d&&d[go])}function ts(d,m){var E=typeof d;return m=m??_e,!!m&&(E=="number"||E!="symbol"&&mu.test(d))&&d>-1&&d%1==0&&d<m}function Or(d,m,E){if(!Un(E))return!1;var D=typeof m;return(D=="number"?bi(E)&&ts(m,E.length):D=="string"&&m in E)?wo(E[m],d):!1}function Tm(d,m){if(Ot(d))return!1;var E=typeof d;return E=="number"||E=="symbol"||E=="boolean"||d==null||Si(d)?!0:ma.test(d)||!ho.test(d)||m!=null&&d in ln(m)}function jd(d){var m=typeof d;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?d!=="__proto__":d===null}function ku(d){var m=Xa(d),E=H[m];if(typeof E!="function"||!(m in Gt.prototype))return!1;if(d===E)return!0;var D=Rm(E);return!!D&&d===D[0]}function cw(d){return!!Rc&&Rc in d}var fw=Ea?os:ag;function Qs(d){var m=d&&d.constructor,E=typeof m=="function"&&m.prototype||Go;return d===E}function Rb(d){return d===d&&!Un(d)}function Ld(d,m){return function(E){return E==null?!1:E[d]===m&&(m!==n||d in ln(E))}}function dw(d){var m=yi(d,function(D){return E.size===v&&E.clear(),D}),E=m.cache;return m}function hw(d,m){var E=d[1],D=m[1],I=E|D,V=I<(T|M|U),Z=D==U&&E==C||D==U&&E==G&&d[7].length<=m[8]||D==(U|G)&&m[7].length<=m[8]&&E==C;if(!(V||Z))return d;D&T&&(d[2]=m[2],I|=E&T?0:P);var de=m[3];if(de){var be=d[3];d[3]=be?ym(be,de,m[4]):de,d[4]=be?zs(d[3],b):m[4]}return de=m[5],de&&(be=d[5],d[5]=be?nw(be,de,m[6]):de,d[6]=be?zs(d[5],b):m[6]),de=m[7],de&&(d[7]=de),D&U&&(d[8]=d[8]==null?m[8]:Br(d[8],m[8])),d[9]==null&&(d[9]=m[9]),d[0]=m[0],d[1]=I,d}function Ej(d){var m=[];if(d!=null)for(var E in ln(d))m.push(E);return m}function pw(d){return yl.call(d)}function ua(d,m,E){return m=tn(m===n?d.length-1:m,0),function(){for(var D=arguments,I=-1,V=tn(D.length-m,0),Z=Te(V);++I<V;)Z[I]=D[m+I];I=-1;for(var de=Te(m+1);++I<m;)de[I]=D[I];return de[m]=E(Z),Zn(d,this,de)}}function Ob(d,m){return m.length<2?d:Ol(d,aa(m,0,-1))}function Jn(d,m){for(var E=d.length,D=Br(m.length,E),I=vi(d);D--;){var V=m[D];d[D]=ts(V,E)?I[V]:n}return d}function xm(d,m){if(!(m==="constructor"&&typeof d[m]=="function")&&m!="__proto__")return d[m]}var Tb=Am(ib),Id=Up||function(d,m){return ri.setTimeout(d,m)},ns=Am(ab);function Dl(d,m,E){var D=m+"";return ns(d,wb(D,mw(uw(D),E)))}function Am(d){var m=0,E=0;return function(){var D=Hp(),I=le-(D-E);if(E=D,I>0){if(++m>=oe)return arguments[0]}else m=0;return d.apply(n,arguments)}}function rs(d,m){var E=-1,D=d.length,I=D-1;for(m=m===n?D:m;++E<m;){var V=lm(E,I),Z=d[V];d[V]=d[E],d[E]=Z}return d.length=m,d}var Ml=dw(function(d){var m=[];return d.charCodeAt(0)===46&&m.push(""),d.replace(po,function(E,D,I,V){m.push(I?V.replace(Ir,"$1"):D||E)}),m});function Qa(d){if(typeof d=="string"||Si(d))return d;var m=d+"";return m=="0"&&1/d==-ie?"-0":m}function ju(d){if(d!=null){try{return $p.call(d)}catch{}try{return d+""}catch{}}return""}function mw(d,m){return ji(Ee,function(E){var D="_."+E[0];m&E[1]&&!ya(d,D)&&d.push(D)}),d.sort()}function xb(d){if(d instanceof Gt)return d.clone();var m=new ra(d.__wrapped__,d.__chain__);return m.__actions__=vi(d.__actions__),m.__index__=d.__index__,m.__values__=d.__values__,m}function Cm(d,m,E){(E?Or(d,m,E):m===n)?m=1:m=tn(Pt(m),0);var D=d==null?0:d.length;if(!D||m<1)return[];for(var I=0,V=0,Z=Te(md(D/m));I<D;)Z[V++]=aa(d,I,I+=m);return Z}function Dm(d){for(var m=-1,E=d==null?0:d.length,D=0,I=[];++m<E;){var V=d[m];V&&(I[D++]=V)}return I}function Ab(){var d=arguments.length;if(!d)return[];for(var m=Te(d-1),E=arguments[0],D=d;D--;)m[D-1]=arguments[D];return Yo(Ot(E)?vi(E):[E],wr(m,1))}var gw=$t(function(d,m){return or(d)?El(d,wr(m,1,or,!0)):[]}),wj=$t(function(d,m){var E=Aa(m);return or(E)&&(E=n),or(d)?El(d,wr(m,1,or,!0),vt(E,2)):[]}),Rj=$t(function(d,m){var E=Aa(m);return or(E)&&(E=n),or(d)?El(d,wr(m,1,or,!0),n,E):[]});function vw(d,m,E){var D=d==null?0:d.length;return D?(m=E||m===n?1:Pt(m),aa(d,m<0?0:m,D)):[]}function yw(d,m,E){var D=d==null?0:d.length;return D?(m=E||m===n?1:Pt(m),m=D-m,aa(d,0,m<0?0:m)):[]}function Oj(d,m){return d&&d.length?Cd(d,vt(m,3),!0,!0):[]}function Uc(d,m){return d&&d.length?Cd(d,vt(m,3),!0):[]}function Mm(d,m,E,D){var I=d==null?0:d.length;return I?(E&&typeof E!="number"&&Or(d,m,E)&&(E=0,D=I),qE(d,m,E,D)):[]}function Cb(d,m,E){var D=d==null?0:d.length;if(!D)return-1;var I=E==null?0:Pt(E);return I<0&&(I=tn(D+I,0)),ad(d,vt(m,3),I)}function Nm(d,m,E){var D=d==null?0:d.length;if(!D)return-1;var I=D-1;return E!==n&&(I=Pt(E),I=E<0?tn(D+I,0):Br(I,D-1)),ad(d,vt(m,3),I,!0)}function Db(d){var m=d==null?0:d.length;return m?wr(d,1):[]}function bw(d){var m=d==null?0:d.length;return m?wr(d,ie):[]}function Sw(d,m){var E=d==null?0:d.length;return E?(m=m===n?1:Pt(m),wr(d,m)):[]}function Tj(d){for(var m=-1,E=d==null?0:d.length,D={};++m<E;){var I=d[m];yo(D,I[0],I[1])}return D}function Mb(d){return d&&d.length?d[0]:n}function $d(d,m,E){var D=d==null?0:d.length;if(!D)return-1;var I=E==null?0:Pt(E);return I<0&&(I=tn(D+I,0)),bu(d,m,I)}function _w(d){var m=d==null?0:d.length;return m?aa(d,0,-1):[]}var Ew=$t(function(d){var m=Mn(d,hm);return m.length&&m[0]===d[0]?Od(m):[]}),gn=$t(function(d){var m=Aa(d),E=Mn(d,hm);return m===Aa(E)?m=n:E.pop(),E.length&&E[0]===d[0]?Od(E,vt(m,2)):[]}),Nb=$t(function(d){var m=Aa(d),E=Mn(d,hm);return m=typeof m=="function"?m:n,m&&E.pop(),E.length&&E[0]===d[0]?Od(E,n,m):[]});function xj(d,m){return d==null?"":NE.call(d,m)}function Aa(d){var m=d==null?0:d.length;return m?d[m-1]:n}function Aj(d,m,E){var D=d==null?0:d.length;if(!D)return-1;var I=D;return E!==n&&(I=Pt(E),I=I<0?tn(D+I,0):Br(I,D-1)),m===m?CE(d,m,I):ad(d,od,I,!0)}function Cj(d,m){return d&&d.length?Ic(d,Pt(m)):n}var Pb=$t(kb);function kb(d,m){return d&&d.length&&m&&m.length?xd(d,m):d}function ww(d,m,E){return d&&d.length&&m&&m.length?xd(d,m,vt(E,2)):d}function Rw(d,m,E){return d&&d.length&&m&&m.length?xd(d,m,n,E):d}var zd=Zo(function(d,m){var E=d==null?0:d.length,D=Qp(d,m);return um(d,Mn(m,function(I){return ts(I,E)?+I:I}).sort(db)),D});function Dj(d,m){var E=[];if(!(d&&d.length))return E;var D=-1,I=[],V=d.length;for(m=vt(m,3);++D<V;){var Z=d[D];m(Z,D,d)&&(E.push(Z),I.push(D))}return um(d,I),E}function jb(d){return d==null?d:kE.call(d)}function is(d,m,E){var D=d==null?0:d.length;return D?(E&&typeof E!="number"&&Or(d,m,E)?(m=0,E=D):(m=m==null?0:Pt(m),E=E===n?D:Pt(E)),aa(d,m,E)):[]}function qd(d,m){return Rr(d,m)}function Mj(d,m,E){return cm(d,m,vt(E,2))}function Lb(d,m){var E=d==null?0:d.length;if(E){var D=Rr(d,m);if(D<E&&wo(d[D],m))return D}return-1}function Ow(d,m){return Rr(d,m,!0)}function Tw(d,m,E){return cm(d,m,vt(E,2),!0)}function xw(d,m){var E=d==null?0:d.length;if(E){var D=Rr(d,m,!0)-1;if(wo(d[D],m))return D}return-1}function Ib(d){return d&&d.length?sb(d):[]}function Aw(d,m){return d&&d.length?sb(d,vt(m,2)):[]}function $b(d){var m=d==null?0:d.length;return m?aa(d,1,m):[]}function Cw(d,m,E){return d&&d.length?(m=E||m===n?1:Pt(m),aa(d,0,m<0?0:m)):[]}function Dw(d,m,E){var D=d==null?0:d.length;return D?(m=E||m===n?1:Pt(m),m=D-m,aa(d,m<0?0:m,D)):[]}function Nj(d,m){return d&&d.length?Cd(d,vt(m,3),!1,!0):[]}function Pm(d,m){return d&&d.length?Cd(d,vt(m,3)):[]}var Mw=$t(function(d){return Wa(wr(d,1,or,!0))}),Xt=$t(function(d){var m=Aa(d);return or(m)&&(m=n),Wa(wr(d,1,or,!0),vt(m,2))}),zb=$t(function(d){var m=Aa(d);return m=typeof m=="function"?m:n,Wa(wr(d,1,or,!0),n,m)});function qb(d){return d&&d.length?Wa(d):[]}function Nw(d,m){return d&&d.length?Wa(d,vt(m,2)):[]}function Ub(d,m){return m=typeof m=="function"?m:n,d&&d.length?Wa(d,n,m):[]}function Nl(d){if(!(d&&d.length))return[];var m=0;return d=$r(d,function(E){if(or(E))return m=tn(E.length,m),!0}),Pp(m,function(E){return Mn(d,zr(E))})}function Ud(d,m){if(!(d&&d.length))return[];var E=Nl(d);return m==null?E:Mn(E,function(D){return Zn(m,n,D)})}var Pj=$t(function(d,m){return or(d)?El(d,m):[]}),Pw=$t(function(d){return $c($r(d,or))}),Bb=$t(function(d){var m=Aa(d);return or(m)&&(m=n),$c($r(d,or),vt(m,2))}),Vr=$t(function(d){var m=Aa(d);return m=typeof m=="function"?m:n,$c($r(d,or),n,m)}),kj=$t(Nl);function as(d,m){return dm(d||[],m||[],Pc)}function kw(d,m){return dm(d||[],m||[],Mu)}var Lu=$t(function(d){var m=d.length,E=m>1?d[m-1]:n;return E=typeof E=="function"?(d.pop(),E):n,Ud(d,E)});function Hb(d){var m=H(d);return m.__chain__=!0,m}function xn(d,m){return m(d),d}function Bc(d,m){return m(d)}var si=Zo(function(d){var m=d.length,E=m?d[0]:0,D=this.__wrapped__,I=function(V){return Qp(V,d)};return m>1||this.__actions__.length||!(D instanceof Gt)||!ts(E)?this.thru(I):(D=D.slice(E,+E+(m?1:0)),D.__actions__.push({func:Bc,args:[I],thisArg:n}),new ra(D,this.__chain__).thru(function(V){return m&&!V.length&&V.push(n),V}))});function jj(){return Hb(this)}function jw(){return new ra(this.value(),this.__chain__)}function Fb(){this.__values__===n&&(this.__values__=Gm(this.value()));var d=this.__index__>=this.__values__.length,m=d?n:this.__values__[this.__index__++];return{done:d,value:m}}function Lw(){return this}function Ka(d){for(var m,E=this;E instanceof bd;){var D=xb(E);D.__index__=0,D.__values__=n,m?I.__wrapped__=D:m=D;var I=D;E=E.__wrapped__}return I.__wrapped__=d,m}function Iw(){var d=this.__wrapped__;if(d instanceof Gt){var m=d;return this.__actions__.length&&(m=new Gt(this)),m=m.reverse(),m.__actions__.push({func:Bc,args:[jb],thisArg:n}),new ra(m,this.__chain__)}return this.thru(jb)}function Vb(){return ew(this.__wrapped__,this.__actions__)}var $w=xl(function(d,m,E){Yt.call(d,E)?++d[E]:yo(d,E,1)});function Yb(d,m,E){var D=Ot(d)?Ty:kc;return E&&Or(d,m,E)&&(m=n),D(d,vt(m,3))}function zw(d,m){var E=Ot(d)?$r:UE;return E(d,vt(m,3))}var Lj=qc(Cb),qw=qc(Nm);function Ij(d,m){return wr(Lm(d,m),1)}function km(d,m){return wr(Lm(d,m),ie)}function Uw(d,m,E){return E=E===n?1:Pt(E),wr(Lm(d,m),E)}function Gb(d,m){var E=Ot(d)?ji:Vs;return E(d,vt(m,3))}function jm(d,m){var E=Ot(d)?Vo:Ky;return E(d,vt(m,3))}var $j=xl(function(d,m,E){Yt.call(d,E)?d[E].push(m):yo(d,E,[m])});function Bd(d,m,E,D){d=bi(d)?d:_i(d),E=E&&!D?Pt(E):0;var I=d.length;return E<0&&(E=tn(I+E,0)),Xd(d)?E<=I&&d.indexOf(m,E)>-1:!!I&&bu(d,m,E)>-1}var Hd=$t(function(d,m,E){var D=-1,I=typeof m=="function",V=bi(d)?Te(d.length):[];return Vs(d,function(Z){V[++D]=I?Zn(m,Z,E):Tl(Z,m,E)}),V}),zj=xl(function(d,m,E){yo(d,E,m)});function Lm(d,m){var E=Ot(d)?Mn:rm;return E(d,vt(m,3))}function qj(d,m,E,D){return d==null?[]:(Ot(m)||(m=m==null?[]:[m]),E=D?n:E,Ot(E)||(E=E==null?[]:[E]),om(d,m,E))}var Uj=xl(function(d,m,E){d[E?0:1].push(m)},function(){return[[],[]]});function Bw(d,m,E){var D=Ot(d)?Va:sd,I=arguments.length<3;return D(d,vt(m,4),E,I,Vs)}function Bj(d,m,E){var D=Ot(d)?mj:sd,I=arguments.length<3;return D(d,vt(m,4),E,I,Ky)}function Hw(d,m){var E=Ot(d)?$r:UE;return E(d,Fd(vt(m,3)))}function Iu(d){var m=Ot(d)?Ed:ZE;return m(d)}function Hj(d,m,E){(E?Or(d,m,E):m===n)?m=1:m=Pt(m);var D=Ot(d)?IE:JE;return D(d,m)}function Fj(d){var m=Ot(d)?$E:ob;return m(d)}function Fw(d){if(d==null)return 0;if(bi(d))return Xd(d)?qs(d):d.length;var m=oi(d);return m==He||m==mt?d.size:nm(d).length}function Vw(d,m,E){var D=Ot(d)?Cp:yj;return E&&Or(d,m,E)&&(m=n),D(d,vt(m,3))}var Vj=$t(function(d,m){if(d==null)return[];var E=m.length;return E>1&&Or(d,m[0],m[1])?m=[]:E>2&&Or(m[0],m[1],m[2])&&(m=[m[0]]),om(d,wr(m,1),[])}),Im=jy||function(){return ri.Date.now()};function Yj(d,m){if(typeof m!="function")throw new _a(l);return d=Pt(d),function(){if(--d<1)return m.apply(this,arguments)}}function Yw(d,m,E){return m=E?n:m,m=d&&m==null?d.length:m,So(d,U,n,n,n,n,m)}function Gw(d,m){var E;if(typeof m!="function")throw new _a(l);return d=Pt(d),function(){return--d>0&&(E=m.apply(this,arguments)),d<=1&&(m=n),E}}var Wb=$t(function(d,m,E){var D=T;if(E.length){var I=zs(E,Cl(Wb));D|=L}return So(d,D,m,E,I)}),$m=$t(function(d,m,E){var D=T|M;if(E.length){var I=zs(E,Cl($m));D|=L}return So(m,D,d,E,I)});function Ww(d,m,E){m=E?n:m;var D=So(d,C,n,n,n,n,n,m);return D.placeholder=Ww.placeholder,D}function Xw(d,m,E){m=E?n:m;var D=So(d,k,n,n,n,n,n,m);return D.placeholder=Xw.placeholder,D}function Xb(d,m,E){var D,I,V,Z,de,be,ze=0,Ie=!1,Ue=!1,We=!0;if(typeof d!="function")throw new _a(l);m=la(m)||0,Un(E)&&(Ie=!!E.leading,Ue="maxWait"in E,V=Ue?tn(la(E.maxWait)||0,m):V,We="trailing"in E?!!E.trailing:We);function it(sr){var Ro=D,Zs=I;return D=I=n,ze=sr,Z=d.apply(Zs,Ro),Z}function ut(sr){return ze=sr,de=Id(Qt,m),Ie?it(sr):Z}function Mt(sr){var Ro=sr-be,Zs=sr-ze,$R=m-Ro;return Ue?Br($R,V-Zs):$R}function lt(sr){var Ro=sr-be,Zs=sr-ze;return be===n||Ro>=m||Ro<0||Ue&&Zs>=V}function Qt(){var sr=Im();if(lt(sr))return Kt(sr);de=Id(Qt,Mt(sr))}function Kt(sr){return de=n,We&&D?it(sr):(D=I=n,Z)}function Hi(){de!==n&&mm(de),ze=0,D=be=I=de=n}function Cr(){return de===n?Z:Kt(Im())}function wi(){var sr=Im(),Ro=lt(sr);if(D=arguments,I=this,be=sr,Ro){if(de===n)return ut(be);if(Ue)return mm(de),de=Id(Qt,m),it(be)}return de===n&&(de=Id(Qt,m)),Z}return wi.cancel=Hi,wi.flush=Cr,wi}var Qb=$t(function(d,m){return Qy(d,1,m)}),Kb=$t(function(d,m,E){return Qy(d,la(m)||0,E)});function Gj(d){return So(d,B)}function yi(d,m){if(typeof d!="function"||m!=null&&typeof m!="function")throw new _a(l);var E=function(){var D=arguments,I=m?m.apply(this,D):D[0],V=E.cache;if(V.has(I))return V.get(I);var Z=d.apply(this,D);return E.cache=V.set(I,Z)||V,Z};return E.cache=new(yi.Cache||Fs),E}yi.Cache=Fs;function Fd(d){if(typeof d!="function")throw new _a(l);return function(){var m=arguments;switch(m.length){case 0:return!d.call(this);case 1:return!d.call(this,m[0]);case 2:return!d.call(this,m[0],m[1]);case 3:return!d.call(this,m[0],m[1],m[2])}return!d.apply(this,m)}}function Qw(d){return Gw(2,d)}var Zb=lb(function(d,m){m=m.length==1&&Ot(m[0])?Mn(m[0],ba(vt())):Mn(wr(m,1),ba(vt()));var E=m.length;return $t(function(D){for(var I=-1,V=Br(D.length,E);++I<V;)D[I]=m[I].call(this,D[I]);return Zn(d,this,D)})}),zm=$t(function(d,m){var E=zs(m,Cl(zm));return So(d,L,n,m,E)}),Kw=$t(function(d,m){var E=zs(m,Cl(Kw));return So(d,z,n,m,E)}),Wj=Zo(function(d,m){return So(d,G,n,n,n,m)});function Xj(d,m){if(typeof d!="function")throw new _a(l);return m=m===n?m:Pt(m),$t(d,m)}function Zw(d,m){if(typeof d!="function")throw new _a(l);return m=m==null?0:tn(Pt(m),0),$t(function(E){var D=E[m],I=Qo(E,0,m);return D&&Yo(I,D),Zn(d,this,I)})}function Qj(d,m,E){var D=!0,I=!0;if(typeof d!="function")throw new _a(l);return Un(E)&&(D="leading"in E?!!E.leading:D,I="trailing"in E?!!E.trailing:I),Xb(d,m,{leading:D,maxWait:m,trailing:I})}function Vd(d){return Yw(d,1)}function qm(d,m){return zm(pm(m),d)}function Jw(){if(!arguments.length)return[];var d=arguments[0];return Ot(d)?d:[d]}function eR(d){return Ga(d,x)}function Um(d,m){return m=typeof m=="function"?m:n,Ga(d,x,m)}function Hc(d){return Ga(d,S|x)}function Yd(d,m){return m=typeof m=="function"?m:n,Ga(d,S|x,m)}function tR(d,m){return m==null||Xy(d,m,Ln(m))}function wo(d,m){return d===m||d!==d&&m!==m}var Fc=Nu(Rd),Gd=Nu(function(d,m){return d>=m}),$u=Td((function(){return arguments})())?Td:function(d){return Bn(d)&&Yt.call(d,"callee")&&!mo.call(d,"callee")},Ot=Te.isArray,Jb=wy?ba(wy):Jy;function bi(d){return d!=null&&Vc(d.length)&&!os(d)}function or(d){return Bn(d)&&bi(d)}function nR(d){return d===!0||d===!1||Bn(d)&&Hr(d)==Le}var zu=ME||ag,rR=Ry?ba(Ry):HE;function Kj(d){return Bn(d)&&d.nodeType===1&&!Yc(d)}function Zj(d){if(d==null)return!0;if(bi(d)&&(Ot(d)||typeof d=="string"||typeof d.splice=="function"||zu(d)||Pl(d)||$u(d)))return!d.length;var m=oi(d);if(m==He||m==mt)return!d.size;if(Qs(d))return!nm(d).length;for(var E in d)if(Yt.call(d,E))return!1;return!0}function Bm(d,m){return jc(d,m)}function Hm(d,m,E){E=typeof E=="function"?E:n;var D=E?E(d,m):n;return D===n?jc(d,m,n,E):!!D}function e0(d){if(!Bn(d))return!1;var m=Hr(d);return m==Ce||m==De||typeof d.message=="string"&&typeof d.name=="string"&&!Yc(d)}function Jj(d){return typeof d=="number"&&Bs(d)}function os(d){if(!Un(d))return!1;var m=Hr(d);return m==Qe||m==Ve||m==Pe||m==Ye}function t0(d){return typeof d=="number"&&d==Pt(d)}function Vc(d){return typeof d=="number"&&d>-1&&d%1==0&&d<=_e}function Un(d){var m=typeof d;return d!=null&&(m=="object"||m=="function")}function Bn(d){return d!=null&&typeof d=="object"}var n0=Ap?ba(Ap):FE;function iR(d,m){return d===m||Lc(d,m,_b(m))}function eL(d,m,E){return E=typeof E=="function"?E:n,Lc(d,m,_b(m),E)}function tL(d){return Fm(d)&&d!=+d}function nL(d){if(fw(d))throw new wt(u);return tb(d)}function r0(d){return d===null}function i0(d){return d==null}function Fm(d){return typeof d=="number"||Bn(d)&&Hr(d)==ke}function Yc(d){if(!Bn(d)||Hr(d)!=ct)return!1;var m=Oc(d);if(m===null)return!0;var E=Yt.call(m,"constructor")&&m.constructor;return typeof E=="function"&&E instanceof E&&$p.call(E)==wa}var Vm=Oy?ba(Oy):nb;function Wd(d){return t0(d)&&d>=-_e&&d<=_e}var aR=vu?ba(vu):VE;function Xd(d){return typeof d=="string"||!Ot(d)&&Bn(d)&&Hr(d)==Dt}function Si(d){return typeof d=="symbol"||Bn(d)&&Hr(d)==ht}var Pl=yu?ba(yu):YE;function rL(d){return d===n}function Ym(d){return Bn(d)&&oi(d)==an}function oR(d){return Bn(d)&&Hr(d)==cr}var Gc=Nu(Ys),sR=Nu(function(d,m){return d<=m});function Gm(d){if(!d)return[];if(bi(d))return Xd(d)?Ur(d):vi(d);if(Us&&d[Us])return AE(d[Us]());var m=oi(d),E=m==He?cd:m==mt?fd:_i;return E(d)}function Za(d){if(!d)return d===0?d:0;if(d=la(d),d===ie||d===-ie){var m=d<0?-1:1;return m*ae}return d===d?d:0}function Pt(d){var m=Za(d),E=m%1;return m===m?E?m-E:m:0}function vr(d){return d?Cu(Pt(d),0,Q):0}function la(d){if(typeof d=="number")return d;if(Si(d))return X;if(Un(d)){var m=typeof d.valueOf=="function"?d.valueOf():d;d=Un(m)?m+"":m}if(typeof d!="string")return d===0?d:+d;d=Ay(d);var E=zo.test(d);return E||qo.test(d)?EE(d.slice(2),E?2:8):js.test(d)?X:+d}function uR(d){return Fr(d,br(d))}function zt(d){return d?Cu(Pt(d),-_e,_e):d===0?d:0}function Sn(d){return d==null?"":oa(d)}var ss=Ko(function(d,m){if(Qs(m)||bi(m)){Fr(m,Ln(m),d);return}for(var E in m)Yt.call(m,E)&&Pc(d,E,m[E])}),kl=Ko(function(d,m){Fr(m,br(m),d)}),jl=Ko(function(d,m,E,D){Fr(m,br(m),d,D)}),Wc=Ko(function(d,m,E,D){Fr(m,Ln(m),d,D)}),a0=Zo(Qp);function o0(d,m){var E=_l(d);return m==null?E:Xp(E,m)}var us=$t(function(d,m){d=ln(d);var E=-1,D=m.length,I=D>2?m[2]:n;for(I&&Or(m[0],m[1],I)&&(D=1);++E<D;)for(var V=m[E],Z=br(V),de=-1,be=Z.length;++de<be;){var ze=Z[de],Ie=d[ze];(Ie===n||wo(Ie,Go[ze])&&!Yt.call(d,ze))&&(d[ze]=V[ze])}return d}),Qd=$t(function(d){return d.push(n,Em),Zn(Xc,n,d)});function s0(d,m){return OE(d,vt(m,3),mi)}function u0(d,m){return OE(d,vt(m,3),gi)}function Wm(d,m){return d==null?d:Du(d,vt(m,3),br)}function Ca(d,m){return d==null?d:Kp(d,vt(m,3),br)}function l0(d,m){return d&&mi(d,vt(m,3))}function iL(d,m){return d&&gi(d,vt(m,3))}function lR(d){return d==null?[]:Rl(d,Ln(d))}function aL(d){return d==null?[]:Rl(d,br(d))}function yr(d,m,E){var D=d==null?n:Ol(d,m);return D===n?E:D}function Ae(d,m){return d!=null&&Pu(d,m,BE)}function cn(d,m){return d!=null&&Pu(d,m,Zy)}var oL=bm(function(d,m,E){m!=null&&typeof m.toString!="function"&&(m=yl.call(m)),d[m]=E},Jd(Ui)),c0=bm(function(d,m,E){m!=null&&typeof m.toString!="function"&&(m=yl.call(m)),Yt.call(d,m)?d[m].push(E):d[m]=[E]},vt),f0=$t(Tl);function Ln(d){return bi(d)?Gp(d):nm(d)}function br(d){return bi(d)?Gp(d,!0):GE(d)}function Kd(d,m){var E={};return m=vt(m,3),mi(d,function(D,I,V){yo(E,m(D,I,V),D)}),E}function qu(d,m){var E={};return m=vt(m,3),mi(d,function(D,I,V){yo(E,I,m(D,I,V))}),E}var Xm=Ko(function(d,m,E){am(d,m,E)}),Xc=Ko(function(d,m,E,D){am(d,m,E,D)}),cR=Zo(function(d,m){var E={};if(d==null)return E;var D=!1;m=Mn(m,function(V){return V=Ws(V,d),D||(D=V.length>1),V}),Fr(d,wm(d),E),D&&(E=Ga(E,S|_|x,bb));for(var I=m.length;I--;)fm(E,m[I]);return E});function fR(d,m){return d0(d,Fd(vt(m)))}var dR=Zo(function(d,m){return d==null?{}:sm(d,m)});function d0(d,m){if(d==null)return{};var E=Mn(wm(d),function(D){return[D]});return m=vt(m),rb(d,E,function(D,I){return m(D,I[0])})}function hR(d,m,E){m=Ws(m,d);var D=-1,I=m.length;for(I||(I=1,d=n);++D<I;){var V=d==null?n:d[Qa(m[D])];V===n&&(D=I,V=E),d=os(V)?V.call(d):V}return d}function pR(d,m,E){return d==null?d:Mu(d,m,E)}function mR(d,m,E,D){return D=typeof D=="function"?D:n,d==null?d:Mu(d,m,E,D)}var Qm=vb(Ln),h0=vb(br);function p0(d,m,E){var D=Ot(d),I=D||zu(d)||Pl(d);if(m=vt(m,4),E==null){var V=d&&d.constructor;I?E=D?new V:[]:Un(d)?E=os(V)?_l(Oc(d)):{}:E={}}return(I?ji:mi)(d,function(Z,de,be){return m(E,Z,de,be)}),E}function m0(d,m){return d==null?!0:fm(d,m)}function Da(d,m,E){return d==null?d:Ad(d,m,pm(E))}function ls(d,m,E,D){return D=typeof D=="function"?D:n,d==null?d:Ad(d,m,pm(E),D)}function _i(d){return d==null?[]:ld(d,Ln(d))}function g0(d){return d==null?[]:ld(d,br(d))}function sL(d,m,E){return E===n&&(E=m,m=n),E!==n&&(E=la(E),E=E===E?E:0),m!==n&&(m=la(m),m=m===m?m:0),Cu(la(d),m,E)}function uL(d,m,E){return m=Za(m),E===n?(E=m,m=0):E=Za(E),d=la(d),Jp(d,m,E)}function lL(d,m,E){if(E&&typeof E!="boolean"&&Or(d,m,E)&&(m=E=n),E===n&&(typeof m=="boolean"?(E=m,m=n):typeof d=="boolean"&&(E=d,d=n)),d===n&&m===n?(d=0,m=1):(d=Za(d),m===n?(m=d,d=0):m=Za(m)),d>m){var D=d;d=m,m=D}if(E||d%1||m%1){var I=Tc();return Br(d+I*(m-d+_E("1e-"+((I+"").length-1))),m)}return lm(d,m)}var Yr=Ii(function(d,m,E){return m=m.toLowerCase(),d+(E?gR(m):m)});function gR(d){return S0(Sn(d).toLowerCase())}function Km(d){return d=Sn(d),d&&d.replace(un,pl).replace(na,"")}function v0(d,m,E){d=Sn(d),m=oa(m);var D=d.length;E=E===n?D:Cu(Pt(E),0,D);var I=E;return E-=m.length,E>=0&&d.slice(E,I)==m}function Qc(d){return d=Sn(d),d&&Nt.test(d)?d.replace(gt,Dy):d}function cL(d){return d=Sn(d),d&&hr.test(d)?d.replace(dr,"\\$&"):d}var y0=Ii(function(d,m,E){return d+(E?"-":"")+m.toLowerCase()}),fL=Ii(function(d,m,E){return d+(E?" ":"")+m.toLowerCase()}),dL=pb("toLowerCase");function Kc(d,m,E){d=Sn(d),m=Pt(m);var D=m?qs(d):0;if(!m||D>=m)return d;var I=(m-D)/2;return Sm(gd(I),E)+d+Sm(md(I),E)}function Ei(d,m,E){d=Sn(d),m=Pt(m);var D=m?qs(d):0;return m&&D<m?d+Sm(m-D,E):d}function cs(d,m,E){d=Sn(d),m=Pt(m);var D=m?qs(d):0;return m&&D<m?Sm(m-D,E)+d:d}function fs(d,m,E){return E||m==null?m=0:m&&(m=+m),Fp(Sn(d).replace(ea,""),m||0)}function zi(d,m,E){return(E?Or(d,m,E):m===n)?m=1:m=Pt(m),Gs(Sn(d),m)}function hL(){var d=arguments,m=Sn(d[0]);return d.length<3?m:m.replace(d[1],d[2])}var pL=Ii(function(d,m,E){return d+(E?"_":"")+m.toLowerCase()});function Zm(d,m,E){return E&&typeof E!="number"&&Or(d,m,E)&&(m=E=n),E=E===n?Q:E>>>0,E?(d=Sn(d),d&&(typeof m=="string"||m!=null&&!Vm(m))&&(m=oa(m),!m&&qr(d))?Qo(Ur(d),0,E):d.split(m,E)):[]}var Jm=Ii(function(d,m,E){return d+(E?" ":"")+S0(m)});function eg(d,m,E){return d=Sn(d),E=E==null?0:Cu(Pt(E),0,d.length),m=oa(m),d.slice(E,E+m.length)==m}function Ja(d,m,E){var D=H.templateSettings;E&&Or(d,m,E)&&(m=n),d=Sn(d),m=Wc({},m,D,yb);var I=Wc({},m.imports,D.imports,yb),V=Ln(I),Z=ld(I,V);ji(V,function(lt){if(ga.test(lt))throw new wt(h)});var de,be,ze=0,Ie=m.interpolate||Qn,Ue="__p += '",We=Nn((m.escape||Qn).source+"|"+Ie.source+"|"+(Ie===ni?rr:Qn).source+"|"+(m.evaluate||Qn).source+"|$","g"),it="//# sourceURL="+(Yt.call(m,"sourceURL")?(m.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++fj+"]")+`
|
|
496
|
+
`;d.replace(We,function(lt,Qt,Kt,Hi,Cr,wi){return Kt||(Kt=Hi),Ue+=d.slice(ze,wi).replace(pi,xE),Qt&&(de=!0,Ue+=`' +
|
|
497
|
+
__e(`+Qt+`) +
|
|
498
|
+
'`),Cr&&(be=!0,Ue+=`';
|
|
499
|
+
`+Cr+`;
|
|
500
|
+
__p += '`),Kt&&(Ue+=`' +
|
|
501
|
+
((__t = (`+Kt+`)) == null ? '' : __t) +
|
|
502
|
+
'`),ze=wi+lt.length,lt}),Ue+=`';
|
|
503
|
+
`;var ut=Yt.call(m,"variable")&&m.variable;if(!ut)Ue=`with (obj) {
|
|
504
|
+
`+Ue+`
|
|
505
|
+
}
|
|
506
|
+
`;else if(ga.test(ut))throw new wt(c);Ue=(be?Ue.replace(ge,""):Ue).replace(qe,"$1").replace(Fe,"$1;"),Ue="function("+(ut||"obj")+`) {
|
|
507
|
+
`+(ut?"":`obj || (obj = {});
|
|
508
|
+
`)+"var __t, __p = ''"+(de?", __e = _.escape":"")+(be?`, __j = Array.prototype.join;
|
|
509
|
+
function print() { __p += __j.call(arguments, '') }
|
|
510
|
+
`:`;
|
|
511
|
+
`)+Ue+`return __p
|
|
512
|
+
}`;var Mt=_0(function(){return Jt(V,it+"return "+Ue).apply(n,Z)});if(Mt.source=Ue,e0(Mt))throw Mt;return Mt}function ds(d){return Sn(d).toLowerCase()}function Ks(d){return Sn(d).toUpperCase()}function tg(d,m,E){if(d=Sn(d),d&&(E||m===n))return Ay(d);if(!d||!(m=oa(m)))return d;var D=Ur(d),I=Ur(m),V=Cy(D,I),Z=kp(D,I)+1;return Qo(D,V,Z).join("")}function Uu(d,m,E){if(d=Sn(d),d&&(E||m===n))return d.slice(0,Ny(d)+1);if(!d||!(m=oa(m)))return d;var D=Ur(d),I=kp(D,Ur(m))+1;return Qo(D,0,I).join("")}function ui(d,m,E){if(d=Sn(d),d&&(E||m===n))return d.replace(ea,"");if(!d||!(m=oa(m)))return d;var D=Ur(d),I=Cy(D,Ur(m));return Qo(D,I).join("")}function qi(d,m){var E=Y,D=K;if(Un(m)){var I="separator"in m?m.separator:I;E="length"in m?Pt(m.length):E,D="omission"in m?oa(m.omission):D}d=Sn(d);var V=d.length;if(qr(d)){var Z=Ur(d);V=Z.length}if(E>=V)return d;var de=E-qs(D);if(de<1)return D;var be=Z?Qo(Z,0,de).join(""):d.slice(0,de);if(I===n)return be+D;if(Z&&(de+=be.length-de),Vm(I)){if(d.slice(de).search(I)){var ze,Ie=be;for(I.global||(I=Nn(I.source,Sn(hi.exec(I))+"g")),I.lastIndex=0;ze=I.exec(Ie);)var Ue=ze.index;be=be.slice(0,Ue===n?de:Ue)}}else if(d.indexOf(oa(I),de)!=de){var We=be.lastIndexOf(I);We>-1&&(be=be.slice(0,We))}return be+D}function Bu(d){return d=Sn(d),d&&rt.test(d)?d.replace(Ze,DE):d}var b0=Ii(function(d,m,E){return d+(E?" ":"")+m.toUpperCase()}),S0=pb("toUpperCase");function vR(d,m,E){return d=Sn(d),m=E?n:m,m===n?$s(d)?Py(d):xy(d):d.match(m)||[]}var _0=$t(function(d,m){try{return Zn(d,n,m)}catch(E){return e0(E)?E:new wt(E)}}),Zd=Zo(function(d,m){return ji(m,function(E){E=Qa(E),yo(d,E,Wb(d[E],d))}),d});function yR(d){var m=d==null?0:d.length,E=vt();return d=m?Mn(d,function(D){if(typeof D[1]!="function")throw new _a(l);return[E(D[0]),D[1]]}):[],$t(function(D){for(var I=-1;++I<m;){var V=d[I];if(Zn(V[0],this,D))return Zn(V[1],this,D)}})}function Ll(d){return zE(Ga(d,S))}function Jd(d){return function(){return d}}function mL(d,m){return d==null||d!==d?m:d}var gL=Al(),bR=Al(!0);function Ui(d){return d}function E0(d){return tm(typeof d=="function"?d:Ga(d,S))}function SR(d){return im(Ga(d,S))}function _R(d,m){return WE(d,Ga(m,S))}var ER=$t(function(d,m){return function(E){return Tl(E,d,m)}}),wR=$t(function(d,m){return function(E){return Tl(d,E,m)}});function ng(d,m,E){var D=Ln(m),I=Rl(m,D);E==null&&!(Un(m)&&(I.length||!D.length))&&(E=m,m=d,d=this,I=Rl(m,Ln(m)));var V=!(Un(E)&&"chain"in E)||!!E.chain,Z=os(d);return ji(I,function(de){var be=m[de];d[de]=be,Z&&(d.prototype[de]=function(){var ze=this.__chain__;if(V||ze){var Ie=d(this.__wrapped__),Ue=Ie.__actions__=vi(this.__actions__);return Ue.push({func:be,args:arguments,thisArg:d}),Ie.__chain__=ze,Ie}return be.apply(d,Yo([this.value()],arguments))})}),d}function RR(){return ri._===this&&(ri._=Ra),this}function rg(){}function OR(d){return d=Pt(d),$t(function(m){return Ic(m,d)})}var TR=gb(Mn),vL=gb(Ty),xR=gb(Cp);function AR(d){return Tm(d)?zr(Qa(d)):QE(d)}function yL(d){return function(m){return d==null?n:Ol(d,m)}}var CR=ow(),ig=ow(!0);function eh(){return[]}function ag(){return!1}function DR(){return{}}function bL(){return""}function SL(){return!0}function _L(d,m){if(d=Pt(d),d<1||d>_e)return[];var E=Q,D=Br(d,Q);m=vt(m),d-=Q;for(var I=Pp(D,m);++E<d;)m(E);return I}function MR(d){return Ot(d)?Mn(d,Qa):Si(d)?[d]:vi(Ml(Sn(d)))}function Zc(d){var m=++zp;return Sn(d)+m}var w0=Nd(function(d,m){return d+m},0),NR=_m("ceil"),PR=Nd(function(d,m){return d/m},1),kR=_m("floor");function og(d){return d&&d.length?wl(d,Ui,Rd):n}function Jc(d,m){return d&&d.length?wl(d,vt(m,2),Rd):n}function EL(d){return Mp(d,Ui)}function sg(d,m){return Mp(d,vt(m,2))}function jR(d){return d&&d.length?wl(d,Ui,Ys):n}function ef(d,m){return d&&d.length?wl(d,vt(m,2),Ys):n}var wL=Nd(function(d,m){return d*m},1),RL=_m("round"),LR=Nd(function(d,m){return d-m},0);function Bi(d){return d&&d.length?ud(d,Ui):0}function IR(d,m){return d&&d.length?ud(d,vt(m,2)):0}return H.after=Yj,H.ary=Yw,H.assign=ss,H.assignIn=kl,H.assignInWith=jl,H.assignWith=Wc,H.at=a0,H.before=Gw,H.bind=Wb,H.bindAll=Zd,H.bindKey=$m,H.castArray=Jw,H.chain=Hb,H.chunk=Cm,H.compact=Dm,H.concat=Ab,H.cond=yR,H.conforms=Ll,H.constant=Jd,H.countBy=$w,H.create=o0,H.curry=Ww,H.curryRight=Xw,H.debounce=Xb,H.defaults=us,H.defaultsDeep=Qd,H.defer=Qb,H.delay=Kb,H.difference=gw,H.differenceBy=wj,H.differenceWith=Rj,H.drop=vw,H.dropRight=yw,H.dropRightWhile=Oj,H.dropWhile=Uc,H.fill=Mm,H.filter=zw,H.flatMap=Ij,H.flatMapDeep=km,H.flatMapDepth=Uw,H.flatten=Db,H.flattenDeep=bw,H.flattenDepth=Sw,H.flip=Gj,H.flow=gL,H.flowRight=bR,H.fromPairs=Tj,H.functions=lR,H.functionsIn=aL,H.groupBy=$j,H.initial=_w,H.intersection=Ew,H.intersectionBy=gn,H.intersectionWith=Nb,H.invert=oL,H.invertBy=c0,H.invokeMap=Hd,H.iteratee=E0,H.keyBy=zj,H.keys=Ln,H.keysIn=br,H.map=Lm,H.mapKeys=Kd,H.mapValues=qu,H.matches=SR,H.matchesProperty=_R,H.memoize=yi,H.merge=Xm,H.mergeWith=Xc,H.method=ER,H.methodOf=wR,H.mixin=ng,H.negate=Fd,H.nthArg=OR,H.omit=cR,H.omitBy=fR,H.once=Qw,H.orderBy=qj,H.over=TR,H.overArgs=Zb,H.overEvery=vL,H.overSome=xR,H.partial=zm,H.partialRight=Kw,H.partition=Uj,H.pick=dR,H.pickBy=d0,H.property=AR,H.propertyOf=yL,H.pull=Pb,H.pullAll=kb,H.pullAllBy=ww,H.pullAllWith=Rw,H.pullAt=zd,H.range=CR,H.rangeRight=ig,H.rearg=Wj,H.reject=Hw,H.remove=Dj,H.rest=Xj,H.reverse=jb,H.sampleSize=Hj,H.set=pR,H.setWith=mR,H.shuffle=Fj,H.slice=is,H.sortBy=Vj,H.sortedUniq=Ib,H.sortedUniqBy=Aw,H.split=Zm,H.spread=Zw,H.tail=$b,H.take=Cw,H.takeRight=Dw,H.takeRightWhile=Nj,H.takeWhile=Pm,H.tap=xn,H.throttle=Qj,H.thru=Bc,H.toArray=Gm,H.toPairs=Qm,H.toPairsIn=h0,H.toPath=MR,H.toPlainObject=uR,H.transform=p0,H.unary=Vd,H.union=Mw,H.unionBy=Xt,H.unionWith=zb,H.uniq=qb,H.uniqBy=Nw,H.uniqWith=Ub,H.unset=m0,H.unzip=Nl,H.unzipWith=Ud,H.update=Da,H.updateWith=ls,H.values=_i,H.valuesIn=g0,H.without=Pj,H.words=vR,H.wrap=qm,H.xor=Pw,H.xorBy=Bb,H.xorWith=Vr,H.zip=kj,H.zipObject=as,H.zipObjectDeep=kw,H.zipWith=Lu,H.entries=Qm,H.entriesIn=h0,H.extend=kl,H.extendWith=jl,ng(H,H),H.add=w0,H.attempt=_0,H.camelCase=Yr,H.capitalize=gR,H.ceil=NR,H.clamp=sL,H.clone=eR,H.cloneDeep=Hc,H.cloneDeepWith=Yd,H.cloneWith=Um,H.conformsTo=tR,H.deburr=Km,H.defaultTo=mL,H.divide=PR,H.endsWith=v0,H.eq=wo,H.escape=Qc,H.escapeRegExp=cL,H.every=Yb,H.find=Lj,H.findIndex=Cb,H.findKey=s0,H.findLast=qw,H.findLastIndex=Nm,H.findLastKey=u0,H.floor=kR,H.forEach=Gb,H.forEachRight=jm,H.forIn=Wm,H.forInRight=Ca,H.forOwn=l0,H.forOwnRight=iL,H.get=yr,H.gt=Fc,H.gte=Gd,H.has=Ae,H.hasIn=cn,H.head=Mb,H.identity=Ui,H.includes=Bd,H.indexOf=$d,H.inRange=uL,H.invoke=f0,H.isArguments=$u,H.isArray=Ot,H.isArrayBuffer=Jb,H.isArrayLike=bi,H.isArrayLikeObject=or,H.isBoolean=nR,H.isBuffer=zu,H.isDate=rR,H.isElement=Kj,H.isEmpty=Zj,H.isEqual=Bm,H.isEqualWith=Hm,H.isError=e0,H.isFinite=Jj,H.isFunction=os,H.isInteger=t0,H.isLength=Vc,H.isMap=n0,H.isMatch=iR,H.isMatchWith=eL,H.isNaN=tL,H.isNative=nL,H.isNil=i0,H.isNull=r0,H.isNumber=Fm,H.isObject=Un,H.isObjectLike=Bn,H.isPlainObject=Yc,H.isRegExp=Vm,H.isSafeInteger=Wd,H.isSet=aR,H.isString=Xd,H.isSymbol=Si,H.isTypedArray=Pl,H.isUndefined=rL,H.isWeakMap=Ym,H.isWeakSet=oR,H.join=xj,H.kebabCase=y0,H.last=Aa,H.lastIndexOf=Aj,H.lowerCase=fL,H.lowerFirst=dL,H.lt=Gc,H.lte=sR,H.max=og,H.maxBy=Jc,H.mean=EL,H.meanBy=sg,H.min=jR,H.minBy=ef,H.stubArray=eh,H.stubFalse=ag,H.stubObject=DR,H.stubString=bL,H.stubTrue=SL,H.multiply=wL,H.nth=Cj,H.noConflict=RR,H.noop=rg,H.now=Im,H.pad=Kc,H.padEnd=Ei,H.padStart=cs,H.parseInt=fs,H.random=lL,H.reduce=Bw,H.reduceRight=Bj,H.repeat=zi,H.replace=hL,H.result=hR,H.round=RL,H.runInContext=ye,H.sample=Iu,H.size=Fw,H.snakeCase=pL,H.some=Vw,H.sortedIndex=qd,H.sortedIndexBy=Mj,H.sortedIndexOf=Lb,H.sortedLastIndex=Ow,H.sortedLastIndexBy=Tw,H.sortedLastIndexOf=xw,H.startCase=Jm,H.startsWith=eg,H.subtract=LR,H.sum=Bi,H.sumBy=IR,H.template=Ja,H.times=_L,H.toFinite=Za,H.toInteger=Pt,H.toLength=vr,H.toLower=ds,H.toNumber=la,H.toSafeInteger=zt,H.toString=Sn,H.toUpper=Ks,H.trim=tg,H.trimEnd=Uu,H.trimStart=ui,H.truncate=qi,H.unescape=Bu,H.uniqueId=Zc,H.upperCase=b0,H.upperFirst=S0,H.each=Gb,H.eachRight=jm,H.first=Mb,ng(H,(function(){var d={};return mi(H,function(m,E){Yt.call(H.prototype,E)||(d[E]=m)}),d})(),{chain:!1}),H.VERSION=i,ji(["bind","bindKey","curry","curryRight","partial","partialRight"],function(d){H[d].placeholder=H}),ji(["drop","take"],function(d,m){Gt.prototype[d]=function(E){E=E===n?1:tn(Pt(E),0);var D=this.__filtered__&&!m?new Gt(this):this.clone();return D.__filtered__?D.__takeCount__=Br(E,D.__takeCount__):D.__views__.push({size:Br(E,Q),type:d+(D.__dir__<0?"Right":"")}),D},Gt.prototype[d+"Right"]=function(E){return this.reverse()[d](E).reverse()}}),ji(["filter","map","takeWhile"],function(d,m){var E=m+1,D=E==fe||E==ue;Gt.prototype[d]=function(I){var V=this.clone();return V.__iteratees__.push({iteratee:vt(I,3),type:E}),V.__filtered__=V.__filtered__||D,V}}),ji(["head","last"],function(d,m){var E="take"+(m?"Right":"");Gt.prototype[d]=function(){return this[E](1).value()[0]}}),ji(["initial","tail"],function(d,m){var E="drop"+(m?"":"Right");Gt.prototype[d]=function(){return this.__filtered__?new Gt(this):this[E](1)}}),Gt.prototype.compact=function(){return this.filter(Ui)},Gt.prototype.find=function(d){return this.filter(d).head()},Gt.prototype.findLast=function(d){return this.reverse().find(d)},Gt.prototype.invokeMap=$t(function(d,m){return typeof d=="function"?new Gt(this):this.map(function(E){return Tl(E,d,m)})}),Gt.prototype.reject=function(d){return this.filter(Fd(vt(d)))},Gt.prototype.slice=function(d,m){d=Pt(d);var E=this;return E.__filtered__&&(d>0||m<0)?new Gt(E):(d<0?E=E.takeRight(-d):d&&(E=E.drop(d)),m!==n&&(m=Pt(m),E=m<0?E.dropRight(-m):E.take(m-d)),E)},Gt.prototype.takeRightWhile=function(d){return this.reverse().takeWhile(d).reverse()},Gt.prototype.toArray=function(){return this.take(Q)},mi(Gt.prototype,function(d,m){var E=/^(?:filter|find|map|reject)|While$/.test(m),D=/^(?:head|last)$/.test(m),I=H[D?"take"+(m=="last"?"Right":""):m],V=D||/^find/.test(m);I&&(H.prototype[m]=function(){var Z=this.__wrapped__,de=D?[1]:arguments,be=Z instanceof Gt,ze=de[0],Ie=be||Ot(Z),Ue=function(Qt){var Kt=I.apply(H,Yo([Qt],de));return D&&We?Kt[0]:Kt};Ie&&E&&typeof ze=="function"&&ze.length!=1&&(be=Ie=!1);var We=this.__chain__,it=!!this.__actions__.length,ut=V&&!We,Mt=be&&!it;if(!V&&Ie){Z=Mt?Z:new Gt(this);var lt=d.apply(Z,de);return lt.__actions__.push({func:Bc,args:[Ue],thisArg:n}),new ra(lt,We)}return ut&&Mt?d.apply(this,de):(lt=this.thru(Ue),ut?D?lt.value()[0]:lt.value():lt)})}),ji(["pop","push","shift","sort","splice","unshift"],function(d){var m=wc[d],E=/^(?:push|sort|unshift)$/.test(d)?"tap":"thru",D=/^(?:pop|shift)$/.test(d);H.prototype[d]=function(){var I=arguments;if(D&&!this.__chain__){var V=this.value();return m.apply(Ot(V)?V:[],I)}return this[E](function(Z){return m.apply(Ot(Z)?Z:[],I)})}}),mi(Gt.prototype,function(d,m){var E=H[m];if(E){var D=E.name+"";Yt.call(wu,D)||(wu[D]=[]),wu[D].push({name:m,func:E})}}),wu[Md(n,M).name]=[{name:"wrapper",func:n}],Gt.prototype.clone=xu,Gt.prototype.reverse=$y,Gt.prototype.value=jE,H.prototype.at=si,H.prototype.chain=jj,H.prototype.commit=jw,H.prototype.next=Fb,H.prototype.plant=Ka,H.prototype.reverse=Iw,H.prototype.toJSON=H.prototype.valueOf=H.prototype.value=Vb,H.prototype.first=H.prototype.head,Us&&(H.prototype[Us]=Lw),H}),_u=dd();dl?((dl.exports=_u)._=_u,Ey._=_u):ri._=_u}).call(lde)})(gy,gy.exports)),gy.exports}var fde=cde();const dde={"UTC -12:00":"Baker Island","UTC -11:00":"Pago Pago","UTC -10:00":"Honolulu","UTC -09:00":"Anchorage","UTC -08:00":"Los Angeles","UTC -07:00":"Denver","UTC -06:00":"Chicago","UTC -05:00":"New York","UTC -04:00":"Halifax","UTC -03:00":"Buenos Aires","UTC -02:00":"South Georgia","UTC -01:00":"Azores","UTC +00:00":"London","UTC +01:00":"Paris","UTC +02:00":"Cairo","UTC +03:00":"Riyadh","UTC +04:00":"Dubai","UTC +05:00":"Karachi","UTC +06:00":"Dhaka","UTC +07:00":"Bangkok","UTC +08:00":"Singapore","UTC +09:00":"Tokyo","UTC +10:00":"Sydney","UTC +11:00":"Noumea","UTC +12:00":"Auckland","UTC +13:00":"Apia","UTC +14:00":"Kiritimati"},hde=(e="")=>{const t=dde[e];return t?`${e} - ${t}`:e},h7=e=>(e==null?void 0:e.charAt(0).toUpperCase())||"",pde=(e="")=>{let t="";const n=(e==null?void 0:e.split(" "))||"";if(fde.size(n)){const i=(n==null?void 0:n.pop())||"";t=`${h7(n[0])}${h7(i)}`}return t};var B1={exports:{}},mde=B1.exports,p7;function gde(){return p7||(p7=1,(function(e,t){(function(n,i){e.exports=i()})(mde,(function(){var n,i,o=1e3,u=6e4,l=36e5,c=864e5,h=31536e6,p=2628e6,v=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,b=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,S={years:h,months:p,days:c,hours:l,minutes:u,seconds:o,milliseconds:1,weeks:6048e5},_=function(L){return L instanceof C},x=function(L,z,U){return new C(L,U,z.$l)},R=function(L){return i.p(L)+"s"},O=function(L){return L<0},T=function(L){return O(L)?Math.ceil(L):Math.floor(L)},M=function(L){return Math.abs(L)},P=function(L,z){return L?O(L)?{negative:!0,format:""+M(L)+z}:{negative:!1,format:""+L+z}:{negative:!1,format:""}},C=(function(){function L(U,G,B){var Y=this;if(this.$d={},this.$l=B,U===void 0&&(this.$ms=0,this.parseFromMilliseconds()),G)return x(U*S[R(G)],this);if(typeof U=="number")return this.$ms=U,this.parseFromMilliseconds(),this;if(typeof U=="object")return Object.keys(U).forEach((function(le){Y.$d[R(le)]=U[le]})),this.calMilliseconds(),this;if(typeof U=="string"){var K=U.match(v);if(K){var oe=K.slice(2).map((function(le){return le!=null?Number(le):0}));return this.$d.years=oe[0],this.$d.months=oe[1],this.$d.weeks=oe[2],this.$d.days=oe[3],this.$d.hours=oe[4],this.$d.minutes=oe[5],this.$d.seconds=oe[6],this.calMilliseconds(),this}}return this}var z=L.prototype;return z.calMilliseconds=function(){var U=this;this.$ms=Object.keys(this.$d).reduce((function(G,B){return G+(U.$d[B]||0)*S[B]}),0)},z.parseFromMilliseconds=function(){var U=this.$ms;this.$d.years=T(U/h),U%=h,this.$d.months=T(U/p),U%=p,this.$d.days=T(U/c),U%=c,this.$d.hours=T(U/l),U%=l,this.$d.minutes=T(U/u),U%=u,this.$d.seconds=T(U/o),U%=o,this.$d.milliseconds=U},z.toISOString=function(){var U=P(this.$d.years,"Y"),G=P(this.$d.months,"M"),B=+this.$d.days||0;this.$d.weeks&&(B+=7*this.$d.weeks);var Y=P(B,"D"),K=P(this.$d.hours,"H"),oe=P(this.$d.minutes,"M"),le=this.$d.seconds||0;this.$d.milliseconds&&(le+=this.$d.milliseconds/1e3,le=Math.round(1e3*le)/1e3);var fe=P(le,"S"),W=U.negative||G.negative||Y.negative||K.negative||oe.negative||fe.negative,ue=K.format||oe.format||fe.format?"T":"",ie=(W?"-":"")+"P"+U.format+G.format+Y.format+ue+K.format+oe.format+fe.format;return ie==="P"||ie==="-P"?"P0D":ie},z.toJSON=function(){return this.toISOString()},z.format=function(U){var G=U||"YYYY-MM-DDTHH:mm:ss",B={Y:this.$d.years,YY:i.s(this.$d.years,2,"0"),YYYY:i.s(this.$d.years,4,"0"),M:this.$d.months,MM:i.s(this.$d.months,2,"0"),D:this.$d.days,DD:i.s(this.$d.days,2,"0"),H:this.$d.hours,HH:i.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:i.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:i.s(this.$d.seconds,2,"0"),SSS:i.s(this.$d.milliseconds,3,"0")};return G.replace(b,(function(Y,K){return K||String(B[Y])}))},z.as=function(U){return this.$ms/S[R(U)]},z.get=function(U){var G=this.$ms,B=R(U);return B==="milliseconds"?G%=1e3:G=B==="weeks"?T(G/S[B]):this.$d[B],G||0},z.add=function(U,G,B){var Y;return Y=G?U*S[R(G)]:_(U)?U.$ms:x(U,this).$ms,x(this.$ms+Y*(B?-1:1),this)},z.subtract=function(U,G){return this.add(U,G,!0)},z.locale=function(U){var G=this.clone();return G.$l=U,G},z.clone=function(){return x(this.$ms,this)},z.humanize=function(U){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!U)},z.valueOf=function(){return this.asMilliseconds()},z.milliseconds=function(){return this.get("milliseconds")},z.asMilliseconds=function(){return this.as("milliseconds")},z.seconds=function(){return this.get("seconds")},z.asSeconds=function(){return this.as("seconds")},z.minutes=function(){return this.get("minutes")},z.asMinutes=function(){return this.as("minutes")},z.hours=function(){return this.get("hours")},z.asHours=function(){return this.as("hours")},z.days=function(){return this.get("days")},z.asDays=function(){return this.as("days")},z.weeks=function(){return this.get("weeks")},z.asWeeks=function(){return this.as("weeks")},z.months=function(){return this.get("months")},z.asMonths=function(){return this.as("months")},z.years=function(){return this.get("years")},z.asYears=function(){return this.as("years")},L})(),k=function(L,z,U){return L.add(z.years()*U,"y").add(z.months()*U,"M").add(z.days()*U,"d").add(z.hours()*U,"h").add(z.minutes()*U,"m").add(z.seconds()*U,"s").add(z.milliseconds()*U,"ms")};return function(L,z,U){n=U,i=U().$utils(),U.duration=function(Y,K){var oe=U.locale();return x(Y,{$l:oe},K)},U.isDuration=_;var G=z.prototype.add,B=z.prototype.subtract;z.prototype.add=function(Y,K){return _(Y)?k(this,Y,1):G.bind(this)(Y,K)},z.prototype.subtract=function(Y,K){return _(Y)?k(this,Y,-1):B.bind(this)(Y,K)}}}))})(B1)),B1.exports}var vde=gde();const yde=Pn(vde);var H1={exports:{}},bde=H1.exports,m7;function Sde(){return m7||(m7=1,(function(e,t){(function(n,i){e.exports=i()})(bde,(function(){return function(n,i,o){n=n||{};var u=i.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(p,v,b,S){return u.fromToBase(p,v,b,S)}o.en.relativeTime=l,u.fromToBase=function(p,v,b,S,_){for(var x,R,O,T=b.$locale().relativeTime||l,M=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],P=M.length,C=0;C<P;C+=1){var k=M[C];k.d&&(x=S?o(p).diff(b,k.d,!0):b.diff(p,k.d,!0));var L=(n.rounding||Math.round)(Math.abs(x));if(O=x>0,L<=k.r||!k.r){L<=1&&C>0&&(k=M[C-1]);var z=T[k.l];_&&(L=_(""+L)),R=typeof z=="string"?z.replace("%d",L):z(L,v,k.l,O);break}}if(v)return R;var U=O?T.future:T.past;return typeof U=="function"?U(R):U.replace("%s",R)},u.to=function(p,v){return c(p,v,this,!0)},u.from=function(p,v){return c(p,v,this)};var h=function(p){return p.$u?o.utc():o()};u.toNow=function(p){return this.to(h(this),p)},u.fromNow=function(p){return this.from(h(this),p)}}}))})(H1)),H1.exports}var _de=Sde();const Ede=Pn(_de);En.extend(fne),En.extend(yde),En.extend(Ede),En.extend(r9),En.extend(K8);const wde=e=>{const t=e.replace("UTC ",""),n=t.startsWith("-")?-1:1,[i,o]=t.slice(1).split(":").map(Number);return n*(i*60+(o||0))},g7=(e,t)=>{const n=e?En(e):En();return En.utc().year(n.year()).month(n.month()).date(n.date()).hour(n.hour()).minute(n.minute()).second(n.second()).millisecond(n.millisecond()).subtract(wde(t),"minute")},Rde=({date:e,type:t="day",format:n="YYYY-MM-DDTHH:mm:ss.SSS[Z]",time_zone:i=""})=>{let o=e?En(e):En();return["week","month","year"].includes(t)?o=o.startOf(t):o=o.startOf("day"),i&&(o=g7(o,i)),n?o.format(n):o},Ode=({date:e,type:t="day",format:n="YYYY-MM-DDTHH:mm:ss.SSS[Z]",time_zone:i=""})=>{let o=e?En(e):En();return["week","month","year"].includes(t)?o=o.endOf(t):o=o.endOf("day"),i&&(o=g7(o,i)),n?o.format(n):o};var pk={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_ORGANIZATION_HOLIDAYS"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queryData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CommonDateRangeInputType"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"optionData"}},type:{kind:"NamedType",name:{kind:"Name",value:"OptionDataType"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getOrganizationHolidays"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queryData"},value:{kind:"Variable",name:{kind:"Name",value:"queryData"}}},{kind:"Argument",name:{kind:"Name",value:"optionData"},value:{kind:"Variable",name:{kind:"Name",value:"optionData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"end_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"start_date"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:247}};pk.loc.source={body:`query GET_ORGANIZATION_HOLIDAYS(
|
|
513
|
+
$queryData: CommonDateRangeInputType!
|
|
514
|
+
$optionData: OptionDataType
|
|
515
|
+
) {
|
|
516
|
+
getOrganizationHolidays(queryData: $queryData, optionData: $optionData) {
|
|
517
|
+
data {
|
|
518
|
+
id
|
|
519
|
+
end_date
|
|
520
|
+
start_date
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function F1(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){F1(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){F1(i,t)}),e.definitions&&e.definitions.forEach(function(i){F1(i,t)})}var mk={};(function(){pk.definitions.forEach(function(t){if(t.name){var n=new Set;F1(t,n),mk[t.name.value]=n}})})();function v7(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function Tde(e,t){var n={kind:e.kind,definitions:[v7(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=mk[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=mk[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=v7(e,c);h&&n.definitions.push(h)}),n}const xde=Tde(pk,"GET_ORGANIZATION_HOLIDAYS"),Ade=ude(En),y7=F.createContext(null),Cde=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],Dde=({date:e,onNavigate:t})=>ce.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[ce.jsx("button",{type:"button",onClick:()=>t("PREV"),className:"flex size-7 items-center justify-center rounded-full text-regular transition-colors hover:bg-gray","aria-label":"Previous month",children:ce.jsx(iC,{className:"size-4",strokeWidth:1.5})}),ce.jsx("span",{className:"text-12 font-medium text-[#374151]",children:En(e).format("MMMM YYYY")}),ce.jsx("button",{type:"button",onClick:()=>t("NEXT"),className:"flex size-7 items-center justify-center rounded-full text-regular transition-colors hover:bg-gray","aria-label":"Next month",children:ce.jsx(oC,{className:"size-4",strokeWidth:1.5})})]}),Mde=({date:e,isOffRange:t})=>{const{today:n,selectedDate:i,handleSelectDate:o,isDateDisabled:u}=F.useContext(y7),l=En(e),c=l.isSame(n,"day"),h=i&&l.isSame(En(i),"day"),p=l.isBefore(n,"day"),v=!t&&!p&&u(l);let b="text-regular",S="",_=!0;return t?(b="text-border-light",_=!1):h?(b="text-white",S="bg-blue-border rounded-full"):v?(b="text-border",_=!1):p?(b="text-regular",_=!1):S="bg-[#E8FCEA] rounded-full",ce.jsxs("div",{className:"flex flex-col items-center",children:[ce.jsx("button",{type:"button",onClick:()=>_&&o(l.toDate()),disabled:!_,className:ha("flex size-8 items-center justify-center",S,_?"cursor-pointer":"cursor-default"),children:ce.jsx("span",{className:ha("text-14 font-normal",b),children:l.date()})}),c&&ce.jsx("div",{className:ha("-mt-2 h-1 w-1 rounded-full",h?"bg-white":"bg-blue-border")})]})},Nde=({handleSelectDate:e,selectedDate:t,timeZone:n,workSchedules:i})=>{const[o,u]=F.useState(new Date),l=En().startOf("day"),[c,{data:h}]=Zz(xde,{fetchPolicy:"network-only"});F.useEffect(()=>{const S=En(o).startOf("month").format("YYYY-MM-DD"),_=En(o).endOf("month").format("YYYY-MM-DD");c({variables:{queryData:{start_date:S,end_date:_},optionData:{limit:100,offset:0}}})},[o,c]);const p=F.useCallback(S=>{var O;const _=new Set((i||[]).filter(T=>T.is_off_day).map(T=>T.day_of_week)),x=((O=h==null?void 0:h.getOrganizationHolidays)==null?void 0:O.data)??[],R=Cde[S.day()];return!!(_.has(R)||x.some(T=>!S.isBefore(En(T.start_date),"day")&&!S.isAfter(En(T.end_date),"day")))},[i,h]),v=F.useMemo(()=>({toolbar:Dde,dateHeader:Mde}),[]),b=F.useMemo(()=>({today:l,selectedDate:t,handleSelectDate:e,isDateDisabled:p}),[l,t,e,p]);return ce.jsxs("section",{className:"space-y-4 border-t border-border-light pt-4",children:[ce.jsx("h3",{className:"text-14 font-medium text-dark",children:"Select a date & time"}),ce.jsx("div",{className:"w-full",children:ce.jsx(y7.Provider,{value:b,children:ce.jsx(nde,{localizer:Ade,defaultView:"month",views:["month"],date:o,onNavigate:S=>u(S),events:[],components:v,showAllEvents:!1})})}),ce.jsxs("div",{className:"flex flex-col gap-1",children:[ce.jsx("span",{className:"text-12 font-medium text-dark",children:"Time zone"}),ce.jsxs("div",{className:"flex items-center gap-2",children:[ce.jsx(kv,{className:"size-4 shrink-0 text-dark",strokeWidth:1.5}),ce.jsx("p",{className:"text-12 text-dark",children:hde(n)})]})]})]})},Pde=({setStep:e})=>{var b,S;const{orgBookingDetails:t}=zg(_=>_.app),[n,i]=F.useState(null),o=(t==null?void 0:t.name)||"",u=((b=t==null?void 0:t.organization_setting)==null?void 0:b.booking_default_duration)||30,l=(t==null?void 0:t.logo_file_key)||"",c=((S=t==null?void 0:t.organization_setting)==null?void 0:S.time_zone)||"",{data:h}=VS(mie),p=(h==null?void 0:h.getOrganizationWorkSchedules)??[],v=_=>{i(_),e("select_time_slot",{selectedDate:_})};return ce.jsxs("div",{className:"space-y-6",children:[ce.jsxs("section",{className:"space-y-3",children:[ce.jsxs("div",{className:"space-y-0.5",children:[ce.jsx(ZU,{path:l,alt:o,className:"lg:size-10 size-8 rounded-full",defaultImageClasses:"lg:h-10 lg:w-10 h-8 w-8 rounded-full",defaultUserNameTextSize:"text-12 lg:text-16",defaultImageName:pde(o),textSize:"text-14",isPrivate:!1}),ce.jsx("p",{className:"font-normal text-14 leading-normal text-[#3B3B3B]",children:o})]}),ce.jsxs("p",{className:"text-14 font-medium text-dark",children:["Meeting with - ",o]}),ce.jsxs("div",{className:"flex items-center gap-2 text-dark",children:[ce.jsx(Ff,{size:18,strokeWidth:2}),ce.jsxs("p",{className:"text-12 font-medium",children:[u," min duration"]})]}),ce.jsxs("div",{className:"flex items-center gap-2 text-dark",children:[ce.jsx(G_,{size:18,strokeWidth:2}),ce.jsx("p",{className:"text-12 font-medium",children:"Meet link shared after confirmation."})]})]}),ce.jsx(Nde,{handleSelectDate:v,selectedDate:n,timeZone:c,workSchedules:p})]})},kde=({slots:e=[],selectedSlot:t,onSlotSelect:n,onNext:i,reserving:o})=>e.length?ce.jsx("div",{className:"flex flex-col gap-5 pb-6",children:e.map(u=>{const l=En(u.start_time).format("hh:mm A"),c=(t==null?void 0:t.start_time)===u.start_time;return ce.jsxs("div",{className:ha("grid w-full gap-1.5",c?"grid-cols-2":"grid-cols-1"),children:[ce.jsx(fC,{noIcon:!0,btnType:"btn_bordered",title:l,callBack:()=>n(u),buttonWidth:"w-full",fullWidthBtn:!0,customPadding:"h-10",customClass:ha("!rounded-[5px] !border-[#3d9e45] !text-brand shrink-0",c&&"!border-brand !font-semibold"),buttonTitleStylings:"text-14 font-medium"}),c&&ce.jsx(fC,{noIcon:!0,title:"Next",loader:o,loaderText:"Reserving...",callBack:()=>i(u),buttonWidth:"w-full",fullWidthBtn:!0,customPadding:"h-10",customClass:"!rounded-[5px]",buttonTitleStylings:"text-14 font-semibold"})]},u.start_time)})}):ce.jsx("p",{className:"py-4 text-center text-12 text-regular",children:"No available slots for this date."});var V1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_AVAILABLE_EVENT_SLOTS"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queryData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AvailableEventSlotQueryInputType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getAvailableEventSlots"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queryData"},value:{kind:"Variable",name:{kind:"Name",value:"queryData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"end_time"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"start_time"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"meta_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filtered_rows"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total_rows"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:245}};V1.loc.source={body:`query GET_AVAILABLE_EVENT_SLOTS($queryData: AvailableEventSlotQueryInputType!) {
|
|
525
|
+
getAvailableEventSlots(queryData: $queryData) {
|
|
526
|
+
data {
|
|
527
|
+
end_time
|
|
528
|
+
start_time
|
|
529
|
+
}
|
|
530
|
+
meta_data {
|
|
531
|
+
filtered_rows
|
|
532
|
+
total_rows
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function Y1(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){Y1(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){Y1(i,t)}),e.definitions&&e.definitions.forEach(function(i){Y1(i,t)})}var gk={};(function(){V1.definitions.forEach(function(t){if(t.name){var n=new Set;Y1(t,n),gk[t.name.value]=n}})})();function b7(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function jde(e,t){var n={kind:e.kind,definitions:[b7(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=gk[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=gk[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=b7(e,c);h&&n.definitions.push(h)}),n}jde(V1,"GET_AVAILABLE_EVENT_SLOTS");var G1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RESERVE_AN_EVENT"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inputData"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReserveAnEventInputType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reserveAnEvent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"inputData"},value:{kind:"Variable",name:{kind:"Name",value:"inputData"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"start_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"end_date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"summary"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:172}};G1.loc.source={body:`mutation RESERVE_AN_EVENT($inputData: ReserveAnEventInputType!) {
|
|
537
|
+
reserveAnEvent(inputData: $inputData) {
|
|
538
|
+
id
|
|
539
|
+
start_date
|
|
540
|
+
end_date
|
|
541
|
+
status
|
|
542
|
+
summary
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function W1(e,t){if(e.kind==="FragmentSpread")t.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(i){W1(i,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(i){W1(i,t)}),e.definitions&&e.definitions.forEach(function(i){W1(i,t)})}var vk={};(function(){G1.definitions.forEach(function(t){if(t.name){var n=new Set;W1(t,n),vk[t.name.value]=n}})})();function S7(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function Lde(e,t){var n={kind:e.kind,definitions:[S7(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=vk[t]||new Set,o=new Set,u=new Set;for(i.forEach(function(c){u.add(c)});u.size>0;){var l=u;u=new Set,l.forEach(function(c){if(!o.has(c)){o.add(c);var h=vk[c]||new Set;h.forEach(function(p){u.add(p)})}})}return o.forEach(function(c){var h=S7(e,c);h&&n.definitions.push(h)}),n}Lde(G1,"RESERVE_AN_EVENT");const Ide=900*1e3,$de=({booking:e,setStep:t})=>{var R,O,T;const{orgBookingDetails:n}=zg(M=>M.app),[i,o]=F.useState(null),u=((R=n==null?void 0:n.organization_setting)==null?void 0:R.booking_default_duration)||30,l=((O=n==null?void 0:n.organization_setting)==null?void 0:O.time_zone)||"",c=e==null?void 0:e.selectedDate,[h,{data:p,loading:v}]=Zz(V1,{fetchPolicy:"network-only"});F.useEffect(()=>{c&&h({variables:{queryData:{start_date:Rde({date:c,time_zone:l}),end_date:Ode({date:c,time_zone:l})}}})},[c,h]);const[b,{loading:S}]=hx(G1),_=((T=p==null?void 0:p.getAvailableEventSlots)==null?void 0:T.data)||[],x=async M=>{var P;try{const C=await b({variables:{inputData:{start_date:M.start_time}}}),k=(P=C==null?void 0:C.data)==null?void 0:P.reserveAnEvent,L=Date.now()+Ide;t("booking_form",{selectedSlot:M,reservedEvent:k,reservationExpiresAt:L})}catch(C){console.error("[reserveAnEvent]",C.message)}};return ce.jsxs("section",{className:"-mx-6 -my-5",children:[ce.jsxs("div",{className:"border-b border-border-light px-6 py-5",children:[ce.jsxs("div",{className:"mb-4 flex items-center gap-16",children:[ce.jsx("button",{type:"button",className:"flex size-8 items-center justify-center rounded-full border border-border-light text-regular transition-colors","aria-label":"Back to date selection",onClick:()=>t("select_date"),children:ce.jsx(Y_,{className:"size-4.5 text-brand"})}),ce.jsxs("div",{className:"text-center",children:[ce.jsx("p",{className:"text-14 font-medium text-dark",children:c?En(c).format("dddd"):""}),ce.jsx("p",{className:"text-12 text-regular",children:c?En(c).format("MMMM D, YYYY"):""})]})]}),ce.jsxs("div",{className:"space-y-1",children:[ce.jsx("p",{className:"text-12 font-medium text-dark",children:"Time zone"}),ce.jsxs("div",{className:"flex items-center gap-1 text-dark",children:[ce.jsx(kv,{size:16}),ce.jsx("p",{className:"text-12 font-medium",children:l})]})]})]}),ce.jsxs("div",{className:"px-5 h-[255px] 2xl:h-[350px] overflow-y-auto no-scrollbar pt-5",children:[ce.jsxs("div",{className:"space-y-3 pb-4",children:[ce.jsxs("div",{className:"flex items-center justify-center gap-2 text-dark",children:[ce.jsx(Ff,{size:16}),ce.jsxs("p",{className:"text-12 font-medium",children:[u," min duration"]})]}),ce.jsxs("div",{className:"flex items-center justify-center gap-2 text-dark",children:[ce.jsx("span",{className:"size-1.5 rounded-full bg-green"}),ce.jsx("p",{className:"text-12 font-medium",children:"Available time"})]})]}),v?ce.jsx("div",{className:"flex h-24 items-center justify-center",children:ce.jsx("div",{className:"size-6 animate-spin rounded-full border-4 border-border-light border-t-brand"})}):ce.jsx(kde,{slots:_,selectedSlot:i,onSlotSelect:o,onNext:x,reserving:S})]})]})};var X1={exports:{}},yk={},_7;function E7(){if(_7)return yk;_7=1;function e(n){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(e=function(u){return u?o:i})(n)}function t(n,i){if(!i&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var o=e(i);if(o&&o.has(n))return o.get(n);var u={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if(c!=="default"&&Object.prototype.hasOwnProperty.call(n,c)){var h=l?Object.getOwnPropertyDescriptor(n,c):null;h&&(h.get||h.set)?Object.defineProperty(u,c,h):u[c]=n[c]}return u.default=n,o&&o.set(n,u),u}return yk._=t,yk}var Q1={exports:{}},bk={},w7;function R7(){return w7||(w7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var h in c)Object.defineProperty(l,h,{enumerable:!0,get:c[h]})}t(e,{assign:function(){return u},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}});function n(l){const c={};for(const[h,p]of l.entries()){const v=c[h];typeof v>"u"?c[h]=p:Array.isArray(v)?v.push(p):c[h]=[v,p]}return c}function i(l){return typeof l=="string"?l:typeof l=="number"&&!isNaN(l)||typeof l=="boolean"?String(l):""}function o(l){const c=new URLSearchParams;for(const[h,p]of Object.entries(l))if(Array.isArray(p))for(const v of p)c.append(h,i(v));else c.set(h,i(p));return c}function u(l,...c){for(const h of c){for(const p of h.keys())l.delete(p);for(const[p,v]of h.entries())l.append(p,v)}return l}})(bk)),bk}var Sk={},O7;function T7(){return O7||(O7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,p){for(var v in p)Object.defineProperty(h,v,{enumerable:!0,get:p[v]})}t(e,{formatUrl:function(){return u},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}});const i=E7()._(R7()),o=/https?|ftp|gopher|file/;function u(h){let{auth:p,hostname:v}=h,b=h.protocol||"",S=h.pathname||"",_=h.hash||"",x=h.query||"",R=!1;p=p?encodeURIComponent(p).replace(/%3A/i,":")+"@":"",h.host?R=p+h.host:v&&(R=p+(~v.indexOf(":")?`[${v}]`:v),h.port&&(R+=":"+h.port)),x&&typeof x=="object"&&(x=String(i.urlQueryToSearchParams(x)));let O=h.search||x&&`?${x}`||"";return b&&!b.endsWith(":")&&(b+=":"),h.slashes||(!b||o.test(b))&&R!==!1?(R="//"+(R||""),S&&S[0]!=="/"&&(S="/"+S)):R||(R=""),_&&_[0]!=="#"&&(_="#"+_),O&&O[0]!=="?"&&(O="?"+O),S=S.replace(/[?#]/g,encodeURIComponent),O=O.replace("#","%23"),`${b}${R}${S}${O}${_}`}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(h){return u(h)}})(Sk)),Sk}var _k={},x7;function zde(){return x7||(x7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}});function t(n,i){const o={};return Object.keys(n).forEach(u=>{i.includes(u)||(o[u]=n[u])}),o}})(_k)),_k}var Ek={},A7;function K1(){return A7||(A7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,k){for(var L in k)Object.defineProperty(C,L,{enumerable:!0,get:k[L]})}t(e,{DecodeError:function(){return x},MiddlewareNotFoundError:function(){return M},MissingStaticPage:function(){return T},NormalizeError:function(){return R},PageNotFoundError:function(){return O},SP:function(){return S},ST:function(){return _},WEB_VITALS:function(){return n},execOnce:function(){return i},getDisplayName:function(){return h},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return p},loadGetInitialProps:function(){return b},normalizeRepeatedSlashes:function(){return v},stringifyError:function(){return P}});const n=["CLS","FCP","FID","INP","LCP","TTFB"];function i(C){let k=!1,L;return(...z)=>(k||(k=!0,L=C(...z)),L)}const o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=C=>o.test(C);function l(){const{protocol:C,hostname:k,port:L}=window.location;return`${C}//${k}${L?":"+L:""}`}function c(){const{href:C}=window.location,k=l();return C.substring(k.length)}function h(C){return typeof C=="string"?C:C.displayName||C.name||"Unknown"}function p(C){return C.finished||C.headersSent}function v(C){const k=C.split("?");return k[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(k[1]?`?${k.slice(1).join("?")}`:"")}async function b(C,k){var U;if((U=C.prototype)!=null&&U.getInitialProps){const G=`"${h(C)}.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;throw Object.defineProperty(new Error(G),"__NEXT_ERROR_CODE",{value:"E1035",enumerable:!1,configurable:!0})}const L=k.res||k.ctx&&k.ctx.res;if(!C.getInitialProps)return k.ctx&&k.Component?{pageProps:await b(k.Component,k.ctx)}:{};const z=await C.getInitialProps(k);if(L&&p(L))return z;if(!z){const G=`"${h(C)}.getInitialProps()" should resolve to an object. But found "${z}" instead.`;throw Object.defineProperty(new Error(G),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0})}return Object.keys(z).length===0&&!k.ctx&&console.warn(`${h(C)} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`),z}const S=typeof performance<"u",_=S&&["mark","measure","getEntriesByName"].every(C=>typeof performance[C]=="function");class x extends Error{}class R extends Error{}class O extends Error{constructor(k){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${k}`}}class T extends Error{constructor(k,L){super(),this.message=`Failed to load static file for page: ${k} ${L}`}}class M extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(C){return JSON.stringify({message:C.message,stack:C.stack})}})(Ek)),Ek}var Z1={exports:{}},wk={},C7;function D7(){return C7||(C7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}});function t(n){return n.replace(/\/$/,"")||"/"}})(wk)),wk}var Rk={},M7;function Ok(){return M7||(M7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}});function t(n){const i=n.indexOf("#"),o=n.indexOf("?"),u=o>-1&&(i<0||o<i);return u||i>-1?{pathname:n.substring(0,u?o:i),query:u?n.substring(o,i>-1?i:void 0):"",hash:i>-1?n.slice(i):""}:{pathname:n,query:"",hash:""}}})(Rk)),Rk}var N7;function J1(){return N7||(N7=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});const i=D7(),o=Ok(),u=l=>{if(!l.startsWith("/")||n.__NEXT_MANUAL_TRAILING_SLASH)return l;const{pathname:c,query:h,hash:p}=(0,o.parsePath)(l);return n.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(c)?`${(0,i.removeTrailingSlash)(c)}${h}${p}`:c.endsWith("/")?`${c}${h}${p}`:`${c}/${h}${p}`:`${(0,i.removeTrailingSlash)(c)}${h}${p}`};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(Z1,Z1.exports)),Z1.exports}var Tk={},eE={exports:{}},xk={},P7;function k7(){return P7||(P7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return n}});const t=Ok();function n(i,o){if(typeof i!="string")return!1;const{pathname:u}=(0,t.parsePath)(i);return u===o||u.startsWith(o+"/")}})(xk)),xk}var j7;function qde(){return j7||(j7=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return u}});const i=k7(),o=n.__NEXT_ROUTER_BASEPATH||"";function u(l){return(0,i.pathHasPrefix)(l,o)}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(eE,eE.exports)),eE.exports}var L7;function I7(){return L7||(L7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return i}});const t=K1(),n=qde();function i(o){if(!(0,t.isAbsoluteUrl)(o))return!0;try{const u=(0,t.getLocationOrigin)(),l=new URL(o,u);return l.origin===u&&(0,n.hasBasePath)(l.pathname)}catch{return!1}}})(Tk)),Tk}var Ak={},Ck={},$7;function Ude(){return $7||($7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,l){for(var c in l)Object.defineProperty(u,c,{enumerable:!0,get:l[c]})}t(e,{getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return i}});class n{insert(l){this._insert(l.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(l="/"){const c=[...this.children.keys()].sort();this.slugName!==null&&c.splice(c.indexOf("[]"),1),this.restSlugName!==null&&c.splice(c.indexOf("[...]"),1),this.optionalRestSlugName!==null&&c.splice(c.indexOf("[[...]]"),1);const h=c.map(p=>this.children.get(p)._smoosh(`${l}${p}/`)).reduce((p,v)=>[...p,...v],[]);if(this.slugName!==null&&h.push(...this.children.get("[]")._smoosh(`${l}[${this.slugName}]/`)),!this.placeholder){const p=l==="/"?"/":l.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${p}" and "${p}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});h.unshift(p)}return this.restSlugName!==null&&h.push(...this.children.get("[...]")._smoosh(`${l}[...${this.restSlugName}]/`)),this.optionalRestSlugName!==null&&h.push(...this.children.get("[[...]]")._smoosh(`${l}[[...${this.optionalRestSlugName}]]/`)),h}_insert(l,c,h){if(l.length===0){this.placeholder=!1;return}if(h)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let p=l[0];if(p.startsWith("[")&&p.endsWith("]")){let S=function(_,x){if(_!==null&&_!==x)throw Object.defineProperty(new Error(`You cannot use different slug names for the same dynamic path ('${_}' !== '${x}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});c.forEach(R=>{if(R===x)throw Object.defineProperty(new Error(`You cannot have the same slug name "${x}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(R.replace(/\W/g,"")===p.replace(/\W/g,""))throw Object.defineProperty(new Error(`You cannot have the slug names "${R}" and "${x}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),c.push(x)},v=p.slice(1,-1),b=!1;if(v.startsWith("[")&&v.endsWith("]")&&(v=v.slice(1,-1),b=!0),v.startsWith("…"))throw Object.defineProperty(new Error(`Detected a three-dot character ('…') at ('${v}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(v.startsWith("...")&&(v=v.substring(3),h=!0),v.startsWith("[")||v.endsWith("]"))throw Object.defineProperty(new Error(`Segment names may not start or end with extra brackets ('${v}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(v.startsWith("."))throw Object.defineProperty(new Error(`Segment names may not start with erroneous periods ('${v}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(h)if(b){if(this.restSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${l[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});S(this.optionalRestSlugName,v),this.optionalRestSlugName=v,p="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${l[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});S(this.restSlugName,v),this.restSlugName=v,p="[...]"}else{if(b)throw Object.defineProperty(new Error(`Optional route parameters are not yet supported ("${l[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});S(this.slugName,v),this.slugName=v,p="[]"}}this.children.has(p)||this.children.set(p,new n),this.children.get(p)._insert(l.slice(1),c,h)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function i(u){const l=new n;return u.forEach(c=>l.insert(c)),l.smoosh()}function o(u,l){const c={},h=[];for(let v=0;v<u.length;v++){const b=l(u[v]);c[b]=v,h[v]=b}return i(h).map(v=>u[c[v]])}})(Ck)),Ck}var Dk={},Mk={},Nk={},Pk={},z7;function Bde(){return z7||(z7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}});function t(n){return n.startsWith("/")?n:`/${n}`}})(Pk)),Pk}var kk={},q7;function U7(){return q7||(q7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,S){for(var _ in S)Object.defineProperty(b,_,{enumerable:!0,get:S[_]})}t(e,{DEFAULT_SEGMENT_KEY:function(){return p},NOT_FOUND_SEGMENT_KEY:function(){return v},PAGE_SEGMENT_KEY:function(){return h},addSearchParamsIfPageSegment:function(){return u},computeSelectedLayoutSegment:function(){return l},getSegmentValue:function(){return n},getSelectedLayoutSegmentPath:function(){return c},isGroupSegment:function(){return i},isParallelRouteSegment:function(){return o}});function n(b){return Array.isArray(b)?b[1]:b}function i(b){return b[0]==="("&&b.endsWith(")")}function o(b){return b.startsWith("@")&&b!=="@children"}function u(b,S){if(b.includes(h)){const x=JSON.stringify(S);return x!=="{}"?h+"?"+x:h}return b}function l(b,S){if(!b||b.length===0)return null;const _=S==="children"?b[0]:b[b.length-1];return _===p?null:_}function c(b,S,_=!0,x=[]){let R;if(_)R=b[1][S];else{const M=b[1];R=M.children??Object.values(M)[0]}if(!R)return x;const O=R[0];let T=n(O);return!T||T.startsWith(h)?x:(x.push(T),c(R,S,!1,x))}const h="__PAGE__",p="__DEFAULT__",v="/_not-found"})(kk)),kk}var B7;function Hde(){return B7||(B7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,h){for(var p in h)Object.defineProperty(c,p,{enumerable:!0,get:h[p]})}t(e,{compareAppPaths:function(){return u},normalizeAppPath:function(){return o},normalizeRscURL:function(){return l}});const n=Bde(),i=U7();function o(c){return(0,n.ensureLeadingSlash)(c.split("/").reduce((h,p,v,b)=>!p||(0,i.isGroupSegment)(p)||p[0]==="@"||(p==="page"||p==="route")&&v===b.length-1?h:`${h}/${p}`,""))}function u(c,h){const p=c.includes("/@"),v=h.includes("/@");return p&&!v?-1:!p&&v?1:c.localeCompare(h)}function l(c){return c.replace(/\.rsc($|\?)/,"$1")}})(Nk)),Nk}var H7;function tE(){return H7||(H7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var h in c)Object.defineProperty(l,h,{enumerable:!0,get:c[h]})}t(e,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return u},isInterceptionRouteAppPath:function(){return o}});const n=Hde(),i=["(..)(..)","(.)","(..)","(...)"];function o(l){return l.split("/").find(c=>i.find(h=>c.startsWith(h)))!==void 0}function u(l){let c,h,p;for(const v of l.split("/"))if(h=i.find(b=>v.startsWith(b)),h){[c,p]=l.split(h,2);break}if(!c||!h||!p)throw Object.defineProperty(new Error(`Invalid interception route: ${l}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(c=(0,n.normalizeAppPath)(c),h){case"(.)":c==="/"?p=`/${p}`:p=c+"/"+p;break;case"(..)":if(c==="/")throw Object.defineProperty(new Error(`Invalid interception route: ${l}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});p=c.split("/").slice(0,-1).concat(p).join("/");break;case"(...)":p="/"+p;break;case"(..)(..)":const v=c.split("/");if(v.length<=2)throw Object.defineProperty(new Error(`Invalid interception route: ${l}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});p=v.slice(0,-2).concat(p).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:c,interceptedRoute:p}}})(Mk)),Mk}var F7;function Fde(){return F7||(F7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return o}});const t=tE(),n=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(u,l=!0){return(0,t.isInterceptionRouteAppPath)(u)&&(u=(0,t.extractInterceptionRouteInformation)(u).interceptedRoute),l?i.test(u):n.test(u)}})(Dk)),Dk}var V7;function Vde(){return V7||(V7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o,u){for(var l in u)Object.defineProperty(o,l,{enumerable:!0,get:u[l]})}t(e,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});const n=Ude(),i=Fde()})(Ak)),Ak}var jk={},Lk={},Ik={},$k={exports:{}},Y7;function Yde(){return Y7||(Y7=1,(()=>{typeof __nccwpck_require__<"u"&&(__nccwpck_require__.ab=__dirname+"/");var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0;function n(R){for(var O=[],T=0;T<R.length;){var M=R[T];if(M==="*"||M==="+"||M==="?"){O.push({type:"MODIFIER",index:T,value:R[T++]});continue}if(M==="\\"){O.push({type:"ESCAPED_CHAR",index:T++,value:R[T++]});continue}if(M==="{"){O.push({type:"OPEN",index:T,value:R[T++]});continue}if(M==="}"){O.push({type:"CLOSE",index:T,value:R[T++]});continue}if(M===":"){for(var P="",C=T+1;C<R.length;){var k=R.charCodeAt(C);if(k>=48&&k<=57||k>=65&&k<=90||k>=97&&k<=122||k===95){P+=R[C++];continue}break}if(!P)throw new TypeError("Missing parameter name at ".concat(T));O.push({type:"NAME",index:T,value:P}),T=C;continue}if(M==="("){var L=1,z="",C=T+1;if(R[C]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(C));for(;C<R.length;){if(R[C]==="\\"){z+=R[C++]+R[C++];continue}if(R[C]===")"){if(L--,L===0){C++;break}}else if(R[C]==="("&&(L++,R[C+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(C));z+=R[C++]}if(L)throw new TypeError("Unbalanced pattern at ".concat(T));if(!z)throw new TypeError("Missing pattern at ".concat(T));O.push({type:"PATTERN",index:T,value:z}),T=C;continue}O.push({type:"CHAR",index:T,value:R[T++]})}return O.push({type:"END",index:T,value:""}),O}function i(R,O){O===void 0&&(O={});for(var T=n(R),M=O.prefixes,P=M===void 0?"./":M,C=O.delimiter,k=C===void 0?"/#?":C,L=[],z=0,U=0,G="",B=function(re){if(U<T.length&&T[U].type===re)return T[U++].value},Y=function(re){var Ee=B(re);if(Ee!==void 0)return Ee;var Se=T[U],Re=Se.type,Pe=Se.index;throw new TypeError("Unexpected ".concat(Re," at ").concat(Pe,", expected ").concat(re))},K=function(){for(var re="",Ee;Ee=B("CHAR")||B("ESCAPED_CHAR");)re+=Ee;return re},oe=function(re){for(var Ee=0,Se=k;Ee<Se.length;Ee++){var Re=Se[Ee];if(re.indexOf(Re)>-1)return!0}return!1},le=function(re){var Ee=L[L.length-1],Se=re||(Ee&&typeof Ee=="string"?Ee:"");if(Ee&&!Se)throw new TypeError('Must have text between two parameters, missing text after "'.concat(Ee.name,'"'));return!Se||oe(Se)?"[^".concat(h(k),"]+?"):"(?:(?!".concat(h(Se),")[^").concat(h(k),"])+?")};U<T.length;){var fe=B("CHAR"),W=B("NAME"),ue=B("PATTERN");if(W||ue){var ie=fe||"";P.indexOf(ie)===-1&&(G+=ie,ie=""),G&&(L.push(G),G=""),L.push({name:W||z++,prefix:ie,suffix:"",pattern:ue||le(ie),modifier:B("MODIFIER")||""});continue}var _e=fe||B("ESCAPED_CHAR");if(_e){G+=_e;continue}G&&(L.push(G),G="");var ae=B("OPEN");if(ae){var ie=K(),X=B("NAME")||"",Q=B("PATTERN")||"",te=K();Y("CLOSE"),L.push({name:X||(Q?z++:""),pattern:X&&!Q?le(ie):Q,prefix:ie,suffix:te,modifier:B("MODIFIER")||""});continue}Y("END")}return L}t.parse=i;function o(R,O){return u(i(R,O),O)}t.compile=o;function u(R,O){O===void 0&&(O={});var T=p(O),M=O.encode,P=M===void 0?function(z){return z}:M,C=O.validate,k=C===void 0?!0:C,L=R.map((function(z){if(typeof z=="object")return new RegExp("^(?:".concat(z.pattern,")$"),T)}));return function(z){for(var U="",G=0;G<R.length;G++){var B=R[G];if(typeof B=="string"){U+=B;continue}var Y=z?z[B.name]:void 0,K=B.modifier==="?"||B.modifier==="*",oe=B.modifier==="*"||B.modifier==="+";if(Array.isArray(Y)){if(!oe)throw new TypeError('Expected "'.concat(B.name,'" to not repeat, but got an array'));if(Y.length===0){if(K)continue;throw new TypeError('Expected "'.concat(B.name,'" to not be empty'))}for(var le=0;le<Y.length;le++){var fe=P(Y[le],B);if(k&&!L[G].test(fe))throw new TypeError('Expected all "'.concat(B.name,'" to match "').concat(B.pattern,'", but got "').concat(fe,'"'));U+=B.prefix+fe+B.suffix}continue}if(typeof Y=="string"||typeof Y=="number"){var fe=P(String(Y),B);if(k&&!L[G].test(fe))throw new TypeError('Expected "'.concat(B.name,'" to match "').concat(B.pattern,'", but got "').concat(fe,'"'));U+=B.prefix+fe+B.suffix;continue}if(!K){var W=oe?"an array":"a string";throw new TypeError('Expected "'.concat(B.name,'" to be ').concat(W))}}return U}}t.tokensToFunction=u;function l(R,O){var T=[],M=x(R,T,O);return c(M,T,O)}t.match=l;function c(R,O,T){T===void 0&&(T={});var M=T.decode,P=M===void 0?function(C){return C}:M;return function(C){var k=R.exec(C);if(!k)return!1;for(var L=k[0],z=k.index,U=Object.create(null),G=function(Y){if(k[Y]===void 0)return"continue";var K=O[Y-1];K.modifier==="*"||K.modifier==="+"?U[K.name]=k[Y].split(K.prefix+K.suffix).map((function(oe){return P(oe,K)})):U[K.name]=P(k[Y],K)},B=1;B<k.length;B++)G(B);return{path:L,index:z,params:U}}}t.regexpToFunction=c;function h(R){return R.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function p(R){return R&&R.sensitive?"":"i"}function v(R,O){if(!O)return R;for(var T=/\((?:\?<(.*?)>)?(?!\?)/g,M=0,P=T.exec(R.source);P;)O.push({name:P[1]||M++,prefix:"",suffix:"",modifier:"",pattern:""}),P=T.exec(R.source);return R}function b(R,O,T){var M=R.map((function(P){return x(P,O,T).source}));return new RegExp("(?:".concat(M.join("|"),")"),p(T))}function S(R,O,T){return _(i(R,T),O,T)}function _(R,O,T){T===void 0&&(T={});for(var M=T.strict,P=M===void 0?!1:M,C=T.start,k=C===void 0?!0:C,L=T.end,z=L===void 0?!0:L,U=T.encode,G=U===void 0?function(Ee){return Ee}:U,B=T.delimiter,Y=B===void 0?"/#?":B,K=T.endsWith,oe=K===void 0?"":K,le="[".concat(h(oe),"]|$"),fe="[".concat(h(Y),"]"),W=k?"^":"",ue=0,ie=R;ue<ie.length;ue++){var _e=ie[ue];if(typeof _e=="string")W+=h(G(_e));else{var ae=h(G(_e.prefix)),X=h(G(_e.suffix));if(_e.pattern)if(O&&O.push(_e),ae||X)if(_e.modifier==="+"||_e.modifier==="*"){var Q=_e.modifier==="*"?"?":"";W+="(?:".concat(ae,"((?:").concat(_e.pattern,")(?:").concat(X).concat(ae,"(?:").concat(_e.pattern,"))*)").concat(X,")").concat(Q)}else W+="(?:".concat(ae,"(").concat(_e.pattern,")").concat(X,")").concat(_e.modifier);else{if(_e.modifier==="+"||_e.modifier==="*")throw new TypeError('Can not repeat "'.concat(_e.name,'" without a prefix and suffix'));W+="(".concat(_e.pattern,")").concat(_e.modifier)}else W+="(?:".concat(ae).concat(X,")").concat(_e.modifier)}}if(z)P||(W+="".concat(fe,"?")),W+=T.endsWith?"(?=".concat(le,")"):"$";else{var te=R[R.length-1],re=typeof te=="string"?fe.indexOf(te[te.length-1])>-1:te===void 0;P||(W+="(?:".concat(fe,"(?=").concat(le,"))?")),re||(W+="(?=".concat(fe,"|").concat(le,")"))}return new RegExp(W,p(T))}t.tokensToRegexp=_;function x(R,O,T){return R instanceof RegExp?v(R,O):Array.isArray(R)?b(R,O,T):S(R,O,T)}t.pathToRegexp=x})(),$k.exports=e})()),$k.exports}var zk={},G7;function Gde(){return G7||(G7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,p){for(var v in p)Object.defineProperty(h,v,{enumerable:!0,get:p[v]})}t(e,{PARAM_SEPARATOR:function(){return n},hasAdjacentParameterIssues:function(){return i},normalizeAdjacentParameters:function(){return o},normalizeTokensForRegexp:function(){return u},stripNormalizedSeparators:function(){return l},stripParameterSeparators:function(){return c}});const n="_NEXTSEP_";function i(h){return typeof h!="string"?!1:!!(/\/\(\.{1,3}\):[^/\s]+/.test(h)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(h))}function o(h){let p=h;return p=p.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${n}:$2`),p=p.replace(/:([^:/\s)]+)(?=:)/g,`:$1${n}`),p}function u(h){return h.map(p=>typeof p=="object"&&p!==null&&"modifier"in p&&(p.modifier==="*"||p.modifier==="+")&&"prefix"in p&&"suffix"in p&&p.prefix===""&&p.suffix===""?{...p,prefix:"/"}:p)}function l(h){return h.replace(new RegExp(`\\)${n}`,"g"),")")}function c(h){const p={};for(const[v,b]of Object.entries(h))typeof b=="string"?p[v]=b.replace(new RegExp(`^${n}`),""):Array.isArray(b)?p[v]=b.map(S=>typeof S=="string"?S.replace(new RegExp(`^${n}`),""):S):p[v]=b;return p}})(zk)),zk}var W7;function Wde(){return W7||(W7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,p){for(var v in p)Object.defineProperty(h,v,{enumerable:!0,get:p[v]})}t(e,{safeCompile:function(){return u},safePathToRegexp:function(){return o},safeRegexpToFunction:function(){return l},safeRouteMatcher:function(){return c}});const n=Yde(),i=Gde();function o(h,p,v){if(typeof h!="string")return(0,n.pathToRegexp)(h,p,v);const b=(0,i.hasAdjacentParameterIssues)(h),S=b?(0,i.normalizeAdjacentParameters)(h):h;try{return(0,n.pathToRegexp)(S,p,v)}catch(_){if(!b)try{const x=(0,i.normalizeAdjacentParameters)(h);return(0,n.pathToRegexp)(x,p,v)}catch{throw _}throw _}}function u(h,p){const v=(0,i.hasAdjacentParameterIssues)(h),b=v?(0,i.normalizeAdjacentParameters)(h):h;try{const S=(0,n.compile)(b,p);return v?_=>(0,i.stripNormalizedSeparators)(S(_)):S}catch(S){if(!v)try{const _=(0,i.normalizeAdjacentParameters)(h),x=(0,n.compile)(_,p);return R=>(0,i.stripNormalizedSeparators)(x(R))}catch{throw S}throw S}}function l(h,p){const v=(0,n.regexpToFunction)(h,p||[]);return b=>{const S=v(b);return S?{...S,params:(0,i.stripParameterSeparators)(S.params)}:!1}}function c(h){return p=>{const v=h(p);return v?(0,i.stripParameterSeparators)(v):!1}}})(Ik)),Ik}var X7;function Q7(){return X7||(X7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return i}});const t=K1(),n=Wde();function i({re:o,groups:u}){const l=c=>{const h=o.exec(c);if(!h)return!1;const p=b=>{try{return decodeURIComponent(b)}catch{throw Object.defineProperty(new t.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},v={};for(const[b,S]of Object.entries(u)){const _=h[S.pos];_!==void 0&&(S.repeat?v[b]=_.split("/").map(x=>p(x)):v[b]=p(_))}return v};return(0,n.safeRouteMatcher)(l)}})(Lk)),Lk}var qk={},Uk={},K7;function Xde(){return K7||(K7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(mn,ot){for(var St in ot)Object.defineProperty(mn,St,{enumerable:!0,get:ot[St]})}t(e,{ACTION_SUFFIX:function(){return _},APP_DIR_ALIAS:function(){return Q},CACHE_ONE_YEAR_SECONDS:function(){return K},DOT_NEXT_ALIAS:function(){return ae},ESLINT_DEFAULT_DIRS:function(){return mt},GSP_NO_RETURNED_VALUE:function(){return ke},GSSP_COMPONENT_MEMBER_ERROR:function(){return At},GSSP_NO_RETURNED_VALUE:function(){return $e},HTML_CONTENT_TYPE_HEADER:function(){return i},INFINITE_CACHE:function(){return oe},INSTRUMENTATION_HOOK_FILENAME:function(){return ie},JSON_CONTENT_TYPE_HEADER:function(){return o},MATCHED_PATH_HEADER:function(){return c},MIDDLEWARE_FILENAME:function(){return le},MIDDLEWARE_LOCATION_REGEXP:function(){return fe},NEXT_BODY_SUFFIX:function(){return O},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return B},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return P},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return C},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return Y},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return G},NEXT_CACHE_TAGS_HEADER:function(){return M},NEXT_CACHE_TAG_MAX_ITEMS:function(){return z},NEXT_CACHE_TAG_MAX_LENGTH:function(){return U},NEXT_DATA_SUFFIX:function(){return x},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return l},NEXT_META_SUFFIX:function(){return R},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return T},NEXT_QUERY_PARAM_PREFIX:function(){return u},NEXT_RESUME_HEADER:function(){return k},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return L},NON_STANDARD_NODE_ENV:function(){return Ye},PAGES_DIR_ALIAS:function(){return _e},PRERENDER_REVALIDATE_HEADER:function(){return h},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return p},PROXY_FILENAME:function(){return W},PROXY_LOCATION_REGEXP:function(){return ue},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return Ne},ROOT_DIR_ALIAS:function(){return X},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Le},RSC_ACTION_ENCRYPTION_ALIAS:function(){return Pe},RSC_ACTION_PROXY_ALIAS:function(){return Ee},RSC_ACTION_VALIDATE_ALIAS:function(){return re},RSC_CACHE_WRAPPER_ALIAS:function(){return Se},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return Re},RSC_MOD_REF_PROXY_ALIAS:function(){return te},RSC_SEGMENTS_DIR_SUFFIX:function(){return v},RSC_SEGMENT_SUFFIX:function(){return b},RSC_SUFFIX:function(){return S},SERVER_PROPS_EXPORT_ERROR:function(){return He},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Ce},SERVER_PROPS_SSG_CONFLICT:function(){return Qe},SERVER_RUNTIME:function(){return Dt},SSG_FALLBACK_EXPORT_ERROR:function(){return yt},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return De},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Ve},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return n},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ct},WEBPACK_LAYERS:function(){return an},WEBPACK_RESOURCE_QUERIES:function(){return cr},WEB_SOCKET_MAX_RECONNECTIONS:function(){return ht}});const n="text/plain",i="text/html; charset=utf-8",o="application/json; charset=utf-8",u="nxtP",l="nxtI",c="x-matched-path",h="x-prerender-revalidate",p="x-prerender-revalidate-if-generated",v=".segments",b=".segment.rsc",S=".rsc",_=".action",x=".json",R=".meta",O=".body",T="x-nextjs-deployment-id",M="x-next-cache-tags",P="x-next-revalidated-tags",C="x-next-revalidate-tag-token",k="next-resume",L="x-next-resume-state-length",z=128,U=256,G=1024,B="_N_T_",Y="_N_RP_",K=31536e3,oe=4294967294,le="middleware",fe=`(?:src/)?${le}`,W="proxy",ue=`(?:src/)?${W}`,ie="instrumentation",_e="private-next-pages",ae="private-dot-next",X="private-next-root-dir",Q="private-next-app-dir",te="private-next-rsc-mod-ref-proxy",re="private-next-rsc-action-validate",Ee="private-next-rsc-server-reference",Se="private-next-rsc-cache-wrapper",Re="private-next-rsc-track-dynamic-import",Pe="private-next-rsc-action-encryption",Le="private-next-rsc-action-client-wrapper",Ne="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",De="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Ce="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",Qe="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Ve="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",He="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",ke="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",$e="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ct="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",At="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Ye='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',yt="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",mt=["app","pages","components","lib","src"],Dt={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},ht=12,at={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},an={...at,GROUP:{builtinReact:[at.reactServerComponents,at.actionBrowser],serverOnly:[at.reactServerComponents,at.actionBrowser,at.instrument,at.middleware],neutralTarget:[at.apiNode,at.apiEdge],clientOnly:[at.serverSideRendering,at.appPagesBrowser],bundled:[at.reactServerComponents,at.actionBrowser,at.serverSideRendering,at.appPagesBrowser,at.shared,at.instrument,at.middleware],appPages:[at.reactServerComponents,at.serverSideRendering,at.appPagesBrowser,at.actionBrowser]}},cr={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}})(Uk)),Uk}var Bk={},Z7;function Qde(){return Z7||(Z7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});const t=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(o){return t.test(o)?o.replace(n,"\\$&"):o}})(Bk)),Bk}var Hk={},Fk={},J7;function Vk(){return J7||(J7=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"InvariantError",{enumerable:!0,get:function(){return t}});class t extends Error{constructor(i,o){super(`Invariant: ${i.endsWith(".")?i:i+"."} This is a bug in Next.js.`,o),this.name="InvariantError"}}})(Fk)),Fk}var Yk={},eV;function Kde(){return eV||(eV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parseLoaderTree",{enumerable:!0,get:function(){return n}});const t=U7();function n(i){const[o,u,l,c]=i,{layout:h,template:p}=l;let{page:v}=l;v=o===t.DEFAULT_SEGMENT_KEY?l.defaultPage:v;const b=(h==null?void 0:h[1])||(p==null?void 0:p[1])||(v==null?void 0:v[1]);return{page:v,segment:o,modules:l,conventionPath:b,parallelRoutes:u,staticSiblings:c}}})(Yk)),Yk}var Gk={},Wk={},tV;function Zde(){return tV||(tV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var h in c)Object.defineProperty(l,h,{enumerable:!0,get:c[h]})}t(e,{getParamProperties:function(){return u},getSegmentParam:function(){return i},isCatchAll:function(){return o}});const n=tE();function i(l){const c=n.INTERCEPTION_ROUTE_MARKERS.find(h=>l.startsWith(h));return c&&(l=l.slice(c.length)),l.startsWith("[[...")&&l.endsWith("]]")?{paramType:"optional-catchall",paramName:l.slice(5,-2)}:l.startsWith("[...")&&l.endsWith("]")?{paramType:c?`catchall-intercepted-${c}`:"catchall",paramName:l.slice(4,-1)}:l.startsWith("[")&&l.endsWith("]")?{paramType:c?`dynamic-intercepted-${c}`:"dynamic",paramName:l.slice(1,-1)}:null}function o(l){return l==="catchall"||l==="catchall-intercepted-(..)(..)"||l==="catchall-intercepted-(.)"||l==="catchall-intercepted-(..)"||l==="catchall-intercepted-(...)"||l==="optional-catchall"}function u(l){let c=!1,h=!1;switch(l){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":c=!0;break;case"optional-catchall":c=!0,h=!0;break}return{repeat:c,optional:h}}})(Wk)),Wk}var nV;function Jde(){return nV||(nV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(p,v){for(var b in v)Object.defineProperty(p,b,{enumerable:!0,get:v[b]})}t(e,{isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return l},parseAppRoute:function(){return h},parseAppRouteSegment:function(){return u}});const n=Vk(),i=Zde(),o=tE();function u(p){if(p==="")return null;const v=o.INTERCEPTION_ROUTE_MARKERS.find(S=>p.startsWith(S)),b=(0,i.getSegmentParam)(p);return b?{type:"dynamic",name:p,param:b,interceptionMarker:v}:p.startsWith("(")&&p.endsWith(")")?{type:"route-group",name:p,interceptionMarker:v}:p.startsWith("@")?{type:"parallel-route",name:p,interceptionMarker:v}:{type:"static",name:p,interceptionMarker:v}}function l(p){return p.normalized}function c(p){return p.interceptionMarker!==void 0&&p.interceptingRoute!==void 0&&p.interceptedRoute!==void 0}function h(p,v){const b=p.split("/").filter(Boolean),S=[];let _,x,R;for(const T of b){const M=u(T);if(M){if(v&&(M.type==="route-group"||M.type==="parallel-route"))throw Object.defineProperty(new n.InvariantError(`${p} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(S.push(M),M.interceptionMarker){const P=p.split(M.interceptionMarker);if(P.length!==2)throw Object.defineProperty(new Error(`Invalid interception route: ${p}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});x=v?h(P[0],!0):h(P[0],!1),R=v?h(P[1],!0):h(P[1],!1),_=M.interceptionMarker}}}const O=S.filter(T=>T.type==="dynamic");return{normalized:v,pathname:p,segments:S,dynamicSegments:O,interceptionMarker:_,interceptingRoute:x,interceptedRoute:R}}})(Gk)),Gk}var Xk={},Qk={},rV;function ehe(){return rV||(rV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return t}});function t(n){switch(n){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";case"catchall":case"dynamic":case"optional-catchall":default:return null}}})(Qk)),Qk}var iV;function the(){return iV||(iV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"resolveParamValue",{enumerable:!0,get:function(){return o}});const t=Vk(),n=ehe();function i(u,l,c){return u.type==="dynamic"?l[u.param.paramName]:(0,n.interceptionPrefixFromParamType)(c)===u.interceptionMarker?u.name.replace(u.interceptionMarker,""):u.name}function o(u,l,c,h,p){switch(l){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":const v=[];for(let b=c;b<h.segments.length;b++){const S=h.segments[b];if(S.type==="static"){let _=S.name;const x=(0,n.interceptionPrefixFromParamType)(l);x&&b===c&&x===S.interceptionMarker&&(_=_.replace(S.interceptionMarker,"")),v.push(_)}else{if(!p.hasOwnProperty(S.param.paramName)){if(S.param.paramType==="optional-catchall")break;return}const _=p[S.param.paramName];Array.isArray(_)?v.push(..._):v.push(_)}}if(v.length>0)return v;if(l==="optional-catchall")return;throw Object.defineProperty(new t.InvariantError(`Unexpected empty path segments match for a route "${h.pathname}" with param "${u}" of type "${l}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(c<h.segments.length){const b=h.segments[c];return b.type==="dynamic"&&!p.hasOwnProperty(b.param.paramName)?void 0:i(b,p,l)}return}}})(Xk)),Xk}var aV;function nhe(){return aV||(aV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(S,_){for(var x in _)Object.defineProperty(S,x,{enumerable:!0,get:_[x]})}t(e,{PARAMETER_PATTERN:function(){return p},getDynamicParam:function(){return h},interpolateParallelRouteParams:function(){return c},parseMatchedParameter:function(){return b},parseParameter:function(){return v}});const n=Vk(),i=Kde(),o=Jde(),u=the();function l(S,_,x){let R=S[_];if(x!=null&&x.has(_)){const[O]=x.get(_);R=O}else Array.isArray(R)?R=R.map(O=>encodeURIComponent(O)):typeof R=="string"&&(R=encodeURIComponent(R));return R}function c(S,_,x,R){const O=structuredClone(_),T=[{tree:S,depth:0}],M=(0,o.parseAppRoute)(x,!0);for(;T.length>0;){const{tree:P,depth:C}=T.pop(),{segment:k,parallelRoutes:L}=(0,i.parseLoaderTree)(P),z=(0,o.parseAppRouteSegment)(k);if((z==null?void 0:z.type)==="dynamic"&&!O.hasOwnProperty(z.param.paramName)&&!(R!=null&&R.has(z.param.paramName))){const{paramName:G,paramType:B}=z.param,Y=(0,u.resolveParamValue)(G,B,C,M,O);if(Y!==void 0)O[G]=Y;else if(B!=="optional-catchall")throw Object.defineProperty(new n.InvariantError(`Could not resolve param value for segment: ${G}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let U=C;z&&z.type!=="route-group"&&z.type!=="parallel-route"&&U++;for(const G of Object.values(L))T.push({tree:G,depth:U})}return O}function h(S,_,x,R,O){let T=l(S,_,R);if(!T||T.length===0){if(x==="oc")return{param:_,value:null,type:x,treeSegment:[_,"",x,O]};throw Object.defineProperty(new n.InvariantError(`Missing value for segment key: "${_}" with dynamic param type: ${x}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}const M=Array.isArray(T)?T.join("/"):T;return{param:_,value:T,treeSegment:[_,M,x,O],type:x}}const p=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function v(S){const _=S.match(p);return b(_?_[2]:S)}function b(S){const _=S.startsWith("[")&&S.endsWith("]");_&&(S=S.slice(1,-1));const x=S.startsWith("...");return x&&(S=S.slice(3)),{key:S,repeat:x,optional:_}}})(Hk)),Hk}var oV;function sV(){return oV||(oV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(x,R){for(var O in R)Object.defineProperty(x,O,{enumerable:!0,get:R[O]})}t(e,{getNamedMiddlewareRegex:function(){return _},getNamedRouteRegex:function(){return S},getRouteRegex:function(){return h}});const n=Xde(),i=tE(),o=Qde(),u=D7(),l=nhe();function c(x,R,O){const T={};let M=1;const P=[];for(const C of(0,u.removeTrailingSlash)(x).slice(1).split("/")){const k=i.INTERCEPTION_ROUTE_MARKERS.find(z=>C.startsWith(z)),L=C.match(l.PARAMETER_PATTERN);if(k&&L&&L[2]){const{key:z,optional:U,repeat:G}=(0,l.parseMatchedParameter)(L[2]);T[z]={pos:M++,repeat:G,optional:U},P.push(`/${(0,o.escapeStringRegexp)(k)}([^/]+?)`)}else if(L&&L[2]){const{key:z,repeat:U,optional:G}=(0,l.parseMatchedParameter)(L[2]);T[z]={pos:M++,repeat:U,optional:G},O&&L[1]&&P.push(`/${(0,o.escapeStringRegexp)(L[1])}`);let B=U?G?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";O&&L[1]&&(B=B.substring(1)),P.push(B)}else P.push(`/${(0,o.escapeStringRegexp)(C)}`);R&&L&&L[3]&&P.push((0,o.escapeStringRegexp)(L[3]))}return{parameterizedRoute:P.join(""),groups:T}}function h(x,{includeSuffix:R=!1,includePrefix:O=!1,excludeOptionalTrailingSlash:T=!1}={}){const{parameterizedRoute:M,groups:P}=c(x,R,O);let C=M;return T||(C+="(?:/)?"),{re:new RegExp(`^${C}$`),groups:P}}function p(){let x=0;return()=>{let R="",O=++x;for(;O>0;)R+=String.fromCharCode(97+(O-1)%26),O=Math.floor((O-1)/26);return R}}function v({interceptionMarker:x,getSafeRouteKey:R,segment:O,routeKeys:T,keyPrefix:M,backreferenceDuplicateKeys:P}){const{key:C,optional:k,repeat:L}=(0,l.parseMatchedParameter)(O);let z=C.replace(/\W/g,"");M&&(z=`${M}${z}`);let U=!1;(z.length===0||z.length>30)&&(U=!0),isNaN(parseInt(z.slice(0,1)))||(U=!0),U&&(z=R());const G=z in T;M?T[z]=`${M}${C}`:T[z]=C;const B=x?(0,o.escapeStringRegexp)(x):"";let Y;return G&&P?Y=`\\k<${z}>`:L?Y=`(?<${z}>.+?)`:Y=`(?<${z}>[^/]+?)`,{key:C,pattern:k?`(?:/${B}${Y})?`:`/${B}${Y}`,cleanedKey:z,optional:k,repeat:L}}function b(x,R,O,T,M,P={names:{},intercepted:{}}){var U,G;const C=p(),k={},L=[],z=[];P=structuredClone(P);for(const B of(0,u.removeTrailingSlash)(x).slice(1).split("/")){const Y=i.INTERCEPTION_ROUTE_MARKERS.some(fe=>B.startsWith(fe)),K=B.match(l.PARAMETER_PATTERN),oe=Y?K==null?void 0:K[1]:void 0;let le;if(oe&&(K!=null&&K[2])?(le=R?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,P.intercepted[K[2]]=oe):K!=null&&K[2]&&P.intercepted[K[2]]?le=R?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:le=R?n.NEXT_QUERY_PARAM_PREFIX:void 0,oe&&K&&K[2]){const{key:fe,pattern:W,cleanedKey:ue,repeat:ie,optional:_e}=v({getSafeRouteKey:C,interceptionMarker:oe,segment:K[2],routeKeys:k,keyPrefix:le,backreferenceDuplicateKeys:M});L.push(W),z.push(`/${K[1]}:${P.names[fe]??ue}${ie?_e?"*":"+":""}`),(U=P.names)[fe]??(U[fe]=ue)}else if(K&&K[2]){T&&K[1]&&(L.push(`/${(0,o.escapeStringRegexp)(K[1])}`),z.push(`/${K[1]}`));const{key:fe,pattern:W,cleanedKey:ue,repeat:ie,optional:_e}=v({getSafeRouteKey:C,segment:K[2],routeKeys:k,keyPrefix:le,backreferenceDuplicateKeys:M});let ae=W;T&&K[1]&&(ae=ae.substring(1)),L.push(ae),z.push(`/:${P.names[fe]??ue}${ie?_e?"*":"+":""}`),(G=P.names)[fe]??(G[fe]=ue)}else L.push(`/${(0,o.escapeStringRegexp)(B)}`),z.push(`/${B}`);O&&K&&K[3]&&(L.push((0,o.escapeStringRegexp)(K[3])),z.push(K[3]))}return{namedParameterizedRoute:L.join(""),routeKeys:k,pathToRegexpPattern:z.join(""),reference:P}}function S(x,R){const O=b(x,R.prefixRouteKeys,R.includeSuffix??!1,R.includePrefix??!1,R.backreferenceDuplicateKeys??!1,R.reference);let T=O.namedParameterizedRoute;return R.excludeOptionalTrailingSlash||(T+="(?:/)?"),{...h(x,R),namedRegex:`^${T}$`,routeKeys:O.routeKeys,pathToRegexpPattern:O.pathToRegexpPattern,reference:O.reference}}function _(x,R){const{parameterizedRoute:O}=c(x,!1,!1),{catchAll:T=!0}=R;if(O==="/")return{namedRegex:`^/${T?".*":""}$`};const{namedParameterizedRoute:M}=b(x,!1,!1,!1,!1,void 0);return{namedRegex:`^${M}${T?"(?:(/.*)?)":""}$`}}})(qk)),qk}var uV;function rhe(){return uV||(uV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return i}});const t=Q7(),n=sV();function i(o,u,l){let c="";const h=(0,n.getRouteRegex)(o),p=h.groups,v=(u!==o?(0,t.getRouteMatcher)(h)(u):"")||l;c=o;const b=Object.keys(p);return b.every(S=>{let _=v[S]||"";const{repeat:x,optional:R}=p[S];let O=`[${x?"...":""}${S}]`;return R&&(O=`${_?"":"/"}[${O}]`),x&&!Array.isArray(_)&&(_=[_]),(R||S in v)&&(c=c.replace(O,x?_.map(T=>encodeURIComponent(T)).join("/"):encodeURIComponent(_))||"/")})||(c=""),{params:b,result:c}}})(jk)),jk}var lV;function ihe(){return lV||(lV=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return S}});const n=R7(),i=T7(),o=zde(),u=K1(),l=J1(),c=I7(),h=Vde(),p=rhe(),v=sV(),b=Q7();function S(_,x,R){let O,T=typeof x=="string"?x:(0,i.formatWithValidation)(x);const M=T.match(/^[a-z][a-z0-9+.-]*:\/\//i),P=M?T.slice(M[0].length):T;if((P.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${T}' passed to next/router in page: '${_.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);const k=(0,u.normalizeRepeatedSlashes)(P);T=(M?M[0]:"")+k}if(!(0,c.isLocalURL)(T))return R?[T]:T;try{let k=T.startsWith("#")?_.asPath:_.pathname;if(T.startsWith("?")&&(k=_.asPath,(0,h.isDynamicRoute)(_.pathname))){k=_.pathname;const L=(0,v.getRouteRegex)(_.pathname);(0,b.getRouteMatcher)(L)(_.asPath)||(k=_.asPath)}O=new URL(k,"http://n")}catch{O=new URL("/","http://n")}try{const k=new URL(T,O);k.pathname=(0,l.normalizePathTrailingSlash)(k.pathname);let L="";if((0,h.isDynamicRoute)(k.pathname)&&k.searchParams&&R){const U=(0,n.searchParamsToUrlQuery)(k.searchParams),{result:G,params:B}=(0,p.interpolateAs)(k.pathname,k.pathname,U);G&&(L=(0,i.formatWithValidation)({pathname:G,hash:k.hash,query:(0,o.omit)(U,B)}))}const z=k.origin===O.origin?k.href.slice(k.origin.length):k.href;return R?[z,L||z]:z}catch{return R?[T]:T}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(Q1,Q1.exports)),Q1.exports}var nE={exports:{}},Kk={},Zk={},cV;function fV(){return cV||(cV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return n}});const t=Ok();function n(i,o){if(!i.startsWith("/")||!o)return i;const{pathname:u,query:l,hash:c}=(0,t.parsePath)(i);return`${o}${u}${l}${c}`}})(Zk)),Zk}var dV;function ahe(){return dV||(dV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const t=fV(),n=k7();function i(o,u,l,c){if(!u||u===l)return o;const h=o.toLowerCase();return!c&&((0,n.pathHasPrefix)(h,"/api")||(0,n.pathHasPrefix)(h,`/${u.toLowerCase()}`))?o:(0,t.addPathPrefix)(o,`/${u}`)}})(Kk)),Kk}var hV;function ohe(){return hV||(hV=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});const i=J1(),o=(u,...l)=>n.__NEXT_I18N_SUPPORT?(0,i.normalizePathTrailingSlash)(ahe().addLocale(u,...l)):u;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(nE,nE.exports)),nE.exports}var Jk={},ej={},pV;function she(){if(pV)return ej;pV=1;function e(t){return t&&t.__esModule?t:{default:t}}return ej._=e,ej}var mV;function uhe(){return mV||(mV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return i}});const i=she()._(Gu()).default.createContext(null);i.displayName="RouterContext"})(Jk)),Jk}var rE={exports:{}},iE={exports:{}},gV;function lhe(){return gV||(gV=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(u,l){for(var c in l)Object.defineProperty(u,c,{enumerable:!0,get:l[c]})}n(t,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return i}});const i=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(u){let l=Date.now();return self.setTimeout(function(){u({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-l))}})},1)},o=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(u){return clearTimeout(u)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(iE,iE.exports)),iE.exports}var vV;function che(){return vV||(vV=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return p}});const n=Gu(),i=lhe(),o=typeof IntersectionObserver=="function",u=new Map,l=[];function c(v){const b={root:v.root||null,margin:v.rootMargin||""},S=l.find(O=>O.root===b.root&&O.margin===b.margin);let _;if(S&&(_=u.get(S),_))return _;const x=new Map,R=new IntersectionObserver(O=>{O.forEach(T=>{const M=x.get(T.target),P=T.isIntersecting||T.intersectionRatio>0;M&&P&&M(P)})},v);return _={id:b,observer:R,elements:x},l.push(b),u.set(b,_),_}function h(v,b,S){const{id:_,observer:x,elements:R}=c(S);return R.set(v,b),x.observe(v),function(){if(R.delete(v),x.unobserve(v),R.size===0){x.disconnect(),u.delete(_);const T=l.findIndex(M=>M.root===_.root&&M.margin===_.margin);T>-1&&l.splice(T,1)}}}function p({rootRef:v,rootMargin:b,disabled:S}){const _=S||!o,[x,R]=(0,n.useState)(!1),O=(0,n.useRef)(null),T=(0,n.useCallback)(P=>{O.current=P},[]);(0,n.useEffect)(()=>{if(o){if(_||x)return;const P=O.current;if(P&&P.tagName)return h(P,k=>k&&R(k),{root:v==null?void 0:v.current,rootMargin:b})}else if(!x){const P=(0,i.requestIdleCallback)(()=>R(!0));return()=>(0,i.cancelIdleCallback)(P)}},[_,b,v,x,O.current]);const M=(0,n.useCallback)(()=>{R(!1)},[]);return[T,x,M]}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(rE,rE.exports)),rE.exports}var aE={exports:{}},oE={exports:{}},tj={},yV;function fhe(){return yV||(yV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});const t=new WeakMap;function n(i,o){if(!o)return{pathname:i};let u=t.get(o);u||(u=o.map(v=>v.toLowerCase()),t.set(o,u));let l;const c=i.split("/",2);if(!c[1])return{pathname:i};const h=c[1].toLowerCase(),p=u.indexOf(h);return p<0?{pathname:i}:(l=o[p],i=i.slice(l.length+1)||"/",{pathname:i,detectedLocale:l})}})(tj)),tj}var bV;function dhe(){return bV||(bV=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return i}});const i=(o,u)=>n.__NEXT_I18N_SUPPORT?fhe().normalizeLocalePath(o,u):{pathname:o,detectedLocale:void 0};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(oE,oE.exports)),oE.exports}var sE={exports:{}},nj={},SV;function hhe(){return SV||(SV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}});function t(n,i,o){var u,l;if(n){o&&(o=o.toLowerCase());for(const c of n){const h=(u=c.domain)==null?void 0:u.split(":",1)[0].toLowerCase();if(i===h||o===c.defaultLocale.toLowerCase()||(l=c.locales)!=null&&l.some(p=>p.toLowerCase()===o))return c}}}})(nj)),nj}var _V;function phe(){return _V||(_V=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return i}});const i=(...o)=>{if(n.__NEXT_I18N_SUPPORT)return hhe().detectDomainLocale(...o)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(sE,sE.exports)),sE.exports}var EV;function mhe(){return EV||(EV=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return u}});const i=J1(),o=n.__NEXT_ROUTER_BASEPATH||"";function u(l,c,h,p){if(n.__NEXT_I18N_SUPPORT){const v=dhe().normalizeLocalePath,b=phe().detectDomainLocale,S=c||v(l,h).detectedLocale,_=b(p,void 0,S);if(_){const x=`http${_.http?"":"s"}://`,R=S===_.defaultLocale?"":`/${S}`;return`${x}${_.domain}${(0,i.normalizePathTrailingSlash)(`${o}${R}${l}`)}`}return!1}else return!1}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(aE,aE.exports)),aE.exports}var uE={exports:{}},wV;function ghe(){return wV||(wV=1,(function(e,t){var n={};Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return l}});const i=fV(),o=J1(),u=n.__NEXT_ROUTER_BASEPATH||"";function l(c,h){return(0,o.normalizePathTrailingSlash)(n.__NEXT_MANUAL_CLIENT_BASE_PATH&&!h?c:(0,i.addPathPrefix)(c,u))}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(uE,uE.exports)),uE.exports}var lE={exports:{}},RV;function vhe(){return RV||(RV=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});const n=Gu();function i(u,l){const c=(0,n.useRef)(null),h=(0,n.useRef)(null);return(0,n.useCallback)(p=>{if(p===null){const v=c.current;v&&(c.current=null,v());const b=h.current;b&&(h.current=null,b())}else u&&(c.current=o(u,p)),l&&(h.current=o(l,p))},[u,l])}function o(u,l){if(typeof u=="function"){const c=u(l);return typeof c=="function"?c:()=>u(null)}else return u.current=l,()=>{u.current=null}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(lE,lE.exports)),lE.exports}var rj={},OV;function yhe(){return OV||(OV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=n=>{};{const n=new Set;t=i=>{n.has(i)||console.error(i),n.add(i)}}})(rj)),rj}var TV;function bhe(){return TV||(TV=1,(function(e,t){"use client";var n={};Object.defineProperty(t,"__esModule",{value:!0});function i(B,Y){for(var K in Y)Object.defineProperty(B,K,{enumerable:!0,get:Y[K]})}i(t,{default:function(){return G},useLinkStatus:function(){return U}});const o=E7(),u=kI(),l=o._(Gu()),c=ihe(),h=I7(),p=T7(),v=K1(),b=ohe(),S=uhe(),_=che(),x=mhe(),R=ghe(),O=vhe();yhe();const T=new Set;function M(B,Y,K,oe){if(!(typeof window>"u")&&(0,h.isLocalURL)(Y)){if(!oe.bypassPrefetchedCheck){const le=typeof oe.locale<"u"?oe.locale:"locale"in B?B.locale:void 0,fe=Y+"%"+K+"%"+le;if(T.has(fe))return;T.add(fe)}B.prefetch(Y,K,oe).catch(le=>{throw le})}}function P(B){const K=B.currentTarget.getAttribute("target");return K&&K!=="_self"||B.metaKey||B.ctrlKey||B.shiftKey||B.altKey||B.nativeEvent&&B.nativeEvent.which===2}function C(B,Y,K,oe,le,fe,W,ue,ie){const{nodeName:_e}=B.currentTarget;if(_e.toUpperCase()==="A"&&P(B)||B.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(K)){le&&(B.preventDefault(),location.replace(K));return}B.preventDefault(),(()=>{if(ie){let te=!1;if(ie({preventDefault:()=>{te=!0}}),te)return}const Q=W??!0;"beforePopState"in Y?Y[le?"replace":"push"](K,oe,{shallow:fe,locale:ue,scroll:Q}):Y[le?"replace":"push"](oe||K,{scroll:Q})})()}function k(B){return typeof B=="string"?B:(0,p.formatUrl)(B)}const L=l.default.forwardRef(function(Y,K){let oe;const{href:le,as:fe,children:W,prefetch:ue=null,passHref:ie,replace:_e,shallow:ae,scroll:X,locale:Q,onClick:te,onNavigate:re,onMouseEnter:Ee,onTouchStart:Se,legacyBehavior:Re=!1,transitionTypes:Pe,...Le}=Y;oe=W,Re&&(typeof oe=="string"||typeof oe=="number")&&(oe=(0,u.jsx)("a",{children:oe}));const Ne=l.default.useContext(S.RouterContext),De=ue!==!1;{let ht=function(ot){return Object.defineProperty(new Error(`Failed prop type: The prop \`${ot.key}\` expects a ${ot.expected} in \`<Link>\`, but got \`${ot.actual}\` instead.`+(typeof window<"u"?`
|
|
546
|
+
Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})};Object.keys({href:!0}).forEach(ot=>{if(ot==="href"&&(Y[ot]==null||typeof Y[ot]!="string"&&typeof Y[ot]!="object"))throw ht({key:ot,expected:"`string` or `object`",actual:Y[ot]===null?"null":typeof Y[ot]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0,transitionTypes:!0}).forEach(ot=>{const St=typeof Y[ot];if(ot==="as"){if(Y[ot]&&St!=="string"&&St!=="object")throw ht({key:ot,expected:"`string` or `object`",actual:St})}else if(ot==="locale"){if(Y[ot]&&St!=="string")throw ht({key:ot,expected:"`string`",actual:St})}else if(ot==="onClick"||ot==="onMouseEnter"||ot==="onTouchStart"||ot==="onNavigate"){if(Y[ot]&&St!=="function")throw ht({key:ot,expected:"`function`",actual:St})}else if(ot==="replace"||ot==="scroll"||ot==="shallow"||ot==="passHref"||ot==="legacyBehavior"){if(Y[ot]!=null&&St!=="boolean")throw ht({key:ot,expected:"`boolean`",actual:St})}else if(ot==="prefetch"){if(Y[ot]!=null&&St!=="boolean"&&Y[ot]!=="auto")throw ht({key:ot,expected:'`boolean | "auto"`',actual:St})}else if(ot==="transitionTypes"&&Y[ot]!=null&&!Array.isArray(Y[ot]))throw ht({key:ot,expected:"`string[]`",actual:St})})}const{href:Ce,as:Qe}=l.default.useMemo(()=>{if(!Ne){const an=k(le);return{href:an,as:fe?k(fe):an}}const[ht,at]=(0,c.resolveHref)(Ne,le,!0);return{href:ht,as:fe?(0,c.resolveHref)(Ne,fe):at||ht}},[Ne,le,fe]),Ve=l.default.useRef(Ce),He=l.default.useRef(Qe);let ke;Re&&(ke=l.default.Children.only(oe));const $e=Re?ke&&typeof ke=="object"&&ke.ref:K,[ct,At,Ye]=(0,_.useIntersection)({rootMargin:"200px"}),yt=l.default.useCallback(ht=>{(He.current!==Qe||Ve.current!==Ce)&&(Ye(),He.current=Qe,Ve.current=Ce),ct(ht)},[Qe,Ce,Ye,ct]),mt=(0,O.useMergedRef)(yt,$e);l.default.useEffect(()=>{},[Qe,Ce,At,Q,De,Ne==null?void 0:Ne.locale,Ne]);const Dt={ref:mt,onClick(ht){if(!ht)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});!Re&&typeof te=="function"&&te(ht),Re&&ke.props&&typeof ke.props.onClick=="function"&&ke.props.onClick(ht),Ne&&(ht.defaultPrevented||C(ht,Ne,Ce,Qe,_e,ae,X,Q,re))},onMouseEnter(ht){!Re&&typeof Ee=="function"&&Ee(ht),Re&&ke.props&&typeof ke.props.onMouseEnter=="function"&&ke.props.onMouseEnter(ht),Ne&&M(Ne,Ce,Qe,{locale:Q,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:n.__NEXT_LINK_NO_TOUCH_START?void 0:function(at){!Re&&typeof Se=="function"&&Se(at),Re&&ke.props&&typeof ke.props.onTouchStart=="function"&&ke.props.onTouchStart(at),Ne&&M(Ne,Ce,Qe,{locale:Q,priority:!0,bypassPrefetchedCheck:!0})}};if((0,v.isAbsoluteUrl)(Qe))Dt.href=Qe;else if(!Re||ie||ke.type==="a"&&!("href"in ke.props)){const ht=typeof Q<"u"?Q:Ne==null?void 0:Ne.locale,at=(Ne==null?void 0:Ne.isLocaleDomain)&&(0,x.getDomainLocale)(Qe,ht,Ne==null?void 0:Ne.locales,Ne==null?void 0:Ne.domainLocales);Dt.href=at||(0,R.addBasePath)((0,b.addLocale)(Qe,ht,Ne==null?void 0:Ne.defaultLocale))}return Re?l.default.cloneElement(ke,Dt):(0,u.jsx)("a",{...Le,...Dt,children:oe})}),z=(0,l.createContext)({pending:!1}),U=()=>(0,l.useContext)(z),G=L;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(X1,X1.exports)),X1.exports}var ij,xV;function She(){return xV||(xV=1,ij=bhe()),ij}var _he=She();const Ehe=Pn(_he),whe=()=>ce.jsx("div",{className:"h-8 flex items-center justify-center bg-gray",children:ce.jsxs("p",{className:"text-12 font-normal text-center",children:["Powered by"," ",ce.jsx(Ehe,{target:"_blank",href:"https://gain.io",className:"font-medium text-12",children:"Gain.io"})]})}),Rhe=()=>ce.jsx("header",{className:"px-6 py-5",style:{backgroundColor:"var(--widget-color, #149365)"},children:ce.jsx("h2",{className:"text-24 font-semibold text-white",children:"Book a meeting"})}),Ohe={select_date:Pde,select_time_slot:$de,booking_form:hie,booking_confirm:sie},The=()=>{const[e,t]=F.useState("select_date"),[n,i]=F.useState({selectedDate:null,selectedSlot:null,reservedEvent:null,confirmedEvent:null,reservationExpiresAt:null,isExpiredModalOpen:!1,isLeaveModalOpen:!1}),{minutes:o,seconds:u,isExpired:l}=rie(e==="booking_form"?n.reservationExpiresAt:null),[c,{loading:h}]=hx(W_);F.useEffect(()=>{l&&e==="booking_form"&&i(x=>({...x,isExpiredModalOpen:!0}))},[l,e]);const p=(x,R={})=>{t(x),Object.keys(R).length&&i(O=>({...O,...R}))},v=()=>{i(x=>({...x,isLeaveModalOpen:!0}))},b=async()=>{var x;try{await c({variables:{inputData:{event_id:(x=n.reservedEvent)==null?void 0:x.id}}})}finally{i(R=>({...R,reservedEvent:null,reservationExpiresAt:null,isLeaveModalOpen:!1,selectedSlot:null})),t("select_time_slot")}},S=()=>{i(x=>({...x,reservedEvent:null,reservationExpiresAt:null,isExpiredModalOpen:!1,selectedSlot:null})),t("select_time_slot")},_=Ohe[e];return ce.jsxs("section",{className:"relative w-[400px] h-[500px] 2xl:h-[600px] overflow-hidden rounded-10 border border-[#e6e9ef] bg-white shadow-[0_18px_45px_rgba(0,0,0,0.14)]","aria-label":"Chat widget panel",children:[ce.jsx(Rhe,{}),ce.jsx("div",{className:"space-y-4 px-6 py-5 h-[394px] 2xl:h-[494px] overflow-y-auto custom-scrollbar bg-white",children:ce.jsx(_,{booking:n,setStep:p,minutes:o,seconds:u,isReservationExpired:l,onBack:v})}),ce.jsx(whe,{}),n.isLeaveModalOpen&&ce.jsx("div",{className:"absolute inset-0 z-50 flex items-end rounded-10 bg-black/40",children:ce.jsxs("div",{className:"w-full rounded-b-10 bg-white p-6",children:[ce.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[ce.jsx(Pv,{size:18,className:"shrink-0 text-yellow-500"}),ce.jsx("p",{className:"text-14 font-semibold text-dark",children:"This will release your reserved time slot"})]}),ce.jsx("p",{className:"mb-5 text-12 text-regular",children:"Your reserved time slot will be released if you leave this page. You may need to select another available time when you continue booking."}),ce.jsxs("div",{className:"flex gap-3",children:[ce.jsx("button",{type:"button",onClick:()=>i(x=>({...x,isLeaveModalOpen:!1})),className:"flex-1 rounded-md border border-border-light py-2.5 text-12 font-medium text-dark",children:"Cancel"}),ce.jsxs("button",{type:"button",onClick:b,disabled:h,className:"flex flex-1 items-center justify-center gap-2 rounded-md bg-brand py-2.5 text-12 font-medium text-white disabled:opacity-60",children:[h?"Releasing...":"Leave anyway",!h&&ce.jsx(ip,{size:14})]})]})]})}),n.isExpiredModalOpen&&ce.jsx("div",{className:"absolute inset-0 z-50 flex items-end rounded-10 bg-black/40",children:ce.jsxs("div",{className:"w-full rounded-b-10 bg-white p-6",children:[ce.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[ce.jsx(Pv,{size:18,className:"shrink-0 text-red"}),ce.jsx("p",{className:"text-14 font-semibold text-dark",children:"Reservation Expired"})]}),ce.jsx("p",{className:"mb-5 text-12 text-regular",children:"Your reserved time slot has expired. Choose another time to continue."}),ce.jsxs("button",{type:"button",onClick:S,className:"flex w-full items-center justify-center gap-2 rounded-md bg-brand py-2.5 text-12 font-medium text-white",children:["Choose Another Time ",ce.jsx(ip,{size:14})]})]})})]})},xhe=({isOpen:e,onClick:t,iconKey:n})=>ce.jsx("button",{type:"button","aria-expanded":e,"aria-label":e?"Close chat widget":"Open chat widget",onClick:t,className:"group flex size-12 hover:scale-105 items-center justify-center rounded-full text-white transition-all duration-300",style:{backgroundColor:"var(--widget-color, #149365)",boxShadow:"0 10px 26px color-mix(in srgb, var(--widget-color, #149365) 35%, transparent)"},children:ce.jsxs("span",{className:"relative flex size-6 items-center justify-center",children:[ce.jsx(nC,{strokeWidth:2,className:`absolute size-6 transition-all duration-300 ease-out ${e?"rotate-0 opacity-100":"-rotate-90 opacity-0"}`}),ce.jsx("span",{className:`absolute transition-all duration-300 ease-out ${e?"rotate-90 opacity-0":"rotate-0 opacity-100"}`,children:n?ce.jsx(ZU,{path:n,alt:"widget icon",width:24,height:24,isPrivate:!1,className:"object-contain"}):ce.jsx(aie,{})})]})});let aj=null,oj=null;const Ahe=()=>{const[e,t]=F.useState(!1),n=zg(v=>v.app.orgBookingDetails),{booking_widget_theme_color:i,booking_widget_font:o,booking_widget_icon:u}=(n==null?void 0:n.organization_setting)||{},l=i||"#149365",c=o||null,h=(u==null?void 0:u.key)||null,p={"--widget-color":l,...c&&{fontFamily:c}};return ce.jsxs("main",{className:"fixed bottom-6 right-6 z-120 flex flex-col items-end gap-3",style:p,children:[ce.jsx("div",{className:`origin-bottom-right transform-gpu transition-all duration-300 ease-out ${e?"translate-y-0 scale-100 opacity-100":"pointer-events-none translate-y-4 scale-95 opacity-0"}`,children:ce.jsx(The,{})}),ce.jsx(xhe,{isOpen:e,onClick:()=>t(v=>!v),iconKey:h})]})},cE=({apiKey:e})=>{const[t,n]=F.useState(!1);return F.useEffect(()=>{if(!e)return;let i=!1;return oj!==e&&(aj=lQ(e),oj=e),aj.then(o=>{var l;if(i)return;const u=((l=o==null?void 0:o.data)==null?void 0:l.data)||{};u.access_token&&(sQ(u),n(!0))}).catch(o=>{i||(aj=null,oj=null,console.error("[WidgetIndex] login failed",o.message))}),()=>{i=!0}},[e]),t?ce.jsx(Are,{children:ce.jsx(Ahe,{})}):null},Che="gain-io-widget-bundle-style",Dhe=()=>{typeof document>"u"||document.querySelectorAll(`#${Che}`).forEach(e=>{e.setAttribute("media","not all"),e.setAttribute("data-gain-io-widget-parent-style-disabled","true")})},AV=e=>{let t=document.getElementById("gain-io-widget-container");t||(t=document.createElement("div"),t.id="gain-io-widget-container",document.body.appendChild(t)),BI.createRoot(t).render(ce.jsx(cE,{...e}))},CV=()=>{const e=document.getElementById("gain-io-widget-container");e&&e.remove()};let sj=null;const Mhe=()=>{const e=document.querySelector("script[data-gain-auto-init]");return e?{apiKey:e.getAttribute("data-api-key")}:null},uj=()=>{Dhe();const e=Mhe();if(e!=null&&e.apiKey){let t=document.getElementById("gain-io-widget-container");t||(t=document.createElement("div"),t.id="gain-io-widget-container",document.body.appendChild(t)),sj||(sj=BI.createRoot(t)),sj.render(ce.jsx(cE,{apiKey:e.apiKey}))}else e!==null&&console.error("GainIoWidget: data-api-key is required on the script tag")},DV=()=>{const e=document.querySelector("script[data-gain-auto-init]");if(!e)return;new MutationObserver(n=>{n.forEach(i=>{i.type==="attributes"&&i.attributeName==="data-api-key"&&uj()})}).observe(e,{attributes:!0,attributeFilter:["data-api-key"]})};typeof window<"u"&&(window.GainIoWidget={init:AV,destroy:CV},document.readyState==="complete"?(uj(),DV()):window.addEventListener("load",()=>{uj(),DV()})),fa.GainIoWidget=cE,fa.default=cE,fa.destroyGainIoWidget=CV,fa.initGainIoWidget=AV,Object.defineProperties(fa,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|