@apollosproject/web-embeds 0.1.518 → 0.1.520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/widget/embed.js +5 -5
package/package.json
CHANGED
package/widget/embed.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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)}: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:Inter,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-\\[360px\\]{min-height:360px}.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 Ya(k){return k&&k.__esModule&&Object.prototype.hasOwnProperty.call(k,"default")?k.default:k}var jl={exports:{}},H={};var Ho;function Xa(){if(Ho)return H;Ho=1;var k=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),F=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),B=Symbol.iterator;function K(d){return d===null||typeof d!="object"?null:(d=B&&d[B]||d["@@iterator"],typeof d=="function"?d:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Le=Object.assign,q={};function Y(d,y,j){this.props=d,this.context=y,this.refs=q,this.updater=j||ee}Y.prototype.isReactComponent={},Y.prototype.setState=function(d,y){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,y,"setState")},Y.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function we(){}we.prototype=Y.prototype;function Ue(d,y,j){this.props=d,this.context=y,this.refs=q,this.updater=j||ee}var Oe=Ue.prototype=new we;Oe.constructor=Ue,Le(Oe,Y.prototype),Oe.isPureReactComponent=!0;var he=Array.isArray,Re=Object.prototype.hasOwnProperty,me={current:null},Ce={key:!0,ref:!0,__self:!0,__source:!0};function b(d,y,j){var W,X={},Z=null,le=null;if(y!=null)for(W in y.ref!==void 0&&(le=y.ref),y.key!==void 0&&(Z=""+y.key),y)Re.call(y,W)&&!Ce.hasOwnProperty(W)&&(X[W]=y[W]);var te=arguments.length-2;if(te===1)X.children=j;else if(1<te){for(var se=Array(te),Xe=0;Xe<te;Xe++)se[Xe]=arguments[Xe+2];X.children=se}if(d&&d.defaultProps)for(W in te=d.defaultProps,te)X[W]===void 0&&(X[W]=te[W]);return{$$typeof:k,type:d,key:Z,ref:le,props:X,_owner:me.current}}function ze(d,y){return{$$typeof:k,type:d.type,key:y,ref:d.ref,props:d.props,_owner:d._owner}}function st(d){return typeof d=="object"&&d!==null&&d.$$typeof===k}function xt(d){var y={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(j){return y[j]})}var et=/\/+/g;function je(d,y){return typeof d=="object"&&d!==null&&d.key!=null?xt(""+d.key):y.toString(36)}function Ye(d,y,j,W,X){var Z=typeof d;(Z==="undefined"||Z==="boolean")&&(d=null);var le=!1;if(d===null)le=!0;else switch(Z){case"string":case"number":le=!0;break;case"object":switch(d.$$typeof){case k:case a:le=!0}}if(le)return le=d,X=X(le),d=W===""?"."+je(le,0):W,he(X)?(j="",d!=null&&(j=d.replace(et,"$&/")+"/"),Ye(X,y,j,"",function(Xe){return Xe})):X!=null&&(st(X)&&(X=ze(X,j+(!X.key||le&&le.key===X.key?"":(""+X.key).replace(et,"$&/")+"/")+d)),y.push(X)),1;if(le=0,W=W===""?".":W+":",he(d))for(var te=0;te<d.length;te++){Z=d[te];var se=W+je(Z,te);le+=Ye(Z,y,j,se,X)}else if(se=K(d),typeof se=="function")for(d=se.call(d),te=0;!(Z=d.next()).done;)Z=Z.value,se=W+je(Z,te++),le+=Ye(Z,y,j,se,X);else if(Z==="object")throw y=String(d),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.");return le}function tt(d,y,j){if(d==null)return d;var W=[],X=0;return Ye(d,W,"","",function(Z){return y.call(j,Z,X++)}),W}function re(d){if(d._status===-1){var y=d._result;y=y(),y.then(function(j){(d._status===0||d._status===-1)&&(d._status=1,d._result=j)},function(j){(d._status===0||d._status===-1)&&(d._status=2,d._result=j)}),d._status===-1&&(d._status=0,d._result=y)}if(d._status===1)return d._result.default;throw d._result}var $={current:null},x={transition:null},D={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:x,ReactCurrentOwner:me};function P(){throw Error("act(...) is not supported in production builds of React.")}return H.Children={map:tt,forEach:function(d,y,j){tt(d,function(){y.apply(this,arguments)},j)},count:function(d){var y=0;return tt(d,function(){y++}),y},toArray:function(d){return tt(d,function(y){return y})||[]},only:function(d){if(!st(d))throw Error("React.Children.only expected to receive a single React element child.");return d}},H.Component=Y,H.Fragment=s,H.Profiler=C,H.PureComponent=Ue,H.StrictMode=v,H.Suspense=R,H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,H.act=P,H.cloneElement=function(d,y,j){if(d==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+d+".");var W=Le({},d.props),X=d.key,Z=d.ref,le=d._owner;if(y!=null){if(y.ref!==void 0&&(Z=y.ref,le=me.current),y.key!==void 0&&(X=""+y.key),d.type&&d.type.defaultProps)var te=d.type.defaultProps;for(se in y)Re.call(y,se)&&!Ce.hasOwnProperty(se)&&(W[se]=y[se]===void 0&&te!==void 0?te[se]:y[se])}var se=arguments.length-2;if(se===1)W.children=j;else if(1<se){te=Array(se);for(var Xe=0;Xe<se;Xe++)te[Xe]=arguments[Xe+2];W.children=te}return{$$typeof:k,type:d.type,key:X,ref:Z,props:W,_owner:le}},H.createContext=function(d){return d={$$typeof:F,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},d.Provider={$$typeof:N,_context:d},d.Consumer=d},H.createElement=b,H.createFactory=function(d){var y=b.bind(null,d);return y.type=d,y},H.createRef=function(){return{current:null}},H.forwardRef=function(d){return{$$typeof:U,render:d}},H.isValidElement=st,H.lazy=function(d){return{$$typeof:Q,_payload:{_status:-1,_result:d},_init:re}},H.memo=function(d,y){return{$$typeof:V,type:d,compare:y===void 0?null:y}},H.startTransition=function(d){var y=x.transition;x.transition={};try{d()}finally{x.transition=y}},H.unstable_act=P,H.useCallback=function(d,y){return $.current.useCallback(d,y)},H.useContext=function(d){return $.current.useContext(d)},H.useDebugValue=function(){},H.useDeferredValue=function(d){return $.current.useDeferredValue(d)},H.useEffect=function(d,y){return $.current.useEffect(d,y)},H.useId=function(){return $.current.useId()},H.useImperativeHandle=function(d,y,j){return $.current.useImperativeHandle(d,y,j)},H.useInsertionEffect=function(d,y){return $.current.useInsertionEffect(d,y)},H.useLayoutEffect=function(d,y){return $.current.useLayoutEffect(d,y)},H.useMemo=function(d,y){return $.current.useMemo(d,y)},H.useReducer=function(d,y,j){return $.current.useReducer(d,y,j)},H.useRef=function(d){return $.current.useRef(d)},H.useState=function(d){return $.current.useState(d)},H.useSyncExternalStore=function(d,y,j){return $.current.useSyncExternalStore(d,y,j)},H.useTransition=function(){return $.current.useTransition()},H.version="18.3.1",H}var Bo;function Hl(){return Bo||(Bo=1,jl.exports=Xa()),jl.exports}var ce=Hl();const An=Ya(ce);var Pr={},Bl={exports:{}},We={},Wl={exports:{}},Vl={};var Wo;function Za(){return Wo||(Wo=1,(function(k){function a(x,D){var P=x.length;x.push(D);e:for(;0<P;){var d=P-1>>>1,y=x[d];if(0<C(y,D))x[d]=D,x[P]=y,P=d;else break e}}function s(x){return x.length===0?null:x[0]}function v(x){if(x.length===0)return null;var D=x[0],P=x.pop();if(P!==D){x[0]=P;e:for(var d=0,y=x.length,j=y>>>1;d<j;){var W=2*(d+1)-1,X=x[W],Z=W+1,le=x[Z];if(0>C(X,P))Z<y&&0>C(le,X)?(x[d]=le,x[Z]=P,d=Z):(x[d]=X,x[W]=P,d=W);else if(Z<y&&0>C(le,P))x[d]=le,x[Z]=P,d=Z;else break e}}return D}function C(x,D){var P=x.sortIndex-D.sortIndex;return P!==0?P:x.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var N=performance;k.unstable_now=function(){return N.now()}}else{var F=Date,U=F.now();k.unstable_now=function(){return F.now()-U}}var R=[],V=[],Q=1,B=null,K=3,ee=!1,Le=!1,q=!1,Y=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,Ue=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(x){for(var D=s(V);D!==null;){if(D.callback===null)v(V);else if(D.startTime<=x)v(V),D.sortIndex=D.expirationTime,a(R,D);else break;D=s(V)}}function he(x){if(q=!1,Oe(x),!Le)if(s(R)!==null)Le=!0,re(Re);else{var D=s(V);D!==null&&$(he,D.startTime-x)}}function Re(x,D){Le=!1,q&&(q=!1,we(b),b=-1),ee=!0;var P=K;try{for(Oe(D),B=s(R);B!==null&&(!(B.expirationTime>D)||x&&!xt());){var d=B.callback;if(typeof d=="function"){B.callback=null,K=B.priorityLevel;var y=d(B.expirationTime<=D);D=k.unstable_now(),typeof y=="function"?B.callback=y:B===s(R)&&v(R),Oe(D)}else v(R);B=s(R)}if(B!==null)var j=!0;else{var W=s(V);W!==null&&$(he,W.startTime-D),j=!1}return j}finally{B=null,K=P,ee=!1}}var me=!1,Ce=null,b=-1,ze=5,st=-1;function xt(){return!(k.unstable_now()-st<ze)}function et(){if(Ce!==null){var x=k.unstable_now();st=x;var D=!0;try{D=Ce(!0,x)}finally{D?je():(me=!1,Ce=null)}}else me=!1}var je;if(typeof Ue=="function")je=function(){Ue(et)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,tt=Ye.port2;Ye.port1.onmessage=et,je=function(){tt.postMessage(null)}}else je=function(){Y(et,0)};function re(x){Ce=x,me||(me=!0,je())}function $(x,D){b=Y(function(){x(k.unstable_now())},D)}k.unstable_IdlePriority=5,k.unstable_ImmediatePriority=1,k.unstable_LowPriority=4,k.unstable_NormalPriority=3,k.unstable_Profiling=null,k.unstable_UserBlockingPriority=2,k.unstable_cancelCallback=function(x){x.callback=null},k.unstable_continueExecution=function(){Le||ee||(Le=!0,re(Re))},k.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ze=0<x?Math.floor(1e3/x):5},k.unstable_getCurrentPriorityLevel=function(){return K},k.unstable_getFirstCallbackNode=function(){return s(R)},k.unstable_next=function(x){switch(K){case 1:case 2:case 3:var D=3;break;default:D=K}var P=K;K=D;try{return x()}finally{K=P}},k.unstable_pauseExecution=function(){},k.unstable_requestPaint=function(){},k.unstable_runWithPriority=function(x,D){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var P=K;K=x;try{return D()}finally{K=P}},k.unstable_scheduleCallback=function(x,D,P){var d=k.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?d+P:d):P=d,x){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=P+y,x={id:Q++,callback:D,priorityLevel:x,startTime:P,expirationTime:y,sortIndex:-1},P>d?(x.sortIndex=P,a(V,x),s(R)===null&&x===s(V)&&(q?(we(b),b=-1):q=!0,$(he,P-d))):(x.sortIndex=y,a(R,x),Le||ee||(Le=!0,re(Re))),x},k.unstable_shouldYield=xt,k.unstable_wrapCallback=function(x){var D=K;return function(){var P=K;K=D;try{return x.apply(this,arguments)}finally{K=P}}}})(Vl)),Vl}var Vo;function Ja(){return Vo||(Vo=1,Wl.exports=Za()),Wl.exports}var Qo;function qa(){if(Qo)return We;Qo=1;var k=Hl(),a=Ja();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 v=new Set,C={};function N(e,t){F(e,t),F(e+"Capture",t)}function F(e,t){for(C[e]=t,e=0;e<t.length;e++)v.add(t[e])}var U=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R=Object.prototype.hasOwnProperty,V=/^[: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={},B={};function K(e){return R.call(B,e)?!0:R.call(Q,e)?!1:V.test(e)?B[e]=!0:(Q[e]=!0,!1)}function ee(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 Le(e,t,n,r){if(t===null||typeof t>"u"||ee(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 q(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 Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new q(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new q(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new q(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new q(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){Y[e]=new q(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new q(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Y[e]=new q(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new q(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new q(e,5,!1,e.toLowerCase(),null,!1,!1)});var we=/[\-:]([a-z])/g;function Ue(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(we,Ue);Y[t]=new q(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(we,Ue);Y[t]=new q(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(we,Ue);Y[t]=new q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!1,!1)}),Y.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oe(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Le(t,n,l,r)&&(n=null),r||l===null?K(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 he=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),me=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),ze=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),xt=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),x=Symbol.iterator;function D(e){return e===null||typeof e!="object"?null:(e=x&&e[x]||e["@@iterator"],typeof e=="function"?e:null)}var P=Object.assign,d;function y(e){if(d===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);d=t&&t[1]||""}return`
|
|
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)}: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:Inter,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 Ya(k){return k&&k.__esModule&&Object.prototype.hasOwnProperty.call(k,"default")?k.default:k}var jl={exports:{}},H={};var Ho;function Xa(){if(Ho)return H;Ho=1;var k=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),D=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),B=Symbol.iterator;function K(d){return d===null||typeof d!="object"?null:(d=B&&d[B]||d["@@iterator"],typeof d=="function"?d:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Le=Object.assign,q={};function Y(d,y,j){this.props=d,this.context=y,this.refs=q,this.updater=j||ee}Y.prototype.isReactComponent={},Y.prototype.setState=function(d,y){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,y,"setState")},Y.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function we(){}we.prototype=Y.prototype;function Ue(d,y,j){this.props=d,this.context=y,this.refs=q,this.updater=j||ee}var Oe=Ue.prototype=new we;Oe.constructor=Ue,Le(Oe,Y.prototype),Oe.isPureReactComponent=!0;var he=Array.isArray,Re=Object.prototype.hasOwnProperty,me={current:null},Ce={key:!0,ref:!0,__self:!0,__source:!0};function b(d,y,j){var W,X={},Z=null,le=null;if(y!=null)for(W in y.ref!==void 0&&(le=y.ref),y.key!==void 0&&(Z=""+y.key),y)Re.call(y,W)&&!Ce.hasOwnProperty(W)&&(X[W]=y[W]);var te=arguments.length-2;if(te===1)X.children=j;else if(1<te){for(var ae=Array(te),Xe=0;Xe<te;Xe++)ae[Xe]=arguments[Xe+2];X.children=ae}if(d&&d.defaultProps)for(W in te=d.defaultProps,te)X[W]===void 0&&(X[W]=te[W]);return{$$typeof:k,type:d,key:Z,ref:le,props:X,_owner:me.current}}function ze(d,y){return{$$typeof:k,type:d.type,key:y,ref:d.ref,props:d.props,_owner:d._owner}}function st(d){return typeof d=="object"&&d!==null&&d.$$typeof===k}function xt(d){var y={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(j){return y[j]})}var et=/\/+/g;function je(d,y){return typeof d=="object"&&d!==null&&d.key!=null?xt(""+d.key):y.toString(36)}function Ye(d,y,j,W,X){var Z=typeof d;(Z==="undefined"||Z==="boolean")&&(d=null);var le=!1;if(d===null)le=!0;else switch(Z){case"string":case"number":le=!0;break;case"object":switch(d.$$typeof){case k:case a:le=!0}}if(le)return le=d,X=X(le),d=W===""?"."+je(le,0):W,he(X)?(j="",d!=null&&(j=d.replace(et,"$&/")+"/"),Ye(X,y,j,"",function(Xe){return Xe})):X!=null&&(st(X)&&(X=ze(X,j+(!X.key||le&&le.key===X.key?"":(""+X.key).replace(et,"$&/")+"/")+d)),y.push(X)),1;if(le=0,W=W===""?".":W+":",he(d))for(var te=0;te<d.length;te++){Z=d[te];var ae=W+je(Z,te);le+=Ye(Z,y,j,ae,X)}else if(ae=K(d),typeof ae=="function")for(d=ae.call(d),te=0;!(Z=d.next()).done;)Z=Z.value,ae=W+je(Z,te++),le+=Ye(Z,y,j,ae,X);else if(Z==="object")throw y=String(d),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.");return le}function tt(d,y,j){if(d==null)return d;var W=[],X=0;return Ye(d,W,"","",function(Z){return y.call(j,Z,X++)}),W}function re(d){if(d._status===-1){var y=d._result;y=y(),y.then(function(j){(d._status===0||d._status===-1)&&(d._status=1,d._result=j)},function(j){(d._status===0||d._status===-1)&&(d._status=2,d._result=j)}),d._status===-1&&(d._status=0,d._result=y)}if(d._status===1)return d._result.default;throw d._result}var $={current:null},x={transition:null},F={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:x,ReactCurrentOwner:me};function P(){throw Error("act(...) is not supported in production builds of React.")}return H.Children={map:tt,forEach:function(d,y,j){tt(d,function(){y.apply(this,arguments)},j)},count:function(d){var y=0;return tt(d,function(){y++}),y},toArray:function(d){return tt(d,function(y){return y})||[]},only:function(d){if(!st(d))throw Error("React.Children.only expected to receive a single React element child.");return d}},H.Component=Y,H.Fragment=s,H.Profiler=C,H.PureComponent=Ue,H.StrictMode=v,H.Suspense=R,H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,H.act=P,H.cloneElement=function(d,y,j){if(d==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+d+".");var W=Le({},d.props),X=d.key,Z=d.ref,le=d._owner;if(y!=null){if(y.ref!==void 0&&(Z=y.ref,le=me.current),y.key!==void 0&&(X=""+y.key),d.type&&d.type.defaultProps)var te=d.type.defaultProps;for(ae in y)Re.call(y,ae)&&!Ce.hasOwnProperty(ae)&&(W[ae]=y[ae]===void 0&&te!==void 0?te[ae]:y[ae])}var ae=arguments.length-2;if(ae===1)W.children=j;else if(1<ae){te=Array(ae);for(var Xe=0;Xe<ae;Xe++)te[Xe]=arguments[Xe+2];W.children=te}return{$$typeof:k,type:d.type,key:X,ref:Z,props:W,_owner:le}},H.createContext=function(d){return d={$$typeof:D,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},d.Provider={$$typeof:N,_context:d},d.Consumer=d},H.createElement=b,H.createFactory=function(d){var y=b.bind(null,d);return y.type=d,y},H.createRef=function(){return{current:null}},H.forwardRef=function(d){return{$$typeof:U,render:d}},H.isValidElement=st,H.lazy=function(d){return{$$typeof:Q,_payload:{_status:-1,_result:d},_init:re}},H.memo=function(d,y){return{$$typeof:V,type:d,compare:y===void 0?null:y}},H.startTransition=function(d){var y=x.transition;x.transition={};try{d()}finally{x.transition=y}},H.unstable_act=P,H.useCallback=function(d,y){return $.current.useCallback(d,y)},H.useContext=function(d){return $.current.useContext(d)},H.useDebugValue=function(){},H.useDeferredValue=function(d){return $.current.useDeferredValue(d)},H.useEffect=function(d,y){return $.current.useEffect(d,y)},H.useId=function(){return $.current.useId()},H.useImperativeHandle=function(d,y,j){return $.current.useImperativeHandle(d,y,j)},H.useInsertionEffect=function(d,y){return $.current.useInsertionEffect(d,y)},H.useLayoutEffect=function(d,y){return $.current.useLayoutEffect(d,y)},H.useMemo=function(d,y){return $.current.useMemo(d,y)},H.useReducer=function(d,y,j){return $.current.useReducer(d,y,j)},H.useRef=function(d){return $.current.useRef(d)},H.useState=function(d){return $.current.useState(d)},H.useSyncExternalStore=function(d,y,j){return $.current.useSyncExternalStore(d,y,j)},H.useTransition=function(){return $.current.useTransition()},H.version="18.3.1",H}var Bo;function Hl(){return Bo||(Bo=1,jl.exports=Xa()),jl.exports}var se=Hl();const An=Ya(se);var Pr={},Bl={exports:{}},We={},Wl={exports:{}},Vl={};var Wo;function Za(){return Wo||(Wo=1,(function(k){function a(x,F){var P=x.length;x.push(F);e:for(;0<P;){var d=P-1>>>1,y=x[d];if(0<C(y,F))x[d]=F,x[P]=y,P=d;else break e}}function s(x){return x.length===0?null:x[0]}function v(x){if(x.length===0)return null;var F=x[0],P=x.pop();if(P!==F){x[0]=P;e:for(var d=0,y=x.length,j=y>>>1;d<j;){var W=2*(d+1)-1,X=x[W],Z=W+1,le=x[Z];if(0>C(X,P))Z<y&&0>C(le,X)?(x[d]=le,x[Z]=P,d=Z):(x[d]=X,x[W]=P,d=W);else if(Z<y&&0>C(le,P))x[d]=le,x[Z]=P,d=Z;else break e}}return F}function C(x,F){var P=x.sortIndex-F.sortIndex;return P!==0?P:x.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var N=performance;k.unstable_now=function(){return N.now()}}else{var D=Date,U=D.now();k.unstable_now=function(){return D.now()-U}}var R=[],V=[],Q=1,B=null,K=3,ee=!1,Le=!1,q=!1,Y=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,Ue=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(x){for(var F=s(V);F!==null;){if(F.callback===null)v(V);else if(F.startTime<=x)v(V),F.sortIndex=F.expirationTime,a(R,F);else break;F=s(V)}}function he(x){if(q=!1,Oe(x),!Le)if(s(R)!==null)Le=!0,re(Re);else{var F=s(V);F!==null&&$(he,F.startTime-x)}}function Re(x,F){Le=!1,q&&(q=!1,we(b),b=-1),ee=!0;var P=K;try{for(Oe(F),B=s(R);B!==null&&(!(B.expirationTime>F)||x&&!xt());){var d=B.callback;if(typeof d=="function"){B.callback=null,K=B.priorityLevel;var y=d(B.expirationTime<=F);F=k.unstable_now(),typeof y=="function"?B.callback=y:B===s(R)&&v(R),Oe(F)}else v(R);B=s(R)}if(B!==null)var j=!0;else{var W=s(V);W!==null&&$(he,W.startTime-F),j=!1}return j}finally{B=null,K=P,ee=!1}}var me=!1,Ce=null,b=-1,ze=5,st=-1;function xt(){return!(k.unstable_now()-st<ze)}function et(){if(Ce!==null){var x=k.unstable_now();st=x;var F=!0;try{F=Ce(!0,x)}finally{F?je():(me=!1,Ce=null)}}else me=!1}var je;if(typeof Ue=="function")je=function(){Ue(et)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,tt=Ye.port2;Ye.port1.onmessage=et,je=function(){tt.postMessage(null)}}else je=function(){Y(et,0)};function re(x){Ce=x,me||(me=!0,je())}function $(x,F){b=Y(function(){x(k.unstable_now())},F)}k.unstable_IdlePriority=5,k.unstable_ImmediatePriority=1,k.unstable_LowPriority=4,k.unstable_NormalPriority=3,k.unstable_Profiling=null,k.unstable_UserBlockingPriority=2,k.unstable_cancelCallback=function(x){x.callback=null},k.unstable_continueExecution=function(){Le||ee||(Le=!0,re(Re))},k.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ze=0<x?Math.floor(1e3/x):5},k.unstable_getCurrentPriorityLevel=function(){return K},k.unstable_getFirstCallbackNode=function(){return s(R)},k.unstable_next=function(x){switch(K){case 1:case 2:case 3:var F=3;break;default:F=K}var P=K;K=F;try{return x()}finally{K=P}},k.unstable_pauseExecution=function(){},k.unstable_requestPaint=function(){},k.unstable_runWithPriority=function(x,F){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var P=K;K=x;try{return F()}finally{K=P}},k.unstable_scheduleCallback=function(x,F,P){var d=k.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?d+P:d):P=d,x){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=P+y,x={id:Q++,callback:F,priorityLevel:x,startTime:P,expirationTime:y,sortIndex:-1},P>d?(x.sortIndex=P,a(V,x),s(R)===null&&x===s(V)&&(q?(we(b),b=-1):q=!0,$(he,P-d))):(x.sortIndex=y,a(R,x),Le||ee||(Le=!0,re(Re))),x},k.unstable_shouldYield=xt,k.unstable_wrapCallback=function(x){var F=K;return function(){var P=K;K=F;try{return x.apply(this,arguments)}finally{K=P}}}})(Vl)),Vl}var Vo;function Ja(){return Vo||(Vo=1,Wl.exports=Za()),Wl.exports}var Qo;function qa(){if(Qo)return We;Qo=1;var k=Hl(),a=Ja();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 v=new Set,C={};function N(e,t){D(e,t),D(e+"Capture",t)}function D(e,t){for(C[e]=t,e=0;e<t.length;e++)v.add(t[e])}var U=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R=Object.prototype.hasOwnProperty,V=/^[: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={},B={};function K(e){return R.call(B,e)?!0:R.call(Q,e)?!1:V.test(e)?B[e]=!0:(Q[e]=!0,!1)}function ee(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 Le(e,t,n,r){if(t===null||typeof t>"u"||ee(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 q(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 Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new q(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new q(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new q(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new q(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){Y[e]=new q(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new q(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Y[e]=new q(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new q(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new q(e,5,!1,e.toLowerCase(),null,!1,!1)});var we=/[\-:]([a-z])/g;function Ue(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(we,Ue);Y[t]=new q(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(we,Ue);Y[t]=new q(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(we,Ue);Y[t]=new q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!1,!1)}),Y.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oe(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Le(t,n,l,r)&&(n=null),r||l===null?K(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 he=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),me=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),ze=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),xt=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),x=Symbol.iterator;function F(e){return e===null||typeof e!="object"?null:(e=x&&e[x]||e["@@iterator"],typeof e=="function"?e:null)}var P=Object.assign,d;function y(e){if(d===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);d=t&&t[1]||""}return`
|
|
3
3
|
`+d+e}var j=!1;function W(e,t){if(!e||j)return"";j=!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(m){var r=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){r=m}e.call(t.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var l=m.stack.split(`
|
|
4
4
|
`),i=r.stack.split(`
|
|
5
5
|
`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){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<=u);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?y(e):""}function X(e){switch(e.tag){case 5:return y(e.type);case 16:return y("Lazy");case 13:return y("Suspense");case 19:return y("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1),e;case 11:return e=W(e.type.render,!1),e;case 1:return e=W(e.type,!0),e;default:return""}}function Z(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 Ce:return"Fragment";case me:return"Portal";case ze:return"Profiler";case b:return"StrictMode";case je:return"Suspense";case Ye:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xt:return(e.displayName||"Context")+".Consumer";case st:return(e._context.displayName||"Context")+".Provider";case et:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case tt:return t=e.displayName||null,t!==null?t:Z(e.type)||"Memo";case re:t=e._payload,e=e._init;try{return Z(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 Z(t);case 8:return t===b?"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 te(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function se(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xe(e){var t=se(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 Ir(e){e._valueTracker||(e._valueTracker=Xe(e))}function eu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=se(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 Gl(e,t){var n=t.checked;return P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function tu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=te(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 nu(e,t){t=t.checked,t!=null&&Oe(e,"checked",t,!1)}function Kl(e,t){nu(e,t);var n=te(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")?Yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yl(e,t.type,te(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ru(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 Yl(e,t,n){(t!=="number"||Nr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wn=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=""+te(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 Xl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return P({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function lu(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(Wn(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:te(n)}}function iu(e,t){var n=te(t.value),r=te(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 ou(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function uu(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 Zl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?uu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,su=(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 Vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qn={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},yc=["Webkit","ms","Moz","O"];Object.keys(Qn).forEach(function(e){yc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qn[t]=Qn[e]})});function au(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qn.hasOwnProperty(e)&&Qn[e]?(""+t).trim():t+"px"}function cu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=au(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 ql(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 bl=null;function ei(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ti=null,pn=null,hn=null;function fu(e){if(e=dr(e)){if(typeof ti!="function")throw Error(s(280));var t=e.stateNode;t&&(t=el(t),ti(e.stateNode,e.type,t))}}function du(e){pn?hn?hn.push(e):hn=[e]:pn=e}function pu(){if(pn){var e=pn,t=hn;if(hn=pn=null,fu(e),t)for(e=0;e<t.length;e++)fu(t[e])}}function hu(e,t){return e(t)}function mu(){}var ni=!1;function vu(e,t,n){if(ni)return e(t,n);ni=!0;try{return hu(e,t,n)}finally{ni=!1,(pn!==null||hn!==null)&&(mu(),pu())}}function $n(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 ri=!1;if(U)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){ri=!0}}),window.addEventListener("test",Gn,Gn),window.removeEventListener("test",Gn,Gn)}catch{ri=!1}function Sc(e,t,n,r,l,i,o,u,c){var m=Array.prototype.slice.call(arguments,3);try{t.apply(n,m)}catch(w){this.onError(w)}}var Kn=!1,Rr=null,zr=!1,li=null,kc={onError:function(e){Kn=!0,Rr=e}};function Ec(e,t,n,r,l,i,o,u,c){Kn=!1,Rr=null,Sc.apply(kc,arguments)}function xc(e,t,n,r,l,i,o,u,c){if(Ec.apply(this,arguments),Kn){if(Kn){var m=Rr;Kn=!1,Rr=null}else throw Error(s(198));zr||(zr=!0,li=m)}}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 gu(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 yu(e){if(Jt(e)!==e)throw Error(s(188))}function Cc(e){var t=e.alternate;if(!t){if(t=Jt(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 yu(l),e;if(i===r)return yu(l),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.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 wu(e){return e=Cc(e),e!==null?Su(e):null}function Su(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Su(e);if(t!==null)return t;e=e.sibling}return null}var ku=a.unstable_scheduleCallback,Eu=a.unstable_cancelCallback,Tc=a.unstable_shouldYield,_c=a.unstable_requestPaint,ve=a.unstable_now,Pc=a.unstable_getCurrentPriorityLevel,ii=a.unstable_ImmediatePriority,xu=a.unstable_UserBlockingPriority,Mr=a.unstable_NormalPriority,Lc=a.unstable_LowPriority,Cu=a.unstable_IdlePriority,Dr=null,vt=null;function Ic(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Dr,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:Rc,Nc=Math.log,Oc=Math.LN2;function Rc(e){return e>>>=0,e===0?32:31-(Nc(e)/Oc|0)|0}var Fr=64,Ar=4194304;function Yn(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 u=o&~l;u!==0?r=Yn(u):(i&=o,i!==0&&(r=Yn(i)))}else o=n&~l,o!==0?r=Yn(o):i!==0&&(r=Yn(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-at(t),l=1<<n,r|=e[n],t&=~l;return r}function zc(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 Mc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-at(i),u=1<<o,c=l[o];c===-1?((u&n)===0||(u&r)!==0)&&(l[o]=zc(u,t)):c<=t&&(e.expiredLanes|=u),i&=~u}}function oi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Tu(){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 Xn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Dc(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-at(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function si(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ne=0;function _u(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Pu,ai,Lu,Iu,Nu,ci=!1,jr=[],Rt=null,zt=null,Mt=null,Zn=new Map,Jn=new Map,Dt=[],Fc="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 Ou(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":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jn.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=dr(t),t!==null&&ai(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Ac(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 Zn.set(i,qn(Zn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Jn.set(i,qn(Jn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ru(e){var t=qt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=gu(n),t!==null){e.blockedOn=t,Nu(e.priority,function(){Lu(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 Hr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=di(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bl=r,n.target.dispatchEvent(r),bl=null}else return t=dr(n),t!==null&&ai(t),e.blockedOn=n,!1;t.shift()}return!0}function zu(e,t,n){Hr(e)&&n.delete(t)}function Uc(){ci=!1,Rt!==null&&Hr(Rt)&&(Rt=null),zt!==null&&Hr(zt)&&(zt=null),Mt!==null&&Hr(Mt)&&(Mt=null),Zn.forEach(zu),Jn.forEach(zu)}function bn(e,t){e.blockedOn===t&&(e.blockedOn=null,ci||(ci=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Uc)))}function er(e){function t(l){return bn(l,e)}if(0<jr.length){bn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&bn(Rt,e),zt!==null&&bn(zt,e),Mt!==null&&bn(Mt,e),Zn.forEach(t),Jn.forEach(t),n=0;n<Dt.length;n++)r=Dt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&(n=Dt[0],n.blockedOn===null);)Ru(n),n.blockedOn===null&&Dt.shift()}var mn=he.ReactCurrentBatchConfig,Br=!0;function jc(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=1,fi(e,t,n,r)}finally{ne=l,mn.transition=i}}function Hc(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=4,fi(e,t,n,r)}finally{ne=l,mn.transition=i}}function fi(e,t,n,r){if(Br){var l=di(e,t,n,r);if(l===null)Ii(e,t,r,Wr,n),Ou(e,r);else if(Ac(l,e,t,n,r))r.stopPropagation();else if(Ou(e,r),t&4&&-1<Fc.indexOf(e)){for(;l!==null;){var i=dr(l);if(i!==null&&Pu(i),i=di(e,t,n,r),i===null&&Ii(e,t,r,Wr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ii(e,t,r,null,n)}}var Wr=null;function di(e,t,n,r){if(Wr=null,e=ei(r),e=qt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=gu(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 Mu(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(Pc()){case ii:return 1;case xu:return 4;case Mr:case Lc:return 16;case Cu:return 536870912;default:return 16}default:return 16}}var Ft=null,pi=null,Vr=null;function Du(){if(Vr)return Vr;var e,t=pi,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 Vr=l.slice(e,1<r?1-r:void 0)}function Qr(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 $r(){return!0}function Fu(){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 u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$r:Fu,this.isPropagationStopped=Fu,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=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var vn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=Ze(vn),tr=P({},vn,{view:0,detail:0}),Bc=Ze(tr),mi,vi,nr,Gr=P({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yi,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!==nr&&(nr&&e.type==="mousemove"?(mi=e.screenX-nr.screenX,vi=e.screenY-nr.screenY):vi=mi=0,nr=e),mi)},movementY:function(e){return"movementY"in e?e.movementY:vi}}),Au=Ze(Gr),Wc=P({},Gr,{dataTransfer:0}),Vc=Ze(Wc),Qc=P({},tr,{relatedTarget:0}),gi=Ze(Qc),$c=P({},vn,{animationName:0,elapsedTime:0,pseudoElement:0}),Gc=Ze($c),Kc=P({},vn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Yc=Ze(Kc),Xc=P({},vn,{data:0}),Uu=Ze(Xc),Zc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jc={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"},qc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bc(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qc[e])?!!t[e]:!1}function yi(){return bc}var ef=P({},tr,{key:function(e){if(e.key){var t=Zc[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Jc[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yi,charCode:function(e){return e.type==="keypress"?Qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),tf=Ze(ef),nf=P({},Gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ju=Ze(nf),rf=P({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yi}),lf=Ze(rf),of=P({},vn,{propertyName:0,elapsedTime:0,pseudoElement:0}),uf=Ze(of),sf=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}),af=Ze(sf),cf=[9,13,27,32],wi=U&&"CompositionEvent"in window,rr=null;U&&"documentMode"in document&&(rr=document.documentMode);var ff=U&&"TextEvent"in window&&!rr,Hu=U&&(!wi||rr&&8<rr&&11>=rr),Bu=" ",Wu=!1;function Vu(e,t){switch(e){case"keyup":return cf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gn=!1;function df(e,t){switch(e){case"compositionend":return Qu(t);case"keypress":return t.which!==32?null:(Wu=!0,Bu);case"textInput":return e=t.data,e===Bu&&Wu?null:e;default:return null}}function pf(e,t){if(gn)return e==="compositionend"||!wi&&Vu(e,t)?(e=Du(),Vr=pi=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 Hu&&t.locale!=="ko"?null:t.data;default:return null}}var hf={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 $u(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hf[e.type]:t==="textarea"}function Gu(e,t,n,r){du(r),t=Jr(t,"onChange"),0<t.length&&(n=new hi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var lr=null,ir=null;function mf(e){cs(e,0)}function Kr(e){var t=En(e);if(eu(t))return e}function vf(e,t){if(e==="change")return t}var Ku=!1;if(U){var Si;if(U){var ki="oninput"in document;if(!ki){var Yu=document.createElement("div");Yu.setAttribute("oninput","return;"),ki=typeof Yu.oninput=="function"}Si=ki}else Si=!1;Ku=Si&&(!document.documentMode||9<document.documentMode)}function Xu(){lr&&(lr.detachEvent("onpropertychange",Zu),ir=lr=null)}function Zu(e){if(e.propertyName==="value"&&Kr(ir)){var t=[];Gu(t,ir,e,ei(e)),vu(mf,t)}}function gf(e,t,n){e==="focusin"?(Xu(),lr=t,ir=n,lr.attachEvent("onpropertychange",Zu)):e==="focusout"&&Xu()}function yf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kr(ir)}function wf(e,t){if(e==="click")return Kr(t)}function Sf(e,t){if(e==="input"||e==="change")return Kr(t)}function kf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:kf;function or(e,t){if(ct(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(!R.call(t,l)||!ct(e[l],t[l]))return!1}return!0}function Ju(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qu(e,t){var n=Ju(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=Ju(n)}}function bu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function es(){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 Ei(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 Ef(e){var t=es(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&bu(n.ownerDocument.documentElement,n)){if(r!==null&&Ei(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=qu(n,i);var o=qu(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 xf=U&&"documentMode"in document&&11>=document.documentMode,yn=null,xi=null,ur=null,Ci=!1;function ts(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ci||yn==null||yn!==Nr(r)||(r=yn,"selectionStart"in r&&Ei(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}),ur&&or(ur,r)||(ur=r,r=Jr(xi,"onSelect"),0<r.length&&(t=new hi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yn)))}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")},Ti={},ns={};U&&(ns=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(Ti[e])return Ti[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ns)return Ti[e]=t[n];return e}var rs=Xr("animationend"),ls=Xr("animationiteration"),is=Xr("animationstart"),os=Xr("transitionend"),us=new Map,ss="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 At(e,t){us.set(e,t),N(t,[e])}for(var _i=0;_i<ss.length;_i++){var Pi=ss[_i],Cf=Pi.toLowerCase(),Tf=Pi[0].toUpperCase()+Pi.slice(1);At(Cf,"on"+Tf)}At(rs,"onAnimationEnd"),At(ls,"onAnimationIteration"),At(is,"onAnimationStart"),At("dblclick","onDoubleClick"),At("focusin","onFocus"),At("focusout","onBlur"),At(os,"onTransitionEnd"),F("onMouseEnter",["mouseout","mouseover"]),F("onMouseLeave",["mouseout","mouseover"]),F("onPointerEnter",["pointerout","pointerover"]),F("onPointerLeave",["pointerout","pointerover"]),N("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),N("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),N("onBeforeInput",["compositionend","keypress","textInput","paste"]),N("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),N("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),N("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(" "),_f=new Set("cancel close invalid load scroll toggle".split(" ").concat(sr));function as(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,xc(r,t,void 0,e),e.currentTarget=null}function cs(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 u=r[o],c=u.instance,m=u.currentTarget;if(u=u.listener,c!==i&&l.isPropagationStopped())break e;as(l,u,m),i=c}else for(o=0;o<r.length;o++){if(u=r[o],c=u.instance,m=u.currentTarget,u=u.listener,c!==i&&l.isPropagationStopped())break e;as(l,u,m),i=c}}}if(zr)throw e=li,zr=!1,li=null,e}function oe(e,t){var n=t[Di];n===void 0&&(n=t[Di]=new Set);var r=e+"__bubble";n.has(r)||(fs(t,e,2,!1),n.add(r))}function Li(e,t,n){var r=0;t&&(r|=4),fs(n,e,r,t)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function ar(e){if(!e[Zr]){e[Zr]=!0,v.forEach(function(n){n!=="selectionchange"&&(_f.has(n)||Li(n,!1,e),Li(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zr]||(t[Zr]=!0,Li("selectionchange",!1,t))}}function fs(e,t,n,r){switch(Mu(t)){case 1:var l=jc;break;case 4:l=Hc;break;default:l=fi}n=l.bind(null,t,n,e),l=void 0,!ri||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 Ii(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 u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.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(;u!==null;){if(o=qt(u),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}u=u.parentNode}}r=r.return}vu(function(){var m=i,w=ei(n),S=[];e:{var g=us.get(e);if(g!==void 0){var T=hi,L=e;switch(e){case"keypress":if(Qr(n)===0)break e;case"keydown":case"keyup":T=tf;break;case"focusin":L="focus",T=gi;break;case"focusout":L="blur",T=gi;break;case"beforeblur":case"afterblur":T=gi;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=Au;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Vc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=lf;break;case rs:case ls:case is:T=Gc;break;case os:T=uf;break;case"scroll":T=Bc;break;case"wheel":T=af;break;case"copy":case"cut":case"paste":T=Yc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=ju}var I=(t&4)!==0,ge=!I&&e==="scroll",p=I?g!==null?g+"Capture":null:g;I=[];for(var f=m,h;f!==null;){h=f;var E=h.stateNode;if(h.tag===5&&E!==null&&(h=E,p!==null&&(E=$n(f,p),E!=null&&I.push(cr(f,E,h)))),ge)break;f=f.return}0<I.length&&(g=new T(g,L,null,n,w),S.push({event:g,listeners:I}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",g&&n!==bl&&(L=n.relatedTarget||n.fromElement)&&(qt(L)||L[Ct]))break e;if((T||g)&&(g=w.window===w?w:(g=w.ownerDocument)?g.defaultView||g.parentWindow:window,T?(L=n.relatedTarget||n.toElement,T=m,L=L?qt(L):null,L!==null&&(ge=Jt(L),L!==ge||L.tag!==5&&L.tag!==6)&&(L=null)):(T=null,L=m),T!==L)){if(I=Au,E="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(I=ju,E="onPointerLeave",p="onPointerEnter",f="pointer"),ge=T==null?g:En(T),h=L==null?g:En(L),g=new I(E,f+"leave",T,n,w),g.target=ge,g.relatedTarget=h,E=null,qt(w)===m&&(I=new I(p,f+"enter",L,n,w),I.target=h,I.relatedTarget=ge,E=I),ge=E,T&&L)t:{for(I=T,p=L,f=0,h=I;h;h=Sn(h))f++;for(h=0,E=p;E;E=Sn(E))h++;for(;0<f-h;)I=Sn(I),f--;for(;0<h-f;)p=Sn(p),h--;for(;f--;){if(I===p||p!==null&&I===p.alternate)break t;I=Sn(I),p=Sn(p)}I=null}else I=null;T!==null&&ds(S,g,T,I,!1),L!==null&&ge!==null&&ds(S,ge,L,I,!0)}}e:{if(g=m?En(m):window,T=g.nodeName&&g.nodeName.toLowerCase(),T==="select"||T==="input"&&g.type==="file")var O=vf;else if($u(g))if(Ku)O=Sf;else{O=yf;var z=gf}else(T=g.nodeName)&&T.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(O=wf);if(O&&(O=O(e,m))){Gu(S,O,n,w);break e}z&&z(e,g,m),e==="focusout"&&(z=g._wrapperState)&&z.controlled&&g.type==="number"&&Yl(g,"number",g.value)}switch(z=m?En(m):window,e){case"focusin":($u(z)||z.contentEditable==="true")&&(yn=z,xi=m,ur=null);break;case"focusout":ur=xi=yn=null;break;case"mousedown":Ci=!0;break;case"contextmenu":case"mouseup":case"dragend":Ci=!1,ts(S,n,w);break;case"selectionchange":if(xf)break;case"keydown":case"keyup":ts(S,n,w)}var M;if(wi)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else gn?Vu(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(Hu&&n.locale!=="ko"&&(gn||A!=="onCompositionStart"?A==="onCompositionEnd"&&gn&&(M=Du()):(Ft=w,pi="value"in Ft?Ft.value:Ft.textContent,gn=!0)),z=Jr(m,A),0<z.length&&(A=new Uu(A,e,null,n,w),S.push({event:A,listeners:z}),M?A.data=M:(M=Qu(n),M!==null&&(A.data=M)))),(M=ff?df(e,n):pf(e,n))&&(m=Jr(m,"onBeforeInput"),0<m.length&&(w=new Uu("onBeforeInput","beforeinput",null,n,w),S.push({event:w,listeners:m}),w.data=M))}cs(S,t)})}function cr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jr(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(cr(e,i,l)),i=$n(e,t),i!=null&&r.push(cr(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 ds(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,c=u.alternate,m=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&m!==null&&(u=m,l?(c=$n(n,i),c!=null&&o.unshift(cr(n,c,u))):l||(c=$n(n,i),c!=null&&o.push(cr(n,c,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Pf=/\r\n?/g,Lf=/\u0000|\uFFFD/g;function ps(e){return(typeof e=="string"?e:""+e).replace(Pf,`
|
|
7
|
-
`).replace(Lf,"")}function qr(e,t,n){if(t=ps(t),ps(e)!==t&&n)throw Error(s(425))}function br(){}var Ni=null,Oi=null;function Ri(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 zi=typeof setTimeout=="function"?setTimeout:void 0,If=typeof clearTimeout=="function"?clearTimeout:void 0,hs=typeof Promise=="function"?Promise:void 0,Nf=typeof queueMicrotask=="function"?queueMicrotask:typeof hs<"u"?function(e){return hs.resolve(null).then(e).catch(Of)}:zi;function Of(e){setTimeout(function(){throw e})}function Mi(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),er(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);er(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 ms(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),gt="__reactFiber$"+kn,fr="__reactProps$"+kn,Ct="__reactContainer$"+kn,Di="__reactEvents$"+kn,Rf="__reactListeners$"+kn,zf="__reactHandles$"+kn;function qt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ms(e);e!==null;){if(n=e[gt])return n;e=ms(e)}return t}e=n,n=e.parentNode}return null}function dr(e){return e=e[gt]||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[fr]||null}var Fi=[],xn=-1;function jt(e){return{current:e}}function ue(e){0>xn||(e.current=Fi[xn],Fi[xn]=null,xn--)}function ie(e,t){xn++,Fi[xn]=e.current,e.current=t}var Ht={},Me=jt(Ht),Ve=jt(!1),bt=Ht;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Ht;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 tl(){ue(Ve),ue(Me)}function vs(e,t,n){if(Me.current!==Ht)throw Error(s(168));ie(Me,t),ie(Ve,n)}function gs(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||Ht,bt=Me.current,ie(Me,e),ie(Ve,Ve.current),!0}function ys(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=gs(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,ue(Ve),ue(Me),ie(Me,e)):ue(Ve),ie(Ve,n)}var Tt=null,rl=!1,Ai=!1;function ws(e){Tt===null?Tt=[e]:Tt.push(e)}function Mf(e){rl=!0,ws(e)}function Bt(){if(!Ai&&Tt!==null){Ai=!0;var e=0,t=ne;try{var n=Tt;for(ne=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)),ku(ii,Bt),l}finally{ne=t,Ai=!1}}return null}var Tn=[],_n=0,ll=null,il=0,nt=[],rt=0,en=null,_t=1,Pt="";function tn(e,t){Tn[_n++]=il,Tn[_n++]=ll,ll=e,il=t}function Ss(e,t,n){nt[rt++]=_t,nt[rt++]=Pt,nt[rt++]=en,en=e;var r=_t;e=Pt;var l=32-at(r)-1;r&=~(1<<l),n+=1;var i=32-at(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-at(t)+l|n<<l|r,Pt=i+e}else _t=1<<i|n<<l|r,Pt=e}function Ui(e){e.return!==null&&(tn(e,1),Ss(e,1,0))}function ji(e){for(;e===ll;)ll=Tn[--_n],Tn[_n]=null,il=Tn[--_n],Tn[_n]=null;for(;e===en;)en=nt[--rt],nt[rt]=null,Pt=nt[--rt],nt[rt]=null,_t=nt[--rt],nt[rt]=null}var Je=null,qe=null,ae=!1,ft=null;function ks(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 Es(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:_t,overflow:Pt}: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,qe=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bi(e){if(ae){var t=qe;if(t){var n=t;if(!Es(e,t)){if(Hi(e))throw Error(s(418));t=Ut(n.nextSibling);var r=Je;t&&Es(e,t)?ks(r,n):(e.flags=e.flags&-4097|2,ae=!1,Je=e)}}else{if(Hi(e))throw Error(s(418));e.flags=e.flags&-4097|2,ae=!1,Je=e}}}function xs(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(!ae)return xs(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ri(e.type,e.memoizedProps)),t&&(t=qe)){if(Hi(e))throw Cs(),Error(s(418));for(;t;)ks(e,t),t=Ut(t.nextSibling)}if(xs(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){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 Cs(){for(var e=qe;e;)e=Ut(e.nextSibling)}function Pn(){qe=Je=null,ae=!1}function Wi(e){ft===null?ft=[e]:ft.push(e)}var Df=he.ReactCurrentBatchConfig;function pr(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 u=l.refs;o===null?delete u[i]:u[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 ul(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ts(e){var t=e._init;return t(e._payload)}function _s(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 u(p,f,h,E){return f===null||f.tag!==6?(f=Mo(h,p.mode,E),f.return=p,f):(f=l(f,h),f.return=p,f)}function c(p,f,h,E){var O=h.type;return O===Ce?w(p,f,h.props.children,E,h.key):f!==null&&(f.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===re&&Ts(O)===f.type)?(E=l(f,h.props),E.ref=pr(p,f,h),E.return=p,E):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=pr(p,f,h),E.return=p,E)}function m(p,f,h,E){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=Do(h,p.mode,E),f.return=p,f):(f=l(f,h.children||[]),f.return=p,f)}function w(p,f,h,E,O){return f===null||f.tag!==7?(f=cn(h,p.mode,E,O),f.return=p,f):(f=l(f,h),f.return=p,f)}function S(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Mo(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Re:return h=Ol(f.type,f.key,f.props,null,p.mode,h),h.ref=pr(p,null,f),h.return=p,h;case me:return f=Do(f,p.mode,h),f.return=p,f;case re:var E=f._init;return S(p,E(f._payload),h)}if(Wn(f)||D(f))return f=cn(f,p.mode,h,null),f.return=p,f;ul(p,f)}return null}function g(p,f,h,E){var O=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return O!==null?null:u(p,f,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:return h.key===O?c(p,f,h,E):null;case me:return h.key===O?m(p,f,h,E):null;case re:return O=h._init,g(p,f,O(h._payload),E)}if(Wn(h)||D(h))return O!==null?null:w(p,f,h,E,null);ul(p,h)}return null}function T(p,f,h,E,O){if(typeof E=="string"&&E!==""||typeof E=="number")return p=p.get(h)||null,u(f,p,""+E,O);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Re:return p=p.get(E.key===null?h:E.key)||null,c(f,p,E,O);case me:return p=p.get(E.key===null?h:E.key)||null,m(f,p,E,O);case re:var z=E._init;return T(p,f,h,z(E._payload),O)}if(Wn(E)||D(E))return p=p.get(h)||null,w(f,p,E,O,null);ul(f,E)}return null}function L(p,f,h,E){for(var O=null,z=null,M=f,A=f=0,Pe=null;M!==null&&A<h.length;A++){M.index>A?(Pe=M,M=null):Pe=M.sibling;var J=g(p,M,h[A],E);if(J===null){M===null&&(M=Pe);break}e&&M&&J.alternate===null&&t(p,M),f=i(J,f,A),z===null?O=J:z.sibling=J,z=J,M=Pe}if(A===h.length)return n(p,M),ae&&tn(p,A),O;if(M===null){for(;A<h.length;A++)M=S(p,h[A],E),M!==null&&(f=i(M,f,A),z===null?O=M:z.sibling=M,z=M);return ae&&tn(p,A),O}for(M=r(p,M);A<h.length;A++)Pe=T(M,p,A,h[A],E),Pe!==null&&(e&&Pe.alternate!==null&&M.delete(Pe.key===null?A:Pe.key),f=i(Pe,f,A),z===null?O=Pe:z.sibling=Pe,z=Pe);return e&&M.forEach(function(Zt){return t(p,Zt)}),ae&&tn(p,A),O}function I(p,f,h,E){var O=D(h);if(typeof O!="function")throw Error(s(150));if(h=O.call(h),h==null)throw Error(s(151));for(var z=O=null,M=f,A=f=0,Pe=null,J=h.next();M!==null&&!J.done;A++,J=h.next()){M.index>A?(Pe=M,M=null):Pe=M.sibling;var Zt=g(p,M,J.value,E);if(Zt===null){M===null&&(M=Pe);break}e&&M&&Zt.alternate===null&&t(p,M),f=i(Zt,f,A),z===null?O=Zt:z.sibling=Zt,z=Zt,M=Pe}if(J.done)return n(p,M),ae&&tn(p,A),O;if(M===null){for(;!J.done;A++,J=h.next())J=S(p,J.value,E),J!==null&&(f=i(J,f,A),z===null?O=J:z.sibling=J,z=J);return ae&&tn(p,A),O}for(M=r(p,M);!J.done;A++,J=h.next())J=T(M,p,A,J.value,E),J!==null&&(e&&J.alternate!==null&&M.delete(J.key===null?A:J.key),f=i(J,f,A),z===null?O=J:z.sibling=J,z=J);return e&&M.forEach(function(hd){return t(p,hd)}),ae&&tn(p,A),O}function ge(p,f,h,E){if(typeof h=="object"&&h!==null&&h.type===Ce&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:e:{for(var O=h.key,z=f;z!==null;){if(z.key===O){if(O=h.type,O===Ce){if(z.tag===7){n(p,z.sibling),f=l(z,h.props.children),f.return=p,p=f;break e}}else if(z.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===re&&Ts(O)===z.type){n(p,z.sibling),f=l(z,h.props),f.ref=pr(p,z,h),f.return=p,p=f;break e}n(p,z);break}else t(p,z);z=z.sibling}h.type===Ce?(f=cn(h.props.children,p.mode,E,h.key),f.return=p,p=f):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=pr(p,f,h),E.return=p,p=E)}return o(p);case me:e:{for(z=h.key;f!==null;){if(f.key===z)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=Do(h,p.mode,E),f.return=p,p=f}return o(p);case re:return z=h._init,ge(p,f,z(h._payload),E)}if(Wn(h))return L(p,f,h,E);if(D(h))return I(p,f,h,E);ul(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=Mo(h,p.mode,E),f.return=p,p=f),o(p)):n(p,f)}return ge}var Ln=_s(!0),Ps=_s(!1),sl=jt(null),al=null,In=null,Vi=null;function Qi(){Vi=In=al=null}function $i(e){var t=sl.current;ue(sl),e._currentValue=t}function Gi(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=In=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&($e=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Vi!==e)if(e={context:e,memoizedValue:t,next:null},In===null){if(al===null)throw Error(s(308));In=e,al.dependencies={lanes:0,firstContext:e}}else In=In.next=e;return t}var nn=null;function Ki(e){nn===null?nn=[e]:nn.push(e)}function Ls(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ki(t)):(n.next=l.next,l.next=n),t.interleaved=n,Lt(e,r)}function Lt(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 Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Is(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 It(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(G&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Lt(e,n)}return l=r.interleaved,l===null?(t.next=t,Ki(r)):(t.next=l.next,l.next=t),r.interleaved=t,Lt(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,si(e,n)}}function Ns(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,u=l.shared.pending;if(u!==null){l.shared.pending=null;var c=u,m=c.next;c.next=null,o===null?i=m:o.next=m,o=c;var w=e.alternate;w!==null&&(w=w.updateQueue,u=w.lastBaseUpdate,u!==o&&(u===null?w.firstBaseUpdate=m:u.next=m,w.lastBaseUpdate=c))}if(i!==null){var S=l.baseState;o=0,w=m=c=null,u=i;do{var g=u.lane,T=u.eventTime;if((r&g)===g){w!==null&&(w=w.next={eventTime:T,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var L=e,I=u;switch(g=t,T=n,I.tag){case 1:if(L=I.payload,typeof L=="function"){S=L.call(T,S,g);break e}S=L;break e;case 3:L.flags=L.flags&-65537|128;case 0:if(L=I.payload,g=typeof L=="function"?L.call(T,S,g):L,g==null)break e;S=P({},S,g);break e;case 2:Wt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,g=l.effects,g===null?l.effects=[u]:g.push(u))}else T={eventTime:T,lane:g,tag:u.tag,payload:u.payload,callback:u.callback,next:null},w===null?(m=w=T,c=S):w=w.next=T,o|=g;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;g=u,u=g.next,g.next=null,l.lastBaseUpdate=g,l.shared.pending=null}}while(!0);if(w===null&&(c=S),l.baseState=c,l.firstBaseUpdate=m,l.lastBaseUpdate=w,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=S}}function Os(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 hr={},yt=jt(hr),mr=jt(hr),vr=jt(hr);function rn(e){if(e===hr)throw Error(s(174));return e}function Xi(e,t){switch(ie(vr,t),ie(mr,e),ie(yt,hr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zl(t,e)}ue(yt),ie(yt,t)}function On(){ue(yt),ue(mr),ue(vr)}function Rs(e){rn(vr.current);var t=rn(yt.current),n=Zl(t,e.type);t!==n&&(ie(mr,e),ie(yt,n))}function Zi(e){mr.current===e&&(ue(yt),ue(mr))}var fe=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 qi(){for(var e=0;e<Ji.length;e++)Ji[e]._workInProgressVersionPrimary=null;Ji.length=0}var pl=he.ReactCurrentDispatcher,bi=he.ReactCurrentBatchConfig,ln=0,de=null,ke=null,Te=null,hl=!1,gr=!1,yr=0,Ff=0;function De(){throw Error(s(321))}function eo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function to(e,t,n,r,l,i){if(ln=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pl.current=e===null||e.memoizedState===null?Hf:Bf,e=n(r,l),gr){i=0;do{if(gr=!1,yr=0,25<=i)throw Error(s(301));i+=1,Te=ke=null,t.updateQueue=null,pl.current=Wf,e=n(r,l)}while(gr)}if(pl.current=gl,t=ke!==null&&ke.next!==null,ln=0,Te=ke=de=null,hl=!1,t)throw Error(s(300));return e}function no(){var e=yr!==0;return yr=0,e}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Te===null?de.memoizedState=Te=e:Te=Te.next=e,Te}function it(){if(ke===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Te===null?de.memoizedState:Te.next;if(t!==null)Te=t,ke=e;else{if(e===null)throw Error(s(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Te===null?de.memoizedState=Te=e:Te=Te.next=e}return Te}function wr(e,t){return typeof t=="function"?t(e):t}function ro(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=ke,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 u=o=null,c=null,m=i;do{var w=m.lane;if((ln&w)===w)c!==null&&(c=c.next={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),r=m.hasEagerState?m.eagerState:e(r,m.action);else{var S={lane:w,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};c===null?(u=c=S,o=r):c=c.next=S,de.lanes|=w,on|=w}m=m.next}while(m!==null&&m!==i);c===null?o=r:c.next=u,ct(r,t.memoizedState)||($e=!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,de.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lo(e){var t=it(),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);ct(i,t.memoizedState)||($e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function zs(){}function Ms(e,t){var n=de,r=it(),l=t(),i=!ct(r.memoizedState,l);if(i&&(r.memoizedState=l,$e=!0),r=r.queue,io(As.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Te!==null&&Te.memoizedState.tag&1){if(n.flags|=2048,Sr(9,Fs.bind(null,n,r,l,t),void 0,null),_e===null)throw Error(s(349));(ln&30)!==0||Ds(n,t,l)}return l}function Ds(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fs(e,t,n,r){t.value=n,t.getSnapshot=r,Us(t)&&js(e)}function As(e,t,n){return n(function(){Us(t)&&js(e)})}function Us(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function js(e){var t=Lt(e,1);t!==null&&mt(t,e,1,-1)}function Hs(e){var t=wt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:e},t.queue=e,e=e.dispatch=jf.bind(null,de,e),[t.memoizedState,e]}function Sr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.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 Bs(){return it().memoizedState}function ml(e,t,n,r){var l=wt();de.flags|=e,l.memoizedState=Sr(1|t,n,void 0,r===void 0?null:r)}function vl(e,t,n,r){var l=it();r=r===void 0?null:r;var i=void 0;if(ke!==null){var o=ke.memoizedState;if(i=o.destroy,r!==null&&eo(r,o.deps)){l.memoizedState=Sr(t,n,i,r);return}}de.flags|=e,l.memoizedState=Sr(1|t,n,i,r)}function Ws(e,t){return ml(8390656,8,e,t)}function io(e,t){return vl(2048,8,e,t)}function Vs(e,t){return vl(4,2,e,t)}function Qs(e,t){return vl(4,4,e,t)}function $s(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 Gs(e,t,n){return n=n!=null?n.concat([e]):null,vl(4,4,$s.bind(null,t,e),n)}function oo(){}function Ks(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ys(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xs(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,$e=!0),e.memoizedState=n):(ct(n,t)||(n=Tu(),de.lanes|=n,on|=n,e.baseState=!0),t)}function Af(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=bi.transition;bi.transition={};try{e(!1),t()}finally{ne=n,bi.transition=r}}function Zs(){return it().memoizedState}function Uf(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Js(e))qs(t,n);else if(n=Ls(e,t,n,r),n!==null){var l=Be();mt(n,e,r,l),bs(n,t,r)}}function jf(e,t,n){var r=Kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Js(e))qs(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,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,ct(u,o)){var c=t.interleaved;c===null?(l.next=l,Ki(t)):(l.next=c.next,c.next=l),t.interleaved=l;return}}catch{}n=Ls(e,t,l,r),n!==null&&(l=Be(),mt(n,e,r,l),bs(n,t,r))}}function Js(e){var t=e.alternate;return e===de||t!==null&&t===de}function qs(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 bs(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,si(e,n)}}var gl={readContext:lt,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},Hf={readContext:lt,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Ws,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ml(4194308,4,$s.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=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();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=Uf.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:Hs,useDebugValue:oo,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=Hs(!1),t=e[0];return e=Af.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,l=wt();if(ae){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),_e===null)throw Error(s(349));(ln&30)!==0||Ds(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ws(As.bind(null,r,i,e),[e]),r.flags|=2048,Sr(9,Fs.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=wt(),t=_e.identifierPrefix;if(ae){var n=Pt,r=_t;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Ff++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Bf={readContext:lt,useCallback:Ks,useContext:lt,useEffect:io,useImperativeHandle:Gs,useInsertionEffect:Vs,useLayoutEffect:Qs,useMemo:Ys,useReducer:ro,useRef:Bs,useState:function(){return ro(wr)},useDebugValue:oo,useDeferredValue:function(e){var t=it();return Xs(t,ke.memoizedState,e)},useTransition:function(){var e=ro(wr)[0],t=it().memoizedState;return[e,t]},useMutableSource:zs,useSyncExternalStore:Ms,useId:Zs,unstable_isNewReconciler:!1},Wf={readContext:lt,useCallback:Ks,useContext:lt,useEffect:io,useImperativeHandle:Gs,useInsertionEffect:Vs,useLayoutEffect:Qs,useMemo:Ys,useReducer:lo,useRef:Bs,useState:function(){return lo(wr)},useDebugValue:oo,useDeferredValue:function(e){var t=it();return ke===null?t.memoizedState=e:Xs(t,ke.memoizedState,e)},useTransition:function(){var e=lo(wr)[0],t=it().memoizedState;return[e,t]},useMutableSource:zs,useSyncExternalStore:Ms,useId:Zs,unstable_isNewReconciler:!1};function dt(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 yl={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=It(r,l);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),l=Kt(e),i=It(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=Kt(e),l=It(n,r);l.tag=2,t!=null&&(l.callback=t),t=Vt(e,l,r),t!==null&&(mt(t,e,r,n),cl(t,e,r))}};function ea(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?!or(n,r)||!or(l,i):!0}function ta(e,t,n){var r=!1,l=Ht,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(l=Qe(t)?bt:Me.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=yl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function na(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&&yl.enqueueReplaceState(t,t.state,null)}function so(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Yi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=lt(i):(i=Qe(t)?bt:Me.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&&yl.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+=X(r),r=r.return;while(r);var l=n}catch(i){l=`
|
|
6
|
+
`+l[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=u);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?y(e):""}function X(e){switch(e.tag){case 5:return y(e.type);case 16:return y("Lazy");case 13:return y("Suspense");case 19:return y("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1),e;case 11:return e=W(e.type.render,!1),e;case 1:return e=W(e.type,!0),e;default:return""}}function Z(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 Ce:return"Fragment";case me:return"Portal";case ze:return"Profiler";case b:return"StrictMode";case je:return"Suspense";case Ye:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xt:return(e.displayName||"Context")+".Consumer";case st:return(e._context.displayName||"Context")+".Provider";case et:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case tt:return t=e.displayName||null,t!==null?t:Z(e.type)||"Memo";case re:t=e._payload,e=e._init;try{return Z(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 Z(t);case 8:return t===b?"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 te(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xe(e){var t=ae(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 Ir(e){e._valueTracker||(e._valueTracker=Xe(e))}function eu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(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 Gl(e,t){var n=t.checked;return P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function tu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=te(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 nu(e,t){t=t.checked,t!=null&&Oe(e,"checked",t,!1)}function Kl(e,t){nu(e,t);var n=te(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")?Yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yl(e,t.type,te(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ru(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 Yl(e,t,n){(t!=="number"||Nr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wn=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=""+te(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 Xl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return P({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function lu(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(Wn(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:te(n)}}function iu(e,t){var n=te(t.value),r=te(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 ou(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function uu(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 Zl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?uu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,su=(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 Vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qn={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},Ec=["Webkit","ms","Moz","O"];Object.keys(Qn).forEach(function(e){Ec.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qn[t]=Qn[e]})});function au(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qn.hasOwnProperty(e)&&Qn[e]?(""+t).trim():t+"px"}function cu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=au(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var xc=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(xc[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 ql(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 bl=null;function ei(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ti=null,pn=null,hn=null;function fu(e){if(e=dr(e)){if(typeof ti!="function")throw Error(s(280));var t=e.stateNode;t&&(t=el(t),ti(e.stateNode,e.type,t))}}function du(e){pn?hn?hn.push(e):hn=[e]:pn=e}function pu(){if(pn){var e=pn,t=hn;if(hn=pn=null,fu(e),t)for(e=0;e<t.length;e++)fu(t[e])}}function hu(e,t){return e(t)}function mu(){}var ni=!1;function vu(e,t,n){if(ni)return e(t,n);ni=!0;try{return hu(e,t,n)}finally{ni=!1,(pn!==null||hn!==null)&&(mu(),pu())}}function $n(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 ri=!1;if(U)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){ri=!0}}),window.addEventListener("test",Gn,Gn),window.removeEventListener("test",Gn,Gn)}catch{ri=!1}function Cc(e,t,n,r,l,i,o,u,c){var m=Array.prototype.slice.call(arguments,3);try{t.apply(n,m)}catch(w){this.onError(w)}}var Kn=!1,Rr=null,zr=!1,li=null,Tc={onError:function(e){Kn=!0,Rr=e}};function _c(e,t,n,r,l,i,o,u,c){Kn=!1,Rr=null,Cc.apply(Tc,arguments)}function Pc(e,t,n,r,l,i,o,u,c){if(_c.apply(this,arguments),Kn){if(Kn){var m=Rr;Kn=!1,Rr=null}else throw Error(s(198));zr||(zr=!0,li=m)}}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 gu(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 yu(e){if(Jt(e)!==e)throw Error(s(188))}function Lc(e){var t=e.alternate;if(!t){if(t=Jt(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 yu(l),e;if(i===r)return yu(l),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.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 wu(e){return e=Lc(e),e!==null?Su(e):null}function Su(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Su(e);if(t!==null)return t;e=e.sibling}return null}var ku=a.unstable_scheduleCallback,Eu=a.unstable_cancelCallback,Ic=a.unstable_shouldYield,Nc=a.unstable_requestPaint,ve=a.unstable_now,Oc=a.unstable_getCurrentPriorityLevel,ii=a.unstable_ImmediatePriority,xu=a.unstable_UserBlockingPriority,Mr=a.unstable_NormalPriority,Rc=a.unstable_LowPriority,Cu=a.unstable_IdlePriority,Fr=null,vt=null;function zc(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Fr,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:Dc,Mc=Math.log,Fc=Math.LN2;function Dc(e){return e>>>=0,e===0?32:31-(Mc(e)/Fc|0)|0}var Dr=64,Ar=4194304;function Yn(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 u=o&~l;u!==0?r=Yn(u):(i&=o,i!==0&&(r=Yn(i)))}else o=n&~l,o!==0?r=Yn(o):i!==0&&(r=Yn(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-at(t),l=1<<n,r|=e[n],t&=~l;return r}function Ac(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 Uc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-at(i),u=1<<o,c=l[o];c===-1?((u&n)===0||(u&r)!==0)&&(l[o]=Ac(u,t)):c<=t&&(e.expiredLanes|=u),i&=~u}}function oi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Tu(){var e=Dr;return Dr<<=1,(Dr&4194240)===0&&(Dr=64),e}function ui(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function jc(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-at(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function si(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ne=0;function _u(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Pu,ai,Lu,Iu,Nu,ci=!1,jr=[],Rt=null,zt=null,Mt=null,Zn=new Map,Jn=new Map,Ft=[],Hc="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 Ou(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":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jn.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=dr(t),t!==null&&ai(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Bc(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 Zn.set(i,qn(Zn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Jn.set(i,qn(Jn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ru(e){var t=qt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=gu(n),t!==null){e.blockedOn=t,Nu(e.priority,function(){Lu(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 Hr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=di(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bl=r,n.target.dispatchEvent(r),bl=null}else return t=dr(n),t!==null&&ai(t),e.blockedOn=n,!1;t.shift()}return!0}function zu(e,t,n){Hr(e)&&n.delete(t)}function Wc(){ci=!1,Rt!==null&&Hr(Rt)&&(Rt=null),zt!==null&&Hr(zt)&&(zt=null),Mt!==null&&Hr(Mt)&&(Mt=null),Zn.forEach(zu),Jn.forEach(zu)}function bn(e,t){e.blockedOn===t&&(e.blockedOn=null,ci||(ci=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Wc)))}function er(e){function t(l){return bn(l,e)}if(0<jr.length){bn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&bn(Rt,e),zt!==null&&bn(zt,e),Mt!==null&&bn(Mt,e),Zn.forEach(t),Jn.forEach(t),n=0;n<Ft.length;n++)r=Ft[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ft.length&&(n=Ft[0],n.blockedOn===null);)Ru(n),n.blockedOn===null&&Ft.shift()}var mn=he.ReactCurrentBatchConfig,Br=!0;function Vc(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=1,fi(e,t,n,r)}finally{ne=l,mn.transition=i}}function Qc(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=4,fi(e,t,n,r)}finally{ne=l,mn.transition=i}}function fi(e,t,n,r){if(Br){var l=di(e,t,n,r);if(l===null)Ii(e,t,r,Wr,n),Ou(e,r);else if(Bc(l,e,t,n,r))r.stopPropagation();else if(Ou(e,r),t&4&&-1<Hc.indexOf(e)){for(;l!==null;){var i=dr(l);if(i!==null&&Pu(i),i=di(e,t,n,r),i===null&&Ii(e,t,r,Wr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ii(e,t,r,null,n)}}var Wr=null;function di(e,t,n,r){if(Wr=null,e=ei(r),e=qt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=gu(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 Mu(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(Oc()){case ii:return 1;case xu:return 4;case Mr:case Rc:return 16;case Cu:return 536870912;default:return 16}default:return 16}}var Dt=null,pi=null,Vr=null;function Fu(){if(Vr)return Vr;var e,t=pi,n=t.length,r,l="value"in Dt?Dt.value:Dt.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 Vr=l.slice(e,1<r?1-r:void 0)}function Qr(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 $r(){return!0}function Du(){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 u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$r:Du,this.isPropagationStopped=Du,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=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var vn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=Ze(vn),tr=P({},vn,{view:0,detail:0}),$c=Ze(tr),mi,vi,nr,Gr=P({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yi,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!==nr&&(nr&&e.type==="mousemove"?(mi=e.screenX-nr.screenX,vi=e.screenY-nr.screenY):vi=mi=0,nr=e),mi)},movementY:function(e){return"movementY"in e?e.movementY:vi}}),Au=Ze(Gr),Gc=P({},Gr,{dataTransfer:0}),Kc=Ze(Gc),Yc=P({},tr,{relatedTarget:0}),gi=Ze(Yc),Xc=P({},vn,{animationName:0,elapsedTime:0,pseudoElement:0}),Zc=Ze(Xc),Jc=P({},vn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qc=Ze(Jc),bc=P({},vn,{data:0}),Uu=Ze(bc),ef={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tf={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"},nf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nf[e])?!!t[e]:!1}function yi(){return rf}var lf=P({},tr,{key:function(e){if(e.key){var t=ef[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yi,charCode:function(e){return e.type==="keypress"?Qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),of=Ze(lf),uf=P({},Gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ju=Ze(uf),sf=P({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yi}),af=Ze(sf),cf=P({},vn,{propertyName:0,elapsedTime:0,pseudoElement:0}),ff=Ze(cf),df=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}),pf=Ze(df),hf=[9,13,27,32],wi=U&&"CompositionEvent"in window,rr=null;U&&"documentMode"in document&&(rr=document.documentMode);var mf=U&&"TextEvent"in window&&!rr,Hu=U&&(!wi||rr&&8<rr&&11>=rr),Bu=" ",Wu=!1;function Vu(e,t){switch(e){case"keyup":return hf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gn=!1;function vf(e,t){switch(e){case"compositionend":return Qu(t);case"keypress":return t.which!==32?null:(Wu=!0,Bu);case"textInput":return e=t.data,e===Bu&&Wu?null:e;default:return null}}function gf(e,t){if(gn)return e==="compositionend"||!wi&&Vu(e,t)?(e=Fu(),Vr=pi=Dt=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 Hu&&t.locale!=="ko"?null:t.data;default:return null}}var yf={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 $u(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!yf[e.type]:t==="textarea"}function Gu(e,t,n,r){du(r),t=Jr(t,"onChange"),0<t.length&&(n=new hi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var lr=null,ir=null;function wf(e){cs(e,0)}function Kr(e){var t=En(e);if(eu(t))return e}function Sf(e,t){if(e==="change")return t}var Ku=!1;if(U){var Si;if(U){var ki="oninput"in document;if(!ki){var Yu=document.createElement("div");Yu.setAttribute("oninput","return;"),ki=typeof Yu.oninput=="function"}Si=ki}else Si=!1;Ku=Si&&(!document.documentMode||9<document.documentMode)}function Xu(){lr&&(lr.detachEvent("onpropertychange",Zu),ir=lr=null)}function Zu(e){if(e.propertyName==="value"&&Kr(ir)){var t=[];Gu(t,ir,e,ei(e)),vu(wf,t)}}function kf(e,t,n){e==="focusin"?(Xu(),lr=t,ir=n,lr.attachEvent("onpropertychange",Zu)):e==="focusout"&&Xu()}function Ef(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kr(ir)}function xf(e,t){if(e==="click")return Kr(t)}function Cf(e,t){if(e==="input"||e==="change")return Kr(t)}function Tf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:Tf;function or(e,t){if(ct(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(!R.call(t,l)||!ct(e[l],t[l]))return!1}return!0}function Ju(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qu(e,t){var n=Ju(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=Ju(n)}}function bu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function es(){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 Ei(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 _f(e){var t=es(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&bu(n.ownerDocument.documentElement,n)){if(r!==null&&Ei(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=qu(n,i);var o=qu(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 Pf=U&&"documentMode"in document&&11>=document.documentMode,yn=null,xi=null,ur=null,Ci=!1;function ts(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ci||yn==null||yn!==Nr(r)||(r=yn,"selectionStart"in r&&Ei(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}),ur&&or(ur,r)||(ur=r,r=Jr(xi,"onSelect"),0<r.length&&(t=new hi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yn)))}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")},Ti={},ns={};U&&(ns=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(Ti[e])return Ti[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ns)return Ti[e]=t[n];return e}var rs=Xr("animationend"),ls=Xr("animationiteration"),is=Xr("animationstart"),os=Xr("transitionend"),us=new Map,ss="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 At(e,t){us.set(e,t),N(t,[e])}for(var _i=0;_i<ss.length;_i++){var Pi=ss[_i],Lf=Pi.toLowerCase(),If=Pi[0].toUpperCase()+Pi.slice(1);At(Lf,"on"+If)}At(rs,"onAnimationEnd"),At(ls,"onAnimationIteration"),At(is,"onAnimationStart"),At("dblclick","onDoubleClick"),At("focusin","onFocus"),At("focusout","onBlur"),At(os,"onTransitionEnd"),D("onMouseEnter",["mouseout","mouseover"]),D("onMouseLeave",["mouseout","mouseover"]),D("onPointerEnter",["pointerout","pointerover"]),D("onPointerLeave",["pointerout","pointerover"]),N("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),N("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),N("onBeforeInput",["compositionend","keypress","textInput","paste"]),N("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),N("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),N("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(" "),Nf=new Set("cancel close invalid load scroll toggle".split(" ").concat(sr));function as(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Pc(r,t,void 0,e),e.currentTarget=null}function cs(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 u=r[o],c=u.instance,m=u.currentTarget;if(u=u.listener,c!==i&&l.isPropagationStopped())break e;as(l,u,m),i=c}else for(o=0;o<r.length;o++){if(u=r[o],c=u.instance,m=u.currentTarget,u=u.listener,c!==i&&l.isPropagationStopped())break e;as(l,u,m),i=c}}}if(zr)throw e=li,zr=!1,li=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)||(fs(t,e,2,!1),n.add(r))}function Li(e,t,n){var r=0;t&&(r|=4),fs(n,e,r,t)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function ar(e){if(!e[Zr]){e[Zr]=!0,v.forEach(function(n){n!=="selectionchange"&&(Nf.has(n)||Li(n,!1,e),Li(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zr]||(t[Zr]=!0,Li("selectionchange",!1,t))}}function fs(e,t,n,r){switch(Mu(t)){case 1:var l=Vc;break;case 4:l=Qc;break;default:l=fi}n=l.bind(null,t,n,e),l=void 0,!ri||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 Ii(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 u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.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(;u!==null;){if(o=qt(u),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}u=u.parentNode}}r=r.return}vu(function(){var m=i,w=ei(n),S=[];e:{var g=us.get(e);if(g!==void 0){var T=hi,L=e;switch(e){case"keypress":if(Qr(n)===0)break e;case"keydown":case"keyup":T=of;break;case"focusin":L="focus",T=gi;break;case"focusout":L="blur",T=gi;break;case"beforeblur":case"afterblur":T=gi;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=Au;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Kc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=af;break;case rs:case ls:case is:T=Zc;break;case os:T=ff;break;case"scroll":T=$c;break;case"wheel":T=pf;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=ju}var I=(t&4)!==0,ge=!I&&e==="scroll",p=I?g!==null?g+"Capture":null:g;I=[];for(var f=m,h;f!==null;){h=f;var E=h.stateNode;if(h.tag===5&&E!==null&&(h=E,p!==null&&(E=$n(f,p),E!=null&&I.push(cr(f,E,h)))),ge)break;f=f.return}0<I.length&&(g=new T(g,L,null,n,w),S.push({event:g,listeners:I}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",g&&n!==bl&&(L=n.relatedTarget||n.fromElement)&&(qt(L)||L[Ct]))break e;if((T||g)&&(g=w.window===w?w:(g=w.ownerDocument)?g.defaultView||g.parentWindow:window,T?(L=n.relatedTarget||n.toElement,T=m,L=L?qt(L):null,L!==null&&(ge=Jt(L),L!==ge||L.tag!==5&&L.tag!==6)&&(L=null)):(T=null,L=m),T!==L)){if(I=Au,E="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(I=ju,E="onPointerLeave",p="onPointerEnter",f="pointer"),ge=T==null?g:En(T),h=L==null?g:En(L),g=new I(E,f+"leave",T,n,w),g.target=ge,g.relatedTarget=h,E=null,qt(w)===m&&(I=new I(p,f+"enter",L,n,w),I.target=h,I.relatedTarget=ge,E=I),ge=E,T&&L)t:{for(I=T,p=L,f=0,h=I;h;h=Sn(h))f++;for(h=0,E=p;E;E=Sn(E))h++;for(;0<f-h;)I=Sn(I),f--;for(;0<h-f;)p=Sn(p),h--;for(;f--;){if(I===p||p!==null&&I===p.alternate)break t;I=Sn(I),p=Sn(p)}I=null}else I=null;T!==null&&ds(S,g,T,I,!1),L!==null&&ge!==null&&ds(S,ge,L,I,!0)}}e:{if(g=m?En(m):window,T=g.nodeName&&g.nodeName.toLowerCase(),T==="select"||T==="input"&&g.type==="file")var O=Sf;else if($u(g))if(Ku)O=Cf;else{O=Ef;var z=kf}else(T=g.nodeName)&&T.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(O=xf);if(O&&(O=O(e,m))){Gu(S,O,n,w);break e}z&&z(e,g,m),e==="focusout"&&(z=g._wrapperState)&&z.controlled&&g.type==="number"&&Yl(g,"number",g.value)}switch(z=m?En(m):window,e){case"focusin":($u(z)||z.contentEditable==="true")&&(yn=z,xi=m,ur=null);break;case"focusout":ur=xi=yn=null;break;case"mousedown":Ci=!0;break;case"contextmenu":case"mouseup":case"dragend":Ci=!1,ts(S,n,w);break;case"selectionchange":if(Pf)break;case"keydown":case"keyup":ts(S,n,w)}var M;if(wi)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else gn?Vu(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(Hu&&n.locale!=="ko"&&(gn||A!=="onCompositionStart"?A==="onCompositionEnd"&&gn&&(M=Fu()):(Dt=w,pi="value"in Dt?Dt.value:Dt.textContent,gn=!0)),z=Jr(m,A),0<z.length&&(A=new Uu(A,e,null,n,w),S.push({event:A,listeners:z}),M?A.data=M:(M=Qu(n),M!==null&&(A.data=M)))),(M=mf?vf(e,n):gf(e,n))&&(m=Jr(m,"onBeforeInput"),0<m.length&&(w=new Uu("onBeforeInput","beforeinput",null,n,w),S.push({event:w,listeners:m}),w.data=M))}cs(S,t)})}function cr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jr(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(cr(e,i,l)),i=$n(e,t),i!=null&&r.push(cr(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 ds(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,c=u.alternate,m=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&m!==null&&(u=m,l?(c=$n(n,i),c!=null&&o.unshift(cr(n,c,u))):l||(c=$n(n,i),c!=null&&o.push(cr(n,c,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Of=/\r\n?/g,Rf=/\u0000|\uFFFD/g;function ps(e){return(typeof e=="string"?e:""+e).replace(Of,`
|
|
7
|
+
`).replace(Rf,"")}function qr(e,t,n){if(t=ps(t),ps(e)!==t&&n)throw Error(s(425))}function br(){}var Ni=null,Oi=null;function Ri(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 zi=typeof setTimeout=="function"?setTimeout:void 0,zf=typeof clearTimeout=="function"?clearTimeout:void 0,hs=typeof Promise=="function"?Promise:void 0,Mf=typeof queueMicrotask=="function"?queueMicrotask:typeof hs<"u"?function(e){return hs.resolve(null).then(e).catch(Ff)}:zi;function Ff(e){setTimeout(function(){throw e})}function Mi(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),er(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);er(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 ms(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),gt="__reactFiber$"+kn,fr="__reactProps$"+kn,Ct="__reactContainer$"+kn,Fi="__reactEvents$"+kn,Df="__reactListeners$"+kn,Af="__reactHandles$"+kn;function qt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ms(e);e!==null;){if(n=e[gt])return n;e=ms(e)}return t}e=n,n=e.parentNode}return null}function dr(e){return e=e[gt]||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[fr]||null}var Di=[],xn=-1;function jt(e){return{current:e}}function ue(e){0>xn||(e.current=Di[xn],Di[xn]=null,xn--)}function ie(e,t){xn++,Di[xn]=e.current,e.current=t}var Ht={},Me=jt(Ht),Ve=jt(!1),bt=Ht;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Ht;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 tl(){ue(Ve),ue(Me)}function vs(e,t,n){if(Me.current!==Ht)throw Error(s(168));ie(Me,t),ie(Ve,n)}function gs(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||Ht,bt=Me.current,ie(Me,e),ie(Ve,Ve.current),!0}function ys(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=gs(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,ue(Ve),ue(Me),ie(Me,e)):ue(Ve),ie(Ve,n)}var Tt=null,rl=!1,Ai=!1;function ws(e){Tt===null?Tt=[e]:Tt.push(e)}function Uf(e){rl=!0,ws(e)}function Bt(){if(!Ai&&Tt!==null){Ai=!0;var e=0,t=ne;try{var n=Tt;for(ne=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)),ku(ii,Bt),l}finally{ne=t,Ai=!1}}return null}var Tn=[],_n=0,ll=null,il=0,nt=[],rt=0,en=null,_t=1,Pt="";function tn(e,t){Tn[_n++]=il,Tn[_n++]=ll,ll=e,il=t}function Ss(e,t,n){nt[rt++]=_t,nt[rt++]=Pt,nt[rt++]=en,en=e;var r=_t;e=Pt;var l=32-at(r)-1;r&=~(1<<l),n+=1;var i=32-at(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-at(t)+l|n<<l|r,Pt=i+e}else _t=1<<i|n<<l|r,Pt=e}function Ui(e){e.return!==null&&(tn(e,1),Ss(e,1,0))}function ji(e){for(;e===ll;)ll=Tn[--_n],Tn[_n]=null,il=Tn[--_n],Tn[_n]=null;for(;e===en;)en=nt[--rt],nt[rt]=null,Pt=nt[--rt],nt[rt]=null,_t=nt[--rt],nt[rt]=null}var Je=null,qe=null,ce=!1,ft=null;function ks(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 Es(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:_t,overflow:Pt}: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,qe=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bi(e){if(ce){var t=qe;if(t){var n=t;if(!Es(e,t)){if(Hi(e))throw Error(s(418));t=Ut(n.nextSibling);var r=Je;t&&Es(e,t)?ks(r,n):(e.flags=e.flags&-4097|2,ce=!1,Je=e)}}else{if(Hi(e))throw Error(s(418));e.flags=e.flags&-4097|2,ce=!1,Je=e}}}function xs(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(!ce)return xs(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ri(e.type,e.memoizedProps)),t&&(t=qe)){if(Hi(e))throw Cs(),Error(s(418));for(;t;)ks(e,t),t=Ut(t.nextSibling)}if(xs(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){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 Cs(){for(var e=qe;e;)e=Ut(e.nextSibling)}function Pn(){qe=Je=null,ce=!1}function Wi(e){ft===null?ft=[e]:ft.push(e)}var jf=he.ReactCurrentBatchConfig;function pr(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 u=l.refs;o===null?delete u[i]:u[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 ul(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ts(e){var t=e._init;return t(e._payload)}function _s(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 u(p,f,h,E){return f===null||f.tag!==6?(f=Mo(h,p.mode,E),f.return=p,f):(f=l(f,h),f.return=p,f)}function c(p,f,h,E){var O=h.type;return O===Ce?w(p,f,h.props.children,E,h.key):f!==null&&(f.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===re&&Ts(O)===f.type)?(E=l(f,h.props),E.ref=pr(p,f,h),E.return=p,E):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=pr(p,f,h),E.return=p,E)}function m(p,f,h,E){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=Fo(h,p.mode,E),f.return=p,f):(f=l(f,h.children||[]),f.return=p,f)}function w(p,f,h,E,O){return f===null||f.tag!==7?(f=cn(h,p.mode,E,O),f.return=p,f):(f=l(f,h),f.return=p,f)}function S(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Mo(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Re:return h=Ol(f.type,f.key,f.props,null,p.mode,h),h.ref=pr(p,null,f),h.return=p,h;case me:return f=Fo(f,p.mode,h),f.return=p,f;case re:var E=f._init;return S(p,E(f._payload),h)}if(Wn(f)||F(f))return f=cn(f,p.mode,h,null),f.return=p,f;ul(p,f)}return null}function g(p,f,h,E){var O=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return O!==null?null:u(p,f,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:return h.key===O?c(p,f,h,E):null;case me:return h.key===O?m(p,f,h,E):null;case re:return O=h._init,g(p,f,O(h._payload),E)}if(Wn(h)||F(h))return O!==null?null:w(p,f,h,E,null);ul(p,h)}return null}function T(p,f,h,E,O){if(typeof E=="string"&&E!==""||typeof E=="number")return p=p.get(h)||null,u(f,p,""+E,O);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Re:return p=p.get(E.key===null?h:E.key)||null,c(f,p,E,O);case me:return p=p.get(E.key===null?h:E.key)||null,m(f,p,E,O);case re:var z=E._init;return T(p,f,h,z(E._payload),O)}if(Wn(E)||F(E))return p=p.get(h)||null,w(f,p,E,O,null);ul(f,E)}return null}function L(p,f,h,E){for(var O=null,z=null,M=f,A=f=0,Pe=null;M!==null&&A<h.length;A++){M.index>A?(Pe=M,M=null):Pe=M.sibling;var J=g(p,M,h[A],E);if(J===null){M===null&&(M=Pe);break}e&&M&&J.alternate===null&&t(p,M),f=i(J,f,A),z===null?O=J:z.sibling=J,z=J,M=Pe}if(A===h.length)return n(p,M),ce&&tn(p,A),O;if(M===null){for(;A<h.length;A++)M=S(p,h[A],E),M!==null&&(f=i(M,f,A),z===null?O=M:z.sibling=M,z=M);return ce&&tn(p,A),O}for(M=r(p,M);A<h.length;A++)Pe=T(M,p,A,h[A],E),Pe!==null&&(e&&Pe.alternate!==null&&M.delete(Pe.key===null?A:Pe.key),f=i(Pe,f,A),z===null?O=Pe:z.sibling=Pe,z=Pe);return e&&M.forEach(function(Zt){return t(p,Zt)}),ce&&tn(p,A),O}function I(p,f,h,E){var O=F(h);if(typeof O!="function")throw Error(s(150));if(h=O.call(h),h==null)throw Error(s(151));for(var z=O=null,M=f,A=f=0,Pe=null,J=h.next();M!==null&&!J.done;A++,J=h.next()){M.index>A?(Pe=M,M=null):Pe=M.sibling;var Zt=g(p,M,J.value,E);if(Zt===null){M===null&&(M=Pe);break}e&&M&&Zt.alternate===null&&t(p,M),f=i(Zt,f,A),z===null?O=Zt:z.sibling=Zt,z=Zt,M=Pe}if(J.done)return n(p,M),ce&&tn(p,A),O;if(M===null){for(;!J.done;A++,J=h.next())J=S(p,J.value,E),J!==null&&(f=i(J,f,A),z===null?O=J:z.sibling=J,z=J);return ce&&tn(p,A),O}for(M=r(p,M);!J.done;A++,J=h.next())J=T(M,p,A,J.value,E),J!==null&&(e&&J.alternate!==null&&M.delete(J.key===null?A:J.key),f=i(J,f,A),z===null?O=J:z.sibling=J,z=J);return e&&M.forEach(function(yd){return t(p,yd)}),ce&&tn(p,A),O}function ge(p,f,h,E){if(typeof h=="object"&&h!==null&&h.type===Ce&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:e:{for(var O=h.key,z=f;z!==null;){if(z.key===O){if(O=h.type,O===Ce){if(z.tag===7){n(p,z.sibling),f=l(z,h.props.children),f.return=p,p=f;break e}}else if(z.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===re&&Ts(O)===z.type){n(p,z.sibling),f=l(z,h.props),f.ref=pr(p,z,h),f.return=p,p=f;break e}n(p,z);break}else t(p,z);z=z.sibling}h.type===Ce?(f=cn(h.props.children,p.mode,E,h.key),f.return=p,p=f):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=pr(p,f,h),E.return=p,p=E)}return o(p);case me:e:{for(z=h.key;f!==null;){if(f.key===z)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,E),f.return=p,p=f}return o(p);case re:return z=h._init,ge(p,f,z(h._payload),E)}if(Wn(h))return L(p,f,h,E);if(F(h))return I(p,f,h,E);ul(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=Mo(h,p.mode,E),f.return=p,p=f),o(p)):n(p,f)}return ge}var Ln=_s(!0),Ps=_s(!1),sl=jt(null),al=null,In=null,Vi=null;function Qi(){Vi=In=al=null}function $i(e){var t=sl.current;ue(sl),e._currentValue=t}function Gi(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=In=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&($e=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Vi!==e)if(e={context:e,memoizedValue:t,next:null},In===null){if(al===null)throw Error(s(308));In=e,al.dependencies={lanes:0,firstContext:e}}else In=In.next=e;return t}var nn=null;function Ki(e){nn===null?nn=[e]:nn.push(e)}function Ls(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ki(t)):(n.next=l.next,l.next=n),t.interleaved=n,Lt(e,r)}function Lt(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 Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Is(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 It(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(G&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Lt(e,n)}return l=r.interleaved,l===null?(t.next=t,Ki(r)):(t.next=l.next,l.next=t),r.interleaved=t,Lt(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,si(e,n)}}function Ns(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,u=l.shared.pending;if(u!==null){l.shared.pending=null;var c=u,m=c.next;c.next=null,o===null?i=m:o.next=m,o=c;var w=e.alternate;w!==null&&(w=w.updateQueue,u=w.lastBaseUpdate,u!==o&&(u===null?w.firstBaseUpdate=m:u.next=m,w.lastBaseUpdate=c))}if(i!==null){var S=l.baseState;o=0,w=m=c=null,u=i;do{var g=u.lane,T=u.eventTime;if((r&g)===g){w!==null&&(w=w.next={eventTime:T,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var L=e,I=u;switch(g=t,T=n,I.tag){case 1:if(L=I.payload,typeof L=="function"){S=L.call(T,S,g);break e}S=L;break e;case 3:L.flags=L.flags&-65537|128;case 0:if(L=I.payload,g=typeof L=="function"?L.call(T,S,g):L,g==null)break e;S=P({},S,g);break e;case 2:Wt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,g=l.effects,g===null?l.effects=[u]:g.push(u))}else T={eventTime:T,lane:g,tag:u.tag,payload:u.payload,callback:u.callback,next:null},w===null?(m=w=T,c=S):w=w.next=T,o|=g;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;g=u,u=g.next,g.next=null,l.lastBaseUpdate=g,l.shared.pending=null}}while(!0);if(w===null&&(c=S),l.baseState=c,l.firstBaseUpdate=m,l.lastBaseUpdate=w,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=S}}function Os(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 hr={},yt=jt(hr),mr=jt(hr),vr=jt(hr);function rn(e){if(e===hr)throw Error(s(174));return e}function Xi(e,t){switch(ie(vr,t),ie(mr,e),ie(yt,hr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zl(t,e)}ue(yt),ie(yt,t)}function On(){ue(yt),ue(mr),ue(vr)}function Rs(e){rn(vr.current);var t=rn(yt.current),n=Zl(t,e.type);t!==n&&(ie(mr,e),ie(yt,n))}function Zi(e){mr.current===e&&(ue(yt),ue(mr))}var fe=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 qi(){for(var e=0;e<Ji.length;e++)Ji[e]._workInProgressVersionPrimary=null;Ji.length=0}var pl=he.ReactCurrentDispatcher,bi=he.ReactCurrentBatchConfig,ln=0,de=null,ke=null,Te=null,hl=!1,gr=!1,yr=0,Hf=0;function Fe(){throw Error(s(321))}function eo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function to(e,t,n,r,l,i){if(ln=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pl.current=e===null||e.memoizedState===null?Qf:$f,e=n(r,l),gr){i=0;do{if(gr=!1,yr=0,25<=i)throw Error(s(301));i+=1,Te=ke=null,t.updateQueue=null,pl.current=Gf,e=n(r,l)}while(gr)}if(pl.current=gl,t=ke!==null&&ke.next!==null,ln=0,Te=ke=de=null,hl=!1,t)throw Error(s(300));return e}function no(){var e=yr!==0;return yr=0,e}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Te===null?de.memoizedState=Te=e:Te=Te.next=e,Te}function it(){if(ke===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Te===null?de.memoizedState:Te.next;if(t!==null)Te=t,ke=e;else{if(e===null)throw Error(s(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Te===null?de.memoizedState=Te=e:Te=Te.next=e}return Te}function wr(e,t){return typeof t=="function"?t(e):t}function ro(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=ke,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 u=o=null,c=null,m=i;do{var w=m.lane;if((ln&w)===w)c!==null&&(c=c.next={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),r=m.hasEagerState?m.eagerState:e(r,m.action);else{var S={lane:w,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};c===null?(u=c=S,o=r):c=c.next=S,de.lanes|=w,on|=w}m=m.next}while(m!==null&&m!==i);c===null?o=r:c.next=u,ct(r,t.memoizedState)||($e=!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,de.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lo(e){var t=it(),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);ct(i,t.memoizedState)||($e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function zs(){}function Ms(e,t){var n=de,r=it(),l=t(),i=!ct(r.memoizedState,l);if(i&&(r.memoizedState=l,$e=!0),r=r.queue,io(As.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Te!==null&&Te.memoizedState.tag&1){if(n.flags|=2048,Sr(9,Ds.bind(null,n,r,l,t),void 0,null),_e===null)throw Error(s(349));(ln&30)!==0||Fs(n,t,l)}return l}function Fs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ds(e,t,n,r){t.value=n,t.getSnapshot=r,Us(t)&&js(e)}function As(e,t,n){return n(function(){Us(t)&&js(e)})}function Us(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function js(e){var t=Lt(e,1);t!==null&&mt(t,e,1,-1)}function Hs(e){var t=wt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:e},t.queue=e,e=e.dispatch=Vf.bind(null,de,e),[t.memoizedState,e]}function Sr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.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 Bs(){return it().memoizedState}function ml(e,t,n,r){var l=wt();de.flags|=e,l.memoizedState=Sr(1|t,n,void 0,r===void 0?null:r)}function vl(e,t,n,r){var l=it();r=r===void 0?null:r;var i=void 0;if(ke!==null){var o=ke.memoizedState;if(i=o.destroy,r!==null&&eo(r,o.deps)){l.memoizedState=Sr(t,n,i,r);return}}de.flags|=e,l.memoizedState=Sr(1|t,n,i,r)}function Ws(e,t){return ml(8390656,8,e,t)}function io(e,t){return vl(2048,8,e,t)}function Vs(e,t){return vl(4,2,e,t)}function Qs(e,t){return vl(4,4,e,t)}function $s(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 Gs(e,t,n){return n=n!=null?n.concat([e]):null,vl(4,4,$s.bind(null,t,e),n)}function oo(){}function Ks(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ys(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xs(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,$e=!0),e.memoizedState=n):(ct(n,t)||(n=Tu(),de.lanes|=n,on|=n,e.baseState=!0),t)}function Bf(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=bi.transition;bi.transition={};try{e(!1),t()}finally{ne=n,bi.transition=r}}function Zs(){return it().memoizedState}function Wf(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Js(e))qs(t,n);else if(n=Ls(e,t,n,r),n!==null){var l=Be();mt(n,e,r,l),bs(n,t,r)}}function Vf(e,t,n){var r=Kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Js(e))qs(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,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,ct(u,o)){var c=t.interleaved;c===null?(l.next=l,Ki(t)):(l.next=c.next,c.next=l),t.interleaved=l;return}}catch{}n=Ls(e,t,l,r),n!==null&&(l=Be(),mt(n,e,r,l),bs(n,t,r))}}function Js(e){var t=e.alternate;return e===de||t!==null&&t===de}function qs(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 bs(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,si(e,n)}}var gl={readContext:lt,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},Qf={readContext:lt,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Ws,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ml(4194308,4,$s.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=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();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=Wf.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:Hs,useDebugValue:oo,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=Hs(!1),t=e[0];return e=Bf.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,l=wt();if(ce){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),_e===null)throw Error(s(349));(ln&30)!==0||Fs(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ws(As.bind(null,r,i,e),[e]),r.flags|=2048,Sr(9,Ds.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=wt(),t=_e.identifierPrefix;if(ce){var n=Pt,r=_t;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Hf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$f={readContext:lt,useCallback:Ks,useContext:lt,useEffect:io,useImperativeHandle:Gs,useInsertionEffect:Vs,useLayoutEffect:Qs,useMemo:Ys,useReducer:ro,useRef:Bs,useState:function(){return ro(wr)},useDebugValue:oo,useDeferredValue:function(e){var t=it();return Xs(t,ke.memoizedState,e)},useTransition:function(){var e=ro(wr)[0],t=it().memoizedState;return[e,t]},useMutableSource:zs,useSyncExternalStore:Ms,useId:Zs,unstable_isNewReconciler:!1},Gf={readContext:lt,useCallback:Ks,useContext:lt,useEffect:io,useImperativeHandle:Gs,useInsertionEffect:Vs,useLayoutEffect:Qs,useMemo:Ys,useReducer:lo,useRef:Bs,useState:function(){return lo(wr)},useDebugValue:oo,useDeferredValue:function(e){var t=it();return ke===null?t.memoizedState=e:Xs(t,ke.memoizedState,e)},useTransition:function(){var e=lo(wr)[0],t=it().memoizedState;return[e,t]},useMutableSource:zs,useSyncExternalStore:Ms,useId:Zs,unstable_isNewReconciler:!1};function dt(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 yl={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=It(r,l);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),l=Kt(e),i=It(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=Kt(e),l=It(n,r);l.tag=2,t!=null&&(l.callback=t),t=Vt(e,l,r),t!==null&&(mt(t,e,r,n),cl(t,e,r))}};function ea(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?!or(n,r)||!or(l,i):!0}function ta(e,t,n){var r=!1,l=Ht,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(l=Qe(t)?bt:Me.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=yl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function na(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&&yl.enqueueReplaceState(t,t.state,null)}function so(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Yi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=lt(i):(i=Qe(t)?bt:Me.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&&yl.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+=X(r),r=r.return;while(r);var l=n}catch(i){l=`
|
|
8
8
|
Error generating stack: `+i.message+`
|
|
9
|
-
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ao(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function co(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Vf=typeof WeakMap=="function"?WeakMap:Map;function ra(e,t,n){n=It(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tl||(Tl=!0,_o=r),co(e,t)},n}function la(e,t,n){n=It(-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(){co(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){co(e,t),typeof r!="function"&&($t===null?$t=new Set([this]):$t.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Vf;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=rd.bind(null,e,t,n),t.then(e,e))}function oa(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 ua(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=It(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Qf=he.ReactCurrentOwner,$e=!1;function He(e,t,n,r){t.child=e===null?Ps(t,null,n,r):Ln(t,e.child,n,r)}function sa(e,t,n,r,l){n=n.render;var i=t.ref;return Nn(t,l),r=to(e,t,n,r,i,l),n=no(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ae&&n&&Ui(t),t.flags|=1,He(e,t,r,l),t.child)}function aa(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!zo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ca(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:or,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 ca(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(or(i,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,Nt(e,t,l)}return fo(e,t,n,r,l)}function fa(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,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(Mn,be),be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(Mn,be),be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(Mn,be),be|=r;return He(e,t,l,n),t.child}function da(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fo(e,t,n,r,l){var i=Qe(n)?bt:Me.current;return i=Cn(t,i),Nn(t,l),n=to(e,t,n,r,i,l),r=no(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ae&&r&&Ui(t),t.flags|=1,He(e,t,n,l),t.child)}function pa(e,t,n,r,l){if(Qe(n)){var i=!0;nl(t)}else i=!1;if(Nn(t,l),t.stateNode===null)Sl(e,t),ta(t,n,r),so(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var c=o.context,m=n.contextType;typeof m=="object"&&m!==null?m=lt(m):(m=Qe(n)?bt:Me.current,m=Cn(t,m));var w=n.getDerivedStateFromProps,S=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";S||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||c!==m)&&na(t,o,r,m),Wt=!1;var g=t.memoizedState;o.state=g,fl(t,r,o,l),c=t.memoizedState,u!==r||g!==c||Ve.current||Wt?(typeof w=="function"&&(uo(t,n,w,r),c=t.memoizedState),(u=Wt||ea(t,n,u,r,g,c,m))?(S||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=m,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Is(e,t),u=t.memoizedProps,m=t.type===t.elementType?u:dt(t.type,u),o.props=m,S=t.pendingProps,g=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=lt(c):(c=Qe(n)?bt:Me.current,c=Cn(t,c));var T=n.getDerivedStateFromProps;(w=typeof T=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==S||g!==c)&&na(t,o,r,c),Wt=!1,g=t.memoizedState,o.state=g,fl(t,r,o,l);var L=t.memoizedState;u!==S||g!==L||Ve.current||Wt?(typeof T=="function"&&(uo(t,n,T,r),L=t.memoizedState),(m=Wt||ea(t,n,m,r,g,L,c)||!1)?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,L,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,L,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=L),o.props=r,o.state=L,o.context=c,r=m):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return po(e,t,n,r,i,l)}function po(e,t,n,r,l,i){da(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&ys(t,n,!1),Nt(e,t,i);r=t.stateNode,Qf.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ln(t,e.child,null,i),t.child=Ln(t,null,u,i)):He(e,t,u,i),t.memoizedState=r.state,l&&ys(t,n,!0),t.child}function ha(e){var t=e.stateNode;t.pendingContext?vs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vs(e,t.context,!1),Xi(e,t.containerInfo)}function ma(e,t,n,r,l){return Pn(),Wi(l),t.flags|=256,He(e,t,n,r),t.child}var ho={dehydrated:null,treeContext:null,retryLane:0};function mo(e){return{baseLanes:e,cachePool:null,transitions:null}}function va(e,t,n){var r=t.pendingProps,l=fe.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ie(fe,l&1),e===null)return Bi(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=mo(n),t.memoizedState=ho,e):vo(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return $f(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=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),u!==null?i=Xt(u,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?mo(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=ho,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 vo(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&&Wi(r),Ln(t,e.child,null,n),e=vo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $f(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ao(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&&Ln(t,e.child,null,o),t.child.memoizedState=mo(o),t.memoizedState=ho,i);if((t.mode&1)===0)return wl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(s(419)),r=ao(i,r,void 0),wl(e,t,o,r)}if(u=(o&e.childLanes)!==0,$e||u){if(r=_e,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,Lt(e,l),mt(r,e,l,-1))}return Ro(),r=ao(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,qe=Ut(l.nextSibling),Je=t,ae=!0,ft=null,e!==null&&(nt[rt++]=_t,nt[rt++]=Pt,nt[rt++]=en,_t=e.id,Pt=e.overflow,en=t),t=vo(t,r.children),t.flags|=4096,t)}function ga(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gi(e.return,t,n)}function go(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 ya(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(He(e,t,r.children,n),r=fe.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&&ga(e,n,t);else if(e.tag===19)ga(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(fe,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),go(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}go(t,!0,n,null,i);break;case"together":go(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 Gf(e,t,n){switch(t.tag){case 3:ha(t),Pn();break;case 5:Rs(t);break;case 1:Qe(t.type)&&nl(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ie(sl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?va(e,t,n):(ie(fe,fe.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return ya(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,fa(e,t,n)}return Nt(e,t,n)}var wa,yo,Sa,ka;wa=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}},yo=function(){},Sa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(yt.current);var i=null;switch(n){case"input":l=Gl(e,l),r=Gl(e,r),i=[];break;case"select":l=P({},l,{value:void 0}),r=P({},r,{value:void 0}),i=[];break;case"textarea":l=Xl(e,l),r=Xl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}Jl(n,r);var o;n=null;for(m in l)if(!r.hasOwnProperty(m)&&l.hasOwnProperty(m)&&l[m]!=null)if(m==="style"){var u=l[m];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else m!=="dangerouslySetInnerHTML"&&m!=="children"&&m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(C.hasOwnProperty(m)?i||(i=[]):(i=i||[]).push(m,null));for(m in r){var c=r[m];if(u=l?.[m],r.hasOwnProperty(m)&&c!==u&&(c!=null||u!=null))if(m==="style")if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(m,n)),n=c;else m==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(i=i||[]).push(m,c)):m==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(m,""+c):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&(C.hasOwnProperty(m)?(c!=null&&m==="onScroll"&&oe("scroll",e),i||u===c||(i=[])):(i=i||[]).push(m,c))}n&&(i=i||[]).push("style",n);var m=i;(t.updateQueue=m)&&(t.flags|=4)}},ka=function(e,t,n,r){n!==r&&(t.flags|=4)};function kr(e,t){if(!ae)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 Kf(e,t,n){var r=t.pendingProps;switch(ji(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)&&tl(),Fe(t),null;case 3:return r=t.stateNode,On(),ue(Ve),ue(Me),qi(),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,ft!==null&&(Io(ft),ft=null))),yo(e,t),Fe(t),null;case 5:Zi(t);var l=rn(vr.current);if(n=t.type,e!==null&&t.stateNode!=null)Sa(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 Fe(t),null}if(e=rn(yt.current),ol(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[gt]=t,r[fr]=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":tu(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":lu(r,i),oe("invalid",r)}Jl(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",""+u]):C.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":Ir(r),ru(r,i,!0);break;case"textarea":Ir(r),ou(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=uu(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[gt]=t,e[fr]=r,wa(e,t,!1,!1),t.stateNode=e;e:{switch(o=ql(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":tu(e,r),l=Gl(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":lu(e,r),l=Xl(e,r),oe("invalid",e);break;default:l=r}Jl(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var c=u[i];i==="style"?cu(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&su(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Vn(e,c):typeof c=="number"&&Vn(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(C.hasOwnProperty(i)?c!=null&&i==="onScroll"&&oe("scroll",e):c!=null&&Oe(e,i,c,o))}switch(n){case"input":Ir(e),ru(e,r,!1);break;case"textarea":Ir(e),ou(e);break;case"option":r.value!=null&&e.setAttribute("value",""+te(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 Fe(t),null;case 6:if(e&&t.stateNode!=null)ka(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(n=rn(vr.current),rn(yt.current),ol(t)){if(r=t.stateNode,n=t.memoizedProps,r[gt]=t,(i=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gt]=t,t.stateNode=r}return Fe(t),null;case 13:if(ue(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&qe!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Cs(),Pn(),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[gt]=t}else Pn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),i=!1}else ft!==null&&(Io(ft),ft=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||(fe.current&1)!==0?Ee===0&&(Ee=3):Ro())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return On(),yo(e,t),e===null&&ar(t.stateNode.containerInfo),Fe(t),null;case 10:return $i(t.type._context),Fe(t),null;case 17:return Qe(t.type)&&tl(),Fe(t),null;case 19:if(ue(fe),i=t.memoizedState,i===null)return Fe(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)kr(i,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dl(e),o!==null){for(t.flags|=128,kr(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(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>Dn&&(t.flags|=128,r=!0,kr(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),kr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ae)return Fe(t),null}else 2*ve()-i.renderingStartTime>Dn&&n!==1073741824&&(t.flags|=128,r=!0,kr(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=ve(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(Fe(t),null);case 22:case 23:return Oo(),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(s(156,t.tag))}function Yf(e,t){switch(ji(t),t.tag){case 1:return Qe(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),ue(Ve),ue(Me),qi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Zi(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return On(),null;case 10:return $i(t.type._context),null;case 22:case 23:return Oo(),null;case 24:return null;default:return null}}var kl=!1,Ae=!1,Xf=typeof WeakSet=="function"?WeakSet:Set,_=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function wo(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Ea=!1;function Zf(e,t){if(Ni=Br,e=es(),Ei(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,u=-1,c=-1,m=0,w=0,S=e,g=null;t:for(;;){for(var T;S!==n||l!==0&&S.nodeType!==3||(u=o+l),S!==i||r!==0&&S.nodeType!==3||(c=o+r),S.nodeType===3&&(o+=S.nodeValue.length),(T=S.firstChild)!==null;)g=S,S=T;for(;;){if(S===e)break t;if(g===n&&++m===l&&(u=o),g===i&&++w===r&&(c=o),(T=S.nextSibling)!==null)break;S=g,g=S.parentNode}S=T}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oi={focusedElem:e,selectionRange:n},Br=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var L=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(L!==null){var I=L.memoizedProps,ge=L.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?I:dt(t.type,I),ge);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(E){pe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return L=Ea,Ea=!1,L}function Er(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&&wo(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 So(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 xa(e){var t=e.alternate;t!==null&&(e.alternate=null,xa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gt],delete t[fr],delete t[Di],delete t[Rf],delete t[zf])),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 Ca(e){return e.tag===5||e.tag===3||e.tag===4}function Ta(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ca(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 ko(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(ko(e,t,n),e=e.sibling;e!==null;)ko(e,t,n),e=e.sibling}function Eo(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(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}var Ie=null,pt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)_a(e,t,n),n=n.sibling}function _a(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Dr,n)}catch{}switch(n.tag){case 5:Ae||zn(n,t);case 6:var r=Ie,l=pt;Ie=null,Qt(e,t,n),Ie=r,pt=l,Ie!==null&&(pt?(e=Ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ie.removeChild(n.stateNode));break;case 18:Ie!==null&&(pt?(e=Ie,n=n.stateNode,e.nodeType===8?Mi(e.parentNode,n):e.nodeType===1&&Mi(e,n),er(e)):Mi(Ie,n.stateNode));break;case 4:r=Ie,l=pt,Ie=n.stateNode.containerInfo,pt=!0,Qt(e,t,n),Ie=r,pt=l;break;case 0:case 11:case 14:case 15:if(!Ae&&(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)&&wo(n,t,o),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!Ae&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){pe(n,t,u)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(Ae=(r=Ae)||n.memoizedState!==null,Qt(e,t,n),Ae=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Pa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xf),t.forEach(function(r){var l=id.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ht(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,u=o;e:for(;u!==null;){switch(u.tag){case 5:Ie=u.stateNode,pt=!1;break e;case 3:Ie=u.stateNode.containerInfo,pt=!0;break e;case 4:Ie=u.stateNode.containerInfo,pt=!0;break e}u=u.return}if(Ie===null)throw Error(s(160));_a(i,o,l),Ie=null,pt=!1;var c=l.alternate;c!==null&&(c.return=null),l.return=null}catch(m){pe(l,t,m)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)La(t,e),t=t.sibling}function La(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ht(t,e),St(e),r&4){try{Er(3,e,e.return),El(3,e)}catch(I){pe(e,e.return,I)}try{Er(5,e,e.return)}catch(I){pe(e,e.return,I)}}break;case 1:ht(t,e),St(e),r&512&&n!==null&&zn(n,n.return);break;case 5:if(ht(t,e),St(e),r&512&&n!==null&&zn(n,n.return),e.flags&32){var l=e.stateNode;try{Vn(l,"")}catch(I){pe(e,e.return,I)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&nu(l,i),ql(u,o);var m=ql(u,i);for(o=0;o<c.length;o+=2){var w=c[o],S=c[o+1];w==="style"?cu(l,S):w==="dangerouslySetInnerHTML"?su(l,S):w==="children"?Vn(l,S):Oe(l,w,S,m)}switch(u){case"input":Kl(l,i);break;case"textarea":iu(l,i);break;case"select":var g=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var T=i.value;T!=null?dn(l,!!i.multiple,T,!1):g!==!!i.multiple&&(i.defaultValue!=null?dn(l,!!i.multiple,i.defaultValue,!0):dn(l,!!i.multiple,i.multiple?[]:"",!1))}l[fr]=i}catch(I){pe(e,e.return,I)}}break;case 6:if(ht(t,e),St(e),r&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(I){pe(e,e.return,I)}}break;case 3:if(ht(t,e),St(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{er(t.containerInfo)}catch(I){pe(e,e.return,I)}break;case 4:ht(t,e),St(e);break;case 13:ht(t,e),St(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(To=ve())),r&4&&Pa(e);break;case 22:if(w=n!==null&&n.memoizedState!==null,e.mode&1?(Ae=(m=Ae)||w,ht(t,e),Ae=m):ht(t,e),St(e),r&8192){if(m=e.memoizedState!==null,(e.stateNode.isHidden=m)&&!w&&(e.mode&1)!==0)for(_=e,w=e.child;w!==null;){for(S=_=w;_!==null;){switch(g=_,T=g.child,g.tag){case 0:case 11:case 14:case 15:Er(4,g,g.return);break;case 1:zn(g,g.return);var L=g.stateNode;if(typeof L.componentWillUnmount=="function"){r=g,n=g.return;try{t=r,L.props=t.memoizedProps,L.state=t.memoizedState,L.componentWillUnmount()}catch(I){pe(r,n,I)}}break;case 5:zn(g,g.return);break;case 22:if(g.memoizedState!==null){Oa(S);continue}}T!==null?(T.return=g,_=T):Oa(S)}w=w.sibling}e:for(w=null,S=e;;){if(S.tag===5){if(w===null){w=S;try{l=S.stateNode,m?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=S.stateNode,c=S.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,u.style.display=au("display",o))}catch(I){pe(e,e.return,I)}}}else if(S.tag===6){if(w===null)try{S.stateNode.nodeValue=m?"":S.memoizedProps}catch(I){pe(e,e.return,I)}}else if((S.tag!==22&&S.tag!==23||S.memoizedState===null||S===e)&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===e)break e;for(;S.sibling===null;){if(S.return===null||S.return===e)break e;w===S&&(w=null),S=S.return}w===S&&(w=null),S.sibling.return=S.return,S=S.sibling}}break;case 19:ht(t,e),St(e),r&4&&Pa(e);break;case 21:break;default:ht(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ca(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&&(Vn(l,""),r.flags&=-33);var i=Ta(e);Eo(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=Ta(e);ko(e,u,o);break;default:throw Error(s(161))}}catch(c){pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Jf(e,t,n){_=e,Ia(e)}function Ia(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var l=_,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||kl;if(!o){var u=l.alternate,c=u!==null&&u.memoizedState!==null||Ae;u=kl;var m=Ae;if(kl=o,(Ae=c)&&!m)for(_=l;_!==null;)o=_,c=o.child,o.tag===22&&o.memoizedState!==null?Ra(l):c!==null?(c.return=o,_=c):Ra(l);for(;i!==null;)_=i,Ia(i),i=i.sibling;_=l,kl=u,Ae=m}Na(e)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,_=i):Na(e)}}function Na(e){for(;_!==null;){var t=_;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ae||El(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ae)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Os(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}Os(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;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 m=t.alternate;if(m!==null){var w=m.memoizedState;if(w!==null){var S=w.dehydrated;S!==null&&er(S)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ae||t.flags&512&&So(t)}catch(g){pe(t,t.return,g)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function Oa(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Ra(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{El(4,t)}catch(c){pe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(c){pe(t,l,c)}}var i=t.return;try{So(t)}catch(c){pe(t,i,c)}break;case 5:var o=t.return;try{So(t)}catch(c){pe(t,o,c)}}}catch(c){pe(t,t.return,c)}if(t===e){_=null;break}var u=t.sibling;if(u!==null){u.return=t.return,_=u;break}_=t.return}}var qf=Math.ceil,xl=he.ReactCurrentDispatcher,xo=he.ReactCurrentOwner,ot=he.ReactCurrentBatchConfig,G=0,_e=null,Se=null,Ne=0,be=0,Mn=jt(0),Ee=0,xr=null,on=0,Cl=0,Co=0,Cr=null,Ge=null,To=0,Dn=1/0,Ot=null,Tl=!1,_o=null,$t=null,_l=!1,Gt=null,Pl=0,Tr=0,Po=null,Ll=-1,Il=0;function Be(){return(G&6)!==0?ve():Ll!==-1?Ll:Ll=ve()}function Kt(e){return(e.mode&1)===0?1:(G&2)!==0&&Ne!==0?Ne&-Ne:Df.transition!==null?(Il===0&&(Il=Tu()),Il):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Mu(e.type)),e)}function mt(e,t,n,r){if(50<Tr)throw Tr=0,Po=null,Error(s(185));Xn(e,n,r),((G&2)===0||e!==_e)&&(e===_e&&((G&2)===0&&(Cl|=n),Ee===4&&Yt(e,Ne)),Ke(e,r),n===1&&G===0&&(t.mode&1)===0&&(Dn=ve()+500,rl&&Bt()))}function Ke(e,t){var n=e.callbackNode;Mc(e,t);var r=Ur(e,e===_e?Ne:0);if(r===0)n!==null&&Eu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Eu(n),t===1)e.tag===0?Mf(Ma.bind(null,e)):ws(Ma.bind(null,e)),Nf(function(){(G&6)===0&&Bt()}),n=null;else{switch(_u(r)){case 1:n=ii;break;case 4:n=xu;break;case 16:n=Mr;break;case 536870912:n=Cu;break;default:n=Mr}n=Wa(n,za.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function za(e,t){if(Ll=-1,Il=0,(G&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Fn()&&e.callbackNode!==n)return null;var r=Ur(e,e===_e?Ne:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Nl(e,r);else{t=r;var l=G;G|=2;var i=Fa();(_e!==e||Ne!==t)&&(Ot=null,Dn=ve()+500,sn(e,t));do try{td();break}catch(u){Da(e,u)}while(!0);Qi(),xl.current=i,G=l,Se!==null?t=0:(_e=null,Ne=0,t=Ee)}if(t!==0){if(t===2&&(l=oi(e),l!==0&&(r=l,t=Lo(e,l))),t===1)throw n=xr,sn(e,0),Yt(e,r),Ke(e,ve()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!bf(l)&&(t=Nl(e,r),t===2&&(i=oi(e),i!==0&&(r=i,t=Lo(e,i))),t===1))throw n=xr,sn(e,0),Yt(e,r),Ke(e,ve()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:an(e,Ge,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=To+500-ve(),10<t)){if(Ur(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=zi(an.bind(null,e,Ge,Ot),t);break}an(e,Ge,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-at(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qf(r/1960))-r,10<r){e.timeoutHandle=zi(an.bind(null,e,Ge,Ot),r);break}an(e,Ge,Ot);break;case 5:an(e,Ge,Ot);break;default:throw Error(s(329))}}}return Ke(e,ve()),e.callbackNode===n?za.bind(null,e):null}function Lo(e,t){var n=Cr;return e.current.memoizedState.isDehydrated&&(sn(e,t).flags|=256),e=Nl(e,t),e!==2&&(t=Ge,Ge=n,t!==null&&Io(t)),e}function Io(e){Ge===null?Ge=e:Ge.push.apply(Ge,e)}function bf(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(!ct(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&=~Co,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Ma(e){if((G&6)!==0)throw Error(s(327));Fn();var t=Ur(e,0);if((t&1)===0)return Ke(e,ve()),null;var n=Nl(e,t);if(e.tag!==0&&n===2){var r=oi(e);r!==0&&(t=r,n=Lo(e,r))}if(n===1)throw n=xr,sn(e,0),Yt(e,t),Ke(e,ve()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ge,Ot),Ke(e,ve()),null}function No(e,t){var n=G;G|=1;try{return e(t)}finally{G=n,G===0&&(Dn=ve()+500,rl&&Bt())}}function un(e){Gt!==null&&Gt.tag===0&&(G&6)===0&&Fn();var t=G;G|=1;var n=ot.transition,r=ne;try{if(ot.transition=null,ne=1,e)return e()}finally{ne=r,ot.transition=n,G=t,(G&6)===0&&Bt()}}function Oo(){be=Mn.current,ue(Mn)}function sn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,If(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(ji(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:On(),ue(Ve),ue(Me),qi();break;case 5:Zi(r);break;case 4:On();break;case 13:ue(fe);break;case 19:ue(fe);break;case 10:$i(r.type._context);break;case 22:case 23:Oo()}n=n.return}if(_e=e,Se=e=Xt(e.current,null),Ne=be=t,Ee=0,xr=null,Co=Cl=on=0,Ge=Cr=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 Da(e,t){do{var n=Se;try{if(Qi(),pl.current=gl,hl){for(var r=de.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}hl=!1}if(ln=0,Te=ke=de=null,gr=!1,yr=0,xo.current=null,n===null||n.return===null){Ee=1,xr=t,Se=null;break}e:{var i=e,o=n.return,u=n,c=t;if(t=Ne,u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c,w=u,S=w.tag;if((w.mode&1)===0&&(S===0||S===11||S===15)){var g=w.alternate;g?(w.updateQueue=g.updateQueue,w.memoizedState=g.memoizedState,w.lanes=g.lanes):(w.updateQueue=null,w.memoizedState=null)}var T=oa(o);if(T!==null){T.flags&=-257,ua(T,o,u,i,t),T.mode&1&&ia(i,m,t),t=T,c=m;var L=t.updateQueue;if(L===null){var I=new Set;I.add(c),t.updateQueue=I}else L.add(c);break e}else{if((t&1)===0){ia(i,m,t),Ro();break e}c=Error(s(426))}}else if(ae&&u.mode&1){var ge=oa(o);if(ge!==null){(ge.flags&65536)===0&&(ge.flags|=256),ua(ge,o,u,i,t),Wi(Rn(c,u));break e}}i=c=Rn(c,u),Ee!==4&&(Ee=2),Cr===null?Cr=[i]:Cr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=ra(i,c,t);Ns(i,p);break e;case 1:u=c;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&($t===null||!$t.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=la(i,u,t);Ns(i,E);break e}}i=i.return}while(i!==null)}Ua(n)}catch(O){t=O,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Fa(){var e=xl.current;return xl.current=gl,e===null?gl:e}function Ro(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),_e===null||(on&268435455)===0&&(Cl&268435455)===0||Yt(_e,Ne)}function Nl(e,t){var n=G;G|=2;var r=Fa();(_e!==e||Ne!==t)&&(Ot=null,sn(e,t));do try{ed();break}catch(l){Da(e,l)}while(!0);if(Qi(),G=n,xl.current=r,Se!==null)throw Error(s(261));return _e=null,Ne=0,Ee}function ed(){for(;Se!==null;)Aa(Se)}function td(){for(;Se!==null&&!Tc();)Aa(Se)}function Aa(e){var t=Ba(e.alternate,e,be);e.memoizedProps=e.pendingProps,t===null?Ua(e):Se=t,xo.current=null}function Ua(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Kf(n,t,be),n!==null){Se=n;return}}else{if(n=Yf(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ee===0&&(Ee=5)}function an(e,t,n){var r=ne,l=ot.transition;try{ot.transition=null,ne=1,nd(e,t,n,r)}finally{ot.transition=l,ne=r}return null}function nd(e,t,n,r){do Fn();while(Gt!==null);if((G&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(Dc(e,i),e===_e&&(Se=_e=null,Ne=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||_l||(_l=!0,Wa(Mr,function(){return Fn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=ot.transition,ot.transition=null;var o=ne;ne=1;var u=G;G|=4,xo.current=null,Zf(e,n),La(n,e),Ef(Oi),Br=!!Ni,Oi=Ni=null,e.current=n,Jf(n),_c(),G=u,ne=o,ot.transition=i}else e.current=n;if(_l&&(_l=!1,Gt=e,Pl=l),i=e.pendingLanes,i===0&&($t=null),Ic(n.stateNode),Ke(e,ve()),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=_o,_o=null,e;return(Pl&1)!==0&&e.tag!==0&&Fn(),i=e.pendingLanes,(i&1)!==0?e===Po?Tr++:(Tr=0,Po=e):Tr=0,Bt(),null}function Fn(){if(Gt!==null){var e=_u(Pl),t=ot.transition,n=ne;try{if(ot.transition=null,ne=16>e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,Pl=0,(G&6)!==0)throw Error(s(331));var l=G;for(G|=4,_=e.current;_!==null;){var i=_,o=i.child;if((_.flags&16)!==0){var u=i.deletions;if(u!==null){for(var c=0;c<u.length;c++){var m=u[c];for(_=m;_!==null;){var w=_;switch(w.tag){case 0:case 11:case 15:Er(8,w,i)}var S=w.child;if(S!==null)S.return=w,_=S;else for(;_!==null;){w=_;var g=w.sibling,T=w.return;if(xa(w),w===m){_=null;break}if(g!==null){g.return=T,_=g;break}_=T}}}var L=i.alternate;if(L!==null){var I=L.child;if(I!==null){L.child=null;do{var ge=I.sibling;I.sibling=null,I=ge}while(I!==null)}}_=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,_=o;else e:for(;_!==null;){if(i=_,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Er(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,_=p;break e}_=i.return}}var f=e.current;for(_=f;_!==null;){o=_;var h=o.child;if((o.subtreeFlags&2064)!==0&&h!==null)h.return=o,_=h;else e:for(o=f;_!==null;){if(u=_,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:El(9,u)}}catch(O){pe(u,u.return,O)}if(u===o){_=null;break e}var E=u.sibling;if(E!==null){E.return=u.return,_=E;break e}_=u.return}}if(G=l,Bt(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Dr,e)}catch{}r=!0}return r}finally{ne=n,ot.transition=t}}return!1}function ja(e,t,n){t=Rn(n,t),t=ra(e,t,1),e=Vt(e,t,1),t=Be(),e!==null&&(Xn(e,1,t),Ke(e,t))}function pe(e,t,n){if(e.tag===3)ja(e,e,n);else for(;t!==null;){if(t.tag===3){ja(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&($t===null||!$t.has(r))){e=Rn(n,e),e=la(t,e,1),t=Vt(t,e,1),e=Be(),t!==null&&(Xn(t,1,e),Ke(t,e));break}}t=t.return}}function rd(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,_e===e&&(Ne&n)===n&&(Ee===4||Ee===3&&(Ne&130023424)===Ne&&500>ve()-To?sn(e,0):Co|=n),Ke(e,t)}function Ha(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ar,Ar<<=1,(Ar&130023424)===0&&(Ar=4194304)));var n=Be();e=Lt(e,t),e!==null&&(Xn(e,t,n),Ke(e,n))}function ld(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ha(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),Ha(e,n)}var Ba;Ba=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)$e=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return $e=!1,Gf(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,ae&&(t.flags&1048576)!==0&&Ss(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,Me.current);Nn(t,n),l=to(null,t,r,e,l,n);var i=no();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,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Yi(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,so(t,r,e,n),t=po(null,t,r,!0,i,n)):(t.tag=0,ae&&i&&Ui(t),He(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=ud(r),e=dt(r,e),l){case 0:t=fo(null,t,r,e,n);break e;case 1:t=pa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=aa(null,t,r,dt(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:dt(r,l),fo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),pa(e,t,r,l,n);case 3:e:{if(ha(t),e===null)throw Error(s(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Is(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=ma(e,t,r,n,l);break e}else if(r!==l){l=Rn(Error(s(424)),t),t=ma(e,t,r,n,l);break e}else for(qe=Ut(t.stateNode.containerInfo.firstChild),Je=t,ae=!0,ft=null,n=Ps(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pn(),r===l){t=Nt(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Rs(t),e===null&&Bi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ri(r,l)?o=null:i!==null&&Ri(r,i)&&(t.flags|=32),da(e,t),He(e,t,o,n),t.child;case 6:return e===null&&Bi(t),null;case 13:return va(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ln(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),sa(e,t,r,l,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(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(sl,r._currentValue),r._currentValue=o,i!==null)if(ct(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 u=i.dependencies;if(u!==null){o=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=It(-1,n&-n),c.tag=2;var m=i.updateQueue;if(m!==null){m=m.shared;var w=m.pending;w===null?c.next=c:(c.next=w.next,w.next=c),m.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Gi(i.return,n,t),u.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,u=o.alternate,u!==null&&(u.lanes|=n),Gi(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}He(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Nn(t,n),l=lt(l),r=r(l),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,l=dt(r,t.pendingProps),l=dt(r.type,l),aa(e,t,r,l,n);case 15:return ca(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),Sl(e,t),t.tag=1,Qe(r)?(e=!0,nl(t)):e=!1,Nn(t,n),ta(t,r,l),so(t,r,l,n),po(null,t,r,!0,e,n);case 19:return ya(e,t,n);case 22:return fa(e,t,n)}throw Error(s(156,t.tag))};function Wa(e,t){return ku(e,t)}function od(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 od(e,t,n,r)}function zo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ud(e){if(typeof e=="function")return zo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===et)return 11;if(e===tt)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")zo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ce:return cn(n.children,l,i,t);case b:o=8,l|=8;break;case ze:return e=ut(12,n,t,l|2),e.elementType=ze,e.lanes=i,e;case je:return e=ut(13,n,t,l),e.elementType=je,e.lanes=i,e;case Ye:return e=ut(19,n,t,l),e.elementType=Ye,e.lanes=i,e;case $:return Rl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case st:o=10;break e;case xt:o=9;break e;case et:o=11;break e;case tt:o=14;break e;case re: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=$,e.lanes=n,e.stateNode={isHidden:!1},e}function Mo(e,t,n){return e=ut(6,e,null,t),e.lanes=n,e}function Do(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 sd(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 Fo(e,t,n,r,l,i,o,u,c){return e=new sd(e,t,n,u,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},Yi(i),e}function ad(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:me,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Va(e){if(!e)return Ht;e=e._reactInternals;e:{if(Jt(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(Qe(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(Qe(n))return gs(e,n,t)}return t}function Qa(e,t,n,r,l,i,o,u,c){return e=Fo(n,r,!0,e,l,i,o,u,c),e.context=Va(null),n=e.current,r=Be(),l=Kt(n),i=It(r,l),i.callback=t??null,Vt(n,i,l),e.current.lanes=l,Xn(e,l,r),Ke(e,r),e}function zl(e,t,n,r){var l=t.current,i=Be(),o=Kt(l);return n=Va(n),t.context===null?t.context=n:t.pendingContext=n,t=It(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(l,t,o),e!==null&&(mt(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 $a(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ao(e,t){$a(e,t),(e=e.alternate)&&$a(e,t)}function cd(){return null}var Ga=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uo(e){this._internalRoot=e}Dl.prototype.render=Uo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));zl(e,t,null,null)},Dl.prototype.unmount=Uo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;un(function(){zl(null,e,null,null)}),t[Ct]=null}};function Dl(e){this._internalRoot=e}Dl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&t!==0&&t<Dt[n].priority;n++);Dt.splice(n,0,e),n===0&&Ru(e)}};function jo(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 Ka(){}function fd(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var m=Ml(o);i.call(m)}}var o=Qa(t,r,e,0,null,!1,!1,"",Ka);return e._reactRootContainer=o,e[Ct]=o.current,ar(e.nodeType===8?e.parentNode:e),un(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var m=Ml(c);u.call(m)}}var c=Fo(e,0,!1,null,null,!1,!1,"",Ka);return e._reactRootContainer=c,e[Ct]=c.current,ar(e.nodeType===8?e.parentNode:e),un(function(){zl(t,c,n,r)}),c}function Al(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var c=Ml(o);u.call(c)}}zl(t,o,e,l)}else o=fd(n,t,e,l,r);return Ml(o)}Pu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Yn(t.pendingLanes);n!==0&&(si(t,n|1),Ke(t,ve()),(G&6)===0&&(Dn=ve()+500,Bt()))}break;case 13:un(function(){var r=Lt(e,1);if(r!==null){var l=Be();mt(r,e,1,l)}}),Ao(e,1)}},ai=function(e){if(e.tag===13){var t=Lt(e,134217728);if(t!==null){var n=Be();mt(t,e,134217728,n)}Ao(e,134217728)}},Lu=function(e){if(e.tag===13){var t=Kt(e),n=Lt(e,t);if(n!==null){var r=Be();mt(n,e,t,r)}Ao(e,t)}},Iu=function(){return ne},Nu=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}},ti=function(e,t,n){switch(t){case"input":if(Kl(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));eu(r),Kl(r,l)}}}break;case"textarea":iu(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}},hu=No,mu=un;var dd={usingClientEntryPoint:!1,Events:[dr,En,el,du,pu,No]},_r={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},pd={bundleType:_r.bundleType,version:_r.version,rendererPackageName:_r.rendererPackageName,rendererConfig:_r.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:he.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wu(e),e===null?null:e.stateNode},findFiberByHostInstance:_r.findFiberByHostInstance||cd,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{Dr=Ul.inject(pd),vt=Ul}catch{}}return We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dd,We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jo(t))throw Error(s(200));return ad(e,t,null,n)},We.createRoot=function(e,t){if(!jo(e))throw Error(s(299));var n=!1,r="",l=Ga;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Fo(e,1,!1,null,null,n,!1,r,l),e[Ct]=t.current,ar(e.nodeType===8?e.parentNode:e),new Uo(t)},We.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=wu(t),e=e===null?null:e.stateNode,e},We.flushSync=function(e){return un(e)},We.hydrate=function(e,t,n){if(!Fl(t))throw Error(s(200));return Al(null,e,t,!0,n)},We.hydrateRoot=function(e,t,n){if(!jo(e))throw Error(s(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ga;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Qa(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,ar(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 Dl(t)},We.render=function(e,t,n){if(!Fl(t))throw Error(s(200));return Al(null,e,t,!1,n)},We.unmountComponentAtNode=function(e){if(!Fl(e))throw Error(s(40));return e._reactRootContainer?(un(function(){Al(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},We.unstable_batchedUpdates=No,We.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 Al(e,t,n,!1,r)},We.version="18.3.1-next-f1338f8080-20240426",We}var $o;function ba(){if($o)return Bl.exports;$o=1;function k(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(k)}catch(a){console.error(a)}}return k(),Bl.exports=qa(),Bl.exports}var Go;function ec(){if(Go)return Pr;Go=1;var k=ba();return Pr.createRoot=k.createRoot,Pr.hydrateRoot=k.hydrateRoot,Pr}var Ko=ec(),Ql={exports:{}},Un={};var Yo;function tc(){if(Yo)return Un;Yo=1;var k=Hl(),a=Symbol.for("react.element"),s=Symbol.for("react.fragment"),v=Object.prototype.hasOwnProperty,C=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,N={key:!0,ref:!0,__self:!0,__source:!0};function F(U,R,V){var Q,B={},K=null,ee=null;V!==void 0&&(K=""+V),R.key!==void 0&&(K=""+R.key),R.ref!==void 0&&(ee=R.ref);for(Q in R)v.call(R,Q)&&!N.hasOwnProperty(Q)&&(B[Q]=R[Q]);if(U&&U.defaultProps)for(Q in R=U.defaultProps,R)B[Q]===void 0&&(B[Q]=R[Q]);return{$$typeof:a,type:U,key:K,ref:ee,props:B,_owner:C.current}}return Un.Fragment=s,Un.jsx=F,Un.jsxs=F,Un}var Xo;function nc(){return Xo||(Xo=1,Ql.exports=tc()),Ql.exports}var xe=nc();const rc='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',lc="--color-brand-secondary",Zo="255 130 0",ic=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,$l=k=>{const a=k.trim(),s=a.split(/\s+/).map(Number);if(ic.test(a)&&s.every(F=>F<=255))return[s[0],s[1],s[2]];const[v,C,N]=Zo.split(" ").map(Number);return[v,C,N]},Jo=([k,a,s])=>{const[v,C,N]=[k,a,s].map(F=>{const U=F/255;return U<=.03928?U/12.92:((U+.055)/1.055)**2.4});return .2126*v+.7152*C+.0722*N},oc=Jo([26,26,26]),uc=k=>{const a=Jo(k),s=(1+.05)/(a+.05);return(a+.05)/(oc+.05)>=s?"#1a1a1a":"#ffffff"},sc={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))"}},ac="(max-width: 720px)",qo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(ac):null;function cc(){return xe.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[xe.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),xe.jsx("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function fc({zIndex:k,theme:a,brandColor:s,onUpdate:v,onDismiss:C}){const[N,F]=ce.useState(!1),[U,R]=ce.useState(()=>qo()?.matches??!1),V=ce.useRef(null),[Q,B]=ce.useState(()=>$l(Zo));ce.useEffect(()=>{const b=requestAnimationFrame(()=>F(!0));return()=>cancelAnimationFrame(b)},[]),ce.useEffect(()=>{if(s!=null){B($l(s));return}if(!V.current)return;const b=getComputedStyle(V.current).getPropertyValue(lc);B($l(b))},[s]);const K=ce.useRef(!1);ce.useEffect(()=>{if(!N)return;const b=ze=>{ze.key!=="Escape"||ze.defaultPrevented||K.current||(K.current=!0,C())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[N,C]),ce.useEffect(()=>{const b=qo();if(!b)return;const ze=()=>R(b.matches);return b.addEventListener("change",ze),()=>b.removeEventListener("change",ze)},[]);const ee=sc[a],[Le,q,Y]=Q,we=`rgb(${Le}, ${q}, ${Y})`,Ue=uc(Q),Oe={position:"fixed",top:"16px",left:"50%",width:U?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:k,opacity:N?1:0,visibility:N?"visible":"hidden",pointerEvents:N?"auto":"none",transform:N?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},he={display:"flex",alignItems:"center",gap:U?"10px":"14px",padding:U?"12px":"14px 14px 14px 16px",background:ee.card,color:ee.title,borderRadius:"14px",border:`1px solid ${ee.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:rc},Re={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${Le}, ${q}, ${Y}, 0.12)`,color:we,borderRadius:"10px",flexShrink:0},me={flexShrink:0,padding:U?"8px 12px":"12px 18px",background:we,color:Ue,border:"none",borderRadius:"16px",fontWeight:700,fontSize:U?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},Ce={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:ee.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return xe.jsx("div",{ref:V,role:"status","aria-live":"polite",style:Oe,children:xe.jsxs("div",{style:he,children:[xe.jsx("div",{style:Re,children:xe.jsx(cc,{})}),xe.jsxs("div",{style:{flex:1,minWidth:0},children:[xe.jsx("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),xe.jsx("div",{style:{fontSize:"12.5px",color:ee.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),xe.jsx("button",{type:"button",style:me,onClick:v,children:"Update"}),xe.jsx("button",{type:"button","aria-label":"Dismiss",style:Ce,onClick:C,children:"✕"})]})})}const jn={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},kt={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 Hn(k,a,s){k.contentWindow&&k.contentWindow.postMessage(a,s)}function dc(k,a){if(k.origin!==a)return!1;const s=k.data;return!s||typeof s!="object"||typeof s.type!="string"?!1:Object.values(kt).includes(s.type)}const bo=768;function pc(k){if(!k||typeof k!="object"||Array.isArray(k))return!1;const a=k;return(a.size===void 0||a.size==="default"||a.size==="medium"||a.size==="large"||a.size==="small")&&(a.defaultFullscreen===void 0||typeof a.defaultFullscreen=="boolean")&&(a.fitContent===void 0||typeof a.fitContent=="boolean")}const hc=({config:k,state:a,onClose:s,onToggleFullscreen:v,onApplyModalOptions:C})=>{const[N,F]=An.useState(!0),[U,R]=An.useState(null),[V,Q]=An.useState(()=>typeof window<"u"&&window.innerWidth>=bo),B=ce.useRef(null),K=ce.useRef(a);ce.useEffect(()=>{K.current=a},[a]);const ee=k.baseUrl||"https://apollos.com",Le=a.currentPath==="/"?"":a.currentPath,q=new URL(`${ee}/${k.slug}${Le}`);q.searchParams.set("embedMode","modal");const Y=q.toString(),we=new URL(ee).origin,Ue=a.modalSize==="medium",Oe=a.modalSize==="large",he=a.modalSize==="small",Re=a.modalFitContent&&!a.isFullscreen,me=ce.useCallback(re=>{re.key==="Escape"&&a.isOpen&&(re.preventDefault(),s())},[a.isOpen,s]);ce.useEffect(()=>(document.addEventListener("keydown",me),()=>document.removeEventListener("keydown",me)),[me]),ce.useEffect(()=>(a.isOpen?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[a.isOpen]),ce.useEffect(()=>{function re(){Q(window.innerWidth>=bo)}return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[]);const Ce=re=>{re.target===re.currentTarget&&s()},b=ce.useRef(!1);ce.useEffect(()=>{function re($){if(dc($,we)&&$.source===B.current?.contentWindow){if($.data.type===kt.EMBED_READY&&(F(!1),B.current)){const x=K.current;Hn(B.current,{type:jn.EMBED_INIT,payload:{theme:x.resolvedTheme,showExpandButton:V,isFullscreen:x.isFullscreen,mode:"modal"}},we),b.current=!0}if($.data.type===kt.REQUEST_CLOSE&&s(),$.data.type===kt.REQUEST_FULLSCREEN&&v(),$.data.type===kt.MODAL_OPTIONS&&pc($.data.payload)&&C($.data.payload),$.data.type===kt.HEIGHT_CHANGE){const x=$.data.payload;x&&typeof x.height=="number"&&x.height>0&&R(x.height)}}}return window.addEventListener("message",re),()=>window.removeEventListener("message",re)},[we,V,s,v,C]),ce.useEffect(()=>{b.current&&B.current&&Hn(B.current,{type:jn.THEME_CHANGED,payload:{theme:a.resolvedTheme}},we)},[a.resolvedTheme,we]),ce.useEffect(()=>{b.current&&B.current&&Hn(B.current,{type:jn.FULLSCREEN_CHANGED,payload:{isFullscreen:a.isFullscreen,showExpandButton:V}},we)},[a.isFullscreen,V,we]),ce.useEffect(()=>{F(!0),R(null),b.current=!1},[a.currentPath]),ce.useEffect(()=>{F(!0),a.isOpen||(R(null),b.current=!1)},[a.isOpen]);const ze=["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",a.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),st=["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",a.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",...a.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]"]:Re?["md:apls-w-[calc(100dvw-64px)]",Oe?"md:apls-max-w-[1120px]":he?"md:apls-max-w-[544px]":Ue?"md:apls-max-w-[640px]":"md:apls-max-w-[600px]","md:apls-h-auto","md:apls-min-h-[360px]","md:apls-max-h-[min(960px,calc(100dvh-64px))]","md:apls-rounded-3xl"]:Oe?["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"]:Ue?["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"]:he?["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(" "),xt=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),et=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",...N?["apls-hidden"]:[]].join(" "),je=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),Ye=["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(" "),tt=Re&&V&&U?{height:`${U}px`}:void 0;return xe.jsx("div",{className:ze,onClick:Ce,style:{zIndex:k.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:xe.jsx("div",{className:st,style:tt,children:xe.jsxs("div",{className:xt,children:[N?xe.jsx("div",{className:je,children:xe.jsx("div",{className:Ye})}):null,a.isOpen?xe.jsx("iframe",{ref:B,className:et,src:Y,title:"Apollos",allow:"payment *",allowTransparency:!0}):null]})})})};class Bn{iframe=null;timeoutId=null;static TIMEOUT_MS=8e3;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(a,s,v){if(this.iframe)return;const C=new URL(`${s.replace(/\/+$/,"")}/${a}/_embed`);v&&C.searchParams.set("personOriginId",v);const N=document.createElement("iframe");N.src=C.toString(),N.width="1",N.height="1",N.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",N.setAttribute("sandbox","allow-scripts allow-same-origin"),N.setAttribute("aria-hidden","true"),N.setAttribute("tabindex","-1"),N.title="Apollos migration probe",N.setAttribute(Bn.PROBE_ATTRIBUTE,"true"),document.body.appendChild(N),this.iframe=N,this.timeoutId=setTimeout(()=>this.destroy(),Bn.TIMEOUT_MS)}confirmLoaded(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(a){const s=this.iframe?.contentWindow;!s||!this.iframe||s.postMessage({type:a},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.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null),this.iframe?.remove(),this.iframe=null}}function mc(k){return k.includes("ContentItem")?"/c":k==="Event"?"/e":k==="FeatureFeed"?"/f":k==="Livestream"?"/live":"/c"}function vc(k){if(/^[A-Z]\w+-/.test(k)){const[s,...v]=k.split(/-(.*)/s);if(s&&v[0])return{type:s,randomId:v[0]}}else{const s=k.split("-").at(-1);if(!s)return null;try{const v=atob(s),[C,...N]=v.split(/-(.*)/s);if(C&&N[0])return{type:C,randomId:N[0]}}catch{return null}}return null}const gc={showAskBar:!1,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"auto"};class Et{config;state;container=null;root=null;mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Bn;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(a){if(this.config={...gc,...a},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:a}=this.config;return a==="light"?"light":a==="dark"||typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}setupThemeListener(){this.cleanupThemeListener(),!(this.config.themeMode!=="auto"||typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=a=>{this.state.resolvedTheme=a.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),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 a of this.inlineIframes.keys()){const s=a.getAttribute("personoriginid")?.trim();if(s)return s}}watchForPersonOriginId(a){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(s=>{for(const v of s){const C=v.target.getAttribute("personoriginid")?.trim();if(C){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,a,C);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"?document.addEventListener("DOMContentLoaded",()=>this.setup()):this.setup()}setup(){if(this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const a=this.config.baseUrl||"https://apollos.com",s=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,a,s),s||this.watchForPersonOriginId(a)}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=Ko.createRoot(this.container),this.render()}render(){this.root&&this.root.render(An.createElement(hc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:a=>this.applyModalOptions(a)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(a){this.state.modalSize=a.size??"default",this.state.modalFitContent=a.fitContent??!1,typeof a.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=a.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",a=>{const v=a.target.closest("a");if(v&&this.shouldInterceptLink(v)){a.preventDefault();const N=new URL(v.href).pathname.replace(`/${this.config.slug}`,"")||"/",F=this.getLinkFullscreenOption(v);this.open(N,F!==void 0?{fullscreen:F}:void 0)}})}shouldInterceptLink(a){if(a.hasAttribute("data-apollos-external"))return!1;const s=a.href,v=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${v.replace(/https?:\/\//,"")})/${this.config.slug}`).test(s)}getLinkFullscreenOption(a){if(!a.hasAttribute("data-apollos-fullscreen"))return;const s=a.getAttribute("data-apollos-fullscreen");return!(s==="false"||s==="0")}setupMessageListener(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.messageListener=v=>{if(v.origin!==s||!v.data||typeof v.data!="object")return;const{type:C,payload:N}=v.data;if(C===kt.EMBED_READY){const F=v.source;this.inlineIframes.forEach((U,R)=>{R.contentWindow===F&&(this.sendInlineIframeInit(R),this.inlineIframes.set(R,!0),this.scheduleInlineSkeletonFallback(R,Et.INLINE_READY_FALLBACK_MS))})}if(C===kt.REQUEST_NAVIGATION){const F=N;if(F?.path){if(/^https?:\/\//i.test(F.path)){window.location.assign(F.path);return}const U=this.config.navigationModalFullscreen===!0;this.open(F.path,{fullscreen:U})}}if(C===kt.HEIGHT_CHANGE){const F=N;if(F&&typeof F.height=="number"&&F.height>0){const U=v.source;let R=null;if(this.inlineIframes.forEach((V,Q)=>{Q.contentWindow===U&&(R=Q)}),!R){const V=document.querySelectorAll("iframe");for(const Q of V)if(!this.container?.contains(Q)&&Q.contentWindow===U){R=Q;break}}R&&(this.scheduleHeightChange(R,F.height),this.inlineSkeletons.has(R)&&this.removeInlineSkeleton(R))}}if(C===Lr.SHOW_MIGRATION_TOAST){const F=N,U=this.embedIframe.getContentWindow();F&&typeof F.migratePath=="string"&&U!==null&&v.source===U&&(this.embedIframe.confirmLoaded(),this.renderMigrationToast(F))}},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(a){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=a;return}const s=document.createElement("div");s.classList.add("apollos-embed"),document.body.appendChild(s),this.migrationToastContainer=s,this.migrationToastRoot=Ko.createRoot(s),this.migrationToastPayload=a,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const a=this.pendingMigrationToastPayload;a&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(a))}renderMigrationToastContent(){const a=this.migrationToastPayload;!this.migrationToastRoot||!a||this.migrationToastRoot.render(An.createElement(fc,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof a.brandColor=="string"?a.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(a.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const a=this.migrationToastRoot,s=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!a||!s)&&setTimeout(()=>{a.unmount(),s.remove()},0)}scheduleHeightChange(a,s){const v=this.heightChangeTimeouts.get(a);v&&clearTimeout(v.timeoutId);const C=setTimeout(()=>{this.heightChangeTimeouts.delete(a),this.applyHeightWithTransition(a,s)},Et.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(a,{timeoutId:C,height:s})}applyHeightWithTransition(a,s){(a.style.height?parseFloat(a.style.height):NaN)!==s&&(a.style.transition=`height ${Et.HEIGHT_TRANSITION_MS}ms ease-out`,a.style.height=`${s}px`)}scheduleInlineSkeletonFallback(a,s){if(!this.inlineSkeletons.has(a))return;const v=this.inlineSkeletonFallbackTimeouts.get(a);v&&clearTimeout(v);const C=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(a),this.inlineSkeletons.has(a)&&this.removeInlineSkeleton(a)},s);this.inlineSkeletonFallbackTimeouts.set(a,C)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;document.querySelectorAll("iframe").forEach(C=>{if(this.isInlineEmbed(C,s)){const N=this.applyInlineIframeUrlParams(C);this.inlineIframes.set(C,!1),this.createInlineSkeleton(C),N||this.sendInlineIframeInit(C)}})}isInlineEmbed(a,s){const v=a.src;if(!v||a.hasAttribute(Bn.PROBE_ATTRIBUTE))return!1;try{const C=new URL(v);return!(C.origin!==s||!C.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(a){const s=a.src;if(!s)return!1;try{const v=new URL(s);let C=!1;v.searchParams.get("embedMode")!=="inline"&&(v.searchParams.set("embedMode","inline"),C=!0);const N=this.state.resolvedTheme;return v.searchParams.get("theme")!==N&&(v.searchParams.set("theme",N),C=!0),C&&(a.src=v.toString()),C}catch{return!1}}sendInlineIframeInit(a){const s=this.config.baseUrl||"https://apollos.com",v=new URL(s).origin;Hn(a,{type:jn.EMBED_INIT,payload:{theme:this.state.resolvedTheme,showExpandButton:!1,isFullscreen:!1,mode:"inline"}},v)}sendThemeToInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.inlineIframes.forEach((v,C)=>{v&&Hn(C,{type:jn.THEME_CHANGED,payload:{theme:this.state.resolvedTheme}},s)})}checkDeepLinkParams(){const a=new URLSearchParams(window.location.search),s=this.getDeepLinkModalOptions(a),v=a.get("a");if(v){this.openWithFullscreenDefault(v,s),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const C=a.get("apollosId")?"apollosId":a.get("id")?"id":null,N=C?a.get(C):null;if(N&&C){const F=vc(N);if(F){const U=mc(F.type);this.openWithFullscreenDefault(`${U}/${N}`,{fullscreen:!0})}else this.openWithFullscreenDefault(`/c/${N}`,{fullscreen:!0});this.stripConsumedDeepLinkParams([C]);return}}stripConsumedDeepLinkParams(a){if(typeof window>"u"||!window.history?.replaceState)return;const s=new URL(window.location.href);let v=!1;for(const C of a)s.searchParams.has(C)&&(s.searchParams.delete(C),v=!0);v&&window.history.replaceState(window.history.state,"",s.pathname+s.search+s.hash)}open(a,s){this.openInternal(a,s,s?.fullscreen!==void 0)}openWithFullscreenDefault(a,s){const v=s?.fullscreen!==void 0;this.openInternal(a,{fullscreen:s?.fullscreen??!0,modalSize:s?.modalSize},v)}openInternal(a,s,v=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=v,a&&(this.state.currentPath=a),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(a){const s=this.parseModalSize(a.get("apollosModalSize")),v=this.parseBoolean(a.get("apollosFullscreen"));if(!(s===void 0&&v===void 0))return{modalSize:s,fullscreen:v}}parseModalSize(a){if(a==="default"||a==="medium"||a==="large"||a==="small")return a}parseBoolean(a){if(a==="true")return!0;if(a==="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(a){this.state.currentPath=a,this.render(),this.config.onNavigate?.(a)}isOpen(){return this.state.isOpen}destroy(){this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:a})=>clearTimeout(a)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(a=>clearTimeout(a)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(a=>{this.removeInlineSkeleton(a)}),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(a){if(this.inlineSkeletons.has(a))return;Et.ensureSkeletonStyles();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 v=document.createElement("div");v.style.borderRadius="12px",v.style.padding="74px 24px 20px 24px",v.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",v.style.minHeight="360px",v.style.display="flex",v.style.flexDirection="column",v.style.justifyContent="flex-start",v.style.gap="0",v.style.width="100%",v.style.maxWidth="100%";const C=this.state.resolvedTheme==="dark";v.style.backgroundColor=C?"#111827":"#f3f4f6";const N=(Q,B,K)=>{const ee=document.createElement("div");return ee.style.height=`${Q}px`,ee.style.borderRadius=`${B}px`,ee.style.backgroundColor=C?"#374151":"#ffffff",ee.style.width="100%",ee.style.marginBottom=`${K}px`,ee.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",ee},F=N(68,8,12),U=N(56,8,24),R=document.createElement("div");R.style.height="50px",R.style.width="100%",R.style.borderRadius="12px",R.style.backgroundColor=C?"#374151":"#ffffff",R.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",v.appendChild(F),v.appendChild(U),v.appendChild(R),s.appendChild(v);const V=a.parentElement;if(V){const Q=window.getComputedStyle(V);Q.position==="static"&&(this.inlineSkeletonParentRestore.set(a,{parent:V,originalPosition:Q.position}),V.style.position="relative"),V.appendChild(s),this.inlineSkeletons.set(a,s),a.style.visibility="hidden",this.scheduleInlineSkeletonFallback(a,Et.INLINE_SKELETON_FALLBACK_MS)}}removeInlineSkeleton(a){const s=this.inlineSkeletons.get(a);s&&s.parentElement&&s.parentElement.removeChild(s),this.inlineSkeletons.delete(a);const v=this.inlineSkeletonFallbackTimeouts.get(a);v&&(clearTimeout(v),this.inlineSkeletonFallbackTimeouts.delete(a)),a.style.visibility="";const C=this.inlineSkeletonParentRestore.get(a);C&&(C.parent.style.position=C.originalPosition,this.inlineSkeletonParentRestore.delete(a))}static ensureSkeletonStyles(){if(Et.hasInjectedSkeletonStyles||typeof document>"u")return;const a=document.createElement("style");a.textContent=`
|
|
9
|
+
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ao(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function co(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Kf=typeof WeakMap=="function"?WeakMap:Map;function ra(e,t,n){n=It(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tl||(Tl=!0,_o=r),co(e,t)},n}function la(e,t,n){n=It(-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(){co(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){co(e,t),typeof r!="function"&&($t===null?$t=new Set([this]):$t.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Kf;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=ud.bind(null,e,t,n),t.then(e,e))}function oa(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 ua(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=It(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Yf=he.ReactCurrentOwner,$e=!1;function He(e,t,n,r){t.child=e===null?Ps(t,null,n,r):Ln(t,e.child,n,r)}function sa(e,t,n,r,l){n=n.render;var i=t.ref;return Nn(t,l),r=to(e,t,n,r,i,l),n=no(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ce&&n&&Ui(t),t.flags|=1,He(e,t,r,l),t.child)}function aa(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!zo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ca(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:or,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 ca(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(or(i,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,Nt(e,t,l)}return fo(e,t,n,r,l)}function fa(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,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(Mn,be),be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(Mn,be),be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(Mn,be),be|=r;return He(e,t,l,n),t.child}function da(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fo(e,t,n,r,l){var i=Qe(n)?bt:Me.current;return i=Cn(t,i),Nn(t,l),n=to(e,t,n,r,i,l),r=no(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ce&&r&&Ui(t),t.flags|=1,He(e,t,n,l),t.child)}function pa(e,t,n,r,l){if(Qe(n)){var i=!0;nl(t)}else i=!1;if(Nn(t,l),t.stateNode===null)Sl(e,t),ta(t,n,r),so(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var c=o.context,m=n.contextType;typeof m=="object"&&m!==null?m=lt(m):(m=Qe(n)?bt:Me.current,m=Cn(t,m));var w=n.getDerivedStateFromProps,S=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";S||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||c!==m)&&na(t,o,r,m),Wt=!1;var g=t.memoizedState;o.state=g,fl(t,r,o,l),c=t.memoizedState,u!==r||g!==c||Ve.current||Wt?(typeof w=="function"&&(uo(t,n,w,r),c=t.memoizedState),(u=Wt||ea(t,n,u,r,g,c,m))?(S||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=m,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Is(e,t),u=t.memoizedProps,m=t.type===t.elementType?u:dt(t.type,u),o.props=m,S=t.pendingProps,g=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=lt(c):(c=Qe(n)?bt:Me.current,c=Cn(t,c));var T=n.getDerivedStateFromProps;(w=typeof T=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==S||g!==c)&&na(t,o,r,c),Wt=!1,g=t.memoizedState,o.state=g,fl(t,r,o,l);var L=t.memoizedState;u!==S||g!==L||Ve.current||Wt?(typeof T=="function"&&(uo(t,n,T,r),L=t.memoizedState),(m=Wt||ea(t,n,m,r,g,L,c)||!1)?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,L,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,L,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=L),o.props=r,o.state=L,o.context=c,r=m):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return po(e,t,n,r,i,l)}function po(e,t,n,r,l,i){da(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&ys(t,n,!1),Nt(e,t,i);r=t.stateNode,Yf.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ln(t,e.child,null,i),t.child=Ln(t,null,u,i)):He(e,t,u,i),t.memoizedState=r.state,l&&ys(t,n,!0),t.child}function ha(e){var t=e.stateNode;t.pendingContext?vs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vs(e,t.context,!1),Xi(e,t.containerInfo)}function ma(e,t,n,r,l){return Pn(),Wi(l),t.flags|=256,He(e,t,n,r),t.child}var ho={dehydrated:null,treeContext:null,retryLane:0};function mo(e){return{baseLanes:e,cachePool:null,transitions:null}}function va(e,t,n){var r=t.pendingProps,l=fe.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ie(fe,l&1),e===null)return Bi(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=mo(n),t.memoizedState=ho,e):vo(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Xf(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=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),u!==null?i=Xt(u,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?mo(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=ho,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 vo(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&&Wi(r),Ln(t,e.child,null,n),e=vo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xf(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ao(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&&Ln(t,e.child,null,o),t.child.memoizedState=mo(o),t.memoizedState=ho,i);if((t.mode&1)===0)return wl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(s(419)),r=ao(i,r,void 0),wl(e,t,o,r)}if(u=(o&e.childLanes)!==0,$e||u){if(r=_e,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,Lt(e,l),mt(r,e,l,-1))}return Ro(),r=ao(Error(s(421))),wl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=sd.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,qe=Ut(l.nextSibling),Je=t,ce=!0,ft=null,e!==null&&(nt[rt++]=_t,nt[rt++]=Pt,nt[rt++]=en,_t=e.id,Pt=e.overflow,en=t),t=vo(t,r.children),t.flags|=4096,t)}function ga(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gi(e.return,t,n)}function go(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 ya(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(He(e,t,r.children,n),r=fe.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&&ga(e,n,t);else if(e.tag===19)ga(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(fe,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),go(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}go(t,!0,n,null,i);break;case"together":go(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 Zf(e,t,n){switch(t.tag){case 3:ha(t),Pn();break;case 5:Rs(t);break;case 1:Qe(t.type)&&nl(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ie(sl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?va(e,t,n):(ie(fe,fe.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return ya(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,fa(e,t,n)}return Nt(e,t,n)}var wa,yo,Sa,ka;wa=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}},yo=function(){},Sa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(yt.current);var i=null;switch(n){case"input":l=Gl(e,l),r=Gl(e,r),i=[];break;case"select":l=P({},l,{value:void 0}),r=P({},r,{value:void 0}),i=[];break;case"textarea":l=Xl(e,l),r=Xl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}Jl(n,r);var o;n=null;for(m in l)if(!r.hasOwnProperty(m)&&l.hasOwnProperty(m)&&l[m]!=null)if(m==="style"){var u=l[m];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else m!=="dangerouslySetInnerHTML"&&m!=="children"&&m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(C.hasOwnProperty(m)?i||(i=[]):(i=i||[]).push(m,null));for(m in r){var c=r[m];if(u=l?.[m],r.hasOwnProperty(m)&&c!==u&&(c!=null||u!=null))if(m==="style")if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(m,n)),n=c;else m==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(i=i||[]).push(m,c)):m==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(m,""+c):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&(C.hasOwnProperty(m)?(c!=null&&m==="onScroll"&&oe("scroll",e),i||u===c||(i=[])):(i=i||[]).push(m,c))}n&&(i=i||[]).push("style",n);var m=i;(t.updateQueue=m)&&(t.flags|=4)}},ka=function(e,t,n,r){n!==r&&(t.flags|=4)};function kr(e,t){if(!ce)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 De(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 Jf(e,t,n){var r=t.pendingProps;switch(ji(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return Qe(t.type)&&tl(),De(t),null;case 3:return r=t.stateNode,On(),ue(Ve),ue(Me),qi(),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,ft!==null&&(Io(ft),ft=null))),yo(e,t),De(t),null;case 5:Zi(t);var l=rn(vr.current);if(n=t.type,e!==null&&t.stateNode!=null)Sa(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 De(t),null}if(e=rn(yt.current),ol(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[gt]=t,r[fr]=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":tu(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":lu(r,i),oe("invalid",r)}Jl(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",""+u]):C.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":Ir(r),ru(r,i,!0);break;case"textarea":Ir(r),ou(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=uu(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[gt]=t,e[fr]=r,wa(e,t,!1,!1),t.stateNode=e;e:{switch(o=ql(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":tu(e,r),l=Gl(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":lu(e,r),l=Xl(e,r),oe("invalid",e);break;default:l=r}Jl(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var c=u[i];i==="style"?cu(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&su(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Vn(e,c):typeof c=="number"&&Vn(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(C.hasOwnProperty(i)?c!=null&&i==="onScroll"&&oe("scroll",e):c!=null&&Oe(e,i,c,o))}switch(n){case"input":Ir(e),ru(e,r,!1);break;case"textarea":Ir(e),ou(e);break;case"option":r.value!=null&&e.setAttribute("value",""+te(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 De(t),null;case 6:if(e&&t.stateNode!=null)ka(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(n=rn(vr.current),rn(yt.current),ol(t)){if(r=t.stateNode,n=t.memoizedProps,r[gt]=t,(i=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gt]=t,t.stateNode=r}return De(t),null;case 13:if(ue(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&qe!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Cs(),Pn(),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[gt]=t}else Pn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),i=!1}else ft!==null&&(Io(ft),ft=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||(fe.current&1)!==0?Ee===0&&(Ee=3):Ro())),t.updateQueue!==null&&(t.flags|=4),De(t),null);case 4:return On(),yo(e,t),e===null&&ar(t.stateNode.containerInfo),De(t),null;case 10:return $i(t.type._context),De(t),null;case 17:return Qe(t.type)&&tl(),De(t),null;case 19:if(ue(fe),i=t.memoizedState,i===null)return De(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)kr(i,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dl(e),o!==null){for(t.flags|=128,kr(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(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>Fn&&(t.flags|=128,r=!0,kr(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),kr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ce)return De(t),null}else 2*ve()-i.renderingStartTime>Fn&&n!==1073741824&&(t.flags|=128,r=!0,kr(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=ve(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Oo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(be&1073741824)!==0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function qf(e,t){switch(ji(t),t.tag){case 1:return Qe(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),ue(Ve),ue(Me),qi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Zi(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return On(),null;case 10:return $i(t.type._context),null;case 22:case 23:return Oo(),null;case 24:return null;default:return null}}var kl=!1,Ae=!1,bf=typeof WeakSet=="function"?WeakSet:Set,_=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function wo(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Ea=!1;function ed(e,t){if(Ni=Br,e=es(),Ei(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,u=-1,c=-1,m=0,w=0,S=e,g=null;t:for(;;){for(var T;S!==n||l!==0&&S.nodeType!==3||(u=o+l),S!==i||r!==0&&S.nodeType!==3||(c=o+r),S.nodeType===3&&(o+=S.nodeValue.length),(T=S.firstChild)!==null;)g=S,S=T;for(;;){if(S===e)break t;if(g===n&&++m===l&&(u=o),g===i&&++w===r&&(c=o),(T=S.nextSibling)!==null)break;S=g,g=S.parentNode}S=T}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oi={focusedElem:e,selectionRange:n},Br=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var L=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(L!==null){var I=L.memoizedProps,ge=L.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?I:dt(t.type,I),ge);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(E){pe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return L=Ea,Ea=!1,L}function Er(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&&wo(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 So(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 xa(e){var t=e.alternate;t!==null&&(e.alternate=null,xa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gt],delete t[fr],delete t[Fi],delete t[Df],delete t[Af])),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 Ca(e){return e.tag===5||e.tag===3||e.tag===4}function Ta(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ca(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 ko(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(ko(e,t,n),e=e.sibling;e!==null;)ko(e,t,n),e=e.sibling}function Eo(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(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}var Ie=null,pt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)_a(e,t,n),n=n.sibling}function _a(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Fr,n)}catch{}switch(n.tag){case 5:Ae||zn(n,t);case 6:var r=Ie,l=pt;Ie=null,Qt(e,t,n),Ie=r,pt=l,Ie!==null&&(pt?(e=Ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ie.removeChild(n.stateNode));break;case 18:Ie!==null&&(pt?(e=Ie,n=n.stateNode,e.nodeType===8?Mi(e.parentNode,n):e.nodeType===1&&Mi(e,n),er(e)):Mi(Ie,n.stateNode));break;case 4:r=Ie,l=pt,Ie=n.stateNode.containerInfo,pt=!0,Qt(e,t,n),Ie=r,pt=l;break;case 0:case 11:case 14:case 15:if(!Ae&&(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)&&wo(n,t,o),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!Ae&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){pe(n,t,u)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(Ae=(r=Ae)||n.memoizedState!==null,Qt(e,t,n),Ae=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Pa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new bf),t.forEach(function(r){var l=ad.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ht(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,u=o;e:for(;u!==null;){switch(u.tag){case 5:Ie=u.stateNode,pt=!1;break e;case 3:Ie=u.stateNode.containerInfo,pt=!0;break e;case 4:Ie=u.stateNode.containerInfo,pt=!0;break e}u=u.return}if(Ie===null)throw Error(s(160));_a(i,o,l),Ie=null,pt=!1;var c=l.alternate;c!==null&&(c.return=null),l.return=null}catch(m){pe(l,t,m)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)La(t,e),t=t.sibling}function La(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ht(t,e),St(e),r&4){try{Er(3,e,e.return),El(3,e)}catch(I){pe(e,e.return,I)}try{Er(5,e,e.return)}catch(I){pe(e,e.return,I)}}break;case 1:ht(t,e),St(e),r&512&&n!==null&&zn(n,n.return);break;case 5:if(ht(t,e),St(e),r&512&&n!==null&&zn(n,n.return),e.flags&32){var l=e.stateNode;try{Vn(l,"")}catch(I){pe(e,e.return,I)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&nu(l,i),ql(u,o);var m=ql(u,i);for(o=0;o<c.length;o+=2){var w=c[o],S=c[o+1];w==="style"?cu(l,S):w==="dangerouslySetInnerHTML"?su(l,S):w==="children"?Vn(l,S):Oe(l,w,S,m)}switch(u){case"input":Kl(l,i);break;case"textarea":iu(l,i);break;case"select":var g=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var T=i.value;T!=null?dn(l,!!i.multiple,T,!1):g!==!!i.multiple&&(i.defaultValue!=null?dn(l,!!i.multiple,i.defaultValue,!0):dn(l,!!i.multiple,i.multiple?[]:"",!1))}l[fr]=i}catch(I){pe(e,e.return,I)}}break;case 6:if(ht(t,e),St(e),r&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(I){pe(e,e.return,I)}}break;case 3:if(ht(t,e),St(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{er(t.containerInfo)}catch(I){pe(e,e.return,I)}break;case 4:ht(t,e),St(e);break;case 13:ht(t,e),St(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(To=ve())),r&4&&Pa(e);break;case 22:if(w=n!==null&&n.memoizedState!==null,e.mode&1?(Ae=(m=Ae)||w,ht(t,e),Ae=m):ht(t,e),St(e),r&8192){if(m=e.memoizedState!==null,(e.stateNode.isHidden=m)&&!w&&(e.mode&1)!==0)for(_=e,w=e.child;w!==null;){for(S=_=w;_!==null;){switch(g=_,T=g.child,g.tag){case 0:case 11:case 14:case 15:Er(4,g,g.return);break;case 1:zn(g,g.return);var L=g.stateNode;if(typeof L.componentWillUnmount=="function"){r=g,n=g.return;try{t=r,L.props=t.memoizedProps,L.state=t.memoizedState,L.componentWillUnmount()}catch(I){pe(r,n,I)}}break;case 5:zn(g,g.return);break;case 22:if(g.memoizedState!==null){Oa(S);continue}}T!==null?(T.return=g,_=T):Oa(S)}w=w.sibling}e:for(w=null,S=e;;){if(S.tag===5){if(w===null){w=S;try{l=S.stateNode,m?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=S.stateNode,c=S.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,u.style.display=au("display",o))}catch(I){pe(e,e.return,I)}}}else if(S.tag===6){if(w===null)try{S.stateNode.nodeValue=m?"":S.memoizedProps}catch(I){pe(e,e.return,I)}}else if((S.tag!==22&&S.tag!==23||S.memoizedState===null||S===e)&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===e)break e;for(;S.sibling===null;){if(S.return===null||S.return===e)break e;w===S&&(w=null),S=S.return}w===S&&(w=null),S.sibling.return=S.return,S=S.sibling}}break;case 19:ht(t,e),St(e),r&4&&Pa(e);break;case 21:break;default:ht(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ca(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&&(Vn(l,""),r.flags&=-33);var i=Ta(e);Eo(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=Ta(e);ko(e,u,o);break;default:throw Error(s(161))}}catch(c){pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function td(e,t,n){_=e,Ia(e)}function Ia(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var l=_,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||kl;if(!o){var u=l.alternate,c=u!==null&&u.memoizedState!==null||Ae;u=kl;var m=Ae;if(kl=o,(Ae=c)&&!m)for(_=l;_!==null;)o=_,c=o.child,o.tag===22&&o.memoizedState!==null?Ra(l):c!==null?(c.return=o,_=c):Ra(l);for(;i!==null;)_=i,Ia(i),i=i.sibling;_=l,kl=u,Ae=m}Na(e)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,_=i):Na(e)}}function Na(e){for(;_!==null;){var t=_;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ae||El(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ae)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Os(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}Os(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;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 m=t.alternate;if(m!==null){var w=m.memoizedState;if(w!==null){var S=w.dehydrated;S!==null&&er(S)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ae||t.flags&512&&So(t)}catch(g){pe(t,t.return,g)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function Oa(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Ra(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{El(4,t)}catch(c){pe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(c){pe(t,l,c)}}var i=t.return;try{So(t)}catch(c){pe(t,i,c)}break;case 5:var o=t.return;try{So(t)}catch(c){pe(t,o,c)}}}catch(c){pe(t,t.return,c)}if(t===e){_=null;break}var u=t.sibling;if(u!==null){u.return=t.return,_=u;break}_=t.return}}var nd=Math.ceil,xl=he.ReactCurrentDispatcher,xo=he.ReactCurrentOwner,ot=he.ReactCurrentBatchConfig,G=0,_e=null,Se=null,Ne=0,be=0,Mn=jt(0),Ee=0,xr=null,on=0,Cl=0,Co=0,Cr=null,Ge=null,To=0,Fn=1/0,Ot=null,Tl=!1,_o=null,$t=null,_l=!1,Gt=null,Pl=0,Tr=0,Po=null,Ll=-1,Il=0;function Be(){return(G&6)!==0?ve():Ll!==-1?Ll:Ll=ve()}function Kt(e){return(e.mode&1)===0?1:(G&2)!==0&&Ne!==0?Ne&-Ne:jf.transition!==null?(Il===0&&(Il=Tu()),Il):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Mu(e.type)),e)}function mt(e,t,n,r){if(50<Tr)throw Tr=0,Po=null,Error(s(185));Xn(e,n,r),((G&2)===0||e!==_e)&&(e===_e&&((G&2)===0&&(Cl|=n),Ee===4&&Yt(e,Ne)),Ke(e,r),n===1&&G===0&&(t.mode&1)===0&&(Fn=ve()+500,rl&&Bt()))}function Ke(e,t){var n=e.callbackNode;Uc(e,t);var r=Ur(e,e===_e?Ne:0);if(r===0)n!==null&&Eu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Eu(n),t===1)e.tag===0?Uf(Ma.bind(null,e)):ws(Ma.bind(null,e)),Mf(function(){(G&6)===0&&Bt()}),n=null;else{switch(_u(r)){case 1:n=ii;break;case 4:n=xu;break;case 16:n=Mr;break;case 536870912:n=Cu;break;default:n=Mr}n=Wa(n,za.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function za(e,t){if(Ll=-1,Il=0,(G&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Dn()&&e.callbackNode!==n)return null;var r=Ur(e,e===_e?Ne:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Nl(e,r);else{t=r;var l=G;G|=2;var i=Da();(_e!==e||Ne!==t)&&(Ot=null,Fn=ve()+500,sn(e,t));do try{id();break}catch(u){Fa(e,u)}while(!0);Qi(),xl.current=i,G=l,Se!==null?t=0:(_e=null,Ne=0,t=Ee)}if(t!==0){if(t===2&&(l=oi(e),l!==0&&(r=l,t=Lo(e,l))),t===1)throw n=xr,sn(e,0),Yt(e,r),Ke(e,ve()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!rd(l)&&(t=Nl(e,r),t===2&&(i=oi(e),i!==0&&(r=i,t=Lo(e,i))),t===1))throw n=xr,sn(e,0),Yt(e,r),Ke(e,ve()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:an(e,Ge,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=To+500-ve(),10<t)){if(Ur(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=zi(an.bind(null,e,Ge,Ot),t);break}an(e,Ge,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-at(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nd(r/1960))-r,10<r){e.timeoutHandle=zi(an.bind(null,e,Ge,Ot),r);break}an(e,Ge,Ot);break;case 5:an(e,Ge,Ot);break;default:throw Error(s(329))}}}return Ke(e,ve()),e.callbackNode===n?za.bind(null,e):null}function Lo(e,t){var n=Cr;return e.current.memoizedState.isDehydrated&&(sn(e,t).flags|=256),e=Nl(e,t),e!==2&&(t=Ge,Ge=n,t!==null&&Io(t)),e}function Io(e){Ge===null?Ge=e:Ge.push.apply(Ge,e)}function rd(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(!ct(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&=~Co,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Ma(e){if((G&6)!==0)throw Error(s(327));Dn();var t=Ur(e,0);if((t&1)===0)return Ke(e,ve()),null;var n=Nl(e,t);if(e.tag!==0&&n===2){var r=oi(e);r!==0&&(t=r,n=Lo(e,r))}if(n===1)throw n=xr,sn(e,0),Yt(e,t),Ke(e,ve()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ge,Ot),Ke(e,ve()),null}function No(e,t){var n=G;G|=1;try{return e(t)}finally{G=n,G===0&&(Fn=ve()+500,rl&&Bt())}}function un(e){Gt!==null&&Gt.tag===0&&(G&6)===0&&Dn();var t=G;G|=1;var n=ot.transition,r=ne;try{if(ot.transition=null,ne=1,e)return e()}finally{ne=r,ot.transition=n,G=t,(G&6)===0&&Bt()}}function Oo(){be=Mn.current,ue(Mn)}function sn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,zf(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(ji(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:On(),ue(Ve),ue(Me),qi();break;case 5:Zi(r);break;case 4:On();break;case 13:ue(fe);break;case 19:ue(fe);break;case 10:$i(r.type._context);break;case 22:case 23:Oo()}n=n.return}if(_e=e,Se=e=Xt(e.current,null),Ne=be=t,Ee=0,xr=null,Co=Cl=on=0,Ge=Cr=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 Fa(e,t){do{var n=Se;try{if(Qi(),pl.current=gl,hl){for(var r=de.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}hl=!1}if(ln=0,Te=ke=de=null,gr=!1,yr=0,xo.current=null,n===null||n.return===null){Ee=1,xr=t,Se=null;break}e:{var i=e,o=n.return,u=n,c=t;if(t=Ne,u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c,w=u,S=w.tag;if((w.mode&1)===0&&(S===0||S===11||S===15)){var g=w.alternate;g?(w.updateQueue=g.updateQueue,w.memoizedState=g.memoizedState,w.lanes=g.lanes):(w.updateQueue=null,w.memoizedState=null)}var T=oa(o);if(T!==null){T.flags&=-257,ua(T,o,u,i,t),T.mode&1&&ia(i,m,t),t=T,c=m;var L=t.updateQueue;if(L===null){var I=new Set;I.add(c),t.updateQueue=I}else L.add(c);break e}else{if((t&1)===0){ia(i,m,t),Ro();break e}c=Error(s(426))}}else if(ce&&u.mode&1){var ge=oa(o);if(ge!==null){(ge.flags&65536)===0&&(ge.flags|=256),ua(ge,o,u,i,t),Wi(Rn(c,u));break e}}i=c=Rn(c,u),Ee!==4&&(Ee=2),Cr===null?Cr=[i]:Cr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=ra(i,c,t);Ns(i,p);break e;case 1:u=c;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&($t===null||!$t.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=la(i,u,t);Ns(i,E);break e}}i=i.return}while(i!==null)}Ua(n)}catch(O){t=O,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Da(){var e=xl.current;return xl.current=gl,e===null?gl:e}function Ro(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),_e===null||(on&268435455)===0&&(Cl&268435455)===0||Yt(_e,Ne)}function Nl(e,t){var n=G;G|=2;var r=Da();(_e!==e||Ne!==t)&&(Ot=null,sn(e,t));do try{ld();break}catch(l){Fa(e,l)}while(!0);if(Qi(),G=n,xl.current=r,Se!==null)throw Error(s(261));return _e=null,Ne=0,Ee}function ld(){for(;Se!==null;)Aa(Se)}function id(){for(;Se!==null&&!Ic();)Aa(Se)}function Aa(e){var t=Ba(e.alternate,e,be);e.memoizedProps=e.pendingProps,t===null?Ua(e):Se=t,xo.current=null}function Ua(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Jf(n,t,be),n!==null){Se=n;return}}else{if(n=qf(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ee===0&&(Ee=5)}function an(e,t,n){var r=ne,l=ot.transition;try{ot.transition=null,ne=1,od(e,t,n,r)}finally{ot.transition=l,ne=r}return null}function od(e,t,n,r){do Dn();while(Gt!==null);if((G&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(jc(e,i),e===_e&&(Se=_e=null,Ne=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||_l||(_l=!0,Wa(Mr,function(){return Dn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=ot.transition,ot.transition=null;var o=ne;ne=1;var u=G;G|=4,xo.current=null,ed(e,n),La(n,e),_f(Oi),Br=!!Ni,Oi=Ni=null,e.current=n,td(n),Nc(),G=u,ne=o,ot.transition=i}else e.current=n;if(_l&&(_l=!1,Gt=e,Pl=l),i=e.pendingLanes,i===0&&($t=null),zc(n.stateNode),Ke(e,ve()),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=_o,_o=null,e;return(Pl&1)!==0&&e.tag!==0&&Dn(),i=e.pendingLanes,(i&1)!==0?e===Po?Tr++:(Tr=0,Po=e):Tr=0,Bt(),null}function Dn(){if(Gt!==null){var e=_u(Pl),t=ot.transition,n=ne;try{if(ot.transition=null,ne=16>e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,Pl=0,(G&6)!==0)throw Error(s(331));var l=G;for(G|=4,_=e.current;_!==null;){var i=_,o=i.child;if((_.flags&16)!==0){var u=i.deletions;if(u!==null){for(var c=0;c<u.length;c++){var m=u[c];for(_=m;_!==null;){var w=_;switch(w.tag){case 0:case 11:case 15:Er(8,w,i)}var S=w.child;if(S!==null)S.return=w,_=S;else for(;_!==null;){w=_;var g=w.sibling,T=w.return;if(xa(w),w===m){_=null;break}if(g!==null){g.return=T,_=g;break}_=T}}}var L=i.alternate;if(L!==null){var I=L.child;if(I!==null){L.child=null;do{var ge=I.sibling;I.sibling=null,I=ge}while(I!==null)}}_=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,_=o;else e:for(;_!==null;){if(i=_,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Er(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,_=p;break e}_=i.return}}var f=e.current;for(_=f;_!==null;){o=_;var h=o.child;if((o.subtreeFlags&2064)!==0&&h!==null)h.return=o,_=h;else e:for(o=f;_!==null;){if(u=_,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:El(9,u)}}catch(O){pe(u,u.return,O)}if(u===o){_=null;break e}var E=u.sibling;if(E!==null){E.return=u.return,_=E;break e}_=u.return}}if(G=l,Bt(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Fr,e)}catch{}r=!0}return r}finally{ne=n,ot.transition=t}}return!1}function ja(e,t,n){t=Rn(n,t),t=ra(e,t,1),e=Vt(e,t,1),t=Be(),e!==null&&(Xn(e,1,t),Ke(e,t))}function pe(e,t,n){if(e.tag===3)ja(e,e,n);else for(;t!==null;){if(t.tag===3){ja(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&($t===null||!$t.has(r))){e=Rn(n,e),e=la(t,e,1),t=Vt(t,e,1),e=Be(),t!==null&&(Xn(t,1,e),Ke(t,e));break}}t=t.return}}function ud(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,_e===e&&(Ne&n)===n&&(Ee===4||Ee===3&&(Ne&130023424)===Ne&&500>ve()-To?sn(e,0):Co|=n),Ke(e,t)}function Ha(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ar,Ar<<=1,(Ar&130023424)===0&&(Ar=4194304)));var n=Be();e=Lt(e,t),e!==null&&(Xn(e,t,n),Ke(e,n))}function sd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ha(e,n)}function ad(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),Ha(e,n)}var Ba;Ba=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)$e=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return $e=!1,Zf(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,ce&&(t.flags&1048576)!==0&&Ss(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,Me.current);Nn(t,n),l=to(null,t,r,e,l,n);var i=no();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,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Yi(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,so(t,r,e,n),t=po(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&Ui(t),He(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=fd(r),e=dt(r,e),l){case 0:t=fo(null,t,r,e,n);break e;case 1:t=pa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=aa(null,t,r,dt(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:dt(r,l),fo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),pa(e,t,r,l,n);case 3:e:{if(ha(t),e===null)throw Error(s(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Is(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=ma(e,t,r,n,l);break e}else if(r!==l){l=Rn(Error(s(424)),t),t=ma(e,t,r,n,l);break e}else for(qe=Ut(t.stateNode.containerInfo.firstChild),Je=t,ce=!0,ft=null,n=Ps(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pn(),r===l){t=Nt(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Rs(t),e===null&&Bi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ri(r,l)?o=null:i!==null&&Ri(r,i)&&(t.flags|=32),da(e,t),He(e,t,o,n),t.child;case 6:return e===null&&Bi(t),null;case 13:return va(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ln(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),sa(e,t,r,l,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(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(sl,r._currentValue),r._currentValue=o,i!==null)if(ct(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 u=i.dependencies;if(u!==null){o=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=It(-1,n&-n),c.tag=2;var m=i.updateQueue;if(m!==null){m=m.shared;var w=m.pending;w===null?c.next=c:(c.next=w.next,w.next=c),m.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Gi(i.return,n,t),u.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,u=o.alternate,u!==null&&(u.lanes|=n),Gi(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}He(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Nn(t,n),l=lt(l),r=r(l),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,l=dt(r,t.pendingProps),l=dt(r.type,l),aa(e,t,r,l,n);case 15:return ca(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),Sl(e,t),t.tag=1,Qe(r)?(e=!0,nl(t)):e=!1,Nn(t,n),ta(t,r,l),so(t,r,l,n),po(null,t,r,!0,e,n);case 19:return ya(e,t,n);case 22:return fa(e,t,n)}throw Error(s(156,t.tag))};function Wa(e,t){return ku(e,t)}function cd(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 cd(e,t,n,r)}function zo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fd(e){if(typeof e=="function")return zo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===et)return 11;if(e===tt)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")zo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ce:return cn(n.children,l,i,t);case b:o=8,l|=8;break;case ze:return e=ut(12,n,t,l|2),e.elementType=ze,e.lanes=i,e;case je:return e=ut(13,n,t,l),e.elementType=je,e.lanes=i,e;case Ye:return e=ut(19,n,t,l),e.elementType=Ye,e.lanes=i,e;case $:return Rl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case st:o=10;break e;case xt:o=9;break e;case et:o=11;break e;case tt:o=14;break e;case re: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=$,e.lanes=n,e.stateNode={isHidden:!1},e}function Mo(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 dd(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,u,c){return e=new dd(e,t,n,u,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},Yi(i),e}function pd(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:me,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Va(e){if(!e)return Ht;e=e._reactInternals;e:{if(Jt(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(Qe(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(Qe(n))return gs(e,n,t)}return t}function Qa(e,t,n,r,l,i,o,u,c){return e=Do(n,r,!0,e,l,i,o,u,c),e.context=Va(null),n=e.current,r=Be(),l=Kt(n),i=It(r,l),i.callback=t??null,Vt(n,i,l),e.current.lanes=l,Xn(e,l,r),Ke(e,r),e}function zl(e,t,n,r){var l=t.current,i=Be(),o=Kt(l);return n=Va(n),t.context===null?t.context=n:t.pendingContext=n,t=It(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(l,t,o),e!==null&&(mt(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 $a(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ao(e,t){$a(e,t),(e=e.alternate)&&$a(e,t)}function hd(){return null}var Ga=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uo(e){this._internalRoot=e}Fl.prototype.render=Uo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));zl(e,t,null,null)},Fl.prototype.unmount=Uo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;un(function(){zl(null,e,null,null)}),t[Ct]=null}};function Fl(e){this._internalRoot=e}Fl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ft.length&&t!==0&&t<Ft[n].priority;n++);Ft.splice(n,0,e),n===0&&Ru(e)}};function jo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ka(){}function md(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var m=Ml(o);i.call(m)}}var o=Qa(t,r,e,0,null,!1,!1,"",Ka);return e._reactRootContainer=o,e[Ct]=o.current,ar(e.nodeType===8?e.parentNode:e),un(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var m=Ml(c);u.call(m)}}var c=Do(e,0,!1,null,null,!1,!1,"",Ka);return e._reactRootContainer=c,e[Ct]=c.current,ar(e.nodeType===8?e.parentNode:e),un(function(){zl(t,c,n,r)}),c}function Al(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var c=Ml(o);u.call(c)}}zl(t,o,e,l)}else o=md(n,t,e,l,r);return Ml(o)}Pu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Yn(t.pendingLanes);n!==0&&(si(t,n|1),Ke(t,ve()),(G&6)===0&&(Fn=ve()+500,Bt()))}break;case 13:un(function(){var r=Lt(e,1);if(r!==null){var l=Be();mt(r,e,1,l)}}),Ao(e,1)}},ai=function(e){if(e.tag===13){var t=Lt(e,134217728);if(t!==null){var n=Be();mt(t,e,134217728,n)}Ao(e,134217728)}},Lu=function(e){if(e.tag===13){var t=Kt(e),n=Lt(e,t);if(n!==null){var r=Be();mt(n,e,t,r)}Ao(e,t)}},Iu=function(){return ne},Nu=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}},ti=function(e,t,n){switch(t){case"input":if(Kl(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));eu(r),Kl(r,l)}}}break;case"textarea":iu(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}},hu=No,mu=un;var vd={usingClientEntryPoint:!1,Events:[dr,En,el,du,pu,No]},_r={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},gd={bundleType:_r.bundleType,version:_r.version,rendererPackageName:_r.rendererPackageName,rendererConfig:_r.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:he.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wu(e),e===null?null:e.stateNode},findFiberByHostInstance:_r.findFiberByHostInstance||hd,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{Fr=Ul.inject(gd),vt=Ul}catch{}}return We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vd,We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jo(t))throw Error(s(200));return pd(e,t,null,n)},We.createRoot=function(e,t){if(!jo(e))throw Error(s(299));var n=!1,r="",l=Ga;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,ar(e.nodeType===8?e.parentNode:e),new Uo(t)},We.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=wu(t),e=e===null?null:e.stateNode,e},We.flushSync=function(e){return un(e)},We.hydrate=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!0,n)},We.hydrateRoot=function(e,t,n){if(!jo(e))throw Error(s(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ga;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Qa(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,ar(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 Fl(t)},We.render=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!1,n)},We.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(s(40));return e._reactRootContainer?(un(function(){Al(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},We.unstable_batchedUpdates=No,We.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Al(e,t,n,!1,r)},We.version="18.3.1-next-f1338f8080-20240426",We}var $o;function ba(){if($o)return Bl.exports;$o=1;function k(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(k)}catch(a){console.error(a)}}return k(),Bl.exports=qa(),Bl.exports}var Go;function ec(){if(Go)return Pr;Go=1;var k=ba();return Pr.createRoot=k.createRoot,Pr.hydrateRoot=k.hydrateRoot,Pr}var Ko=ec(),Ql={exports:{}},Un={};var Yo;function tc(){if(Yo)return Un;Yo=1;var k=Hl(),a=Symbol.for("react.element"),s=Symbol.for("react.fragment"),v=Object.prototype.hasOwnProperty,C=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,N={key:!0,ref:!0,__self:!0,__source:!0};function D(U,R,V){var Q,B={},K=null,ee=null;V!==void 0&&(K=""+V),R.key!==void 0&&(K=""+R.key),R.ref!==void 0&&(ee=R.ref);for(Q in R)v.call(R,Q)&&!N.hasOwnProperty(Q)&&(B[Q]=R[Q]);if(U&&U.defaultProps)for(Q in R=U.defaultProps,R)B[Q]===void 0&&(B[Q]=R[Q]);return{$$typeof:a,type:U,key:K,ref:ee,props:B,_owner:C.current}}return Un.Fragment=s,Un.jsx=D,Un.jsxs=D,Un}var Xo;function nc(){return Xo||(Xo=1,Ql.exports=tc()),Ql.exports}var xe=nc();const rc='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',lc="--color-brand-secondary",Zo="255 130 0",ic=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,$l=k=>{const a=k.trim(),s=a.split(/\s+/).map(Number);if(ic.test(a)&&s.every(D=>D<=255))return[s[0],s[1],s[2]];const[v,C,N]=Zo.split(" ").map(Number);return[v,C,N]},Jo=([k,a,s])=>{const[v,C,N]=[k,a,s].map(D=>{const U=D/255;return U<=.03928?U/12.92:((U+.055)/1.055)**2.4});return .2126*v+.7152*C+.0722*N},oc=Jo([26,26,26]),uc=k=>{const a=Jo(k),s=(1+.05)/(a+.05);return(a+.05)/(oc+.05)>=s?"#1a1a1a":"#ffffff"},sc={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))"}},ac="(max-width: 720px)",qo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(ac):null;function cc(){return xe.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[xe.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),xe.jsx("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function fc({zIndex:k,theme:a,brandColor:s,onUpdate:v,onDismiss:C}){const[N,D]=se.useState(!1),[U,R]=se.useState(()=>qo()?.matches??!1),V=se.useRef(null),[Q,B]=se.useState(()=>$l(Zo));se.useEffect(()=>{const b=requestAnimationFrame(()=>D(!0));return()=>cancelAnimationFrame(b)},[]),se.useEffect(()=>{if(s!=null){B($l(s));return}if(!V.current)return;const b=getComputedStyle(V.current).getPropertyValue(lc);B($l(b))},[s]);const K=se.useRef(!1);se.useEffect(()=>{if(!N)return;const b=ze=>{ze.key!=="Escape"||ze.defaultPrevented||K.current||(K.current=!0,C())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[N,C]),se.useEffect(()=>{const b=qo();if(!b)return;const ze=()=>R(b.matches);return b.addEventListener("change",ze),()=>b.removeEventListener("change",ze)},[]);const ee=sc[a],[Le,q,Y]=Q,we=`rgb(${Le}, ${q}, ${Y})`,Ue=uc(Q),Oe={position:"fixed",top:"16px",left:"50%",width:U?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:k,opacity:N?1:0,visibility:N?"visible":"hidden",pointerEvents:N?"auto":"none",transform:N?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},he={display:"flex",alignItems:"center",gap:U?"10px":"14px",padding:U?"12px":"14px 14px 14px 16px",background:ee.card,color:ee.title,borderRadius:"14px",border:`1px solid ${ee.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:rc},Re={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${Le}, ${q}, ${Y}, 0.12)`,color:we,borderRadius:"10px",flexShrink:0},me={flexShrink:0,padding:U?"8px 12px":"12px 18px",background:we,color:Ue,border:"none",borderRadius:"16px",fontWeight:700,fontSize:U?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},Ce={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:ee.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return xe.jsx("div",{ref:V,role:"status","aria-live":"polite",style:Oe,children:xe.jsxs("div",{style:he,children:[xe.jsx("div",{style:Re,children:xe.jsx(cc,{})}),xe.jsxs("div",{style:{flex:1,minWidth:0},children:[xe.jsx("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),xe.jsx("div",{style:{fontSize:"12.5px",color:ee.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),xe.jsx("button",{type:"button",style:me,onClick:v,children:"Update"}),xe.jsx("button",{type:"button","aria-label":"Dismiss",style:Ce,onClick:C,children:"✕"})]})})}const dc=360,pc=24;function hc(k,a,s){return k&&!a&&s!=null&&s>0}function mc(k){return Math.max(dc,k+pc)}const jn={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},kt={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 Hn(k,a,s){k.contentWindow&&k.contentWindow.postMessage(a,s)}function vc(k,a){if(k.origin!==a)return!1;const s=k.data;return!s||typeof s!="object"||typeof s.type!="string"?!1:Object.values(kt).includes(s.type)}const bo=768;function gc(k){if(!k||typeof k!="object"||Array.isArray(k))return!1;const a=k;return(a.size===void 0||a.size==="default"||a.size==="medium"||a.size==="large"||a.size==="small")&&(a.defaultFullscreen===void 0||typeof a.defaultFullscreen=="boolean")&&(a.fitContent===void 0||typeof a.fitContent=="boolean")}const yc=({config:k,state:a,onClose:s,onToggleFullscreen:v,onApplyModalOptions:C})=>{const[N,D]=An.useState(!0),[U,R]=An.useState(null),[V,Q]=An.useState(()=>typeof window<"u"&&window.innerWidth>=bo),B=se.useRef(null),K=se.useRef(a);se.useEffect(()=>{K.current=a},[a]);const ee=k.baseUrl||"https://apollos.com",Le=a.currentPath==="/"?"":a.currentPath,q=new URL(`${ee}/${k.slug}${Le}`);q.searchParams.set("embedMode","modal");const Y=q.toString(),we=new URL(ee).origin,Ue=a.modalSize==="medium",Oe=a.modalSize==="large",he=a.modalSize==="small",Re=hc(a.modalFitContent,a.isFullscreen,U),me=se.useCallback(re=>{re.key==="Escape"&&a.isOpen&&(re.preventDefault(),s())},[a.isOpen,s]);se.useEffect(()=>(document.addEventListener("keydown",me),()=>document.removeEventListener("keydown",me)),[me]),se.useEffect(()=>(a.isOpen?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[a.isOpen]),se.useEffect(()=>{function re(){Q(window.innerWidth>=bo)}return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[]);const Ce=re=>{re.target===re.currentTarget&&s()},b=se.useRef(!1);se.useEffect(()=>{function re($){if(vc($,we)&&$.source===B.current?.contentWindow){if($.data.type===kt.EMBED_READY&&(D(!1),B.current)){const x=K.current;Hn(B.current,{type:jn.EMBED_INIT,payload:{theme:x.resolvedTheme,showExpandButton:V,isFullscreen:x.isFullscreen,mode:"modal"}},we),b.current=!0}if($.data.type===kt.REQUEST_CLOSE&&s(),$.data.type===kt.REQUEST_FULLSCREEN&&v(),$.data.type===kt.MODAL_OPTIONS&&gc($.data.payload)&&C($.data.payload),$.data.type===kt.HEIGHT_CHANGE){const x=$.data.payload;x&&typeof x.height=="number"&&x.height>0&&R(x.height)}}}return window.addEventListener("message",re),()=>window.removeEventListener("message",re)},[we,V,s,v,C]),se.useEffect(()=>{b.current&&B.current&&Hn(B.current,{type:jn.THEME_CHANGED,payload:{theme:a.resolvedTheme}},we)},[a.resolvedTheme,we]),se.useEffect(()=>{b.current&&B.current&&Hn(B.current,{type:jn.FULLSCREEN_CHANGED,payload:{isFullscreen:a.isFullscreen,showExpandButton:V}},we)},[a.isFullscreen,V,we]),se.useEffect(()=>{D(!0),R(null),b.current=!1},[a.currentPath]),se.useEffect(()=>{a.modalFitContent||R(null)},[a.modalFitContent]),se.useEffect(()=>{D(!0),a.isOpen||(R(null),b.current=!1)},[a.isOpen]);const ze=["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",a.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),st=["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",a.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",...a.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]"]:Re?["md:apls-w-[calc(100dvw-64px)]",Oe?"md:apls-max-w-[1120px]":he?"md:apls-max-w-[544px]":Ue?"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"]:Oe?["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"]:Ue?["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"]:he?["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(" "),xt=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),et=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",...N?["apls-hidden"]:[]].join(" "),je=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),Ye=["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(" "),tt=Re&&V&&U!=null?{height:`${mc(U)}px`}:void 0;return xe.jsx("div",{className:ze,onClick:Ce,style:{zIndex:k.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:xe.jsx("div",{className:st,style:tt,children:xe.jsxs("div",{className:xt,children:[N?xe.jsx("div",{className:je,children:xe.jsx("div",{className:Ye})}):null,a.isOpen?xe.jsx("iframe",{ref:B,className:et,src:Y,title:"Apollos",allow:"payment *",allowTransparency:!0}):null]})})})};class Bn{iframe=null;timeoutId=null;static TIMEOUT_MS=8e3;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(a,s,v){if(this.iframe)return;const C=new URL(`${s.replace(/\/+$/,"")}/${a}/_embed`);v&&C.searchParams.set("personOriginId",v);const N=document.createElement("iframe");N.src=C.toString(),N.width="1",N.height="1",N.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",N.setAttribute("sandbox","allow-scripts allow-same-origin"),N.setAttribute("aria-hidden","true"),N.setAttribute("tabindex","-1"),N.title="Apollos migration probe",N.setAttribute(Bn.PROBE_ATTRIBUTE,"true"),document.body.appendChild(N),this.iframe=N,this.timeoutId=setTimeout(()=>this.destroy(),Bn.TIMEOUT_MS)}confirmLoaded(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(a){const s=this.iframe?.contentWindow;!s||!this.iframe||s.postMessage({type:a},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.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null),this.iframe?.remove(),this.iframe=null}}function wc(k){return k.includes("ContentItem")?"/c":k==="Event"?"/e":k==="FeatureFeed"?"/f":k==="Livestream"?"/live":"/c"}function Sc(k){if(/^[A-Z]\w+-/.test(k)){const[s,...v]=k.split(/-(.*)/s);if(s&&v[0])return{type:s,randomId:v[0]}}else{const s=k.split("-").at(-1);if(!s)return null;try{const v=atob(s),[C,...N]=v.split(/-(.*)/s);if(C&&N[0])return{type:C,randomId:N[0]}}catch{return null}}return null}const kc={showAskBar:!1,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"auto"};class Et{config;state;container=null;root=null;mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Bn;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(a){if(this.config={...kc,...a},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:a}=this.config;return a==="light"?"light":a==="dark"||typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}setupThemeListener(){this.cleanupThemeListener(),!(this.config.themeMode!=="auto"||typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=a=>{this.state.resolvedTheme=a.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),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 a of this.inlineIframes.keys()){const s=a.getAttribute("personoriginid")?.trim();if(s)return s}}watchForPersonOriginId(a){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(s=>{for(const v of s){const C=v.target.getAttribute("personoriginid")?.trim();if(C){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,a,C);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"?document.addEventListener("DOMContentLoaded",()=>this.setup()):this.setup()}setup(){if(this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const a=this.config.baseUrl||"https://apollos.com",s=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,a,s),s||this.watchForPersonOriginId(a)}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=Ko.createRoot(this.container),this.render()}render(){this.root&&this.root.render(An.createElement(yc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:a=>this.applyModalOptions(a)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(a){this.state.modalSize=a.size??"default",this.state.modalFitContent=a.fitContent??!1,typeof a.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=a.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",a=>{const v=a.target.closest("a");if(v&&this.shouldInterceptLink(v)){a.preventDefault();const N=new URL(v.href).pathname.replace(`/${this.config.slug}`,"")||"/",D=this.getLinkFullscreenOption(v);this.open(N,D!==void 0?{fullscreen:D}:void 0)}})}shouldInterceptLink(a){if(a.hasAttribute("data-apollos-external"))return!1;const s=a.href,v=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${v.replace(/https?:\/\//,"")})/${this.config.slug}`).test(s)}getLinkFullscreenOption(a){if(!a.hasAttribute("data-apollos-fullscreen"))return;const s=a.getAttribute("data-apollos-fullscreen");return!(s==="false"||s==="0")}setupMessageListener(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.messageListener=v=>{if(v.origin!==s||!v.data||typeof v.data!="object")return;const{type:C,payload:N}=v.data;if(C===kt.EMBED_READY){const D=v.source;this.inlineIframes.forEach((U,R)=>{R.contentWindow===D&&(this.sendInlineIframeInit(R),this.inlineIframes.set(R,!0),this.scheduleInlineSkeletonFallback(R,Et.INLINE_READY_FALLBACK_MS))})}if(C===kt.REQUEST_NAVIGATION){const D=N;if(D?.path){if(/^https?:\/\//i.test(D.path)){window.location.assign(D.path);return}const U=this.config.navigationModalFullscreen===!0;this.open(D.path,{fullscreen:U})}}if(C===kt.HEIGHT_CHANGE){const D=N;if(D&&typeof D.height=="number"&&D.height>0){const U=v.source;let R=null;if(this.inlineIframes.forEach((V,Q)=>{Q.contentWindow===U&&(R=Q)}),!R){const V=document.querySelectorAll("iframe");for(const Q of V)if(!this.container?.contains(Q)&&Q.contentWindow===U){R=Q;break}}R&&(this.scheduleHeightChange(R,D.height),this.inlineSkeletons.has(R)&&this.removeInlineSkeleton(R))}}if(C===Lr.SHOW_MIGRATION_TOAST){const D=N,U=this.embedIframe.getContentWindow();D&&typeof D.migratePath=="string"&&U!==null&&v.source===U&&(this.embedIframe.confirmLoaded(),this.renderMigrationToast(D))}},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(a){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=a;return}const s=document.createElement("div");s.classList.add("apollos-embed"),document.body.appendChild(s),this.migrationToastContainer=s,this.migrationToastRoot=Ko.createRoot(s),this.migrationToastPayload=a,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const a=this.pendingMigrationToastPayload;a&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(a))}renderMigrationToastContent(){const a=this.migrationToastPayload;!this.migrationToastRoot||!a||this.migrationToastRoot.render(An.createElement(fc,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof a.brandColor=="string"?a.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(a.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const a=this.migrationToastRoot,s=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!a||!s)&&setTimeout(()=>{a.unmount(),s.remove()},0)}scheduleHeightChange(a,s){const v=this.heightChangeTimeouts.get(a);v&&clearTimeout(v.timeoutId);const C=setTimeout(()=>{this.heightChangeTimeouts.delete(a),this.applyHeightWithTransition(a,s)},Et.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(a,{timeoutId:C,height:s})}applyHeightWithTransition(a,s){(a.style.height?parseFloat(a.style.height):NaN)!==s&&(a.style.transition=`height ${Et.HEIGHT_TRANSITION_MS}ms ease-out`,a.style.height=`${s}px`)}scheduleInlineSkeletonFallback(a,s){if(!this.inlineSkeletons.has(a))return;const v=this.inlineSkeletonFallbackTimeouts.get(a);v&&clearTimeout(v);const C=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(a),this.inlineSkeletons.has(a)&&this.removeInlineSkeleton(a)},s);this.inlineSkeletonFallbackTimeouts.set(a,C)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;document.querySelectorAll("iframe").forEach(C=>{if(this.isInlineEmbed(C,s)){const N=this.applyInlineIframeUrlParams(C);this.inlineIframes.set(C,!1),this.createInlineSkeleton(C),N||this.sendInlineIframeInit(C)}})}isInlineEmbed(a,s){const v=a.src;if(!v||a.hasAttribute(Bn.PROBE_ATTRIBUTE))return!1;try{const C=new URL(v);return!(C.origin!==s||!C.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(a){const s=a.src;if(!s)return!1;try{const v=new URL(s);let C=!1;v.searchParams.get("embedMode")!=="inline"&&(v.searchParams.set("embedMode","inline"),C=!0);const N=this.state.resolvedTheme;return v.searchParams.get("theme")!==N&&(v.searchParams.set("theme",N),C=!0),C&&(a.src=v.toString()),C}catch{return!1}}sendInlineIframeInit(a){const s=this.config.baseUrl||"https://apollos.com",v=new URL(s).origin;Hn(a,{type:jn.EMBED_INIT,payload:{theme:this.state.resolvedTheme,showExpandButton:!1,isFullscreen:!1,mode:"inline"}},v)}sendThemeToInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.inlineIframes.forEach((v,C)=>{v&&Hn(C,{type:jn.THEME_CHANGED,payload:{theme:this.state.resolvedTheme}},s)})}checkDeepLinkParams(){const a=new URLSearchParams(window.location.search),s=this.getDeepLinkModalOptions(a),v=a.get("a");if(v){this.openWithFullscreenDefault(v,s),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const C=a.get("apollosId")?"apollosId":a.get("id")?"id":null,N=C?a.get(C):null;if(N&&C){const D=Sc(N);if(D){const U=wc(D.type);this.openWithFullscreenDefault(`${U}/${N}`,{fullscreen:!0})}else this.openWithFullscreenDefault(`/c/${N}`,{fullscreen:!0});this.stripConsumedDeepLinkParams([C]);return}}stripConsumedDeepLinkParams(a){if(typeof window>"u"||!window.history?.replaceState)return;const s=new URL(window.location.href);let v=!1;for(const C of a)s.searchParams.has(C)&&(s.searchParams.delete(C),v=!0);v&&window.history.replaceState(window.history.state,"",s.pathname+s.search+s.hash)}open(a,s){this.openInternal(a,s,s?.fullscreen!==void 0)}openWithFullscreenDefault(a,s){const v=s?.fullscreen!==void 0;this.openInternal(a,{fullscreen:s?.fullscreen??!0,modalSize:s?.modalSize},v)}openInternal(a,s,v=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=v,a&&(this.state.currentPath=a),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(a){const s=this.parseModalSize(a.get("apollosModalSize")),v=this.parseBoolean(a.get("apollosFullscreen"));if(!(s===void 0&&v===void 0))return{modalSize:s,fullscreen:v}}parseModalSize(a){if(a==="default"||a==="medium"||a==="large"||a==="small")return a}parseBoolean(a){if(a==="true")return!0;if(a==="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(a){this.state.currentPath=a,this.render(),this.config.onNavigate?.(a)}isOpen(){return this.state.isOpen}destroy(){this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:a})=>clearTimeout(a)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(a=>clearTimeout(a)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(a=>{this.removeInlineSkeleton(a)}),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(a){if(this.inlineSkeletons.has(a))return;Et.ensureSkeletonStyles();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 v=document.createElement("div");v.style.borderRadius="12px",v.style.padding="74px 24px 20px 24px",v.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",v.style.minHeight="360px",v.style.display="flex",v.style.flexDirection="column",v.style.justifyContent="flex-start",v.style.gap="0",v.style.width="100%",v.style.maxWidth="100%";const C=this.state.resolvedTheme==="dark";v.style.backgroundColor=C?"#111827":"#f3f4f6";const N=(Q,B,K)=>{const ee=document.createElement("div");return ee.style.height=`${Q}px`,ee.style.borderRadius=`${B}px`,ee.style.backgroundColor=C?"#374151":"#ffffff",ee.style.width="100%",ee.style.marginBottom=`${K}px`,ee.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",ee},D=N(68,8,12),U=N(56,8,24),R=document.createElement("div");R.style.height="50px",R.style.width="100%",R.style.borderRadius="12px",R.style.backgroundColor=C?"#374151":"#ffffff",R.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",v.appendChild(D),v.appendChild(U),v.appendChild(R),s.appendChild(v);const V=a.parentElement;if(V){const Q=window.getComputedStyle(V);Q.position==="static"&&(this.inlineSkeletonParentRestore.set(a,{parent:V,originalPosition:Q.position}),V.style.position="relative"),V.appendChild(s),this.inlineSkeletons.set(a,s),a.style.visibility="hidden",this.scheduleInlineSkeletonFallback(a,Et.INLINE_SKELETON_FALLBACK_MS)}}removeInlineSkeleton(a){const s=this.inlineSkeletons.get(a);s&&s.parentElement&&s.parentElement.removeChild(s),this.inlineSkeletons.delete(a);const v=this.inlineSkeletonFallbackTimeouts.get(a);v&&(clearTimeout(v),this.inlineSkeletonFallbackTimeouts.delete(a)),a.style.visibility="";const C=this.inlineSkeletonParentRestore.get(a);C&&(C.parent.style.position=C.originalPosition,this.inlineSkeletonParentRestore.delete(a))}static ensureSkeletonStyles(){if(Et.hasInjectedSkeletonStyles||typeof document>"u")return;const a=document.createElement("style");a.textContent=`
|
|
10
10
|
@keyframes apls-inline-skeleton-pulse {
|
|
11
11
|
0%, 100% { opacity: 0.55; }
|
|
12
12
|
50% { opacity: 1; }
|