@dxyl/dom 1.0.0

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.
@@ -0,0 +1,30 @@
1
+ (function(Se,jn){typeof exports=="object"&&typeof module<"u"?jn(exports):typeof define=="function"&&define.amd?define(["exports"],jn):(Se=typeof globalThis<"u"?globalThis:Se||self,jn((Se.dxMyth=Se.dxMyth||{},Se.dxMyth.dom={})))})(this,function(Se){"use strict";function jn(e,t){return document.createElement(e,t)}function Zp(e,t,n){return document.createElementNS(e,t,n)}function Jp(){return vt(document.createDocumentFragment())}function eh(e){return document.createTextNode(e)}function th(e){return document.createComment(e)}function nh(e,t,n){if(ze(e)){let l=e;for(;l&&ze(l);)l=vt(l).parent;e=l??e}ze(t)&&(t=vt(t,e)),n&&ze(n)&&(n=vt(n).firstChildNode),e.insertBefore(t,n)}function lh(e,t){e.removeChild(t)}function ih(e,t){ze(t)&&(t=vt(t,e)),e.appendChild(t)}function Cs(e){if(ze(e)){for(;e&&ze(e);)e=vt(e).parent;return e??null}return e.parentNode}function oh(e){if(ze(e)){const t=vt(e),n=Cs(t);if(n&&t.lastChildNode){const l=Array.from(n.childNodes),i=l.indexOf(t.lastChildNode);return l[i+1]??null}return null}return e.nextSibling}function ah(e){return e.tagName}function ch(e,t){e.textContent=t}function sh(e){return e.textContent}function uh(e){return e.nodeType===1}function rh(e){return e.nodeType===3}function fh(e){return e.nodeType===8}function ze(e){return e.nodeType===11}function vt(e,t){const n=e;return n.parent??=t??null,n.firstChildNode??=e.firstChild,n.lastChildNode??=e.lastChild,n}const Qo={createElement:jn,createElementNS:Zp,createTextNode:eh,createDocumentFragment:Jp,createComment:th,insertBefore:nh,removeChild:lh,appendChild:ih,parentNode:Cs,nextSibling:oh,tagName:ah,setTextContent:ch,getTextContent:sh,isElement:uh,isText:rh,isComment:fh,isDocumentFragment:ze};function Z(e,t,n,l,i){const o=t===void 0?void 0:t.key;return{sel:e,data:t,children:n,text:l,elm:i,key:o}}const Kt=Array.isArray;function xt(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}const Xo=Z("",{},[],void 0,void 0);function Kn(e,t){const n=e.key===t.key,l=e.data?.is===t.data?.is,i=e.sel===t.sel,o=!e.sel&&e.sel===t.sel?typeof e.text==typeof t.text:!0;return i&&n&&l&&o}function dh(){throw new Error("The document fragment is not supported on this platform.")}function ph(e,t){return e.isElement(t)}function hh(e,t){return e.isDocumentFragment(t)}function mh(e,t,n){const l={};for(let i=t;i<=n;++i){const o=e[i]?.key;o!==void 0&&(l[o]=i)}return l}const yh=["create","update","remove","destroy","pre","post"];function gh(e,t,n){const l={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},i=t!==void 0?t:Qo;for(const h of yh)for(const y of e){const E=y[h];E!==void 0&&l[h].push(E)}function o(h){const y=h.id?"#"+h.id:"",E=h.getAttribute("class"),S=E?"."+E.split(" ").join("."):"";return Z(i.tagName(h).toLowerCase()+y+S,{},[],void 0,h)}function a(h){return Z(void 0,{},[],void 0,h)}function c(h,y){return function(){if(--y===0){const S=i.parentNode(h);S!==null&&i.removeChild(S,h)}}}function s(h,y){let E;const S=h.data,k=S?.hook;k?.init?.(h);const U=h.children,p=h.sel;if(p==="!")h.text??="",h.elm=i.createComment(h.text);else if(p==="")h.elm=i.createTextNode(h.text);else if(p!==void 0){const C=p.indexOf("#"),m=p.indexOf(".",C),T=C>0?C:p.length,_=m>0?m:p.length,x=C!==-1||m!==-1?p.slice(0,Math.min(T,_)):p,A=S?.ns,F=A===void 0?i.createElement(x,S):i.createElementNS(A,x,S);for(h.elm=F,T<_&&F.setAttribute("id",p.slice(T+1,_)),m>0&&F.setAttribute("class",p.slice(_+1).replace(/\./g," ")),E=0;E<l.create.length;++E)l.create[E](Xo,h);if(xt(h.text)&&(!Kt(U)||U.length===0)&&i.appendChild(F,i.createTextNode(h.text)),Kt(U))for(E=0;E<U.length;++E){const N=U[E];N!=null&&i.appendChild(F,s(N,y))}k!==void 0&&(k.create?.(Xo,h),k.insert!==void 0&&y.push(h))}else if(n?.experimental?.fragments&&h.children){for(h.elm=(i.createDocumentFragment??dh)(),E=0;E<l.create.length;++E)l.create[E](Xo,h);for(E=0;E<h.children.length;++E){const C=h.children[E];C!=null&&i.appendChild(h.elm,s(C,y))}}else h.elm=i.createTextNode(h.text);return h.elm}function r(h,y,E,S,k,U){for(;S<=k;++S){const p=E[S];p!=null&&i.insertBefore(h,s(p,U),y)}}function u(h){const y=h.data;if(y!==void 0){y?.hook?.destroy?.(h);for(let E=0;E<l.destroy.length;++E)l.destroy[E](h);if(h.children!==void 0)for(let E=0;E<h.children.length;++E){const S=h.children[E];S!=null&&typeof S!="string"&&u(S)}}}function f(h,y,E,S){for(;E<=S;++E){let k;const U=y[E];if(U!=null)if(U.sel!==void 0){u(U),k=l.remove.length+1;const p=c(U.elm,k);for(let m=0;m<l.remove.length;++m)l.remove[m](U,p);const C=U?.data?.hook?.remove;C!==void 0?C(U,p):p()}else U.children?(u(U),f(h,U.children,0,U.children.length-1)):i.removeChild(h,U.elm)}}function d(h,y,E,S){let k=0,U=0,p=y.length-1,C=y[0],m=y[p],T=E.length-1,_=E[0],x=E[T],A,F,N,ae;for(;k<=p&&U<=T;)C==null?C=y[++k]:m==null?m=y[--p]:_==null?_=E[++U]:x==null?x=E[--T]:Kn(C,_)?(g(C,_,S),C=y[++k],_=E[++U]):Kn(m,x)?(g(m,x,S),m=y[--p],x=E[--T]):Kn(C,x)?(g(C,x,S),i.insertBefore(h,C.elm,i.nextSibling(m.elm)),C=y[++k],x=E[--T]):Kn(m,_)?(g(m,_,S),i.insertBefore(h,m.elm,C.elm),m=y[--p],_=E[++U]):(A===void 0&&(A=mh(y,k,p)),F=A[_.key],F===void 0?(i.insertBefore(h,s(_,S),C.elm),_=E[++U]):A[x.key]===void 0?(i.insertBefore(h,s(x,S),i.nextSibling(m.elm)),x=E[--T]):(N=y[F],N.sel!==_.sel?i.insertBefore(h,s(_,S),C.elm):(g(N,_,S),y[F]=void 0,i.insertBefore(h,N.elm,C.elm)),_=E[++U]));U<=T&&(ae=E[T+1]==null?null:E[T+1].elm,r(h,ae,E,U,T,S)),k<=p&&f(h,y,k,p)}function g(h,y,E){const S=y.data?.hook;S?.prepatch?.(h,y);const k=y.elm=h.elm;if(h===y)return;if(y.data!==void 0||y.text!==void 0&&y.text!==h.text){y.data??={},h.data??={};for(let C=0;C<l.update.length;++C)l.update[C](h,y);y.data?.hook?.update?.(h,y)}const U=h.children,p=y.children;y.text===void 0?U!==void 0&&p!==void 0?U!==p&&d(k,U,p,E):p!==void 0?(h.text!==void 0&&i.setTextContent(k,""),r(k,null,p,0,p.length-1,E)):U!==void 0?f(k,U,0,U.length-1):h.text!==void 0&&i.setTextContent(k,""):h.text!==y.text&&(U!==void 0&&f(k,U,0,U.length-1),i.setTextContent(k,y.text)),S?.postpatch?.(h,y)}return function(y,E){let S,k,U;const p=[];for(S=0;S<l.pre.length;++S)l.pre[S]();for(ph(i,y)?y=o(y):hh(i,y)&&(y=a(y)),Kn(y,E)?g(y,E,p):(k=y.elm,U=i.parentNode(k),s(E,p),U!==null&&(i.insertBefore(U,E.elm,i.nextSibling(k)),f(U,[y],0,0))),S=0;S<p.length;++S)p[S].data.hook.insert(p[S]);for(S=0;S<l.post.length;++S)l.post[S]();return E}}function ei(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let l=0;l<t.length;++l){const i=t[l];if(typeof i=="string")continue;const o=i.data;o!==void 0&&ei(o,i.children,i.sel)}}function ti(e,t,n){let l={},i,o,a;if(n!==void 0?(t!==null&&(l=t),Kt(n)?i=n:xt(n)?o=n.toString():n&&n.sel&&(i=[n])):t!=null&&(Kt(t)?i=t:xt(t)?o=t.toString():t&&t.sel?i=[t]:l=t),i!==void 0)for(a=0;a<i.length;++a)xt(i[a])&&(i[a]=Z(void 0,void 0,void 0,i[a],void 0));return e.startsWith("svg")&&(e.length===3||e[3]==="."||e[3]==="#")&&ei(l,i,e),Z(e,l,i,o,void 0)}function Ch(e){let t,n;if(Kt(e)?t=e:xt(t)?n=e:t&&t.sel&&(t=[e]),t!==void 0)for(let l=0;l<t.length;++l)xt(t[l])&&(t[l]=Z(void 0,void 0,void 0,t[l],void 0));return Z(void 0,{},t,n,void 0)}function ni(e,t){const n=t.data?.ns;e.data.fn=t.data.fn,e.data.args=t.data.args,t.data=e.data,t.children=e.children,t.text=e.text,t.elm=e.elm,n&&ei(t.data,t.children,t.sel)}function Th(e){const t=e.data,n=t.fn(...t.args);ni(n,e)}function bh(e,t){let n;const l=e.data,i=t.data,o=l.args,a=i.args;if(l.fn!==i.fn||o.length!==a.length){ni(i.fn(...a),t);return}for(n=0;n<a.length;++n)if(o[n]!==a[n]){ni(i.fn(...a),t);return}ni(e,t)}const Eh=function(t,n,l,i){return i===void 0&&(i=l,l=n,n=void 0),ti(t,{key:n,hook:{init:Th,prepatch:bh},fn:l,args:i})};function Sh(e,t){const n=e.data.attachData;t.data.attachData.placeholder=n.placeholder,t.data.attachData.real=n.real,e.elm=e.data.attachData.real}function vh(e,t){t.elm=t.data.attachData.placeholder}function xh(e){e.elm!==void 0&&e.elm.parentNode.removeChild(e.elm),e.elm=e.data.attachData.real}function _h(e,t){const n=t.elm,l=t.data.attachData,i=document.createElement("span");t.elm=i,l.target.appendChild(n),l.real=n,l.placeholder=i}function Rh(e,t){t.data===void 0&&(t.data={}),t.data.hook===void 0&&(t.data.hook={});const n=t.data,l=t.data.hook;return n.attachData={target:e,placeholder:void 0,real:void 0},l.create=_h,l.prepatch=Sh,l.postpatch=vh,l.destroy=xh,t}function Oh(e){return e.slice(5).replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Ts(e,t){const n=t!==void 0?t:Qo;let l;if(n.isElement(e)){const i=e.id?"#"+e.id:"",o=e.getAttribute("class")?.match(/[^\t\r\n\f ]+/g),a=o?"."+o.join("."):"",c=n.tagName(e).toLowerCase()+i+a,s={},r={},u={},f=[];let d,g,h;const y=e.attributes,E=e.childNodes;for(g=0,h=y.length;g<h;g++)d=y[g].nodeName,d.startsWith("data-")?r[Oh(d)]=y[g].nodeValue||"":d!=="id"&&d!=="class"&&(s[d]=y[g].nodeValue);for(g=0,h=E.length;g<h;g++)f.push(Ts(E[g],t));return Object.keys(s).length>0&&(u.attrs=s),Object.keys(r).length>0&&(u.dataset=r),c.startsWith("svg")&&(c.length===3||c[3]==="."||c[3]==="#")&&ei(u,f,c),Z(c,u,f,void 0,e)}else return n.isText(e)?(l=n.getTextContent(e),Z(void 0,void 0,void 0,l,e)):n.isComment(e)?(l=n.getTextContent(e),Z("!",{},[],l,e)):Z("",{},[],void 0,e)}const Uh="http://www.w3.org/1999/xlink",Ah="http://www.w3.org/2000/xmlns/",Dh="http://www.w3.org/XML/1998/namespace",bs=58,kh=120,Ph=109;function Es(e,t){let n;const l=t.elm;let i=e.data.attrs,o=t.data.attrs;if(!(!i&&!o)&&i!==o){i=i||{},o=o||{};for(n in o){const a=o[n];i[n]!==a&&(a===!0?l.setAttribute(n,""):a===!1?l.removeAttribute(n):n.charCodeAt(0)!==kh?l.setAttribute(n,a):n.charCodeAt(3)===bs?l.setAttributeNS(Dh,n,a):n.charCodeAt(5)===bs?n.charCodeAt(1)===Ph?l.setAttributeNS(Ah,n,a):l.setAttributeNS(Uh,n,a):l.setAttribute(n,a))}for(n in i)n in o||l.removeAttribute(n)}}const Mh={create:Es,update:Es};function Ss(e,t){let n,l;const i=t.elm;let o=e.data.class,a=t.data.class;if(!(!o&&!a)&&o!==a){o=o||{},a=a||{};for(l in o)o[l]&&!Object.prototype.hasOwnProperty.call(a,l)&&i.classList.remove(l);for(l in a)n=a[l],n!==o[l]&&i.classList[n?"add":"remove"](l)}}const Nh={create:Ss,update:Ss},vs=/[A-Z]/g;function xs(e,t){const n=t.elm;let l=e.data.dataset,i=t.data.dataset,o;if(!l&&!i||l===i)return;l=l||{},i=i||{};const a=n.dataset;for(o in l)o in i||(a?o in a&&delete a[o]:n.removeAttribute("data-"+o.replace(vs,"-$&").toLowerCase()));for(o in i)l[o]!==i[o]&&(a?a[o]=i[o]:n.setAttribute("data-"+o.replace(vs,"-$&").toLowerCase(),i[o]))}const Lh={create:xs,update:xs};function _s(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let l=0;l<e.length;l++)_s(e[l],t,n)}function Fh(e,t){const n=e.type,l=t.data.on;l&&l[n]&&_s(l[n],t,e)}function Hh(){return function e(t){Fh(t,e.vnode)}}function qo(e,t){const n=e.data.on,l=e.listener,i=e.elm,o=t&&t.data.on,a=t&&t.elm;let c;if(n!==o){if(n&&l)if(o)for(c in n)o[c]||i.removeEventListener(c,l,!1);else for(c in n)i.removeEventListener(c,l,!1);if(o){const s=t.listener=e.listener||Hh();if(s.vnode=t,n)for(c in o)n[c]||a.addEventListener(c,s,!1);else for(c in o)a.addEventListener(c,s,!1)}}}const $h={create:qo,update:qo,destroy:qo};function Rs(e,t){let n,l,i;const o=t.elm;let a=e.data.props,c=t.data.props;if(!(!a&&!c)&&a!==c){a=a||{},c=c||{};for(n in c)l=c[n],i=a[n],i!==l&&(n!=="value"||o[n]!==l)&&(o[n]=l)}}const wh={create:Rs,update:Rs},Os=typeof window?.requestAnimationFrame=="function"?window.requestAnimationFrame.bind(window):setTimeout,zh=e=>{Os(()=>{Os(e)})};let Vo=!1;function Wh(e,t,n){zh(()=>{e[t]=n})}function Us(e,t){let n,l;const i=t.elm;let o=e.data.style,a=t.data.style;if(!o&&!a||o===a)return;o=o||{},a=a||{};const c="delayed"in o;for(l in o)l in a||(l[0]==="-"&&l[1]==="-"?i.style.removeProperty(l):i.style[l]="");for(l in a)if(n=a[l],l==="delayed"&&a.delayed)for(const s in a.delayed)n=a.delayed[s],(!c||n!==o.delayed[s])&&Wh(i.style,s,n);else l!=="remove"&&n!==o[l]&&(l[0]==="-"&&l[1]==="-"?i.style.setProperty(l,n):i.style[l]=n)}function Bh(e){let t,n;const l=e.elm,i=e.data.style;if(!(!i||!(t=i.destroy)))for(n in t)l.style[n]=t[n]}function Ih(e,t){const n=e.data.style;if(!n||!n.remove){t();return}Vo||(e.elm.offsetLeft,Vo=!0);let l;const i=e.elm;let o=0;const a=n.remove;let c=0;const s=[];for(l in a)s.push(l),i.style[l]=a[l];const u=getComputedStyle(i)["transition-property"].split(", ");for(;o<u.length;++o)s.indexOf(u[o])!==-1&&c++;i.addEventListener("transitionend",f=>{f.target===i&&--c,c===0&&t()})}function jh(){Vo=!1}const Kh={pre:jh,create:Us,update:Us,destroy:Bh,remove:Ih};function Yh(e,...t){const n=Go(t,[]);return n.length===1&&!n[0].sel&&n[0].text?Z(void 0,void 0,void 0,n[0].text,void 0):Z(void 0,e??{},n,void 0,void 0)}function Go(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?Go(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(Z(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function Qh(e,t,...n){const l=Go(n,[]);return typeof e=="function"?e(t,l):l.length===1&&!l[0].sel&&l[0].text?ti(e,t,l[0].text):ti(e,t,l)}const Xh=Object.freeze(Object.defineProperty({__proto__:null,Fragment:Yh,array:Kt,attachTo:Rh,attributesModule:Mh,classModule:Nh,datasetModule:Lh,eventListenersModule:$h,fragment:Ch,h:ti,htmlDomApi:Qo,init:gh,jsx:Qh,primitive:xt,propsModule:wh,styleModule:Kh,thunk:Eh,toVNode:Ts,vnode:Z},Symbol.toStringTag,{value:"Module"}));var b=(e=>(e[e.Unknown=0]="Unknown",e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=1521]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown",e))(b||{}),R=(e=>(e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren",e))(R||{});const qh="a runtime error occured! Use Inferno in development environment to find the error.",_t=Array.isArray;function Rt(e){const t=typeof e;return t==="string"||t==="number"}function D(e){return e==null}function We(e){return e===null||e===!1||e===!0||e===void 0}function M(e){return typeof e=="function"}function Ot(e){return typeof e=="string"}function As(e){return typeof e=="number"}function J(e){return e===null}function Vh(e){return e===void 0}function V(e){throw e||(e=qh),new Error(`Inferno Error: ${e}`)}function Yt(e){console.error(e)}function Gh(e,t){return M(t)?{data:e,event:t}:null}function Zo(e){return!J(e)&&typeof e=="object"}const I={},Ds="$F";class Ut{componentDidAppear=[];componentWillDisappear=[];componentWillMove=[]}process.env.NODE_ENV!=="production"&&Object.freeze(I);function Jo(e){return e.substring(2).toLowerCase()}function ks(e,t){e.appendChild(t)}function li(e,t,n){J(n)?ks(e,t):e.insertBefore(t,n)}function Zh(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function Jh(e,t,n){e.replaceChild(t,n)}function Ps(e,t){e.removeChild(t)}function Ms(e){for(let t=0;t<e.length;t++)e[t]()}function em(e,t,n){const l=e.children;return(n&b.ComponentClass)!==0?l.$LI:(n&b.Fragment)!==0?e.childFlags===R.HasVNodeChildren?l:l[t?0:l.length-1]:l}function ce(e,t){let n,l=e;for(;!D(l);){if(n=l.flags,(n&b.DOMRef)!==0)return l.dom;l=em(l,t,n)}return null}function ii(e,t){let n=e.length,l;for(;(l=e.pop())!==void 0;)l(()=>{--n<=0&&M(t)&&t()})}function tm(e){for(let t=0;t<e.length;t++)e[t].fn();for(let t=0;t<e.length;t++){const n=e[t];li(n.parent,n.dom,n.next)}e.splice(0,e.length)}function oi(e,t,n){for(;!D(e);){const l=e.flags;if((l&b.DOMRef)!==0){(!n||e.dom.parentNode===t)&&Ps(t,e.dom);return}const i=e.children;if((l&b.ComponentClass)!==0&&(e=i.$LI),(l&b.ComponentFunction)!==0&&(e=i),(l&b.Fragment)!==0)if(e.childFlags===R.HasVNodeChildren)e=i;else{for(let o=0,a=i.length;o<a;++o)oi(i[o],t,!1);return}}}function nm(e,t){return function(){oi(e,t,!0)}}function ai(e,t,n){n.componentWillDisappear.length>0?ii(n.componentWillDisappear,nm(e,t)):oi(e,t,!1)}function lm(e,t,n,l,i,o,a,c){e.componentWillMove.push({dom:l,fn:()=>{(a&b.ComponentClass)!==0?n.componentWillMove(t,i,l):(a&b.ComponentFunction)!==0&&n.onComponentWillMove(t,i,l,c)},next:o,parent:i})}function Ns(e,t,n,l,i){let o,a;const c=t.flags;for(;!D(t);){const s=t.flags;if((s&b.DOMRef)!==0){!D(o)&&(M(o.componentWillMove)||M(o.onComponentWillMove))?lm(i,e,o,t.dom,n,l,c,a):li(n,t.dom,l);return}const r=t.children;if((s&b.ComponentClass)!==0)o=t.children,a=t.props,t=r.$LI;else if((s&b.ComponentFunction)!==0)o=t.ref,a=t.props,t=r;else if((s&b.Fragment)!==0)if(t.childFlags===R.HasVNodeChildren)t=r;else{for(let u=0,f=r.length;u<f;++u)Ns(e,r[u],n,l,i);return}}}function ea(e){return e.name??e.displayName??e.constructor.name??(e.toString().match(/^function\s*([^\s(]+)/)||[])[1]}function Ls(e,t,n){return M(e.constructor.getDerivedStateFromProps)?{...n,...e.constructor.getDerivedStateFromProps(t,n)}:n}const Yn={v:!1},Qn={createVNode:null};function Xn(e,t){e.textContent=t}function Fs(e,t){return Zo(e)&&e.event===t.event&&e.data===t.data}function Hs(e,t){for(const n in t)Vh(e[n])&&(e[n]=t[n]);return e}function ta(e,t){return M(e)&&(e(t),!0)}function Be(e){let t;if(_t(e))t="Array("+(e.length>3?e.slice(0,3).toString()+",...":e.toString())+")";else if(Rt(e))t="Text("+e+")";else if(We(e))t="InvalidVNode("+e+")";else{const n=e.flags;n&b.Element?t=`<${e.type}${e.className?' class="'+e.className+'"':""}>`:n&b.Text?t=`Text(${e.children})`:n&b.Portal?t="Portal*":t=`<${ea(e.type)} />`}return">> "+t+`
2
+ `}function na(e,t){const n={};for(let l=0,i=e.length;l<i;++l){const o=e[l];if(_t(o))return`Encountered ARRAY in mount, array must be flattened, or normalize used. Location:
3
+ `+Be(o);if(We(o)){if(t)return`Encountered invalid node when preparing to keyed algorithm. Location:
4
+ `+Be(o);if(Object.keys(n).length!==0)return`Encountered invalid node with mixed keys. Location:
5
+ `+Be(o);continue}if(typeof o=="object"){if(o.isValidated)continue;o.isValidated=!0}const a=o.key;if(!D(a)&&!Rt(a))return`Encountered child vNode where key property is not string or number. Location:
6
+ `+Be(o);const c=o.children,s=o.childFlags;if(!We(c)){let r;if(s&R.MultipleChildren?r=na(c,(s&R.HasKeyedChildren)!==0):s===R.HasVNodeChildren&&(r=na([c],!1)),r)return r+=Be(o),r}if(t&&D(a))return`Encountered child without key during keyed algorithm. If this error points to Array make sure children is flat list. Location:
7
+ `+Be(o);if(!t&&D(a)){if(Object.keys(n).length!==0)return`Encountered children with key missing. Location:
8
+ `+Be(o);continue}if(n[a])return"Encountered two children with same key: {"+a+`}. Location:
9
+ `+Be(o);n[a]=!0}return null}function im(e){if(process.env.NODE_ENV!=="production"){if(e.childFlags===R.HasInvalidChildren)return;if(e.flags&b.InputElement&&V("input elements can't have children."),e.flags&b.TextareaElement&&V("textarea elements can't have children."),e.flags&b.Element){const t={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},n=e.type.toLowerCase();n==="media"&&V("media elements can't have children."),t[n]&&V(`${n} elements can't have children.`)}}}function $s(e){if(process.env.NODE_ENV!=="production"){if(!e.isValidated&&e.children&&e.flags&b.Element){const t=na(Array.isArray(e.children)?e.children:[e.children],(e.childFlags&R.HasKeyedChildren)>0);t&&V(t+Be(e))}e.isValidated=!0}}function ws(e){As(e.flags)||V(`normalization received an object that's not a valid VNode, you should stringify it first or fix createVNode flags. Object: "${JSON.stringify(e)}".`)}const qn="$";function ci(e,t,n,l,i,o,a,c){process.env.NODE_ENV!=="production"&&(this.isValidated=!1),this.childFlags=e,this.children=t,this.className=n,this.dom=null,this.flags=l,this.key=i===void 0?null:i,this.props=o===void 0?null:o,this.ref=a===void 0?null:a,this.type=c}function la(e,t,n,l,i,o,a,c){process.env.NODE_ENV!=="production"&&e&b.Component&&V("Creating Component vNodes using createVNode is not allowed. Use Inferno.createComponentVNode method.");const s=i===void 0?R.HasInvalidChildren:i,r=new ci(s,l,n,e,a,o,c,t);return Qn.createVNode&&Qn.createVNode(r),s===R.UnknownChildren&&Ws(r,r.children),process.env.NODE_ENV!=="production"&&im(r),r}function om(e,t,n){if(e&b.ComponentClass)return n;const l=(e&b.ForwardRef?t.render:t).defaultHooks;return D(l)?n:D(n)?l:Hs(n,l)}function am(e,t,n){const l=(e&b.ForwardRef?t.render:t).defaultProps;return D(l)?n:D(n)?{...l}:Hs(n,l)}function cm(e,t){return e&b.ComponentKnown?e:t.prototype?.render?b.ComponentClass:t.render?b.ForwardRefComponent:b.ComponentFunction}function sm(e,t,n,l,i){process.env.NODE_ENV!=="production"&&(e&b.HtmlElement)!==0&&V("Creating element vNodes using createComponentVNode is not allowed. Use Inferno.createVNode method."),e=cm(e,t);const o=new ci(R.HasInvalidChildren,null,null,e,l,am(e,t,n),om(e,t,i),t);return M(Qn.createVNode)&&Qn.createVNode(o),o}function Qt(e,t){return new ci(R.HasInvalidChildren,D(e)||e===!0||e===!1?"":e,null,b.Text,t,null,null,null)}function ia(e,t,n){const l=la(b.Fragment,b.Fragment,null,e,t,null,n,null);switch(l.childFlags){case R.HasInvalidChildren:l.children=si(),l.childFlags=R.HasVNodeChildren;break;case R.HasTextChildren:l.children=[Qt(e)],l.childFlags=R.HasNonKeyedChildren;break}return l}function um(e){const t=e.props;if(t){const n=e.flags;n&b.Element&&(t.children!==void 0&&D(e.children)&&Ws(e,t.children),t.className!==void 0&&(D(e.className)&&(e.className=t.className||null),t.className=void 0)),t.key!==void 0&&(e.key=t.key,t.key=void 0),t.ref!==void 0&&(n&b.ComponentFunction?e.ref={...e.ref,...t.ref}:e.ref=t.ref,t.ref=void 0)}return e}function rm(e){const t=e.children,n=e.childFlags;return ia(n===R.HasVNodeChildren?j(t):t.map(j),n,e.key)}function j(e){const t=e.flags&b.ClearInUse;let n=e.props;if(t&b.Component&&!J(n)){const l=n;n={};for(const i in l)n[i]=l[i]}return(t&b.Fragment)===0?new ci(e.childFlags,e.children,e.className,t,e.key,n,e.ref,e.type):rm(e)}function si(){return Qt("",null)}function fm(e,t){const n=Vn(e);return la(b.Portal,b.Portal,null,n,R.UnknownChildren,null,n.key,t)}function zs(e,t,n,l){for(const i=e.length;n<i;n++){let o=e[n];if(!We(o)){const a=l+qn+n;if(_t(o))zs(o,t,0,a);else{if(Rt(o))o=Qt(o,a);else{process.env.NODE_ENV!=="production"&&ws(o);const c=o.key,s=Ot(c)&&c[0]===qn;(o.flags&b.InUseOrNormalized||s)&&(o=j(o)),o.flags|=b.Normalized,s?c.substring(0,l.length)!==l&&(o.key=l+c):J(c)?o.key=a:o.key=l+c}t.push(o)}}}}function dm(e){switch(e){case"svg":return b.SvgElement;case"input":return b.InputElement;case"select":return b.SelectElement;case"textarea":return b.TextareaElement;case Ds:return b.Fragment;default:return b.HtmlElement}}function Ws(e,t){let n,l=R.HasInvalidChildren;if(We(t))n=t;else if(Rt(t))l=R.HasTextChildren,n=t;else if(_t(t)){const i=t.length;for(let o=0;o<i;++o){let a=t[o];if(We(a)||_t(a)){n=n||t.slice(0,o),zs(t,n,o,"");break}else if(Rt(a))n=n||t.slice(0,o),n.push(Qt(a,qn+o));else{process.env.NODE_ENV!=="production"&&ws(a);const c=a.key,s=(a.flags&b.InUseOrNormalized)>0,r=J(c),u=Ot(c)&&c[0]===qn;s||r||u?(n=n||t.slice(0,o),(s||u)&&(a=j(a)),(r||u)&&(a.key=qn+o),n.push(a)):n&&n.push(a),a.flags|=b.Normalized}}n=n||t,n.length===0?l=R.HasInvalidChildren:l=R.HasKeyedChildren}else n=t,n.flags|=b.Normalized,t.flags&b.InUseOrNormalized&&(n=j(t)),l=R.HasVNodeChildren;return e.children=n,e.childFlags=l,e}function Vn(e){return We(e)||Rt(e)?Qt(e,null):_t(e)?ia(e,R.UnknownChildren,null):e.flags&b.InUse?j(e):e}const At="http://www.w3.org/1999/xlink",oa="http://www.w3.org/XML/1998/namespace",Bs={"xlink:actuate":At,"xlink:arcrole":At,"xlink:href":At,"xlink:role":At,"xlink:show":At,"xlink:title":At,"xlink:type":At,"xml:base":oa,"xml:lang":oa,"xml:space":oa};function ui(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}const Is=ui(0),aa=ui(null),js=ui(!0);function Ks(e,t){let n=t.$EV;return n||(n=t.$EV=ui(null)),n[e]||++Is[e]===1&&(aa[e]=Em(e)),n}function Ys(e,t){const n=t.$EV;n?.[e]&&(--Is[e]===0&&(document.removeEventListener(Jo(e),aa[e]),aa[e]=null),n[e]=null)}function pm(e,t,n,l){if(M(n))Ks(e,l)[e]=n;else if(Zo(n)){if(Fs(t,n))return;Ks(e,l)[e]=n}else Ys(e,l)}function hm(e){return M(e.composedPath)?e.composedPath()[0]:e.target}function mm(e,t,n,l){let i=hm(e);do{if(t&&i.disabled)return;const o=i.$EV;if(!D(o)){const a=o[n];if(a&&(l.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!J(i))}function ym(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function gm(){return this.defaultPrevented}function Cm(){return this.cancelBubble}function Tm(e){const t={dom:document};return e.isDefaultPrevented=gm,e.isPropagationStopped=Cm,e.stopPropagation=ym,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function bm(e){const t=e==="onClick"||e==="onDblClick";return function(n){mm(n,t,e,Tm(n))}}function Em(e){const t=bm(e);return document.addEventListener(Jo(e),t),t}function Sm(e,t){const n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}function Qs(e,t,n){const l=e[t];if(l)l.event?l.event(l.data,n):l(n);else{const i=t.toLowerCase();M(e[i])&&e[i](n)}}function Gn(e,t){const n=function(i){const o=this.$V;if(D(o))return;const a=o.props??I,c=o.dom;if(Ot(e))Qs(a,e,i);else for(let s=0;s<e.length;++s)Qs(a,e[s],i);if(M(t)){const s=this.$V,r=s.props??I;t(r,c,!1,s)}};return Object.defineProperty(n,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),n}function Dt(e,t,n){const l=`$${t}`,i=e[l];if(i){if(i[1].wrapped)return;e.removeEventListener(i[0],i[1]),e[l]=null}M(n)&&(e.addEventListener(t,n),e[l]=[t,n])}function ca(e){return e==="checkbox"||e==="radio"}const vm=Gn("onInput",sa),xm=Gn(["onClick","onChange"],sa);function Xs(e){e.stopPropagation()}Xs.wrapped=!0;function _m(e,t){ca(t.type)?(Dt(e,"change",xm),Dt(e,"click",Xs)):Dt(e,"input",vm)}function sa(e,t){const n=e.type,l=e.value,i=e.checked,o=e.multiple,a=e.defaultValue,c=!D(l);n!=null&&n!==t.type&&t.setAttribute("type",n),!D(o)&&o!==t.multiple&&(t.multiple=o),!D(a)&&!c&&(t.defaultValue=a+""),ca(n)?(c&&(t.value=l),D(i)||(t.checked=i)):c&&t.value!==l?(t.defaultValue=l,t.value=l):D(i)||(t.checked=i)}function Zn(e,t){if(e.type==="option")Rm(e,t);else{const n=e.children,l=e.flags;if((l&b.ComponentClass)!==0)Zn(n.$LI,t);else if((l&b.ComponentFunction)!==0)Zn(n,t);else if(e.childFlags===R.HasVNodeChildren)Zn(n,t);else if((e.childFlags&R.MultipleChildren)!==0)for(let i=0,o=n.length;i<o;++i)Zn(n[i],t)}}function Rm(e,t){const n=e.props??I,l=n.value,i=e.dom;i.value=l,l===t||_t(t)&&t.includes(l)?i.selected=!0:(!D(t)||!D(n.selected))&&(i.selected=!!n.selected)}const Om=Gn("onChange",qs);function Um(e){Dt(e,"change",Om)}function qs(e,t,n,l){const i=!!e.multiple;!D(e.multiple)&&i!==t.multiple&&(t.multiple=i);const o=e.selectedIndex;if(o===-1&&(t.selectedIndex=-1),l.childFlags!==R.HasInvalidChildren){let c=e.value;As(o)&&o>-1&&!D(t.options[o])&&(c=t.options[o].value),n&&D(c)&&(c=e.defaultValue),Zn(l,c)}}const Am=Gn("onInput",Vs),Dm=Gn("onChange");function km(e,t){Dt(e,"input",Am),M(t.onChange)&&Dt(e,"change",Dm)}function Vs(e,t,n){const l=e.value,i=t.value;if(D(l)){if(n){const o=e.defaultValue;!D(o)&&o!==i&&(t.defaultValue=o,t.value=o)}}else i!==l&&(t.defaultValue=l,t.value=l)}function Gs(e,t,n,l,i,o){(e&b.InputElement)!==0?sa(l,n):(e&b.SelectElement)!==0?qs(l,n,i,t):(e&b.TextareaElement)!==0&&Vs(l,n,i),o&&(n.$V=t)}function Pm(e,t,n){(e&b.InputElement)!==0?_m(t,n):(e&b.SelectElement)!==0?Um(t):(e&b.TextareaElement)!==0&&km(t,n)}function Zs(e){return ca(e.type)?!D(e.checked):!D(e.value)}function Mm(){return{current:null}}function Nm(e){if(process.env.NODE_ENV!=="production"&&!M(e)){Yt(`forwardRef requires a render function but was given ${e===null?"null":typeof e}.`);return}return{render:e}}function ri(e){D(e)||!ta(e,null)&&e.current&&(e.current=null)}function Jn(e,t,n){!D(e)&&(M(e)||e.current!==void 0)&&n.push(()=>{!ta(e,t)&&e.current!==void 0&&(e.current=t)})}function ve(e,t,n){Ie(e,n),ai(e,t,n)}function Ie(e,t){const n=e.flags,l=e.children;let i;if((n&b.Element)!==0){i=e.ref;const o=e.props;ri(i);const a=e.childFlags;if(!J(o)){const c=Object.keys(o);for(let s=0,r=c.length;s<r;s++){const u=c[s];js[u]&&Ys(u,e.dom)}}a&R.MultipleChildren?el(l,t):a===R.HasVNodeChildren&&Ie(l,t)}else if(l)if(n&b.ComponentClass){M(l.componentWillUnmount)&&l.componentWillUnmount();let o=t;M(l.componentWillDisappear)&&(o=new Ut,Js(t,l,l.$LI.dom,n,void 0)),ri(e.ref),l.$UN=!0,Ie(l.$LI,o)}else if(n&b.ComponentFunction){let o=t;if(i=e.ref,!D(i)){let a=null;M(i.onComponentWillUnmount)&&(a=ce(e,!0),i.onComponentWillUnmount(a,e.props||I)),M(i.onComponentWillDisappear)&&(o=new Ut,a=a||ce(e,!0),Js(t,i,a,n,e.props))}Ie(l,o)}else n&b.Portal?ve(l,e.ref,t):n&b.Fragment&&e.childFlags&R.MultipleChildren&&el(l,t)}function el(e,t){for(let n=0,l=e.length;n<l;++n)Ie(e[n],t)}function Lm(e,t){return function(){if(t)for(let n=0;n<e.length;n++){const l=e[n];oi(l,t,!1)}}}function fi(e,t,n){n.componentWillDisappear.length>0?ii(n.componentWillDisappear,Lm(t,e)):e.textContent=""}function di(e,t,n,l){el(n,l),t.flags&b.Fragment?ai(t,e,l):fi(e,n,l)}function Js(e,t,n,l,i){e.componentWillDisappear.push(o=>{l&b.ComponentClass?t.componentWillDisappear(n,o):l&b.ComponentFunction&&t.onComponentWillDisappear(n,i,o)})}function Fm(e){const t=e.event;return function(n){t(e.data,n)}}function Hm(e,t,n,l){if(Zo(n)){if(Fs(t,n))return;n=Fm(n)}Dt(l,Jo(e),n)}function $m(e,t,n){if(D(t)){n.removeAttribute("style");return}const l=n.style;let i,o;if(Ot(t)){l.cssText=t;return}if(!D(e)&&!Ot(e)){for(i in t)o=t[i],o!==e[i]&&l.setProperty(i,o);for(i in e)D(t[i])&&l.removeProperty(i)}else for(i in t)o=t[i],l.setProperty(i,o)}function wm(e,t,n,l,i){const o=e?.__html||"",a=t?.__html||"";o!==a&&!D(a)&&!Sm(l,a)&&(J(n)||(n.childFlags&R.MultipleChildren?el(n.children,i):n.childFlags===R.HasVNodeChildren&&Ie(n.children,i),n.children=null,n.childFlags=R.HasInvalidChildren),l.innerHTML=a)}function zm(e,t,n){const l=D(e)?"":e;t[n]!==l&&(t[n]=l)}function ua(e,t,n,l,i,o,a,c){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":l.autofocus=!!n;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":l[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(o&&e==="value")break;zm(n,l,e);break;case"style":$m(t,n,l);break;case"dangerouslySetInnerHTML":wm(t,n,a,l,c);break;default:js[e]?pm(e,t,n,l):e.charCodeAt(0)===111&&e.charCodeAt(1)===110?Hm(e,t,n,l):D(n)?l.removeAttribute(e):i&&Bs[e]?l.setAttributeNS(Bs[e],e,n):(process.env.NODE_ENV!=="production"&&e==="href"&&Ot(n)&&n.startsWith("javascript:")&&Yt('Rendering links with javascript: URLs is not recommended. Use event handlers instead if you can. Inferno was passed "'+n+'".'),l.setAttribute(e,n));break}}function eu(e,t,n,l,i,o){let a=!1;const c=(t&b.FormElement)>0;c&&(a=Zs(n),a&&Pm(t,l,n));for(const s in n)ua(s,null,n[s],l,i,a,null,o);c&&Gs(t,e,l,n,!0,a)}function Wm(e){const t=[];e.componentWillMount&&e.componentWillMount.__suppressDeprecationWarning!==!0&&t.push("componentWillMount"),e.componentWillReceiveProps&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&t.push("componentWillReceiveProps"),e.componentWillUpdate&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&t.push("componentWillUpdate"),t.length>0&&Yt(`
10
+ Warning: Unsafe legacy lifecycles will not be called for components using new component APIs.
11
+ ${ea(e)} contains the following legacy lifecycles:
12
+ ${t.join(`
13
+ `)}
14
+ The above lifecycles should be removed.
15
+ `)}function tu(e,t,n){const l=Vn(e.render(t,e.state,n));let i=n;return M(e.getChildContext)&&(i={...n,...e.getChildContext()}),e.$CX=i,l}function nu(e,t,n,l,i,o){const a=new t(n,l),c=a.$N=!!(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=o,process.env.NODE_ENV!=="production"&&(a.getDerivedStateFromProps&&Yt(`${ea(a)} getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`),c&&Wm(a)),e.children=a,a.$BS=!1,a.context=l,a.props===I&&(a.props=n),c)a.state=Ls(a,n,a.state);else if(M(a.componentWillMount)){a.$BR=!0,a.componentWillMount();const s=a.$PS;if(!J(s)){const r=a.state;if(J(r))a.state=s;else for(const u in s)r[u]=s[u];a.$PS=null}a.$BR=!1}return a.$LI=tu(a,n,l),a}function ra(e,t){const n=e.props||I;return e.flags&b.ForwardRef?e.type.render(n,e.ref,t):e.type(n,t)}function Q(e,t,n,l,i,o,a){const c=e.flags|=b.InUse;(c&b.Element)!==0?iu(e,t,n,l,i,o,a):(c&b.ComponentClass)!==0?jm(e,t,n,l,i,o,a):c&b.ComponentFunction?Km(e,t,n,l,i,o,a):c&b.Text?lu(e,t,i):c&b.Fragment?Im(e,n,t,l,i,o,a):c&b.Portal?Bm(e,n,t,i,o,a):process.env.NODE_ENV!=="production"&&V(typeof e=="object"?`mount() received an object that's not a valid VNode, you should stringify it first, fix createVNode flags or call normalizeChildren. Object: "${JSON.stringify(e)}".`:`mount() expects a valid VNode, instead it received an object with the type "${typeof e}".`)}function Bm(e,t,n,l,i,o){Q(e.children,e.ref,t,!1,null,i,o);const a=si();lu(a,n,l),e.dom=a.dom}function Im(e,t,n,l,i,o,a){let c=e.children,s=e.childFlags;s&R.MultipleChildren&&c.length===0&&(s=e.childFlags=R.HasVNodeChildren,c=e.children=si()),s===R.HasVNodeChildren?Q(c,n,t,l,i,o,a):kt(c,n,t,l,i,o,a)}function lu(e,t,n){const l=e.dom=document.createTextNode(e.children);J(t)||li(t,l,n)}function iu(e,t,n,l,i,o,a){const c=e.flags,s=e.props,r=e.className,u=e.childFlags,f=e.dom=Zh(e.type,l=l||(c&b.SvgElement)>0);let d=e.children;if(!D(r)&&r!==""&&(l?f.setAttribute("class",r):f.className=r),process.env.NODE_ENV!=="production"&&$s(e),u===R.HasTextChildren)Xn(f,d);else if(u!==R.HasInvalidChildren){const g=l&&e.type!=="foreignObject";u===R.HasVNodeChildren?(d.flags&b.InUse&&(e.children=d=j(d)),Q(d,f,n,g,null,o,a)):(u===R.HasKeyedChildren||u===R.HasNonKeyedChildren)&&kt(d,f,n,g,null,o,a)}J(t)||li(t,f,i),J(s)||eu(e,c,s,f,l,a),process.env.NODE_ENV!=="production"&&Ot(e.ref)&&V('string "refs" are not supported in Inferno 1.0. Use callback ref or Inferno.createRef() API instead.'),Jn(e.ref,f,o)}function kt(e,t,n,l,i,o,a){for(let c=0;c<e.length;++c){let s=e[c];s.flags&b.InUse&&(e[c]=s=j(s)),Q(s,t,n,l,i,o,a)}}function jm(e,t,n,l,i,o,a){const c=nu(e,e.type,e.props||I,n,l,o);let s=a;M(c.componentDidAppear)&&(s=new Ut),Q(c.$LI,t,c.$CX,l,i,o,s),ou(e.ref,c,o,a)}function Km(e,t,n,l,i,o,a){const c=e.ref;let s=a;!D(c)&&M(c.onComponentDidAppear)&&(s=new Ut),Q(e.children=Vn(ra(e,n)),t,n,l,i,o,s),au(e,o,a)}function Ym(e){return()=>{e.componentDidMount()}}function Qm(e,t,n){e.componentDidAppear.push(()=>{t.componentDidAppear(n)})}function Xm(e,t,n,l){e.componentDidAppear.push(()=>{t.onComponentDidAppear(n,l)})}function ou(e,t,n,l){Jn(e,t,n),process.env.NODE_ENV!=="production"&&(Rt(e)?V('string "refs" are not supported in Inferno 1.0. Use callback ref or Inferno.createRef() API instead.'):!D(e)&&typeof e=="object"&&e.current===void 0&&V("functional component lifecycle events are not supported on ES2015 class components.")),M(t.componentDidMount)&&n.push(Ym(t)),M(t.componentDidAppear)&&Qm(l,t,t.$LI.dom)}function qm(e,t){return()=>{e.onComponentDidMount(ce(t,!0),t.props||I)}}function au(e,t,n){const l=e.ref;D(l)||(ta(l.onComponentWillMount,e.props||I),M(l.onComponentDidMount)&&t.push(qm(l,e)),M(l.onComponentDidAppear)&&Xm(n,l,ce(e,!0),e.props))}function Vm(e,t,n,l,i,o,a){Ie(e,a),(t.flags&e.flags&b.DOMRef)!==0?(Q(t,null,l,i,null,o,a),Jh(n,t.dom,e.dom)):(Q(t,n,l,i,ce(e,!0),o,a),ai(e,n,a))}function je(e,t,n,l,i,o,a,c){const s=t.flags|=b.InUse;e.flags!==s||e.type!==t.type||e.key!==t.key||s&b.ReCreate?e.flags&b.InUse?Vm(e,t,n,l,i,a,c):Q(t,n,l,i,o,a,c):s&b.Element?ty(e,t,l,i,a,c):s&b.ComponentClass?oy(e,t,n,l,i,o,a,c):s&b.ComponentFunction?ay(e,t,n,l,i,o,a,c):s&b.Text?cy(e,t):s&b.Fragment?Jm(e,t,n,l,i,a,c):ey(e,t,l,a,c)}function Gm(e,t,n){e!==t&&(e!==""?n.firstChild.nodeValue=t:Xn(n,t))}function Zm(e,t){e.textContent!==t&&(e.textContent=t)}function Jm(e,t,n,l,i,o,a){const c=e.children;let s=t.children;const r=e.childFlags;let u=t.childFlags,f=null;u&R.MultipleChildren&&s.length===0&&(u=t.childFlags=R.HasVNodeChildren,s=t.children=si());const d=(u&R.HasVNodeChildren)!==0;if(r&R.MultipleChildren){const g=c.length;(r&R.HasKeyedChildren&&u&R.HasKeyedChildren||d||!d&&s.length>g)&&(f=ce(c[g-1],!1).nextSibling)}fa(r,u,c,s,n,l,i,f,e,o,a)}function ey(e,t,n,l,i){const o=e.ref,a=t.ref,c=t.children;if(fa(e.childFlags,t.childFlags,e.children,c,o,n,!1,null,e,l,i),t.dom=e.dom,o!==a&&!We(c)){const s=c.dom;Ps(o,s),ks(a,s)}}function ty(e,t,n,l,i,o){const a=t.dom=e.dom,c=e.props,s=t.props,r=t.flags;let u=!1,f=!1,d;if(l=l||(r&b.SvgElement)>0,c!==s){const S=c||I;if(d=s||I,d!==I){u=(r&b.FormElement)>0,u&&(f=Zs(d));for(const k in d){const U=S[k],p=d[k];U!==p&&ua(k,U,p,a,l,f,e,o)}}if(S!==I)for(const k in S)D(d[k])&&!D(S[k])&&ua(k,S[k],null,a,l,f,e,o)}const g=t.children,h=t.className;e.className!==h&&(D(h)?a.removeAttribute("class"):l?a.setAttribute("class",h):a.className=h),process.env.NODE_ENV!=="production"&&$s(t),r&b.ContentEditable?Zm(a,g):fa(e.childFlags,t.childFlags,e.children,g,a,n,l&&t.type!=="foreignObject",null,e,i,o),u&&Gs(r,t,a,d,!1,f);const y=t.ref,E=e.ref;E!==y&&(ri(E),Jn(y,a,i))}function ny(e,t,n,l,i,o,a){Ie(e,a),kt(t,n,l,i,ce(e,!0),o,a),ai(e,n,a)}function ly(e,t,n,l,i,o,a,c,s,r,u){const f=e.length|0,d=t.length|0;f===0?d>0&&kt(t,n,l,i,o,a,c):d===0?di(n,s,e,c):r===R.HasKeyedChildren&&u===R.HasKeyedChildren?uy(e,t,n,l,i,f,d,o,s,a,c):sy(e,t,n,l,i,f,d,o,a,c)}function fa(e,t,n,l,i,o,a,c,s,r,u){switch(e){case R.HasVNodeChildren:switch(t){case R.HasVNodeChildren:je(n,l,i,o,a,c,r,u);break;case R.HasInvalidChildren:ve(n,i,u);break;case R.HasTextChildren:Ie(n,u),Xn(i,l);break;default:ny(n,l,i,o,a,r,u);break}break;case R.HasInvalidChildren:switch(t){case R.HasVNodeChildren:Q(l,i,o,a,c,r,u);break;case R.HasInvalidChildren:break;case R.HasTextChildren:Xn(i,l);break;default:kt(l,i,o,a,c,r,u);break}break;case R.HasTextChildren:switch(t){case R.HasTextChildren:Gm(n,l,i);break;case R.HasVNodeChildren:fi(i,n,u),Q(l,i,o,a,c,r,u);break;case R.HasInvalidChildren:fi(i,n,u);break;default:fi(i,n,u),kt(l,i,o,a,c,r,u);break}break;default:switch(t){case R.HasTextChildren:el(n,u),Xn(i,l);break;case R.HasVNodeChildren:di(i,s,n,u),Q(l,i,o,a,c,r,u);break;case R.HasInvalidChildren:di(i,s,n,u);break;default:ly(n,l,i,o,a,c,r,u,s,t,e);break}break}}function iy(e,t,n,l,i){i.push(()=>{e.componentDidUpdate(t,n,l)})}function cu(e,t,n,l,i,o,a,c,s,r){const u=e.state,f=e.props,d=!!e.$N,g=M(e.shouldComponentUpdate);if(d&&(t=Ls(e,n,t!==u?{...u,...t}:t)),a||!g||g&&e.shouldComponentUpdate(n,t,i)){!d&&M(e.componentWillUpdate)&&e.componentWillUpdate(n,t,i),e.props=n,e.state=t,e.context=i;let h=null;const y=tu(e,n,i);d&&M(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(f,u)),je(e.$LI,y,l,e.$CX,o,c,s,r),e.$LI=y,M(e.componentDidUpdate)&&iy(e,f,u,h,s)}else e.props=n,e.state=t,e.context=i}function oy(e,t,n,l,i,o,a,c){const s=t.children=e.children;if(J(s))return;s.$L=a;const r=t.props||I,u=t.ref,f=e.ref;let d=s.state;if(!s.$N){if(M(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(r,l),s.$UN)return;s.$BR=!1}J(s.$PS)||(d={...d,...s.$PS},s.$PS=null)}cu(s,d,r,n,l,i,!1,o,a,c),f!==u&&(ri(f),Jn(u,s,a))}function ay(e,t,n,l,i,o,a,c){let s=!0;const r=t.props||I,u=t.ref,f=e.props,d=!D(u),g=e.children;if(d&&M(u.onComponentShouldUpdate)&&(s=u.onComponentShouldUpdate(f,r)),s){d&&M(u.onComponentWillUpdate)&&u.onComponentWillUpdate(f,r);const h=Vn(ra(t,l));je(g,h,n,l,i,o,a,c),t.children=h,d&&M(u.onComponentDidUpdate)&&u.onComponentDidUpdate(f,r)}else t.children=g}function cy(e,t){const n=t.children,l=t.dom=e.dom;n!==e.children&&(l.nodeValue=n)}function sy(e,t,n,l,i,o,a,c,s,r){const u=o>a?a:o;let f=0,d,g;for(;f<u;++f)d=t[f],g=e[f],d.flags&b.InUse&&(d=t[f]=j(d)),je(g,d,n,l,i,c,s,r),e[f]=d;if(o<a)for(f=u;f<a;++f)d=t[f],d.flags&b.InUse&&(d=t[f]=j(d)),Q(d,n,l,i,c,s,r);else if(o>a)for(f=u;f<o;++f)ve(e[f],n,r)}function uy(e,t,n,l,i,o,a,c,s,r,u){let f=o-1,d=a-1,g=0,h=e[g],y=t[g],E,S;e:{for(;h.key===y.key;){if(y.flags&b.InUse&&(t[g]=y=j(y)),je(h,y,n,l,i,c,r,u),e[g]=y,++g,g>f||g>d)break e;h=e[g],y=t[g]}for(h=e[f],y=t[d];h.key===y.key;){if(y.flags&b.InUse&&(t[d]=y=j(y)),je(h,y,n,l,i,c,r,u),e[f]=y,f--,d--,g>f||g>d)break e;h=e[f],y=t[d]}}if(g>f){if(g<=d)for(E=d+1,S=E<a?ce(t[E],!0):c;g<=d;)y=t[g],y.flags&b.InUse&&(t[g]=y=j(y)),++g,Q(y,n,l,i,S,r,u)}else if(g>d)for(;g<=f;)ve(e[g++],n,u);else ry(e,t,l,o,a,f,d,g,n,i,c,s,r,u)}function ry(e,t,n,l,i,o,a,c,s,r,u,f,d,g){let h,y,E=0,S=0,k=c;const U=c,p=o-c+1,C=a-c+1,m=new Int32Array(C+1);let T=p===l,_=!1,x=0,A=0;if(i<4||(p|C)<32)for(S=k;S<=o;++S)if(h=e[S],A<C){for(c=U;c<=a;c++)if(y=t[c],h.key===y.key){if(m[c-U]=S+1,T)for(T=!1;k<S;)ve(e[k++],s,g);x>c?_=!0:x=c,y.flags&b.InUse&&(t[c]=y=j(y)),je(h,y,s,n,r,u,d,g),++A;break}!T&&c>a&&ve(h,s,g)}else T||ve(h,s,g);else{const F={};for(S=U;S<=a;++S)F[t[S].key]=S;for(S=k;S<=o;++S)if(h=e[S],A<C)if(c=F[h.key],c!==void 0){if(T)for(T=!1;S>k;)ve(e[k++],s,g);m[c-U]=S+1,x>c?_=!0:x=c,y=t[c],y.flags&b.InUse&&(t[c]=y=j(y)),je(h,y,s,n,r,u,d,g),++A}else T||ve(h,s,g);else T||ve(h,s,g)}if(T)di(s,f,e,g),kt(t,s,n,r,u,d,g);else if(_){const F=fy(m);for(c=F.length-1,S=C-1;S>=0;S--)m[S]===0?(x=S+U,y=t[x],y.flags&b.InUse&&(t[x]=y=j(y)),E=x+1,Q(y,s,n,r,E<i?ce(t[E],!0):u,d,g)):c<0||S!==F[c]?(x=S+U,y=t[x],E=x+1,Ns(f,y,s,E<i?ce(t[E],!0):u,g)):c--;g.componentWillMove.length>0&&tm(g.componentWillMove)}else if(A!==C)for(S=C-1;S>=0;S--)m[S]===0&&(x=S+U,y=t[x],y.flags&b.InUse&&(t[x]=y=j(y)),E=x+1,Q(y,s,n,r,E<i?ce(t[E],!0):u,d,g))}let Ke,pi,su=0;function fy(e){let t=0,n=0,l=0,i=0,o=0,a=0,c=0;const s=e.length;for(s>su&&(su=s,Ke=new Int32Array(s),pi=new Int32Array(s));n<s;++n)if(t=e[n],t!==0){if(l=Ke[i],e[l]<t){pi[n]=l,Ke[++i]=n;continue}for(o=0,a=i;o<a;)c=o+a>>1,e[Ke[c]]<t?o=c+1:a=c;t<e[Ke[o]]&&(o>0&&(pi[n]=Ke[o-1]),Ke[o]=n)}o=i+1;const r=new Int32Array(o);for(a=Ke[o-1];o-- >0;)r[o]=a,a=pi[a],Ke[o]=0;return r}const uu=typeof document<"u";process.env.NODE_ENV!=="production"&&uu&&!document.body&&Yt('Inferno warning: you cannot initialize inferno without "document.body". Wait on "DOMContentLoaded" event, add script to bottom of body, or use async/defer attributes on script tag.');let ru=null;uu&&(ru=document.body,window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null));function fu(e,t,n,l){process.env.NODE_ENV!=="production"&&(ru===t&&V('you cannot render() to the "document.body". Use an empty element as a container instead.'),We(t)&&V(`render target ( DOM ) is mandatory, received ${t===null?"null":typeof t}`));const i=[],o=new Ut;let a=t.$V;Yn.v=!0,D(a)?D(e)||((e.flags&b.InUse)!==0&&(e=j(e)),Q(e,t,l,!1,null,i,o),t.$V=e,a=e):D(e)?(ve(a,t,o),t.$V=null):(e.flags&b.InUse&&(e=j(e)),je(a,e,t,l,!1,null,i,o),a=t.$V=e),Ms(i),ii(o.componentDidAppear),Yn.v=!1,M(n)&&n()}function du(e,t,n=null,l=I){fu(e,t,n,l)}function dy(e){return function(n,l,i,o){e||(e=n),du(l,e,i,o)}}const hi=[],py=Promise.resolve().then.bind(Promise.resolve());let da=!1;function pu(e,t,n,l){const i=e.$PS;if(M(t)&&(t=t(i?{...e.state,...i}:e.state,e.props,e.context)),D(i))e.$PS=t;else for(const o in t)i[o]=t[o];if(e.$BR)M(n)&&e.$L.push(n.bind(e));else{if(!Yn.v&&hi.length===0){mu(e,l),M(n)&&n.call(e);return}if(hi.includes(e)||hi.push(e),l&&(e.$F=!0),da||(da=!0,py(hu)),M(n)){let o=e.$QU;o||(o=e.$QU=[]),o.push(n)}}}function hy(e){const t=e.$QU;for(let n=0;n<t.length;++n)t[n].call(e);e.$QU=null}function hu(){let e;for(da=!1;e=hi.shift();)if(!e.$UN){const t=e.$F;e.$F=!1,mu(e,t),e.$QU&&hy(e)}}function mu(e,t){if(t||!e.$BR){const n=e.$PS;e.$PS=null;const l=[],i=new Ut;Yn.v=!0,cu(e,{...e.state,...n},e.props,ce(e.$LI,!0).parentNode,e.context,e.$SVG,t,null,l,i),Ms(l),ii(i.componentDidAppear),Yn.v=!1}else e.state=e.$PS,e.$PS=null}let my=class{state=null;props;context;displayName;$BR=!1;$BS=!0;$PS=null;$LI=null;$UN=!1;$CX=null;$QU=null;$N=!1;$SSR;$L=null;$SVG=!1;$F=!1;constructor(t,n){this.props=t||I,this.context=n||I}forceUpdate(t){this.$UN||pu(this,{},t,!0)}setState(t,n){this.$UN||(this.$BS?process.env.NODE_ENV!=="production"&&V("cannot update state via setState() in constructor. Instead, assign to `this.state` directly or define a `state = {};`"):pu(this,t,n,!1))}static defaultProps=null;render(t,n,l){return null}};if(process.env.NODE_ENV!=="production"&&!(typeof SKIP_INFERNO_WARNINGS<"u"||typeof process=="object"&&(process.env?.SKIP_INFERNO_WARNINGS!==void 0||process.env?.JEST_WORKER_ID!==void 0))){const t=function(){};(t.name||t.toString()).includes("testFn")||Yt("It looks like you're using a minified copy of the development build of Inferno. When deploying Inferno apps to production, make sure to use the production build which skips development warnings and is faster. See https://infernojs.org for more details.")}const yy=process.env.INFERNO_VERSION,gy=Object.freeze(Object.defineProperty({__proto__:null,AnimationQueues:Ut,Component:my,EMPTY_OBJ:I,Fragment:Ds,_CI:nu,_HI:Vn,_M:Q,_MCCC:ou,_ME:iu,_MFCC:au,_MP:eu,_MR:Jn,_RFC:ra,createComponentVNode:sm,createFragment:ia,createPortal:fm,createRef:Mm,createRenderer:dy,createTextVNode:Qt,createVNode:la,directClone:j,findDOMFromVNode:ce,forwardRef:Nm,getFlagsForElementVnode:dm,linkEvent:Gh,normalizeProps:um,options:Qn,render:du,renderInternal:fu,rerender:hu,version:yy},Symbol.toStringTag,{value:"Module"})),de=typeof Symbol=="function"&&Symbol.for,Pt=de?Symbol.for("react.element"):60103,Xt=de?Symbol.for("react.portal"):60106,Oe=de?Symbol.for("react.fragment"):60107,tl=de?Symbol.for("react.strict_mode"):60108,qt=de?Symbol.for("react.profiler"):60114,pa=de?Symbol.for("react.provider"):60109,ha=de?Symbol.for("react.context"):60110,nl=de?Symbol.for("react.concurrent_mode"):60111,mi=de?Symbol.for("react.forward_ref"):60112,ll=de?Symbol.for("react.suspense"):60113,yi=de?Symbol.for("react.memo"):60115,ma=de?Symbol.for("react.lazy"):60116,yu=typeof Symbol=="function"&&Symbol.iterator,Cy="@@iterator";function Vt(e){if(e===null||typeof e!="object")return null;const t=yu&&e[yu]||e[Cy];return typeof t=="function"?t:null}let gu=()=>{};gu=function(e){if(e===void 0)throw new Error("invariant requires an error message argument")};function O(e,t,n,l,i,o,a,c){if(gu(t),!e){let s;if(t===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{const r=[n,l,i,o,a,c];let u=0;s=new Error(t.replace(/%s/g,function(){return r[u++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}const Cu={};function Mt(e={},t,n){this.props=e,this.context=t,this.refs=Cu,this.updater=n}Mt.prototype.isReactComponent={},Mt.prototype.setState=function(e,t){O(typeof e=="object"||typeof e=="function"||e==null,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},Mt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Tu(){}Tu.prototype=Mt.prototype;function gi(e,t,n){this.props=e,this.context=t,this.refs=Cu,this.updater=n}const ya=gi.prototype=new Tu;ya.constructor=gi,Object.assign(ya,Mt.prototype),ya.isPureReactComponent=!0;function bu(){return{current:null}}let Ty=function(e,t,...n){if(n.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if(typeof console<"u"){const l=n.map(i=>""+i);l.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,l)}try{let l=0;const i="Warning: "+t.replace(/%s/g,()=>n[l++]);throw new Error(i)}catch{}}};const ga={current:null},Eu=Object.prototype.hasOwnProperty,Su={key:!0,ref:!0,__self:!0,__source:!0};function vu(e){return e.ref!==void 0}function xu(e){return e.key!==void 0}const Ca=function(e,t,n,l,i,o,a){return{$$typeof:Pt,type:e,key:t,ref:n,props:a,_owner:o}};function Ta(e,t,n){let l;const i={};let o=null,a=null,c=null,s=null;if(t!=null){vu(t)&&(a=t.ref),xu(t)&&(o=""+t.key),c=t.__self===void 0?null:t.__self,s=t.__source===void 0?null:t.__source;for(l in t)Eu.call(t,l)&&!Su.hasOwnProperty(l)&&(i[l]=t[l])}const r=arguments.length-2;if(r===1)i.children=n;else if(r>1){const u=Array(r);for(let f=0;f<r;f++)u[f]=arguments[f+2];i.children=u}if(e&&e.defaultProps){const u=e.defaultProps;for(l in u)i[l]===void 0&&(i[l]=u[l])}return Ca(e,o,a,c,s,ga.current,i)}function _u(e){const t=Ta.bind(null,e);return t.type=e,t}function by(e,t){return Ca(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function Ru(e,t,n){O(e!=null,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);let l;const i=Object.assign({},e.props);let o=e.key,a=e.ref;const c=e._self,s=e._source;let r=e._owner;if(t!=null){vu(t)&&(a=t.ref,r=ga.current),xu(t)&&(o=""+t.key);let f;e.type&&e.type.defaultProps&&(f=e.type.defaultProps);for(l in t)Eu.call(t,l)&&!Su.hasOwnProperty(l)&&(t[l]===void 0&&f!==void 0?i[l]=f[l]:i[l]=t[l])}const u=arguments.length-2;if(u===1)i.children=n;else if(u>1){const f=Array(u);for(let d=0;d<u;d++)f[d]=arguments[d+2];i.children=f}return Ca(e.type,o,a,c,s,r,i)}function Ci(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pt}const Ou=".",Ey=":";function Sy(e){const t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(i){return n[i]})}const vy=/\/+/g;function Uu(e){return(""+e).replace(vy,"$&/")}const xy=10,Ti=[];function Au(e,t,n,l){if(Ti.length){const i=Ti.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=l,i.count=0,i}else return{result:e,keyPrefix:t,func:n,context:l,count:0}}function Du(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Ti.length<xy&&Ti.push(e)}function ba(e,t,n,l){const i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);let o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Pt:case Xt:o=!0}}if(o)return n(l,e,t===""?Ou+Sa(e,0):t),1;let a,c,s=0;const r=t===""?Ou:t+Ey;if(Array.isArray(e))for(let u=0;u<e.length;u++)a=e[u],c=r+Sa(a,u),s+=ba(a,c,n,l);else{const u=Vt(e);if(typeof u=="function"){const f=u.call(e);let d,g=0;for(;!(d=f.next()).done;)a=d.value,c=r+Sa(a,g++),s+=ba(a,c,n,l)}else if(i==="object"){let f="";const d=""+e;O(!1,"Objects are not valid as a React child (found: %s).%s",d==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":d,f)}}return s}function Ea(e,t,n){return e==null?0:ba(e,"",t,n)}function Sa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Sy(e.key):t.toString(36)}function _y(e,t,n){const{func:l,context:i}=e;l.call(i,t,e.count++)}function Ry(e,t,n){if(e==null)return e;const l=Au(null,null,t,n);Ea(e,_y,l),Du(l)}function Oy(e,t,n){const{result:l,keyPrefix:i,func:o,context:a}=e;let c=o.call(a,t,e.count++);Array.isArray(c)?va(c,l,n,s=>s):c!=null&&(Ci(c)&&(c=by(c,i+(c.key&&(!t||t.key!==c.key)?Uu(c.key)+"/":"")+n)),l.push(c))}function va(e,t,n,l,i){let o="";n!=null&&(o=Uu(n)+"/");const a=Au(t,o,l,i);Ea(e,Oy,a),Du(a)}function Uy(e,t,n){if(e==null)return e;const l=[];return va(e,l,null,t,n),l}function Ay(e){return Ea(e,()=>null,null)}function Dy(e){const t=[];return va(e,t,null,n=>n),t}function ky(e){return O(Ci(e),"React.Children.only expected to receive a single React element child."),e}function ku(e,t){t===void 0&&(t=null);const n={$$typeof:ha,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};return n.Provider={$$typeof:pa,_context:n},n.Consumer=n,n}function Pu(e){return{$$typeof:ma,_ctor:e,_status:-1,_result:null}}function Mu(e){return{$$typeof:mi,render:e}}function Nu(e,t){return{$$typeof:yi,type:e,compare:t===void 0?null:t}}const Lu={current:null};function Ye(){const e=Lu.current;return O(e!==null,`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
16
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
17
+ 2. You might be breaking the Rules of Hooks
18
+ 3. You might have more than one copy of React in the same app
19
+ See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`),e}function Fu(e,t){return Ye().useContext(e,t)}function Hu(e){return Ye().useState(e)}function $u(e,t,n){return Ye().useReducer(e,t,n)}function wu(e){return Ye().useRef(e)}function zu(e,t){return Ye().useEffect(e,t)}function Wu(e,t){return Ye().useLayoutEffect(e,t)}function Bu(e,t){return Ye().useCallback(e,t)}function Iu(e,t){return Ye().useMemo(e,t)}function ju(e,t,n){return Ye().useImperativeHandle(e,t,n)}function Ku(e,t){}const xa=!1;var Gt=1,il=2,Zt=3,_a=4,Ra=5,Py=1073741823,My=-1,Ny=250,Ly=5e3,Fy=1e4,Hy=Py,L=null,bi=!1,Oa=!1,Qe=Zt,Jt=-1,Ei=-1,ol=!1,Si=!1,$y=typeof performance=="object"&&typeof performance.now=="function";function al(){if(!ol){var e=L.expirationTime;Si?vi():Si=!0,cl(wy,e)}}function Ua(){var e=L,t=L.next;if(L===t)L=null,t=null;else{var n=L.previous;L=n.next=t,t.previous=n}e.next=e.previous=null;var l=e.callback,i=e.expirationTime,o=e.priorityLevel,a=Qe,c=Ei;Qe=o,Ei=i;var s;try{s=l()}finally{Qe=a,Ei=c}if(typeof s=="function"){var r={callback:s,priorityLevel:o,expirationTime:i,next:null,previous:null};if(L===null)L=r.next=r.previous=r;else{var u=null,f=L;do{if(f.expirationTime>=i){u=f;break}f=f.next}while(f!==L);u===null?u=L:u===L&&(L=r,al());var d=u.previous;d.next=u.previous=r,r.next=u,r.previous=d}}}function Yu(){if(Jt===-1&&L!==null&&L.priorityLevel===Gt){ol=!0;try{do Ua();while(L!==null&&L.priorityLevel===Gt)}finally{ol=!1,L!==null?al():Si=!1}}}function wy(e){ol=!0;const t=bi;bi=e;try{if(e)for(;L!==null&&!(xa&&Oa);){var n=pe();if(L.expirationTime<=n){do Ua();while(L!==null&&L.expirationTime<=n&&!(xa&&Oa));continue}break}else if(L!==null)do Ua();while(L!==null&&!sl())}finally{ol=!1,bi=t,L!==null?al():Si=!1,Yu()}}function Aa(e,t){switch(e){case Gt:case il:case Zt:case _a:case Ra:break;default:e=Zt}var n=Qe,l=Jt;Qe=e,Jt=pe();try{return t()}finally{Qe=n,Jt=l,Yu()}}function Qu(e,t){var n=Jt!==-1?Jt:pe(),l;if(typeof t=="object"&&t!==null&&typeof t.timeout=="number")l=n+t.timeout;else switch(Qe){case Gt:l=n+My;break;case il:l=n+Ny;break;case Ra:l=n+Hy;break;case _a:l=n+Fy;break;case Zt:default:l=n+Ly}var i={callback:e,priorityLevel:Qe,expirationTime:l,next:null,previous:null};if(L===null)L=i.next=i.previous=i,al();else{var o=null,a=L;do{if(a.expirationTime>l){o=a;break}a=a.next}while(a!==L);o===null?o=L:o===L&&(L=i,al());var c=o.previous;c.next=o.previous=i,i.next=o,i.previous=c}return i}function Xu(e){var t=e.next;if(t!==null){if(t===e)L=null;else{e===L&&(L=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}}function zy(){return Qe}function Wy(){return!bi&&(L!==null&&L.expirationTime<Ei||sl())}var By=Date,Iy=typeof setTimeout=="function"?setTimeout:void 0,jy=typeof clearTimeout=="function"?clearTimeout:void 0,qu=typeof requestAnimationFrame=="function"?requestAnimationFrame:void 0,Vu=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:void 0,pe,Ky=100,Gu,Zu,Da=function(e){Gu=qu(function(t){jy(Zu),e(t)}),Zu=Iy(function(){Vu(Gu),e(pe())},Ky)};if($y){var Yy=performance;pe=function(){return Yy.now()}}else pe=function(){return By.now()};var cl,vi,sl,ul=null;if(typeof window<"u"?ul=window:typeof global<"u"&&(ul=global),ul&&ul._schedMock){var xi=ul._schedMock;cl=xi[0],vi=xi[1],sl=xi[2],pe=xi[3]}else if(typeof window>"u"||typeof MessageChannel!="function"){var en=null,Qy=function(e){if(en!==null)try{en(e)}finally{en=null}};cl=function(e,t){en!==null?setTimeout(cl,0,e):(en=e,setTimeout(Qy,0,!1))},vi=function(){en=null},sl=function(){return!1}}else{typeof console<"u"&&(typeof qu!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof Vu!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var tn=null,_i=!1,rl=-1,fl=!1,ka=!1,Ri=0,Oi=33,dl=33;sl=function(){return Ri<=pe()};var Ju=new MessageChannel,er=Ju.port2;Ju.port1.onmessage=function(e){_i=!1;var t=tn,n=rl;tn=null,rl=-1;var l=pe(),i=!1;if(Ri-l<=0)if(n!==-1&&n<=l)i=!0;else{fl||(fl=!0,Da(Pa)),tn=t,rl=n;return}if(t!==null){ka=!0;try{t(i)}finally{ka=!1}}};var Pa=function(e){if(tn!==null)Da(Pa);else{fl=!1;return}var t=e-Ri+dl;t<dl&&Oi<dl?(t<8&&(t=8),dl=t<Oi?Oi:t):Oi=t,Ri=e+dl,_i||(_i=!0,er.postMessage(void 0))};cl=function(e,t){tn=e,rl=t,ka||t<0?er.postMessage(void 0):fl||(fl=!0,Da(Pa))},vi=function(){tn=null,_i=!1,rl=-1}}const Nt={ReactCurrentDispatcher:Lu,ReactCurrentOwner:ga,assign:Object.assign},tr={map:Uy,forEach:Ry,count:Ay,toArray:Dy,only:ky},nr="16.8.6",Ma={Children:tr,createRef:bu,Component:Mt,PureComponent:gi,createContext:ku,forwardRef:Mu,lazy:Pu,memo:Nu,useCallback:Bu,useContext:Fu,useEffect:zu,useImperativeHandle:ju,useDebugValue:Ku,useLayoutEffect:Wu,useMemo:Iu,useReducer:$u,useRef:wu,useState:Hu,Fragment:Oe,StrictMode:tl,Suspense:ll,createElement:Ta,cloneElement:Ru,createFactory:_u,isValidElement:Ci,version:nr,unstable_ConcurrentMode:nl,unstable_Profiler:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Nt},Xy=Object.freeze(Object.defineProperty({__proto__:null,Children:tr,Component:Mt,Fragment:Oe,PureComponent:gi,StrictMode:tl,Suspense:ll,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Nt,cloneElement:Ru,createContext:ku,createElement:Ta,createFactory:_u,createRef:bu,default:Ma,forwardRef:Mu,isValidElement:Ci,lazy:Pu,memo:Nu,unstable_ConcurrentMode:nl,unstable_Profiler:qt,useCallback:Bu,useContext:Fu,useDebugValue:Ku,useEffect:zu,useImperativeHandle:ju,useLayoutEffect:Wu,useMemo:Iu,useReducer:$u,useRef:wu,useState:Hu,version:nr},Symbol.toStringTag,{value:"Module"}));function pl(e){return e._reactInternalFiber}function qy(e,t){e._reactInternalFiber=t}const Ue=0,w=1,Ui=2,W=3,B=4,$=5,X=6,nn=7,Na=8,Ai=9,rt=10,Xe=11,ln=12,Ae=13,Lt=14,Ft=15,La=16,on=17,Fa=18,he=0,ft=1,q=2,K=4,Vy=6,Di=8,ki=16,Pi=32,xe=64,Mi=128,hl=256,Ni=512,Gy=1023,Li=1024,qe=2048;Nt.ReactCurrentOwner;const lr=1,Ha=2,Zy=3;function ir(e){let t=e;if(e.alternate)for(;t.return;)t=t.return;else{if((t.effectTag&q)!==he)return lr;for(;t.return;)if(t=t.return,(t.effectTag&q)!==he)return lr}return t.tag===W?Ha:Zy}function or(e){return ir(e)===Ha}function Jy(e){const t=pl(e);return t?ir(t)===Ha:!1}const ar=Math.random().toString(36).slice(2),an="__reactInternalInstance$"+ar,cr="__reactEventHandlers$"+ar;function sr(e,t){t[an]=e}function $a(e){if(e[an])return e[an];for(;!e[an];)if(e.parentNode)e=e.parentNode;else return null;let t=e[an];return t.tag===$||t.tag===X?t:null}function eg(e){const t=e[an];return t&&(t.tag===$||t.tag===X)?t:null}function cn(e){if(e.tag===$||e.tag===X)return e.stateNode;O(!1,"getNodeFromInstance: Invalid argument.")}function ur(e){return e[cr]||null}function rr(e,t){e[cr]=t}let Fi=null;const sn={};function fr(){if(Fi)for(const e in sn){const t=sn[e],n=Fi.indexOf(e);if(O(n>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),Hi[n])continue;O(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),Hi[n]=t;const l=t.eventTypes;for(const i in l)O(tg(l[i],t,i),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",i,e)}}function tg(e,t,n){O(!pr.hasOwnProperty(n),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),pr[n]=e;const l=e.phasedRegistrationNames;if(l){for(const i in l)if(l.hasOwnProperty(i)){const o=l[i];dr(o,t,n)}return!0}else if(e.registrationName)return dr(e.registrationName,t,n),!0;return!1}function dr(e,t,n){O(!ml[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),ml[e]=t,wa[e]=t.eventTypes[n].dependencies}const Hi=[],pr={},ml={},wa={};function ng(e){O(!Fi,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),Fi=Array.prototype.slice.call(e),fr()}function lg(e){let t=!1;for(const n in e){if(!e.hasOwnProperty(n))continue;const l=e[n];(!sn.hasOwnProperty(n)||sn[n]!==l)&&(O(!sn[n],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n),sn[n]=l,t=!0)}t&&fr()}const za=0,yl=1,Wa=2,un=3,$i=4,hr=5,mr=6,yr=":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",ig=yr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",og="data-reactroot",ag=new RegExp("^["+yr+"]["+ig+"]*$"),gr=Object.prototype.hasOwnProperty,Cr={},Tr={};function cg(e){return gr.call(Tr,e)?!0:gr.call(Cr,e)?!1:ag.test(e)?(Tr[e]=!0,!0):(Cr[e]=!0,!1)}function sg(e,t,n){return t!==null?t.type===za:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ug(e,t,n,l){if(n!==null&&n.type===za)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(n!==null)return!n.acceptsBooleans;{const i=e.toLowerCase().slice(0,5);return i!=="data-"&&i!=="aria-"}}default:return!1}}function rg(e,t,n,l){if(t===null||typeof t>"u"||ug(e,t,n,l))return!0;if(l)return!1;if(n!==null)switch(n.type){case un:return!t;case $i:return t===!1;case hr:return isNaN(t);case mr:return isNaN(t)||t<1}return!1}function fg(e){return ee.hasOwnProperty(e)?ee[e]:null}function se(e,t,n,l,i){this.acceptsBooleans=t===Wa||t===un||t===$i,this.attributeName=l,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}const ee={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{ee[e]=new se(e,za,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{ee[e]=new se(e,yl,!1,t,null)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{ee[e]=new se(e,Wa,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{ee[e]=new se(e,Wa,!1,e,null)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{ee[e]=new se(e,un,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(e=>{ee[e]=new se(e,un,!0,e,null)}),["capture","download"].forEach(e=>{ee[e]=new se(e,$i,!1,e,null)}),["cols","rows","size","span"].forEach(e=>{ee[e]=new se(e,mr,!1,e,null)}),["rowSpan","start"].forEach(e=>{ee[e]=new se(e,hr,!1,e.toLowerCase(),null)});const Ba=/[\-\:]([a-z])/g,Ia=e=>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"].forEach(e=>{const t=e.replace(Ba,Ia);ee[t]=new se(t,yl,!1,e,null)}),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{const t=e.replace(Ba,Ia);ee[t]=new se(t,yl,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(Ba,Ia);ee[t]=new se(t,yl,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(e=>{ee[e]=new se(e,yl,!1,e.toLowerCase(),null)});function ja(e,t,n,l){const i=fg(t);if(sg(t,i,l))return;if(rg(t,n,i,l)&&(n=null),l||i===null){if(cg(t)){const s=t;n===null?e.removeAttribute(s):e.setAttribute(s,""+n)}return}const{mustUseProperty:o}=i;if(o){const{propertyName:s}=i;if(n===null){const{type:r}=i;e[s]=r===un?!1:""}else e[s]=n;return}const{attributeName:a,attributeNamespace:c}=i;if(n===null)e.removeAttribute(a);else{const{type:s}=i;let r;s===un||s===$i&&n===!0?r="":r=""+n,c?e.setAttributeNS(c,a,r):e.setAttribute(a,r)}}function me(e){return""+e}function dt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function br(e){const t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Er(e){return e._valueTracker}function dg(e){e._valueTracker=null}function pg(e){let t="";return e&&(br(e)?t=e.checked?"true":"false":t=e.value),t}function hg(e){const t=br(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);let l=""+e[t];if(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")return;const{get:i,set:o}=n;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(c){l=""+c,o.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue(){return l},setValue(c){l=""+c},stopTracking(){dg(e),delete e[t]}}}function Sr(e){Er(e)||(e._valueTracker=hg(e))}function vr(e){if(!e)return!1;const t=Er(e);if(!t)return!0;const n=t.getValue(),l=pg(e);return l!==n?(t.setValue(l),!0):!1}function mg(e){return e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}function Ka(e,t){const n=e,l=t.checked;return Object.assign({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function yg(e,t){const n=e,l=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:dt(t.value!=null?t.value:l),controlled:mg(t)}}function xr(e,t){const n=e,l=t.checked;l!=null&&ja(n,"checked",l,!1)}function Ya(e,t){const n=e;xr(e,t);const l=dt(t.value),i=t.type;if(l!=null)i==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=me(l)):n.value!==me(l)&&(n.value=me(l));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Qa(n,t.type,l):t.hasOwnProperty("defaultValue")&&Qa(n,t.type,dt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function gg(e,t,n){const l=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){const o=t.type;if((o==="submit"||o==="reset")&&(t.value===void 0||t.value===null))return;const c=me(l._wrapperState.initialValue);c!==l.value&&(l.value=c),l.defaultValue=c}const i=l.name;i!==""&&(l.name=""),l.defaultChecked=!l.defaultChecked,l.defaultChecked=!!l._wrapperState.initialChecked,i!==""&&(l.name=i)}function Cg(e,t){const n=e;Ya(n,t),Tg(n,t)}function Tg(e,t){const n=t.name;if(t.type==="radio"&&n!=null){let l=e;for(;l.parentNode;)l=l.parentNode;const i=l.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]');for(let o=0;o<i.length;o++){const a=i[o];if(a===e||a.form!==e.form)continue;const c=ur(a);O(c,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),vr(a),Ya(a,c)}}}function Qa(e,t,n){(t!=="number"||e.ownerDocument.activeElement!==e)&&(n==null?e.defaultValue=me(e._wrapperState.initialValue):e.defaultValue!==me(n)&&(e.defaultValue=me(n)))}function bg(e){let t="";return Ma.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function Eg(e,t){t.value!=null&&e.setAttribute("value",me(dt(t.value)))}function Xa(e,t){const n={children:void 0,...t},l=bg(t.children);return l&&(n.children=l),n}function rn(e,t,n,l){const i=e.options;if(t){let o=n,a={};for(let c=0;c<o.length;c++)a["$"+o[c]]=!0;for(let c=0;c<i.length;c++){const s=a.hasOwnProperty("$"+i[c].value);i[c].selected!==s&&(i[c].selected=s),s&&l&&(i[c].defaultSelected=!0)}}else{let o=me(dt(n)),a=null;for(let c=0;c<i.length;c++){if(i[c].value===o){i[c].selected=!0,l&&(i[c].defaultSelected=!0);return}a===null&&!i[c].disabled&&(a=i[c])}a!==null&&(a.selected=!0)}}function qa(e,t){return Object.assign({},t,{value:void 0})}function Sg(e,t){const n=e;n._wrapperState={wasMultiple:!!t.multiple}}function vg(e,t){const n=e;n.multiple=!!t.multiple;const l=t.value;l!=null?rn(n,!!t.multiple,l,!1):t.defaultValue!=null&&rn(n,!!t.multiple,t.defaultValue,!0)}function xg(e,t){const n=e,l=n._wrapperState.wasMultiple!==!!t.multiple;n._wrapperState.wasMultiple=!!t.multiple;const i=t.value;i!=null?rn(n,!!t.multiple,i,!1):l!==!!t.multiple&&(t.defaultValue!=null?rn(n,!!t.multiple,t.defaultValue,!0):rn(n,!!t.multiple,t.multiple?[]:"",!1))}function _g(e,t){const n=e,l=t.value;l!=null&&rn(n,!!t.multiple,l,!1)}function Va(e,t){const n=e;return O(t.dangerouslySetInnerHTML==null,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),{...t,value:void 0,defaultValue:void 0,children:me(n._wrapperState.initialValue)}}function Rg(e,t){const n=e;let l=t.value;if(l==null){let i=t.defaultValue,o=t.children;o!=null&&(O(i==null,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(o)&&(O(o.length<=1,"<textarea> can only have at most one child."),o=o[0]),i=o),i==null&&(i=""),l=i}n._wrapperState={initialValue:dt(l)}}function _r(e,t){const n=e,l=dt(t.value),i=dt(t.defaultValue);if(l!=null){const o=me(l);o!==n.value&&(n.value=o),t.defaultValue==null&&n.defaultValue!==o&&(n.defaultValue=o)}i!=null&&(n.defaultValue=me(i))}function Og(e,t){const n=e,l=n.textContent;l===n._wrapperState.initialValue&&(n.value=l)}function Ug(e,t){_r(e,t)}const wi="http://www.w3.org/1999/xhtml",Ag="http://www.w3.org/1998/Math/MathML",Ga="http://www.w3.org/2000/svg",Rr={html:wi,svg:Ga};function Or(e){switch(e){case"svg":return Ga;case"math":return Ag;default:return wi}}function Za(e,t){return e==null||e===wi?Or(t):e===Ga&&t==="foreignObject"?wi:e}const Dg=function(e){return e};let zi;const Ur=Dg(function(e,t){if(e.namespaceURI===Rr.svg&&!("innerHTML"in e)){zi=zi||document.createElement("div"),zi.innerHTML="<svg>"+t+"</svg>";const n=zi.firstChild;for(;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}else e.innerHTML=t}),Ar=1,Ht=3,Wi=8,fn=9,Dr=11;let Bi=function(e,t){if(t){let n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Ht){n.nodeValue=t;return}}e.textContent=t};function AS(e){return e}function DS(e){return e}const pt=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ii(e,t){const n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}const dn={animationend:Ii("Animation","AnimationEnd"),animationiteration:Ii("Animation","AnimationIteration"),animationstart:Ii("Animation","AnimationStart"),transitionend:Ii("Transition","TransitionEnd")},Ja={};let kr={};pt&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete dn.animationend.animation,delete dn.animationiteration.animation,delete dn.animationstart.animation),"TransitionEvent"in window||delete dn.transitionend.transition);function ji(e){if(Ja[e])return Ja[e];if(!dn[e])return e;const t=dn[e];for(const n in t)if(t.hasOwnProperty(n)&&n in kr)return Ja[e]=t[n];return e}const Pr="abort",Mr=ji("animationend"),Nr=ji("animationiteration"),Lr=ji("animationstart"),le="blur",Fr="canplay",Hr="canplaythrough",$r="cancel",ec="change",Ki="click",wr="close",pn="compositionend",zr="compositionstart",Wr="compositionupdate",Yi="contextmenu",Br="copy",Ir="cut",jr="dblclick",Kr="auxclick",Yr="drag",Qi="dragend",Qr="dragenter",Xr="dragexit",qr="dragleave",Vr="dragover",Gr="dragstart",Zr="drop",Jr="durationchange",ef="emptied",tf="encrypted",nf="ended",Xi="error",Ve="focus",lf="gotpointercapture",tc="input",gl="invalid",_e="keydown",Ge="keypress",De="keyup",nc="load",of="loadstart",af="loadeddata",cf="loadedmetadata",sf="lostpointercapture",ht="mousedown",uf="mousemove",hn="mouseout",mn="mouseover",qi="mouseup",Vi="paste",rf="pause",ff="play",df="playing",pf="pointercancel",hf="pointerdown",mf="pointermove",yn="pointerout",gn="pointerover",yf="pointerup",gf="progress",Cf="ratechange",lc="reset",Gi="scroll",Tf="seeked",bf="seeking",Zi="selectionchange",Ef="stalled",ic="submit",Sf="suspend",vf="textInput",xf="timeupdate",_f="toggle",Rf="touchcancel",Of="touchend",Uf="touchmove",Af="touchstart",Df=ji("transitionend"),kf="volumechange",Pf="waiting",Mf="wheel",oc=[Pr,Fr,Hr,Jr,ef,tf,nf,Xi,af,cf,of,rf,ff,df,gf,Cf,Tf,bf,Ef,Sf,xf,kf,Pf];function ac(e){return e}let kg=function(e,t,n,l,i,o,a,c,s){const r=Array.prototype.slice.call(arguments,3);try{t.apply(n,r)}catch(u){this.onError(u)}},Cl=!1,Ji=null,eo=!1,cc=null;const Pg={onError(e){Cl=!0,Ji=e}};function Mg(e,t,n,l,i,o,a,c,s){Cl=!1,Ji=null,kg.apply(Pg,arguments)}function Ng(e,t,n,l,i,o,a,c,s){if(Mg.apply(this,arguments),Cl){const r=Fg();eo||(eo=!0,cc=r)}}function Lg(){if(eo){const e=cc;throw eo=!1,cc=null,e}}function Fg(){if(Cl){const e=Ji;return Cl=!1,Ji=null,e}else O(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}let sc=null,Nf=null,Lf=null;function Hg(e,t,n){sc=e,Nf=t,Lf=n}function Ff(e,t,n){const l=e.type||"unknown-event";e.currentTarget=Lf(n),Ng(l,t,void 0,e),e.currentTarget=null}function $g(e){const t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(let l=0;l<t.length&&!e.isPropagationStopped();l++)Ff(e,t[l],n[l]);else t&&Ff(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null}let uc=null,Cn=null,Tn=null;function Hf(e){const t=Nf(e);if(!t)return;O(typeof uc=="function","setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");const n=sc(t.stateNode);uc(t.stateNode,t.type,n)}function wg(e){uc=e}function zg(e){Cn?Tn?Tn.push(e):Tn=[e]:Cn=e}function Wg(){return Cn!==null||Tn!==null}function Bg(){if(!Cn)return;const e=Cn,t=Tn;if(Cn=null,Tn=null,Hf(e),t)for(let n=0;n<t.length;n++)Hf(t[n])}let $f=function(e,t){return e(t)},wf=function(e,t,n){return e(t,n)},zf=function(){},rc=!1;function Wf(e,t){if(rc)return e(t);rc=!0;try{return $f(e,t)}finally{rc=!1,Wg()&&(zf(),Bg())}}function Ig(e,t,n){return wf(e,t,n)}function jg(e,t,n){$f=e,wf=t,zf=n}function bn(e,t){return O(t!=null,"accumulateInto(...): Accumulated items must not be null or undefined."),e==null?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Bf(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}let Tl=null;const Kg=function(e){e&&($g(e),e.isPersistent()||e.constructor.release(e))},Yg=function(e){return Kg(e)};function Qg(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Xg(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!!(n.disabled&&Qg(t));default:return!1}}const If={injectEventPluginOrder:ng,injectEventPluginsByName:lg};function jf(e,t){let n;const l=e.stateNode;if(!l)return null;const i=sc(l);return!i||(n=i[t],Xg(t,e.type,i))?null:(O(!n||typeof n=="function","Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n),n)}function qg(e,t,n,l){let i=null;for(let o=0;o<Hi.length;o++){const a=Hi[o];if(a){const c=a.extractEvents(e,t,n,l);c&&(i=bn(i,c))}}return i}function Kf(e){e!==null&&(Tl=bn(Tl,e));const t=Tl;Tl=null,t&&(Bf(t,Yg),O(!Tl,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),Lg())}function Vg(e,t,n,l){const i=qg(e,t,n,l);Kf(i)}function Gg(e,t,n){e.addEventListener(t,n,!1)}function Zg(e,t,n){e.addEventListener(t,n,!0)}function fc(e){let t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ht?t.parentNode:t}function Ze(e){do e=e.return;while(e&&e.tag!==$);return e||null}function Jg(e,t){let n=0;for(let o=e;o;o=Ze(o))n++;let l=0;for(let o=t;o;o=Ze(o))l++;for(;n-l>0;)e=Ze(e),n--;for(;l-n>0;)t=Ze(t),l--;let i=n;for(;i--;){if(e===t||e===t.alternate)return e;e=Ze(e),t=Ze(t)}return null}function eC(e,t,n){const l=[];for(;e;)l.push(e),e=Ze(e);let i;for(i=l.length;i-- >0;)t(l[i],"captured",n);for(i=0;i<l.length;i++)t(l[i],"bubbled",n)}function tC(e,t,n,l,i){const o=e&&t?Jg(e,t):null,a=[];for(;!(!e||e===o);){const s=e.alternate;if(s!==null&&s===o)break;a.push(e),e=Ze(e)}const c=[];for(;!(!t||t===o);){const s=t.alternate;if(s!==null&&s===o)break;c.push(t),t=Ze(t)}for(let s=0;s<a.length;s++)n(a[s],"bubbled",l);for(let s=c.length;s-- >0;)n(c[s],"captured",i)}function nC(e,t,n){const l=t.dispatchConfig.phasedRegistrationNames[n];return jf(e,l)}function lC(e,t,n){const l=nC(e,n,t);l&&(n._dispatchListeners=bn(n._dispatchListeners,l),n._dispatchInstances=bn(n._dispatchInstances,e))}function iC(e){e&&e.dispatchConfig.phasedRegistrationNames&&eC(e._targetInst,lC,e)}function oC(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){const l=n.dispatchConfig.registrationName,i=jf(e,l);i&&(n._dispatchListeners=bn(n._dispatchListeners,i),n._dispatchInstances=bn(n._dispatchInstances,e))}}function bl(e){Bf(e,iC)}function aC(e,t,n,l){tC(n,l,oC,e,t)}const cC=10,sC={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function to(){return!0}function El(){return!1}function ue(e,t,n,l){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;const i=this.constructor.Interface;for(const a in i){if(!i.hasOwnProperty(a))continue;const c=i[a];c?this[a]=c(n):a==="target"?this.target=l:this[a]=n[a]}return(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?this.isDefaultPrevented=to:this.isDefaultPrevented=El,this.isPropagationStopped=El,this}Object.assign(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;const e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=to)},stopPropagation:function(){const e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=to)},persist:function(){this.isPersistent=to},isPersistent:El,destructor:function(){const e=this.constructor.Interface;for(const t in e)this[t]=null;this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=El,this.isPropagationStopped=El,this._dispatchListeners=null,this._dispatchInstances=null}}),ue.Interface=sC,ue.extend=function(e){const t=this,n=function(){};n.prototype=t.prototype;const l=new n;function i(){return t.apply(this,arguments)}return Object.assign(l,i.prototype),i.prototype=l,i.prototype.constructor=i,i.Interface=Object.assign({},t.Interface,e),i.extend=t.extend,Yf(i),i},Yf(ue);function uC(e,t,n,l){const i=this;if(i.eventPool.length){const o=i.eventPool.pop();return i.call(o,e,t,n,l),o}return new i(e,t,n,l)}function rC(e){const t=this;O(e instanceof t,"Trying to release an event instance into a pool of a different type."),e.destructor(),t.eventPool.length<cC&&t.eventPool.push(e)}function Yf(e){e.eventPool=[],e.getPooled=uC,e.release=rC}const fC=ue.extend({animationName:null,elapsedTime:null,pseudoElement:null}),dC=ue.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sl=ue.extend({view:null,detail:null}),pC=Sl.extend({relatedTarget:null});function no(e){let t;const n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}const hC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mC={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"};function yC(e){if(e.key){const t=hC[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){const t=no(e);return t===13?"Enter":String.fromCharCode(t)}return e.type==="keydown"||e.type==="keyup"?mC[e.keyCode]||"Unidentified":""}const gC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CC(e){const n=this.nativeEvent;if(n.getModifierState)return n.getModifierState(e);const l=gC[e];return l?!!n[l]:!1}function dc(e){return CC}const TC=Sl.extend({key:yC,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:dc,charCode:function(e){return e.type==="keypress"?no(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?no(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});let Qf=0,Xf=0,qf=!1,Vf=!1;const vl=Sl.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:dc,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;const t=Qf;return Qf=e.screenX,qf?e.type==="mousemove"?e.screenX-t:0:(qf=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;const t=Xf;return Xf=e.screenY,Vf?e.type==="mousemove"?e.screenY-t:0:(Vf=!0,0)}}),Gf=vl.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),bC=vl.extend({dataTransfer:null}),EC=Sl.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:dc}),SC=ue.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vC=vl.extend({deltaX(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),xC=[[le,"blur"],[$r,"cancel"],[Ki,"click"],[wr,"close"],[Yi,"contextMenu"],[Br,"copy"],[Ir,"cut"],[Kr,"auxClick"],[jr,"doubleClick"],[Qi,"dragEnd"],[Gr,"dragStart"],[Zr,"drop"],[Ve,"focus"],[tc,"input"],[gl,"invalid"],[_e,"keyDown"],[Ge,"keyPress"],[De,"keyUp"],[ht,"mouseDown"],[qi,"mouseUp"],[Vi,"paste"],[rf,"pause"],[ff,"play"],[pf,"pointerCancel"],[hf,"pointerDown"],[yf,"pointerUp"],[Cf,"rateChange"],[lc,"reset"],[Tf,"seeked"],[ic,"submit"],[Rf,"touchCancel"],[Of,"touchEnd"],[Af,"touchStart"],[kf,"volumeChange"]],_C=[[Pr,"abort"],[Mr,"animationEnd"],[Nr,"animationIteration"],[Lr,"animationStart"],[Fr,"canPlay"],[Hr,"canPlayThrough"],[Yr,"drag"],[Qr,"dragEnter"],[Xr,"dragExit"],[qr,"dragLeave"],[Vr,"dragOver"],[Jr,"durationChange"],[ef,"emptied"],[tf,"encrypted"],[nf,"ended"],[Xi,"error"],[lf,"gotPointerCapture"],[nc,"load"],[af,"loadedData"],[cf,"loadedMetadata"],[of,"loadStart"],[sf,"lostPointerCapture"],[uf,"mouseMove"],[hn,"mouseOut"],[mn,"mouseOver"],[df,"playing"],[mf,"pointerMove"],[yn,"pointerOut"],[gn,"pointerOver"],[gf,"progress"],[Gi,"scroll"],[bf,"seeking"],[Ef,"stalled"],[Sf,"suspend"],[xf,"timeUpdate"],[_f,"toggle"],[Uf,"touchMove"],[Df,"transitionEnd"],[Pf,"waiting"],[Mf,"wheel"]],Zf={},pc={};function Jf([e,t],n){const i="on"+(t[0].toUpperCase()+t.slice(1)),o={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[e],isInteractive:n};Zf[t]=o,pc[e]=o}xC.forEach(e=>{Jf(e,!0)}),_C.forEach(e=>{Jf(e,!1)});const ed={eventTypes:Zf,isInteractiveTopLevelEventType(e){const t=pc[e];return t!==void 0&&t.isInteractive===!0},extractEvents:function(e,t,n,l){const i=pc[e];if(!i)return null;let o;switch(e){case Ge:if(no(n)===0)return null;case _e:case De:o=TC;break;case le:case Ve:o=pC;break;case Ki:if(n.button===2)return null;case Kr:case jr:case ht:case uf:case qi:case hn:case mn:case Yi:o=vl;break;case Yr:case Qi:case Qr:case Xr:case qr:case Vr:case Gr:case Zr:o=bC;break;case Rf:case Of:case Uf:case Af:o=EC;break;case Mr:case Nr:case Lr:o=fC;break;case Df:o=SC;break;case Gi:o=Sl;break;case Mf:o=vC;break;case Br:case Ir:case Vi:o=dC;break;case lf:case sf:case pf:case hf:case mf:case yn:case gn:case yf:o=Gf;break;default:o=ue;break}const a=o.getPooled(i,t,n,l);return bl(a),a}},{isInteractiveTopLevelEventType:td}=ed,RC=10,lo=[];function OC(e){for(;e.return;)e=e.return;return e.tag!==W?null:e.stateNode.containerInfo}function UC(e,t,n){if(lo.length){const l=lo.pop();return l.topLevelType=e,l.nativeEvent=t,l.targetInst=n,l}return{topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]}}function AC(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,lo.length<RC&&lo.push(e)}function DC(e){let t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}const l=OC(n);if(!l)break;e.ancestors.push(n),n=$a(l)}while(n);for(let l=0;l<e.ancestors.length;l++)t=e.ancestors[l],Vg(e.topLevelType,t,e.nativeEvent,fc(e.nativeEvent))}let hc=!0;function nd(e){hc=!!e}function kC(){return hc}function ye(e,t){if(!t)return null;const n=td(e)?ld:mc;Gg(t,ac(e),n.bind(null,e))}function io(e,t){if(!t)return null;const n=td(e)?ld:mc;Zg(t,ac(e),n.bind(null,e))}function ld(e,t){Ig(mc,e,t)}function mc(e,t){if(!hc)return;const n=fc(t);let l=$a(n);l!==null&&typeof l.tag=="number"&&!or(l)&&(l=null);const i=UC(e,t,l);try{Wf(DC,i)}finally{AC(i)}}function id(e){if(!pt)return!1;const t="on"+e;let n=t in document;if(!n){const l=document.createElement("div");l.setAttribute(t,"return;"),n=typeof l[t]=="function"}return n}const od={};let PC=0;const oo="_reactListenersID"+(""+Math.random()).slice(2);function ad(e){return Object.prototype.hasOwnProperty.call(e,oo)||(e[oo]=PC++,od[e[oo]]={}),od[e[oo]]}function MC(e,t){const n=ad(t),l=wa[e];for(let i=0;i<l.length;i++){const o=l[i];if(!(n.hasOwnProperty(o)&&n[o])){switch(o){case Gi:io(Gi,t);break;case Ve:case le:io(Ve,t),io(le,t),n[le]=!0,n[Ve]=!0;break;case $r:case wr:id(ac(o))&&io(o,t);break;case gl:case ic:case lc:break;default:oc.indexOf(o)!==-1||ye(o,t);break}n[o]=!0}}}function NC(e,t){const n=ad(t),l=wa[e];for(let i=0;i<l.length;i++){const o=l[i];if(!(n.hasOwnProperty(o)&&n[o]))return!1}return!0}const xl={animationIterationCount:!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};function LC(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}const FC=["Webkit","ms","Moz","O"];Object.keys(xl).forEach(function(e){FC.forEach(function(t){xl[LC(t,e)]=xl[e]})});function cd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":!n&&typeof t=="number"&&t!==0&&!(xl.hasOwnProperty(e)&&xl[e])?t+"px":(""+t).trim()}function sd(e,t){const n=e.style;for(let l in t){if(!t.hasOwnProperty(l))continue;const i=l.indexOf("--")===0,o=cd(l,t[l],i);l==="float"&&(l="cssFloat"),i?n.setProperty(l,o):n[l]=o}}function yc(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}}const ao="dangerouslySetInnerHTML",gc="suppressContentEditableWarning",Cc="suppressHydrationWarning",ud="autoFocus",co="children",_l="style",Tc="__html",{html:rd}=Rr;function Rl(e,t){const l=e.nodeType===fn||e.nodeType===Dr?e:e.ownerDocument;MC(t,l)}function fd(e){return e.nodeType===fn?e:e.ownerDocument}function HC(){}function dd(e){e.onclick=HC}function $C(e,t,n,l,i){for(const o in l){if(!l.hasOwnProperty(o))continue;const a=l[o];if(o===_l)sd(t,a);else if(o===ao){const c=a?a[Tc]:void 0;c!=null&&Ur(t,c)}else o===co?typeof a=="string"?(e!=="textarea"||a!=="")&&Bi(t,a):typeof a=="number"&&Bi(t,""+a):o===gc||o===Cc||o===ud||(ml.hasOwnProperty(o)?a!=null&&Rl(n,o):a!=null&&ja(t,o,a,i))}}function wC(e,t,n,l){for(let i=0;i<t.length;i+=2){const o=t[i],a=t[i+1];o===_l?sd(e,a):o===ao?Ur(e,a):o===co?Bi(e,a):ja(e,o,a,l)}}function zC(e,t,n,l){const i=fd(n);let o,a=l;if(a===rd&&(a=Or(e)),a===rd){if(e==="script"){const c=i.createElement("div");c.innerHTML="<script><\/script>";const s=c.firstChild;o=c.removeChild(s)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){const c=o;t.multiple?c.multiple=!0:t.size&&(c.size=t.size)}}else o=i.createElementNS(a,e);return o}function WC(e,t){return fd(t).createTextNode(e)}function BC(e,t,n,l){const i=yc(t,n);let o;switch(t){case"iframe":case"object":ye(nc,e),o=n;break;case"video":case"audio":for(let a=0;a<oc.length;a++)ye(oc[a],e);o=n;break;case"source":ye(Xi,e),o=n;break;case"img":case"image":case"link":ye(Xi,e),ye(nc,e),o=n;break;case"form":ye(lc,e),ye(ic,e),o=n;break;case"details":ye(_f,e),o=n;break;case"input":yg(e,n),o=Ka(e,n),ye(gl,e),Rl(l,"onChange");break;case"option":o=Xa(e,n);break;case"select":Sg(e,n),o=qa(e,n),ye(gl,e),Rl(l,"onChange");break;case"textarea":Rg(e,n),o=Va(e,n),ye(gl,e),Rl(l,"onChange");break;default:o=n}switch($C(t,e,l,o,i),t){case"input":Sr(e),gg(e,n);break;case"textarea":Sr(e),Og(e);break;case"option":Eg(e,n);break;case"select":vg(e,n);break;default:typeof o.onClick=="function"&&dd(e);break}}function IC(e,t,n,l,i){let o=null,a,c;switch(t){case"input":a=Ka(e,n),c=Ka(e,l),o=[];break;case"option":a=Xa(e,n),c=Xa(e,l),o=[];break;case"select":a=qa(e,n),c=qa(e,l),o=[];break;case"textarea":a=Va(e,n),c=Va(e,l),o=[];break;default:a=n,c=l,typeof a.onClick!="function"&&typeof c.onClick=="function"&&dd(e);break}let s,r,u=null;for(s in a)if(!(c.hasOwnProperty(s)||!a.hasOwnProperty(s)||a[s]==null))if(s===_l){const f=a[s];for(r in f)f.hasOwnProperty(r)&&(u||(u={}),u[r]="")}else s===ao||s===co||s===gc||s===Cc||s===ud||(ml.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in c){const f=c[s],d=a?.[s];if(!(!c.hasOwnProperty(s)||f===d||f==null&&d==null))if(s===_l)if(d){for(r in d)d.hasOwnProperty(r)&&(!f||!f.hasOwnProperty(r))&&(u||(u={}),u[r]="");for(r in f)f.hasOwnProperty(r)&&d[r]!==f[r]&&(u||(u={}),u[r]=f[r])}else u||(o||(o=[]),o.push(s,u)),u=f;else if(s===ao){const g=f?f[Tc]:void 0,h=d?d[Tc]:void 0;g!=null&&h!==g&&(o=o||[]).push(s,""+g)}else s===co?d!==f&&(typeof f=="string"||typeof f=="number")&&(o=o||[]).push(s,""+f):s===gc||s===Cc||(ml.hasOwnProperty(s)?(f!=null&&Rl(i,s),!o&&d!==f&&(o=[])):(o=o||[]).push(s,f))}return u&&(o=o||[]).push(_l,u),o}function jC(e,t,n,l,i){n==="input"&&i.type==="radio"&&i.name!=null&&xr(e,i);const o=yc(n,l),a=yc(n,i);switch(wC(e,t,o,a),n){case"input":Ya(e,i);break;case"textarea":_r(e,i);break;case"select":xg(e,i);break}}function KC(e,t,n){switch(t){case"input":Cg(e,n);return;case"textarea":Ug(e,n);return;case"select":_g(e,n);return}}function bc(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 pd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function YC(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function hd(e,t){let n=pd(e),l=0,i=0;for(;n;){if(n.nodeType===Ht){if(i=l+n.textContent.length,l<=t&&i>=t)return{node:n,offset:t-l};l=i}n=pd(YC(n))}}function QC(e){const{ownerDocument:t}=e,n=t&&t.defaultView||window,l=n.getSelection&&n.getSelection();if(!l||l.rangeCount===0)return null;const{anchorNode:i,anchorOffset:o,focusNode:a,focusOffset:c}=l;try{i.nodeType,a.nodeType}catch{return null}return XC(e,i,o,a,c)}function XC(e,t,n,l,i){let o=0,a=-1,c=-1,s=0,r=0,u=e,f=null;e:for(;;){let d=null;for(;u===t&&(n===0||u.nodeType===Ht)&&(a=o+n),u===l&&(i===0||u.nodeType===Ht)&&(c=o+i),u.nodeType===Ht&&(o+=u.nodeValue.length),(d=u.firstChild)!==null;)f=u,u=d;for(;;){if(u===e)break e;if(f===t&&++s===n&&(a=o),f===l&&++r===i&&(c=o),(d=u.nextSibling)!==null)break;u=f,f=u.parentNode}u=d}return a===-1||c===-1?null:{start:a,end:c}}function qC(e,t){const n=e.ownerDocument||document,l=n&&n.defaultView||window;if(!l.getSelection)return;const i=l.getSelection(),o=e.textContent.length;let a=Math.min(t.start,o),c=t.end===void 0?a:Math.min(t.end,o);if(!i.extend&&a>c){let u=c;c=a,a=u}const s=hd(e,a),r=hd(e,c);if(s&&r){if(i.rangeCount===1&&i.anchorNode===s.node&&i.anchorOffset===s.offset&&i.focusNode===r.node&&i.focusOffset===r.offset)return;const u=n.createRange();u.setStart(s.node,s.offset),i.removeAllRanges(),a>c?(i.addRange(u),i.extend(r.node,r.offset)):(u.setEnd(r.node,r.offset),i.addRange(u))}}function md(e){return e&&e.nodeType===Ht}function yd(e,t){return!e||!t?!1:e===t?!0:md(e)?!1:md(t)?yd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function VC(e){return e&&e.ownerDocument&&yd(e.ownerDocument.documentElement,e)}function GC(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function gd(){let e=window,t=bc();for(;t instanceof e.HTMLIFrameElement;){if(GC(t))e=t.contentWindow;else return t;t=bc(e.document)}return t}function Ec(e){const 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 ZC(){const e=gd();return{focusedElem:e,selectionRange:Ec(e)?eT(e):null}}function JC(e){const t=gd(),n=e.focusedElem,l=e.selectionRange;if(t!==n&&VC(n)){l!==null&&Ec(n)&&tT(n,l);const i=[];let o=n;for(;o=o.parentNode;)o.nodeType===Ar&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});typeof n.focus=="function"&&n.focus();for(let a=0;a<i.length;a++){const c=i[a];c.element.scrollLeft=c.left,c.element.scrollTop=c.top}}}function eT(e){let t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=QC(e),t||{start:0,end:0}}function tT(e,t){let{start:n,end:l}=t;l===void 0&&(l=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(l,e.value.length)):qC(e,t)}const nT="style";let Sc=null,vc=null;function lT(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function iT(e){let t,n;const l=e.nodeType;switch(l){case fn:case Dr:{t=l===fn?"#document":"#fragment";let i=e.documentElement;n=i?i.namespaceURI:Za(null,"");break}default:{const i=l===Wi?e.parentNode:e,o=i.namespaceURI||null;t=i.tagName,n=Za(o,t);break}}return n}function oT(e,t,n){return Za(e,t)}function kS(e){return e}function aT(e){Sc=kC(),vc=ZC(),nd(!1)}function cT(e){JC(vc),vc=null,nd(Sc),Sc=null}function sT(e,t,n,l,i){let o;o=l;const a=zC(e,t,n,o);return sr(i,a),rr(a,t),a}function uT(e,t){e.appendChild(t)}function rT(e,t,n,l,i){return BC(e,t,n,l),lT(t,n)}function fT(e,t,n,l,i,o){return IC(e,t,n,l,i)}function Cd(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function dT(e,t){return!!t.hidden}function pT(e,t,n,l){const i=WC(e,t);return sr(l,i),i}const hT=typeof setTimeout=="function"?setTimeout:void 0,Td=typeof clearTimeout=="function"?clearTimeout:void 0,Ol=-1,mT=Qu,yT=Xu;function gT(e,t,n,l,i,o){rr(e,i),jC(e,t,n,l,i)}function bd(e){Bi(e,"")}function CT(e,t,n){e.nodeValue=n}function TT(e,t){e.appendChild(t)}function bT(e,t){let n;e.nodeType===Wi?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));const l=e._reactRootContainer;l==null&&n.onclick}function ET(e,t,n){e.insertBefore(t,n)}function ST(e,t,n){e.nodeType===Wi?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function vT(e,t){e.removeChild(t)}function xT(e,t){e.nodeType===Wi?e.parentNode.removeChild(t):e.removeChild(t)}function _T(e){e=e,e.style.display="none"}function RT(e){e.nodeValue=""}function OT(e,t){e=e;const n=t[nT],l=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=cd("display",l)}function UT(e,t){e.nodeValue=t}const so=0,uo=1,xc=2;function AT(e){return e._status===uo?e._result:null}function DT(e,t,n){const l=t.displayName||t.name||"";return e.displayName||(l!==""?`${n}(${l})`:n)}function mt(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 nl:return"ConcurrentMode";case Oe:return"Fragment";case Xt:return"Portal";case qt:return"Profiler";case tl:return"StrictMode";case ll:return"Suspense"}if(typeof e=="object")switch(e.$$typeof){case ha:return"Context.Consumer";case pa:return"Context.Provider";case mi:return DT(e,e.render,"ForwardRef");case yi:return mt(e.type);case ma:{const n=AT(e);if(n)return mt(n)}}return null}const _c=[];let En=-1;function Sn(e){return{current:e}}function ie(e,t){En<0||(e.current=_c[En],_c[En]=null,En--)}function oe(e,t,n){En++,_c[En]=e.current,e.current=t}const yt={};let Je=Sn(yt),ke=Sn(!1),Rc=yt;function vn(e,t,n){return n&&Pe(t)?Rc:Je.current}function Ed(e,t,n){const l=e.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=t,l.__reactInternalMemoizedMaskedChildContext=n}function xn(e,t){const l=e.type.contextTypes;if(!l)return yt;const i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;const o={};for(let a in l)o[a]=t[a];return i&&Ed(e,t,o),o}function ro(){return ke.current}function Pe(e){const t=e.childContextTypes;return t!=null}function fo(e){ie(ke),ie(Je)}function Oc(e){ie(ke),ie(Je)}function Sd(e,t,n){O(Je.current===yt,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),oe(Je,t),oe(ke,n)}function vd(e,t,n){const l=e.stateNode,i=t.childContextTypes;if(typeof l.getChildContext!="function")return n;let o;o=l.getChildContext();for(let a in o)O(a in i,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',mt(t)||"Unknown",a);return{...n,...o}}function po(e){const t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||yt;return Rc=Je.current,oe(Je,n),oe(ke,ke.current),!0}function xd(e,t,n){const l=e.stateNode;if(O(l,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),n){const i=vd(e,t,Rc);l.__reactInternalMemoizedMergedChildContext=i,ie(ke),ie(Je),oe(Je,i),oe(ke,n)}else ie(ke),oe(ke,n)}function kT(e){O(or(e)&&e.tag===w,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");let t=e;do{switch(t.tag){case W:return t.stateNode.context;case w:{const n=t.type;if(Pe(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);O(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}const _n=1073741823,v=0,Rn=1,ge=_n,ho=10,mo=_n-1;function _d(e){return mo-(e/ho|0)}function Ul(e){return(mo-e)*ho}function PT(e,t){return((e/t|0)+1)*t}function Rd(e,t,n){return mo-PT(mo-e+t/ho,n/ho)}const Od=5e3,MT=250;function Ud(e){return Rd(e,Od,MT)}const NT=150,LT=100;function FT(e){return Rd(e,NT,LT)}const On=0,et=1,Uc=2,HT=4;function $T(e,t,n,l){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.contextDependencies=null,this.mode=l,this.effectTag=he,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=v,this.childExpirationTime=v,this.alternate=null}const tt=function(e,t,n,l){return new $T(e,t,n,l)};function Ac(e){const t=e.prototype;return!!(t&&t.isReactComponent)}function wT(e){return typeof e=="function"&&!Ac(e)&&e.defaultProps===void 0}function zT(e){if(typeof e=="function")return Ac(e)?w:Ue;if(e!=null){const t=e.$$typeof;if(t===mi)return Xe;if(t===yi)return Lt}return Ui}function $t(e,t,n){let l=e.alternate;return l===null?(l=tt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.effectTag=he,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null),l.childExpirationTime=e.childExpirationTime,l.expirationTime=e.expirationTime,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.contextDependencies=e.contextDependencies,l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l}function WT(e){let t=e?et|Uc:On;return tt(W,null,null,t)}function Ad(e,t,n,l,i,o){let a,c=Ui,s=e;if(typeof e=="function")Ac(e)&&(c=w);else if(typeof e=="string")c=$;else e:switch(e){case Oe:return gt(n.children,i,o,t);case nl:return Dd(n,i|et|Uc,o,t);case tl:return Dd(n,i|Uc,o,t);case qt:return BT(n,i,o,t);case ll:return IT(n,i,o,t);default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pa:c=rt;break e;case ha:c=Ai;break e;case mi:c=Xe;break e;case yi:c=Lt;break e;case ma:c=La,s=null;break e}O(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",e==null?e:typeof e,"")}}return a=tt(c,n,t,i),a.elementType=e,a.type=s,a.expirationTime=o,a}function Dc(e,t,n){let l=null;const i=e.type,o=e.key,a=e.props;return Ad(i,o,a,l,t,n)}function gt(e,t,n,l){const i=tt(nn,e,l,t);return i.expirationTime=n,i}function BT(e,t,n,l){const i=tt(ln,e,l,t|HT);return i.elementType=qt,i.type=qt,i.expirationTime=n,i}function Dd(e,t,n,l){const i=tt(Na,e,l,t),o=(t&et)===On?tl:nl;return i.elementType=o,i.type=o,i.expirationTime=n,i}function IT(e,t,n,l){const i=tt(Ae,e,l,t),o=ll;return i.elementType=o,i.type=o,i.expirationTime=n,i}function kc(e,t,n){const l=tt(X,e,null,t);return l.expirationTime=n,l}function Pc(e,t,n){const l=e.children!==null?e.children:[],i=tt(B,l,e.key,t);return i.expirationTime=n,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}function jT(e,t,n){const l=WT(t);let i;return i={current:l,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:v,latestPendingTime:v,earliestSuspendedTime:v,latestSuspendedTime:v,latestPingedTime:v,didError:!1,pendingCommitExpirationTime:v,finishedWork:null,timeoutHandle:Ol,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:v,expirationTime:v,firstBatch:null,nextScheduledRoot:null},l.stateNode=i,i}function Al(e,t){e.didError=!1;const n=e.earliestPendingTime;n===v?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),Ct(t,e)}function KT(e,t){if(e.didError=!1,t===v){e.earliestPendingTime=v,e.latestPendingTime=v,e.earliestSuspendedTime=v,e.latestSuspendedTime=v,e.latestPingedTime=v,Ct(v,e);return}t<e.latestPingedTime&&(e.latestPingedTime=v);const n=e.latestPendingTime;n!==v&&(n>t?e.earliestPendingTime=e.latestPendingTime=v:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime));const l=e.earliestSuspendedTime;if(l===v){Al(e,t),Ct(v,e);return}const i=e.latestSuspendedTime;if(t<i){e.earliestSuspendedTime=v,e.latestSuspendedTime=v,e.latestPingedTime=v,Al(e,t),Ct(v,e);return}if(t>l){Al(e,t),Ct(v,e);return}Ct(v,e)}function YT(e,t){const n=e.latestPendingTime,l=e.latestSuspendedTime,i=e.latestPingedTime;return n!==v&&n<t||l!==v&&l<t||i!==v&&i<t}function QT(e,t){const n=e.earliestSuspendedTime,l=e.latestSuspendedTime;return n!==v&&t<=n&&t>=l}function kd(e,t){e.didError=!1,qT(e,t);const n=e.earliestPendingTime,l=e.latestPendingTime;n===t?l===t?e.earliestPendingTime=e.latestPendingTime=v:e.earliestPendingTime=l:l===t&&(e.latestPendingTime=n);const i=e.earliestSuspendedTime,o=e.latestSuspendedTime;i===v?e.earliestSuspendedTime=e.latestSuspendedTime=t:i<t?e.earliestSuspendedTime=t:o>t&&(e.latestSuspendedTime=t),Ct(t,e)}function XT(e,t){e.didError=!1;const n=e.latestPingedTime;(n===v||n>t)&&(e.latestPingedTime=t),Ct(t,e)}function qT(e,t){e.latestPingedTime>=t&&(e.latestPingedTime=v)}function Pd(e,t){let n=t;const l=e.earliestPendingTime,i=e.earliestSuspendedTime;return l>n&&(n=l),i>n&&(n=i),n}function VT(e,t){const n=e.expirationTime;n!==v&&t<=n&&(e.nextExpirationTimeToWorkOn=t)}function Ct(e,t){const n=t.earliestSuspendedTime,l=t.latestSuspendedTime,i=t.earliestPendingTime,o=t.latestPingedTime;let a=i!==v?i:o;a===v&&(e===v||l<e)&&(a=l);let c=a;c!==v&&n>c&&(c=n),t.nextExpirationTimeToWorkOn=a,t.expirationTime=c}const Md=0,Nd=1,yo=2,Mc=3;let go=!1;function Co(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Nc(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Tt(e){return{expirationTime:e,tag:Md,payload:null,callback:null,next:null,nextEffect:null}}function To(e,t){e.lastUpdate===null?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function nt(e,t){const n=e.alternate;let l,i;n===null?(l=e.updateQueue,i=null,l===null&&(l=e.updateQueue=Co(e.memoizedState))):(l=e.updateQueue,i=n.updateQueue,l===null?i===null?(l=e.updateQueue=Co(e.memoizedState),i=n.updateQueue=Co(n.memoizedState)):l=e.updateQueue=Nc(i):i===null&&(i=n.updateQueue=Nc(l))),i===null||l===i?To(l,t):l.lastUpdate===null||i.lastUpdate===null?(To(l,t),To(i,t)):(To(l,t),i.lastUpdate=t)}function Ld(e,t){let n=e.updateQueue;n===null?n=e.updateQueue=Co(e.memoizedState):n=Fd(e,n),n.lastCapturedUpdate===null?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Fd(e,t){const n=e.alternate;return n!==null&&t===n.updateQueue&&(t=e.updateQueue=Nc(t)),t}function Hd(e,t,n,l,i,o){switch(n.tag){case Nd:{const a=n.payload;return typeof a=="function"?a.call(o,l,i):a}case Mc:e.effectTag=e.effectTag&~qe|xe;case Md:{const a=n.payload;let c;return typeof a=="function"?c=a.call(o,l,i):c=a,c==null?l:Object.assign({},l,c)}case yo:return go=!0,l}return l}function Dl(e,t,n,l,i){go=!1,t=Fd(e,t);let o=t.baseState,a=null,c=v,s=t.firstUpdate,r=o;for(;s!==null;){const f=s.expirationTime;f<i?(a===null&&(a=s,o=r),c<f&&(c=f)):(r=Hd(e,t,s,r,n,l),s.callback!==null&&(e.effectTag|=Pi,s.nextEffect=null,t.lastEffect===null?t.firstEffect=t.lastEffect=s:(t.lastEffect.nextEffect=s,t.lastEffect=s))),s=s.next}let u=null;for(s=t.firstCapturedUpdate;s!==null;){const f=s.expirationTime;f<i?(u===null&&(u=s,a===null&&(o=r)),c<f&&(c=f)):(r=Hd(e,t,s,r,n,l),s.callback!==null&&(e.effectTag|=Pi,s.nextEffect=null,t.lastCapturedEffect===null?t.firstCapturedEffect=t.lastCapturedEffect=s:(t.lastCapturedEffect.nextEffect=s,t.lastCapturedEffect=s))),s=s.next}a===null&&(t.lastUpdate=null),u===null?t.lastCapturedUpdate=null:e.effectTag|=Pi,a===null&&u===null&&(o=r),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=u,e.expirationTime=c,e.memoizedState=r}function GT(e,t){O(typeof e=="function","Invalid argument passed as callback. Expected a function. Instead received: %s",e),e.call(t)}function $d(){go=!1}function bo(){return go}function wd(e,t,n,l){t.firstCapturedUpdate!==null&&(t.lastUpdate!==null&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),zd(t.firstEffect,n),t.firstEffect=t.lastEffect=null,zd(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function zd(e,t){for(;e!==null;){const n=e.callback;n!==null&&(e.callback=null,GT(n,t)),e=e.nextEffect}}const ZT=/^(.*)[\\\/]/;function JT(e,t,n){let l="";return t?l=" (at "+t.fileName.replace(ZT,"")+":"+t.lineNumber+")":n&&(l=" (created by "+n+")"),`
20
+ in `+(e||"Unknown")+l}Nt.ReactDebugCurrentFrame;function eb(e){switch(e.tag){case W:case B:case X:case nn:case rt:case Ai:return"";default:const t=e._debugOwner,n=e._debugSource,l=mt(e.type);let i=null;return t&&(i=mt(t.type)),JT(l,n,i)}}function Lc(e){let t="",n=e;do t+=eb(n),n=n.return;while(n);return t}function Eo(e,t){return{value:e,source:t,stack:Lc(t)}}function wt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const tb=Object.prototype.hasOwnProperty;function kl(e,t){if(wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(let i=0;i<n.length;i++)if(!tb.call(t,n[i])||!wt(e[n[i]],t[n[i]]))return!1;return!0}function Re(e,t){if(e&&e.defaultProps){const n=Object.assign({},t),l=e.defaultProps;for(let i in l)n[i]===void 0&&(n[i]=l[i]);return n}return t}function nb(e){const t=e._status,n=e._result;switch(t){case uo:return n;case xc:throw n;case so:throw n;default:{e._status=so;const l=e._ctor,i=l();switch(i.then(o=>{if(e._status===so){const a=o.default;e._status=uo,e._result=a}},o=>{e._status===so&&(e._status=xc,e._result=o)}),e._status){case uo:return e._result;case xc:throw e._result}throw e._result=i,i}}}const Wd=new Ma.Component().refs;function So(e,t,n,l){const i=e.memoizedState,o=n(l,i),a=o==null?i:Object.assign({},i,o);e.memoizedState=a;const c=e.updateQueue;c!==null&&e.expirationTime===v&&(c.baseState=a)}const Fc={isMounted:Jy,enqueueSetState(e,t,n){const l=pl(e),i=st(),o=$n(i,l),a=Tt(o);a.payload=t,n!=null&&(a.callback=n),Hn(),nt(l,a),St(l,o)},enqueueReplaceState(e,t,n){const l=pl(e),i=st(),o=$n(i,l),a=Tt(o);a.tag=Nd,a.payload=t,n!=null&&(a.callback=n),Hn(),nt(l,a),St(l,o)},enqueueForceUpdate(e,t){const n=pl(e),l=st(),i=$n(l,n),o=Tt(i);o.tag=yo,t!=null&&(o.callback=t),Hn(),nt(n,o),St(n,i)}};function Bd(e,t,n,l,i,o,a){const c=e.stateNode;return typeof c.shouldComponentUpdate=="function"?c.shouldComponentUpdate(l,o,a):t.prototype&&t.prototype.isPureReactComponent?!kl(n,l)||!kl(i,o):!0}function Id(e,t){t.updater=Fc,e.stateNode=t,qy(t,e)}function jd(e,t,n,l){let i=!1,o=yt,a=null;const c=t.contextType;if(typeof c=="object"&&c!==null)a=Me(c);else{o=vn(e,t,!0);const r=t.contextTypes;i=r!=null,a=i?xn(e,o):yt}const s=new t(n,a);return e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Id(e,s),i&&Ed(e,o,a),s}function lb(e,t){const n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&Fc.enqueueReplaceState(t,t.state,null)}function Kd(e,t,n,l){const i=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==i&&Fc.enqueueReplaceState(t,t.state,null)}function Hc(e,t,n,l){const i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Wd;const o=t.contextType;if(typeof o=="object"&&o!==null)i.context=Me(o);else{const s=vn(e,t,!0);i.context=xn(e,s)}let a=e.updateQueue;a!==null&&(Dl(e,a,n,i,l),i.state=e.memoizedState);const c=t.getDerivedStateFromProps;typeof c=="function"&&(So(e,t,c,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof i.getSnapshotBeforeUpdate!="function"&&(typeof i.UNSAFE_componentWillMount=="function"||typeof i.componentWillMount=="function")&&(lb(e,i),a=e.updateQueue,a!==null&&(Dl(e,a,n,i,l),i.state=e.memoizedState)),typeof i.componentDidMount=="function"&&(e.effectTag|=K)}function ib(e,t,n,l){const i=e.stateNode,o=e.memoizedProps;i.props=o;const a=i.context,c=t.contextType;let s;if(typeof c=="object"&&c!==null)s=Me(c);else{const y=vn(e,t,!0);s=xn(e,y)}const r=t.getDerivedStateFromProps,u=typeof r=="function"||typeof i.getSnapshotBeforeUpdate=="function";!u&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==n||a!==s)&&Kd(e,i,n,s),$d();const f=e.memoizedState;let d=i.state=f,g=e.updateQueue;if(g!==null&&(Dl(e,g,n,i,l),d=e.memoizedState),o===n&&f===d&&!ro()&&!bo())return typeof i.componentDidMount=="function"&&(e.effectTag|=K),!1;typeof r=="function"&&(So(e,t,r,n),d=e.memoizedState);const h=bo()||Bd(e,t,o,n,f,d,s);return h?(!u&&(typeof i.UNSAFE_componentWillMount=="function"||typeof i.componentWillMount=="function")&&(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.effectTag|=K)):(typeof i.componentDidMount=="function"&&(e.effectTag|=K),e.memoizedProps=n,e.memoizedState=d),i.props=n,i.state=d,i.context=s,h}function ob(e,t,n,l,i){const o=t.stateNode,a=t.memoizedProps;o.props=t.type===t.elementType?a:Re(t.type,a);const c=o.context,s=n.contextType;let r;if(typeof s=="object"&&s!==null)r=Me(s);else{const E=vn(t,n,!0);r=xn(t,E)}const u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";!f&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(a!==l||c!==r)&&Kd(t,o,l,r),$d();const d=t.memoizedState;let g=o.state=d,h=t.updateQueue;if(h!==null&&(Dl(t,h,l,o,i),g=t.memoizedState),a===l&&d===g&&!ro()&&!bo())return typeof o.componentDidUpdate=="function"&&(a!==e.memoizedProps||d!==e.memoizedState)&&(t.effectTag|=K),typeof o.getSnapshotBeforeUpdate=="function"&&(a!==e.memoizedProps||d!==e.memoizedState)&&(t.effectTag|=hl),!1;typeof u=="function"&&(So(t,n,u,l),g=t.memoizedState);const y=bo()||Bd(t,n,a,l,d,g,r);return y?(!f&&(typeof o.UNSAFE_componentWillUpdate=="function"||typeof o.componentWillUpdate=="function")&&(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,g,r),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,g,r)),typeof o.componentDidUpdate=="function"&&(t.effectTag|=K),typeof o.getSnapshotBeforeUpdate=="function"&&(t.effectTag|=hl)):(typeof o.componentDidUpdate=="function"&&(a!==e.memoizedProps||d!==e.memoizedState)&&(t.effectTag|=K),typeof o.getSnapshotBeforeUpdate=="function"&&(a!==e.memoizedProps||d!==e.memoizedState)&&(t.effectTag|=hl),t.memoizedProps=l,t.memoizedState=g),o.props=l,o.state=g,o.context=r,y}const vo=Array.isArray;function Pl(e,t,n){let l=n.ref;if(l!==null&&typeof l!="function"&&typeof l!="object")if(n._owner){const i=n._owner;let o;i&&(o=i.stateNode),O(o,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",l);const a=""+l;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a)return t.ref;const c=function(s){let r=o.refs;r===Wd&&(r=o.refs={}),s===null?delete r[a]:r[a]=s};return c._stringRef=a,c}else O(typeof l=="string","Expected ref to be a function, a string, an object returned by React.createRef(), or null."),O(n._owner,`Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:
21
+ 1. You may be adding a ref to a function component
22
+ 2. You may be adding a ref to a component that was not created inside a component's render method
23
+ 3. You have multiple copies of React loaded
24
+ See https://fb.me/react-refs-must-have-owner for more information.`,l);return l}function xo(e,t){e.type!=="textarea"&&O(!1,"Objects are not valid as a React child (found: %s).%s",Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Yd(e){function t(p,C){if(!e)return;const m=p.lastEffect;m!==null?(m.nextEffect=C,p.lastEffect=C):p.firstEffect=p.lastEffect=C,C.nextEffect=null,C.effectTag=Di}function n(p,C){if(!e)return null;let m=C;for(;m!==null;)t(p,m),m=m.sibling;return null}function l(p,C){const m=new Map;let T=C;for(;T!==null;)T.key!==null?m.set(T.key,T):m.set(T.index,T),T=T.sibling;return m}function i(p,C,m){const T=$t(p,C);return T.index=0,T.sibling=null,T}function o(p,C,m){if(p.index=m,!e)return C;const T=p.alternate;if(T!==null){const _=T.index;return _<C?(p.effectTag=q,C):_}else return p.effectTag=q,C}function a(p){return e&&p.alternate===null&&(p.effectTag=q),p}function c(p,C,m,T){if(C===null||C.tag!==X){const _=kc(m,p.mode,T);return _.return=p,_}else{const _=i(C,m);return _.return=p,_}}function s(p,C,m,T){if(C!==null&&C.elementType===m.type){const _=i(C,m.props);return _.ref=Pl(p,C,m),_.return=p,_}else{const _=Dc(m,p.mode,T);return _.ref=Pl(p,C,m),_.return=p,_}}function r(p,C,m,T){if(C===null||C.tag!==B||C.stateNode.containerInfo!==m.containerInfo||C.stateNode.implementation!==m.implementation){const _=Pc(m,p.mode,T);return _.return=p,_}else{const _=i(C,m.children||[]);return _.return=p,_}}function u(p,C,m,T,_){if(C===null||C.tag!==nn){const x=gt(m,p.mode,T,_);return x.return=p,x}else{const x=i(C,m);return x.return=p,x}}function f(p,C,m){if(typeof C=="string"||typeof C=="number"){const T=kc(""+C,p.mode,m);return T.return=p,T}if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Pt:{const T=Dc(C,p.mode,m);return T.ref=Pl(p,null,C),T.return=p,T}case Xt:{const T=Pc(C,p.mode,m);return T.return=p,T}}if(vo(C)||Vt(C)){const T=gt(C,p.mode,m,null);return T.return=p,T}xo(p,C)}return null}function d(p,C,m,T){const _=C!==null?C.key:null;if(typeof m=="string"||typeof m=="number")return _!==null?null:c(p,C,""+m,T);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Pt:return m.key===_?m.type===Oe?u(p,C,m.props.children,T,_):s(p,C,m,T):null;case Xt:return m.key===_?r(p,C,m,T):null}if(vo(m)||Vt(m))return _!==null?null:u(p,C,m,T,null);xo(p,m)}return null}function g(p,C,m,T,_){if(typeof T=="string"||typeof T=="number"){const x=p.get(m)||null;return c(C,x,""+T,_)}if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Pt:{const x=p.get(T.key===null?m:T.key)||null;return T.type===Oe?u(C,x,T.props.children,_,T.key):s(C,x,T,_)}case Xt:{const x=p.get(T.key===null?m:T.key)||null;return r(C,x,T,_)}}if(vo(T)||Vt(T)){const x=p.get(m)||null;return u(C,x,T,_,null)}xo(C,T)}return null}function h(p,C,m,T){let _=null,x=null,A=C,F=0,N=0,ae=null;for(;A!==null&&N<m.length;N++){A.index>N?(ae=A,A=null):ae=A.sibling;const H=d(p,A,m[N],T);if(H===null){A===null&&(A=ae);break}e&&A&&H.alternate===null&&t(p,A),F=o(H,F,N),x===null?_=H:x.sibling=H,x=H,A=ae}if(N===m.length)return n(p,A),_;if(A===null){for(;N<m.length;N++){const H=f(p,m[N],T);H&&(F=o(H,F,N),x===null?_=H:x.sibling=H,x=H)}return _}const fe=l(p,A);for(;N<m.length;N++){const H=g(fe,p,N,m[N],T);H&&(e&&H.alternate!==null&&fe.delete(H.key===null?N:H.key),F=o(H,F,N),x===null?_=H:x.sibling=H,x=H)}return e&&fe.forEach(H=>t(p,H)),_}function y(p,C,m,T){const _=Vt(m);O(typeof _=="function","An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");const x=_.call(m);O(x!=null,"An iterable object provided no iterator.");let A=null,F=null,N=C,ae=0,fe=0,H=null,we=x.next();for(;N!==null&&!we.done;fe++,we=x.next()){N.index>fe?(H=N,N=null):H=N.sibling;const z=d(p,N,we.value,T);if(z===null){N||(N=H);break}e&&N&&z.alternate===null&&t(p,N),ae=o(z,ae,fe),F===null?A=z:F.sibling=z,F=z,N=H}if(we.done)return n(p,N),A;if(N===null){for(;!we.done;fe++,we=x.next()){const z=f(p,we.value,T);z!==null&&(ae=o(z,ae,fe),F===null?A=z:F.sibling=z,F=z)}return A}const gs=l(p,N);for(;!we.done;fe++,we=x.next()){const z=g(gs,p,fe,we.value,T);z!==null&&(e&&z.alternate!==null&&gs.delete(z.key===null?fe:z.key),ae=o(z,ae,fe),F===null?A=z:F.sibling=z,F=z)}return e&&gs.forEach(z=>t(p,z)),A}function E(p,C,m,T){if(C!==null&&C.tag===X){n(p,C.sibling);const x=i(C,m);return x.return=p,x}n(p,C);const _=kc(m,p.mode,T);return _.return=p,_}function S(p,C,m,T){const _=m.key;let x=C;for(;x!==null;){if(x.key===_)if(x.tag===nn?m.type===Oe:x.elementType===m.type){n(p,x.sibling);const A=i(x,m.type===Oe?m.props.children:m.props);return A.ref=Pl(p,x,m),A.return=p,A}else{n(p,x);break}else t(p,x);x=x.sibling}if(m.type===Oe){const A=gt(m.props.children,p.mode,T,m.key);return A.return=p,A}else{const A=Dc(m,p.mode,T);return A.ref=Pl(p,C,m),A.return=p,A}}function k(p,C,m,T){const _=m.key;let x=C;for(;x!==null;){if(x.key===_)if(x.tag===B&&x.stateNode.containerInfo===m.containerInfo&&x.stateNode.implementation===m.implementation){n(p,x.sibling);const F=i(x,m.children||[]);return F.return=p,F}else{n(p,x);break}else t(p,x);x=x.sibling}const A=Pc(m,p.mode,T);return A.return=p,A}function U(p,C,m,T){const _=typeof m=="object"&&m!==null&&m.type===Oe&&m.key===null;_&&(m=m.props.children);const x=typeof m=="object"&&m!==null;if(x)switch(m.$$typeof){case Pt:return a(S(p,C,m,T));case Xt:return a(k(p,C,m,T))}if(typeof m=="string"||typeof m=="number")return a(E(p,C,""+m,T));if(vo(m))return h(p,C,m,T);if(Vt(m))return y(p,C,m,T);if(x&&xo(p,m),typeof m>"u"&&!_)switch(p.tag){case w:case Ue:{const A=p.type;O(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",A.displayName||A.name||"Component")}}return n(p,C)}return U}const Un=Yd(!0),Qd=Yd(!1);function ab(e,t){if(O(e===null||t.child===e.child,"Resuming work not yet implemented."),t.child===null)return;let n=t.child,l=$t(n,n.pendingProps,n.expirationTime);for(t.child=l,l.return=t;n.sibling!==null;)n=n.sibling,l=l.sibling=$t(n,n.pendingProps,n.expirationTime),l.return=t;l.sibling=null}const Ml={};let bt=Sn(Ml),Nl=Sn(Ml),_o=Sn(Ml);function Ro(e){return O(e!==Ml,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Xd(){return Ro(_o.current)}function $c(e,t){oe(_o,t),oe(Nl,e),oe(bt,Ml);const n=iT(t);ie(bt),oe(bt,n)}function An(e){ie(bt),ie(Nl),ie(_o)}function wc(){return Ro(bt.current)}function qd(e){Ro(_o.current);const t=Ro(bt.current),n=oT(t,e.type);t!==n&&(oe(Nl,e),oe(bt,n))}function zc(e){Nl.current===e&&(ie(bt),ie(Nl))}const cb=Nt.ReactCurrentOwner;let zt=!1;function Ce(e,t,n,l){e===null?t.child=Qd(t,null,n,l):t.child=Un(t,e.child,n,l)}function sb(e,t,n,l){t.child=Un(t,e.child,null,l),t.child=Un(t,null,n,l)}function Vd(e,t,n,l,i){const o=n.render,a=t.ref;let c;return kn(t,i),c=qc(e,t,o,l,a,i),e!==null&&!zt?(op(e,t,i),lt(e,t,i)):(t.effectTag|=ft,Ce(e,t,c,i),t.child)}function Gd(e,t,n,l,i,o){if(e===null){let s=n.type;if(wT(s)&&n.compare===null&&n.defaultProps===void 0)return t.tag=Ft,t.type=s,Zd(e,t,s,l,i,o);let r=Ad(n.type,null,l,null,t.mode,o);return r.ref=t.ref,r.return=t,t.child=r,r}let a=e.child;if(i<o){const s=a.memoizedProps;let r=n.compare;if(r=r!==null?r:kl,r(s,l)&&e.ref===t.ref)return lt(e,t,o)}t.effectTag|=ft;let c=$t(a,l);return c.ref=t.ref,c.return=t,t.child=c,c}function Zd(e,t,n,l,i,o){if(e!==null){const a=e.memoizedProps;if(kl(a,l)&&e.ref===t.ref&&(zt=!1,i<o))return lt(e,t,o)}return Wc(e,t,n,l,o)}function ub(e,t,n){const l=t.pendingProps;return Ce(e,t,l,n),t.child}function rb(e,t,n){const l=t.pendingProps.children;return Ce(e,t,l,n),t.child}function fb(e,t,n){const i=t.pendingProps.children;return Ce(e,t,i,n),t.child}function Jd(e,t){const n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.effectTag|=Mi)}function Wc(e,t,n,l,i){const o=vn(t,n,!0),a=xn(t,o);let c;return kn(t,i),c=qc(e,t,n,l,a,i),e!==null&&!zt?(op(e,t,i),lt(e,t,i)):(t.effectTag|=ft,Ce(e,t,c,i),t.child)}function ep(e,t,n,l,i){let o;Pe(n)?(o=!0,po(t)):o=!1,kn(t,i);const a=t.stateNode;let c;return a===null?(e!==null&&(e.alternate=null,t.alternate=null,t.effectTag|=q),jd(t,n,l),Hc(t,n,l,i),c=!0):e===null?c=ib(t,n,l,i):c=ob(e,t,n,l,i),Bc(e,t,n,c,o,i)}function Bc(e,t,n,l,i,o){Jd(e,t);const a=(t.effectTag&xe)!==he;if(!l&&!a)return i&&xd(t,n,!1),lt(e,t,o);const c=t.stateNode;cb.current=t;let s;return a&&typeof n.getDerivedStateFromError!="function"?s=null:s=c.render(),t.effectTag|=ft,e!==null&&a?sb(e,t,s,o):Ce(e,t,s,o),t.memoizedState=c.state,i&&xd(t,n,!0),t.child}function tp(e){const t=e.stateNode;t.pendingContext?Sd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sd(e,t.context,!1),$c(e,t.containerInfo)}function db(e,t,n){tp(t);const l=t.updateQueue;O(l!==null,"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");const i=t.pendingProps,o=t.memoizedState,a=o!==null?o.element:null;Dl(t,l,i,null,n);const s=t.memoizedState.element;return s===a?lt(e,t,n):(t.stateNode,Ce(e,t,s,n),t.child)}function pb(e,t,n){qd(t);const l=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null;let a=i.children;return Cd(l,i)?a=null:o!==null&&Cd(l,o)&&(t.effectTag|=ki),Jd(e,t),n!==Rn&&t.mode&et&&dT(l,i)?(t.expirationTime=t.childExpirationTime=Rn,null):(Ce(e,t,a,n),t.child)}function hb(e,t){return null}function mb(e,t,n,l,i){e!==null&&(e.alternate=null,t.alternate=null,t.effectTag|=q);const o=t.pendingProps;let a=nb(n);t.type=a;const c=t.tag=zT(a),s=Re(a,o);let r;switch(c){case Ue:{r=Wc(null,t,a,s,i);break}case w:{r=ep(null,t,a,s,i);break}case Xe:{r=Vd(null,t,a,s,i);break}case Lt:{r=Gd(null,t,a,Re(a.type,s),l,i);break}default:O(!1,"Element type is invalid. Received a promise that resolves to: %s. Lazy element type must resolve to a class or function.%s",a,"")}return r}function yb(e,t,n,l,i){e!==null&&(e.alternate=null,t.alternate=null,t.effectTag|=q),t.tag=w;let o;return Pe(n)?(o=!0,po(t)):o=!1,kn(t,i),jd(t,n,l),Hc(t,n,l,i),Bc(null,t,n,!0,o,i)}function gb(e,t,n,l){e!==null&&(e.alternate=null,t.alternate=null,t.effectTag|=q);const i=t.pendingProps,o=vn(t,n,!1),a=xn(t,o);kn(t,l);let c;if(c=qc(null,t,n,i,a,l),t.effectTag|=ft,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){t.tag=w,Vc();let s=!1;Pe(n)?(s=!0,po(t)):s=!1,t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null;const r=n.getDerivedStateFromProps;return typeof r=="function"&&So(t,n,r,i),Id(t,c),Hc(t,n,i,l),Bc(null,t,n,!0,s,l)}else return t.tag=Ue,Ce(null,t,c,l),t.child}function np(e,t,n){const l=t.mode,i=t.pendingProps;let o=t.memoizedState,a;(t.effectTag&xe)===he?(o=null,a=!1):(o={timedOutAt:o!==null?o.timedOutAt:v},a=!0,t.effectTag&=~xe);let c,s;if(e===null)if(a){const r=i.fallback,u=gt(null,l,v,null);if((t.mode&et)===On){const g=t.memoizedState!==null?t.child.child:t.child;u.child=g}const f=gt(r,l,n,null);u.sibling=f,c=u,s=f,c.return=s.return=t}else{const r=i.children;c=s=Qd(t,null,r,n)}else{if(e.memoizedState!==null){const f=e.child,d=f.sibling;if(a){const g=i.fallback,h=$t(f,f.pendingProps);if((t.mode&et)===On){const S=t.memoizedState!==null?t.child.child:t.child;S!==f.child&&(h.child=S)}const y=h.sibling=$t(d,g,d.expirationTime);c=h,h.childExpirationTime=v,s=y,c.return=s.return=t}else{const g=i.children,h=f.child;c=s=Un(t,h,g,n)}}else{const f=e.child;if(a){const d=i.fallback,g=gt(null,l,v,null);if(g.child=f,(t.mode&et)===On){const E=t.memoizedState!==null?t.child.child:t.child;g.child=E}const h=g.sibling=gt(d,l,n,null);h.effectTag|=q,c=g,g.childExpirationTime=v,s=h,c.return=s.return=t}else{const d=i.children;s=c=Un(t,f,d,n)}}t.stateNode=e.stateNode}return t.memoizedState=o,t.child=c,s}function Cb(e,t,n){$c(t,t.stateNode.containerInfo);const l=t.pendingProps;return e===null?t.child=Un(t,null,l,n):Ce(e,t,l,n),t.child}function Tb(e,t,n){const i=t.type._context,o=t.pendingProps,a=t.memoizedProps,c=o.value;if(ip(t,c),a!==null){const r=a.value,u=Sb(i,c,r);if(u===0){if(a.children===o.children&&!ro())return lt(e,t,n)}else xb(t,i,u,n)}const s=o.children;return Ce(e,t,s,n),t.child}function bb(e,t,n){let l=t.type;const i=t.pendingProps,o=i.children;kn(t,n);const a=Me(l,i.unstable_observedBits);let c;return c=o(a),t.effectTag|=ft,Ce(e,t,c,n),t.child}function Ic(){zt=!0}function lt(e,t,n){return e!==null&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n?null:(ab(e,t),t.child)}function Eb(e,t,n){const l=t.expirationTime;if(e!==null){const i=e.memoizedProps,o=t.pendingProps;if(i!==o||ro())zt=!0;else if(l<n){switch(zt=!1,t.tag){case W:tp(t);break;case $:qd(t);break;case w:{const a=t.type;Pe(a)&&po(t);break}case B:$c(t,t.stateNode.containerInfo);break;case rt:{const a=t.memoizedProps.value;ip(t,a);break}case ln:break;case Ae:{if(t.memoizedState!==null){const r=t.child.childExpirationTime;if(r!==v&&r>=n)return np(e,t,n);{const u=lt(e,t,n);return u!==null?u.sibling:null}}break}}return lt(e,t,n)}}else zt=!1;switch(t.expirationTime=v,t.tag){case Ui:{const i=t.elementType;return gb(e,t,i,n)}case La:{const i=t.elementType;return mb(e,t,i,l,n)}case Ue:{const i=t.type,o=t.pendingProps,a=t.elementType===i?o:Re(i,o);return Wc(e,t,i,a,n)}case w:{const i=t.type,o=t.pendingProps,a=t.elementType===i?o:Re(i,o);return ep(e,t,i,a,n)}case W:return db(e,t,n);case $:return pb(e,t,n);case X:return hb();case Ae:return np(e,t,n);case B:return Cb(e,t,n);case Xe:{const i=t.type,o=t.pendingProps,a=t.elementType===i?o:Re(i,o);return Vd(e,t,i,a,n)}case nn:return ub(e,t,n);case Na:return rb(e,t,n);case ln:return fb(e,t,n);case rt:return Tb(e,t,n);case Ai:return bb(e,t,n);case Lt:{const i=t.type,o=t.pendingProps;let a=Re(i,o);return a=Re(i.type,a),Gd(e,t,i,a,l,n)}case Ft:return Zd(e,t,t.type,t.pendingProps,l,n);case on:{const i=t.type,o=t.pendingProps,a=t.elementType===i?o:Re(i,o);return yb(e,t,i,a,n)}}O(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}const jc=Sn(null);let Oo=null,Dn=null,Uo=null;function lp(){Oo=null,Dn=null,Uo=null}function ip(e,t){const n=e.type._context;oe(jc,n._currentValue),n._currentValue=t}function Kc(e){const t=jc.current;ie(jc);const n=e.type._context;n._currentValue=t}function Sb(e,t,n){return wt(n,t)?0:(typeof e._calculateChangedBits=="function"?e._calculateChangedBits(n,t):_n)|0}function vb(e,t){let n=e;for(;n!==null;){let l=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,l!==null&&l.childExpirationTime<t&&(l.childExpirationTime=t);else if(l!==null&&l.childExpirationTime<t)l.childExpirationTime=t;else break;n=n.return}}function xb(e,t,n,l){let i=e.child;for(i!==null&&(i.return=e);i!==null;){let o;const a=i.contextDependencies;if(a!==null){o=i.child;let c=a.first;for(;c!==null;){if(c.context===t&&(c.observedBits&n)!==0){if(i.tag===w){const r=Tt(l);r.tag=yo,nt(i,r)}i.expirationTime<l&&(i.expirationTime=l);let s=i.alternate;s!==null&&s.expirationTime<l&&(s.expirationTime=l),vb(i.return,l),a.expirationTime<l&&(a.expirationTime=l);break}c=c.next}}else i.tag===rt?o=i.type===e.type?null:i.child:o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}let c=o.sibling;if(c!==null){c.return=o.return,o=c;break}o=o.return}i=o}}function kn(e,t){Oo=e,Dn=null,Uo=null;const n=e.contextDependencies;n!==null&&n.expirationTime>=t&&Ic(),e.contextDependencies=null}function Me(e,t){if(Uo!==e){if(!(t===!1||t===0)){let n;typeof t!="number"||t===_n?(Uo=e,n=_n):n=t;let l={context:e,observedBits:n,next:null};Dn===null?(O(Oo!==null,"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Dn=l,Oo.contextDependencies={first:l,expirationTime:v}):Dn=Dn.next=l}}return e._currentValue}const Pn=0,_b=2,Ll=4,Rb=8,Ob=16,Fl=32,Yc=64,Qc=128,{ReactCurrentDispatcher:Ao}=Nt;let Hl=v,Et=null,G=null,Ne=null,Mn=null,te=null,Nn=null,$l=v,Le=null,wl=0,zl=!1,it=null,Do=0;function Fe(){O(!1,`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
25
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
26
+ 2. You might be breaking the Rules of Hooks
27
+ 3. You might have more than one copy of React in the same app
28
+ See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`)}function Xc(e,t){if(t===null)return!1;for(let n=0;n<t.length&&n<e.length;n++)if(!wt(e[n],t[n]))return!1;return!0}function qc(e,t,n,l,i,o){Hl=o,Et=t,Ne=e!==null?e.memoizedState:null,Ao.current=Ne===null?Kb:fp;let a=n(l,i);if(zl){do zl=!1,Do+=1,Ne=e!==null?e.memoizedState:null,Nn=Mn,G=null,te=null,Le=null,Ao.current=fp,a=n(l,i);while(zl);it=null,Do=0}Ao.current=es;const c=Et;c.memoizedState=Mn,c.expirationTime=$l,c.updateQueue=Le,c.effectTag|=wl;const s=G!==null&&G.next!==null;return Hl=v,Et=null,G=null,Ne=null,Mn=null,te=null,Nn=null,$l=v,Le=null,wl=0,O(!s,"Rendered fewer hooks than expected. This may be caused by an accidental early return statement."),a}function op(e,t,n){t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=n&&(e.expirationTime=v)}function Vc(){Ao.current=es,Hl=v,Et=null,G=null,Ne=null,Mn=null,te=null,Nn=null,$l=v,Le=null,wl=0,zl=!1,it=null,Do=0}function Ln(){const e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return te===null?Mn=te=e:te=te.next=e,te}function Wl(){if(Nn!==null)te=Nn,Nn=te.next,G=Ne,Ne=G!==null?G.next:null;else{O(Ne!==null,"Rendered more hooks than during the previous render."),G=Ne;const e={memoizedState:G.memoizedState,baseState:G.baseState,queue:G.queue,baseUpdate:G.baseUpdate,next:null};te===null?te=Mn=e:te=te.next=e,Ne=G.next}return te}function Ub(){return{lastEffect:null}}function ap(e,t){return typeof t=="function"?t(e):t}function Ab(e,t,n){const l=Ln();let i;n!==void 0?i=n(t):i=t,l.memoizedState=l.baseState=i;const o=l.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a=o.dispatch=rp.bind(null,Et,o);return[l.memoizedState,a]}function cp(e,t,n){const l=Wl(),i=l.queue;if(O(i!==null,"Should have a queue. This is likely a bug in React. Please file an issue."),i.lastRenderedReducer=e,Do>0){const u=i.dispatch;if(it!==null){const f=it.get(i);if(f!==void 0){it.delete(i);let d=l.memoizedState,g=f;do{const h=g.action;d=e(d,h),g=g.next}while(g!==null);return wt(d,l.memoizedState)||Ic(),l.memoizedState=d,l.baseUpdate===i.last&&(l.baseState=d),i.lastRenderedState=d,[d,u]}}return[l.memoizedState,u]}const o=i.last,a=l.baseUpdate,c=l.baseState;let s;if(a!==null?(o!==null&&(o.next=null),s=a.next):s=o!==null?o.next:null,s!==null){let u=c,f=null,d=null,g=a,h=s,y=!1;do{const E=h.expirationTime;if(E<Hl)y||(y=!0,d=g,f=u),E>$l&&($l=E);else if(h.eagerReducer===e)u=h.eagerState;else{const S=h.action;u=e(u,S)}g=h,h=h.next}while(h!==null&&h!==s);y||(d=g,f=u),wt(u,l.memoizedState)||Ic(),l.memoizedState=u,l.baseUpdate=d,l.baseState=f,i.lastRenderedState=u}const r=i.dispatch;return[l.memoizedState,r]}function Db(e){const t=Ln();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;const n=t.queue={last:null,dispatch:null,lastRenderedReducer:ap,lastRenderedState:e},l=n.dispatch=rp.bind(null,Et,n);return[t.memoizedState,l]}function kb(e){return cp(ap)}function Gc(e,t,n,l){const i={tag:e,create:t,destroy:n,deps:l,next:null};if(Le===null)Le=Ub(),Le.lastEffect=i.next=i;else{const o=Le.lastEffect;if(o===null)Le.lastEffect=i.next=i;else{const a=o.next;o.next=i,i.next=a,Le.lastEffect=i}}return i}function Pb(e){const t=Ln(),n={current:e};return t.memoizedState=n,n}function Mb(e){return Wl().memoizedState}function Zc(e,t,n,l){const i=Ln(),o=l===void 0?null:l;wl|=e,i.memoizedState=Gc(t,n,void 0,o)}function Jc(e,t,n,l){const i=Wl(),o=l===void 0?null:l;let a;if(G!==null){const c=G.memoizedState;if(a=c.destroy,o!==null){const s=c.deps;if(Xc(o,s)){Gc(Pn,n,a,o);return}}}wl|=e,i.memoizedState=Gc(t,n,a,o)}function Nb(e,t){return Zc(K|Ni,Qc|Yc,e,t)}function Lb(e,t){return Jc(K|Ni,Qc|Yc,e,t)}function Fb(e,t){return Zc(K,Ll|Fl,e,t)}function Hb(e,t){return Jc(K,Ll|Fl,e,t)}function sp(e,t){if(typeof t=="function"){const n=t,l=e();return n(l),()=>{n(null)}}else if(t!=null){const n=t,l=e();return n.current=l,()=>{n.current=null}}}function $b(e,t,n){const l=n!=null?n.concat([e]):null;return Zc(K,Ll|Fl,sp.bind(null,t,e),l)}function wb(e,t,n){const l=n!=null?n.concat([e]):null;return Jc(K,Ll|Fl,sp.bind(null,t,e),l)}function up(e,t){}const zb=up;function Wb(e,t){const n=Ln(),l=t===void 0?null:t;return n.memoizedState=[e,l],e}function Bb(e,t){const n=Wl(),l=t===void 0?null:t,i=n.memoizedState;if(i!==null&&l!==null){const o=i[1];if(Xc(l,o))return i[0]}return n.memoizedState=[e,l],e}function Ib(e,t){const n=Ln(),l=t===void 0?null:t,i=e();return n.memoizedState=[i,l],i}function jb(e,t){const n=Wl(),l=t===void 0?null:t,i=n.memoizedState;if(i!==null&&l!==null){const a=i[1];if(Xc(l,a))return i[0]}const o=e();return n.memoizedState=[o,l],o}function rp(e,t,n){const l=e.alternate;if(e===Et||l!==null&&l===Et){zl=!0;const i={expirationTime:Hl,action:n,eagerReducer:null,eagerState:null,next:null};it===null&&(it=new Map);const o=it.get(t);if(o===void 0)it.set(t,i);else{let a=o;for(;a.next!==null;)a=a.next;a.next=i}}else{Hn();const i=st(),o=$n(i,e),a={expirationTime:o,action:n,eagerReducer:null,eagerState:null,next:null},c=t.last;if(c===null)a.next=a;else{const s=c.next;s!==null&&(a.next=s),c.next=a}if(t.last=a,e.expirationTime===v&&(l===null||l.expirationTime===v)){const s=t.lastRenderedReducer;if(s!==null)try{const r=t.lastRenderedState,u=s(r,n);if(a.eagerReducer=s,a.eagerState=u,wt(u,r))return}catch{}finally{}}St(e,o)}}const es={readContext:Me,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe},Kb={readContext:Me,useCallback:Wb,useContext:Me,useEffect:Nb,useImperativeHandle:$b,useLayoutEffect:Fb,useMemo:Ib,useReducer:Ab,useRef:Pb,useState:Db,useDebugValue:up},fp={readContext:Me,useCallback:Bb,useContext:Me,useEffect:Lb,useImperativeHandle:wb,useLayoutEffect:Hb,useMemo:jb,useReducer:cp,useRef:Mb,useState:kb,useDebugValue:zb};function ts(e){e.effectTag|=K}function dp(e){e.effectTag|=Mi}let pp,ns,hp,mp;pp=function(e,t,n,l){let i=t.child;for(;i!==null;){if(i.tag===$||i.tag===X)uT(e,i.stateNode);else if(i.tag!==B){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===t)return;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ns=function(e){},hp=function(e,t,n,l,i){const o=e.memoizedProps;if(o===l)return;const a=t.stateNode;wc();const c=fT(a,n,o,l,i);t.updateQueue=c,c&&ts(t)},mp=function(e,t,n,l){n!==l&&ts(t)};function Yb(e,t,n){const l=t.pendingProps;switch(t.tag){case Ui:break;case La:break;case Ft:case Ue:break;case w:{const i=t.type;Pe(i)&&fo();break}case W:{An(),Oc();const i=t.stateNode;i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(t.effectTag&=~q),ns(t);break}case $:{zc(t);const i=Xd(),o=t.type;if(e!==null&&t.stateNode!=null)hp(e,t,o,l,i),e.ref!==t.ref&&dp(t);else{if(!l){O(t.stateNode!==null,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");break}const a=wc();let c=sT(o,l,i,a,t);pp(c,t,!1,!1),rT(c,o,l,i)&&ts(t),t.stateNode=c,t.ref!==null&&dp(t)}break}case X:{let i=l;if(e&&t.stateNode!=null){const o=e.memoizedProps;mp(e,t,o,i)}else{typeof i!="string"&&O(t.stateNode!==null,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");const o=Xd(),a=wc();t.stateNode=pT(i,o,a,t)}break}case Xe:break;case Ae:{const i=t.memoizedState;if((t.effectTag&xe)!==he)return t.expirationTime=n,t;const o=i!==null,a=e!==null&&e.memoizedState!==null;if(e!==null&&!o&&a){const c=e.child.sibling;if(c!==null){const s=t.firstEffect;s!==null?(t.firstEffect=c,c.nextEffect=s):(t.firstEffect=t.lastEffect=c,c.nextEffect=null),c.effectTag=Di}}(o||a)&&(t.effectTag|=K);break}case nn:break;case Na:break;case ln:break;case B:An(),ns(t);break;case rt:Kc(t);break;case Ai:break;case Lt:break;case on:{const i=t.type;Pe(i)&&fo();break}case Fa:break;default:O(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}return null}function Qb(e){return e.memoizedProps.fallback===void 0?!1:e.memoizedState===null}function Xb(e){const t=e.error;console.error(t)}const qb=typeof WeakSet=="function"?WeakSet:Set;function yp(e,t){const n=t.source;let l=t.stack;l===null&&n!==null&&(l=Lc(n));const i={componentName:n!==null?mt(n.type):null,componentStack:l!==null?l:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};e!==null&&e.tag===w&&(i.errorBoundary=e.stateNode,i.errorBoundaryName=mt(e.type),i.errorBoundaryFound=!0,i.willRetry=!0);try{Xb(i)}catch(o){setTimeout(()=>{throw o})}}const Vb=function(e,t){t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()};function Gb(e,t){try{Vb(e,t)}catch(n){It(e,n)}}function gp(e){const t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){It(e,n)}else t.current=null}function Zb(e,t){try{t()}catch(n){It(e,n)}}function Jb(e,t){switch(t.tag){case Ue:case Xe:case Ft:{Bl(_b,Pn,t);return}case w:{if(t.effectTag&hl&&e!==null){const n=e.memoizedProps,l=e.memoizedState,i=t.stateNode,o=i.getSnapshotBeforeUpdate(t.elementType===t.type?n:Re(t.type,n),l);i.__reactInternalSnapshotBeforeUpdate=o}return}case W:case $:case X:case B:case on:return;default:O(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Bl(e,t,n){const l=n.updateQueue;let i=l!==null?l.lastEffect:null;if(i!==null){const o=i.next;let a=o;do{if((a.tag&e)!==Pn){const c=a.destroy;a.destroy=void 0,c!==void 0&&c()}if((a.tag&t)!==Pn){const c=a.create;a.destroy=c()}a=a.next}while(a!==o)}}function eE(e){Bl(Qc,Pn,e),Bl(Pn,Yc,e)}function tE(e,t,n,l){switch(n.tag){case Ue:case Xe:case Ft:{Bl(Ob,Fl,n);break}case w:{const i=n.stateNode;if(n.effectTag&K)if(t===null)i.componentDidMount();else{const a=n.elementType===n.type?t.memoizedProps:Re(n.type,t.memoizedProps),c=t.memoizedState;i.componentDidUpdate(a,c,i.__reactInternalSnapshotBeforeUpdate)}const o=n.updateQueue;o!==null&&wd(n,o,i);return}case W:{const i=n.updateQueue;if(i!==null){let o=null;if(n.child!==null)switch(n.child.tag){case $:o=n.child.stateNode;break;case w:o=n.child.stateNode;break}wd(n,i,o)}return}case $:{n.stateNode,t===null&&n.effectTag&K&&(n.type,n.memoizedProps);return}case X:return;case B:return;case ln:return;case Ae:break;case on:break;default:O(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function nE(e,t){{let n=e;for(;;){if(n.tag===$){const l=n.stateNode;t?_T(l):OT(n.stateNode,n.memoizedProps)}else if(n.tag===X){const l=n.stateNode;t?RT(l):UT(l,n.memoizedProps)}else if(n.tag===Ae&&n.memoizedState!==null){const l=n.child.sibling;l.return=n,n=l;continue}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}}function lE(e){const t=e.ref;if(t!==null){const n=e.stateNode;let l;switch(e.tag){case $:l=n;break;default:l=n}typeof t=="function"?t(l):t.current=l}}function iE(e){const t=e.ref;t!==null&&(typeof t=="function"?t(null):t.current=null)}function Cp(e){switch(e.tag){case Ue:case Xe:case Lt:case Ft:{const t=e.updateQueue;if(t!==null){const n=t.lastEffect;if(n!==null){const l=n.next;let i=l;do{const o=i.destroy;o!==void 0&&Zb(e,o),i=i.next}while(i!==l)}}break}case w:{gp(e);const t=e.stateNode;typeof t.componentWillUnmount=="function"&&Gb(e,t);return}case $:{gp(e);return}case B:{Ep(e);return}}}function oE(e){let t=e;for(;;){if(Cp(t),t.child!==null&&t.tag!==B){t.child.return=t,t=t.child;continue}if(t===e)return;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function aE(e){e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null;const t=e.alternate;t!==null&&(t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null)}function cE(e){let t=e.return;for(;t!==null;){if(Tp(t))return t;t=t.return}O(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Tp(e){return e.tag===$||e.tag===W||e.tag===B}function sE(e){let t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Tp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==$&&t.tag!==X&&t.tag!==Fa;){if(t.effectTag&q||t.child===null||t.tag===B)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&q))return t.stateNode}}function bp(e){const t=cE(e);let n,l;switch(t.tag){case $:n=t.stateNode,l=!1;break;case W:n=t.stateNode.containerInfo,l=!0;break;case B:n=t.stateNode.containerInfo,l=!0;break;default:O(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}t.effectTag&ki&&(bd(n),t.effectTag&=~ki);const i=sE(e);let o=e;for(;;){if(o.tag===$||o.tag===X)i?l?ST(n,o.stateNode,i):ET(n,o.stateNode,i):l?bT(n,o.stateNode):TT(n,o.stateNode);else if(o.tag!==B){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Ep(e){let t=e,n=!1,l,i;for(;;){if(!n){let o=t.return;e:for(;;){switch(O(o!==null,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),o.tag){case $:l=o.stateNode,i=!1;break e;case W:l=o.stateNode.containerInfo,i=!0;break e;case B:l=o.stateNode.containerInfo,i=!0;break e}o=o.return}n=!0}if(t.tag===$||t.tag===X)oE(t),i?xT(l,t.stateNode):vT(l,t.stateNode);else if(t.tag===B){if(t.child!==null){l=t.stateNode.containerInfo,i=!0,t.child.return=t,t=t.child;continue}}else if(Cp(t),t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return,t.tag===B&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function uE(e){Ep(e),aE(e)}function Sp(e,t){switch(t.tag){case Ue:case Xe:case Lt:case Ft:{Bl(Ll,Rb,t);return}case w:return;case $:{const n=t.stateNode;if(n!=null){const l=t.memoizedProps,i=e!==null?e.memoizedProps:l,o=t.type,a=t.updateQueue;t.updateQueue=null,a!==null&&gT(n,a,o,i,l)}return}case X:{O(t.stateNode!==null,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");const n=t.stateNode,l=t.memoizedProps,i=e!==null?e.memoizedProps:l;CT(n,i,l);return}case W:return;case ln:return;case Ae:{let n=t.memoizedState,l,i=t;n===null?l=!1:(l=!0,i=t.child,n.timedOutAt===v&&(n.timedOutAt=st())),i!==null&&nE(i,l);const o=t.updateQueue;if(o!==null){t.updateQueue=null;let a=t.stateNode;a===null&&(a=t.stateNode=new qb),o.forEach(c=>{let s=UE.bind(null,t,c);a.has(c)||(a.add(c),c.then(s,s))})}return}case on:return;default:O(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function rE(e){bd(e.stateNode)}const fE=typeof WeakMap=="function"?WeakMap:Map;function ls(e,t,n){const l=Tt(n);l.tag=Mc,l.payload={element:null};const i=t.value;return l.callback=()=>{us(i),yp(e,t)},l}function vp(e,t,n){const l=Tt(n);l.tag=Mc;const i=e.type.getDerivedStateFromError;if(typeof i=="function"){const a=t.value;l.payload=()=>i(a)}const o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(l.callback=function(){typeof i!="function"&&bE(this);const c=t.value,s=t.stack;yp(e,t),this.componentDidCatch(c,{componentStack:s!==null?s:""})}),l}function dE(e,t,n){let l=e.pingCache,i;if(l===null?(l=e.pingCache=new fE,i=new Set,l.set(n,i)):(i=l.get(n),i===void 0&&(i=new Set,l.set(n,i))),!i.has(t)){i.add(t);let o=OE.bind(null,e,n,t);n.then(o,o)}}function pE(e,t,n,l,i){if(n.effectTag|=Li,n.firstEffect=n.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){const a=l;let c=t,s=-1,r=-1;do{if(c.tag===Ae){const u=c.alternate;if(u!==null){const d=u.memoizedState;if(d!==null){const g=d.timedOutAt;r=Ul(g);break}}let f=c.pendingProps.maxDuration;typeof f=="number"&&(f<=0?s=0:(s===-1||f<s)&&(s=f))}c=c.return}while(c!==null);c=t;do{if(c.tag===Ae&&Qb(c)){const u=c.updateQueue;if(u===null){const d=new Set;d.add(a),c.updateQueue=d}else u.add(a);if((c.mode&et)===he){if(c.effectTag|=xe,n.effectTag&=-1957,n.tag===w)if(n.alternate===null)n.tag=on;else{const g=Tt(ge);g.tag=yo,nt(n,g)}n.expirationTime=ge;return}dE(e,i,a);let f;if(s===-1)f=_n;else{if(r===-1){const d=Pd(e,i);r=Ul(d)-Od}f=r+s}_E(e,f),c.effectTag|=qe,c.expirationTime=i;return}c=c.return}while(c!==null);l=new Error((mt(n.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
29
+
30
+ Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+Lc(n))}RE(),l=Eo(l,n);let o=t;do{switch(o.tag){case W:{const r=l;o.effectTag|=qe,o.expirationTime=i;const u=ls(o,r,i);Ld(o,u);return}case w:const a=l,c=o.type,s=o.stateNode;if((o.effectTag&xe)===he&&(typeof c.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&!Rp(s))){o.effectTag|=qe,o.expirationTime=i;const r=vp(o,a,i);Ld(o,r);return}break}o=o.return}while(o!==null)}function hE(e,t){switch(e.tag){case w:{const n=e.type;Pe(n)&&fo();const l=e.effectTag;return l&qe?(e.effectTag=l&~qe|xe,e):null}case W:{An(),Oc();const n=e.effectTag;return O((n&xe)===he,"The root failed to unmount after an error. This is likely a bug in React. Please file an issue."),e.effectTag=n&~qe|xe,e}case $:return zc(e),null;case Ae:{const n=e.effectTag;return n&qe?(e.effectTag=n&~qe|xe,e):null}case Fa:return null;case B:return An(),null;case rt:return Kc(e),null;default:return null}}function mE(e){switch(e.tag){case w:{const t=e.type.childContextTypes;t!=null&&fo();break}case W:{An(),Oc();break}case $:{zc(e);break}case B:An();break;case rt:Kc(e);break}}const{ReactCurrentDispatcher:is,ReactCurrentOwner:xp}=Nt;let ko=ge-1,Wt=!1,Y=null,He=null,Te=v,Bt=-1,os=!1,P=null,Po=!1,as=null,Mo=null,No=null,Fn=null;function _p(){if(Y!==null){let e=Y.return;for(;e!==null;)mE(e),e=e.return}He=null,Te=v,Bt=-1,os=!1,Y=null}function yE(){for(;P!==null;){const e=P.effectTag;if(e&ki&&rE(P),e&Mi){const n=P.alternate;n!==null&&iE(n)}switch(e&(q|K|Di)){case q:{bp(P),P.effectTag&=~q;break}case Vy:{bp(P),P.effectTag&=~q;const n=P.alternate;Sp(n,P);break}case K:{const n=P.alternate;Sp(n,P);break}case Di:{uE(P);break}}P=P.nextEffect}}function gE(){for(;P!==null;){if(P.effectTag&hl){const t=P.alternate;Jb(t,P)}P=P.nextEffect}}function CE(e,t){for(;P!==null;){const n=P.effectTag;if(n&(K|Pi)){const l=P.alternate;tE(e,l,P)}n&Mi&&lE(P),n&Ni&&(as=e),P=P.nextEffect}}function TE(e,t){as=null,Mo=null,No=null;const n=be;be=!0;let l=t;do{if(l.effectTag&Ni){let o=!1,a;try{eE(l)}catch(c){o=!0,a=c}o&&It(l,a)}l=l.nextEffect}while(l!==null);be=n;const i=e.expirationTime;i!==v&&wo(e,i),!Ee&&!be&&jl()}function Rp(e){return Fn!==null&&Fn.has(e)}function bE(e){Fn===null?Fn=new Set([e]):Fn.add(e)}function Hn(){Mo!==null&&yT(Mo),No!==null&&No()}function EE(e,t){Wt=!0,Po=!0;const n=e.pendingCommitExpirationTime;e.pendingCommitExpirationTime=v;const l=t.expirationTime,i=t.childExpirationTime,o=i>l?i:l;KT(e,o),xp.current=null;let a;for(t.effectTag>ft?t.lastEffect!==null?(t.lastEffect.nextEffect=t,a=t.firstEffect):a=t:a=t.firstEffect,aT(e.containerInfo),P=a;P!==null;){let u=!1,f;try{gE()}catch(d){u=!0,f=d}u&&(It(P,f),P!==null&&(P=P.nextEffect))}for(P=a;P!==null;){let u=!1,f;try{yE()}catch(d){u=!0,f=d}u&&(It(P,f),P!==null&&(P=P.nextEffect))}for(cT(e.containerInfo),e.current=t,P=a;P!==null;){let u=!1,f;try{CE(e,n)}catch(d){u=!0,f=d}u&&(It(P,f),P!==null&&(P=P.nextEffect))}if(a!==null&&as!==null){let u=TE.bind(null,e,a);Mo=Aa(Zt,()=>mT(u)),No=u}Po=!1,Wt=!1;const c=t.expirationTime,s=t.childExpirationTime,r=s>c?s:c;r===v&&(Fn=null),ME(e,r)}function SE(e,t){if(t!==Rn&&e.childExpirationTime===Rn)return;let n=v,l=e.child;for(;l!==null;){const i=l.expirationTime,o=l.childExpirationTime;i>n&&(n=i),o>n&&(n=o),l=l.sibling}e.childExpirationTime=n}function Op(e){for(;;){const t=e.alternate,n=e.return,l=e.sibling;if((e.effectTag&Li)===he){if(Y=e,Y=Yb(t,e,Te),SE(e,Te),Y!==null)return Y;if(n!==null&&(n.effectTag&Li)===he&&(n.firstEffect===null&&(n.firstEffect=e.firstEffect),e.lastEffect!==null&&(n.lastEffect!==null&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),e.effectTag>ft&&(n.lastEffect!==null?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),l!==null)return l;if(n!==null){e=n;continue}else return null}else{const i=hE(e);if(i!==null)return i.effectTag&=Gy,i;if(n!==null&&(n.firstEffect=n.lastEffect=null,n.effectTag|=Li),l!==null)return l;if(n!==null){e=n;continue}else return null}}return null}function Up(e){const t=e.alternate;let n;return n=Eb(t,e,Te),e.memoizedProps=e.pendingProps,n===null&&(n=Op(e)),xp.current=null,n}function vE(e){if(e)for(;Y!==null&&!Bo();)Y=Up(Y);else for(;Y!==null;)Y=Up(Y)}function Ap(e,t){Hn(),Wt=!0;const n=is.current;is.current=es;const l=e.nextExpirationTimeToWorkOn;(l!==Te||e!==He||Y===null)&&(_p(),He=e,Te=l,Y=$t(He.current,null),e.pendingCommitExpirationTime=v);let i=!1;do{try{vE(t)}catch(a){if(lp(),Vc(),Y===null)i=!0,us(a);else{const c=Y;let s=c.return;if(s===null)i=!0,us(a);else{pE(e,s,c,a,Te),Y=Op(c);continue}}}break}while(!0);if(Wt=!1,is.current=n,lp(),Vc(),i){He=null,AE(e);return}if(Y!==null){kE(e);return}const o=e.current.alternate;if(He=null,os){if(YT(e,l)){kd(e,l);const a=l,c=e.expirationTime;ss(e,o,a,c,-1);return}else if(!e.didError&&t){e.didError=!0;const a=e.nextExpirationTimeToWorkOn=l,c=e.expirationTime=ge;ss(e,o,a,c,-1);return}}if(t&&Bt!==-1){const a=l;kd(e,a);const c=Pd(e,l),s=Ul(c);s<Bt&&(Bt=s);const r=Ul(st());let u=Bt-r;u=u<0?0:u;const f=e.expirationTime;ss(e,o,a,f,u);return}DE(e,o,l)}function It(e,t){const n=ge;let l=e.return;for(;l!==null;){switch(l.tag){case w:const i=l.type,o=l.stateNode;if(typeof i.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&!Rp(o)){const a=Eo(t,e),c=vp(l,a,n);nt(l,c),St(l,n);return}break;case W:{const a=Eo(t,e),c=ls(l,a,n);nt(l,c),St(l,n);return}}l=l.return}if(e.tag===W){const i=e,o=Eo(t,i),a=ls(i,o,n);nt(i,a),St(i,n)}}function xE(){const e=st();let t=Ud(e);return t>=ko&&(t=ko-1),ko=t,ko}function $n(e,t){const n=zy();let l;if((t.mode&et)===On)l=ge;else if(Wt&&!Po)l=Te;else{switch(n){case Gt:l=ge;break;case il:l=FT(e);break;case Zt:l=Ud(e);break;case _a:case Ra:l=Rn;break}He!==null&&l===Te&&(l-=1)}return n===il&&(at===v||l<at)&&(at=l),l}function _E(e,t,n){t>=0&&Bt<t&&(Bt=t)}function RE(){os=!0}function OE(e,t,n){const l=e.pingCache;if(l!==null&&l.delete(t),He!==null&&Te===n)He=null;else if(QT(e,n)){XT(e,n);const i=e.expirationTime;i!==v&&wo(e,i)}}function UE(e,t){let n;n=e.stateNode,n!==null&&n.delete(t);const l=st(),i=$n(l,e),o=Dp(e,i);if(o!==null){Al(o,i);const a=o.expirationTime;a!==v&&wo(o,a)}}function Dp(e,t){e.expirationTime<t&&(e.expirationTime=t);let n=e.alternate;n!==null&&n.expirationTime<t&&(n.expirationTime=t);let l=e.return,i=null;if(l===null&&e.tag===W)i=e.stateNode;else for(;l!==null;){if(n=l.alternate,l.childExpirationTime<t&&(l.childExpirationTime=t),n!==null&&n.childExpirationTime<t&&(n.childExpirationTime=t),l.return===null&&l.tag===W){i=l.stateNode;break}l=l.return}return i}function St(e,t){const n=Dp(e,t);if(n!==null&&(!Wt&&Te!==v&&t>Te&&_p(),Al(n,t),!Wt||Po||He!==n)){const l=n.expirationTime;wo(n,l)}}let $e=null,re=null,Lo=v,Fo,be=!1,ot=null,ne=v,at=v,wn=!1,Ho=null,Ee=!1,$o=!1,zn=null,cs=pe(),ct=_d(cs),jt=ct;function Il(){const e=pe()-cs;ct=_d(e)}function kp(e,t){if(Lo!==v){if(t<Lo)return;Fo!==null&&Xu(Fo)}Lo=t;const n=pe()-cs,i=Ul(t)-n;Fo=Qu(LE,{timeout:i})}function AE(e){e.finishedWork=null}function DE(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t}function ss(e,t,n,l,i){e.expirationTime=l,i===0&&!Bo()?(e.pendingCommitExpirationTime=n,e.finishedWork=t):i>0&&(e.timeoutHandle=hT(PE.bind(null,e,t,n),i))}function kE(e){e.finishedWork=null}function PE(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,Il(),jt=ct,Pp(e,n)}function ME(e,t){e.expirationTime=t,e.finishedWork=null}function st(){return be?jt:(zo(),(ne===v||ne===Rn)&&(Il(),jt=ct),jt)}function wo(e,t){if(NE(e,t),!be){if(Ee){$o&&(ot=e,ne=ge,jo(e,ge,!1));return}t===ge?jl():kp(e,t)}}function NE(e,t){if(e.nextScheduledRoot===null)e.expirationTime=t,re===null?($e=re=e,e.nextScheduledRoot=e):(re.nextScheduledRoot=e,re=e,re.nextScheduledRoot=$e);else{const n=e.expirationTime;t>n&&(e.expirationTime=t)}}function zo(){let e=v,t=null;if(re!==null){let n=re,l=$e;for(;l!==null;){const i=l.expirationTime;if(i===v){if(l===l.nextScheduledRoot){l.nextScheduledRoot=null,$e=re=null;break}else if(l===$e){const o=l.nextScheduledRoot;$e=o,re.nextScheduledRoot=o,l.nextScheduledRoot=null}else if(l===re){re=n,re.nextScheduledRoot=$e,l.nextScheduledRoot=null;break}else n.nextScheduledRoot=l.nextScheduledRoot,l.nextScheduledRoot=null;l=n.nextScheduledRoot}else{if(i>e&&(e=i,t=l),l===re||e===ge)break;n=l,l=l.nextScheduledRoot}}}ot=t,ne=e}let Wo=!1;function Bo(){return Wo?!0:Wy()?(Wo=!0,!0):!1}function LE(){try{if(!Bo()&&$e!==null){Il();let e=$e;do VT(e,ct),e=e.nextScheduledRoot;while(e!==$e)}Io(v,!0)}finally{Wo=!1}}function jl(){Io(ge,!1)}function Io(e,t){if(zo(),t)for(Il(),jt=ct;ot!==null&&ne!==v&&e<=ne&&!(Wo&&ct>ne);)jo(ot,ne,ct>ne),zo(),Il(),jt=ct;else for(;ot!==null&&ne!==v&&e<=ne;)jo(ot,ne,!1),zo();t&&(Lo=v,Fo=null),ne!==v&&kp(ot,ne),FE()}function Pp(e,t){ot=e,ne=t,jo(e,t,!1),jl()}function FE(){if(zn!==null){const e=zn;zn=null;for(let t=0;t<e.length;t++){const n=e[t];try{n._onComplete()}catch(l){wn||(wn=!0,Ho=l)}}}if(wn){const e=Ho;throw Ho=null,wn=!1,e}}function jo(e,t,n){if(be=!0,n){let l=e.finishedWork;if(l!==null)Ko(e,l,t);else{e.finishedWork=null;const i=e.timeoutHandle;i!==Ol&&(e.timeoutHandle=Ol,Td(i)),Ap(e,n),l=e.finishedWork,l!==null&&(Bo()?e.finishedWork=l:Ko(e,l,t))}}else{let l=e.finishedWork;if(l!==null)Ko(e,l,t);else{e.finishedWork=null;const i=e.timeoutHandle;i!==Ol&&(e.timeoutHandle=Ol,Td(i)),Ap(e,n),l=e.finishedWork,l!==null&&Ko(e,l,t)}}be=!1}function Ko(e,t,n){const l=e.firstBatch;if(l!==null&&l._expirationTime>=n&&(zn===null?zn=[l]:zn.push(l),l._defer)){e.finishedWork=t,e.expirationTime=v;return}e.finishedWork=null,Aa(Gt,()=>{EE(e,t)})}function us(e){ot.expirationTime=v,wn||(wn=!0,Ho=e)}function HE(e,t){const n=Ee;Ee=!0;try{return e(t)}finally{Ee=n,!Ee&&!be&&jl()}}function $E(e,t){if(Ee&&!$o){$o=!0;try{return e(t)}finally{$o=!1}}return e(t)}function wE(e,t,n){!Ee&&!be&&at!==v&&(Io(at,!1),at=v);const l=Ee;Ee=!0;try{return Aa(il,()=>e(t,n))}finally{Ee=l,!Ee&&!be&&jl()}}function zE(){!be&&at!==v&&(Io(at,!1),at=v)}function WE(e){if(!e)return yt;const t=pl(e),n=kT(t);if(t.tag===w){const l=t.type;if(Pe(l))return vd(t,l,n)}return n}function BE(e,t,n,l){const i=Tt(n);return i.payload={element:t},l=l===void 0?null:l,l!==null&&(Ty(typeof l=="function","render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l),i.callback=l),Hn(),nt(e,i),St(e,n),n}function Mp(e,t,n,l,i){const o=t.current,a=WE(n);return t.context===null?t.context=a:t.pendingContext=a,BE(o,e,l,i)}function IE(e,t,n){return jT(e,t,n)}function rs(e,t,n,l){const i=t.current,o=st(),a=$n(o,i);return Mp(e,t,n,a,l)}function fs(e){const t=e.current;if(!t.child)return null;switch(t.child.tag){case $:return t.child.stateNode;default:return t.child.stateNode}}let Kl=null,ds=null,Yl=null;function jE(e){return Kl=e,ds=Lp(),!0}function KE(){Kl=null,ds=null,Yl=null}function Np(){if(Yl)return Yl;let e;const t=ds,n=t.length;let l;const i=Lp(),o=i.length;for(e=0;e<n&&t[e]===i[e];e++);const a=n-e;for(l=1;l<=a&&t[n-l]===i[o-l];l++);const c=l>1?1-l:void 0;return Yl=i.slice(e,c),Yl}function Lp(){return"value"in Kl?Kl.value:Kl.textContent}const YE=ue.extend({data:null}),QE=ue.extend({data:null}),XE=[9,13,27,32],Fp=229,ps=pt&&"CompositionEvent"in window;let Ql=null;pt&&"documentMode"in document&&(Ql=document.documentMode);const qE=pt&&"TextEvent"in window&&!Ql,Hp=pt&&(!ps||Ql&&Ql>8&&Ql<=11),$p=32,wp=String.fromCharCode($p),ut={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[pn,Ge,vf,Vi]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[le,pn,_e,Ge,De,ht]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[le,zr,_e,Ge,De,ht]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[le,Wr,_e,Ge,De,ht]}};let zp=!1;function VE(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function GE(e){switch(e){case zr:return ut.compositionStart;case pn:return ut.compositionEnd;case Wr:return ut.compositionUpdate}}function ZE(e,t){return e===_e&&t.keyCode===Fp}function Wp(e,t){switch(e){case De:return XE.indexOf(t.keyCode)!==-1;case _e:return t.keyCode!==Fp;case Ge:case ht:case le:return!0;default:return!1}}function Bp(e){const t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Ip(e){return e.locale==="ko"}let Wn=!1;function JE(e,t,n,l){let i,o;if(ps?i=GE(e):Wn?Wp(e,n)&&(i=ut.compositionEnd):ZE(e,n)&&(i=ut.compositionStart),!i)return null;Hp&&!Ip(n)&&(!Wn&&i===ut.compositionStart?Wn=jE(l):i===ut.compositionEnd&&Wn&&(o=Np()));const a=YE.getPooled(i,t,n,l);if(o)a.data=o;else{const c=Bp(n);c!==null&&(a.data=c)}return bl(a),a}function eS(e,t){switch(e){case pn:return Bp(t);case Ge:return t.which!==$p?null:(zp=!0,wp);case vf:const l=t.data;return l===wp&&zp?null:l;default:return null}}function tS(e,t){if(Wn){if(e===pn||!ps&&Wp(e,t)){const n=Np();return KE(),Wn=!1,n}return null}switch(e){case Vi:return null;case Ge:if(!VE(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case pn:return Hp&&!Ip(t)?null:t.data;default:return null}}function nS(e,t,n,l){let i;if(qE?i=eS(e,n):i=tS(e,n),!i)return null;const o=QE.getPooled(ut.beforeInput,t,n,l);return o.data=i,bl(o),o}const lS={eventTypes:ut,extractEvents:function(e,t,n,l){const i=JE(e,t,n,l),o=nS(e,t,n,l);return i===null?o:o===null?i:[i,o]}},iS={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 jp(e){const t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iS[e.type]:t==="textarea"}const Kp={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[le,ec,Ki,Ve,tc,_e,De,Zi]}};function Yp(e,t,n){const l=ue.getPooled(Kp.change,e,t,n);return l.type="change",zg(n),bl(l),l}let Xl=null,ql=null;function oS(e){const t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function aS(e){const t=Yp(ql,e,fc(e));Wf(cS,t)}function cS(e){Kf(e)}function Yo(e){const t=cn(e);if(vr(t))return e}function sS(e,t){if(e===ec)return t}let hs=!1;pt&&(hs=id("input")&&(!document.documentMode||document.documentMode>9));function uS(e,t){Xl=e,ql=t,Xl.attachEvent("onpropertychange",Xp)}function Qp(){Xl&&(Xl.detachEvent("onpropertychange",Xp),Xl=null,ql=null)}function Xp(e){e.propertyName==="value"&&Yo(ql)&&aS(e)}function rS(e,t,n){e===Ve?(Qp(),uS(t,n)):e===le&&Qp()}function fS(e,t){if(e===Zi||e===De||e===_e)return Yo(ql)}function dS(e){const t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function pS(e,t){if(e===Ki)return Yo(t)}function hS(e,t){if(e===tc||e===ec)return Yo(t)}function mS(e){let t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Qa(e,"number",e.value)}const yS={eventTypes:Kp,_isInputEventSupported:hs,extractEvents:function(e,t,n,l){const i=t?cn(t):window;let o,a;if(oS(i)?o=sS:jp(i)?hs?o=hS:(o=fS,a=rS):dS(i)&&(o=pS),o){const c=o(e,t);if(c)return Yp(c,n,l)}a&&a(e,i,t),e===le&&mS(i)}},gS=["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"],Vl={mouseEnter:{registrationName:"onMouseEnter",dependencies:[hn,mn]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[hn,mn]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[yn,gn]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[yn,gn]}},CS={eventTypes:Vl,extractEvents:function(e,t,n,l){const i=e===mn||e===gn,o=e===hn||e===yn;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;let a;if(l.window===l)a=l;else{const S=l.ownerDocument;S?a=S.defaultView||S.parentWindow:a=window}let c,s;if(o){c=t;const S=n.relatedTarget||n.toElement;s=S?$a(S):null}else c=null,s=t;if(c===s)return null;let r,u,f,d;e===hn||e===mn?(r=vl,u=Vl.mouseLeave,f=Vl.mouseEnter,d="mouse"):(e===yn||e===gn)&&(r=Gf,u=Vl.pointerLeave,f=Vl.pointerEnter,d="pointer");const g=c==null?a:cn(c),h=s==null?a:cn(s),y=r.getPooled(u,c,n,l);y.type=d+"leave",y.target=g,y.relatedTarget=h;const E=r.getPooled(f,s,n,l);return E.type=d+"enter",E.target=h,E.relatedTarget=g,aC(y,E,c,s),[y,E]}},TS=pt&&"documentMode"in document&&document.documentMode<=11,qp={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[le,Yi,Qi,Ve,_e,De,ht,qi,Zi]}};let Bn=null,ms=null,Gl=null,ys=!1;function bS(e){if("selectionStart"in e&&Ec(e))return{start:e.selectionStart,end:e.selectionEnd};{const n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}}function Vp(e){return e.window===e?e.document:e.nodeType===fn?e:e.ownerDocument}function Gp(e,t){const n=Vp(t);if(ys||Bn==null||Bn!==bc(n))return null;const l=bS(Bn);if(!Gl||!kl(Gl,l)){Gl=l;const i=ue.getPooled(qp.select,ms,e,t);return i.type="select",i.target=Bn,bl(i),i}return null}const ES={eventTypes:qp,extractEvents:function(e,t,n,l){const i=Vp(l);if(!i||!NC("onSelect",i))return null;const o=t?cn(t):window;switch(e){case Ve:(jp(o)||o.contentEditable==="true")&&(Bn=o,ms=t,Gl=null);break;case le:Bn=null,ms=null,Gl=null;break;case ht:ys=!0;break;case Yi:case qi:case Qi:return ys=!1,Gp(n,l);case Zi:if(TS)break;case _e:case De:return Gp(n,l)}return null}};If.injectEventPluginOrder(gS),Hg(ur,eg,cn),If.injectEventPluginsByName({SimpleEventPlugin:ed,EnterLeaveEventPlugin:CS,ChangeEventPlugin:yS,SelectEventPlugin:ES,BeforeInputEventPlugin:lS}),wg(KC),jg(HE,wE,zE);function Zl(e,t,n){const l=IE(e,t,n);this._internalRoot=l}Zl.prototype.render=function(e,t){const n=this._internalRoot,l=new In;return t=t===void 0?null:t,t!==null&&l.then(t),rs(e,n,null,l._onCommit),l},Zl.prototype.unmount=function(e){const t=this._internalRoot,n=new In;return e=e===void 0?null:e,e!==null&&n.then(e),rs(null,t,null,n._onCommit),n},Zl.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){const l=this._internalRoot,i=new In;return n=n===void 0?null:n,n!==null&&i.then(n),rs(t,l,e,i._onCommit),i},Zl.prototype.createBatch=function(){const e=new Jl(this),t=e._expirationTime,n=this._internalRoot,l=n.firstBatch;if(l===null)n.firstBatch=e,e._next=null;else{let i=null,o=l;for(;o!==null&&o._expirationTime>=t;)i=o,o=o._next;e._next=o,i!==null&&(i._next=e)}return e};function Jl(e){const t=xE();this._expirationTime=t,this._root=e,this._next=null,this._callbacks=null,this._didComplete=!1,this._hasChildren=!1,this._children=null,this._defer=!0}Jl.prototype.render=function(e){O(this._defer,"batch.render: Cannot render a batch that already committed."),this._hasChildren=!0,this._children=e;const t=this._root._internalRoot,n=this._expirationTime,l=new In;return Mp(e,t,null,n,l._onCommit),l},Jl.prototype.then=function(e){if(this._didComplete){e();return}let t=this._callbacks;t===null&&(t=this._callbacks=[]),t.push(e)},Jl.prototype.commit=function(){const e=this._root._internalRoot;let t=e.firstBatch;if(O(this._defer&&t!==null,"batch.commit: Cannot commit a batch multiple times."),!this._hasChildren){this._next=null,this._defer=!1;return}let n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));let i=null,o=t;for(;o!==this;)i=o,o=o._next;O(i!==null,"batch.commit: Cannot commit a batch multiple times."),i._next=o._next,this._next=t,t=e.firstBatch=this}this._defer=!1,Pp(e,n);const l=this._next;this._next=null,t=e.firstBatch=l,t!==null&&t._hasChildren&&t.render(t._children)},Jl.prototype._onComplete=function(){if(this._didComplete)return;this._didComplete=!0;const e=this._callbacks;if(e!==null)for(let t=0;t<e.length;t++){const n=e[t];n()}};function In(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}In.prototype.then=function(e){if(this._didCommit){e();return}let t=this._callbacks;t===null&&(t=this._callbacks=[]),t.push(e)},In.prototype._onCommit=function(){if(this._didCommit)return;this._didCommit=!0;const e=this._callbacks;if(e!==null)for(let t=0;t<e.length;t++){const n=e[t];O(typeof n=="function","Invalid argument passed as callback. Expected a function. Instead received: %s",n),n()}};function SS(e){return e?e.nodeType===fn?e.documentElement:e.firstChild:null}function vS(e){const t=SS(e);return!!(t&&t.nodeType===Ar&&t.hasAttribute(og))}function xS(e,t){const n=vS(e);if(!n){let i;for(;i=e.lastChild;)e.removeChild(i)}const l=!1;return new Zl(e,l,n)}function _S(e,t,n,l,i){let o=n._reactRootContainer;if(o){if(typeof i=="function"){const a=i;i=function(){const c=fs(o._internalRoot);a.call(c)}}o.render(t,i)}else{if(o=n._reactRootContainer=xS(n),typeof i=="function"){const a=i;i=function(){const c=fs(o._internalRoot);a.call(c)}}$E(()=>{e!=null||o.render(t,i)})}return fs(o._internalRoot)}function RS(e,t,n){return _S(null,e,t,!1,n)}const OS=Object.freeze(Object.defineProperty({__proto__:null,render:RS},Symbol.toStringTag,{value:"Module"}));Se.React=Xy,Se.ReactDom=OS,Se.inferno=gy,Se.snabbdom=Xh,Object.defineProperty(Se,Symbol.toStringTag,{value:"Module"})});