@apollosproject/web-embeds 0.1.1313 → 0.1.1314

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.
Files changed (2) hide show
  1. package/package.json +5 -4
  2. package/widget/embed.js +9 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollosproject/web-embeds",
3
- "version": "0.1.1313",
3
+ "version": "0.1.1314",
4
4
  "description": "Next-generation embeddable widget system for Apollos",
5
5
  "type": "module",
6
6
  "main": "./widget/embed.js",
@@ -40,17 +40,18 @@
40
40
  "@types/node": "22.18.6",
41
41
  "@types/react": "^18.2.0",
42
42
  "@types/react-dom": "^18.2.0",
43
- "@vitejs/plugin-react": "^4.2.1",
43
+ "@vitejs/plugin-react": "^6.1.1",
44
44
  "autoprefixer": "^10.4.19",
45
45
  "cssnano": "^7.1.2",
46
+ "esbuild": "^0.28.2",
46
47
  "jsdom": "^29.1.1",
47
48
  "postcss": "^8.5.24",
48
49
  "tailwindcss": "^3.4.3",
49
50
  "tailwindcss-scoped-preflight": "^3.5.7",
50
51
  "typescript": "^7.0.2",
51
- "vite": "^7.3.6",
52
+ "vite": "^8.2.2",
52
53
  "vite-plugin-css-injected-by-js": "^3.5.0",
53
- "vitest": "^4.0.0"
54
+ "vitest": "^5.0.0"
54
55
  },
55
56
  "keywords": [
56
57
  "apollos",
package/widget/embed.js CHANGED
@@ -1,14 +1,15 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root{--color-brand-primary:0 103 109;--color-brand-secondary:23 181 130;--color-brand-tertiary:110 197 184;--color-fg-primary-dark:rgb(var(--color-gray-0));--color-fg-primary:rgb(var(--color-gray-1000));--color-fg-secondary-dark:rgba(235,235,245,.6);--color-fg-secondary:rgba(39,39,46,.7);--color-fg-tertiary-dark:rgba(244,247,248,.33);--color-fg-tertiary:rgba(39,39,46,.33);--color-fg-quaternary-dark:rgba(244,247,248,.25);--color-fg-quaternary:rgba(39,39,46,.25);--color-fg-quinary-dark:rgba(244,247,248,.15);--color-fg-quinary:rgba(39,39,46,.15);--color-gray-0:255 255 255;--color-gray-50:248 248 250;--color-gray-100:229 229 234;--color-gray-200:209 209 214;--color-gray-300:199 199 204;--color-gray-400:175 175 179;--color-gray-500:142 142 147;--color-gray-600:99 99 102;--color-gray-700:72 72 74;--color-gray-800:58 58 60;--color-gray-900:44 44 46;--color-gray-950:28 28 30;--color-gray-1000:0 0 0;--color-material-chrome:rgb(var(--color-gray-0));--color-material-chrome-dark:rgba(28,28,30,.4);--color-material-screen:hsla(0,0%,100%,.92);--color-material-screen-dark:rgb(var(--color-gray-1000));--color-material-ultrathin:rgba(248,248,250,.4);--color-material-ultrathin-dark:rgba(28,28,30,.5);--color-material-thin:rgba(248,248,250,.65);--color-material-thin-dark:rgba(28,28,30,.7);--color-material-regular:rgba(248,248,250,.8);--color-material-regular-dark:rgba(28,28,30,.9);--color-material-thick:rgba(248,248,250,.92);--color-material-thick-dark:rgba(28,28,30,.95);--color-material-opaque:rgba(28,28,30,.99);--color-system-chrome:rgb(var(--color-gray-0));--color-system-chrome-dark:rgb(var(--color-gray-900));--color-system-screen:rgb(var(--color-gray-50));--color-system-screen-dark:rgb(var(--color-gray-1000));--color-system-ultrathin:rgba(103,103,134,.08);--color-system-ultrathin-dark:hsla(240,4%,48%,.18);--color-system-thin:hsla(240,3%,49%,.12);--color-system-thin-dark:hsla(240,4%,48%,.24);--color-system-regular:hsla(240,3%,49%,.16);--color-system-regular-dark:hsla(240,3%,49%,.32);--color-system-thick:hsla(240,3%,49%,.2);--color-system-thick-dark:hsla(240,3%,49%,.36);--font-brand-body:Inter;--font-brand-heading:Inter}:where(.apollos-embed,.apollos-embed *),:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{border-color:rgb(var(--color-gray-200)/1);border-style:solid;border-width:0;box-sizing:border-box}:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{--tw-content:""}.apollos-embed{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var(--font-brand-body),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;line-height:inherit;margin:0}hr:where(.apollos-embed,.apollos-embed *){border-top-width:1px;color:inherit;height:0}abbr:where([title]):where(.apollos-embed,.apollos-embed *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *){font-size:inherit;font-weight:inherit}a:where(.apollos-embed,.apollos-embed *){color:inherit;text-decoration:inherit}b:where(.apollos-embed,.apollos-embed *),strong:where(.apollos-embed,.apollos-embed *){font-weight:bolder}code:where(.apollos-embed,.apollos-embed *),kbd:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *),samp:where(.apollos-embed,.apollos-embed *){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small:where(.apollos-embed,.apollos-embed *){font-size:80%}sub:where(.apollos-embed,.apollos-embed *),sup:where(.apollos-embed,.apollos-embed *){font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub:where(.apollos-embed,.apollos-embed *){bottom:-.25em}sup:where(.apollos-embed,.apollos-embed *){top:-.5em}table:where(.apollos-embed,.apollos-embed *){border-collapse:collapse;border-color:inherit;text-indent:0}button:where(.apollos-embed,.apollos-embed *),input:where(.apollos-embed,.apollos-embed *),optgroup:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *),textarea:where(.apollos-embed,.apollos-embed *){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *){text-transform:none}button:where(.apollos-embed,.apollos-embed *),input:where([type=button]):where(.apollos-embed,.apollos-embed *),input:where([type=reset]):where(.apollos-embed,.apollos-embed *),input:where([type=submit]):where(.apollos-embed,.apollos-embed *){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring:where(.apollos-embed,.apollos-embed *){outline:auto}:-moz-ui-invalid:where(.apollos-embed,.apollos-embed *){box-shadow:none}progress:where(.apollos-embed,.apollos-embed *){vertical-align:baseline}:where(.apollos-embed,.apollos-embed *) ::-webkit-inner-spin-button,:where(.apollos-embed,.apollos-embed *) ::-webkit-outer-spin-button{height:auto}[type=search]:where(.apollos-embed,.apollos-embed *){-webkit-appearance:textfield;outline-offset:-2px}:where(.apollos-embed,.apollos-embed *) ::-webkit-search-decoration{-webkit-appearance:none}:where(.apollos-embed,.apollos-embed *) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary:where(.apollos-embed,.apollos-embed *){display:list-item}blockquote:where(.apollos-embed,.apollos-embed *),dd:where(.apollos-embed,.apollos-embed *),dl:where(.apollos-embed,.apollos-embed *),figure:where(.apollos-embed,.apollos-embed *),h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *),hr:where(.apollos-embed,.apollos-embed *),p:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *){margin:0}fieldset:where(.apollos-embed,.apollos-embed *){margin:0;padding:0}legend:where(.apollos-embed,.apollos-embed *){padding:0}menu:where(.apollos-embed,.apollos-embed *),ol:where(.apollos-embed,.apollos-embed *),ul:where(.apollos-embed,.apollos-embed *){list-style:none;margin:0;padding:0}dialog:where(.apollos-embed,.apollos-embed *){padding:0}textarea:where(.apollos-embed,.apollos-embed *){resize:vertical}:where(.apollos-embed,.apollos-embed *) input::-moz-placeholder,:where(.apollos-embed,.apollos-embed *) textarea::-moz-placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}:where(.apollos-embed,.apollos-embed *) input::placeholder,:where(.apollos-embed,.apollos-embed *) textarea::placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}[role=button]:where(.apollos-embed,.apollos-embed *),button:where(.apollos-embed,.apollos-embed *){cursor:pointer}:disabled:where(.apollos-embed,.apollos-embed *){cursor:default}audio:where(.apollos-embed,.apollos-embed *),canvas:where(.apollos-embed,.apollos-embed *),embed:where(.apollos-embed,.apollos-embed *),iframe:where(.apollos-embed,.apollos-embed *),img:where(.apollos-embed,.apollos-embed *),object:where(.apollos-embed,.apollos-embed *),svg:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){display:block;vertical-align:middle}img:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])):where(.apollos-embed,.apollos-embed *){display:none}.apls-pointer-events-none{pointer-events:none}.apls-fixed{position:fixed}.apls-absolute{position:absolute}.apls-relative{position:relative}.apls-inset-0{inset:0}.apls-flex{display:flex}.apls-hidden{display:none}.apls-h-8{height:2rem}.apls-h-full{height:100%}.apls-h-screen{height:100vh}.apls-max-h-screen{max-height:100vh}.apls-w-8{width:2rem}.apls-w-full{width:100%}.apls-w-screen{width:100vw}.apls-flex-1{flex:1 1 0%}.apls-flex-grow{flex-grow:1}.apls-scale-100{--tw-scale-x:1;--tw-scale-y:1}.apls-scale-100,.apls-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.apls-scale-95{--tw-scale-x:.95;--tw-scale-y:.95}@keyframes apls-spin{to{transform:rotate(1turn)}}.apls-animate-spin{animation:apls-spin 1s linear infinite}.apls-flex-col{flex-direction:column}.apls-items-center{align-items:center}.apls-justify-center{justify-content:center}.apls-overflow-hidden{overflow:hidden}.apls-rounded-full{border-radius:9999px}.apls-rounded-none{border-radius:0}.apls-border-\\[3px\\]{border-width:3px}.apls-border-solid{border-style:solid}.apls-border-none{border-style:none}.apls-border-system-regular{border-color:var(--color-system-regular)}.apls-border-t-fg-tertiary{border-top-color:var(--color-fg-tertiary)}.apls-bg-black\\/50{background-color:#00000080}.apls-bg-system-screen{background-color:var(--color-system-screen)}.apls-bg-transparent{background-color:transparent}.apls-opacity-0{opacity:0}.apls-opacity-100{opacity:1}.apls-shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.apls-backdrop-blur-md{--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.apls-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-duration-300{transition-duration:.3s}.apls-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@supports (height:100dvh){.supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}.dark\\:apls-border-system-regular-dark:is(.apls-dark *){border-color:var(--color-system-regular-dark)}.dark\\:apls-border-t-fg-tertiary-dark:is(.apls-dark *){border-top-color:var(--color-fg-tertiary-dark)}.dark\\:apls-bg-system-screen-dark:is(.apls-dark *){background-color:var(--color-system-screen-dark)}@media(min-width:768px){.md\\:apls-h-\\[900px\\]{height:900px}.md\\:apls-h-\\[calc\\(100dvh-64px\\)\\]{height:calc(100dvh - 64px)}.md\\:apls-h-auto{height:auto}.md\\:apls-h-screen{height:100vh}.md\\:apls-max-h-\\[95vh\\]{max-height:95vh}.md\\:apls-max-h-\\[960px\\]{max-height:960px}.md\\:apls-max-h-\\[min\\(960px\\,calc\\(100dvh-64px\\)\\)\\]{max-height:min(960px,calc(100dvh - 64px))}.md\\:apls-max-h-screen{max-height:100vh}.md\\:apls-min-h-\\[min\\(360px\\,calc\\(100dvh-64px\\)\\)\\]{min-height:min(360px,calc(100dvh - 64px))}.md\\:apls-w-\\[600px\\]{width:600px}.md\\:apls-w-\\[calc\\(100dvw-64px\\)\\]{width:calc(100dvw - 64px)}.md\\:apls-w-screen{width:100vw}.md\\:apls-max-w-\\[1120px\\]{max-width:1120px}.md\\:apls-max-w-\\[544px\\]{max-width:544px}.md\\:apls-max-w-\\[600px\\]{max-width:600px}.md\\:apls-max-w-\\[640px\\]{max-width:640px}.md\\:apls-rounded-3xl{border-radius:1.5rem}@supports (height:100dvh){.md\\:supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.md\\:supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.md\\:supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- this.ApollosEmbed=(function(){"use strict";function nc(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var jl={exports:{}},W={};var Ho;function rc(){if(Ho)return W;Ho=1;var v=Symbol.for("react.element"),u=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),L=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),D=Symbol.iterator;function $(d){return d===null||typeof d!="object"?null:(d=D&&d[D]||d["@@iterator"],typeof d=="function"?d:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ne=Object.assign,J={};function G(d,S,H){this.props=d,this.context=S,this.refs=J,this.updater=H||q}G.prototype.isReactComponent={},G.prototype.setState=function(d,S){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,S,"setState")},G.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function Be(){}Be.prototype=G.prototype;function He(d,S,H){this.props=d,this.context=S,this.refs=J,this.updater=H||q}var Oe=He.prototype=new Be;Oe.constructor=He,ne(Oe,G.prototype),Oe.isPureReactComponent=!0;var Se=Array.isArray,Ee=Object.prototype.hasOwnProperty,xe={current:null},Le={key:!0,ref:!0,__self:!0,__source:!0};function re(d,S,H){var V,Y={},X=null,le=null;if(S!=null)for(V in S.ref!==void 0&&(le=S.ref),S.key!==void 0&&(X=""+S.key),S)Ee.call(S,V)&&!Le.hasOwnProperty(V)&&(Y[V]=S[V]);var ee=arguments.length-2;if(ee===1)Y.children=H;else if(1<ee){for(var fe=Array(ee),Ze=0;Ze<ee;Ze++)fe[Ze]=arguments[Ze+2];Y.children=fe}if(d&&d.defaultProps)for(V in ee=d.defaultProps,ee)Y[V]===void 0&&(Y[V]=ee[V]);return{$$typeof:v,type:d,key:X,ref:le,props:Y,_owner:xe.current}}function Me(d,S){return{$$typeof:v,type:d.type,key:S,ref:d.ref,props:d.props,_owner:d._owner}}function at(d){return typeof d=="object"&&d!==null&&d.$$typeof===v}function xt(d){var S={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(H){return S[H]})}var nt=/\/+/g;function b(d,S){return typeof d=="object"&&d!==null&&d.key!=null?xt(""+d.key):S.toString(36)}function ae(d,S,H,V,Y){var X=typeof d;(X==="undefined"||X==="boolean")&&(d=null);var le=!1;if(d===null)le=!0;else switch(X){case"string":case"number":le=!0;break;case"object":switch(d.$$typeof){case v:case u:le=!0}}if(le)return le=d,Y=Y(le),d=V===""?"."+b(le,0):V,Se(Y)?(H="",d!=null&&(H=d.replace(nt,"$&/")+"/"),ae(Y,S,H,"",function(Ze){return Ze})):Y!=null&&(at(Y)&&(Y=Me(Y,H+(!Y.key||le&&le.key===Y.key?"":(""+Y.key).replace(nt,"$&/")+"/")+d)),S.push(Y)),1;if(le=0,V=V===""?".":V+":",Se(d))for(var ee=0;ee<d.length;ee++){X=d[ee];var fe=V+b(X,ee);le+=ae(X,S,H,fe,Y)}else if(fe=$(d),typeof fe=="function")for(d=fe.call(d),ee=0;!(X=d.next()).done;)X=X.value,fe=V+b(X,ee++),le+=ae(X,S,H,fe,Y);else if(X==="object")throw S=String(d),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.");return le}function ce(d,S,H){if(d==null)return d;var V=[],Y=0;return ae(d,V,"","",function(X){return S.call(H,X,Y++)}),V}function Ae(d){if(d._status===-1){var S=d._result;S=S(),S.then(function(H){(d._status===0||d._status===-1)&&(d._status=1,d._result=H)},function(H){(d._status===0||d._status===-1)&&(d._status=2,d._result=H)}),d._status===-1&&(d._status=0,d._result=S)}if(d._status===1)return d._result.default;throw d._result}var me={current:null},T={transition:null},U={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:T,ReactCurrentOwner:xe};function P(){throw Error("act(...) is not supported in production builds of React.")}return W.Children={map:ce,forEach:function(d,S,H){ce(d,function(){S.apply(this,arguments)},H)},count:function(d){var S=0;return ce(d,function(){S++}),S},toArray:function(d){return ce(d,function(S){return S})||[]},only:function(d){if(!at(d))throw Error("React.Children.only expected to receive a single React element child.");return d}},W.Component=G,W.Fragment=s,W.Profiler=y,W.PureComponent=He,W.StrictMode=m,W.Suspense=M,W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,W.act=P,W.cloneElement=function(d,S,H){if(d==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+d+".");var V=ne({},d.props),Y=d.key,X=d.ref,le=d._owner;if(S!=null){if(S.ref!==void 0&&(X=S.ref,le=xe.current),S.key!==void 0&&(Y=""+S.key),d.type&&d.type.defaultProps)var ee=d.type.defaultProps;for(fe in S)Ee.call(S,fe)&&!Le.hasOwnProperty(fe)&&(V[fe]=S[fe]===void 0&&ee!==void 0?ee[fe]:S[fe])}var fe=arguments.length-2;if(fe===1)V.children=H;else if(1<fe){ee=Array(fe);for(var Ze=0;Ze<fe;Ze++)ee[Ze]=arguments[Ze+2];V.children=ee}return{$$typeof:v,type:d.type,key:Y,ref:X,props:V,_owner:le}},W.createContext=function(d){return d={$$typeof:L,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},d.Provider={$$typeof:x,_context:d},d.Consumer=d},W.createElement=re,W.createFactory=function(d){var S=re.bind(null,d);return S.type=d,S},W.createRef=function(){return{current:null}},W.forwardRef=function(d){return{$$typeof:z,render:d}},W.isValidElement=at,W.lazy=function(d){return{$$typeof:Q,_payload:{_status:-1,_result:d},_init:Ae}},W.memo=function(d,S){return{$$typeof:B,type:d,compare:S===void 0?null:S}},W.startTransition=function(d){var S=T.transition;T.transition={};try{d()}finally{T.transition=S}},W.unstable_act=P,W.useCallback=function(d,S){return me.current.useCallback(d,S)},W.useContext=function(d){return me.current.useContext(d)},W.useDebugValue=function(){},W.useDeferredValue=function(d){return me.current.useDeferredValue(d)},W.useEffect=function(d,S){return me.current.useEffect(d,S)},W.useId=function(){return me.current.useId()},W.useImperativeHandle=function(d,S,H){return me.current.useImperativeHandle(d,S,H)},W.useInsertionEffect=function(d,S){return me.current.useInsertionEffect(d,S)},W.useLayoutEffect=function(d,S){return me.current.useLayoutEffect(d,S)},W.useMemo=function(d,S){return me.current.useMemo(d,S)},W.useReducer=function(d,S,H){return me.current.useReducer(d,S,H)},W.useRef=function(d){return me.current.useRef(d)},W.useState=function(d){return me.current.useState(d)},W.useSyncExternalStore=function(d,S,H){return me.current.useSyncExternalStore(d,S,H)},W.useTransition=function(){return me.current.useTransition()},W.version="18.3.1",W}var Wo;function Bl(){return Wo||(Wo=1,jl.exports=rc()),jl.exports}var ue=Bl();const Dn=nc(ue);var _r={},Hl={exports:{}},Ve={},Wl={exports:{}},$l={};var $o;function lc(){return $o||($o=1,(function(v){function u(T,U){var P=T.length;T.push(U);e:for(;0<P;){var d=P-1>>>1,S=T[d];if(0<y(S,U))T[d]=U,T[P]=S,P=d;else break e}}function s(T){return T.length===0?null:T[0]}function m(T){if(T.length===0)return null;var U=T[0],P=T.pop();if(P!==U){T[0]=P;e:for(var d=0,S=T.length,H=S>>>1;d<H;){var V=2*(d+1)-1,Y=T[V],X=V+1,le=T[X];if(0>y(Y,P))X<S&&0>y(le,Y)?(T[d]=le,T[X]=P,d=X):(T[d]=Y,T[V]=P,d=V);else if(X<S&&0>y(le,P))T[d]=le,T[X]=P,d=X;else break e}}return U}function y(T,U){var P=T.sortIndex-U.sortIndex;return P!==0?P:T.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;v.unstable_now=function(){return x.now()}}else{var L=Date,z=L.now();v.unstable_now=function(){return L.now()-z}}var M=[],B=[],Q=1,D=null,$=3,q=!1,ne=!1,J=!1,G=typeof setTimeout=="function"?setTimeout:null,Be=typeof clearTimeout=="function"?clearTimeout:null,He=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Oe(T){for(var U=s(B);U!==null;){if(U.callback===null)m(B);else if(U.startTime<=T)m(B),U.sortIndex=U.expirationTime,u(M,U);else break;U=s(B)}}function Se(T){if(J=!1,Oe(T),!ne)if(s(M)!==null)ne=!0,Ae(Ee);else{var U=s(B);U!==null&&me(Se,U.startTime-T)}}function Ee(T,U){ne=!1,J&&(J=!1,Be(re),re=-1),q=!0;var P=$;try{for(Oe(U),D=s(M);D!==null&&(!(D.expirationTime>U)||T&&!xt());){var d=D.callback;if(typeof d=="function"){D.callback=null,$=D.priorityLevel;var S=d(D.expirationTime<=U);U=v.unstable_now(),typeof S=="function"?D.callback=S:D===s(M)&&m(M),Oe(U)}else m(M);D=s(M)}if(D!==null)var H=!0;else{var V=s(B);V!==null&&me(Se,V.startTime-U),H=!1}return H}finally{D=null,$=P,q=!1}}var xe=!1,Le=null,re=-1,Me=5,at=-1;function xt(){return!(v.unstable_now()-at<Me)}function nt(){if(Le!==null){var T=v.unstable_now();at=T;var U=!0;try{U=Le(!0,T)}finally{U?b():(xe=!1,Le=null)}}else xe=!1}var b;if(typeof He=="function")b=function(){He(nt)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,ce=ae.port2;ae.port1.onmessage=nt,b=function(){ce.postMessage(null)}}else b=function(){G(nt,0)};function Ae(T){Le=T,xe||(xe=!0,b())}function me(T,U){re=G(function(){T(v.unstable_now())},U)}v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(T){T.callback=null},v.unstable_continueExecution=function(){ne||q||(ne=!0,Ae(Ee))},v.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<T?Math.floor(1e3/T):5},v.unstable_getCurrentPriorityLevel=function(){return $},v.unstable_getFirstCallbackNode=function(){return s(M)},v.unstable_next=function(T){switch($){case 1:case 2:case 3:var U=3;break;default:U=$}var P=$;$=U;try{return T()}finally{$=P}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=function(){},v.unstable_runWithPriority=function(T,U){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var P=$;$=T;try{return U()}finally{$=P}},v.unstable_scheduleCallback=function(T,U,P){var d=v.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?d+P:d):P=d,T){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=P+S,T={id:Q++,callback:U,priorityLevel:T,startTime:P,expirationTime:S,sortIndex:-1},P>d?(T.sortIndex=P,u(B,T),s(M)===null&&T===s(B)&&(J?(Be(re),re=-1):J=!0,me(Se,P-d))):(T.sortIndex=S,u(M,T),ne||q||(ne=!0,Ae(Ee))),T},v.unstable_shouldYield=xt,v.unstable_wrapCallback=function(T){var U=$;return function(){var P=$;$=U;try{return T.apply(this,arguments)}finally{$=P}}}})($l)),$l}var Vo;function ic(){return Vo||(Vo=1,Wl.exports=lc()),Wl.exports}var Qo;function oc(){if(Qo)return Ve;Qo=1;var v=Bl(),u=ic();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=new Set,y={};function x(e,t){L(e,t),L(e+"Capture",t)}function L(e,t){for(y[e]=t,e=0;e<t.length;e++)m.add(t[e])}var z=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M=Object.prototype.hasOwnProperty,B=/^[: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]*$/,Q={},D={};function $(e){return M.call(D,e)?!0:M.call(Q,e)?!1:B.test(e)?D[e]=!0:(Q[e]=!0,!1)}function q(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ne(e,t,n,r){if(t===null||typeof t>"u"||q(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function J(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){G[e]=new J(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];G[t]=new J(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){G[e]=new J(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){G[e]=new J(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){G[e]=new J(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){G[e]=new J(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){G[e]=new J(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){G[e]=new J(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){G[e]=new J(e,5,!1,e.toLowerCase(),null,!1,!1)});var Be=/[\-:]([a-z])/g;function He(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Be,He);G[t]=new J(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Be,He);G[t]=new J(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Be,He);G[t]=new J(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){G[e]=new J(e,1,!1,e.toLowerCase(),null,!1,!1)}),G.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){G[e]=new J(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oe(e,t,n,r){var l=G.hasOwnProperty(t)?G[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ne(t,n,l,r)&&(n=null),r||l===null?$(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Se=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ee=Symbol.for("react.element"),xe=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),at=Symbol.for("react.provider"),xt=Symbol.for("react.context"),nt=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),T=Symbol.iterator;function U(e){return e===null||typeof e!="object"?null:(e=T&&e[T]||e["@@iterator"],typeof e=="function"?e:null)}var P=Object.assign,d;function S(e){if(d===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);d=t&&t[1]||""}return`
3
- `+d+e}var H=!1;function V(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(g){var r=g}Reflect.construct(e,[],t)}else{try{t.call()}catch(g){r=g}e.call(t.prototype)}else{try{throw Error()}catch(g){r=g}e()}}catch(g){if(g&&r&&typeof g.stack=="string"){for(var l=g.stack.split(`
1
+ (function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`*,:after,:before,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root{--color-brand-primary:0 103 109;--color-brand-secondary:23 181 130;--color-brand-tertiary:110 197 184;--color-fg-primary-dark:rgb(var(--color-gray-0));--color-fg-primary:rgb(var(--color-gray-1000));--color-fg-secondary-dark:#ebebf599;--color-fg-secondary:#27272eb3;--color-fg-tertiary-dark:#f4f7f854;--color-fg-tertiary:#27272e54;--color-fg-quaternary-dark:#f4f7f840;--color-fg-quaternary:#27272e40;--color-fg-quinary-dark:#f4f7f826;--color-fg-quinary:#27272e26;--color-gray-0:255 255 255;--color-gray-50:248 248 250;--color-gray-100:229 229 234;--color-gray-200:209 209 214;--color-gray-300:199 199 204;--color-gray-400:175 175 179;--color-gray-500:142 142 147;--color-gray-600:99 99 102;--color-gray-700:72 72 74;--color-gray-800:58 58 60;--color-gray-900:44 44 46;--color-gray-950:28 28 30;--color-gray-1000:0 0 0;--color-material-chrome:rgb(var(--color-gray-0));--color-material-chrome-dark:#1c1c1e66;--color-material-screen:#ffffffeb;--color-material-screen-dark:rgb(var(--color-gray-1000));--color-material-ultrathin:#f8f8fa66;--color-material-ultrathin-dark:#1c1c1e80;--color-material-thin:#f8f8faa6;--color-material-thin-dark:#1c1c1eb3;--color-material-regular:#f8f8facc;--color-material-regular-dark:#1c1c1ee6;--color-material-thick:#f8f8faeb;--color-material-thick-dark:#1c1c1ef2;--color-material-opaque:#1c1c1efc;--color-system-chrome:rgb(var(--color-gray-0));--color-system-chrome-dark:rgb(var(--color-gray-900));--color-system-screen:rgb(var(--color-gray-50));--color-system-screen-dark:rgb(var(--color-gray-1000));--color-system-ultrathin:#67678614;--color-system-ultrathin-dark:#76767f2e;--color-system-thin:#7979811f;--color-system-thin-dark:#76767f3d;--color-system-regular:#79798129;--color-system-regular-dark:#79798152;--color-system-thick:#79798133;--color-system-thick-dark:#7979815c;--font-brand-body:Inter;--font-brand-heading:Inter}:where(.apollos-embed,.apollos-embed *),:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{border-color:rgb(var(--color-gray-200)/1);box-sizing:border-box;border-style:solid;border-width:0}:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{--tw-content:""}.apollos-embed{-webkit-text-size-adjust:100%;line-height:1.5;font-family:var(--font-brand-body),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent;line-height:inherit;margin:0}hr:where(.apollos-embed,.apollos-embed *){color:inherit;border-top-width:1px;height:0}abbr:where([title]):where(.apollos-embed,.apollos-embed *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *){font-size:inherit;font-weight:inherit}a:where(.apollos-embed,.apollos-embed *){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b:where(.apollos-embed,.apollos-embed *),strong:where(.apollos-embed,.apollos-embed *){font-weight:bolder}code:where(.apollos-embed,.apollos-embed *),kbd:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *),samp:where(.apollos-embed,.apollos-embed *){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small:where(.apollos-embed,.apollos-embed *){font-size:80%}sub:where(.apollos-embed,.apollos-embed *),sup:where(.apollos-embed,.apollos-embed *){vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub:where(.apollos-embed,.apollos-embed *){bottom:-.25em}sup:where(.apollos-embed,.apollos-embed *){top:-.5em}table:where(.apollos-embed,.apollos-embed *){border-collapse:collapse;border-color:inherit;text-indent:0}button:where(.apollos-embed,.apollos-embed *),input:where(.apollos-embed,.apollos-embed *),optgroup:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *),textarea:where(.apollos-embed,.apollos-embed *){color:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *){text-transform:none}button:where(.apollos-embed,.apollos-embed *),input:where([type=button]):where(.apollos-embed,.apollos-embed *),input:where([type=reset]):where(.apollos-embed,.apollos-embed *),input:where([type=submit]):where(.apollos-embed,.apollos-embed *){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring:where(.apollos-embed,.apollos-embed *){outline:auto}:-moz-ui-invalid:where(.apollos-embed,.apollos-embed *){box-shadow:none}progress:where(.apollos-embed,.apollos-embed *){vertical-align:baseline}:where(.apollos-embed,.apollos-embed *) ::-webkit-inner-spin-button{height:auto}:where(.apollos-embed,.apollos-embed *) ::-webkit-outer-spin-button{height:auto}[type=search]:where(.apollos-embed,.apollos-embed *){-webkit-appearance:textfield;outline-offset:-2px}:where(.apollos-embed,.apollos-embed *) ::-webkit-search-decoration{-webkit-appearance:none}:where(.apollos-embed,.apollos-embed *) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary:where(.apollos-embed,.apollos-embed *){display:list-item}blockquote:where(.apollos-embed,.apollos-embed *),dd:where(.apollos-embed,.apollos-embed *),dl:where(.apollos-embed,.apollos-embed *),figure:where(.apollos-embed,.apollos-embed *),h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *),hr:where(.apollos-embed,.apollos-embed *),p:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *){margin:0}fieldset:where(.apollos-embed,.apollos-embed *){margin:0;padding:0}legend:where(.apollos-embed,.apollos-embed *){padding:0}menu:where(.apollos-embed,.apollos-embed *),ol:where(.apollos-embed,.apollos-embed *),ul:where(.apollos-embed,.apollos-embed *){margin:0;padding:0;list-style:none}dialog:where(.apollos-embed,.apollos-embed *){padding:0}textarea:where(.apollos-embed,.apollos-embed *){resize:vertical}:where(.apollos-embed,.apollos-embed *) input::-moz-placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}:where(.apollos-embed,.apollos-embed *) textarea::-moz-placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}:where(.apollos-embed,.apollos-embed *) input::placeholder,:where(.apollos-embed,.apollos-embed *) textarea::placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}[role=button]:where(.apollos-embed,.apollos-embed *),button:where(.apollos-embed,.apollos-embed *){cursor:pointer}:disabled:where(.apollos-embed,.apollos-embed *){cursor:default}audio:where(.apollos-embed,.apollos-embed *),canvas:where(.apollos-embed,.apollos-embed *),embed:where(.apollos-embed,.apollos-embed *),iframe:where(.apollos-embed,.apollos-embed *),img:where(.apollos-embed,.apollos-embed *),object:where(.apollos-embed,.apollos-embed *),svg:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){vertical-align:middle;display:block}img:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])):where(.apollos-embed,.apollos-embed *){display:none}.apls-pointer-events-none{pointer-events:none}.apls-fixed{position:fixed}.apls-absolute{position:absolute}.apls-relative{position:relative}.apls-inset-0{inset:0}.apls-flex{display:flex}.apls-hidden{display:none}.apls-h-8{height:2rem}.apls-h-full{height:100%}.apls-h-screen{height:100vh}.apls-max-h-screen{max-height:100vh}.apls-w-8{width:2rem}.apls-w-full{width:100%}.apls-w-screen{width:100vw}.apls-flex-1{flex:1}.apls-flex-grow{flex-grow:1}.apls-scale-100{--tw-scale-x:1;--tw-scale-y:1}.apls-scale-100,.apls-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.apls-scale-95{--tw-scale-x:.95;--tw-scale-y:.95}@keyframes apls-spin{to{transform:rotate(1turn)}}.apls-animate-spin{animation:1s linear infinite apls-spin}.apls-flex-col{flex-direction:column}.apls-items-center{align-items:center}.apls-justify-center{justify-content:center}.apls-overflow-hidden{overflow:hidden}.apls-rounded-full{border-radius:9999px}.apls-rounded-none{border-radius:0}.apls-border-\\[3px\\]{border-width:3px}.apls-border-solid{border-style:solid}.apls-border-none{border-style:none}.apls-border-system-regular{border-color:var(--color-system-regular)}.apls-border-t-fg-tertiary{border-top-color:var(--color-fg-tertiary)}.apls-bg-black\\/50{background-color:#00000080}.apls-bg-system-screen{background-color:var(--color-system-screen)}.apls-bg-transparent{background-color:#0000}.apls-opacity-0{opacity:0}.apls-opacity-100{opacity:1}.apls-shadow-2xl{--tw-shadow:0 25px 50px -12px #00000040;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.apls-backdrop-blur-md{--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.apls-transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-duration-300{transition-duration:.3s}.apls-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@supports (height:100dvh){.supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}.dark\\:apls-border-system-regular-dark:is(.apls-dark *){border-color:var(--color-system-regular-dark)}.dark\\:apls-border-t-fg-tertiary-dark:is(.apls-dark *){border-top-color:var(--color-fg-tertiary-dark)}.dark\\:apls-bg-system-screen-dark:is(.apls-dark *){background-color:var(--color-system-screen-dark)}@media (width>=768px){.md\\:apls-h-\\[900px\\]{height:900px}.md\\:apls-h-\\[calc\\(100dvh-64px\\)\\]{height:calc(100dvh - 64px)}.md\\:apls-h-auto{height:auto}.md\\:apls-h-screen{height:100vh}.md\\:apls-max-h-\\[95vh\\]{max-height:95vh}.md\\:apls-max-h-\\[960px\\]{max-height:960px}.md\\:apls-max-h-\\[min\\(960px\\,calc\\(100dvh-64px\\)\\)\\]{max-height:min(960px,100dvh - 64px)}.md\\:apls-max-h-screen{max-height:100vh}.md\\:apls-min-h-\\[min\\(360px\\,calc\\(100dvh-64px\\)\\)\\]{min-height:min(360px,100dvh - 64px)}.md\\:apls-w-\\[600px\\]{width:600px}.md\\:apls-w-\\[calc\\(100dvw-64px\\)\\]{width:calc(100dvw - 64px)}.md\\:apls-w-screen{width:100vw}.md\\:apls-max-w-\\[1120px\\]{max-width:1120px}.md\\:apls-max-w-\\[544px\\]{max-width:544px}.md\\:apls-max-w-\\[600px\\]{max-width:600px}.md\\:apls-max-w-\\[640px\\]{max-width:640px}.md\\:apls-rounded-3xl{border-radius:1.5rem}@supports (height:100dvh){.md\\:supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.md\\:supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.md\\:supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}}
2
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
3
+ this.ApollosEmbed=(function(){var Da=Object.create,Oo=Object.defineProperty,Ua=Object.getOwnPropertyDescriptor,ja=Object.getOwnPropertyNames,Ba=Object.getPrototypeOf,Mo=Object.prototype.hasOwnProperty,Et=(p,s)=>()=>(s||(p((s={exports:{}}).exports,s),p=null),s.exports),Ha=(p,s,c,u)=>{if(s&&typeof s=="object"||typeof s=="function")for(var y=ja(s),C=0,L=y.length,O;C<L;C++)O=y[C],!Mo.call(p,O)&&O!==c&&Oo(p,O,{get:(R=>s[R]).bind(null,O),enumerable:!(u=Ua(s,O))||u.enumerable});return p},$a=(p,s,c)=>(c=p!=null?Da(Ba(p)):{},Ha(s||!p||!p.__esModule||!Mo.call(p,"default")?Oo(c,"default",{value:p,enumerable:!0}):c,p)),Wa=Et((p=>{var s=Symbol.for("react.element"),c=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),O=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),Q=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),W=Symbol.iterator;function Z(h){return h===null||typeof h!="object"?null:(h=W&&h[W]||h["@@iterator"],typeof h=="function"?h:null)}var re={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Me=Object.assign,le={};function G(h,E,H){this.props=h,this.context=E,this.refs=le,this.updater=H||re}G.prototype.isReactComponent={},G.prototype.setState=function(h,E){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,E,"setState")},G.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function He(){}He.prototype=G.prototype;function Ie(h,E,H){this.props=h,this.context=E,this.refs=le,this.updater=H||re}var Ue=Ie.prototype=new He;Ue.constructor=Ie,Me(Ue,G.prototype),Ue.isPureReactComponent=!0;var ue=Array.isArray,Re=Object.prototype.hasOwnProperty,ke={current:null},J={key:!0,ref:!0,__self:!0,__source:!0};function Pe(h,E,H){var K,V={},q=null,ve=null;if(E!=null)for(K in E.ref!==void 0&&(ve=E.ref),E.key!==void 0&&(q=""+E.key),E)Re.call(E,K)&&!J.hasOwnProperty(K)&&(V[K]=E[K]);var b=arguments.length-2;if(b===1)V.children=H;else if(1<b){for(var ce=Array(b),Xe=0;Xe<b;Xe++)ce[Xe]=arguments[Xe+2];V.children=ce}if(h&&h.defaultProps)for(K in b=h.defaultProps,b)V[K]===void 0&&(V[K]=b[K]);return{$$typeof:s,type:h,key:q,ref:ve,props:V,_owner:ke.current}}function mt(h,E){return{$$typeof:s,type:h.type,key:E,ref:h.ref,props:h.props,_owner:h._owner}}function ot(h){return typeof h=="object"&&h!==null&&h.$$typeof===s}function vt(h){var E={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(H){return E[H]})}var ne=/\/+/g;function fe(h,E){return typeof h=="object"&&h!==null&&h.key!=null?vt(""+h.key):E.toString(36)}function ae(h,E,H,K,V){var q=typeof h;(q==="undefined"||q==="boolean")&&(h=null);var ve=!1;if(h===null)ve=!0;else switch(q){case"string":case"number":ve=!0;break;case"object":switch(h.$$typeof){case s:case c:ve=!0}}if(ve)return ve=h,V=V(ve),h=K===""?"."+fe(ve,0):K,ue(V)?(H="",h!=null&&(H=h.replace(ne,"$&/")+"/"),ae(V,E,H,"",function(Xe){return Xe})):V!=null&&(ot(V)&&(V=mt(V,H+(!V.key||ve&&ve.key===V.key?"":(""+V.key).replace(ne,"$&/")+"/")+h)),E.push(V)),1;if(ve=0,K=K===""?".":K+":",ue(h))for(var b=0;b<h.length;b++){q=h[b];var ce=K+fe(q,b);ve+=ae(q,E,H,ce,V)}else if(ce=Z(h),typeof ce=="function")for(h=ce.call(h),b=0;!(q=h.next()).done;)q=q.value,ce=K+fe(q,b++),ve+=ae(q,E,H,ce,V);else if(q==="object")throw E=String(h),Error("Objects are not valid as a React child (found: "+(E==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.");return ve}function $e(h,E,H){if(h==null)return h;var K=[],V=0;return ae(h,K,"","",function(q){return E.call(H,q,V++)}),K}function We(h){if(h._status===-1){var E=h._result;E=E(),E.then(function(H){(h._status===0||h._status===-1)&&(h._status=1,h._result=H)},function(H){(h._status===0||h._status===-1)&&(h._status=2,h._result=H)}),h._status===-1&&(h._status=0,h._result=E)}if(h._status===1)return h._result.default;throw h._result}var _={current:null},D={transition:null},B={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:D,ReactCurrentOwner:ke};function U(){throw Error("act(...) is not supported in production builds of React.")}p.Children={map:$e,forEach:function(h,E,H){$e(h,function(){E.apply(this,arguments)},H)},count:function(h){var E=0;return $e(h,function(){E++}),E},toArray:function(h){return $e(h,function(E){return E})||[]},only:function(h){if(!ot(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},p.Component=G,p.Fragment=u,p.Profiler=C,p.PureComponent=Ie,p.StrictMode=y,p.Suspense=$,p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,p.act=U,p.cloneElement=function(h,E,H){if(h==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+h+".");var K=Me({},h.props),V=h.key,q=h.ref,ve=h._owner;if(E!=null){if(E.ref!==void 0&&(q=E.ref,ve=ke.current),E.key!==void 0&&(V=""+E.key),h.type&&h.type.defaultProps)var b=h.type.defaultProps;for(ce in E)Re.call(E,ce)&&!J.hasOwnProperty(ce)&&(K[ce]=E[ce]===void 0&&b!==void 0?b[ce]:E[ce])}var ce=arguments.length-2;if(ce===1)K.children=H;else if(1<ce){b=Array(ce);for(var Xe=0;Xe<ce;Xe++)b[Xe]=arguments[Xe+2];K.children=b}return{$$typeof:s,type:h.type,key:V,ref:q,props:K,_owner:ve}},p.createContext=function(h){return h={$$typeof:O,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},h.Provider={$$typeof:L,_context:h},h.Consumer=h},p.createElement=Pe,p.createFactory=function(h){var E=Pe.bind(null,h);return E.type=h,E},p.createRef=function(){return{current:null}},p.forwardRef=function(h){return{$$typeof:R,render:h}},p.isValidElement=ot,p.lazy=function(h){return{$$typeof:F,_payload:{_status:-1,_result:h},_init:We}},p.memo=function(h,E){return{$$typeof:Q,type:h,compare:E===void 0?null:E}},p.startTransition=function(h){var E=D.transition;D.transition={};try{h()}finally{D.transition=E}},p.unstable_act=U,p.useCallback=function(h,E){return _.current.useCallback(h,E)},p.useContext=function(h){return _.current.useContext(h)},p.useDebugValue=function(){},p.useDeferredValue=function(h){return _.current.useDeferredValue(h)},p.useEffect=function(h,E){return _.current.useEffect(h,E)},p.useId=function(){return _.current.useId()},p.useImperativeHandle=function(h,E,H){return _.current.useImperativeHandle(h,E,H)},p.useInsertionEffect=function(h,E){return _.current.useInsertionEffect(h,E)},p.useLayoutEffect=function(h,E){return _.current.useLayoutEffect(h,E)},p.useMemo=function(h,E){return _.current.useMemo(h,E)},p.useReducer=function(h,E,H){return _.current.useReducer(h,E,H)},p.useRef=function(h){return _.current.useRef(h)},p.useState=function(h){return _.current.useState(h)},p.useSyncExternalStore=function(h,E,H){return _.current.useSyncExternalStore(h,E,H)},p.useTransition=function(){return _.current.useTransition()},p.version="18.3.1"})),zl=Et(((p,s)=>{s.exports=Wa()})),Va=Et((p=>{function s(_,D){var B=_.length;_.push(D);e:for(;0<B;){var U=B-1>>>1,h=_[U];if(0<y(h,D))_[U]=D,_[B]=h,B=U;else break e}}function c(_){return _.length===0?null:_[0]}function u(_){if(_.length===0)return null;var D=_[0],B=_.pop();if(B!==D){_[0]=B;e:for(var U=0,h=_.length,E=h>>>1;U<E;){var H=2*(U+1)-1,K=_[H],V=H+1,q=_[V];if(0>y(K,B))V<h&&0>y(q,K)?(_[U]=q,_[V]=B,U=V):(_[U]=K,_[H]=B,U=H);else if(V<h&&0>y(q,B))_[U]=q,_[V]=B,U=V;else break e}}return D}function y(_,D){var B=_.sortIndex-D.sortIndex;return B!==0?B:_.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var C=performance;p.unstable_now=function(){return C.now()}}else{var L=Date,O=L.now();p.unstable_now=function(){return L.now()-O}}var R=[],$=[],Q=1,F=null,W=3,Z=!1,re=!1,Me=!1,le=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,He=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ie(_){for(var D=c($);D!==null;){if(D.callback===null)u($);else if(D.startTime<=_)u($),D.sortIndex=D.expirationTime,s(R,D);else break;D=c($)}}function Ue(_){if(Me=!1,Ie(_),!re)if(c(R)!==null)re=!0,$e(ue);else{var D=c($);D!==null&&We(Ue,D.startTime-_)}}function ue(_,D){re=!1,Me&&(Me=!1,G(J),J=-1),Z=!0;var B=W;try{for(Ie(D),F=c(R);F!==null&&(!(F.expirationTime>D)||_&&!ot());){var U=F.callback;if(typeof U=="function"){F.callback=null,W=F.priorityLevel;var h=U(F.expirationTime<=D);D=p.unstable_now(),typeof h=="function"?F.callback=h:F===c(R)&&u(R),Ie(D)}else u(R);F=c(R)}if(F!==null)var E=!0;else{var H=c($);H!==null&&We(Ue,H.startTime-D),E=!1}return E}finally{F=null,W=B,Z=!1}}var Re=!1,ke=null,J=-1,Pe=5,mt=-1;function ot(){return!(p.unstable_now()-mt<Pe)}function vt(){if(ke!==null){var _=p.unstable_now();mt=_;var D=!0;try{D=ke(!0,_)}finally{D?ne():(Re=!1,ke=null)}}else Re=!1}var ne;if(typeof He=="function")ne=function(){He(vt)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,ae=fe.port2;fe.port1.onmessage=vt,ne=function(){ae.postMessage(null)}}else ne=function(){le(vt,0)};function $e(_){ke=_,Re||(Re=!0,ne())}function We(_,D){J=le(function(){_(p.unstable_now())},D)}p.unstable_IdlePriority=5,p.unstable_ImmediatePriority=1,p.unstable_LowPriority=4,p.unstable_NormalPriority=3,p.unstable_Profiling=null,p.unstable_UserBlockingPriority=2,p.unstable_cancelCallback=function(_){_.callback=null},p.unstable_continueExecution=function(){re||Z||(re=!0,$e(ue))},p.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Pe=0<_?Math.floor(1e3/_):5},p.unstable_getCurrentPriorityLevel=function(){return W},p.unstable_getFirstCallbackNode=function(){return c(R)},p.unstable_next=function(_){switch(W){case 1:case 2:case 3:var D=3;break;default:D=W}var B=W;W=D;try{return _()}finally{W=B}},p.unstable_pauseExecution=function(){},p.unstable_requestPaint=function(){},p.unstable_runWithPriority=function(_,D){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var B=W;W=_;try{return D()}finally{W=B}},p.unstable_scheduleCallback=function(_,D,B){var U=p.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?U+B:U):B=U,_){case 1:var h=-1;break;case 2:h=250;break;case 5:h=1073741823;break;case 4:h=1e4;break;default:h=5e3}return h=B+h,_={id:Q++,callback:D,priorityLevel:_,startTime:B,expirationTime:h,sortIndex:-1},B>U?(_.sortIndex=B,s($,_),c(R)===null&&_===c($)&&(Me?(G(J),J=-1):Me=!0,We(Ue,B-U))):(_.sortIndex=h,s(R,_),re||Z||(re=!0,$e(ue))),_},p.unstable_shouldYield=ot,p.unstable_wrapCallback=function(_){var D=W;return function(){var B=W;W=D;try{return _.apply(this,arguments)}finally{W=B}}}})),Qa=Et(((p,s)=>{s.exports=Va()})),Ga=Et((p=>{var s=zl(),c=Qa();function u(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y=new Set,C={};function L(e,t){O(e,t),O(e+"Capture",t)}function O(e,t){for(C[e]=t,e=0;e<t.length;e++)y.add(t[e])}var R=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$=Object.prototype.hasOwnProperty,Q=/^[: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]*$/,F={},W={};function Z(e){return $.call(W,e)?!0:$.call(F,e)?!1:Q.test(e)?W[e]=!0:(F[e]=!0,!1)}function re(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Me(e,t,n,r){if(t===null||typeof t>"u"||re(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function le(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){G[e]=new le(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];G[t]=new le(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){G[e]=new le(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){G[e]=new le(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){G[e]=new le(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){G[e]=new le(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){G[e]=new le(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){G[e]=new le(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){G[e]=new le(e,5,!1,e.toLowerCase(),null,!1,!1)});var He=/[\-:]([a-z])/g;function Ie(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(He,Ie);G[t]=new le(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(He,Ie);G[t]=new le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(He,Ie);G[t]=new le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!1,!1)}),G.xlinkHref=new le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ue(e,t,n,r){var l=G.hasOwnProperty(t)?G[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Me(t,n,l,r)&&(n=null),r||l===null?Z(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ue=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),ke=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),Pe=Symbol.for("react.strict_mode"),mt=Symbol.for("react.profiler"),ot=Symbol.for("react.provider"),vt=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),D=Symbol.iterator;function B(e){return e===null||typeof e!="object"?null:(e=D&&e[D]||e["@@iterator"],typeof e=="function"?e:null)}var U=Object.assign,h;function E(e){if(h===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);h=t&&t[1]||""}return`
4
+ `+h+e}var H=!1;function K(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(g){var r=g}Reflect.construct(e,[],t)}else{try{t.call()}catch(g){r=g}e.call(t.prototype)}else{try{throw Error()}catch(g){r=g}e()}}catch(g){if(g&&r&&typeof g.stack=="string"){for(var l=g.stack.split(`
4
5
  `),i=r.stack.split(`
5
- `),o=l.length-1,a=i.length-1;1<=o&&0<=a&&l[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(l[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||l[o]!==i[a]){var c=`
6
- `+l[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=a);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?S(e):""}function Y(e){switch(e.tag){case 5:return S(e.type);case 16:return S("Lazy");case 13:return S("Suspense");case 19:return S("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1),e;case 11:return e=V(e.type.render,!1),e;case 1:return e=V(e.type,!0),e;default:return""}}function X(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Le:return"Fragment";case xe:return"Portal";case Me:return"Profiler";case re:return"StrictMode";case b:return"Suspense";case ae:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xt:return(e.displayName||"Context")+".Consumer";case at:return(e._context.displayName||"Context")+".Provider";case nt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ce:return t=e.displayName||null,t!==null?t:X(e.type)||"Memo";case Ae:t=e._payload,e=e._init;try{return X(e(t))}catch{}}return null}function le(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(t);case 8:return t===re?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ee(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ze(e){var t=fe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pr(e){e._valueTracker||(e._valueTracker=Ze(e))}function us(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Nr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Kl(e,t){var n=t.checked;return P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function as(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ee(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cs(e,t){t=t.checked,t!=null&&Oe(e,"checked",t,!1)}function Yl(e,t){cs(e,t);var n=ee(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xl(e,t.type,ee(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Xl(e,t,n){(t!=="number"||Nr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Hn=Array.isArray;function dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ee(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Zl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return P({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ds(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(s(92));if(Hn(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ee(n)}}function ps(e,t){var n=ee(t.value),r=ee(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function hs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ms(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ql(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ms(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,gs=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $n={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Hc=["Webkit","ms","Moz","O"];Object.keys($n).forEach(function(e){Hc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$n[t]=$n[e]})});function ys(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$n.hasOwnProperty(e)&&$n[e]?(""+t).trim():t+"px"}function vs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ys(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Wc=P({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jl(e,t){if(t){if(Wc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function bl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ei=null;function ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ni=null,pn=null,hn=null;function ws(e){if(e=fr(e)){if(typeof ni!="function")throw Error(s(280));var t=e.stateNode;t&&(t=el(t),ni(e.stateNode,e.type,t))}}function Ss(e){pn?hn?hn.push(e):hn=[e]:pn=e}function ks(){if(pn){var e=pn,t=hn;if(hn=pn=null,ws(e),t)for(e=0;e<t.length;e++)ws(t[e])}}function Es(e,t){return e(t)}function xs(){}var ri=!1;function Cs(e,t,n){if(ri)return e(t,n);ri=!0;try{return Es(e,t,n)}finally{ri=!1,(pn!==null||hn!==null)&&(xs(),ks())}}function Vn(e,t){var n=e.stateNode;if(n===null)return null;var r=el(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var li=!1;if(z)try{var Qn={};Object.defineProperty(Qn,"passive",{get:function(){li=!0}}),window.addEventListener("test",Qn,Qn),window.removeEventListener("test",Qn,Qn)}catch{li=!1}function $c(e,t,n,r,l,i,o,a,c){var g=Array.prototype.slice.call(arguments,3);try{t.apply(n,g)}catch(k){this.onError(k)}}var Gn=!1,Rr=null,zr=!1,ii=null,Vc={onError:function(e){Gn=!0,Rr=e}};function Qc(e,t,n,r,l,i,o,a,c){Gn=!1,Rr=null,$c.apply(Vc,arguments)}function Gc(e,t,n,r,l,i,o,a,c){if(Qc.apply(this,arguments),Gn){if(Gn){var g=Rr;Gn=!1,Rr=null}else throw Error(s(198));zr||(zr=!0,ii=g)}}function qt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ts(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _s(e){if(qt(e)!==e)throw Error(s(188))}function Kc(e){var t=e.alternate;if(!t){if(t=qt(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return _s(l),e;if(i===r)return _s(l),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,a=l.child;a;){if(a===n){o=!0,n=l,r=i;break}if(a===r){o=!0,r=l,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=l;break}if(a===r){o=!0,r=i,n=l;break}a=a.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function Ls(e){return e=Kc(e),e!==null?Is(e):null}function Is(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Is(e);if(t!==null)return t;e=e.sibling}return null}var Ps=u.unstable_scheduleCallback,Ns=u.unstable_cancelCallback,Yc=u.unstable_shouldYield,Xc=u.unstable_requestPaint,ye=u.unstable_now,Zc=u.unstable_getCurrentPriorityLevel,oi=u.unstable_ImmediatePriority,Os=u.unstable_UserBlockingPriority,Mr=u.unstable_NormalPriority,qc=u.unstable_LowPriority,Rs=u.unstable_IdlePriority,Ar=null,yt=null;function Jc(e){if(yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(Ar,e,void 0,(e.current.flags&128)===128)}catch{}}var ct=Math.clz32?Math.clz32:tf,bc=Math.log,ef=Math.LN2;function tf(e){return e>>>=0,e===0?32:31-(bc(e)/ef|0)|0}var Fr=64,Dr=4194304;function Kn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ur(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=Kn(a):(i&=o,i!==0&&(r=Kn(i)))}else o=n&~l,o!==0?r=Kn(o):i!==0&&(r=Kn(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ct(t),l=1<<n,r|=e[n],t&=~l;return r}function nf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function rf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ct(i),a=1<<o,c=l[o];c===-1?((a&n)===0||(a&r)!==0)&&(l[o]=nf(a,t)):c<=t&&(e.expiredLanes|=a),i&=~a}}function si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zs(){var e=Fr;return Fr<<=1,(Fr&4194240)===0&&(Fr=64),e}function ui(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function lf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-ct(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function ai(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ct(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var te=0;function Ms(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var As,ci,Fs,Ds,Us,fi=!1,jr=[],Rt=null,zt=null,Mt=null,Xn=new Map,Zn=new Map,At=[],of="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 submit".split(" ");function js(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":zt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Xn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zn.delete(t.pointerId)}}function qn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=fr(t),t!==null&&ci(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function sf(e,t,n,r,l){switch(t){case"focusin":return Rt=qn(Rt,e,t,n,r,l),!0;case"dragenter":return zt=qn(zt,e,t,n,r,l),!0;case"mouseover":return Mt=qn(Mt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Xn.set(i,qn(Xn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Zn.set(i,qn(Zn.get(i)||null,e,t,n,r,l)),!0}return!1}function Bs(e){var t=Jt(e.target);if(t!==null){var n=qt(t);if(n!==null){if(t=n.tag,t===13){if(t=Ts(n),t!==null){e.blockedOn=t,Us(e.priority,function(){Fs(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Br(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ei=r,n.target.dispatchEvent(r),ei=null}else return t=fr(n),t!==null&&ci(t),e.blockedOn=n,!1;t.shift()}return!0}function Hs(e,t,n){Br(e)&&n.delete(t)}function uf(){fi=!1,Rt!==null&&Br(Rt)&&(Rt=null),zt!==null&&Br(zt)&&(zt=null),Mt!==null&&Br(Mt)&&(Mt=null),Xn.forEach(Hs),Zn.forEach(Hs)}function Jn(e,t){e.blockedOn===t&&(e.blockedOn=null,fi||(fi=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,uf)))}function bn(e){function t(l){return Jn(l,e)}if(0<jr.length){Jn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&Jn(Rt,e),zt!==null&&Jn(zt,e),Mt!==null&&Jn(Mt,e),Xn.forEach(t),Zn.forEach(t),n=0;n<At.length;n++)r=At[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&(n=At[0],n.blockedOn===null);)Bs(n),n.blockedOn===null&&At.shift()}var mn=Se.ReactCurrentBatchConfig,Hr=!0;function af(e,t,n,r){var l=te,i=mn.transition;mn.transition=null;try{te=1,di(e,t,n,r)}finally{te=l,mn.transition=i}}function cf(e,t,n,r){var l=te,i=mn.transition;mn.transition=null;try{te=4,di(e,t,n,r)}finally{te=l,mn.transition=i}}function di(e,t,n,r){if(Hr){var l=pi(e,t,n,r);if(l===null)Ni(e,t,r,Wr,n),js(e,r);else if(sf(l,e,t,n,r))r.stopPropagation();else if(js(e,r),t&4&&-1<of.indexOf(e)){for(;l!==null;){var i=fr(l);if(i!==null&&As(i),i=pi(e,t,n,r),i===null&&Ni(e,t,r,Wr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ni(e,t,r,null,n)}}var Wr=null;function pi(e,t,n,r){if(Wr=null,e=ti(r),e=Jt(e),e!==null)if(t=qt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ts(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wr=e,null}function Ws(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Zc()){case oi:return 1;case Os:return 4;case Mr:case qc:return 16;case Rs:return 536870912;default:return 16}default:return 16}}var Ft=null,hi=null,$r=null;function $s(){if($r)return $r;var e,t=hi,n=t.length,r,l="value"in Ft?Ft.value:Ft.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return $r=l.slice(e,1<r?1-r:void 0)}function Vr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Qr(){return!0}function Vs(){return!1}function qe(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Qr:Vs,this.isPropagationStopped=Vs,this}return P(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Qr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qr)},persist:function(){},isPersistent:Qr}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mi=qe(gn),er=P({},gn,{view:0,detail:0}),ff=qe(er),gi,yi,tr,Gr=P({},er,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tr&&(tr&&e.type==="mousemove"?(gi=e.screenX-tr.screenX,yi=e.screenY-tr.screenY):yi=gi=0,tr=e),gi)},movementY:function(e){return"movementY"in e?e.movementY:yi}}),Qs=qe(Gr),df=P({},Gr,{dataTransfer:0}),pf=qe(df),hf=P({},er,{relatedTarget:0}),vi=qe(hf),mf=P({},gn,{animationName:0,elapsedTime:0,pseudoElement:0}),gf=qe(mf),yf=P({},gn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vf=qe(yf),wf=P({},gn,{data:0}),Gs=qe(wf),Sf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kf={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"},Ef={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ef[e])?!!t[e]:!1}function wi(){return xf}var Cf=P({},er,{key:function(e){if(e.key){var t=Sf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wi,charCode:function(e){return e.type==="keypress"?Vr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Tf=qe(Cf),_f=P({},Gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ks=qe(_f),Lf=P({},er,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wi}),If=qe(Lf),Pf=P({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nf=qe(Pf),Of=P({},Gr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rf=qe(Of),zf=[9,13,27,32],Si=z&&"CompositionEvent"in window,nr=null;z&&"documentMode"in document&&(nr=document.documentMode);var Mf=z&&"TextEvent"in window&&!nr,Ys=z&&(!Si||nr&&8<nr&&11>=nr),Xs=" ",Zs=!1;function qs(e,t){switch(e){case"keyup":return zf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Js(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yn=!1;function Af(e,t){switch(e){case"compositionend":return Js(t);case"keypress":return t.which!==32?null:(Zs=!0,Xs);case"textInput":return e=t.data,e===Xs&&Zs?null:e;default:return null}}function Ff(e,t){if(yn)return e==="compositionend"||!Si&&qs(e,t)?(e=$s(),$r=hi=Ft=null,yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ys&&t.locale!=="ko"?null:t.data;default:return null}}var Df={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Df[e.type]:t==="textarea"}function eu(e,t,n,r){Ss(r),t=qr(t,"onChange"),0<t.length&&(n=new mi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var rr=null,lr=null;function Uf(e){vu(e,0)}function Kr(e){var t=En(e);if(us(t))return e}function jf(e,t){if(e==="change")return t}var tu=!1;if(z){var ki;if(z){var Ei="oninput"in document;if(!Ei){var nu=document.createElement("div");nu.setAttribute("oninput","return;"),Ei=typeof nu.oninput=="function"}ki=Ei}else ki=!1;tu=ki&&(!document.documentMode||9<document.documentMode)}function ru(){rr&&(rr.detachEvent("onpropertychange",lu),lr=rr=null)}function lu(e){if(e.propertyName==="value"&&Kr(lr)){var t=[];eu(t,lr,e,ti(e)),Cs(Uf,t)}}function Bf(e,t,n){e==="focusin"?(ru(),rr=t,lr=n,rr.attachEvent("onpropertychange",lu)):e==="focusout"&&ru()}function Hf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kr(lr)}function Wf(e,t){if(e==="click")return Kr(t)}function $f(e,t){if(e==="input"||e==="change")return Kr(t)}function Vf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ft=typeof Object.is=="function"?Object.is:Vf;function ir(e,t){if(ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!M.call(t,l)||!ft(e[l],t[l]))return!1}return!0}function iu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ou(e,t){var n=iu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=iu(n)}}function su(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?su(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uu(){for(var e=window,t=Nr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nr(e.document)}return t}function xi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Qf(e){var t=uu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&su(n.ownerDocument.documentElement,n)){if(r!==null&&xi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ou(n,i);var o=ou(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Gf=z&&"documentMode"in document&&11>=document.documentMode,vn=null,Ci=null,or=null,Ti=!1;function au(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||vn==null||vn!==Nr(r)||(r=vn,"selectionStart"in r&&xi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),or&&ir(or,r)||(or=r,r=qr(Ci,"onSelect"),0<r.length&&(t=new mi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vn)))}function Yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:Yr("Animation","AnimationEnd"),animationiteration:Yr("Animation","AnimationIteration"),animationstart:Yr("Animation","AnimationStart"),transitionend:Yr("Transition","TransitionEnd")},_i={},cu={};z&&(cu=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Xr(e){if(_i[e])return _i[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in cu)return _i[e]=t[n];return e}var fu=Xr("animationend"),du=Xr("animationiteration"),pu=Xr("animationstart"),hu=Xr("transitionend"),mu=new Map,gu="abort auxClick 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(" ");function Dt(e,t){mu.set(e,t),x(t,[e])}for(var Li=0;Li<gu.length;Li++){var Ii=gu[Li],Kf=Ii.toLowerCase(),Yf=Ii[0].toUpperCase()+Ii.slice(1);Dt(Kf,"on"+Yf)}Dt(fu,"onAnimationEnd"),Dt(du,"onAnimationIteration"),Dt(pu,"onAnimationStart"),Dt("dblclick","onDoubleClick"),Dt("focusin","onFocus"),Dt("focusout","onBlur"),Dt(hu,"onTransitionEnd"),L("onMouseEnter",["mouseout","mouseover"]),L("onMouseLeave",["mouseout","mouseover"]),L("onPointerEnter",["pointerout","pointerover"]),L("onPointerLeave",["pointerout","pointerover"]),x("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),x("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),x("onBeforeInput",["compositionend","keypress","textInput","paste"]),x("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sr="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(" "),Xf=new Set("cancel close invalid load scroll toggle".split(" ").concat(sr));function yu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Gc(r,t,void 0,e),e.currentTarget=null}function vu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],c=a.instance,g=a.currentTarget;if(a=a.listener,c!==i&&l.isPropagationStopped())break e;yu(l,a,g),i=c}else for(o=0;o<r.length;o++){if(a=r[o],c=a.instance,g=a.currentTarget,a=a.listener,c!==i&&l.isPropagationStopped())break e;yu(l,a,g),i=c}}}if(zr)throw e=ii,zr=!1,ii=null,e}function oe(e,t){var n=t[Fi];n===void 0&&(n=t[Fi]=new Set);var r=e+"__bubble";n.has(r)||(wu(t,e,2,!1),n.add(r))}function Pi(e,t,n){var r=0;t&&(r|=4),wu(n,e,r,t)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function ur(e){if(!e[Zr]){e[Zr]=!0,m.forEach(function(n){n!=="selectionchange"&&(Xf.has(n)||Pi(n,!1,e),Pi(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zr]||(t[Zr]=!0,Pi("selectionchange",!1,t))}}function wu(e,t,n,r){switch(Ws(t)){case 1:var l=af;break;case 4:l=cf;break;default:l=di}n=l.bind(null,t,n,e),l=void 0,!li||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ni(e,t,n,r,l){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===l||c.nodeType===8&&c.parentNode===l))return;o=o.return}for(;a!==null;){if(o=Jt(a),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}a=a.parentNode}}r=r.return}Cs(function(){var g=i,k=ti(n),E=[];e:{var w=mu.get(e);if(w!==void 0){var _=mi,N=e;switch(e){case"keypress":if(Vr(n)===0)break e;case"keydown":case"keyup":_=Tf;break;case"focusin":N="focus",_=vi;break;case"focusout":N="blur",_=vi;break;case"beforeblur":case"afterblur":_=vi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Qs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=pf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=If;break;case fu:case du:case pu:_=gf;break;case hu:_=Nf;break;case"scroll":_=ff;break;case"wheel":_=Rf;break;case"copy":case"cut":case"paste":_=vf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Ks}var O=(t&4)!==0,ve=!O&&e==="scroll",p=O?w!==null?w+"Capture":null:w;O=[];for(var f=g,h;f!==null;){h=f;var C=h.stateNode;if(h.tag===5&&C!==null&&(h=C,p!==null&&(C=Vn(f,p),C!=null&&O.push(ar(f,C,h)))),ve)break;f=f.return}0<O.length&&(w=new _(w,N,null,n,k),E.push({event:w,listeners:O}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",_=e==="mouseout"||e==="pointerout",w&&n!==ei&&(N=n.relatedTarget||n.fromElement)&&(Jt(N)||N[Ct]))break e;if((_||w)&&(w=k.window===k?k:(w=k.ownerDocument)?w.defaultView||w.parentWindow:window,_?(N=n.relatedTarget||n.toElement,_=g,N=N?Jt(N):null,N!==null&&(ve=qt(N),N!==ve||N.tag!==5&&N.tag!==6)&&(N=null)):(_=null,N=g),_!==N)){if(O=Qs,C="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(O=Ks,C="onPointerLeave",p="onPointerEnter",f="pointer"),ve=_==null?w:En(_),h=N==null?w:En(N),w=new O(C,f+"leave",_,n,k),w.target=ve,w.relatedTarget=h,C=null,Jt(k)===g&&(O=new O(p,f+"enter",N,n,k),O.target=h,O.relatedTarget=ve,C=O),ve=C,_&&N)t:{for(O=_,p=N,f=0,h=O;h;h=Sn(h))f++;for(h=0,C=p;C;C=Sn(C))h++;for(;0<f-h;)O=Sn(O),f--;for(;0<h-f;)p=Sn(p),h--;for(;f--;){if(O===p||p!==null&&O===p.alternate)break t;O=Sn(O),p=Sn(p)}O=null}else O=null;_!==null&&Su(E,w,_,O,!1),N!==null&&ve!==null&&Su(E,ve,N,O,!0)}}e:{if(w=g?En(g):window,_=w.nodeName&&w.nodeName.toLowerCase(),_==="select"||_==="input"&&w.type==="file")var R=jf;else if(bs(w))if(tu)R=$f;else{R=Hf;var A=Bf}else(_=w.nodeName)&&_.toLowerCase()==="input"&&(w.type==="checkbox"||w.type==="radio")&&(R=Wf);if(R&&(R=R(e,g))){eu(E,R,n,k);break e}A&&A(e,w,g),e==="focusout"&&(A=w._wrapperState)&&A.controlled&&w.type==="number"&&Xl(w,"number",w.value)}switch(A=g?En(g):window,e){case"focusin":(bs(A)||A.contentEditable==="true")&&(vn=A,Ci=g,or=null);break;case"focusout":or=Ci=vn=null;break;case"mousedown":Ti=!0;break;case"contextmenu":case"mouseup":case"dragend":Ti=!1,au(E,n,k);break;case"selectionchange":if(Gf)break;case"keydown":case"keyup":au(E,n,k)}var F;if(Si)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else yn?qs(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Ys&&n.locale!=="ko"&&(yn||j!=="onCompositionStart"?j==="onCompositionEnd"&&yn&&(F=$s()):(Ft=k,hi="value"in Ft?Ft.value:Ft.textContent,yn=!0)),A=qr(g,j),0<A.length&&(j=new Gs(j,e,null,n,k),E.push({event:j,listeners:A}),F?j.data=F:(F=Js(n),F!==null&&(j.data=F)))),(F=Mf?Af(e,n):Ff(e,n))&&(g=qr(g,"onBeforeInput"),0<g.length&&(k=new Gs("onBeforeInput","beforeinput",null,n,k),E.push({event:k,listeners:g}),k.data=F))}vu(E,t)})}function ar(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Vn(e,n),i!=null&&r.unshift(ar(e,i,l)),i=Vn(e,t),i!=null&&r.push(ar(e,i,l))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Su(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,c=a.alternate,g=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&g!==null&&(a=g,l?(c=Vn(n,i),c!=null&&o.unshift(ar(n,c,a))):l||(c=Vn(n,i),c!=null&&o.push(ar(n,c,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Zf=/\r\n?/g,qf=/\u0000|\uFFFD/g;function ku(e){return(typeof e=="string"?e:""+e).replace(Zf,`
7
- `).replace(qf,"")}function Jr(e,t,n){if(t=ku(t),ku(e)!==t&&n)throw Error(s(425))}function br(){}var Oi=null,Ri=null;function zi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mi=typeof setTimeout=="function"?setTimeout:void 0,Jf=typeof clearTimeout=="function"?clearTimeout:void 0,Eu=typeof Promise=="function"?Promise:void 0,bf=typeof queueMicrotask=="function"?queueMicrotask:typeof Eu<"u"?function(e){return Eu.resolve(null).then(e).catch(ed)}:Mi;function ed(e){setTimeout(function(){throw e})}function Ai(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),bn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);bn(t)}function Ut(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function xu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),vt="__reactFiber$"+kn,cr="__reactProps$"+kn,Ct="__reactContainer$"+kn,Fi="__reactEvents$"+kn,td="__reactListeners$"+kn,nd="__reactHandles$"+kn;function Jt(e){var t=e[vt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[vt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=xu(e);e!==null;){if(n=e[vt])return n;e=xu(e)}return t}e=n,n=e.parentNode}return null}function fr(e){return e=e[vt]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function En(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function el(e){return e[cr]||null}var Di=[],xn=-1;function jt(e){return{current:e}}function se(e){0>xn||(e.current=Di[xn],Di[xn]=null,xn--)}function ie(e,t){xn++,Di[xn]=e.current,e.current=t}var Bt={},Fe=jt(Bt),Qe=jt(!1),bt=Bt;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ge(e){return e=e.childContextTypes,e!=null}function tl(){se(Qe),se(Fe)}function Cu(e,t,n){if(Fe.current!==Bt)throw Error(s(168));ie(Fe,t),ie(Qe,n)}function Tu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(s(108,le(e)||"Unknown",l));return P({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,bt=Fe.current,ie(Fe,e),ie(Qe,Qe.current),!0}function _u(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=Tu(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,se(Qe),se(Fe),ie(Fe,e)):se(Qe),ie(Qe,n)}var Tt=null,rl=!1,Ui=!1;function Lu(e){Tt===null?Tt=[e]:Tt.push(e)}function rd(e){rl=!0,Lu(e)}function Ht(){if(!Ui&&Tt!==null){Ui=!0;var e=0,t=te;try{var n=Tt;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Tt=null,rl=!1}catch(l){throw Tt!==null&&(Tt=Tt.slice(e+1)),Ps(oi,Ht),l}finally{te=t,Ui=!1}}return null}var Tn=[],_n=0,ll=null,il=0,rt=[],lt=0,en=null,_t=1,Lt="";function tn(e,t){Tn[_n++]=il,Tn[_n++]=ll,ll=e,il=t}function Iu(e,t,n){rt[lt++]=_t,rt[lt++]=Lt,rt[lt++]=en,en=e;var r=_t;e=Lt;var l=32-ct(r)-1;r&=~(1<<l),n+=1;var i=32-ct(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-ct(t)+l|n<<l|r,Lt=i+e}else _t=1<<i|n<<l|r,Lt=e}function ji(e){e.return!==null&&(tn(e,1),Iu(e,1,0))}function Bi(e){for(;e===ll;)ll=Tn[--_n],Tn[_n]=null,il=Tn[--_n],Tn[_n]=null;for(;e===en;)en=rt[--lt],rt[lt]=null,Lt=rt[--lt],rt[lt]=null,_t=rt[--lt],rt[lt]=null}var Je=null,be=null,de=!1,dt=null;function Pu(e,t){var n=ut(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Nu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Je=e,be=Ut(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Je=e,be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=en!==null?{id:_t,overflow:Lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ut(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Je=e,be=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wi(e){if(de){var t=be;if(t){var n=t;if(!Nu(e,t)){if(Hi(e))throw Error(s(418));t=Ut(n.nextSibling);var r=Je;t&&Nu(e,t)?Pu(r,n):(e.flags=e.flags&-4097|2,de=!1,Je=e)}}else{if(Hi(e))throw Error(s(418));e.flags=e.flags&-4097|2,de=!1,Je=e}}}function Ou(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Je=e}function ol(e){if(e!==Je)return!1;if(!de)return Ou(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zi(e.type,e.memoizedProps)),t&&(t=be)){if(Hi(e))throw Ru(),Error(s(418));for(;t;)Pu(e,t),t=Ut(t.nextSibling)}if(Ou(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){be=Ut(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}be=null}}else be=Je?Ut(e.stateNode.nextSibling):null;return!0}function Ru(){for(var e=be;e;)e=Ut(e.nextSibling)}function Ln(){be=Je=null,de=!1}function $i(e){dt===null?dt=[e]:dt.push(e)}var ld=Se.ReactCurrentBatchConfig;function dr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=l.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function sl(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function zu(e){var t=e._init;return t(e._payload)}function Mu(e){function t(p,f){if(e){var h=p.deletions;h===null?(p.deletions=[f],p.flags|=16):h.push(f)}}function n(p,f){if(!e)return null;for(;f!==null;)t(p,f),f=f.sibling;return null}function r(p,f){for(p=new Map;f!==null;)f.key!==null?p.set(f.key,f):p.set(f.index,f),f=f.sibling;return p}function l(p,f){return p=Xt(p,f),p.index=0,p.sibling=null,p}function i(p,f,h){return p.index=h,e?(h=p.alternate,h!==null?(h=h.index,h<f?(p.flags|=2,f):h):(p.flags|=2,f)):(p.flags|=1048576,f)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,f,h,C){return f===null||f.tag!==6?(f=Ao(h,p.mode,C),f.return=p,f):(f=l(f,h),f.return=p,f)}function c(p,f,h,C){var R=h.type;return R===Le?k(p,f,h.props.children,C,h.key):f!==null&&(f.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Ae&&zu(R)===f.type)?(C=l(f,h.props),C.ref=dr(p,f,h),C.return=p,C):(C=Ol(h.type,h.key,h.props,null,p.mode,C),C.ref=dr(p,f,h),C.return=p,C)}function g(p,f,h,C){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=Fo(h,p.mode,C),f.return=p,f):(f=l(f,h.children||[]),f.return=p,f)}function k(p,f,h,C,R){return f===null||f.tag!==7?(f=cn(h,p.mode,C,R),f.return=p,f):(f=l(f,h),f.return=p,f)}function E(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Ao(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Ee:return h=Ol(f.type,f.key,f.props,null,p.mode,h),h.ref=dr(p,null,f),h.return=p,h;case xe:return f=Fo(f,p.mode,h),f.return=p,f;case Ae:var C=f._init;return E(p,C(f._payload),h)}if(Hn(f)||U(f))return f=cn(f,p.mode,h,null),f.return=p,f;sl(p,f)}return null}function w(p,f,h,C){var R=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return R!==null?null:a(p,f,""+h,C);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ee:return h.key===R?c(p,f,h,C):null;case xe:return h.key===R?g(p,f,h,C):null;case Ae:return R=h._init,w(p,f,R(h._payload),C)}if(Hn(h)||U(h))return R!==null?null:k(p,f,h,C,null);sl(p,h)}return null}function _(p,f,h,C,R){if(typeof C=="string"&&C!==""||typeof C=="number")return p=p.get(h)||null,a(f,p,""+C,R);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ee:return p=p.get(C.key===null?h:C.key)||null,c(f,p,C,R);case xe:return p=p.get(C.key===null?h:C.key)||null,g(f,p,C,R);case Ae:var A=C._init;return _(p,f,h,A(C._payload),R)}if(Hn(C)||U(C))return p=p.get(h)||null,k(f,p,C,R,null);sl(f,C)}return null}function N(p,f,h,C){for(var R=null,A=null,F=f,j=f=0,Ne=null;F!==null&&j<h.length;j++){F.index>j?(Ne=F,F=null):Ne=F.sibling;var Z=w(p,F,h[j],C);if(Z===null){F===null&&(F=Ne);break}e&&F&&Z.alternate===null&&t(p,F),f=i(Z,f,j),A===null?R=Z:A.sibling=Z,A=Z,F=Ne}if(j===h.length)return n(p,F),de&&tn(p,j),R;if(F===null){for(;j<h.length;j++)F=E(p,h[j],C),F!==null&&(f=i(F,f,j),A===null?R=F:A.sibling=F,A=F);return de&&tn(p,j),R}for(F=r(p,F);j<h.length;j++)Ne=_(F,p,j,h[j],C),Ne!==null&&(e&&Ne.alternate!==null&&F.delete(Ne.key===null?j:Ne.key),f=i(Ne,f,j),A===null?R=Ne:A.sibling=Ne,A=Ne);return e&&F.forEach(function(Zt){return t(p,Zt)}),de&&tn(p,j),R}function O(p,f,h,C){var R=U(h);if(typeof R!="function")throw Error(s(150));if(h=R.call(h),h==null)throw Error(s(151));for(var A=R=null,F=f,j=f=0,Ne=null,Z=h.next();F!==null&&!Z.done;j++,Z=h.next()){F.index>j?(Ne=F,F=null):Ne=F.sibling;var Zt=w(p,F,Z.value,C);if(Zt===null){F===null&&(F=Ne);break}e&&F&&Zt.alternate===null&&t(p,F),f=i(Zt,f,j),A===null?R=Zt:A.sibling=Zt,A=Zt,F=Ne}if(Z.done)return n(p,F),de&&tn(p,j),R;if(F===null){for(;!Z.done;j++,Z=h.next())Z=E(p,Z.value,C),Z!==null&&(f=i(Z,f,j),A===null?R=Z:A.sibling=Z,A=Z);return de&&tn(p,j),R}for(F=r(p,F);!Z.done;j++,Z=h.next())Z=_(F,p,j,Z.value,C),Z!==null&&(e&&Z.alternate!==null&&F.delete(Z.key===null?j:Z.key),f=i(Z,f,j),A===null?R=Z:A.sibling=Z,A=Z);return e&&F.forEach(function(Dd){return t(p,Dd)}),de&&tn(p,j),R}function ve(p,f,h,C){if(typeof h=="object"&&h!==null&&h.type===Le&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ee:e:{for(var R=h.key,A=f;A!==null;){if(A.key===R){if(R=h.type,R===Le){if(A.tag===7){n(p,A.sibling),f=l(A,h.props.children),f.return=p,p=f;break e}}else if(A.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Ae&&zu(R)===A.type){n(p,A.sibling),f=l(A,h.props),f.ref=dr(p,A,h),f.return=p,p=f;break e}n(p,A);break}else t(p,A);A=A.sibling}h.type===Le?(f=cn(h.props.children,p.mode,C,h.key),f.return=p,p=f):(C=Ol(h.type,h.key,h.props,null,p.mode,C),C.ref=dr(p,f,h),C.return=p,p=C)}return o(p);case xe:e:{for(A=h.key;f!==null;){if(f.key===A)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(p,f.sibling),f=l(f,h.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Fo(h,p.mode,C),f.return=p,p=f}return o(p);case Ae:return A=h._init,ve(p,f,A(h._payload),C)}if(Hn(h))return N(p,f,h,C);if(U(h))return O(p,f,h,C);sl(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(p,f.sibling),f=l(f,h),f.return=p,p=f):(n(p,f),f=Ao(h,p.mode,C),f.return=p,p=f),o(p)):n(p,f)}return ve}var In=Mu(!0),Au=Mu(!1),ul=jt(null),al=null,Pn=null,Vi=null;function Qi(){Vi=Pn=al=null}function Gi(e){var t=ul.current;se(ul),e._currentValue=t}function Ki(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Nn(e,t){al=e,Vi=Pn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ke=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(Vi!==e)if(e={context:e,memoizedValue:t,next:null},Pn===null){if(al===null)throw Error(s(308));Pn=e,al.dependencies={lanes:0,firstContext:e}}else Pn=Pn.next=e;return t}var nn=null;function Yi(e){nn===null?nn=[e]:nn.push(e)}function Fu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Yi(t)):(n.next=l.next,l.next=n),t.interleaved=n,It(e,r)}function It(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Wt=!1;function Xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Du(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(K&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,It(e,n)}return l=r.interleaved,l===null?(t.next=t,Yi(r)):(t.next=l.next,l.next=t),r.interleaved=t,It(e,n)}function cl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}function Uu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var l=e.updateQueue;Wt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var c=a,g=c.next;c.next=null,o===null?i=g:o.next=g,o=c;var k=e.alternate;k!==null&&(k=k.updateQueue,a=k.lastBaseUpdate,a!==o&&(a===null?k.firstBaseUpdate=g:a.next=g,k.lastBaseUpdate=c))}if(i!==null){var E=l.baseState;o=0,k=g=c=null,a=i;do{var w=a.lane,_=a.eventTime;if((r&w)===w){k!==null&&(k=k.next={eventTime:_,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var N=e,O=a;switch(w=t,_=n,O.tag){case 1:if(N=O.payload,typeof N=="function"){E=N.call(_,E,w);break e}E=N;break e;case 3:N.flags=N.flags&-65537|128;case 0:if(N=O.payload,w=typeof N=="function"?N.call(_,E,w):N,w==null)break e;E=P({},E,w);break e;case 2:Wt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,w=l.effects,w===null?l.effects=[a]:w.push(a))}else _={eventTime:_,lane:w,tag:a.tag,payload:a.payload,callback:a.callback,next:null},k===null?(g=k=_,c=E):k=k.next=_,o|=w;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;w=a,a=w.next,w.next=null,l.lastBaseUpdate=w,l.shared.pending=null}}while(!0);if(k===null&&(c=E),l.baseState=c,l.firstBaseUpdate=g,l.lastBaseUpdate=k,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);on|=o,e.lanes=o,e.memoizedState=E}}function ju(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(s(191,l));l.call(r)}}}var pr={},wt=jt(pr),hr=jt(pr),mr=jt(pr);function rn(e){if(e===pr)throw Error(s(174));return e}function Zi(e,t){switch(ie(mr,t),ie(hr,e),ie(wt,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ql(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ql(t,e)}se(wt),ie(wt,t)}function On(){se(wt),se(hr),se(mr)}function Bu(e){rn(mr.current);var t=rn(wt.current),n=ql(t,e.type);t!==n&&(ie(hr,e),ie(wt,n))}function qi(e){hr.current===e&&(se(wt),se(hr))}var pe=jt(0);function dl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ji=[];function bi(){for(var e=0;e<Ji.length;e++)Ji[e]._workInProgressVersionPrimary=null;Ji.length=0}var pl=Se.ReactCurrentDispatcher,eo=Se.ReactCurrentBatchConfig,ln=0,he=null,Ce=null,Ie=null,hl=!1,gr=!1,yr=0,id=0;function De(){throw Error(s(321))}function to(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ft(e[n],t[n]))return!1;return!0}function no(e,t,n,r,l,i){if(ln=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pl.current=e===null||e.memoizedState===null?ad:cd,e=n(r,l),gr){i=0;do{if(gr=!1,yr=0,25<=i)throw Error(s(301));i+=1,Ie=Ce=null,t.updateQueue=null,pl.current=fd,e=n(r,l)}while(gr)}if(pl.current=yl,t=Ce!==null&&Ce.next!==null,ln=0,Ie=Ce=he=null,hl=!1,t)throw Error(s(300));return e}function ro(){var e=yr!==0;return yr=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?he.memoizedState=Ie=e:Ie=Ie.next=e,Ie}function ot(){if(Ce===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Ie===null?he.memoizedState:Ie.next;if(t!==null)Ie=t,Ce=e;else{if(e===null)throw Error(s(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Ie===null?he.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function vr(e,t){return typeof t=="function"?t(e):t}function lo(e){var t=ot(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=Ce,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var a=o=null,c=null,g=i;do{var k=g.lane;if((ln&k)===k)c!==null&&(c=c.next={lane:0,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),r=g.hasEagerState?g.eagerState:e(r,g.action);else{var E={lane:k,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};c===null?(a=c=E,o=r):c=c.next=E,he.lanes|=k,on|=k}g=g.next}while(g!==null&&g!==i);c===null?o=r:c.next=a,ft(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,he.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function io(e){var t=ot(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);ft(i,t.memoizedState)||(Ke=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Hu(){}function Wu(e,t){var n=he,r=ot(),l=t(),i=!ft(r.memoizedState,l);if(i&&(r.memoizedState=l,Ke=!0),r=r.queue,oo(Qu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ie!==null&&Ie.memoizedState.tag&1){if(n.flags|=2048,wr(9,Vu.bind(null,n,r,l,t),void 0,null),Pe===null)throw Error(s(349));(ln&30)!==0||$u(n,t,l)}return l}function $u(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vu(e,t,n,r){t.value=n,t.getSnapshot=r,Gu(t)&&Ku(e)}function Qu(e,t,n){return n(function(){Gu(t)&&Ku(e)})}function Gu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ft(e,n)}catch{return!0}}function Ku(e){var t=It(e,1);t!==null&&gt(t,e,1,-1)}function Yu(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vr,lastRenderedState:e},t.queue=e,e=e.dispatch=ud.bind(null,he,e),[t.memoizedState,e]}function wr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Xu(){return ot().memoizedState}function ml(e,t,n,r){var l=St();he.flags|=e,l.memoizedState=wr(1|t,n,void 0,r===void 0?null:r)}function gl(e,t,n,r){var l=ot();r=r===void 0?null:r;var i=void 0;if(Ce!==null){var o=Ce.memoizedState;if(i=o.destroy,r!==null&&to(r,o.deps)){l.memoizedState=wr(t,n,i,r);return}}he.flags|=e,l.memoizedState=wr(1|t,n,i,r)}function Zu(e,t){return ml(8390656,8,e,t)}function oo(e,t){return gl(2048,8,e,t)}function qu(e,t){return gl(4,2,e,t)}function Ju(e,t){return gl(4,4,e,t)}function bu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ea(e,t,n){return n=n!=null?n.concat([e]):null,gl(4,4,bu.bind(null,t,e),n)}function so(){}function ta(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function na(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ra(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n):(ft(n,t)||(n=zs(),he.lanes|=n,on|=n,e.baseState=!0),t)}function od(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=eo.transition;eo.transition={};try{e(!1),t()}finally{te=n,eo.transition=r}}function la(){return ot().memoizedState}function sd(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ia(e))oa(t,n);else if(n=Fu(e,t,n,r),n!==null){var l=$e();gt(n,e,r,l),sa(n,t,r)}}function ud(e,t,n){var r=Kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ia(e))oa(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,ft(a,o)){var c=t.interleaved;c===null?(l.next=l,Yi(t)):(l.next=c.next,c.next=l),t.interleaved=l;return}}catch{}n=Fu(e,t,l,r),n!==null&&(l=$e(),gt(n,e,r,l),sa(n,t,r))}}function ia(e){var t=e.alternate;return e===he||t!==null&&t===he}function oa(e,t){gr=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sa(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}var yl={readContext:it,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},ad={readContext:it,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ml(4194308,4,bu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ml(4194308,4,e,t)},useInsertionEffect:function(e,t){return ml(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=sd.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:Yu,useDebugValue:so,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=Yu(!1),t=e[0];return e=od.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,l=St();if(de){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Pe===null)throw Error(s(349));(ln&30)!==0||$u(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Zu(Qu.bind(null,r,i,e),[e]),r.flags|=2048,wr(9,Vu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=Pe.identifierPrefix;if(de){var n=Lt,r=_t;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=id++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cd={readContext:it,useCallback:ta,useContext:it,useEffect:oo,useImperativeHandle:ea,useInsertionEffect:qu,useLayoutEffect:Ju,useMemo:na,useReducer:lo,useRef:Xu,useState:function(){return lo(vr)},useDebugValue:so,useDeferredValue:function(e){var t=ot();return ra(t,Ce.memoizedState,e)},useTransition:function(){var e=lo(vr)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Hu,useSyncExternalStore:Wu,useId:la,unstable_isNewReconciler:!1},fd={readContext:it,useCallback:ta,useContext:it,useEffect:oo,useImperativeHandle:ea,useInsertionEffect:qu,useLayoutEffect:Ju,useMemo:na,useReducer:io,useRef:Xu,useState:function(){return io(vr)},useDebugValue:so,useDeferredValue:function(e){var t=ot();return Ce===null?t.memoizedState=e:ra(t,Ce.memoizedState,e)},useTransition:function(){var e=io(vr)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Hu,useSyncExternalStore:Wu,useId:la,unstable_isNewReconciler:!1};function pt(e,t){if(e&&e.defaultProps){t=P({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function uo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:P({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vl={isMounted:function(e){return(e=e._reactInternals)?qt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$e(),l=Kt(e),i=Pt(r,l);i.payload=t,n!=null&&(i.callback=n),t=$t(e,i,l),t!==null&&(gt(t,e,l,r),cl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$e(),l=Kt(e),i=Pt(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=$t(e,i,l),t!==null&&(gt(t,e,l,r),cl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$e(),r=Kt(e),l=Pt(n,r);l.tag=2,t!=null&&(l.callback=t),t=$t(e,l,r),t!==null&&(gt(t,e,r,n),cl(t,e,r))}};function ua(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!ir(n,r)||!ir(l,i):!0}function aa(e,t,n){var r=!1,l=Bt,i=t.contextType;return typeof i=="object"&&i!==null?i=it(i):(l=Ge(t)?bt:Fe.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Bt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=vl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function ca(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vl.enqueueReplaceState(t,t.state,null)}function ao(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Xi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=it(i):(i=Ge(t)?bt:Fe.current,l.context=Cn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(uo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&vl.enqueueReplaceState(l,l.state,null),fl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Rn(e,t){try{var n="",r=t;do n+=Y(r),r=r.return;while(r);var l=n}catch(i){l=`
6
+ `),o=l.length-1,a=i.length-1;1<=o&&0<=a&&l[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(l[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||l[o]!==i[a]){var d=`
7
+ `+l[o].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=o&&0<=a);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?E(e):""}function V(e){switch(e.tag){case 5:return E(e.type);case 16:return E("Lazy");case 13:return E("Suspense");case 19:return E("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1),e;case 11:return e=K(e.type.render,!1),e;case 1:return e=K(e.type,!0),e;default:return""}}function q(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case J:return"Fragment";case ke:return"Portal";case mt:return"Profiler";case Pe:return"StrictMode";case fe:return"Suspense";case ae:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vt:return(e.displayName||"Context")+".Consumer";case ot:return(e._context.displayName||"Context")+".Provider";case ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $e:return t=e.displayName||null,t!==null?t:q(e.type)||"Memo";case We:t=e._payload,e=e._init;try{return q(e(t))}catch{}}return null}function ve(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===Pe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function b(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xe(e){var t=ce(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _r(e){e._valueTracker||(e._valueTracker=Xe(e))}function Go(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ce(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Tr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ul(e,t){var n=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ko(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=b(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Yo(e,t){t=t.checked,t!=null&&Ue(e,"checked",t,!1)}function jl(e,t){Yo(e,t);var n=b(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bl(e,t.type,b(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Bl(e,t,n){(t!=="number"||Tr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jn=Array.isArray;function fn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+b(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Hl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(u(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Zo(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(u(92));if(jn(n)){if(1<n.length)throw Error(u(93));n=n[0]}t=n}t??="",n=t}e._wrapperState={initialValue:b(n)}}function Jo(e,t){var n=b(t.value),r=b(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function qo(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function bo(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $l(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?bo(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Lr,es=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Lr=Lr||document.createElement("div"),Lr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tc=["Webkit","ms","Moz","O"];Object.keys(Hn).forEach(function(e){Tc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hn[t]=Hn[e]})});function ts(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hn.hasOwnProperty(e)&&Hn[e]?(""+t).trim():t+"px"}function ns(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ts(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Lc=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,t){if(t){if(Lc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(u(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(u(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(u(61))}if(t.style!=null&&typeof t.style!="object")throw Error(u(62))}}function Vl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ql=null;function Gl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kl=null,pn=null,hn=null;function rs(e){if(e=ar(e)){if(typeof Kl!="function")throw Error(u(280));var t=e.stateNode;t&&(t=Zr(t),Kl(e.stateNode,e.type,t))}}function ls(e){pn?hn?hn.push(e):hn=[e]:pn=e}function is(){if(pn){var e=pn,t=hn;if(hn=pn=null,rs(e),t)for(e=0;e<t.length;e++)rs(t[e])}}function os(e,t){return e(t)}function ss(){}var Yl=!1;function us(e,t,n){if(Yl)return e(t,n);Yl=!0;try{return os(e,t,n)}finally{Yl=!1,(pn!==null||hn!==null)&&(ss(),is())}}function $n(e,t){var n=e.stateNode;if(n===null)return null;var r=Zr(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(u(231,t,typeof n));return n}var Xl=!1;if(R)try{var Wn={};Object.defineProperty(Wn,"passive",{get:function(){Xl=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch{Xl=!1}function Ic(e,t,n,r,l,i,o,a,d){var g=Array.prototype.slice.call(arguments,3);try{t.apply(n,g)}catch(S){this.onError(S)}}var Vn=!1,Ir=null,Pr=!1,Zl=null,Pc={onError:function(e){Vn=!0,Ir=e}};function Nc(e,t,n,r,l,i,o,a,d){Vn=!1,Ir=null,Ic.apply(Pc,arguments)}function Oc(e,t,n,r,l,i,o,a,d){if(Nc.apply(this,arguments),Vn){if(Vn){var g=Ir;Vn=!1,Ir=null}else throw Error(u(198));Pr||(Pr=!0,Zl=g)}}function Jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function as(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function cs(e){if(Jt(e)!==e)throw Error(u(188))}function Mc(e){var t=e.alternate;if(!t){if(t=Jt(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return cs(l),e;if(i===r)return cs(l),t;i=i.sibling}throw Error(u(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,a=l.child;a;){if(a===n){o=!0,n=l,r=i;break}if(a===r){o=!0,r=l,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=l;break}if(a===r){o=!0,r=i,n=l;break}a=a.sibling}if(!o)throw Error(u(189))}}if(n.alternate!==r)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function ds(e){return e=Mc(e),e!==null?fs(e):null}function fs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=fs(e);if(t!==null)return t;e=e.sibling}return null}var ps=c.unstable_scheduleCallback,hs=c.unstable_cancelCallback,Rc=c.unstable_shouldYield,Ac=c.unstable_requestPaint,ge=c.unstable_now,zc=c.unstable_getCurrentPriorityLevel,Jl=c.unstable_ImmediatePriority,ms=c.unstable_UserBlockingPriority,Nr=c.unstable_NormalPriority,Fc=c.unstable_LowPriority,vs=c.unstable_IdlePriority,Or=null,gt=null;function Dc(e){if(gt&&typeof gt.onCommitFiberRoot=="function")try{gt.onCommitFiberRoot(Or,e,void 0,(e.current.flags&128)===128)}catch{}}var st=Math.clz32?Math.clz32:Bc,Uc=Math.log,jc=Math.LN2;function Bc(e){return e>>>=0,e===0?32:31-(Uc(e)/jc|0)|0}var Mr=64,Rr=4194304;function Qn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ar(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=Qn(a):(i&=o,i!==0&&(r=Qn(i)))}else o=n&~l,o!==0?r=Qn(o):i!==0&&(r=Qn(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-st(t),l=1<<n,r|=e[n],t&=~l;return r}function Hc(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $c(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-st(i),a=1<<o,d=l[o];d===-1?((a&n)===0||(a&r)!==0)&&(l[o]=Hc(a,t)):d<=t&&(e.expiredLanes|=a),i&=~a}}function ql(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gs(){var e=Mr;return Mr<<=1,(Mr&4194240)===0&&(Mr=64),e}function bl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Gn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function Wc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-st(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function ei(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ee=0;function ys(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var ws,ti,Ss,ks,Es,ni=!1,zr=[],Mt=null,Rt=null,At=null,Kn=new Map,Yn=new Map,zt=[],Vc="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 submit".split(" ");function xs(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Kn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yn.delete(t.pointerId)}}function Xn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=ar(t),t!==null&&ti(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Qc(e,t,n,r,l){switch(t){case"focusin":return Mt=Xn(Mt,e,t,n,r,l),!0;case"dragenter":return Rt=Xn(Rt,e,t,n,r,l),!0;case"mouseover":return At=Xn(At,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Kn.set(i,Xn(Kn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Yn.set(i,Xn(Yn.get(i)||null,e,t,n,r,l)),!0}return!1}function Cs(e){var t=qt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=as(n),t!==null){e.blockedOn=t,Es(e.priority,function(){Ss(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Fr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=li(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ql=r,n.target.dispatchEvent(r),Ql=null}else return t=ar(n),t!==null&&ti(t),e.blockedOn=n,!1;t.shift()}return!0}function _s(e,t,n){Fr(e)&&n.delete(t)}function Gc(){ni=!1,Mt!==null&&Fr(Mt)&&(Mt=null),Rt!==null&&Fr(Rt)&&(Rt=null),At!==null&&Fr(At)&&(At=null),Kn.forEach(_s),Yn.forEach(_s)}function Zn(e,t){e.blockedOn===t&&(e.blockedOn=null,ni||(ni=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Gc)))}function Jn(e){function t(l){return Zn(l,e)}if(0<zr.length){Zn(zr[0],e);for(var n=1;n<zr.length;n++){var r=zr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mt!==null&&Zn(Mt,e),Rt!==null&&Zn(Rt,e),At!==null&&Zn(At,e),Kn.forEach(t),Yn.forEach(t),n=0;n<zt.length;n++)r=zt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&(n=zt[0],n.blockedOn===null);)Cs(n),n.blockedOn===null&&zt.shift()}var mn=ue.ReactCurrentBatchConfig,Dr=!0;function Kc(e,t,n,r){var l=ee,i=mn.transition;mn.transition=null;try{ee=1,ri(e,t,n,r)}finally{ee=l,mn.transition=i}}function Yc(e,t,n,r){var l=ee,i=mn.transition;mn.transition=null;try{ee=4,ri(e,t,n,r)}finally{ee=l,mn.transition=i}}function ri(e,t,n,r){if(Dr){var l=li(e,t,n,r);if(l===null)ki(e,t,r,Ur,n),xs(e,r);else if(Qc(l,e,t,n,r))r.stopPropagation();else if(xs(e,r),t&4&&-1<Vc.indexOf(e)){for(;l!==null;){var i=ar(l);if(i!==null&&ws(i),i=li(e,t,n,r),i===null&&ki(e,t,r,Ur,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else ki(e,t,r,null,n)}}var Ur=null;function li(e,t,n,r){if(Ur=null,e=Gl(r),e=qt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=as(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ur=e,null}function Ts(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zc()){case Jl:return 1;case ms:return 4;case Nr:case Fc:return 16;case vs:return 536870912;default:return 16}default:return 16}}var Ft=null,ii=null,jr=null;function Ls(){if(jr)return jr;var e,t=ii,n=t.length,r,l="value"in Ft?Ft.value:Ft.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return jr=l.slice(e,1<r?1-r:void 0)}function Br(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Hr(){return!0}function Is(){return!1}function Ze(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Hr:Is,this.isPropagationStopped=Is,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Hr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Hr)},persist:function(){},isPersistent:Hr}),t}var vn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oi=Ze(vn),qn=U({},vn,{view:0,detail:0}),Xc=Ze(qn),si,ui,bn,$r=U({},qn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ci,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==bn&&(bn&&e.type==="mousemove"?(si=e.screenX-bn.screenX,ui=e.screenY-bn.screenY):ui=si=0,bn=e),si)},movementY:function(e){return"movementY"in e?e.movementY:ui}}),Ps=Ze($r),Zc=Ze(U({},$r,{dataTransfer:0})),ai=Ze(U({},qn,{relatedTarget:0})),Jc=Ze(U({},vn,{animationName:0,elapsedTime:0,pseudoElement:0})),qc=Ze(U({},vn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ns=Ze(U({},vn,{data:0})),bc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ed={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"},td={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=td[e])?!!t[e]:!1}function ci(){return nd}var rd=Ze(U({},qn,{key:function(e){if(e.key){var t=bc[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Br(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ed[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ci,charCode:function(e){return e.type==="keypress"?Br(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Br(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}})),Os=Ze(U({},$r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ld=Ze(U({},qn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ci})),id=Ze(U({},vn,{propertyName:0,elapsedTime:0,pseudoElement:0})),od=Ze(U({},$r,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),sd=[9,13,27,32],di=R&&"CompositionEvent"in window,er=null;R&&"documentMode"in document&&(er=document.documentMode);var ud=R&&"TextEvent"in window&&!er,Ms=R&&(!di||er&&8<er&&11>=er),Rs=" ",As=!1;function zs(e,t){switch(e){case"keyup":return sd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gn=!1;function ad(e,t){switch(e){case"compositionend":return Fs(t);case"keypress":return t.which!==32?null:(As=!0,Rs);case"textInput":return e=t.data,e===Rs&&As?null:e;default:return null}}function cd(e,t){if(gn)return e==="compositionend"||!di&&zs(e,t)?(e=Ls(),jr=ii=Ft=null,gn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ms&&t.locale!=="ko"?null:t.data;default:return null}}var dd={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ds(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!dd[e.type]:t==="textarea"}function Us(e,t,n,r){ls(r),t=Kr(t,"onChange"),0<t.length&&(n=new oi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var tr=null,nr=null;function fd(e){nu(e,0)}function Wr(e){if(Go(En(e)))return e}function pd(e,t){if(e==="change")return t}var js=!1;if(R){var fi;if(R){var pi="oninput"in document;if(!pi){var Bs=document.createElement("div");Bs.setAttribute("oninput","return;"),pi=typeof Bs.oninput=="function"}fi=pi}else fi=!1;js=fi&&(!document.documentMode||9<document.documentMode)}function Hs(){tr&&(tr.detachEvent("onpropertychange",$s),nr=tr=null)}function $s(e){if(e.propertyName==="value"&&Wr(nr)){var t=[];Us(t,nr,e,Gl(e)),us(fd,t)}}function hd(e,t,n){e==="focusin"?(Hs(),tr=t,nr=n,tr.attachEvent("onpropertychange",$s)):e==="focusout"&&Hs()}function md(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wr(nr)}function vd(e,t){if(e==="click")return Wr(t)}function gd(e,t){if(e==="input"||e==="change")return Wr(t)}function yd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ut=typeof Object.is=="function"?Object.is:yd;function rr(e,t){if(ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!$.call(t,l)||!ut(e[l],t[l]))return!1}return!0}function Ws(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vs(e,t){var n=Ws(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ws(n)}}function Qs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gs(){for(var e=window,t=Tr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Tr(e.document)}return t}function hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wd(e){var t=Gs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qs(n.ownerDocument.documentElement,n)){if(r!==null&&hi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vs(n,i);var o=Vs(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Sd=R&&"documentMode"in document&&11>=document.documentMode,yn=null,mi=null,lr=null,vi=!1;function Ks(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vi||yn==null||yn!==Tr(r)||(r=yn,"selectionStart"in r&&hi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),lr&&rr(lr,r)||(lr=r,r=Kr(mi,"onSelect"),0<r.length&&(t=new oi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yn)))}function Vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:Vr("Animation","AnimationEnd"),animationiteration:Vr("Animation","AnimationIteration"),animationstart:Vr("Animation","AnimationStart"),transitionend:Vr("Transition","TransitionEnd")},gi={},Ys={};R&&(Ys=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Qr(e){if(gi[e])return gi[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ys)return gi[e]=t[n];return e}var Xs=Qr("animationend"),Zs=Qr("animationiteration"),Js=Qr("animationstart"),qs=Qr("transitionend"),bs=new Map,eu="abort auxClick 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(" ");function Dt(e,t){bs.set(e,t),L(t,[e])}for(var yi=0;yi<eu.length;yi++){var wi=eu[yi];Dt(wi.toLowerCase(),"on"+(wi[0].toUpperCase()+wi.slice(1)))}Dt(Xs,"onAnimationEnd"),Dt(Zs,"onAnimationIteration"),Dt(Js,"onAnimationStart"),Dt("dblclick","onDoubleClick"),Dt("focusin","onFocus"),Dt("focusout","onBlur"),Dt(qs,"onTransitionEnd"),O("onMouseEnter",["mouseout","mouseover"]),O("onMouseLeave",["mouseout","mouseover"]),O("onPointerEnter",["pointerout","pointerover"]),O("onPointerLeave",["pointerout","pointerover"]),L("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),L("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),L("onBeforeInput",["compositionend","keypress","textInput","paste"]),L("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ir="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(" "),kd=new Set("cancel close invalid load scroll toggle".split(" ").concat(ir));function tu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Oc(r,t,void 0,e),e.currentTarget=null}function nu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],d=a.instance,g=a.currentTarget;if(a=a.listener,d!==i&&l.isPropagationStopped())break e;tu(l,a,g),i=d}else for(o=0;o<r.length;o++){if(a=r[o],d=a.instance,g=a.currentTarget,a=a.listener,d!==i&&l.isPropagationStopped())break e;tu(l,a,g),i=d}}}if(Pr)throw e=Zl,Pr=!1,Zl=null,e}function oe(e,t){var n=t[Li];n===void 0&&(n=t[Li]=new Set);var r=e+"__bubble";n.has(r)||(ru(t,e,2,!1),n.add(r))}function Si(e,t,n){var r=0;t&&(r|=4),ru(n,e,r,t)}var Gr="_reactListening"+Math.random().toString(36).slice(2);function or(e){if(!e[Gr]){e[Gr]=!0,y.forEach(function(n){n!=="selectionchange"&&(kd.has(n)||Si(n,!1,e),Si(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Gr]||(t[Gr]=!0,Si("selectionchange",!1,t))}}function ru(e,t,n,r){switch(Ts(t)){case 1:var l=Kc;break;case 4:l=Yc;break;default:l=ri}n=l.bind(null,t,n,e),l=void 0,!Xl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function ki(e,t,n,r,l){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var d=o.tag;if((d===3||d===4)&&(d=o.stateNode.containerInfo,d===l||d.nodeType===8&&d.parentNode===l))return;o=o.return}for(;a!==null;){if(o=qt(a),o===null)return;if(d=o.tag,d===5||d===6){r=i=o;continue e}a=a.parentNode}}r=r.return}us(function(){var g=i,S=Gl(n),k=[];e:{var w=bs.get(e);if(w!==void 0){var T=oi,P=e;switch(e){case"keypress":if(Br(n)===0)break e;case"keydown":case"keyup":T=rd;break;case"focusin":P="focus",T=ai;break;case"focusout":P="blur",T=ai;break;case"beforeblur":case"afterblur":T=ai;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Zc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=ld;break;case Xs:case Zs:case Js:T=Jc;break;case qs:T=id;break;case"scroll":T=Xc;break;case"wheel":T=od;break;case"copy":case"cut":case"paste":T=qc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Os}var N=(t&4)!==0,ye=!N&&e==="scroll",m=N?w!==null?w+"Capture":null:w;N=[];for(var f=g,v;f!==null;){v=f;var x=v.stateNode;if(v.tag===5&&x!==null&&(v=x,m!==null&&(x=$n(f,m),x!=null&&N.push(sr(f,x,v)))),ye)break;f=f.return}0<N.length&&(w=new T(w,P,null,n,S),k.push({event:w,listeners:N}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",w&&n!==Ql&&(P=n.relatedTarget||n.fromElement)&&(qt(P)||P[Ct]))break e;if((T||w)&&(w=S.window===S?S:(w=S.ownerDocument)?w.defaultView||w.parentWindow:window,T?(P=n.relatedTarget||n.toElement,T=g,P=P?qt(P):null,P!==null&&(ye=Jt(P),P!==ye||P.tag!==5&&P.tag!==6)&&(P=null)):(T=null,P=g),T!==P)){if(N=Ps,x="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(N=Os,x="onPointerLeave",m="onPointerEnter",f="pointer"),ye=T==null?w:En(T),v=P==null?w:En(P),w=new N(x,f+"leave",T,n,S),w.target=ye,w.relatedTarget=v,x=null,qt(S)===g&&(N=new N(m,f+"enter",P,n,S),N.target=v,N.relatedTarget=ye,x=N),ye=x,T&&P)t:{for(N=T,m=P,f=0,v=N;v;v=Sn(v))f++;for(v=0,x=m;x;x=Sn(x))v++;for(;0<f-v;)N=Sn(N),f--;for(;0<v-f;)m=Sn(m),v--;for(;f--;){if(N===m||m!==null&&N===m.alternate)break t;N=Sn(N),m=Sn(m)}N=null}else N=null;T!==null&&lu(k,w,T,N,!1),P!==null&&ye!==null&&lu(k,ye,P,N,!0)}}e:{if(w=g?En(g):window,T=w.nodeName&&w.nodeName.toLowerCase(),T==="select"||T==="input"&&w.type==="file")var M=pd;else if(Ds(w))if(js)M=gd;else{M=md;var A=hd}else(T=w.nodeName)&&T.toLowerCase()==="input"&&(w.type==="checkbox"||w.type==="radio")&&(M=vd);if(M&&(M=M(e,g))){Us(k,M,n,S);break e}A&&A(e,w,g),e==="focusout"&&(A=w._wrapperState)&&A.controlled&&w.type==="number"&&Bl(w,"number",w.value)}switch(A=g?En(g):window,e){case"focusin":(Ds(A)||A.contentEditable==="true")&&(yn=A,mi=g,lr=null);break;case"focusout":lr=mi=yn=null;break;case"mousedown":vi=!0;break;case"contextmenu":case"mouseup":case"dragend":vi=!1,Ks(k,n,S);break;case"selectionchange":if(Sd)break;case"keydown":case"keyup":Ks(k,n,S)}var z;if(di)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else gn?zs(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Ms&&n.locale!=="ko"&&(gn||j!=="onCompositionStart"?j==="onCompositionEnd"&&gn&&(z=Ls()):(Ft=S,ii="value"in Ft?Ft.value:Ft.textContent,gn=!0)),A=Kr(g,j),0<A.length&&(j=new Ns(j,e,null,n,S),k.push({event:j,listeners:A}),z?j.data=z:(z=Fs(n),z!==null&&(j.data=z)))),(z=ud?ad(e,n):cd(e,n))&&(g=Kr(g,"onBeforeInput"),0<g.length&&(S=new Ns("onBeforeInput","beforeinput",null,n,S),k.push({event:S,listeners:g}),S.data=z))}nu(k,t)})}function sr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=$n(e,n),i!=null&&r.unshift(sr(e,i,l)),i=$n(e,t),i!=null&&r.push(sr(e,i,l))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function lu(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,d=a.alternate,g=a.stateNode;if(d!==null&&d===r)break;a.tag===5&&g!==null&&(a=g,l?(d=$n(n,i),d!=null&&o.unshift(sr(n,d,a))):l||(d=$n(n,i),d!=null&&o.push(sr(n,d,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ed=/\r\n?/g,xd=/\u0000|\uFFFD/g;function iu(e){return(typeof e=="string"?e:""+e).replace(Ed,`
8
+ `).replace(xd,"")}function Yr(e,t,n){if(t=iu(t),iu(e)!==t&&n)throw Error(u(425))}function Xr(){}var Ei=null,xi=null;function Ci(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _i=typeof setTimeout=="function"?setTimeout:void 0,Cd=typeof clearTimeout=="function"?clearTimeout:void 0,ou=typeof Promise=="function"?Promise:void 0,_d=typeof queueMicrotask=="function"?queueMicrotask:typeof ou<"u"?function(e){return ou.resolve(null).then(e).catch(Td)}:_i;function Td(e){setTimeout(function(){throw e})}function Ti(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Jn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Jn(t)}function Ut(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function su(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),yt="__reactFiber$"+kn,ur="__reactProps$"+kn,Ct="__reactContainer$"+kn,Li="__reactEvents$"+kn,Ld="__reactListeners$"+kn,Id="__reactHandles$"+kn;function qt(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=su(e);e!==null;){if(n=e[yt])return n;e=su(e)}return t}e=n,n=e.parentNode}return null}function ar(e){return e=e[yt]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function En(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(u(33))}function Zr(e){return e[ur]||null}var Ii=[],xn=-1;function jt(e){return{current:e}}function se(e){0>xn||(e.current=Ii[xn],Ii[xn]=null,xn--)}function ie(e,t){xn++,Ii[xn]=e.current,e.current=t}var Bt={},Ae=jt(Bt),Ve=jt(!1),bt=Bt;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Qe(e){return e=e.childContextTypes,e!=null}function Jr(){se(Ve),se(Ae)}function uu(e,t,n){if(Ae.current!==Bt)throw Error(u(168));ie(Ae,t),ie(Ve,n)}function au(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(u(108,ve(e)||"Unknown",l));return U({},n,r)}function qr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,bt=Ae.current,ie(Ae,e),ie(Ve,Ve.current),!0}function cu(e,t,n){var r=e.stateNode;if(!r)throw Error(u(169));n?(e=au(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,se(Ve),se(Ae),ie(Ae,e)):se(Ve),ie(Ve,n)}var _t=null,br=!1,Pi=!1;function du(e){_t===null?_t=[e]:_t.push(e)}function Pd(e){br=!0,du(e)}function Ht(){if(!Pi&&_t!==null){Pi=!0;var e=0,t=ee;try{var n=_t;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}_t=null,br=!1}catch(l){throw _t!==null&&(_t=_t.slice(e+1)),ps(Jl,Ht),l}finally{ee=t,Pi=!1}}return null}var _n=[],Tn=0,el=null,tl=0,et=[],tt=0,en=null,Tt=1,Lt="";function tn(e,t){_n[Tn++]=tl,_n[Tn++]=el,el=e,tl=t}function fu(e,t,n){et[tt++]=Tt,et[tt++]=Lt,et[tt++]=en,en=e;var r=Tt;e=Lt;var l=32-st(r)-1;r&=~(1<<l),n+=1;var i=32-st(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,Tt=1<<32-st(t)+l|n<<l|r,Lt=i+e}else Tt=1<<i|n<<l|r,Lt=e}function Ni(e){e.return!==null&&(tn(e,1),fu(e,1,0))}function Oi(e){for(;e===el;)el=_n[--Tn],_n[Tn]=null,tl=_n[--Tn],_n[Tn]=null;for(;e===en;)en=et[--tt],et[tt]=null,Lt=et[--tt],et[tt]=null,Tt=et[--tt],et[tt]=null}var Je=null,qe=null,de=!1,at=null;function pu(e,t){var n=it(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Je=e,qe=Ut(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Je=e,qe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=en!==null?{id:Tt,overflow:Lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=it(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Je=e,qe=null,!0):!1;default:return!1}}function Mi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ri(e){if(de){var t=qe;if(t){var n=t;if(!hu(e,t)){if(Mi(e))throw Error(u(418));t=Ut(n.nextSibling);var r=Je;t&&hu(e,t)?pu(r,n):(e.flags=e.flags&-4097|2,de=!1,Je=e)}}else{if(Mi(e))throw Error(u(418));e.flags=e.flags&-4097|2,de=!1,Je=e}}}function mu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Je=e}function nl(e){if(e!==Je)return!1;if(!de)return mu(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ci(e.type,e.memoizedProps)),t&&(t=qe)){if(Mi(e))throw vu(),Error(u(418));for(;t;)pu(e,t),t=Ut(t.nextSibling)}if(mu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){qe=Ut(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}qe=null}}else qe=Je?Ut(e.stateNode.nextSibling):null;return!0}function vu(){for(var e=qe;e;)e=Ut(e.nextSibling)}function Ln(){qe=Je=null,de=!1}function Ai(e){at===null?at=[e]:at.push(e)}var Nd=ue.ReactCurrentBatchConfig;function cr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(u(309));var r=n.stateNode}if(!r)throw Error(u(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=l.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(u(284));if(!n._owner)throw Error(u(290,e))}return e}function rl(e,t){throw e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gu(e){var t=e._init;return t(e._payload)}function yu(e){function t(m,f){if(e){var v=m.deletions;v===null?(m.deletions=[f],m.flags|=16):v.push(f)}}function n(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function r(m,f){for(m=new Map;f!==null;)f.key!==null?m.set(f.key,f):m.set(f.index,f),f=f.sibling;return m}function l(m,f){return m=Xt(m,f),m.index=0,m.sibling=null,m}function i(m,f,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<f?(m.flags|=2,f):v):(m.flags|=2,f)):(m.flags|=1048576,f)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,f,v,x){return f===null||f.tag!==6?(f=_o(v,m.mode,x),f.return=m,f):(f=l(f,v),f.return=m,f)}function d(m,f,v,x){var M=v.type;return M===J?S(m,f,v.props.children,x,v.key):f!==null&&(f.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===We&&gu(M)===f.type)?(x=l(f,v.props),x.ref=cr(m,f,v),x.return=m,x):(x=Ll(v.type,v.key,v.props,null,m.mode,x),x.ref=cr(m,f,v),x.return=m,x)}function g(m,f,v,x){return f===null||f.tag!==4||f.stateNode.containerInfo!==v.containerInfo||f.stateNode.implementation!==v.implementation?(f=To(v,m.mode,x),f.return=m,f):(f=l(f,v.children||[]),f.return=m,f)}function S(m,f,v,x,M){return f===null||f.tag!==7?(f=cn(v,m.mode,x,M),f.return=m,f):(f=l(f,v),f.return=m,f)}function k(m,f,v){if(typeof f=="string"&&f!==""||typeof f=="number")return f=_o(""+f,m.mode,v),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Re:return v=Ll(f.type,f.key,f.props,null,m.mode,v),v.ref=cr(m,null,f),v.return=m,v;case ke:return f=To(f,m.mode,v),f.return=m,f;case We:var x=f._init;return k(m,x(f._payload),v)}if(jn(f)||B(f))return f=cn(f,m.mode,v,null),f.return=m,f;rl(m,f)}return null}function w(m,f,v,x){var M=f!==null?f.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return M!==null?null:a(m,f,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Re:return v.key===M?d(m,f,v,x):null;case ke:return v.key===M?g(m,f,v,x):null;case We:return M=v._init,w(m,f,M(v._payload),x)}if(jn(v)||B(v))return M!==null?null:S(m,f,v,x,null);rl(m,v)}return null}function T(m,f,v,x,M){if(typeof x=="string"&&x!==""||typeof x=="number")return m=m.get(v)||null,a(f,m,""+x,M);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Re:return m=m.get(x.key===null?v:x.key)||null,d(f,m,x,M);case ke:return m=m.get(x.key===null?v:x.key)||null,g(f,m,x,M);case We:var A=x._init;return T(m,f,v,A(x._payload),M)}if(jn(x)||B(x))return m=m.get(v)||null,S(f,m,x,M,null);rl(f,x)}return null}function P(m,f,v,x){for(var M=null,A=null,z=f,j=f=0,Le=null;z!==null&&j<v.length;j++){z.index>j?(Le=z,z=null):Le=z.sibling;var X=w(m,z,v[j],x);if(X===null){z===null&&(z=Le);break}e&&z&&X.alternate===null&&t(m,z),f=i(X,f,j),A===null?M=X:A.sibling=X,A=X,z=Le}if(j===v.length)return n(m,z),de&&tn(m,j),M;if(z===null){for(;j<v.length;j++)z=k(m,v[j],x),z!==null&&(f=i(z,f,j),A===null?M=z:A.sibling=z,A=z);return de&&tn(m,j),M}for(z=r(m,z);j<v.length;j++)Le=T(z,m,j,v[j],x),Le!==null&&(e&&Le.alternate!==null&&z.delete(Le.key===null?j:Le.key),f=i(Le,f,j),A===null?M=Le:A.sibling=Le,A=Le);return e&&z.forEach(function(Zt){return t(m,Zt)}),de&&tn(m,j),M}function N(m,f,v,x){var M=B(v);if(typeof M!="function")throw Error(u(150));if(v=M.call(v),v==null)throw Error(u(151));for(var A=M=null,z=f,j=f=0,Le=null,X=v.next();z!==null&&!X.done;j++,X=v.next()){z.index>j?(Le=z,z=null):Le=z.sibling;var Zt=w(m,z,X.value,x);if(Zt===null){z===null&&(z=Le);break}e&&z&&Zt.alternate===null&&t(m,z),f=i(Zt,f,j),A===null?M=Zt:A.sibling=Zt,A=Zt,z=Le}if(X.done)return n(m,z),de&&tn(m,j),M;if(z===null){for(;!X.done;j++,X=v.next())X=k(m,X.value,x),X!==null&&(f=i(X,f,j),A===null?M=X:A.sibling=X,A=X);return de&&tn(m,j),M}for(z=r(m,z);!X.done;j++,X=v.next())X=T(z,m,j,X.value,x),X!==null&&(e&&X.alternate!==null&&z.delete(X.key===null?j:X.key),f=i(X,f,j),A===null?M=X:A.sibling=X,A=X);return e&&z.forEach(function(hf){return t(m,hf)}),de&&tn(m,j),M}function ye(m,f,v,x){if(typeof v=="object"&&v!==null&&v.type===J&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Re:e:{for(var M=v.key,A=f;A!==null;){if(A.key===M){if(M=v.type,M===J){if(A.tag===7){n(m,A.sibling),f=l(A,v.props.children),f.return=m,m=f;break e}}else if(A.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===We&&gu(M)===A.type){n(m,A.sibling),f=l(A,v.props),f.ref=cr(m,A,v),f.return=m,m=f;break e}n(m,A);break}else t(m,A);A=A.sibling}v.type===J?(f=cn(v.props.children,m.mode,x,v.key),f.return=m,m=f):(x=Ll(v.type,v.key,v.props,null,m.mode,x),x.ref=cr(m,f,v),x.return=m,m=x)}return o(m);case ke:e:{for(A=v.key;f!==null;){if(f.key===A)if(f.tag===4&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(m,f.sibling),f=l(f,v.children||[]),f.return=m,m=f;break e}else{n(m,f);break}else t(m,f);f=f.sibling}f=To(v,m.mode,x),f.return=m,m=f}return o(m);case We:return A=v._init,ye(m,f,A(v._payload),x)}if(jn(v))return P(m,f,v,x);if(B(v))return N(m,f,v,x);rl(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,f!==null&&f.tag===6?(n(m,f.sibling),f=l(f,v),f.return=m,m=f):(n(m,f),f=_o(v,m.mode,x),f.return=m,m=f),o(m)):n(m,f)}return ye}var In=yu(!0),wu=yu(!1),ll=jt(null),il=null,Pn=null,zi=null;function Fi(){zi=Pn=il=null}function Di(e){var t=ll.current;se(ll),e._currentValue=t}function Ui(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Nn(e,t){il=e,zi=Pn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ge=!0),e.firstContext=null)}function nt(e){var t=e._currentValue;if(zi!==e)if(e={context:e,memoizedValue:t,next:null},Pn===null){if(il===null)throw Error(u(308));Pn=e,il.dependencies={lanes:0,firstContext:e}}else Pn=Pn.next=e;return t}var nn=null;function ji(e){nn===null?nn=[e]:nn.push(e)}function Su(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ji(t)):(n.next=l.next,l.next=n),t.interleaved=n,It(e,r)}function It(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var $t=!1;function Bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ku(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Y&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,It(e,n)}return l=r.interleaved,l===null?(t.next=t,ji(r)):(t.next=l.next,l.next=t),r.interleaved=t,It(e,n)}function ol(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ei(e,n)}}function Eu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function sl(e,t,n,r){var l=e.updateQueue;$t=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var d=a,g=d.next;d.next=null,o===null?i=g:o.next=g,o=d;var S=e.alternate;S!==null&&(S=S.updateQueue,a=S.lastBaseUpdate,a!==o&&(a===null?S.firstBaseUpdate=g:a.next=g,S.lastBaseUpdate=d))}if(i!==null){var k=l.baseState;o=0,S=g=d=null,a=i;do{var w=a.lane,T=a.eventTime;if((r&w)===w){S!==null&&(S=S.next={eventTime:T,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var P=e,N=a;switch(w=t,T=n,N.tag){case 1:if(P=N.payload,typeof P=="function"){k=P.call(T,k,w);break e}k=P;break e;case 3:P.flags=P.flags&-65537|128;case 0:if(P=N.payload,w=typeof P=="function"?P.call(T,k,w):P,w==null)break e;k=U({},k,w);break e;case 2:$t=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,w=l.effects,w===null?l.effects=[a]:w.push(a))}else T={eventTime:T,lane:w,tag:a.tag,payload:a.payload,callback:a.callback,next:null},S===null?(g=S=T,d=k):S=S.next=T,o|=w;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;w=a,a=w.next,w.next=null,l.lastBaseUpdate=w,l.shared.pending=null}}while(!0);if(S===null&&(d=k),l.baseState=d,l.firstBaseUpdate=g,l.lastBaseUpdate=S,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);on|=o,e.lanes=o,e.memoizedState=k}}function xu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(u(191,l));l.call(r)}}}var dr={},wt=jt(dr),fr=jt(dr),pr=jt(dr);function rn(e){if(e===dr)throw Error(u(174));return e}function Hi(e,t){switch(ie(pr,t),ie(fr,e),ie(wt,dr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$l(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$l(t,e)}se(wt),ie(wt,t)}function On(){se(wt),se(fr),se(pr)}function Cu(e){rn(pr.current);var t=rn(wt.current),n=$l(t,e.type);t!==n&&(ie(fr,e),ie(wt,n))}function $i(e){fr.current===e&&(se(wt),se(fr))}var pe=jt(0);function ul(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wi=[];function Vi(){for(var e=0;e<Wi.length;e++)Wi[e]._workInProgressVersionPrimary=null;Wi.length=0}var al=ue.ReactCurrentDispatcher,Qi=ue.ReactCurrentBatchConfig,ln=0,he=null,Ee=null,_e=null,cl=!1,hr=!1,mr=0,Od=0;function ze(){throw Error(u(321))}function Gi(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ut(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,l,i){if(ln=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,al.current=e===null||e.memoizedState===null?zd:Fd,e=n(r,l),hr){i=0;do{if(hr=!1,mr=0,25<=i)throw Error(u(301));i+=1,_e=Ee=null,t.updateQueue=null,al.current=Dd,e=n(r,l)}while(hr)}if(al.current=pl,t=Ee!==null&&Ee.next!==null,ln=0,_e=Ee=he=null,cl=!1,t)throw Error(u(300));return e}function Yi(){var e=mr!==0;return mr=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _e===null?he.memoizedState=_e=e:_e=_e.next=e,_e}function rt(){if(Ee===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=_e===null?he.memoizedState:_e.next;if(t!==null)_e=t,Ee=e;else{if(e===null)throw Error(u(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},_e===null?he.memoizedState=_e=e:_e=_e.next=e}return _e}function vr(e,t){return typeof t=="function"?t(e):t}function Xi(e){var t=rt(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var r=Ee,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var a=o=null,d=null,g=i;do{var S=g.lane;if((ln&S)===S)d!==null&&(d=d.next={lane:0,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),r=g.hasEagerState?g.eagerState:e(r,g.action);else{var k={lane:S,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};d===null?(a=d=k,o=r):d=d.next=k,he.lanes|=S,on|=S}g=g.next}while(g!==null&&g!==i);d===null?o=r:d.next=a,ut(r,t.memoizedState)||(Ge=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=d,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,he.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Zi(e){var t=rt(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);ut(i,t.memoizedState)||(Ge=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _u(){}function Tu(e,t){var n=he,r=rt(),l=t(),i=!ut(r.memoizedState,l);if(i&&(r.memoizedState=l,Ge=!0),r=r.queue,Ji(Pu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||_e!==null&&_e.memoizedState.tag&1){if(n.flags|=2048,gr(9,Iu.bind(null,n,r,l,t),void 0,null),Te===null)throw Error(u(349));(ln&30)!==0||Lu(n,t,l)}return l}function Lu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Iu(e,t,n,r){t.value=n,t.getSnapshot=r,Nu(t)&&Ou(e)}function Pu(e,t,n){return n(function(){Nu(t)&&Ou(e)})}function Nu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ut(e,n)}catch{return!0}}function Ou(e){var t=It(e,1);t!==null&&pt(t,e,1,-1)}function Mu(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vr,lastRenderedState:e},t.queue=e,e=e.dispatch=Ad.bind(null,he,e),[t.memoizedState,e]}function gr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ru(){return rt().memoizedState}function dl(e,t,n,r){var l=St();he.flags|=e,l.memoizedState=gr(1|t,n,void 0,r===void 0?null:r)}function fl(e,t,n,r){var l=rt();r=r===void 0?null:r;var i=void 0;if(Ee!==null){var o=Ee.memoizedState;if(i=o.destroy,r!==null&&Gi(r,o.deps)){l.memoizedState=gr(t,n,i,r);return}}he.flags|=e,l.memoizedState=gr(1|t,n,i,r)}function Au(e,t){return dl(8390656,8,e,t)}function Ji(e,t){return fl(2048,8,e,t)}function zu(e,t){return fl(4,2,e,t)}function Fu(e,t){return fl(4,4,e,t)}function Du(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Uu(e,t,n){return n=n!=null?n.concat([e]):null,fl(4,4,Du.bind(null,t,e),n)}function qi(){}function ju(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bu(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hu(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,Ge=!0),e.memoizedState=n):(ut(n,t)||(n=gs(),he.lanes|=n,on|=n,e.baseState=!0),t)}function Md(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=Qi.transition;Qi.transition={};try{e(!1),t()}finally{ee=n,Qi.transition=r}}function $u(){return rt().memoizedState}function Rd(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Wu(e))Vu(t,n);else if(n=Su(e,t,n,r),n!==null){var l=Be();pt(n,e,r,l),Qu(n,t,r)}}function Ad(e,t,n){var r=Kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wu(e))Vu(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,ut(a,o)){var d=t.interleaved;d===null?(l.next=l,ji(t)):(l.next=d.next,d.next=l),t.interleaved=l;return}}catch{}n=Su(e,t,l,r),n!==null&&(l=Be(),pt(n,e,r,l),Qu(n,t,r))}}function Wu(e){var t=e.alternate;return e===he||t!==null&&t===he}function Vu(e,t){hr=cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qu(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ei(e,n)}}var pl={readContext:nt,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},zd={readContext:nt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Au,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,dl(4194308,4,Du.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Rd.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:Mu,useDebugValue:qi,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=Mu(!1),t=e[0];return e=Md.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,l=St();if(de){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Te===null)throw Error(u(349));(ln&30)!==0||Lu(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Au(Pu.bind(null,r,i,e),[e]),r.flags|=2048,gr(9,Iu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=Te.identifierPrefix;if(de){var n=Lt,r=Tt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=mr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Od++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Fd={readContext:nt,useCallback:ju,useContext:nt,useEffect:Ji,useImperativeHandle:Uu,useInsertionEffect:zu,useLayoutEffect:Fu,useMemo:Bu,useReducer:Xi,useRef:Ru,useState:function(){return Xi(vr)},useDebugValue:qi,useDeferredValue:function(e){return Hu(rt(),Ee.memoizedState,e)},useTransition:function(){return[Xi(vr)[0],rt().memoizedState]},useMutableSource:_u,useSyncExternalStore:Tu,useId:$u,unstable_isNewReconciler:!1},Dd={readContext:nt,useCallback:ju,useContext:nt,useEffect:Ji,useImperativeHandle:Uu,useInsertionEffect:zu,useLayoutEffect:Fu,useMemo:Bu,useReducer:Zi,useRef:Ru,useState:function(){return Zi(vr)},useDebugValue:qi,useDeferredValue:function(e){var t=rt();return Ee===null?t.memoizedState=e:Hu(t,Ee.memoizedState,e)},useTransition:function(){return[Zi(vr)[0],rt().memoizedState]},useMutableSource:_u,useSyncExternalStore:Tu,useId:$u,unstable_isNewReconciler:!1};function ct(e,t){if(e&&e.defaultProps){t=U({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function bi(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:U({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var hl={isMounted:function(e){return(e=e._reactInternals)?Jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Be(),l=Kt(e),i=Pt(r,l);i.payload=t,n!=null&&(i.callback=n),t=Wt(e,i,l),t!==null&&(pt(t,e,l,r),ol(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),l=Kt(e),i=Pt(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Wt(e,i,l),t!==null&&(pt(t,e,l,r),ol(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=Kt(e),l=Pt(n,r);l.tag=2,t!=null&&(l.callback=t),t=Wt(e,l,r),t!==null&&(pt(t,e,r,n),ol(t,e,r))}};function Gu(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!rr(n,r)||!rr(l,i):!0}function Ku(e,t,n){var r=!1,l=Bt,i=t.contextType;return typeof i=="object"&&i!==null?i=nt(i):(l=Qe(t)?bt:Ae.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Bt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function Yu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&hl.enqueueReplaceState(t,t.state,null)}function eo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Bi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=nt(i):(i=Qe(t)?bt:Ae.current,l.context=Cn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(bi(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&hl.enqueueReplaceState(l,l.state,null),sl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Mn(e,t){try{var n="",r=t;do n+=V(r),r=r.return;while(r);var l=n}catch(i){l=`
8
9
  Error generating stack: `+i.message+`
9
- `+i.stack}return{value:e,source:t,stack:l,digest:null}}function co(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dd=typeof WeakMap=="function"?WeakMap:Map;function fa(e,t,n){n=Pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tl||(Tl=!0,Lo=r),fo(e,t)},n}function da(e,t,n){n=Pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){fo(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){fo(e,t),typeof r!="function"&&(Qt===null?Qt=new Set([this]):Qt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function pa(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dd;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=_d.bind(null,e,t,n),t.then(e,e))}function ha(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ma(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pt(-1,1),t.tag=2,$t(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var pd=Se.ReactCurrentOwner,Ke=!1;function We(e,t,n,r){t.child=e===null?Au(t,null,n,r):In(t,e.child,n,r)}function ga(e,t,n,r,l){n=n.render;var i=t.ref;return Nn(t,l),r=no(e,t,n,r,i,l),n=ro(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(de&&n&&ji(t),t.flags|=1,We(e,t,r,l),t.child)}function ya(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Mo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,va(e,t,i,r,l)):(e=Ol(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&l)===0){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ir,n(o,r)&&e.ref===t.ref)return Nt(e,t,l)}return t.flags|=1,e=Xt(i,r),e.ref=t.ref,e.return=t,t.child=e}function va(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,Nt(e,t,l)}return po(e,t,n,r,l)}function wa(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(Mn,et),et|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(Mn,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(Mn,et),et|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(Mn,et),et|=r;return We(e,t,l,n),t.child}function Sa(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function po(e,t,n,r,l){var i=Ge(n)?bt:Fe.current;return i=Cn(t,i),Nn(t,l),n=no(e,t,n,r,i,l),r=ro(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(de&&r&&ji(t),t.flags|=1,We(e,t,n,l),t.child)}function ka(e,t,n,r,l){if(Ge(n)){var i=!0;nl(t)}else i=!1;if(Nn(t,l),t.stateNode===null)Sl(e,t),aa(t,n,r),ao(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var c=o.context,g=n.contextType;typeof g=="object"&&g!==null?g=it(g):(g=Ge(n)?bt:Fe.current,g=Cn(t,g));var k=n.getDerivedStateFromProps,E=typeof k=="function"||typeof o.getSnapshotBeforeUpdate=="function";E||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||c!==g)&&ca(t,o,r,g),Wt=!1;var w=t.memoizedState;o.state=w,fl(t,r,o,l),c=t.memoizedState,a!==r||w!==c||Qe.current||Wt?(typeof k=="function"&&(uo(t,n,k,r),c=t.memoizedState),(a=Wt||ua(t,n,a,r,w,c,g))?(E||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=g,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Du(e,t),a=t.memoizedProps,g=t.type===t.elementType?a:pt(t.type,a),o.props=g,E=t.pendingProps,w=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=it(c):(c=Ge(n)?bt:Fe.current,c=Cn(t,c));var _=n.getDerivedStateFromProps;(k=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==E||w!==c)&&ca(t,o,r,c),Wt=!1,w=t.memoizedState,o.state=w,fl(t,r,o,l);var N=t.memoizedState;a!==E||w!==N||Qe.current||Wt?(typeof _=="function"&&(uo(t,n,_,r),N=t.memoizedState),(g=Wt||ua(t,n,g,r,w,N,c)||!1)?(k||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,N,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,N,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=N),o.props=r,o.state=N,o.context=c,r=g):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),r=!1)}return ho(e,t,n,r,i,l)}function ho(e,t,n,r,l,i){Sa(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&_u(t,n,!1),Nt(e,t,i);r=t.stateNode,pd.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=In(t,e.child,null,i),t.child=In(t,null,a,i)):We(e,t,a,i),t.memoizedState=r.state,l&&_u(t,n,!0),t.child}function Ea(e){var t=e.stateNode;t.pendingContext?Cu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Cu(e,t.context,!1),Zi(e,t.containerInfo)}function xa(e,t,n,r,l){return Ln(),$i(l),t.flags|=256,We(e,t,n,r),t.child}var mo={dehydrated:null,treeContext:null,retryLane:0};function go(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ca(e,t,n){var r=t.pendingProps,l=pe.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ie(pe,l&1),e===null)return Wi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Rl(o,r,0,null),e=cn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=go(n),t.memoizedState=mo,e):yo(t,o));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return hd(e,t,o,r,a,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,a=l.sibling;var c={mode:"hidden",children:r.children};return(o&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Xt(l,c),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?i=Xt(a,i):(i=cn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?go(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=mo,r}return i=e.child,e=i.sibling,r=Xt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function yo(e,t){return t=Rl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wl(e,t,n,r){return r!==null&&$i(r),In(t,e.child,null,n),e=yo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hd(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=co(Error(s(422))),wl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Rl({mode:"visible",children:r.children},l,0,null),i=cn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&In(t,e.child,null,o),t.child.memoizedState=go(o),t.memoizedState=mo,i);if((t.mode&1)===0)return wl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(s(419)),r=co(i,r,void 0),wl(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ke||a){if(r=Pe,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(r.suspendedLanes|o))!==0?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,It(e,l),gt(r,e,l,-1))}return zo(),r=co(Error(s(421))),wl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Ld.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,be=Ut(l.nextSibling),Je=t,de=!0,dt=null,e!==null&&(rt[lt++]=_t,rt[lt++]=Lt,rt[lt++]=en,_t=e.id,Lt=e.overflow,en=t),t=yo(t,r.children),t.flags|=4096,t)}function Ta(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ki(e.return,t,n)}function vo(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function _a(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(We(e,t,r.children,n),r=pe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ta(e,n,t);else if(e.tag===19)Ta(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(pe,r),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&dl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),vo(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&dl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}vo(t,!0,n,null,i);break;case"together":vo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),on|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function md(e,t,n){switch(t.tag){case 3:Ea(t),Ln();break;case 5:Bu(t);break;case 1:Ge(t.type)&&nl(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ie(ul,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(pe,pe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Ca(e,t,n):(ie(pe,pe.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);ie(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return _a(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ie(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,wa(e,t,n)}return Nt(e,t,n)}var La,wo,Ia,Pa;La=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},wo=function(){},Ia=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(wt.current);var i=null;switch(n){case"input":l=Kl(e,l),r=Kl(e,r),i=[];break;case"select":l=P({},l,{value:void 0}),r=P({},r,{value:void 0}),i=[];break;case"textarea":l=Zl(e,l),r=Zl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}Jl(n,r);var o;n=null;for(g in l)if(!r.hasOwnProperty(g)&&l.hasOwnProperty(g)&&l[g]!=null)if(g==="style"){var a=l[g];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else g!=="dangerouslySetInnerHTML"&&g!=="children"&&g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(y.hasOwnProperty(g)?i||(i=[]):(i=i||[]).push(g,null));for(g in r){var c=r[g];if(a=l?.[g],r.hasOwnProperty(g)&&c!==a&&(c!=null||a!=null))if(g==="style")if(a){for(o in a)!a.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&a[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(g,n)),n=c;else g==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(i=i||[]).push(g,c)):g==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(g,""+c):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&(y.hasOwnProperty(g)?(c!=null&&g==="onScroll"&&oe("scroll",e),i||a===c||(i=[])):(i=i||[]).push(g,c))}n&&(i=i||[]).push("style",n);var g=i;(t.updateQueue=g)&&(t.flags|=4)}},Pa=function(e,t,n,r){n!==r&&(t.flags|=4)};function Sr(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gd(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ge(t.type)&&tl(),Ue(t),null;case 3:return r=t.stateNode,On(),se(Qe),se(Fe),bi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ol(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,dt!==null&&(No(dt),dt=null))),wo(e,t),Ue(t),null;case 5:qi(t);var l=rn(mr.current);if(n=t.type,e!==null&&t.stateNode!=null)Ia(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(s(166));return Ue(t),null}if(e=rn(wt.current),ol(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[vt]=t,r[cr]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(l=0;l<sr.length;l++)oe(sr[l],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":as(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":ds(r,i),oe("invalid",r)}Jl(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Jr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Jr(r.textContent,a,e),l=["children",""+a]):y.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":Pr(r),fs(r,i,!0);break;case"textarea":Pr(r),hs(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ms(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[vt]=t,e[cr]=r,La(e,t,!1,!1),t.stateNode=e;e:{switch(o=bl(n,r),n){case"dialog":oe("cancel",e),oe("close",e),l=r;break;case"iframe":case"object":case"embed":oe("load",e),l=r;break;case"video":case"audio":for(l=0;l<sr.length;l++)oe(sr[l],e);l=r;break;case"source":oe("error",e),l=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),l=r;break;case"details":oe("toggle",e),l=r;break;case"input":as(e,r),l=Kl(e,r),oe("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=P({},r,{value:void 0}),oe("invalid",e);break;case"textarea":ds(e,r),l=Zl(e,r),oe("invalid",e);break;default:l=r}Jl(n,l),a=l;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];i==="style"?vs(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&gs(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Wn(e,c):typeof c=="number"&&Wn(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(y.hasOwnProperty(i)?c!=null&&i==="onScroll"&&oe("scroll",e):c!=null&&Oe(e,i,c,o))}switch(n){case"input":Pr(e),fs(e,r,!1);break;case"textarea":Pr(e),hs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ee(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?dn(e,!!r.multiple,i,!1):r.defaultValue!=null&&dn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ue(t),null;case 6:if(e&&t.stateNode!=null)Pa(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(n=rn(mr.current),rn(wt.current),ol(t)){if(r=t.stateNode,n=t.memoizedProps,r[vt]=t,(i=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:Jr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Jr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[vt]=t,t.stateNode=r}return Ue(t),null;case 13:if(se(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&be!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Ru(),Ln(),t.flags|=98560,i=!1;else if(i=ol(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(s(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));i[vt]=t}else Ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),i=!1}else dt!==null&&(No(dt),dt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(pe.current&1)!==0?Te===0&&(Te=3):zo())),t.updateQueue!==null&&(t.flags|=4),Ue(t),null);case 4:return On(),wo(e,t),e===null&&ur(t.stateNode.containerInfo),Ue(t),null;case 10:return Gi(t.type._context),Ue(t),null;case 17:return Ge(t.type)&&tl(),Ue(t),null;case 19:if(se(pe),i=t.memoizedState,i===null)return Ue(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Sr(i,!1);else{if(Te!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dl(e),o!==null){for(t.flags|=128,Sr(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(pe,pe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ye()>An&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304)}else{if(!r)if(e=dl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!de)return Ue(t),null}else 2*ye()-i.renderingStartTime>An&&n!==1073741824&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,n=pe.current,ie(pe,r?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return Ro(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(et&1073741824)!==0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function yd(e,t){switch(Bi(t),t.tag){case 1:return Ge(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),se(Qe),se(Fe),bi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return qi(t),null;case 13:if(se(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(pe),null;case 4:return On(),null;case 10:return Gi(t.type._context),null;case 22:case 23:return Ro(),null;case 24:return null;default:return null}}var kl=!1,je=!1,vd=typeof WeakSet=="function"?WeakSet:Set,I=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function So(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Na=!1;function wd(e,t){if(Oi=Hr,e=uu(),xi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,c=-1,g=0,k=0,E=e,w=null;t:for(;;){for(var _;E!==n||l!==0&&E.nodeType!==3||(a=o+l),E!==i||r!==0&&E.nodeType!==3||(c=o+r),E.nodeType===3&&(o+=E.nodeValue.length),(_=E.firstChild)!==null;)w=E,E=_;for(;;){if(E===e)break t;if(w===n&&++g===l&&(a=o),w===i&&++k===r&&(c=o),(_=E.nextSibling)!==null)break;E=w,w=E.parentNode}E=_}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ri={focusedElem:e,selectionRange:n},Hr=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var N=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(N!==null){var O=N.memoizedProps,ve=N.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?O:pt(t.type,O),ve);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(C){ge(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return N=Na,Na=!1,N}function kr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&So(t,n,i)}l=l.next}while(l!==r)}}function El(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ko(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function Oa(e){var t=e.alternate;t!==null&&(e.alternate=null,Oa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[cr],delete t[Fi],delete t[td],delete t[nd])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ra(e){return e.tag===5||e.tag===3||e.tag===4}function za(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ra(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Eo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}function xo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xo(e,t,n),e=e.sibling;e!==null;)xo(e,t,n),e=e.sibling}var Re=null,ht=!1;function Vt(e,t,n){for(n=n.child;n!==null;)Ma(e,t,n),n=n.sibling}function Ma(e,t,n){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Ar,n)}catch{}switch(n.tag){case 5:je||zn(n,t);case 6:var r=Re,l=ht;Re=null,Vt(e,t,n),Re=r,ht=l,Re!==null&&(ht?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(ht?(e=Re,n=n.stateNode,e.nodeType===8?Ai(e.parentNode,n):e.nodeType===1&&Ai(e,n),bn(e)):Ai(Re,n.stateNode));break;case 4:r=Re,l=ht,Re=n.stateNode.containerInfo,ht=!0,Vt(e,t,n),Re=r,ht=l;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&((i&2)!==0||(i&4)!==0)&&So(n,t,o),l=l.next}while(l!==r)}Vt(e,t,n);break;case 1:if(!je&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,Vt(e,t,n),je=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function Aa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vd),t.forEach(function(r){var l=Id.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,ht=!1;break e;case 3:Re=a.stateNode.containerInfo,ht=!0;break e;case 4:Re=a.stateNode.containerInfo,ht=!0;break e}a=a.return}if(Re===null)throw Error(s(160));Ma(i,o,l),Re=null,ht=!1;var c=l.alternate;c!==null&&(c.return=null),l.return=null}catch(g){ge(l,t,g)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Fa(t,e),t=t.sibling}function Fa(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mt(t,e),kt(e),r&4){try{kr(3,e,e.return),El(3,e)}catch(O){ge(e,e.return,O)}try{kr(5,e,e.return)}catch(O){ge(e,e.return,O)}}break;case 1:mt(t,e),kt(e),r&512&&n!==null&&zn(n,n.return);break;case 5:if(mt(t,e),kt(e),r&512&&n!==null&&zn(n,n.return),e.flags&32){var l=e.stateNode;try{Wn(l,"")}catch(O){ge(e,e.return,O)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&cs(l,i),bl(a,o);var g=bl(a,i);for(o=0;o<c.length;o+=2){var k=c[o],E=c[o+1];k==="style"?vs(l,E):k==="dangerouslySetInnerHTML"?gs(l,E):k==="children"?Wn(l,E):Oe(l,k,E,g)}switch(a){case"input":Yl(l,i);break;case"textarea":ps(l,i);break;case"select":var w=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var _=i.value;_!=null?dn(l,!!i.multiple,_,!1):w!==!!i.multiple&&(i.defaultValue!=null?dn(l,!!i.multiple,i.defaultValue,!0):dn(l,!!i.multiple,i.multiple?[]:"",!1))}l[cr]=i}catch(O){ge(e,e.return,O)}}break;case 6:if(mt(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(O){ge(e,e.return,O)}}break;case 3:if(mt(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(O){ge(e,e.return,O)}break;case 4:mt(t,e),kt(e);break;case 13:mt(t,e),kt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(_o=ye())),r&4&&Aa(e);break;case 22:if(k=n!==null&&n.memoizedState!==null,e.mode&1?(je=(g=je)||k,mt(t,e),je=g):mt(t,e),kt(e),r&8192){if(g=e.memoizedState!==null,(e.stateNode.isHidden=g)&&!k&&(e.mode&1)!==0)for(I=e,k=e.child;k!==null;){for(E=I=k;I!==null;){switch(w=I,_=w.child,w.tag){case 0:case 11:case 14:case 15:kr(4,w,w.return);break;case 1:zn(w,w.return);var N=w.stateNode;if(typeof N.componentWillUnmount=="function"){r=w,n=w.return;try{t=r,N.props=t.memoizedProps,N.state=t.memoizedState,N.componentWillUnmount()}catch(O){ge(r,n,O)}}break;case 5:zn(w,w.return);break;case 22:if(w.memoizedState!==null){ja(E);continue}}_!==null?(_.return=w,I=_):ja(E)}k=k.sibling}e:for(k=null,E=e;;){if(E.tag===5){if(k===null){k=E;try{l=E.stateNode,g?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=E.stateNode,c=E.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=ys("display",o))}catch(O){ge(e,e.return,O)}}}else if(E.tag===6){if(k===null)try{E.stateNode.nodeValue=g?"":E.memoizedProps}catch(O){ge(e,e.return,O)}}else if((E.tag!==22&&E.tag!==23||E.memoizedState===null||E===e)&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===e)break e;for(;E.sibling===null;){if(E.return===null||E.return===e)break e;k===E&&(k=null),E=E.return}k===E&&(k=null),E.sibling.return=E.return,E=E.sibling}}break;case 19:mt(t,e),kt(e),r&4&&Aa(e);break;case 21:break;default:mt(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ra(n)){var r=n;break e}n=n.return}throw Error(s(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Wn(l,""),r.flags&=-33);var i=za(e);xo(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,a=za(e);Eo(e,a,o);break;default:throw Error(s(161))}}catch(c){ge(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sd(e,t,n){I=e,Da(e)}function Da(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var l=I,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||kl;if(!o){var a=l.alternate,c=a!==null&&a.memoizedState!==null||je;a=kl;var g=je;if(kl=o,(je=c)&&!g)for(I=l;I!==null;)o=I,c=o.child,o.tag===22&&o.memoizedState!==null?Ba(l):c!==null?(c.return=o,I=c):Ba(l);for(;i!==null;)I=i,Da(i),i=i.sibling;I=l,kl=a,je=g}Ua(e)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,I=i):Ua(e)}}function Ua(e){for(;I!==null;){var t=I;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:je||El(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:pt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&ju(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ju(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var g=t.alternate;if(g!==null){var k=g.memoizedState;if(k!==null){var E=k.dehydrated;E!==null&&bn(E)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}je||t.flags&512&&ko(t)}catch(w){ge(t,t.return,w)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function ja(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Ba(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{El(4,t)}catch(c){ge(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(c){ge(t,l,c)}}var i=t.return;try{ko(t)}catch(c){ge(t,i,c)}break;case 5:var o=t.return;try{ko(t)}catch(c){ge(t,o,c)}}}catch(c){ge(t,t.return,c)}if(t===e){I=null;break}var a=t.sibling;if(a!==null){a.return=t.return,I=a;break}I=t.return}}var kd=Math.ceil,xl=Se.ReactCurrentDispatcher,Co=Se.ReactCurrentOwner,st=Se.ReactCurrentBatchConfig,K=0,Pe=null,ke=null,ze=0,et=0,Mn=jt(0),Te=0,Er=null,on=0,Cl=0,To=0,xr=null,Ye=null,_o=0,An=1/0,Ot=null,Tl=!1,Lo=null,Qt=null,_l=!1,Gt=null,Ll=0,Cr=0,Io=null,Il=-1,Pl=0;function $e(){return(K&6)!==0?ye():Il!==-1?Il:Il=ye()}function Kt(e){return(e.mode&1)===0?1:(K&2)!==0&&ze!==0?ze&-ze:ld.transition!==null?(Pl===0&&(Pl=zs()),Pl):(e=te,e!==0||(e=window.event,e=e===void 0?16:Ws(e.type)),e)}function gt(e,t,n,r){if(50<Cr)throw Cr=0,Io=null,Error(s(185));Yn(e,n,r),((K&2)===0||e!==Pe)&&(e===Pe&&((K&2)===0&&(Cl|=n),Te===4&&Yt(e,ze)),Xe(e,r),n===1&&K===0&&(t.mode&1)===0&&(An=ye()+500,rl&&Ht()))}function Xe(e,t){var n=e.callbackNode;rf(e,t);var r=Ur(e,e===Pe?ze:0);if(r===0)n!==null&&Ns(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ns(n),t===1)e.tag===0?rd(Wa.bind(null,e)):Lu(Wa.bind(null,e)),bf(function(){(K&6)===0&&Ht()}),n=null;else{switch(Ms(r)){case 1:n=oi;break;case 4:n=Os;break;case 16:n=Mr;break;case 536870912:n=Rs;break;default:n=Mr}n=Za(n,Ha.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ha(e,t){if(Il=-1,Pl=0,(K&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Fn()&&e.callbackNode!==n)return null;var r=Ur(e,e===Pe?ze:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Nl(e,r);else{t=r;var l=K;K|=2;var i=Va();(Pe!==e||ze!==t)&&(Ot=null,An=ye()+500,un(e,t));do try{Cd();break}catch(a){$a(e,a)}while(!0);Qi(),xl.current=i,K=l,ke!==null?t=0:(Pe=null,ze=0,t=Te)}if(t!==0){if(t===2&&(l=si(e),l!==0&&(r=l,t=Po(e,l))),t===1)throw n=Er,un(e,0),Yt(e,r),Xe(e,ye()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!Ed(l)&&(t=Nl(e,r),t===2&&(i=si(e),i!==0&&(r=i,t=Po(e,i))),t===1))throw n=Er,un(e,0),Yt(e,r),Xe(e,ye()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:an(e,Ye,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=_o+500-ye(),10<t)){if(Ur(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){$e(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Mi(an.bind(null,e,Ye,Ot),t);break}an(e,Ye,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-ct(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kd(r/1960))-r,10<r){e.timeoutHandle=Mi(an.bind(null,e,Ye,Ot),r);break}an(e,Ye,Ot);break;case 5:an(e,Ye,Ot);break;default:throw Error(s(329))}}}return Xe(e,ye()),e.callbackNode===n?Ha.bind(null,e):null}function Po(e,t){var n=xr;return e.current.memoizedState.isDehydrated&&(un(e,t).flags|=256),e=Nl(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&No(t)),e}function No(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function Ed(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!ft(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yt(e,t){for(t&=~To,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ct(t),r=1<<n;e[n]=-1,t&=~r}}function Wa(e){if((K&6)!==0)throw Error(s(327));Fn();var t=Ur(e,0);if((t&1)===0)return Xe(e,ye()),null;var n=Nl(e,t);if(e.tag!==0&&n===2){var r=si(e);r!==0&&(t=r,n=Po(e,r))}if(n===1)throw n=Er,un(e,0),Yt(e,t),Xe(e,ye()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ye,Ot),Xe(e,ye()),null}function Oo(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(An=ye()+500,rl&&Ht())}}function sn(e){Gt!==null&&Gt.tag===0&&(K&6)===0&&Fn();var t=K;K|=1;var n=st.transition,r=te;try{if(st.transition=null,te=1,e)return e()}finally{te=r,st.transition=n,K=t,(K&6)===0&&Ht()}}function Ro(){et=Mn.current,se(Mn)}function un(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Jf(n)),ke!==null)for(n=ke.return;n!==null;){var r=n;switch(Bi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:On(),se(Qe),se(Fe),bi();break;case 5:qi(r);break;case 4:On();break;case 13:se(pe);break;case 19:se(pe);break;case 10:Gi(r.type._context);break;case 22:case 23:Ro()}n=n.return}if(Pe=e,ke=e=Xt(e.current,null),ze=et=t,Te=0,Er=null,To=Cl=on=0,Ye=xr=null,nn!==null){for(t=0;t<nn.length;t++)if(n=nn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}nn=null}return e}function $a(e,t){do{var n=ke;try{if(Qi(),pl.current=yl,hl){for(var r=he.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}hl=!1}if(ln=0,Ie=Ce=he=null,gr=!1,yr=0,Co.current=null,n===null||n.return===null){Te=1,Er=t,ke=null;break}e:{var i=e,o=n.return,a=n,c=t;if(t=ze,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var g=c,k=a,E=k.tag;if((k.mode&1)===0&&(E===0||E===11||E===15)){var w=k.alternate;w?(k.updateQueue=w.updateQueue,k.memoizedState=w.memoizedState,k.lanes=w.lanes):(k.updateQueue=null,k.memoizedState=null)}var _=ha(o);if(_!==null){_.flags&=-257,ma(_,o,a,i,t),_.mode&1&&pa(i,g,t),t=_,c=g;var N=t.updateQueue;if(N===null){var O=new Set;O.add(c),t.updateQueue=O}else N.add(c);break e}else{if((t&1)===0){pa(i,g,t),zo();break e}c=Error(s(426))}}else if(de&&a.mode&1){var ve=ha(o);if(ve!==null){(ve.flags&65536)===0&&(ve.flags|=256),ma(ve,o,a,i,t),$i(Rn(c,a));break e}}i=c=Rn(c,a),Te!==4&&(Te=2),xr===null?xr=[i]:xr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=fa(i,c,t);Uu(i,p);break e;case 1:a=c;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Qt===null||!Qt.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=da(i,a,t);Uu(i,C);break e}}i=i.return}while(i!==null)}Ga(n)}catch(R){t=R,ke===n&&n!==null&&(ke=n=n.return);continue}break}while(!0)}function Va(){var e=xl.current;return xl.current=yl,e===null?yl:e}function zo(){(Te===0||Te===3||Te===2)&&(Te=4),Pe===null||(on&268435455)===0&&(Cl&268435455)===0||Yt(Pe,ze)}function Nl(e,t){var n=K;K|=2;var r=Va();(Pe!==e||ze!==t)&&(Ot=null,un(e,t));do try{xd();break}catch(l){$a(e,l)}while(!0);if(Qi(),K=n,xl.current=r,ke!==null)throw Error(s(261));return Pe=null,ze=0,Te}function xd(){for(;ke!==null;)Qa(ke)}function Cd(){for(;ke!==null&&!Yc();)Qa(ke)}function Qa(e){var t=Xa(e.alternate,e,et);e.memoizedProps=e.pendingProps,t===null?Ga(e):ke=t,Co.current=null}function Ga(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=gd(n,t,et),n!==null){ke=n;return}}else{if(n=yd(n,t),n!==null){n.flags&=32767,ke=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,ke=null;return}}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);Te===0&&(Te=5)}function an(e,t,n){var r=te,l=st.transition;try{st.transition=null,te=1,Td(e,t,n,r)}finally{st.transition=l,te=r}return null}function Td(e,t,n,r){do Fn();while(Gt!==null);if((K&6)!==0)throw Error(s(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(lf(e,i),e===Pe&&(ke=Pe=null,ze=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||_l||(_l=!0,Za(Mr,function(){return Fn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=st.transition,st.transition=null;var o=te;te=1;var a=K;K|=4,Co.current=null,wd(e,n),Fa(n,e),Qf(Ri),Hr=!!Oi,Ri=Oi=null,e.current=n,Sd(n),Xc(),K=a,te=o,st.transition=i}else e.current=n;if(_l&&(_l=!1,Gt=e,Ll=l),i=e.pendingLanes,i===0&&(Qt=null),Jc(n.stateNode),Xe(e,ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Tl)throw Tl=!1,e=Lo,Lo=null,e;return(Ll&1)!==0&&e.tag!==0&&Fn(),i=e.pendingLanes,(i&1)!==0?e===Io?Cr++:(Cr=0,Io=e):Cr=0,Ht(),null}function Fn(){if(Gt!==null){var e=Ms(Ll),t=st.transition,n=te;try{if(st.transition=null,te=16>e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,Ll=0,(K&6)!==0)throw Error(s(331));var l=K;for(K|=4,I=e.current;I!==null;){var i=I,o=i.child;if((I.flags&16)!==0){var a=i.deletions;if(a!==null){for(var c=0;c<a.length;c++){var g=a[c];for(I=g;I!==null;){var k=I;switch(k.tag){case 0:case 11:case 15:kr(8,k,i)}var E=k.child;if(E!==null)E.return=k,I=E;else for(;I!==null;){k=I;var w=k.sibling,_=k.return;if(Oa(k),k===g){I=null;break}if(w!==null){w.return=_,I=w;break}I=_}}}var N=i.alternate;if(N!==null){var O=N.child;if(O!==null){N.child=null;do{var ve=O.sibling;O.sibling=null,O=ve}while(O!==null)}}I=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,I=o;else e:for(;I!==null;){if(i=I,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:kr(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,I=p;break e}I=i.return}}var f=e.current;for(I=f;I!==null;){o=I;var h=o.child;if((o.subtreeFlags&2064)!==0&&h!==null)h.return=o,I=h;else e:for(o=f;I!==null;){if(a=I,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:El(9,a)}}catch(R){ge(a,a.return,R)}if(a===o){I=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,I=C;break e}I=a.return}}if(K=l,Ht(),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(Ar,e)}catch{}r=!0}return r}finally{te=n,st.transition=t}}return!1}function Ka(e,t,n){t=Rn(n,t),t=fa(e,t,1),e=$t(e,t,1),t=$e(),e!==null&&(Yn(e,1,t),Xe(e,t))}function ge(e,t,n){if(e.tag===3)Ka(e,e,n);else for(;t!==null;){if(t.tag===3){Ka(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qt===null||!Qt.has(r))){e=Rn(n,e),e=da(t,e,1),t=$t(t,e,1),e=$e(),t!==null&&(Yn(t,1,e),Xe(t,e));break}}t=t.return}}function _d(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$e(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(ze&n)===n&&(Te===4||Te===3&&(ze&130023424)===ze&&500>ye()-_o?un(e,0):To|=n),Xe(e,t)}function Ya(e,t){t===0&&((e.mode&1)===0?t=1:(t=Dr,Dr<<=1,(Dr&130023424)===0&&(Dr=4194304)));var n=$e();e=It(e,t),e!==null&&(Yn(e,t,n),Xe(e,n))}function Ld(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ya(e,n)}function Id(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(s(314))}r!==null&&r.delete(t),Ya(e,n)}var Xa;Xa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ke=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ke=!1,md(e,t,n);Ke=(e.flags&131072)!==0}else Ke=!1,de&&(t.flags&1048576)!==0&&Iu(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sl(e,t),e=t.pendingProps;var l=Cn(t,Fe.current);Nn(t,n),l=no(null,t,r,e,l,n);var i=ro();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(r)?(i=!0,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Xi(t),l.updater=vl,t.stateNode=l,l._reactInternals=t,ao(t,r,e,n),t=ho(null,t,r,!0,i,n)):(t.tag=0,de&&i&&ji(t),We(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Sl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Nd(r),e=pt(r,e),l){case 0:t=po(null,t,r,e,n);break e;case 1:t=ka(null,t,r,e,n);break e;case 11:t=ga(null,t,r,e,n);break e;case 14:t=ya(null,t,r,pt(r.type,e),n);break e}throw Error(s(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:pt(r,l),po(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:pt(r,l),ka(e,t,r,l,n);case 3:e:{if(Ea(t),e===null)throw Error(s(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Du(e,t),fl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Rn(Error(s(423)),t),t=xa(e,t,r,n,l);break e}else if(r!==l){l=Rn(Error(s(424)),t),t=xa(e,t,r,n,l);break e}else for(be=Ut(t.stateNode.containerInfo.firstChild),Je=t,de=!0,dt=null,n=Au(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ln(),r===l){t=Nt(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return Bu(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,zi(r,l)?o=null:i!==null&&zi(r,i)&&(t.flags|=32),Sa(e,t),We(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return Ca(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=In(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:pt(r,l),ga(e,t,r,l,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,ie(ul,r._currentValue),r._currentValue=o,i!==null)if(ft(i.value,o)){if(i.children===l.children&&!Qe.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Pt(-1,n&-n),c.tag=2;var g=i.updateQueue;if(g!==null){g=g.shared;var k=g.pending;k===null?c.next=c:(c.next=k.next,k.next=c),g.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Ki(i.return,n,t),a.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(s(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ki(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}We(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Nn(t,n),l=it(l),r=r(l),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,l=pt(r,t.pendingProps),l=pt(r.type,l),ya(e,t,r,l,n);case 15:return va(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:pt(r,l),Sl(e,t),t.tag=1,Ge(r)?(e=!0,nl(t)):e=!1,Nn(t,n),aa(t,r,l),ao(t,r,l,n),ho(null,t,r,!0,e,n);case 19:return _a(e,t,n);case 22:return wa(e,t,n)}throw Error(s(156,t.tag))};function Za(e,t){return Ps(e,t)}function Pd(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ut(e,t,n,r){return new Pd(e,t,n,r)}function Mo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nd(e){if(typeof e=="function")return Mo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===nt)return 11;if(e===ce)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=ut(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Mo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Le:return cn(n.children,l,i,t);case re:o=8,l|=8;break;case Me:return e=ut(12,n,t,l|2),e.elementType=Me,e.lanes=i,e;case b:return e=ut(13,n,t,l),e.elementType=b,e.lanes=i,e;case ae:return e=ut(19,n,t,l),e.elementType=ae,e.lanes=i,e;case me:return Rl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case at:o=10;break e;case xt:o=9;break e;case nt:o=11;break e;case ce:o=14;break e;case Ae:o=16,r=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=ut(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function cn(e,t,n,r){return e=ut(7,e,r,t),e.lanes=n,e}function Rl(e,t,n,r){return e=ut(22,e,r,t),e.elementType=me,e.lanes=n,e.stateNode={isHidden:!1},e}function Ao(e,t,n){return e=ut(6,e,null,t),e.lanes=n,e}function Fo(e,t,n){return t=ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Od(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ui(0),this.expirationTimes=ui(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ui(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Do(e,t,n,r,l,i,o,a,c){return e=new Od(e,t,n,a,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ut(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xi(i),e}function Rd(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xe,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function qa(e){if(!e)return Bt;e=e._reactInternals;e:{if(qt(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ge(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var n=e.type;if(Ge(n))return Tu(e,n,t)}return t}function Ja(e,t,n,r,l,i,o,a,c){return e=Do(n,r,!0,e,l,i,o,a,c),e.context=qa(null),n=e.current,r=$e(),l=Kt(n),i=Pt(r,l),i.callback=t??null,$t(n,i,l),e.current.lanes=l,Yn(e,l,r),Xe(e,r),e}function zl(e,t,n,r){var l=t.current,i=$e(),o=Kt(l);return n=qa(n),t.context===null?t.context=n:t.pendingContext=n,t=Pt(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=$t(l,t,o),e!==null&&(gt(e,l,o,i),cl(e,l,o)),o}function Ml(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function ba(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Uo(e,t){ba(e,t),(e=e.alternate)&&ba(e,t)}function zd(){return null}var ec=typeof reportError=="function"?reportError:function(e){console.error(e)};function jo(e){this._internalRoot=e}Al.prototype.render=jo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));zl(e,t,null,null)},Al.prototype.unmount=jo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){zl(null,e,null,null)}),t[Ct]=null}};function Al(e){this._internalRoot=e}Al.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ds();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&t!==0&&t<At[n].priority;n++);At.splice(n,0,e),n===0&&Bs(e)}};function Bo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tc(){}function Md(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var g=Ml(o);i.call(g)}}var o=Ja(t,r,e,0,null,!1,!1,"",tc);return e._reactRootContainer=o,e[Ct]=o.current,ur(e.nodeType===8?e.parentNode:e),sn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var g=Ml(c);a.call(g)}}var c=Do(e,0,!1,null,null,!1,!1,"",tc);return e._reactRootContainer=c,e[Ct]=c.current,ur(e.nodeType===8?e.parentNode:e),sn(function(){zl(t,c,n,r)}),c}function Dl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var a=l;l=function(){var c=Ml(o);a.call(c)}}zl(t,o,e,l)}else o=Md(n,t,e,l,r);return Ml(o)}As=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Kn(t.pendingLanes);n!==0&&(ai(t,n|1),Xe(t,ye()),(K&6)===0&&(An=ye()+500,Ht()))}break;case 13:sn(function(){var r=It(e,1);if(r!==null){var l=$e();gt(r,e,1,l)}}),Uo(e,1)}},ci=function(e){if(e.tag===13){var t=It(e,134217728);if(t!==null){var n=$e();gt(t,e,134217728,n)}Uo(e,134217728)}},Fs=function(e){if(e.tag===13){var t=Kt(e),n=It(e,t);if(n!==null){var r=$e();gt(n,e,t,r)}Uo(e,t)}},Ds=function(){return te},Us=function(e,t){var n=te;try{return te=e,t()}finally{te=n}},ni=function(e,t,n){switch(t){case"input":if(Yl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=el(r);if(!l)throw Error(s(90));us(r),Yl(r,l)}}}break;case"textarea":ps(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}},Es=Oo,xs=sn;var Ad={usingClientEntryPoint:!1,Events:[fr,En,el,Ss,ks,Oo]},Tr={findFiberByHostInstance:Jt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Fd={bundleType:Tr.bundleType,version:Tr.version,rendererPackageName:Tr.rendererPackageName,rendererConfig:Tr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Se.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ls(e),e===null?null:e.stateNode},findFiberByHostInstance:Tr.findFiberByHostInstance||zd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ul=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ul.isDisabled&&Ul.supportsFiber)try{Ar=Ul.inject(Fd),yt=Ul}catch{}}return Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ad,Ve.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bo(t))throw Error(s(200));return Rd(e,t,null,n)},Ve.createRoot=function(e,t){if(!Bo(e))throw Error(s(299));var n=!1,r="",l=ec;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Do(e,1,!1,null,null,n,!1,r,l),e[Ct]=t.current,ur(e.nodeType===8?e.parentNode:e),new jo(t)},Ve.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Ls(t),e=e===null?null:e.stateNode,e},Ve.flushSync=function(e){return sn(e)},Ve.hydrate=function(e,t,n){if(!Fl(t))throw Error(s(200));return Dl(null,e,t,!0,n)},Ve.hydrateRoot=function(e,t,n){if(!Bo(e))throw Error(s(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=ec;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Ja(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,ur(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Al(t)},Ve.render=function(e,t,n){if(!Fl(t))throw Error(s(200));return Dl(null,e,t,!1,n)},Ve.unmountComponentAtNode=function(e){if(!Fl(e))throw Error(s(40));return e._reactRootContainer?(sn(function(){Dl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},Ve.unstable_batchedUpdates=Oo,Ve.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fl(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Dl(e,t,n,!1,r)},Ve.version="18.3.1-next-f1338f8080-20240426",Ve}var Go;function sc(){if(Go)return Hl.exports;Go=1;function v(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v)}catch(u){console.error(u)}}return v(),Hl.exports=oc(),Hl.exports}var Ko;function uc(){if(Ko)return _r;Ko=1;var v=sc();return _r.createRoot=v.createRoot,_r.hydrateRoot=v.hydrateRoot,_r}var Yo=uc(),Vl={exports:{}},Un={};var Xo;function ac(){if(Xo)return Un;Xo=1;var v=Bl(),u=Symbol.for("react.element"),s=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,y=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x={key:!0,ref:!0,__self:!0,__source:!0};function L(z,M,B){var Q,D={},$=null,q=null;B!==void 0&&($=""+B),M.key!==void 0&&($=""+M.key),M.ref!==void 0&&(q=M.ref);for(Q in M)m.call(M,Q)&&!x.hasOwnProperty(Q)&&(D[Q]=M[Q]);if(z&&z.defaultProps)for(Q in M=z.defaultProps,M)D[Q]===void 0&&(D[Q]=M[Q]);return{$$typeof:u,type:z,key:$,ref:q,props:D,_owner:y.current}}return Un.Fragment=s,Un.jsx=L,Un.jsxs=L,Un}var Zo;function cc(){return Zo||(Zo=1,Vl.exports=ac()),Vl.exports}var _e=cc();const fc='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',dc="--color-brand-secondary",qo="255 130 0",pc=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,Ql=v=>{const u=v.trim(),s=u.split(/\s+/).map(Number);if(pc.test(u)&&s.every(L=>L<=255))return[s[0],s[1],s[2]];const[m,y,x]=qo.split(" ").map(Number);return[m,y,x]},Jo=([v,u,s])=>{const[m,y,x]=[v,u,s].map(L=>{const z=L/255;return z<=.03928?z/12.92:((z+.055)/1.055)**2.4});return .2126*m+.7152*y+.0722*x},hc=Jo([26,26,26]),mc=v=>{const u=Jo(v),s=(1+.05)/(u+.05);return(u+.05)/(hc+.05)>=s?"#1a1a1a":"#ffffff"},gc={light:{card:"var(--color-system-chrome, #ffffff)",border:"var(--color-system-regular, rgba(120, 120, 128, 0.16))",title:"var(--color-fg-primary, #000000)",sub:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))",dismiss:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))"},dark:{card:"var(--color-system-chrome-dark, #2c2c2e)",border:"var(--color-system-regular-dark, rgba(120, 120, 128, 0.32))",title:"var(--color-fg-primary-dark, #ffffff)",sub:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))",dismiss:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))"}},yc="(max-width: 720px)",bo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(yc):null;function vc(){return _e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[_e.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),_e.jsx("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function wc({zIndex:v,theme:u,brandColor:s,onUpdate:m,onDismiss:y}){const[x,L]=ue.useState(!1),[z,M]=ue.useState(()=>bo()?.matches??!1),B=ue.useRef(null),[Q,D]=ue.useState(()=>Ql(qo));ue.useEffect(()=>{const re=requestAnimationFrame(()=>L(!0));return()=>cancelAnimationFrame(re)},[]),ue.useEffect(()=>{if(s!=null){D(Ql(s));return}if(!B.current)return;const re=getComputedStyle(B.current).getPropertyValue(dc);D(Ql(re))},[s]);const $=ue.useRef(!1);ue.useEffect(()=>{if(!x)return;const re=Me=>{Me.key!=="Escape"||Me.defaultPrevented||$.current||($.current=!0,y())};return window.addEventListener("keydown",re),()=>window.removeEventListener("keydown",re)},[x,y]),ue.useEffect(()=>{const re=bo();if(!re)return;const Me=()=>M(re.matches);return re.addEventListener("change",Me),()=>re.removeEventListener("change",Me)},[]);const q=gc[u],[ne,J,G]=Q,Be=`rgb(${ne}, ${J}, ${G})`,He=mc(Q),Oe={position:"fixed",top:"16px",left:"50%",width:z?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:v,opacity:x?1:0,visibility:x?"visible":"hidden",pointerEvents:x?"auto":"none",transform:x?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},Se={display:"flex",alignItems:"center",gap:z?"10px":"14px",padding:z?"12px":"14px 14px 14px 16px",background:q.card,color:q.title,borderRadius:"14px",border:`1px solid ${q.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:fc},Ee={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${ne}, ${J}, ${G}, 0.12)`,color:Be,borderRadius:"10px",flexShrink:0},xe={flexShrink:0,padding:z?"8px 12px":"12px 18px",background:Be,color:He,border:"none",borderRadius:"16px",fontWeight:700,fontSize:z?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},Le={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:q.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return _e.jsx("div",{ref:B,role:"status","aria-live":"polite",style:Oe,children:_e.jsxs("div",{style:Se,children:[_e.jsx("div",{style:Ee,children:_e.jsx(vc,{})}),_e.jsxs("div",{style:{flex:1,minWidth:0},children:[_e.jsx("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),_e.jsx("div",{style:{fontSize:"12.5px",color:q.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),_e.jsx("button",{type:"button",style:xe,onClick:m,children:"Update"}),_e.jsx("button",{type:"button","aria-label":"Dismiss",style:Le,onClick:y,children:"✕"})]})})}const Sc="payment *; fullscreen 'src'; autoplay 'src'",kc="/search",es="https://apollos.com";function ts(v){return new URL(v||"/","http://embed.invalid").pathname}function Ec(v){return new URL(v.baseUrl||es).origin}function xc(v,u){const s=v.baseUrl||es,m=u==="/"?"":u,y=new URL(`${s}/${v.slug}${m}`);y.searchParams.set("embedMode","modal");const x=ts(v.searchPath??kc);return v.feedId&&ts(u)===x&&y.searchParams.set("feedId",v.feedId),y.toString()}const Cc=360,Tc=24;function _c(v,u,s){return v&&!u&&s!=null&&s>0}function Lc(v){return Math.max(Cc,v+Tc)}const jn={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},Et={EMBED_READY:"APOLLOS_EMBED_READY",EMBED_UPDATE:"APOLLOS_EMBED_UPDATE",NAVIGATION:"APOLLOS_NAVIGATION",REQUEST_CLOSE:"APOLLOS_REQUEST_CLOSE",REQUEST_FULLSCREEN:"APOLLOS_REQUEST_FULLSCREEN",OPEN_EXTERNAL:"APOLLOS_OPEN_EXTERNAL",REQUEST_NAVIGATION:"APOLLOS_REQUEST_NAVIGATION",HEIGHT_CHANGE:"APOLLOS_HEIGHT_CHANGE",MODAL_OPTIONS:"APOLLOS_MODAL_OPTIONS"},Lr={SHOW_MIGRATION_TOAST:"apollos:showMigrationToast",MIGRATION_TOAST_SHOWN:"apollos:migrationToastShown",MIGRATION_TOAST_TAPPED:"apollos:migrationToastTapped",MIGRATION_TOAST_DISMISSED:"apollos:migrationToastDismissed"};function Bn(v,u,s){v.contentWindow&&v.contentWindow.postMessage(u,s)}function Ic(v,u){if(v.origin!==u)return!1;const s=v.data;return!s||typeof s!="object"||typeof s.type!="string"?!1:Object.values(Et).includes(s.type)}const ns=768;function Pc(v){if(!v||typeof v!="object"||Array.isArray(v))return!1;const u=v;return(u.size===void 0||u.size==="default"||u.size==="medium"||u.size==="large"||u.size==="small")&&(u.defaultFullscreen===void 0||typeof u.defaultFullscreen=="boolean")&&(u.fitContent===void 0||typeof u.fitContent=="boolean")}const Nc=({config:v,state:u,onClose:s,onToggleFullscreen:m,onApplyModalOptions:y})=>{const[x,L]=Dn.useState(!0),[z,M]=Dn.useState(null),[B,Q]=Dn.useState(()=>typeof window<"u"&&window.innerWidth>=ns),D=ue.useRef(null),$=ue.useRef(u);ue.useEffect(()=>{$.current=u},[u]);const q=xc(v,u.currentPath),ne=Ec(v),J=u.modalSize==="medium",G=u.modalSize==="large",Be=u.modalSize==="small",He=_c(u.modalFitContent,u.isFullscreen,z),Oe=ue.useCallback(b=>{b.key==="Escape"&&u.isOpen&&(b.preventDefault(),s())},[u.isOpen,s]);ue.useEffect(()=>(document.addEventListener("keydown",Oe),()=>document.removeEventListener("keydown",Oe)),[Oe]),ue.useEffect(()=>{if(!u.isOpen)return;const b=[document.documentElement,document.body],ae=b.map(ce=>ce.style.overflow);return b.forEach(ce=>{ce.style.overflow="hidden"}),()=>{b.forEach((ce,Ae)=>{ce.style.overflow=ae[Ae]})}},[u.isOpen]),ue.useEffect(()=>{function b(){Q(window.innerWidth>=ns)}return window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[]);const Se=b=>{b.target===b.currentTarget&&s()},Ee=ue.useRef(!1);ue.useEffect(()=>{function b(ae){if(Ic(ae,ne)&&ae.source===D.current?.contentWindow){if(ae.data.type===Et.EMBED_READY&&(L(!1),D.current)){const ce=$.current;Bn(D.current,{type:jn.EMBED_INIT,payload:{theme:ce.resolvedTheme,showExpandButton:B,isFullscreen:ce.isFullscreen,mode:"modal"}},ne),Ee.current=!0}if(ae.data.type===Et.REQUEST_CLOSE&&s(),ae.data.type===Et.REQUEST_FULLSCREEN&&m(),ae.data.type===Et.MODAL_OPTIONS&&Pc(ae.data.payload)&&y(ae.data.payload),ae.data.type===Et.HEIGHT_CHANGE){const ce=ae.data.payload;ce&&typeof ce.height=="number"&&ce.height>0&&M(ce.height)}}}return window.addEventListener("message",b),()=>window.removeEventListener("message",b)},[ne,B,s,m,y]),ue.useEffect(()=>{Ee.current&&D.current&&Bn(D.current,{type:jn.THEME_CHANGED,payload:{theme:u.resolvedTheme}},ne)},[u.resolvedTheme,ne]),ue.useEffect(()=>{Ee.current&&D.current&&Bn(D.current,{type:jn.FULLSCREEN_CHANGED,payload:{isFullscreen:u.isFullscreen,showExpandButton:B}},ne)},[u.isFullscreen,B,ne]),ue.useEffect(()=>{L(!0),M(null),Ee.current=!1},[u.currentPath]),ue.useEffect(()=>{u.modalFitContent||M(null)},[u.modalFitContent]),ue.useEffect(()=>{L(!0),u.isOpen||(M(null),Ee.current=!1)},[u.isOpen]);const xe=["apls-fixed","apls-inset-0","apls-w-screen","apls-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","apls-flex","apls-items-center","apls-justify-center","apls-bg-black/50",u.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),Le=["apls-relative","apls-flex","apls-flex-col","apls-overflow-hidden","apls-shadow-2xl","apls-backdrop-blur-md","apls-bg-system-screen dark:apls-bg-system-screen-dark","apls-transition-all","apls-duration-300","apls-ease-out",u.isOpen?"apls-scale-100 apls-opacity-100":"apls-scale-95 apls-opacity-0","apls-w-screen","apls-h-screen","apls-max-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","supports-[max-height:100dvh]:apls-max-h-[100dvh]","apls-rounded-none",...u.isFullscreen?["md:apls-w-screen","md:apls-h-screen","md:apls-max-h-screen","md:supports-[width:100dvw]:apls-w-[100dvw]","md:supports-[height:100dvh]:apls-h-[100dvh]","md:supports-[max-height:100dvh]:apls-max-h-[100dvh]"]:He?["md:apls-w-[calc(100dvw-64px)]",G?"md:apls-max-w-[1120px]":Be?"md:apls-max-w-[544px]":J?"md:apls-max-w-[640px]":"md:apls-max-w-[600px]","md:apls-h-auto","md:apls-min-h-[min(360px,calc(100dvh-64px))]","md:apls-max-h-[min(960px,calc(100dvh-64px))]","md:apls-rounded-3xl"]:G?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[1120px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:J?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[640px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:Be?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[544px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:["md:apls-w-[600px]","md:apls-h-[900px]","md:apls-max-h-[95vh]","md:apls-rounded-3xl"]].join(" "),re=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),Me=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",...x?["apls-hidden"]:[]].join(" "),at=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),xt=["apls-w-8","apls-h-8","apls-border-[3px]","apls-border-solid","apls-border-system-regular dark:apls-border-system-regular-dark","apls-border-t-fg-tertiary dark:apls-border-t-fg-tertiary-dark","apls-rounded-full","apls-animate-spin"].join(" "),nt=He&&B&&z!=null?{height:`${Lc(z)}px`}:void 0;return _e.jsx("div",{className:xe,onClick:Se,style:{zIndex:v.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:_e.jsx("div",{className:Le,style:nt,children:_e.jsxs("div",{className:re,children:[x?_e.jsx("div",{className:at,children:_e.jsx("div",{className:xt})}):null,u.isOpen?_e.jsx("iframe",{ref:D,className:Me,src:q,title:"Apollos",allow:Sc,allowFullScreen:!0,allowTransparency:!0}):null]})})})};class Ir{iframe=null;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(u,s,m){if(this.iframe)return;const y=new URL(`${s.replace(/\/+$/,"")}/${u}/_embed`);m&&y.searchParams.set("personOriginId",m);const x=document.createElement("iframe");x.src=y.toString(),x.width="1",x.height="1",x.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",x.setAttribute("sandbox","allow-scripts allow-same-origin"),x.setAttribute("aria-hidden","true"),x.setAttribute("tabindex","-1"),x.title="Apollos migration probe",x.setAttribute(Ir.PROBE_ATTRIBUTE,"true"),document.body.appendChild(x),this.iframe=x}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(u){const s=this.iframe?.contentWindow;!s||!this.iframe||s.postMessage({type:u},new URL(this.iframe.src).origin)}notifyShown(){this.postToProbe(Lr.MIGRATION_TOAST_SHOWN)}notifyTapped(){this.postToProbe(Lr.MIGRATION_TOAST_TAPPED)}notifyDismissed(){this.postToProbe(Lr.MIGRATION_TOAST_DISMISSED)}destroy(){this.iframe?.remove(),this.iframe=null}}function rs(v){if(!v)return null;if(/^[A-Z]\w+-/.test(v)){const[s,m]=v.split(/-(.*)/s);if(s&&m)return{type:s,randomId:m}}else{const s=v.split("-").at(-1);if(!s)return null;try{const m=atob(s),[y,x]=m.split(/-(.*)/s);if(y&&x)return{type:y,randomId:x}}catch{return null}}return null}function ls(v){return v.includes("ContentItem")?"/c":v==="Event"?"/e":v==="FeatureFeed"?"/f":v==="Livestream"?"/live":"/c"}const Oc=/([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$/i,Rc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;function is(v){return Rc.test(v.trim())}function os(v){const u=v.trim();return u?Oc.exec(u)?.[1]??null:null}const zc=["payment","fullscreen","autoplay"],Mc={payment:"*",fullscreen:"'src'",autoplay:"'src'"};function Ac(v){const u=(v??"").split(";").map(y=>y.trim()).filter(Boolean),s=new Set;for(const y of u){const x=y.split(/\s+/)[0]?.toLowerCase();x&&s.add(x)}const m=[...u];for(const y of zc)s.has(y)||m.push(`${y} ${Mc[y]}`);return m.join("; ")}function Fc(v){let u=!1,s=!1;const m=Ac(v.getAttribute("allow"));return v.getAttribute("allow")!==m&&(v.setAttribute("allow",m),u=!0),v.hasAttribute("allowfullscreen")||(v.setAttribute("allowfullscreen",""),s=!0),{allowChanged:u,allowfullscreenChanged:s}}const Dc={twoColumnsFrom:429,threeColumnsFrom:801,headingHeight:32,headingWidth:"40%",imageTop:69,columnGap:24,sideInset:24,sideInsetWide:32,wideFrom:1024,imageRadius:12,lines:[{height:20,width:"80%",top:16},{height:14,width:"60%",top:10}],belowImages:210},ss="Ask anything",Uc=580,Gl="/search";function jc(v){try{return decodeURIComponent(v)}catch{return v}}const Bc={showAskBar:!1,askBarLabel:ss,searchPath:Gl,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"light",wrapperStyle:"card"};class tt{config;state;container=null;root=null;askBars=[];askBarKeyListener=null;askBarHosts=[];mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Ir;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;domContentLoadedListener=null;destroyed=!1;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonIframeDisplay=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;collapsedMinHeights=new WeakMap;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_MIN_HEIGHT_PX=200;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(u){if(this.config={...Bc,...u},this.state={isOpen:!1,isFullscreen:!1,modalSize:"default",modalFitContent:!1,currentPath:this.config.defaultPath||"/",canGoBack:!1,resolvedTheme:this.resolveTheme()},!this.config.slug)throw new Error("ApollosEmbed: slug is required in config");this.init()}resolveTheme(){const{themeMode:u}=this.config;return u==="light"?"light":u==="dark"?"dark":this.resolveSystemTheme()}resolveSystemTheme(){return typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}readIframeThemeAttribute(u){const s=u.getAttribute("data-apollos-theme");return s==="light"||s==="dark"||s==="auto"?s:null}getIframeTheme(u){const s=this.readIframeThemeAttribute(u);return s==="light"||s==="dark"?s:s==="auto"?this.resolveSystemTheme():this.state.resolvedTheme}setupThemeListener(){this.cleanupThemeListener(),!(typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=u=>{this.config.themeMode==="auto"&&(this.state.resolvedTheme=u.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),this.askBars.length&&(this.removeAskBar(),this.createAskBar())),this.sendThemeToInlineIframes()},this.mediaQuery.addEventListener("change",this.mediaQueryListener))}cleanupThemeListener(){this.mediaQuery&&this.mediaQueryListener&&this.mediaQuery.removeEventListener("change",this.mediaQueryListener),this.mediaQuery=null,this.mediaQueryListener=null}readPersonOriginId(){if(this.config.personOriginId)return this.config.personOriginId;for(const u of this.inlineIframes.keys()){const s=u.getAttribute("personoriginid")?.trim();if(s)return s}}watchForPersonOriginId(u){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(s=>{for(const m of s){const y=m.target.getAttribute("personoriginid")?.trim();if(y){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,u,y);return}}});for(const s of this.inlineIframes.keys())this.personOriginIdObserver.observe(s,{attributes:!0,attributeFilter:["personoriginid"]})}}cleanupPersonOriginIdObserver(){this.personOriginIdObserver?.disconnect(),this.personOriginIdObserver=null}applyThemeClass(){this.container&&(this.state.resolvedTheme==="dark"?this.container.classList.add("apls-dark"):this.container.classList.remove("apls-dark"))}init(){document.readyState==="loading"?(this.domContentLoadedListener=()=>{this.domContentLoadedListener=null,this.setup()},document.addEventListener("DOMContentLoaded",this.domContentLoadedListener)):this.setup()}setup(){if(!this.destroyed){if(this.applyLegacySearchGlobals(),this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const u=this.config.baseUrl||"https://apollos.com",s=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,u,s),s||this.watchForPersonOriginId(u)}this.config.showAskBar&&this.createAskBar(),this.config.autoOpen&&this.open(),this.checkDeepLinkParams()}}createContainer(){this.container=document.createElement("div"),this.container.id="apollos-embed-root",this.container.classList.add("apollos-embed"),document.body.appendChild(this.container),this.applyThemeClass(),this.root=Yo.createRoot(this.container),this.render()}buildAskBarButton(){const u=this.state.resolvedTheme==="dark",s=this.config.askBarLabel??ss,m=document.createElement("button");m.type="button",m.setAttribute("aria-label",s),m.className="apollos-ask-bar";const y=document.createElement("span");Object.assign(y.style,{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px",flex:"0 0 auto"}),y.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>';const x=document.createElement("span");Object.assign(x.style,{flex:"1 1 auto",textAlign:"left",whiteSpace:"nowrap"}),x.textContent=s;const L=document.createElement("kbd");return Object.assign(L.style,{font:"inherit",fontSize:"11px",lineHeight:"1",padding:"3px 6px",borderRadius:"6px",border:`1px solid ${u?"rgba(255,255,255,0.18)":"rgba(0,0,0,0.12)"}`,color:u?"rgba(255,255,255,0.6)":"rgba(0,0,0,0.45)",background:"transparent"}),L.textContent="⌘K",m.appendChild(y),m.appendChild(x),m.appendChild(L),Object.assign(m.style,{all:"unset",boxSizing:"border-box",display:"inline-flex",alignItems:"center",gap:"10px",cursor:"pointer",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontSize:"15px",fontWeight:"500",minWidth:"240px",padding:"11px 14px",borderRadius:"9999px",border:u?"1px solid rgba(255,255,255,0.14)":"1px solid rgba(0,0,0,0.08)",background:u?"#1c1c1e":"#ffffff",color:u?"#f2f2f7":"#1c1c1e",boxShadow:u?"0 6px 24px rgba(0,0,0,0.5)":"0 6px 24px rgba(0,0,0,0.14)"}),m.addEventListener("click",()=>{this.open(this.config.searchPath??Gl)}),{button:m,labelEl:x}}createAskBar(){const u=this.askBarHosts.length?this.askBarHosts:this.inlineAskBarTargetFromConfig();if(u.length)u.forEach(s=>{const{button:m,labelEl:y}=this.buildAskBarButton();Object.assign(m.style,{display:"flex",width:"100%",minWidth:"0",maxWidth:`${Uc}px`,marginInline:"auto",position:"relative",zIndex:"1"}),Object.assign(y.style,{minWidth:"0",overflow:"hidden",textOverflow:"ellipsis"}),s.appendChild(m),this.askBars.push(m)});else{const{button:s}=this.buildAskBarButton(),m=document.createElement("div");Object.assign(m.style,{position:"fixed",zIndex:String((this.config.zIndex??999999)-1),...this.askBarPlacementStyles()}),m.appendChild(s),document.body.appendChild(m),this.askBars.push(m)}this.askBarKeyListener=s=>{if((s.metaKey||s.ctrlKey)&&s.key.toLowerCase()==="k"){if(tt.isEditableEventTarget(s))return;s.preventDefault(),this.open(this.config.searchPath??Gl)}},document.addEventListener("keydown",this.askBarKeyListener)}inlineAskBarTargetFromConfig(){if(!this.config.askBarTarget)return[];const u=document.querySelector(this.config.askBarTarget);return u?[u]:[]}askBarPlacementStyles(){const u=`${this.config.offsetX??0}px`,s=`${this.config.offsetY??48}px`,m=`${Math.max(this.config.offsetX??0,16)}px`;switch(this.config.position){case"bottom-right":return{bottom:s,right:m};case"bottom-left":return{bottom:s,left:m};case"top-right":return{top:s,right:m};case"top-left":return{top:s,left:m};case"top-center":return{top:s,left:"50%",transform:"translateX(-50%)"};default:return{bottom:s,left:`calc(50% + ${u})`,transform:"translateX(-50%)"}}}static isEditableEventTarget(u){const s=y=>{if(!(y instanceof HTMLElement))return!1;const x=y.tagName;return x==="INPUT"||x==="TEXTAREA"||x==="SELECT"||y.isContentEditable},m=typeof u.composedPath=="function"?u.composedPath():[];return m.length?m.some(s):s(u.target)}removeAskBar(){this.askBarKeyListener&&(document.removeEventListener("keydown",this.askBarKeyListener),this.askBarKeyListener=null),this.askBars.forEach(u=>u.remove()),this.askBars=[]}render(){this.root&&this.root.render(Dn.createElement(Nc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:u=>this.applyModalOptions(u)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(u){this.state.modalSize=u.size??"default",this.state.modalFitContent=u.fitContent??!1,typeof u.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=u.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",u=>{const m=u.target.closest("a");if(m&&this.shouldInterceptLink(m)){u.preventDefault();const x=new URL(m.href).pathname.replace(`/${this.config.slug}`,"")||"/",L=this.getLinkFullscreenOption(m);this.open(x,L!==void 0?{fullscreen:L}:void 0)}})}shouldInterceptLink(u){if(u.hasAttribute("data-apollos-external"))return!1;const s=u.href,m=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${m.replace(/https?:\/\//,"")})/${this.config.slug}`).test(s)}getLinkFullscreenOption(u){if(!u.hasAttribute("data-apollos-fullscreen"))return;const s=u.getAttribute("data-apollos-fullscreen");return!(s==="false"||s==="0")}setupMessageListener(){const u=this.config.baseUrl||"https://apollos.com",s=new URL(u).origin;this.messageListener=m=>{if(m.origin!==s||!m.data||typeof m.data!="object")return;const{type:y,payload:x}=m.data;if(y===Et.EMBED_READY){const L=m.source;this.inlineIframes.forEach((z,M)=>{M.contentWindow===L&&(this.sendInlineIframeInit(M),this.inlineIframes.set(M,!0),this.scheduleInlineSkeletonFallback(M,tt.INLINE_READY_FALLBACK_MS))})}if(y===Et.REQUEST_NAVIGATION){const L=x;if(L?.path){if(/^https?:\/\//i.test(L.path)){window.location.assign(L.path);return}const z=this.config.navigationModalFullscreen===!0;this.open(L.path,{fullscreen:z})}}if(y===Et.HEIGHT_CHANGE){const L=x;if(L&&typeof L.height=="number"&&L.height>=0){const z=m.source;let M=null;if(this.inlineIframes.forEach((B,Q)=>{Q.contentWindow===z&&(M=Q)}),!M){const B=document.querySelectorAll("iframe");for(const Q of B)if(!this.container?.contains(Q)&&Q.contentWindow===z){M=Q;break}}M&&(this.scheduleHeightChange(M,L.height),this.inlineSkeletons.has(M)&&this.removeInlineSkeleton(M))}}if(y===Lr.SHOW_MIGRATION_TOAST){const L=x,z=this.embedIframe.getContentWindow();L&&typeof L.migratePath=="string"&&z!==null&&m.source===z&&this.renderMigrationToast(L)}},window.addEventListener("message",this.messageListener)}migrationToastDismissalKey(){return`apollos:migrationToastDismissed:${this.config.slug}`}wasMigrationToastDismissedThisVisit(){try{return window.sessionStorage.getItem(this.migrationToastDismissalKey())==="1"}catch{return!1}}markMigrationToastDismissedForVisit(){try{window.sessionStorage.setItem(this.migrationToastDismissalKey(),"1")}catch{}}renderMigrationToast(u){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=u;return}const s=document.createElement("div");s.classList.add("apollos-embed"),document.body.appendChild(s),this.migrationToastContainer=s,this.migrationToastRoot=Yo.createRoot(s),this.migrationToastPayload=u,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const u=this.pendingMigrationToastPayload;u&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(u))}renderMigrationToastContent(){const u=this.migrationToastPayload;!this.migrationToastRoot||!u||this.migrationToastRoot.render(Dn.createElement(wc,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof u.brandColor=="string"?u.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(u.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const u=this.migrationToastRoot,s=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!u||!s)&&setTimeout(()=>{u.unmount(),s.remove()},0)}scheduleHeightChange(u,s){const m=this.heightChangeTimeouts.get(u);m&&clearTimeout(m.timeoutId);const y=setTimeout(()=>{this.heightChangeTimeouts.delete(u),this.applyHeightWithTransition(u,s)},tt.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(u,{timeoutId:y,height:s})}applyHeightWithTransition(u,s){const m=u.style.height?parseFloat(u.style.height):NaN;if(s===0)this.collapsedMinHeights.has(u)||this.collapsedMinHeights.set(u,u.style.minHeight),u.style.minHeight="0px";else{const y=this.collapsedMinHeights.get(u);y!==void 0&&(u.style.minHeight=y,this.collapsedMinHeights.delete(u))}m!==s&&(u.style.transition=`height ${tt.HEIGHT_TRANSITION_MS}ms ease-out`,u.style.height=`${s}px`)}scheduleInlineSkeletonFallback(u,s){if(!this.inlineSkeletons.has(u))return;const m=this.inlineSkeletonFallbackTimeouts.get(u);m&&clearTimeout(m);const y=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(u),this.inlineSkeletons.has(u)&&(this.removeInlineSkeleton(u),this.inlineIframes.get(u)===!0&&(console.warn("[apollos-embed] inline feed revealed without a height report; retrying init",u.src),this.sendInlineIframeInit(u)))},s);this.inlineSkeletonFallbackTimeouts.set(u,y)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const u=this.config.baseUrl||"https://apollos.com",s=new URL(u).origin;this.ensureLegacyFeatureFeedIframes(u),document.querySelectorAll("iframe").forEach(y=>{if(this.isInlineEmbed(y,s)){const{allowChanged:x}=Fc(y),L=this.applyInlineIframeUrlParams(y);if(x&&!L){const M=y.src;y.src=M}const z=L||x;this.inlineIframes.set(y,!1),this.createInlineSkeleton(y),z||this.sendInlineIframeInit(y)}})}applyLegacySearchGlobals(){const u=[...document.querySelectorAll("[data-search-feed]")].map(y=>(y.getAttribute("data-search-feed")??"").trim()).find(y=>y.length>0);u&&(this.config.feedId=u);const s=[...document.querySelectorAll("[data-placeholder]")].map(y=>(y.getAttribute("data-placeholder")??"").trim()).find(y=>y.length>0);s&&(this.config.askBarLabel=s);const m=[...document.querySelectorAll(".apollos-widget, [clas='apollos-widget']")].filter(y=>tt.isLegacySearchLikeWidget(y));m.length&&(this.askBarHosts=m,this.config.showAskBar=!0)}static isLegacySearchLikeWidget(u){const s=(u.getAttribute("data-type")??"").trim();return!(s==="FeatureFeed"||s==="Ask"||s==="Donation")}ensureLegacyFeatureFeedIframes(u){const s=u.replace(/\/+$/,"");document.querySelectorAll(".apollos-widget, [clas='apollos-widget']").forEach(m=>{if(m.getAttribute("data-type")!=="FeatureFeed"||m.querySelector("iframe"))return;const y=os(m.getAttribute("data-feature-feed")??"");if(!y)return;const x=document.createElement("iframe");x.title="Feed",x.setAttribute("style",`width: 100%; min-height: ${tt.INLINE_MIN_HEIGHT_PX}px; border: none; overflow: hidden`);const L=m.getAttribute("data-apollos-theme");(L==="light"||L==="dark"||L==="auto")&&x.setAttribute("data-apollos-theme",L);const z=new URL(`${s}/${this.config.slug}/f/${y}`);z.searchParams.set("embedMode","inline"),z.searchParams.set("theme",this.getIframeTheme(x)),x.src=z.toString(),m.appendChild(x)})}isInlineEmbed(u,s){const m=u.src;if(!m||u.hasAttribute(Ir.PROBE_ATTRIBUTE))return!1;try{const y=new URL(m);return!(y.origin!==s||!y.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(u){const s=u.src;if(!s)return!1;try{const m=new URL(s);return m.searchParams.get("embedMode")==="inline"?!1:(m.searchParams.set("embedMode","inline"),m.searchParams.set("theme",this.getIframeTheme(u)),u.src=m.toString(),!0)}catch{return!1}}sendInlineIframeInit(u){const s=this.config.baseUrl||"https://apollos.com",m=new URL(s).origin;Bn(u,{type:jn.EMBED_INIT,payload:{theme:this.getIframeTheme(u),showExpandButton:!1,isFullscreen:!1,mode:"inline"}},m)}sendThemeToInlineIframes(){const u=this.config.baseUrl||"https://apollos.com",s=new URL(u).origin;this.inlineIframes.forEach((m,y)=>{if(!m)return;const x=this.readIframeThemeAttribute(y);x==="light"||x==="dark"||x!=="auto"&&this.config.themeMode!=="auto"||Bn(y,{type:jn.THEME_CHANGED,payload:{theme:this.getIframeTheme(y)}},s)})}checkDeepLinkParams(){const u=new URLSearchParams(window.location.search),s=this.getDeepLinkModalOptions(u),m=u.get("a");if(m){this.openWithFullscreenDefault(m,s),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const y=u.get("apollosId")?"apollosId":u.get("id")?"id":null,x=y?u.get(y):null;if(x&&y){const L=rs(x);if(L&&is(L.randomId)){const z=ls(L.type);this.openWithFullscreenDefault(`${z}/${x}`,{fullscreen:!0}),this.stripConsumedDeepLinkParams([y]);return}}this.checkPathDeepLink()}checkPathDeepLink(){const u=/^\/a([cf])\/([^/]+)\/?$/.exec(window.location.pathname);if(!u)return;const[,s,m]=u,y=jc(m).trim();if(!y)return;if(s==="f"){const L=os(y);if(!L)return;this.openWithFullscreenDefault(`/f/${L}`,{fullscreen:!0});return}const x=rs(y);!x||!is(x.randomId)||this.openWithFullscreenDefault(`${ls(x.type)}/${y}`,{fullscreen:!0})}stripConsumedDeepLinkParams(u){if(typeof window>"u"||!window.history?.replaceState)return;const s=new URL(window.location.href);let m=!1;for(const y of u)s.searchParams.has(y)&&(s.searchParams.delete(y),m=!0);m&&window.history.replaceState(window.history.state,"",s.pathname+s.search+s.hash)}open(u,s){this.openInternal(u,s,s?.fullscreen!==void 0)}openWithFullscreenDefault(u,s){const m=s?.fullscreen!==void 0;this.openInternal(u,{fullscreen:s?.fullscreen??!0,modalSize:s?.modalSize},m)}openInternal(u,s,m=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=m,u&&(this.state.currentPath=u),this.state.isOpen=!0,this.state.modalSize=s?.modalSize??"default",this.state.modalFitContent=!1,s?.fullscreen===!0?this.state.isFullscreen=!0:s?.fullscreen===!1?this.state.isFullscreen=!1:this.config.defaultFullscreen===!0&&(this.state.isFullscreen=!0),this.render(),this.config.onOpen?.()}getDeepLinkModalOptions(u){const s=this.parseModalSize(u.get("apollosModalSize")),m=this.parseBoolean(u.get("apollosFullscreen"));if(!(s===void 0&&m===void 0))return{modalSize:s,fullscreen:m}}parseModalSize(u){if(u==="default"||u==="medium"||u==="large"||u==="small")return u}parseBoolean(u){if(u==="true")return!0;if(u==="false")return!1}close(){this.hasExplicitFullscreenSelection=!1,this.state.isOpen=!1,this.state.isFullscreen=!1,this.state.modalSize="default",this.state.modalFitContent=!1,this.render(),this.config.onClose?.(),this.renderPendingMigrationToast()}toggle(){this.state.isOpen?this.close():this.open()}navigate(u){this.state.currentPath=u,this.render(),this.config.onNavigate?.(u)}isOpen(){return this.state.isOpen}destroy(){this.destroyed=!0,this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=null),this.removeAskBar(),this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:u})=>clearTimeout(u)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(u=>clearTimeout(u)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(u=>{this.removeInlineSkeleton(u)}),this.root&&(this.root.unmount(),this.root=null),this.container&&(this.container.remove(),this.container=null)}getState(){return{...this.state}}getConfig(){return{...this.config}}createInlineSkeleton(u){if(this.inlineSkeletons.has(u))return;const s=u.parentElement;if(!s)return;if(tt.ensureSkeletonStyles(),(this.config.wrapperStyle??"card")==="transparent"){const y=this.buildTransparentSkeleton(u,s);s.insertBefore(y,u),this.inlineSkeletonIframeDisplay.set(u,u.style.display),u.style.display="none",this.inlineSkeletons.set(u,y)}else{const y=this.buildCardSkeleton(),x=window.getComputedStyle(s);x.position==="static"&&(this.inlineSkeletonParentRestore.set(u,{parent:s,originalPosition:x.position}),s.style.position="relative"),s.appendChild(y),u.style.visibility="hidden",this.inlineSkeletons.set(u,y)}this.scheduleInlineSkeletonFallback(u,tt.INLINE_SKELETON_FALLBACK_MS)}buildCardSkeleton(){const u=document.createElement("div");u.setAttribute("aria-busy","true"),u.style.position="absolute",u.style.inset="0",u.style.display="flex",u.style.alignItems="stretch",u.style.justifyContent="flex-start",u.style.pointerEvents="none";const s=document.createElement("div");s.style.borderRadius="12px",s.style.padding="74px 24px 20px 24px",s.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",s.style.minHeight="360px",s.style.display="flex",s.style.flexDirection="column",s.style.justifyContent="flex-start",s.style.gap="0",s.style.width="100%",s.style.maxWidth="100%";const m=this.state.resolvedTheme==="dark";s.style.backgroundColor=m?"#111827":"#f3f4f6";const y=(M,B,Q)=>{const D=document.createElement("div");return D.style.height=`${M}px`,D.style.borderRadius=`${B}px`,D.style.backgroundColor=m?"#374151":"#ffffff",D.style.width="100%",D.style.marginBottom=`${Q}px`,D.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",D},x=y(68,8,12),L=y(56,8,24),z=document.createElement("div");return z.style.height="50px",z.style.width="100%",z.style.borderRadius="12px",z.style.backgroundColor=m?"#374151":"#ffffff",z.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",s.appendChild(x),s.appendChild(L),s.appendChild(z),u.appendChild(s),u}buildTransparentSkeleton(u,s){const m=Dc,y=s.getBoundingClientRect().width,x=this.getIframeTheme(u)==="dark",L=Number.isFinite(y)?y>=m.threeColumnsFrom?3:y>=m.twoColumnsFrom?2:1:1,z=y>=m.wideFrom?m.sideInsetWide:m.sideInset,M=m.lines.reduce(($,q)=>$+q.top+q.height,0),B=document.createElement("div");B.setAttribute("aria-busy","true"),B.style.width="100%",B.style.boxSizing="border-box",B.style.padding=`0 ${z}px ${m.belowImages-M}px`,B.style.pointerEvents="none";const Q=$=>{const q=document.createElement("div");return Object.assign(q.style,$,{backgroundColor:x?"#334155":"#e2e8f0",animation:"apls-inline-skeleton-pulse 1.4s ease-in-out infinite"}),q};B.appendChild(Q({height:`${m.headingHeight}px`,width:m.headingWidth,borderRadius:"8px"}));const D=document.createElement("div");D.style.display="grid",D.style.gridTemplateColumns=`repeat(${L}, minmax(0, 1fr))`,D.style.columnGap=`${m.columnGap}px`,D.style.marginTop=`${m.imageTop-m.headingHeight}px`;for(let $=0;$<L;$++){const q=document.createElement("div");q.appendChild(Q({aspectRatio:"16 / 9",borderRadius:`${m.imageRadius}px`}));for(const ne of m.lines)q.appendChild(Q({height:`${ne.height}px`,width:ne.width,borderRadius:"6px",marginTop:`${ne.top}px`}));D.appendChild(q)}return B.appendChild(D),B}removeInlineSkeleton(u){const s=this.inlineSkeletons.get(u);s&&s.parentElement&&s.parentElement.removeChild(s),this.inlineSkeletons.delete(u);const m=this.inlineSkeletonFallbackTimeouts.get(u);m&&(clearTimeout(m),this.inlineSkeletonFallbackTimeouts.delete(u)),this.inlineSkeletonIframeDisplay.has(u)?(u.style.display=this.inlineSkeletonIframeDisplay.get(u)??"",this.inlineSkeletonIframeDisplay.delete(u)):u.style.visibility="";const y=this.inlineSkeletonParentRestore.get(u);y&&(y.parent.style.position=y.originalPosition,this.inlineSkeletonParentRestore.delete(u))}static ensureSkeletonStyles(){if(tt.hasInjectedSkeletonStyles||typeof document>"u")return;const u=document.createElement("style");u.textContent=`
10
+ `+i.stack}return{value:e,source:t,stack:l,digest:null}}function to(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function no(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ud=typeof WeakMap=="function"?WeakMap:Map;function Xu(e,t,n){n=Pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){kl||(kl=!0,go=r),no(e,t)},n}function Zu(e,t,n){n=Pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){no(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){no(e,t),typeof r!="function"&&(Qt===null?Qt=new Set([this]):Qt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ju(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ud;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=tf.bind(null,e,t,n),t.then(e,e))}function qu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function bu(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pt(-1,1),t.tag=2,Wt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var jd=ue.ReactCurrentOwner,Ge=!1;function je(e,t,n,r){t.child=e===null?wu(t,null,n,r):In(t,e.child,n,r)}function ea(e,t,n,r,l){n=n.render;var i=t.ref;return Nn(t,l),r=Ki(e,t,n,r,i,l),n=Yi(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(de&&n&&Ni(t),t.flags|=1,je(e,t,r,l),t.child)}function ta(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Co(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,na(e,t,i,r,l)):(e=Ll(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&l)===0){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:rr,n(o,r)&&e.ref===t.ref)return Nt(e,t,l)}return t.flags|=1,e=Xt(i,r),e.ref=t.ref,e.return=t,t.child=e}function na(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(rr(i,r)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,Nt(e,t,l)}return ro(e,t,n,r,l)}function ra(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(An,be),be|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(An,be),be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(An,be),be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(An,be),be|=r;return je(e,t,l,n),t.child}function la(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ro(e,t,n,r,l){var i=Qe(n)?bt:Ae.current;return i=Cn(t,i),Nn(t,l),n=Ki(e,t,n,r,i,l),r=Yi(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(de&&r&&Ni(t),t.flags|=1,je(e,t,n,l),t.child)}function ia(e,t,n,r,l){if(Qe(n)){var i=!0;qr(t)}else i=!1;if(Nn(t,l),t.stateNode===null)vl(e,t),Ku(t,n,r),eo(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var d=o.context,g=n.contextType;typeof g=="object"&&g!==null?g=nt(g):(g=Qe(n)?bt:Ae.current,g=Cn(t,g));var S=n.getDerivedStateFromProps,k=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function";k||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||d!==g)&&Yu(t,o,r,g),$t=!1;var w=t.memoizedState;o.state=w,sl(t,r,o,l),d=t.memoizedState,a!==r||w!==d||Ve.current||$t?(typeof S=="function"&&(bi(t,n,S,r),d=t.memoizedState),(a=$t||Gu(t,n,a,r,w,d,g))?(k||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=d),o.props=r,o.state=d,o.context=g,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ku(e,t),a=t.memoizedProps,g=t.type===t.elementType?a:ct(t.type,a),o.props=g,k=t.pendingProps,w=o.context,d=n.contextType,typeof d=="object"&&d!==null?d=nt(d):(d=Qe(n)?bt:Ae.current,d=Cn(t,d));var T=n.getDerivedStateFromProps;(S=typeof T=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==k||w!==d)&&Yu(t,o,r,d),$t=!1,w=t.memoizedState,o.state=w,sl(t,r,o,l);var P=t.memoizedState;a!==k||w!==P||Ve.current||$t?(typeof T=="function"&&(bi(t,n,T,r),P=t.memoizedState),(g=$t||Gu(t,n,g,r,w,P,d)||!1)?(S||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,P,d),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,P,d)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=P),o.props=r,o.state=P,o.context=d,r=g):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),r=!1)}return lo(e,t,n,r,i,l)}function lo(e,t,n,r,l,i){la(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&cu(t,n,!1),Nt(e,t,i);r=t.stateNode,jd.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=In(t,e.child,null,i),t.child=In(t,null,a,i)):je(e,t,a,i),t.memoizedState=r.state,l&&cu(t,n,!0),t.child}function oa(e){var t=e.stateNode;t.pendingContext?uu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uu(e,t.context,!1),Hi(e,t.containerInfo)}function sa(e,t,n,r,l){return Ln(),Ai(l),t.flags|=256,je(e,t,n,r),t.child}var io={dehydrated:null,treeContext:null,retryLane:0};function oo(e){return{baseLanes:e,cachePool:null,transitions:null}}function ua(e,t,n){var r=t.pendingProps,l=pe.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ie(pe,l&1),e===null)return Ri(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Il(o,r,0,null),e=cn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=oo(n),t.memoizedState=io,e):so(t,o));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Bd(e,t,o,r,a,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,a=l.sibling;var d={mode:"hidden",children:r.children};return(o&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=d,t.deletions=null):(r=Xt(l,d),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?i=Xt(a,i):(i=cn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?oo(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=io,r}return i=e.child,e=i.sibling,r=Xt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function so(e,t){return t=Il({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ml(e,t,n,r){return r!==null&&Ai(r),In(t,e.child,null,n),e=so(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Bd(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=to(Error(u(422))),ml(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Il({mode:"visible",children:r.children},l,0,null),i=cn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&In(t,e.child,null,o),t.child.memoizedState=oo(o),t.memoizedState=io,i);if((t.mode&1)===0)return ml(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(u(419)),r=to(i,r,void 0),ml(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ge||a){if(r=Te,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(r.suspendedLanes|o))!==0?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,It(e,l),pt(r,e,l,-1))}return xo(),r=to(Error(u(421))),ml(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=nf.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,qe=Ut(l.nextSibling),Je=t,de=!0,at=null,e!==null&&(et[tt++]=Tt,et[tt++]=Lt,et[tt++]=en,Tt=e.id,Lt=e.overflow,en=t),t=so(t,r.children),t.flags|=4096,t)}function aa(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ui(e.return,t,n)}function uo(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function ca(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(je(e,t,r.children,n),r=pe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&aa(e,n,t);else if(e.tag===19)aa(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(pe,r),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ul(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),uo(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ul(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}uo(t,!0,n,null,i);break;case"together":uo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),on|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hd(e,t,n){switch(t.tag){case 3:oa(t),Ln();break;case 5:Cu(t);break;case 1:Qe(t.type)&&qr(t);break;case 4:Hi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ie(ll,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(pe,pe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ua(e,t,n):(ie(pe,pe.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);ie(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return ca(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ie(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,ra(e,t,n)}return Nt(e,t,n)}var $d=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wd=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(wt.current);var i=null;switch(n){case"input":l=Ul(e,l),r=Ul(e,r),i=[];break;case"select":l=U({},l,{value:void 0}),r=U({},r,{value:void 0}),i=[];break;case"textarea":l=Hl(e,l),r=Hl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xr)}Wl(n,r);var o;n=null;for(g in l)if(!r.hasOwnProperty(g)&&l.hasOwnProperty(g)&&l[g]!=null)if(g==="style"){var a=l[g];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else g!=="dangerouslySetInnerHTML"&&g!=="children"&&g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(C.hasOwnProperty(g)?i||(i=[]):(i=i||[]).push(g,null));for(g in r){var d=r[g];if(a=l?.[g],r.hasOwnProperty(g)&&d!==a&&(d!=null||a!=null))if(g==="style")if(a){for(o in a)!a.hasOwnProperty(o)||d&&d.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in d)d.hasOwnProperty(o)&&a[o]!==d[o]&&(n||(n={}),n[o]=d[o])}else n||(i||(i=[]),i.push(g,n)),n=d;else g==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,a=a?a.__html:void 0,d!=null&&a!==d&&(i=i||[]).push(g,d)):g==="children"?typeof d!="string"&&typeof d!="number"||(i=i||[]).push(g,""+d):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&(C.hasOwnProperty(g)?(d!=null&&g==="onScroll"&&oe("scroll",e),i||a===d||(i=[])):(i=i||[]).push(g,d))}n&&(i=i||[]).push("style",n);var g=i;(t.updateQueue=g)&&(t.flags|=4)}},Vd=function(e,t,n,r){n!==r&&(t.flags|=4)};function yr(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qd(e,t,n){var r=t.pendingProps;switch(Oi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return Qe(t.type)&&Jr(),Fe(t),null;case 3:return r=t.stateNode,On(),se(Ve),se(Ae),Vi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(nl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,at!==null&&(So(at),at=null))),Fe(t),null;case 5:$i(t);var l=rn(pr.current);if(n=t.type,e!==null&&t.stateNode!=null)Wd(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Fe(t),null}if(e=rn(wt.current),nl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[yt]=t,r[ur]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(l=0;l<ir.length;l++)oe(ir[l],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":Ko(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":Zo(r,i),oe("invalid",r)}Wl(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Yr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Yr(r.textContent,a,e),l=["children",""+a]):C.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":_r(r),Xo(r,i,!0);break;case"textarea":_r(r),qo(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Xr)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=bo(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yt]=t,e[ur]=r,$d(e,t,!1,!1),t.stateNode=e;e:{switch(o=Vl(n,r),n){case"dialog":oe("cancel",e),oe("close",e),l=r;break;case"iframe":case"object":case"embed":oe("load",e),l=r;break;case"video":case"audio":for(l=0;l<ir.length;l++)oe(ir[l],e);l=r;break;case"source":oe("error",e),l=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),l=r;break;case"details":oe("toggle",e),l=r;break;case"input":Ko(e,r),l=Ul(e,r),oe("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=U({},r,{value:void 0}),oe("invalid",e);break;case"textarea":Zo(e,r),l=Hl(e,r),oe("invalid",e);break;default:l=r}Wl(n,l),a=l;for(i in a)if(a.hasOwnProperty(i)){var d=a[i];i==="style"?ns(e,d):i==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,d!=null&&es(e,d)):i==="children"?typeof d=="string"?(n!=="textarea"||d!=="")&&Bn(e,d):typeof d=="number"&&Bn(e,""+d):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(C.hasOwnProperty(i)?d!=null&&i==="onScroll"&&oe("scroll",e):d!=null&&Ue(e,i,d,o))}switch(n){case"input":_r(e),Xo(e,r,!1);break;case"textarea":_r(e),qo(e);break;case"option":r.value!=null&&e.setAttribute("value",""+b(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?fn(e,!!r.multiple,i,!1):r.defaultValue!=null&&fn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Fe(t),null;case 6:if(e&&t.stateNode!=null)Vd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(u(166));if(n=rn(pr.current),rn(wt.current),nl(t)){if(r=t.stateNode,n=t.memoizedProps,r[yt]=t,(i=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:Yr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yt]=t,t.stateNode=r}return Fe(t),null;case 13:if(se(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&qe!==null&&(t.mode&1)!==0&&(t.flags&128)===0)vu(),Ln(),t.flags|=98560,i=!1;else if(i=nl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(u(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(u(317));i[yt]=t}else Ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),i=!1}else at!==null&&(So(at),at=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(pe.current&1)!==0?xe===0&&(xe=3):xo())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return On(),e===null&&or(t.stateNode.containerInfo),Fe(t),null;case 10:return Di(t.type._context),Fe(t),null;case 17:return Qe(t.type)&&Jr(),Fe(t),null;case 19:if(se(pe),i=t.memoizedState,i===null)return Fe(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)yr(i,!1);else{if(xe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=ul(e),o!==null){for(t.flags|=128,yr(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(pe,pe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ge()>zn&&(t.flags|=128,r=!0,yr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ul(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!de)return Fe(t),null}else 2*ge()-i.renderingStartTime>zn&&n!==1073741824&&(t.flags|=128,r=!0,yr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ge(),t.sibling=null,n=pe.current,ie(pe,r?n&1|2:n&1),t):(Fe(t),null);case 22:case 23:return Eo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(be&1073741824)!==0&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(u(156,t.tag))}function Gd(e,t){switch(Oi(t),t.tag){case 1:return Qe(t.type)&&Jr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),se(Ve),se(Ae),Vi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return $i(t),null;case 13:if(se(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(pe),null;case 4:return On(),null;case 10:return Di(t.type._context),null;case 22:case 23:return Eo(),null;case 24:return null;default:return null}}var gl=!1,De=!1,Kd=typeof WeakSet=="function"?WeakSet:Set,I=null;function Rn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function ao(e,t,n){try{n()}catch(r){me(e,t,r)}}var da=!1;function Yd(e,t){if(Ei=Dr,e=Gs(),hi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,d=-1,g=0,S=0,k=e,w=null;t:for(;;){for(var T;k!==n||l!==0&&k.nodeType!==3||(a=o+l),k!==i||r!==0&&k.nodeType!==3||(d=o+r),k.nodeType===3&&(o+=k.nodeValue.length),(T=k.firstChild)!==null;)w=k,k=T;for(;;){if(k===e)break t;if(w===n&&++g===l&&(a=o),w===i&&++S===r&&(d=o),(T=k.nextSibling)!==null)break;k=w,w=k.parentNode}k=T}n=a===-1||d===-1?null:{start:a,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(xi={focusedElem:e,selectionRange:n},Dr=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var P=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(P!==null){var N=P.memoizedProps,ye=P.memoizedState,m=t.stateNode;m.__reactInternalSnapshotBeforeUpdate=m.getSnapshotBeforeUpdate(t.elementType===t.type?N:ct(t.type,N),ye)}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(u(163))}}catch(v){me(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return P=da,da=!1,P}function wr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&ao(t,n,i)}l=l.next}while(l!==r)}}function yl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function co(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function fa(e){var t=e.alternate;t!==null&&(e.alternate=null,fa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[ur],delete t[Li],delete t[Ld],delete t[Id])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function pa(e){return e.tag===5||e.tag===3||e.tag===4}function ha(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xr));else if(r!==4&&(e=e.child,e!==null))for(fo(e,t,n),e=e.sibling;e!==null;)fo(e,t,n),e=e.sibling}function po(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(po(e,t,n),e=e.sibling;e!==null;)po(e,t,n),e=e.sibling}var Ne=null,dt=!1;function Vt(e,t,n){for(n=n.child;n!==null;)ma(e,t,n),n=n.sibling}function ma(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Or,n)}catch{}switch(n.tag){case 5:De||Rn(n,t);case 6:var r=Ne,l=dt;Ne=null,Vt(e,t,n),Ne=r,dt=l,Ne!==null&&(dt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(dt?(e=Ne,n=n.stateNode,e.nodeType===8?Ti(e.parentNode,n):e.nodeType===1&&Ti(e,n),Jn(e)):Ti(Ne,n.stateNode));break;case 4:r=Ne,l=dt,Ne=n.stateNode.containerInfo,dt=!0,Vt(e,t,n),Ne=r,dt=l;break;case 0:case 11:case 14:case 15:if(!De&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&((i&2)!==0||(i&4)!==0)&&ao(n,t,o),l=l.next}while(l!==r)}Vt(e,t,n);break;case 1:if(!De&&(Rn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){me(n,t,a)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(De=(r=De)||n.memoizedState!==null,Vt(e,t,n),De=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function va(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kd),t.forEach(function(r){var l=rf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ne=a.stateNode,dt=!1;break e;case 3:Ne=a.stateNode.containerInfo,dt=!0;break e;case 4:Ne=a.stateNode.containerInfo,dt=!0;break e}a=a.return}if(Ne===null)throw Error(u(160));ma(i,o,l),Ne=null,dt=!1;var d=l.alternate;d!==null&&(d.return=null),l.return=null}catch(g){me(l,t,g)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ga(t,e),t=t.sibling}function ga(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ft(t,e),kt(e),r&4){try{wr(3,e,e.return),yl(3,e)}catch(N){me(e,e.return,N)}try{wr(5,e,e.return)}catch(N){me(e,e.return,N)}}break;case 1:ft(t,e),kt(e),r&512&&n!==null&&Rn(n,n.return);break;case 5:if(ft(t,e),kt(e),r&512&&n!==null&&Rn(n,n.return),e.flags&32){var l=e.stateNode;try{Bn(l,"")}catch(N){me(e,e.return,N)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,d=e.updateQueue;if(e.updateQueue=null,d!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Yo(l,i),Vl(a,o);var g=Vl(a,i);for(o=0;o<d.length;o+=2){var S=d[o],k=d[o+1];S==="style"?ns(l,k):S==="dangerouslySetInnerHTML"?es(l,k):S==="children"?Bn(l,k):Ue(l,S,k,g)}switch(a){case"input":jl(l,i);break;case"textarea":Jo(l,i);break;case"select":var w=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var T=i.value;T!=null?fn(l,!!i.multiple,T,!1):w!==!!i.multiple&&(i.defaultValue!=null?fn(l,!!i.multiple,i.defaultValue,!0):fn(l,!!i.multiple,i.multiple?[]:"",!1))}l[ur]=i}catch(N){me(e,e.return,N)}}break;case 6:if(ft(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(u(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(N){me(e,e.return,N)}}break;case 3:if(ft(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Jn(t.containerInfo)}catch(N){me(e,e.return,N)}break;case 4:ft(t,e),kt(e);break;case 13:ft(t,e),kt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(vo=ge())),r&4&&va(e);break;case 22:if(S=n!==null&&n.memoizedState!==null,e.mode&1?(De=(g=De)||S,ft(t,e),De=g):ft(t,e),kt(e),r&8192){if(g=e.memoizedState!==null,(e.stateNode.isHidden=g)&&!S&&(e.mode&1)!==0)for(I=e,S=e.child;S!==null;){for(k=I=S;I!==null;){switch(w=I,T=w.child,w.tag){case 0:case 11:case 14:case 15:wr(4,w,w.return);break;case 1:Rn(w,w.return);var P=w.stateNode;if(typeof P.componentWillUnmount=="function"){r=w,n=w.return;try{t=r,P.props=t.memoizedProps,P.state=t.memoizedState,P.componentWillUnmount()}catch(N){me(r,n,N)}}break;case 5:Rn(w,w.return);break;case 22:if(w.memoizedState!==null){Sa(k);continue}}T!==null?(T.return=w,I=T):Sa(k)}S=S.sibling}e:for(S=null,k=e;;){if(k.tag===5){if(S===null){S=k;try{l=k.stateNode,g?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=k.stateNode,d=k.memoizedProps.style,o=d!=null&&d.hasOwnProperty("display")?d.display:null,a.style.display=ts("display",o))}catch(N){me(e,e.return,N)}}}else if(k.tag===6){if(S===null)try{k.stateNode.nodeValue=g?"":k.memoizedProps}catch(N){me(e,e.return,N)}}else if((k.tag!==22&&k.tag!==23||k.memoizedState===null||k===e)&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===e)break e;for(;k.sibling===null;){if(k.return===null||k.return===e)break e;S===k&&(S=null),k=k.return}S===k&&(S=null),k.sibling.return=k.return,k=k.sibling}}break;case 19:ft(t,e),kt(e),r&4&&va(e);break;case 21:break;default:ft(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(pa(n)){var r=n;break e}n=n.return}throw Error(u(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Bn(l,""),r.flags&=-33),po(e,ha(e),l);break;case 3:case 4:var i=r.stateNode.containerInfo;fo(e,ha(e),i);break;default:throw Error(u(161))}}catch(o){me(e,e.return,o)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Xd(e,t,n){I=e,ya(e,t,n)}function ya(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var l=I,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||gl;if(!o){var a=l.alternate,d=a!==null&&a.memoizedState!==null||De;a=gl;var g=De;if(gl=o,(De=d)&&!g)for(I=l;I!==null;)o=I,d=o.child,o.tag===22&&o.memoizedState!==null?ka(l):d!==null?(d.return=o,I=d):ka(l);for(;i!==null;)I=i,ya(i,t,n),i=i.sibling;I=l,gl=a,De=g}wa(e,t,n)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,I=i):wa(e,t,n)}}function wa(e){for(;I!==null;){var t=I;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:De||yl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!De)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:ct(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&xu(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xu(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var d=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":d.autoFocus&&n.focus();break;case"img":d.src&&(n.src=d.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var g=t.alternate;if(g!==null){var S=g.memoizedState;if(S!==null){var k=S.dehydrated;k!==null&&Jn(k)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(u(163))}De||t.flags&512&&co(t)}catch(w){me(t,t.return,w)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Sa(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function ka(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yl(4,t)}catch(d){me(t,n,d)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(d){me(t,l,d)}}var i=t.return;try{co(t)}catch(d){me(t,i,d)}break;case 5:var o=t.return;try{co(t)}catch(d){me(t,o,d)}}}catch(d){me(t,t.return,d)}if(t===e){I=null;break}var a=t.sibling;if(a!==null){a.return=t.return,I=a;break}I=t.return}}var Zd=Math.ceil,wl=ue.ReactCurrentDispatcher,ho=ue.ReactCurrentOwner,lt=ue.ReactCurrentBatchConfig,Y=0,Te=null,Se=null,Oe=0,be=0,An=jt(0),xe=0,Sr=null,on=0,Sl=0,mo=0,kr=null,Ke=null,vo=0,zn=1/0,Ot=null,kl=!1,go=null,Qt=null,El=!1,Gt=null,xl=0,Er=0,yo=null,Cl=-1,_l=0;function Be(){return(Y&6)!==0?ge():Cl!==-1?Cl:Cl=ge()}function Kt(e){return(e.mode&1)===0?1:(Y&2)!==0&&Oe!==0?Oe&-Oe:Nd.transition!==null?(_l===0&&(_l=gs()),_l):(e=ee,e!==0||(e=window.event,e=e===void 0?16:Ts(e.type)),e)}function pt(e,t,n,r){if(50<Er)throw Er=0,yo=null,Error(u(185));Gn(e,n,r),((Y&2)===0||e!==Te)&&(e===Te&&((Y&2)===0&&(Sl|=n),xe===4&&Yt(e,Oe)),Ye(e,r),n===1&&Y===0&&(t.mode&1)===0&&(zn=ge()+500,br&&Ht()))}function Ye(e,t){var n=e.callbackNode;$c(e,t);var r=Ar(e,e===Te?Oe:0);if(r===0)n!==null&&hs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&hs(n),t===1)e.tag===0?Pd(xa.bind(null,e)):du(xa.bind(null,e)),_d(function(){(Y&6)===0&&Ht()}),n=null;else{switch(ys(r)){case 1:n=Jl;break;case 4:n=ms;break;case 16:n=Nr;break;case 536870912:n=vs;break;default:n=Nr}n=Na(n,Ea.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ea(e,t){if(Cl=-1,_l=0,(Y&6)!==0)throw Error(u(327));var n=e.callbackNode;if(Fn()&&e.callbackNode!==n)return null;var r=Ar(e,e===Te?Oe:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Tl(e,r);else{t=r;var l=Y;Y|=2;var i=_a();(Te!==e||Oe!==t)&&(Ot=null,zn=ge()+500,un(e,t));do try{bd();break}catch(a){Ca(e,a)}while(!0);Fi(),wl.current=i,Y=l,Se!==null?t=0:(Te=null,Oe=0,t=xe)}if(t!==0){if(t===2&&(l=ql(e),l!==0&&(r=l,t=wo(e,l))),t===1)throw n=Sr,un(e,0),Yt(e,r),Ye(e,ge()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!Jd(l)&&(t=Tl(e,r),t===2&&(i=ql(e),i!==0&&(r=i,t=wo(e,i))),t===1))throw n=Sr,un(e,0),Yt(e,r),Ye(e,ge()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(u(345));case 2:an(e,Ke,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=vo+500-ge(),10<t)){if(Ar(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=_i(an.bind(null,e,Ke,Ot),t);break}an(e,Ke,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-st(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Zd(r/1960))-r,10<r){e.timeoutHandle=_i(an.bind(null,e,Ke,Ot),r);break}an(e,Ke,Ot);break;case 5:an(e,Ke,Ot);break;default:throw Error(u(329))}}}return Ye(e,ge()),e.callbackNode===n?Ea.bind(null,e):null}function wo(e,t){var n=kr;return e.current.memoizedState.isDehydrated&&(un(e,t).flags|=256),e=Tl(e,t),e!==2&&(t=Ke,Ke=n,t!==null&&So(t)),e}function So(e){Ke===null?Ke=e:Ke.push.apply(Ke,e)}function Jd(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!ut(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yt(e,t){for(t&=~mo,t&=~Sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function xa(e){if((Y&6)!==0)throw Error(u(327));Fn();var t=Ar(e,0);if((t&1)===0)return Ye(e,ge()),null;var n=Tl(e,t);if(e.tag!==0&&n===2){var r=ql(e);r!==0&&(t=r,n=wo(e,r))}if(n===1)throw n=Sr,un(e,0),Yt(e,t),Ye(e,ge()),n;if(n===6)throw Error(u(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ke,Ot),Ye(e,ge()),null}function ko(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(zn=ge()+500,br&&Ht())}}function sn(e){Gt!==null&&Gt.tag===0&&(Y&6)===0&&Fn();var t=Y;Y|=1;var n=lt.transition,r=ee;try{if(lt.transition=null,ee=1,e)return e()}finally{ee=r,lt.transition=n,Y=t,(Y&6)===0&&Ht()}}function Eo(){be=An.current,se(An)}function un(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Cd(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Oi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Jr();break;case 3:On(),se(Ve),se(Ae),Vi();break;case 5:$i(r);break;case 4:On();break;case 13:se(pe);break;case 19:se(pe);break;case 10:Di(r.type._context);break;case 22:case 23:Eo()}n=n.return}if(Te=e,Se=e=Xt(e.current,null),Oe=be=t,xe=0,Sr=null,mo=Sl=on=0,Ke=kr=null,nn!==null){for(t=0;t<nn.length;t++)if(n=nn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}nn=null}return e}function Ca(e,t){do{var n=Se;try{if(Fi(),al.current=pl,cl){for(var r=he.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}cl=!1}if(ln=0,_e=Ee=he=null,hr=!1,mr=0,ho.current=null,n===null||n.return===null){xe=1,Sr=t,Se=null;break}e:{var i=e,o=n.return,a=n,d=t;if(t=Oe,a.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){var g=d,S=a,k=S.tag;if((S.mode&1)===0&&(k===0||k===11||k===15)){var w=S.alternate;w?(S.updateQueue=w.updateQueue,S.memoizedState=w.memoizedState,S.lanes=w.lanes):(S.updateQueue=null,S.memoizedState=null)}var T=qu(o);if(T!==null){T.flags&=-257,bu(T,o,a,i,t),T.mode&1&&Ju(i,g,t),t=T,d=g;var P=t.updateQueue;if(P===null){var N=new Set;N.add(d),t.updateQueue=N}else P.add(d);break e}else{if((t&1)===0){Ju(i,g,t),xo();break e}d=Error(u(426))}}else if(de&&a.mode&1){var ye=qu(o);if(ye!==null){(ye.flags&65536)===0&&(ye.flags|=256),bu(ye,o,a,i,t),Ai(Mn(d,a));break e}}i=d=Mn(d,a),xe!==4&&(xe=2),kr===null?kr=[i]:kr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=Xu(i,d,t);Eu(i,m);break e;case 1:a=d;var f=i.type,v=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Qt===null||!Qt.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var x=Zu(i,a,t);Eu(i,x);break e}}i=i.return}while(i!==null)}La(n)}catch(M){t=M,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function _a(){var e=wl.current;return wl.current=pl,e===null?pl:e}function xo(){(xe===0||xe===3||xe===2)&&(xe=4),Te===null||(on&268435455)===0&&(Sl&268435455)===0||Yt(Te,Oe)}function Tl(e,t){var n=Y;Y|=2;var r=_a();(Te!==e||Oe!==t)&&(Ot=null,un(e,t));do try{qd();break}catch(l){Ca(e,l)}while(!0);if(Fi(),Y=n,wl.current=r,Se!==null)throw Error(u(261));return Te=null,Oe=0,xe}function qd(){for(;Se!==null;)Ta(Se)}function bd(){for(;Se!==null&&!Rc();)Ta(Se)}function Ta(e){var t=lf(e.alternate,e,be);e.memoizedProps=e.pendingProps,t===null?La(e):Se=t,ho.current=null}function La(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Qd(n,t,be),n!==null){Se=n;return}}else{if(n=Gd(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{xe=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);xe===0&&(xe=5)}function an(e,t,n){var r=ee,l=lt.transition;try{lt.transition=null,ee=1,ef(e,t,n,r)}finally{lt.transition=l,ee=r}return null}function ef(e,t,n,r){do Fn();while(Gt!==null);if((Y&6)!==0)throw Error(u(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(u(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Wc(e,i),e===Te&&(Se=Te=null,Oe=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||El||(El=!0,Na(Nr,function(){return Fn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=lt.transition,lt.transition=null;var o=ee;ee=1;var a=Y;Y|=4,ho.current=null,Yd(e,n),ga(n,e),wd(xi),Dr=!!Ei,xi=Ei=null,e.current=n,Xd(n,e,l),Ac(),Y=a,ee=o,lt.transition=i}else e.current=n;if(El&&(El=!1,Gt=e,xl=l),i=e.pendingLanes,i===0&&(Qt=null),Dc(n.stateNode,r),Ye(e,ge()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(kl)throw kl=!1,e=go,go=null,e;return(xl&1)!==0&&e.tag!==0&&Fn(),i=e.pendingLanes,(i&1)!==0?e===yo?Er++:(Er=0,yo=e):Er=0,Ht(),null}function Fn(){if(Gt!==null){var e=ys(xl),t=lt.transition,n=ee;try{if(lt.transition=null,ee=16>e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,xl=0,(Y&6)!==0)throw Error(u(331));var l=Y;for(Y|=4,I=e.current;I!==null;){var i=I,o=i.child;if((I.flags&16)!==0){var a=i.deletions;if(a!==null){for(var d=0;d<a.length;d++){var g=a[d];for(I=g;I!==null;){var S=I;switch(S.tag){case 0:case 11:case 15:wr(8,S,i)}var k=S.child;if(k!==null)k.return=S,I=k;else for(;I!==null;){S=I;var w=S.sibling,T=S.return;if(fa(S),S===g){I=null;break}if(w!==null){w.return=T,I=w;break}I=T}}}var P=i.alternate;if(P!==null){var N=P.child;if(N!==null){P.child=null;do{var ye=N.sibling;N.sibling=null,N=ye}while(N!==null)}}I=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,I=o;else e:for(;I!==null;){if(i=I,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:wr(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,I=m;break e}I=i.return}}var f=e.current;for(I=f;I!==null;){o=I;var v=o.child;if((o.subtreeFlags&2064)!==0&&v!==null)v.return=o,I=v;else e:for(o=f;I!==null;){if(a=I,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:yl(9,a)}}catch(M){me(a,a.return,M)}if(a===o){I=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,I=x;break e}I=a.return}}if(Y=l,Ht(),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(Or,e)}catch{}r=!0}return r}finally{ee=n,lt.transition=t}}return!1}function Ia(e,t,n){t=Mn(n,t),t=Xu(e,t,1),e=Wt(e,t,1),t=Be(),e!==null&&(Gn(e,1,t),Ye(e,t))}function me(e,t,n){if(e.tag===3)Ia(e,e,n);else for(;t!==null;){if(t.tag===3){Ia(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qt===null||!Qt.has(r))){e=Mn(n,e),e=Zu(t,e,1),t=Wt(t,e,1),e=Be(),t!==null&&(Gn(t,1,e),Ye(t,e));break}}t=t.return}}function tf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Te===e&&(Oe&n)===n&&(xe===4||xe===3&&(Oe&130023424)===Oe&&500>ge()-vo?un(e,0):mo|=n),Ye(e,t)}function Pa(e,t){t===0&&((e.mode&1)===0?t=1:(t=Rr,Rr<<=1,(Rr&130023424)===0&&(Rr=4194304)));var n=Be();e=It(e,t),e!==null&&(Gn(e,t,n),Ye(e,n))}function nf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pa(e,n)}function rf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(u(314))}r!==null&&r.delete(t),Pa(e,n)}var lf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)Ge=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ge=!1,Hd(e,t,n);Ge=(e.flags&131072)!==0}else Ge=!1,de&&(t.flags&1048576)!==0&&fu(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;vl(e,t),e=t.pendingProps;var l=Cn(t,Ae.current);Nn(t,n),l=Ki(null,t,r,e,l,n);var i=Yi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(i=!0,qr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Bi(t),l.updater=hl,t.stateNode=l,l._reactInternals=t,eo(t,r,e,n),t=lo(null,t,r,!0,i,n)):(t.tag=0,de&&i&&Ni(t),je(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(vl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=sf(r),e=ct(r,e),l){case 0:t=ro(null,t,r,e,n);break e;case 1:t=ia(null,t,r,e,n);break e;case 11:t=ea(null,t,r,e,n);break e;case 14:t=ta(null,t,r,ct(r.type,e),n);break e}throw Error(u(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),ro(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),ia(e,t,r,l,n);case 3:e:{if(oa(t),e===null)throw Error(u(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ku(e,t),sl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Mn(Error(u(423)),t),t=sa(e,t,r,n,l);break e}else if(r!==l){l=Mn(Error(u(424)),t),t=sa(e,t,r,n,l);break e}else for(qe=Ut(t.stateNode.containerInfo.firstChild),Je=t,de=!0,at=null,n=wu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ln(),r===l){t=Nt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Cu(t),e===null&&Ri(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ci(r,l)?o=null:i!==null&&Ci(r,i)&&(t.flags|=32),la(e,t),je(e,t,o,n),t.child;case 6:return e===null&&Ri(t),null;case 13:return ua(e,t,n);case 4:return Hi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=In(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),ea(e,t,r,l,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,ie(ll,r._currentValue),r._currentValue=o,i!==null)if(ut(i.value,o)){if(i.children===l.children&&!Ve.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var d=a.firstContext;d!==null;){if(d.context===r){if(i.tag===1){d=Pt(-1,n&-n),d.tag=2;var g=i.updateQueue;if(g!==null){g=g.shared;var S=g.pending;S===null?d.next=d:(d.next=S.next,S.next=d),g.pending=d}}i.lanes|=n,d=i.alternate,d!==null&&(d.lanes|=n),Ui(i.return,n,t),a.lanes|=n;break}d=d.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(u(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ui(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}je(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Nn(t,n),l=nt(l),r=r(l),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,l=ct(r,t.pendingProps),l=ct(r.type,l),ta(e,t,r,l,n);case 15:return na(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ct(r,l),vl(e,t),t.tag=1,Qe(r)?(e=!0,qr(t)):e=!1,Nn(t,n),Ku(t,r,l),eo(t,r,l,n),lo(null,t,r,!0,e,n);case 19:return ca(e,t,n);case 22:return ra(e,t,n)}throw Error(u(156,t.tag))};function Na(e,t){return ps(e,t)}function of(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function it(e,t,n,r){return new of(e,t,n,r)}function Co(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sf(e){if(typeof e=="function")return Co(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ne)return 11;if(e===$e)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=it(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ll(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Co(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case J:return cn(n.children,l,i,t);case Pe:o=8,l|=8;break;case mt:return e=it(12,n,t,l|2),e.elementType=mt,e.lanes=i,e;case fe:return e=it(13,n,t,l),e.elementType=fe,e.lanes=i,e;case ae:return e=it(19,n,t,l),e.elementType=ae,e.lanes=i,e;case _:return Il(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ot:o=10;break e;case vt:o=9;break e;case ne:o=11;break e;case $e:o=14;break e;case We:o=16,r=null;break e}throw Error(u(130,e==null?e:typeof e,""))}return t=it(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function cn(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=it(22,e,r,t),e.elementType=_,e.lanes=n,e.stateNode={isHidden:!1},e}function _o(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function To(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bl(0),this.expirationTimes=bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Lo(e,t,n,r,l,i,o,a,d){return e=new uf(e,t,n,a,d),t===1?(t=1,i===!0&&(t|=8)):t=0,i=it(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bi(i),e}function af(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ke,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Oa(e){if(!e)return Bt;e=e._reactInternals;e:{if(Jt(e)!==e||e.tag!==1)throw Error(u(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(u(171))}if(e.tag===1){var n=e.type;if(Qe(n))return au(e,n,t)}return t}function Ma(e,t,n,r,l,i,o,a,d){return e=Lo(n,r,!0,e,l,i,o,a,d),e.context=Oa(null),n=e.current,r=Be(),l=Kt(n),i=Pt(r,l),i.callback=t??null,Wt(n,i,l),e.current.lanes=l,Gn(e,l,r),Ye(e,r),e}function Pl(e,t,n,r){var l=t.current,i=Be(),o=Kt(l);return n=Oa(n),t.context===null?t.context=n:t.pendingContext=n,t=Pt(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wt(l,t,o),e!==null&&(pt(e,l,o,i),ol(e,l,o)),o}function Nl(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Ra(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Io(e,t){Ra(e,t),(e=e.alternate)&&Ra(e,t)}function cf(){return null}var Aa=typeof reportError=="function"?reportError:function(e){console.error(e)};function Po(e){this._internalRoot=e}Ol.prototype.render=Po.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));Pl(e,t,null,null)},Ol.prototype.unmount=Po.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){Pl(null,e,null,null)}),t[Ct]=null}};function Ol(e){this._internalRoot=e}Ol.prototype.unstable_scheduleHydration=function(e){if(e){var t=ks();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&t!==0&&t<zt[n].priority;n++);zt.splice(n,0,e),n===0&&Cs(e)}};function No(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function za(){}function df(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var g=Nl(o);i.call(g)}}var o=Ma(t,r,e,0,null,!1,!1,"",za);return e._reactRootContainer=o,e[Ct]=o.current,or(e.nodeType===8?e.parentNode:e),sn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var g=Nl(d);a.call(g)}}var d=Lo(e,0,!1,null,null,!1,!1,"",za);return e._reactRootContainer=d,e[Ct]=d.current,or(e.nodeType===8?e.parentNode:e),sn(function(){Pl(t,d,n,r)}),d}function Rl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var a=l;l=function(){var d=Nl(o);a.call(d)}}Pl(t,o,e,l)}else o=df(n,t,e,l,r);return Nl(o)}ws=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qn(t.pendingLanes);n!==0&&(ei(t,n|1),Ye(t,ge()),(Y&6)===0&&(zn=ge()+500,Ht()))}break;case 13:sn(function(){var r=It(e,1);r!==null&&pt(r,e,1,Be())}),Io(e,1)}},ti=function(e){if(e.tag===13){var t=It(e,134217728);t!==null&&pt(t,e,134217728,Be()),Io(e,134217728)}},Ss=function(e){if(e.tag===13){var t=Kt(e),n=It(e,t);n!==null&&pt(n,e,t,Be()),Io(e,t)}},ks=function(){return ee},Es=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}},Kl=function(e,t,n){switch(t){case"input":if(jl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=Zr(r);if(!l)throw Error(u(90));Go(r),jl(r,l)}}}break;case"textarea":Jo(e,n);break;case"select":t=n.value,t!=null&&fn(e,!!n.multiple,t,!1)}},os=ko,ss=sn;var ff={usingClientEntryPoint:!1,Events:[ar,En,Zr,ls,is,ko]},xr={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},pf={bundleType:xr.bundleType,version:xr.version,rendererPackageName:xr.rendererPackageName,rendererConfig:xr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ue.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ds(e),e===null?null:e.stateNode},findFiberByHostInstance:xr.findFiberByHostInstance||cf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Al.isDisabled&&Al.supportsFiber)try{Or=Al.inject(pf),gt=Al}catch{}}p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ff,p.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!No(t))throw Error(u(200));return af(e,t,null,n)},p.createRoot=function(e,t){if(!No(e))throw Error(u(299));var n=!1,r="",l=Aa;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Lo(e,1,!1,null,null,n,!1,r,l),e[Ct]=t.current,or(e.nodeType===8?e.parentNode:e),new Po(t)},p.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=ds(t),e=e===null?null:e.stateNode,e},p.flushSync=function(e){return sn(e)},p.hydrate=function(e,t,n){if(!Ml(t))throw Error(u(200));return Rl(null,e,t,!0,n)},p.hydrateRoot=function(e,t,n){if(!No(e))throw Error(u(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Aa;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Ma(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,or(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Ol(t)},p.render=function(e,t,n){if(!Ml(t))throw Error(u(200));return Rl(null,e,t,!1,n)},p.unmountComponentAtNode=function(e){if(!Ml(e))throw Error(u(40));return e._reactRootContainer?(sn(function(){Rl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},p.unstable_batchedUpdates=ko,p.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ml(n))throw Error(u(200));if(e==null||e._reactInternals===void 0)throw Error(u(38));return Rl(e,t,n,!1,r)},p.version="18.3.1-next-f1338f8080-20240426"})),Ka=Et(((p,s)=>{function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(u){console.error(u)}}c(),s.exports=Ga()})),Ya=Et((p=>{var s=Ka();p.createRoot=s.createRoot,p.hydrateRoot=s.hydrateRoot})),Xa=Et((p=>{var s=zl(),c=Symbol.for("react.element"),u=Object.prototype.hasOwnProperty,y=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function L(O,R,$){var Q,F={},W=null,Z=null;$!==void 0&&(W=""+$),R.key!==void 0&&(W=""+R.key),R.ref!==void 0&&(Z=R.ref);for(Q in R)u.call(R,Q)&&!C.hasOwnProperty(Q)&&(F[Q]=R[Q]);if(O&&O.defaultProps)for(Q in R=O.defaultProps,R)F[Q]===void 0&&(F[Q]=R[Q]);return{$$typeof:c,type:O,key:W,ref:Z,props:F,_owner:y.current}}p.jsx=L,p.jsxs=L})),Za=Et(((p,s)=>{s.exports=Xa()})),Ro=Ya(),te=$a(zl(),1),Ce=Za(),Ja='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',qa="--color-brand-secondary",Ao="255 130 0",ba=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,Fl=p=>{const s=p.trim(),c=s.split(/\s+/).map(Number);if(ba.test(s)&&c.every(L=>L<=255))return[c[0],c[1],c[2]];const[u,y,C]=Ao.split(" ").map(Number);return[u,y,C]},zo=([p,s,c])=>{const[u,y,C]=[p,s,c].map(L=>{const O=L/255;return O<=.03928?O/12.92:((O+.055)/1.055)**2.4});return .2126*u+.7152*y+.0722*C},ec=zo([26,26,26]),tc=p=>{const s=zo(p),c=1.05/(s+.05);return(s+.05)/(ec+.05)>=c?"#1a1a1a":"#ffffff"},nc={light:{card:"var(--color-system-chrome, #ffffff)",border:"var(--color-system-regular, rgba(120, 120, 128, 0.16))",title:"var(--color-fg-primary, #000000)",sub:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))",dismiss:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))"},dark:{card:"var(--color-system-chrome-dark, #2c2c2e)",border:"var(--color-system-regular-dark, rgba(120, 120, 128, 0.32))",title:"var(--color-fg-primary-dark, #ffffff)",sub:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))",dismiss:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))"}},rc="(max-width: 720px)",Fo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(rc):null;function lc(){return(0,Ce.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,Ce.jsx)("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),(0,Ce.jsx)("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function ic({zIndex:p,theme:s,brandColor:c,onUpdate:u,onDismiss:y}){const[C,L]=(0,te.useState)(!1),[O,R]=(0,te.useState)(()=>Fo()?.matches??!1),$=(0,te.useRef)(null),[Q,F]=(0,te.useState)(()=>Fl(Ao));(0,te.useEffect)(()=>{const J=requestAnimationFrame(()=>L(!0));return()=>cancelAnimationFrame(J)},[]),(0,te.useEffect)(()=>{if(c!=null){F(Fl(c));return}if(!$.current)return;const J=getComputedStyle($.current).getPropertyValue(qa);F(Fl(J))},[c]);const W=(0,te.useRef)(!1);(0,te.useEffect)(()=>{if(!C)return;const J=Pe=>{Pe.key!=="Escape"||Pe.defaultPrevented||W.current||(W.current=!0,y())};return window.addEventListener("keydown",J),()=>window.removeEventListener("keydown",J)},[C,y]),(0,te.useEffect)(()=>{const J=Fo();if(!J)return;const Pe=()=>R(J.matches);return J.addEventListener("change",Pe),()=>J.removeEventListener("change",Pe)},[]);const Z=nc[s],[re,Me,le]=Q,G=`rgb(${re}, ${Me}, ${le})`,He=tc(Q),Ie={position:"fixed",top:"16px",left:"50%",width:O?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:p,opacity:C?1:0,visibility:C?"visible":"hidden",pointerEvents:C?"auto":"none",transform:C?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},Ue={display:"flex",alignItems:"center",gap:O?"10px":"14px",padding:O?"12px":"14px 14px 14px 16px",background:Z.card,color:Z.title,borderRadius:"14px",border:`1px solid ${Z.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:Ja},ue={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${re}, ${Me}, ${le}, 0.12)`,color:G,borderRadius:"10px",flexShrink:0},Re={flexShrink:0,padding:O?"8px 12px":"12px 18px",background:G,color:He,border:"none",borderRadius:"16px",fontWeight:700,fontSize:O?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},ke={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:Z.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return(0,Ce.jsx)("div",{ref:$,role:"status","aria-live":"polite",style:Ie,children:(0,Ce.jsxs)("div",{style:Ue,children:[(0,Ce.jsx)("div",{style:ue,children:(0,Ce.jsx)(lc,{})}),(0,Ce.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,Ce.jsx)("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),(0,Ce.jsx)("div",{style:{fontSize:"12.5px",color:Z.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),(0,Ce.jsx)("button",{type:"button",style:Re,onClick:u,children:"Update"}),(0,Ce.jsx)("button",{type:"button","aria-label":"Dismiss",style:ke,onClick:y,children:"✕"})]})})}var oc="payment *; fullscreen 'src'; autoplay 'src'",sc="/search",Do="https://apollos.com";function Uo(p){return new URL(p||"/","http://embed.invalid").pathname}function uc(p){return new URL(p.baseUrl||Do).origin}function ac(p,s){const c=p.baseUrl||Do,u=s==="/"?"":s,y=new URL(`${c}/${p.slug}${u}`);y.searchParams.set("embedMode","modal");const C=Uo(p.searchPath??sc);return p.feedId&&Uo(s)===C&&y.searchParams.set("feedId",p.feedId),y.toString()}var mf=360,vf=24;function cc(p,s,c){return p&&!s&&c!=null&&c>0}function dc(p){return Math.max(360,p+24)}var Dn={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},xt={EMBED_READY:"APOLLOS_EMBED_READY",EMBED_UPDATE:"APOLLOS_EMBED_UPDATE",NAVIGATION:"APOLLOS_NAVIGATION",REQUEST_CLOSE:"APOLLOS_REQUEST_CLOSE",REQUEST_FULLSCREEN:"APOLLOS_REQUEST_FULLSCREEN",OPEN_EXTERNAL:"APOLLOS_OPEN_EXTERNAL",REQUEST_NAVIGATION:"APOLLOS_REQUEST_NAVIGATION",HEIGHT_CHANGE:"APOLLOS_HEIGHT_CHANGE",MODAL_OPTIONS:"APOLLOS_MODAL_OPTIONS"},Cr={SHOW_MIGRATION_TOAST:"apollos:showMigrationToast",MIGRATION_TOAST_SHOWN:"apollos:migrationToastShown",MIGRATION_TOAST_TAPPED:"apollos:migrationToastTapped",MIGRATION_TOAST_DISMISSED:"apollos:migrationToastDismissed"};function Un(p,s,c){p.contentWindow&&p.contentWindow.postMessage(s,c)}function fc(p,s){if(p.origin!==s)return!1;const c=p.data;return!c||typeof c!="object"||typeof c.type!="string"?!1:Object.values(xt).includes(c.type)}var jo=768;function pc(p){if(!p||typeof p!="object"||Array.isArray(p))return!1;const s=p;return(s.size===void 0||s.size==="default"||s.size==="medium"||s.size==="large"||s.size==="small")&&(s.defaultFullscreen===void 0||typeof s.defaultFullscreen=="boolean")&&(s.fitContent===void 0||typeof s.fitContent=="boolean")}var hc=({config:p,state:s,onClose:c,onToggleFullscreen:u,onApplyModalOptions:y})=>{const[C,L]=te.useState(!0),[O,R]=te.useState(null),[$,Q]=te.useState(()=>typeof window<"u"&&window.innerWidth>=jo),F=(0,te.useRef)(null),W=(0,te.useRef)(s);(0,te.useEffect)(()=>{W.current=s},[s]);const Z=ac(p,s.currentPath),re=uc(p),Me=s.modalSize==="medium",le=s.modalSize==="large",G=s.modalSize==="small",He=cc(s.modalFitContent,s.isFullscreen,O),Ie=(0,te.useCallback)(ne=>{ne.key==="Escape"&&s.isOpen&&(ne.preventDefault(),c())},[s.isOpen,c]);(0,te.useEffect)(()=>(document.addEventListener("keydown",Ie),()=>document.removeEventListener("keydown",Ie)),[Ie]),(0,te.useEffect)(()=>{if(!s.isOpen)return;const ne=[document.documentElement,document.body],fe=ne.map(ae=>ae.style.overflow);return ne.forEach(ae=>{ae.style.overflow="hidden"}),()=>{ne.forEach((ae,$e)=>{ae.style.overflow=fe[$e]})}},[s.isOpen]),(0,te.useEffect)(()=>{function ne(){Q(window.innerWidth>=jo)}return window.addEventListener("resize",ne),()=>window.removeEventListener("resize",ne)},[]);const Ue=ne=>{ne.target===ne.currentTarget&&c()},ue=(0,te.useRef)(!1);(0,te.useEffect)(()=>{function ne(fe){if(fc(fe,re)&&fe.source===F.current?.contentWindow){if(fe.data.type===xt.EMBED_READY&&(L(!1),F.current)){const ae=W.current;Un(F.current,{type:Dn.EMBED_INIT,payload:{theme:ae.resolvedTheme,showExpandButton:$,isFullscreen:ae.isFullscreen,mode:"modal"}},re),ue.current=!0}if(fe.data.type===xt.REQUEST_CLOSE&&c(),fe.data.type===xt.REQUEST_FULLSCREEN&&u(),fe.data.type===xt.MODAL_OPTIONS&&pc(fe.data.payload)&&y(fe.data.payload),fe.data.type===xt.HEIGHT_CHANGE){const ae=fe.data.payload;ae&&typeof ae.height=="number"&&ae.height>0&&R(ae.height)}}}return window.addEventListener("message",ne),()=>window.removeEventListener("message",ne)},[re,$,c,u,y]),(0,te.useEffect)(()=>{ue.current&&F.current&&Un(F.current,{type:Dn.THEME_CHANGED,payload:{theme:s.resolvedTheme}},re)},[s.resolvedTheme,re]),(0,te.useEffect)(()=>{ue.current&&F.current&&Un(F.current,{type:Dn.FULLSCREEN_CHANGED,payload:{isFullscreen:s.isFullscreen,showExpandButton:$}},re)},[s.isFullscreen,$,re]),(0,te.useEffect)(()=>{L(!0),R(null),ue.current=!1},[s.currentPath]),(0,te.useEffect)(()=>{s.modalFitContent||R(null)},[s.modalFitContent]),(0,te.useEffect)(()=>{L(!0),s.isOpen||(R(null),ue.current=!1)},[s.isOpen]);const Re=["apls-fixed","apls-inset-0","apls-w-screen","apls-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","apls-flex","apls-items-center","apls-justify-center","apls-bg-black/50",s.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),ke=["apls-relative","apls-flex","apls-flex-col","apls-overflow-hidden","apls-shadow-2xl","apls-backdrop-blur-md","apls-bg-system-screen dark:apls-bg-system-screen-dark","apls-transition-all","apls-duration-300","apls-ease-out",s.isOpen?"apls-scale-100 apls-opacity-100":"apls-scale-95 apls-opacity-0","apls-w-screen","apls-h-screen","apls-max-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","supports-[max-height:100dvh]:apls-max-h-[100dvh]","apls-rounded-none",...s.isFullscreen?["md:apls-w-screen","md:apls-h-screen","md:apls-max-h-screen","md:supports-[width:100dvw]:apls-w-[100dvw]","md:supports-[height:100dvh]:apls-h-[100dvh]","md:supports-[max-height:100dvh]:apls-max-h-[100dvh]"]:He?["md:apls-w-[calc(100dvw-64px)]",le?"md:apls-max-w-[1120px]":G?"md:apls-max-w-[544px]":Me?"md:apls-max-w-[640px]":"md:apls-max-w-[600px]","md:apls-h-auto","md:apls-min-h-[min(360px,calc(100dvh-64px))]","md:apls-max-h-[min(960px,calc(100dvh-64px))]","md:apls-rounded-3xl"]:le?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[1120px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:Me?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[640px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:G?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[544px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:["md:apls-w-[600px]","md:apls-h-[900px]","md:apls-max-h-[95vh]","md:apls-rounded-3xl"]].join(" "),J=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),Pe=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",...C?["apls-hidden"]:[]].join(" "),mt=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),ot=["apls-w-8","apls-h-8","apls-border-[3px]","apls-border-solid","apls-border-system-regular dark:apls-border-system-regular-dark","apls-border-t-fg-tertiary dark:apls-border-t-fg-tertiary-dark","apls-rounded-full","apls-animate-spin"].join(" "),vt=He&&$&&O!=null?{height:`${dc(O)}px`}:void 0;return(0,Ce.jsx)("div",{className:Re,onClick:Ue,style:{zIndex:p.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:(0,Ce.jsx)("div",{className:ke,style:vt,children:(0,Ce.jsxs)("div",{className:J,children:[C?(0,Ce.jsx)("div",{className:mt,children:(0,Ce.jsx)("div",{className:ot})}):null,s.isOpen?(0,Ce.jsx)("iframe",{ref:F,className:Pe,src:Z,title:"Apollos",allow:oc,allowFullScreen:!0,allowTransparency:!0}):null]})})})},Bo=class Fa{iframe=null;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(s,c,u){if(this.iframe)return;const y=new URL(`${c.replace(/\/+$/,"")}/${s}/_embed`);u&&y.searchParams.set("personOriginId",u);const C=document.createElement("iframe");C.src=y.toString(),C.width="1",C.height="1",C.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",C.setAttribute("sandbox","allow-scripts allow-same-origin"),C.setAttribute("aria-hidden","true"),C.setAttribute("tabindex","-1"),C.title="Apollos migration probe",C.setAttribute(Fa.PROBE_ATTRIBUTE,"true"),document.body.appendChild(C),this.iframe=C}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(s){const c=this.iframe?.contentWindow;!c||!this.iframe||c.postMessage({type:s},new URL(this.iframe.src).origin)}notifyShown(){this.postToProbe(Cr.MIGRATION_TOAST_SHOWN)}notifyTapped(){this.postToProbe(Cr.MIGRATION_TOAST_TAPPED)}notifyDismissed(){this.postToProbe(Cr.MIGRATION_TOAST_DISMISSED)}destroy(){this.iframe?.remove(),this.iframe=null}};function Ho(p){if(!p)return null;if(/^[A-Z]\w+-/.test(p)){const[s,c]=p.split(/-(.*)/s);if(s&&c)return{type:s,randomId:c}}else{const s=p.split("-").at(-1);if(!s)return null;try{const[c,u]=atob(s).split(/-(.*)/s);if(c&&u)return{type:c,randomId:u}}catch{return null}}return null}function $o(p){return p.includes("ContentItem")?"/c":p==="Event"?"/e":p==="FeatureFeed"?"/f":p==="Livestream"?"/live":"/c"}var mc=/([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$/i,vc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;function Wo(p){return vc.test(p.trim())}function Vo(p){const s=p.trim();return s?mc.exec(s)?.[1]??null:null}var gc=["payment","fullscreen","autoplay"],yc={payment:"*",fullscreen:"'src'",autoplay:"'src'"};function wc(p){const s=(p??"").split(";").map(y=>y.trim()).filter(Boolean),c=new Set;for(const y of s){const C=y.split(/\s+/)[0]?.toLowerCase();C&&c.add(C)}const u=[...s];for(const y of gc)c.has(y)||u.push(`${y} ${yc[y]}`);return u.join("; ")}function Sc(p){let s=!1,c=!1;const u=wc(p.getAttribute("allow"));return p.getAttribute("allow")!==u&&(p.setAttribute("allow",u),s=!0),p.hasAttribute("allowfullscreen")||(p.setAttribute("allowfullscreen",""),c=!0),{allowChanged:s,allowfullscreenChanged:c}}var kc={twoColumnsFrom:429,threeColumnsFrom:801,headingHeight:32,headingWidth:"40%",imageTop:69,columnGap:24,sideInset:24,sideInsetWide:32,wideFrom:1024,imageRadius:12,lines:[{height:20,width:"80%",top:16},{height:14,width:"60%",top:10}],belowImages:210},Qo="Ask anything",Ec=580,Dl="/search";function xc(p){try{return decodeURIComponent(p)}catch{return p}}var Cc={showAskBar:!1,askBarLabel:Qo,searchPath:Dl,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"light",wrapperStyle:"card"},_c=class ht{config;state;container=null;root=null;askBars=[];askBarKeyListener=null;askBarHosts=[];mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Bo;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;domContentLoadedListener=null;destroyed=!1;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonIframeDisplay=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;collapsedMinHeights=new WeakMap;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_MIN_HEIGHT_PX=200;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(s){if(this.config={...Cc,...s},this.state={isOpen:!1,isFullscreen:!1,modalSize:"default",modalFitContent:!1,currentPath:this.config.defaultPath||"/",canGoBack:!1,resolvedTheme:this.resolveTheme()},!this.config.slug)throw new Error("ApollosEmbed: slug is required in config");this.init()}resolveTheme(){const{themeMode:s}=this.config;return s==="light"?"light":s==="dark"?"dark":this.resolveSystemTheme()}resolveSystemTheme(){return typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}readIframeThemeAttribute(s){const c=s.getAttribute("data-apollos-theme");return c==="light"||c==="dark"||c==="auto"?c:null}getIframeTheme(s){const c=this.readIframeThemeAttribute(s);return c==="light"||c==="dark"?c:c==="auto"?this.resolveSystemTheme():this.state.resolvedTheme}setupThemeListener(){this.cleanupThemeListener(),!(typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=s=>{this.config.themeMode==="auto"&&(this.state.resolvedTheme=s.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),this.askBars.length&&(this.removeAskBar(),this.createAskBar())),this.sendThemeToInlineIframes()},this.mediaQuery.addEventListener("change",this.mediaQueryListener))}cleanupThemeListener(){this.mediaQuery&&this.mediaQueryListener&&this.mediaQuery.removeEventListener("change",this.mediaQueryListener),this.mediaQuery=null,this.mediaQueryListener=null}readPersonOriginId(){if(this.config.personOriginId)return this.config.personOriginId;for(const s of this.inlineIframes.keys()){const c=s.getAttribute("personoriginid")?.trim();if(c)return c}}watchForPersonOriginId(s){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(c=>{for(const u of c){const y=u.target.getAttribute("personoriginid")?.trim();if(y){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,s,y);return}}});for(const c of this.inlineIframes.keys())this.personOriginIdObserver.observe(c,{attributes:!0,attributeFilter:["personoriginid"]})}}cleanupPersonOriginIdObserver(){this.personOriginIdObserver?.disconnect(),this.personOriginIdObserver=null}applyThemeClass(){this.container&&(this.state.resolvedTheme==="dark"?this.container.classList.add("apls-dark"):this.container.classList.remove("apls-dark"))}init(){document.readyState==="loading"?(this.domContentLoadedListener=()=>{this.domContentLoadedListener=null,this.setup()},document.addEventListener("DOMContentLoaded",this.domContentLoadedListener)):this.setup()}setup(){if(!this.destroyed){if(this.applyLegacySearchGlobals(),this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const s=this.config.baseUrl||"https://apollos.com",c=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,s,c),c||this.watchForPersonOriginId(s)}this.config.showAskBar&&this.createAskBar(),this.config.autoOpen&&this.open(),this.checkDeepLinkParams()}}createContainer(){this.container=document.createElement("div"),this.container.id="apollos-embed-root",this.container.classList.add("apollos-embed"),document.body.appendChild(this.container),this.applyThemeClass(),this.root=(0,Ro.createRoot)(this.container),this.render()}buildAskBarButton(){const s=this.state.resolvedTheme==="dark",c=this.config.askBarLabel??Qo,u=document.createElement("button");u.type="button",u.setAttribute("aria-label",c),u.className="apollos-ask-bar";const y=document.createElement("span");Object.assign(y.style,{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px",flex:"0 0 auto"}),y.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>';const C=document.createElement("span");Object.assign(C.style,{flex:"1 1 auto",textAlign:"left",whiteSpace:"nowrap"}),C.textContent=c;const L=document.createElement("kbd");return Object.assign(L.style,{font:"inherit",fontSize:"11px",lineHeight:"1",padding:"3px 6px",borderRadius:"6px",border:`1px solid ${s?"rgba(255,255,255,0.18)":"rgba(0,0,0,0.12)"}`,color:s?"rgba(255,255,255,0.6)":"rgba(0,0,0,0.45)",background:"transparent"}),L.textContent="⌘K",u.appendChild(y),u.appendChild(C),u.appendChild(L),Object.assign(u.style,{all:"unset",boxSizing:"border-box",display:"inline-flex",alignItems:"center",gap:"10px",cursor:"pointer",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontSize:"15px",fontWeight:"500",minWidth:"240px",padding:"11px 14px",borderRadius:"9999px",border:s?"1px solid rgba(255,255,255,0.14)":"1px solid rgba(0,0,0,0.08)",background:s?"#1c1c1e":"#ffffff",color:s?"#f2f2f7":"#1c1c1e",boxShadow:s?"0 6px 24px rgba(0,0,0,0.5)":"0 6px 24px rgba(0,0,0,0.14)"}),u.addEventListener("click",()=>{this.open(this.config.searchPath??Dl)}),{button:u,labelEl:C}}createAskBar(){const s=this.askBarHosts.length?this.askBarHosts:this.inlineAskBarTargetFromConfig();if(s.length)s.forEach(c=>{const{button:u,labelEl:y}=this.buildAskBarButton();Object.assign(u.style,{display:"flex",width:"100%",minWidth:"0",maxWidth:`${Ec}px`,marginInline:"auto",position:"relative",zIndex:"1"}),Object.assign(y.style,{minWidth:"0",overflow:"hidden",textOverflow:"ellipsis"}),c.appendChild(u),this.askBars.push(u)});else{const{button:c}=this.buildAskBarButton(),u=document.createElement("div");Object.assign(u.style,{position:"fixed",zIndex:String((this.config.zIndex??999999)-1),...this.askBarPlacementStyles()}),u.appendChild(c),document.body.appendChild(u),this.askBars.push(u)}this.askBarKeyListener=c=>{if((c.metaKey||c.ctrlKey)&&c.key.toLowerCase()==="k"){if(ht.isEditableEventTarget(c))return;c.preventDefault(),this.open(this.config.searchPath??Dl)}},document.addEventListener("keydown",this.askBarKeyListener)}inlineAskBarTargetFromConfig(){if(!this.config.askBarTarget)return[];const s=document.querySelector(this.config.askBarTarget);return s?[s]:[]}askBarPlacementStyles(){const s=`${this.config.offsetX??0}px`,c=`${this.config.offsetY??48}px`,u=`${Math.max(this.config.offsetX??0,16)}px`;switch(this.config.position){case"bottom-right":return{bottom:c,right:u};case"bottom-left":return{bottom:c,left:u};case"top-right":return{top:c,right:u};case"top-left":return{top:c,left:u};case"top-center":return{top:c,left:"50%",transform:"translateX(-50%)"};default:return{bottom:c,left:`calc(50% + ${s})`,transform:"translateX(-50%)"}}}static isEditableEventTarget(s){const c=y=>{if(!(y instanceof HTMLElement))return!1;const C=y.tagName;return C==="INPUT"||C==="TEXTAREA"||C==="SELECT"||y.isContentEditable},u=typeof s.composedPath=="function"?s.composedPath():[];return u.length?u.some(c):c(s.target)}removeAskBar(){this.askBarKeyListener&&(document.removeEventListener("keydown",this.askBarKeyListener),this.askBarKeyListener=null),this.askBars.forEach(s=>s.remove()),this.askBars=[]}render(){this.root&&this.root.render(te.createElement(hc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:s=>this.applyModalOptions(s)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(s){this.state.modalSize=s.size??"default",this.state.modalFitContent=s.fitContent??!1,typeof s.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=s.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",s=>{const c=s.target.closest("a");if(c&&this.shouldInterceptLink(c)){s.preventDefault();const u=new URL(c.href).pathname.replace(`/${this.config.slug}`,"")||"/",y=this.getLinkFullscreenOption(c);this.open(u,y!==void 0?{fullscreen:y}:void 0)}})}shouldInterceptLink(s){if(s.hasAttribute("data-apollos-external"))return!1;const c=s.href,u=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${u.replace(/https?:\/\//,"")})/${this.config.slug}`).test(c)}getLinkFullscreenOption(s){if(!s.hasAttribute("data-apollos-fullscreen"))return;const c=s.getAttribute("data-apollos-fullscreen");return!(c==="false"||c==="0")}setupMessageListener(){const s=this.config.baseUrl||"https://apollos.com",c=new URL(s).origin;this.messageListener=u=>{if(u.origin!==c||!u.data||typeof u.data!="object")return;const{type:y,payload:C}=u.data;if(y===xt.EMBED_READY){const L=u.source;this.inlineIframes.forEach((O,R)=>{R.contentWindow===L&&(this.sendInlineIframeInit(R),this.inlineIframes.set(R,!0),this.scheduleInlineSkeletonFallback(R,ht.INLINE_READY_FALLBACK_MS))})}if(y===xt.REQUEST_NAVIGATION){const L=C;if(L?.path){if(/^https?:\/\//i.test(L.path)){window.location.assign(L.path);return}const O=this.config.navigationModalFullscreen===!0;this.open(L.path,{fullscreen:O})}}if(y===xt.HEIGHT_CHANGE){const L=C;if(L&&typeof L.height=="number"&&L.height>=0){const O=u.source;let R=null;if(this.inlineIframes.forEach(($,Q)=>{Q.contentWindow===O&&(R=Q)}),!R){const $=document.querySelectorAll("iframe");for(const Q of $)if(!this.container?.contains(Q)&&Q.contentWindow===O){R=Q;break}}R&&(this.scheduleHeightChange(R,L.height),this.inlineSkeletons.has(R)&&this.removeInlineSkeleton(R))}}if(y===Cr.SHOW_MIGRATION_TOAST){const L=C,O=this.embedIframe.getContentWindow();L&&typeof L.migratePath=="string"&&O!==null&&u.source===O&&this.renderMigrationToast(L)}},window.addEventListener("message",this.messageListener)}migrationToastDismissalKey(){return`apollos:migrationToastDismissed:${this.config.slug}`}wasMigrationToastDismissedThisVisit(){try{return window.sessionStorage.getItem(this.migrationToastDismissalKey())==="1"}catch{return!1}}markMigrationToastDismissedForVisit(){try{window.sessionStorage.setItem(this.migrationToastDismissalKey(),"1")}catch{}}renderMigrationToast(s){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=s;return}const c=document.createElement("div");c.classList.add("apollos-embed"),document.body.appendChild(c),this.migrationToastContainer=c,this.migrationToastRoot=(0,Ro.createRoot)(c),this.migrationToastPayload=s,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const s=this.pendingMigrationToastPayload;s&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(s))}renderMigrationToastContent(){const s=this.migrationToastPayload;!this.migrationToastRoot||!s||this.migrationToastRoot.render(te.createElement(ic,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof s.brandColor=="string"?s.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(s.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const s=this.migrationToastRoot,c=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!s||!c)&&setTimeout(()=>{s.unmount(),c.remove()},0)}scheduleHeightChange(s,c){const u=this.heightChangeTimeouts.get(s);u&&clearTimeout(u.timeoutId);const y=setTimeout(()=>{this.heightChangeTimeouts.delete(s),this.applyHeightWithTransition(s,c)},ht.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(s,{timeoutId:y,height:c})}applyHeightWithTransition(s,c){const u=s.style.height?parseFloat(s.style.height):NaN;if(c===0)this.collapsedMinHeights.has(s)||this.collapsedMinHeights.set(s,s.style.minHeight),s.style.minHeight="0px";else{const y=this.collapsedMinHeights.get(s);y!==void 0&&(s.style.minHeight=y,this.collapsedMinHeights.delete(s))}u!==c&&(s.style.transition=`height ${ht.HEIGHT_TRANSITION_MS}ms ease-out`,s.style.height=`${c}px`)}scheduleInlineSkeletonFallback(s,c){if(!this.inlineSkeletons.has(s))return;const u=this.inlineSkeletonFallbackTimeouts.get(s);u&&clearTimeout(u);const y=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(s),this.inlineSkeletons.has(s)&&(this.removeInlineSkeleton(s),this.inlineIframes.get(s)===!0&&(console.warn("[apollos-embed] inline feed revealed without a height report; retrying init",s.src),this.sendInlineIframeInit(s)))},c);this.inlineSkeletonFallbackTimeouts.set(s,y)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const s=this.config.baseUrl||"https://apollos.com",c=new URL(s).origin;this.ensureLegacyFeatureFeedIframes(s),document.querySelectorAll("iframe").forEach(u=>{if(this.isInlineEmbed(u,c)){const{allowChanged:y}=Sc(u),C=this.applyInlineIframeUrlParams(u);y&&!C&&(u.src=u.src);const L=C||y;this.inlineIframes.set(u,!1),this.createInlineSkeleton(u),L||this.sendInlineIframeInit(u)}})}applyLegacySearchGlobals(){const s=[...document.querySelectorAll("[data-search-feed]")].map(y=>(y.getAttribute("data-search-feed")??"").trim()).find(y=>y.length>0);s&&(this.config.feedId=s);const c=[...document.querySelectorAll("[data-placeholder]")].map(y=>(y.getAttribute("data-placeholder")??"").trim()).find(y=>y.length>0);c&&(this.config.askBarLabel=c);const u=[...document.querySelectorAll(".apollos-widget, [clas='apollos-widget']")].filter(y=>ht.isLegacySearchLikeWidget(y));u.length&&(this.askBarHosts=u,this.config.showAskBar=!0)}static isLegacySearchLikeWidget(s){const c=(s.getAttribute("data-type")??"").trim();return!(c==="FeatureFeed"||c==="Ask"||c==="Donation")}ensureLegacyFeatureFeedIframes(s){const c=s.replace(/\/+$/,"");document.querySelectorAll(".apollos-widget, [clas='apollos-widget']").forEach(u=>{if(u.getAttribute("data-type")!=="FeatureFeed"||u.querySelector("iframe"))return;const y=Vo(u.getAttribute("data-feature-feed")??"");if(!y)return;const C=document.createElement("iframe");C.title="Feed",C.setAttribute("style",`width: 100%; min-height: ${ht.INLINE_MIN_HEIGHT_PX}px; border: none; overflow: hidden`);const L=u.getAttribute("data-apollos-theme");(L==="light"||L==="dark"||L==="auto")&&C.setAttribute("data-apollos-theme",L);const O=new URL(`${c}/${this.config.slug}/f/${y}`);O.searchParams.set("embedMode","inline"),O.searchParams.set("theme",this.getIframeTheme(C)),C.src=O.toString(),u.appendChild(C)})}isInlineEmbed(s,c){const u=s.src;if(!u||s.hasAttribute(Bo.PROBE_ATTRIBUTE))return!1;try{const y=new URL(u);return!(y.origin!==c||!y.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(s){const c=s.src;if(!c)return!1;try{const u=new URL(c);return u.searchParams.get("embedMode")==="inline"?!1:(u.searchParams.set("embedMode","inline"),u.searchParams.set("theme",this.getIframeTheme(s)),s.src=u.toString(),!0)}catch{return!1}}sendInlineIframeInit(s){const c=this.config.baseUrl||"https://apollos.com",u=new URL(c).origin;Un(s,{type:Dn.EMBED_INIT,payload:{theme:this.getIframeTheme(s),showExpandButton:!1,isFullscreen:!1,mode:"inline"}},u)}sendThemeToInlineIframes(){const s=this.config.baseUrl||"https://apollos.com",c=new URL(s).origin;this.inlineIframes.forEach((u,y)=>{if(!u)return;const C=this.readIframeThemeAttribute(y);C==="light"||C==="dark"||C!=="auto"&&this.config.themeMode!=="auto"||Un(y,{type:Dn.THEME_CHANGED,payload:{theme:this.getIframeTheme(y)}},c)})}checkDeepLinkParams(){const s=new URLSearchParams(window.location.search),c=this.getDeepLinkModalOptions(s),u=s.get("a");if(u){this.openWithFullscreenDefault(u,c),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const y=s.get("apollosId")?"apollosId":s.get("id")?"id":null,C=y?s.get(y):null;if(C&&y){const L=Ho(C);if(L&&Wo(L.randomId)){const O=$o(L.type);this.openWithFullscreenDefault(`${O}/${C}`,{fullscreen:!0}),this.stripConsumedDeepLinkParams([y]);return}}this.checkPathDeepLink()}checkPathDeepLink(){const s=/^\/a([cf])\/([^/]+)\/?$/.exec(window.location.pathname);if(!s)return;const[,c,u]=s,y=xc(u).trim();if(!y)return;if(c==="f"){const L=Vo(y);if(!L)return;this.openWithFullscreenDefault(`/f/${L}`,{fullscreen:!0});return}const C=Ho(y);!C||!Wo(C.randomId)||this.openWithFullscreenDefault(`${$o(C.type)}/${y}`,{fullscreen:!0})}stripConsumedDeepLinkParams(s){if(typeof window>"u"||!window.history?.replaceState)return;const c=new URL(window.location.href);let u=!1;for(const y of s)c.searchParams.has(y)&&(c.searchParams.delete(y),u=!0);u&&window.history.replaceState(window.history.state,"",c.pathname+c.search+c.hash)}open(s,c){this.openInternal(s,c,c?.fullscreen!==void 0)}openWithFullscreenDefault(s,c){const u=c?.fullscreen!==void 0;this.openInternal(s,{fullscreen:c?.fullscreen??!0,modalSize:c?.modalSize},u)}openInternal(s,c,u=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=u,s&&(this.state.currentPath=s),this.state.isOpen=!0,this.state.modalSize=c?.modalSize??"default",this.state.modalFitContent=!1,c?.fullscreen===!0?this.state.isFullscreen=!0:c?.fullscreen===!1?this.state.isFullscreen=!1:this.config.defaultFullscreen===!0&&(this.state.isFullscreen=!0),this.render(),this.config.onOpen?.()}getDeepLinkModalOptions(s){const c=this.parseModalSize(s.get("apollosModalSize")),u=this.parseBoolean(s.get("apollosFullscreen"));if(!(c===void 0&&u===void 0))return{modalSize:c,fullscreen:u}}parseModalSize(s){if(s==="default"||s==="medium"||s==="large"||s==="small")return s}parseBoolean(s){if(s==="true")return!0;if(s==="false")return!1}close(){this.hasExplicitFullscreenSelection=!1,this.state.isOpen=!1,this.state.isFullscreen=!1,this.state.modalSize="default",this.state.modalFitContent=!1,this.render(),this.config.onClose?.(),this.renderPendingMigrationToast()}toggle(){this.state.isOpen?this.close():this.open()}navigate(s){this.state.currentPath=s,this.render(),this.config.onNavigate?.(s)}isOpen(){return this.state.isOpen}destroy(){this.destroyed=!0,this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=null),this.removeAskBar(),this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:s})=>clearTimeout(s)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(s=>clearTimeout(s)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(s=>{this.removeInlineSkeleton(s)}),this.root&&(this.root.unmount(),this.root=null),this.container&&(this.container.remove(),this.container=null)}getState(){return{...this.state}}getConfig(){return{...this.config}}createInlineSkeleton(s){if(this.inlineSkeletons.has(s))return;const c=s.parentElement;if(c){if(ht.ensureSkeletonStyles(),(this.config.wrapperStyle??"card")==="transparent"){const u=this.buildTransparentSkeleton(s,c);c.insertBefore(u,s),this.inlineSkeletonIframeDisplay.set(s,s.style.display),s.style.display="none",this.inlineSkeletons.set(s,u)}else{const u=this.buildCardSkeleton(),y=window.getComputedStyle(c);y.position==="static"&&(this.inlineSkeletonParentRestore.set(s,{parent:c,originalPosition:y.position}),c.style.position="relative"),c.appendChild(u),s.style.visibility="hidden",this.inlineSkeletons.set(s,u)}this.scheduleInlineSkeletonFallback(s,ht.INLINE_SKELETON_FALLBACK_MS)}}buildCardSkeleton(){const s=document.createElement("div");s.setAttribute("aria-busy","true"),s.style.position="absolute",s.style.inset="0",s.style.display="flex",s.style.alignItems="stretch",s.style.justifyContent="flex-start",s.style.pointerEvents="none";const c=document.createElement("div");c.style.borderRadius="12px",c.style.padding="74px 24px 20px 24px",c.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",c.style.minHeight="360px",c.style.display="flex",c.style.flexDirection="column",c.style.justifyContent="flex-start",c.style.gap="0",c.style.width="100%",c.style.maxWidth="100%";const u=this.state.resolvedTheme==="dark";c.style.backgroundColor=u?"#111827":"#f3f4f6";const y=(R,$,Q)=>{const F=document.createElement("div");return F.style.height=`${R}px`,F.style.borderRadius=`${$}px`,F.style.backgroundColor=u?"#374151":"#ffffff",F.style.width="100%",F.style.marginBottom=`${Q}px`,F.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",F},C=y(68,8,12),L=y(56,8,24),O=document.createElement("div");return O.style.height="50px",O.style.width="100%",O.style.borderRadius="12px",O.style.backgroundColor=u?"#374151":"#ffffff",O.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",c.appendChild(C),c.appendChild(L),c.appendChild(O),s.appendChild(c),s}buildTransparentSkeleton(s,c){const u=kc,y=c.getBoundingClientRect().width,C=this.getIframeTheme(s)==="dark",L=Number.isFinite(y)?y>=u.threeColumnsFrom?3:y>=u.twoColumnsFrom?2:1:1,O=y>=u.wideFrom?u.sideInsetWide:u.sideInset,R=u.lines.reduce((W,Z)=>W+Z.top+Z.height,0),$=document.createElement("div");$.setAttribute("aria-busy","true"),$.style.width="100%",$.style.boxSizing="border-box",$.style.padding=`0 ${O}px ${u.belowImages-R}px`,$.style.pointerEvents="none";const Q=W=>{const Z=document.createElement("div");return Object.assign(Z.style,W,{backgroundColor:C?"#334155":"#e2e8f0",animation:"apls-inline-skeleton-pulse 1.4s ease-in-out infinite"}),Z};$.appendChild(Q({height:`${u.headingHeight}px`,width:u.headingWidth,borderRadius:"8px"}));const F=document.createElement("div");F.style.display="grid",F.style.gridTemplateColumns=`repeat(${L}, minmax(0, 1fr))`,F.style.columnGap=`${u.columnGap}px`,F.style.marginTop=`${u.imageTop-u.headingHeight}px`;for(let W=0;W<L;W++){const Z=document.createElement("div");Z.appendChild(Q({aspectRatio:"16 / 9",borderRadius:`${u.imageRadius}px`}));for(const re of u.lines)Z.appendChild(Q({height:`${re.height}px`,width:re.width,borderRadius:"6px",marginTop:`${re.top}px`}));F.appendChild(Z)}return $.appendChild(F),$}removeInlineSkeleton(s){const c=this.inlineSkeletons.get(s);c&&c.parentElement&&c.parentElement.removeChild(c),this.inlineSkeletons.delete(s);const u=this.inlineSkeletonFallbackTimeouts.get(s);u&&(clearTimeout(u),this.inlineSkeletonFallbackTimeouts.delete(s)),this.inlineSkeletonIframeDisplay.has(s)?(s.style.display=this.inlineSkeletonIframeDisplay.get(s)??"",this.inlineSkeletonIframeDisplay.delete(s)):s.style.visibility="";const y=this.inlineSkeletonParentRestore.get(s);y&&(y.parent.style.position=y.originalPosition,this.inlineSkeletonParentRestore.delete(s))}static ensureSkeletonStyles(){if(ht.hasInjectedSkeletonStyles||typeof document>"u")return;const s=document.createElement("style");s.textContent=`
10
11
  @keyframes apls-inline-skeleton-pulse {
11
12
  0%, 100% { opacity: 0.55; }
12
13
  50% { opacity: 1; }
13
14
  }
14
- `,document.head.appendChild(u),tt.hasInjectedSkeletonStyles=!0}}let we=null;const fn={init(v){we&&(console.warn("ApollosEmbed: Already initialized. Destroying previous instance."),we.destroy()),we=new tt(v)},open(v,u){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.open(v,u)},close(){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.close()},toggle(){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.toggle()},navigate(v){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.navigate(v)},isOpen(){return we?we.isOpen():!1},getState(){return we?we.getState():null},getConfig(){return we?we.getConfig():null},destroy(){we&&(we.destroy(),we=null)}};if(typeof window<"u"&&(window.ApollosEmbed=fn),typeof window<"u"){const v=window;v.apollos&&v.apollos.q&&v.apollos.q.forEach(u=>{const[s,...m]=u;s==="init"&&m[0]?fn.init(m[0]):s==="open"&&fn.open(m[0],m[1])}),v.apollos=function(u,...s){u==="init"&&s[0]?fn.init(s[0]):u==="open"&&fn.open(s[0],s[1])}}return fn})();
15
+ `,document.head.appendChild(s),ht.hasInjectedSkeletonStyles=!0}},we=null,dn={init(p){we&&(console.warn("ApollosEmbed: Already initialized. Destroying previous instance."),we.destroy()),we=new _c(p)},open(p,s){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.open(p,s)},close(){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.close()},toggle(){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.toggle()},navigate(p){if(!we)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");we.navigate(p)},isOpen(){return we?we.isOpen():!1},getState(){return we?we.getState():null},getConfig(){return we?we.getConfig():null},destroy(){we&&(we.destroy(),we=null)}};if(typeof window<"u"&&(window.ApollosEmbed=dn),typeof window<"u"){const p=window;p.apollos&&p.apollos.q&&p.apollos.q.forEach(s=>{const[c,...u]=s;c==="init"&&u[0]?dn.init(u[0]):c==="open"&&dn.open(u[0],u[1])}),p.apollos=function(s,...c){s==="init"&&c[0]?dn.init(c[0]):s==="open"&&dn.open(c[0],c[1])}}return dn})();